Files
openlayers/vectortile/build/ol.js
T
Andreas Hocevar 1c53a46d7d Update vectortiles
2015-09-13 15:36:23 +09:00

1006 lines
491 KiB
JavaScript

// OpenLayers 3. See http://openlayers.org/
// License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
// Version: v3.8.0-213-g9baf0b5
(function (root, factory) {
if (typeof exports === "object") {
module.exports = factory();
} else if (typeof define === "function" && define.amd) {
define([], factory);
} else {
root.ol = factory();
}
}(this, function () {
var OPENLAYERS = {};
var l,aa=aa||{},ba=this;function m(b){return void 0!==b}function v(b,c,d){b=b.split(".");d=d||ba;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)!b.length&&m(c)?d[e]=c:d[e]?d=d[e]:d=d[e]={}}function ca(){}function da(b){b.Za=function(){return b.Gg?b.Gg:b.Gg=new b}}
function ea(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 fa(b){return null===b}function ga(b){return"array"==ea(b)}function ha(b){var c=ea(b);return"array"==c||"object"==c&&"number"==typeof b.length}function ia(b){return"string"==typeof b}function ja(b){return"number"==typeof b}function ka(b){return"function"==ea(b)}function la(b){var c=typeof b;return"object"==c&&null!=b||"function"==c}function ma(b){return b[na]||(b[na]=++oa)}
var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(b,c,d){return b.call.apply(b.bind,arguments)}function qa(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 ra(b,c,d){ra=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?pa:qa;return ra.apply(null,arguments)}function sa(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)}}var ua=Date.now||function(){return+new Date};
function x(b,c){function d(){}d.prototype=c.prototype;b.ba=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.vp=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)}};function va(b){return function(){return b}}var wa=va(!1),xa=va(!0),ya=va(null);function za(b){return b}function Aa(b){var c;c=c||0;return function(){return b.apply(this,Array.prototype.slice.call(arguments,0,c))}}function Ba(b){var c=arguments,d=c.length;return function(){for(var b,f=0;f<d;f++)b=c[f].apply(this,arguments);return b}}function Ca(b){var c=arguments,d=c.length;return function(){for(var b=0;b<d;b++)if(!c[b].apply(this,arguments))return!1;return!0}};function Da(b){if(Error.captureStackTrace)Error.captureStackTrace(this,Da);else{var c=Error().stack;c&&(this.stack=c)}b&&(this.message=String(b))}x(Da,Error);Da.prototype.name="CustomError";var Ea;function Fa(b,c){var d=b.length-c.length;return 0<=d&&b.indexOf(c,d)==d}function Ga(b,c){for(var d=b.split("%s"),e="",f=Array.prototype.slice.call(arguments,1);f.length&&1<d.length;)e+=d.shift()+f.shift();return e+d.join("%s")}var Ha=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
function Ja(b){if(!Ka.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(La,"&amp;"));-1!=b.indexOf("<")&&(b=b.replace(Ma,"&lt;"));-1!=b.indexOf(">")&&(b=b.replace(Na,"&gt;"));-1!=b.indexOf('"')&&(b=b.replace(Oa,"&quot;"));-1!=b.indexOf("'")&&(b=b.replace(Pa,"&#39;"));-1!=b.indexOf("\x00")&&(b=b.replace(Ra,"&#0;"));return b}var La=/&/g,Ma=/</g,Na=/>/g,Oa=/"/g,Pa=/'/g,Ra=/\x00/g,Ka=/[\x00&<>"']/;
function Sa(b){b=m(void 0)?b.toFixed(void 0):String(b);var c=b.indexOf(".");-1==c&&(c=b.length);c=Math.max(0,2-c);return Array(c+1).join("0")+b}
function Ta(b,c){for(var d=0,e=Ha(String(b)).split("."),f=Ha(String(c)).split("."),g=Math.max(e.length,f.length),h=0;0==d&&h<g;h++){var k=e[h]||"",n=f[h]||"",p=RegExp("(\\d*)(\\D*)","g"),q=RegExp("(\\d*)(\\D*)","g");do{var r=p.exec(k)||["","",""],t=q.exec(n)||["","",""];if(0==r[0].length&&0==t[0].length)break;d=Ua(0==r[1].length?0:parseInt(r[1],10),0==t[1].length?0:parseInt(t[1],10))||Ua(0==r[2].length,0==t[2].length)||Ua(r[2],t[2])}while(0==d)}return d}function Ua(b,c){return b<c?-1:b>c?1:0};function Wa(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}Wa.prototype.a=4;Wa.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]};Wa.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(Wa.BYTES_PER_ELEMENT=4,Wa.prototype.BYTES_PER_ELEMENT=Wa.prototype.a,Wa.prototype.set=Wa.prototype.set,Wa.prototype.toString=Wa.prototype.toString,v("Float32Array",Wa,void 0));function Xa(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}Xa.prototype.a=8;Xa.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]};Xa.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{Xa.BYTES_PER_ELEMENT=8}catch(Ya){}Xa.prototype.BYTES_PER_ELEMENT=Xa.prototype.a;Xa.prototype.set=Xa.prototype.set;Xa.prototype.toString=Xa.prototype.toString;v("Float64Array",Xa,void 0)};function Za(b,c,d,e,f){b[0]=c;b[1]=d;b[2]=e;b[3]=f};function $a(){var b=Array(16);ab(b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return b}function bb(){var b=Array(16);ab(b,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return b}function ab(b,c,d,e,f,g,h,k,n,p,q,r,t,u,z,w,C){b[0]=c;b[1]=d;b[2]=e;b[3]=f;b[4]=g;b[5]=h;b[6]=k;b[7]=n;b[8]=p;b[9]=q;b[10]=r;b[11]=t;b[12]=u;b[13]=z;b[14]=w;b[15]=C}
function db(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 eb(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 fb(b,c,d){var e=b[0],f=b[1],g=b[2],h=b[3],k=b[4],n=b[5],p=b[6],q=b[7],r=b[8],t=b[9],u=b[10],z=b[11],w=b[12],C=b[13],y=b[14];b=b[15];var A=c[0],H=c[1],K=c[2],J=c[3],Q=c[4],ta=c[5],Va=c[6],S=c[7],Ia=c[8],gb=c[9],Qa=c[10],Ib=c[11],cb=c[12],Lc=c[13],qc=c[14];c=c[15];d[0]=e*A+k*H+r*K+w*J;d[1]=f*A+n*H+t*K+C*J;d[2]=g*A+p*H+u*K+y*J;d[3]=h*A+q*H+z*K+b*J;d[4]=e*Q+k*ta+r*Va+w*S;d[5]=f*Q+n*ta+t*Va+C*S;d[6]=g*Q+p*ta+u*Va+y*S;d[7]=h*Q+q*ta+z*Va+b*S;d[8]=e*Ia+k*gb+r*Qa+w*Ib;d[9]=f*Ia+n*gb+t*Qa+C*Ib;d[10]=
g*Ia+p*gb+u*Qa+y*Ib;d[11]=h*Ia+q*gb+z*Qa+b*Ib;d[12]=e*cb+k*Lc+r*qc+w*c;d[13]=f*cb+n*Lc+t*qc+C*c;d[14]=g*cb+p*Lc+u*qc+y*c;d[15]=h*cb+q*Lc+z*qc+b*c}
function hb(b,c){var d=b[0],e=b[1],f=b[2],g=b[3],h=b[4],k=b[5],n=b[6],p=b[7],q=b[8],r=b[9],t=b[10],u=b[11],z=b[12],w=b[13],C=b[14],y=b[15],A=d*k-e*h,H=d*n-f*h,K=d*p-g*h,J=e*n-f*k,Q=e*p-g*k,ta=f*p-g*n,Va=q*w-r*z,S=q*C-t*z,Ia=q*y-u*z,gb=r*C-t*w,Qa=r*y-u*w,Ib=t*y-u*C,cb=A*Ib-H*Qa+K*gb+J*Ia-Q*S+ta*Va;0!=cb&&(cb=1/cb,c[0]=(k*Ib-n*Qa+p*gb)*cb,c[1]=(-e*Ib+f*Qa-g*gb)*cb,c[2]=(w*ta-C*Q+y*J)*cb,c[3]=(-r*ta+t*Q-u*J)*cb,c[4]=(-h*Ib+n*Ia-p*S)*cb,c[5]=(d*Ib-f*Ia+g*S)*cb,c[6]=(-z*ta+C*K-y*H)*cb,c[7]=(q*ta-t*K+u*
H)*cb,c[8]=(h*Qa-k*Ia+p*Va)*cb,c[9]=(-d*Qa+e*Ia-g*Va)*cb,c[10]=(z*Q-w*K+y*A)*cb,c[11]=(-q*Q+r*K-u*A)*cb,c[12]=(-h*gb+k*S-n*Va)*cb,c[13]=(d*gb-e*S+f*Va)*cb,c[14]=(-z*J+w*H-C*A)*cb,c[15]=(q*J-r*H+t*A)*cb)}function ib(b,c,d){var e=b[1]*c+b[5]*d+0*b[9]+b[13],f=b[2]*c+b[6]*d+0*b[10]+b[14],g=b[3]*c+b[7]*d+0*b[11]+b[15];b[12]=b[0]*c+b[4]*d+0*b[8]+b[12];b[13]=e;b[14]=f;b[15]=g}
function jb(b,c,d){ab(b,b[0]*c,b[1]*c,b[2]*c,b[3]*c,b[4]*d,b[5]*d,b[6]*d,b[7]*d,1*b[8],1*b[9],1*b[10],1*b[11],b[12],b[13],b[14],b[15])}function kb(b,c){var d=b[0],e=b[1],f=b[2],g=b[3],h=b[4],k=b[5],n=b[6],p=b[7],q=Math.cos(c),r=Math.sin(c);b[0]=d*q+h*r;b[1]=e*q+k*r;b[2]=f*q+n*r;b[3]=g*q+p*r;b[4]=d*-r+h*q;b[5]=e*-r+k*q;b[6]=f*-r+n*q;b[7]=g*-r+p*q}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);var lb=Array.prototype;function mb(b,c){return lb.indexOf.call(b,c,void 0)}function nb(b,c,d){lb.forEach.call(b,c,d)}function ob(b,c){return lb.filter.call(b,c,void 0)}function pb(b,c,d){return lb.map.call(b,c,d)}function qb(b,c){return lb.some.call(b,c,void 0)}function rb(b,c){var d=sb(b,c,void 0);return 0>d?null:ia(b)?b.charAt(d):b[d]}function sb(b,c,d){for(var e=b.length,f=ia(b)?b.split(""):b,g=0;g<e;g++)if(g in f&&c.call(d,f[g],g,b))return g;return-1}function tb(b,c){return 0<=mb(b,c)}
function ub(b,c){var d=mb(b,c),e;(e=0<=d)&&lb.splice.call(b,d,1);return e}function vb(b){return lb.concat.apply(lb,arguments)}function wb(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 xb(b,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(ha(e)){var f=b.length||0,g=e.length||0;b.length=f+g;for(var h=0;h<g;h++)b[f+h]=e[h]}else b.push(e)}}function yb(b,c,d,e){lb.splice.apply(b,zb(arguments,1))}
function zb(b,c,d){return 2>=arguments.length?lb.slice.call(b,c):lb.slice.call(b,c,d)}function Ab(b,c){b.sort(c||Bb)}function Cb(b){for(var c=Db,d=0;d<b.length;d++)b[d]={index:d,value:b[d]};var e=c||Bb;Ab(b,function(b,c){return e(b.value,c.value)||b.index-c.index});for(d=0;d<b.length;d++)b[d]=b[d].value}function Eb(b,c){if(!ha(b)||!ha(c)||b.length!=c.length)return!1;for(var d=b.length,e=Fb,f=0;f<d;f++)if(!e(b[f],c[f]))return!1;return!0}function Bb(b,c){return b>c?1:b<c?-1:0}
function Fb(b,c){return b===c}function Gb(b){for(var c=[],d=0;d<arguments.length;d++){var e=arguments[d];if(ga(e))for(var f=0;f<e.length;f+=8192)for(var g=zb(e,f,f+8192),g=Gb.apply(null,g),h=0;h<g.length;h++)c.push(g[h]);else c.push(e)}return c};function Hb(b,c,d){return Math.min(Math.max(b,c),d)}function Jb(b,c){var d=b%c;return 0>d*c?d+c:d}function Kb(b,c,d){return b+d*(c-b)}function Lb(b){return b*Math.PI/180};var Mb,Nb;function Ob(b,c){b[0]+=c[0];b[1]+=c[1];return b}function Pb(b,c){var d=b[0],e=b[1],f=c[0],g=c[1],h=f[0],f=f[1],k=g[0],g=g[1],n=k-h,p=g-f,d=0===n&&0===p?0:(n*(d-h)+p*(e-f))/(n*n+p*p||0);0>=d||(1<=d?(h=k,f=g):(h+=d*n,f+=d*p));return[h,f]}function Qb(b,c){var d=Jb(b+180,360)-180,e=Math.abs(Math.round(3600*d));return Math.floor(e/3600)+"\u00b0 "+Sa(Math.floor(e/60%60))+"\u2032 "+Sa(Math.floor(e%60))+"\u2033 "+c.charAt(0>d?1:0)}
function Rb(b,c,d){return m(b)?c.replace("{x}",b[0].toFixed(d)).replace("{y}",b[1].toFixed(d)):""}function Sb(b,c){for(var d=!0,e=b.length-1;0<=e;--e)if(b[e]!=c[e]){d=!1;break}return d}function Tb(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;return b}function Ub(b,c){var d=b[0]-c[0],e=b[1]-c[1];return d*d+e*e}function Vb(b,c){return Ub(b,Pb(b,c))}function Wb(b,c){return Rb(b,"{x}, {y}",c)};function Xb(b,c,d){m(d)||(d=[0,0]);d[0]=b[0]+2*c;d[1]=b[1]+2*c;return d}function Yb(b,c,d){m(d)||(d=[0,0]);d[0]=b[0]*c+.5|0;d[1]=b[1]*c+.5|0;return d}function Zb(b,c){if(ga(b))return b;m(c)?(c[0]=b,c[1]=b):c=[b,b];return c};function $b(b){for(var c=ac(),d=0,e=b.length;d<e;++d)bc(c,b[d]);return c}function cc(b,c,d){var e=Math.min.apply(null,b),f=Math.min.apply(null,c);b=Math.max.apply(null,b);c=Math.max.apply(null,c);return dc(e,f,b,c,d)}function ec(b,c,d){return m(d)?(d[0]=b[0]-c,d[1]=b[1]-c,d[2]=b[2]+c,d[3]=b[3]+c,d):[b[0]-c,b[1]-c,b[2]+c,b[3]+c]}function fc(b,c){return m(c)?(c[0]=b[0],c[1]=b[1],c[2]=b[2],c[3]=b[3],c):b.slice()}
function gc(b,c,d){c=c<b[0]?b[0]-c:b[2]<c?c-b[2]:0;b=d<b[1]?b[1]-d:b[3]<d?d-b[3]:0;return c*c+b*b}function hc(b,c){return ic(b,c[0],c[1])}function jc(b,c){return b[0]<=c[0]&&c[2]<=b[2]&&b[1]<=c[1]&&c[3]<=b[3]}function ic(b,c,d){return b[0]<=c&&c<=b[2]&&b[1]<=d&&d<=b[3]}function kc(b,c){var d=b[1],e=b[2],f=b[3],g=c[0],h=c[1],k=0;g<b[0]?k=k|16:g>e&&(k=k|4);h<d?k|=8:h>f&&(k|=2);0===k&&(k=1);return k}function ac(){return[Infinity,Infinity,-Infinity,-Infinity]}
function dc(b,c,d,e,f){return m(f)?(f[0]=b,f[1]=c,f[2]=d,f[3]=e,f):[b,c,d,e]}function lc(b,c){var d=b[0],e=b[1];return dc(d,e,d,e,c)}function mc(b,c,d,e,f){f=dc(Infinity,Infinity,-Infinity,-Infinity,f);return nc(f,b,c,d,e)}function oc(b,c){return b[0]==c[0]&&b[2]==c[2]&&b[1]==c[1]&&b[3]==c[3]}function pc(b,c){c[0]<b[0]&&(b[0]=c[0]);c[2]>b[2]&&(b[2]=c[2]);c[1]<b[1]&&(b[1]=c[1]);c[3]>b[3]&&(b[3]=c[3]);return b}
function bc(b,c){c[0]<b[0]&&(b[0]=c[0]);c[0]>b[2]&&(b[2]=c[0]);c[1]<b[1]&&(b[1]=c[1]);c[1]>b[3]&&(b[3]=c[1])}function nc(b,c,d,e,f){for(;d<e;d+=f){var g=b,h=c[d],k=c[d+1];g[0]=Math.min(g[0],h);g[1]=Math.min(g[1],k);g[2]=Math.max(g[2],h);g[3]=Math.max(g[3],k)}return b}function rc(b,c,d){var e;return(e=c.call(d,sc(b)))||(e=c.call(d,tc(b)))||(e=c.call(d,uc(b)))?e:(e=c.call(d,vc(b)))?e:!1}function sc(b){return[b[0],b[1]]}function tc(b){return[b[2],b[1]]}
function wc(b){return[(b[0]+b[2])/2,(b[1]+b[3])/2]}function xc(b,c,d,e){var f=c*e[0]/2;e=c*e[1]/2;c=Math.cos(d);d=Math.sin(d);f=[-f,-f,f,f];e=[-e,e,-e,e];var g,h,k;for(g=0;4>g;++g)h=f[g],k=e[g],f[g]=b[0]+h*c-k*d,e[g]=b[1]+h*d+k*c;return cc(f,e,void 0)}function yc(b){return b[3]-b[1]}function zc(b,c,d){d=m(d)?d:ac();Ac(b,c)&&(d[0]=b[0]>c[0]?b[0]:c[0],d[1]=b[1]>c[1]?b[1]:c[1],d[2]=b[2]<c[2]?b[2]:c[2],d[3]=b[3]<c[3]?b[3]:c[3]);return d}function vc(b){return[b[0],b[3]]}
function uc(b){return[b[2],b[3]]}function Bc(b){return b[2]-b[0]}function Ac(b,c){return b[0]<=c[2]&&b[2]>=c[0]&&b[1]<=c[3]&&b[3]>=c[1]}function Cc(b){return b[2]<b[0]||b[3]<b[1]}function Dc(b,c){var d=(b[2]-b[0])/2*(c-1),e=(b[3]-b[1])/2*(c-1);b[0]-=d;b[2]+=d;b[1]-=e;b[3]+=e}function Ec(b,c,d){b=[b[0],b[1],b[0],b[3],b[2],b[1],b[2],b[3]];c(b,b,2);return cc([b[0],b[2],b[4],b[6]],[b[1],b[3],b[5],b[7]],d)};var Fc;a:{var Gc=ba.navigator;if(Gc){var Hc=Gc.userAgent;if(Hc){Fc=Hc;break a}}Fc=""}function Ic(b){return-1!=Fc.indexOf(b)};function Jc(b,c,d){for(var e in b)c.call(d,b[e],e,b)}function Kc(b,c){for(var d in b)if(c.call(void 0,b[d],d,b))return!0;return!1}function Mc(b){var c=0,d;for(d in b)c++;return c}function Nc(b){var c=[],d=0,e;for(e in b)c[d++]=b[e];return c}function Oc(b){var c=[],d=0,e;for(e in b)c[d++]=e;return c}function Pc(b,c){return c in b}function Qc(b,c){for(var d in b)if(b[d]==c)return!0;return!1}function Rc(b,c){for(var d in b)if(c.call(void 0,b[d],d,b))return d}
function Sc(b){for(var c in b)return!1;return!0}function Tc(b){for(var c in b)delete b[c]}function Uc(b,c){c in b&&delete b[c]}function Vc(b,c,d){return c in b?b[c]:d}function Wc(b,c){var d=[];return c in b?b[c]:b[c]=d}function Xc(b){var c={},d;for(d in b)c[d]=b[d];return c}function Yc(b){var c=ea(b);if("object"==c||"array"==c){if(b.clone)return b.clone();var c="array"==c?[]:{},d;for(d in b)c[d]=Yc(b[d]);return c}return b}var Zc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function $c(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<Zc.length;g++)d=Zc[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}};var ad=Ic("Opera")||Ic("OPR"),bd=Ic("Trident")||Ic("MSIE"),cd=Ic("Edge"),dd=Ic("Gecko")&&!(-1!=Fc.toLowerCase().indexOf("webkit")&&!Ic("Edge"))&&!(Ic("Trident")||Ic("MSIE"))&&!Ic("Edge"),ed=-1!=Fc.toLowerCase().indexOf("webkit")&&!Ic("Edge"),fd=Ic("Macintosh"),gd=Ic("Windows"),hd=Ic("Linux")||Ic("CrOS");function id(){var b=Fc;if(dd)return/rv\:([^\);]+)(\)|;)/.exec(b);if(cd)return/Edge\/([\d\.]+)/.exec(b);if(bd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(b);if(ed)return/WebKit\/(\S+)/.exec(b)}
function jd(){var b=ba.document;return b?b.documentMode:void 0}var kd=function(){if(ad&&ba.opera){var b=ba.opera.version;return ka(b)?b():b}var b="",c=id();c&&(b=c?c[1]:"");return bd&&(c=jd(),c>parseFloat(b))?String(c):b}(),ld={};function md(b){return ld[b]||(ld[b]=0<=Ta(kd,b))}var nd=ba.document,od=nd&&bd?jd()||("CSS1Compat"==nd.compatMode?parseInt(kd,10):5):void 0;var pd=!bd||9<=od,qd=!bd||9<=od,rd=bd&&!md("9");!ed||md("528");dd&&md("1.9b")||bd&&md("8")||ad&&md("9.5")||ed&&md("528");dd&&!md("8")||bd&&md("9");function sd(){0!=td&&(ud[ma(this)]=this);this.fa=this.fa;this.na=this.na}var td=0,ud={};sd.prototype.fa=!1;sd.prototype.jd=function(){if(!this.fa&&(this.fa=!0,this.Y(),0!=td)){var b=ma(this);delete ud[b]}};function vd(b,c){var d=sa(wd,c);b.fa?d.call(void 0):(b.na||(b.na=[]),b.na.push(m(void 0)?ra(d,void 0):d))}sd.prototype.Y=function(){if(this.na)for(;this.na.length;)this.na.shift()()};function wd(b){b&&"function"==typeof b.jd&&b.jd()};function xd(b,c){this.type=b;this.g=this.target=c;this.j=!1;this.Ih=!0}xd.prototype.b=function(){this.j=!0};xd.prototype.preventDefault=function(){this.Ih=!1};function yd(b){b.b()}function zd(b){b.preventDefault()};var Ad=bd?"focusout":"DOMFocusOut";function Bd(b){Bd[" "](b);return b}Bd[" "]=ca;function Cd(b,c){xd.call(this,b?b.type:"");this.relatedTarget=this.g=this.target=null;this.v=this.i=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.u=this.c=this.f=this.B=!1;this.state=null;this.l=!1;this.a=null;if(b){var d=this.type=b.type,e=b.changedTouches?b.changedTouches[0]:null;this.target=null===e?b.target||b.srcElement:e.target;this.g=c;var f=b.relatedTarget;if(f){if(dd){var g;a:{try{Bd(f.nodeName);g=!0;break a}catch(h){}g=!1}g||(f=null)}}else"mouseover"==
d?f=b.fromElement:"mouseout"==d&&(f=b.toElement);this.relatedTarget=f;null===e?(this.offsetX=ed||void 0!==b.offsetX?b.offsetX:b.layerX,this.offsetY=ed||void 0!==b.offsetY?b.offsetY:b.layerY,this.clientX=void 0!==b.clientX?b.clientX:b.pageX,this.clientY=void 0!==b.clientY?b.clientY:b.pageY,this.screenX=b.screenX||0,this.screenY=b.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0);this.button=
b.button;this.i=b.keyCode||0;this.v=b.charCode||("keypress"==d?b.keyCode:0);this.B=b.ctrlKey;this.f=b.altKey;this.c=b.shiftKey;this.u=b.metaKey;this.l=fd?b.metaKey:b.ctrlKey;this.state=b.state;this.a=b;b.defaultPrevented&&this.preventDefault()}}x(Cd,xd);var Dd=[1,4,2];function Ed(b){return(pd?0==b.a.button:"click"==b.type?!0:!!(b.a.button&Dd[0]))&&!(ed&&fd&&b.B)}Cd.prototype.b=function(){Cd.ba.b.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};
Cd.prototype.preventDefault=function(){Cd.ba.preventDefault.call(this);var b=this.a;if(b.preventDefault)b.preventDefault();else if(b.returnValue=!1,rd)try{if(b.ctrlKey||112<=b.keyCode&&123>=b.keyCode)b.keyCode=-1}catch(c){}};var Fd="closure_listenable_"+(1E6*Math.random()|0);function Gd(b){return!(!b||!b[Fd])}var Hd=0;function Id(b,c,d,e,f){this.listener=b;this.a=null;this.src=c;this.type=d;this.ad=!!e;this.fe=f;this.key=++Hd;this.Tc=this.Nd=!1}function Jd(b){b.Tc=!0;b.listener=null;b.a=null;b.src=null;b.fe=null};function Kd(b){this.src=b;this.a={};this.f=0}Kd.prototype.add=function(b,c,d,e,f){var g=b.toString();b=this.a[g];b||(b=this.a[g]=[],this.f++);var h=Ld(b,c,e,f);-1<h?(c=b[h],d||(c.Nd=!1)):(c=new Id(c,this.src,g,!!e,f),c.Nd=d,b.push(c));return c};Kd.prototype.remove=function(b,c,d,e){b=b.toString();if(!(b in this.a))return!1;var f=this.a[b];c=Ld(f,c,d,e);return-1<c?(Jd(f[c]),lb.splice.call(f,c,1),0==f.length&&(delete this.a[b],this.f--),!0):!1};
function Md(b,c){var d=c.type;if(!(d in b.a))return!1;var e=ub(b.a[d],c);e&&(Jd(c),0==b.a[d].length&&(delete b.a[d],b.f--));return e}function Nd(b,c,d,e,f){b=b.a[c.toString()];c=-1;b&&(c=Ld(b,d,e,f));return-1<c?b[c]:null}function Od(b,c,d){var e=m(c),f=e?c.toString():"",g=m(d);return Kc(b.a,function(b){for(var c=0;c<b.length;++c)if(!(e&&b[c].type!=f||g&&b[c].ad!=d))return!0;return!1})}
function Ld(b,c,d,e){for(var f=0;f<b.length;++f){var g=b[f];if(!g.Tc&&g.listener==c&&g.ad==!!d&&g.fe==e)return f}return-1};var Pd="closure_lm_"+(1E6*Math.random()|0),Qd={},Rd=0;function B(b,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)B(b,c[g],d,e,f);return null}d=Sd(d);return Gd(b)?b.ab(c,d,e,f):Td(b,c,d,!1,e,f)}
function Td(b,c,d,e,f,g){if(!c)throw Error("Invalid event type");var h=!!f,k=Ud(b);k||(b[Pd]=k=new Kd(b));d=k.add(c,d,e,f,g);if(d.a)return d;e=Vd();d.a=e;e.src=b;e.listener=d;if(b.addEventListener)b.addEventListener(c.toString(),e,h);else if(b.attachEvent)b.attachEvent(Wd(c.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");Rd++;return d}
function Vd(){var b=Xd,c=qd?function(d){return b.call(c.src,c.listener,d)}:function(d){d=b.call(c.src,c.listener,d);if(!d)return d};return c}function Yd(b,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)Yd(b,c[g],d,e,f);return null}d=Sd(d);return Gd(b)?b.ob.add(String(c),d,!0,e,f):Td(b,c,d,!0,e,f)}function Zd(b,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)Zd(b,c[g],d,e,f);else d=Sd(d),Gd(b)?b.Wf(c,d,e,f):b&&(b=Ud(b))&&(c=Nd(b,c,d,!!e,f))&&$d(c)}
function $d(b){if(ja(b)||!b||b.Tc)return!1;var c=b.src;if(Gd(c))return Md(c.ob,b);var d=b.type,e=b.a;c.removeEventListener?c.removeEventListener(d,e,b.ad):c.detachEvent&&c.detachEvent(Wd(d),e);Rd--;(d=Ud(c))?(Md(d,b),0==d.f&&(d.src=null,c[Pd]=null)):Jd(b);return!0}function Wd(b){return b in Qd?Qd[b]:Qd[b]="on"+b}function ae(b,c,d,e){var f=!0;if(b=Ud(b))if(c=b.a[c.toString()])for(c=c.concat(),b=0;b<c.length;b++){var g=c[b];g&&g.ad==d&&!g.Tc&&(g=be(g,e),f=f&&!1!==g)}return f}
function be(b,c){var d=b.listener,e=b.fe||b.src;b.Nd&&$d(b);return d.call(e,c)}
function Xd(b,c){if(b.Tc)return!0;if(!qd){var d;if(!(d=c))a:{d=["window","event"];for(var e=ba,f;f=d.shift();)if(null!=e[f])e=e[f];else{d=null;break a}d=e}f=d;d=new Cd(f,this);e=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){a:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(h){g=!0}if(g||void 0==f.returnValue)f.returnValue=!0}f=[];for(g=d.g;g;g=g.parentNode)f.push(g);for(var g=b.type,k=f.length-1;!d.j&&0<=k;k--){d.g=f[k];var n=ae(f[k],g,!0,d),e=e&&n}for(k=0;!d.j&&k<f.length;k++)d.g=f[k],n=
ae(f[k],g,!1,d),e=e&&n}return e}return be(b,new Cd(c,this))}function Ud(b){b=b[Pd];return b instanceof Kd?b:null}var ce="__closure_events_fn_"+(1E9*Math.random()>>>0);function Sd(b){if(ka(b))return b;b[ce]||(b[ce]=function(c){return b.handleEvent(c)});return b[ce]};function de(){sd.call(this);this.ob=new Kd(this);this.Cc=this;this.Xa=null}x(de,sd);de.prototype[Fd]=!0;l=de.prototype;l.addEventListener=function(b,c,d,e){B(this,b,c,d,e)};l.removeEventListener=function(b,c,d,e){Zd(this,b,c,d,e)};
function D(b,c){var d,e=b.Xa;if(e)for(d=[];e;e=e.Xa)d.push(e);var e=b.Cc,f=c,g=f.type||f;if(ia(f))f=new xd(f,e);else if(f instanceof xd)f.target=f.target||e;else{var h=f,f=new xd(g,e);$c(f,h)}var h=!0,k;if(d)for(var n=d.length-1;!f.j&&0<=n;n--)k=f.g=d[n],h=ee(k,g,!0,f)&&h;f.j||(k=f.g=e,h=ee(k,g,!0,f)&&h,f.j||(h=ee(k,g,!1,f)&&h));if(d)for(n=0;!f.j&&n<d.length;n++)k=f.g=d[n],h=ee(k,g,!1,f)&&h;return h}
l.Y=function(){de.ba.Y.call(this);if(this.ob){var b=this.ob,c=0,d;for(d in b.a){for(var e=b.a[d],f=0;f<e.length;f++)++c,Jd(e[f]);delete b.a[d];b.f--}}this.Xa=null};l.ab=function(b,c,d,e){return this.ob.add(String(b),c,!1,d,e)};l.Wf=function(b,c,d,e){return this.ob.remove(String(b),c,d,e)};
function ee(b,c,d,e){c=b.ob.a[String(c)];if(!c)return!0;c=c.concat();for(var f=!0,g=0;g<c.length;++g){var h=c[g];if(h&&!h.Tc&&h.ad==d){var k=h.listener,n=h.fe||h.src;h.Nd&&Md(b.ob,h);f=!1!==k.call(n,e)&&f}}return f&&0!=e.Ih}function fe(b,c,d){return Od(b.ob,m(c)?String(c):void 0,d)};function ge(){de.call(this);this.f=0}x(ge,de);function he(b){$d(b)}l=ge.prototype;l.o=function(){++this.f;D(this,"change")};l.J=function(){return this.f};l.G=function(b,c,d){return B(this,b,c,!1,d)};l.K=function(b,c,d){return Yd(this,b,c,!1,d)};l.I=function(b,c,d){Zd(this,b,c,!1,d)};l.L=he;function ie(b,c,d){xd.call(this,b);this.key=c;this.oldValue=d}x(ie,xd);function je(b){ge.call(this);ma(this);this.B={};m(b)&&this.H(b)}x(je,ge);var ke={};function le(b){return ke.hasOwnProperty(b)?ke[b]:ke[b]="change:"+b}l=je.prototype;l.get=function(b){var c;this.B.hasOwnProperty(b)&&(c=this.B[b]);return c};l.N=function(){return Oc(this.B)};l.O=function(){var b={},c;for(c in this.B)b[c]=this.B[c];return b};function me(b,c,d){var e;e=le(c);D(b,new ie(e,c,d));D(b,new ie("propertychange",c,d))}
l.set=function(b,c){var d=this.B[b];this.B[b]=c;me(this,b,d)};l.H=function(b){for(var c in b)this.set(c,b[c])};l.R=function(b){if(b in this.B){var c=this.B[b];delete this.B[b];me(this,b,c)}};var ne=bd&&!md("9.0")&&""!==kd;/*
Latitude/longitude spherical geodesy formulae taken from
http://www.movable-type.co.uk/scripts/latlong.html
Licensed under CC-BY-3.0.
*/
function oe(b){this.radius=b}oe.prototype.f=function(b){for(var c=0,d=b.length,e=b[d-1][0],f=b[d-1][1],g=0;g<d;g++)var h=b[g][0],k=b[g][1],c=c+Lb(h-e)*(2+Math.sin(Lb(f))+Math.sin(Lb(k))),e=h,f=k;return c*this.radius*this.radius/2};oe.prototype.a=function(b,c){var d=Lb(b[1]),e=Lb(c[1]),f=(e-d)/2,g=Lb(c[0]-b[0])/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*this.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))};
oe.prototype.offset=function(b,c,d){var e=Lb(b[1]);c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(Lb(b[0])+Math.atan2(Math.sin(d)*Math.sin(c)*Math.cos(e),Math.cos(c)-Math.sin(e)*Math.sin(f)))/Math.PI,180*f/Math.PI]};var pe=new oe(6370997);var qe={};qe.degrees=2*Math.PI*pe.radius/360;qe.ft=.3048;qe.m=1;qe["us-ft"]=1200/3937;
function re(b){this.a=b.code;this.f=b.units;this.i=m(b.extent)?b.extent:null;this.j=m(b.worldExtent)?b.worldExtent:null;this.c=m(b.axisOrientation)?b.axisOrientation:"enu";this.g=(this.b=m(b.global)?b.global:!1)&&null!==this.i;this.B=m(b.getPointResolution)?b.getPointResolution:this.Uj;this.l=null;var c=se,d=b.code;if("function"==typeof proj4&&!m(c[d])){var e=proj4.defs(d);if(m(e)){m(e.axis)&&!m(b.axisOrientation)&&(this.c=e.axis);m(b.units)||(b=e.units,!m(b)&&m(e.to_meter)&&(b=e.to_meter.toString(),
qe[b]=e.to_meter),this.f=b);for(var f in c)b=proj4.defs(f),m(b)&&(c=te(f),b===e?ue([c,this]):(b=proj4(f,d),ve(c,this,b.forward,b.inverse)))}}}l=re.prototype;l.vj=function(){return this.a};l.P=function(){return this.i};l.jm=function(){return this.f};l.Xd=function(){return qe[this.f]};l.ek=function(){return this.j};function we(b){return b.c}l.Tk=function(){return this.b};l.Go=function(b){this.g=(this.b=b)&&null!==this.i};l.km=function(b){this.i=b;this.g=this.b&&null!==b};l.Qo=function(b){this.j=b};
l.Fo=function(b){this.B=b};l.Uj=function(b,c){if("degrees"==this.f)return b;var d=xe(this,te("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=pe.a(e.slice(0,2),e.slice(2,4)),e=pe.a(e.slice(4,6),e.slice(6,8)),e=(d+e)/2,d=this.Xd();m(d)&&(e/=d);return e};l.getPointResolution=function(b,c){return this.B(b,c)};var se={},ye={};function ue(b){ze(b);nb(b,function(c){nb(b,function(b){c!==b&&Ae(c,b,Be)})})}
function Ce(){var b=De,c=Ee,d=Fe;nb(Ge,function(e){nb(b,function(b){Ae(e,b,c);Ae(b,e,d)})})}function He(b){se[b.a]=b;Ae(b,b,Be)}function ze(b){var c=[];nb(b,function(b){c.push(He(b))})}function Ie(b){return null!=b?ia(b)?te(b):b:te("EPSG:3857")}function Ae(b,c,d){b=b.a;c=c.a;b in ye||(ye[b]={});ye[b][c]=d}function ve(b,c,d,e){b=te(b);c=te(c);Ae(b,c,Je(d));Ae(c,b,Je(e))}
function Je(b){return function(c,d,e){var f=c.length;e=m(e)?e:2;d=m(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 te(b){var c;b instanceof re?c=b:ia(b)?(c=se[b],!m(c)&&"function"==typeof proj4&&m(proj4.defs(b))&&(c=new re({code:b}),He(c))):c=null;return c}function Ke(b,c){return b===c?!0:b.a===c.a?!0:b.f!=c.f?!1:xe(b,c)===Be}function Le(b,c){var d=te(b),e=te(c);return xe(d,e)}
function xe(b,c){var d=b.a,e=c.a,f;d in ye&&e in ye[d]&&(f=ye[d][e]);m(f)||(f=Me);return f}function Me(b,c){if(m(c)&&b!==c){for(var d=0,e=b.length;d<e;++d)c[d]=b[d];b=c}return b}function Be(b,c){var d;if(m(c)){d=0;for(var e=b.length;d<e;++d)c[d]=b[d];d=c}else d=b.slice();return d}function Ne(b,c,d){return Le(c,d)(b,void 0,b.length)}function Oe(b,c,d){c=Le(c,d);return Ec(b,c)};function Pe(){je.call(this);this.u=ac();this.A=-1;this.i={};this.v=this.j=0}x(Pe,je);l=Pe.prototype;l.hb=function(b,c){var d=m(c)?c:[NaN,NaN];this.fb(b[0],b[1],d,Infinity);return d};l.af=function(b){return this.sc(b[0],b[1])};l.sc=wa;l.P=function(b){this.A!=this.f&&(this.u=this.Od(this.u),this.A=this.f);var c=this.u;m(b)?(b[0]=c[0],b[1]=c[1],b[2]=c[2],b[3]=c[3]):b=c;return b};l.transform=function(b,c){this.lc(Le(b,c));return this};function Qe(b,c,d,e){this.b=b;this.a=c;this.g=d;this.c=e}l=Qe.prototype;l.get=function(b){return this.c[b]};l.pb=function(){return this.g};l.P=function(){m(this.f)||(this.f="Point"===this.b?lc(this.a):mc(this.a,0,this.a.length,2));return this.f};l.ha=Qe.prototype.Vb=function(){return this.a};l.V=function(){return this};l.nl=function(){return this.c};l.$d=Qe.prototype.V;l.ta=va(2);l.Ta=ca;l.U=function(){return this.b};function Re(b){return function(c){if(m(c))return[Hb(c[0],b[0],b[2]),Hb(c[1],b[1],b[3])]}}function Se(b){return b};function Te(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 Ue(b){return function(c,d,e){if(m(c))return c=Te(b,c,e),c=Hb(c+d,0,b.length-1),b[c]}}function Ve(b,c,d){return function(e,f,g){if(m(e))return g=0<g?0:0>g?1:.5,e=Math.floor(Math.log(c/e)/Math.log(b)+g),f=Math.max(e+f,0),m(d)&&(f=Math.min(f,d)),c/Math.pow(b,f)}};function We(b){if(m(b))return 0}function Xe(b,c){if(m(b))return b+c}function Ye(b){var c=2*Math.PI/b;return function(b,e){if(m(b))return b=Math.floor((b+e)/c+.5)*c}}function $e(){var b=Lb(5);return function(c,d){if(m(c))return Math.abs(c+d)<=b?0:c+d}};function af(b,c,d){this.center=b;this.resolution=c;this.rotation=d};function bf(b,c,d,e,f,g){var h=f[0],k=f[1],n=f[4],p=f[5],q=f[12];f=f[13];for(var r=m(g)?g:[],t=0;c<d;c+=e){var u=b[c],z=b[c+1];r[t++]=h*u+n*z+q;r[t++]=k*u+p*z+f}m(g)&&r.length!=t&&(r.length=t);return r};function cf(){Pe.call(this);this.b="XY";this.a=2;this.s=null}x(cf,Pe);function df(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}l=cf.prototype;l.sc=wa;l.Od=function(b){return mc(this.s,0,this.s.length,this.a,b)};l.Bb=function(){return this.s.slice(0,this.a)};l.ha=function(){return this.s};l.Db=function(){return this.s.slice(this.s.length-this.a)};l.Eb=function(){return this.b};
l.$d=function(b){this.v!=this.f&&(Tc(this.i),this.j=0,this.v=this.f);if(0>b||0!==this.j&&b<=this.j)return this;var c=b.toString();if(this.i.hasOwnProperty(c))return this.i[c];var d=this.Kc(b);if(d.ha().length<this.s.length)return this.i[c]=d;this.j=b;return this};l.Kc=function(){return this};l.ta=function(){return this.a};l.sa=function(b,c){this.a=df(b);this.b=b;this.s=c};
function ef(b,c,d,e){if(m(c))d=df(c);else{for(c=0;c<e;++c){if(0===d.length){b.b="XY";b.a=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.b=c;b.a=d}l.lc=function(b){null!==this.s&&(b(this.s,this.s,this.a),this.o())};l.translate=function(b,c){var d=this.ha();if(null!==d){var e=this.ta(),f=d.length,g=m(d)?d:[],h=0,k,n;for(k=0;k<f;k+=e)for(g[h++]=d[k]+b,g[h++]=d[k+1]+c,n=k+2;n<k+e;++n)g[h++]=d[n];m(d)&&g.length!=h&&(g.length=h);this.o()}};function ff(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],n=b[c+1],f=f+(h*k-g*n),g=k,h=n;return f/2}function gf(b,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+ff(b,c,k,e);c=k}return f};function hf(b,c,d,e,f,g){var h=f-d,k=g-e;if(0!==h||0!==k){var n=((b-d)*h+(c-e)*k)/(h*h+k*k);1<n?(d=f,e=g):0<n&&(d+=h*n,e+=k*n)}return jf(b,c,d,e)}function jf(b,c,d,e){b=d-b;c=e-c;return b*b+c*c};function kf(b,c,d,e,f,g,h){var k=b[c],n=b[c+1],p=b[d]-k,q=b[d+1]-n;if(0!==p||0!==q)if(g=((f-k)*p+(g-n)*q)/(p*p+q*q),1<g)c=d;else if(0<g){for(f=0;f<e;++f)h[f]=Kb(b[c+f],b[d+f],g);h.length=e;return}for(f=0;f<e;++f)h[f]=b[c+f];h.length=e}function lf(b,c,d,e,f){var g=b[c],h=b[c+1];for(c+=e;c<d;c+=e){var k=b[c],n=b[c+1],g=jf(g,h,k,n);g>f&&(f=g);g=k;h=n}return f}function mf(b,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=lf(b,c,k,e,f);c=k}return f}
function nf(b,c,d,e,f,g,h,k,n,p,q){if(c==d)return p;var r;if(0===f){r=jf(h,k,b[c],b[c+1]);if(r<p){for(q=0;q<e;++q)n[q]=b[c+q];n.length=e;return r}return p}for(var t=m(q)?q:[NaN,NaN],u=c+e;u<d;)if(kf(b,u-e,u,e,h,k,t),r=jf(h,k,t[0],t[1]),r<p){p=r;for(q=0;q<e;++q)n[q]=t[q];n.length=e;u+=e}else u+=e*Math.max((Math.sqrt(r)-Math.sqrt(p))/f|0,1);if(g&&(kf(b,d-e,c,e,h,k,t),r=jf(h,k,t[0],t[1]),r<p)){p=r;for(q=0;q<e;++q)n[q]=t[q];n.length=e}return p}
function of(b,c,d,e,f,g,h,k,n,p,q){q=m(q)?q:[NaN,NaN];var r,t;r=0;for(t=d.length;r<t;++r){var u=d[r];p=nf(b,c,u,e,f,g,h,k,n,p,q);c=u}return p};function pf(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function qf(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 rf(b,c,d,e,f){f=m(f)?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=qf(b,c,d[h],e),f[g++]=c;f.length=g;return f};function sf(b,c,d,e,f){f=m(f)?f:[];for(var g=0;c<d;c+=e)f[g++]=b.slice(c,c+e);f.length=g;return f}function tf(b,c,d,e,f){f=m(f)?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var n=d[h];f[g++]=sf(b,c,n,e,f[g]);c=n}f.length=g;return f};function uf(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 n=Array(k);n[0]=1;n[k-1]=1;d=[c,d-e];for(var p=0,q;0<d.length;){var r=d.pop(),t=d.pop(),u=0,z=b[t],w=b[t+1],C=b[r],y=b[r+1];for(q=t+e;q<r;q+=e){var A=hf(b[q],b[q+1],z,w,C,y);A>u&&(p=q,u=A)}u>f&&(n[(p-c)/e]=1,t+e<p&&d.push(t,p),p+e<r&&d.push(p,r))}for(q=0;q<k;++q)n[q]&&(g[h++]=b[c+q*e],g[h++]=b[c+q*e+1]);return h}
function vf(b,c,d,e,f,g,h,k){var n,p;n=0;for(p=d.length;n<p;++n){var q=d[n];a:{var r=b,t=q,u=e,z=f,w=g;if(c!=t){var C=z*Math.round(r[c]/z),y=z*Math.round(r[c+1]/z);c+=u;w[h++]=C;w[h++]=y;var A=void 0,H=void 0;do if(A=z*Math.round(r[c]/z),H=z*Math.round(r[c+1]/z),c+=u,c==t){w[h++]=A;w[h++]=H;break a}while(A==C&&H==y);for(;c<t;){var K,J;K=z*Math.round(r[c]/z);J=z*Math.round(r[c+1]/z);c+=u;if(K!=A||J!=H){var Q=A-C,ta=H-y,Va=K-C,S=J-y;Q*S==ta*Va&&(0>Q&&Va<Q||Q==Va||0<Q&&Va>Q)&&(0>ta&&S<ta||ta==S||0<ta&&
S>ta)||(w[h++]=A,w[h++]=H,C=A,y=H);A=K;H=J}}w[h++]=A;w[h++]=H}}k.push(h);c=q}return h};function wf(b,c){cf.call(this);this.g=this.l=-1;m(b)&&this.ma(b,c)}x(wf,cf);l=wf.prototype;l.clone=function(){var b=new wf(null);xf(b,this.b,this.s.slice());return b};l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;this.g!=this.f&&(this.l=Math.sqrt(lf(this.s,0,this.s.length,this.a,0)),this.g=this.f);return nf(this.s,0,this.s.length,this.a,this.l,!0,b,c,d,e)};l.Pl=function(){return ff(this.s,0,this.s.length,this.a)};l.X=function(){return sf(this.s,0,this.s.length,this.a)};
l.Kc=function(b){var c=[];c.length=uf(this.s,0,this.s.length,this.a,b,c,0);b=new wf(null);xf(b,"XY",c);return b};l.U=function(){return"LinearRing"};l.ma=function(b,c){null===b?xf(this,"XY",null):(ef(this,c,b,1),null===this.s&&(this.s=[]),this.s.length=qf(this.s,0,b,this.a),this.o())};function xf(b,c,d){b.sa(c,d);b.o()};function yf(b,c){cf.call(this);m(b)&&this.ma(b,c)}x(yf,cf);l=yf.prototype;l.clone=function(){var b=new yf(null);zf(b,this.b,this.s.slice());return b};l.fb=function(b,c,d,e){var f=this.s;b=jf(b,c,f[0],f[1]);if(b<e){e=this.a;for(c=0;c<e;++c)d[c]=f[c];d.length=e;return b}return e};l.X=function(){return null===this.s?[]:this.s.slice()};l.Od=function(b){return lc(this.s,b)};l.U=function(){return"Point"};l.Aa=function(b){return ic(b,this.s[0],this.s[1])};
l.ma=function(b,c){null===b?zf(this,"XY",null):(ef(this,c,b,0),null===this.s&&(this.s=[]),this.s.length=pf(this.s,b),this.o())};function zf(b,c,d){b.sa(c,d);b.o()};function Af(b,c,d,e,f){return!rc(f,function(f){return!Bf(b,c,d,e,f[0],f[1])})}function Bf(b,c,d,e,f,g){for(var h=!1,k=b[d-e],n=b[d-e+1];c<d;c+=e){var p=b[c],q=b[c+1];n>g!=q>g&&f<(p-k)*(g-n)/(q-n)+k&&(h=!h);k=p;n=q}return h}function Cf(b,c,d,e,f,g){if(0===d.length||!Bf(b,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(Bf(b,d[c-1],d[c],e,f,g))return!1;return!0};function Df(b,c,d,e,f,g,h){var k,n,p,q,r,t=f[g+1],u=[],z=d[0];p=b[z-e];r=b[z-e+1];for(k=c;k<z;k+=e){q=b[k];n=b[k+1];if(t<=r&&n<=t||r<=t&&t<=n)p=(t-r)/(n-r)*(q-p)+p,u.push(p);p=q;r=n}z=NaN;r=-Infinity;u.sort();p=u[0];k=1;for(n=u.length;k<n;++k){q=u[k];var w=Math.abs(q-p);w>r&&(p=(p+q)/2,Cf(b,c,d,e,p,t)&&(z=p,r=w));p=q}isNaN(z)&&(z=f[g]);return m(h)?(h.push(z,t),h):[z,t]};function Ef(b,c,d,e,f,g){for(var h=[b[c],b[c+1]],k=[],n;c+e<d;c+=e){k[0]=b[c+e];k[1]=b[c+e+1];if(n=f.call(g,h,k))return n;h[0]=k[0];h[1]=k[1]}return!1};function Ff(b,c,d,e,f){var g=nc(ac(),b,c,d,e);return Ac(f,g)?jc(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:Ef(b,c,d,e,function(b,c){var d=!1,e=kc(f,b),g=kc(f,c);if(1===e||1===g)d=!0;else{var r=f[0],t=f[1],u=f[2],z=f[3],w=c[0],C=c[1],y=(C-b[1])/(w-b[0]);g&2&&!(e&2)&&(d=w-(C-z)/y,d=d>=r&&d<=u);d||!(g&4)||e&4||(d=C-(w-u)*y,d=d>=t&&d<=z);d||!(g&8)||e&8||(d=w-(C-t)/y,d=d>=r&&d<=u);d||!(g&16)||e&16||(d=C-(w-r)*y,d=d>=t&&d<=z)}return d}):!1}
function Gf(b,c,d,e,f){var g=d[0];if(!(Ff(b,c,g,e,f)||Bf(b,c,g,e,f[0],f[1])||Bf(b,c,g,e,f[0],f[3])||Bf(b,c,g,e,f[2],f[1])||Bf(b,c,g,e,f[2],f[3])))return!1;if(1===d.length)return!0;c=1;for(g=d.length;c<g;++c)if(Af(b,d[c-1],d[c],e,f))return!1;return!0};function Hf(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],n=b[c+1],f=f+(k-g)*(n+h),g=k,h=n;return 0<f}function If(b,c,d,e){var f=0;e=m(e)?e:!1;var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],f=Hf(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 Jf(b,c,d,e,f){f=m(f)?f:!1;var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],n=Hf(b,c,k,e);if(0===g?f&&n||!f&&!n:f&&!n||!f&&n)for(var n=b,p=k,q=e;c<p-q;){var r;for(r=0;r<q;++r){var t=n[c+r];n[c+r]=n[p-q+r];n[p-q+r]=t}c+=q;p-=q}c=k}return c}function Kf(b,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Jf(b,f,c[g],d,e);return f};function E(b,c){cf.call(this);this.g=[];this.D=-1;this.C=null;this.S=this.M=this.T=-1;this.l=null;m(b)&&this.ma(b,c)}x(E,cf);l=E.prototype;l.aj=function(b){null===this.s?this.s=b.ha().slice():xb(this.s,b.ha());this.g.push(this.s.length);this.o()};l.clone=function(){var b=new E(null);Lf(b,this.b,this.s.slice(),this.g.slice());return b};
l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;this.M!=this.f&&(this.T=Math.sqrt(mf(this.s,0,this.g,this.a,0)),this.M=this.f);return of(this.s,0,this.g,this.a,this.T,!0,b,c,d,e)};l.sc=function(b,c){return Cf(this.Vb(),0,this.g,this.a,b,c)};l.Sl=function(){return gf(this.Vb(),0,this.g,this.a)};l.X=function(b){var c;m(b)?(c=this.Vb().slice(),Jf(c,0,this.g,this.a,b)):c=this.s;return tf(c,0,this.g,this.a)};l.pb=function(){return this.g};
function Mf(b){if(b.D!=b.f){var c=wc(b.P());b.C=Df(b.Vb(),0,b.g,b.a,c,0);b.D=b.f}return b.C}l.Gj=function(){return new yf(Mf(this))};l.Lj=function(){return this.g.length};l.ug=function(b){if(0>b||this.g.length<=b)return null;var c=new wf(null);xf(c,this.b,this.s.slice(0===b?0:this.g[b-1],this.g[b]));return c};l.Wd=function(){var b=this.b,c=this.s,d=this.g,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],n=new wf(null);xf(n,b,c.slice(f,k));e.push(n);f=k}return e};
l.Vb=function(){if(this.S!=this.f){var b=this.s;If(b,this.g,this.a)?this.l=b:(this.l=b.slice(),this.l.length=Jf(this.l,0,this.g,this.a));this.S=this.f}return this.l};l.Kc=function(b){var c=[],d=[];c.length=vf(this.s,0,this.g,this.a,Math.sqrt(b),c,0,d);b=new E(null);Lf(b,"XY",c,d);return b};l.U=function(){return"Polygon"};l.Aa=function(b){return Gf(this.Vb(),0,this.g,this.a,b)};
l.ma=function(b,c){if(null===b)Lf(this,"XY",null,this.g);else{ef(this,c,b,2);null===this.s&&(this.s=[]);var d=rf(this.s,0,b,this.a,this.g);this.s.length=0===d.length?0:d[d.length-1];this.o()}};function Lf(b,c,d,e){b.sa(c,d,e);b.o()}l.sa=function(b,c,d){E.ba.sa.call(this,b,c);this.g=d};function Nf(b,c,d,e){var f=m(e)?e:32;e=[];var g;for(g=0;g<f;++g)xb(e,b.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);b=new E(null);Lf(b,"XY",e,[e.length]);return b}
function Of(b){var c=b[0],d=b[1],e=b[2];b=b[3];c=[c,d,c,b,e,b,e,d,c,d];d=new E(null);Lf(d,"XY",c,[c.length]);return d}function Pf(b,c,d){var e=m(c)?c:32,f=b.ta();c=b.b;for(var g=new E(null,c),e=f*(e+1),f=[],h=0;h<e;h++)f[h]=0;Lf(g,c,f,[f.length]);Qf(g,b.rd(),b.zf(),d);return g}function Qf(b,c,d,e){var f=b.ha(),g=b.b,h=b.ta(),k=b.pb(),n=f.length/h-1;e=m(e)?e:0;for(var p,q,r=0;r<=n;++r)q=r*h,p=e+2*Jb(r,n)*Math.PI/n,f[q]=c[0]+d*Math.cos(p),f[q+1]=c[1]+d*Math.sin(p);Lf(b,g,f,k)};function Rf(b){je.call(this);b=m(b)?b:{};this.b=[0,0];var c={};c.center=m(b.center)?b.center:null;this.g=Ie(b.projection);var d,e,f,g=m(b.minZoom)?b.minZoom:0;d=m(b.maxZoom)?b.maxZoom:28;var h=m(b.zoomFactor)?b.zoomFactor:2;if(m(b.resolutions))d=b.resolutions,e=d[0],f=d[d.length-1],d=Ue(d);else{e=Ie(b.projection);f=e.P();var k=(null===f?360*qe.degrees/qe[e.f]:Math.max(Bc(f),yc(f)))/256/Math.pow(2,0),n=k/Math.pow(2,28);e=b.maxResolution;m(e)?g=0:e=k/Math.pow(h,g);f=b.minResolution;m(f)||(f=m(b.maxZoom)?
m(b.maxResolution)?e/Math.pow(h,d):k/Math.pow(h,d):n);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=Ve(h,e,d-g)}this.a=e;this.j=f;this.c=g;g=m(b.extent)?Re(b.extent):Se;(m(b.enableRotation)?b.enableRotation:1)?(e=b.constrainRotation,e=m(e)&&!0!==e?!1===e?Xe:ja(e)?Ye(e):Xe:$e()):e=We;this.i=new af(g,d,e);m(b.resolution)?c.resolution=b.resolution:m(b.zoom)&&(c.resolution=this.constrainResolution(this.a,b.zoom-this.c));c.rotation=m(b.rotation)?b.rotation:0;this.H(c)}x(Rf,je);l=Rf.prototype;
l.Pd=function(b){return this.i.center(b)};l.constrainResolution=function(b,c,d){return this.i.resolution(b,c||0,d||0)};l.constrainRotation=function(b,c){return this.i.rotation(b,c||0)};l.Oa=function(){return this.get("center")};l.Zc=function(b){var c=this.Oa(),d=this.ya(),e=this.Ba();return xc(c,d,e,b)};l.zl=function(){return this.g};l.ya=function(){return this.get("resolution")};function Sf(b){var c=b.a,d=Math.log(c/b.j)/Math.log(2);return function(b){return c/Math.pow(2,b*d)}}l.Ba=function(){return this.get("rotation")};
function Tf(b){var c=b.a,d=Math.log(c/b.j)/Math.log(2);return function(b){return Math.log(c/b)/Math.log(2)/d}}function Uf(b){var c=b.Oa(),d=b.g,e=b.ya();b=b.Ba();return{center:[Math.round(c[0]/e)*e,Math.round(c[1]/e)*e],projection:m(d)?d:null,resolution:e,rotation:b}}l.fk=function(){var b,c=this.ya();if(m(c)){var d,e=0;do{d=this.constrainResolution(this.a,e);if(d==c){b=e;break}++e}while(d>this.j)}return m(b)?this.c+b:b};
l.df=function(b,c,d){b instanceof cf||(b=Of(b));var e=m(d)?d:{};d=m(e.padding)?e.padding:[0,0,0,0];var f=m(e.constrainResolution)?e.constrainResolution:!0,g=m(e.nearest)?e.nearest:!1,h;m(e.minResolution)?h=e.minResolution:m(e.maxZoom)?h=this.constrainResolution(this.a,e.maxZoom-this.c,0):h=0;var k=b.ha(),n=this.Ba(),e=Math.cos(-n),n=Math.sin(-n),p=Infinity,q=Infinity,r=-Infinity,t=-Infinity;b=b.ta();for(var u=0,z=k.length;u<z;u+=b)var w=k[u]*e-k[u+1]*n,C=k[u]*n+k[u+1]*e,p=Math.min(p,w),q=Math.min(q,
C),r=Math.max(r,w),t=Math.max(t,C);k=[p,q,r,t];c=[c[0]-d[1]-d[3],c[1]-d[0]-d[2]];c=Math.max(Bc(k)/c[0],yc(k)/c[1]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.Nb(c);n=-n;g=(p+r)/2+(d[1]-d[3])/2*c;d=(q+t)/2+(d[0]-d[2])/2*c;this.bb([g*e-d*n,d*e+g*n])};
l.gj=function(b,c,d){var e=this.Ba(),f=Math.cos(-e),e=Math.sin(-e),g=b[0]*f-b[1]*e;b=b[1]*f+b[0]*e;var h=this.ya(),g=g+(c[0]/2-d[0])*h;b+=(d[1]-c[1]/2)*h;e=-e;this.bb([g*f-b*e,b*f+g*e])};function Vf(b){return null!=b.Oa()&&m(b.ya())}l.rotate=function(b,c){if(m(c)){var d,e=this.Oa();m(e)&&(d=[e[0]-c[0],e[1]-c[1]],Tb(d,b-this.Ba()),Ob(d,c));this.bb(d)}this.pe(b)};l.bb=function(b){this.set("center",b)};function Wf(b,c){b.b[1]+=c}l.Nb=function(b){this.set("resolution",b)};
l.pe=function(b){this.set("rotation",b)};l.Ro=function(b){b=this.constrainResolution(this.a,b-this.c,0);this.Nb(b)};function Xf(b){return 1-Math.pow(1-b,3)};function Yf(b){return 3*b*b-2*b*b*b}function Zf(b){return b}function $f(b){return.5>b?Yf(2*b):1-Yf(2*(b-.5))};function ag(b){var c=b.source,d=m(b.start)?b.start:ua(),e=c[0],f=c[1],g=m(b.duration)?b.duration:1E3,h=m(b.easing)?b.easing:Yf;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var p=1-h((c.time-d)/g),q=e-c.viewState.center[0],r=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=p*q;c.viewState.center[1]+=p*r;c.viewHints[0]+=1;return!0}return!1}}
function bg(b){var c=m(b.rotation)?b.rotation:0,d=m(b.start)?b.start:ua(),e=m(b.duration)?b.duration:1E3,f=m(b.easing)?b.easing:Yf,g=m(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 n=1-f((k.time-d)/e),n=(c-k.viewState.rotation)*n;k.animate=!0;k.viewState.rotation+=n;if(null!==g){var p=k.viewState.center;p[0]-=g[0];p[1]-=g[1];Tb(p,n);Ob(p,g)}k.viewHints[0]+=1;return!0}return!1}}
function cg(b){var c=b.resolution,d=m(b.start)?b.start:ua(),e=m(b.duration)?b.duration:1E3,f=m(b.easing)?b.easing:Yf;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),n=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*n;h.viewHints[0]+=1;return!0}return!1}};function dg(b,c,d,e){return m(e)?(e[0]=b,e[1]=c,e[2]=d,e):[b,c,d]}function fg(b,c,d){return b+"/"+c+"/"+d}function gg(b){var c=b[0],d=Array(c),e=1<<c-1,f,g;for(f=0;f<c;++f)g=48,b[1]&e&&(g+=1),b[2]&e&&(g+=2),d[f]=String.fromCharCode(g),e>>=1;return d.join("")}function hg(b){return fg(b[0],b[1],b[2])}function ig(b,c,d){var e=b[0],f=jg(c,b);d=kg(d);if(hc(d,f))return b;b=Bc(d);d=Math.ceil((d[0]-f[0])/b);f[0]+=b*d;return c.be(f,e)}
function lg(b,c){var d=b[0],e=b[1],f=b[2];if(c.minZoom>d||d>c.maxZoom)return!1;var g=c.P(),d=null===g?null===c.f?null:c.f[d]:mg(c,g,d);return null===d?!0:ng(d,e,f)};function og(b,c,d,e){this.a=b;this.c=c;this.f=d;this.b=e}og.prototype.contains=function(b){return ng(this,b[1],b[2])};function ng(b,c,d){return b.a<=c&&c<=b.c&&b.f<=d&&d<=b.b}function pg(b,c){return b.a==c.a&&b.f==c.f&&b.c==c.c&&b.b==c.b}function qg(b){return b.c-b.a+1}function rg(b,c){return b.a<=c.c&&b.c>=c.a&&b.f<=c.b&&b.b>=c.f};function sg(b){this.f=b.html;this.a=m(b.tileRanges)?b.tileRanges:null}sg.prototype.b=function(){return this.f};function tg(b,c,d){xd.call(this,b,d);this.element=c}x(tg,xd);function ug(b){je.call(this);this.a=m(b)?b:[];vg(this)}x(ug,je);l=ug.prototype;l.clear=function(){for(;0<this.Ub();)this.pop()};l.uf=function(b){var c,d;c=0;for(d=b.length;c<d;++c)this.push(b[c]);return this};l.forEach=function(b,c){nb(this.a,b,c)};l.il=function(){return this.a};l.item=function(b){return this.a[b]};l.Ub=function(){return this.get("length")};l.ge=function(b,c){yb(this.a,b,0,c);vg(this);D(this,new tg("add",c,this))};
l.pop=function(){return this.Sf(this.Ub()-1)};l.push=function(b){var c=this.a.length;this.ge(c,b);return c};l.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return this.Sf(d)};l.Sf=function(b){var c=this.a[b];lb.splice.call(this.a,b,1);vg(this);D(this,new tg("remove",c,this));return c};l.Co=function(b,c){var d=this.Ub();if(b<d)d=this.a[b],this.a[b]=c,D(this,new tg("remove",d,this)),D(this,new tg("add",c,this));else{for(;d<b;++d)this.ge(d,void 0);this.ge(b,c)}};
function vg(b){b.set("length",b.a.length)};var wg=/^#(?:[0-9a-f]{3}){1,2}$/i,xg=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,yg=/^(?: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 zg(b){return ga(b)?b:Ag(b)}function Bg(b){if(!ia(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+","+b[3]+")"}return b}
var Ag=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;wg.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=yg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=Cg(e,e)):(h=xg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),
e=[e,f,g,1],e=Cg(e,e)):e=void 0;b[d]=e;++c}return e}}();function Cg(b,c){var d=m(c)?c:[];d[0]=Hb(b[0]+.5|0,0,255);d[1]=Hb(b[1]+.5|0,0,255);d[2]=Hb(b[2]+.5|0,0,255);d[3]=Hb(b[3],0,1);return d};function Dg(){this.j=$a();this.f=void 0;this.a=$a();this.c=void 0;this.b=$a();this.i=void 0;this.g=$a();this.B=void 0;this.l=$a()}
function Eg(b,c,d,e,f){var g=!1;m(c)&&c!==b.f&&(g=b.a,eb(g),g[12]=c,g[13]=c,g[14]=c,g[15]=1,b.f=c,g=!0);if(m(d)&&d!==b.c){g=b.b;eb(g);g[0]=d;g[5]=d;g[10]=d;g[15]=1;var h=-.5*d+.5;g[12]=h;g[13]=h;g[14]=h;g[15]=1;b.c=d;g=!0}m(e)&&e!==b.i&&(g=Math.cos(e),h=Math.sin(e),ab(b.g,.213+.787*g-.213*h,.213-.213*g+.143*h,.213-.213*g-.787*h,0,.715-.715*g-.715*h,.715+.285*g+.14*h,.715-.715*g+.715*h,0,.072-.072*g+.928*h,.072-.072*g-.283*h,.072+.928*g+.072*h,0,0,0,0,1),b.i=e,g=!0);m(f)&&f!==b.B&&(ab(b.l,.213+.787*
f,.213-.213*f,.213-.213*f,0,.715-.715*f,.715+.285*f,.715-.715*f,0,.072-.072*f,.072-.072*f,.072+.928*f,0,0,0,0,1),b.B=f,g=!0);g&&(g=b.j,eb(g),m(d)&&fb(g,b.b,g),m(c)&&fb(g,b.a,g),m(f)&&fb(g,b.l,g),m(e)&&fb(g,b.g,g));return b.j};var Fg=!bd||9<=od;!dd&&!bd||bd&&9<=od||dd&&md("1.9.1");bd&&md("9");function Gg(b,c){this.x=m(b)?b:0;this.y=m(c)?c:0}l=Gg.prototype;l.clone=function(){return new Gg(this.x,this.y)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.translate=function(b,c){b instanceof Gg?(this.x+=b.x,this.y+=b.y):(this.x+=b,ja(c)&&(this.y+=c));return this};
l.scale=function(b,c){var d=ja(c)?c:b;this.x*=b;this.y*=d;return this};function Hg(b,c){this.width=b;this.height=c}l=Hg.prototype;l.clone=function(){return new Hg(this.width,this.height)};l.dj=function(){return this.width*this.height};l.Ia=function(){return!this.dj()};l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
l.scale=function(b,c){var d=ja(c)?c:b;this.width*=b;this.height*=d;return this};function Ig(b){return b?new Jg(Kg(b)):Ea||(Ea=new Jg)}function Lg(b){var c=document;return ia(b)?c.getElementById(b):b}function Mg(b,c){Jc(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:Ng.hasOwnProperty(e)?b.setAttribute(Ng[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})}
var Ng={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Og(b){b=b.document.documentElement;return new Hg(b.clientWidth,b.clientHeight)}
function Pg(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Fg&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',Ja(h.name),'"');if(h.type){g.push(' type="',Ja(h.type),'"');var k={};$c(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(ia(h)?g.className=h:ga(h)?g.className=h.join(" "):Mg(g,h));2<e.length&&Qg(f,g,e,2);return g}
function Qg(b,c,d,e){function f(d){d&&c.appendChild(ia(d)?b.createTextNode(d):d)}for(;e<d.length;e++){var g=d[e];!ha(g)||la(g)&&0<g.nodeType?f(g):nb(Rg(g)?wb(g):g,f)}}function Sg(b){return document.createElement(b)}function Tg(b,c){Qg(Kg(b),b,arguments,1)}function Ug(b){for(var c;c=b.firstChild;)b.removeChild(c)}function Vg(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}function Wg(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function Xg(b,c){var d=c.parentNode;d&&d.replaceChild(b,c)}
function Yg(b){if(m(b.firstElementChild))b=b.firstElementChild;else for(b=b.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;return b}function Zg(b,c){if(b.contains&&1==c.nodeType)return b==c||b.contains(c);if("undefined"!=typeof b.compareDocumentPosition)return b==c||Boolean(b.compareDocumentPosition(c)&16);for(;c&&b!=c;)c=c.parentNode;return c==b}function Kg(b){return 9==b.nodeType?b:b.ownerDocument||b.document}
function Rg(b){if(b&&"number"==typeof b.length){if(la(b))return"function"==typeof b.item||"string"==typeof b.item;if(ka(b))return"function"==typeof b.item}return!1}function Jg(b){this.a=b||ba.document||document}function $g(){return!0}
function ah(b){var c=b.a;b=c.scrollingElement?c.scrollingElement:ed?c.body||c.documentElement:c.documentElement;c=c.parentWindow||c.defaultView;return bd&&md("10")&&c.pageYOffset!=b.scrollTop?new Gg(b.scrollLeft,b.scrollTop):new Gg(c.pageXOffset||b.scrollLeft,c.pageYOffset||b.scrollTop)}Jg.prototype.appendChild=function(b,c){b.appendChild(c)};Jg.prototype.contains=Zg;function bh(b){if(b.classList)return b.classList;b=b.className;return ia(b)&&b.match(/\S+/g)||[]}function ch(b,c){return b.classList?b.classList.contains(c):tb(bh(b),c)}function dh(b,c){b.classList?b.classList.add(c):ch(b,c)||(b.className+=0<b.className.length?" "+c:c)}function eh(b,c){b.classList?b.classList.remove(c):ch(b,c)&&(b.className=ob(bh(b),function(b){return b!=c}).join(" "))}function fh(b,c){ch(b,c)?eh(b,c):dh(b,c)};function gh(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}l=gh.prototype;l.clone=function(){return new gh(this.top,this.right,this.bottom,this.left)};l.contains=function(b){return this&&b?b instanceof gh?b.left>=this.left&&b.right<=this.right&&b.top>=this.top&&b.bottom<=this.bottom:b.x>=this.left&&b.x<=this.right&&b.y>=this.top&&b.y<=this.bottom:!1};
l.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};l.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};l.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};
l.translate=function(b,c){b instanceof Gg?(this.left+=b.x,this.right+=b.x,this.top+=b.y,this.bottom+=b.y):(this.left+=b,this.right+=b,ja(c)&&(this.top+=c,this.bottom+=c));return this};l.scale=function(b,c){var d=ja(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function hh(b,c,d,e){this.left=b;this.top=c;this.width=d;this.height=e}l=hh.prototype;l.clone=function(){return new hh(this.left,this.top,this.width,this.height)};l.contains=function(b){return b instanceof hh?this.left<=b.left&&this.left+this.width>=b.left+b.width&&this.top<=b.top&&this.top+this.height>=b.top+b.height:b.x>=this.left&&b.x<=this.left+this.width&&b.y>=this.top&&b.y<=this.top+this.height};
function ih(b,c){var d=c.x<b.left?b.left-c.x:Math.max(c.x-(b.left+b.width),0),e=c.y<b.top?b.top-c.y:Math.max(c.y-(b.top+b.height),0);return d*d+e*e}l.distance=function(b){return Math.sqrt(ih(this,b))};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.translate=function(b,c){b instanceof Gg?(this.left+=b.x,this.top+=b.y):(this.left+=b,ja(c)&&(this.top+=c));return this};
l.scale=function(b,c){var d=ja(c)?c:b;this.left*=b;this.width*=b;this.top*=d;this.height*=d;return this};function jh(b,c){var d=Kg(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function kh(b,c){return jh(b,c)||(b.currentStyle?b.currentStyle[c]:null)||b.style&&b.style[c]}function lh(b,c,d){var e;c instanceof Gg?(e=c.x,c=c.y):(e=c,c=d);b.style.left=mh(e);b.style.top=mh(c)}
function nh(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}bd&&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 oh(b){if(1==b.nodeType)return b=nh(b),new Gg(b.left,b.top);b=b.changedTouches?b.changedTouches[0]:b;return new Gg(b.clientX,b.clientY)}function mh(b){"number"==typeof b&&(b=b+"px");return b}
function ph(b){var c=qh;if("none"!=kh(b,"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 qh(b){var c=b.offsetWidth,d=b.offsetHeight,e=ed&&!c&&!d;return m(c)&&!e||!b.getBoundingClientRect?new Hg(c,d):(b=nh(b),new Hg(b.right-b.left,b.bottom-b.top))}function rh(b,c){b.style.display=c?"":"none"}
function sh(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 th(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?sh(b,d,"left","pixelLeft"):0}
function uh(b,c){if(bd){var d=th(b,c+"Left"),e=th(b,c+"Right"),f=th(b,c+"Top"),g=th(b,c+"Bottom");return new gh(f,e,g,d)}d=jh(b,c+"Left");e=jh(b,c+"Right");f=jh(b,c+"Top");g=jh(b,c+"Bottom");return new gh(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d))}var vh={thin:2,medium:4,thick:6};function wh(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 vh?vh[d]:sh(b,d,"left","pixelLeft")}
function xh(b){if(bd&&!(9<=od)){var c=wh(b,"borderLeft"),d=wh(b,"borderRight"),e=wh(b,"borderTop");b=wh(b,"borderBottom");return new gh(e,d,b,c)}c=jh(b,"borderLeftWidth");d=jh(b,"borderRightWidth");e=jh(b,"borderTopWidth");b=jh(b,"borderBottomWidth");return new gh(parseFloat(e),parseFloat(d),parseFloat(b),parseFloat(c))};function yh(b,c,d){xd.call(this,b);this.map=c;this.frameState=m(d)?d:null}x(yh,xd);function zh(b){je.call(this);this.element=m(b.element)?b.element:null;this.a=this.T=null;this.v=[];this.render=m(b.render)?b.render:ca;m(b.target)&&this.b(b.target)}x(zh,je);zh.prototype.Y=function(){Wg(this.element);zh.ba.Y.call(this)};zh.prototype.g=function(){return this.a};
zh.prototype.setMap=function(b){null===this.a||Wg(this.element);0!=this.v.length&&(nb(this.v,$d),this.v.length=0);this.a=b;null!==this.a&&((null===this.T?b.D:this.T).appendChild(this.element),this.render!==ca&&this.v.push(B(b,"postrender",this.render,!1,this)),b.render())};zh.prototype.b=function(b){this.T=Lg(b)};function Ah(){this.b=0;this.c={};this.f=this.a=null}l=Ah.prototype;l.clear=function(){this.b=0;this.c={};this.f=this.a=null};function Bh(b,c){return b.c.hasOwnProperty(c)}l.forEach=function(b,c){for(var d=this.a;null!==d;)b.call(c,d.Bc,d.je,this),d=d.kb};l.get=function(b){b=this.c[b];if(b===this.f)return b.Bc;b===this.a?(this.a=this.a.kb,this.a.ac=null):(b.kb.ac=b.ac,b.ac.kb=b.kb);b.kb=null;b.ac=this.f;this.f=this.f.kb=b;return b.Bc};l.nc=function(){return this.b};
l.N=function(){var b=Array(this.b),c=0,d;for(d=this.f;null!==d;d=d.ac)b[c++]=d.je;return b};l.pc=function(){var b=Array(this.b),c=0,d;for(d=this.f;null!==d;d=d.ac)b[c++]=d.Bc;return b};l.pop=function(){var b=this.a;delete this.c[b.je];null!==b.kb&&(b.kb.ac=null);this.a=b.kb;null===this.a&&(this.f=null);--this.b;return b.Bc};l.set=function(b,c){var d={je:b,kb:null,ac:this.f,Bc:c};null===this.f?this.a=d:this.f.kb=d;this.f=d;this.c[b]=d;++this.b};function Ch(b){Ah.call(this);this.g=m(b)?b:2048}x(Ch,Ah);function Dh(b){return b.nc()>b.g};function Eh(b,c){de.call(this);this.a=b;this.state=c}x(Eh,de);function Fh(b){D(b,"change")}Eh.prototype.lb=function(){return ma(this).toString()};Eh.prototype.g=function(){return this.a};function Gh(b){je.call(this);this.j=te(b.projection);this.g=m(b.attributions)?b.attributions:null;this.T=b.logo;this.u=m(b.state)?b.state:"ready";this.D=m(b.wrapX)?b.wrapX:!1}x(Gh,je);l=Gh.prototype;l.te=ca;l.pa=function(){return this.g};l.oa=function(){return this.T};l.qa=function(){return this.j};l.ra=function(){return this.u};function Hh(b){return b.D}l.la=function(b){this.g=b;this.o()};function Ih(b,c){b.u=c;b.o()};function Jh(b){this.minZoom=m(b.minZoom)?b.minZoom:0;this.a=b.resolutions;this.maxZoom=this.a.length-1;this.b=m(b.origin)?b.origin:null;this.g=null;m(b.origins)&&(this.g=b.origins);var c=b.extent;m(c)&&null===this.b&&null===this.g&&(this.b=vc(c));this.i=null;m(b.tileSizes)&&(this.i=b.tileSizes);this.l=m(b.tileSize)?b.tileSize:null===this.i?256:null;this.v=m(c)?c:null;this.f=null;m(b.sizes)?this.f=pb(b.sizes,function(b){return new og(Math.min(0,b[0]),Math.max(b[0]-1,-1),Math.min(0,b[1]),Math.max(b[1]-
1,-1))},this):null!=c&&Kh(this,c);this.c=[0,0]}var Lh=[0,0,0];function Mh(b,c,d,e,f){f=Nh(b,c,f);for(c=c[0]-1;c>=b.minZoom;){if(d.call(null,c,mg(b,f,c,e)))return!0;--c}return!1}l=Jh.prototype;l.P=function(){return this.v};l.vg=function(){return this.maxZoom};l.wg=function(){return this.minZoom};l.Qc=function(b){return null===this.b?this.g[b]:this.b};l.Ca=function(b){return this.a[b]};l.oh=function(){return this.a};function Oh(b,c,d,e){return c[0]<b.maxZoom?(e=Nh(b,c,e),mg(b,e,c[0]+1,d)):null}
function Ph(b,c,d,e){Qh(b,c[0],c[1],d,!1,Lh);var f=Lh[1],g=Lh[2];Qh(b,c[2],c[3],d,!0,Lh);b=Lh[1];c=Lh[2];m(e)?(e.a=f,e.c=b,e.f=g,e.b=c):e=new og(f,b,g,c);return e}function mg(b,c,d,e){return Ph(b,c,b.Ca(d),e)}function jg(b,c){var d=b.Qc(c[0]),e=b.Ca(c[0]),f=Zb(b.Ha(c[0]),b.c);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Nh(b,c,d){var e=b.Qc(c[0]),f=b.Ca(c[0]);b=Zb(b.Ha(c[0]),b.c);var g=e[0]+c[1]*b[0]*f;c=e[1]+c[2]*b[1]*f;return dc(g,c,g+b[0]*f,c+b[1]*f,d)}
l.pd=function(b,c,d){return Qh(this,b[0],b[1],c,!1,d)};function Qh(b,c,d,e,f,g){var h=Rh(b,e),k=e/b.Ca(h),n=b.Qc(h);b=Zb(b.Ha(h),b.c);c=k*Math.floor((c-n[0])/e+(f?.5:0))/b[0];d=k*Math.floor((d-n[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));return dg(h,c,d,g)}l.be=function(b,c,d){return Qh(this,b[0],b[1],this.Ca(c),!1,d)};l.Ha=function(b){return null===this.l?this.i[b]:this.l};function Rh(b,c){var d=Te(b.a,c,0);return Hb(d,b.minZoom,b.maxZoom)}
function Kh(b,c){for(var d=b.a.length,e=Array(d),f=b.minZoom;f<d;++f)e[f]=mg(b,c,f);b.f=e}function Sh(b){var c={};$c(c,m(b)?b:{});m(c.extent)||(c.extent=te("EPSG:3857").P());c.resolutions=Th(c.extent,c.maxZoom,c.tileSize);delete c.maxZoom;return new Jh(c)}function Th(b,c,d){c=m(c)?c:42;var e=yc(b);b=Bc(b);d=Zb(m(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 kg(b){b=te(b);var c=b.P();null===c&&(b=180*qe.degrees/b.Xd(),c=dc(-b,-b,b,b));return c};function Uh(b){Gh.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state,wrapX:b.wrapX});this.ga=m(b.opaque)?b.opaque:!1;this.C=m(b.tilePixelRatio)?b.tilePixelRatio:1;this.tileGrid=m(b.tileGrid)?b.tileGrid:null;this.a=new Ch(b.Xe);this.b=[0,0]}x(Uh,Gh);function Vh(b,c,d,e){for(var f=!0,g,h,k=d.a;k<=d.c;++k)for(var n=d.f;n<=d.b;++n)g=b.ib(c,k,n),h=!1,Bh(b.a,g)&&(g=b.a.get(g),(h=2===g.state)&&(h=!1!==e(g))),h||(f=!1);return f}l=Uh.prototype;l.Ud=function(){return 0};
l.ib=fg;l.Ea=function(){return this.tileGrid};function Wh(b,c){var d;if(null===b.tileGrid){var e=c.l;if(null===e){var e=kg(c),f=m(void 0)?void 0:"top-left",g=Th(e,void 0,void 0);"bottom-left"===f?d=sc(e):"bottom-right"===f?d=tc(e):"top-left"===f?d=vc(e):"top-right"===f&&(d=uc(e));e=new Jh({extent:e,origin:d,resolutions:g,tileSize:void 0});c.l=e}d=e}else d=b.tileGrid;return d}l.Jb=function(b,c,d){c=Wh(this,d);return Yb(Zb(c.Ha(b),this.b),this.C,this.b)};
function Xh(b,c,d){d=m(d)?d:b.j;var e=Wh(b,d);b.D&&d.b&&(c=ig(c,e,d));return lg(c,e)?c:null}l.Yf=ca;function Yh(b,c){xd.call(this,b);this.tile=c}x(Yh,xd);function Zh(b){b=m(b)?b:{};this.D=Sg("UL");this.u=Sg("LI");this.D.appendChild(this.u);rh(this.u,!1);this.c=m(b.collapsed)?b.collapsed:!0;this.j=m(b.collapsible)?b.collapsible:!0;this.j||(this.c=!1);var c=m(b.className)?b.className:"ol-attribution",d=m(b.tipLabel)?b.tipLabel:"Attributions",e=m(b.collapseLabel)?b.collapseLabel:"\u00bb";this.C=ia(e)?Pg("SPAN",{},e):e;e=m(b.label)?b.label:"i";this.M=ia(e)?Pg("SPAN",{},e):e;d=Pg("BUTTON",{type:"button",title:d},this.j&&!this.c?this.C:this.M);B(d,"click",
this.Cl,!1,this);B(d,["mouseout",Ad],function(){this.blur()},!1);c=Pg("DIV",c+" ol-unselectable ol-control"+(this.c&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible"),this.D,d);zh.call(this,{element:c,render:m(b.render)?b.render:$h,target:b.target});this.A=!0;this.l={};this.i={};this.S={}}x(Zh,zh);
function $h(b){b=b.frameState;if(null===b)this.A&&(rh(this.element,!1),this.A=!1);else{var c,d,e,f,g,h,k,n,p,q,r,t=b.layerStatesArray,u=Xc(b.attributions),z={},w=b.viewState.projection;d=0;for(c=t.length;d<c;d++)if(h=t[d].layer.da(),null!==h&&(q=ma(h).toString(),p=h.g,null!==p))for(e=0,f=p.length;e<f;e++)if(k=p[e],n=ma(k).toString(),!(n in u)){g=b.usedTiles[q];if(m(g)){var C=Wh(h,w);a:{r=k;var y=w;if(null===r.a)r=!0;else{var A=void 0,H=void 0,K=void 0,J=void 0;for(J in g)if(J in r.a)for(var K=g[J],
Q,A=0,H=r.a[J].length;A<H;++A){Q=r.a[J][A];if(rg(Q,K)){r=!0;break a}var ta=mg(C,y.P(),parseInt(J,10)),Va=qg(ta);if(K.a<ta.a||K.c>ta.c)if(rg(Q,new og(Jb(K.a,Va),Jb(K.c,Va),K.f,K.b))||qg(K)>Va&&rg(Q,ta)){r=!0;break a}}r=!1}}}else r=!1;r?(n in z&&delete z[n],u[n]=k):z[n]=k}c=[u,z];d=c[0];c=c[1];for(var S in this.l)S in d?(this.i[S]||(rh(this.l[S],!0),this.i[S]=!0),delete d[S]):S in c?(this.i[S]&&(rh(this.l[S],!1),delete this.i[S]),delete c[S]):(Wg(this.l[S]),delete this.l[S],delete this.i[S]);for(S in d)e=
Sg("LI"),e.innerHTML=d[S].f,this.D.appendChild(e),this.l[S]=e,this.i[S]=!0;for(S in c)e=Sg("LI"),e.innerHTML=c[S].f,rh(e,!1),this.D.appendChild(e),this.l[S]=e;S=!Sc(this.i)||!Sc(b.logos);this.A!=S&&(rh(this.element,S),this.A=S);S&&Sc(this.i)?dh(this.element,"ol-logo-only"):eh(this.element,"ol-logo-only");var Ia;b=b.logos;S=this.S;for(Ia in S)Ia in b||(Wg(S[Ia]),delete S[Ia]);for(var gb in b)gb in S||(Ia=new Image,Ia.src=gb,d=b[gb],""===d?d=Ia:(d=Pg("A",{href:d}),d.appendChild(Ia)),this.u.appendChild(d),
S[gb]=d);rh(this.u,!Sc(b))}}l=Zh.prototype;l.Cl=function(b){b.preventDefault();ai(this)};function ai(b){fh(b.element,"ol-collapsed");b.c?Xg(b.C,b.M):Xg(b.M,b.C);b.c=!b.c}l.Bl=function(){return this.j};l.El=function(b){this.j!==b&&(this.j=b,fh(this.element,"ol-uncollapsible"),!b&&this.c&&ai(this))};l.Dl=function(b){this.j&&this.c!==b&&ai(this)};l.Al=function(){return this.c};function bi(b){b=m(b)?b:{};var c=m(b.className)?b.className:"ol-rotate",d=m(b.label)?b.label:"\u21e7";this.c=null;ia(d)?this.c=Pg("SPAN","ol-compass",d):(this.c=d,dh(this.c,"ol-compass"));d=Pg("BUTTON",{"class":c+"-reset",type:"button",title:m(b.tipLabel)?b.tipLabel:"Reset rotation"},this.c);B(d,"click",bi.prototype.u,!1,this);c=Pg("DIV",c+" ol-unselectable ol-control",d);zh.call(this,{element:c,render:m(b.render)?b.render:ci,target:b.target});this.j=m(b.duration)?b.duration:250;this.i=m(b.autoHide)?
b.autoHide:!0;this.l=void 0;this.i&&dh(this.element,"ol-hidden")}x(bi,zh);bi.prototype.u=function(b){b.preventDefault();b=this.a;var c=b.$();if(null!==c){for(var d=c.Ba();d<-Math.PI;)d+=2*Math.PI;for(;d>Math.PI;)d-=2*Math.PI;m(d)&&(0<this.j&&b.Ka(bg({rotation:d,duration:this.j,easing:Xf})),c.pe(0))}};
function ci(b){b=b.frameState;if(null!==b){b=b.viewState.rotation;if(b!=this.l){var c="rotate("+180*b/Math.PI+"deg)";if(this.i){var d=this.element;0===b?dh(d,"ol-hidden"):eh(d,"ol-hidden")}this.c.style.msTransform=c;this.c.style.webkitTransform=c;this.c.style.transform=c}this.l=b}};function di(b){b=m(b)?b:{};var c=m(b.className)?b.className:"ol-zoom",d=m(b.delta)?b.delta:1,e=m(b.zoomOutLabel)?b.zoomOutLabel:"\u2212",f=m(b.zoomOutTipLabel)?b.zoomOutTipLabel:"Zoom out",g=Pg("BUTTON",{"class":c+"-in",type:"button",title:m(b.zoomInTipLabel)?b.zoomInTipLabel:"Zoom in"},m(b.zoomInLabel)?b.zoomInLabel:"+");B(g,"click",sa(di.prototype.i,d),!1,this);e=Pg("BUTTON",{"class":c+"-out",type:"button",title:f},e);B(e,"click",sa(di.prototype.i,-d),!1,this);B(e,["mouseout",Ad],function(){this.blur()},
!1);c=Pg("DIV",c+" ol-unselectable ol-control",g,e);zh.call(this,{element:c,target:b.target});this.c=m(b.duration)?b.duration:250}x(di,zh);di.prototype.i=function(b,c){c.preventDefault();var d=this.a,e=d.$();if(null!==e){var f=e.ya();m(f)&&(0<this.c&&d.Ka(cg({resolution:f,duration:this.c,easing:Xf})),d=e.constrainResolution(f,b),e.Nb(d))}};function ei(b){b=m(b)?b:{};var c=new ug;(m(b.zoom)?b.zoom:1)&&c.push(new di(b.zoomOptions));(m(b.rotate)?b.rotate:1)&&c.push(new bi(b.rotateOptions));(m(b.attribution)?b.attribution:1)&&c.push(new Zh(b.attributionOptions));return c};var fi=ed?"webkitfullscreenchange":dd?"mozfullscreenchange":bd?"MSFullscreenChange":"fullscreenchange";function gi(){var b=Ig().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)}
function hi(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function ii(){var b=Ig().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function ji(b){b=m(b)?b:{};this.c=m(b.className)?b.className:"ol-full-screen";var c=m(b.label)?b.label:"\u2194";this.i=ia(c)?document.createTextNode(String(c)):c;c=m(b.labelActive)?b.labelActive:"\u00d7";this.j=ia(c)?document.createTextNode(String(c)):c;c=m(b.tipLabel)?b.tipLabel:"Toggle full-screen";c=Pg("BUTTON",{"class":this.c+"-"+ii(),type:"button",title:c},this.i);B(c,"click",this.A,!1,this);B(ba.document,fi,this.l,!1,this);var d=this.c+" ol-unselectable ol-control "+(gi()?"":"ol-unsupported"),
c=Pg("DIV",d,c);zh.call(this,{element:c,target:b.target});this.u=m(b.keys)?b.keys:!1}x(ji,zh);
ji.prototype.A=function(b){b.preventDefault();gi()&&(b=this.a,null!==b&&(ii()?(b=Ig().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=b.xf(),b=Lg(b),this.u?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():hi(b):hi(b))))};
ji.prototype.l=function(){var b=this.c+"-true",c=this.c+"-false",d=Yg(this.element),e=this.a;ii()?(ch(d,c)&&(eh(d,c),dh(d,b)),Xg(this.j,this.i)):(ch(d,b)&&(eh(d,b),dh(d,c)),Xg(this.i,this.j));null===e||e.Uc()};function ki(b){b=m(b)?b:{};var c=Pg("DIV",m(b.className)?b.className:"ol-mouse-position");zh.call(this,{element:c,render:m(b.render)?b.render:li,target:b.target});B(this,le("projection"),this.Fl,!1,this);m(b.coordinateFormat)&&this.Lh(b.coordinateFormat);m(b.projection)&&this.Tg(te(b.projection));this.u=m(b.undefinedHTML)?b.undefinedHTML:"";this.l=c.innerHTML;this.j=this.i=this.c=null}x(ki,zh);
function li(b){b=b.frameState;null===b?this.c=null:this.c!=b.viewState.projection&&(this.c=b.viewState.projection,this.i=null);ni(this,this.j)}l=ki.prototype;l.Fl=function(){this.i=null};l.rg=function(){return this.get("coordinateFormat")};l.Sg=function(){return this.get("projection")};l.zk=function(b){this.j=this.a.Sd(b.a);ni(this,this.j)};l.Ak=function(){ni(this,null);this.j=null};
l.setMap=function(b){ki.ba.setMap.call(this,b);null!==b&&(b=b.a,this.v.push(B(b,"mousemove",this.zk,!1,this),B(b,"mouseout",this.Ak,!1,this)))};l.Lh=function(b){this.set("coordinateFormat",b)};l.Tg=function(b){this.set("projection",b)};function ni(b,c){var d=b.u;if(null!==c&&null!==b.c){if(null===b.i){var e=b.Sg();b.i=m(e)?xe(b.c,e):Me}e=b.a.Da(c);null!==e&&(b.i(e,e),d=b.rg(),d=m(d)?d(e):e.toString())}m(b.l)&&d==b.l||(b.element.innerHTML=d,b.l=d)};function oi(b,c,d){sd.call(this);this.ja=null;this.b=!1;this.i=b;this.g=d;this.a=c||window;this.f=ra(this.c,this)}x(oi,sd);oi.prototype.start=function(){pi(this);this.b=!1;var b=qi(this),c=ri(this);b&&!c&&this.a.mozRequestAnimationFrame?(this.ja=B(this.a,"MozBeforePaint",this.f),this.a.mozRequestAnimationFrame(null),this.b=!0):this.ja=b&&c?b.call(this.a,this.f):this.a.setTimeout(Aa(this.f),20)};
function pi(b){if(null!=b.ja){var c=qi(b),d=ri(b);c&&!d&&b.a.mozRequestAnimationFrame?$d(b.ja):c&&d?d.call(b.a,b.ja):b.a.clearTimeout(b.ja)}b.ja=null}oi.prototype.c=function(){this.b&&this.ja&&$d(this.ja);this.ja=null;this.i.call(this.g,ua())};oi.prototype.Y=function(){pi(this);oi.ba.Y.call(this)};function qi(b){b=b.a;return b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||null}
function ri(b){b=b.a;return b.cancelAnimationFrame||b.cancelRequestAnimationFrame||b.webkitCancelRequestAnimationFrame||b.mozCancelRequestAnimationFrame||b.oCancelRequestAnimationFrame||b.msCancelRequestAnimationFrame||null};function si(b){ba.setTimeout(function(){throw b;},0)}function ti(b,c){var d=b;c&&(d=ra(b,c));d=ui(d);!ka(ba.setImmediate)||ba.Window&&ba.Window.prototype&&ba.Window.prototype.setImmediate==ba.setImmediate?(vi||(vi=wi()),vi(d)):ba.setImmediate(d)}var vi;
function wi(){var b=ba.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ic("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=ra(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&&!Ic("Trident")&&!Ic("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(m(d.next)){d=d.next;var b=d.mg;d.mg=null;b()}};return function(b){e.next={mg: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){ba.setTimeout(b,0)}}var ui=za;function xi(b,c){this.f={};this.a=[];this.b=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(b){b instanceof xi?(d=b.N(),e=b.pc()):(d=Oc(b),e=Nc(b));for(var f=0;f<d.length;f++)this.set(d[f],e[f])}}l=xi.prototype;l.nc=function(){return this.b};l.pc=function(){yi(this);for(var b=[],c=0;c<this.a.length;c++)b.push(this.f[this.a[c]]);return b};l.N=function(){yi(this);return this.a.concat()};
l.Ia=function(){return 0==this.b};l.clear=function(){this.f={};this.b=this.a.length=0};l.remove=function(b){return zi(this.f,b)?(delete this.f[b],this.b--,this.a.length>2*this.b&&yi(this),!0):!1};function yi(b){if(b.b!=b.a.length){for(var c=0,d=0;c<b.a.length;){var e=b.a[c];zi(b.f,e)&&(b.a[d++]=e);c++}b.a.length=d}if(b.b!=b.a.length){for(var f={},d=c=0;c<b.a.length;)e=b.a[c],zi(f,e)||(b.a[d++]=e,f[e]=1),c++;b.a.length=d}}l.get=function(b,c){return zi(this.f,b)?this.f[b]:c};
l.set=function(b,c){zi(this.f,b)||(this.b++,this.a.push(b));this.f[b]=c};l.forEach=function(b,c){for(var d=this.N(),e=0;e<d.length;e++){var f=d[e],g=this.get(f);b.call(c,g,f,this)}};l.clone=function(){return new xi(this)};function zi(b,c){return Object.prototype.hasOwnProperty.call(b,c)};function Ai(){this.a=ua()}new Ai;Ai.prototype.set=function(b){this.a=b};Ai.prototype.reset=function(){this.set(ua())};Ai.prototype.get=function(){return this.a};function Bi(b){de.call(this);this.a=b||window;this.f=B(this.a,"resize",this.c,!1,this);this.b=Og(this.a||window)}x(Bi,de);Bi.prototype.Y=function(){Bi.ba.Y.call(this);this.f&&($d(this.f),this.f=null);this.b=this.a=null};Bi.prototype.c=function(){var b=Og(this.a||window),c=this.b;b==c||b&&c&&b.width==c.width&&b.height==c.height||(this.b=b,D(this,"resize"))};function Ci(b,c,d,e,f){if(!(bd||cd||ed&&md("525")))return!0;if(fd&&f)return Di(b);if(f&&!e)return!1;ja(c)&&(c=Ei(c));if(!d&&(17==c||18==c||fd&&91==c))return!1;if((ed||cd)&&e&&d)switch(b){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(bd&&e&&c==b)return!1;switch(b){case 13:return!0;case 27:return!(ed||cd)}return Di(b)}
function Di(b){if(48<=b&&57>=b||96<=b&&106>=b||65<=b&&90>=b||(ed||cd)&&0==b)return!0;switch(b){case 32:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Ei(b){if(dd)b=Fi(b);else if(fd&&ed)a:switch(b){case 93:b=91;break a}return b}
function Fi(b){switch(b){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return b}};function Gi(b,c){de.call(this);b&&Hi(this,b,c)}x(Gi,de);l=Gi.prototype;l.qd=null;l.he=null;l.rf=null;l.ie=null;l.$a=-1;l.Tb=-1;l.We=!1;
var Ii={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Ji={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Ki=bd||cd||ed&&md("525"),Li=fd&&dd;
Gi.prototype.a=function(b){if(ed||cd)if(17==this.$a&&!b.B||18==this.$a&&!b.f||fd&&91==this.$a&&!b.u)this.Tb=this.$a=-1;-1==this.$a&&(b.B&&17!=b.i?this.$a=17:b.f&&18!=b.i?this.$a=18:b.u&&91!=b.i&&(this.$a=91));Ki&&!Ci(b.i,this.$a,b.c,b.B,b.f)?this.handleEvent(b):(this.Tb=Ei(b.i),Li&&(this.We=b.f))};Gi.prototype.f=function(b){this.Tb=this.$a=-1;this.We=b.f};
Gi.prototype.handleEvent=function(b){var c=b.a,d,e,f=c.altKey;bd&&"keypress"==b.type?(d=this.Tb,e=13!=d&&27!=d?c.keyCode:0):(ed||cd)&&"keypress"==b.type?(d=this.Tb,e=0<=c.charCode&&63232>c.charCode&&Di(d)?c.charCode:0):ad&&!ed?(d=this.Tb,e=Di(d)?c.keyCode:0):(d=c.keyCode||this.Tb,e=c.charCode||0,Li&&(f=this.We),fd&&63==e&&224==d&&(d=191));var g=d=Ei(d),h=c.keyIdentifier;d?63232<=d&&d in Ii?g=Ii[d]:25==d&&b.c&&(g=9):h&&h in Ji&&(g=Ji[h]);this.$a=g;b=new Mi(g,e,0,c);b.f=f;D(this,b)};
function Hi(b,c,d){b.ie&&Ni(b);b.qd=c;b.he=B(b.qd,"keypress",b,d);b.rf=B(b.qd,"keydown",b.a,d,b);b.ie=B(b.qd,"keyup",b.f,d,b)}function Ni(b){b.he&&($d(b.he),$d(b.rf),$d(b.ie),b.he=null,b.rf=null,b.ie=null);b.qd=null;b.$a=-1;b.Tb=-1}Gi.prototype.Y=function(){Gi.ba.Y.call(this);Ni(this)};function Mi(b,c,d,e){Cd.call(this,e);this.type="key";this.i=b;this.v=c}x(Mi,Cd);function Oi(b,c){de.call(this);var d=this.a=b;(d=la(d)&&1==d.nodeType?this.a:this.a?this.a.body:null)&&kh(d,"direction");this.f=B(this.a,dd?"DOMMouseScroll":"mousewheel",this,c)}x(Oi,de);
Oi.prototype.handleEvent=function(b){var c=0,d=0,e=0;b=b.a;if("mousewheel"==b.type){d=1;if(bd||ed&&(gd||md("532.0")))d=40;e=Pi(-b.wheelDelta,d);m(b.wheelDeltaX)?(c=Pi(-b.wheelDeltaX,d),d=Pi(-b.wheelDeltaY,d)):d=e}else e=b.detail,100<e?e=3:-100>e&&(e=-3),m(b.axis)&&b.axis===b.HORIZONTAL_AXIS?c=e:d=e;ja(this.b)&&Hb(c,-this.b,this.b);ja(this.c)&&(d=Hb(d,-this.c,this.c));c=new Qi(e,b,0,d);D(this,c)};function Pi(b,c){return ed&&(fd||hd)&&0!=b%c?b:b/c}
Oi.prototype.Y=function(){Oi.ba.Y.call(this);$d(this.f);this.f=null};function Qi(b,c,d,e){Cd.call(this,c);this.type="mousewheel";this.detail=b;this.A=e}x(Qi,Cd);function Ri(b,c,d){xd.call(this,b);this.a=c;b=m(d)?d:{};this.buttons=Si(b);this.pressure=Ti(b,this.buttons);this.bubbles=Vc(b,"bubbles",!1);this.cancelable=Vc(b,"cancelable",!1);this.view=Vc(b,"view",null);this.detail=Vc(b,"detail",null);this.screenX=Vc(b,"screenX",0);this.screenY=Vc(b,"screenY",0);this.clientX=Vc(b,"clientX",0);this.clientY=Vc(b,"clientY",0);this.button=Vc(b,"button",0);this.relatedTarget=Vc(b,"relatedTarget",null);this.pointerId=Vc(b,"pointerId",0);this.width=Vc(b,"width",0);this.height=
Vc(b,"height",0);this.pointerType=Vc(b,"pointerType","");this.isPrimary=Vc(b,"isPrimary",!1);c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}x(Ri,xd);function Si(b){if(b.buttons||Ui)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 Ti(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d}var Ui=!1;try{Ui=1===(new MouseEvent("click",{buttons:1})).buttons}catch(Vi){};function Wi(b,c){var d=Sg("CANVAS");m(b)&&(d.width=b);m(c)&&(d.height=c);return d.getContext("2d")}
var Xi=function(){var b;return function(){if(!m(b))if(ba.getComputedStyle){var c=Sg("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=ba.getComputedStyle(c).getPropertyValue(e[f]));Wg(c);b=d&&"none"!==d}else b=!1;return b}}(),Yi=function(){var b;return function(){if(!m(b))if(ba.getComputedStyle){var c=Sg("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=ba.getComputedStyle(c).getPropertyValue(e[f]));Wg(c);b=d&&"none"!==d}else b=!1;return b}}();function Zi(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;bd&&!ne&&(b.style.transformOrigin="0 0")}
function $i(b,c){var d;if(Yi()){if(m(6)){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);d=e.join(",")}else d=c.join(",");Zi(b,"matrix3d("+d+")")}else if(Xi()){e=[c[0],c[1],c[4],c[5],c[12],c[13]];if(m(6)){var f=Array(6);for(d=0;6>d;++d)f[d]=e[d].toFixed(6);d=f.join(",")}else d=e.join(",");Zi(b,"matrix("+d+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var aj=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function bj(b,c){var d,e,f=aj.length;for(e=0;e<f;++e)try{if(d=b.getContext(aj[e],c),null!==d)return d}catch(g){}return null};var cj,dj=ba.devicePixelRatio||1,ej=!1,fj=function(){if(!("HTMLCanvasElement"in ba))return!1;try{var b=Wi();if(null===b)return!1;m(b.setLineDash)&&(ej=!0);return!0}catch(c){return!1}}(),gj="DeviceOrientationEvent"in ba,hj="geolocation"in ba.navigator,ij="ontouchstart"in ba,jj="PointerEvent"in ba,kj=!!ba.navigator.msPointerEnabled,lj=!1,mj,nj=[];
if("WebGLRenderingContext"in ba)try{var oj=bj(Sg("CANVAS"),{failIfMajorPerformanceCaveat:!0});null!==oj&&(lj=!0,mj=oj.getParameter(oj.MAX_TEXTURE_SIZE),nj=oj.getSupportedExtensions())}catch(pj){}cj=lj;Nb=nj;Mb=mj;function qj(b,c){this.a=b;this.g=c};function rj(b){qj.call(this,b,{mousedown:this.Vk,mousemove:this.Wk,mouseup:this.Zk,mouseover:this.Yk,mouseout:this.Xk});this.f=b.f;this.b=[]}x(rj,qj);function sj(b,c){for(var d=b.b,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var n=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=n)return!0}return!1}function tj(b){var c=uj(b,b.a),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=rj.prototype;
l.Vk=function(b){if(!sj(this,b)){(1).toString()in this.f&&this.cancel(b);var c=tj(b);this.f[(1).toString()]=b;vj(this.a,wj,c,b)}};l.Wk=function(b){if(!sj(this,b)){var c=tj(b);vj(this.a,xj,c,b)}};l.Zk=function(b){if(!sj(this,b)){var c=this.f[(1).toString()];c&&c.button===b.button&&(c=tj(b),vj(this.a,yj,c,b),Uc(this.f,(1).toString()))}};l.Yk=function(b){if(!sj(this,b)){var c=tj(b);zj(this.a,c,b)}};l.Xk=function(b){if(!sj(this,b)){var c=tj(b);Aj(this.a,c,b)}};
l.cancel=function(b){var c=tj(b);this.a.cancel(c,b);Uc(this.f,(1).toString())};function Bj(b){qj.call(this,b,{MSPointerDown:this.dl,MSPointerMove:this.el,MSPointerUp:this.hl,MSPointerOut:this.fl,MSPointerOver:this.gl,MSPointerCancel:this.cl,MSGotPointerCapture:this.al,MSLostPointerCapture:this.bl});this.f=b.f;this.b=["","unavailable","touch","pen","mouse"]}x(Bj,qj);function Cj(b,c){var d=c;ja(c.a.pointerType)&&(d=uj(c,c.a),d.pointerType=b.b[c.a.pointerType]);return d}l=Bj.prototype;l.dl=function(b){this.f[b.a.pointerId]=b;var c=Cj(this,b);vj(this.a,wj,c,b)};
l.el=function(b){var c=Cj(this,b);vj(this.a,xj,c,b)};l.hl=function(b){var c=Cj(this,b);vj(this.a,yj,c,b);Uc(this.f,b.a.pointerId)};l.fl=function(b){var c=Cj(this,b);Aj(this.a,c,b)};l.gl=function(b){var c=Cj(this,b);zj(this.a,c,b)};l.cl=function(b){var c=Cj(this,b);this.a.cancel(c,b);Uc(this.f,b.a.pointerId)};l.bl=function(b){D(this.a,new Ri("lostpointercapture",b,b.a))};l.al=function(b){D(this.a,new Ri("gotpointercapture",b,b.a))};function Dj(b){qj.call(this,b,{pointerdown:this.On,pointermove:this.Pn,pointerup:this.Sn,pointerout:this.Qn,pointerover:this.Rn,pointercancel:this.Nn,gotpointercapture:this.gk,lostpointercapture:this.Uk})}x(Dj,qj);l=Dj.prototype;l.On=function(b){Ej(this.a,b)};l.Pn=function(b){Ej(this.a,b)};l.Sn=function(b){Ej(this.a,b)};l.Qn=function(b){Ej(this.a,b)};l.Rn=function(b){Ej(this.a,b)};l.Nn=function(b){Ej(this.a,b)};l.Uk=function(b){Ej(this.a,b)};l.gk=function(b){Ej(this.a,b)};function Fj(b,c){qj.call(this,b,{touchstart:this.Xo,touchmove:this.Wo,touchend:this.Vo,touchcancel:this.Uo});this.f=b.f;this.j=c;this.b=void 0;this.i=0;this.c=void 0}x(Fj,qj);l=Fj.prototype;l.Hh=function(){this.i=0;this.c=void 0};
function Gj(b,c,d){c=uj(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.i;c.button=0;c.buttons=1;c.width=d.webkitRadiusX||d.radiusX||0;c.height=d.webkitRadiusY||d.radiusY||0;c.pressure=d.webkitForce||d.force||.5;c.isPrimary=b.b===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
function Hj(b,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.a.changedTouches),g=f.length,h,k;for(h=0;h<g;++h)k=Gj(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)}
l.Xo=function(b){var c=b.a.touches,d=Oc(this.f),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.f[h];var n;if(!(n=1==h))a:{n=c.length;for(var p=void 0,q=0;q<n;q++)if(p=c[q],p.identifier===h-2){n=!0;break a}n=!1}n||f.push(k.vc)}for(g=0;g<f.length;++g)this.Ye(b,f[g])}c=Mc(this.f);if(0===c||1===c&&(1).toString()in this.f)this.b=b.a.changedTouches[0].identifier,m(this.c)&&ba.clearTimeout(this.c);Jj(this,b);this.i++;Hj(this,b,this.Jn)};
l.Jn=function(b,c){this.f[c.pointerId]={target:c.target,vc:c,ph:c.target};var d=this.a;c.bubbles=!0;vj(d,Kj,c,b);d=this.a;c.bubbles=!1;vj(d,Lj,c,b);vj(this.a,wj,c,b)};l.Wo=function(b){b.preventDefault();Hj(this,b,this.$k)};l.$k=function(b,c){var d=this.f[c.pointerId];if(d){var e=d.vc,f=d.ph;vj(this.a,xj,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Aj(this.a,e,b),zj(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.Ye(b,c)));d.vc=c;d.ph=c.target}};
l.Vo=function(b){Jj(this,b);Hj(this,b,this.Yo)};l.Yo=function(b,c){vj(this.a,yj,c,b);this.a.vc(c,b);var d=this.a;c.bubbles=!1;vj(d,Mj,c,b);Uc(this.f,c.pointerId);c.isPrimary&&(this.b=void 0,this.c=ba.setTimeout(ra(this.Hh,this),200))};l.Uo=function(b){Hj(this,b,this.Ye)};l.Ye=function(b,c){this.a.cancel(c,b);this.a.vc(c,b);var d=this.a;c.bubbles=!1;vj(d,Mj,c,b);Uc(this.f,c.pointerId);c.isPrimary&&(this.b=void 0,this.c=ba.setTimeout(ra(this.Hh,this),200))};
function Jj(b,c){var d=b.j.b,e=c.a.changedTouches[0];if(b.b===e.identifier){var f=[e.clientX,e.clientY];d.push(f);ba.setTimeout(function(){ub(d,f)},2500)}};function Nj(b){de.call(this);this.c=b;this.f={};this.b={};this.a=[];jj?Oj(this,new Dj(this)):kj?Oj(this,new Bj(this)):(b=new rj(this),Oj(this,b),ij&&Oj(this,new Fj(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],Pj(this,Oc(c.g))}x(Nj,de);function Oj(b,c){var d=Oc(c.g);d&&(nb(d,function(b){var d=c.g[b];d&&(this.b[b]=ra(d,c))},b),b.a.push(c))}Nj.prototype.g=function(b){var c=this.b[b.type];c&&c(b)};function Pj(b,c){nb(c,function(b){B(this.c,b,this.g,!1,this)},b)}
function Qj(b,c){nb(c,function(b){Zd(this.c,b,this.g,!1,this)},b)}function uj(b,c){for(var d={},e,f=0,g=Rj.length;f<g;f++)e=Rj[f][0],d[e]=b[e]||c[e]||Rj[f][1];return d}Nj.prototype.vc=function(b,c){b.bubbles=!0;vj(this,Sj,b,c)};Nj.prototype.cancel=function(b,c){vj(this,Tj,b,c)};function Aj(b,c,d){b.vc(c,d);var e=c.relatedTarget;null!==e&&Zg(c.target,e)||(c.bubbles=!1,vj(b,Mj,c,d))}
function zj(b,c,d){c.bubbles=!0;vj(b,Kj,c,d);var e=c.relatedTarget;null!==e&&Zg(c.target,e)||(c.bubbles=!1,vj(b,Lj,c,d))}function vj(b,c,d,e){D(b,new Ri(c,e,d))}function Ej(b,c){D(b,new Ri(c.type,c,c.a))}Nj.prototype.Y=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],Qj(this,Oc(c.g));Nj.ba.Y.call(this)};
var xj="pointermove",wj="pointerdown",yj="pointerup",Kj="pointerover",Sj="pointerout",Lj="pointerenter",Mj="pointerleave",Tj="pointercancel",Rj=[["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 Uj(b,c,d,e,f){yh.call(this,b,c,f);this.a=d;this.originalEvent=d.a;this.pixel=c.Sd(this.originalEvent);this.coordinate=c.Da(this.pixel);this.dragging=m(e)?e:!1}x(Uj,yh);Uj.prototype.preventDefault=function(){Uj.ba.preventDefault.call(this);this.a.preventDefault()};Uj.prototype.b=function(){Uj.ba.b.call(this);this.a.b()};function Vj(b,c,d,e,f){Uj.call(this,b,c,d.a,e,f);this.f=d}x(Vj,Uj);
function Wj(b){de.call(this);this.b=b;this.i=0;this.j=!1;this.f=this.l=this.c=null;b=this.b.a;this.u=0;this.v={};this.g=new Nj(b);this.a=null;this.l=B(this.g,wj,this.Dk,!1,this);this.B=B(this.g,xj,this.qo,!1,this)}x(Wj,de);function Xj(b,c){var d;d=new Vj(Yj,b.b,c);D(b,d);0!==b.i?(ba.clearTimeout(b.i),b.i=0,d=new Vj(Zj,b.b,c),D(b,d)):b.i=ba.setTimeout(ra(function(){this.i=0;var b=new Vj(ak,this.b,c);D(this,b)},b),250)}
function bk(b,c){c.type==ck||c.type==dk?delete b.v[c.pointerId]:c.type==ek&&(b.v[c.pointerId]=!0);b.u=Mc(b.v)}l=Wj.prototype;l.Cg=function(b){bk(this,b);var c=new Vj(ck,this.b,b);D(this,c);!this.j&&0===b.button&&Xj(this,this.f);0===this.u&&(nb(this.c,$d),this.c=null,this.j=!1,this.f=null,wd(this.a),this.a=null)};
l.Dk=function(b){bk(this,b);var c=new Vj(ek,this.b,b);D(this,c);this.f=b;null===this.c&&(this.a=new Nj(document),this.c=[B(this.a,fk,this.vl,!1,this),B(this.a,ck,this.Cg,!1,this),B(this.g,dk,this.Cg,!1,this)])};l.vl=function(b){if(b.clientX!=this.f.clientX||b.clientY!=this.f.clientY){this.j=!0;var c=new Vj(gk,this.b,b,this.j);D(this,c)}b.preventDefault()};l.qo=function(b){D(this,new Vj(b.type,this.b,b,null!==this.f&&(b.clientX!=this.f.clientX||b.clientY!=this.f.clientY)))};
l.Y=function(){null!==this.B&&($d(this.B),this.B=null);null!==this.l&&($d(this.l),this.l=null);null!==this.c&&(nb(this.c,$d),this.c=null);null!==this.a&&(wd(this.a),this.a=null);null!==this.g&&(wd(this.g),this.g=null);Wj.ba.Y.call(this)};var ak="singleclick",Yj="click",Zj="dblclick",gk="pointerdrag",fk="pointermove",ek="pointerdown",ck="pointerup",dk="pointercancel",hk={qp:ak,fp:Yj,gp:Zj,jp:gk,mp:fk,ip:ek,pp:ck,op:"pointerover",np:"pointerout",kp:"pointerenter",lp:"pointerleave",hp:dk};function F(b){je.call(this);var c=Xc(b);c.brightness=m(b.brightness)?b.brightness:0;c.contrast=m(b.contrast)?b.contrast:1;c.hue=m(b.hue)?b.hue:0;c.opacity=m(b.opacity)?b.opacity:1;c.saturation=m(b.saturation)?b.saturation:1;c.visible=m(b.visible)?b.visible:!0;c.zIndex=m(b.zIndex)?b.zIndex:0;c.maxResolution=m(b.maxResolution)?b.maxResolution:Infinity;c.minResolution=m(b.minResolution)?b.minResolution:0;this.H(c)}x(F,je);l=F.prototype;l.yb=function(){return this.get("brightness")};l.Ab=function(){return this.get("contrast")};
l.Cb=function(){return this.get("hue")};function ik(b){var c=b.yb(),d=b.Ab(),e=b.Cb(),f=b.Kb(),g=b.Hb(),h=b.pf(),k=b.jb(),n=b.P(),p=b.Lb(),q=b.Fb(),r=b.Gb();return{layer:b,brightness:Hb(c,-1,1),contrast:Math.max(d,0),hue:e,opacity:Hb(f,0,1),saturation:Math.max(g,0),M:h,visible:k,qb:!0,extent:n,zIndex:p,maxResolution:q,minResolution:Math.max(r,0)}}l.P=function(){return this.get("extent")};l.Fb=function(){return this.get("maxResolution")};l.Gb=function(){return this.get("minResolution")};l.Kb=function(){return this.get("opacity")};
l.Hb=function(){return this.get("saturation")};l.jb=function(){return this.get("visible")};l.Lb=function(){return this.get("zIndex")};l.cc=function(b){this.set("brightness",b)};l.dc=function(b){this.set("contrast",b)};l.ec=function(b){this.set("hue",b)};l.Wb=function(b){this.set("extent",b)};l.gc=function(b){this.set("maxResolution",b)};l.hc=function(b){this.set("minResolution",b)};l.Xb=function(b){this.set("opacity",b)};l.ic=function(b){this.set("saturation",b)};
l.Yb=function(b){this.set("visible",b)};l.Zb=function(b){this.set("zIndex",b)};function jk(){};function kk(b,c,d,e,f,g){xd.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}x(kk,xd);function G(b){var c=Xc(b);delete c.source;F.call(this,c);this.i=this.u=this.v=null;m(b.map)&&this.setMap(b.map);B(this,le("source"),this.Jk,!1,this);this.yc(m(b.source)?b.source:null)}x(G,F);function lk(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}l=G.prototype;l.of=function(b){b=m(b)?b:[];b.push(ik(this));return b};l.da=function(){var b=this.get("source");return m(b)?b:null};l.pf=function(){var b=this.da();return null===b?"undefined":b.u};l.im=function(){this.o()};
l.Jk=function(){null!==this.i&&($d(this.i),this.i=null);var b=this.da();null!==b&&(this.i=B(b,"change",this.im,!1,this));this.o()};l.setMap=function(b){$d(this.v);this.v=null;null===b&&this.o();$d(this.u);this.u=null;null!==b&&(this.v=B(b,"precompose",function(b){var d=ik(this);d.qb=!1;d.zIndex=Infinity;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[ma(this)]=d},!1,this),this.u=B(this,"change",b.render,!1,b),this.o())};l.yc=function(b){this.set("source",b)};function mk(b,c,d,e,f){de.call(this);this.g=f;this.extent=b;this.c=d;this.resolution=c;this.state=e}x(mk,de);function nk(b){D(b,"change")}mk.prototype.P=function(){return this.extent};function ok(b,c,d,e,f,g,h,k){eb(b);0===c&&0===d||ib(b,c,d);1==e&&1==f||jb(b,e,f);0!==g&&kb(b,g);0===h&&0===k||ib(b,h,k);return b}function pk(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 qk(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 rk(b){ge.call(this);this.a=b}x(rk,ge);l=rk.prototype;l.Ua=ca;l.tc=function(b,c,d,e){b=b.slice();qk(c.pixelToCoordinateMatrix,b,b);if(this.Ua(b,c,xa,this))return d.call(e,this.a)};l.se=wa;l.bd=function(b,c){return function(d,e){return Vh(b,d,e,function(b){c[d]||(c[d]={});c[d][b.a.toString()]=b})}};l.lm=function(b){2===b.target.state&&sk(this)};function tk(b,c){var d=c.state;2!=d&&3!=d&&B(c,"change",b.lm,!1,b);0==d&&(c.load(),d=c.state);return 2==d}
function sk(b){var c=b.a;c.jb()&&"ready"==c.pf()&&b.o()}function uk(b,c){Dh(c.a)&&b.postRenderFunctions.push(sa(function(b,c,f){c=ma(b).toString();b=b.a;f=f.usedTiles[c];for(var g;Dh(b)&&!(c=b.a.Bc,g=c.a[0].toString(),g in f&&f[g].contains(c.a));)b.pop().jd()},c))}function vk(b,c){if(null!=c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[ma(d).toString()]=d}}function wk(b,c){var d=c.T;m(d)&&(ia(d)?b.logos[d]="":la(d)&&(b.logos[d.src]=d.href))}
function xk(b,c,d,e){c=ma(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.c>b.c&&(b.c=e.c),e.f<b.f&&(b.f=e.f),e.b>b.b&&(b.b=e.b)):b[c][d]=e:(b[c]={},b[c][d]=e)}function yk(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 zk(b,c,d,e,f,g,h,k,n,p){var q=ma(c).toString();q in b.wantedTiles||(b.wantedTiles[q]={});var r=b.wantedTiles[q];b=b.tileQueue;var t=d.minZoom,u,z,w,C,y,A;for(A=h;A>=t;--A)for(z=mg(d,g,A,z),w=d.Ca(A),C=z.a;C<=z.c;++C)for(y=z.f;y<=z.b;++y)h-A<=k?(u=c.Ib(A,C,y,e,f),0==u.state&&(r[hg(u.a)]=!0,u.lb()in b.b||Ak(b,[u,q,jg(d,u.a),w])),m(n)&&n.call(p,u)):c.Yf(A,C,y)};function Bk(b){this.u=b.opacity;this.D=b.rotateWithView;this.B=b.rotation;this.v=b.scale;this.C=b.snapToPixel}l=Bk.prototype;l.ve=function(){return this.u};l.Zd=function(){return this.D};l.we=function(){return this.B};l.xe=function(){return this.v};l.ae=function(){return this.C};l.ye=function(b){this.u=b};l.ze=function(b){this.B=b};l.Ae=function(b){this.v=b};function Ck(b){b=m(b)?b:{};this.g=m(b.anchor)?b.anchor:[.5,.5];this.c=null;this.f=m(b.anchorOrigin)?b.anchorOrigin:"top-left";this.j=m(b.anchorXUnits)?b.anchorXUnits:"fraction";this.l=m(b.anchorYUnits)?b.anchorYUnits:"fraction";var c=m(b.crossOrigin)?b.crossOrigin:null,d=m(b.img)?b.img:null,e=m(b.imgSize)?b.imgSize:null,f=b.src;m(f)&&0!==f.length||null===d||(f=d.src);var g=m(b.src)?0:2,h=Dk.Za(),k=h.get(f,c);null===k&&(k=new Ek(d,f,e,c,g),h.set(f,c,k));this.a=k;this.fa=m(b.offset)?b.offset:[0,0];
this.b=m(b.offsetOrigin)?b.offsetOrigin:"top-left";this.i=null;this.A=m(b.size)?b.size:null;Bk.call(this,{opacity:m(b.opacity)?b.opacity:1,rotation:m(b.rotation)?b.rotation:0,scale:m(b.scale)?b.scale:1,snapToPixel:m(b.snapToPixel)?b.snapToPixel:!0,rotateWithView:m(b.rotateWithView)?b.rotateWithView:!1})}x(Ck,Bk);l=Ck.prototype;
l.Sb=function(){if(null!==this.c)return this.c;var b=this.g,c=this.rb();if("fraction"==this.j||"fraction"==this.l){if(null===c)return null;b=this.g.slice();"fraction"==this.j&&(b[0]*=c[0]);"fraction"==this.l&&(b[1]*=c[1])}if("top-left"!=this.f){if(null===c)return null;b===this.g&&(b=this.g.slice());if("top-right"==this.f||"bottom-right"==this.f)b[0]=-b[0]+c[0];if("bottom-left"==this.f||"bottom-right"==this.f)b[1]=-b[1]+c[1]}return this.c=b};l.W=function(b){return this.a.W(b)};l.Vd=function(){return this.a.f};
l.vd=function(){return this.a.b};l.ue=function(){var b=this.a;if(null===b.g)if(b.l){var c=b.f[0],d=b.f[1],e=Wi(c,d);e.fillRect(0,0,c,d);b.g=e.canvas}else b.g=b.a;return b.g};l.$b=function(){if(null!==this.i)return this.i;var b=this.fa;if("top-left"!=this.b){var c=this.rb(),d=this.a.f;if(null===c||null===d)return null;b=b.slice();if("top-right"==this.b||"bottom-right"==this.b)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=d[1]-c[1]-b[1]}return this.i=b};l.$m=function(){return this.a.i};
l.rb=function(){return null===this.A?this.a.f:this.A};l.tf=function(b,c){return B(this.a,"change",b,!1,c)};l.load=function(){this.a.load()};l.Xf=function(b,c){Zd(this.a,"change",b,!1,c)};function Ek(b,c,d,e,f){de.call(this);this.g=null;this.a=null===b?new Image:b;null!==e&&(this.a.crossOrigin=e);this.c=null;this.b=f;this.f=d;this.i=c;this.l=!1}x(Ek,de);Ek.prototype.j=function(){this.b=3;nb(this.c,$d);this.c=null;D(this,"change")};
Ek.prototype.B=function(){this.b=2;this.f=[this.a.width,this.a.height];nb(this.c,$d);this.c=null;var b=Wi(1,1);b.drawImage(this.a,0,0);try{b.getImageData(0,0,1,1)}catch(c){this.l=!0}D(this,"change")};Ek.prototype.W=function(){return this.a};Ek.prototype.load=function(){if(0==this.b){this.b=1;this.c=[Yd(this.a,"error",this.j,!1,this),Yd(this.a,"load",this.B,!1,this)];try{this.a.src=this.i}catch(b){this.j()}}};function Dk(){this.a={};this.f=0}da(Dk);Dk.prototype.clear=function(){this.a={};this.f=0};
Dk.prototype.get=function(b,c){var d=c+":"+b;return d in this.a?this.a[d]:null};Dk.prototype.set=function(b,c,d){this.a[c+":"+b]=d;++this.f};function Fk(b,c){sd.call(this);this.i=c;this.c={};this.v={}}x(Fk,sd);function Gk(b){var c=b.viewState,d=b.coordinateToPixelMatrix;ok(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);hb(d,b.pixelToCoordinateMatrix)}l=Fk.prototype;l.Y=function(){Jc(this.c,wd);Fk.ba.Y.call(this)};
function Hk(){var b=Dk.Za();if(32<b.f){var c=0,d,e;for(d in b.a){e=b.a[d];var f;if(f=0===(c++&3))Gd(e)?e=fe(e,void 0,void 0):(e=Ud(e),e=!!e&&Od(e,void 0,void 0)),f=!e;f&&(delete b.a[d],--b.f)}}}
l.Bf=function(b,c,d,e,f,g){var h,k=c.viewState,n=k.resolution,p=k.projection,k=b;if(p.g){h=p.P();var p=Bc(h),q=b[0];if(q<h[0]||q>h[2])k=Math.ceil((h[0]-q)/p),k=[q+p*k,b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){h=p[q];var r=h.layer;if(!h.qb||lk(h,n)&&f.call(g,r))if(h=Ik(this,r).Ua(Hh(r.da())?k:b,c,d,e))return h}};
l.bh=function(b,c,d,e,f,g){var h,k=c.viewState.resolution,n=c.layerStatesArray,p;for(p=n.length-1;0<=p;--p){h=n[p];var q=h.layer;if(lk(h,k)&&f.call(g,q)&&(h=Ik(this,q).tc(b,c,d,e)))return h}};l.dh=function(b,c,d,e){b=this.Bf(b,c,xa,this,d,e);return m(b)};function Ik(b,c){var d=ma(c).toString();if(d in b.c)return b.c[d];var e=b.bf(c);b.c[d]=e;b.v[d]=B(e,"change",b.tk,!1,b);return e}l.tk=function(){this.i.render()};l.He=ca;
l.wo=function(b,c){for(var d in this.c)if(!(null!==c&&d in c.layerStates)){var e=d,f=this.c[e];delete this.c[e];$d(this.v[e]);delete this.v[e];wd(f)}};function Jk(b,c){for(var d in b.c)if(!(d in c.layerStates)){c.postRenderFunctions.push(ra(b.wo,b));break}}function Db(b,c){return b.zIndex-c.zIndex};function Kk(b,c){this.j=b;this.g=c;this.a=[];this.f=[];this.b={}}Kk.prototype.clear=function(){this.a.length=0;this.f.length=0;Tc(this.b)};function Lk(b){var c=b.a,d=b.f,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),Mk(b,0));c=b.g(e);delete b.b[c];return e}function Ak(b,c){var d=b.j(c);Infinity!=d&&(b.a.push(c),b.f.push(d),b.b[b.g(c)]=!0,Nk(b,0,b.a.length-1))}Kk.prototype.nc=function(){return this.a.length};Kk.prototype.Ia=function(){return 0===this.a.length};
function Mk(b,c){for(var d=b.a,e=b.f,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var n=2*c+1,p=2*c+2,n=p<f&&e[p]<e[n]?p:n;d[c]=d[n];e[c]=e[n];c=n}d[c]=g;e[c]=h;Nk(b,k,c)}function Nk(b,c,d){var e=b.a;b=b.f;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 Ok(b){var c=b.j,d=b.a,e=b.f,f=0,g=d.length,h,k,n;for(k=0;k<g;++k)h=d[k],n=c(h),Infinity==n?delete b.b[b.g(h)]:(e[f]=n,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)Mk(b,c)};function Pk(b,c){Kk.call(this,function(c){return b.apply(null,c)},function(b){return b[0].lb()});this.l=c;this.c=0}x(Pk,Kk);Pk.prototype.i=function(b){b=b.target;var c=b.state;if(2===c||3===c||4===c)Zd(b,"change",this.i,!1,this),--this.c,this.l()};function Qk(b,c,d){for(var e=0,f;b.c<c&&e<d&&0<b.nc();)f=Lk(b)[0],0===f.state&&(B(f,"change",b.i,!1,b),f.load(),++b.c,++e)};function Rk(b,c,d){this.c=b;this.b=c;this.i=d;this.a=[];this.f=this.g=0}function Sk(b,c){var d=b.c,e=b.f,f=b.b-e,g=Tk(b);return ag({source:c,duration:g,easing:function(b){return e*(Math.exp(d*b*g)-1)/f}})}function Tk(b){return Math.log(b.b/b.f)/b.c};function Uk(b){je.call(this);this.v=null;this.g(!0);this.handleEvent=b.handleEvent}x(Uk,je);Uk.prototype.b=function(){return this.get("active")};Uk.prototype.g=function(b){this.set("active",b)};Uk.prototype.setMap=function(b){this.v=b};function Vk(b,c,d,e,f){if(null!=d){var g=c.Ba(),h=c.Oa();m(g)&&m(h)&&m(f)&&0<f&&(b.Ka(bg({rotation:g,duration:f,easing:Xf})),m(e)&&b.Ka(ag({source:h,duration:f,easing:Xf})));c.rotate(d,e)}}
function Wk(b,c,d,e,f){var g=c.ya();d=c.constrainResolution(g,d,0);Xk(b,c,d,e,f)}function Xk(b,c,d,e,f){if(null!=d){var g=c.ya(),h=c.Oa();m(g)&&m(h)&&m(f)&&0<f&&(b.Ka(cg({resolution:g,duration:f,easing:Xf})),m(e)&&b.Ka(ag({source:h,duration:f,easing:Xf})));if(null!=e){var k;b=c.Oa();f=c.ya();m(b)&&m(f)&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.bb(k)}c.Nb(d)}};function Yk(b){b=m(b)?b:{};this.a=m(b.delta)?b.delta:1;Uk.call(this,{handleEvent:Zk});this.c=m(b.duration)?b.duration:250}x(Yk,Uk);function Zk(b){var c=!1,d=b.a;if(b.type==Zj){var c=b.map,e=b.coordinate,d=d.c?-this.a:this.a,f=c.$();Wk(c,f,d,e,this.c);b.preventDefault();c=!0}return!c};function $k(b){b=b.a;return b.f&&!b.l&&b.c}function al(b){return"pointermove"==b.type}function bl(b){return b.type==ak}function cl(b){b=b.a;return!b.f&&!b.l&&!b.c}function dl(b){b=b.a;return!b.f&&!b.l&&b.c}function el(b){b=b.a.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function fl(b){return 1==b.f.pointerId};function gl(b){b=m(b)?b:{};Uk.call(this,{handleEvent:m(b.handleEvent)?b.handleEvent:hl});this.Pb=m(b.handleDownEvent)?b.handleDownEvent:wa;this.Dc=m(b.handleDragEvent)?b.handleDragEvent:ca;this.Xc=m(b.handleMoveEvent)?b.handleMoveEvent:ca;this.Re=m(b.handleUpEvent)?b.handleUpEvent:wa;this.A=!1;this.Z={};this.i=[]}x(gl,Uk);function il(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 hl(b){if(!(b instanceof Vj))return!0;var c=!1,d=b.type;if(d===ek||d===gk||d===ck)d=b.f,b.type==ck?delete this.Z[d.pointerId]:b.type==ek?this.Z[d.pointerId]=d:d.pointerId in this.Z&&(this.Z[d.pointerId]=d),this.i=Nc(this.Z);this.A&&(b.type==gk?this.Dc(b):b.type==ck&&(this.A=this.Re(b)));b.type==ek?(this.A=b=this.Pb(b),c=this.zc(b)):b.type==fk&&this.Xc(b);return!c}gl.prototype.zc=za;function jl(b){gl.call(this,{handleDownEvent:kl,handleDragEvent:ll,handleUpEvent:ml});b=m(b)?b:{};this.a=b.kinetic;this.c=this.j=null;this.u=m(b.condition)?b.condition:cl;this.l=!1}x(jl,gl);function ll(b){var c=il(this.i);this.a&&this.a.a.push(c[0],c[1],ua());if(null!==this.c){var d=this.c[0]-c[0],e=c[1]-this.c[1];b=b.map;var f=b.$(),g=Uf(f),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;Tb(d,g.rotation);Ob(d,g.center);d=f.Pd(d);b.render();f.bb(d)}this.c=c}
function ml(b){b=b.map;var c=b.$();if(0===this.i.length){var d;if(d=!this.l&&this.a)if(d=this.a,6>d.a.length)d=!1;else{var e=ua()-d.i,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.g=Math.atan2(f,h);d.f=Math.sqrt(h*h+f*f)/e;d=d.f>d.b}}d&&(d=this.a,d=(d.b-d.f)/d.c,f=this.a.g,g=c.Oa(),this.j=Sk(this.a,g),b.Ka(this.j),g=b.La(g),d=b.Da([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.Pd(d),c.bb(d));Wf(c,-1);b.render();
return!1}this.c=null;return!0}function kl(b){if(0<this.i.length&&this.u(b)){var c=b.map,d=c.$();this.c=null;this.A||Wf(d,1);c.render();null!==this.j&&ub(c.C,this.j)&&(d.bb(b.frameState.viewState.center),this.j=null);this.a&&(b=this.a,b.a.length=0,b.g=0,b.f=0);this.l=1<this.i.length;return!0}return!1}jl.prototype.zc=wa;function nl(b){b=m(b)?b:{};gl.call(this,{handleDownEvent:pl,handleDragEvent:ql,handleUpEvent:rl});this.c=m(b.condition)?b.condition:$k;this.a=void 0;this.j=m(b.duration)?b.duration:250}x(nl,gl);function ql(b){if(fl(b)){var c=b.map,d=c.Na();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(m(this.a)){b=d-this.a;var e=c.$(),f=e.Ba();c.render();Vk(c,e,f-b)}this.a=d}}
function rl(b){if(!fl(b))return!0;b=b.map;var c=b.$();Wf(c,-1);var d=c.Ba(),e=this.j,d=c.constrainRotation(d,0);Vk(b,c,d,void 0,e);return!1}function pl(b){return fl(b)&&Ed(b.a)&&this.c(b)?(b=b.map,Wf(b.$(),1),b.render(),this.a=void 0,!0):!1}nl.prototype.zc=wa;function sl(b){this.b=this.f=this.c=this.g=this.a=null;this.j=b}x(sl,sd);function tl(b){var c=b.c,d=b.f;b=pb([c,[c[0],d[1]],d,[d[0],c[1]]],b.a.Da,b.a);b[4]=b[0].slice();return new E([b])}sl.prototype.Y=function(){this.setMap(null)};sl.prototype.i=function(b){var c=this.b,d=this.j;b.vectorContext.Fc(Infinity,function(b){b.Pa(d.c,d.b);b.Qa(d.f);b.mc(c,null)})};sl.prototype.V=function(){return this.b};function ul(b){null===b.a||null===b.c||null===b.f||b.a.render()}
sl.prototype.setMap=function(b){null!==this.g&&($d(this.g),this.g=null,this.a.render(),this.a=null);this.a=b;null!==this.a&&(this.g=B(b,"postcompose",this.i,!1,this),ul(this))};function vl(b,c){xd.call(this,b);this.coordinate=c}x(vl,xd);function wl(b){gl.call(this,{handleDownEvent:xl,handleDragEvent:yl,handleUpEvent:zl});b=m(b)?b:{};this.c=new sl(m(b.style)?b.style:null);this.a=null;this.u=m(b.condition)?b.condition:xa}x(wl,gl);function yl(b){if(fl(b)){var c=this.c;b=b.pixel;c.c=this.a;c.f=b;c.b=tl(c);ul(c)}}wl.prototype.V=function(){return this.c.V()};wl.prototype.l=ca;
function zl(b){if(!fl(b))return!0;this.c.setMap(null);var c=b.pixel[0]-this.a[0],d=b.pixel[1]-this.a[1];64<=c*c+d*d&&(this.l(b),D(this,new vl("boxend",b.coordinate)));return!1}function xl(b){if(fl(b)&&Ed(b.a)&&this.u(b)){this.a=b.pixel;this.c.setMap(b.map);var c=this.c,d=this.a;c.c=this.a;c.f=d;c.b=tl(c);ul(c);D(this,new vl("boxstart",b.coordinate));return!0}return!1};function Al(){this.f=-1};function Bl(){this.f=-1;this.f=64;this.a=Array(4);this.g=Array(this.f);this.c=this.b=0;this.reset()}x(Bl,Al);Bl.prototype.reset=function(){this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.b=0};
function Cl(b,c,d){d||(d=0);var e=Array(16);if(ia(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|
h>>>12);h=c+(f^g&(d^f))+e[9]+568446438&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[14]+3275163606&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[3]+4107603335&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[8]+1163531501&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[13]+2850285829&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[2]+4243563512&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[7]+1735328473&4294967295;f=g+(h<<14&4294967295|
h>>>18);h=d+(g^c&(f^g))+e[12]+2368359562&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(d^f^g)+e[5]+4294588738&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[8]+2272392833&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[11]+1839030562&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[14]+4259657740&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[1]+2763975236&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[4]+1272893353&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^
c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+3200236656&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[13]+681279174&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[0]+3936430074&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[3]+3572445317&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[6]+76029189&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[9]+3654602809&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[12]+3873151461&4294967295;
g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[15]+530742520&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[2]+3299628645&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(f^(d|~g))+e[0]+4096336452&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[7]+1126891415&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[14]+2878612391&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[5]+4237533241&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[12]+1700485571&4294967295;c=d+
(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[3]+2399980690&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[10]+4293915773&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[1]+2240044497&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[8]+1873313359&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[15]+4264355552&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[6]+2734768916&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[13]+1309151649&4294967295;
d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[4]+4149444226&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[11]+3174756917&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[2]+718787259&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[9]+3951481745&4294967295;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 Dl(b,c){var d;m(d)||(d=c.length);for(var e=d-b.f,f=b.g,g=b.b,h=0;h<d;){if(0==g)for(;h<=e;)Cl(b,c,h),h+=b.f;if(ia(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==b.f){Cl(b,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==b.f){Cl(b,f);g=0;break}}b.b=g;b.c+=d};function El(b){b=m(b)?b:{};this.a=m(b.color)?b.color:null;this.c=b.lineCap;this.b=m(b.lineDash)?b.lineDash:null;this.g=b.lineJoin;this.i=b.miterLimit;this.f=b.width;this.j=void 0}l=El.prototype;l.fn=function(){return this.a};l.Ij=function(){return this.c};l.gn=function(){return this.b};l.Jj=function(){return this.g};l.Oj=function(){return this.i};l.hn=function(){return this.f};l.jn=function(b){this.a=b;this.j=void 0};l.Ho=function(b){this.c=b;this.j=void 0};l.kn=function(b){this.b=b;this.j=void 0};
l.Io=function(b){this.g=b;this.j=void 0};l.Jo=function(b){this.i=b;this.j=void 0};l.Po=function(b){this.f=b;this.j=void 0};
l.zb=function(){if(!m(this.j)){var b="s"+(null===this.a?"-":Bg(this.a))+","+(m(this.c)?this.c.toString():"-")+","+(null===this.b?"-":this.b.toString())+","+(m(this.g)?this.g:"-")+","+(m(this.i)?this.i.toString():"-")+","+(m(this.f)?this.f.toString():"-"),c=new Bl;Dl(c,b);b=Array((56>c.b?c.f:2*c.f)-c.b);b[0]=128;for(var d=1;d<b.length-8;++d)b[d]=0;for(var e=8*c.c,d=b.length-8;d<b.length;++d)b[d]=e&255,e/=256;Dl(c,b);b=Array(16);for(d=e=0;4>d;++d)for(var f=0;32>f;f+=8)b[e++]=c.a[d]>>>f&255;if(8192>=
b.length)c=String.fromCharCode.apply(null,b);else for(c="",d=0;d<b.length;d+=8192)e=zb(b,d,d+8192),c+=String.fromCharCode.apply(null,e);this.j=c}return this.j};var Fl=[0,0,0,1],Gl=[],Hl=[0,0,0,1];function Il(b){b=m(b)?b:{};this.a=m(b.color)?b.color:null;this.f=void 0}Il.prototype.b=function(){return this.a};Il.prototype.c=function(b){this.a=b;this.f=void 0};Il.prototype.zb=function(){m(this.f)||(this.f="f"+(null===this.a?"-":Bg(this.a)));return this.f};function Jl(b){b=m(b)?b:{};this.i=this.a=this.g=null;this.c=m(b.fill)?b.fill:null;this.f=m(b.stroke)?b.stroke:null;this.b=b.radius;this.A=[0,0];this.l=this.fa=this.j=null;var c=b.atlasManager,d,e=null,f,g=0;null!==this.f&&(f=Bg(this.f.a),g=this.f.f,m(g)||(g=1),e=this.f.b,ej||(e=null));var h=2*(this.b+g)+1;f={strokeStyle:f,Bd:g,size:h,lineDash:e};m(c)?(h=Math.round(h),(e=null===this.c)&&(d=ra(this.kh,this,f)),g=this.zb(),f=c.add(g,h,h,ra(this.lh,this,f),d),this.a=f.image,this.A=[f.offsetX,f.offsetY],
d=f.image.width,this.i=e?f.Fg:this.a):(this.a=Sg("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.lh(f,c,0,0),null===this.c?(c=this.i=Sg("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.kh(f,c,0,0)):this.i=this.a);this.j=[h/2,h/2];this.fa=[h,h];this.l=[d,d];Bk.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:m(b.snapToPixel)?b.snapToPixel:!0})}x(Jl,Bk);l=Jl.prototype;l.Sb=function(){return this.j};l.Xm=function(){return this.c};
l.ue=function(){return this.i};l.W=function(){return this.a};l.vd=function(){return 2};l.Vd=function(){return this.l};l.$b=function(){return this.A};l.Ym=function(){return this.b};l.rb=function(){return this.fa};l.Zm=function(){return this.f};l.tf=ca;l.load=ca;l.Xf=ca;
l.lh=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.b,0,2*Math.PI,!0);null!==this.c&&(c.fillStyle=Bg(this.c.a),c.fill());null!==this.f&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Bd,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
l.kh=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.b,0,2*Math.PI,!0);c.fillStyle=Fl;c.fill();null!==this.f&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Bd,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};l.zb=function(){var b=null===this.f?"-":this.f.zb(),c=null===this.c?"-":this.c.zb();if(null===this.g||b!=this.g[1]||c!=this.g[2]||this.b!=this.g[3])this.g=["c"+b+c+(m(this.b)?this.b.toString():"-"),b,c,this.b];return this.g[0]};function Kl(b){b=m(b)?b:{};this.i=null;this.g=Ll;m(b.geometry)&&this.za(b.geometry);this.c=m(b.fill)?b.fill:null;this.j=m(b.image)?b.image:null;this.b=m(b.stroke)?b.stroke:null;this.f=m(b.text)?b.text:null;this.a=b.zIndex}l=Kl.prototype;l.V=function(){return this.i};l.Cj=function(){return this.g};l.ln=function(){return this.c};l.W=function(){return this.j};l.mn=function(){return this.b};l.nn=function(){return this.f};l.pn=function(){return this.a};
l.za=function(b){ka(b)?this.g=b:ia(b)?this.g=function(c){return c.get(b)}:null===b?this.g=Ll:m(b)&&(this.g=function(){return b});this.i=b};l.qn=function(b){this.a=b};function Ml(b){ka(b)||(b=ga(b)?b:[b],b=va(b));return b}var Nl=null;function Ol(){if(null===Nl){var b=new Il({color:"rgba(255,255,255,0.4)"}),c=new El({color:"#3399CC",width:1.25});Nl=[new Kl({image:new Jl({fill:b,stroke:c,radius:5}),fill:b,stroke:c})]}return Nl}
function Pl(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new Kl({fill:new Il({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new Kl({stroke:new El({color:c,width:5})}),new Kl({stroke:new El({color:d,width:3})})];b.MultiLineString=b.LineString;b.Circle=b.Polygon.concat(b.LineString);b.Point=[new Kl({image:new Jl({radius:6,fill:new Il({color:d}),stroke:new El({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.LineString,
b.Point);return b}function Ll(b){return b.V()};function Ql(b){var c=m(b)?b:{};b=m(c.condition)?c.condition:dl;this.j=m(c.duration)?c.duration:200;c=m(c.style)?c.style:new Kl({stroke:new El({color:[0,0,255,1]})});wl.call(this,{condition:b,style:c})}x(Ql,wl);Ql.prototype.l=function(){var b=this.v,c=b.$(),d=b.Na(),e=this.V().P(),d=c.constrainResolution(Math.max(Bc(e)/d[0],yc(e)/d[1])),f=c.ya(),g=c.Oa();b.Ka(cg({resolution:f,duration:this.j,easing:Xf}));b.Ka(ag({source:g,duration:this.j,easing:Xf}));c.bb(wc(e));c.Nb(d)};function Rl(b){Uk.call(this,{handleEvent:Sl});b=m(b)?b:{};this.a=m(b.condition)?b.condition:Ca(cl,el);this.c=m(b.duration)?b.duration:100;this.i=m(b.pixelDelta)?b.pixelDelta:128}x(Rl,Uk);
function Sl(b){var c=!1;if("key"==b.type){var d=b.a.i;if(this.a(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.$(),f=c.ya()*this.i,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];Tb(d,c.Ba());f=this.c;g=c.Oa();m(g)&&(m(f)&&0<f&&e.Ka(ag({source:g,duration:f,easing:Zf})),e=c.Pd([g[0]+d[0],g[1]+d[1]]),c.bb(e));b.preventDefault();c=!0}}return!c};function Tl(b){Uk.call(this,{handleEvent:Ul});b=m(b)?b:{};this.c=m(b.condition)?b.condition:el;this.a=m(b.delta)?b.delta:1;this.i=m(b.duration)?b.duration:100}x(Tl,Uk);function Ul(b){var c=!1;if("key"==b.type){var d=b.a.v;if(this.c(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.$();Wk(c,e,d,void 0,this.i);b.preventDefault();c=!0}}return!c};function Vl(b){Uk.call(this,{handleEvent:Wl});b=m(b)?b:{};this.a=0;this.u=m(b.duration)?b.duration:250;this.i=null;this.j=this.c=void 0}x(Vl,Uk);function Wl(b){var c=!1;if("mousewheel"==b.type){var c=b.map,d=b.a;this.i=b.coordinate;this.a+=d.A;m(this.c)||(this.c=ua());d=Math.max(80-(ua()-this.c),0);ba.clearTimeout(this.j);this.j=ba.setTimeout(ra(this.l,this,c),d);b.preventDefault();c=!0}return!c}
Vl.prototype.l=function(b){var c=Hb(this.a,-1,1),d=b.$();b.render();Wk(b,d,-c,this.i,this.u);this.a=0;this.i=null;this.j=this.c=void 0};function Xl(b){gl.call(this,{handleDownEvent:Yl,handleDragEvent:Zl,handleUpEvent:$l});b=m(b)?b:{};this.c=null;this.j=void 0;this.a=!1;this.l=0;this.D=m(b.threshold)?b.threshold:.3;this.u=m(b.duration)?b.duration:250}x(Xl,gl);
function Zl(b){var c=0,d=this.i[0],e=this.i[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);m(this.j)&&(c=d-this.j,this.l+=c,!this.a&&Math.abs(this.l)>this.D&&(this.a=!0));this.j=d;b=b.map;d=oh(b.a);e=il(this.i);e[0]-=d.x;e[1]-=d.y;this.c=b.Da(e);this.a&&(d=b.$(),e=d.Ba(),b.render(),Vk(b,d,e+c,this.c))}function $l(b){if(2>this.i.length){b=b.map;var c=b.$();Wf(c,-1);if(this.a){var d=c.Ba(),e=this.c,f=this.u,d=c.constrainRotation(d,0);Vk(b,c,d,e,f)}return!1}return!0}
function Yl(b){return 2<=this.i.length?(b=b.map,this.c=null,this.j=void 0,this.a=!1,this.l=0,this.A||Wf(b.$(),1),b.render(),!0):!1}Xl.prototype.zc=wa;function am(b){gl.call(this,{handleDownEvent:bm,handleDragEvent:cm,handleUpEvent:dm});b=m(b)?b:{};this.c=null;this.l=m(b.duration)?b.duration:400;this.a=void 0;this.j=1}x(am,gl);function cm(b){var c=1,d=this.i[0],e=this.i[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);m(this.a)&&(c=this.a/f);this.a=f;1!=c&&(this.j=c);b=b.map;var f=b.$(),d=f.ya(),e=oh(b.a),g=il(this.i);g[0]-=e.x;g[1]-=e.y;this.c=b.Da(g);b.render();Xk(b,f,d*c,this.c)}
function dm(b){if(2>this.i.length){b=b.map;var c=b.$();Wf(c,-1);var d=c.ya(),e=this.c,f=this.l,d=c.constrainResolution(d,0,this.j-1);Xk(b,c,d,e,f);return!1}return!0}function bm(b){return 2<=this.i.length?(b=b.map,this.c=null,this.a=void 0,this.j=1,this.A||Wf(b.$(),1),b.render(),!0):!1}am.prototype.zc=wa;function em(b){b=m(b)?b:{};var c=new ug,d=new Rk(-.005,.05,100);(m(b.altShiftDragRotate)?b.altShiftDragRotate:1)&&c.push(new nl);(m(b.doubleClickZoom)?b.doubleClickZoom:1)&&c.push(new Yk({delta:b.zoomDelta,duration:b.zoomDuration}));(m(b.dragPan)?b.dragPan:1)&&c.push(new jl({kinetic:d}));(m(b.pinchRotate)?b.pinchRotate:1)&&c.push(new Xl);(m(b.pinchZoom)?b.pinchZoom:1)&&c.push(new am({duration:b.zoomDuration}));if(m(b.keyboard)?b.keyboard:1)c.push(new Rl),c.push(new Tl({delta:b.zoomDelta,duration:b.zoomDuration}));
(m(b.mouseWheelZoom)?b.mouseWheelZoom:1)&&c.push(new Vl({duration:b.zoomDuration}));(m(b.shiftDragZoom)?b.shiftDragZoom:1)&&c.push(new Ql);return c};function I(b){var c=m(b)?b:{};b=Xc(c);delete b.layers;c=c.layers;F.call(this,b);this.b=[];this.a={};B(this,le("layers"),this.vk,!1,this);null!=c?ga(c)&&(c=new ug(c.slice())):c=new ug;this.Zg(c)}x(I,F);l=I.prototype;l.de=function(){this.jb()&&this.o()};
l.vk=function(){nb(this.b,$d);this.b.length=0;var b=this.Nc();this.b.push(B(b,"add",this.uk,!1,this),B(b,"remove",this.wk,!1,this));Jc(this.a,function(b){nb(b,$d)});Tc(this.a);var b=b.a,c,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[ma(e).toString()]=[B(e,"propertychange",this.de,!1,this),B(e,"change",this.de,!1,this)];this.o()};l.uk=function(b){b=b.element;var c=ma(b).toString();this.a[c]=[B(b,"propertychange",this.de,!1,this),B(b,"change",this.de,!1,this)];this.o()};
l.wk=function(b){b=ma(b.element).toString();nb(this.a[b],$d);delete this.a[b];this.o()};l.Nc=function(){return this.get("layers")};l.Zg=function(b){this.set("layers",b)};
l.of=function(b){var c=m(b)?b:[],d=c.length;this.Nc().forEach(function(b){b.of(c)});b=ik(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.brightness=Hb(f.brightness+b.brightness,-1,1),f.contrast*=b.contrast,f.hue+=b.hue,f.opacity*=b.opacity,f.saturation*=b.saturation,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),m(b.extent)&&(f.extent=m(f.extent)?zc(f.extent,b.extent):b.extent);return c};l.pf=function(){return"ready"};function fm(b){re.call(this,{code:b,units:"m",extent:gm,global:!0,worldExtent:hm})}x(fm,re);fm.prototype.getPointResolution=function(b,c){var d=c[1]/6378137;return b/((Math.exp(d)+Math.exp(-d))/2)};var im=6378137*Math.PI,gm=[-im,-im,im,im],hm=[-180,-85,180,85],De=pb("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(" "),function(b){return new fm(b)});
function Ee(b,c,d){var e=b.length;d=1<d?d:2;m(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 Fe(b,c,d){var e=b.length;d=1<d?d:2;m(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};function jm(b,c){re.call(this,{code:b,units:"degrees",extent:km,axisOrientation:c,global:!0,worldExtent:km})}x(jm,re);jm.prototype.getPointResolution=function(b){return b};
var km=[-180,-90,180,90],Ge=[new jm("CRS:84"),new jm("EPSG:4326","neu"),new jm("urn:ogc:def:crs:EPSG::4326","neu"),new jm("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new jm("urn:ogc:def:crs:OGC:1.3:CRS84"),new jm("urn:ogc:def:crs:OGC:2:84"),new jm("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new jm("urn:x-ogc:def:crs:EPSG:4326","neu")];function lm(){ue(De);ue(Ge);Ce()};function L(b){G.call(this,m(b)?b:{})}x(L,G);function M(b){b=m(b)?b:{};var c=Xc(b);delete c.preload;delete c.useInterimTilesOnError;G.call(this,c);this.c(m(b.preload)?b.preload:0);this.g(m(b.useInterimTilesOnError)?b.useInterimTilesOnError:!0)}x(M,G);M.prototype.a=function(){return this.get("preload")};M.prototype.c=function(b){this.set("preload",b)};M.prototype.b=function(){return this.get("useInterimTilesOnError")};M.prototype.g=function(b){this.set("useInterimTilesOnError",b)};function N(b){b=m(b)?b:{};var c=Xc(b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;G.call(this,c);this.b=m(b.renderBuffer)?b.renderBuffer:100;this.A=null;this.a=void 0;this.c(b.style);this.j=m(b.updateWhileAnimating)?b.updateWhileAnimating:!1;this.l=m(b.updateWhileInteracting)?b.updateWhileInteracting:!1}x(N,G);function mm(b){return b.get("renderOrder")}N.prototype.D=function(){return this.A};N.prototype.C=function(){return this.a};
N.prototype.c=function(b){this.A=m(b)?b:Ol;this.a=null===b?void 0:Ml(this.A);this.o()};function O(b){b=m(b)?b:{};var c=Xc(b);delete c.preload;delete c.useInterimTilesOnError;N.call(this,c);this.S(m(b.preload)?b.preload:0);this.Z(m(b.useInterimTilesOnError)?b.useInterimTilesOnError:!0)}x(O,N);O.prototype.g=function(){return this.get("preload")};O.prototype.T=function(){return this.get("useInterimTilesOnError")};O.prototype.S=function(b){this.set("preload",b)};O.prototype.Z=function(b){this.set("useInterimTilesOnError",b)};function nm(b,c,d,e,f){this.A={};this.b=b;this.C=c;this.g=d;this.na=e;this.Xc=f;this.i=this.a=this.f=this.wa=this.Xa=this.ga=null;this.Ya=this.Ja=this.u=this.S=this.T=this.M=0;this.eb=!1;this.j=this.sb=0;this.tb=!1;this.Z=0;this.c="";this.B=this.fa=this.Pb=this.Cc=0;this.ca=this.v=this.l=null;this.D=[];this.Dc=$a()}
function om(b,c,d){if(null!==b.i){c=bf(c,0,d,2,b.na,b.D);d=b.b;var e=b.Dc,f=d.globalAlpha;1!=b.u&&(d.globalAlpha=f*b.u);var g=b.sb;b.eb&&(g+=b.Xc);var h,k;h=0;for(k=c.length;h<k;h+=2){var n=c[h]-b.M,p=c[h+1]-b.T;b.tb&&(n=n+.5|0,p=p+.5|0);if(0!==g||1!=b.j){var q=n+b.M,r=p+b.T;ok(e,q,r,b.j,b.j,g,-q,-r);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.i,b.Ja,b.Ya,b.Z,b.S,n,p,b.Z,b.S)}0===g&&1==b.j||d.setTransform(1,0,0,1,0,0);1!=b.u&&(d.globalAlpha=f)}}
function pm(b,c,d,e){var f=0;if(null!==b.ca&&""!==b.c){null===b.l||qm(b,b.l);null===b.v||rm(b,b.v);var g=b.ca,h=b.b,k=b.wa;null===k?(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline,b.wa={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline}):(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));c=bf(c,f,d,e,b.na,b.D);for(g=b.b;f<d;f+=e){h=c[f]+
b.Cc;k=c[f+1]+b.Pb;if(0!==b.fa||1!=b.B){var n=ok(b.Dc,h,k,b.B,b.B,b.fa,-h,-k);g.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}null===b.v||g.strokeText(b.c,h,k);null===b.l||g.fillText(b.c,h,k)}0===b.fa&&1==b.B||g.setTransform(1,0,0,1,0,0)}}function sm(b,c,d,e,f,g){var h=b.b;b=bf(c,d,e,f,b.na,b.D);h.moveTo(b[0],b[1]);for(c=2;c<b.length;c+=2)h.lineTo(b[c],b[c+1]);g&&h.lineTo(b[0],b[1]);return e}
function tm(b,c,d,e,f){var g=b.b,h,k;h=0;for(k=e.length;h<k;++h)d=sm(b,c,d,e[h],f,!0),g.closePath();return d}l=nm.prototype;l.Fc=function(b,c){var d=b.toString(),e=this.A[d];m(e)?e.push(c):this.A[d]=[c]};
l.Gc=function(b){if(Ac(this.g,b.P())){if(null!==this.f||null!==this.a){null===this.f||qm(this,this.f);null===this.a||rm(this,this.a);var c;c=this.na;var d=this.D,e=b.ha();if(null===e)c=null;else{var f=b.ta();c=bf(e,0,e.length,f,c,d)}d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.b;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);null===this.f||e.fill();null===this.a||e.stroke()}""!==this.c&&pm(this,b.rd(),2,2)}};
l.cf=function(b,c){var d=(0,c.g)(b);if(null!=d&&Ac(this.g,d.P())){var e=c.a;m(e)||(e=0);this.Fc(e,function(b){b.Pa(c.c,c.b);b.nb(c.W());b.Qa(c.f);um[d.U()].call(b,d,null)})}};l.Qd=function(b,c){var d=b.c,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e];um[g.U()].call(this,g,c)}};l.wb=function(b){var c=b.ha();b=b.ta();null===this.i||om(this,c,c.length);""!==this.c&&pm(this,c,c.length,b)};l.vb=function(b){var c=b.ha();b=b.ta();null===this.i||om(this,c,c.length);""!==this.c&&pm(this,c,c.length,b)};
l.Qb=function(b){if(Ac(this.g,b.P())){if(null!==this.a){rm(this,this.a);var c=this.b,d=b.ha();c.beginPath();sm(this,d,0,d.length,b.ta(),!1);c.stroke()}""!==this.c&&(b=vm(b),pm(this,b,2,2))}};l.Hc=function(b){var c=b.P();if(Ac(this.g,c)){if(null!==this.a){rm(this,this.a);var c=this.b,d=b.ha(),e=0,f=b.pb(),g=b.ta();c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=sm(this,d,e,f[h],g,!1);c.stroke()}""!==this.c&&(b=wm(b),pm(this,b,b.length,2))}};
l.mc=function(b){if(Ac(this.g,b.P())){if(null!==this.a||null!==this.f){null===this.f||qm(this,this.f);null===this.a||rm(this,this.a);var c=this.b;c.beginPath();tm(this,b.Vb(),0,b.pb(),b.ta());null===this.f||c.fill();null===this.a||c.stroke()}""!==this.c&&(b=Mf(b),pm(this,b,2,2))}};
l.Ic=function(b){if(Ac(this.g,b.P())){if(null!==this.a||null!==this.f){null===this.f||qm(this,this.f);null===this.a||rm(this,this.a);var c=this.b,d=xm(b),e=0,f=b.g,g=b.ta(),h,k;h=0;for(k=f.length;h<k;++h){var n=f[h];c.beginPath();e=tm(this,d,e,n,g);null===this.f||c.fill();null===this.a||c.stroke()}}""!==this.c&&(b=zm(b),pm(this,b,b.length,2))}};function Am(b){var c=pb(Oc(b.A),Number);Ab(c);var d,e,f,g,h;d=0;for(e=c.length;d<e;++d)for(f=b.A[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](b)}
function qm(b,c){var d=b.b,e=b.ga;null===e?(d.fillStyle=c.fillStyle,b.ga={fillStyle:c.fillStyle}):e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle)}
function rm(b,c){var d=b.b,e=b.Xa;null===e?(d.lineCap=c.lineCap,ej&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth=c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,b.Xa={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle}):(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),ej&&!Eb(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))}
l.Pa=function(b,c){if(null===b)this.f=null;else{var d=b.a;this.f={fillStyle:Bg(null===d?Fl:d)}}if(null===c)this.a=null;else{var d=c.a,e=c.c,f=c.b,g=c.g,h=c.f,k=c.i;this.a={lineCap:m(e)?e:"round",lineDash:null!=f?f:Gl,lineJoin:m(g)?g:"round",lineWidth:this.C*(m(h)?h:1),miterLimit:m(k)?k:10,strokeStyle:Bg(null===d?Hl:d)}}};
l.nb=function(b){if(null===b)this.i=null;else{var c=b.Sb(),d=b.W(1),e=b.$b(),f=b.rb();this.M=c[0];this.T=c[1];this.S=f[1];this.i=d;this.u=b.u;this.Ja=e[0];this.Ya=e[1];this.eb=b.D;this.sb=b.B;this.j=b.v;this.tb=b.C;this.Z=f[0]}};
l.Qa=function(b){if(null===b)this.c="";else{var c=b.a;null===c?this.l=null:(c=c.a,this.l={fillStyle:Bg(null===c?Fl:c)});var d=b.i;if(null===d)this.v=null;else{var c=d.a,e=d.c,f=d.b,g=d.g,h=d.f,d=d.i;this.v={lineCap:m(e)?e:"round",lineDash:null!=f?f:Gl,lineJoin:m(g)?g:"round",lineWidth:m(h)?h:1,miterLimit:m(d)?d:10,strokeStyle:Bg(null===c?Hl:c)}}var c=b.c,e=b.B,f=b.v,g=b.g,h=b.f,d=b.b,k=b.j;b=b.l;this.ca={font:m(c)?c:"10px sans-serif",textAlign:m(k)?k:"center",textBaseline:m(b)?b:"middle"};this.c=
m(d)?d:"";this.Cc=m(e)?this.C*e:0;this.Pb=m(f)?this.C*f:0;this.fa=m(g)?g:0;this.B=this.C*(m(h)?h:1)}};var um={Point:nm.prototype.wb,LineString:nm.prototype.Qb,Polygon:nm.prototype.mc,MultiPoint:nm.prototype.vb,MultiLineString:nm.prototype.Hc,MultiPolygon:nm.prototype.Ic,GeometryCollection:nm.prototype.Qd,Circle:nm.prototype.Gc};function Bm(b){rk.call(this,b);this.M=$a()}x(Bm,rk);
Bm.prototype.v=function(b,c,d){Cm(this,"precompose",d,b,void 0);var e=this.W();if(null!==e){var f=c.extent,g=m(f);if(g){var h=b.pixelRatio,k=vc(f),n=uc(f),p=tc(f),f=sc(f);qk(b.coordinateToPixelMatrix,k,k);qk(b.coordinateToPixelMatrix,n,n);qk(b.coordinateToPixelMatrix,p,p);qk(b.coordinateToPixelMatrix,f,f);d.save();d.beginPath();d.moveTo(k[0]*h,k[1]*h);d.lineTo(n[0]*h,n[1]*h);d.lineTo(p[0]*h,p[1]*h);d.lineTo(f[0]*h,f[1]*h);d.clip()}h=this.nf();k=d.globalAlpha;d.globalAlpha=c.opacity;0===b.viewState.rotation?
(c=h[13],n=e.width*h[0],p=e.height*h[5],d.drawImage(e,0,0,+e.width,+e.height,Math.round(h[12]),Math.round(c),Math.round(n),Math.round(p))):(d.setTransform(h[0],h[1],h[4],h[5],h[12],h[13]),d.drawImage(e,0,0),d.setTransform(1,0,0,1,0,0));d.globalAlpha=k;g&&d.restore()}Cm(this,"postcompose",d,b,void 0)};function Cm(b,c,d,e,f){var g=b.a;fe(g,c)&&(b=m(f)?f:Dm(b,e,0),b=new nm(d,e.pixelRatio,e.extent,b,e.viewState.rotation),D(g,new kk(c,g,b,e,d,null)),Am(b))}
function Dm(b,c,d){var e=c.viewState,f=c.pixelRatio;return ok(b.M,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])}function Em(b,c){var d=[0,0];qk(c,b,d);return d}
var Fm=function(){var b=null,c=null;return function(d){if(null===b){b=Wi(1,1);c=b.createImageData(1,1);var e=c.data;e[0]=42;e[1]=84;e[2]=126;e[3]=255}var e=b.canvas,f=d[0]<=e.width&&d[1]<=e.height;f||(e.width=d[0],e.height=d[1],e=d[0]-1,d=d[1]-1,b.putImageData(c,e,d),d=b.getImageData(e,d,1,1),f=Eb(c.data,d.data));return f}}();var Gm=["Polygon","LineString","Image","Text"];function Hm(b,c,d){this.wa=b;this.Z=c;this.c=null;this.g=0;this.resolution=d;this.T=this.M=null;this.f=[];this.coordinates=[];this.ga=$a();this.a=[];this.ca=[];this.Xa=$a()}x(Hm,jk);
function Im(b,c,d,e,f,g){var h=b.coordinates.length,k=b.gf(),n=[c[d],c[d+1]],p=[NaN,NaN],q=!0,r,t,u;for(r=d+f;r<e;r+=f)p[0]=c[r],p[1]=c[r+1],u=kc(k,p),u!==t?(q&&(b.coordinates[h++]=n[0],b.coordinates[h++]=n[1]),b.coordinates[h++]=p[0],b.coordinates[h++]=p[1],q=!1):1===u?(b.coordinates[h++]=p[0],b.coordinates[h++]=p[1],q=!1):q=!0,n[0]=p[0],n[1]=p[1],t=u;r===d+f&&(b.coordinates[h++]=n[0],b.coordinates[h++]=n[1]);g&&(b.coordinates[h++]=c[d],b.coordinates[h++]=c[d+1]);return h}
function Jm(b,c){b.M=[0,c,0];b.f.push(b.M);b.T=[0,c,0];b.a.push(b.T)}
function Km(b,c,d,e,f,g,h,k,n){var p;pk(e,b.ga)?p=b.ca:(p=bf(b.coordinates,0,b.coordinates.length,2,e,b.ca),db(b.ga,e));e=0;var q=h.length,r=0,t;for(b=b.Xa;e<q;){var u=h[e],z,w,C,y;switch(u[0]){case 0:r=u[1];(t=!Sc(g)&&m(g[ma(r).toString()]))||(t=null==r.V());t?e=u[2]:m(n)&&!Ac(n,r.V().P())?e=u[2]:++e;break;case 1:c.beginPath();++e;break;case 2:r=u[1];t=p[r];var A=p[r+1],H=p[r+2]-t,r=p[r+3]-A;c.arc(t,A,Math.sqrt(H*H+r*r),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:r=u[1];t=u[2];
z=u[3];C=u[4]*d;var K=u[5]*d,J=u[6];w=u[7];var Q=u[8],ta=u[9],A=u[11],H=u[12],Va=u[13],S=u[14];for(u[10]&&(A+=f);r<t;r+=2){u=p[r]-C;y=p[r+1]-K;Va&&(u=u+.5|0,y=y+.5|0);if(1!=H||0!==A){var Ia=u+C,gb=y+K;ok(b,Ia,gb,H,H,A,-Ia,-gb);c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13])}Ia=c.globalAlpha;1!=w&&(c.globalAlpha=Ia*w);c.drawImage(z,Q,ta,S,J,u,y,S*d,J*d);1!=w&&(c.globalAlpha=Ia);1==H&&0===A||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:r=u[1];t=u[2];C=u[3];K=u[4]*d;J=u[5]*d;A=u[6];H=u[7]*d;z=u[8];for(w=
u[9];r<t;r+=2){u=p[r]+K;y=p[r+1]+J;if(1!=H||0!==A)ok(b,u,y,H,H,A,-u,-y),c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]);w&&c.strokeText(C,u,y);z&&c.fillText(C,u,y);1==H&&0===A||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(m(k)&&(r=u[1],r=k(r)))return r;++e;break;case 7:c.fill();++e;break;case 8:r=u[1];t=u[2];c.moveTo(p[r],p[r+1]);for(r+=2;r<t;r+=2)c.lineTo(p[r],p[r+1]);++e;break;case 9:c.fillStyle=u[1];++e;break;case 10:r=m(u[7])?u[7]:!0;t=u[2];c.strokeStyle=u[1];c.lineWidth=r?t*d:t;c.lineCap=
u[3];c.lineJoin=u[4];c.miterLimit=u[5];ej&&c.setLineDash(u[6]);++e;break;case 11:c.font=u[1];c.textAlign=u[2];c.textBaseline=u[3];++e;break;case 12:c.stroke();++e;break;default:++e}}}function Lm(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 Mm(b,c){b.M[2]=b.f.length;b.M=null;b.T[2]=b.a.length;b.T=null;var d=[6,c];b.f.push(d);b.a.push(d)}Hm.prototype.re=ca;
Hm.prototype.gf=function(){return this.Z};function Nm(b,c,d){Hm.call(this,b,c,d);this.l=this.S=null;this.na=this.fa=this.C=this.D=this.A=this.u=this.v=this.B=this.j=this.i=this.b=void 0}x(Nm,Hm);
Nm.prototype.wb=function(b,c){if(null!==this.l){Jm(this,c);var d=b.ha(),e=b.ta(),f=this.coordinates.length,d=Im(this,d,0,d.length,e,!1);this.f.push([4,f,d,this.l,this.b,this.i,this.j,this.B,this.v,this.u,this.A,this.D,this.C,this.fa,this.na]);this.a.push([4,f,d,this.S,this.b,this.i,this.j,this.B,this.v,this.u,this.A,this.D,this.C,this.fa,this.na]);Mm(this,c)}};
Nm.prototype.vb=function(b,c){if(null!==this.l){Jm(this,c);var d=b.ha(),e=b.ta(),f=this.coordinates.length,d=Im(this,d,0,d.length,e,!1);this.f.push([4,f,d,this.l,this.b,this.i,this.j,this.B,this.v,this.u,this.A,this.D,this.C,this.fa,this.na]);this.a.push([4,f,d,this.S,this.b,this.i,this.j,this.B,this.v,this.u,this.A,this.D,this.C,this.fa,this.na]);Mm(this,c)}};
Nm.prototype.re=function(){Lm(this);this.i=this.b=void 0;this.l=this.S=null;this.na=this.fa=this.D=this.A=this.u=this.v=this.B=this.C=this.j=void 0};Nm.prototype.nb=function(b){var c=b.Sb(),d=b.rb(),e=b.ue(1),f=b.W(1),g=b.$b();this.b=c[0];this.i=c[1];this.S=e;this.l=f;this.j=d[1];this.B=b.u;this.v=g[0];this.u=g[1];this.A=b.D;this.D=b.B;this.C=b.v;this.fa=b.C;this.na=d[0]};
function Om(b,c,d){Hm.call(this,b,c,d);this.b={hd:void 0,cd:void 0,dd:null,ed:void 0,fd:void 0,gd:void 0,sf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}x(Om,Hm);function Pm(b,c,d,e,f){var g=b.coordinates.length;c=Im(b,c,d,e,f,!1);g=[8,g,c];b.f.push(g);b.a.push(g);return e}l=Om.prototype;l.gf=function(){null===this.c&&(this.c=fc(this.Z),0<this.g&&ec(this.c,this.resolution*(this.g+1)/2,this.c));return this.c};
function Qm(b){var c=b.b,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.hd==d&&c.cd==e&&Eb(c.dd,f)&&c.ed==g&&c.fd==h&&c.gd==k||(c.sf!=b.coordinates.length&&(b.f.push([12]),c.sf=b.coordinates.length),b.f.push([10,d,h,e,g,k,f],[1]),c.hd=d,c.cd=e,c.dd=f,c.ed=g,c.fd=h,c.gd=k)}
l.Qb=function(b,c){var d=this.b,e=d.lineWidth;m(d.strokeStyle)&&m(e)&&(Qm(this),Jm(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.ha(),e=b.ta(),Pm(this,d,0,d.length,e),this.a.push([12]),Mm(this,c))};
l.Hc=function(b,c){var d=this.b,e=d.lineWidth;if(m(d.strokeStyle)&&m(e)){Qm(this);Jm(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.pb(),e=b.ha(),f=b.ta(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Pm(this,e,g,d[h],f);this.a.push([12]);Mm(this,c)}};l.re=function(){this.b.sf!=this.coordinates.length&&this.f.push([12]);Lm(this);this.b=null};
l.Pa=function(b,c){var d=c.a;this.b.strokeStyle=Bg(null===d?Hl:d);d=c.c;this.b.lineCap=m(d)?d:"round";d=c.b;this.b.lineDash=null===d?Gl:d;d=c.g;this.b.lineJoin=m(d)?d:"round";d=c.f;this.b.lineWidth=m(d)?d:1;d=c.i;this.b.miterLimit=m(d)?d:10;this.b.lineWidth>this.g&&(this.g=this.b.lineWidth,this.c=null)};
function Rm(b,c,d){Hm.call(this,b,c,d);this.b={og:void 0,hd:void 0,cd:void 0,dd:null,ed:void 0,fd:void 0,gd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0};this.i=!1}x(Rm,Hm);
function Sm(b,c,d,e,f){var g=b.b,h=[1];b.f.push(h);b.a.push(h);var k,h=0;for(k=e.length;h<k;++h){var n=e[h],p=b.coordinates.length;d=Im(b,c,d,n,f,!0);d=[8,p,d];p=[3];b.f.push(d,p);b.a.push(d,p);d=n}c=[7];b.a.push(c);m(g.fillStyle)&&b.f.push(c);m(g.strokeStyle)&&(g=[12],b.f.push(g),b.a.push(g));return d}l=Rm.prototype;
l.Gc=function(b,c){var d=this.b,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){Tm(this);Jm(this,c);this.a.push([9,Bg(Fl)]);m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.ha(),g=b.ta(),e=this.coordinates.length;Im(this,f,0,f.length,g,!1);f=[1];e=[2,e];this.f.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);m(d.fillStyle)&&this.f.push(e);m(d.strokeStyle)&&(d=[12],this.f.push(d),this.a.push(d));Mm(this,c)}};
l.mc=function(b,c){var d=this.b,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){Tm(this);Jm(this,c);this.a.push([9,Bg(Fl)]);m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.pb(),e=this.i?b.ha():b.Vb(),f=b.ta();Sm(this,e,0,d,f);Mm(this,c)}};
l.Ic=function(b,c){var d=this.b,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){Tm(this);Jm(this,c);this.a.push([9,Bg(Fl)]);m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.g,e=xm(b),f=b.ta(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Sm(this,e,g,d[h],f);Mm(this,c)}};l.re=function(){Lm(this);this.b=null;var b=this.wa;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)}};
l.gf=function(){null===this.c&&(this.c=fc(this.Z),0<this.g&&ec(this.c,this.resolution*(this.g+1)/2,this.c));return this.c};
l.Pa=function(b,c){var d=this.b;if(null===b)d.fillStyle=void 0;else{var e=b.a;d.fillStyle=Bg(null===e?Fl:e)}null===c?(d.strokeStyle=void 0,d.lineCap=void 0,d.lineDash=null,d.lineJoin=void 0,d.lineWidth=void 0,d.miterLimit=void 0):(e=c.a,d.strokeStyle=Bg(null===e?Hl:e),e=c.c,d.lineCap=m(e)?e:"round",e=c.b,d.lineDash=null===e?Gl:e.slice(),e=c.g,d.lineJoin=m(e)?e:"round",e=c.f,d.lineWidth=m(e)?e:1,e=c.i,d.miterLimit=m(e)?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.c=null))};
function Tm(b){var c=b.b,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,n=c.miterLimit;m(d)&&c.og!=d&&(b.f.push([9,d]),c.og=c.fillStyle);!m(e)||c.hd==e&&c.cd==f&&c.dd==g&&c.ed==h&&c.fd==k&&c.gd==n||(b.f.push([10,e,k,f,h,n,g]),c.hd=e,c.cd=f,c.dd=g,c.ed=h,c.fd=k,c.gd=n)}function Um(b,c,d){Hm.call(this,b,c,d);this.fa=this.C=this.D=null;this.l="";this.A=this.u=this.v=this.B=0;this.j=this.i=this.b=null}x(Um,Hm);
Um.prototype.xb=function(b,c,d,e,f,g){if(""!==this.l&&null!==this.j&&(null!==this.b||null!==this.i)){if(null!==this.b){f=this.b;var h=this.D;if(null===h||h.fillStyle!=f.fillStyle){var k=[9,f.fillStyle];this.f.push(k);this.a.push(k);null===h?this.D={fillStyle:f.fillStyle}:h.fillStyle=f.fillStyle}}null!==this.i&&(f=this.i,h=this.C,null===h||h.lineCap!=f.lineCap||h.lineDash!=f.lineDash||h.lineJoin!=f.lineJoin||h.lineWidth!=f.lineWidth||h.miterLimit!=f.miterLimit||h.strokeStyle!=f.strokeStyle)&&(k=[10,
f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,f.lineDash,!1],this.f.push(k),this.a.push(k),null===h?this.C={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle}:(h.lineCap=f.lineCap,h.lineDash=f.lineDash,h.lineJoin=f.lineJoin,h.lineWidth=f.lineWidth,h.miterLimit=f.miterLimit,h.strokeStyle=f.strokeStyle));f=this.j;h=this.fa;if(null===h||h.font!=f.font||h.textAlign!=f.textAlign||h.textBaseline!=f.textBaseline)k=
[11,f.font,f.textAlign,f.textBaseline],this.f.push(k),this.a.push(k),null===h?this.fa={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}:(h.font=f.font,h.textAlign=f.textAlign,h.textBaseline=f.textBaseline);Jm(this,g);f=this.coordinates.length;b=Im(this,b,c,d,e,!1);b=[5,f,b,this.l,this.B,this.v,this.u,this.A,null!==this.b,null!==this.i];this.f.push(b);this.a.push(b);Mm(this,g)}};
Um.prototype.Qa=function(b){if(null===b)this.l="";else{var c=b.a;null===c?this.b=null:(c=c.a,c=Bg(null===c?Fl:c),null===this.b?this.b={fillStyle:c}:this.b.fillStyle=c);var d=b.i;if(null===d)this.i=null;else{var c=d.a,e=d.c,f=d.b,g=d.g,h=d.f,d=d.i,e=m(e)?e:"round",f=null!=f?f.slice():Gl,g=m(g)?g:"round",h=m(h)?h:1,d=m(d)?d:10,c=Bg(null===c?Hl:c);if(null===this.i)this.i={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c};else{var k=this.i;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=
h;k.miterLimit=d;k.strokeStyle=c}}var n=b.c,c=b.B,e=b.v,f=b.g,h=b.f,d=b.b,g=b.j,k=b.l;b=m(n)?n:"10px sans-serif";g=m(g)?g:"center";k=m(k)?k:"middle";null===this.j?this.j={font:b,textAlign:g,textBaseline:k}:(n=this.j,n.font=b,n.textAlign=g,n.textBaseline=k);this.l=m(d)?d:"";this.B=m(c)?c:0;this.v=m(e)?e:0;this.u=m(f)?f:0;this.A=m(h)?h:1}};function Vm(b,c,d,e,f){this.v=b;this.g=c;this.B=d;this.i=e;this.f={};this.j=Wi(1,1);this.l=$a();this.u=m(f)?f:!1}
function Wm(b){for(var c in b.f){var d=b.f[c],e;for(e in d)d[e].re()}}Vm.prototype.c=function(b,c,d,e,f){var g=this.l;ok(g,.5,.5,1/c,-1/c,-d,-b[0],-b[1]);var h=this.j;h.clearRect(0,0,1,1);var k;m(this.i)&&(k=ac(),bc(k,b),ec(k,c*this.i,k));return Xm(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)};
Vm.prototype.a=function(b,c){var d=m(b)?b.toString():"0",e=this.f[d];m(e)||(e={},this.f[d]=e);d=e[c];m(d)||(d=new Ym[c](this.v,this.g,this.B),"Polygon"==c&&(d.i=this.u),e[c]=d);return d};Vm.prototype.Ia=function(){return Sc(this.f)};
Vm.prototype.b=function(b,c,d,e,f){var g=pb(Oc(this.f),Number);Ab(g);var h=this.g,k=h[0],n=h[1],p=h[2],h=h[3],k=[k,n,k,h,p,h,p,n];bf(k,0,8,2,d,k);b.save();b.beginPath();b.moveTo(k[0],k[1]);b.lineTo(k[2],k[3]);b.lineTo(k[4],k[5]);b.lineTo(k[6],k[7]);b.closePath();b.clip();for(var q,r,k=0,n=g.length;k<n;++k)for(q=this.f[g[k].toString()],p=0,h=Gm.length;p<h;++p)r=q[Gm[p]],m(r)&&Km(r,b,c,d,e,f,r.f,void 0);b.restore()};
function Xm(b,c,d,e,f,g,h){var k=pb(Oc(b.f),Number);Ab(k,function(b,c){return c-b});var n,p,q,r,t;n=0;for(p=k.length;n<p;++n)for(r=b.f[k[n].toString()],q=Gm.length-1;0<=q;--q)if(t=r[Gm[q]],m(t)&&(t=Km(t,c,1,d,e,f,t.a,g,h)))return t}var Ym={Image:Nm,LineString:Om,Polygon:Rm,Text:Um};function Zm(b,c,d){cf.call(this);this.Uf(b,m(c)?c:0,d)}x(Zm,cf);l=Zm.prototype;l.clone=function(){var b=new Zm(null),c=this.s.slice();b.sa(this.b,c);b.o();return b};l.fb=function(b,c,d,e){var f=this.s;b-=f[0];var g=c-f[1];c=b*b+g*g;if(c<e){if(0===c)for(e=0;e<this.a;++e)d[e]=f[e];else for(e=this.zf()/Math.sqrt(c),d[0]=f[0]+e*b,d[1]=f[1]+e*g,e=2;e<this.a;++e)d[e]=f[e];d.length=this.a;return c}return e};l.sc=function(b,c){var d=this.s,e=b-d[0],d=c-d[1];return e*e+d*d<=$m(this)};
l.rd=function(){return this.s.slice(0,this.a)};l.Od=function(b){var c=this.s,d=c[this.a]-c[0];return dc(c[0]-d,c[1]-d,c[0]+d,c[1]+d,b)};l.zf=function(){return Math.sqrt($m(this))};function $m(b){var c=b.s[b.a]-b.s[0];b=b.s[b.a+1]-b.s[1];return c*c+b*b}l.U=function(){return"Circle"};l.Aa=function(b){var c=this.P();return Ac(b,c)?(c=this.rd(),b[0]<=c[0]&&b[2]>=c[0]||b[1]<=c[1]&&b[3]>=c[1]?!0:rc(b,this.af,this)):!1};
l.Ll=function(b){var c=this.a,d=this.s[c]-this.s[0],e=b.slice();e[c]=e[0]+d;for(d=1;d<c;++d)e[c+d]=b[d];this.sa(this.b,e);this.o()};l.Uf=function(b,c,d){if(null===b)this.sa("XY",null);else{ef(this,d,b,0);null===this.s&&(this.s=[]);d=this.s;b=pf(d,b);d[b++]=d[0]+c;var e;c=1;for(e=this.a;c<e;++c)d[b++]=d[c];d.length=b}this.o()};l.Ml=function(b){this.s[this.a]=this.s[0]+b;this.o()};function an(b){Pe.call(this);this.c=m(b)?b:null;bn(this)}x(an,Pe);function cn(b){var c=[],d,e;d=0;for(e=b.length;d<e;++d)c.push(b[d].clone());return c}function dn(b){var c,d;if(null!==b.c)for(c=0,d=b.c.length;c<d;++c)Zd(b.c[c],"change",b.o,!1,b)}function bn(b){var c,d;if(null!==b.c)for(c=0,d=b.c.length;c<d;++c)B(b.c[c],"change",b.o,!1,b)}l=an.prototype;l.clone=function(){var b=new an(null);b.Nh(this.c);return b};
l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;var f=this.c,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].fb(b,c,d,e);return e};l.sc=function(b,c){var d=this.c,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].sc(b,c))return!0;return!1};l.Od=function(b){dc(Infinity,Infinity,-Infinity,-Infinity,b);for(var c=this.c,d=0,e=c.length;d<e;++d)pc(b,c[d].P());return b};l.sg=function(){return cn(this.c)};
l.$d=function(b){this.v!=this.f&&(Tc(this.i),this.j=0,this.v=this.f);if(0>b||0!==this.j&&b<this.j)return this;var c=b.toString();if(this.i.hasOwnProperty(c))return this.i[c];var d=[],e=this.c,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],n=k.$d(b);d.push(n);n!==k&&(f=!0)}if(f)return b=new an(null),dn(b),b.c=d,bn(b),b.o(),this.i[c]=b;this.j=b;return this};l.U=function(){return"GeometryCollection"};l.Aa=function(b){var c=this.c,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].Aa(b))return!0;return!1};
l.Ia=function(){return 0==this.c.length};l.Nh=function(b){b=cn(b);dn(this);this.c=b;bn(this);this.o()};l.lc=function(b){var c=this.c,d,e;d=0;for(e=c.length;d<e;++d)c[d].lc(b);this.o()};l.translate=function(b,c){var d=this.c,e,f;e=0;for(f=d.length;e<f;++e)d[e].translate(b,c);this.o()};l.Y=function(){dn(this);an.ba.Y.call(this)};function en(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],n=0,g=[0],p;for(p=c+e;p<d;p+=e){var q=b[p],r=b[p+1],n=n+Math.sqrt((q-h)*(q-h)+(r-k)*(r-k));g.push(n);h=q;k=r}d=.5*n;for(var t,h=Bb,k=0,n=g.length;k<n;)p=k+n>>1,q=h(d,g[p]),0<q?k=p+1:(n=p,t=!q);t=t?k:~k;0>t?(d=(d-g[-t-2])/(g[-t-1]-g[-t-2]),c+=(-t-2)*e,g=Kb(b[c],b[c+e],d),h=Kb(b[c+1],b[c+e+1],d)):(g=b[c+t*e],h=b[c+t*e+1])}return null!=f?
(f[0]=g,f[1]=h,f):[g,h]}function fn(b,c,d,e,f,g){if(d==c)return null;if(f<b[c+e-1])return g?(d=b.slice(c,c+e),d[e-1]=f,d):null;if(b[d-1]<f)return g?(d=b.slice(d-e,d),d[e-1]=f,d):null;if(f==b[c+e-1])return b.slice(c,c+e);c/=e;for(d/=e;c<d;)g=c+d>>1,f<b[(g+1)*e-1]?d=g:c=g+1;d=b[c*e-1];if(f==d)return b.slice((c-1)*e,(c-1)*e+e);g=(f-d)/(b[(c+1)*e-1]-d);d=[];var h;for(h=0;h<e-1;++h)d.push(Kb(b[(c-1)*e+h],b[c*e+h],g));d.push(f);return d}
function gn(b,c,d,e,f,g){var h=0;if(g)return fn(b,h,c[c.length-1],d,e,f);if(e<b[d-1])return f?(b=b.slice(0,d),b[d-1]=e,b):null;if(b[b.length-1]<e)return f?(b=b.slice(b.length-d),b[d-1]=e,b):null;f=0;for(g=c.length;f<g;++f){var k=c[f];if(h!=k){if(e<b[h+d-1])break;if(e<=b[k-1])return fn(b,h,k,d,e,!1);h=k}}return null};function P(b,c){cf.call(this);this.g=null;this.D=this.C=this.l=-1;m(b)&&this.ma(b,c)}x(P,cf);l=P.prototype;l.Zi=function(b){null===this.s?this.s=b.slice():xb(this.s,b);this.o()};l.clone=function(){var b=new P(null);hn(b,this.b,this.s.slice());return b};l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;this.D!=this.f&&(this.C=Math.sqrt(lf(this.s,0,this.s.length,this.a,0)),this.D=this.f);return nf(this.s,0,this.s.length,this.a,this.C,!1,b,c,d,e)};
l.oj=function(b,c){return Ef(this.s,0,this.s.length,this.a,b,c)};l.Nl=function(b,c){return"XYM"!=this.b&&"XYZM"!=this.b?null:fn(this.s,0,this.s.length,this.a,b,m(c)?c:!1)};l.X=function(){return sf(this.s,0,this.s.length,this.a)};l.Ol=function(){var b=this.s,c=this.a,d=b[0],e=b[1],f=0,g;for(g=0+c;g<this.s.length;g+=c)var h=b[g],k=b[g+1],f=f+Math.sqrt((h-d)*(h-d)+(k-e)*(k-e)),d=h,e=k;return f};function vm(b){b.l!=b.f&&(b.g=en(b.s,0,b.s.length,b.a,b.g),b.l=b.f);return b.g}
l.Kc=function(b){var c=[];c.length=uf(this.s,0,this.s.length,this.a,b,c,0);b=new P(null);hn(b,"XY",c);return b};l.U=function(){return"LineString"};l.Aa=function(b){return Ff(this.s,0,this.s.length,this.a,b)};l.ma=function(b,c){null===b?hn(this,"XY",null):(ef(this,c,b,1),null===this.s&&(this.s=[]),this.s.length=qf(this.s,0,b,this.a),this.o())};function hn(b,c,d){b.sa(c,d);b.o()};function jn(b,c){cf.call(this);this.g=[];this.l=this.D=-1;m(b)&&this.ma(b,c)}x(jn,cf);l=jn.prototype;l.$i=function(b){null===this.s?this.s=b.ha().slice():xb(this.s,b.ha().slice());this.g.push(this.s.length);this.o()};l.clone=function(){var b=new jn(null),c=this.s.slice(),d=this.g.slice();b.sa(this.b,c,d);b.o();return b};
l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;this.l!=this.f&&(this.D=Math.sqrt(mf(this.s,0,this.g,this.a,0)),this.l=this.f);return of(this.s,0,this.g,this.a,this.D,!1,b,c,d,e)};l.Ql=function(b,c,d){return"XYM"!=this.b&&"XYZM"!=this.b||0===this.s.length?null:gn(this.s,this.g,this.a,b,m(c)?c:!1,m(d)?d:!1)};l.X=function(){return tf(this.s,0,this.g,this.a)};l.pb=function(){return this.g};
l.Kj=function(b){if(0>b||this.g.length<=b)return null;var c=new P(null);hn(c,this.b,this.s.slice(0===b?0:this.g[b-1],this.g[b]));return c};l.od=function(){var b=this.s,c=this.g,d=this.b,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],n=new P(null);hn(n,d,b.slice(f,k));e.push(n);f=k}return e};function wm(b){var c=[],d=b.s,e=0,f=b.g;b=b.a;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=en(d,e,k,b);xb(c,e);e=k}return c}
l.Kc=function(b){var c=[],d=[],e=this.s,f=this.g,g=this.a,h=0,k=0,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],k=uf(e,h,q,g,b,c,k);d.push(k);h=q}c.length=k;b=new jn(null);b.sa("XY",c,d);b.o();return b};l.U=function(){return"MultiLineString"};l.Aa=function(b){a:{var c=this.s,d=this.g,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(Ff(c,f,d[g],e,b)){b=!0;break a}f=d[g]}b=!1}return b};
l.ma=function(b,c){if(null===b)this.sa("XY",null,this.g);else{ef(this,c,b,2);null===this.s&&(this.s=[]);var d=rf(this.s,0,b,this.a,this.g);this.s.length=0===d.length?0:d[d.length-1]}this.o()};l.sa=function(b,c,d){jn.ba.sa.call(this,b,c);this.g=d};function kn(b,c){var d="XY",e=[],f=[],g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];0===g&&(d=k.b);xb(e,k.ha());f.push(e.length)}b.sa(d,e,f);b.o()};function ln(b,c){cf.call(this);m(b)&&this.ma(b,c)}x(ln,cf);l=ln.prototype;l.bj=function(b){null===this.s?this.s=b.ha().slice():xb(this.s,b.ha());this.o()};l.clone=function(){var b=new ln(null),c=this.s.slice();b.sa(this.b,c);b.o();return b};l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;var f=this.s,g=this.a,h,k,n;h=0;for(k=f.length;h<k;h+=g)if(n=jf(b,c,f[h],f[h+1]),n<e){e=n;for(n=0;n<g;++n)d[n]=f[h+n];d.length=g}return e};l.X=function(){return sf(this.s,0,this.s.length,this.a)};
l.Tj=function(b){var c=null===this.s?0:this.s.length/this.a;if(0>b||c<=b)return null;c=new yf(null);zf(c,this.b,this.s.slice(b*this.a,(b+1)*this.a));return c};l.qe=function(){var b=this.s,c=this.b,d=this.a,e=[],f,g;f=0;for(g=b.length;f<g;f+=d){var h=new yf(null);zf(h,c,b.slice(f,f+d));e.push(h)}return e};l.U=function(){return"MultiPoint"};l.Aa=function(b){var c=this.s,d=this.a,e,f,g,h;e=0;for(f=c.length;e<f;e+=d)if(g=c[e],h=c[e+1],ic(b,g,h))return!0;return!1};
l.ma=function(b,c){null===b?this.sa("XY",null):(ef(this,c,b,1),null===this.s&&(this.s=[]),this.s.length=qf(this.s,0,b,this.a));this.o()};function mn(b,c){cf.call(this);this.g=[];this.D=-1;this.C=null;this.S=this.M=this.T=-1;this.l=null;m(b)&&this.ma(b,c)}x(mn,cf);l=mn.prototype;l.cj=function(b){if(null===this.s)this.s=b.ha().slice(),b=b.pb().slice(),this.g.push();else{var c=this.s.length;xb(this.s,b.ha());b=b.pb().slice();var d,e;d=0;for(e=b.length;d<e;++d)b[d]+=c}this.g.push(b);this.o()};l.clone=function(){var b=new mn(null),c=Yc(this.g),d=this.s.slice();b.sa(this.b,d,c);b.o();return b};
l.fb=function(b,c,d,e){if(e<gc(this.P(),b,c))return e;if(this.M!=this.f){var f=this.g,g=0,h=0,k,n;k=0;for(n=f.length;k<n;++k)var p=f[k],h=mf(this.s,g,p,this.a,h),g=p[p.length-1];this.T=Math.sqrt(h);this.M=this.f}f=xm(this);g=this.g;h=this.a;k=this.T;n=0;var p=m(void 0)?void 0:[NaN,NaN],q,r;q=0;for(r=g.length;q<r;++q){var t=g[q];e=of(f,n,t,h,k,!0,b,c,d,e,p);n=t[t.length-1]}return e};
l.sc=function(b,c){var d;a:{d=xm(this);var e=this.g,f=0;if(0!==e.length){var g,h;g=0;for(h=e.length;g<h;++g){var k=e[g];if(Cf(d,f,k,this.a,b,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.Rl=function(){var b=xm(this),c=this.g,d=0,e=0,f,g;f=0;for(g=c.length;f<g;++f)var h=c[f],e=e+gf(b,d,h,this.a),d=h[h.length-1];return e};
l.X=function(b){var c;m(b)?(c=xm(this).slice(),Kf(c,this.g,this.a,b)):c=this.s;b=c;c=this.g;var d=this.a,e=0,f=m(void 0)?void 0:[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var n=c[h];f[g++]=tf(b,e,n,d,f[g]);e=n[n.length-1]}f.length=g;return f};
function zm(b){if(b.D!=b.f){var c=b.s,d=b.g,e=b.a,f=0,g=[],h,k,n=ac();h=0;for(k=d.length;h<k;++h){var p=d[h],n=mc(c,f,p[0],e);g.push((n[0]+n[2])/2,(n[1]+n[3])/2);f=p[p.length-1]}c=xm(b);d=b.g;e=b.a;f=0;h=[];k=0;for(n=d.length;k<n;++k)p=d[k],h=Df(c,f,p,e,g,2*k,h),f=p[p.length-1];b.C=h;b.D=b.f}return b.C}l.Hj=function(){var b=new ln(null),c=zm(this).slice();b.sa("XY",c);b.o();return b};
function xm(b){if(b.S!=b.f){var c=b.s,d;a:{d=b.g;var e,f;e=0;for(f=d.length;e<f;++e)if(!If(c,d[e],b.a,void 0)){d=!1;break a}d=!0}d?b.l=c:(b.l=c.slice(),b.l.length=Kf(b.l,b.g,b.a));b.S=b.f}return b.l}l.Kc=function(b){var c=[],d=[],e=this.s,f=this.g,g=this.a;b=Math.sqrt(b);var h=0,k=0,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],r=[],k=vf(e,h,q,g,b,c,k,r);d.push(r);h=q[q.length-1]}c.length=k;e=new mn(null);e.sa("XY",c,d);e.o();return e};
l.Vj=function(b){if(0>b||this.g.length<=b)return null;var c;0===b?c=0:(c=this.g[b-1],c=c[c.length-1]);b=this.g[b].slice();var d=b[b.length-1];if(0!==c){var e,f;e=0;for(f=b.length;e<f;++e)b[e]-=c}e=new E(null);Lf(e,this.b,this.s.slice(c,d),b);return e};l.Yd=function(){var b=this.b,c=this.s,d=this.g,e=[],f=0,g,h,k,n;g=0;for(h=d.length;g<h;++g){var p=d[g].slice(),q=p[p.length-1];if(0!==f)for(k=0,n=p.length;k<n;++k)p[k]-=f;k=new E(null);Lf(k,b,c.slice(f,q),p);e.push(k);f=q}return e};l.U=function(){return"MultiPolygon"};
l.Aa=function(b){a:{var c=xm(this),d=this.g,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(Gf(c,f,k,e,b)){b=!0;break a}f=k[k.length-1]}b=!1}return b};l.ma=function(b,c){if(null===b)this.sa("XY",null,this.g);else{ef(this,c,b,3);null===this.s&&(this.s=[]);var d=this.s,e=this.a,f=this.g,g=0,f=m(f)?f:[],h=0,k,n;k=0;for(n=b.length;k<n;++k)g=rf(d,g,b[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.s.length=0:(d=f[f.length-1],this.s.length=0===d.length?0:d[d.length-1])}this.o()};
l.sa=function(b,c,d){mn.ba.sa.call(this,b,c);this.g=d};function nn(b,c){var d="XY",e=[],f=[],g,h,k;g=0;for(h=c.length;g<h;++g){var n=c[g];0===g&&(d=n.b);var p=e.length;k=n.pb();var q,r;q=0;for(r=k.length;q<r;++q)k[q]+=p;xb(e,n.ha());f.push(k)}b.sa(d,e,f);b.o()};function on(b,c){return ma(b)-ma(c)}function pn(b,c){var d=.5*b/c;return d*d}function qn(b,c,d,e,f,g){var h=!1,k,n;k=d.W();null!==k&&(n=k.vd(),2==n||3==n?k.Xf(f,g):(0==n&&k.load(),k.tf(f,g),h=!0));f=(0,d.g)(c);null!=f&&(e=f.$d(e),(0,rn[e.U()])(b,e,d,c));return h}
var rn={Point:function(b,c,d,e){var f=d.W();if(null!==f){if(2!=f.vd())return;var g=b.a(d.a,"Image");g.nb(f);g.wb(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),b.xb(c.ha(),0,2,2,c,e))},LineString:function(b,c,d,e){var f=d.b;if(null!==f){var g=b.a(d.a,"LineString");g.Pa(null,f);g.Qb(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),b.xb(vm(c),0,2,2,c,e))},Polygon:function(b,c,d,e){var f=d.c,g=d.b;if(null!==f||null!==g){var h=b.a(d.a,"Polygon");h.Pa(f,g);h.mc(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),
b.Qa(f),b.xb(Mf(c),0,2,2,c,e))},MultiPoint:function(b,c,d,e){var f=d.W();if(null!==f){if(2!=f.vd())return;var g=b.a(d.a,"Image");g.nb(f);g.vb(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),d=c.ha(),b.xb(d,0,d.length,c.ta(),c,e))},MultiLineString:function(b,c,d,e){var f=d.b;if(null!==f){var g=b.a(d.a,"LineString");g.Pa(null,f);g.Hc(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),d=wm(c),b.xb(d,0,d.length,2,c,e))},MultiPolygon:function(b,c,d,e){var f=d.c,g=d.b;if(null!==g||null!==f){var h=b.a(d.a,
"Polygon");h.Pa(f,g);h.Ic(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),d=zm(c),b.xb(d,0,d.length,2,c,e))},GeometryCollection:function(b,c,d,e){c=c.c;var f,g;f=0;for(g=c.length;f<g;++f)(0,rn[c[f].U()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.c,g=d.b;if(null!==f||null!==g){var h=b.a(d.a,"Polygon");h.Pa(f,g);h.Gc(c,e)}f=d.f;null!==f&&(b=b.a(d.a,"Text"),b.Qa(f),b.xb(c.rd(),0,2,2,c,e))}};function sn(b,c,d,e,f,g){this.b=m(g)?g:null;mk.call(this,b,c,d,m(g)?0:2,e);this.f=f;this.a=null}x(sn,mk);sn.prototype.getError=function(){return this.a};sn.prototype.i=function(b){b?(this.a=b,this.state=3):this.state=2;nk(this)};sn.prototype.load=function(){0==this.state&&(this.state=1,nk(this),this.b(ra(this.i,this)))};sn.prototype.W=function(){return this.f};function tn(b){Gh.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state});this.v=m(b.resolutions)?b.resolutions:null}x(tn,Gh);function un(b,c){if(null!==b.v){var d=Te(b.v,c,0);c=b.v[d]}return c}tn.prototype.l=function(b){b=b.target;switch(b.state){case 1:D(this,new vn(wn,b));break;case 2:D(this,new vn(xn,b));break;case 3:D(this,new vn(yn,b))}};function zn(b,c){b.W().src=c}function vn(b,c){xd.call(this,b);this.image=c}x(vn,xd);
var wn="imageloadstart",xn="imageloadend",yn="imageloaderror";function An(b){tn.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection,resolutions:b.resolutions,state:m(b.state)?b.state:void 0});this.Z=b.canvasFunction;this.M=null;this.S=0;this.ca=m(b.ratio)?b.ratio:1.5}x(An,tn);An.prototype.W=function(b,c,d,e){c=un(this,c);var f=this.M;if(null!==f&&this.S==this.f&&f.resolution==c&&f.c==d&&jc(f.P(),b))return f;b=b.slice();Dc(b,this.ca);e=this.Z(b,c,d,[Bc(b)/c*d,yc(b)/c*d],e);null===e||(f=new sn(b,c,d,this.g,e));this.M=f;this.S=this.f;return f};function Bn(b){je.call(this);this.ja=void 0;this.a="geometry";this.c=null;this.g=void 0;this.b=null;B(this,le(this.a),this.ce,!1,this);m(b)&&(b instanceof Pe||null===b?this.za(b):this.H(b))}x(Bn,je);l=Bn.prototype;l.clone=function(){var b=new Bn(this.O());b.xc(this.a);var c=this.V();null!=c&&b.za(c.clone());c=this.c;null===c||b.wf(c);return b};l.V=function(){return this.get(this.a)};l.Ej=function(){return this.ja};l.Dj=function(){return this.a};l.ll=function(){return this.c};l.Ta=function(){return this.g};
l.ml=function(){this.o()};l.ce=function(){null!==this.b&&($d(this.b),this.b=null);var b=this.V();null!=b&&(this.b=B(b,"change",this.ml,!1,this));this.o()};l.za=function(b){this.set(this.a,b)};l.wf=function(b){this.c=b;null===b?b=void 0:ka(b)||(b=ga(b)?b:[b],b=va(b));this.g=b;this.o()};l.fc=function(b){this.ja=b;this.o()};l.xc=function(b){Zd(this,le(this.a),this.ce,!1,this);this.a=b;B(this,le(this.a),this.ce,!1,this);this.ce()};function Cn(b){b.prototype.then=b.prototype.then;b.prototype.$goog_Thenable=!0}function Dn(b){if(!b)return!1;try{return!!b.$goog_Thenable}catch(c){return!1}};function En(b,c,d){this.c=d;this.b=b;this.g=c;this.f=0;this.a=null}En.prototype.get=function(){var b;0<this.f?(this.f--,b=this.a,this.a=b.next,b.next=null):b=this.b();return b};function Fn(b,c){b.g(c);b.f<b.c&&(b.f++,c.next=b.a,b.a=c)};function Gn(){this.f=this.a=null}var In=new En(function(){return new Hn},function(b){b.reset()},100);Gn.prototype.add=function(b,c){var d=In.get();d.set(b,c);this.f?this.f.next=d:this.a=d;this.f=d};Gn.prototype.remove=function(){var b=null;this.a&&(b=this.a,this.a=this.a.next,this.a||(this.f=null),b.next=null);return b};function Hn(){this.next=this.f=this.a=null}Hn.prototype.set=function(b,c){this.a=b;this.f=c;this.next=null};Hn.prototype.reset=function(){this.next=this.f=this.a=null};function Jn(b,c){Kn||Ln();Mn||(Kn(),Mn=!0);Nn.add(b,c)}var Kn;function Ln(){if(ba.Promise&&ba.Promise.resolve){var b=ba.Promise.resolve(void 0);Kn=function(){b.then(On)}}else Kn=function(){ti(On)}}var Mn=!1,Nn=new Gn;function On(){for(var b=null;b=Nn.remove();){try{b.a.call(b.f)}catch(c){si(c)}Fn(In,b)}Mn=!1};function Pn(b,c){this.a=Qn;this.j=void 0;this.c=this.f=this.b=null;this.g=this.i=!1;if(b!=ca)try{var d=this;b.call(c,function(b){Rn(d,Sn,b)},function(b){Rn(d,Tn,b)})}catch(e){Rn(this,Tn,e)}}var Qn=0,Sn=2,Tn=3;function Un(){this.next=this.b=this.f=this.c=this.a=null;this.g=!1}Un.prototype.reset=function(){this.b=this.f=this.c=this.a=null;this.g=!1};var Vn=new En(function(){return new Un},function(b){b.reset()},100);function Wn(b,c,d){var e=Vn.get();e.c=b;e.f=c;e.b=d;return e}
Pn.prototype.then=function(b,c,d){return Xn(this,ka(b)?b:null,ka(c)?c:null,d)};Cn(Pn);Pn.prototype.cancel=function(b){this.a==Qn&&Jn(function(){var c=new Yn(b);Zn(this,c)},this)};function Zn(b,c){if(b.a==Qn)if(b.b){var d=b.b;if(d.f){for(var e=0,f=null,g=null,h=d.f;h&&(h.g||(e++,h.a==b&&(f=h),!(f&&1<e)));h=h.next)f||(g=h);f&&(d.a==Qn&&1==e?Zn(d,c):(g?(e=g,e.next==d.c&&(d.c=e),e.next=e.next.next):$n(d),ao(d,f,Tn,c)))}b.b=null}else Rn(b,Tn,c)}
function bo(b,c){b.f||b.a!=Sn&&b.a!=Tn||co(b);b.c?b.c.next=c:b.f=c;b.c=c}function Xn(b,c,d,e){var f=Wn(null,null,null);f.a=new Pn(function(b,h){f.c=c?function(d){try{var f=c.call(e,d);b(f)}catch(p){h(p)}}:b;f.f=d?function(c){try{var f=d.call(e,c);!m(f)&&c instanceof Yn?h(c):b(f)}catch(p){h(p)}}:h});f.a.b=b;bo(b,f);return f.a}Pn.prototype.B=function(b){this.a=Qn;Rn(this,Sn,b)};Pn.prototype.v=function(b){this.a=Qn;Rn(this,Tn,b)};
function Rn(b,c,d){if(b.a==Qn){b==d&&(c=Tn,d=new TypeError("Promise cannot resolve to itself"));b.a=1;var e;a:{var f=d,g=b.B,h=b.v;if(f instanceof Pn)bo(f,Wn(g||ca,h||null,b)),e=!0;else if(Dn(f))f.then(g,h,b),e=!0;else{if(la(f))try{var k=f.then;if(ka(k)){eo(f,k,g,h,b);e=!0;break a}}catch(n){h.call(b,n);e=!0;break a}e=!1}}e||(b.j=d,b.a=c,b.b=null,co(b),c!=Tn||d instanceof Yn||fo(b,d))}}
function eo(b,c,d,e,f){function g(b){k||(k=!0,e.call(f,b))}function h(b){k||(k=!0,d.call(f,b))}var k=!1;try{c.call(b,h,g)}catch(n){g(n)}}function co(b){b.i||(b.i=!0,Jn(b.l,b))}function $n(b){var c=null;b.f&&(c=b.f,b.f=c.next,c.next=null);b.f||(b.c=null);return c}Pn.prototype.l=function(){for(var b=null;b=$n(this);)ao(this,b,this.a,this.j);this.i=!1};
function ao(b,c,d,e){if(d==Tn&&c.f&&!c.g)for(;b&&b.g;b=b.b)b.g=!1;if(c.a)c.a.b=null,go(c,d,e);else try{c.g?c.c.call(c.b):go(c,d,e)}catch(f){ho.call(null,f)}Fn(Vn,c)}function go(b,c,d){c==Sn?b.c.call(b.b,d):b.f&&b.f.call(b.b,d)}function fo(b,c){b.g=!0;Jn(function(){b.g&&ho.call(null,c)})}var ho=si;function Yn(b){Da.call(this,b)}x(Yn,Da);Yn.prototype.name="cancel";function io(b,c,d){if(ka(b))d&&(b=ra(b,d));else if(b&&"function"==typeof b.handleEvent)b=ra(b.handleEvent,b);else throw Error("Invalid listener argument");return 2147483647<c?-1:ba.setTimeout(b,c||0)};var jo=ba.JSON.parse,ko=ba.JSON.stringify;function lo(){}lo.prototype.a=null;function mo(b){var c;(c=b.a)||(c={},no(b)&&(c[0]=!0,c[1]=!0),c=b.a=c);return c};var oo;function po(){}x(po,lo);function qo(b){return(b=no(b))?new ActiveXObject(b):new XMLHttpRequest}function no(b){if(!b.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var c=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],d=0;d<c.length;d++){var e=c[d];try{return new ActiveXObject(e),b.f=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return b.f}oo=new po;var ro=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function so(b){if(to){to=!1;var c=ba.location;if(c){var d=c.href;if(d&&(d=(d=so(d)[3]||null)?decodeURI(d):d)&&d!=c.hostname)throw to=!0,Error();}}return b.match(ro)}var to=ed;
function uo(b,c){if(b)for(var d=b.split("&"),e=0;e<d.length;e++){var f=d[e].indexOf("="),g=null,h=null;0<=f?(g=d[e].substring(0,f),h=d[e].substring(f+1)):g=d[e];c(g,h?decodeURIComponent(h.replace(/\+/g," ")):"")}}function vo(b){if(b[1]){var c=b[0],d=c.indexOf("#");0<=d&&(b.push(c.substr(d)),b[0]=c=c.substr(0,d));d=c.indexOf("?");0>d?b[1]="?":d==c.length-1&&(b[1]=void 0)}return b.join("")}
function wo(b,c,d){if(ga(c))for(var e=0;e<c.length;e++)wo(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))}function xo(b,c){for(var d in c)wo(d,c[d],b);return b};function yo(b){de.call(this);this.M=new xi;this.B=b||null;this.a=!1;this.l=this.ea=null;this.g=this.T=this.A="";this.f=this.u=this.c=this.v=!1;this.j=0;this.b=null;this.i=zo;this.D=this.Z=!1}x(yo,de);var zo="",Ao=/^https?$/i,Bo=["POST","PUT"];
function Co(b,c){if(b.ea)throw Error("[goog.net.XhrIo] Object is active with another request="+b.A+"; newUri="+c);b.A=c;b.g="";b.T="GET";b.v=!1;b.a=!0;b.ea=b.B?qo(b.B):qo(oo);b.l=b.B?mo(b.B):mo(oo);b.ea.onreadystatechange=ra(b.C,b);try{b.u=!0,b.ea.open("GET",String(c),!0),b.u=!1}catch(d){Do(b,d);return}var e=b.M.clone(),f=rb(e.N(),Eo),g=ba.FormData&&!1;!tb(Bo,"GET")||f||g||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(b,c){this.ea.setRequestHeader(c,b)},
b);b.i&&(b.ea.responseType=b.i);"withCredentials"in b.ea&&(b.ea.withCredentials=b.Z);try{Fo(b),0<b.j&&(b.D=Go(b.ea),b.D?(b.ea.timeout=b.j,b.ea.ontimeout=ra(b.Ac,b)):b.b=io(b.Ac,b.j,b)),b.c=!0,b.ea.send(""),b.c=!1}catch(h){Do(b,h)}}function Go(b){return bd&&md(9)&&ja(b.timeout)&&m(b.ontimeout)}function Eo(b){return"content-type"==b.toLowerCase()}
yo.prototype.Ac=function(){"undefined"!=typeof aa&&this.ea&&(this.g="Timed out after "+this.j+"ms, aborting",D(this,"timeout"),this.ea&&this.a&&(this.a=!1,this.f=!0,this.ea.abort(),this.f=!1,D(this,"complete"),D(this,"abort"),Ho(this)))};function Do(b,c){b.a=!1;b.ea&&(b.f=!0,b.ea.abort(),b.f=!1);b.g=c;Io(b);Ho(b)}function Io(b){b.v||(b.v=!0,D(b,"complete"),D(b,"error"))}yo.prototype.Y=function(){this.ea&&(this.a&&(this.a=!1,this.f=!0,this.ea.abort(),this.f=!1),Ho(this,!0));yo.ba.Y.call(this)};
yo.prototype.C=function(){this.fa||(this.u||this.c||this.f?Jo(this):this.S())};yo.prototype.S=function(){Jo(this)};function Jo(b){if(b.a&&"undefined"!=typeof aa&&(!b.l[1]||4!=Ko(b)||2!=Lo(b)))if(b.c&&4==Ko(b))io(b.C,0,b);else if(D(b,"readystatechange"),4==Ko(b)){b.a=!1;try{if(Mo(b))D(b,"complete"),D(b,"success");else{var c;try{c=2<Ko(b)?b.ea.statusText:""}catch(d){c=""}b.g=c+" ["+Lo(b)+"]";Io(b)}}finally{Ho(b)}}}
function Ho(b,c){if(b.ea){Fo(b);var d=b.ea,e=b.l[0]?ca:null;b.ea=null;b.l=null;c||D(b,"ready");try{d.onreadystatechange=e}catch(f){}}}function Fo(b){b.ea&&b.D&&(b.ea.ontimeout=null);ja(b.b)&&(ba.clearTimeout(b.b),b.b=null)}
function Mo(b){var c=Lo(b),d;a:switch(c){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:d=!0;break a;default:d=!1}if(!d){if(c=0===c)b=so(String(b.A))[1]||null,!b&&ba.self&&ba.self.location&&(b=ba.self.location.protocol,b=b.substr(0,b.length-1)),c=!Ao.test(b?b.toLowerCase():"");d=c}return d}function Ko(b){return b.ea?b.ea.readyState:0}function Lo(b){try{return 2<Ko(b)?b.ea.status:-1}catch(c){return-1}}function No(b){try{return b.ea?b.ea.responseText:""}catch(c){return""}}
function Oo(b){try{if(!b.ea)return null;if("response"in b.ea)return b.ea.response;switch(b.i){case zo:case "text":return b.ea.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in b.ea)return b.ea.mozResponseArrayBuffer}return null}catch(c){return null}};function Po(b){if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(b);if(b=b.xml)return b;throw Error("Your browser does not support serializing XML documents");};var Qo;a:if(document.implementation&&document.implementation.createDocument)Qo=document.implementation.createDocument("","",null);else{if("undefined"!=typeof ActiveXObject){var Ro=new ActiveXObject("MSXML2.DOMDocument");if(Ro){Ro.resolveExternals=!1;Ro.validateOnParse=!1;try{Ro.setProperty("ProhibitDTD",!0),Ro.setProperty("MaxXMLSize",2048),Ro.setProperty("MaxElementDepth",256)}catch(So){}}if(Ro){Qo=Ro;break a}}throw Error("Your browser does not support creating new documents");}var To=Qo;
function Uo(b,c){return To.createElementNS(b,c)}function Vo(b,c){null===b&&(b="");return To.createNode(1,c,b)}var Wo=document.implementation&&document.implementation.createDocument?Uo:Vo;function Xo(b,c){return Yo(b,c,[]).join("")}function Yo(b,c,d){if(4==b.nodeType||3==b.nodeType)c?d.push(String(b.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(b.nodeValue);else for(b=b.firstChild;null!==b;b=b.nextSibling)Yo(b,c,d);return d}function Zo(b){return b.localName}
function $o(b){var c=b.localName;return m(c)?c:b.baseName}var ap=bd?$o:Zo;function bp(b){return b instanceof Document}function cp(b){return la(b)&&9==b.nodeType}var dp=bd?cp:bp;function ep(b){return b instanceof Node}function fp(b){return la(b)&&m(b.nodeType)}var gp=bd?fp:ep;function hp(b,c,d){return b.getAttributeNS(c,d)||""}function ip(b,c,d){var e="";b=jp(b,c,d);m(b)&&(e=b.nodeValue);return e}var kp=document.implementation&&document.implementation.createDocument?hp:ip;
function lp(b,c,d){return b.getAttributeNodeNS(c,d)}function mp(b,c,d){var e=null;b=b.attributes;for(var f,g,h=0,k=b.length;h<k;++h)if(f=b[h],f.namespaceURI==c&&(g=f.prefix?f.prefix+":"+d:d,g==f.nodeName)){e=f;break}return e}var jp=document.implementation&&document.implementation.createDocument?lp:mp;function np(b,c,d,e){b.setAttributeNS(c,d,e)}function op(b,c,d,e){null===c?b.setAttribute(d,e):(c=b.ownerDocument.createNode(2,d,c),c.nodeValue=e,b.setAttributeNode(c))}
var pp=document.implementation&&document.implementation.createDocument?np:op;function qp(b){return(new DOMParser).parseFromString(b,"application/xml")}function rp(b,c){return function(d,e){var f=b.call(c,d,e);m(f)&&xb(e[e.length-1],f)}}function sp(b,c){return function(d,e){var f=b.call(m(c)?c:this,d,e);m(f)&&e[e.length-1].push(f)}}function tp(b,c){return function(d,e){var f=b.call(m(c)?c:this,d,e);m(f)&&(e[e.length-1]=f)}}
function up(b){return function(c,d){var e=b.call(m(void 0)?void 0:this,c,d);m(e)&&Wc(d[d.length-1],m(void 0)?void 0:c.localName).push(e)}}function R(b,c){return function(d,e){var f=b.call(m(void 0)?void 0:this,d,e);m(f)&&(e[e.length-1][m(c)?c:d.localName]=f)}}function T(b,c){return function(d,e,f){b.call(m(c)?c:this,d,e,f);f[f.length-1].node.appendChild(d)}}function vp(b){var c,d;return function(e,f,g){if(!m(c)){c={};var h={};h[e.localName]=b;c[e.namespaceURI]=h;d=wp(e.localName)}xp(c,d,f,g)}}
function wp(b,c){return function(d,e,f){d=e[e.length-1].node;e=b;m(e)||(e=f);f=c;m(c)||(f=d.namespaceURI);return Wo(f,e)}}var yp=wp();function zp(b,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=b[c[f]];return e}function U(b,c,d){d=m(d)?d:{};var e,f;e=0;for(f=b.length;e<f;++e)d[b[e]]=c;return d}function Ap(b,c,d,e){for(c=c.firstElementChild;null!==c;c=c.nextElementSibling){var f=b[c.namespaceURI];m(f)&&(f=f[c.localName],m(f)&&f.call(e,c,d))}}
function V(b,c,d,e,f){e.push(b);Ap(c,d,e,f);return e.pop()}function xp(b,c,d,e,f,g){for(var h=(m(f)?f:d).length,k,n,p=0;p<h;++p)k=d[p],m(k)&&(n=c.call(g,k,e,m(f)?f[p]:void 0),m(n)&&b[n.namespaceURI][n.localName].call(g,n,k,e))}function Bp(b,c,d,e,f,g,h){f.push(b);xp(c,d,e,f,g,h);f.pop()};function Cp(b,c,d,e){return function(f,g,h){var k=new yo;k.i="arraybuffer"==c.U()?"arraybuffer":"text";B(k,"complete",function(b){b=b.target;if(Mo(b)){var f=c.U(),g;if("json"==f)g=No(b);else if("text"==f)g=No(b);else if("xml"==f){if(!bd)try{g=b.ea?b.ea.responseXML:null}catch(k){g=null}null!=g||(g=qp(No(b)))}else"arraybuffer"==f&&(g=Oo(b));null!=g&&(f=c.xa(g,{featureProjection:h}),2==d.length?d.call(this,f,c.Ga(g)):d.call(this,f))}else e.call(this);wd(b)},!1,this);ka(b)?Co(k,b(f,g,h)):Co(k,b)}}
function Dp(b,c){return Cp(b,c,function(b,c){this.f=c;this.c=b;this.state=2;Fh(this)},function(){this.state=3;Fh(this)})}function Ep(b,c){return Cp(b,c,function(b){this.kc(b)},ca)};function Fp(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Gp,Hp,Ip,Jp;
(function(){var b={ia:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.Ve=Math.max(4,b||9);this.hg=Math.max(2,Math.ceil(.4*this.Ve));d&&this.Pi(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.Ma?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 n(b){return b[2]-b[0]+(b[3]-b[1])}function p(b,c){return b[0]<=c[0]&&b[1]<=c[1]&&c[2]<=b[2]&&c[3]<=b[3]}function q(b,c){return c[0]<=b[2]&&c[1]<=b[3]&&c[2]>=b[0]&&c[3]>=b[1]}function r(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,t(b,c,d,h,f),g.push(c,h,h,d))}function t(b,c,d,e,f){for(var g,h,k,n,p;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g),
n=.5*Math.exp(2*k/3),p=.5*Math.sqrt(k*n*(g-n)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*n/g+p)),h=Math.min(d,Math.floor(e+(g-h)*n/g+p)),t(b,k,h,e,f));g=b[e];h=c;n=d;u(b,c,e);for(0<f(b[d],g)&&u(b,c,d);h<n;){u(b,h,n);h++;for(n--;0>f(b[h],g);)h++;for(;0<f(b[n],g);)n--}0===f(b[c],g)?u(b,c,n):(n++,u(b,n,d));n<=e&&(c=n+1);e<=n&&(d=n-1)}}function u(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.cg(this.data,[])},search:function(b){var c=this.data,d=[],e=this.Wa;if(!q(b,c.bbox))return d;
for(var f=[],g,h,k,n;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],n=c.Ma?e(k):k.bbox,q(b,n)&&(c.Ma?d.push(k):p(b,n)?this.cg(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.hg){for(var c=0,d=b.length;c<d;c++)this.ua(b[c]);return this}b=this.eg(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.jg(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.gg(b,this.data.height-b.height-1,
!0)):this.data=b;return this},ua:function(b){b&&this.gg(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Ma:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.Wa(b),e=[],f=[],g,h,k,n;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),n=!0);if(c.Ma&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Ni(e);break}n||c.Ma||!p(c.bbox,d)?h?(g++,c=h.children[g],n=!1):c=null:
(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},Wa:function(b){return b},Ze:function(b,c){return b[0]-c[0]},$e:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},cg:function(b,c){for(var d=[];b;)b.Ma?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},eg:function(b,c,e,f){var g=e-c+1,h=this.Ve,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,Ma:!0},d(k,this.Wa),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};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),n,p,q;for(r(b,c,e,h,this.Ze);c<=e;c+=h)for(p=Math.min(c+h-1,e),r(b,c,p,g,this.$e),n=c;n<=p;n+=g)q=Math.min(n+g-1,p),k.children.push(this.eg(b,n,q,f-1));d(k,this.Wa);return k},Mi:function(b,c,d,e){for(var f,g,h,n,p,q,r,t;;){e.push(c);if(c.Ma||e.length-1===d)break;r=t=Infinity;f=0;for(g=c.children.length;f<g;f++){h=c.children[f];p=k(h.bbox);q=b;var u=h.bbox;q=(Math.max(u[2],q[2])-Math.min(u[0],q[0]))*(Math.max(u[3],
q[3])-Math.min(u[1],q[1]))-p;q<t?(t=q,r=p<r?p:r,n=h):q===t&&p<r&&(r=p,n=h)}c=n}return c},gg:function(b,c,d){var e=this.Wa;d=d?b.bbox:e(b);var e=[],g=this.Mi(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Ve)this.Vi(e,c),c--;else break;this.Ji(d,e,c)},Vi:function(b,c){var e=b[c],f=e.children.length,g=this.hg;this.Ki(e,g,f);f={children:e.children.splice(this.Li(e,g,f)),height:e.height};e.Ma&&(f.Ma=!0);d(e,this.Wa);d(f,this.Wa);c?b[c-1].children.push(f):this.jg(e,
f)},jg:function(b,c){this.data={children:[b,c],height:b.height+1};d(this.data,this.Wa)},Li:function(b,c,d){var f,g,h,n,p,q,r;p=q=Infinity;for(f=c;f<=d-c;f++){g=e(b,0,f,this.Wa);h=e(b,f,d,this.Wa);var t=g,u=h;n=Math.max(t[0],u[0]);var Ia=Math.max(t[1],u[1]),gb=Math.min(t[2],u[2]),t=Math.min(t[3],u[3]);n=Math.max(0,gb-n)*Math.max(0,t-Ia);g=k(g)+k(h);n<p?(p=n,r=f,q=g<q?g:q):n===p&&g<q&&(q=g,r=f)}return r},Ki:function(b,c,d){var e=b.Ma?this.Ze:g,f=b.Ma?this.$e:h,k=this.dg(b,c,d,e);c=this.dg(b,c,d,f);
k<c&&b.children.sort(e)},dg:function(b,c,d,g){b.children.sort(g);g=this.Wa;var h=e(b,0,c,g),k=e(b,d-c,d,g),p=n(h)+n(k),q,r;for(q=c;q<d-c;q++)r=b.children[q],f(h,b.Ma?g(r):r.bbox),p+=n(h);for(q=d-c-1;q>=c;q--)r=b.children[q],f(k,b.Ma?g(r):r.bbox),p+=n(k);return p},Ji:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Ni: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.Wa)},Pi:function(b){var c=["return a"," - b",
";"];this.Ze=new Function("a","b",c.join(b[0]));this.$e=new Function("a","b",c.join(b[1]));this.Wa=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.ia=c:"undefined"!==typeof self?self.a=c:window.a=c})();Gp=b.ia})();function Kp(b){this.f=Gp(b);this.a={}}l=Kp.prototype;l.ua=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.f.ua(d);this.a[ma(c)]=d};l.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.a[ma(h)]=g}this.f.load(d)};l.remove=function(b){b=ma(b);var c=this.a[b];Uc(this.a,b);return null!==this.f.remove(c)};function Lp(b,c,d){var e=ma(d);oc(b.a[e].slice(0,4),c)||(b.remove(d),b.ua(c,d))}
function Mp(b){b=b.f.all();return pb(b,function(b){return b[4]})}function Np(b,c){var d=b.f.search(c);return pb(d,function(b){return b[4]})}l.forEach=function(b,c){return Op(Mp(this),b,c)};function Pp(b,c,d,e){return Op(Np(b,c),d,e)}function Op(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}l.Ia=function(){return Sc(this.a)};l.clear=function(){this.f.clear();this.a={}};l.P=function(){return this.f.data.bbox};function W(b){b=m(b)?b:{};Gh.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:m(b.wrapX)?b.wrapX:!0});this.S=ca;m(b.loader)?this.S=b.loader:m(b.url)&&(this.S=Ep(b.url,b.format));this.Ja=m(b.strategy)?b.strategy:Fp;var c=m(b.useSpatialIndex)?b.useSpatialIndex:!0;this.a=c?new Kp:null;this.Z=new Kp;this.c={};this.i={};this.l={};this.v={};this.b=null;var d,e;b.features instanceof ug?(d=b.features,e=d.a):ga(b.features)&&(e=b.features);c||m(d)||(d=new ug(e));m(e)&&
Qp(this,e);m(d)&&Rp(this,d)}x(W,Gh);l=W.prototype;l.Oc=function(b){var c=ma(b).toString();if(Sp(this,c,b)){Tp(this,c,b);var d=b.V();null!=d?(c=d.P(),null===this.a||this.a.ua(c,b)):this.c[c]=b;D(this,new Up("addfeature",b))}this.o()};function Tp(b,c,d){b.v[c]=[B(d,"change",b.jh,!1,b),B(d,"propertychange",b.jh,!1,b)]}function Sp(b,c,d){var e=!0,f=d.ja;m(f)?f.toString()in b.i?e=!1:b.i[f.toString()]=d:b.l[c]=d;return e}l.kc=function(b){Qp(this,b);this.o()};
function Qp(b,c){var d,e,f,g,h=[],k=[],n=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=ma(g).toString(),Sp(b,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=ma(g).toString();Tp(b,d,g);var p=g.V();null!=p?(d=p.P(),h.push(d),n.push(g)):b.c[d]=g}null===b.a||b.a.load(h,n);e=0;for(f=k.length;e<f;e++)D(b,new Up("addfeature",k[e]))}
function Rp(b,c){var d=!1;B(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});B(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});B(c,"add",function(b){d||(b=b.element,d=!0,this.Oc(b),d=!1)},!1,b);B(c,"remove",function(b){d||(b=b.element,d=!0,this.uc(b),d=!1)},!1,b);b.b=c}
l.clear=function(b){if(b){for(var c in this.v)nb(this.v[c],$d);null===this.b&&(this.v={},this.i={},this.l={})}else b=this.Fh,null!==this.a&&(this.a.forEach(b,this),Jc(this.c,b,this));null===this.b||this.b.clear();null===this.a||this.a.clear();this.Z.clear();this.c={};D(this,new Up("clear"));this.o()};l.ef=function(b,c){if(null!==this.a)return this.a.forEach(b,c);if(null!==this.b)return this.b.forEach(b,c)};
function Vp(b,c,d){b.Jc([c[0],c[1],c[0],c[1]],function(b){if(b.V().af(c))return d.call(void 0,b)})}l.Jc=function(b,c,d){if(null!==this.a)return Pp(this.a,b,c,d);if(null!==this.b)return this.b.forEach(c,d)};l.Rb=function(b,c,d,e){return this.Jc(b,d,e)};l.ff=function(b,c,d){return this.Jc(b,function(e){if(e.V().Aa(b)&&(e=c.call(d,e)))return e})};l.lf=function(){return this.b};l.Pc=function(){var b;null!==this.b?b=this.b.a:null!==this.a&&(b=Mp(this.a),Sc(this.c)||xb(b,Nc(this.c)));return b};
l.kf=function(b){var c=[];Vp(this,b,function(b){c.push(b)});return c};l.Td=function(b){return Np(this.a,b)};l.hf=function(b){var c=b[0],d=b[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity];Pp(this.a,h,function(b){var n=b.V(),p=g;g=n.fb(c,d,f,g);g<p&&(e=b,b=Math.sqrt(g),h[0]=c-b,h[1]=d-b,h[2]=c+b,h[3]=d+b)});return e};l.P=function(){return this.a.P()};l.jf=function(b){b=this.i[b.toString()];return m(b)?b:null};
l.jh=function(b){b=b.target;var c=ma(b).toString(),d=b.V();null!=d?(d=d.P(),c in this.c?(delete this.c[c],null===this.a||this.a.ua(d,b)):null===this.a||Lp(this.a,d,b)):c in this.c||(null===this.a||this.a.remove(b),this.c[c]=b);d=b.ja;m(d)?(d=d.toString(),c in this.l?(delete this.l[c],this.i[d]=b):this.i[d]!==b&&(Wp(this,b),this.i[d]=b)):c in this.l||(Wp(this,b),this.l[c]=b);this.o();D(this,new Up("changefeature",b))};l.Ia=function(){return this.a.Ia()&&Sc(this.c)};
l.rc=function(b,c,d){var e=this.Z;b=this.Ja(b,c);var f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];Pp(e,h,function(b){return jc(b.extent,h)})||(this.S.call(this,h,c,d),e.ua(h,{extent:h.slice()}))}};l.uc=function(b){var c=ma(b).toString();c in this.c?delete this.c[c]:null===this.a||this.a.remove(b);this.Fh(b);this.o()};l.Fh=function(b){var c=ma(b).toString();nb(this.v[c],$d);delete this.v[c];var d=b.ja;m(d)?delete this.i[d.toString()]:delete this.l[c];D(this,new Up("removefeature",b))};
function Wp(b,c){for(var d in b.i)if(b.i[d]===c){delete b.i[d];break}}function Up(b,c){xd.call(this,b);this.feature=c}x(Up,xd);function Xp(b){this.a=b.source;this.ga=$a();this.b=Wi();this.c=[0,0];this.A=null;An.call(this,{attributions:b.attributions,canvasFunction:ra(this.fj,this),logo:b.logo,projection:b.projection,ratio:b.ratio,resolutions:b.resolutions,state:this.a.u});this.C=null;this.i=void 0;this.fh(b.style);B(this.a,"change",this.ym,void 0,this)}x(Xp,An);l=Xp.prototype;
l.fj=function(b,c,d,e,f){var g=new Vm(.5*c/d,b,c);this.a.rc(b,c,f);var h=!1;this.a.Rb(b,c,function(b){var e;if(!(e=h)){var f;m(b.Ta())?f=b.Ta().call(b,c):m(this.i)&&(f=this.i(b,c));if(null!=f){var q,r=!1;e=0;for(q=f.length;e<q;++e)r=qn(g,b,f[e],pn(c,d),this.xm,this)||r;e=r}else e=!1}h=e},this);Wm(g);if(h)return null;this.c[0]!=e[0]||this.c[1]!=e[1]?(this.b.canvas.width=e[0],this.b.canvas.height=e[1],this.c[0]=e[0],this.c[1]=e[1]):this.b.clearRect(0,0,e[0],e[1]);b=Yp(this,wc(b),c,d,e);g.b(this.b,d,
b,0,{});this.A=g;return this.b.canvas};l.te=function(b,c,d,e,f){if(null!==this.A){var g={};return this.A.c(b,c,0,e,function(b){var c=ma(b).toString();if(!(c in g))return g[c]=!0,f(b)})}};l.um=function(){return this.a};l.vm=function(){return this.C};l.wm=function(){return this.i};function Yp(b,c,d,e,f){return ok(b.ga,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.xm=function(){this.o()};l.ym=function(){Ih(this,this.a.u)};l.fh=function(b){this.C=m(b)?b:Ol;this.i=null===b?void 0:Ml(this.C);this.o()};function Zp(b){Bm.call(this,b);this.g=null;this.i=$a();this.b=this.c=null}x(Zp,Bm);l=Zp.prototype;l.Ua=function(b,c,d,e){var f=this.a;return f.da().te(b,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};
l.tc=function(b,c,d,e){if(!fa(this.W()))if(this.a.da()instanceof Xp){if(b=b.slice(),qk(c.pixelToCoordinateMatrix,b,b),this.Ua(b,c,xa,this))return d.call(e,this.a)}else if(null===this.c&&(this.c=$a(),hb(this.i,this.c)),c=Em(b,this.c),null===this.b&&(this.b=Wi(1,1)),this.b.clearRect(0,0,1,1),this.b.drawImage(this.W(),c[0],c[1],1,1,0,0,1,1),0<this.b.getImageData(0,0,1,1).data[3])return d.call(e,this.a)};l.W=function(){return null===this.g?null:this.g.W()};l.nf=function(){return this.i};
l.ud=function(b,c){var d=b.pixelRatio,e=b.viewState,f=e.center,g=e.resolution,h=e.rotation,k,n=this.a.da(),p=b.viewHints;k=b.extent;m(c.extent)&&(k=zc(k,c.extent));p[0]||p[1]||Cc(k)||(e=e.projection,p=n.j,null===p||(e=p),k=n.W(k,g,d,e),null!==k&&tk(this,k)&&(this.g=k));if(null!==this.g){k=this.g;var e=k.P(),p=k.resolution,q=k.c,g=d*p/(g*q);ok(this.i,d*b.size[0]/2,d*b.size[1]/2,g,g,h,q*(e[0]-f[0])/p,q*(f[1]-e[3])/p);this.c=null;vk(b.attributions,k.g);wk(b,n)}return!0};function $p(b){Bm.call(this,b);this.b=this.i=null;this.B=!1;this.j=null;this.u=$a();this.g=null;this.D=this.C=this.A=NaN;this.l=this.c=null;this.T=[0,0]}x($p,Bm);$p.prototype.W=function(){return this.i};$p.prototype.nf=function(){return this.u};
$p.prototype.ud=function(b,c){var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.da(),k=Wh(h,f),n=h.Ud(),p=Rh(k,e.resolution),q=h.Jb(p,b.pixelRatio,f),r=q[0]/Zb(k.Ha(p),this.T)[0],t=k.Ca(p),r=t/r,u=e.center,z;t==e.resolution?(u=yk(u,t,b.size),z=xc(u,t,e.rotation,b.size)):z=b.extent;m(c.extent)&&(z=zc(z,c.extent));if(Cc(z))return!1;var w=Ph(k,z,t),C=q[0]*qg(w),y=q[1]*(w.b-w.f+1),A,H;null===this.i?(H=Wi(C,y),this.i=H.canvas,this.b=[C,y],this.j=H,this.B=!Fm(this.b)):(A=this.i,H=this.j,this.b[0]<
C||this.b[1]<y||this.C!==q[0]||this.D!==q[1]||this.B&&(this.b[0]>C||this.b[1]>y)?(A.width=C,A.height=y,this.b=[C,y],this.B=!Fm(this.b),this.c=null):(C=this.b[0],y=this.b[1],(A=p!=this.A)||(A=this.c,A=!(A.a<=w.a&&w.c<=A.c&&A.f<=w.f&&w.b<=A.b)),A&&(this.c=null)));var K,J;null===this.c?(C/=q[0],y/=q[1],K=w.a-Math.floor((C-qg(w))/2),J=w.f-Math.floor((y-(w.b-w.f+1))/2),this.A=p,this.C=q[0],this.D=q[1],this.c=new og(K,K+C-1,J,J+y-1),this.l=Array(C*y),y=this.c):(y=this.c,C=qg(y));A={};A[p]={};var Q=[],ta=
this.bd(h,A),Va=g.b(),S=ac(),Ia=new og(0,0,0,0),gb,Qa,Ib;for(J=w.a;J<=w.c;++J)for(Ib=w.f;Ib<=w.b;++Ib)Qa=h.Ib(p,J,Ib,d,f),K=Qa.state,2==K||4==K||3==K&&!Va?A[p][hg(Qa.a)]=Qa:(gb=Mh(k,Qa.a,ta,Ia,S),gb||(Q.push(Qa),gb=Oh(k,Qa.a,Ia,S),null===gb||ta(p+1,gb)));ta=0;for(gb=Q.length;ta<gb;++ta)Qa=Q[ta],J=q[0]*(Qa.a[1]-y.a),Ib=q[1]*(y.b-Qa.a[2]),H.clearRect(J,Ib,q[0],q[1]);Q=pb(Oc(A),Number);Ab(Q);var cb=h.ga,Lc=vc(Nh(k,[p,y.a,y.b],S)),qc,Ze,Ij,mi,eg,ym,ta=0;for(gb=Q.length;ta<gb;++ta)if(qc=Q[ta],q=h.Jb(qc,
d,f),mi=A[qc],qc==p)for(Ij in mi)Qa=mi[Ij],Ze=(Qa.a[2]-y.f)*C+(Qa.a[1]-y.a),this.l[Ze]!=Qa&&(J=q[0]*(Qa.a[1]-y.a),Ib=q[1]*(y.b-Qa.a[2]),K=Qa.state,4!=K&&(3!=K||Va)&&cb||H.clearRect(J,Ib,q[0],q[1]),2==K&&H.drawImage(Qa.W(),n,n,q[0],q[1],J,Ib,q[0],q[1]),this.l[Ze]=Qa);else for(Ij in qc=k.Ca(qc)/t,mi)for(Qa=mi[Ij],Ze=Nh(k,Qa.a,S),J=(Ze[0]-Lc[0])/r,Ib=(Lc[1]-Ze[3])/r,ym=qc*q[0],eg=qc*q[1],K=Qa.state,4!=K&&cb||H.clearRect(J,Ib,ym,eg),2==K&&H.drawImage(Qa.W(),n,n,q[0],q[1],J,Ib,ym,eg),Qa=mg(k,Ze,p,Ia),
K=Math.max(Qa.a,y.a),Ib=Math.min(Qa.c,y.c),J=Math.max(Qa.f,y.f),Qa=Math.min(Qa.b,y.b);K<=Ib;++K)for(eg=J;eg<=Qa;++eg)Ze=(eg-y.f)*C+(K-y.a),this.l[Ze]=void 0;xk(b.usedTiles,h,p,w);zk(b,h,k,d,f,z,p,g.a());uk(b,h);wk(b,h);ok(this.u,d*b.size[0]/2,d*b.size[1]/2,d*r/e.resolution,d*r/e.resolution,e.rotation,(Lc[0]-u[0])/r,(u[1]-Lc[1])/r);this.g=null;return!0};
$p.prototype.tc=function(b,c,d,e){if(null!==this.j&&(null===this.g&&(this.g=$a(),hb(this.u,this.g)),b=Em(b,this.g),0<this.j.getImageData(b[0],b[1],1,1).data[3]))return d.call(e,this.a)};function aq(b){Bm.call(this,b);this.c=!1;this.B=-1;this.l=NaN;this.i=ac();this.b=this.j=null;this.g=Wi()}x(aq,Bm);
aq.prototype.v=function(b,c,d){var e=b.extent,f=b.pixelRatio,g=c.qb?b.skippedFeatureUids:{},h=b.viewState,k=h.projection,h=h.rotation,n=k.P(),p=this.a.da(),q=Dm(this,b,0);Cm(this,"precompose",d,b,q);var r=this.b;if(null!==r&&!r.Ia()){var t;fe(this.a,"render")?(this.g.canvas.width=d.canvas.width,this.g.canvas.height=d.canvas.height,t=this.g):t=d;var u=t.globalAlpha;t.globalAlpha=c.opacity;r.b(t,f,q,h,g);if(p.D&&k.g&&!jc(n,e)){c=e[0];k=Bc(n);for(p=0;c<n[0];)--p,q=k*p,q=Dm(this,b,q),r.b(t,f,q,h,g),c+=
k;p=0;for(c=e[2];c>n[2];)++p,q=k*p,q=Dm(this,b,q),r.b(t,f,q,h,g),c-=k;q=Dm(this,b,0)}t!=d&&(Cm(this,"render",t,b,q),d.drawImage(t.canvas,0,0));t.globalAlpha=u}Cm(this,"postcompose",d,b,q)};aq.prototype.Ua=function(b,c,d,e){if(null!==this.b){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[ma(h)],n={};return this.b.c(b,f,g,k.qb?c.skippedFeatureUids:{},function(b){var c=ma(b).toString();if(!(c in n))return n[c]=!0,d.call(e,b,h)})}};aq.prototype.u=function(){sk(this)};
aq.prototype.ud=function(b){function c(b){var c;m(b.Ta())?c=b.Ta().call(b,p):m(d.a)&&(c=(0,d.a)(b,p));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=qn(t,b,c[e],pn(p,q),this.u,this)||g;b=g}else b=!1;this.c=this.c||b}}var d=this.a,e=d.da();vk(b.attributions,e.g);wk(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.j,k=d.l;if(!this.c&&!h&&f||!k&&g)return!0;var n=b.extent,k=b.viewState,f=k.projection,p=k.resolution,q=b.pixelRatio,g=d.f,r=d.b,h=mm(d);m(h)||(h=on);n=ec(n,r*p);r=k.projection.P();
e.D&&k.projection.g&&!jc(r,b.extent)&&(b=Math.max(Bc(n)/2,Bc(r)),n[0]=r[0]-b,n[2]=r[2]+b);if(!this.c&&this.l==p&&this.B==g&&this.j==h&&jc(this.i,n))return!0;wd(this.b);this.b=null;this.c=!1;var t=new Vm(.5*p/q,n,p,d.b);e.rc(n,p,f);if(null===h)e.Rb(n,p,c,this);else{var u=[];e.Rb(n,p,function(b){u.push(b)},this);Ab(u,h);nb(u,c,this)}Wm(t);this.l=p;this.B=g;this.j=h;this.i=n;this.b=t;return!0};function bq(b,c,d,e,f){Eh.call(this,b,c);this.i=e;this.f=this.c=null;this.b={Tf:null,Gh:-1,Ad:null};this.B=f;this.j=d}x(bq,Eh);l=bq.prototype;l.Y=function(){bq.ba.Y.call(this)};l.yl=function(){return this.i};l.lb=function(){return this.j};l.load=function(){0==this.state&&(this.state=1,Fh(this),this.B(this,this.j),this.l(null,NaN,null))};l.Qh=function(b){this.l=b};function cq(b){var c=/\{z\}/g,d=/\{x\}/g,e=/\{y\}/g,f=/\{-y\}/g;return function(g){return null===g?void 0:b.replace(c,g[0].toString()).replace(d,g[1].toString()).replace(e,function(){return(-g[2]-1).toString()}).replace(f,function(){return((1<<g[0])+g[2]).toString()})}}function dq(b){return eq(pb(b,cq))}function eq(b){return 1===b.length?b[0]:function(c,d,e){return null===c?void 0:b[Jb((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function fq(){}
function gq(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);return c};function hq(b){Uh.call(this,{attributions:b.attributions,Xe:b.Xe,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:m(b.state)?b.state:void 0,tileGrid:b.tileGrid,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.tileUrlFunction=m(b.tileUrlFunction)?b.tileUrlFunction:fq;this.tileLoadFunction=b.tileLoadFunction}x(hq,Uh);l=hq.prototype;l.Ra=function(){return this.tileLoadFunction};l.Sa=function(){return this.tileUrlFunction};
l.ih=function(b){b=b.target;switch(b.state){case 1:D(this,new Yh("tileloadstart",b));break;case 2:D(this,new Yh("tileloadend",b));break;case 3:D(this,new Yh("tileloaderror",b))}};l.Va=function(b){this.a.clear();this.tileLoadFunction=b;this.o()};l.Fa=function(b){this.a.clear();this.tileUrlFunction=b;this.o()};l.Yf=function(b,c,d){b=this.ib(b,c,d);Bh(this.a,b)&&this.a.get(b)};function iq(b){hq.call(this,{attributions:b.attributions,Xe:128,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:m(b.state)?b.state:void 0,tileGrid:b.tileGrid,tileLoadFunction:m(b.tileLoadFunction)?b.tileLoadFunction:jq,tileUrlFunction:b.tileUrlFunction,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.c=m(b.ej)?b.ej:!1;this.i=m(b.format)?b.format:null;this.tileClass=m(b.tileClass)?b.tileClass:bq}x(iq,hq);
iq.prototype.Ib=function(b,c,d,e,f){var g=this.ib(b,c,d);if(Bh(this.a,g))return this.a.get(g);b=[b,c,d];c=Xh(this,b,f);e=null===c?void 0:this.tileUrlFunction(c,e,f);e=new this.tileClass(b,m(e)?0:4,m(e)?e:"",this.i,this.tileLoadFunction);B(e,"change",this.ih,!1,this);this.a.set(g,e);return e};function jq(b,c){b.Qh(Dp(c,b.i))};function kq(b){Bm.call(this,b);this.b=Wi();this.c=!1;this.g=[];this.i=ac();this.j=[NaN,NaN];this.B=$a()}x(kq,Bm);
kq.prototype.v=function(b,c,d){var e=b.pixelRatio,f=c.qb?b.skippedFeatureUids:{},g=b.viewState,h=g.center,k=g.projection,n=g.resolution,p=g.rotation,q=this.a.da(),r=Dm(this,b,0);Cm(this,"precompose",d,b,r);var t;fe(this.a,"render")?(this.b.canvas.width=d.canvas.width,this.b.canvas.height=d.canvas.height,t=this.b):t=d;var u=t.globalAlpha;t.globalAlpha=c.opacity;c=this.g;var z=q.tileGrid,w,C,y,A,H;C=0;for(y=c.length;C<y;++C)A=c[C],w=A.a[0],H=q.Jb(w,e,k),H=H[0]/Zb(z.Ha(w),this.j)[0],w=z.Ca(w),w/=H,"tile-pixels"==
A.f.f&&(r=vc(Nh(z,A.a,this.i)),r=ok(this.B,e*b.size[0]/2,e*b.size[1]/2,e*w/n,e*w/n,g.rotation,(r[0]-h[0])/w,(h[1]-r[1])/w)),A.b.Ad.b(t,e,r,p,f);t!=d&&(Cm(this,"render",t,b,r),d.drawImage(t.canvas,0,0));t.globalAlpha=u;Cm(this,"postcompose",d,b,r)};
function lq(b,c,d,e){function f(b){var c;m(b.Ta())?c=b.Ta().call(b,r):m(d.a)&&(c=(0,d.a)(b,r));var f=t?-1:pn(r,e);if(null!=c){var g=u;if(null!=c){var h,k,n=!1;h=0;for(k=c.length;h<k;++h)n=qn(g,b,c[h],f,this.l,this)||n;b=n}else b=!1;this.c=this.c||b}}var g=d.f,h=mm(d);m(h)||(h=null);var k=c.b;if(k.Gh!=g||k.Tf!=h){wd(k.Ad);k.Ad=null;var n=d.da(),p=n.tileGrid,q=c.a,r=p.a[q[0]],t="tile-pixels"==c.f.f,p=t?[0,0].concat(n.Jb(q[0],e,c.f)):Nh(p,q),q=t?n.C:r,u=new Vm(t?0:.5*q/e,p,q,d.b,n.c);c=c.c;null===h||
h===k.Tf||Ab(c,h);nb(c,f,b);Wm(u);k.Gh=g;k.Tf=h;k.Ad=u}}
kq.prototype.Ua=function(b,c,d,e){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[ma(h)],n={},p=this.g,q,r,t,u,z,w,C,y;t=0;for(u=p.length;t<u;++t)w=p[t],C=w.a,r=h.da(),y=Nh(r.tileGrid,C),hc(y,b)&&("tile-pixels"===w.f.f?(z=vc(Nh(r.tileGrid,C)),y=r.C,f/=y,Zb(r.tileGrid.Ha(C[0])),r=[(b[0]-z[0])/f,(z[1]-b[1])/f],f=y):r=b,w=w.b.Ad,q=q||w.c(r,f,g,k.qb?c.skippedFeatureUids:{},function(b){var c=ma(b).toString();if(!(c in n))return n[c]=!0,d.call(e,b,h)}));return q};
kq.prototype.l=function(){sk(this)};
kq.prototype.ud=function(b,c){var d=this.a,e=b.viewHints[0],f=b.viewHints[1],g=d.j,h=d.l;if(!this.c&&!g&&e||!h&&f)return!0;f=b.extent;m(c.extent)&&(f=zc(f,c.extent));if(Cc(f))return!1;var e=b.viewState,h=e.projection,g=e.resolution,e=b.pixelRatio,k=d.da(),n=k.tileGrid,p=Rh(n,g),q=Ph(n,f,g);xk(b.usedTiles,k,p,q);zk(b,k,n,e,h,f,p,d.g());uk(b,k);vk(b.attributions,k.g);wk(b,k);f={};f[p]={};var r=this.bd(k,f),t=d.T(),u=this.i,z=new og(0,0,0,0),w,C,y;for(C=q.a;C<=q.c;++C)for(y=q.f;y<=q.b;++y)g=k.Ib(p,C,
y,e,h),w=g.state,2==w||4==w||3==w&&!t?f[p][hg(g.a)]=g:(w=Mh(n,g.a,r,z,u),w||(g=Oh(n,g.a,z,u),null===g||r(p+1,g)));h=pb(Oc(f),Number);Ab(h);for(var k=[],A,n=0,p=h.length;n<p;++n)for(A in g=h[n],q=f[g],q)g=q[A],2==g.state&&(k.push(g),lq(this,g,d,e));this.g=k;return!0};function mq(b,c){Fk.call(this,0,c);this.b=Wi();this.a=this.b.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Vg(b,this.a,0);this.f=!0;this.g=$a()}x(mq,Fk);mq.prototype.bf=function(b){return b instanceof L?new Zp(b):b instanceof M?new $p(b):b instanceof O?new kq(b):b instanceof N?new aq(b):null};
function nq(b,c,d){var e=b.i,f=b.b;if(fe(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,n=d.pixelRatio,p=d.viewState,q=p.resolution;b=ok(b.g,b.a.width/2,b.a.height/2,n/q,-n/q,-p.rotation,-p.center[0],-p.center[1]);g=new nm(f,h,g,b,k);D(e,new kk(c,e,g,d,f,null));Am(g)}}mq.prototype.U=function(){return"canvas"};
mq.prototype.He=function(b){if(null===b)this.f&&(rh(this.a,!1),this.f=!1);else{var c=this.b,d=b.size[0]*b.pixelRatio,e=b.size[1]*b.pixelRatio;this.a.width!=d||this.a.height!=e?(this.a.width=d,this.a.height=e):c.clearRect(0,0,this.a.width,this.a.height);Gk(b);nq(this,"precompose",b);d=b.layerStatesArray;Cb(d);var e=b.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=Ik(this,h),lk(k,e)&&"ready"==k.M&&h.ud(b,k)&&h.v(b,k,c);nq(this,"postcompose",b);this.f||(rh(this.a,!0),this.f=
!0);Jk(this,b);b.postRenderFunctions.push(Hk)}};function oq(b,c){rk.call(this,b);this.target=c}x(oq,rk);oq.prototype.g=ca;oq.prototype.l=ca;function pq(b){var c=Sg("DIV");c.style.position="absolute";oq.call(this,b,c);this.b=null;this.c=bb()}x(pq,oq);pq.prototype.Ua=function(b,c,d,e){var f=this.a;return f.da().te(b,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};pq.prototype.g=function(){Ug(this.target);this.b=null};
pq.prototype.i=function(b,c){var d=b.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.b,k=this.a.da(),n=b.viewHints,p=b.extent;m(c.extent)&&(p=zc(p,c.extent));n[0]||n[1]||Cc(p)||(d=d.projection,n=k.j,null===n||(d=n),p=k.W(p,f,b.pixelRatio,d),null===p||tk(this,p)&&(h=p));null!==h&&(d=h.P(),n=h.resolution,p=$a(),ok(p,b.size[0]/2,b.size[1]/2,n/f,n/f,g,(d[0]-e[0])/n,(e[1]-d[3])/n),h!=this.b&&(e=h.W(this),e.style.maxWidth="none",e.style.position="absolute",Ug(this.target),this.target.appendChild(e),
this.b=h),pk(p,this.c)||($i(this.target,p),db(this.c,p)),vk(b.attributions,h.g),wk(b,k));return!0};function qq(b){var c=Sg("DIV");c.style.position="absolute";oq.call(this,b,c);this.c=!0;this.B=1;this.j=0;this.b={}}x(qq,oq);qq.prototype.g=function(){Ug(this.target);this.j=0};
qq.prototype.i=function(b,c){if(!c.visible)return this.c&&(rh(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.da(),k=Wh(h,f),n=h.Ud(),p=Rh(k,e.resolution),q=k.Ca(p),r=e.center,t;q==e.resolution?(r=yk(r,q,b.size),t=xc(r,q,e.rotation,b.size)):t=b.extent;m(c.extent)&&(t=zc(t,c.extent));var q=Ph(k,t,q),u={};u[p]={};var z=this.bd(h,u),w=g.b(),C=ac(),y=new og(0,0,0,0),A,H,K,J;for(K=q.a;K<=q.c;++K)for(J=q.f;J<=q.b;++J)A=h.Ib(p,K,J,d,f),H=A.state,2==H?u[p][hg(A.a)]=
A:4==H||3==H&&!w||(H=Mh(k,A.a,z,y,C),H||(A=Oh(k,A.a,y,C),null===A||z(p+1,A)));var Q;if(this.j!=h.f){for(Q in this.b)w=this.b[+Q],Wg(w.target);this.b={};this.j=h.f}C=pb(Oc(u),Number);Ab(C);var z={},ta;K=0;for(J=C.length;K<J;++K){Q=C[K];Q in this.b?w=this.b[Q]:(w=k.be(r,Q),w=new rq(k,w),z[Q]=!0,this.b[Q]=w);Q=u[Q];for(ta in Q){A=w;H=Q[ta];var Va=n,S=H.a,Ia=S[0],gb=S[1],Qa=S[2],S=hg(S);if(!(S in A.f)){var Ia=Zb(A.c.Ha(Ia),A.l),Ib=H.W(A),cb=Ib.style;cb.maxWidth="none";var Lc=void 0,qc=void 0;0<Va?(Lc=
Sg("DIV"),qc=Lc.style,qc.overflow="hidden",qc.width=Ia[0]+"px",qc.height=Ia[1]+"px",cb.position="absolute",cb.left=-Va+"px",cb.top=-Va+"px",cb.width=Ia[0]+2*Va+"px",cb.height=Ia[1]+2*Va+"px",Lc.appendChild(Ib)):(cb.width=Ia[0]+"px",cb.height=Ia[1]+"px",Lc=Ib,qc=cb);qc.position="absolute";qc.left=(gb-A.b[1])*Ia[0]+"px";qc.top=(A.b[2]-Qa)*Ia[1]+"px";null===A.a&&(A.a=document.createDocumentFragment());A.a.appendChild(Lc);A.f[S]=H}}null!==w.a&&(w.target.appendChild(w.a),w.a=null)}n=pb(Oc(this.b),Number);
Ab(n);K=$a();ta=0;for(C=n.length;ta<C;++ta)if(Q=n[ta],w=this.b[Q],Q in u)if(A=w.j,J=w.i,ok(K,b.size[0]/2,b.size[1]/2,A/e.resolution,A/e.resolution,e.rotation,(J[0]-r[0])/A,(r[1]-J[1])/A),J=w,A=K,pk(A,J.g)||($i(J.target,A),db(J.g,A)),Q in z){for(--Q;0<=Q;--Q)if(Q in this.b){J=this.b[Q].target;J.parentNode&&J.parentNode.insertBefore(w.target,J.nextSibling);break}0>Q&&Vg(this.target,w.target,0)}else{if(!b.viewHints[0]&&!b.viewHints[1]){H=mg(w.c,t,w.b[0],y);Q=[];A=J=void 0;for(A in w.f)J=w.f[A],H.contains(J.a)||
Q.push(J);Va=H=void 0;H=0;for(Va=Q.length;H<Va;++H)J=Q[H],A=hg(J.a),Wg(J.W(w)),delete w.f[A]}}else Wg(w.target),delete this.b[Q];c.opacity!=this.B&&(this.B=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(rh(this.target,!0),this.c=!0);xk(b.usedTiles,h,p,q);zk(b,h,k,d,f,t,p,g.a());uk(b,h);wk(b,h);return!0};
function rq(b,c){this.target=Sg("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=b;this.b=c;this.i=vc(Nh(b,c));this.j=b.Ca(c[0]);this.f={};this.a=null;this.g=bb();this.l=[0,0]};function sq(b){this.j=Wi();var c=this.j.canvas;c.style.maxWidth="none";c.style.position="absolute";oq.call(this,b,c);this.c=!1;this.A=-1;this.u=NaN;this.B=ac();this.b=this.v=null;this.C=$a();this.D=$a()}x(sq,oq);
sq.prototype.l=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],n=h*d,p=k*d,e=ok(this.C,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.j;g.canvas.width=n;g.canvas.height=p;h=ok(this.D,0,0,1/d,1/d,0,-(n-h)/2*d,-(p-k)/2*d);$i(g.canvas,h);tq(this,"precompose",b,e);h=this.b;null===h||h.Ia()||(g.globalAlpha=c.opacity,h.b(g,d,e,f,c.qb?b.skippedFeatureUids:{}),tq(this,"render",b,e));tq(this,"postcompose",b,e)};
function tq(b,c,d,e){var f=b.j;b=b.a;fe(b,c)&&(e=new nm(f,d.pixelRatio,d.extent,e,d.viewState.rotation),D(b,new kk(c,b,e,d,f,null)),Am(e))}sq.prototype.Ua=function(b,c,d,e){if(null!==this.b){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[ma(h)],n={};return this.b.c(b,f,g,k.qb?c.skippedFeatureUids:{},function(b){var c=ma(b).toString();if(!(c in n))return n[c]=!0,d.call(e,b,h)})}};sq.prototype.M=function(){sk(this)};
sq.prototype.i=function(b){function c(b){var c;m(b.Ta())?c=b.Ta().call(b,n):m(d.a)&&(c=(0,d.a)(b,n));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=qn(q,b,c[e],pn(n,p),this.M,this)||g;b=g}else b=!1;this.c=this.c||b}}var d=this.a,e=d.da();vk(b.attributions,e.g);wk(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.j,k=d.l;if(!this.c&&!h&&f||!k&&g)return!0;var g=b.extent,h=b.viewState,f=h.projection,n=h.resolution,p=b.pixelRatio;b=d.f;k=d.b;h=mm(d);m(h)||(h=on);g=ec(g,k*n);if(!this.c&&
this.u==n&&this.A==b&&this.v==h&&jc(this.B,g))return!0;wd(this.b);this.b=null;this.c=!1;var q=new Vm(.5*n/p,g,n,d.b);e.rc(g,n,f);if(null===h)e.Rb(g,n,c,this);else{var r=[];e.Rb(g,n,function(b){r.push(b)},this);Ab(r,h);nb(r,c,this)}Wm(q);this.u=n;this.A=b;this.v=h;this.B=g;this.b=q;return!0};function uq(b,c){Fk.call(this,0,c);this.f=null;this.f=Wi();var d=this.f.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";Vg(b,d,0);this.g=$a();this.a=Sg("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";B(this.a,"touchstart",zd);Vg(b,this.a,0);this.b=!0}x(uq,Fk);uq.prototype.Y=function(){Wg(this.a);uq.ba.Y.call(this)};
uq.prototype.bf=function(b){if(b instanceof L)b=new pq(b);else if(b instanceof M)b=new qq(b);else if(b instanceof N)b=new sq(b);else return null;return b};function vq(b,c,d){var e=b.i;if(fe(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,n=b.f,p=n.canvas;ok(b.g,p.width/2,p.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);b=new nm(n,g,f,b.g,k);D(e,new kk(c,e,b,d,n,null));Am(b)}}uq.prototype.U=function(){return"dom"};
uq.prototype.He=function(b){if(null===b)this.b&&(rh(this.a,!1),this.b=!1);else{var c;c=function(b,c){Vg(this.a,b,c)};var d=this.i;if(fe(d,"precompose")||fe(d,"postcompose")){var d=this.f.canvas,e=b.pixelRatio;d.width=b.size[0]*e;d.height=b.size[1]*e}vq(this,"precompose",b);d=b.layerStatesArray;Cb(d);var e=b.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=Ik(this,h),c.call(this,h.target,f),lk(k,e)&&"ready"==k.M?h.i(b,k)&&h.l(b,k):h.g();c=b.layerStates;for(var n in this.c)n in
c||(h=this.c[n],Wg(h.target));this.b||(rh(this.a,!0),this.b=!0);Gk(b);Jk(this,b);b.postRenderFunctions.push(Hk);vq(this,"postcompose",b)}};function wq(b){this.a=b}function xq(b){this.a=b}x(xq,wq);xq.prototype.U=function(){return 35632};function yq(b){this.a=b}x(yq,wq);yq.prototype.U=function(){return 35633};function zq(){this.a="precision mediump float;varying vec2 a;varying float b;uniform mat4 k;uniform float l;uniform sampler2D m;void main(void){vec4 texColor=texture2D(m,a);float alpha=texColor.a*b*l;if(alpha==0.0){discard;}gl_FragColor.a=alpha;gl_FragColor.rgb=(k*vec4(texColor.rgb,1.)).rgb;}"}x(zq,xq);da(zq);
function Aq(){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;}"}x(Aq,yq);da(Aq);
function Bq(b,c){this.v=b.getUniformLocation(c,"k");this.l=b.getUniformLocation(c,"j");this.B=b.getUniformLocation(c,"i");this.i=b.getUniformLocation(c,"l");this.j=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.f=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.b=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function Cq(){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;}"}x(Cq,xq);da(Cq);
function Dq(){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;}"}x(Dq,yq);da(Dq);
function Eq(b,c){this.l=b.getUniformLocation(c,"j");this.B=b.getUniformLocation(c,"i");this.i=b.getUniformLocation(c,"k");this.j=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.f=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.b=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function Fq(b){this.a=m(b)?b:[];this.f=m(void 0)?void 0:35044};function Gq(b,c){this.v=b;this.a=c;this.f={};this.i={};this.g={};this.l=this.B=this.c=this.j=null;(this.b=tb(Nb,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");B(this.v,"webglcontextlost",this.An,!1,this);B(this.v,"webglcontextrestored",this.Bn,!1,this)}
function Hq(b,c,d){var e=b.a,f=d.a,g=ma(d);if(g in b.f)e.bindBuffer(c,b.f[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.b?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,d.f);b.f[g]={ub:d,buffer:h}}}function Iq(b,c){var d=b.a,e=ma(c),f=b.f[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.f[e]}l=Gq.prototype;
l.Y=function(){var b=this.a;b.isContextLost()||(Jc(this.f,function(c){b.deleteBuffer(c.buffer)}),Jc(this.g,function(c){b.deleteProgram(c)}),Jc(this.i,function(c){b.deleteShader(c)}),b.deleteFramebuffer(this.c),b.deleteRenderbuffer(this.l),b.deleteTexture(this.B))};l.zn=function(){return this.a};
l.mf=function(){if(null===this.c){var b=this.a,c=b.createFramebuffer();b.bindFramebuffer(b.FRAMEBUFFER,c);var d=Jq(b,1,1),e=b.createRenderbuffer();b.bindRenderbuffer(b.RENDERBUFFER,e);b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,1,1);b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,d,0);b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,e);b.bindTexture(b.TEXTURE_2D,null);b.bindRenderbuffer(b.RENDERBUFFER,null);b.bindFramebuffer(b.FRAMEBUFFER,
null);this.c=c;this.B=d;this.l=e}return this.c};function Kq(b,c){var d=ma(c);if(d in b.i)return b.i[d];var e=b.a,f=e.createShader(c.U());e.shaderSource(f,c.a);e.compileShader(f);return b.i[d]=f}function Lq(b,c,d){var e=ma(c)+"/"+ma(d);if(e in b.g)return b.g[e];var f=b.a,g=f.createProgram();f.attachShader(g,Kq(b,c));f.attachShader(g,Kq(b,d));f.linkProgram(g);return b.g[e]=g}l.An=function(){Tc(this.f);Tc(this.i);Tc(this.g);this.l=this.B=this.c=this.j=null};l.Bn=function(){};
l.Be=function(b){if(b==this.j)return!1;this.a.useProgram(b);this.j=b;return!0};function Mq(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);m(c)&&b.texParameteri(3553,10242,c);m(d)&&b.texParameteri(3553,10243,d);return e}function Jq(b,c,d){var e=Mq(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 Nq(b,c){var d=Mq(b,33071,33071);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,b.RGBA,b.UNSIGNED_BYTE,c);return d};function Oq(b,c){this.C=this.D=void 0;this.Cc=new Dg;this.B=wc(c);this.A=[];this.i=[];this.M=void 0;this.g=[];this.c=[];this.S=this.T=void 0;this.f=[];this.na=this.fa=this.l=null;this.Z=void 0;this.sb=bb();this.tb=bb();this.ga=this.ca=void 0;this.Pb=bb();this.Ja=this.wa=this.Xa=void 0;this.eb=[];this.j=[];this.a=[];this.u=null;this.b=[];this.v=[];this.Ya=void 0}x(Oq,jk);
function Pq(b,c){var d=b.u,e=b.l,f=b.eb,g=b.j,h=c.a;return function(){if(!h.isContextLost()){var b,n;b=0;for(n=f.length;b<n;++b)h.deleteTexture(f[b]);b=0;for(n=g.length;b<n;++b)h.deleteTexture(g[b])}Iq(c,d);Iq(c,e)}}
function Qq(b,c,d,e){var f=b.D,g=b.C,h=b.M,k=b.T,n=b.S,p=b.Z,q=b.ca,r=b.ga,t=b.Xa?1:0,u=b.wa,z=b.Ja,w=b.Ya,C=Math.cos(u),u=Math.sin(u),y=b.f.length,A=b.a.length,H,K,J,Q,ta,Va;for(H=0;H<d;H+=e)ta=c[H]-b.B[0],Va=c[H+1]-b.B[1],K=A/8,J=-z*f,Q=-z*(h-g),b.a[A++]=ta,b.a[A++]=Va,b.a[A++]=J*C-Q*u,b.a[A++]=J*u+Q*C,b.a[A++]=q/n,b.a[A++]=(r+h)/k,b.a[A++]=p,b.a[A++]=t,J=z*(w-f),Q=-z*(h-g),b.a[A++]=ta,b.a[A++]=Va,b.a[A++]=J*C-Q*u,b.a[A++]=J*u+Q*C,b.a[A++]=(q+w)/n,b.a[A++]=(r+h)/k,b.a[A++]=p,b.a[A++]=t,J=z*(w-f),
Q=z*g,b.a[A++]=ta,b.a[A++]=Va,b.a[A++]=J*C-Q*u,b.a[A++]=J*u+Q*C,b.a[A++]=(q+w)/n,b.a[A++]=r/k,b.a[A++]=p,b.a[A++]=t,J=-z*f,Q=z*g,b.a[A++]=ta,b.a[A++]=Va,b.a[A++]=J*C-Q*u,b.a[A++]=J*u+Q*C,b.a[A++]=q/n,b.a[A++]=r/k,b.a[A++]=p,b.a[A++]=t,b.f[y++]=K,b.f[y++]=K+1,b.f[y++]=K+2,b.f[y++]=K,b.f[y++]=K+2,b.f[y++]=K+3}Oq.prototype.vb=function(b,c){this.b.push(this.f.length);this.v.push(c);var d=b.ha(),e=b.ta();Qq(this,d,d.length,e)};
Oq.prototype.wb=function(b,c){this.b.push(this.f.length);this.v.push(c);var d=b.ha(),e=b.ta();Qq(this,d,d.length,e)};function Rq(b,c){var d=c.a;b.A.push(b.f.length);b.i.push(b.f.length);b.u=new Fq(b.a);Hq(c,34962,b.u);b.l=new Fq(b.f);Hq(c,34963,b.l);var e={};Sq(b.eb,b.g,e,d);Sq(b.j,b.c,e,d);b.D=void 0;b.C=void 0;b.M=void 0;b.g=null;b.c=null;b.T=void 0;b.S=void 0;b.f=null;b.Z=void 0;b.ca=void 0;b.ga=void 0;b.Xa=void 0;b.wa=void 0;b.Ja=void 0;b.a=null;b.Ya=void 0}
function Sq(b,c,d,e){var f,g,h,k=c.length;for(h=0;h<k;++h)f=c[h],g=ma(f).toString(),g in d?f=d[g]:(f=Nq(e,f),d[g]=f),b[h]=f}
function Tq(b,c,d,e,f,g,h,k,n,p,q,r,t,u,z){var w=c.a;Hq(c,34962,b.u);Hq(c,34963,b.l);var C=k||1!=n||p||1!=q,y,A;C?(y=zq.Za(),A=Aq.Za()):(y=Cq.Za(),A=Dq.Za());A=Lq(c,y,A);C?null===b.fa?(y=new Bq(w,A),b.fa=y):y=b.fa:null===b.na?(y=new Eq(w,A),b.na=y):y=b.na;c.Be(A);w.enableVertexAttribArray(y.c);w.vertexAttribPointer(y.c,2,5126,!1,32,0);w.enableVertexAttribArray(y.a);w.vertexAttribPointer(y.a,2,5126,!1,32,8);w.enableVertexAttribArray(y.g);w.vertexAttribPointer(y.g,2,5126,!1,32,16);w.enableVertexAttribArray(y.f);
w.vertexAttribPointer(y.f,1,5126,!1,32,24);w.enableVertexAttribArray(y.b);w.vertexAttribPointer(y.b,1,5126,!1,32,28);A=b.Pb;ok(A,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-b.B[0]),-(d[1]-b.B[1]));d=b.tb;e=2/g[0];g=2/g[1];eb(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=b.sb;eb(g);0!==f&&kb(g,-f);w.uniformMatrix4fv(y.j,!1,A);w.uniformMatrix4fv(y.B,!1,d);w.uniformMatrix4fv(y.l,!1,g);w.uniform1f(y.i,h);C&&w.uniformMatrix4fv(y.v,!1,Eg(b.Cc,k,n,p,q));var H;if(m(t)){if(u)a:{f=c.b?5125:5123;c=c.b?4:2;p=b.b.length-1;for(h=
b.j.length-1;0<=h;--h)for(w.bindTexture(3553,b.j[h]),k=0<h?b.i[h-1]:0,q=b.i[h];0<=p&&b.b[p]>=k;){n=b.b[p];u=b.v[p];C=ma(u).toString();if(C=!m(r[C]))C=null!=u.V();if(C&&(!m(z)||Ac(z,u.V().P()))&&(w.clear(w.COLOR_BUFFER_BIT|w.DEPTH_BUFFER_BIT),w.drawElements(4,q-n,f,n*c),q=t(u))){b=q;break a}q=n;p--}b=void 0}else w.clear(w.COLOR_BUFFER_BIT|w.DEPTH_BUFFER_BIT),Uq(b,w,c,r,b.j,b.i),b=(b=t(null))?b:void 0;H=b}else Uq(b,w,c,r,b.eb,b.A);w.disableVertexAttribArray(y.c);w.disableVertexAttribArray(y.a);w.disableVertexAttribArray(y.g);
w.disableVertexAttribArray(y.f);w.disableVertexAttribArray(y.b);return H}
function Uq(b,c,d,e,f,g){var h=d.b?5125:5123;d=d.b?4:2;if(Sc(e)){var k;b=0;e=f.length;for(k=0;b<e;++b){c.bindTexture(3553,f[b]);var n=g[b];c.drawElements(4,n-k,h,k*d);k=n}}else{k=0;var p,n=0;for(p=f.length;n<p;++n){c.bindTexture(3553,f[n]);for(var q=0<n?g[n-1]:0,r=g[n],t=q;k<b.b.length&&b.b[k]<=r;){var u=ma(b.v[k]).toString();m(e[u])?(t!==q&&c.drawElements(4,q-t,h,t*d),q=t=k===b.b.length-1?r:b.b[k+1]):q=k===b.b.length-1?r:b.b[k+1];k++}t!==q&&c.drawElements(4,q-t,h,t*d)}}}
Oq.prototype.nb=function(b){var c=b.Sb(),d=b.W(1),e=b.Vd(),f=b.ue(1),g=b.u,h=b.$b(),k=b.D,n=b.B,p=b.rb();b=b.v;var q;0===this.g.length?this.g.push(d):(q=this.g[this.g.length-1],ma(q)!=ma(d)&&(this.A.push(this.f.length),this.g.push(d)));0===this.c.length?this.c.push(f):(q=this.c[this.c.length-1],ma(q)!=ma(f)&&(this.i.push(this.f.length),this.c.push(f)));this.D=c[0];this.C=c[1];this.M=p[1];this.T=e[1];this.S=e[0];this.Z=g;this.ca=h[0];this.ga=h[1];this.wa=n;this.Xa=k;this.Ja=b;this.Ya=p[0]};
function Vq(b,c,d){this.i=c;this.j=b;this.g=d;this.f={}}function Wq(b,c){var d=[],e;for(e in b.f)d.push(Pq(b.f[e],c));return Ba.apply(null,d)}function Xq(b,c){for(var d in b.f)Rq(b.f[d],c)}Vq.prototype.a=function(b,c){var d=this.f[c];m(d)||(d=new Yq[c](this.j,this.i),this.f[c]=d);return d};Vq.prototype.Ia=function(){return Sc(this.f)};Vq.prototype.b=function(b,c,d,e,f,g,h,k,n,p,q,r){var t,u;g=0;for(t=Gm.length;g<t;++g)u=this.f[Gm[g]],m(u)&&Tq(u,b,c,d,e,f,h,k,n,p,q,r,void 0,!1)};
function Zq(b,c,d,e,f,g,h,k,n,p,q,r,t,u){var z=$q,w,C;for(w=Gm.length-1;0<=w;--w)if(C=b.f[Gm[w]],m(C)&&(C=Tq(C,c,d,e,f,z,g,h,k,n,p,q,r,t,u)))return C}Vq.prototype.c=function(b,c,d,e,f,g,h,k,n,p,q,r,t,u){var z=c.a;z.bindFramebuffer(z.FRAMEBUFFER,c.mf());var w;m(this.g)&&(w=ec(lc(b),e*this.g));return Zq(this,c,b,e,f,k,n,p,q,r,t,function(b){var c=new Uint8Array(4);z.readPixels(0,0,1,1,z.RGBA,z.UNSIGNED_BYTE,c);if(0<c[3]&&(b=u(b)))return b},!0,w)};
function ar(b,c,d,e,f,g,h,k,n,p,q){var r=d.a;r.bindFramebuffer(r.FRAMEBUFFER,d.mf());b=Zq(b,d,c,e,f,g,h,k,n,p,q,function(){var b=new Uint8Array(4);r.readPixels(0,0,1,1,r.RGBA,r.UNSIGNED_BYTE,b);return 0<b[3]},!1);return m(b)}var Yq={Image:Oq},$q=[1,1];function br(b,c,d,e,f,g){this.f=b;this.g=c;this.c=g;this.l=f;this.j=e;this.i=d;this.b=null;this.a={}}x(br,jk);l=br.prototype;l.Fc=function(b,c){var d=b.toString(),e=this.a[d];m(e)?e.push(c):this.a[d]=[c]};l.Gc=function(){};l.cf=function(b,c){var d=(0,c.g)(b);if(null!=d&&Ac(this.c,d.P())){var e=c.a;m(e)||(e=0);this.Fc(e,function(b){b.Pa(c.c,c.b);b.nb(c.W());b.Qa(c.f);var e=cr[d.U()];e&&e.call(b,d,null)})}};
l.Qd=function(b,c){var d=b.c,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e],h=cr[g.U()];h&&h.call(this,g,c)}};l.wb=function(b,c){var d=this.f,e=(new Vq(1,this.c)).a(0,"Image");e.nb(this.b);e.wb(b,c);Rq(e,d);Tq(e,this.f,this.g,this.i,this.j,this.l,1,0,1,0,1,{},void 0,!1);Pq(e,d)()};l.Qb=function(){};l.Hc=function(){};l.vb=function(b,c){var d=this.f,e=(new Vq(1,this.c)).a(0,"Image");e.nb(this.b);e.vb(b,c);Rq(e,d);Tq(e,this.f,this.g,this.i,this.j,this.l,1,0,1,0,1,{},void 0,!1);Pq(e,d)()};l.Ic=function(){};
l.mc=function(){};l.xb=function(){};l.Pa=function(){};l.nb=function(b){this.b=b};l.Qa=function(){};var cr={Point:br.prototype.wb,MultiPoint:br.prototype.vb,GeometryCollection:br.prototype.Qd};function dr(){this.a="precision mediump float;varying vec2 a;uniform mat4 f;uniform float g;uniform sampler2D h;void main(void){vec4 texColor=texture2D(h,a);gl_FragColor.rgb=(f*vec4(texColor.rgb,1.)).rgb;gl_FragColor.a=texColor.a*g;}"}x(dr,xq);da(dr);function er(){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;}"}x(er,yq);da(er);
function fr(b,c){this.j=b.getUniformLocation(c,"f");this.b=b.getUniformLocation(c,"g");this.c=b.getUniformLocation(c,"e");this.i=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"b");this.f=b.getAttribLocation(c,"c")};function gr(){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;}"}x(gr,xq);da(gr);function hr(){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;}"}x(hr,yq);da(hr);
function ir(b,c){this.b=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.i=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.f=b.getAttribLocation(c,"c")};function jr(b,c){rk.call(this,c);this.b=b;this.S=new Fq([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.g=this.cb=null;this.i=void 0;this.B=$a();this.A=bb();this.Z=new Dg;this.u=this.v=null}x(jr,rk);
function kr(b,c,d){var e=b.b.b;if(m(b.i)&&b.i==d)e.bindFramebuffer(36160,b.g);else{c.postRenderFunctions.push(sa(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.g,b.cb));c=Jq(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.cb=c;b.g=f;b.i=d}}
jr.prototype.eh=function(b,c,d){lr(this,"precompose",d,b);Hq(d,34962,this.S);var e=d.a,f=c.brightness||1!=c.contrast||c.hue||1!=c.saturation,g,h;f?(g=dr.Za(),h=er.Za()):(g=gr.Za(),h=hr.Za());g=Lq(d,g,h);f?null===this.v?this.v=h=new fr(e,g):h=this.v:null===this.u?this.u=h=new ir(e,g):h=this.u;d.Be(g)&&(e.enableVertexAttribArray(h.a),e.vertexAttribPointer(h.a,2,5126,!1,16,0),e.enableVertexAttribArray(h.f),e.vertexAttribPointer(h.f,2,5126,!1,16,8),e.uniform1i(h.g,0));e.uniformMatrix4fv(h.i,!1,this.B);
e.uniformMatrix4fv(h.c,!1,this.A);f&&e.uniformMatrix4fv(h.j,!1,Eg(this.Z,c.brightness,c.contrast,c.hue,c.saturation));e.uniform1f(h.b,c.opacity);e.bindTexture(3553,this.cb);e.drawArrays(5,0,4);lr(this,"postcompose",d,b)};function lr(b,c,d,e){b=b.a;if(fe(b,c)){var f=e.viewState;D(b,new kk(c,b,new br(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}jr.prototype.Cf=function(){this.g=this.cb=null;this.i=void 0};function mr(b,c){jr.call(this,b,c);this.l=this.j=this.c=null}x(mr,jr);function nr(b,c){var d=c.W();return Nq(b.b.b,d)}mr.prototype.Ua=function(b,c,d,e){var f=this.a;return f.da().te(b,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};
mr.prototype.Df=function(b,c){var d=this.b.b,e=b.pixelRatio,f=b.viewState,g=f.center,h=f.resolution,k=f.rotation,n=this.c,p=this.cb,q=this.a.da(),r=b.viewHints,t=b.extent;m(c.extent)&&(t=zc(t,c.extent));r[0]||r[1]||Cc(t)||(f=f.projection,r=q.j,null===r||(f=r),t=q.W(t,h,e,f),null!==t&&tk(this,t)&&(n=t,p=nr(this,t),null===this.cb||b.postRenderFunctions.push(sa(function(b,c){b.isContextLost()||b.deleteTexture(c)},d,this.cb))));null!==n&&(d=this.b.g.v,or(this,d.width,d.height,e,g,h,k,n.P()),this.l=null,
e=this.B,eb(e),jb(e,1,-1),ib(e,0,-1),this.c=n,this.cb=p,vk(b.attributions,n.g),wk(b,q));return!0};function or(b,c,d,e,f,g,h,k){c*=g;d*=g;b=b.A;eb(b);jb(b,2*e/c,2*e/d);kb(b,-h);ib(b,k[0]-f[0],k[1]-f[1]);jb(b,(k[2]-k[0])/2,(k[3]-k[1])/2);ib(b,1,1)}mr.prototype.se=function(b,c){var d=this.Ua(b,c,xa,this);return m(d)};
mr.prototype.tc=function(b,c,d,e){if(null!==this.c&&!fa(this.c.W()))if(this.a.da()instanceof Xp){if(b=b.slice(),qk(c.pixelToCoordinateMatrix,b,b),this.Ua(b,c,xa,this))return d.call(e,this.a)}else{var f=[this.c.W().width,this.c.W().height];if(null===this.l){var g=c.size;c=$a();eb(c);ib(c,-1,-1);jb(c,2/g[0],2/g[1]);ib(c,0,g[1]);jb(c,1,-1);g=$a();hb(this.A,g);var h=$a();eb(h);ib(h,0,f[1]);jb(h,1,-1);jb(h,f[0]/2,f[1]/2);ib(h,1,1);var k=$a();fb(h,g,k);fb(k,c,k);this.l=k}c=[0,0];qk(this.l,b,c);if(!(0>c[0]||
c[0]>f[0]||0>c[1]||c[1]>f[1])&&(null===this.j&&(this.j=Wi(1,1)),this.j.clearRect(0,0,1,1),this.j.drawImage(this.c.W(),c[0],c[1],1,1,0,0,1,1),0<this.j.getImageData(0,0,1,1).data[3]))return d.call(e,this.a)}};function pr(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}x(pr,xq);da(pr);function qr(){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;}"}x(qr,yq);da(qr);function rr(b,c){this.b=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.f=b.getAttribLocation(c,"c")};function sr(b,c){jr.call(this,b,c);this.M=pr.Za();this.ca=qr.Za();this.c=null;this.C=new Fq([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.D=this.j=null;this.l=-1;this.T=[0,0]}x(sr,jr);l=sr.prototype;l.Y=function(){Iq(this.b.g,this.C);sr.ba.Y.call(this)};l.bd=function(b,c){var d=this.b;return function(e,f){return Vh(b,e,f,function(b){var f=Bh(d.f,b.lb());f&&(c[e]||(c[e]={}),c[e][b.a.toString()]=b);return f})}};l.Cf=function(){sr.ba.Cf.call(this);this.c=null};
l.Df=function(b,c,d){var e=this.b,f=d.a,g=b.viewState,h=g.projection,k=this.a,n=k.da(),p=Wh(n,h),q=Rh(p,g.resolution),r=p.Ca(q),t=n.Jb(q,b.pixelRatio,h),u=t[0]/Zb(p.Ha(q),this.T)[0],z=r/u,w=n.Ud(),C=g.center,y;r==g.resolution?(C=yk(C,r,b.size),y=xc(C,r,g.rotation,b.size)):y=b.extent;r=Ph(p,y,r);if(null!==this.j&&pg(this.j,r)&&this.l==n.f)z=this.D;else{var A=[qg(r),r.b-r.f+1],A=Math.max(A[0]*t[0],A[1]*t[1]),H=Math.pow(2,Math.ceil(Math.log(A)/Math.LN2)),A=z*H,K=p.Qc(q),J=K[0]+r.a*t[0]*z,z=K[1]+r.f*
t[1]*z,z=[J,z,J+A,z+A];kr(this,b,H);f.viewport(0,0,H,H);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);H=Lq(d,this.M,this.ca);d.Be(H);null===this.c&&(this.c=new rr(f,H));Hq(d,34962,this.C);f.enableVertexAttribArray(this.c.a);f.vertexAttribPointer(this.c.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.c.f);f.vertexAttribPointer(this.c.f,2,5126,!1,16,8);f.uniform1i(this.c.b,0);d={};d[q]={};var Q=this.bd(n,d),ta=k.b(),H=!0,J=ac(),Va=new og(0,0,0,0),S,Ia,gb;for(Ia=r.a;Ia<=r.c;++Ia)for(gb=r.f;gb<=
r.b;++gb){K=n.Ib(q,Ia,gb,u,h);if(m(c.extent)&&(S=Nh(p,K.a,J),!Ac(S,c.extent)))continue;S=K.state;if(2==S){if(Bh(e.f,K.lb())){d[q][hg(K.a)]=K;continue}}else if(4==S||3==S&&!ta)continue;H=!1;S=Mh(p,K.a,Q,Va,J);S||(K=Oh(p,K.a,Va,J),null===K||Q(q+1,K))}c=pb(Oc(d),Number);Ab(c);for(var Q=new Float32Array(4),Qa,Ib,cb,ta=0,Va=c.length;ta<Va;++ta)for(Qa in Ib=d[c[ta]],Ib)K=Ib[Qa],S=Nh(p,K.a,J),Ia=2*(S[2]-S[0])/A,gb=2*(S[3]-S[1])/A,cb=2*(S[0]-z[0])/A-1,S=2*(S[1]-z[1])/A-1,Za(Q,Ia,gb,cb,S),f.uniform4fv(this.c.c,
Q),tr(e,K,t,w*u),f.drawArrays(5,0,4);H?(this.j=r,this.D=z,this.l=n.f):(this.D=this.j=null,this.l=-1,b.animate=!0)}xk(b.usedTiles,n,q,r);var Lc=e.l;zk(b,n,p,u,h,y,q,k.a(),function(b){var c;(c=2!=b.state||Bh(e.f,b.lb()))||(c=b.lb()in Lc.b);c||Ak(Lc,[b,jg(p,b.a),p.Ca(b.a[0]),t,w*u])},this);uk(b,n);wk(b,n);f=this.B;eb(f);ib(f,(C[0]-z[0])/(z[2]-z[0]),(C[1]-z[1])/(z[3]-z[1]));0!==g.rotation&&kb(f,g.rotation);jb(f,b.size[0]*g.resolution/(z[2]-z[0]),b.size[1]*g.resolution/(z[3]-z[1]));ib(f,-.5,-.5);return!0};
l.tc=function(b,c,d,e){if(null!==this.g){var f=[0,0];qk(this.B,[b[0]/c.size[0],(c.size[1]-b[1])/c.size[1]],f);b=[f[0]*this.i,f[1]*this.i];c=this.b.g.a;c.bindFramebuffer(c.FRAMEBUFFER,this.g);f=new Uint8Array(4);c.readPixels(b[0],b[1],1,1,c.RGBA,c.UNSIGNED_BYTE,f);if(0<f[3])return d.call(e,this.a)}};function ur(b,c){jr.call(this,b,c);this.l=!1;this.T=-1;this.M=NaN;this.D=ac();this.j=this.c=this.C=null}x(ur,jr);l=ur.prototype;l.eh=function(b,c,d){this.j=c;var e=b.viewState,f=this.c;null===f||f.Ia()||f.b(d,e.center,e.resolution,e.rotation,b.size,b.pixelRatio,c.opacity,c.brightness,c.contrast,c.hue,c.saturation,c.qb?b.skippedFeatureUids:{})};l.Y=function(){var b=this.c;null!==b&&(Wq(b,this.b.g)(),this.c=null);ur.ba.Y.call(this)};
l.Ua=function(b,c,d,e){if(null!==this.c&&null!==this.j){var f=c.viewState,g=this.a,h=this.j,k={};return this.c.c(b,this.b.g,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,h.opacity,h.brightness,h.contrast,h.hue,h.saturation,h.qb?c.skippedFeatureUids:{},function(b){var c=ma(b).toString();if(!(c in k))return k[c]=!0,d.call(e,b,g)})}};
l.se=function(b,c){if(null===this.c||null===this.j)return!1;var d=c.viewState,e=this.j;return ar(this.c,b,this.b.g,d.resolution,d.rotation,e.opacity,e.brightness,e.contrast,e.hue,e.saturation,c.skippedFeatureUids)};l.tc=function(b,c,d,e){b=b.slice();qk(c.pixelToCoordinateMatrix,b,b);if(this.se(b,c))return d.call(e,this.a)};l.om=function(){sk(this)};
l.Df=function(b,c,d){function e(b){var c;m(b.Ta())?c=b.Ta().call(b,p):m(f.a)&&(c=(0,f.a)(b,p));if(null!=c){if(null!=c){var d,e,g=!1;d=0;for(e=c.length;d<e;++d)g=qn(t,b,c[d],pn(p,q),this.om,this)||g;b=g}else b=!1;this.l=this.l||b}}var f=this.a;c=f.da();vk(b.attributions,c.g);wk(b,c);var g=b.viewHints[0],h=b.viewHints[1],k=f.j,n=f.l;if(!this.l&&!k&&g||!n&&h)return!0;var h=b.extent,k=b.viewState,g=k.projection,p=k.resolution,q=b.pixelRatio,k=f.f,r=f.b,n=mm(f);m(n)||(n=on);h=ec(h,r*p);if(!this.l&&this.M==
p&&this.T==k&&this.C==n&&jc(this.D,h))return!0;null===this.c||b.postRenderFunctions.push(Wq(this.c,d));this.l=!1;var t=new Vq(.5*p/q,h,f.b);c.rc(h,p,g);if(null===n)c.Rb(h,p,e,this);else{var u=[];c.Rb(h,p,function(b){u.push(b)},this);Ab(u,n);nb(u,e,this)}Xq(t,d);this.M=p;this.T=k;this.C=n;this.D=h;this.c=t;return!0};function vr(b,c){Fk.call(this,0,c);this.a=Sg("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Vg(b,this.a,0);this.A=this.D=0;this.C=Wi();this.B=!0;this.b=bj(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Gq(this.a,this.b);B(this.a,"webglcontextlost",this.mm,!1,this);B(this.a,"webglcontextrestored",this.nm,!1,this);this.f=new Ah;this.u=null;this.l=new Kk(ra(function(b){var c=b[1];b=b[2];
var f=c[0]-this.u[0],c=c[1]-this.u[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b},this),function(b){return b[0].lb()});this.M=ra(function(){if(!this.l.Ia()){Ok(this.l);var b=Lk(this.l);tr(this,b[0],b[3],b[4])}},this);this.j=0;wr(this)}x(vr,Fk);
function tr(b,c,d,e){var f=b.b,g=c.lb();if(Bh(b.f,g))b=b.f.get(g),f.bindTexture(3553,b.cb),9729!=b.Jg&&(f.texParameteri(3553,10240,9729),b.Jg=9729),9729!=b.Kg&&(f.texParameteri(3553,10240,9729),b.Kg=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.C.canvas,n=b.C;b.D!==d[0]||b.A!==d[1]?(k.width=d[0],k.height=d[1],b.D=d[0],b.A=d[1]):n.clearRect(0,0,d[0],d[1]);n.drawImage(c.W(),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.W());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.f.set(g,{cb:h,Jg:9729,Kg:9729})}}l=vr.prototype;l.bf=function(b){return b instanceof L?new mr(this,b):b instanceof M?new sr(this,b):b instanceof N?new ur(this,b):null};
function xr(b,c,d){var e=b.i;if(fe(e,c)){var f=b.g;b=d.viewState;b=new br(f,b.center,b.resolution,b.rotation,d.size,d.extent);D(e,new kk(c,e,b,d,null,f));c=pb(Oc(b.a),Number);Ab(c);var g,h;d=0;for(e=c.length;d<e;++d)for(f=b.a[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](b)}}l.Y=function(){var b=this.b;b.isContextLost()||this.f.forEach(function(c){null===c||b.deleteTexture(c.cb)});wd(this.g);vr.ba.Y.call(this)};
l.jj=function(b,c){for(var d=this.b,e;1024<this.f.nc()-this.j;){e=this.f.a.Bc;if(null===e)if(+this.f.a.je==c.index)break;else--this.j;else d.deleteTexture(e.cb);this.f.pop()}};l.U=function(){return"webgl"};l.mm=function(b){b.preventDefault();this.f.clear();this.j=0;Jc(this.c,function(b){b.Cf()})};l.nm=function(){wr(this);this.i.render()};function wr(b){b=b.b;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)}
l.He=function(b){var c=this.g,d=this.b;if(d.isContextLost())return!1;if(null===b)return this.B&&(rh(this.a,!1),this.B=!1),!1;this.u=b.focus;this.f.set((-b.index).toString(),null);++this.j;xr(this,"precompose",b);var e=[],f=b.layerStatesArray;Cb(f);var g=b.viewState.resolution,h,k,n,p;h=0;for(k=f.length;h<k;++h)p=f[h],lk(p,g)&&"ready"==p.M&&(n=Ik(this,p.layer),n.Df(b,p,c)&&e.push(p));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)p=e[h],n=Ik(this,p.layer),n.eh(b,p,c);this.B||(rh(this.a,!0),this.B=!0);Gk(b);1024<this.f.nc()-this.j&&b.postRenderFunctions.push(ra(this.jj,this));this.l.Ia()||(b.postRenderFunctions.push(this.M),b.animate=!0);xr(this,"postcompose",b);Jk(this,b);b.postRenderFunctions.push(Hk)};
l.Bf=function(b,c,d,e,f,g){var h;if(this.b.isContextLost())return!1;var k=c.viewState,n=c.layerStatesArray,p;for(p=n.length-1;0<=p;--p){h=n[p];var q=h.layer;if(lk(h,k.resolution)&&f.call(g,q)&&(h=Ik(this,q).Ua(b,c,d,e)))return h}};l.dh=function(b,c,d,e){var f=!1;if(this.b.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var n=h[k],p=n.layer;if(lk(n,g.resolution)&&d.call(e,p)&&(f=Ik(this,p).se(b,c)))return!0}return f};
l.bh=function(b,c,d,e,f){if(this.b.isContextLost())return!1;var g=c.viewState,h,k=c.layerStatesArray,n;for(n=k.length-1;0<=n;--n){h=k[n];var p=h.layer;if(lk(h,g.resolution)&&f.call(e,p)&&(h=Ik(this,p).tc(b,c,d,e)))return h}};var yr=["canvas","webgl","dom"];
function X(b){je.call(this);var c=zr(b);this.tb=m(b.loadTilesWhileAnimating)?b.loadTilesWhileAnimating:!1;this.Pb=m(b.loadTilesWhileInteracting)?b.loadTilesWhileInteracting:!1;this.Xc=m(b.pixelRatio)?b.pixelRatio:dj;this.Dc=c.logos;this.u=new oi(this.xo,void 0,this);vd(this,this.u);this.eb=$a();this.Re=$a();this.sb=0;this.b=null;this.Ja=ac();this.j=this.M=null;this.a=Pg("DIV","ol-viewport");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";ij&&dh(this.a,"ol-touch");this.ga=Pg("DIV","ol-overlaycontainer");this.a.appendChild(this.ga);this.D=Pg("DIV","ol-overlaycontainer-stopevent");B(this.D,["click","dblclick","mousedown","touchstart","MSPointerDown",ek,dd?"DOMMouseScroll":"mousewheel"],yd);this.a.appendChild(this.D);b=new Wj(this);B(b,Nc(hk),this.Bg,!1,this);vd(this,b);this.Z=c.keyboardEventTarget;this.A=new Gi;B(this.A,"key",this.Ag,!1,this);vd(this,this.A);b=new Oi(this.a);B(b,"mousewheel",
this.Ag,!1,this);vd(this,b);this.g=c.controls;this.c=c.interactions;this.i=c.overlays;this.l=new c.zo(this.a,this);vd(this,this.l);this.Ya=new Bi;vd(this,this.Ya);this.T=this.v=null;this.C=[];this.wa=[];this.ca=new Pk(ra(this.bk,this),ra(this.Lk,this));this.S={};B(this,le("layergroup"),this.qk,!1,this);B(this,le("view"),this.Mk,!1,this);B(this,le("size"),this.Ik,!1,this);B(this,le("target"),this.Kk,!1,this);this.H(c.values);this.g.forEach(function(b){b.setMap(this)},this);B(this.g,"add",function(b){b.element.setMap(this)},
!1,this);B(this.g,"remove",function(b){b.element.setMap(null)},!1,this);this.c.forEach(function(b){b.setMap(this)},this);B(this.c,"add",function(b){b.element.setMap(this)},!1,this);B(this.c,"remove",function(b){b.element.setMap(null)},!1,this);this.i.forEach(function(b){b.setMap(this)},this);B(this.i,"add",function(b){b.element.setMap(this)},!1,this);B(this.i,"remove",function(b){b.element.setMap(null)},!1,this)}x(X,je);l=X.prototype;l.Xi=function(b){this.g.push(b)};l.Yi=function(b){this.c.push(b)};
l.kg=function(b){this.oc().Nc().push(b)};l.lg=function(b){this.i.push(b)};l.Ka=function(b){this.render();Array.prototype.push.apply(this.C,arguments)};l.Y=function(){Wg(this.a);X.ba.Y.call(this)};l.md=function(b,c,d,e,f){if(null!==this.b)return b=this.Da(b),this.l.Bf(b,this.b,c,m(d)?d:null,m(e)?e:xa,m(f)?f:null)};l.wl=function(b,c,d,e,f){if(null!==this.b)return this.l.bh(b,this.b,c,m(d)?d:null,m(e)?e:xa,m(f)?f:null)};
l.Ok=function(b,c,d){if(null===this.b)return!1;b=this.Da(b);return this.l.dh(b,this.b,m(c)?c:xa,m(d)?d:null)};l.yj=function(b){return this.Da(this.Sd(b))};l.Sd=function(b){var c;c=this.a;b=oh(b);c=oh(c);c=new Gg(b.x-c.x,b.y-c.y);return[c.x,c.y]};l.xf=function(){return this.get("target")};l.Lc=function(){var b=this.xf();return m(b)?Lg(b):null};l.Da=function(b){var c=this.b;if(null===c)return null;b=b.slice();return qk(c.pixelToCoordinateMatrix,b,b)};l.wj=function(){return this.g};l.Rj=function(){return this.i};
l.Fj=function(){return this.c};l.oc=function(){return this.get("layergroup")};l.Qg=function(){return this.oc().Nc()};l.La=function(b){var c=this.b;if(null===c)return null;b=b.slice(0,2);return qk(c.coordinateToPixelMatrix,b,b)};l.Na=function(){return this.get("size")};l.$=function(){return this.get("view")};l.dk=function(){return this.a};
l.bk=function(b,c,d,e){var f=this.b;if(!(null!==f&&c in f.wantedTiles&&f.wantedTiles[c][hg(b.a)]))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};l.Ag=function(b,c){var d=new Uj(c||b.type,this,b);this.Bg(d)};l.Bg=function(b){if(null!==this.b){this.T=b.coordinate;b.frameState=this.b;var c=this.c.a,d;if(!1!==D(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.b()&&!e.handleEvent(b))break}}};
l.Gk=function(){var b=this.b,c=this.ca;if(!c.Ia()){var d=16,e=d,f=0;null!==b&&(f=b.viewHints,f[0]&&(d=this.tb?8:0,e=2),f[1]&&(d=this.Pb?8:0,e=2),f=Mc(b.wantedTiles));d*=f;e*=f;c.c<d&&(Ok(c),Qk(c,d,e))}c=this.wa;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};l.Ik=function(){this.render()};
l.Kk=function(){var b=this.Lc();Ni(this.A);null===b?(Wg(this.a),null!==this.v&&($d(this.v),this.v=null)):(b.appendChild(this.a),Hi(this.A,null===this.Z?b:this.Z),null===this.v&&(this.v=B(this.Ya,"resize",this.Uc,!1,this)));this.Uc()};l.Lk=function(){this.render()};l.Nk=function(){this.render()};l.Mk=function(){null!==this.M&&($d(this.M),this.M=null);var b=this.$();null!==b&&(this.M=B(b,"propertychange",this.Nk,!1,this));this.render()};l.rk=function(){this.render()};l.sk=function(){this.render()};
l.qk=function(){if(null!==this.j){for(var b=this.j.length,c=0;c<b;++c)$d(this.j[c]);this.j=null}b=this.oc();null!=b&&(this.j=[B(b,"propertychange",this.sk,!1,this),B(b,"change",this.rk,!1,this)]);this.render()};l.yo=function(){var b=this.u;pi(b);b.c()};l.render=function(){null!=this.u.ja||this.u.start()};l.ro=function(b){if(m(this.g.remove(b)))return b};l.so=function(b){var c;m(this.c.remove(b))&&(c=b);return c};l.uo=function(b){return this.oc().Nc().remove(b)};l.vo=function(b){if(m(this.i.remove(b)))return b};
l.xo=function(b){var c,d,e,f=this.Na(),g=this.$(),h=null;if(m(f)&&0<f[0]&&0<f[1]&&null!==g&&Vf(g)){var h=g.b.slice(),k=this.oc().of(),n={};c=0;for(d=k.length;c<d;++c)n[ma(k[c].layer)]=k[c];e=Uf(g);h={animate:!1,attributions:{},coordinateToPixelMatrix:this.eb,extent:null,focus:null===this.T?e.center:this.T,index:this.sb++,layerStates:n,layerStatesArray:k,logos:Xc(this.Dc),pixelRatio:this.Xc,pixelToCoordinateMatrix:this.Re,postRenderFunctions:[],size:f,skippedFeatureUids:this.S,tileQueue:this.ca,time:b,
usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(null!==h){b=this.C;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=xc(e.center,e.resolution,e.rotation,h.size)}this.b=h;this.l.He(h);null!==h&&(h.animate&&this.render(),Array.prototype.push.apply(this.wa,h.postRenderFunctions),0!==this.C.length||h.viewHints[0]||h.viewHints[1]||oc(h.extent,this.Ja)||(D(this,new yh("moveend",this,h)),fc(h.extent,this.Ja)));D(this,new yh("postrender",this,h));ti(this.Gk,this)};
l.Ph=function(b){this.set("layergroup",b)};l.Vf=function(b){this.set("size",b)};l.xl=function(b){this.set("target",b)};l.Oo=function(b){this.set("view",b)};l.Uh=function(b){b=ma(b).toString();this.S[b]=!0;this.render()};
l.Uc=function(){var b=this.Lc();if(null===b)this.Vf(void 0);else{var c=Kg(b),d=bd&&b.currentStyle;d&&$g(Ig(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=sh(b,d.width,"width","pixelWidth"),b=sh(b,d.height,"height","pixelHeight"),b=new Hg(c,b)):(d=new Hg(b.offsetWidth,b.offsetHeight),c=uh(b,"padding"),b=xh(b),b=new Hg(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom));this.Vf([b.width,b.height])}};l.Xh=function(b){b=ma(b).toString();delete this.S[b];this.render()};
function zr(b){var c=null;m(b.keyboardEventTarget)&&(c=ia(b.keyboardEventTarget)?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(!m(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;ia(f)?e[f]="":la(f)&&(e[f.src]=f.href)}f=b.layers instanceof I?b.layers:new I({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=m(b.view)?b.view:new Rf;var f=Fk,g;m(b.renderer)?ga(b.renderer)?g=b.renderer:ia(b.renderer)&&(g=[b.renderer]):g=yr;var h,k;h=0;for(k=g.length;h<k;++h){var n=g[h];if("canvas"==n){if(fj){f=mq;break}}else if("dom"==n){f=uq;break}else if("webgl"==n&&cj){f=vr;break}}var p;m(b.controls)?p=ga(b.controls)?new ug(b.controls.slice()):
b.controls:p=ei();var q;m(b.interactions)?q=ga(b.interactions)?new ug(b.interactions.slice()):b.interactions:q=em();b=m(b.overlays)?ga(b.overlays)?new ug(b.overlays.slice()):b.overlays:new ug;return{controls:p,interactions:q,keyboardEventTarget:c,logos:e,overlays:b,zo:f,values:d}}lm();function Ar(b){je.call(this);this.j=m(b.insertFirst)?b.insertFirst:!0;this.l=m(b.stopEvent)?b.stopEvent:!0;this.b=Pg("DIV",{"class":"ol-overlay-container"});this.b.style.position="absolute";this.autoPan=m(b.autoPan)?b.autoPan:!1;this.g=m(b.autoPanAnimation)?b.autoPanAnimation:{};this.i=m(b.autoPanMargin)?b.autoPanMargin:20;this.a={Md:"",ke:"",Ie:"",Je:"",visible:!0};this.c=null;B(this,le("element"),this.lk,!1,this);B(this,le("map"),this.xk,!1,this);B(this,le("offset"),this.Ck,!1,this);B(this,le("position"),
this.Ek,!1,this);B(this,le("positioning"),this.Fk,!1,this);m(b.element)&&this.Mh(b.element);this.Rh(m(b.offset)?b.offset:[0,0]);this.Sh(m(b.positioning)?b.positioning:"top-left");m(b.position)&&this.yf(b.position)}x(Ar,je);l=Ar.prototype;l.ne=function(){return this.get("element")};l.oe=function(){return this.get("map")};l.xg=function(){return this.get("offset")};l.Rg=function(){return this.get("position")};l.yg=function(){return this.get("positioning")};
l.lk=function(){Ug(this.b);var b=this.ne();null!=b&&Tg(this.b,b)};l.xk=function(){null!==this.c&&(Wg(this.b),$d(this.c),this.c=null);var b=this.oe();null!=b&&(this.c=B(b,"postrender",this.render,!1,this),Br(this),b=this.l?b.D:b.ga,this.j?Vg(b,this.b,0):Tg(b,this.b))};l.render=function(){Br(this)};l.Ck=function(){Br(this)};
l.Ek=function(){Br(this);if(m(this.get("position"))&&this.autoPan){var b=this.oe();if(m(b)&&!fa(b.Lc())){var c=Cr(b.Lc(),b.Na()),d=this.ne(),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=Cr(d,[e,f]),d=this.i;jc(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.$().Oa(),e=b.La(d),c=[e[0]+c[0],e[1]+c[1]],null!==this.g&&(this.g.source=d,b.Ka(ag(this.g))),b.$().bb(b.Da(c)))}}};l.Fk=function(){Br(this)};l.Mh=function(b){this.set("element",b)};l.setMap=function(b){this.set("map",b)};l.Rh=function(b){this.set("offset",b)};l.yf=function(b){this.set("position",b)};
function Cr(b,c){var d=Kg(b),e=new Gg(0,0),f;f=d?Kg(d):document;f=!bd||9<=od||$g(Ig(f))?f.documentElement:f.body;b!=f&&(f=nh(b),d=ah(Ig(d)),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]]}l.Sh=function(b){this.set("positioning",b)};function Dr(b,c){b.a.visible!==c&&(rh(b.b,c),b.a.visible=c)}
function Br(b){var c=b.oe(),d=b.Rg();if(m(c)&&null!==c.b&&m(d)){var d=c.La(d),e=c.Na(),c=b.b.style,f=b.xg(),g=b.yg(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.ke&&(b.a.ke=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.Ie!=h&&(b.a.Ie=c.right=h);else{""!==b.a.Ie&&(b.a.Ie=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=ph(b.b).width/2;h=Math.round(d[0]+h)+"px";b.a.ke!=h&&(b.a.ke=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"==
g)""!==b.a.Je&&(b.a.Je=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.Md!=d&&(b.a.Md=c.bottom=d);else{""!==b.a.Md&&(b.a.Md=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=ph(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.Je!=d&&(b.a.Je=c.top=d)}Dr(b,!0)}else Dr(b,!1)};function Er(b){b=m(b)?b:{};this.i=m(b.collapsed)?b.collapsed:!0;this.j=m(b.collapsible)?b.collapsible:!0;this.j||(this.i=!1);var c=m(b.className)?b.className:"ol-overviewmap",d=m(b.tipLabel)?b.tipLabel:"Overview map",e=m(b.collapseLabel)?b.collapseLabel:"\u00ab";this.u=ia(e)?Pg("SPAN",{},e):e;e=m(b.label)?b.label:"\u00bb";this.A=ia(e)?Pg("SPAN",{},e):e;d=Pg("BUTTON",{type:"button",title:d},this.j&&!this.i?this.u:this.A);B(d,"click",this.Il,!1,this);var e=Pg("DIV","ol-overviewmap-map"),f=this.c=new X({controls:new ug,
interactions:new ug,target:e});m(b.layers)&&b.layers.forEach(function(b){f.kg(b)},this);var g=Pg("DIV","ol-overviewmap-box");this.l=new Ar({position:[0,0],positioning:"bottom-left",element:g});this.c.lg(this.l);c=Pg("DIV",c+" ol-unselectable ol-control"+(this.i&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible"),e,d);zh.call(this,{element:c,render:m(b.render)?b.render:Fr,target:b.target})}x(Er,zh);l=Er.prototype;
l.setMap=function(b){var c=this.a;b!==c&&(c&&(c=c.$())&&Zd(c,le("rotation"),this.ee,!1,this),Er.ba.setMap.call(this,b),b&&(this.v.push(B(b,"propertychange",this.yk,!1,this)),0===this.c.Qg().Ub()&&this.c.Ph(b.oc()),b=b.$()))&&(B(b,le("rotation"),this.ee,!1,this),Vf(b)&&(this.c.Uc(),Gr(this)))};l.yk=function(b){"view"===b.key&&((b=b.oldValue)&&Zd(b,le("rotation"),this.ee,!1,this),b=this.a.$(),B(b,le("rotation"),this.ee,!1,this))};l.ee=function(){this.c.$().pe(this.a.$().Ba())};
function Fr(){var b=this.a,c=this.c;if(null!==b.b&&null!==c.b){var d=b.Na(),b=b.$().Zc(d),e=c.Na(),d=c.$().Zc(e),f=c.La(vc(b)),c=c.La(tc(b)),c=new Hg(Math.abs(f[0]-c[0]),Math.abs(f[1]-c[1])),f=e[0],e=e[1];c.width<.1*f||c.height<.1*e||c.width>.75*f||c.height>.75*e?Gr(this):jc(d,b)||(b=this.c,d=this.a.$(),b.$().bb(d.Oa()))}Hr(this)}function Gr(b){var c=b.a;b=b.c;var d=c.Na(),c=c.$().Zc(d),d=b.Na();b=b.$();var e=Math.log(7.5)/Math.LN2;Dc(c,1/(.1*Math.pow(2,e/2)));b.df(c,d)}
function Hr(b){var c=b.a,d=b.c;if(null!==c.b&&null!==d.b){var e=c.Na(),f=c.$(),g=d.$();d.Na();var c=f.Ba(),h=b.l,d=b.l.ne(),f=f.Zc(e),e=g.ya(),g=sc(f),f=uc(f),k;b=b.a.$().Oa();m(b)&&(k=[g[0]-b[0],g[1]-b[1]],Tb(k,c),Ob(k,b));h.yf(k);null!=d&&(k=new Hg(Math.abs((g[0]-f[0])/e),Math.abs((f[1]-g[1])/e)),c=$g(Ig(Kg(d))),!bd||md("10")||c&&md("8")?(d=d.style,dd?d.MozBoxSizing="border-box":ed?d.WebkitBoxSizing="border-box":d.boxSizing="border-box",d.width=Math.max(k.width,0)+"px",d.height=Math.max(k.height,
0)+"px"):(b=d.style,c?(c=uh(d,"padding"),d=xh(d),b.pixelWidth=k.width-d.left-c.left-c.right-d.right,b.pixelHeight=k.height-d.top-c.top-c.bottom-d.bottom):(b.pixelWidth=k.width,b.pixelHeight=k.height)))}}l.Il=function(b){b.preventDefault();Ir(this)};function Ir(b){fh(b.element,"ol-collapsed");b.i?Xg(b.u,b.A):Xg(b.A,b.u);b.i=!b.i;var c=b.c;b.i||null!==c.b||(c.Uc(),Gr(b),Yd(c,"postrender",function(){Hr(this)},!1,b))}l.Hl=function(){return this.j};
l.Kl=function(b){this.j!==b&&(this.j=b,fh(this.element,"ol-uncollapsible"),!b&&this.i&&Ir(this))};l.Jl=function(b){this.j&&this.i!==b&&Ir(this)};l.Gl=function(){return this.i};function Jr(b){b=m(b)?b:{};var c=m(b.className)?b.className:"ol-scale-line";this.l=Pg("DIV",c+"-inner");this.j=Pg("DIV",c+" ol-unselectable",this.l);this.A=null;this.u=m(b.minWidth)?b.minWidth:64;this.c=!1;this.M=void 0;this.D="";this.i=null;zh.call(this,{element:this.j,render:m(b.render)?b.render:Kr,target:b.target});B(this,le("units"),this.Z,!1,this);this.S(b.units||"metric")}x(Jr,zh);var Lr=[1,2,5];Jr.prototype.C=function(){return this.get("units")};
function Kr(b){b=b.frameState;null===b?this.A=null:this.A=b.viewState;Mr(this)}Jr.prototype.Z=function(){Mr(this)};Jr.prototype.S=function(b){this.set("units",b)};
function Mr(b){var c=b.A;if(null===c)b.c&&(rh(b.j,!1),b.c=!1);else{var d=c.center,e=c.projection,c=e.getPointResolution(c.resolution,d),f=e.f,g=b.C();"degrees"!=f||"metric"!=g&&"imperial"!=g&&"us"!=g&&"nautical"!=g?"degrees"!=f&&"degrees"==g?(null===b.i&&(b.i=xe(e,te("EPSG:4326"))),d=Math.cos(Lb(b.i(d)[1])),e=pe.radius,e/=qe[f],c*=180/(Math.PI*d*e)):b.i=null:(b.i=null,d=Math.cos(Lb(d[1])),c*=Math.PI*d*pe.radius/180);d=b.u*c;f="";"degrees"==g?d<1/60?(f="\u2033",c*=3600):1>d?(f="\u2032",c*=60):f="\u00b0":
"imperial"==g?.9144>d?(f="in",c/=.0254):1609.344>d?(f="ft",c/=.3048):(f="mi",c/=1609.344):"nautical"==g?(c/=1852,f="nm"):"metric"==g?1>d?(f="mm",c*=1E3):1E3>d?f="m":(f="km",c/=1E3):"us"==g&&(.9144>d?(f="in",c*=39.37):1609.344>d?(f="ft",c/=.30480061):(f="mi",c/=1609.3472));for(d=3*Math.floor(Math.log(b.u*c)/Math.log(10));;){e=Lr[d%3]*Math.pow(10,Math.floor(d/3));g=Math.round(e/c);if(isNaN(g)){rh(b.j,!1);b.c=!1;return}if(g>=b.u)break;++d}c=e+" "+f;b.D!=c&&(b.l.innerHTML=c,b.D=c);b.M!=g&&(b.l.style.width=
g+"px",b.M=g);b.c||(rh(b.j,!0),b.c=!0)}};function Nr(b){sd.call(this);this.f=b;this.a={}}x(Nr,sd);var Or=[];Nr.prototype.ab=function(b,c,d,e){ga(c)||(c&&(Or[0]=c.toString()),c=Or);for(var f=0;f<c.length;f++){var g=B(b,c[f],d||this.handleEvent,e||!1,this.f||this);if(!g)break;this.a[g.key]=g}return this};
Nr.prototype.Wf=function(b,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)this.Wf(b,c[g],d,e,f);else d=d||this.handleEvent,f=f||this.f||this,d=Sd(d),e=!!e,c=Gd(b)?Nd(b.ob,String(c),d,e,f):b?(b=Ud(b))?Nd(b,c,d,e,f):null:null,c&&($d(c),delete this.a[c.key]);return this};function Pr(b){Jc(b.a,function(b,d){this.a.hasOwnProperty(d)&&$d(b)},b);b.a={}}Nr.prototype.Y=function(){Nr.ba.Y.call(this);Pr(this)};Nr.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Qr(b,c,d){de.call(this);this.target=b;this.handle=c||b;this.a=d||new hh(NaN,NaN,NaN,NaN);this.i=Kg(b);this.f=new Nr(this);vd(this,this.f);this.g=this.c=this.B=this.l=this.screenY=this.screenX=this.clientY=this.clientX=0;this.b=!1;B(this.handle,["touchstart","mousedown"],this.Vh,!1,this)}x(Qr,de);var Rr=bd||dd&&md("1.9.3");l=Qr.prototype;
l.Y=function(){Qr.ba.Y.call(this);Zd(this.handle,["touchstart","mousedown"],this.Vh,!1,this);Pr(this.f);Rr&&this.i.releaseCapture();this.handle=this.target=null};
l.Vh=function(b){var c="mousedown"==b.type;if(this.b||c&&!Ed(b))D(this,"earlycancel");else if(D(this,new Sr("start",this,b.clientX,b.clientY))){this.b=!0;b.preventDefault();var c=this.i,d=c.documentElement,e=!Rr;this.f.ab(c,["touchmove","mousemove"],this.Bk,e);this.f.ab(c,["touchend","mouseup"],this.Rd,e);Rr?(d.setCapture(!1),this.f.ab(d,"losecapture",this.Rd)):this.f.ab(c?c.parentWindow||c.defaultView:window,"blur",this.Rd);this.v&&this.f.ab(this.v,"scroll",this.Gn,e);this.clientX=this.l=b.clientX;
this.clientY=this.B=b.clientY;this.screenX=b.screenX;this.screenY=b.screenY;this.c=this.target.offsetLeft;this.g=this.target.offsetTop;this.j=ah(Ig(this.i))}};l.Rd=function(b){Pr(this.f);Rr&&this.i.releaseCapture();if(this.b){this.b=!1;var c=Tr(this,this.c),d=Ur(this,this.g);D(this,new Sr("end",this,b.clientX,b.clientY,0,c,d))}else D(this,"earlycancel")};
l.Bk=function(b){var c=1*(b.clientX-this.clientX),d=b.clientY-this.clientY;this.clientX=b.clientX;this.clientY=b.clientY;this.screenX=b.screenX;this.screenY=b.screenY;if(!this.b){var e=this.l-this.clientX,f=this.B-this.clientY;if(0<e*e+f*f)if(D(this,new Sr("start",this,b.clientX,b.clientY)))this.b=!0;else{this.fa||this.Rd(b);return}}d=Vr(this,c,d);c=d.x;d=d.y;this.b&&D(this,new Sr("beforedrag",this,b.clientX,b.clientY,0,c,d))&&(Wr(this,b,c,d),b.preventDefault())};
function Vr(b,c,d){var e=ah(Ig(b.i));c+=e.x-b.j.x;d+=e.y-b.j.y;b.j=e;b.c+=c;b.g+=d;c=Tr(b,b.c);b=Ur(b,b.g);return new Gg(c,b)}l.Gn=function(b){var c=Vr(this,0,0);b.clientX=this.clientX;b.clientY=this.clientY;Wr(this,b,c.x,c.y)};function Wr(b,c,d,e){b.target.style.left=d+"px";b.target.style.top=e+"px";D(b,new Sr("drag",b,c.clientX,c.clientY,0,d,e))}
function Tr(b,c){var d=b.a,e=isNaN(d.left)?null:d.left,d=isNaN(d.width)?0:d.width;return Math.min(null!=e?e+d:Infinity,Math.max(null!=e?e:-Infinity,c))}function Ur(b,c){var d=b.a,e=isNaN(d.top)?null:d.top,d=isNaN(d.height)?0:d.height;return Math.min(null!=e?e+d:Infinity,Math.max(null!=e?e:-Infinity,c))}function Sr(b,c,d,e,f,g,h){xd.call(this,b);this.clientX=d;this.clientY=e;this.left=m(g)?g:c.c;this.top=m(h)?h:c.g}x(Sr,xd);function Xr(b){b=m(b)?b:{};this.i=void 0;this.j=Yr;this.l=null;this.A=!1;this.u=m(b.duration)?b.duration:200;var c=m(b.className)?b.className:"ol-zoomslider",d=Pg("DIV",[c+"-thumb","ol-unselectable"]),c=Pg("DIV",[c,"ol-unselectable","ol-control"],d);this.c=new Qr(d);vd(this,this.c);B(this.c,"start",this.kk,!1,this);B(this.c,"drag",this.ik,!1,this);B(this.c,"end",this.jk,!1,this);B(c,"click",this.hk,!1,this);B(d,"click",yd);zh.call(this,{element:c,render:m(b.render)?b.render:Zr})}x(Xr,zh);var Yr=0;
l=Xr.prototype;l.setMap=function(b){Xr.ba.setMap.call(this,b);null===b||b.render()};
function Zr(b){if(null!==b.frameState){if(!this.A){var c=this.element,d=ph(c),e=Yg(c),c=uh(e,"margin"),f=new Hg(e.offsetWidth,e.offsetHeight),e=f.width+c.right+c.left,c=f.height+c.top+c.bottom;this.l=[e,c];e=d.width-e;c=d.height-c;d.width>d.height?(this.j=1,d=new hh(0,0,e,0)):(this.j=Yr,d=new hh(0,0,0,c));this.c.a=d||new hh(NaN,NaN,NaN,NaN);this.A=!0}b=b.frameState.viewState.resolution;b!==this.i&&(this.i=b,b=1-Tf(this.a.$())(b),d=this.c,c=Yg(this.element),1==this.j?lh(c,d.a.left+d.a.width*b):lh(c,
d.a.left,d.a.top+d.a.height*b))}}l.hk=function(b){var c=this.a,d=c.$(),e=d.ya();c.Ka(cg({resolution:e,duration:this.u,easing:Xf}));b=$r(this,b.offsetX-this.l[0]/2,b.offsetY-this.l[1]/2);b=as(this,b);d.Nb(d.constrainResolution(b))};l.kk=function(){Wf(this.a.$(),1)};l.ik=function(b){b=$r(this,b.left,b.top);this.i=as(this,b);this.a.$().Nb(this.i)};l.jk=function(){var b=this.a,c=b.$();Wf(c,-1);b.Ka(cg({resolution:this.i,duration:this.u,easing:Xf}));b=c.constrainResolution(this.i);c.Nb(b)};
function $r(b,c,d){var e=b.c.a;return Hb(1===b.j?(c-e.left)/e.width:(d-e.top)/e.height,0,1)}function as(b,c){return Sf(b.a.$())(1-c)};function bs(b){b=m(b)?b:{};this.c=m(b.extent)?b.extent:null;var c=m(b.className)?b.className:"ol-zoom-extent",d=Pg("BUTTON",{type:"button",title:m(b.tipLabel)?b.tipLabel:"Fit to extent"},m(b.label)?b.label:"E");B(d,"click",this.i,!1,this);c=Pg("DIV",c+" ol-unselectable ol-control",d);zh.call(this,{element:c,target:b.target})}x(bs,zh);bs.prototype.i=function(b){b.preventDefault();var c=this.a;b=c.$();var d=null===this.c?b.g.P():this.c,c=c.Na();b.df(d,c)};function cs(b){je.call(this);b=m(b)?b:{};this.a=null;B(this,le("tracking"),this.kl,!1,this);this.vf(m(b.tracking)?b.tracking:!1)}x(cs,je);l=cs.prototype;l.Y=function(){this.vf(!1);cs.ba.Y.call(this)};
l.Hn=function(b){b=b.a;if(null!=b.alpha){var c=Lb(b.alpha);this.set("alpha",c);"boolean"==typeof b.absolute&&b.absolute?this.set("heading",c):null!=b.webkitCompassHeading&&null!=b.webkitCompassAccuracy&&-1!=b.webkitCompassAccuracy&&this.set("heading",Lb(b.webkitCompassHeading))}null!=b.beta&&this.set("beta",Lb(b.beta));null!=b.gamma&&this.set("gamma",Lb(b.gamma));this.o()};l.rj=function(){return this.get("alpha")};l.uj=function(){return this.get("beta")};l.Bj=function(){return this.get("gamma")};
l.jl=function(){return this.get("heading")};l.Mg=function(){return this.get("tracking")};l.kl=function(){if(gj){var b=this.Mg();b&&null===this.a?this.a=B(ba,"deviceorientation",this.Hn,!1,this):b||null===this.a||($d(this.a),this.a=null)}};l.vf=function(b){this.set("tracking",b)};function ds(){this.defaultDataProjection=null}function es(b,c,d){var e;m(d)&&(e={dataProjection:m(d.dataProjection)?d.dataProjection:b.Ga(c),featureProjection:d.featureProjection});return fs(b,e)}function fs(b,c){var d;m(c)&&(d={featureProjection:c.featureProjection,dataProjection:null!=c.dataProjection?c.dataProjection:b.defaultDataProjection,rightHanded:c.rightHanded});return d}
function gs(b,c,d){var e=m(d)?te(d.featureProjection):null;d=m(d)?te(d.dataProjection):null;return null===e||null===d||Ke(e,d)?b:b instanceof Pe?(c?b.clone():b).transform(c?e:d,c?d:e):Oe(c?b.slice():b,c?e:d,c?d:e)};function hs(){this.defaultDataProjection=null}x(hs,ds);function is(b){return la(b)?b:ia(b)?(b=jo(b),m(b)?b:null):null}l=hs.prototype;l.U=function(){return"json"};l.Mb=function(b,c){return this.Rc(is(b),es(this,b,c))};l.xa=function(b,c){return this.Kf(is(b),es(this,b,c))};l.Sc=function(b,c){return this.vh(is(b),es(this,b,c))};l.Ga=function(b){return this.Ch(is(b))};l.Dd=function(b,c){return ko(this.Vc(b,c))};l.Ob=function(b,c){return ko(this.Me(b,c))};l.Wc=function(b,c){return ko(this.Oe(b,c))};function js(b){b=m(b)?b:{};this.defaultDataProjection=null;this.a=b.geometryName}x(js,hs);
function ks(b,c){if(null===b)return null;var d;if(ja(b.x)&&ja(b.y))d="Point";else if(null!=b.points)d="MultiPoint";else if(null!=b.paths)d=1===b.paths.length?"LineString":"MultiLineString";else if(null!=b.rings){var e=b.rings,f=ls(b),g=[];d=[];var h,k;h=0;for(k=e.length;h<k;++h){var n=Gb(e[h]);Hf(n,0,n.length,f.length)?g.push([e[h]]):d.push(e[h])}for(;d.length;){e=d.shift();f=!1;for(h=g.length-1;0<=h;h--)if(jc((new wf(g[h][0])).P(),(new wf(e)).P())){g[h].push(e);f=!0;break}f||g.push([e.reverse()])}b=
Xc(b);1===g.length?(d="Polygon",b.rings=g[0]):(d="MultiPolygon",b.rings=g)}return gs((0,ms[d])(b),!1,c)}function ls(b){var c="XY";!0===b.hasZ&&!0===b.hasM?c="XYZM":!0===b.hasZ?c="XYZ":!0===b.hasM&&(c="XYM");return c}function ns(b){b=b.b;return{hasZ:"XYZ"===b||"XYZM"===b,hasM:"XYM"===b||"XYZM"===b}}
var ms={Point:function(b){return null!=b.m&&null!=b.z?new yf([b.x,b.y,b.z,b.m],"XYZM"):null!=b.z?new yf([b.x,b.y,b.z],"XYZ"):null!=b.m?new yf([b.x,b.y,b.m],"XYM"):new yf([b.x,b.y])},LineString:function(b){return new P(b.paths[0],ls(b))},Polygon:function(b){return new E(b.rings,ls(b))},MultiPoint:function(b){return new ln(b.points,ls(b))},MultiLineString:function(b){return new jn(b.paths,ls(b))},MultiPolygon:function(b){return new mn(b.rings,ls(b))}},os={Point:function(b){var c=b.X();b=b.b;if("XYZ"===
b)return{x:c[0],y:c[1],z:c[2]};if("XYM"===b)return{x:c[0],y:c[1],m:c[2]};if("XYZM"===b)return{x:c[0],y:c[1],z:c[2],m:c[3]};if("XY"===b)return{x:c[0],y:c[1]}},LineString:function(b){var c=ns(b);return{hasZ:c.hasZ,hasM:c.hasM,paths:[b.X()]}},Polygon:function(b){var c=ns(b);return{hasZ:c.hasZ,hasM:c.hasM,rings:b.X(!1)}},MultiPoint:function(b){var c=ns(b);return{hasZ:c.hasZ,hasM:c.hasM,points:b.X()}},MultiLineString:function(b){var c=ns(b);return{hasZ:c.hasZ,hasM:c.hasM,paths:b.X()}},MultiPolygon:function(b){var c=
ns(b);b=b.X(!1);for(var d=[],e=0;e<b.length;e++)for(var f=b[e].length-1;0<=f;f--)d.push(b[e][f]);return{hasZ:c.hasZ,hasM:c.hasM,rings:d}}};l=js.prototype;l.Rc=function(b,c){var d=ks(b.geometry,c),e=new Bn;m(this.a)&&e.xc(this.a);e.za(d);m(c)&&m(c.qf)&&m(b.attributes[c.qf])&&e.fc(b.attributes[c.qf]);m(b.attributes)&&e.H(b.attributes);return e};
l.Kf=function(b,c){var d=m(c)?c:{};if(null!=b.features){var e=[],f=b.features,g,h;d.qf=b.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.Rc(f[g],d));return e}return[this.Rc(b,d)]};l.vh=function(b,c){return ks(b,c)};l.Ch=function(b){return null!=b.spatialReference&&null!=b.spatialReference.wkid?te("EPSG:"+b.spatialReference.wkid):null};function ps(b,c){return(0,os[b.U()])(gs(b,!0,c),c)}l.Oe=function(b,c){return ps(b,fs(this,c))};
l.Vc=function(b,c){c=fs(this,c);var d={},e=b.V();null!=e&&(d.geometry=ps(e,c));e=b.O();Uc(e,b.a);d.attributes=Sc(e)?{}:e;m(c)&&m(c.featureProjection)&&(d.spatialReference={wkid:te(c.featureProjection).a.split(":").pop()});return d};l.Me=function(b,c){c=fs(this,c);var d=[],e,f;e=0;for(f=b.length;e<f;++e)d.push(this.Vc(b[e],c));return{features:d}};function qs(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te(null!=b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.a=b.geometryName}x(qs,hs);function rs(b,c){return null===b?null:gs((0,ss[b.type])(b),!1,c)}function ts(b,c){return(0,us[b.U()])(gs(b,!0,c),c)}
var ss={Point:function(b){return new yf(b.coordinates)},LineString:function(b){return new P(b.coordinates)},Polygon:function(b){return new E(b.coordinates)},MultiPoint:function(b){return new ln(b.coordinates)},MultiLineString:function(b){return new jn(b.coordinates)},MultiPolygon:function(b){return new mn(b.coordinates)},GeometryCollection:function(b,c){var d=pb(b.geometries,function(b){return rs(b,c)});return new an(d)}},us={Point:function(b){return{type:"Point",coordinates:b.X()}},LineString:function(b){return{type:"LineString",
coordinates:b.X()}},Polygon:function(b,c){var d;m(c)&&(d=c.rightHanded);return{type:"Polygon",coordinates:b.X(d)}},MultiPoint:function(b){return{type:"MultiPoint",coordinates:b.X()}},MultiLineString:function(b){return{type:"MultiLineString",coordinates:b.X()}},MultiPolygon:function(b,c){var d;m(c)&&(d=c.rightHanded);return{type:"MultiPolygon",coordinates:b.X(d)}},GeometryCollection:function(b,c){return{type:"GeometryCollection",geometries:pb(b.c,function(b){return ts(b,c)})}},Circle:function(){return{type:"GeometryCollection",
geometries:[]}}};l=qs.prototype;l.Rc=function(b,c){var d=rs(b.geometry,c),e=new Bn;m(this.a)&&e.xc(this.a);e.za(d);m(b.id)&&e.fc(b.id);m(b.properties)&&e.H(b.properties);return e};l.Kf=function(b,c){if("Feature"==b.type)return[this.Rc(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.Rc(e[f],c));return d}return[]};l.vh=function(b,c){return rs(b,c)};
l.Ch=function(b){b=b.crs;return null!=b?"name"==b.type?te(b.properties.name):"EPSG"==b.type?te("EPSG:"+b.properties.code):null:this.defaultDataProjection};l.Vc=function(b,c){c=fs(this,c);var d={type:"Feature"},e=b.ja;null!=e&&(d.id=e);e=b.V();d.geometry=null!=e?ts(e,c):null;e=b.O();Uc(e,b.a);d.properties=Sc(e)?null:e;return d};l.Me=function(b,c){c=fs(this,c);var d=[],e,f;e=0;for(f=b.length;e<f;++e)d.push(this.Vc(b[e],c));return{type:"FeatureCollection",features:d}};
l.Oe=function(b,c){return ts(b,fs(this,c))};function vs(){this.defaultDataProjection=null}x(vs,ds);l=vs.prototype;l.U=function(){return"xml"};l.Mb=function(b,c){if(dp(b))return ws(this,b,c);if(gp(b))return this.th(b,c);if(ia(b)){var d=qp(b);return ws(this,d,c)}return null};function ws(b,c,d){b=xs(b,c,d);return 0<b.length?b[0]:null}l.xa=function(b,c){if(dp(b))return xs(this,b,c);if(gp(b))return this.bc(b,c);if(ia(b)){var d=qp(b);return xs(this,d,c)}return[]};
function xs(b,c,d){var e=[];for(c=c.firstChild;null!==c;c=c.nextSibling)1==c.nodeType&&xb(e,b.bc(c,d));return e}l.Sc=function(b,c){if(dp(b))return this.v(b,c);if(gp(b)){var d=this.De(b,[es(this,b,m(c)?c:{})]);return m(d)?d:null}return ia(b)?(d=qp(b),this.v(d,c)):null};l.Ga=function(b){return dp(b)?this.Qf(b):gp(b)?this.Ge(b):ia(b)?(b=qp(b),this.Qf(b)):null};l.Qf=function(){return this.defaultDataProjection};l.Ge=function(){return this.defaultDataProjection};l.Dd=function(b,c){var d=this.A(b,c);return Po(d)};
l.Ob=function(b,c){var d=this.f(b,c);return Po(d)};l.Wc=function(b,c){var d=this.B(b,c);return Po(d)};function ys(b){b=m(b)?b:{};this.featureType=b.featureType;this.featureNS=b.featureNS;this.srsName=b.srsName;this.schemaLocation="";this.a={};this.a["http://www.opengis.net/gml"]={featureMember:tp(ys.prototype.xd),featureMembers:tp(ys.prototype.xd)};this.defaultDataProjection=null}x(ys,vs);l=ys.prototype;
l.xd=function(b,c){var d=ap(b),e;if("FeatureCollection"==d)"http://www.opengis.net/wfs"===b.namespaceURI?e=V([],this.a,b,c,this):e=V(null,this.a,b,c,this);else if("featureMembers"==d||"featureMember"==d){var f=c[0],g=f.featureType;e=f.featureNS;var h,k;if(!m(g)&&null!=b.childNodes){g=[];e={};h=0;for(k=b.childNodes.length;h<k;++h){var n=b.childNodes[h];if(1===n.nodeType){var p=n.nodeName.split(":").pop();if(-1===mb(g,p)){var q;Qc(e,n.namespaceURI)?q=Rc(e,function(b){return b===n.namespaceURI}):(q=
"p"+Mc(e),e[q]=n.namespaceURI);g.push(q+":"+p)}}}f.featureType=g;f.featureNS=e}ia(e)&&(h=e,e={},e.p0=h);var f={},g=ga(g)?g:[g],r;for(r in e){p={};h=0;for(k=g.length;h<k;++h)(-1===g[h].indexOf(":")?"p0":g[h].split(":")[0])===r&&(p[g[h].split(":").pop()]="featureMembers"==d?sp(this.Jf,this):tp(this.Jf,this));f[e[r]]=p}e=V([],f,b,c)}m(e)||(e=[]);return e};l.De=function(b,c){var d=c[0];d.srsName=b.firstElementChild.getAttribute("srsName");var e=V(null,this.bg,b,c,this);if(null!=e)return gs(e,!1,d)};
l.Jf=function(b,c){var d,e=b.getAttribute("fid")||kp(b,"http://www.opengis.net/gml","id"),f={},g;for(d=b.firstElementChild;null!==d;d=d.nextElementSibling){var h=ap(d);if(0===d.childNodes.length||1===d.childNodes.length&&(3===d.firstChild.nodeType||4===d.firstChild.nodeType)){var k=Xo(d,!1);/^[\s\xa0]*$/.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.De(d,c)}d=new Bn(f);m(g)&&d.xc(g);e&&d.fc(e);return d};
l.Bh=function(b,c){var d=this.Ce(b,c);if(null!=d){var e=new yf(null);zf(e,"XYZ",d);return e}};l.zh=function(b,c){var d=V([],this.vi,b,c,this);if(m(d))return new ln(d)};l.yh=function(b,c){var d=V([],this.ui,b,c,this);if(m(d)){var e=new jn(null);kn(e,d);return e}};l.Ah=function(b,c){var d=V([],this.wi,b,c,this);if(m(d)){var e=new mn(null);nn(e,d);return e}};l.qh=function(b,c){Ap(this.zi,b,c,this)};l.Hg=function(b,c){Ap(this.si,b,c,this)};l.rh=function(b,c){Ap(this.Ai,b,c,this)};
l.Ee=function(b,c){var d=this.Ce(b,c);if(null!=d){var e=new P(null);hn(e,"XYZ",d);return e}};l.ao=function(b,c){var d=V(null,this.Fd,b,c,this);if(null!=d)return d};l.xh=function(b,c){var d=this.Ce(b,c);if(m(d)){var e=new wf(null);xf(e,"XYZ",d);return e}};l.Fe=function(b,c){var d=V([null],this.Qe,b,c,this);if(m(d)&&null!==d[0]){var e=new E(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)xb(f,d[h]),g.push(f.length);Lf(e,"XYZ",f,g);return e}};l.Ce=function(b,c){return V(null,this.Fd,b,c,this)};
l.vi=Object({"http://www.opengis.net/gml":{pointMember:sp(ys.prototype.qh),pointMembers:sp(ys.prototype.qh)}});l.ui=Object({"http://www.opengis.net/gml":{lineStringMember:sp(ys.prototype.Hg),lineStringMembers:sp(ys.prototype.Hg)}});l.wi=Object({"http://www.opengis.net/gml":{polygonMember:sp(ys.prototype.rh),polygonMembers:sp(ys.prototype.rh)}});l.zi=Object({"http://www.opengis.net/gml":{Point:sp(ys.prototype.Ce)}});l.si=Object({"http://www.opengis.net/gml":{LineString:sp(ys.prototype.Ee)}});
l.Ai=Object({"http://www.opengis.net/gml":{Polygon:sp(ys.prototype.Fe)}});l.Gd=Object({"http://www.opengis.net/gml":{LinearRing:tp(ys.prototype.ao)}});l.bc=function(b,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&$c(d,es(this,b,c));return this.xd(b,[d])};l.Ge=function(b){return te(m(this.u)?this.u:b.firstElementChild.getAttribute("srsName"))};function zs(b){b=Xo(b,!1);return As(b)}function As(b){if(b=/^\s*(true|1)|(false|0)\s*$/.exec(b))return m(b[1])||!1}function Bs(b){b=Xo(b,!1);if(b=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(b)){var c=Date.UTC(parseInt(b[1],10),parseInt(b[2],10)-1,parseInt(b[3],10),parseInt(b[4],10),parseInt(b[5],10),parseInt(b[6],10))/1E3;if("Z"!=b[7]){var d="-"==b[8]?-1:1,c=c+60*d*parseInt(b[9],10);m(b[10])&&(c+=3600*d*parseInt(b[10],10))}return c}}
function Cs(b){b=Xo(b,!1);return Ds(b)}function Ds(b){if(b=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(b))return parseFloat(b[1])}function Es(b){b=Xo(b,!1);return Fs(b)}function Fs(b){if(b=/^\s*(\d+)\s*$/.exec(b))return parseInt(b[1],10)}function Y(b){b=Xo(b,!1);return Ha(b)}function Gs(b,c){Hs(b,c?"1":"0")}function Is(b,c){b.appendChild(To.createTextNode(c.toPrecision()))}function Js(b,c){b.appendChild(To.createTextNode(c.toString()))}function Hs(b,c){b.appendChild(To.createTextNode(c))};function Ks(b){b=m(b)?b:{};ys.call(this,b);this.a["http://www.opengis.net/gml"].featureMember=sp(ys.prototype.xd);this.schemaLocation=m(b.schemaLocation)?b.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}x(Ks,ys);l=Ks.prototype;
l.uh=function(b,c){var d=Xo(b,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=b.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=we(te(e)));d=d.split(/[\s,]+/);e=2;fa(b.getAttribute("srsDimension"))?fa(b.getAttribute("dimension"))?null===f||(e=Fs(f)):e=Fs(b.getAttribute("dimension")):e=Fs(b.getAttribute("srsDimension"));for(var h,k,n=[],p=0,q=d.length;p<q;p+=e)f=parseFloat(d[p]),h=parseFloat(d[p+1]),k=3===e?parseFloat(d[p+2]):0,"en"===g.substr(0,2)?n.push(f,h,k):n.push(h,f,k);return n};
l.Yn=function(b,c){var d=V([null],this.ni,b,c,this);return dc(d[1][0],d[1][1],d[1][3],d[1][4])};l.Qk=function(b,c){var d=V(void 0,this.Gd,b,c,this);m(d)&&c[c.length-1].push(d)};l.In=function(b,c){var d=V(void 0,this.Gd,b,c,this);m(d)&&(c[c.length-1][0]=d)};l.Fd=Object({"http://www.opengis.net/gml":{coordinates:tp(Ks.prototype.uh)}});l.Qe=Object({"http://www.opengis.net/gml":{innerBoundaryIs:Ks.prototype.Qk,outerBoundaryIs:Ks.prototype.In}});l.ni=Object({"http://www.opengis.net/gml":{coordinates:sp(Ks.prototype.uh)}});
l.bg=Object({"http://www.opengis.net/gml":{Point:tp(ys.prototype.Bh),MultiPoint:tp(ys.prototype.zh),LineString:tp(ys.prototype.Ee),MultiLineString:tp(ys.prototype.yh),LinearRing:tp(ys.prototype.xh),Polygon:tp(ys.prototype.Fe),MultiPolygon:tp(ys.prototype.Ah),Box:tp(Ks.prototype.Yn)}});function Ls(b){b=m(b)?b:{};ys.call(this,b);this.l=m(b.surface)?b.surface:!1;this.g=m(b.curve)?b.curve:!1;this.i=m(b.multiCurve)?b.multiCurve:!0;this.j=m(b.multiSurface)?b.multiSurface:!0;this.schemaLocation=m(b.schemaLocation)?b.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}x(Ls,ys);l=Ls.prototype;l.fo=function(b,c){var d=V([],this.ti,b,c,this);if(m(d)){var e=new jn(null);kn(e,d);return e}};
l.ho=function(b,c){var d=V([],this.xi,b,c,this);if(m(d)){var e=new mn(null);nn(e,d);return e}};l.pg=function(b,c){Ap(this.oi,b,c,this)};l.Wh=function(b,c){Ap(this.Ei,b,c,this)};l.ko=function(b,c){return V([null],this.yi,b,c,this)};l.mo=function(b,c){return V([null],this.Di,b,c,this)};l.lo=function(b,c){return V([null],this.Qe,b,c,this)};l.eo=function(b,c){return V([null],this.Fd,b,c,this)};l.Sk=function(b,c){var d=V(void 0,this.Gd,b,c,this);m(d)&&c[c.length-1].push(d)};
l.kj=function(b,c){var d=V(void 0,this.Gd,b,c,this);m(d)&&(c[c.length-1][0]=d)};l.Dh=function(b,c){var d=V([null],this.Fi,b,c,this);if(m(d)&&null!==d[0]){var e=new E(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)xb(f,d[h]),g.push(f.length);Lf(e,"XYZ",f,g);return e}};l.sh=function(b,c){var d=V([null],this.pi,b,c,this);if(m(d)){var e=new P(null);hn(e,"XYZ",d);return e}};l.$n=function(b,c){var d=V([null],this.ri,b,c,this);return dc(d[1][0],d[1][1],d[2][0],d[2][1])};
l.bo=function(b,c){for(var d=Xo(b,!1),e=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,f=[],g;g=e.exec(d);)f.push(parseFloat(g[1])),d=d.substr(g[0].length);if(""===d){d=c[0].srsName;e="enu";null===d||(e=we(te(d)));if("neu"===e)for(d=0,e=f.length;d<e;d+=3)g=f[d],f[d]=f[d+1],f[d+1]=g;d=f.length;2==d&&f.push(0);return 0===d?void 0:f}};
l.Nf=function(b,c){var d=Xo(b,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=b.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=we(te(e)));d=d.split(/\s+/);e=2;fa(b.getAttribute("srsDimension"))?fa(b.getAttribute("dimension"))?null===f||(e=Fs(f)):e=Fs(b.getAttribute("dimension")):e=Fs(b.getAttribute("srsDimension"));for(var h,k,n=[],p=0,q=d.length;p<q;p+=e)f=parseFloat(d[p]),h=parseFloat(d[p+1]),k=3===e?parseFloat(d[p+2]):0,"en"===g.substr(0,2)?n.push(f,h,k):n.push(h,f,k);return n};
l.Fd=Object({"http://www.opengis.net/gml":{pos:tp(Ls.prototype.bo),posList:tp(Ls.prototype.Nf)}});l.Qe=Object({"http://www.opengis.net/gml":{interior:Ls.prototype.Sk,exterior:Ls.prototype.kj}});
l.bg=Object({"http://www.opengis.net/gml":{Point:tp(ys.prototype.Bh),MultiPoint:tp(ys.prototype.zh),LineString:tp(ys.prototype.Ee),MultiLineString:tp(ys.prototype.yh),LinearRing:tp(ys.prototype.xh),Polygon:tp(ys.prototype.Fe),MultiPolygon:tp(ys.prototype.Ah),Surface:tp(Ls.prototype.Dh),MultiSurface:tp(Ls.prototype.ho),Curve:tp(Ls.prototype.sh),MultiCurve:tp(Ls.prototype.fo),Envelope:tp(Ls.prototype.$n)}});l.ti=Object({"http://www.opengis.net/gml":{curveMember:sp(Ls.prototype.pg),curveMembers:sp(Ls.prototype.pg)}});
l.xi=Object({"http://www.opengis.net/gml":{surfaceMember:sp(Ls.prototype.Wh),surfaceMembers:sp(Ls.prototype.Wh)}});l.oi=Object({"http://www.opengis.net/gml":{LineString:sp(ys.prototype.Ee),Curve:sp(Ls.prototype.sh)}});l.Ei=Object({"http://www.opengis.net/gml":{Polygon:sp(ys.prototype.Fe),Surface:sp(Ls.prototype.Dh)}});l.Fi=Object({"http://www.opengis.net/gml":{patches:tp(Ls.prototype.ko)}});l.pi=Object({"http://www.opengis.net/gml":{segments:tp(Ls.prototype.mo)}});
l.ri=Object({"http://www.opengis.net/gml":{lowerCorner:sp(Ls.prototype.Nf),upperCorner:sp(Ls.prototype.Nf)}});l.yi=Object({"http://www.opengis.net/gml":{PolygonPatch:tp(Ls.prototype.lo)}});l.Di=Object({"http://www.opengis.net/gml":{LineStringSegment:tp(Ls.prototype.eo)}});function Ms(b,c,d){d=d[d.length-1].srsName;c=c.X();for(var e=c.length,f=Array(e),g,h=0;h<e;++h){g=c[h];var k=h,n="enu";null!=d&&(n=we(te(d)));f[k]="en"===n.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}Hs(b,f.join(" "))}
l.ji=function(b,c,d){var e=d[d.length-1].srsName;null!=e&&b.setAttribute("srsName",e);e=Wo(b.namespaceURI,"pos");b.appendChild(e);d=d[d.length-1].srsName;b="enu";null!=d&&(b=we(te(d)));c=c.X();Hs(e,"en"===b.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var Ns={"http://www.opengis.net/gml":{lowerCorner:T(Hs),upperCorner:T(Hs)}};l=Ls.prototype;
l.ap=function(b,c,d){var e=d[d.length-1].srsName;m(e)&&b.setAttribute("srsName",e);Bp({node:b},Ns,yp,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)};l.gi=function(b,c,d){var e=d[d.length-1].srsName;null!=e&&b.setAttribute("srsName",e);e=Wo(b.namespaceURI,"posList");b.appendChild(e);Ms(e,c,d)};l.Ci=function(b,c){var d=c[c.length-1],e=d.node,f=d.exteriorWritten;m(f)||(d.exteriorWritten=!0);return Wo(e.namespaceURI,m(f)?"interior":"exterior")};
l.Pe=function(b,c,d){var e=d[d.length-1].srsName;"PolygonPatch"!==b.nodeName&&null!=e&&b.setAttribute("srsName",e);"Polygon"===b.nodeName||"PolygonPatch"===b.nodeName?(c=c.Wd(),Bp({node:b,srsName:e},Os,this.Ci,c,d,void 0,this)):"Surface"===b.nodeName&&(e=Wo(b.namespaceURI,"patches"),b.appendChild(e),b=Wo(e.namespaceURI,"PolygonPatch"),e.appendChild(b),this.Pe(b,c,d))};
l.Ke=function(b,c,d){var e=d[d.length-1].srsName;"LineStringSegment"!==b.nodeName&&null!=e&&b.setAttribute("srsName",e);"LineString"===b.nodeName||"LineStringSegment"===b.nodeName?(e=Wo(b.namespaceURI,"posList"),b.appendChild(e),Ms(e,c,d)):"Curve"===b.nodeName&&(e=Wo(b.namespaceURI,"segments"),b.appendChild(e),b=Wo(e.namespaceURI,"LineStringSegment"),e.appendChild(b),this.Ke(b,c,d))};
l.ii=function(b,c,d){var e=d[d.length-1],f=e.srsName,e=e.surface;null!=f&&b.setAttribute("srsName",f);c=c.Yd();Bp({node:b,srsName:f,surface:e},Ps,this.c,c,d,void 0,this)};l.bp=function(b,c,d){var e=d[d.length-1].srsName;null!=e&&b.setAttribute("srsName",e);c=c.qe();Bp({node:b,srsName:e},Qs,wp("pointMember"),c,d,void 0,this)};l.hi=function(b,c,d){var e=d[d.length-1],f=e.srsName,e=e.curve;null!=f&&b.setAttribute("srsName",f);c=c.od();Bp({node:b,srsName:f,curve:e},Rs,this.c,c,d,void 0,this)};
l.ki=function(b,c,d){var e=Wo(b.namespaceURI,"LinearRing");b.appendChild(e);this.gi(e,c,d)};l.li=function(b,c,d){var e=this.b(c,d);m(e)&&(b.appendChild(e),this.Pe(e,c,d))};l.cp=function(b,c,d){var e=Wo(b.namespaceURI,"Point");b.appendChild(e);this.ji(e,c,d)};l.fi=function(b,c,d){var e=this.b(c,d);m(e)&&(b.appendChild(e),this.Ke(e,c,d))};
l.Ne=function(b,c,d){var e=d[d.length-1],f=Xc(e);f.node=b;var g;ga(c)?m(e.dataProjection)?g=Oe(c,e.featureProjection,e.dataProjection):g=c:g=gs(c,!0,e);Bp(f,Ss,this.b,[g],d,void 0,this)};
l.bi=function(b,c,d){var e=c.ja;m(e)&&b.setAttribute("fid",e);var e=d[d.length-1],f=e.featureNS,g=c.a;m(e.wc)||(e.wc={},e.wc[f]={});var h=c.O();c=[];var k=[],n;for(n in h){var p=h[n];null!==p&&(c.push(n),k.push(p),n==g?n in e.wc[f]||(e.wc[f][n]=T(this.Ne,this)):n in e.wc[f]||(e.wc[f][n]=T(Hs)))}n=Xc(e);n.node=b;Bp(n,e.wc,wp(void 0,f),k,d,c)};
var Ps={"http://www.opengis.net/gml":{surfaceMember:T(Ls.prototype.li),polygonMember:T(Ls.prototype.li)}},Qs={"http://www.opengis.net/gml":{pointMember:T(Ls.prototype.cp)}},Rs={"http://www.opengis.net/gml":{lineStringMember:T(Ls.prototype.fi),curveMember:T(Ls.prototype.fi)}},Os={"http://www.opengis.net/gml":{exterior:T(Ls.prototype.ki),interior:T(Ls.prototype.ki)}},Ss={"http://www.opengis.net/gml":{Curve:T(Ls.prototype.Ke),MultiCurve:T(Ls.prototype.hi),Point:T(Ls.prototype.ji),MultiPoint:T(Ls.prototype.bp),
LineString:T(Ls.prototype.Ke),MultiLineString:T(Ls.prototype.hi),LinearRing:T(Ls.prototype.gi),Polygon:T(Ls.prototype.Pe),MultiPolygon:T(Ls.prototype.ii),Surface:T(Ls.prototype.Pe),MultiSurface:T(Ls.prototype.ii),Envelope:T(Ls.prototype.ap)}},Ts={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Ls.prototype.c=function(b,c){return Wo("http://www.opengis.net/gml",Ts[c[c.length-1].node.nodeName])};
Ls.prototype.b=function(b,c){var d=c[c.length-1],e=d.multiSurface,f=d.surface,g=d.curve,d=d.multiCurve,h;ga(b)?h="Envelope":(h=b.U(),"MultiPolygon"===h&&!0===e?h="MultiSurface":"Polygon"===h&&!0===f?h="Surface":"LineString"===h&&!0===g?h="Curve":"MultiLineString"===h&&!0===d&&(h="MultiCurve"));return Wo("http://www.opengis.net/gml",h)};
Ls.prototype.B=function(b,c){c=fs(this,c);var d=Wo("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.j,multiCurve:this.i};m(c)&&$c(e,c);this.Ne(d,b,[e]);return d};
Ls.prototype.f=function(b,c){c=fs(this,c);var d=Wo("http://www.opengis.net/gml","featureMembers");pp(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.j,multiCurve:this.i,featureNS:this.featureNS,featureType:this.featureType};m(c)&&$c(e,c);var e=[e],f=e[e.length-1],g=f.featureType,h=f.featureNS,k={};k[h]={};k[h][g]=T(this.bi,this);f=Xc(f);f.node=d;Bp(f,k,wp(g,h),b,e);return d};function Us(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te("EPSG:4326");this.a=b.readExtensions}x(Us,vs);var Vs=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Ws(b,c,d){b.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(b.push(d.ele),Uc(d,"ele")):b.push(0);"time"in d?(b.push(d.time),Uc(d,"time")):b.push(0);return b}
function Xs(b,c){var d=c[c.length-1],e=b.getAttribute("href");null===e||(d.link=e);Ap(Ys,b,c)}function Zs(b,c){c[c.length-1].extensionsNode_=b}function $s(b,c){var d=c[0],e=V({flatCoordinates:[]},at,b,c);if(m(e)){var f=e.flatCoordinates;Uc(e,"flatCoordinates");var g=new P(null);hn(g,"XYZM",f);gs(g,!1,d);d=new Bn(g);d.H(e);return d}}
function bt(b,c){var d=c[0],e=V({flatCoordinates:[],ends:[]},ct,b,c);if(m(e)){var f=e.flatCoordinates;Uc(e,"flatCoordinates");var g=e.ends;Uc(e,"ends");var h=new jn(null);h.sa("XYZM",f,g);h.o();gs(h,!1,d);d=new Bn(h);d.H(e);return d}}function dt(b,c){var d=c[0],e=V({},et,b,c);if(m(e)){var f=Ws([],b,e),f=new yf(f,"XYZM");gs(f,!1,d);d=new Bn(f);d.H(e);return d}}
var ft={rte:$s,trk:bt,wpt:dt},gt=U(Vs,{rte:sp($s),trk:sp(bt),wpt:sp(dt)}),Ys=U(Vs,{text:R(Y,"linkText"),type:R(Y,"linkType")}),at=U(Vs,{name:R(Y),cmt:R(Y),desc:R(Y),src:R(Y),link:Xs,number:R(Es),extensions:Zs,type:R(Y),rtept:function(b,c){var d=V({},ht,b,c);m(d)&&Ws(c[c.length-1].flatCoordinates,b,d)}}),ht=U(Vs,{ele:R(Cs),time:R(Bs)}),ct=U(Vs,{name:R(Y),cmt:R(Y),desc:R(Y),src:R(Y),link:Xs,number:R(Es),type:R(Y),extensions:Zs,trkseg:function(b,c){var d=c[c.length-1];Ap(it,b,c);d.ends.push(d.flatCoordinates.length)}}),
it=U(Vs,{trkpt:function(b,c){var d=V({},jt,b,c);m(d)&&Ws(c[c.length-1].flatCoordinates,b,d)}}),jt=U(Vs,{ele:R(Cs),time:R(Bs)}),et=U(Vs,{ele:R(Cs),time:R(Bs),magvar:R(Cs),geoidheight:R(Cs),name:R(Y),cmt:R(Y),desc:R(Y),src:R(Y),link:Xs,sym:R(Y),type:R(Y),fix:R(Y),sat:R(Es),hdop:R(Cs),vdop:R(Cs),pdop:R(Cs),ageofdgpsdata:R(Cs),dgpsid:R(Es),extensions:Zs});
function kt(b,c){null===c&&(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(m(b.a)){var g=f.get("extensionsNode_")||null;b.a(f,g)}f.set("extensionsNode_",void 0)}}Us.prototype.th=function(b,c){if(!tb(Vs,b.namespaceURI))return null;var d=ft[b.localName];if(!m(d))return null;d=d(b,[es(this,b,c)]);if(!m(d))return null;kt(this,[d]);return d};Us.prototype.bc=function(b,c){if(!tb(Vs,b.namespaceURI))return[];if("gpx"==b.localName){var d=V([],gt,b,[es(this,b,c)]);if(m(d))return kt(this,d),d}return[]};
function lt(b,c,d){b.setAttribute("href",c);c=d[d.length-1].properties;Bp({node:b},mt,yp,[c.linkText,c.linkType],d,nt)}function ot(b,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=e.properties;pp(b,null,"lat",c[1]);pp(b,null,"lon",c[0]);switch(e.geometryLayout){case "XYZM":0!==c[3]&&(g.time=c[3]);case "XYZ":0!==c[2]&&(g.ele=c[2]);break;case "XYM":0!==c[2]&&(g.time=c[2])}c=pt[f];e=zp(g,c);Bp({node:b,properties:g},qt,yp,e,d,c)}
var nt=["text","type"],mt=U(Vs,{text:T(Hs),type:T(Hs)}),rt=U(Vs,"name cmt desc src link number type rtept".split(" ")),st=U(Vs,{name:T(Hs),cmt:T(Hs),desc:T(Hs),src:T(Hs),link:T(lt),number:T(Js),type:T(Hs),rtept:vp(T(ot))}),tt=U(Vs,"name cmt desc src link number type trkseg".split(" ")),wt=U(Vs,{name:T(Hs),cmt:T(Hs),desc:T(Hs),src:T(Hs),link:T(lt),number:T(Js),type:T(Hs),trkseg:vp(T(function(b,c,d){Bp({node:b,geometryLayout:c.b,properties:{}},ut,vt,c.X(),d)}))}),vt=wp("trkpt"),ut=U(Vs,{trkpt:T(ot)}),
pt=U(Vs,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),qt=U(Vs,{ele:T(Is),time:T(function(b,c){var d=new Date(1E3*c),d=d.getUTCFullYear()+"-"+Sa(d.getUTCMonth()+1)+"-"+Sa(d.getUTCDate())+"T"+Sa(d.getUTCHours())+":"+Sa(d.getUTCMinutes())+":"+Sa(d.getUTCSeconds())+"Z";b.appendChild(To.createTextNode(d))}),magvar:T(Is),geoidheight:T(Is),name:T(Hs),cmt:T(Hs),desc:T(Hs),src:T(Hs),link:T(lt),sym:T(Hs),type:T(Hs),fix:T(Hs),sat:T(Js),
hdop:T(Is),vdop:T(Is),pdop:T(Is),ageofdgpsdata:T(Is),dgpsid:T(Js)}),xt={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function yt(b,c){var d=b.V();if(m(d))return Wo(c[c.length-1].node.namespaceURI,xt[d.U()])}
var zt=U(Vs,{rte:T(function(b,c,d){var e=d[0],f=c.O();b={node:b,properties:f};c=c.V();m(c)&&(c=gs(c,!0,e),b.geometryLayout=c.b,f.rtept=c.X());e=rt[d[d.length-1].node.namespaceURI];f=zp(f,e);Bp(b,st,yp,f,d,e)}),trk:T(function(b,c,d){var e=d[0],f=c.O();b={node:b,properties:f};c=c.V();m(c)&&(c=gs(c,!0,e),f.trkseg=c.od());e=tt[d[d.length-1].node.namespaceURI];f=zp(f,e);Bp(b,wt,yp,f,d,e)}),wpt:T(function(b,c,d){var e=d[0],f=d[d.length-1];f.properties=c.O();c=c.V();m(c)&&(c=gs(c,!0,e),f.geometryLayout=
c.b,ot(b,c.X(),d))})});Us.prototype.f=function(b,c){c=fs(this,c);var d=Wo("http://www.topografix.com/GPX/1/1","gpx");Bp({node:d},zt,yt,b,[c]);return d};function At(b){b=Bt(b);return pb(b,function(b){return b.b.substring(b.f,b.a)})}function Ct(b,c,d){this.b=b;this.f=c;this.a=d}function Bt(b){for(var c=RegExp("\r\n|\r|\n","g"),d=0,e,f=[];e=c.exec(b);)d=new Ct(b,d,e.index),f.push(d),d=c.lastIndex;d<b.length&&(d=new Ct(b,d,b.length),f.push(d));return f};function Dt(){this.defaultDataProjection=null}x(Dt,ds);l=Dt.prototype;l.U=function(){return"text"};l.Mb=function(b,c){return this.wd(ia(b)?b:"",fs(this,c))};l.xa=function(b,c){return this.Lf(ia(b)?b:"",fs(this,c))};l.Sc=function(b,c){return this.yd(ia(b)?b:"",fs(this,c))};l.Ga=function(){return this.defaultDataProjection};l.Dd=function(b,c){return this.Le(b,fs(this,c))};l.Ob=function(b,c){return this.ci(b,fs(this,c))};l.Wc=function(b,c){return this.Ed(b,fs(this,c))};function Et(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te("EPSG:4326");this.a=m(b.altitudeMode)?b.altitudeMode:"none"}x(Et,Dt);var Ft=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Gt=/^H.([A-Z]{3}).*?:(.*)/,Ht=/^HFDTE(\d{2})(\d{2})(\d{2})/;
Et.prototype.wd=function(b,c){var d=this.a,e=At(b),f={},g=[],h=2E3,k=0,n=1,p,q;p=0;for(q=e.length;p<q;++p){var r=e[p],t;if("B"==r.charAt(0)){if(t=Ft.exec(r)){var r=parseInt(t[1],10),u=parseInt(t[2],10),z=parseInt(t[3],10),w=parseInt(t[4],10)+parseInt(t[5],10)/6E4;"S"==t[6]&&(w=-w);var C=parseInt(t[7],10)+parseInt(t[8],10)/6E4;"W"==t[9]&&(C=-C);g.push(C,w);"none"!=d&&g.push("gps"==d?parseInt(t[11],10):"barometric"==d?parseInt(t[12],10):0);g.push(Date.UTC(h,k,n,r,u,z)/1E3)}}else if("H"==r.charAt(0))if(t=
Ht.exec(r))n=parseInt(t[1],10),k=parseInt(t[2],10)-1,h=2E3+parseInt(t[3],10);else if(t=Gt.exec(r))f[t[1]]=Ha(t[2]),Ht.exec(r)}if(0===g.length)return null;e=new P(null);hn(e,"none"==d?"XYM":"XYZM",g);d=new Bn(gs(e,!1,c));d.H(f);return d};Et.prototype.Lf=function(b,c){var d=this.wd(b,c);return null===d?[]:[d]};function It(b,c){this.f=this.j=this.c="";this.l=null;this.g=this.a="";this.i=!1;var d;b instanceof It?(this.i=m(c)?c:b.i,Jt(this,b.c),this.j=b.j,this.f=b.f,Kt(this,b.l),this.a=b.a,Lt(this,b.b.clone()),this.g=b.g):b&&(d=so(String(b)))?(this.i=!!c,Jt(this,d[1]||"",!0),this.j=Mt(d[2]||""),this.f=Mt(d[3]||"",!0),Kt(this,d[4]),this.a=Mt(d[5]||"",!0),Lt(this,d[6]||"",!0),this.g=Mt(d[7]||"")):(this.i=!!c,this.b=new Nt(null,0,this.i))}
It.prototype.toString=function(){var b=[],c=this.c;c&&b.push(Ot(c,Pt,!0),":");if(c=this.f){b.push("//");var d=this.j;d&&b.push(Ot(d,Pt,!0),"@");b.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));c=this.l;null!=c&&b.push(":",String(c))}if(c=this.a)this.f&&"/"!=c.charAt(0)&&b.push("/"),b.push(Ot(c,"/"==c.charAt(0)?Qt:Rt,!0));(c=this.b.toString())&&b.push("?",c);(c=this.g)&&b.push("#",Ot(c,St));return b.join("")};It.prototype.clone=function(){return new It(this)};
function Jt(b,c,d){b.c=d?Mt(c,!0):c;b.c&&(b.c=b.c.replace(/:$/,""))}function Kt(b,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);b.l=c}else b.l=null}function Lt(b,c,d){c instanceof Nt?(b.b=c,Tt(b.b,b.i)):(d||(c=Ot(c,Ut)),b.b=new Nt(c,0,b.i))}function Vt(b){return b instanceof It?b.clone():new It(b,void 0)}
function Wt(b,c){b instanceof It||(b=Vt(b));c instanceof It||(c=Vt(c));var d=b,e=c,f=d.clone(),g=!!e.c;g?Jt(f,e.c):g=!!e.j;g?f.j=e.j:g=!!e.f;g?f.f=e.f:g=null!=e.l;var h=e.a;if(g)Kt(f,e.l);else if(g=!!e.a)if("/"!=h.charAt(0)&&(d.f&&!d.a?h="/"+h:(d=f.a.lastIndexOf("/"),-1!=d&&(h=f.a.substr(0,d+1)+h))),d=h,".."==d||"."==d)h="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){for(var h=0==d.lastIndexOf("/",0),d=d.split("/"),k=[],n=0;n<d.length;){var p=d[n++];"."==p?h&&n==d.length&&k.push(""):".."==p?
((1<k.length||1==k.length&&""!=k[0])&&k.pop(),h&&n==d.length&&k.push("")):(k.push(p),h=!0)}h=k.join("/")}else h=d;g?f.a=h:g=""!==e.b.toString();g?Lt(f,Mt(e.b.toString())):g=!!e.g;g&&(f.g=e.g);return f}function Mt(b,c){return b?c?decodeURI(b.replace(/%25/g,"%2525")):decodeURIComponent(b):""}function Ot(b,c,d){return ia(b)?(b=encodeURI(b).replace(c,Xt),d&&(b=b.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),b):null}function Xt(b){b=b.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)}
var Pt=/[#\/\?@]/g,Rt=/[\#\?:]/g,Qt=/[\#\?]/g,Ut=/[\#\?@]/g,St=/#/g;function Nt(b,c,d){this.f=this.a=null;this.b=b||null;this.c=!!d}function Yt(b){b.a||(b.a=new xi,b.f=0,b.b&&uo(b.b,function(c,d){b.add(decodeURIComponent(c.replace(/\+/g," ")),d)}))}l=Nt.prototype;l.nc=function(){Yt(this);return this.f};l.add=function(b,c){Yt(this);this.b=null;b=Zt(this,b);var d=this.a.get(b);d||this.a.set(b,d=[]);d.push(c);this.f++;return this};
l.remove=function(b){Yt(this);b=Zt(this,b);return zi(this.a.f,b)?(this.b=null,this.f-=this.a.get(b).length,this.a.remove(b)):!1};l.clear=function(){this.a=this.b=null;this.f=0};l.Ia=function(){Yt(this);return 0==this.f};function $t(b,c){Yt(b);c=Zt(b,c);return zi(b.a.f,c)}l.N=function(){Yt(this);for(var b=this.a.pc(),c=this.a.N(),d=[],e=0;e<c.length;e++)for(var f=b[e],g=0;g<f.length;g++)d.push(c[e]);return d};
l.pc=function(b){Yt(this);var c=[];if(ia(b))$t(this,b)&&(c=vb(c,this.a.get(Zt(this,b))));else{b=this.a.pc();for(var d=0;d<b.length;d++)c=vb(c,b[d])}return c};l.set=function(b,c){Yt(this);this.b=null;b=Zt(this,b);$t(this,b)&&(this.f-=this.a.get(b).length);this.a.set(b,[c]);this.f++;return this};l.get=function(b,c){var d=b?this.pc(b):[];return 0<d.length?String(d[0]):c};function au(b,c,d){b.remove(c);0<d.length&&(b.b=null,b.a.set(Zt(b,c),wb(d)),b.f+=d.length)}
l.toString=function(){if(this.b)return this.b;if(!this.a)return"";for(var b=[],c=this.a.N(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.pc(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));b.push(h)}return this.b=b.join("&")};l.clone=function(){var b=new Nt;b.b=this.b;this.a&&(b.a=this.a.clone(),b.f=this.f);return b};function Zt(b,c){var d=String(c);b.c&&(d=d.toLowerCase());return d}
function Tt(b,c){c&&!b.c&&(Yt(b),b.b=null,b.a.forEach(function(b,c){var f=c.toLowerCase();c!=f&&(this.remove(c),au(this,f,b))},b));b.c=c};function bu(b){b=m(b)?b:{};this.c=b.font;this.g=b.rotation;this.f=b.scale;this.b=b.text;this.j=b.textAlign;this.l=b.textBaseline;this.a=m(b.fill)?b.fill:null;this.i=m(b.stroke)?b.stroke:null;this.B=m(b.offsetX)?b.offsetX:0;this.v=m(b.offsetY)?b.offsetY:0}l=bu.prototype;l.Aj=function(){return this.c};l.Pj=function(){return this.B};l.Qj=function(){return this.v};l.rn=function(){return this.a};l.sn=function(){return this.g};l.tn=function(){return this.f};l.vn=function(){return this.i};l.wn=function(){return this.b};
l.$j=function(){return this.j};l.ak=function(){return this.l};l.Eo=function(b){this.c=b};l.Do=function(b){this.a=b};l.xn=function(b){this.g=b};l.yn=function(b){this.f=b};l.Ko=function(b){this.i=b};l.Lo=function(b){this.b=b};l.Mo=function(b){this.j=b};l.No=function(b){this.l=b};function cu(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te("EPSG:4326");this.b=m(b.defaultStyle)?b.defaultStyle:du;this.c=m(b.extractStyles)?b.extractStyles:!0;this.a={}}x(cu,vs);
var eu=["http://www.google.com/kml/ext/2.2"],fu=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],gu=[255,255,255,1],hu=new Il({color:gu}),iu=[20,2],ju=[64,64],ku=new Ck({anchor:iu,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:ju,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),lu=new El({color:gu,width:1}),mu=new bu({font:"normal 16px Helvetica",
fill:hu,stroke:lu,scale:1}),du=[new Kl({fill:hu,image:ku,text:mu,stroke:lu,zIndex:0})],nu={fraction:"fraction",pixels:"pixels"};function ou(b,c,d,e){return function(){return m(b)?b:m(c)?pu(c,d,e):d}}function pu(b,c,d){return ga(b)?b:ia(b)?(!(b in d)&&"#"+b in d&&(b="#"+b),pu(d[b],c,d)):c}function qu(b){b=Xo(b,!1);if(b=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(b))return b=b[1],[parseInt(b.substr(6,2),16),parseInt(b.substr(4,2),16),parseInt(b.substr(2,2),16),parseInt(b.substr(0,2),16)/255]}
function ru(b){b=Xo(b,!1);for(var c=[],d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,e;e=d.exec(b);)c.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),b=b.substr(e[0].length);return""!==b?void 0:c}function su(b){var c=Xo(b,!1);return null!=b.baseURI?Wt(b.baseURI,Ha(c)).toString():Ha(c)}function tu(b){b=Cs(b);if(m(b))return Math.sqrt(b)}function uu(b,c){return V(null,vu,b,c)}
function wu(b,c){var d=V({s:[],$h:[]},xu,b,c);if(m(d)){var e=d.s,d=d.$h,f,g;f=0;for(g=Math.min(e.length,d.length);f<g;++f)e[4*f+3]=d[f];d=new P(null);hn(d,"XYZM",e);return d}}function yu(b,c){var d=V({},zu,b,c),e=V(null,Au,b,c);if(m(e)){var f=new P(null);hn(f,"XYZ",e);f.H(d);return f}}function Bu(b,c){var d=V({},zu,b,c),e=V(null,Au,b,c);if(m(e)){var f=new E(null);Lf(f,"XYZ",e,[e.length]);f.H(d);return f}}
function Cu(b,c){var d=V([],Du,b,c);if(!m(d))return null;if(0===d.length)return new an(d);var e=!0,f=d[0].U(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.U()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.b;f=g.ha();h=1;for(k=d.length;h<k;++h)g=d[h],xb(f,g.ha());g=new ln(null);g.sa(e,f);g.o();Eu(g,d);return g}return"LineString"==f?(g=new jn(null),kn(g,d),Eu(g,d),g):"Polygon"==f?(g=new mn(null),nn(g,d),Eu(g,d),g):"GeometryCollection"==f?new an(d):null}return new an(d)}
function Fu(b,c){var d=V({},zu,b,c),e=V(null,Au,b,c);if(null!=e){var f=new yf(null);zf(f,"XYZ",e);f.H(d);return f}}function Gu(b,c){var d=V({},zu,b,c),e=V([null],Hu,b,c);if(null!=e&&null!==e[0]){var f=new E(null),g=e[0],h=[g.length],k,n;k=1;for(n=e.length;k<n;++k)xb(g,e[k]),h.push(g.length);Lf(f,"XYZ",g,h);f.H(d);return f}}
function Iu(b,c){var d=V({},Ju,b,c);if(!m(d))return null;var e=Vc(d,"fillStyle",hu),f=d.fill;m(f)&&!f&&(e=null);var f=Vc(d,"imageStyle",ku),g=Vc(d,"textStyle",mu),h=Vc(d,"strokeStyle",lu),d=d.outline;m(d)&&!d&&(h=null);return[new Kl({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]}
function Eu(b,c){var d=c.length,e=Array(c.length),f=Array(c.length),g,h,k,n;k=n=!1;for(h=0;h<d;++h)g=c[h],e[h]=g.get("extrude"),f[h]=g.get("altitudeMode"),k=k||m(e[h]),n=n||m(f[h]);k&&b.set("extrude",e);n&&b.set("altitudeMode",f)}function Ku(b,c){Ap(Lu,b,c)}
var Mu=U(fu,{value:tp(Y)}),Lu=U(fu,{Data:function(b,c){var d=b.getAttribute("name");if(null!==d){var e=V(void 0,Mu,b,c);m(e)&&(c[c.length-1][d]=e)}},SchemaData:function(b,c){Ap(Nu,b,c)}}),zu=U(fu,{extrude:R(zs),altitudeMode:R(Y)}),vu=U(fu,{coordinates:tp(ru)}),Hu=U(fu,{innerBoundaryIs:function(b,c){var d=V(void 0,Ou,b,c);m(d)&&c[c.length-1].push(d)},outerBoundaryIs:function(b,c){var d=V(void 0,Pu,b,c);m(d)&&(c[c.length-1][0]=d)}}),xu=U(fu,{when:function(b,c){var d=c[c.length-1].$h,e=Xo(b,!1);if(e=
/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(e)){var f=Date.UTC(parseInt(e[1],10),m(e[3])?parseInt(e[3],10)-1:0,m(e[5])?parseInt(e[5],10):1,m(e[7])?parseInt(e[7],10):0,m(e[8])?parseInt(e[8],10):0,m(e[9])?parseInt(e[9],10):0);if(m(e[10])&&"Z"!=e[10]){var g="-"==e[11]?-1:1,f=f+60*g*parseInt(e[12],10);m(e[13])&&(f+=3600*g*parseInt(e[13],10))}d.push(f)}else d.push(0)}},U(eu,{coord:function(b,c){var d=c[c.length-1].s,e=Xo(b,!1);(e=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(e))?
d.push(parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]),0):d.push(0,0,0,0)}})),Au=U(fu,{coordinates:tp(ru)}),Qu=U(fu,{href:R(su)},U(eu,{x:R(Cs),y:R(Cs),w:R(Cs),h:R(Cs)})),Ru=U(fu,{Icon:R(function(b,c){var d=V({},Qu,b,c);return m(d)?d:null}),heading:R(Cs),hotSpot:R(function(b){var c=b.getAttribute("xunits"),d=b.getAttribute("yunits");return{x:parseFloat(b.getAttribute("x")),$f:nu[c],y:parseFloat(b.getAttribute("y")),ag:nu[d]}}),scale:R(tu)}),Ou=U(fu,{LinearRing:tp(uu)}),Su=U(fu,{color:R(qu),scale:R(tu)}),
Tu=U(fu,{color:R(qu),width:R(Cs)}),Du=U(fu,{LineString:sp(yu),LinearRing:sp(Bu),MultiGeometry:sp(Cu),Point:sp(Fu),Polygon:sp(Gu)}),Uu=U(eu,{Track:sp(wu)}),Wu=U(fu,{ExtendedData:Ku,Link:function(b,c){Ap(Vu,b,c)},address:R(Y),description:R(Y),name:R(Y),open:R(zs),phoneNumber:R(Y),visibility:R(zs)}),Vu=U(fu,{href:R(su)}),Pu=U(fu,{LinearRing:tp(uu)}),Xu=U(fu,{Style:R(Iu),key:R(Y),styleUrl:R(function(b){var c=Ha(Xo(b,!1));return null!=b.baseURI?Wt(b.baseURI,c).toString():c})}),Zu=U(fu,{ExtendedData:Ku,
MultiGeometry:R(Cu,"geometry"),LineString:R(yu,"geometry"),LinearRing:R(Bu,"geometry"),Point:R(Fu,"geometry"),Polygon:R(Gu,"geometry"),Style:R(Iu),StyleMap:function(b,c){var d=V(void 0,Yu,b,c);if(m(d)){var e=c[c.length-1];ga(d)?e.Style=d:ia(d)&&(e.styleUrl=d)}},address:R(Y),description:R(Y),name:R(Y),open:R(zs),phoneNumber:R(Y),styleUrl:R(su),visibility:R(zs)},U(eu,{MultiTrack:R(function(b,c){var d=V([],Uu,b,c);if(m(d)){var e=new jn(null);kn(e,d);return e}},"geometry"),Track:R(wu,"geometry")})),$u=
U(fu,{color:R(qu),fill:R(zs),outline:R(zs)}),Nu=U(fu,{SimpleData:function(b,c){var d=b.getAttribute("name");if(null!==d){var e=Y(b);c[c.length-1][d]=e}}}),Ju=U(fu,{IconStyle:function(b,c){var d=V({},Ru,b,c);if(m(d)){var e=c[c.length-1],f=Vc(d,"Icon",{}),g;g=f.href;g=m(g)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,n,p=d.hotSpot;m(p)?(h=[p.x,p.y],k=p.$f,n=p.ag):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=iu,n=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&
(h=[.5,0],n=k="fraction");var q,p=f.x,r=f.y;m(p)&&m(r)&&(q=[p,r]);var t,p=f.w,f=f.h;m(p)&&m(f)&&(t=[p,f]);var u,f=d.heading;m(f)&&(u=Lb(f));d=d.scale;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(t=ju);h=new Ck({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:n,crossOrigin:"anonymous",offset:q,offsetOrigin:"bottom-left",rotation:u,scale:d,size:t,src:g});e.imageStyle=h}},LabelStyle:function(b,c){var d=V({},Su,b,c);m(d)&&(c[c.length-1].textStyle=new bu({fill:new Il({color:Vc(d,
"color",gu)}),scale:d.scale}))},LineStyle:function(b,c){var d=V({},Tu,b,c);m(d)&&(c[c.length-1].strokeStyle=new El({color:Vc(d,"color",gu),width:Vc(d,"width",1)}))},PolyStyle:function(b,c){var d=V({},$u,b,c);if(m(d)){var e=c[c.length-1];e.fillStyle=new Il({color:Vc(d,"color",gu)});var f=d.fill;m(f)&&(e.fill=f);d=d.outline;m(d)&&(e.outline=d)}}}),Yu=U(fu,{Pair:function(b,c){var d=V({},Xu,b,c);if(m(d)){var e=d.key;m(e)&&"normal"==e&&(e=d.styleUrl,m(e)&&(c[c.length-1]=e),d=d.Style,m(d)&&(c[c.length-
1]=d))}}});l=cu.prototype;l.Hf=function(b,c){ap(b);var d=U(fu,{Document:rp(this.Hf,this),Folder:rp(this.Hf,this),Placemark:sp(this.Pf,this),Style:ra(this.oo,this),StyleMap:ra(this.no,this)}),d=V([],d,b,c,this);if(m(d))return d};l.Pf=function(b,c){var d=V({geometry:null},Zu,b,c);if(m(d)){var e=new Bn,f=b.getAttribute("id");null===f||e.fc(f);var f=c[0],g=d.geometry;null!=g&&gs(g,!1,f);e.za(g);Uc(d,"geometry");this.c&&e.wf(ou(d.Style,d.styleUrl,this.b,this.a));Uc(d,"Style");e.H(d);return e}};
l.oo=function(b,c){var d=b.getAttribute("id");if(null!==d){var e=Iu(b,c);m(e)&&(d=null!=b.baseURI?Wt(b.baseURI,"#"+d).toString():"#"+d,this.a[d]=e)}};l.no=function(b,c){var d=b.getAttribute("id");if(null!==d){var e=V(void 0,Yu,b,c);m(e)&&(d=null!=b.baseURI?Wt(b.baseURI,"#"+d).toString():"#"+d,this.a[d]=e)}};l.th=function(b,c){if(!tb(fu,b.namespaceURI))return null;var d=this.Pf(b,[es(this,b,c)]);return m(d)?d:null};
l.bc=function(b,c){if(!tb(fu,b.namespaceURI))return[];var d;d=ap(b);if("Document"==d||"Folder"==d)return d=this.Hf(b,[es(this,b,c)]),m(d)?d:[];if("Placemark"==d)return d=this.Pf(b,[es(this,b,c)]),m(d)?[d]:[];if("kml"==d){d=[];var e;for(e=b.firstElementChild;null!==e;e=e.nextElementSibling){var f=this.bc(e,c);m(f)&&xb(d,f)}return d}return[]};l.io=function(b){if(dp(b))return av(this,b);if(gp(b))return bv(this,b);if(ia(b))return b=qp(b),av(this,b)};
function av(b,c){var d;for(d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType){var e=bv(b,d);if(m(e))return e}}function bv(b,c){var d;for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)if(tb(fu,d.namespaceURI)&&"name"==d.localName)return Y(d);for(d=c.firstElementChild;null!==d;d=d.nextElementSibling){var e=ap(d);if(tb(fu,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=bv(b,d),m(e)))return e}}
l.jo=function(b){var c=[];dp(b)?xb(c,cv(this,b)):gp(b)?xb(c,dv(this,b)):ia(b)&&(b=qp(b),xb(c,cv(this,b)));return c};function cv(b,c){var d,e=[];for(d=c.firstChild;null!==d;d=d.nextSibling)1==d.nodeType&&xb(e,dv(b,d));return e}
function dv(b,c){var d,e=[];for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)if(tb(fu,d.namespaceURI)&&"NetworkLink"==d.localName){var f=V({},Wu,d,[]);e.push(f)}for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)f=ap(d),!tb(fu,d.namespaceURI)||"Document"!=f&&"Folder"!=f&&"kml"!=f||xb(e,dv(b,d));return e}function ev(b,c){var d=zg(c),d=[255*(4==d.length?d[3]:1),d[2],d[1],d[0]],e;for(e=0;4>e;++e){var f=parseInt(d[e],10).toString(16);d[e]=1==f.length?"0"+f:f}Hs(b,d.join(""))}
function fv(b,c,d){Bp({node:b},gv,hv,[c],d)}function iv(b,c,d){var e={node:b};null!=c.ja&&b.setAttribute("id",c.ja);b=c.O();var f=c.Ta();m(f)&&(f=f.call(c,0),null!==f&&0<f.length&&(b.Style=f[0],f=f[0].f,null===f||(b.name=f.b)));f=jv[d[d.length-1].node.namespaceURI];b=zp(b,f);Bp(e,kv,yp,b,d,f);b=d[0];c=c.V();null!=c&&(c=gs(c,!0,b));Bp(e,kv,lv,[c],d)}function mv(b,c,d){var e=c.ha();b={node:b};b.layout=c.b;b.stride=c.ta();Bp(b,nv,ov,[e],d)}
function pv(b,c,d){c=c.Wd();var e=c.shift();b={node:b};Bp(b,qv,rv,c,d);Bp(b,qv,sv,[e],d)}function tv(b,c){Is(b,c*c)}
var uv=U(fu,["Document","Placemark"]),xv=U(fu,{Document:T(function(b,c,d){Bp({node:b},vv,wv,c,d)}),Placemark:T(iv)}),vv=U(fu,{Placemark:T(iv)}),yv={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},zv=U(fu,["href"],U(eu,["x","y","w","h"])),Av=U(fu,{href:T(Hs)},U(eu,{x:T(Is),y:T(Is),w:T(Is),h:T(Is)})),Bv=U(fu,["scale","heading","Icon","hotSpot"]),Dv=U(fu,{Icon:T(function(b,c,d){b=
{node:b};var e=zv[d[d.length-1].node.namespaceURI],f=zp(c,e);Bp(b,Av,yp,f,d,e);e=zv[eu[0]];f=zp(c,e);Bp(b,Av,Cv,f,d,e)}),heading:T(Is),hotSpot:T(function(b,c){b.setAttribute("x",c.x);b.setAttribute("y",c.y);b.setAttribute("xunits",c.$f);b.setAttribute("yunits",c.ag)}),scale:T(tv)}),Ev=U(fu,["color","scale"]),Fv=U(fu,{color:T(ev),scale:T(tv)}),Gv=U(fu,["color","width"]),Hv=U(fu,{color:T(ev),width:T(Is)}),gv=U(fu,{LinearRing:T(mv)}),Iv=U(fu,{LineString:T(mv),Point:T(mv),Polygon:T(pv)}),jv=U(fu,"name open visibility address phoneNumber description styleUrl Style".split(" ")),
kv=U(fu,{MultiGeometry:T(function(b,c,d){b={node:b};var e=c.U(),f,g;"MultiPoint"==e?(f=c.qe(),g=Jv):"MultiLineString"==e?(f=c.od(),g=Kv):"MultiPolygon"==e&&(f=c.Yd(),g=Lv);Bp(b,Iv,g,f,d)}),LineString:T(mv),LinearRing:T(mv),Point:T(mv),Polygon:T(pv),Style:T(function(b,c,d){b={node:b};var e={},f=c.c,g=c.b,h=c.W();c=c.f;null===h||(e.IconStyle=h);null===c||(e.LabelStyle=c);null===g||(e.LineStyle=g);null===f||(e.PolyStyle=f);c=Mv[d[d.length-1].node.namespaceURI];e=zp(e,c);Bp(b,Nv,yp,e,d,c)}),address:T(Hs),
description:T(Hs),name:T(Hs),open:T(Gs),phoneNumber:T(Hs),styleUrl:T(Hs),visibility:T(Gs)}),nv=U(fu,{coordinates:T(function(b,c,d){d=d[d.length-1];var e=d.layout;d=d.stride;var f;"XY"==e||"XYM"==e?f=2:("XYZ"==e||"XYZM"==e)&&(f=3);var g,h=c.length,k="";if(0<h){k+=c[0];for(e=1;e<f;++e)k+=","+c[e];for(g=d;g<h;g+=d)for(k+=" "+c[g],e=1;e<f;++e)k+=","+c[g+e]}Hs(b,k)})}),qv=U(fu,{outerBoundaryIs:T(fv),innerBoundaryIs:T(fv)}),Ov=U(fu,{color:T(ev)}),Mv=U(fu,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),
Nv=U(fu,{IconStyle:T(function(b,c,d){b={node:b};var e={},f=c.rb(),g=c.Vd(),h={href:c.a.i};if(null!==f){h.w=f[0];h.h=f[1];var k=c.Sb(),n=c.$b();null!==n&&null!==g&&0!==n[0]&&n[1]!==f[1]&&(h.x=n[0],h.y=g[1]-(n[1]+f[1]));null===k||0===k[0]||k[1]===f[1]||(e.hotSpot={x:k[0],$f:"pixels",y:f[1]-k[1],ag:"pixels"})}e.Icon=h;f=c.v;1!==f&&(e.scale=f);c=c.B;0!==c&&(e.heading=c);c=Bv[d[d.length-1].node.namespaceURI];e=zp(e,c);Bp(b,Dv,yp,e,d,c)}),LabelStyle:T(function(b,c,d){b={node:b};var e={},f=c.a;null===f||
(e.color=f.a);c=c.f;m(c)&&1!==c&&(e.scale=c);c=Ev[d[d.length-1].node.namespaceURI];e=zp(e,c);Bp(b,Fv,yp,e,d,c)}),LineStyle:T(function(b,c,d){b={node:b};var e=Gv[d[d.length-1].node.namespaceURI];c=zp({color:c.a,width:c.f},e);Bp(b,Hv,yp,c,d,e)}),PolyStyle:T(function(b,c,d){Bp({node:b},Ov,Pv,[c.a],d)})});function Cv(b,c,d){return Wo(eu[0],"gx:"+d)}function wv(b,c){return Wo(c[c.length-1].node.namespaceURI,"Placemark")}function lv(b,c){if(null!=b)return Wo(c[c.length-1].node.namespaceURI,yv[b.U()])}
var Pv=wp("color"),ov=wp("coordinates"),rv=wp("innerBoundaryIs"),Jv=wp("Point"),Kv=wp("LineString"),hv=wp("LinearRing"),Lv=wp("Polygon"),sv=wp("outerBoundaryIs");
cu.prototype.f=function(b,c){c=fs(this,c);var d=Wo(fu[4],"kml");pp(d,"http://www.w3.org/2000/xmlns/","xmlns:gx",eu[0]);pp(d,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");pp(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var e={node:d},f={};1<b.length?f.Document=b:1==b.length&&(f.Placemark=b[0]);var g=uv[d.namespaceURI],f=zp(f,g);Bp(e,xv,yp,f,[c],g);
return d};(function(){var b={},c={ia:b};(function(d){if("object"===typeof b&&"undefined"!==typeof c)c.ia=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.wp=d()}})(function(){return function e(b,c,h){function k(p,r){if(!c[p]){if(!b[p]){var t="function"==typeof require&&require;if(!r&&t)return t(p,!0);if(n)return n(p,!0);t=Error("Cannot find module '"+p+"'");throw t.code="MODULE_NOT_FOUND",t;}t=c[p]={ia:{}};b[p][0].call(t.ia,function(c){var e=
b[p][1][c];return k(e?e:c)},t,t.ia,e,b,c,h)}return c[p].ia}for(var n="function"==typeof require&&require,p=0;p<h.length;p++)k(h[p]);return k}({1:[function(b,c){function g(b){var c;b&&b.length&&(c=b,b=c.length);b=new Uint8Array(b||0);c&&b.set(c);b.Eh=n.Eh;b.Zf=n.Zf;b.wh=n.wh;b.ei=n.ei;b.Of=n.Of;b.di=n.di;b.If=n.If;b.ai=n.ai;b.toString=n.toString;b.write=n.write;b.slice=n.slice;b.ng=n.ng;b.Qi=!0;return b}function h(b){for(var c=b.length,e=[],f=0,g,h;f<c;f++){g=b.charCodeAt(f);if(55295<g&&57344>g)if(h)if(56320>
g){e.push(239,191,189);h=g;continue}else g=h-55296<<10|g-56320|65536,h=null;else{56319<g||f+1===c?e.push(239,191,189):h=g;continue}else h&&(e.push(239,191,189),h=null);128>g?e.push(g):2048>g?e.push(g>>6|192,g&63|128):65536>g?e.push(g>>12|224,g>>6&63|128,g&63|128):e.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}return e}c.ia=g;var k=b("ieee754"),n,p,q;n={Eh:function(b){return(this[b]|this[b+1]<<8|this[b+2]<<16)+16777216*this[b+3]},Zf:function(b,c){this[c]=b;this[c+1]=b>>>8;this[c+2]=b>>>16;this[c+
3]=b>>>24},wh:function(b){return(this[b]|this[b+1]<<8|this[b+2]<<16)+(this[b+3]<<24)},Of:function(b){return k.read(this,b,!0,23,4)},If:function(b){return k.read(this,b,!0,52,8)},di:function(b,c){return k.write(this,b,c,!0,23,4)},ai:function(b,c){return k.write(this,b,c,!0,52,8)},toString:function(b,c,e){var f=b="";c=c||0;for(e=Math.min(this.length,e||this.length);c<e;c++){var g=this[c];127>=g?(b+=decodeURIComponent(f)+String.fromCharCode(g),f=""):f+="%"+g.toString(16)}return b+=decodeURIComponent(f)},
write:function(b,c){for(var e=b===p?q:h(b),f=0;f<e.length;f++)this[c+f]=e[f]},slice:function(b,c){return this.subarray(b,c)},ng:function(b,c){c=c||0;for(var e=0;e<this.length;e++)b[c+e]=this[e]}};n.ei=n.Zf;g.byteLength=function(b){p=b;q=h(b);return q.length};g.isBuffer=function(b){return!(!b||!b.Qi)}},{ieee754:3}],2:[function(b,c){(function(g){function h(b){this.ub=k.isBuffer(b)?b:new k(b||0);this.aa=0;this.length=this.ub.length}c.ia=h;var k=g.ep||b("./buffer");h.c=0;h.b=1;h.a=2;h.f=5;var n=Math.pow(2,
63);h.prototype={Mf:function(b,c,e){for(e=e||this.length;this.aa<e;){var f=this.va(),g=this.aa;b(f>>3,c,this);this.aa===g&&this.So(f)}return c},co:function(){var b=this.ub.Of(this.aa);this.aa+=4;return b},Zn:function(){var b=this.ub.If(this.aa);this.aa+=8;return b},va:function(){var b=this.ub,c,e,f,g,h;c=b[this.aa++];if(128>c)return c;c=c&127;f=b[this.aa++];if(128>f)return c|f<<7;f=(f&127)<<7;g=b[this.aa++];if(128>g)return c|f|g<<14;g=(g&127)<<14;h=b[this.aa++];if(128>h)return c|f|g|h<<21;e=b[this.aa++];
c=(c|f|g|(h&127)<<21)+268435456*(e&127);if(128>e)return c;e=b[this.aa++];c+=34359738368*(e&127);if(128>e)return c;e=b[this.aa++];c+=4398046511104*(e&127);if(128>e)return c;e=b[this.aa++];c+=562949953421312*(e&127);if(128>e)return c;e=b[this.aa++];c+=72057594037927936*(e&127);if(128>e)return c;e=b[this.aa++];c+=0x7fffffffffffffff*(e&127);if(128>e)return c;throw Error("Expected varint not more than 10 bytes");},po:function(){var b=this.aa,c=this.va();if(c<n)return c;for(var e=this.aa-2;255===this.ub[e];)e--;
e<b&&(e=b);for(var f=c=0;f<e-b+1;f++)var g=~this.ub[b+f]&127,c=c+(4>f?g<<7*f:g*Math.pow(2,7*f));return-c-1},zd:function(){var b=this.va();return 1===b%2?(b+1)/-2:b/2},Xn:function(){return Boolean(this.va())},Rf:function(){var b=this.va()+this.aa,c=this.ub.toString("utf8",this.aa,b);this.aa=b;return c},So:function(b){b=b&7;if(b===h.c)for(;127<this.ub[this.aa++];);else if(b===h.a)this.aa=this.va()+this.aa;else if(b===h.f)this.aa+=4;else if(b===h.b)this.aa+=8;else throw Error("Unimplemented type: "+
b);}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./buffer":1}],3:[function(b,c,g){g.read=function(b,c,e,f,g){var r;r=8*g-f-1;var t=(1<<r)-1,u=t>>1,z=-7;g=e?g-1:0;var w=e?-1:1,C=b[c+g];g+=w;e=C&(1<<-z)-1;C>>=-z;for(z+=r;0<z;e=256*e+b[c+g],g+=w,z-=8);r=e&(1<<-z)-1;e>>=-z;for(z+=f;0<z;r=256*r+b[c+g],g+=w,z-=8);if(0===e)e=1-u;else{if(e===t)return r?NaN:Infinity*(C?-1:1);r+=Math.pow(2,f);e=e-u}return(C?-1:1)*r*Math.pow(2,e-f)};
g.write=function(b,c,e,f,g,r){var t,u=8*r-g-1,z=(1<<u)-1,w=z>>1,C=23===g?Math.pow(2,-24)-Math.pow(2,-77):0;r=f?0:r-1;var y=f?1:-1,A=0>c||0===c&&0>1/c?1:0;c=Math.abs(c);isNaN(c)||Infinity===c?(c=isNaN(c)?1:0,f=z):(f=Math.floor(Math.log(c)/Math.LN2),1>c*(t=Math.pow(2,-f))&&(f--,t*=2),c=1<=f+w?c+C/t:c+C*Math.pow(2,1-w),2<=c*t&&(f++,t/=2),f+w>=z?(c=0,f=z):1<=f+w?(c=(c*t-1)*Math.pow(2,g),f+=w):(c=c*Math.pow(2,w-1)*Math.pow(2,g),f=0));for(;8<=g;b[e+r]=c&255,r+=y,c/=256,g-=8);f=f<<g|c;for(u+=g;0<u;b[e+r]=
f&255,r+=y,f/=256,u-=8);b[e+r-y]|=128*A}},{}]},{},[2])(2)});Hp=c.ia})();(function(){var b={},c={ia:b};(function(d){if("object"===typeof b&&"undefined"!==typeof c)c.ia=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.yp=d()}})(function(){return function e(b,c,h){function k(p,r){if(!c[p]){if(!b[p]){var t="function"==typeof require&&require;if(!r&&t)return t(p,!0);if(n)return n(p,!0);t=Error("Cannot find module '"+p+"'");throw t.code="MODULE_NOT_FOUND",t;}t=c[p]={ia:{}};b[p][0].call(t.ia,function(c){var e=
b[p][1][c];return k(e?e:c)},t,t.ia,e,b,c,h)}return c[p].ia}for(var n="function"==typeof require&&require,p=0;p<h.length;p++)k(h[p]);return k}({1:[function(b,c){c.ia.Gi=b("./lib/vectortile.js");c.ia.rp=b("./lib/vectortilefeature.js");c.ia.sp=b("./lib/vectortilelayer.js")},{"./lib/vectortile.js":2,"./lib/vectortilefeature.js":3,"./lib/vectortilelayer.js":4}],2:[function(b,c){function g(b,c,e){3===b&&(b=new h(e,e.va()+e.aa),b.length&&(c[b.name]=b))}var h=b("./vectortilelayer");c.ia=function(b,c){this.layers=
b.Mf(g,{},c)}},{"./vectortilelayer":4}],3:[function(b,c){function g(b,c,e,f,g){this.properties={};this.extent=e;this.type=0;this.jc=b;this.Se=-1;this.Id=f;this.Kd=g;b.Mf(h,this,c)}function h(b,c,e){if(1==b)c.up=e.va();else if(2==b)for(b=e.va()+e.aa;e.aa<b;){var f=c.Id[e.va()],g=c.Kd[e.va()];c.properties[f]=g}else 3==b?c.type=e.va():4==b&&(c.Se=e.aa)}var k=b("point-geometry");c.ia=g;g.types=["Unknown","Point","LineString","Polygon"];g.prototype.Ig=function(){var b=this.jc;b.aa=this.Se;for(var c=b.va()+
b.aa,e=1,f=0,g=0,h=0,z=[],w;b.aa<c;)if(f||(f=b.va(),e=f&7,f=f>>3),f--,1===e||2===e)g+=b.zd(),h+=b.zd(),1===e&&(w&&z.push(w),w=[]),w.push(new k(g,h));else if(7===e)w&&w.push(w[0].clone());else throw Error("unknown command "+e);w&&z.push(w);return z};g.prototype.bbox=function(){var b=this.jc;b.aa=this.Se;for(var c=b.va()+b.aa,e=1,f=0,g=0,h=0,k=Infinity,w=-Infinity,C=Infinity,y=-Infinity;b.aa<c;)if(f||(f=b.va(),e=f&7,f=f>>3),f--,1===e||2===e)g+=b.zd(),h+=b.zd(),g<k&&(k=g),g>w&&(w=g),h<C&&(C=h),h>y&&
(y=h);else if(7!==e)throw Error("unknown command "+e);return[k,C,w,y]}},{"point-geometry":5}],4:[function(b,c){function g(b,c){this.version=1;this.name=null;this.extent=4096;this.length=0;this.jc=b;this.Id=[];this.Kd=[];this.Hd=[];b.Mf(h,this,c);this.length=this.Hd.length}function h(b,c,e){15===b?c.version=e.va():1===b?c.name=e.Rf():5===b?c.extent=e.va():2===b?c.Hd.push(e.aa):3===b?c.Id.push(e.Rf()):4===b&&c.Kd.push(k(e))}function k(b){for(var c=null,e=b.va()+b.aa;b.aa<e;)c=b.va()>>3,c=1===c?b.Rf():
2===c?b.co():3===c?b.Zn():4===c?b.po():5===c?b.va():6===c?b.zd():7===c?b.Xn():null;return c}var n=b("./vectortilefeature.js");c.ia=g;g.prototype.feature=function(b){if(0>b||b>=this.Hd.length)throw Error("feature index out of bounds");this.jc.aa=this.Hd[b];b=this.jc.va()+this.jc.aa;return new n(this.jc,b,this.extent,this.Id,this.Kd)}},{"./vectortilefeature.js":3}],5:[function(b,c){function g(b,c){this.x=b;this.y=c}c.ia=g;g.prototype={clone:function(){return new g(this.x,this.y)},add:function(b){return this.clone().Ii(b)},
rotate:function(b){return this.clone().Ti(b)},round:function(){return this.clone().Ui()},angle:function(){return Math.atan2(this.y,this.x)},Ii:function(b){this.x+=b.x;this.y+=b.y;return this},Ti:function(b){var c=Math.cos(b);b=Math.sin(b);var e=b*this.x+c*this.y;this.x=c*this.x-b*this.y;this.y=e;return this},Ui:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}};g.a=function(b){return b instanceof g?b:Array.isArray(b)?new g(b[0],b[1]):b}},{}]},{},[1])(1)});Ip=c.ia})();function Qv(b){this.defaultDataProjection=null;b=m(b)?b:{};this.defaultDataProjection=new re({code:"EPSG:3857",units:"tile-pixels"});this.c=m(b.flyweight)?b.flyweight:!1;this.b=m(b.geometryName)?b.geometryName:"geometry";this.a=m(b.layerName)?b.layerName:"layer";this.f=m(b.layers)?b.layers:null}x(Qv,ds);Qv.prototype.U=function(){return"arraybuffer"};
Qv.prototype.xa=function(b,c){var d=this.f,e=new Hp(b),e=new Ip.Gi(e),f=[],g=this.c,h,k,n;for(n in e.layers)if(null===d||tb(d,n)){h=e.layers[n];for(var p=0;p<h.length;++p){if(g){k=h.feature(p);for(var q=n,r=k.Ig(),t=0,u=[],z=[],w=void 0,C=void 0,y=0,A=r.length;y<A;++y){for(var w=r[y],H=0,K=w.length;H<K;++H)C=w[H],z.push(C.x,C.y);t+=2*H;u.push(t)}t=k.type;w=void 0;w=1===t?1===r.length?"Point":"MultiPoint":2===t?1===r.length?"LineString":"MultiLineString":"Polygon";k.properties[this.a]=q;k=new Qe(w,
z,u,k.properties)}else{k=h.feature(p);z=n;u=c;q=new Bn;r=k.properties;r[this.a]=z;z=k.type;if(0===z)z=null;else{for(var t=k.Ig(),y=0,w=[],C=[],H=A=void 0,K=0,J=t.length;K<J;++K){for(var A=t[K],Q=0,ta=A.length;Q<ta;++Q)H=A[Q],C.push(H.x,H.y);y+=2*Q;w.push(y)}y=void 0;1===z?y=1===t.length?new yf:new ln:2===z?1===t.length?y=new P:y=new jn:y=new E;y.sa("XY",C,w);z=y}u=gs(z,!1,fs(this,u));null===u||(r[this.b]=u);q.B=k.properties;q.xc(this.b);k=q}f.push(k)}}return f};Qv.prototype.Ga=function(){return this.defaultDataProjection};
Qv.prototype.g=function(b){this.f=b};function Rv(){this.defaultDataProjection=null;this.defaultDataProjection=te("EPSG:4326")}x(Rv,vs);function Sv(b,c){c[c.length-1].Cd[b.getAttribute("k")]=b.getAttribute("v")}
var Tv=[null],Uv=U(Tv,{nd:function(b,c){c[c.length-1].Mc.push(b.getAttribute("ref"))},tag:Sv}),Wv=U(Tv,{node:function(b,c){var d=c[0],e=c[c.length-1],f=b.getAttribute("id"),g=[parseFloat(b.getAttribute("lon")),parseFloat(b.getAttribute("lat"))];e.Lg[f]=g;var h=V({Cd:{}},Vv,b,c);Sc(h.Cd)||(g=new yf(g),gs(g,!1,d),d=new Bn(g),d.fc(f),d.H(h.Cd),e.features.push(d))},way:function(b,c){for(var d=c[0],e=b.getAttribute("id"),f=V({Mc:[],Cd:{}},Uv,b,c),g=c[c.length-1],h=[],k=0,n=f.Mc.length;k<n;k++)xb(h,g.Lg[f.Mc[k]]);
f.Mc[0]==f.Mc[f.Mc.length-1]?(k=new E(null),Lf(k,"XY",h,[h.length])):(k=new P(null),hn(k,"XY",h));gs(k,!1,d);d=new Bn(k);d.fc(e);d.H(f.Cd);g.features.push(d)}}),Vv=U(Tv,{tag:Sv});Rv.prototype.bc=function(b,c){var d=es(this,b,c);return"osm"==b.localName&&(d=V({Lg:{},features:[]},Wv,b,[d]),m(d.features))?d.features:[]};function Xv(b){return b.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Yv(){}Yv.prototype.read=function(b){return dp(b)?this.f(b):gp(b)?this.a(b):ia(b)?(b=qp(b),this.f(b)):null};function Zv(){}x(Zv,Yv);Zv.prototype.f=function(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return this.a(b);return null};Zv.prototype.a=function(b){b=V({},$v,b,[]);return m(b)?b:null};
var aw=[null,"http://www.opengis.net/ows/1.1"],$v=U(aw,{ServiceIdentification:R(function(b,c){return V({},bw,b,c)}),ServiceProvider:R(function(b,c){return V({},cw,b,c)}),OperationsMetadata:R(function(b,c){return V({},dw,b,c)})}),ew=U(aw,{DeliveryPoint:R(Y),City:R(Y),AdministrativeArea:R(Y),PostalCode:R(Y),Country:R(Y),ElectronicMailAddress:R(Y)}),fw=U(aw,{Value:up(function(b){return Y(b)})}),gw=U(aw,{AllowedValues:R(function(b,c){return V({},fw,b,c)})}),iw=U(aw,{Phone:R(function(b,c){return V({},
hw,b,c)}),Address:R(function(b,c){return V({},ew,b,c)})}),kw=U(aw,{HTTP:R(function(b,c){return V({},jw,b,c)})}),jw=U(aw,{Get:up(function(b,c){var d=Xv(b);return m(d)?V({href:d},lw,b,c):void 0}),Post:void 0}),mw=U(aw,{DCP:R(function(b,c){return V({},kw,b,c)})}),dw=U(aw,{Operation:function(b,c){var d=b.getAttribute("name"),e=V({},mw,b,c);m(e)&&(c[c.length-1][d]=e)}}),hw=U(aw,{Voice:R(Y),Facsimile:R(Y)}),lw=U(aw,{Constraint:up(function(b,c){var d=b.getAttribute("name");return m(d)?V({name:d},gw,b,c):
void 0})}),nw=U(aw,{IndividualName:R(Y),PositionName:R(Y),ContactInfo:R(function(b,c){return V({},iw,b,c)})}),bw=U(aw,{Title:R(Y),ServiceTypeVersion:R(Y),ServiceType:R(Y)}),cw=U(aw,{ProviderName:R(Y),ProviderSite:R(Xv),ServiceContact:R(function(b,c){return V({},nw,b,c)})});function ow(b,c,d,e){var f;m(e)?f=m(void 0)?void 0:0:(e=[],f=0);var g,h;for(g=0;g<c;)for(h=b[g++],e[f++]=b[g++],e[f++]=h,h=2;h<d;++h)e[f++]=b[g++];e.length=f};function pw(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te("EPSG:4326");this.a=m(b.factor)?b.factor:1E5;this.f=m(b.geometryLayout)?b.geometryLayout:"XY"}x(pw,Dt);function qw(b,c,d){d=m(d)?d:1E5;var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;var g,h;g=0;for(h=b.length;g<h;)for(e=0;e<c;++e,++g){var k=b[g],n=k-f[e];f[e]=k;b[g]=n}return rw(b,d)}
function sw(b,c,d){var e=m(d)?d:1E5,f=Array(c);for(d=0;d<c;++d)f[d]=0;b=tw(b,e);var g,e=0;for(g=b.length;e<g;)for(d=0;d<c;++d,++e)f[d]+=b[e],b[e]=f[d];return b}function rw(b,c){var d=m(c)?c:1E5,e,f;e=0;for(f=b.length;e<f;++e)b[e]=Math.round(b[e]*d);d=0;for(e=b.length;d<e;++d)f=b[d],b[d]=0>f?~(f<<1):f<<1;d="";e=0;for(f=b.length;e<f;++e){for(var g=b[e],h=void 0,k="";32<=g;)h=(32|g&31)+63,k+=String.fromCharCode(h),g>>=5;h=g+63;k+=String.fromCharCode(h);d+=k}return d}
function tw(b,c){var d=m(c)?c:1E5,e=[],f=0,g=0,h,k;h=0;for(k=b.length;h<k;++h){var n=b.charCodeAt(h)-63,f=f|(n&31)<<g;32>n?(e.push(f),g=f=0):g+=5}f=0;for(g=e.length;f<g;++f)h=e[f],e[f]=h&1?~(h>>1):h>>1;f=0;for(g=e.length;f<g;++f)e[f]/=d;return e}l=pw.prototype;l.wd=function(b,c){var d=this.yd(b,c);return new Bn(d)};l.Lf=function(b,c){return[this.wd(b,c)]};l.yd=function(b,c){var d=df(this.f),e=sw(b,d,this.a);ow(e,e.length,d,e);d=sf(e,0,e.length,d);return gs(new P(d,this.f),!1,fs(this,c))};
l.Le=function(b,c){var d=b.V();return null!=d?this.Ed(d,c):""};l.ci=function(b,c){return this.Le(b[0],c)};l.Ed=function(b,c){b=gs(b,!0,fs(this,c));var d=b.ha(),e=b.ta();ow(d,d.length,e,d);return qw(d,e,this.a)};function uw(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=te(null!=b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326")}x(uw,hs);function vw(b,c){var d=[],e,f,g,h;g=0;for(h=b.length;g<h;++g)e=b[g],0<g&&d.pop(),0<=e?f=c[e]:f=c[~e].slice().reverse(),d.push.apply(d,f);e=0;for(f=d.length;e<f;++e)d[e]=d[e].slice();return d}function ww(b,c,d,e,f){b=b.geometries;var g=[],h,k;h=0;for(k=b.length;h<k;++h)g[h]=xw(b[h],c,d,e,f);return g}
function xw(b,c,d,e,f){var g=b.type,h=yw[g];c="Point"===g||"MultiPoint"===g?h(b,d,e):h(b,c);d=new Bn;d.za(gs(c,!1,f));m(b.id)&&d.fc(b.id);m(b.properties)&&d.H(b.properties);return d}
uw.prototype.Kf=function(b,c){if("Topology"==b.type){var d,e=null,f=null;m(b.transform)&&(d=b.transform,e=d.scale,f=d.translate);var g=b.arcs;if(m(d)){d=e;var h=f,k,n;k=0;for(n=g.length;k<n;++k)for(var p=g[k],q=d,r=h,t=0,u=0,z=void 0,w=void 0,C=void 0,w=0,C=p.length;w<C;++w)z=p[w],t+=z[0],u+=z[1],z[0]=t,z[1]=u,zw(z,q,r)}d=[];h=Nc(b.objects);k=0;for(n=h.length;k<n;++k)"GeometryCollection"===h[k].type?(p=h[k],d.push.apply(d,ww(p,g,e,f,c))):(p=h[k],d.push(xw(p,g,e,f,c)));return d}return[]};
function zw(b,c,d){b[0]=b[0]*c[0]+d[0];b[1]=b[1]*c[1]+d[1]}uw.prototype.Ga=function(){return this.defaultDataProjection};
var yw={Point:function(b,c,d){b=b.coordinates;null===c||null===d||zw(b,c,d);return new yf(b)},LineString:function(b,c){var d=vw(b.arcs,c);return new P(d)},Polygon:function(b,c){var d=[],e,f;e=0;for(f=b.arcs.length;e<f;++e)d[e]=vw(b.arcs[e],c);return new E(d)},MultiPoint:function(b,c,d){b=b.coordinates;var e,f;if(null!==c&&null!==d)for(e=0,f=b.length;e<f;++e)zw(b[e],c,d);return new ln(b)},MultiLineString:function(b,c){var d=[],e,f;e=0;for(f=b.arcs.length;e<f;++e)d[e]=vw(b.arcs[e],c);return new jn(d)},
MultiPolygon:function(b,c){var d=[],e,f,g,h,k,n;k=0;for(n=b.arcs.length;k<n;++k){e=b.arcs[k];f=[];g=0;for(h=e.length;g<h;++g)f[g]=vw(e[g],c);d[k]=f}return new mn(d)}};function Aw(b){b=m(b)?b:{};this.g=b.featureType;this.b=b.featureNS;this.a=m(b.gmlFormat)?b.gmlFormat:new Ls;this.c=m(b.schemaLocation)?b.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";this.defaultDataProjection=null}x(Aw,vs);Aw.prototype.bc=function(b,c){var d={featureType:this.g,featureNS:this.b};$c(d,es(this,b,m(c)?c:{}));d=[d];this.a.a["http://www.opengis.net/gml"].featureMember=sp(ys.prototype.xd);d=V([],this.a.a,b,d,this.a);m(d)||(d=[]);return d};
Aw.prototype.j=function(b){if(dp(b))return Bw(b);if(gp(b))return V({},Cw,b,[]);if(ia(b))return b=qp(b),Bw(b)};Aw.prototype.i=function(b){if(dp(b))return Dw(this,b);if(gp(b))return Ew(this,b);if(ia(b))return b=qp(b),Dw(this,b)};function Dw(b,c){for(var d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType)return Ew(b,d)}var Fw={"http://www.opengis.net/gml":{boundedBy:R(ys.prototype.De,"bounds")}};
function Ew(b,c){var d={},e=Fs(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return V(d,Fw,c,[],b.a)}
var Gw={"http://www.opengis.net/wfs":{totalInserted:R(Es),totalUpdated:R(Es),totalDeleted:R(Es)}},Hw={"http://www.opengis.net/ogc":{FeatureId:sp(function(b){return b.getAttribute("fid")})}},Iw={"http://www.opengis.net/wfs":{Feature:function(b,c){Ap(Hw,b,c)}}},Cw={"http://www.opengis.net/wfs":{TransactionSummary:R(function(b,c){return V({},Gw,b,c)},"transactionSummary"),InsertResults:R(function(b,c){return V([],Iw,b,c)},"insertIds")}};
function Bw(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return V({},Cw,b,[])}var Jw={"http://www.opengis.net/wfs":{PropertyName:T(Hs)}};function Kw(b,c){var d=Wo("http://www.opengis.net/ogc","Filter"),e=Wo("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);b.appendChild(d)}
var Lw={"http://www.opengis.net/wfs":{Insert:T(function(b,c,d){var e=d[d.length-1],e=Wo(e.featureNS,e.featureType);b.appendChild(e);Ls.prototype.bi(e,c,d)}),Update:T(function(b,c,d){var e=d[d.length-1],f=e.featureType,g=e.featurePrefix,g=m(g)?g:"feature",h=e.featureNS;b.setAttribute("typeName",g+":"+f);pp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+g,h);f=c.ja;if(m(f)){for(var g=c.N(),h=[],k=0,n=g.length;k<n;k++){var p=c.get(g[k]);m(p)&&h.push({name:g[k],value:p})}Bp({node:b,srsName:e.srsName},Lw,
wp("Property"),h,d);Kw(b,f)}}),Delete:T(function(b,c,d){var e=d[d.length-1];d=e.featureType;var f=e.featurePrefix,f=m(f)?f:"feature",e=e.featureNS;b.setAttribute("typeName",f+":"+d);pp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+f,e);c=c.ja;m(c)&&Kw(b,c)}),Property:T(function(b,c,d){var e=Wo("http://www.opengis.net/wfs","Name");b.appendChild(e);Hs(e,c.name);null!=c.value&&(e=Wo("http://www.opengis.net/wfs","Value"),b.appendChild(e),c.value instanceof Pe?Ls.prototype.Ne(e,c.value,d):Hs(e,c.value))}),
Native:T(function(b,c){m(c.$o)&&b.setAttribute("vendorId",c.$o);m(c.Bo)&&b.setAttribute("safeToIgnore",c.Bo);m(c.value)&&Hs(b,c.value)})}},Mw={"http://www.opengis.net/wfs":{Query:T(function(b,c,d){var e=d[d.length-1],f=e.featurePrefix,g=e.featureNS,h=e.propertyNames,k=e.srsName;b.setAttribute("typeName",(m(f)?f+":":"")+c);m(k)&&b.setAttribute("srsName",k);m(g)&&pp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=Xc(e);c.node=b;Bp(c,Jw,wp("PropertyName"),h,d);e=e.bbox;m(e)&&(h=Wo("http://www.opengis.net/ogc",
"Filter"),c=d[d.length-1].geometryName,f=Wo("http://www.opengis.net/ogc","BBOX"),h.appendChild(f),g=Wo("http://www.opengis.net/ogc","PropertyName"),Hs(g,c),f.appendChild(g),Ls.prototype.Ne(f,e,d),b.appendChild(h))})}};
Aw.prototype.l=function(b){var c=Wo("http://www.opengis.net/wfs","GetFeature");c.setAttribute("service","WFS");c.setAttribute("version","1.1.0");m(b)&&(m(b.handle)&&c.setAttribute("handle",b.handle),m(b.outputFormat)&&c.setAttribute("outputFormat",b.outputFormat),m(b.maxFeatures)&&c.setAttribute("maxFeatures",b.maxFeatures),m(b.resultType)&&c.setAttribute("resultType",b.resultType),m(b.To)&&c.setAttribute("startIndex",b.To),m(b.count)&&c.setAttribute("count",b.count));pp(c,"http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation",this.c);var d=b.featureTypes;b=[{node:c,srsName:b.srsName,featureNS:m(b.featureNS)?b.featureNS:this.b,featurePrefix:b.featurePrefix,geometryName:b.geometryName,bbox:b.bbox,propertyNames:m(b.propertyNames)?b.propertyNames:[]}];var e=Xc(b[b.length-1]);e.node=c;Bp(e,Mw,wp("Query"),d,b);return c};
Aw.prototype.u=function(b,c,d,e){var f=[],g=Wo("http://www.opengis.net/wfs","Transaction");g.setAttribute("service","WFS");g.setAttribute("version","1.1.0");var h,k;m(e)&&(h=m(e.gmlOptions)?e.gmlOptions:{},m(e.handle)&&g.setAttribute("handle",e.handle));pp(g,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);null!=b&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},$c(k,h),Bp(k,Lw,wp("Insert"),b,f));null!=c&&(k={node:g,featureNS:e.featureNS,
featureType:e.featureType,featurePrefix:e.featurePrefix},$c(k,h),Bp(k,Lw,wp("Update"),c,f));null!=d&&Bp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},Lw,wp("Delete"),d,f);m(e.nativeElements)&&Bp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},Lw,wp("Native"),e.nativeElements,f);return g};Aw.prototype.Qf=function(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return this.Ge(b);return null};
Aw.prototype.Ge=function(b){if(null!=b.firstElementChild&&null!=b.firstElementChild.firstElementChild)for(b=b.firstElementChild.firstElementChild,b=b.firstElementChild;null!==b;b=b.nextElementSibling)if(0!==b.childNodes.length&&(1!==b.childNodes.length||3!==b.firstChild.nodeType)){var c=[{}];this.a.De(b,c);return te(c.pop().srsName)}return null};function Nw(b){b=m(b)?b:{};this.defaultDataProjection=null;this.a=m(b.splitCollection)?b.splitCollection:!1}x(Nw,Dt);function Ow(b){b=b.X();return 0==b.length?"":b[0]+" "+b[1]}function Pw(b){b=b.X();for(var c=[],d=0,e=b.length;d<e;++d)c.push(b[d][0]+" "+b[d][1]);return c.join(",")}function Qw(b){var c=[];b=b.Wd();for(var d=0,e=b.length;d<e;++d)c.push("("+Pw(b[d])+")");return c.join(",")}function Rw(b){var c=b.U();b=(0,Sw[c])(b);c=c.toUpperCase();return 0===b.length?c+" EMPTY":c+"("+b+")"}
var Sw={Point:Ow,LineString:Pw,Polygon:Qw,MultiPoint:function(b){var c=[];b=b.qe();for(var d=0,e=b.length;d<e;++d)c.push("("+Ow(b[d])+")");return c.join(",")},MultiLineString:function(b){var c=[];b=b.od();for(var d=0,e=b.length;d<e;++d)c.push("("+Pw(b[d])+")");return c.join(",")},MultiPolygon:function(b){var c=[];b=b.Yd();for(var d=0,e=b.length;d<e;++d)c.push("("+Qw(b[d])+")");return c.join(",")},GeometryCollection:function(b){var c=[];b=b.sg();for(var d=0,e=b.length;d<e;++d)c.push(Rw(b[d]));return c.join(",")}};
l=Nw.prototype;l.wd=function(b,c){var d=this.yd(b,c);if(m(d)){var e=new Bn;e.za(d);return e}return null};l.Lf=function(b,c){var d=[],e=this.yd(b,c);this.a&&"GeometryCollection"==e.U()?d=e.c:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new Bn,e.za(d[g]),f.push(e);return f};l.yd=function(b,c){var d;d=new Tw(new Uw(b));d.a=Vw(d.f);d=Ww(d);return m(d)?gs(d,!1,c):null};l.Le=function(b,c){var d=b.V();return m(d)?this.Ed(d,c):""};
l.ci=function(b,c){if(1==b.length)return this.Le(b[0],c);for(var d=[],e=0,f=b.length;e<f;++e)d.push(b[e].V());d=new an(d);return this.Ed(d,c)};l.Ed=function(b,c){return Rw(gs(b,!0,c))};function Uw(b){this.f=b;this.a=-1}function Xw(b,c){var d=m(c)?c:!1;return"0"<=b&&"9">=b||"."==b&&!d}
function Vw(b){var c=b.f.charAt(++b.a),d={position:b.a,value:c};if("("==c)d.type=2;else if(","==c)d.type=5;else if(")"==c)d.type=3;else if(Xw(c)||"-"==c){d.type=4;var e,c=b.a,f=!1,g=!1;do{if("."==e)f=!0;else if("e"==e||"E"==e)g=!0;e=b.f.charAt(++b.a)}while(Xw(e,f)||!g&&("e"==e||"E"==e)||g&&("-"==e||"+"==e));b=parseFloat(b.f.substring(c,b.a--));d.value=b}else if("a"<=c&&"z">=c||"A"<=c&&"Z">=c){d.type=1;c=b.a;do e=b.f.charAt(++b.a);while("a"<=e&&"z">=e||"A"<=e&&"Z">=e);b=b.f.substring(c,b.a--).toUpperCase();
d.value=b}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return Vw(b);if(""===c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function Tw(b){this.f=b}l=Tw.prototype;l.match=function(b){if(b=this.a.type==b)this.a=Vw(this.f);return b};
function Ww(b){var c=b.a;if(b.match(1)){var d=c.value;if("GEOMETRYCOLLECTION"==d){a:{if(b.match(2)){c=[];do c.push(Ww(b));while(b.match(5));if(b.match(3)){b=c;break a}}else if(Yw(b)){b=[];break a}throw Error(Zw(b));}return new an(b)}var e=$w[d],c=ax[d];if(!m(e)||!m(c))throw Error("Invalid geometry type: "+d);b=e.call(b);return new c(b)}throw Error(Zw(b));}l.Ff=function(){if(this.match(2)){var b=bx(this);if(this.match(3))return b}else if(Yw(this))return null;throw Error(Zw(this));};
l.Ef=function(){if(this.match(2)){var b=cx(this);if(this.match(3))return b}else if(Yw(this))return[];throw Error(Zw(this));};l.Gf=function(){if(this.match(2)){var b=dx(this);if(this.match(3))return b}else if(Yw(this))return[];throw Error(Zw(this));};l.Ln=function(){if(this.match(2)){var b;if(2==this.a.type)for(b=[this.Ff()];this.match(5);)b.push(this.Ff());else b=cx(this);if(this.match(3))return b}else if(Yw(this))return[];throw Error(Zw(this));};
l.Kn=function(){if(this.match(2)){var b=dx(this);if(this.match(3))return b}else if(Yw(this))return[];throw Error(Zw(this));};l.Mn=function(){if(this.match(2)){for(var b=[this.Gf()];this.match(5);)b.push(this.Gf());if(this.match(3))return b}else if(Yw(this))return[];throw Error(Zw(this));};function bx(b){for(var c=[],d=0;2>d;++d){var e=b.a;if(b.match(4))c.push(e.value);else break}if(2==c.length)return c;throw Error(Zw(b));}function cx(b){for(var c=[bx(b)];b.match(5);)c.push(bx(b));return c}
function dx(b){for(var c=[b.Ef()];b.match(5);)c.push(b.Ef());return c}function Yw(b){var c=1==b.a.type&&"EMPTY"==b.a.value;c&&(b.a=Vw(b.f));return c}function Zw(b){return"Unexpected `"+b.a.value+"` at position "+b.a.position+" in `"+b.f.f+"`"}var ax={POINT:yf,LINESTRING:P,POLYGON:E,MULTIPOINT:ln,MULTILINESTRING:jn,MULTIPOLYGON:mn},$w={POINT:Tw.prototype.Ff,LINESTRING:Tw.prototype.Ef,POLYGON:Tw.prototype.Gf,MULTIPOINT:Tw.prototype.Ln,MULTILINESTRING:Tw.prototype.Kn,MULTIPOLYGON:Tw.prototype.Mn};function ex(){this.version=void 0}x(ex,Yv);ex.prototype.f=function(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return this.a(b);return null};ex.prototype.a=function(b){this.version=Ha(b.getAttribute("version"));b=V({version:this.version},fx,b,[]);return m(b)?b:null};function gx(b,c){return V({},hx,b,c)}function ix(b,c){return V({},jx,b,c)}function kx(b,c){var d=gx(b,c);if(m(d)){var e=[Fs(b.getAttribute("width")),Fs(b.getAttribute("height"))];d.size=e;return d}}
function lx(b,c){return V([],mx,b,c)}
var nx=[null,"http://www.opengis.net/wms"],fx=U(nx,{Service:R(function(b,c){return V({},ox,b,c)}),Capability:R(function(b,c){return V({},px,b,c)})}),px=U(nx,{Request:R(function(b,c){return V({},qx,b,c)}),Exception:R(function(b,c){return V([],rx,b,c)}),Layer:R(function(b,c){return V({},sx,b,c)})}),ox=U(nx,{Name:R(Y),Title:R(Y),Abstract:R(Y),KeywordList:R(lx),OnlineResource:R(Xv),ContactInformation:R(function(b,c){return V({},tx,b,c)}),Fees:R(Y),AccessConstraints:R(Y),LayerLimit:R(Es),MaxWidth:R(Es),
MaxHeight:R(Es)}),tx=U(nx,{ContactPersonPrimary:R(function(b,c){return V({},ux,b,c)}),ContactPosition:R(Y),ContactAddress:R(function(b,c){return V({},vx,b,c)}),ContactVoiceTelephone:R(Y),ContactFacsimileTelephone:R(Y),ContactElectronicMailAddress:R(Y)}),ux=U(nx,{ContactPerson:R(Y),ContactOrganization:R(Y)}),vx=U(nx,{AddressType:R(Y),Address:R(Y),City:R(Y),StateOrProvince:R(Y),PostCode:R(Y),Country:R(Y)}),rx=U(nx,{Format:sp(Y)}),sx=U(nx,{Name:R(Y),Title:R(Y),Abstract:R(Y),KeywordList:R(lx),CRS:up(Y),
EX_GeographicBoundingBox:R(function(b,c){var d=V({},wx,b,c);if(m(d)){var e=d.westBoundLongitude,f=d.southBoundLatitude,g=d.eastBoundLongitude,d=d.northBoundLatitude;return m(e)&&m(f)&&m(g)&&m(d)?[e,f,g,d]:void 0}}),BoundingBox:up(function(b){var c=[Ds(b.getAttribute("minx")),Ds(b.getAttribute("miny")),Ds(b.getAttribute("maxx")),Ds(b.getAttribute("maxy"))],d=[Ds(b.getAttribute("resx")),Ds(b.getAttribute("resy"))];return{crs:b.getAttribute("CRS"),extent:c,res:d}}),Dimension:up(function(b){return{name:b.getAttribute("name"),
units:b.getAttribute("units"),unitSymbol:b.getAttribute("unitSymbol"),"default":b.getAttribute("default"),multipleValues:As(b.getAttribute("multipleValues")),nearestValue:As(b.getAttribute("nearestValue")),current:As(b.getAttribute("current")),values:Y(b)}}),Attribution:R(function(b,c){return V({},xx,b,c)}),AuthorityURL:up(function(b,c){var d=gx(b,c);if(m(d))return d.name=b.getAttribute("name"),d}),Identifier:up(Y),MetadataURL:up(function(b,c){var d=gx(b,c);if(m(d))return d.type=b.getAttribute("type"),
d}),DataURL:up(gx),FeatureListURL:up(gx),Style:up(function(b,c){return V({},yx,b,c)}),MinScaleDenominator:R(Cs),MaxScaleDenominator:R(Cs),Layer:up(function(b,c){var d=c[c.length-1],e=V({},sx,b,c);if(m(e)){var f=As(b.getAttribute("queryable"));m(f)||(f=d.queryable);e.queryable=m(f)?f:!1;f=Fs(b.getAttribute("cascaded"));m(f)||(f=d.cascaded);e.cascaded=f;f=As(b.getAttribute("opaque"));m(f)||(f=d.opaque);e.opaque=m(f)?f:!1;f=As(b.getAttribute("noSubsets"));m(f)||(f=d.noSubsets);e.noSubsets=m(f)?f:!1;
f=Ds(b.getAttribute("fixedWidth"));m(f)||(f=d.fixedWidth);e.fixedWidth=f;f=Ds(b.getAttribute("fixedHeight"));m(f)||(f=d.fixedHeight);e.fixedHeight=f;nb(["Style","CRS","AuthorityURL"],function(b){var c=d[b];if(m(c)){var f=Wc(e,b),f=f.concat(c);e[b]=f}});nb("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(b){m(e[b])||(e[b]=d[b])});return e}})}),xx=U(nx,{Title:R(Y),OnlineResource:R(Xv),LogoURL:R(kx)}),wx=U(nx,{westBoundLongitude:R(Cs),
eastBoundLongitude:R(Cs),southBoundLatitude:R(Cs),northBoundLatitude:R(Cs)}),qx=U(nx,{GetCapabilities:R(ix),GetMap:R(ix),GetFeatureInfo:R(ix)}),jx=U(nx,{Format:up(Y),DCPType:up(function(b,c){return V({},zx,b,c)})}),zx=U(nx,{HTTP:R(function(b,c){return V({},Ax,b,c)})}),Ax=U(nx,{Get:R(gx),Post:R(gx)}),yx=U(nx,{Name:R(Y),Title:R(Y),Abstract:R(Y),LegendURL:up(kx),StyleSheetURL:R(gx),StyleURL:R(gx)}),hx=U(nx,{Format:R(Y),OnlineResource:R(Xv)}),mx=U(nx,{Keyword:sp(Y)});function Bx(){this.b="http://mapserver.gis.umn.edu/mapserver";this.a=new Ks;this.defaultDataProjection=null}x(Bx,vs);
function Cx(b,c,d){c.namespaceURI=b.b;var e=ap(c),f=[];if(0===c.childNodes.length)return f;"msGMLOutput"==e&&nb(c.childNodes,function(b){if(1===b.nodeType){var c=d[0],e=b.localName,n=RegExp,p;p="_layer".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");n=new n(p,"");e=e.replace(n,"")+"_feature";c.featureType=e;c.featureNS=this.b;n={};n[e]=sp(this.a.Jf,this.a);c=U([c.featureNS,null],n);b.namespaceURI=this.b;b=V([],c,b,d,this.a);m(b)&&xb(f,b)}},b);"FeatureCollection"==e&&(b=V([],
b.a.a,c,[{}],b.a),m(b)&&(f=b));return f}Bx.prototype.bc=function(b,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&$c(d,es(this,b,c));return Cx(this,b,[d])};function Dx(){this.b=new Zv}x(Dx,Yv);Dx.prototype.f=function(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return this.a(b);return null};Dx.prototype.a=function(b){this.version=Ha(b.getAttribute("version"));var c=this.b.a(b);if(!m(c))return null;c.version=this.version;c=V(c,Ex,b,[]);return m(c)?c:null};function Fx(b){var c=Y(b).split(" ");if(m(c)&&2==c.length)return b=+c[0],c=+c[1],isNaN(b)||isNaN(c)?void 0:[b,c]}
var Gx=[null,"http://www.opengis.net/wmts/1.0"],Hx=[null,"http://www.opengis.net/ows/1.1"],Ex=U(Gx,{Contents:R(function(b,c){return V({},Ix,b,c)})}),Ix=U(Gx,{Layer:up(function(b,c){return V({},Jx,b,c)}),TileMatrixSet:up(function(b,c){return V({},Kx,b,c)})}),Jx=U(Gx,{Style:up(function(b,c){var d=V({},Lx,b,c);if(m(d)){var e="true"===b.getAttribute("isDefault");d.isDefault=e;return d}}),Format:up(Y),TileMatrixSetLink:up(function(b,c){return V({},Mx,b,c)}),ResourceURL:up(function(b){var c=b.getAttribute("format"),
d=b.getAttribute("template");b=b.getAttribute("resourceType");var e={};m(c)&&(e.format=c);m(d)&&(e.template=d);m(b)&&(e.resourceType=b);return e})},U(Hx,{Title:R(Y),Abstract:R(Y),WGS84BoundingBox:R(function(b,c){var d=V([],Nx,b,c);return 2!=d.length?void 0:$b(d)}),Identifier:R(Y)})),Lx=U(Gx,{LegendURL:up(function(b){var c={};c.format=b.getAttribute("format");c.href=Xv(b);return c})},U(Hx,{Title:R(Y),Identifier:R(Y)})),Mx=U(Gx,{TileMatrixSet:R(Y)}),Nx=U(Hx,{LowerCorner:sp(Fx),UpperCorner:sp(Fx)}),
Kx=U(Gx,{WellKnownScaleSet:R(Y),TileMatrix:up(function(b,c){return V({},Ox,b,c)})},U(Hx,{SupportedCRS:R(Y),Identifier:R(Y)})),Ox=U(Gx,{TopLeftCorner:R(Fx),ScaleDenominator:R(Cs),TileWidth:R(Es),TileHeight:R(Es),MatrixWidth:R(Es),MatrixHeight:R(Es)},U(Hx,{Identifier:R(Y)}));var Px=new oe(6378137);function Qx(b){je.call(this);b=m(b)?b:{};this.a=null;this.c=Me;this.b=void 0;B(this,le("projection"),this.ql,!1,this);B(this,le("tracking"),this.rl,!1,this);m(b.projection)&&this.Pg(te(b.projection));m(b.trackingOptions)&&this.Th(b.trackingOptions);this.me(m(b.tracking)?b.tracking:!1)}x(Qx,je);l=Qx.prototype;l.Y=function(){this.me(!1);Qx.ba.Y.call(this)};l.ql=function(){var b=this.Ng();null!=b&&(this.c=xe(te("EPSG:4326"),b),null===this.a||this.set("position",this.c(this.a)))};
l.rl=function(){if(hj){var b=this.Og();b&&!m(this.b)?this.b=ba.navigator.geolocation.watchPosition(ra(this.Tn,this),ra(this.Un,this),this.zg()):!b&&m(this.b)&&(ba.navigator.geolocation.clearWatch(this.b),this.b=void 0)}};
l.Tn=function(b){b=b.coords;this.set("accuracy",b.accuracy);this.set("altitude",null===b.altitude?void 0:b.altitude);this.set("altitudeAccuracy",null===b.altitudeAccuracy?void 0:b.altitudeAccuracy);this.set("heading",null===b.heading?void 0:Lb(b.heading));null===this.a?this.a=[b.longitude,b.latitude]:(this.a[0]=b.longitude,this.a[1]=b.latitude);var c=this.c(this.a);this.set("position",c);this.set("speed",null===b.speed?void 0:b.speed);b=Nf(Px,this.a,b.accuracy);b.lc(this.c);this.set("accuracyGeometry",
b);this.o()};l.Un=function(b){b.type="error";this.me(!1);D(this,b)};l.pj=function(){return this.get("accuracy")};l.qj=function(){return this.get("accuracyGeometry")||null};l.sj=function(){return this.get("altitude")};l.tj=function(){return this.get("altitudeAccuracy")};l.ol=function(){return this.get("heading")};l.pl=function(){return this.get("position")};l.Ng=function(){return this.get("projection")};l.Yj=function(){return this.get("speed")};l.Og=function(){return this.get("tracking")};l.zg=function(){return this.get("trackingOptions")};
l.Pg=function(b){this.set("projection",b)};l.me=function(b){this.set("tracking",b)};l.Th=function(b){this.set("trackingOptions",b)};function Rx(b,c,d){for(var e=[],f=b(0),g=b(1),h=c(f),k=c(g),n=[g,f],p=[k,h],q=[1,0],r={},t=1E5,u,z,w,C,y;0<--t&&0<q.length;)w=q.pop(),f=n.pop(),h=p.pop(),g=w.toString(),g in r||(e.push(h[0],h[1]),r[g]=!0),C=q.pop(),g=n.pop(),k=p.pop(),y=(w+C)/2,u=b(y),z=c(u),hf(z[0],z[1],h[0],h[1],k[0],k[1])<d?(e.push(k[0],k[1]),g=C.toString(),r[g]=!0):(q.push(C,y,y,w),p.push(k,z,z,h),n.push(g,u,u,f));return e}function Sx(b,c,d,e,f){var g=te("EPSG:4326");return Rx(function(e){return[b,c+(d-c)*e]},Le(g,e),f)}
function Tx(b,c,d,e,f){var g=te("EPSG:4326");return Rx(function(e){return[c+(d-c)*e,b]},Le(g,e),f)};function Ux(b){b=m(b)?b:{};this.g=this.l=null;this.b=this.i=Infinity;this.c=this.j=-Infinity;this.D=this.A=Infinity;this.fa=this.C=-Infinity;this.T=m(b.targetSize)?b.targetSize:100;this.na=m(b.maxLines)?b.maxLines:100;this.a=[];this.f=[];this.M=m(b.strokeStyle)?b.strokeStyle:Vx;this.u=this.B=void 0;this.v=null;this.setMap(m(b.map)?b.map:null)}var Vx=new El({color:"rgba(0,0,0,0.2)"}),Wx=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
function Xx(b,c,d,e,f,g,h){var k=h;c=Sx(c,d,e,b.g,f);k=m(b.a[k])?b.a[k]:new P(null);hn(k,"XY",c);Ac(k.P(),g)&&(b.a[h++]=k);return h}function Yx(b,c,d,e,f){var g=f;c=Tx(c,b.c,b.b,b.g,d);g=m(b.f[g])?b.f[g]:new P(null);hn(g,"XY",c);Ac(g.P(),e)&&(b.f[f++]=g);return f}l=Ux.prototype;l.sl=function(){return this.l};l.Nj=function(){return this.a};l.Sj=function(){return this.f};
l.Dg=function(b){var c=b.vectorContext,d=b.frameState;b=d.extent;var e=d.viewState,f=e.center,g=e.projection,e=e.resolution,d=d.pixelRatio,d=e*e/(4*d*d);if(null===this.g||!Ke(this.g,g)){var h=te("EPSG:4326"),k=g.P(),n=g.j,p=Oe(n,h,g),q=n[2],r=n[1],t=n[0],u=p[3],z=p[2],w=p[1],p=p[0];this.i=n[3];this.b=q;this.j=r;this.c=t;this.A=u;this.D=z;this.C=w;this.fa=p;this.B=Le(h,g);this.u=Le(g,h);this.v=this.u(wc(k));this.g=g}g=this.v[0];h=this.v[1];k=-1;q=Math.pow(this.T*e,2);r=[];t=[];e=0;for(n=Wx.length;e<
n;++e){u=Wx[e]/2;r[0]=g-u;r[1]=h-u;t[0]=g+u;t[1]=h+u;this.B(r,r);this.B(t,t);u=Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2);if(u<=q)break;k=Wx[e]}e=k;if(-1==e)this.a.length=this.f.length=0;else{g=this.u(f);f=g[0];g=g[1];h=this.na;k=[Math.max(b[0],this.fa),Math.max(b[1],this.C),Math.min(b[2],this.D),Math.min(b[3],this.A)];k=Oe(k,this.g,"EPSG:4326");q=k[3];t=k[1];f=Math.floor(f/e)*e;r=Hb(f,this.c,this.b);n=Xx(this,r,t,q,d,b,0);for(k=0;r!=this.c&&k++<h;)r=Math.max(r-e,this.c),n=Xx(this,r,t,q,d,b,n);r=
Hb(f,this.c,this.b);for(k=0;r!=this.b&&k++<h;)r=Math.min(r+e,this.b),n=Xx(this,r,t,q,d,b,n);this.a.length=n;g=Math.floor(g/e)*e;f=Hb(g,this.j,this.i);n=Yx(this,f,d,b,0);for(k=0;f!=this.j&&k++<h;)f=Math.max(f-e,this.j),n=Yx(this,f,d,b,n);f=Hb(g,this.j,this.i);for(k=0;f!=this.i&&k++<h;)f=Math.min(f+e,this.i),n=Yx(this,f,d,b,n);this.f.length=n}c.Pa(null,this.M);b=0;for(d=this.a.length;b<d;++b)f=this.a[b],c.Qb(f,null);b=0;for(d=this.f.length;b<d;++b)f=this.f[b],c.Qb(f,null)};
l.setMap=function(b){null!==this.l&&(this.l.I("postcompose",this.Dg,this),this.l.render());null!==b&&(b.G("postcompose",this.Dg,this),b.render());this.l=b};function Zx(b,c,d,e,f,g,h){mk.call(this,b,c,d,0,e);this.j=f;this.a=new Image;null!==g&&(this.a.crossOrigin=g);this.b={};this.f=null;this.state=0;this.i=h}x(Zx,mk);Zx.prototype.W=function(b){if(m(b)){var c=ma(b);if(c in this.b)return this.b[c];b=Sc(this.b)?this.a:this.a.cloneNode(!1);return this.b[c]=b}return this.a};Zx.prototype.l=function(){this.state=3;nb(this.f,$d);this.f=null;nk(this)};
Zx.prototype.B=function(){m(this.resolution)||(this.resolution=yc(this.extent)/this.a.height);this.state=2;nb(this.f,$d);this.f=null;nk(this)};Zx.prototype.load=function(){0==this.state&&(this.state=1,nk(this),this.f=[Yd(this.a,"error",this.l,!1,this),Yd(this.a,"load",this.B,!1,this)],this.i(this,this.j))};function $x(b,c,d,e,f){Eh.call(this,b,c);this.j=d;this.f=new Image;null!==e&&(this.f.crossOrigin=e);this.b={};this.i=null;this.l=f}x($x,Eh);l=$x.prototype;l.Y=function(){1==this.state&&ay(this);$x.ba.Y.call(this)};l.W=function(b){if(m(b)){var c=ma(b);if(c in this.b)return this.b[c];b=Sc(this.b)?this.f:this.f.cloneNode(!1);return this.b[c]=b}return this.f};l.lb=function(){return this.j};l.tl=function(){this.state=3;ay(this);Fh(this)};
l.ul=function(){this.state=this.f.naturalWidth&&this.f.naturalHeight?2:4;ay(this);Fh(this)};l.load=function(){0==this.state&&(this.state=1,Fh(this),this.i=[Yd(this.f,"error",this.tl,!1,this),Yd(this.f,"load",this.ul,!1,this)],this.l(this,this.j))};function ay(b){nb(b.i,$d);b.i=null};function by(b,c,d){return function(e,f,g){return d(b,c,e,f,g)}}function cy(){};function dy(b,c){de.call(this);this.a=new Nr(this);var d=b;c&&(d=Kg(b));this.a.ab(d,"dragenter",this.Cn);d!=b&&this.a.ab(d,"dragover",this.Dn);this.a.ab(b,"dragover",this.En);this.a.ab(b,"drop",this.Fn)}x(dy,de);l=dy.prototype;l.kd=!1;l.Y=function(){dy.ba.Y.call(this);this.a.jd()};l.Cn=function(b){var c=b.a.dataTransfer;(this.kd=!(!c||!(c.types&&(tb(c.types,"Files")||tb(c.types,"public.file-url"))||c.files&&0<c.files.length)))&&b.preventDefault()};
l.Dn=function(b){this.kd&&(b.preventDefault(),b.a.dataTransfer.dropEffect="none")};l.En=function(b){if(this.kd){b.preventDefault();b.b();b=b.a.dataTransfer;try{b.effectAllowed="all"}catch(c){}b.dropEffect="copy"}};l.Fn=function(b){this.kd&&(b.preventDefault(),b.b(),b=new Cd(b.a),b.type="drop",D(this,b))};/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
function ey(b,c){this.g=[];this.A=b;this.u=c||null;this.c=this.a=!1;this.b=void 0;this.B=this.D=this.j=!1;this.i=0;this.f=null;this.l=0}ey.prototype.cancel=function(b){if(this.a)this.b instanceof ey&&this.b.cancel();else{if(this.f){var c=this.f;delete this.f;b?c.cancel(b):(c.l--,0>=c.l&&c.cancel())}this.A?this.A.call(this.u,this):this.B=!0;this.a||(b=new fy,gy(this),hy(this,!1,b))}};ey.prototype.v=function(b,c){this.j=!1;hy(this,b,c)};function hy(b,c,d){b.a=!0;b.b=d;b.c=!c;iy(b)}
function gy(b){if(b.a){if(!b.B)throw new jy;b.B=!1}}ey.prototype.$c=function(b){gy(this);hy(this,!0,b)};function ky(b,c,d,e){b.g.push([c,d,e]);b.a&&iy(b)}ey.prototype.then=function(b,c,d){var e,f,g=new Pn(function(b,c){e=b;f=c});ky(this,e,function(b){b instanceof fy?g.cancel():f(b)});return g.then(b,c,d)};Cn(ey);function ly(b){return qb(b.g,function(b){return ka(b[1])})}
function iy(b){if(b.i&&b.a&&ly(b)){var c=b.i,d=my[c];d&&(ba.clearTimeout(d.ja),delete my[c]);b.i=0}b.f&&(b.f.l--,delete b.f);for(var c=b.b,e=d=!1;b.g.length&&!b.j;){var f=b.g.shift(),g=f[0],h=f[1],f=f[2];if(g=b.c?h:g)try{var k=g.call(f||b.u,c);m(k)&&(b.c=b.c&&(k==c||k instanceof Error),b.b=c=k);if(Dn(c)||"function"===typeof ba.Promise&&c instanceof ba.Promise)e=!0,b.j=!0}catch(n){c=n,b.c=!0,ly(b)||(d=!0)}}b.b=c;e&&(k=ra(b.v,b,!0),e=ra(b.v,b,!1),c instanceof ey?(ky(c,k,e),c.D=!0):c.then(k,e));d&&(c=
new ny(c),my[c.ja]=c,b.i=c.ja)}function jy(){Da.call(this)}x(jy,Da);jy.prototype.message="Deferred has already fired";jy.prototype.name="AlreadyCalledError";function fy(){Da.call(this)}x(fy,Da);fy.prototype.message="Deferred was canceled";fy.prototype.name="CanceledError";function ny(b){this.ja=ba.setTimeout(ra(this.f,this),0);this.a=b}ny.prototype.f=function(){delete my[this.ja];throw this.a;};var my={};function oy(b,c){m(b.name)?(this.name=b.name,this.code=py[b.name]):(this.code=b.code,this.name=qy(b.code));Da.call(this,Ga("%s %s",this.name,c))}x(oy,Da);function qy(b){var c=Rc(py,function(c){return b==c});if(!m(c))throw Error("Invalid code: "+b);return c}var py={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};function ry(b,c){xd.call(this,b.type,c)}x(ry,xd);function sy(){de.call(this);this.mb=new FileReader;this.mb.onloadstart=ra(this.a,this);this.mb.onprogress=ra(this.a,this);this.mb.onload=ra(this.a,this);this.mb.onabort=ra(this.a,this);this.mb.onerror=ra(this.a,this);this.mb.onloadend=ra(this.a,this)}x(sy,de);sy.prototype.getError=function(){return this.mb.error&&new oy(this.mb.error,"reading file")};sy.prototype.a=function(b){D(this,new ry(b,this))};sy.prototype.Y=function(){sy.ba.Y.call(this);delete this.mb};
function ty(b){var c=new ey;b.ab("loadend",sa(function(b,c){var f=c.mb.result,g=c.getError();null==f||g?(gy(b),hy(b,!1,g)):b.$c(f);c.jd()},c,b));return c};function uy(b){b=m(b)?b:{};Uk.call(this,{handleEvent:xa});this.i=m(b.formatConstructors)?b.formatConstructors:[];this.u=m(b.projection)?te(b.projection):null;this.c=null;this.a=void 0}x(uy,Uk);uy.prototype.Y=function(){m(this.a)&&$d(this.a);uy.ba.Y.call(this)};uy.prototype.j=function(b){b=b.a.dataTransfer.files;var c,d,e;c=0;for(d=b.length;c<d;++c){e=b[c];var f;f=e;var g=new sy,h=ty(g);g.mb.readAsText(f,"");f=h;e=sa(this.l,e);ky(f,e,null,this)}};
uy.prototype.l=function(b,c){var d=this.v,e=this.u;null===e&&(e=d.$().g);var d=this.i,f=[],g,h;g=0;for(h=d.length;g<h;++g){var k=new d[g],n;try{n=k.xa(c)}catch(p){n=null}if(null!==n){var k=k.Ga(c),k=Le(k,e),q,r;q=0;for(r=n.length;q<r;++q){var t=n[q],u=t.V();null!=u&&u.lc(k);f.push(t)}}}D(this,new vy(wy,this,b,f,e))};
uy.prototype.setMap=function(b){m(this.a)&&($d(this.a),this.a=void 0);null!==this.c&&(wd(this.c),this.c=null);uy.ba.setMap.call(this,b);null!==b&&(this.c=new dy(b.a),this.a=B(this.c,"drop",this.j,!1,this))};var wy="addfeatures";function vy(b,c,d,e,f){xd.call(this,b,c);this.features=e;this.file=d;this.projection=f}x(vy,xd);function xy(b,c){this.x=b;this.y=c}x(xy,Gg);xy.prototype.clone=function(){return new xy(this.x,this.y)};xy.prototype.scale=Gg.prototype.scale;xy.prototype.add=function(b){this.x+=b.x;this.y+=b.y;return this};xy.prototype.rotate=function(b){var c=Math.cos(b);b=Math.sin(b);var d=this.y*c+this.x*b;this.x=this.x*c-this.y*b;this.y=d;return this};function yy(b){b=m(b)?b:{};gl.call(this,{handleDownEvent:zy,handleDragEvent:Ay,handleUpEvent:By});this.l=m(b.condition)?b.condition:dl;this.a=this.c=void 0;this.j=0;this.u=m(b.duration)?b.duration:400}x(yy,gl);
function Ay(b){if(fl(b)){var c=b.map,d=c.Na();b=b.pixel;b=new xy(b[0]-d[0]/2,d[1]/2-b[1]);d=Math.atan2(b.y,b.x);b=Math.sqrt(b.x*b.x+b.y*b.y);var e=c.$();c.render();if(m(this.c)){var f=d-this.c;Vk(c,e,e.Ba()-f)}this.c=d;m(this.a)&&(d=this.a*(e.ya()/b),Xk(c,e,d));m(this.a)&&(this.j=this.a/b);this.a=b}}
function By(b){if(!fl(b))return!0;b=b.map;var c=b.$();Wf(c,-1);var d=this.j-1,e=c.Ba(),e=c.constrainRotation(e,0);Vk(b,c,e,void 0,void 0);var e=c.ya(),f=this.u,e=c.constrainResolution(e,0,d);Xk(b,c,e,void 0,f);this.j=0;return!1}function zy(b){return fl(b)&&this.l(b)?(Wf(b.map.$(),1),this.a=this.c=void 0,!0):!1};function Cy(b,c){xd.call(this,b);this.feature=c}x(Cy,xd);
function Dy(b){gl.call(this,{handleDownEvent:Ey,handleEvent:Fy,handleUpEvent:Gy});this.ca=null;this.T=!1;this.tb=m(b.source)?b.source:null;this.eb=m(b.features)?b.features:null;this.mi=m(b.snapTolerance)?b.snapTolerance:12;this.S=b.type;this.c=Hy(this.S);this.Ya=m(b.minPoints)?b.minPoints:this.c===Iy?3:2;this.Ja=m(b.maxPoints)?b.maxPoints:Infinity;var c=b.geometryFunction;if(!m(c))if("Circle"===this.S)c=function(b,c){var d=m(c)?c:new Zm([NaN,NaN]);d.Uf(b[0],Math.sqrt(Ub(b[0],b[1])));return d};else{var d,
c=this.c;c===Jy?d=yf:c===Ky?d=P:c===Iy&&(d=E);c=function(b,c){var g=c;m(g)?g.ma(b):g=new d(b);return g}}this.D=c;this.M=this.u=this.a=this.C=this.j=this.l=null;this.Wi=m(b.clickTolerance)?b.clickTolerance*b.clickTolerance:36;this.ga=new N({source:new W({useSpatialIndex:!1,wrapX:m(b.wrapX)?b.wrapX:!1}),style:m(b.style)?b.style:Ly()});this.sb=b.geometryName;this.Hi=m(b.condition)?b.condition:cl;this.wa=m(b.freehandCondition)?b.freehandCondition:dl;B(this,le("active"),this.Zh,!1,this)}x(Dy,gl);
function Ly(){var b=Pl();return function(c){return b[c.V().U()]}}l=Dy.prototype;l.setMap=function(b){Dy.ba.setMap.call(this,b);this.Zh()};function Fy(b){var c=!this.T;this.T&&b.type===gk?(My(this,b),c=!1):b.type===fk?c=Ny(this,b):b.type===Zj&&(c=!1);return hl.call(this,b)&&c}function Ey(b){if(this.Hi(b))return this.ca=b.pixel,!0;if(this.c!==Ky&&this.c!==Iy||!this.wa(b))return!1;this.ca=b.pixel;this.T=!0;null===this.l&&Oy(this,b);return!0}
function Gy(b){this.T=!1;var c=this.ca,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.Wi&&(Ny(this,b),null===this.l?(Oy(this,b),this.c===Jy&&this.ld()):this.c===Py?this.ld():Qy(this,b)?this.ld():My(this,b),d=!1);return d}
function Ny(b,c){if(null===b.l){var d=c.coordinate.slice();null===b.C?(b.C=new Bn(new yf(d)),Ry(b)):b.C.V().ma(d)}else{var d=c.coordinate,e=b.j.V(),f;b.c===Jy?f=b.a:b.c===Iy?(f=b.a[0],f=f[f.length-1],Qy(b,c)&&(d=b.l.slice())):(f=b.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];b.D(b.a,e);null===b.C||b.C.V().ma(d);e instanceof E&&b.c!==Iy?(null===b.u&&(b.u=new Bn(new P(null))),e=e.ug(0),d=b.u.V(),hn(d,e.b,e.ha())):null!==b.M&&(d=b.u.V(),d.ma(b.M));Ry(b)}return!0}
function Qy(b,c){var d=!1;if(null!==b.j){var e=!1,f=[b.l];b.c===Ky?e=b.a.length>b.Ya:b.c===Iy&&(e=b.a[0].length>b.Ya,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],n=e.La(k),p=c.pixel,d=p[0]-n[0],n=p[1]-n[1],p=b.T&&b.wa(c)?1:b.mi;if(d=Math.sqrt(d*d+n*n)<=p){b.l=k;break}}}return d}
function Oy(b,c){var d=c.coordinate;b.l=d;b.c===Jy?b.a=d.slice():b.c===Iy?(b.a=[[d.slice(),d.slice()]],b.M=b.a[0]):(b.a=[d.slice(),d.slice()],b.c===Py&&(b.M=b.a));null!==b.M&&(b.u=new Bn(new P(b.M)));d=b.D(b.a);b.j=new Bn;m(b.sb)&&b.j.xc(b.sb);b.j.za(d);Ry(b);D(b,new Cy("drawstart",b.j))}
function My(b,c){var d=c.coordinate,e=b.j.V(),f,g;if(b.c===Ky)b.l=d.slice(),g=b.a,g.push(d.slice()),f=g.length>b.Ja,b.D(g,e);else if(b.c===Iy){g=b.a[0];g.push(d.slice());if(f=g.length>b.Ja)b.l=g[0];b.D(b.a,e)}Ry(b);f&&b.ld()}l.to=function(){var b=this.j.V(),c,d;this.c===Ky?(c=this.a,c.splice(-2,1),this.D(c,b)):this.c===Iy&&(c=this.a[0],c.splice(-2,1),d=this.u.V(),d.ma(c),this.D(this.a,b));0===c.length&&(this.l=null);Ry(this)};
l.ld=function(){var b=Sy(this),c=this.a,d=b.V();this.c===Ky?(c.pop(),this.D(c,d)):this.c===Iy&&(c[0].pop(),c[0].push(c[0][0]),this.D(c,d));"MultiPoint"===this.S?b.za(new ln([c])):"MultiLineString"===this.S?b.za(new jn([c])):"MultiPolygon"===this.S&&b.za(new mn([c]));D(this,new Cy("drawend",b));null===this.eb||this.eb.push(b);null===this.tb||this.tb.Oc(b)};function Sy(b){b.l=null;var c=b.j;null!==c&&(b.j=null,b.C=null,b.u=null,b.ga.da().clear(!0));return c}
l.Tl=function(b){var c=b.V();this.j=b;this.a=c.X();b=this.a[this.a.length-1];this.l=b.slice();this.a.push(b.slice());Ry(this);D(this,new Cy("drawstart",this.j))};l.zc=wa;function Ry(b){var c=[];null===b.j||c.push(b.j);null===b.u||c.push(b.u);null===b.C||c.push(b.C);b=b.ga.da();b.clear(!0);b.kc(c)}l.Zh=function(){var b=this.v,c=this.b();null!==b&&c||Sy(this);this.ga.setMap(c?b:null)};
function Hy(b){var c;"Point"===b||"MultiPoint"===b?c=Jy:"LineString"===b||"MultiLineString"===b?c=Ky:"Polygon"===b||"MultiPolygon"===b?c=Iy:"Circle"===b&&(c=Py);return c}var Jy="Point",Ky="LineString",Iy="Polygon",Py="Circle";function Ty(b,c,d){xd.call(this,b);this.features=c;this.mapBrowserPointerEvent=d}x(Ty,xd);
function Uy(b){gl.call(this,{handleDownEvent:Vy,handleDragEvent:Wy,handleEvent:Xy,handleUpEvent:Yy});this.wa=m(b.deleteCondition)?b.deleteCondition:Ca(cl,bl);this.ga=this.c=null;this.S=[0,0];this.M=!1;this.a=new Kp;this.D=m(b.pixelTolerance)?b.pixelTolerance:10;this.l=this.ca=!1;this.j=null;this.C=new N({source:new W({useSpatialIndex:!1,wrapX:m(b.wrapX)?b.wrapX:!1}),style:m(b.style)?b.style:Zy(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.T={Point:this.$l,LineString:this.Vg,LinearRing:this.Vg,
Polygon:this.am,MultiPoint:this.Yl,MultiLineString:this.Xl,MultiPolygon:this.Zl,GeometryCollection:this.Wl};this.u=b.features;this.u.forEach(this.Af,this);B(this.u,"add",this.Ul,!1,this);B(this.u,"remove",this.Vl,!1,this)}x(Uy,gl);l=Uy.prototype;l.Af=function(b){var c=b.V();m(this.T[c.U()])&&this.T[c.U()].call(this,b,c);c=this.v;null===c||$y(this,this.S,c);B(b,"change",this.Ug,!1,this)};function az(b,c){bz(b,c);null!==b.c&&0===b.u.Ub()&&(b.C.da().uc(b.c),b.c=null);Zd(c,"change",b.Ug,!1,b)}
function bz(b,c){var d=b.a,e=[];d.forEach(function(b){c===b.feature&&e.push(b)});for(var f=e.length-1;0<=f;--f)d.remove(e[f])}l.setMap=function(b){this.C.setMap(b);Uy.ba.setMap.call(this,b)};l.Ul=function(b){this.Af(b.element)};l.Ug=function(b){this.l||(b=b.target,az(this,b),this.Af(b))};l.Vl=function(b){az(this,b.element)};l.$l=function(b,c){var d=c.X(),d={feature:b,geometry:c,ka:[d,d]};this.a.ua(c.P(),d)};
l.Yl=function(b,c){var d=c.X(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:b,geometry:c,depth:[f],index:f,ka:[e,e]},this.a.ua(c.P(),e)};l.Vg=function(b,c){var d=c.X(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:b,geometry:c,index:e,ka:g},this.a.ua($b(g),h)};l.Xl=function(b,c){var d=c.X(),e,f,g,h,k,n,p;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)n=e.slice(f,f+2),p={feature:b,geometry:c,depth:[h],index:f,ka:n},this.a.ua($b(n),p)};
l.am=function(b,c){var d=c.X(),e,f,g,h,k,n,p;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)n=e.slice(f,f+2),p={feature:b,geometry:c,depth:[h],index:f,ka:n},this.a.ua($b(n),p)};l.Zl=function(b,c){var d=c.X(),e,f,g,h,k,n,p,q,r,t;n=0;for(p=d.length;n<p;++n)for(q=d[n],h=0,k=q.length;h<k;++h)for(e=q[h],f=0,g=e.length-1;f<g;++f)r=e.slice(f,f+2),t={feature:b,geometry:c,depth:[h,n],index:f,ka:r},this.a.ua($b(r),t)};
l.Wl=function(b,c){var d,e=c.c;for(d=0;d<e.length;++d)this.T[e[d].U()].call(this,b,e[d])};function cz(b,c){var d=b.c;null===d?(d=new Bn(new yf(c)),b.c=d,b.C.da().Oc(d)):d.V().ma(c)}function dz(b,c){return b.index-c.index}
function Vy(b){$y(this,b.pixel,b.map);this.j=[];var c=this.c;if(null!==c){var d=[],c=c.V().X(),e=$b([c]),e=Np(this.a,e),f={};e.sort(dz);for(var g=0,h=e.length;g<h;++g){var k=e[g],n=k.ka,p=ma(k.feature),q=k.depth;q&&(p+="-"+q.join("-"));f[p]||(f[p]=Array(2));if(Sb(n[0],c)&&!f[p][0])this.j.push([k,0]),f[p][0]=k;else if(Sb(n[1],c)&&!f[p][1]){if("LineString"!==k.geometry.U()&&"MultiLineString"!==k.geometry.U()||!f[p][0]||0!==f[p][0].index)this.j.push([k,1]),f[p][1]=k}else ma(n)in this.ga&&!f[p][0]&&!f[p][1]&&
d.push([k,c])}for(g=d.length-1;0<=g;--g)this.Rk.apply(this,d[g]);D(this,new Ty("modifystart",this.u,b))}return null!==this.c}
function Wy(b){this.M=!1;b=b.coordinate;for(var c=0,d=this.j.length;c<d;++c){for(var e=this.j[c],f=e[0],g=f.depth,h=f.geometry,k=h.X(),n=f.ka,e=e[1];b.length<h.ta();)b.push(0);switch(h.U()){case "Point":k=b;n[0]=n[1]=b;break;case "MultiPoint":k[f.index]=b;n[0]=n[1]=b;break;case "LineString":k[f.index+e]=b;n[e]=b;break;case "MultiLineString":k[g[0]][f.index+e]=b;n[e]=b;break;case "Polygon":k[g[0]][f.index+e]=b;n[e]=b;break;case "MultiPolygon":k[g[1]][g[0]][f.index+e]=b,n[e]=b}f=h;this.l=!0;f.ma(k);
this.l=!1}cz(this,b)}function Yy(b){for(var c,d=this.j.length-1;0<=d;--d)c=this.j[d][0],Lp(this.a,$b(c.ka),c);D(this,new Ty("modifyend",this.u,b));return!1}
function Xy(b){var c;b.map.$().b.slice()[1]||b.type!=fk||this.A||(this.S=b.pixel,$y(this,b.pixel,b.map));if(null!==this.c&&this.wa(b))if(b.type==ak&&this.M)c=!0;else{this.c.V();c=this.j;var d={},e,f,g,h,k,n,p,q,r;for(k=c.length-1;0<=k;--k)if(g=c[k],q=g[0],h=q.geometry,f=h.X(),r=ma(q.feature),q.depth&&(r+="-"+q.depth.join("-")),p=e=n=void 0,0===g[1]?(e=q,n=q.index):1==g[1]&&(p=q,n=q.index+1),r in d||(d[r]=[p,e,n]),g=d[r],m(p)&&(g[0]=p),m(e)&&(g[1]=e),m(g[0])&&m(g[1])){e=f;r=!1;p=n-1;switch(h.U()){case "MultiLineString":f[q.depth[0]].splice(n,
1);r=!0;break;case "LineString":f.splice(n,1);r=!0;break;case "MultiPolygon":e=e[q.depth[1]];case "Polygon":e=e[q.depth[0]],4<e.length&&(n==e.length-1&&(n=0),e.splice(n,1),r=!0,0===n&&(e.pop(),e.push(e[0]),p=e.length-1))}r&&(this.a.remove(g[0]),this.a.remove(g[1]),e=h,this.l=!0,e.ma(f),this.l=!1,f={depth:q.depth,feature:q.feature,geometry:q.geometry,index:p,ka:[g[0].ka[0],g[1].ka[1]]},this.a.ua($b(f.ka),f),ez(this,h,n,q.depth,-1),null!==this.c&&(this.C.da().uc(this.c),this.c=null))}c=!0}b.type==ak&&
(this.M=!1);return hl.call(this,b)&&!c}
function $y(b,c,d){function e(b,c){return Vb(f,b.ka)-Vb(f,c.ka)}var f=d.Da(c),g=d.Da([c[0]-b.D,c[1]+b.D]),h=d.Da([c[0]+b.D,c[1]-b.D]),g=$b([g,h]),g=Np(b.a,g);if(0<g.length){g.sort(e);var h=g[0].ka,k=Pb(f,h),n=d.La(k);if(Math.sqrt(Ub(c,n))<=b.D){c=d.La(h[0]);d=d.La(h[1]);c=Ub(n,c);d=Ub(n,d);b.ca=Math.sqrt(Math.min(c,d))<=b.D;b.ca&&(k=c>d?h[1]:h[0]);cz(b,k);d={};d[ma(h)]=!0;c=1;for(n=g.length;c<n;++c)if(k=g[c].ka,Sb(h[0],k[0])&&Sb(h[1],k[1])||Sb(h[0],k[1])&&Sb(h[1],k[0]))d[ma(k)]=!0;else break;b.ga=
d;return}}null!==b.c&&(b.C.da().uc(b.c),b.c=null)}
l.Rk=function(b,c){for(var d=b.ka,e=b.feature,f=b.geometry,g=b.depth,h=b.index,k;c.length<f.ta();)c.push(0);switch(f.U()){case "MultiLineString":k=f.X();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.X();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.X();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.X();k.splice(h+1,0,c);break;default:return}this.l=!0;f.ma(k);this.l=!1;k=this.a;k.remove(b);ez(this,f,h,g,1);var n={ka:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.ua($b(n.ka),
n);this.j.push([n,1]);d={ka:[c,d[1]],feature:e,geometry:f,depth:g,index:h+1};k.ua($b(d.ka),d);this.j.push([d,0]);this.M=!0};function ez(b,c,d,e,f){Pp(b.a,c.P(),function(b){b.geometry===c&&(!m(e)||Eb(b.depth,e))&&b.index>d&&(b.index+=f)})}function Zy(){var b=Pl();return function(){return b.Point}};function fz(b,c,d,e){xd.call(this,b);this.selected=c;this.deselected=d;this.mapBrowserEvent=e}x(fz,xd);
function gz(b){Uk.call(this,{handleEvent:hz});b=m(b)?b:{};this.u=m(b.condition)?b.condition:bl;this.j=m(b.addCondition)?b.addCondition:wa;this.M=m(b.removeCondition)?b.removeCondition:wa;this.T=m(b.toggleCondition)?b.toggleCondition:dl;this.l=m(b.multi)?b.multi:!1;this.c=m(b.filter)?b.filter:xa;var c;if(m(b.layers))if(ka(b.layers))c=b.layers;else{var d=b.layers;c=function(b){return tb(d,b)}}else c=xa;this.i=c;this.a=new N({source:new W({useSpatialIndex:!1,wrapX:b.wrapX}),style:m(b.style)?b.style:
iz(),updateWhileAnimating:!0,updateWhileInteracting:!0});b=this.a.da().b;B(b,"add",this.A,!1,this);B(b,"remove",this.C,!1,this)}x(gz,Uk);gz.prototype.D=function(){return this.a.da().b};
function hz(b){if(!this.u(b))return!0;var c=this.j(b),d=this.M(b),e=this.T(b),f=!c&&!d&&!e,g=b.map,h=this.a.da().b,k=[],n=[],p=!1;if(f)g.md(b.pixel,function(b,c){if(this.c(b,c))return n.push(b),!this.l},this,this.i),0<n.length&&1==h.Ub()&&h.item(0)==n[0]||(p=!0,0!==h.Ub()&&(k=Array.prototype.concat(h.a),h.clear()),h.uf(n));else{g.md(b.pixel,function(b,f){-1==mb(h.a,b)?(c||e)&&this.c(b,f)&&n.push(b):(d||e)&&k.push(b)},this,this.i);for(f=k.length-1;0<=f;--f)h.remove(k[f]);h.uf(n);if(0<n.length||0<k.length)p=
!0}p&&D(this,new fz("select",n,k,b));return al(b)}gz.prototype.setMap=function(b){var c=this.v,d=this.a.da().b;null===c||d.forEach(c.Xh,c);gz.ba.setMap.call(this,b);this.a.setMap(b);null===b||d.forEach(b.Uh,b)};function iz(){var b=Pl();xb(b.Polygon,b.LineString);xb(b.GeometryCollection,b.LineString);return function(c){return b[c.V().U()]}}gz.prototype.A=function(b){b=b.element;var c=this.v;null===c||c.Uh(b)};gz.prototype.C=function(b){b=b.element;var c=this.v;null===c||c.Xh(b)};function jz(b){gl.call(this,{handleEvent:kz,handleDownEvent:xa,handleUpEvent:lz});b=m(b)?b:{};this.l=m(b.source)?b.source:null;this.j=m(b.features)?b.features:null;this.ca=[];this.D={};this.C={};this.T={};this.u={};this.M=null;this.c=m(b.pixelTolerance)?b.pixelTolerance:10;this.ga=ra(mz,this);this.a=new Kp;this.S={Point:this.gm,LineString:this.Yg,LinearRing:this.Yg,Polygon:this.hm,MultiPoint:this.em,MultiLineString:this.dm,MultiPolygon:this.fm,GeometryCollection:this.cm}}x(jz,gl);l=jz.prototype;
l.sd=function(b,c){var d=m(c)?c:!0,e=b.V(),f=this.S[e.U()];if(m(f)){var g=ma(b);this.T[g]=e.P(ac());f.call(this,b,e);d&&(this.C[g]=e.G("change",ra(this.nk,this,b),this),this.D[g]=b.G(le(b.a),this.bm,this))}};l.mj=function(b){this.sd(b)};l.nj=function(b){this.td(b)};l.Wg=function(b){var c;b instanceof Up?c=b.feature:b instanceof tg&&(c=b.element);this.sd(c)};l.Xg=function(b){var c;b instanceof Up?c=b.feature:b instanceof tg&&(c=b.element);this.td(c)};
l.bm=function(b){b=b.g;this.td(b,!0);this.sd(b,!0)};l.nk=function(b){if(this.A){var c=ma(b);c in this.u||(this.u[c]=b)}else this.Yh(b)};l.td=function(b,c){var d=m(c)?c:!0,e=ma(b),f=this.T[e];if(f){var g=this.a,h=[];Pp(g,f,function(c){b===c.feature&&h.push(c)});for(f=h.length-1;0<=f;--f)g.remove(h[f]);d&&($d(this.C[e]),delete this.C[e],$d(this.D[e]),delete this.D[e])}};
l.setMap=function(b){var c=this.v,d=this.ca,e;null===this.j?null===this.l||(e=this.l.Pc()):e=this.j;c&&(nb(d,he),d.length=0,e.forEach(this.nj,this));jz.ba.setMap.call(this,b);b&&(null!==this.j?(d.push(this.j.G("add",this.Wg,this)),d.push(this.j.G("remove",this.Xg,this))):null!==this.l&&(d.push(this.l.G("addfeature",this.Wg,this)),d.push(this.l.G("removefeature",this.Xg,this))),e.forEach(this.mj,this))};l.zc=wa;l.Yh=function(b){this.td(b,!1);this.sd(b,!1)};
l.cm=function(b,c){var d,e=c.c;for(d=0;d<e.length;++d)this.S[e[d].U()].call(this,b,e[d])};l.Yg=function(b,c){var d=c.X(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:b,ka:g},this.a.ua($b(g),h)};l.dm=function(b,c){var d=c.X(),e,f,g,h,k,n,p;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)n=e.slice(f,f+2),p={feature:b,ka:n},this.a.ua($b(n),p)};l.em=function(b,c){var d=c.X(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:b,ka:[e,e]},this.a.ua(c.P(),e)};
l.fm=function(b,c){var d=c.X(),e,f,g,h,k,n,p,q,r,t;n=0;for(p=d.length;n<p;++n)for(q=d[n],h=0,k=q.length;h<k;++h)for(e=q[h],f=0,g=e.length-1;f<g;++f)r=e.slice(f,f+2),t={feature:b,ka:r},this.a.ua($b(r),t)};l.gm=function(b,c){var d=c.X(),d={feature:b,ka:[d,d]};this.a.ua(c.P(),d)};l.hm=function(b,c){var d=c.X(),e,f,g,h,k,n,p;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)n=e.slice(f,f+2),p={feature:b,ka:n},this.a.ua($b(n),p)};
function kz(b){var c,d,e=b.pixel,f=b.coordinate;c=b.map;var g=c.Da([e[0]-this.c,e[1]+this.c]);d=c.Da([e[0]+this.c,e[1]-this.c]);var g=$b([g,d]),h=Np(this.a,g),k=!1,g=!1,n=null;d=null;0<h.length&&(this.M=f,h.sort(this.ga),h=h[0].ka,n=Pb(f,h),d=c.La(n),Math.sqrt(Ub(e,d))<=this.c&&(g=!0,e=c.La(h[0]),f=c.La(h[1]),e=Ub(d,e),f=Ub(d,f),k=Math.sqrt(Math.min(e,f))<=this.c))&&(n=e>f?h[1]:h[0],d=c.La(n),d=[Math.round(d[0]),Math.round(d[1])]);c=n;g&&(b.coordinate=c.slice(0,2),b.pixel=d);return hl.call(this,b)}
function lz(){var b=Nc(this.u);b.length&&(nb(b,this.Yh,this),this.u={});return!1}function mz(b,c){return Vb(this.M,b.ka)-Vb(this.M,c.ka)};function nz(b){gl.call(this,{handleDownEvent:oz,handleDragEvent:pz,handleMoveEvent:qz,handleUpEvent:rz});this.l=void 0;this.a=null;this.c=m(b.features)?b.features:null;this.j=null}x(nz,gl);function oz(b){this.j=sz(this,b.pixel,b.map);return null===this.a&&null!==this.j?(this.a=b.coordinate,qz.call(this,b),!0):!1}function rz(b){return null!==this.a?(this.a=null,qz.call(this,b),!0):!1}
function pz(b){if(null!==this.a){b=b.coordinate;var c=b[0]-this.a[0],d=b[1]-this.a[1];if(null!==this.c)this.c.forEach(function(b){var e=b.V();e.translate(c,d);b.za(e)});else if(null===this.j){var e=this.j.V();e.translate(c,d);this.j.za(e)}this.a=b}}
function qz(b){var c=b.map.Lc();if(b=b.map.md(b.pixel,function(b){return b})){var d=!1;null!==this.c&&tb(this.c.a,b)&&(d=!0);this.l=c.style.cursor;c.style.cursor=null===this.a?d?"-webkit-grab":"pointer":"-webkit-grabbing";c.style.cursor=null===this.a?"grabbing":d?"grab":"pointer"}else c.style.cursor=m(this.l)?this.l:"",this.l=void 0}function sz(b,c,d){var e=null;c=d.md(c,function(b){return b});null!==b.c&&tb(b.c.a,c)&&(e=c);return e};function Z(b){b=m(b)?b:{};var c=Xc(b);delete c.gradient;delete c.radius;delete c.blur;delete c.shadow;delete c.weight;N.call(this,c);this.g=null;this.Z=m(b.shadow)?b.shadow:250;this.S=void 0;this.T=null;B(this,le("gradient"),this.pk,!1,this);this.Oh(m(b.gradient)?b.gradient:tz);this.Kh(m(b.blur)?b.blur:15);this.ah(m(b.radius)?b.radius:8);B(this,[le("blur"),le("radius")],this.Eg,!1,this);this.Eg();var d=m(b.weight)?b.weight:"weight",e;ia(d)?e=function(b){return b.get(d)}:e=d;this.c(ra(function(b){b=
e(b);b=m(b)?Hb(b,0,1):1;var c=255*b|0,d=this.T[c];m(d)||(d=[new Kl({image:new Ck({opacity:b,src:this.S})})],this.T[c]=d);return d},this));this.set("renderOrder",null);B(this,"render",this.Hk,!1,this)}x(Z,N);var tz=["#00f","#0ff","#0f0","#ff0","#f00"];l=Z.prototype;l.qg=function(){return this.get("blur")};l.tg=function(){return this.get("gradient")};l.$g=function(){return this.get("radius")};
l.pk=function(){for(var b=this.tg(),c=Wi(1,256),d=c.createLinearGradient(0,0,1,256),e=1/(b.length-1),f=0,g=b.length;f<g;++f)d.addColorStop(f*e,b[f]);c.fillStyle=d;c.fillRect(0,0,1,256);this.g=c.getImageData(0,0,1,256).data};l.Eg=function(){var b=this.$g(),c=this.qg(),d=b+c+1,e=2*d,e=Wi(e,e);e.shadowOffsetX=e.shadowOffsetY=this.Z;e.shadowBlur=c;e.shadowColor="#000";e.beginPath();c=d-this.Z;e.arc(c,c,b,0,2*Math.PI,!0);e.fill();this.S=e.canvas.toDataURL();this.T=Array(256);this.o()};
l.Hk=function(b){b=b.context;var c=b.canvas,c=b.getImageData(0,0,c.width,c.height),d=c.data,e,f,g;e=0;for(f=d.length;e<f;e+=4)if(g=4*d[e+3])d[e]=this.g[g],d[e+1]=this.g[g+1],d[e+2]=this.g[g+2];b.putImageData(c,0,0)};l.Kh=function(b){this.set("blur",b)};l.Oh=function(b){this.set("gradient",b)};l.ah=function(b){this.set("radius",b)};function uz(b,c){var d=c||{},e=d.document||document,f=Sg("SCRIPT"),g={Jh:f,Ac:void 0},h=new ey(vz,g),k=null,n=null!=d.timeout?d.timeout:5E3;0<n&&(k=window.setTimeout(function(){wz(f,!0);var c=new xz(yz,"Timeout reached for loading script "+b);gy(h);hy(h,!1,c)},n),g.Ac=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||(wz(f,d.hj||!1,k),h.$c(null))};f.onerror=function(){wz(f,!0,k);var c=new xz(zz,"Error while loading script "+b);gy(h);hy(h,!1,
c)};g=d.attributes||{};$c(g,{type:"text/javascript",charset:"UTF-8",src:b});Mg(f,g);Az(e).appendChild(f);return h}function Az(b){var c=b.getElementsByTagName("HEAD");return c&&0!=c.length?c[0]:b.documentElement}function vz(){if(this&&this.Jh){var b=this.Jh;b&&"SCRIPT"==b.tagName&&wz(b,!0,this.Ac)}}function wz(b,c,d){null!=d&&ba.clearTimeout(d);b.onload=ca;b.onerror=ca;b.onreadystatechange=ca;c&&window.setTimeout(function(){Wg(b)},0)}var zz=0,yz=1;
function xz(b,c){var d="Jsloader error (code #"+b+")";c&&(d+=": "+c);Da.call(this,d);this.code=b}x(xz,Da);function Bz(b,c){this.f=new It(b);this.a=c?c:"callback";this.Ac=5E3}var Cz=0;function Dz(b,c,d,e){c=c||null;var f="_"+(Cz++).toString(36)+ua().toString(36);ba._callbacks_||(ba._callbacks_={});var g=b.f.clone();if(c)for(var h in c)if(!c.hasOwnProperty||c.hasOwnProperty(h)){var k=g,n=h,p=c[h];ga(p)||(p=[String(p)]);au(k.b,n,p)}d&&(ba._callbacks_[f]=Ez(f,d),d=b.a,h="_callbacks_."+f,ga(h)||(h=[String(h)]),au(g.b,d,h));b=uz(g.toString(),{timeout:b.Ac,hj:!0});ky(b,null,Fz(f,c,e),void 0)}
Bz.prototype.cancel=function(b){b&&(b.ij&&b.ij.cancel(),b.ja&&Gz(b.ja,!1))};function Fz(b,c,d){return function(){Gz(b,!1);d&&d(c)}}function Ez(b,c){return function(d){Gz(b,!0);c.apply(void 0,arguments)}}function Gz(b,c){ba._callbacks_[b]&&(c?delete ba._callbacks_[b]:ba._callbacks_[b]=ca)};function Hz(b){hq.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:m(b.state)?b.state:void 0,tileGrid:b.tileGrid,tileLoadFunction:m(b.tileLoadFunction)?b.tileLoadFunction:Iz,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,wrapX:b.wrapX});this.crossOrigin=m(b.crossOrigin)?b.crossOrigin:null;this.tileClass=m(b.tileClass)?b.tileClass:$x}x(Hz,hq);
Hz.prototype.Ib=function(b,c,d,e,f){var g=this.ib(b,c,d);if(Bh(this.a,g))return this.a.get(g);b=[b,c,d];c=Xh(this,b,f);e=null===c?void 0:this.tileUrlFunction(c,e,f);e=new this.tileClass(b,m(e)?0:4,m(e)?e:"",this.crossOrigin,this.tileLoadFunction);B(e,"change",this.ih,!1,this);this.a.set(g,e);return e};function Iz(b,c){b.W().src=c};function Jz(b){Hz.call(this,{crossOrigin:"anonymous",opaque:!0,projection:te("EPSG:3857"),state:"loading",tileLoadFunction:b.tileLoadFunction,wrapX:m(b.wrapX)?b.wrapX:!0});this.i=m(b.culture)?b.culture:"en-us";this.c=m(b.maxZoom)?b.maxZoom:-1;var c=new It("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+b.imagerySet);Dz(new Bz(c,"jsonp"),{include:"ImageryProviders",uriScheme:"https",key:b.key},ra(this.l,this))}x(Jz,Hz);var Kz=new sg({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});
Jz.prototype.l=function(b){if(200!=b.statusCode||"OK"!=b.statusDescription||"ValidCredentials"!=b.authenticationResultCode||1!=b.resourceSets.length||1!=b.resourceSets[0].resources.length)Ih(this,"error");else{var c=b.brandLogoUri;-1==c.indexOf("https")&&(c=c.replace("http","https"));var d=b.resourceSets[0].resources[0],e=-1==this.c?d.zoomMax:this.c;b=kg(this.j);var f=Sh({extent:b,minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth==d.imageHeight?d.imageWidth:[d.imageWidth,d.imageHeight]});this.tileGrid=
f;var g=this.i;this.tileUrlFunction=eq(pb(d.imageUrlSubdomains,function(b){var c=[0,0,0],e=d.imageUrl.replace("{subdomain}",b).replace("{culture}",g);return function(b){if(null!==b)return dg(b[0],b[1],-b[2]-1,c),e.replace("{quadkey}",gg(c))}}));if(d.imageryProviders){var h=xe(te("EPSG:4326"),this.j);b=pb(d.imageryProviders,function(b){var c=b.attribution,d={};nb(b.coverageAreas,function(b){var c=b.zoomMin,g=Math.min(b.zoomMax,e);b=b.bbox;b=Ec([b[1],b[0],b[3],b[2]],h);var k,n;for(k=c;k<=g;++k)n=k.toString(),
c=mg(f,b,k),n in d?d[n].push(c):d[n]=[c]});return new sg({html:c,tileRanges:d})});b.push(Kz);this.la(b)}this.T=c;Ih(this,"ready")}};function Lz(b){W.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection});this.M=void 0;this.ca=m(b.distance)?b.distance:20;this.C=[];this.A=b.source;this.A.G("change",Lz.prototype.wa,this)}x(Lz,W);Lz.prototype.ga=function(){return this.A};Lz.prototype.rc=function(b,c,d){this.A.rc(b,c,d);c!==this.M&&(this.clear(),this.M=c,Mz(this),this.kc(this.C))};Lz.prototype.wa=function(){this.clear();Mz(this);this.kc(this.C);this.o()};
function Mz(b){if(m(b.M)){b.C.length=0;for(var c=ac(),d=b.ca*b.M,e=b.A.Pc(),f={},g=0,h=e.length;g<h;g++){var k=e[g];Pc(f,ma(k).toString())||(k=k.V().X(),lc(k,c),ec(c,d,c),k=b.A.Td(c),k=ob(k,function(b){b=ma(b).toString();return b in f?!1:f[b]=!0}),b.C.push(Nz(k)))}}}function Nz(b){for(var c=b.length,d=[0,0],e=0;e<c;e++){var f=b[e].V().X();Ob(d,f)}c=1/c;d[0]*=c;d[1]*=c;d=new Bn(new yf(d));d.set("features",b);return d};function Oz(b){tn.call(this,{projection:b.projection,resolutions:b.resolutions});this.Z=m(b.crossOrigin)?b.crossOrigin:null;this.i=m(b.displayDpi)?b.displayDpi:96;this.c=m(b.params)?b.params:{};var c;m(b.url)?c=by(b.url,this.c,ra(this.rm,this)):c=cy;this.M=c;this.a=m(b.imageLoadFunction)?b.imageLoadFunction:zn;this.ca=m(b.hidpi)?b.hidpi:!0;this.S=m(b.metersPerUnit)?b.metersPerUnit:1;this.A=m(b.ratio)?b.ratio:1;this.ga=m(b.useOverlay)?b.useOverlay:!1;this.b=null;this.C=0}x(Oz,tn);l=Oz.prototype;
l.qm=function(){return this.c};l.W=function(b,c,d,e){c=un(this,c);d=this.ca?d:1;var f=this.b;if(null!==f&&this.C==this.f&&f.resolution==c&&f.c==d&&jc(f.P(),b))return f;1!=this.A&&(b=b.slice(),Dc(b,this.A));e=this.M(b,[Bc(b)/c*d,yc(b)/c*d],e);m(e)?(f=new Zx(b,c,d,this.g,e,this.Z,this.a),B(f,"change",this.l,!1,this)):f=null;this.b=f;this.C=this.f;return f};l.pm=function(){return this.a};l.tm=function(b){$c(this.c,b);this.o()};
l.rm=function(b,c,d,e){var f;f=this.S;var g=Bc(d),h=yc(d),k=e[0],n=e[1],p=.0254/this.i;f=n*g>k*h?g*f/(k*p):h*f/(n*p);d=wc(d);e={OPERATION:this.ga?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.i,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),SETVIEWSCALE:f,SETVIEWCENTERX:d[0],SETVIEWCENTERY:d[1]};$c(e,c);return vo(xo([b],e))};l.sm=function(b){this.b=null;this.a=b;this.o()};function Pz(b){var c=m(b.attributions)?b.attributions:null,d=b.imageExtent,e,f;m(b.imageSize)&&(e=yc(d)/b.imageSize[1],f=[e]);var g=m(b.crossOrigin)?b.crossOrigin:null,h=m(b.imageLoadFunction)?b.imageLoadFunction:zn;tn.call(this,{attributions:c,logo:b.logo,projection:te(b.projection),resolutions:f});this.a=new Zx(d,e,1,c,b.url,g,h);B(this.a,"change",this.l,!1,this)}x(Pz,tn);Pz.prototype.W=function(b){return Ac(b,this.a.P())?this.a:null};function Qz(b){b=m(b)?b:{};tn.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection,resolutions:b.resolutions});this.ca=m(b.crossOrigin)?b.crossOrigin:null;this.c=b.url;this.A=m(b.imageLoadFunction)?b.imageLoadFunction:zn;this.b=b.params;this.i=!0;Rz(this);this.Z=b.serverType;this.ga=m(b.hidpi)?b.hidpi:!0;this.a=null;this.C=[0,0];this.S=0;this.M=m(b.ratio)?b.ratio:1.5}x(Qz,tn);var Sz=[101,101];l=Qz.prototype;
l.zm=function(b,c,d,e){if(m(this.c)){var f=xc(b,c,0,Sz),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.b.LAYERS};$c(g,this.b,e);e=Math.floor((f[3]-b[1])/c);g[this.i?"I":"X"]=Math.floor((b[0]-f[0])/c);g[this.i?"J":"Y"]=e;return Tz(this,f,Sz,1,te(d),g)}};l.Bm=function(){return this.b};
l.W=function(b,c,d,e){if(!m(this.c))return null;c=un(this,c);1==d||this.ga&&m(this.Z)||(d=1);b=b.slice();var f=(b[0]+b[2])/2,g=(b[1]+b[3])/2;if(1!=this.M){var h=this.M*Bc(b)/2,k=this.M*yc(b)/2;b[0]=f-h;b[1]=g-k;b[2]=f+h;b[3]=g+k}var n=c/d,h=Math.ceil(Bc(b)/n),k=Math.ceil(yc(b)/n);b[0]=f-n*h/2;b[2]=f+n*h/2;b[1]=g-n*k/2;b[3]=g+n*k/2;f=this.a;if(null!==f&&this.S==this.f&&f.resolution==c&&f.c==d&&jc(f.P(),b))return f;f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};
$c(f,this.b);this.C[0]=h;this.C[1]=k;e=Tz(this,b,this.C,d,e,f);this.a=new Zx(b,c,d,this.g,e,this.ca,this.A);this.S=this.f;B(this.a,"change",this.l,!1,this);return this.a};l.Am=function(){return this.A};
function Tz(b,c,d,e,f,g){g[b.i?"CRS":"SRS"]=f.a;"STYLES"in b.b||(g.STYLES=new String(""));if(1!=e)switch(b.Z){case "geoserver":e=90*e+.5|0;g.FORMAT_OPTIONS=m(g.FORMAT_OPTIONS)?g.FORMAT_OPTIONS+(";dpi:"+e):"dpi:"+e;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}g.WIDTH=d[0];g.HEIGHT=d[1];d=f.c;var h;b.i&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return vo(xo([b.c],g))}l.Cm=function(){return this.c};
l.Dm=function(b){this.a=null;this.A=b;this.o()};l.Em=function(b){b!=this.c&&(this.c=b,this.a=null,this.o())};l.Fm=function(b){$c(this.b,b);Rz(this);this.a=null;this.o()};function Rz(b){b.i=0<=Ta(Vc(b.b,"VERSION","1.3.0"),"1.3")};function Uz(b){var c=m(b.projection)?b.projection:"EPSG:3857",d=m(b.tileGrid)?b.tileGrid:Sh({extent:kg(c),maxZoom:b.maxZoom,tileSize:b.tileSize});this.l=null;Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,projection:c,tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:fq,wrapX:m(b.wrapX)?b.wrapX:!0});m(b.tileUrlFunction)?this.Fa(b.tileUrlFunction):m(b.urls)?(b=b.urls,this.Fa(dq(b)),this.l=b):m(b.url)&&this.c(b.url)}
x(Uz,Hz);Uz.prototype.i=function(){return this.l};Uz.prototype.c=function(b){this.Fa(dq(gq(b)));this.l=[b]};function Vz(b){b=m(b)?b:{};var c;m(b.attributions)?c=b.attributions:c=[Wz];Uz.call(this,{attributions:c,crossOrigin:m(b.crossOrigin)?b.crossOrigin:"anonymous",opaque:!0,maxZoom:m(b.maxZoom)?b.maxZoom:19,tileLoadFunction:b.tileLoadFunction,url:m(b.url)?b.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:b.wrapX})}x(Vz,Uz);var Wz=new sg({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function Xz(b){b=m(b)?b:{};var c=Yz[b.layer];this.v=b.layer;Uz.call(this,{attributions:c.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,opaque:!0,tileLoadFunction:b.tileLoadFunction,url:m(b.url)?b.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.v+"/{z}/{x}/{y}.jpg"})}x(Xz,Uz);
var Zz=new sg({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),Yz={osm:{maxZoom:19,attributions:[Zz,Wz]},sat:{maxZoom:18,attributions:[Zz,new sg({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[Zz,Wz]}};Xz.prototype.A=function(){return this.v};(function(){var b={},c={ia:b};(function(d){if("object"===typeof b&&"undefined"!==typeof c)c.ia=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.xp=d()}})(function(){return function e(b,c,h){function k(p,r){if(!c[p]){if(!b[p]){var t="function"==typeof require&&require;if(!r&&t)return t(p,!0);if(n)return n(p,!0);t=Error("Cannot find module '"+p+"'");throw t.code="MODULE_NOT_FOUND",t;}t=c[p]={ia:{}};b[p][0].call(t.ia,function(c){var e=
b[p][1][c];return k(e?e:c)},t,t.ia,e,b,c,h)}return c[p].ia}for(var n="function"==typeof require&&require,p=0;p<h.length;p++)k(h[p]);return k}({1:[function(b,c,g){b=b("./processor");g.Bi=b},{"./processor":2}],2:[function(b,c){function g(b){return function(c){var e=c.buffers,f=c.meta,g=c.width,h=c.height,k=e.length,n=e[0].byteLength,y;if(c.imageOps){n=Array(k);for(y=0;y<k;++y)n[y]=new ImageData(new Uint8ClampedArray(e[y]),g,h);g=b(n,f).data}else{g=new Uint8ClampedArray(n);h=Array(k);c=Array(k);for(y=
0;y<k;++y)h[y]=new Uint8ClampedArray(e[y]),c[y]=[0,0,0,0];for(e=0;e<n;e+=4){for(y=0;y<k;++y){var A=h[y];c[y][0]=A[e];c[y][1]=A[e+1];c[y][2]=A[e+2];c[y][3]=A[e+3]}y=b(c,f);g[e]=y[0];g[e+1]=y[1];g[e+2]=y[2];g[e+3]=y[3]}}return g.buffer}}function h(b,c){var e=Object.keys(b.lib||{}).map(function(c){return"var "+c+" = "+b.lib[c].toString()+";"}).concat(["var __minion__ = ("+g.toString()+")(",b.operation.toString(),");",'self.addEventListener("message", function(__event__) {',"var buffer = __minion__(__event__.data);",
"self.postMessage({buffer: buffer, meta: __event__.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",c);return e}function k(b,c){var e=g(b.operation);return{postMessage:function(b){setTimeout(function(){c({data:{buffer:e(b),le:b.le}})},0)}}}function n(b){this.Te=!!b.Pk;var c;0===b.threads?c=0:this.Te?c=1:c=b.threads||1;var e=[];if(c)for(var f=0;f<c;++f)e[f]=h(b,this.ig.bind(this,f));else e[0]=k(b,this.ig.bind(this,
0));this.Ld=e;this.Yc=[];this.Ri=b.Wn||Infinity;this.Jd=0;this.Ec={};this.Ue=null}n.prototype.Vn=function(b,c,e){this.Oi({qc:b,le:c,$c:e});this.fg()};n.prototype.Oi=function(b){for(this.Yc.push(b);this.Yc.length>this.Ri;)this.Yc.shift().$c(null,null)};n.prototype.fg=function(){if(0===this.Jd&&0<this.Yc.length){var b=this.Ue=this.Yc.shift(),c=b.qc[0].width,e=b.qc[0].height,f=b.qc.map(function(b){return b.data.buffer}),g=this.Ld.length;this.Jd=g;if(1===g)this.Ld[0].postMessage({buffers:f,meta:b.le,
imageOps:this.Te,width:c,height:e},f);else for(var h=4*Math.ceil(b.qc[0].data.length/4/g),k=0;k<g;++k){for(var n=k*h,y=[],A=0,H=f.length;A<H;++A)y.push(f[k].slice(n,n+h));this.Ld[k].postMessage({buffers:y,meta:b.le,imageOps:this.Te,width:c,height:e},y)}}};n.prototype.ig=function(b,c){this.tp||(this.Ec[b]=c.data,--this.Jd,0===this.Jd&&this.Si())};n.prototype.Si=function(){var b=this.Ue,c=this.Ld.length,e,f;if(1===c)e=new Uint8ClampedArray(this.Ec[0].buffer),f=this.Ec[0].meta;else{var g=b.qc[0].data.length;
e=new Uint8ClampedArray(g);f=Array(g);for(var g=4*Math.ceil(g/4/c),h=0;h<c;++h){var k=h*g;e.set(new Uint8ClampedArray(this.Ec[h].buffer),k);f[h]=this.Ec[h].meta}}this.Ue=null;this.Ec={};b.$c(null,new ImageData(e,b.qc[0].width,b.qc[0].height),f);this.fg()};c.ia=n},{}]},{},[1])(1)});Jp=c.ia})();function $z(b){this.C=null;this.ga=m(b.operationType)?b.operationType:"pixel";this.wa=m(b.threads)?b.threads:1;for(var c=b.sources,d=c.length,e=Array(d),f=0;f<d;++f){var g=f,h=c[f],k=null;h instanceof Uh?(h=new M({source:h}),k=new $p(h)):h instanceof tn&&(h=new L({source:h}),k=new Zp(h));e[g]=k}this.a=e;c=0;for(d=this.a.length;c<d;++c)B(this.a[c],"change",this.o,!1,this);this.b=Wi();this.Z=new Pk(va(1),ra(this.o,this));c=aA(this.a);d={};e=0;for(f=c.length;e<f;++e)d[ma(c[e].layer)]=c[e];this.c=this.i=
null;this.S={animate:!1,attributions:{},coordinateToPixelMatrix:$a(),extent:null,focus:null,index:0,layerStates:d,layerStatesArray:c,logos:{},pixelRatio:1,pixelToCoordinateMatrix:$a(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.Z,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};tn.call(this,{});m(b.operation)&&this.A(b.operation,b.lib)}x($z,tn);
$z.prototype.A=function(b,c){this.C=new Jp.Bi({operation:b,Pk:"image"===this.ga,Wn:1,lib:c,threads:this.wa});this.o()};function bA(b,c,d){var e=b.i;return!e||b.f!==e.Ao||d!==e.resolution||!oc(c,e.extent)}
$z.prototype.W=function(b,c,d,e){d=!0;for(var f,g=0,h=this.a.length;g<h;++g)if(f=this.a[g].a.da(),"ready"!==f.u){d=!1;break}if(!d)return null;if(!bA(this,b,c))return this.c;d=this.b.canvas;f=Math.round(Bc(b)/c);g=Math.round(yc(b)/c);if(f!==d.width||g!==d.height)d.width=f,d.height=g;f=Xc(this.S);f.viewState=Xc(f.viewState);var g=wc(b),h=Math.round(Bc(b)/c),k=Math.round(yc(b)/c);f.extent=b;f.focus=wc(b);f.size[0]=h;f.size[1]=k;h=f.viewState;h.center=g;h.projection=e;h.resolution=c;this.c=e=new sn(b,
c,1,this.g,d,this.M.bind(this,f));this.i={extent:b,resolution:c,Ao:this.f};return e};
$z.prototype.M=function(b,c){for(var d=this.a.length,e=Array(d),f=0;f<d;++f){var g;var h=this.a[f],k=b;h.ud(k,b.layerStatesArray[f]);if(g=h.W()){var n=h.nf(),h=Math.round(n[12]),p=Math.round(n[13]),q=k.size[0],k=k.size[1];if(g instanceof Image){if(cA){var r=cA.canvas;r.width!==q||r.height!==k?cA=Wi(q,k):cA.clearRect(0,0,q,k)}else cA=Wi(q,k);r=Math.round(g.width*n[0]);n=Math.round(g.height*n[5]);cA.drawImage(g,h,p,r,n);g=cA.getImageData(0,0,q,k)}else g=g.getContext("2d").getImageData(-h,-p,q,k)}else g=
null;if(g)e[f]=g;else return}d={};D(this,new dA(eA,b,d));this.C.Vn(e,d,this.ca.bind(this,b,c));Qk(b.tileQueue,16,16)};$z.prototype.ca=function(b,c,d,e,f){d?c(d):null!==e&&(D(this,new dA(fA,b,f)),bA(this,b.extent,b.viewState.resolution/b.pixelRatio)||this.b.putImageData(e,0,0),c(null))};var cA=null;function aA(b){return b.map(function(b){return ik(b.a)})}function dA(b,c,d){xd.call(this,b);this.extent=c.extent;this.resolution=c.viewState.resolution/c.pixelRatio;this.data=d}x(dA,xd);
var eA="beforeoperations",fA="afteroperations";var gA={terrain:{gb:"jpg",opaque:!0},"terrain-background":{gb:"jpg",opaque:!0},"terrain-labels":{gb:"png",opaque:!1},"terrain-lines":{gb:"png",opaque:!1},"toner-background":{gb:"png",opaque:!0},toner:{gb:"png",opaque:!0},"toner-hybrid":{gb:"png",opaque:!1},"toner-labels":{gb:"png",opaque:!1},"toner-lines":{gb:"png",opaque:!1},"toner-lite":{gb:"png",opaque:!0},watercolor:{gb:"jpg",opaque:!0}},hA={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};
function iA(b){var c=b.layer.indexOf("-"),c=-1==c?b.layer:b.layer.slice(0,c),d=gA[b.layer];Uz.call(this,{attributions:jA,crossOrigin:"anonymous",maxZoom:hA[c].maxZoom,opaque:d.opaque,tileLoadFunction:b.tileLoadFunction,url:m(b.url)?b.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+b.layer+"/{z}/{x}/{y}."+d.gb})}x(iA,Uz);var jA=[new sg({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),Wz];function kA(b){b=m(b)?b:{};var c=m(b.params)?b.params:{};Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,tileUrlFunction:ra(this.Jm,this),wrapX:m(b.wrapX)?b.wrapX:!0});var d=b.urls;!m(d)&&m(b.url)&&(d=gq(b.url));this.i=null!=d?d:[];this.c=c;this.l=ac()}x(kA,Hz);l=kA.prototype;l.Gm=function(){return this.c};l.Jb=function(b,c,d){b=kA.ba.Jb.call(this,b,c,d);return 1==c?b:Yb(b,c,this.b)};
l.Hm=function(){return this.i};l.Im=function(b){b=m(b)?gq(b):null;this.gh(b)};l.gh=function(b){this.i=null!=b?b:[];this.o()};
l.Jm=function(b,c,d){var e=this.tileGrid;null===e&&(e=Wh(this,d));if(!(e.a.length<=b[0])){var f=Nh(e,b,this.l),g=Zb(e.Ha(b[0]),this.b);1!=c&&(g=Yb(g,c,this.b));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};$c(e,this.c);var h=this.i;0==h.length?b=void 0:(d=d.a.split(":").pop(),e.SIZE=g[0]+","+g[1],e.BBOX=f.join(","),e.BBOXSR=d,e.IMAGESR=d,e.DPI=Math.round(90*c),b=1==h.length?h[0]:h[Jb((b[1]<<b[0])+b[2],h.length)],Fa(b,"/")||(b+="/"),Fa(b,"MapServer/")?b+="export":Fa(b,"ImageServer/")&&(b+="exportImage"),
b=vo(xo([b],e)));return b}};l.Km=function(b){$c(this.c,b);this.o()};function lA(b,c,d){Eh.call(this,b,2);this.c=c;this.b=d;this.f={}}x(lA,Eh);lA.prototype.W=function(b){b=m(b)?ma(b):-1;if(b in this.f)return this.f[b];var c=this.c,d=Wi(c[0],c[1]);d.strokeStyle="black";d.strokeRect(.5,.5,c[0]+.5,c[1]+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.b,c[0]/2,c[1]/2);return this.f[b]=d.canvas};function mA(b){Uh.call(this,{opaque:!1,projection:b.projection,tileGrid:b.tileGrid,wrapX:m(b.wrapX)?b.wrapX:!0})}
x(mA,Uh);mA.prototype.Ib=function(b,c,d){var e=this.ib(b,c,d);if(Bh(this.a,e))return this.a.get(e);var f=Zb(this.tileGrid.Ha(b));b=[b,c,d];c=Xh(this,b);c=null===c?"":hg(Xh(this,c));f=new lA(b,f,c);this.a.set(e,f);return f};function nA(b){Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,projection:te("EPSG:3857"),state:"loading",tileLoadFunction:b.tileLoadFunction,wrapX:m(b.wrapX)?b.wrapX:!0});Dz(new Bz(b.url),void 0,ra(this.i,this),ra(this.c,this))}x(nA,Hz);
nA.prototype.i=function(b){var c=te("EPSG:4326"),d=this.j,e;m(b.bounds)&&(e=Ec(b.bounds,xe(c,d)));var f=b.minzoom||0,g=b.maxzoom||22;this.tileGrid=d=Sh({extent:kg(d),maxZoom:g,minZoom:f});this.tileUrlFunction=dq(b.tiles);if(m(b.attribution)&&null===this.g){c=m(e)?e:c.P();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[mg(d,c,f)];this.la([new sg({html:b.attribution,tileRanges:e})])}Ih(this,"ready")};nA.prototype.c=function(){Ih(this,"error")};function oA(b){Uh.call(this,{projection:te("EPSG:3857"),state:"loading"});this.l=m(b.preemptive)?b.preemptive:!0;this.c=fq;this.i=void 0;Dz(new Bz(b.url),void 0,ra(this.Mm,this))}x(oA,Uh);l=oA.prototype;l.Zj=function(){return this.i};l.lj=function(b,c,d,e,f){null===this.tileGrid?!0===f?ti(function(){d.call(e,null)}):d.call(e,null):(c=this.tileGrid.pd(b,c),pA(this.Ib(c[0],c[1],c[2],1,this.j),b,d,e,f))};
l.Mm=function(b){var c=te("EPSG:4326"),d=this.j,e;m(b.bounds)&&(e=Ec(b.bounds,xe(c,d)));var f=b.minzoom||0,g=b.maxzoom||22;this.tileGrid=d=Sh({extent:kg(d),maxZoom:g,minZoom:f});this.i=b.template;var h=b.grids;if(null!=h){this.c=dq(h);if(m(b.attribution)){c=m(e)?e:c.P();for(e={};f<=g;++f)h=f.toString(),e[h]=[mg(d,c,f)];this.la([new sg({html:b.attribution,tileRanges:e})])}Ih(this,"ready")}else Ih(this,"error")};
l.Ib=function(b,c,d,e,f){var g=this.ib(b,c,d);if(Bh(this.a,g))return this.a.get(g);b=[b,c,d];c=Xh(this,b,f);e=this.c(c,e,f);e=new qA(b,m(e)?0:4,m(e)?e:"",Nh(this.tileGrid,b),this.l);this.a.set(g,e);return e};l.Yf=function(b,c,d){b=this.ib(b,c,d);Bh(this.a,b)&&this.a.get(b)};function qA(b,c,d,e,f){Eh.call(this,b,c);this.j=d;this.f=e;this.l=f;this.c=this.i=this.b=null}x(qA,Eh);l=qA.prototype;l.W=function(){return null};
function rA(b,c){if(null===b.b||null===b.i||null==b.c)return null;var d=b.b[Math.floor((1-(c[1]-b.f[1])/(b.f[3]-b.f[1]))*b.b.length)];if(!ia(d))return null;d=d.charCodeAt(Math.floor((c[0]-b.f[0])/(b.f[2]-b.f[0])*d.length));93<=d&&d--;35<=d&&d--;d=b.i[d-32];return null!=d?b.c[d]:null}function pA(b,c,d,e,f){0==b.state&&!0===f?(Yd(b,"change",function(){d.call(e,rA(this,c))},!1,b),sA(b)):!0===f?ti(function(){d.call(e,rA(this,c))},b):d.call(e,rA(b,c))}l.lb=function(){return this.j};
l.mk=function(){this.state=3;Fh(this)};l.Lm=function(b){this.b=b.grid;this.i=b.keys;this.c=b.data;this.state=4;Fh(this)};function sA(b){0==b.state&&(b.state=1,Dz(new Bz(b.j),void 0,ra(b.Lm,b),ra(b.mk,b)))}l.load=function(){this.l&&sA(this)};function tA(b){W.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:b.wrapX});this.ga=m(b.format)?b.format:null;this.C=b.tileGrid;this.M=fq;this.ca=m(b.tileLoadFunction)?b.tileLoadFunction:null;this.A={};m(b.tileUrlFunction)?(this.M=b.tileUrlFunction,this.o()):m(b.urls)?(this.M=dq(b.urls),this.o()):m(b.url)&&(this.M=dq(gq(b.url)),this.o())}x(tA,W);l=tA.prototype;l.clear=function(){Tc(this.A)};
function uA(b,c,d,e){var f=b.A;b=b.C.pd(c,d);f=f[b[0]+"/"+b[1]+"/"+b[2]];if(m(f))for(b=0,d=f.length;b<d;++b){var g=f[b];if(g.V().af(c)&&e.call(void 0,g))break}}l.Rb=function(b,c,d,e){var f=this.C,g=this.A;c=Rh(f,c);b=mg(f,b,c);for(var h,f=b.a;f<=b.c;++f)for(h=b.f;h<=b.b;++h){var k=g[c+"/"+f+"/"+h];if(m(k)){var n,p;n=0;for(p=k.length;n<p;++n){var q=d.call(e,k[n]);if(q)return q}}}};l.Pc=function(){var b=this.A,c=[],d;for(d in b)xb(c,b[d]);return c};
l.zj=function(b,c){var d=[];uA(this,b,c,function(b){d.push(b)});return d};function vA(b,c,d){var e=b.C;b.D&&d.b&&(c=ig(c,e,d));return lg(c,e)?c:null}l.rc=function(b,c,d){function e(b,c){h[b]=c;this.o()}var f=this.C,g=this.M,h=this.A,k=Rh(f,c),f=mg(f,b,k),n=[k,0,0],p,q;for(p=f.a;p<=f.c;++p)for(q=f.f;q<=f.b;++q){var r=k+"/"+p+"/"+q;if(!(r in h)){n[1]=p;n[2]=q;var t=vA(this,n,d),t=null===t?void 0:g(t,1,d);m(t)&&(h[r]=[],r=sa(e,r),null===this.ca?Cp(t,this.ga,r,ca).call(this,b,c,d):this.ca(t,ra(r,this)))}}};function wA(b){b=m(b)?b:{};var c=m(b.params)?b.params:{};Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,opaque:!Vc(c,"TRANSPARENT",!0),projection:b.projection,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,tileUrlFunction:ra(this.Rm,this),wrapX:m(b.wrapX)?b.wrapX:!0});var d=b.urls;!m(d)&&m(b.url)&&(d=gq(b.url));this.i=null!=d?d:[];this.v=m(b.gutter)?b.gutter:0;this.c=c;this.l=!0;this.A=b.serverType;this.S=m(b.hidpi)?b.hidpi:!0;this.M="";xA(this);this.Z=ac();
yA(this)}x(wA,Hz);l=wA.prototype;
l.Nm=function(b,c,d,e){d=te(d);var f=this.tileGrid;null===f&&(f=Wh(this,d));c=f.pd(b,c);if(!(f.a.length<=c[0])){var g=f.Ca(c[0]),h=Nh(f,c,this.Z),f=Zb(f.Ha(c[0]),this.b),k=this.v;0!==k&&(f=Xb(f,k,this.b),h=ec(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};$c(k,this.c,e);e=Math.floor((h[3]-b[1])/g);k[this.l?"I":"X"]=Math.floor((b[0]-h[0])/g);k[this.l?"J":"Y"]=e;return zA(this,c,f,h,1,d,k)}};l.Ud=function(){return this.v};
l.ib=function(b,c,d){return this.M+wA.ba.ib.call(this,b,c,d)};l.Om=function(){return this.c};
function zA(b,c,d,e,f,g,h){var k=b.i;if(0!=k.length){h.WIDTH=d[0];h.HEIGHT=d[1];h[b.l?"CRS":"SRS"]=g.a;"STYLES"in b.c||(h.STYLES=new String(""));if(1!=f)switch(b.A){case "geoserver":d=90*f+.5|0;h.FORMAT_OPTIONS=m(h.FORMAT_OPTIONS)?h.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}g=g.c;b.l&&"ne"==g.substr(0,2)&&(b=e[0],e[0]=e[1],e[1]=b,b=e[2],e[2]=e[3],e[3]=b);h.BBOX=e.join(",");return vo(xo([1==k.length?k[0]:k[Jb((c[1]<<
c[0])+c[2],k.length)]],h))}}l.Jb=function(b,c,d){b=wA.ba.Jb.call(this,b,c,d);return 1!=c&&this.S&&m(this.A)?Yb(b,c,this.b):b};l.Pm=function(){return this.i};function xA(b){var c=0,d=[],e,f;e=0;for(f=b.i.length;e<f;++e)d[c++]=b.i[e];for(var g in b.c)d[c++]=g+"-"+b.c[g];b.M=d.join("#")}l.Qm=function(b){b=m(b)?gq(b):null;this.hh(b)};l.hh=function(b){this.i=null!=b?b:[];xA(this);this.o()};
l.Rm=function(b,c,d){var e=this.tileGrid;null===e&&(e=Wh(this,d));if(!(e.a.length<=b[0])){1==c||this.S&&m(this.A)||(c=1);var f=e.Ca(b[0]),g=Nh(e,b,this.Z),e=Zb(e.Ha(b[0]),this.b),h=this.v;0!==h&&(e=Xb(e,h,this.b),g=ec(g,f*h,g));1!=c&&(e=Yb(e,c,this.b));f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};$c(f,this.c);return zA(this,b,e,g,c,d,f)}};l.Sm=function(b){$c(this.c,b);xA(this);yA(this);this.o()};function yA(b){b.l=0<=Ta(Vc(b.c,"VERSION","1.3.0"),"1.3")};function AA(b){this.j=b.matrixIds;Jh.call(this,{extent:b.extent,origin:b.origin,origins:b.origins,resolutions:b.resolutions,tileSize:b.tileSize,tileSizes:b.tileSizes,sizes:b.sizes})}x(AA,Jh);AA.prototype.B=function(){return this.j};
function BA(b,c){var d=[],e=[],f=[],g=[],h=[],k;k=te(b.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var n=k.Xd(),p="ne"==k.c.substr(0,2);Ab(b.TileMatrix,function(b,c){return c.ScaleDenominator-b.ScaleDenominator});nb(b.TileMatrix,function(b){e.push(b.Identifier);var c=2.8E-4*b.ScaleDenominator/n,k=b.TileWidth,u=b.TileHeight;p?f.push([b.TopLeftCorner[1],b.TopLeftCorner[0]]):f.push(b.TopLeftCorner);d.push(c);g.push(k==u?k:[k,u]);h.push([b.MatrixWidth,-b.MatrixHeight])});return new AA({extent:c,
origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function CA(b){function c(b){b="KVP"==e?vo(xo([b],g)):b.replace(/\{(\w+?)\}/g,function(b,c){return c.toLowerCase()in g?g[c.toLowerCase()]:b});return function(c){if(null!==c){var d={TileMatrix:f.j[c[0]],TileCol:c[1],TileRow:-c[2]-1};$c(d,h);c=b;return c="KVP"==e?vo(xo([c],d)):c.replace(/\{(\w+?)\}/g,function(b,c){return d[c]})}}}this.Z=m(b.version)?b.version:"1.0.0";this.A=m(b.format)?b.format:"image/jpeg";this.c=m(b.dimensions)?b.dimensions:{};this.v="";DA(this);this.M=b.layer;this.l=b.matrixSet;
this.S=b.style;var d=b.urls;!m(d)&&m(b.url)&&(d=gq(b.url));this.i=null!=d?d:[];var e=this.ca=m(b.requestEncoding)?b.requestEncoding:"KVP",f=b.tileGrid,g={layer:this.M,style:this.S,tilematrixset:this.l};"KVP"==e&&$c(g,{Service:"WMTS",Request:"GetTile",Version:this.Z,Format:this.A});var h=this.c,d=0<this.i.length?eq(pb(this.i,c)):fq;Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,tileClass:b.tileClass,tileGrid:f,tileLoadFunction:b.tileLoadFunction,
tilePixelRatio:b.tilePixelRatio,tileUrlFunction:d,wrapX:m(b.wrapX)?b.wrapX:!1})}x(CA,Hz);l=CA.prototype;l.xj=function(){return this.c};l.Tm=function(){return this.A};l.ib=function(b,c,d){return this.v+CA.ba.ib.call(this,b,c,d)};l.Um=function(){return this.M};l.Mj=function(){return this.l};l.Xj=function(){return this.ca};l.Vm=function(){return this.S};l.Wm=function(){return this.i};l.ck=function(){return this.Z};function DA(b){var c=0,d=[],e;for(e in b.c)d[c++]=e+"-"+b.c[e];b.v=d.join("/")}
l.Zo=function(b){$c(this.c,b);DA(this);this.o()};function EA(b){b=m(b)?b:{};var c=b.size,d=c[0],e=c[1],f=[],g=256;switch(m(b.tierSizeCalculation)?b.tierSizeCalculation:"default"){case "default":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),g+=g;break;case "truncated":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),d>>=1,e>>=1}f.push([1,1]);f.reverse();for(var g=[1],h=[0],e=1,d=f.length;e<d;e++)g.push(1<<e),h.push(f[e-1][0]*f[e-1][1]+h[e-1]);g.reverse();var c=[0,-c[1],c[0],0],c=new Jh({extent:c,origin:vc(c),resolutions:g}),k=b.url;
Hz.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,tileClass:FA,tileGrid:c,tileUrlFunction:function(b){if(null!==b){var c=b[0],d=b[1];b=-b[2]-1;return k+"TileGroup"+((d+b*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+b+".jpg"}}})}x(EA,Hz);function FA(b,c,d,e,f){$x.call(this,b,c,d,e,f);this.c={}}x(FA,$x);
FA.prototype.W=function(b){var c=m(b)?ma(b).toString():"";if(c in this.c)return this.c[c];b=FA.ba.W.call(this,b);if(2==this.state){if(256==b.width&&256==b.height)return this.c[c]=b;var d=Wi(256,256);d.drawImage(b,0,0);return this.c[c]=d.canvas}return b};function GA(b){b=m(b)?b:{};this.f=m(b.initialSize)?b.initialSize:256;this.b=m(b.maxSize)?b.maxSize:m(Mb)?Mb:2048;this.a=m(b.space)?b.space:1;this.g=[new HA(this.f,this.a)];this.c=this.f;this.i=[new HA(this.c,this.a)]}GA.prototype.add=function(b,c,d,e,f,g){if(c+this.a>this.b||d+this.a>this.b)return null;e=IA(this,!1,b,c,d,e,g);if(null===e)return null;b=IA(this,!0,b,c,d,m(f)?f:ya,g);return{offsetX:e.offsetX,offsetY:e.offsetY,image:e.image,Fg:b.image}};
function IA(b,c,d,e,f,g,h){var k=c?b.i:b.g,n,p,q;p=0;for(q=k.length;p<q;++p){n=k[p];n=n.add(d,e,f,g,h);if(null!==n)return n;null===n&&p===q-1&&(c?(n=Math.min(2*b.c,b.b),b.c=n):(n=Math.min(2*b.f,b.b),b.f=n),n=new HA(n,b.a),k.push(n),++q)}}function HA(b,c){this.a=c;this.f=[{x:0,y:0,width:b,height:b}];this.c={};this.b=Sg("CANVAS");this.b.width=b;this.b.height=b;this.g=this.b.getContext("2d")}HA.prototype.get=function(b){return Vc(this.c,b,null)};
HA.prototype.add=function(b,c,d,e,f){var g,h,k;h=0;for(k=this.f.length;h<k;++h)if(g=this.f[h],g.width>=c+this.a&&g.height>=d+this.a)return k={offsetX:g.x+this.a,offsetY:g.y+this.a,image:this.b},this.c[b]=k,e.call(f,this.g,g.x+this.a,g.y+this.a),b=h,c=c+this.a,d=d+this.a,f=e=void 0,g.width-c>g.height-d?(e={x:g.x+c,y:g.y,width:g.width-c,height:g.height},f={x:g.x,y:g.y+d,width:c,height:g.height-d},JA(this,b,e,f)):(e={x:g.x+c,y:g.y,width:g.width-c,height:d},f={x:g.x,y:g.y+d,width:g.width,height:g.height-
d},JA(this,b,e,f)),k;return null};function JA(b,c,d,e){c=[c,1];0<d.width&&0<d.height&&c.push(d);0<e.width&&0<e.height&&c.push(e);b.f.splice.apply(b.f,c)};function KA(b){this.A=this.c=this.g=null;this.l=m(b.fill)?b.fill:null;this.M=[0,0];this.a=b.points;this.b=m(b.radius)?b.radius:b.radius1;this.i=m(b.radius2)?b.radius2:this.b;this.j=m(b.angle)?b.angle:0;this.f=m(b.stroke)?b.stroke:null;this.na=this.T=this.fa=null;var c=b.atlasManager,d="",e="",f=0,g=null,h,k=0;null!==this.f&&(h=Bg(this.f.a),k=this.f.f,m(k)||(k=1),g=this.f.b,ej||(g=null),e=this.f.g,m(e)||(e="round"),d=this.f.c,m(d)||(d="round"),f=this.f.i,m(f)||(f=10));var n=2*(this.b+k)+1,d={strokeStyle:h,
Bd:k,size:n,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(m(c)){var n=Math.round(n),e=null===this.l,p;e&&(p=ra(this.mh,this,d));f=this.zb();p=c.add(f,n,n,ra(this.nh,this,d),p);this.c=p.image;this.M=[p.offsetX,p.offsetY];c=p.image.width;this.A=e?p.Fg:this.c}else this.c=Sg("CANVAS"),this.c.height=n,this.c.width=n,c=n=this.c.width,p=this.c.getContext("2d"),this.nh(d,p,0,0),null===this.l?(p=this.A=Sg("CANVAS"),p.height=d.size,p.width=d.size,p=p.getContext("2d"),this.mh(d,p,0,0)):this.A=this.c;this.fa=
[n/2,n/2];this.T=[n,n];this.na=[c,c];Bk.call(this,{opacity:1,rotateWithView:!1,rotation:m(b.rotation)?b.rotation:0,scale:1,snapToPixel:m(b.snapToPixel)?b.snapToPixel:!0})}x(KA,Bk);l=KA.prototype;l.Sb=function(){return this.fa};l.an=function(){return this.j};l.bn=function(){return this.l};l.ue=function(){return this.A};l.W=function(){return this.c};l.Vd=function(){return this.na};l.vd=function(){return 2};l.$b=function(){return this.M};l.cn=function(){return this.a};l.dn=function(){return this.b};
l.Wj=function(){return this.i};l.rb=function(){return this.T};l.en=function(){return this.f};l.tf=ca;l.load=ca;l.Xf=ca;
l.nh=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.i!==this.b&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.j,f=0===d%2?this.b:this.i,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));null!==this.l&&(c.fillStyle=Bg(this.l.a),c.fill());null!==this.f&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Bd,null===b.lineDash||c.setLineDash(b.lineDash),c.lineCap=b.lineCap,c.lineJoin=b.lineJoin,c.miterLimit=b.miterLimit,c.stroke());c.closePath()};
l.mh=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.i!==this.b&&(this.a*=2);var f;for(d=0;d<=this.a;d++)f=2*d*Math.PI/this.a-Math.PI/2+this.j,e=0===d%2?this.b:this.i,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=Fl;c.fill();null!==this.f&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Bd,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
l.zb=function(){var b=null===this.f?"-":this.f.zb(),c=null===this.l?"-":this.l.zb();if(null===this.g||b!=this.g[1]||c!=this.g[2]||this.b!=this.g[3]||this.i!=this.g[4]||this.j!=this.g[5]||this.a!=this.g[6])this.g=["r"+b+c+(m(this.b)?this.b.toString():"-")+(m(this.i)?this.i.toString():"-")+(m(this.j)?this.j.toString():"-")+(m(this.a)?this.a.toString():"-"),b,c,this.b,this.i,this.j,this.a];return this.g[0]};Qe.prototype.get=Qe.prototype.get;Qe.prototype.getExtent=Qe.prototype.P;Qe.prototype.getGeometry=Qe.prototype.V;Qe.prototype.getProperties=Qe.prototype.nl;Qe.prototype.getType=Qe.prototype.U;
v("ol.animation.bounce",function(b){var c=b.resolution,d=m(b.start)?b.start:ua(),e=m(b.duration)?b.duration:1E3,f=m(b.easing)?b.easing:$f;return function(b,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=f((h.time-d)/e),n=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*n;h.viewHints[0]+=1;return!0}return!1}},OPENLAYERS);v("ol.animation.pan",ag,OPENLAYERS);v("ol.animation.rotate",bg,OPENLAYERS);v("ol.animation.zoom",cg,OPENLAYERS);
v("ol.Attribution",sg,OPENLAYERS);sg.prototype.getHTML=sg.prototype.b;tg.prototype.element=tg.prototype.element;v("ol.Collection",ug,OPENLAYERS);ug.prototype.clear=ug.prototype.clear;ug.prototype.extend=ug.prototype.uf;ug.prototype.forEach=ug.prototype.forEach;ug.prototype.getArray=ug.prototype.il;ug.prototype.item=ug.prototype.item;ug.prototype.getLength=ug.prototype.Ub;ug.prototype.insertAt=ug.prototype.ge;ug.prototype.pop=ug.prototype.pop;ug.prototype.push=ug.prototype.push;
ug.prototype.remove=ug.prototype.remove;ug.prototype.removeAt=ug.prototype.Sf;ug.prototype.setAt=ug.prototype.Co;v("ol.coordinate.add",Ob,OPENLAYERS);v("ol.coordinate.createStringXY",function(b){return function(c){return Wb(c,b)}},OPENLAYERS);v("ol.coordinate.format",Rb,OPENLAYERS);v("ol.coordinate.rotate",Tb,OPENLAYERS);v("ol.coordinate.toStringHDMS",function(b){return m(b)?Qb(b[1],"NS")+" "+Qb(b[0],"EW"):""},OPENLAYERS);v("ol.coordinate.toStringXY",Wb,OPENLAYERS);v("ol.DeviceOrientation",cs,OPENLAYERS);
cs.prototype.getAlpha=cs.prototype.rj;cs.prototype.getBeta=cs.prototype.uj;cs.prototype.getGamma=cs.prototype.Bj;cs.prototype.getHeading=cs.prototype.jl;cs.prototype.getTracking=cs.prototype.Mg;cs.prototype.setTracking=cs.prototype.vf;v("ol.easing.easeIn",function(b){return Math.pow(b,3)},OPENLAYERS);v("ol.easing.easeOut",Xf,OPENLAYERS);v("ol.easing.inAndOut",Yf,OPENLAYERS);v("ol.easing.linear",Zf,OPENLAYERS);v("ol.easing.upAndDown",$f,OPENLAYERS);v("ol.extent.boundingExtent",$b,OPENLAYERS);
v("ol.extent.buffer",ec,OPENLAYERS);v("ol.extent.containsCoordinate",hc,OPENLAYERS);v("ol.extent.containsExtent",jc,OPENLAYERS);v("ol.extent.containsXY",ic,OPENLAYERS);v("ol.extent.createEmpty",ac,OPENLAYERS);v("ol.extent.equals",oc,OPENLAYERS);v("ol.extent.extend",pc,OPENLAYERS);v("ol.extent.getBottomLeft",sc,OPENLAYERS);v("ol.extent.getBottomRight",tc,OPENLAYERS);v("ol.extent.getCenter",wc,OPENLAYERS);v("ol.extent.getHeight",yc,OPENLAYERS);v("ol.extent.getIntersection",zc,OPENLAYERS);
v("ol.extent.getSize",function(b){return[b[2]-b[0],b[3]-b[1]]},OPENLAYERS);v("ol.extent.getTopLeft",vc,OPENLAYERS);v("ol.extent.getTopRight",uc,OPENLAYERS);v("ol.extent.getWidth",Bc,OPENLAYERS);v("ol.extent.intersects",Ac,OPENLAYERS);v("ol.extent.isEmpty",Cc,OPENLAYERS);v("ol.extent.applyTransform",Ec,OPENLAYERS);v("ol.Feature",Bn,OPENLAYERS);Bn.prototype.clone=Bn.prototype.clone;Bn.prototype.getGeometry=Bn.prototype.V;Bn.prototype.getId=Bn.prototype.Ej;Bn.prototype.getGeometryName=Bn.prototype.Dj;
Bn.prototype.getStyle=Bn.prototype.ll;Bn.prototype.getStyleFunction=Bn.prototype.Ta;Bn.prototype.setGeometry=Bn.prototype.za;Bn.prototype.setStyle=Bn.prototype.wf;Bn.prototype.setId=Bn.prototype.fc;Bn.prototype.setGeometryName=Bn.prototype.xc;v("ol.featureloader.tile",Dp,OPENLAYERS);v("ol.featureloader.xhr",Ep,OPENLAYERS);v("ol.Geolocation",Qx,OPENLAYERS);Qx.prototype.getAccuracy=Qx.prototype.pj;Qx.prototype.getAccuracyGeometry=Qx.prototype.qj;Qx.prototype.getAltitude=Qx.prototype.sj;
Qx.prototype.getAltitudeAccuracy=Qx.prototype.tj;Qx.prototype.getHeading=Qx.prototype.ol;Qx.prototype.getPosition=Qx.prototype.pl;Qx.prototype.getProjection=Qx.prototype.Ng;Qx.prototype.getSpeed=Qx.prototype.Yj;Qx.prototype.getTracking=Qx.prototype.Og;Qx.prototype.getTrackingOptions=Qx.prototype.zg;Qx.prototype.setProjection=Qx.prototype.Pg;Qx.prototype.setTracking=Qx.prototype.me;Qx.prototype.setTrackingOptions=Qx.prototype.Th;v("ol.Graticule",Ux,OPENLAYERS);Ux.prototype.getMap=Ux.prototype.sl;
Ux.prototype.getMeridians=Ux.prototype.Nj;Ux.prototype.getParallels=Ux.prototype.Sj;Ux.prototype.setMap=Ux.prototype.setMap;v("ol.has.DEVICE_PIXEL_RATIO",dj,OPENLAYERS);v("ol.has.CANVAS",fj,OPENLAYERS);v("ol.has.DEVICE_ORIENTATION",gj,OPENLAYERS);v("ol.has.GEOLOCATION",hj,OPENLAYERS);v("ol.has.TOUCH",ij,OPENLAYERS);v("ol.has.WEBGL",cj,OPENLAYERS);Zx.prototype.getImage=Zx.prototype.W;$x.prototype.getImage=$x.prototype.W;v("ol.Kinetic",Rk,OPENLAYERS);v("ol.loadingstrategy.all",Fp,OPENLAYERS);
v("ol.loadingstrategy.bbox",function(b){return[b]},OPENLAYERS);v("ol.loadingstrategy.tile",function(b){return function(c,d){var e=Rh(b,d),f=mg(b,c,e),g=[],e=[e,0,0];for(e[1]=f.a;e[1]<=f.c;++e[1])for(e[2]=f.f;e[2]<=f.b;++e[2])g.push(Nh(b,e));return g}},OPENLAYERS);v("ol.Map",X,OPENLAYERS);X.prototype.addControl=X.prototype.Xi;X.prototype.addInteraction=X.prototype.Yi;X.prototype.addLayer=X.prototype.kg;X.prototype.addOverlay=X.prototype.lg;X.prototype.beforeRender=X.prototype.Ka;
X.prototype.forEachFeatureAtPixel=X.prototype.md;X.prototype.forEachLayerAtPixel=X.prototype.wl;X.prototype.hasFeatureAtPixel=X.prototype.Ok;X.prototype.getEventCoordinate=X.prototype.yj;X.prototype.getEventPixel=X.prototype.Sd;X.prototype.getTarget=X.prototype.xf;X.prototype.getTargetElement=X.prototype.Lc;X.prototype.getCoordinateFromPixel=X.prototype.Da;X.prototype.getControls=X.prototype.wj;X.prototype.getOverlays=X.prototype.Rj;X.prototype.getInteractions=X.prototype.Fj;
X.prototype.getLayerGroup=X.prototype.oc;X.prototype.getLayers=X.prototype.Qg;X.prototype.getPixelFromCoordinate=X.prototype.La;X.prototype.getSize=X.prototype.Na;X.prototype.getView=X.prototype.$;X.prototype.getViewport=X.prototype.dk;X.prototype.renderSync=X.prototype.yo;X.prototype.render=X.prototype.render;X.prototype.removeControl=X.prototype.ro;X.prototype.removeInteraction=X.prototype.so;X.prototype.removeLayer=X.prototype.uo;X.prototype.removeOverlay=X.prototype.vo;
X.prototype.setLayerGroup=X.prototype.Ph;X.prototype.setSize=X.prototype.Vf;X.prototype.setTarget=X.prototype.xl;X.prototype.setView=X.prototype.Oo;X.prototype.updateSize=X.prototype.Uc;Uj.prototype.originalEvent=Uj.prototype.originalEvent;Uj.prototype.pixel=Uj.prototype.pixel;Uj.prototype.coordinate=Uj.prototype.coordinate;Uj.prototype.dragging=Uj.prototype.dragging;Uj.prototype.preventDefault=Uj.prototype.preventDefault;Uj.prototype.stopPropagation=Uj.prototype.b;yh.prototype.map=yh.prototype.map;
yh.prototype.frameState=yh.prototype.frameState;ie.prototype.key=ie.prototype.key;ie.prototype.oldValue=ie.prototype.oldValue;v("ol.Object",je,OPENLAYERS);je.prototype.get=je.prototype.get;je.prototype.getKeys=je.prototype.N;je.prototype.getProperties=je.prototype.O;je.prototype.set=je.prototype.set;je.prototype.setProperties=je.prototype.H;je.prototype.unset=je.prototype.R;v("ol.Observable",ge,OPENLAYERS);v("ol.Observable.unByKey",he,OPENLAYERS);ge.prototype.changed=ge.prototype.o;
ge.prototype.getRevision=ge.prototype.J;ge.prototype.on=ge.prototype.G;ge.prototype.once=ge.prototype.K;ge.prototype.un=ge.prototype.I;ge.prototype.unByKey=ge.prototype.L;v("ol.inherits",x,OPENLAYERS);v("ol.Overlay",Ar,OPENLAYERS);Ar.prototype.getElement=Ar.prototype.ne;Ar.prototype.getMap=Ar.prototype.oe;Ar.prototype.getOffset=Ar.prototype.xg;Ar.prototype.getPosition=Ar.prototype.Rg;Ar.prototype.getPositioning=Ar.prototype.yg;Ar.prototype.setElement=Ar.prototype.Mh;Ar.prototype.setMap=Ar.prototype.setMap;
Ar.prototype.setOffset=Ar.prototype.Rh;Ar.prototype.setPosition=Ar.prototype.yf;Ar.prototype.setPositioning=Ar.prototype.Sh;v("ol.size.toSize",Zb,OPENLAYERS);Eh.prototype.getTileCoord=Eh.prototype.g;bq.prototype.getFormat=bq.prototype.yl;bq.prototype.setLoader=bq.prototype.Qh;v("ol.View",Rf,OPENLAYERS);Rf.prototype.constrainCenter=Rf.prototype.Pd;Rf.prototype.constrainResolution=Rf.prototype.constrainResolution;Rf.prototype.constrainRotation=Rf.prototype.constrainRotation;Rf.prototype.getCenter=Rf.prototype.Oa;
Rf.prototype.calculateExtent=Rf.prototype.Zc;Rf.prototype.getProjection=Rf.prototype.zl;Rf.prototype.getResolution=Rf.prototype.ya;Rf.prototype.getRotation=Rf.prototype.Ba;Rf.prototype.getZoom=Rf.prototype.fk;Rf.prototype.fit=Rf.prototype.df;Rf.prototype.centerOn=Rf.prototype.gj;Rf.prototype.rotate=Rf.prototype.rotate;Rf.prototype.setCenter=Rf.prototype.bb;Rf.prototype.setResolution=Rf.prototype.Nb;Rf.prototype.setRotation=Rf.prototype.pe;Rf.prototype.setZoom=Rf.prototype.Ro;
v("ol.xml.getAllTextContent",Xo,OPENLAYERS);v("ol.xml.parse",qp,OPENLAYERS);v("ol.webgl.Context",Gq,OPENLAYERS);Gq.prototype.getGL=Gq.prototype.zn;Gq.prototype.getHitDetectionFramebuffer=Gq.prototype.mf;Gq.prototype.useProgram=Gq.prototype.Be;v("ol.tilegrid.TileGrid",Jh,OPENLAYERS);Jh.prototype.getMaxZoom=Jh.prototype.vg;Jh.prototype.getMinZoom=Jh.prototype.wg;Jh.prototype.getOrigin=Jh.prototype.Qc;Jh.prototype.getResolution=Jh.prototype.Ca;Jh.prototype.getResolutions=Jh.prototype.oh;
Jh.prototype.getTileCoordForCoordAndResolution=Jh.prototype.pd;Jh.prototype.getTileCoordForCoordAndZ=Jh.prototype.be;Jh.prototype.getTileSize=Jh.prototype.Ha;v("ol.tilegrid.createXYZ",Sh,OPENLAYERS);v("ol.tilegrid.WMTS",AA,OPENLAYERS);AA.prototype.getMatrixIds=AA.prototype.B;v("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",BA,OPENLAYERS);v("ol.style.AtlasManager",GA,OPENLAYERS);v("ol.style.Circle",Jl,OPENLAYERS);Jl.prototype.getFill=Jl.prototype.Xm;Jl.prototype.getImage=Jl.prototype.W;
Jl.prototype.getRadius=Jl.prototype.Ym;Jl.prototype.getStroke=Jl.prototype.Zm;v("ol.style.Fill",Il,OPENLAYERS);Il.prototype.getColor=Il.prototype.b;Il.prototype.setColor=Il.prototype.c;v("ol.style.Icon",Ck,OPENLAYERS);Ck.prototype.getAnchor=Ck.prototype.Sb;Ck.prototype.getImage=Ck.prototype.W;Ck.prototype.getOrigin=Ck.prototype.$b;Ck.prototype.getSrc=Ck.prototype.$m;Ck.prototype.getSize=Ck.prototype.rb;Ck.prototype.load=Ck.prototype.load;v("ol.style.Image",Bk,OPENLAYERS);Bk.prototype.getOpacity=Bk.prototype.ve;
Bk.prototype.getRotateWithView=Bk.prototype.Zd;Bk.prototype.getRotation=Bk.prototype.we;Bk.prototype.getScale=Bk.prototype.xe;Bk.prototype.getSnapToPixel=Bk.prototype.ae;Bk.prototype.setOpacity=Bk.prototype.ye;Bk.prototype.setRotation=Bk.prototype.ze;Bk.prototype.setScale=Bk.prototype.Ae;v("ol.style.RegularShape",KA,OPENLAYERS);KA.prototype.getAnchor=KA.prototype.Sb;KA.prototype.getAngle=KA.prototype.an;KA.prototype.getFill=KA.prototype.bn;KA.prototype.getImage=KA.prototype.W;
KA.prototype.getOrigin=KA.prototype.$b;KA.prototype.getPoints=KA.prototype.cn;KA.prototype.getRadius=KA.prototype.dn;KA.prototype.getRadius2=KA.prototype.Wj;KA.prototype.getSize=KA.prototype.rb;KA.prototype.getStroke=KA.prototype.en;v("ol.style.Stroke",El,OPENLAYERS);El.prototype.getColor=El.prototype.fn;El.prototype.getLineCap=El.prototype.Ij;El.prototype.getLineDash=El.prototype.gn;El.prototype.getLineJoin=El.prototype.Jj;El.prototype.getMiterLimit=El.prototype.Oj;El.prototype.getWidth=El.prototype.hn;
El.prototype.setColor=El.prototype.jn;El.prototype.setLineCap=El.prototype.Ho;El.prototype.setLineDash=El.prototype.kn;El.prototype.setLineJoin=El.prototype.Io;El.prototype.setMiterLimit=El.prototype.Jo;El.prototype.setWidth=El.prototype.Po;v("ol.style.Style",Kl,OPENLAYERS);Kl.prototype.getGeometry=Kl.prototype.V;Kl.prototype.getGeometryFunction=Kl.prototype.Cj;Kl.prototype.getFill=Kl.prototype.ln;Kl.prototype.getImage=Kl.prototype.W;Kl.prototype.getStroke=Kl.prototype.mn;Kl.prototype.getText=Kl.prototype.nn;
Kl.prototype.getZIndex=Kl.prototype.pn;Kl.prototype.setGeometry=Kl.prototype.za;Kl.prototype.setZIndex=Kl.prototype.qn;v("ol.style.Text",bu,OPENLAYERS);bu.prototype.getFont=bu.prototype.Aj;bu.prototype.getOffsetX=bu.prototype.Pj;bu.prototype.getOffsetY=bu.prototype.Qj;bu.prototype.getFill=bu.prototype.rn;bu.prototype.getRotation=bu.prototype.sn;bu.prototype.getScale=bu.prototype.tn;bu.prototype.getStroke=bu.prototype.vn;bu.prototype.getText=bu.prototype.wn;bu.prototype.getTextAlign=bu.prototype.$j;
bu.prototype.getTextBaseline=bu.prototype.ak;bu.prototype.setFont=bu.prototype.Eo;bu.prototype.setFill=bu.prototype.Do;bu.prototype.setRotation=bu.prototype.xn;bu.prototype.setScale=bu.prototype.yn;bu.prototype.setStroke=bu.prototype.Ko;bu.prototype.setText=bu.prototype.Lo;bu.prototype.setTextAlign=bu.prototype.Mo;bu.prototype.setTextBaseline=bu.prototype.No;v("ol.Sphere",oe,OPENLAYERS);oe.prototype.geodesicArea=oe.prototype.f;oe.prototype.haversineDistance=oe.prototype.a;
v("ol.source.BingMaps",Jz,OPENLAYERS);v("ol.source.BingMaps.TOS_ATTRIBUTION",Kz,OPENLAYERS);v("ol.source.Cluster",Lz,OPENLAYERS);Lz.prototype.getSource=Lz.prototype.ga;v("ol.source.ImageCanvas",An,OPENLAYERS);v("ol.source.ImageMapGuide",Oz,OPENLAYERS);Oz.prototype.getParams=Oz.prototype.qm;Oz.prototype.getImageLoadFunction=Oz.prototype.pm;Oz.prototype.updateParams=Oz.prototype.tm;Oz.prototype.setImageLoadFunction=Oz.prototype.sm;v("ol.source.Image",tn,OPENLAYERS);vn.prototype.image=vn.prototype.image;
v("ol.source.ImageStatic",Pz,OPENLAYERS);v("ol.source.ImageVector",Xp,OPENLAYERS);Xp.prototype.getSource=Xp.prototype.um;Xp.prototype.getStyle=Xp.prototype.vm;Xp.prototype.getStyleFunction=Xp.prototype.wm;Xp.prototype.setStyle=Xp.prototype.fh;v("ol.source.ImageWMS",Qz,OPENLAYERS);Qz.prototype.getGetFeatureInfoUrl=Qz.prototype.zm;Qz.prototype.getParams=Qz.prototype.Bm;Qz.prototype.getImageLoadFunction=Qz.prototype.Am;Qz.prototype.getUrl=Qz.prototype.Cm;Qz.prototype.setImageLoadFunction=Qz.prototype.Dm;
Qz.prototype.setUrl=Qz.prototype.Em;Qz.prototype.updateParams=Qz.prototype.Fm;v("ol.source.MapQuest",Xz,OPENLAYERS);Xz.prototype.getLayer=Xz.prototype.A;v("ol.source.OSM",Vz,OPENLAYERS);v("ol.source.OSM.ATTRIBUTION",Wz,OPENLAYERS);v("ol.source.Raster",$z,OPENLAYERS);$z.prototype.setOperation=$z.prototype.A;dA.prototype.extent=dA.prototype.extent;dA.prototype.resolution=dA.prototype.resolution;dA.prototype.data=dA.prototype.data;v("ol.source.Source",Gh,OPENLAYERS);Gh.prototype.getAttributions=Gh.prototype.pa;
Gh.prototype.getLogo=Gh.prototype.oa;Gh.prototype.getProjection=Gh.prototype.qa;Gh.prototype.getState=Gh.prototype.ra;Gh.prototype.setAttributions=Gh.prototype.la;v("ol.source.Stamen",iA,OPENLAYERS);v("ol.source.TileArcGISRest",kA,OPENLAYERS);kA.prototype.getParams=kA.prototype.Gm;kA.prototype.getUrls=kA.prototype.Hm;kA.prototype.setUrl=kA.prototype.Im;kA.prototype.setUrls=kA.prototype.gh;kA.prototype.updateParams=kA.prototype.Km;v("ol.source.TileDebug",mA,OPENLAYERS);v("ol.source.TileImage",Hz,OPENLAYERS);
v("ol.source.TileJSON",nA,OPENLAYERS);v("ol.source.Tile",Uh,OPENLAYERS);Uh.prototype.getTileGrid=Uh.prototype.Ea;Yh.prototype.tile=Yh.prototype.tile;v("ol.source.TileUTFGrid",oA,OPENLAYERS);oA.prototype.getTemplate=oA.prototype.Zj;oA.prototype.forDataAtCoordinateAndResolution=oA.prototype.lj;v("ol.source.TileVector",tA,OPENLAYERS);tA.prototype.getFeaturesAtCoordinateAndResolution=tA.prototype.zj;v("ol.source.TileWMS",wA,OPENLAYERS);wA.prototype.getGetFeatureInfoUrl=wA.prototype.Nm;
wA.prototype.getParams=wA.prototype.Om;wA.prototype.getUrls=wA.prototype.Pm;wA.prototype.setUrl=wA.prototype.Qm;wA.prototype.setUrls=wA.prototype.hh;wA.prototype.updateParams=wA.prototype.Sm;hq.prototype.getTileLoadFunction=hq.prototype.Ra;hq.prototype.getTileUrlFunction=hq.prototype.Sa;hq.prototype.setTileLoadFunction=hq.prototype.Va;hq.prototype.setTileUrlFunction=hq.prototype.Fa;v("ol.source.Vector",W,OPENLAYERS);W.prototype.addFeature=W.prototype.Oc;W.prototype.addFeatures=W.prototype.kc;
W.prototype.clear=W.prototype.clear;W.prototype.forEachFeature=W.prototype.ef;W.prototype.forEachFeatureInExtent=W.prototype.Jc;W.prototype.forEachFeatureIntersectingExtent=W.prototype.ff;W.prototype.getFeaturesCollection=W.prototype.lf;W.prototype.getFeatures=W.prototype.Pc;W.prototype.getFeaturesAtCoordinate=W.prototype.kf;W.prototype.getFeaturesInExtent=W.prototype.Td;W.prototype.getClosestFeatureToCoordinate=W.prototype.hf;W.prototype.getExtent=W.prototype.P;W.prototype.getFeatureById=W.prototype.jf;
W.prototype.removeFeature=W.prototype.uc;Up.prototype.feature=Up.prototype.feature;v("ol.source.VectorTile",iq,OPENLAYERS);v("ol.source.WMTS",CA,OPENLAYERS);CA.prototype.getDimensions=CA.prototype.xj;CA.prototype.getFormat=CA.prototype.Tm;CA.prototype.getLayer=CA.prototype.Um;CA.prototype.getMatrixSet=CA.prototype.Mj;CA.prototype.getRequestEncoding=CA.prototype.Xj;CA.prototype.getStyle=CA.prototype.Vm;CA.prototype.getUrls=CA.prototype.Wm;CA.prototype.getVersion=CA.prototype.ck;
CA.prototype.updateDimensions=CA.prototype.Zo;
v("ol.source.WMTS.optionsFromCapabilities",function(b,c){var d=rb(b.Contents.Layer,function(b){return b.Identifier==c.layer}),e=b.Contents.TileMatrixSet,f,g;f=1<d.TileMatrixSetLink.length?m(c.projection)?sb(d.TileMatrixSetLink,function(b){return rb(e,function(c){return c.Identifier==b.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==c.projection}):sb(d.TileMatrixSetLink,function(b){return b.TileMatrixSet==c.matrixSet}):0;0>f&&(f=0);g=d.TileMatrixSetLink[f].TileMatrixSet;
var h=d.Format[0];m(c.format)&&(h=c.format);f=sb(d.Style,function(b){return m(c.style)?b.Title==c.style:b.isDefault});0>f&&(f=0);f=d.Style[f].Identifier;var k={};m(d.Dimension)&&nb(d.Dimension,function(b){var c=b.Identifier,d=b["default"];m(d)||(d=b.values[0]);k[c]=d});var n=rb(b.Contents.TileMatrixSet,function(b){return b.Identifier==g}),p;p=m(c.projection)?te(c.projection):te(n.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var q=d.WGS84BoundingBox,r,t;m(q)&&(t=te("EPSG:4326").P(),
t=q[0]==t[0]&&q[2]==t[2],r=Oe(q,"EPSG:4326",p),q=p.P(),null===q||jc(q,r)||(r=void 0));var n=BA(n,r),u=[];r=c.requestEncoding;r=m(r)?r:"";if(b.hasOwnProperty("OperationsMetadata")&&b.OperationsMetadata.hasOwnProperty("GetTile")&&0!=r.lastIndexOf("REST",0))for(var d=b.OperationsMetadata.GetTile.DCP.HTTP.Get,q=0,z=d.length;q<z;++q){var w=rb(d[q].Constraint,function(b){return"GetEncoding"==b.name}).AllowedValues.Value;0<w.length&&tb(w,"KVP")&&(r="KVP",u.push(d[q].href))}else r="REST",nb(d.ResourceURL,
function(b){"tile"==b.resourceType&&(h=b.format,u.push(b.template))});return{urls:u,layer:c.layer,matrixSet:g,format:h,projection:p,requestEncoding:r,tileGrid:n,style:f,dimensions:k,wrapX:t}},OPENLAYERS);v("ol.source.XYZ",Uz,OPENLAYERS);Uz.prototype.getUrls=Uz.prototype.i;Uz.prototype.setUrl=Uz.prototype.c;v("ol.source.Zoomify",EA,OPENLAYERS);kk.prototype.vectorContext=kk.prototype.vectorContext;kk.prototype.frameState=kk.prototype.frameState;kk.prototype.context=kk.prototype.context;
kk.prototype.glContext=kk.prototype.glContext;v("ol.render.VectorContext",jk,OPENLAYERS);br.prototype.drawAsync=br.prototype.Fc;br.prototype.drawCircleGeometry=br.prototype.Gc;br.prototype.drawFeature=br.prototype.cf;br.prototype.drawGeometryCollectionGeometry=br.prototype.Qd;br.prototype.drawPointGeometry=br.prototype.wb;br.prototype.drawLineStringGeometry=br.prototype.Qb;br.prototype.drawMultiLineStringGeometry=br.prototype.Hc;br.prototype.drawMultiPointGeometry=br.prototype.vb;
br.prototype.drawMultiPolygonGeometry=br.prototype.Ic;br.prototype.drawPolygonGeometry=br.prototype.mc;br.prototype.drawText=br.prototype.xb;br.prototype.setFillStrokeStyle=br.prototype.Pa;br.prototype.setImageStyle=br.prototype.nb;br.prototype.setTextStyle=br.prototype.Qa;nm.prototype.drawAsync=nm.prototype.Fc;nm.prototype.drawCircleGeometry=nm.prototype.Gc;nm.prototype.drawFeature=nm.prototype.cf;nm.prototype.drawPointGeometry=nm.prototype.wb;nm.prototype.drawMultiPointGeometry=nm.prototype.vb;
nm.prototype.drawLineStringGeometry=nm.prototype.Qb;nm.prototype.drawMultiLineStringGeometry=nm.prototype.Hc;nm.prototype.drawPolygonGeometry=nm.prototype.mc;nm.prototype.drawMultiPolygonGeometry=nm.prototype.Ic;nm.prototype.setFillStrokeStyle=nm.prototype.Pa;nm.prototype.setImageStyle=nm.prototype.nb;nm.prototype.setTextStyle=nm.prototype.Qa;v("ol.proj.common.add",lm,OPENLAYERS);v("ol.proj.METERS_PER_UNIT",qe,OPENLAYERS);v("ol.proj.Projection",re,OPENLAYERS);re.prototype.getCode=re.prototype.vj;
re.prototype.getExtent=re.prototype.P;re.prototype.getUnits=re.prototype.jm;re.prototype.getMetersPerUnit=re.prototype.Xd;re.prototype.getWorldExtent=re.prototype.ek;re.prototype.isGlobal=re.prototype.Tk;re.prototype.setGlobal=re.prototype.Go;re.prototype.setExtent=re.prototype.km;re.prototype.setWorldExtent=re.prototype.Qo;re.prototype.setGetPointResolution=re.prototype.Fo;re.prototype.getPointResolution=re.prototype.getPointResolution;v("ol.proj.addEquivalentProjections",ue,OPENLAYERS);
v("ol.proj.addProjection",He,OPENLAYERS);v("ol.proj.addCoordinateTransforms",ve,OPENLAYERS);v("ol.proj.fromLonLat",function(b,c){return Ne(b,"EPSG:4326",m(c)?c:"EPSG:3857")},OPENLAYERS);v("ol.proj.toLonLat",function(b,c){return Ne(b,m(c)?c:"EPSG:3857","EPSG:4326")},OPENLAYERS);v("ol.proj.get",te,OPENLAYERS);v("ol.proj.getTransform",Le,OPENLAYERS);v("ol.proj.transform",Ne,OPENLAYERS);v("ol.proj.transformExtent",Oe,OPENLAYERS);v("ol.layer.Heatmap",Z,OPENLAYERS);Z.prototype.getBlur=Z.prototype.qg;
Z.prototype.getGradient=Z.prototype.tg;Z.prototype.getRadius=Z.prototype.$g;Z.prototype.setBlur=Z.prototype.Kh;Z.prototype.setGradient=Z.prototype.Oh;Z.prototype.setRadius=Z.prototype.ah;v("ol.layer.Image",L,OPENLAYERS);L.prototype.getSource=L.prototype.da;v("ol.layer.Layer",G,OPENLAYERS);G.prototype.getSource=G.prototype.da;G.prototype.setMap=G.prototype.setMap;G.prototype.setSource=G.prototype.yc;v("ol.layer.Base",F,OPENLAYERS);F.prototype.getBrightness=F.prototype.yb;F.prototype.getContrast=F.prototype.Ab;
F.prototype.getHue=F.prototype.Cb;F.prototype.getExtent=F.prototype.P;F.prototype.getMaxResolution=F.prototype.Fb;F.prototype.getMinResolution=F.prototype.Gb;F.prototype.getOpacity=F.prototype.Kb;F.prototype.getSaturation=F.prototype.Hb;F.prototype.getVisible=F.prototype.jb;F.prototype.getZIndex=F.prototype.Lb;F.prototype.setBrightness=F.prototype.cc;F.prototype.setContrast=F.prototype.dc;F.prototype.setHue=F.prototype.ec;F.prototype.setExtent=F.prototype.Wb;F.prototype.setMaxResolution=F.prototype.gc;
F.prototype.setMinResolution=F.prototype.hc;F.prototype.setOpacity=F.prototype.Xb;F.prototype.setSaturation=F.prototype.ic;F.prototype.setVisible=F.prototype.Yb;F.prototype.setZIndex=F.prototype.Zb;v("ol.layer.Group",I,OPENLAYERS);I.prototype.getLayers=I.prototype.Nc;I.prototype.setLayers=I.prototype.Zg;v("ol.layer.Tile",M,OPENLAYERS);M.prototype.getPreload=M.prototype.a;M.prototype.getSource=M.prototype.da;M.prototype.setPreload=M.prototype.c;M.prototype.getUseInterimTilesOnError=M.prototype.b;
M.prototype.setUseInterimTilesOnError=M.prototype.g;v("ol.layer.Vector",N,OPENLAYERS);N.prototype.getSource=N.prototype.da;N.prototype.getStyle=N.prototype.D;N.prototype.getStyleFunction=N.prototype.C;N.prototype.setStyle=N.prototype.c;v("ol.layer.VectorTile",O,OPENLAYERS);O.prototype.getPreload=O.prototype.g;O.prototype.getSource=O.prototype.da;O.prototype.getUseInterimTilesOnError=O.prototype.T;O.prototype.setPreload=O.prototype.S;O.prototype.setUseInterimTilesOnError=O.prototype.Z;
v("ol.interaction.DoubleClickZoom",Yk,OPENLAYERS);v("ol.interaction.DoubleClickZoom.handleEvent",Zk,OPENLAYERS);v("ol.interaction.DragAndDrop",uy,OPENLAYERS);v("ol.interaction.DragAndDrop.handleEvent",xa,OPENLAYERS);vy.prototype.features=vy.prototype.features;vy.prototype.file=vy.prototype.file;vy.prototype.projection=vy.prototype.projection;vl.prototype.coordinate=vl.prototype.coordinate;v("ol.interaction.DragBox",wl,OPENLAYERS);wl.prototype.getGeometry=wl.prototype.V;
v("ol.interaction.DragPan",jl,OPENLAYERS);v("ol.interaction.DragRotateAndZoom",yy,OPENLAYERS);v("ol.interaction.DragRotate",nl,OPENLAYERS);v("ol.interaction.DragZoom",Ql,OPENLAYERS);Cy.prototype.feature=Cy.prototype.feature;v("ol.interaction.Draw",Dy,OPENLAYERS);v("ol.interaction.Draw.handleEvent",Fy,OPENLAYERS);Dy.prototype.removeLastPoint=Dy.prototype.to;Dy.prototype.finishDrawing=Dy.prototype.ld;Dy.prototype.extend=Dy.prototype.Tl;
v("ol.interaction.Draw.createRegularPolygon",function(b,c){return function(d,e){var f=d[0],g=d[1],h=Math.sqrt(Ub(f,g)),k=m(e)?e:Pf(new Zm(f),b);Qf(k,f,h,m(c)?c:Math.atan((g[1]-f[1])/(g[0]-f[0])));return k}},OPENLAYERS);v("ol.interaction.Interaction",Uk,OPENLAYERS);Uk.prototype.getActive=Uk.prototype.b;Uk.prototype.setActive=Uk.prototype.g;v("ol.interaction.defaults",em,OPENLAYERS);v("ol.interaction.KeyboardPan",Rl,OPENLAYERS);v("ol.interaction.KeyboardPan.handleEvent",Sl,OPENLAYERS);
v("ol.interaction.KeyboardZoom",Tl,OPENLAYERS);v("ol.interaction.KeyboardZoom.handleEvent",Ul,OPENLAYERS);Ty.prototype.features=Ty.prototype.features;Ty.prototype.mapBrowserPointerEvent=Ty.prototype.mapBrowserPointerEvent;v("ol.interaction.Modify",Uy,OPENLAYERS);v("ol.interaction.Modify.handleEvent",Xy,OPENLAYERS);v("ol.interaction.MouseWheelZoom",Vl,OPENLAYERS);v("ol.interaction.MouseWheelZoom.handleEvent",Wl,OPENLAYERS);v("ol.interaction.PinchRotate",Xl,OPENLAYERS);
v("ol.interaction.PinchZoom",am,OPENLAYERS);v("ol.interaction.Pointer",gl,OPENLAYERS);v("ol.interaction.Pointer.handleEvent",hl,OPENLAYERS);fz.prototype.selected=fz.prototype.selected;fz.prototype.deselected=fz.prototype.deselected;fz.prototype.mapBrowserEvent=fz.prototype.mapBrowserEvent;v("ol.interaction.Select",gz,OPENLAYERS);gz.prototype.getFeatures=gz.prototype.D;v("ol.interaction.Select.handleEvent",hz,OPENLAYERS);gz.prototype.setMap=gz.prototype.setMap;v("ol.interaction.Snap",jz,OPENLAYERS);
jz.prototype.addFeature=jz.prototype.sd;jz.prototype.removeFeature=jz.prototype.td;v("ol.interaction.Translate",nz,OPENLAYERS);v("ol.geom.Circle",Zm,OPENLAYERS);Zm.prototype.clone=Zm.prototype.clone;Zm.prototype.getCenter=Zm.prototype.rd;Zm.prototype.getRadius=Zm.prototype.zf;Zm.prototype.getType=Zm.prototype.U;Zm.prototype.intersectsExtent=Zm.prototype.Aa;Zm.prototype.setCenter=Zm.prototype.Ll;Zm.prototype.setCenterAndRadius=Zm.prototype.Uf;Zm.prototype.setRadius=Zm.prototype.Ml;
Zm.prototype.transform=Zm.prototype.transform;v("ol.geom.Geometry",Pe,OPENLAYERS);Pe.prototype.getClosestPoint=Pe.prototype.hb;Pe.prototype.getExtent=Pe.prototype.P;Pe.prototype.transform=Pe.prototype.transform;v("ol.geom.GeometryCollection",an,OPENLAYERS);an.prototype.clone=an.prototype.clone;an.prototype.getGeometries=an.prototype.sg;an.prototype.getType=an.prototype.U;an.prototype.intersectsExtent=an.prototype.Aa;an.prototype.setGeometries=an.prototype.Nh;an.prototype.applyTransform=an.prototype.lc;
an.prototype.translate=an.prototype.translate;v("ol.geom.LinearRing",wf,OPENLAYERS);wf.prototype.clone=wf.prototype.clone;wf.prototype.getArea=wf.prototype.Pl;wf.prototype.getCoordinates=wf.prototype.X;wf.prototype.getType=wf.prototype.U;wf.prototype.setCoordinates=wf.prototype.ma;v("ol.geom.LineString",P,OPENLAYERS);P.prototype.appendCoordinate=P.prototype.Zi;P.prototype.clone=P.prototype.clone;P.prototype.forEachSegment=P.prototype.oj;P.prototype.getCoordinateAtM=P.prototype.Nl;
P.prototype.getCoordinates=P.prototype.X;P.prototype.getLength=P.prototype.Ol;P.prototype.getType=P.prototype.U;P.prototype.intersectsExtent=P.prototype.Aa;P.prototype.setCoordinates=P.prototype.ma;v("ol.geom.MultiLineString",jn,OPENLAYERS);jn.prototype.appendLineString=jn.prototype.$i;jn.prototype.clone=jn.prototype.clone;jn.prototype.getCoordinateAtM=jn.prototype.Ql;jn.prototype.getCoordinates=jn.prototype.X;jn.prototype.getLineString=jn.prototype.Kj;jn.prototype.getLineStrings=jn.prototype.od;
jn.prototype.getType=jn.prototype.U;jn.prototype.intersectsExtent=jn.prototype.Aa;jn.prototype.setCoordinates=jn.prototype.ma;v("ol.geom.MultiPoint",ln,OPENLAYERS);ln.prototype.appendPoint=ln.prototype.bj;ln.prototype.clone=ln.prototype.clone;ln.prototype.getCoordinates=ln.prototype.X;ln.prototype.getPoint=ln.prototype.Tj;ln.prototype.getPoints=ln.prototype.qe;ln.prototype.getType=ln.prototype.U;ln.prototype.intersectsExtent=ln.prototype.Aa;ln.prototype.setCoordinates=ln.prototype.ma;
v("ol.geom.MultiPolygon",mn,OPENLAYERS);mn.prototype.appendPolygon=mn.prototype.cj;mn.prototype.clone=mn.prototype.clone;mn.prototype.getArea=mn.prototype.Rl;mn.prototype.getCoordinates=mn.prototype.X;mn.prototype.getInteriorPoints=mn.prototype.Hj;mn.prototype.getPolygon=mn.prototype.Vj;mn.prototype.getPolygons=mn.prototype.Yd;mn.prototype.getType=mn.prototype.U;mn.prototype.intersectsExtent=mn.prototype.Aa;mn.prototype.setCoordinates=mn.prototype.ma;v("ol.geom.Point",yf,OPENLAYERS);
yf.prototype.clone=yf.prototype.clone;yf.prototype.getCoordinates=yf.prototype.X;yf.prototype.getType=yf.prototype.U;yf.prototype.intersectsExtent=yf.prototype.Aa;yf.prototype.setCoordinates=yf.prototype.ma;v("ol.geom.Polygon",E,OPENLAYERS);E.prototype.appendLinearRing=E.prototype.aj;E.prototype.clone=E.prototype.clone;E.prototype.getArea=E.prototype.Sl;E.prototype.getCoordinates=E.prototype.X;E.prototype.getInteriorPoint=E.prototype.Gj;E.prototype.getLinearRingCount=E.prototype.Lj;
E.prototype.getLinearRing=E.prototype.ug;E.prototype.getLinearRings=E.prototype.Wd;E.prototype.getType=E.prototype.U;E.prototype.intersectsExtent=E.prototype.Aa;E.prototype.setCoordinates=E.prototype.ma;v("ol.geom.Polygon.circular",Nf,OPENLAYERS);v("ol.geom.Polygon.fromExtent",Of,OPENLAYERS);v("ol.geom.Polygon.fromCircle",Pf,OPENLAYERS);v("ol.geom.SimpleGeometry",cf,OPENLAYERS);cf.prototype.getFirstCoordinate=cf.prototype.Bb;cf.prototype.getLastCoordinate=cf.prototype.Db;cf.prototype.getLayout=cf.prototype.Eb;
cf.prototype.applyTransform=cf.prototype.lc;cf.prototype.translate=cf.prototype.translate;v("ol.format.EsriJSON",js,OPENLAYERS);js.prototype.readFeature=js.prototype.Mb;js.prototype.readFeatures=js.prototype.xa;js.prototype.readGeometry=js.prototype.Sc;js.prototype.readProjection=js.prototype.Ga;js.prototype.writeGeometry=js.prototype.Wc;js.prototype.writeGeometryObject=js.prototype.Oe;js.prototype.writeFeature=js.prototype.Dd;js.prototype.writeFeatureObject=js.prototype.Vc;
js.prototype.writeFeatures=js.prototype.Ob;js.prototype.writeFeaturesObject=js.prototype.Me;v("ol.format.Feature",ds,OPENLAYERS);v("ol.format.GeoJSON",qs,OPENLAYERS);qs.prototype.readFeature=qs.prototype.Mb;qs.prototype.readFeatures=qs.prototype.xa;qs.prototype.readGeometry=qs.prototype.Sc;qs.prototype.readProjection=qs.prototype.Ga;qs.prototype.writeFeature=qs.prototype.Dd;qs.prototype.writeFeatureObject=qs.prototype.Vc;qs.prototype.writeFeatures=qs.prototype.Ob;
qs.prototype.writeFeaturesObject=qs.prototype.Me;qs.prototype.writeGeometry=qs.prototype.Wc;qs.prototype.writeGeometryObject=qs.prototype.Oe;v("ol.format.GPX",Us,OPENLAYERS);Us.prototype.readFeature=Us.prototype.Mb;Us.prototype.readFeatures=Us.prototype.xa;Us.prototype.readProjection=Us.prototype.Ga;Us.prototype.writeFeatures=Us.prototype.Ob;Us.prototype.writeFeaturesNode=Us.prototype.f;v("ol.format.IGC",Et,OPENLAYERS);Et.prototype.readFeature=Et.prototype.Mb;Et.prototype.readFeatures=Et.prototype.xa;
Et.prototype.readProjection=Et.prototype.Ga;v("ol.format.KML",cu,OPENLAYERS);cu.prototype.readFeature=cu.prototype.Mb;cu.prototype.readFeatures=cu.prototype.xa;cu.prototype.readName=cu.prototype.io;cu.prototype.readNetworkLinks=cu.prototype.jo;cu.prototype.readProjection=cu.prototype.Ga;cu.prototype.writeFeatures=cu.prototype.Ob;cu.prototype.writeFeaturesNode=cu.prototype.f;v("ol.format.MVT",Qv,OPENLAYERS);Qv.prototype.setLayers=Qv.prototype.g;v("ol.format.OSMXML",Rv,OPENLAYERS);
Rv.prototype.readFeatures=Rv.prototype.xa;Rv.prototype.readProjection=Rv.prototype.Ga;v("ol.format.Polyline",pw,OPENLAYERS);v("ol.format.Polyline.encodeDeltas",qw,OPENLAYERS);v("ol.format.Polyline.decodeDeltas",sw,OPENLAYERS);v("ol.format.Polyline.encodeFloats",rw,OPENLAYERS);v("ol.format.Polyline.decodeFloats",tw,OPENLAYERS);pw.prototype.readFeature=pw.prototype.Mb;pw.prototype.readFeatures=pw.prototype.xa;pw.prototype.readGeometry=pw.prototype.Sc;pw.prototype.readProjection=pw.prototype.Ga;
pw.prototype.writeGeometry=pw.prototype.Wc;v("ol.format.TopoJSON",uw,OPENLAYERS);uw.prototype.readFeatures=uw.prototype.xa;uw.prototype.readProjection=uw.prototype.Ga;v("ol.format.WFS",Aw,OPENLAYERS);Aw.prototype.readFeatures=Aw.prototype.xa;Aw.prototype.readTransactionResponse=Aw.prototype.j;Aw.prototype.readFeatureCollectionMetadata=Aw.prototype.i;Aw.prototype.writeGetFeature=Aw.prototype.l;Aw.prototype.writeTransaction=Aw.prototype.u;Aw.prototype.readProjection=Aw.prototype.Ga;
v("ol.format.WKT",Nw,OPENLAYERS);Nw.prototype.readFeature=Nw.prototype.Mb;Nw.prototype.readFeatures=Nw.prototype.xa;Nw.prototype.readGeometry=Nw.prototype.Sc;Nw.prototype.writeFeature=Nw.prototype.Dd;Nw.prototype.writeFeatures=Nw.prototype.Ob;Nw.prototype.writeGeometry=Nw.prototype.Wc;v("ol.format.WMSCapabilities",ex,OPENLAYERS);ex.prototype.read=ex.prototype.read;v("ol.format.WMSGetFeatureInfo",Bx,OPENLAYERS);Bx.prototype.readFeatures=Bx.prototype.xa;v("ol.format.WMTSCapabilities",Dx,OPENLAYERS);
Dx.prototype.read=Dx.prototype.read;v("ol.format.GML2",Ks,OPENLAYERS);v("ol.format.GML3",Ls,OPENLAYERS);Ls.prototype.writeGeometryNode=Ls.prototype.B;Ls.prototype.writeFeatures=Ls.prototype.Ob;Ls.prototype.writeFeaturesNode=Ls.prototype.f;v("ol.format.GML",Ls,OPENLAYERS);Ls.prototype.writeFeatures=Ls.prototype.Ob;Ls.prototype.writeFeaturesNode=Ls.prototype.f;ys.prototype.readFeatures=ys.prototype.xa;v("ol.events.condition.altKeyOnly",function(b){b=b.a;return b.f&&!b.l&&!b.c},OPENLAYERS);
v("ol.events.condition.altShiftKeysOnly",$k,OPENLAYERS);v("ol.events.condition.always",xa,OPENLAYERS);v("ol.events.condition.click",function(b){return b.type==Yj},OPENLAYERS);v("ol.events.condition.never",wa,OPENLAYERS);v("ol.events.condition.pointerMove",al,OPENLAYERS);v("ol.events.condition.singleClick",bl,OPENLAYERS);v("ol.events.condition.doubleClick",function(b){return b.type==Zj},OPENLAYERS);v("ol.events.condition.noModifierKeys",cl,OPENLAYERS);
v("ol.events.condition.platformModifierKeyOnly",function(b){b=b.a;return!b.f&&b.l&&!b.c},OPENLAYERS);v("ol.events.condition.shiftKeyOnly",dl,OPENLAYERS);v("ol.events.condition.targetNotEditable",el,OPENLAYERS);v("ol.events.condition.mouseOnly",fl,OPENLAYERS);v("ol.control.Attribution",Zh,OPENLAYERS);v("ol.control.Attribution.render",$h,OPENLAYERS);Zh.prototype.getCollapsible=Zh.prototype.Bl;Zh.prototype.setCollapsible=Zh.prototype.El;Zh.prototype.setCollapsed=Zh.prototype.Dl;
Zh.prototype.getCollapsed=Zh.prototype.Al;v("ol.control.Control",zh,OPENLAYERS);zh.prototype.getMap=zh.prototype.g;zh.prototype.setMap=zh.prototype.setMap;zh.prototype.setTarget=zh.prototype.b;v("ol.control.defaults",ei,OPENLAYERS);v("ol.control.FullScreen",ji,OPENLAYERS);v("ol.control.MousePosition",ki,OPENLAYERS);v("ol.control.MousePosition.render",li,OPENLAYERS);ki.prototype.getCoordinateFormat=ki.prototype.rg;ki.prototype.getProjection=ki.prototype.Sg;ki.prototype.setCoordinateFormat=ki.prototype.Lh;
ki.prototype.setProjection=ki.prototype.Tg;v("ol.control.OverviewMap",Er,OPENLAYERS);v("ol.control.OverviewMap.render",Fr,OPENLAYERS);Er.prototype.getCollapsible=Er.prototype.Hl;Er.prototype.setCollapsible=Er.prototype.Kl;Er.prototype.setCollapsed=Er.prototype.Jl;Er.prototype.getCollapsed=Er.prototype.Gl;v("ol.control.Rotate",bi,OPENLAYERS);v("ol.control.Rotate.render",ci,OPENLAYERS);v("ol.control.ScaleLine",Jr,OPENLAYERS);Jr.prototype.getUnits=Jr.prototype.C;v("ol.control.ScaleLine.render",Kr,OPENLAYERS);
Jr.prototype.setUnits=Jr.prototype.S;v("ol.control.Zoom",di,OPENLAYERS);v("ol.control.ZoomSlider",Xr,OPENLAYERS);v("ol.control.ZoomSlider.render",Zr,OPENLAYERS);v("ol.control.ZoomToExtent",bs,OPENLAYERS);v("ol.color.asArray",zg,OPENLAYERS);v("ol.color.asString",Bg,OPENLAYERS);je.prototype.changed=je.prototype.o;je.prototype.getRevision=je.prototype.J;je.prototype.on=je.prototype.G;je.prototype.once=je.prototype.K;je.prototype.un=je.prototype.I;je.prototype.unByKey=je.prototype.L;
ug.prototype.get=ug.prototype.get;ug.prototype.getKeys=ug.prototype.N;ug.prototype.getProperties=ug.prototype.O;ug.prototype.set=ug.prototype.set;ug.prototype.setProperties=ug.prototype.H;ug.prototype.unset=ug.prototype.R;ug.prototype.changed=ug.prototype.o;ug.prototype.getRevision=ug.prototype.J;ug.prototype.on=ug.prototype.G;ug.prototype.once=ug.prototype.K;ug.prototype.un=ug.prototype.I;ug.prototype.unByKey=ug.prototype.L;cs.prototype.get=cs.prototype.get;cs.prototype.getKeys=cs.prototype.N;
cs.prototype.getProperties=cs.prototype.O;cs.prototype.set=cs.prototype.set;cs.prototype.setProperties=cs.prototype.H;cs.prototype.unset=cs.prototype.R;cs.prototype.changed=cs.prototype.o;cs.prototype.getRevision=cs.prototype.J;cs.prototype.on=cs.prototype.G;cs.prototype.once=cs.prototype.K;cs.prototype.un=cs.prototype.I;cs.prototype.unByKey=cs.prototype.L;Bn.prototype.get=Bn.prototype.get;Bn.prototype.getKeys=Bn.prototype.N;Bn.prototype.getProperties=Bn.prototype.O;Bn.prototype.set=Bn.prototype.set;
Bn.prototype.setProperties=Bn.prototype.H;Bn.prototype.unset=Bn.prototype.R;Bn.prototype.changed=Bn.prototype.o;Bn.prototype.getRevision=Bn.prototype.J;Bn.prototype.on=Bn.prototype.G;Bn.prototype.once=Bn.prototype.K;Bn.prototype.un=Bn.prototype.I;Bn.prototype.unByKey=Bn.prototype.L;Qx.prototype.get=Qx.prototype.get;Qx.prototype.getKeys=Qx.prototype.N;Qx.prototype.getProperties=Qx.prototype.O;Qx.prototype.set=Qx.prototype.set;Qx.prototype.setProperties=Qx.prototype.H;Qx.prototype.unset=Qx.prototype.R;
Qx.prototype.changed=Qx.prototype.o;Qx.prototype.getRevision=Qx.prototype.J;Qx.prototype.on=Qx.prototype.G;Qx.prototype.once=Qx.prototype.K;Qx.prototype.un=Qx.prototype.I;Qx.prototype.unByKey=Qx.prototype.L;$x.prototype.getTileCoord=$x.prototype.g;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.N;X.prototype.getProperties=X.prototype.O;X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.H;X.prototype.unset=X.prototype.R;X.prototype.changed=X.prototype.o;
X.prototype.getRevision=X.prototype.J;X.prototype.on=X.prototype.G;X.prototype.once=X.prototype.K;X.prototype.un=X.prototype.I;X.prototype.unByKey=X.prototype.L;Uj.prototype.map=Uj.prototype.map;Uj.prototype.frameState=Uj.prototype.frameState;Vj.prototype.originalEvent=Vj.prototype.originalEvent;Vj.prototype.pixel=Vj.prototype.pixel;Vj.prototype.coordinate=Vj.prototype.coordinate;Vj.prototype.dragging=Vj.prototype.dragging;Vj.prototype.preventDefault=Vj.prototype.preventDefault;
Vj.prototype.stopPropagation=Vj.prototype.b;Vj.prototype.map=Vj.prototype.map;Vj.prototype.frameState=Vj.prototype.frameState;Ar.prototype.get=Ar.prototype.get;Ar.prototype.getKeys=Ar.prototype.N;Ar.prototype.getProperties=Ar.prototype.O;Ar.prototype.set=Ar.prototype.set;Ar.prototype.setProperties=Ar.prototype.H;Ar.prototype.unset=Ar.prototype.R;Ar.prototype.changed=Ar.prototype.o;Ar.prototype.getRevision=Ar.prototype.J;Ar.prototype.on=Ar.prototype.G;Ar.prototype.once=Ar.prototype.K;
Ar.prototype.un=Ar.prototype.I;Ar.prototype.unByKey=Ar.prototype.L;bq.prototype.getTileCoord=bq.prototype.g;Rf.prototype.get=Rf.prototype.get;Rf.prototype.getKeys=Rf.prototype.N;Rf.prototype.getProperties=Rf.prototype.O;Rf.prototype.set=Rf.prototype.set;Rf.prototype.setProperties=Rf.prototype.H;Rf.prototype.unset=Rf.prototype.R;Rf.prototype.changed=Rf.prototype.o;Rf.prototype.getRevision=Rf.prototype.J;Rf.prototype.on=Rf.prototype.G;Rf.prototype.once=Rf.prototype.K;Rf.prototype.un=Rf.prototype.I;
Rf.prototype.unByKey=Rf.prototype.L;AA.prototype.getMaxZoom=AA.prototype.vg;AA.prototype.getMinZoom=AA.prototype.wg;AA.prototype.getOrigin=AA.prototype.Qc;AA.prototype.getResolution=AA.prototype.Ca;AA.prototype.getResolutions=AA.prototype.oh;AA.prototype.getTileCoordForCoordAndResolution=AA.prototype.pd;AA.prototype.getTileCoordForCoordAndZ=AA.prototype.be;AA.prototype.getTileSize=AA.prototype.Ha;Jl.prototype.getOpacity=Jl.prototype.ve;Jl.prototype.getRotateWithView=Jl.prototype.Zd;
Jl.prototype.getRotation=Jl.prototype.we;Jl.prototype.getScale=Jl.prototype.xe;Jl.prototype.getSnapToPixel=Jl.prototype.ae;Jl.prototype.setOpacity=Jl.prototype.ye;Jl.prototype.setRotation=Jl.prototype.ze;Jl.prototype.setScale=Jl.prototype.Ae;Ck.prototype.getOpacity=Ck.prototype.ve;Ck.prototype.getRotateWithView=Ck.prototype.Zd;Ck.prototype.getRotation=Ck.prototype.we;Ck.prototype.getScale=Ck.prototype.xe;Ck.prototype.getSnapToPixel=Ck.prototype.ae;Ck.prototype.setOpacity=Ck.prototype.ye;
Ck.prototype.setRotation=Ck.prototype.ze;Ck.prototype.setScale=Ck.prototype.Ae;KA.prototype.getOpacity=KA.prototype.ve;KA.prototype.getRotateWithView=KA.prototype.Zd;KA.prototype.getRotation=KA.prototype.we;KA.prototype.getScale=KA.prototype.xe;KA.prototype.getSnapToPixel=KA.prototype.ae;KA.prototype.setOpacity=KA.prototype.ye;KA.prototype.setRotation=KA.prototype.ze;KA.prototype.setScale=KA.prototype.Ae;Gh.prototype.get=Gh.prototype.get;Gh.prototype.getKeys=Gh.prototype.N;
Gh.prototype.getProperties=Gh.prototype.O;Gh.prototype.set=Gh.prototype.set;Gh.prototype.setProperties=Gh.prototype.H;Gh.prototype.unset=Gh.prototype.R;Gh.prototype.changed=Gh.prototype.o;Gh.prototype.getRevision=Gh.prototype.J;Gh.prototype.on=Gh.prototype.G;Gh.prototype.once=Gh.prototype.K;Gh.prototype.un=Gh.prototype.I;Gh.prototype.unByKey=Gh.prototype.L;Uh.prototype.getAttributions=Uh.prototype.pa;Uh.prototype.getLogo=Uh.prototype.oa;Uh.prototype.getProjection=Uh.prototype.qa;
Uh.prototype.getState=Uh.prototype.ra;Uh.prototype.setAttributions=Uh.prototype.la;Uh.prototype.get=Uh.prototype.get;Uh.prototype.getKeys=Uh.prototype.N;Uh.prototype.getProperties=Uh.prototype.O;Uh.prototype.set=Uh.prototype.set;Uh.prototype.setProperties=Uh.prototype.H;Uh.prototype.unset=Uh.prototype.R;Uh.prototype.changed=Uh.prototype.o;Uh.prototype.getRevision=Uh.prototype.J;Uh.prototype.on=Uh.prototype.G;Uh.prototype.once=Uh.prototype.K;Uh.prototype.un=Uh.prototype.I;Uh.prototype.unByKey=Uh.prototype.L;
hq.prototype.getTileGrid=hq.prototype.Ea;hq.prototype.getAttributions=hq.prototype.pa;hq.prototype.getLogo=hq.prototype.oa;hq.prototype.getProjection=hq.prototype.qa;hq.prototype.getState=hq.prototype.ra;hq.prototype.setAttributions=hq.prototype.la;hq.prototype.get=hq.prototype.get;hq.prototype.getKeys=hq.prototype.N;hq.prototype.getProperties=hq.prototype.O;hq.prototype.set=hq.prototype.set;hq.prototype.setProperties=hq.prototype.H;hq.prototype.unset=hq.prototype.R;hq.prototype.changed=hq.prototype.o;
hq.prototype.getRevision=hq.prototype.J;hq.prototype.on=hq.prototype.G;hq.prototype.once=hq.prototype.K;hq.prototype.un=hq.prototype.I;hq.prototype.unByKey=hq.prototype.L;Hz.prototype.getTileLoadFunction=Hz.prototype.Ra;Hz.prototype.getTileUrlFunction=Hz.prototype.Sa;Hz.prototype.setTileLoadFunction=Hz.prototype.Va;Hz.prototype.setTileUrlFunction=Hz.prototype.Fa;Hz.prototype.getTileGrid=Hz.prototype.Ea;Hz.prototype.getAttributions=Hz.prototype.pa;Hz.prototype.getLogo=Hz.prototype.oa;
Hz.prototype.getProjection=Hz.prototype.qa;Hz.prototype.getState=Hz.prototype.ra;Hz.prototype.setAttributions=Hz.prototype.la;Hz.prototype.get=Hz.prototype.get;Hz.prototype.getKeys=Hz.prototype.N;Hz.prototype.getProperties=Hz.prototype.O;Hz.prototype.set=Hz.prototype.set;Hz.prototype.setProperties=Hz.prototype.H;Hz.prototype.unset=Hz.prototype.R;Hz.prototype.changed=Hz.prototype.o;Hz.prototype.getRevision=Hz.prototype.J;Hz.prototype.on=Hz.prototype.G;Hz.prototype.once=Hz.prototype.K;
Hz.prototype.un=Hz.prototype.I;Hz.prototype.unByKey=Hz.prototype.L;Jz.prototype.getTileLoadFunction=Jz.prototype.Ra;Jz.prototype.getTileUrlFunction=Jz.prototype.Sa;Jz.prototype.setTileLoadFunction=Jz.prototype.Va;Jz.prototype.setTileUrlFunction=Jz.prototype.Fa;Jz.prototype.getTileGrid=Jz.prototype.Ea;Jz.prototype.getAttributions=Jz.prototype.pa;Jz.prototype.getLogo=Jz.prototype.oa;Jz.prototype.getProjection=Jz.prototype.qa;Jz.prototype.getState=Jz.prototype.ra;Jz.prototype.setAttributions=Jz.prototype.la;
Jz.prototype.get=Jz.prototype.get;Jz.prototype.getKeys=Jz.prototype.N;Jz.prototype.getProperties=Jz.prototype.O;Jz.prototype.set=Jz.prototype.set;Jz.prototype.setProperties=Jz.prototype.H;Jz.prototype.unset=Jz.prototype.R;Jz.prototype.changed=Jz.prototype.o;Jz.prototype.getRevision=Jz.prototype.J;Jz.prototype.on=Jz.prototype.G;Jz.prototype.once=Jz.prototype.K;Jz.prototype.un=Jz.prototype.I;Jz.prototype.unByKey=Jz.prototype.L;W.prototype.getAttributions=W.prototype.pa;W.prototype.getLogo=W.prototype.oa;
W.prototype.getProjection=W.prototype.qa;W.prototype.getState=W.prototype.ra;W.prototype.setAttributions=W.prototype.la;W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.N;W.prototype.getProperties=W.prototype.O;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.H;W.prototype.unset=W.prototype.R;W.prototype.changed=W.prototype.o;W.prototype.getRevision=W.prototype.J;W.prototype.on=W.prototype.G;W.prototype.once=W.prototype.K;W.prototype.un=W.prototype.I;
W.prototype.unByKey=W.prototype.L;Lz.prototype.addFeature=Lz.prototype.Oc;Lz.prototype.addFeatures=Lz.prototype.kc;Lz.prototype.clear=Lz.prototype.clear;Lz.prototype.forEachFeature=Lz.prototype.ef;Lz.prototype.forEachFeatureInExtent=Lz.prototype.Jc;Lz.prototype.forEachFeatureIntersectingExtent=Lz.prototype.ff;Lz.prototype.getFeaturesCollection=Lz.prototype.lf;Lz.prototype.getFeatures=Lz.prototype.Pc;Lz.prototype.getFeaturesAtCoordinate=Lz.prototype.kf;Lz.prototype.getFeaturesInExtent=Lz.prototype.Td;
Lz.prototype.getClosestFeatureToCoordinate=Lz.prototype.hf;Lz.prototype.getExtent=Lz.prototype.P;Lz.prototype.getFeatureById=Lz.prototype.jf;Lz.prototype.removeFeature=Lz.prototype.uc;Lz.prototype.getAttributions=Lz.prototype.pa;Lz.prototype.getLogo=Lz.prototype.oa;Lz.prototype.getProjection=Lz.prototype.qa;Lz.prototype.getState=Lz.prototype.ra;Lz.prototype.setAttributions=Lz.prototype.la;Lz.prototype.get=Lz.prototype.get;Lz.prototype.getKeys=Lz.prototype.N;Lz.prototype.getProperties=Lz.prototype.O;
Lz.prototype.set=Lz.prototype.set;Lz.prototype.setProperties=Lz.prototype.H;Lz.prototype.unset=Lz.prototype.R;Lz.prototype.changed=Lz.prototype.o;Lz.prototype.getRevision=Lz.prototype.J;Lz.prototype.on=Lz.prototype.G;Lz.prototype.once=Lz.prototype.K;Lz.prototype.un=Lz.prototype.I;Lz.prototype.unByKey=Lz.prototype.L;tn.prototype.getAttributions=tn.prototype.pa;tn.prototype.getLogo=tn.prototype.oa;tn.prototype.getProjection=tn.prototype.qa;tn.prototype.getState=tn.prototype.ra;
tn.prototype.setAttributions=tn.prototype.la;tn.prototype.get=tn.prototype.get;tn.prototype.getKeys=tn.prototype.N;tn.prototype.getProperties=tn.prototype.O;tn.prototype.set=tn.prototype.set;tn.prototype.setProperties=tn.prototype.H;tn.prototype.unset=tn.prototype.R;tn.prototype.changed=tn.prototype.o;tn.prototype.getRevision=tn.prototype.J;tn.prototype.on=tn.prototype.G;tn.prototype.once=tn.prototype.K;tn.prototype.un=tn.prototype.I;tn.prototype.unByKey=tn.prototype.L;
An.prototype.getAttributions=An.prototype.pa;An.prototype.getLogo=An.prototype.oa;An.prototype.getProjection=An.prototype.qa;An.prototype.getState=An.prototype.ra;An.prototype.setAttributions=An.prototype.la;An.prototype.get=An.prototype.get;An.prototype.getKeys=An.prototype.N;An.prototype.getProperties=An.prototype.O;An.prototype.set=An.prototype.set;An.prototype.setProperties=An.prototype.H;An.prototype.unset=An.prototype.R;An.prototype.changed=An.prototype.o;An.prototype.getRevision=An.prototype.J;
An.prototype.on=An.prototype.G;An.prototype.once=An.prototype.K;An.prototype.un=An.prototype.I;An.prototype.unByKey=An.prototype.L;Oz.prototype.getAttributions=Oz.prototype.pa;Oz.prototype.getLogo=Oz.prototype.oa;Oz.prototype.getProjection=Oz.prototype.qa;Oz.prototype.getState=Oz.prototype.ra;Oz.prototype.setAttributions=Oz.prototype.la;Oz.prototype.get=Oz.prototype.get;Oz.prototype.getKeys=Oz.prototype.N;Oz.prototype.getProperties=Oz.prototype.O;Oz.prototype.set=Oz.prototype.set;
Oz.prototype.setProperties=Oz.prototype.H;Oz.prototype.unset=Oz.prototype.R;Oz.prototype.changed=Oz.prototype.o;Oz.prototype.getRevision=Oz.prototype.J;Oz.prototype.on=Oz.prototype.G;Oz.prototype.once=Oz.prototype.K;Oz.prototype.un=Oz.prototype.I;Oz.prototype.unByKey=Oz.prototype.L;Pz.prototype.getAttributions=Pz.prototype.pa;Pz.prototype.getLogo=Pz.prototype.oa;Pz.prototype.getProjection=Pz.prototype.qa;Pz.prototype.getState=Pz.prototype.ra;Pz.prototype.setAttributions=Pz.prototype.la;
Pz.prototype.get=Pz.prototype.get;Pz.prototype.getKeys=Pz.prototype.N;Pz.prototype.getProperties=Pz.prototype.O;Pz.prototype.set=Pz.prototype.set;Pz.prototype.setProperties=Pz.prototype.H;Pz.prototype.unset=Pz.prototype.R;Pz.prototype.changed=Pz.prototype.o;Pz.prototype.getRevision=Pz.prototype.J;Pz.prototype.on=Pz.prototype.G;Pz.prototype.once=Pz.prototype.K;Pz.prototype.un=Pz.prototype.I;Pz.prototype.unByKey=Pz.prototype.L;Xp.prototype.getAttributions=Xp.prototype.pa;Xp.prototype.getLogo=Xp.prototype.oa;
Xp.prototype.getProjection=Xp.prototype.qa;Xp.prototype.getState=Xp.prototype.ra;Xp.prototype.setAttributions=Xp.prototype.la;Xp.prototype.get=Xp.prototype.get;Xp.prototype.getKeys=Xp.prototype.N;Xp.prototype.getProperties=Xp.prototype.O;Xp.prototype.set=Xp.prototype.set;Xp.prototype.setProperties=Xp.prototype.H;Xp.prototype.unset=Xp.prototype.R;Xp.prototype.changed=Xp.prototype.o;Xp.prototype.getRevision=Xp.prototype.J;Xp.prototype.on=Xp.prototype.G;Xp.prototype.once=Xp.prototype.K;
Xp.prototype.un=Xp.prototype.I;Xp.prototype.unByKey=Xp.prototype.L;Qz.prototype.getAttributions=Qz.prototype.pa;Qz.prototype.getLogo=Qz.prototype.oa;Qz.prototype.getProjection=Qz.prototype.qa;Qz.prototype.getState=Qz.prototype.ra;Qz.prototype.setAttributions=Qz.prototype.la;Qz.prototype.get=Qz.prototype.get;Qz.prototype.getKeys=Qz.prototype.N;Qz.prototype.getProperties=Qz.prototype.O;Qz.prototype.set=Qz.prototype.set;Qz.prototype.setProperties=Qz.prototype.H;Qz.prototype.unset=Qz.prototype.R;
Qz.prototype.changed=Qz.prototype.o;Qz.prototype.getRevision=Qz.prototype.J;Qz.prototype.on=Qz.prototype.G;Qz.prototype.once=Qz.prototype.K;Qz.prototype.un=Qz.prototype.I;Qz.prototype.unByKey=Qz.prototype.L;Uz.prototype.getTileLoadFunction=Uz.prototype.Ra;Uz.prototype.getTileUrlFunction=Uz.prototype.Sa;Uz.prototype.setTileLoadFunction=Uz.prototype.Va;Uz.prototype.setTileUrlFunction=Uz.prototype.Fa;Uz.prototype.getTileGrid=Uz.prototype.Ea;Uz.prototype.getAttributions=Uz.prototype.pa;
Uz.prototype.getLogo=Uz.prototype.oa;Uz.prototype.getProjection=Uz.prototype.qa;Uz.prototype.getState=Uz.prototype.ra;Uz.prototype.setAttributions=Uz.prototype.la;Uz.prototype.get=Uz.prototype.get;Uz.prototype.getKeys=Uz.prototype.N;Uz.prototype.getProperties=Uz.prototype.O;Uz.prototype.set=Uz.prototype.set;Uz.prototype.setProperties=Uz.prototype.H;Uz.prototype.unset=Uz.prototype.R;Uz.prototype.changed=Uz.prototype.o;Uz.prototype.getRevision=Uz.prototype.J;Uz.prototype.on=Uz.prototype.G;
Uz.prototype.once=Uz.prototype.K;Uz.prototype.un=Uz.prototype.I;Uz.prototype.unByKey=Uz.prototype.L;Xz.prototype.getUrls=Xz.prototype.i;Xz.prototype.setUrl=Xz.prototype.c;Xz.prototype.getTileLoadFunction=Xz.prototype.Ra;Xz.prototype.getTileUrlFunction=Xz.prototype.Sa;Xz.prototype.setTileLoadFunction=Xz.prototype.Va;Xz.prototype.setTileUrlFunction=Xz.prototype.Fa;Xz.prototype.getTileGrid=Xz.prototype.Ea;Xz.prototype.getAttributions=Xz.prototype.pa;Xz.prototype.getLogo=Xz.prototype.oa;
Xz.prototype.getProjection=Xz.prototype.qa;Xz.prototype.getState=Xz.prototype.ra;Xz.prototype.setAttributions=Xz.prototype.la;Xz.prototype.get=Xz.prototype.get;Xz.prototype.getKeys=Xz.prototype.N;Xz.prototype.getProperties=Xz.prototype.O;Xz.prototype.set=Xz.prototype.set;Xz.prototype.setProperties=Xz.prototype.H;Xz.prototype.unset=Xz.prototype.R;Xz.prototype.changed=Xz.prototype.o;Xz.prototype.getRevision=Xz.prototype.J;Xz.prototype.on=Xz.prototype.G;Xz.prototype.once=Xz.prototype.K;
Xz.prototype.un=Xz.prototype.I;Xz.prototype.unByKey=Xz.prototype.L;Vz.prototype.getUrls=Vz.prototype.i;Vz.prototype.setUrl=Vz.prototype.c;Vz.prototype.getTileLoadFunction=Vz.prototype.Ra;Vz.prototype.getTileUrlFunction=Vz.prototype.Sa;Vz.prototype.setTileLoadFunction=Vz.prototype.Va;Vz.prototype.setTileUrlFunction=Vz.prototype.Fa;Vz.prototype.getTileGrid=Vz.prototype.Ea;Vz.prototype.getAttributions=Vz.prototype.pa;Vz.prototype.getLogo=Vz.prototype.oa;Vz.prototype.getProjection=Vz.prototype.qa;
Vz.prototype.getState=Vz.prototype.ra;Vz.prototype.setAttributions=Vz.prototype.la;Vz.prototype.get=Vz.prototype.get;Vz.prototype.getKeys=Vz.prototype.N;Vz.prototype.getProperties=Vz.prototype.O;Vz.prototype.set=Vz.prototype.set;Vz.prototype.setProperties=Vz.prototype.H;Vz.prototype.unset=Vz.prototype.R;Vz.prototype.changed=Vz.prototype.o;Vz.prototype.getRevision=Vz.prototype.J;Vz.prototype.on=Vz.prototype.G;Vz.prototype.once=Vz.prototype.K;Vz.prototype.un=Vz.prototype.I;Vz.prototype.unByKey=Vz.prototype.L;
$z.prototype.getAttributions=$z.prototype.pa;$z.prototype.getLogo=$z.prototype.oa;$z.prototype.getProjection=$z.prototype.qa;$z.prototype.getState=$z.prototype.ra;$z.prototype.setAttributions=$z.prototype.la;$z.prototype.get=$z.prototype.get;$z.prototype.getKeys=$z.prototype.N;$z.prototype.getProperties=$z.prototype.O;$z.prototype.set=$z.prototype.set;$z.prototype.setProperties=$z.prototype.H;$z.prototype.unset=$z.prototype.R;$z.prototype.changed=$z.prototype.o;$z.prototype.getRevision=$z.prototype.J;
$z.prototype.on=$z.prototype.G;$z.prototype.once=$z.prototype.K;$z.prototype.un=$z.prototype.I;$z.prototype.unByKey=$z.prototype.L;iA.prototype.getUrls=iA.prototype.i;iA.prototype.setUrl=iA.prototype.c;iA.prototype.getTileLoadFunction=iA.prototype.Ra;iA.prototype.getTileUrlFunction=iA.prototype.Sa;iA.prototype.setTileLoadFunction=iA.prototype.Va;iA.prototype.setTileUrlFunction=iA.prototype.Fa;iA.prototype.getTileGrid=iA.prototype.Ea;iA.prototype.getAttributions=iA.prototype.pa;
iA.prototype.getLogo=iA.prototype.oa;iA.prototype.getProjection=iA.prototype.qa;iA.prototype.getState=iA.prototype.ra;iA.prototype.setAttributions=iA.prototype.la;iA.prototype.get=iA.prototype.get;iA.prototype.getKeys=iA.prototype.N;iA.prototype.getProperties=iA.prototype.O;iA.prototype.set=iA.prototype.set;iA.prototype.setProperties=iA.prototype.H;iA.prototype.unset=iA.prototype.R;iA.prototype.changed=iA.prototype.o;iA.prototype.getRevision=iA.prototype.J;iA.prototype.on=iA.prototype.G;
iA.prototype.once=iA.prototype.K;iA.prototype.un=iA.prototype.I;iA.prototype.unByKey=iA.prototype.L;kA.prototype.getTileLoadFunction=kA.prototype.Ra;kA.prototype.getTileUrlFunction=kA.prototype.Sa;kA.prototype.setTileLoadFunction=kA.prototype.Va;kA.prototype.setTileUrlFunction=kA.prototype.Fa;kA.prototype.getTileGrid=kA.prototype.Ea;kA.prototype.getAttributions=kA.prototype.pa;kA.prototype.getLogo=kA.prototype.oa;kA.prototype.getProjection=kA.prototype.qa;kA.prototype.getState=kA.prototype.ra;
kA.prototype.setAttributions=kA.prototype.la;kA.prototype.get=kA.prototype.get;kA.prototype.getKeys=kA.prototype.N;kA.prototype.getProperties=kA.prototype.O;kA.prototype.set=kA.prototype.set;kA.prototype.setProperties=kA.prototype.H;kA.prototype.unset=kA.prototype.R;kA.prototype.changed=kA.prototype.o;kA.prototype.getRevision=kA.prototype.J;kA.prototype.on=kA.prototype.G;kA.prototype.once=kA.prototype.K;kA.prototype.un=kA.prototype.I;kA.prototype.unByKey=kA.prototype.L;mA.prototype.getTileGrid=mA.prototype.Ea;
mA.prototype.getAttributions=mA.prototype.pa;mA.prototype.getLogo=mA.prototype.oa;mA.prototype.getProjection=mA.prototype.qa;mA.prototype.getState=mA.prototype.ra;mA.prototype.setAttributions=mA.prototype.la;mA.prototype.get=mA.prototype.get;mA.prototype.getKeys=mA.prototype.N;mA.prototype.getProperties=mA.prototype.O;mA.prototype.set=mA.prototype.set;mA.prototype.setProperties=mA.prototype.H;mA.prototype.unset=mA.prototype.R;mA.prototype.changed=mA.prototype.o;mA.prototype.getRevision=mA.prototype.J;
mA.prototype.on=mA.prototype.G;mA.prototype.once=mA.prototype.K;mA.prototype.un=mA.prototype.I;mA.prototype.unByKey=mA.prototype.L;nA.prototype.getTileLoadFunction=nA.prototype.Ra;nA.prototype.getTileUrlFunction=nA.prototype.Sa;nA.prototype.setTileLoadFunction=nA.prototype.Va;nA.prototype.setTileUrlFunction=nA.prototype.Fa;nA.prototype.getTileGrid=nA.prototype.Ea;nA.prototype.getAttributions=nA.prototype.pa;nA.prototype.getLogo=nA.prototype.oa;nA.prototype.getProjection=nA.prototype.qa;
nA.prototype.getState=nA.prototype.ra;nA.prototype.setAttributions=nA.prototype.la;nA.prototype.get=nA.prototype.get;nA.prototype.getKeys=nA.prototype.N;nA.prototype.getProperties=nA.prototype.O;nA.prototype.set=nA.prototype.set;nA.prototype.setProperties=nA.prototype.H;nA.prototype.unset=nA.prototype.R;nA.prototype.changed=nA.prototype.o;nA.prototype.getRevision=nA.prototype.J;nA.prototype.on=nA.prototype.G;nA.prototype.once=nA.prototype.K;nA.prototype.un=nA.prototype.I;nA.prototype.unByKey=nA.prototype.L;
oA.prototype.getTileGrid=oA.prototype.Ea;oA.prototype.getAttributions=oA.prototype.pa;oA.prototype.getLogo=oA.prototype.oa;oA.prototype.getProjection=oA.prototype.qa;oA.prototype.getState=oA.prototype.ra;oA.prototype.setAttributions=oA.prototype.la;oA.prototype.get=oA.prototype.get;oA.prototype.getKeys=oA.prototype.N;oA.prototype.getProperties=oA.prototype.O;oA.prototype.set=oA.prototype.set;oA.prototype.setProperties=oA.prototype.H;oA.prototype.unset=oA.prototype.R;oA.prototype.changed=oA.prototype.o;
oA.prototype.getRevision=oA.prototype.J;oA.prototype.on=oA.prototype.G;oA.prototype.once=oA.prototype.K;oA.prototype.un=oA.prototype.I;oA.prototype.unByKey=oA.prototype.L;tA.prototype.addFeature=tA.prototype.Oc;tA.prototype.addFeatures=tA.prototype.kc;tA.prototype.clear=tA.prototype.clear;tA.prototype.forEachFeature=tA.prototype.ef;tA.prototype.forEachFeatureInExtent=tA.prototype.Jc;tA.prototype.forEachFeatureIntersectingExtent=tA.prototype.ff;tA.prototype.getFeaturesCollection=tA.prototype.lf;
tA.prototype.getFeatures=tA.prototype.Pc;tA.prototype.getFeaturesAtCoordinate=tA.prototype.kf;tA.prototype.getFeaturesInExtent=tA.prototype.Td;tA.prototype.getClosestFeatureToCoordinate=tA.prototype.hf;tA.prototype.getExtent=tA.prototype.P;tA.prototype.getFeatureById=tA.prototype.jf;tA.prototype.removeFeature=tA.prototype.uc;tA.prototype.getAttributions=tA.prototype.pa;tA.prototype.getLogo=tA.prototype.oa;tA.prototype.getProjection=tA.prototype.qa;tA.prototype.getState=tA.prototype.ra;
tA.prototype.setAttributions=tA.prototype.la;tA.prototype.get=tA.prototype.get;tA.prototype.getKeys=tA.prototype.N;tA.prototype.getProperties=tA.prototype.O;tA.prototype.set=tA.prototype.set;tA.prototype.setProperties=tA.prototype.H;tA.prototype.unset=tA.prototype.R;tA.prototype.changed=tA.prototype.o;tA.prototype.getRevision=tA.prototype.J;tA.prototype.on=tA.prototype.G;tA.prototype.once=tA.prototype.K;tA.prototype.un=tA.prototype.I;tA.prototype.unByKey=tA.prototype.L;
wA.prototype.getTileLoadFunction=wA.prototype.Ra;wA.prototype.getTileUrlFunction=wA.prototype.Sa;wA.prototype.setTileLoadFunction=wA.prototype.Va;wA.prototype.setTileUrlFunction=wA.prototype.Fa;wA.prototype.getTileGrid=wA.prototype.Ea;wA.prototype.getAttributions=wA.prototype.pa;wA.prototype.getLogo=wA.prototype.oa;wA.prototype.getProjection=wA.prototype.qa;wA.prototype.getState=wA.prototype.ra;wA.prototype.setAttributions=wA.prototype.la;wA.prototype.get=wA.prototype.get;wA.prototype.getKeys=wA.prototype.N;
wA.prototype.getProperties=wA.prototype.O;wA.prototype.set=wA.prototype.set;wA.prototype.setProperties=wA.prototype.H;wA.prototype.unset=wA.prototype.R;wA.prototype.changed=wA.prototype.o;wA.prototype.getRevision=wA.prototype.J;wA.prototype.on=wA.prototype.G;wA.prototype.once=wA.prototype.K;wA.prototype.un=wA.prototype.I;wA.prototype.unByKey=wA.prototype.L;iq.prototype.getTileLoadFunction=iq.prototype.Ra;iq.prototype.getTileUrlFunction=iq.prototype.Sa;iq.prototype.setTileLoadFunction=iq.prototype.Va;
iq.prototype.setTileUrlFunction=iq.prototype.Fa;iq.prototype.getTileGrid=iq.prototype.Ea;iq.prototype.getAttributions=iq.prototype.pa;iq.prototype.getLogo=iq.prototype.oa;iq.prototype.getProjection=iq.prototype.qa;iq.prototype.getState=iq.prototype.ra;iq.prototype.setAttributions=iq.prototype.la;iq.prototype.get=iq.prototype.get;iq.prototype.getKeys=iq.prototype.N;iq.prototype.getProperties=iq.prototype.O;iq.prototype.set=iq.prototype.set;iq.prototype.setProperties=iq.prototype.H;
iq.prototype.unset=iq.prototype.R;iq.prototype.changed=iq.prototype.o;iq.prototype.getRevision=iq.prototype.J;iq.prototype.on=iq.prototype.G;iq.prototype.once=iq.prototype.K;iq.prototype.un=iq.prototype.I;iq.prototype.unByKey=iq.prototype.L;CA.prototype.getTileLoadFunction=CA.prototype.Ra;CA.prototype.getTileUrlFunction=CA.prototype.Sa;CA.prototype.setTileLoadFunction=CA.prototype.Va;CA.prototype.setTileUrlFunction=CA.prototype.Fa;CA.prototype.getTileGrid=CA.prototype.Ea;
CA.prototype.getAttributions=CA.prototype.pa;CA.prototype.getLogo=CA.prototype.oa;CA.prototype.getProjection=CA.prototype.qa;CA.prototype.getState=CA.prototype.ra;CA.prototype.setAttributions=CA.prototype.la;CA.prototype.get=CA.prototype.get;CA.prototype.getKeys=CA.prototype.N;CA.prototype.getProperties=CA.prototype.O;CA.prototype.set=CA.prototype.set;CA.prototype.setProperties=CA.prototype.H;CA.prototype.unset=CA.prototype.R;CA.prototype.changed=CA.prototype.o;CA.prototype.getRevision=CA.prototype.J;
CA.prototype.on=CA.prototype.G;CA.prototype.once=CA.prototype.K;CA.prototype.un=CA.prototype.I;CA.prototype.unByKey=CA.prototype.L;EA.prototype.getTileLoadFunction=EA.prototype.Ra;EA.prototype.getTileUrlFunction=EA.prototype.Sa;EA.prototype.setTileLoadFunction=EA.prototype.Va;EA.prototype.setTileUrlFunction=EA.prototype.Fa;EA.prototype.getTileGrid=EA.prototype.Ea;EA.prototype.getAttributions=EA.prototype.pa;EA.prototype.getLogo=EA.prototype.oa;EA.prototype.getProjection=EA.prototype.qa;
EA.prototype.getState=EA.prototype.ra;EA.prototype.setAttributions=EA.prototype.la;EA.prototype.get=EA.prototype.get;EA.prototype.getKeys=EA.prototype.N;EA.prototype.getProperties=EA.prototype.O;EA.prototype.set=EA.prototype.set;EA.prototype.setProperties=EA.prototype.H;EA.prototype.unset=EA.prototype.R;EA.prototype.changed=EA.prototype.o;EA.prototype.getRevision=EA.prototype.J;EA.prototype.on=EA.prototype.G;EA.prototype.once=EA.prototype.K;EA.prototype.un=EA.prototype.I;EA.prototype.unByKey=EA.prototype.L;
rk.prototype.changed=rk.prototype.o;rk.prototype.getRevision=rk.prototype.J;rk.prototype.on=rk.prototype.G;rk.prototype.once=rk.prototype.K;rk.prototype.un=rk.prototype.I;rk.prototype.unByKey=rk.prototype.L;jr.prototype.changed=jr.prototype.o;jr.prototype.getRevision=jr.prototype.J;jr.prototype.on=jr.prototype.G;jr.prototype.once=jr.prototype.K;jr.prototype.un=jr.prototype.I;jr.prototype.unByKey=jr.prototype.L;mr.prototype.changed=mr.prototype.o;mr.prototype.getRevision=mr.prototype.J;
mr.prototype.on=mr.prototype.G;mr.prototype.once=mr.prototype.K;mr.prototype.un=mr.prototype.I;mr.prototype.unByKey=mr.prototype.L;sr.prototype.changed=sr.prototype.o;sr.prototype.getRevision=sr.prototype.J;sr.prototype.on=sr.prototype.G;sr.prototype.once=sr.prototype.K;sr.prototype.un=sr.prototype.I;sr.prototype.unByKey=sr.prototype.L;ur.prototype.changed=ur.prototype.o;ur.prototype.getRevision=ur.prototype.J;ur.prototype.on=ur.prototype.G;ur.prototype.once=ur.prototype.K;ur.prototype.un=ur.prototype.I;
ur.prototype.unByKey=ur.prototype.L;oq.prototype.changed=oq.prototype.o;oq.prototype.getRevision=oq.prototype.J;oq.prototype.on=oq.prototype.G;oq.prototype.once=oq.prototype.K;oq.prototype.un=oq.prototype.I;oq.prototype.unByKey=oq.prototype.L;pq.prototype.changed=pq.prototype.o;pq.prototype.getRevision=pq.prototype.J;pq.prototype.on=pq.prototype.G;pq.prototype.once=pq.prototype.K;pq.prototype.un=pq.prototype.I;pq.prototype.unByKey=pq.prototype.L;qq.prototype.changed=qq.prototype.o;
qq.prototype.getRevision=qq.prototype.J;qq.prototype.on=qq.prototype.G;qq.prototype.once=qq.prototype.K;qq.prototype.un=qq.prototype.I;qq.prototype.unByKey=qq.prototype.L;sq.prototype.changed=sq.prototype.o;sq.prototype.getRevision=sq.prototype.J;sq.prototype.on=sq.prototype.G;sq.prototype.once=sq.prototype.K;sq.prototype.un=sq.prototype.I;sq.prototype.unByKey=sq.prototype.L;Bm.prototype.changed=Bm.prototype.o;Bm.prototype.getRevision=Bm.prototype.J;Bm.prototype.on=Bm.prototype.G;
Bm.prototype.once=Bm.prototype.K;Bm.prototype.un=Bm.prototype.I;Bm.prototype.unByKey=Bm.prototype.L;Zp.prototype.changed=Zp.prototype.o;Zp.prototype.getRevision=Zp.prototype.J;Zp.prototype.on=Zp.prototype.G;Zp.prototype.once=Zp.prototype.K;Zp.prototype.un=Zp.prototype.I;Zp.prototype.unByKey=Zp.prototype.L;$p.prototype.changed=$p.prototype.o;$p.prototype.getRevision=$p.prototype.J;$p.prototype.on=$p.prototype.G;$p.prototype.once=$p.prototype.K;$p.prototype.un=$p.prototype.I;$p.prototype.unByKey=$p.prototype.L;
aq.prototype.changed=aq.prototype.o;aq.prototype.getRevision=aq.prototype.J;aq.prototype.on=aq.prototype.G;aq.prototype.once=aq.prototype.K;aq.prototype.un=aq.prototype.I;aq.prototype.unByKey=aq.prototype.L;kq.prototype.changed=kq.prototype.o;kq.prototype.getRevision=kq.prototype.J;kq.prototype.on=kq.prototype.G;kq.prototype.once=kq.prototype.K;kq.prototype.un=kq.prototype.I;kq.prototype.unByKey=kq.prototype.L;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.N;
F.prototype.getProperties=F.prototype.O;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.H;F.prototype.unset=F.prototype.R;F.prototype.changed=F.prototype.o;F.prototype.getRevision=F.prototype.J;F.prototype.on=F.prototype.G;F.prototype.once=F.prototype.K;F.prototype.un=F.prototype.I;F.prototype.unByKey=F.prototype.L;G.prototype.getBrightness=G.prototype.yb;G.prototype.getContrast=G.prototype.Ab;G.prototype.getHue=G.prototype.Cb;G.prototype.getExtent=G.prototype.P;
G.prototype.getMaxResolution=G.prototype.Fb;G.prototype.getMinResolution=G.prototype.Gb;G.prototype.getOpacity=G.prototype.Kb;G.prototype.getSaturation=G.prototype.Hb;G.prototype.getVisible=G.prototype.jb;G.prototype.getZIndex=G.prototype.Lb;G.prototype.setBrightness=G.prototype.cc;G.prototype.setContrast=G.prototype.dc;G.prototype.setHue=G.prototype.ec;G.prototype.setExtent=G.prototype.Wb;G.prototype.setMaxResolution=G.prototype.gc;G.prototype.setMinResolution=G.prototype.hc;
G.prototype.setOpacity=G.prototype.Xb;G.prototype.setSaturation=G.prototype.ic;G.prototype.setVisible=G.prototype.Yb;G.prototype.setZIndex=G.prototype.Zb;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.N;G.prototype.getProperties=G.prototype.O;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.H;G.prototype.unset=G.prototype.R;G.prototype.changed=G.prototype.o;G.prototype.getRevision=G.prototype.J;G.prototype.on=G.prototype.G;G.prototype.once=G.prototype.K;
G.prototype.un=G.prototype.I;G.prototype.unByKey=G.prototype.L;N.prototype.setMap=N.prototype.setMap;N.prototype.setSource=N.prototype.yc;N.prototype.getBrightness=N.prototype.yb;N.prototype.getContrast=N.prototype.Ab;N.prototype.getHue=N.prototype.Cb;N.prototype.getExtent=N.prototype.P;N.prototype.getMaxResolution=N.prototype.Fb;N.prototype.getMinResolution=N.prototype.Gb;N.prototype.getOpacity=N.prototype.Kb;N.prototype.getSaturation=N.prototype.Hb;N.prototype.getVisible=N.prototype.jb;
N.prototype.getZIndex=N.prototype.Lb;N.prototype.setBrightness=N.prototype.cc;N.prototype.setContrast=N.prototype.dc;N.prototype.setHue=N.prototype.ec;N.prototype.setExtent=N.prototype.Wb;N.prototype.setMaxResolution=N.prototype.gc;N.prototype.setMinResolution=N.prototype.hc;N.prototype.setOpacity=N.prototype.Xb;N.prototype.setSaturation=N.prototype.ic;N.prototype.setVisible=N.prototype.Yb;N.prototype.setZIndex=N.prototype.Zb;N.prototype.get=N.prototype.get;N.prototype.getKeys=N.prototype.N;
N.prototype.getProperties=N.prototype.O;N.prototype.set=N.prototype.set;N.prototype.setProperties=N.prototype.H;N.prototype.unset=N.prototype.R;N.prototype.changed=N.prototype.o;N.prototype.getRevision=N.prototype.J;N.prototype.on=N.prototype.G;N.prototype.once=N.prototype.K;N.prototype.un=N.prototype.I;N.prototype.unByKey=N.prototype.L;Z.prototype.getSource=Z.prototype.da;Z.prototype.getStyle=Z.prototype.D;Z.prototype.getStyleFunction=Z.prototype.C;Z.prototype.setStyle=Z.prototype.c;
Z.prototype.setMap=Z.prototype.setMap;Z.prototype.setSource=Z.prototype.yc;Z.prototype.getBrightness=Z.prototype.yb;Z.prototype.getContrast=Z.prototype.Ab;Z.prototype.getHue=Z.prototype.Cb;Z.prototype.getExtent=Z.prototype.P;Z.prototype.getMaxResolution=Z.prototype.Fb;Z.prototype.getMinResolution=Z.prototype.Gb;Z.prototype.getOpacity=Z.prototype.Kb;Z.prototype.getSaturation=Z.prototype.Hb;Z.prototype.getVisible=Z.prototype.jb;Z.prototype.getZIndex=Z.prototype.Lb;Z.prototype.setBrightness=Z.prototype.cc;
Z.prototype.setContrast=Z.prototype.dc;Z.prototype.setHue=Z.prototype.ec;Z.prototype.setExtent=Z.prototype.Wb;Z.prototype.setMaxResolution=Z.prototype.gc;Z.prototype.setMinResolution=Z.prototype.hc;Z.prototype.setOpacity=Z.prototype.Xb;Z.prototype.setSaturation=Z.prototype.ic;Z.prototype.setVisible=Z.prototype.Yb;Z.prototype.setZIndex=Z.prototype.Zb;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.N;Z.prototype.getProperties=Z.prototype.O;Z.prototype.set=Z.prototype.set;
Z.prototype.setProperties=Z.prototype.H;Z.prototype.unset=Z.prototype.R;Z.prototype.changed=Z.prototype.o;Z.prototype.getRevision=Z.prototype.J;Z.prototype.on=Z.prototype.G;Z.prototype.once=Z.prototype.K;Z.prototype.un=Z.prototype.I;Z.prototype.unByKey=Z.prototype.L;L.prototype.setMap=L.prototype.setMap;L.prototype.setSource=L.prototype.yc;L.prototype.getBrightness=L.prototype.yb;L.prototype.getContrast=L.prototype.Ab;L.prototype.getHue=L.prototype.Cb;L.prototype.getExtent=L.prototype.P;
L.prototype.getMaxResolution=L.prototype.Fb;L.prototype.getMinResolution=L.prototype.Gb;L.prototype.getOpacity=L.prototype.Kb;L.prototype.getSaturation=L.prototype.Hb;L.prototype.getVisible=L.prototype.jb;L.prototype.getZIndex=L.prototype.Lb;L.prototype.setBrightness=L.prototype.cc;L.prototype.setContrast=L.prototype.dc;L.prototype.setHue=L.prototype.ec;L.prototype.setExtent=L.prototype.Wb;L.prototype.setMaxResolution=L.prototype.gc;L.prototype.setMinResolution=L.prototype.hc;
L.prototype.setOpacity=L.prototype.Xb;L.prototype.setSaturation=L.prototype.ic;L.prototype.setVisible=L.prototype.Yb;L.prototype.setZIndex=L.prototype.Zb;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.N;L.prototype.getProperties=L.prototype.O;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.H;L.prototype.unset=L.prototype.R;L.prototype.changed=L.prototype.o;L.prototype.getRevision=L.prototype.J;L.prototype.on=L.prototype.G;L.prototype.once=L.prototype.K;
L.prototype.un=L.prototype.I;L.prototype.unByKey=L.prototype.L;I.prototype.getBrightness=I.prototype.yb;I.prototype.getContrast=I.prototype.Ab;I.prototype.getHue=I.prototype.Cb;I.prototype.getExtent=I.prototype.P;I.prototype.getMaxResolution=I.prototype.Fb;I.prototype.getMinResolution=I.prototype.Gb;I.prototype.getOpacity=I.prototype.Kb;I.prototype.getSaturation=I.prototype.Hb;I.prototype.getVisible=I.prototype.jb;I.prototype.getZIndex=I.prototype.Lb;I.prototype.setBrightness=I.prototype.cc;
I.prototype.setContrast=I.prototype.dc;I.prototype.setHue=I.prototype.ec;I.prototype.setExtent=I.prototype.Wb;I.prototype.setMaxResolution=I.prototype.gc;I.prototype.setMinResolution=I.prototype.hc;I.prototype.setOpacity=I.prototype.Xb;I.prototype.setSaturation=I.prototype.ic;I.prototype.setVisible=I.prototype.Yb;I.prototype.setZIndex=I.prototype.Zb;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.N;I.prototype.getProperties=I.prototype.O;I.prototype.set=I.prototype.set;
I.prototype.setProperties=I.prototype.H;I.prototype.unset=I.prototype.R;I.prototype.changed=I.prototype.o;I.prototype.getRevision=I.prototype.J;I.prototype.on=I.prototype.G;I.prototype.once=I.prototype.K;I.prototype.un=I.prototype.I;I.prototype.unByKey=I.prototype.L;M.prototype.setMap=M.prototype.setMap;M.prototype.setSource=M.prototype.yc;M.prototype.getBrightness=M.prototype.yb;M.prototype.getContrast=M.prototype.Ab;M.prototype.getHue=M.prototype.Cb;M.prototype.getExtent=M.prototype.P;
M.prototype.getMaxResolution=M.prototype.Fb;M.prototype.getMinResolution=M.prototype.Gb;M.prototype.getOpacity=M.prototype.Kb;M.prototype.getSaturation=M.prototype.Hb;M.prototype.getVisible=M.prototype.jb;M.prototype.getZIndex=M.prototype.Lb;M.prototype.setBrightness=M.prototype.cc;M.prototype.setContrast=M.prototype.dc;M.prototype.setHue=M.prototype.ec;M.prototype.setExtent=M.prototype.Wb;M.prototype.setMaxResolution=M.prototype.gc;M.prototype.setMinResolution=M.prototype.hc;
M.prototype.setOpacity=M.prototype.Xb;M.prototype.setSaturation=M.prototype.ic;M.prototype.setVisible=M.prototype.Yb;M.prototype.setZIndex=M.prototype.Zb;M.prototype.get=M.prototype.get;M.prototype.getKeys=M.prototype.N;M.prototype.getProperties=M.prototype.O;M.prototype.set=M.prototype.set;M.prototype.setProperties=M.prototype.H;M.prototype.unset=M.prototype.R;M.prototype.changed=M.prototype.o;M.prototype.getRevision=M.prototype.J;M.prototype.on=M.prototype.G;M.prototype.once=M.prototype.K;
M.prototype.un=M.prototype.I;M.prototype.unByKey=M.prototype.L;O.prototype.getStyle=O.prototype.D;O.prototype.getStyleFunction=O.prototype.C;O.prototype.setStyle=O.prototype.c;O.prototype.setMap=O.prototype.setMap;O.prototype.setSource=O.prototype.yc;O.prototype.getBrightness=O.prototype.yb;O.prototype.getContrast=O.prototype.Ab;O.prototype.getHue=O.prototype.Cb;O.prototype.getExtent=O.prototype.P;O.prototype.getMaxResolution=O.prototype.Fb;O.prototype.getMinResolution=O.prototype.Gb;
O.prototype.getOpacity=O.prototype.Kb;O.prototype.getSaturation=O.prototype.Hb;O.prototype.getVisible=O.prototype.jb;O.prototype.getZIndex=O.prototype.Lb;O.prototype.setBrightness=O.prototype.cc;O.prototype.setContrast=O.prototype.dc;O.prototype.setHue=O.prototype.ec;O.prototype.setExtent=O.prototype.Wb;O.prototype.setMaxResolution=O.prototype.gc;O.prototype.setMinResolution=O.prototype.hc;O.prototype.setOpacity=O.prototype.Xb;O.prototype.setSaturation=O.prototype.ic;O.prototype.setVisible=O.prototype.Yb;
O.prototype.setZIndex=O.prototype.Zb;O.prototype.get=O.prototype.get;O.prototype.getKeys=O.prototype.N;O.prototype.getProperties=O.prototype.O;O.prototype.set=O.prototype.set;O.prototype.setProperties=O.prototype.H;O.prototype.unset=O.prototype.R;O.prototype.changed=O.prototype.o;O.prototype.getRevision=O.prototype.J;O.prototype.on=O.prototype.G;O.prototype.once=O.prototype.K;O.prototype.un=O.prototype.I;O.prototype.unByKey=O.prototype.L;Uk.prototype.get=Uk.prototype.get;Uk.prototype.getKeys=Uk.prototype.N;
Uk.prototype.getProperties=Uk.prototype.O;Uk.prototype.set=Uk.prototype.set;Uk.prototype.setProperties=Uk.prototype.H;Uk.prototype.unset=Uk.prototype.R;Uk.prototype.changed=Uk.prototype.o;Uk.prototype.getRevision=Uk.prototype.J;Uk.prototype.on=Uk.prototype.G;Uk.prototype.once=Uk.prototype.K;Uk.prototype.un=Uk.prototype.I;Uk.prototype.unByKey=Uk.prototype.L;Yk.prototype.getActive=Yk.prototype.b;Yk.prototype.setActive=Yk.prototype.g;Yk.prototype.get=Yk.prototype.get;Yk.prototype.getKeys=Yk.prototype.N;
Yk.prototype.getProperties=Yk.prototype.O;Yk.prototype.set=Yk.prototype.set;Yk.prototype.setProperties=Yk.prototype.H;Yk.prototype.unset=Yk.prototype.R;Yk.prototype.changed=Yk.prototype.o;Yk.prototype.getRevision=Yk.prototype.J;Yk.prototype.on=Yk.prototype.G;Yk.prototype.once=Yk.prototype.K;Yk.prototype.un=Yk.prototype.I;Yk.prototype.unByKey=Yk.prototype.L;uy.prototype.getActive=uy.prototype.b;uy.prototype.setActive=uy.prototype.g;uy.prototype.get=uy.prototype.get;uy.prototype.getKeys=uy.prototype.N;
uy.prototype.getProperties=uy.prototype.O;uy.prototype.set=uy.prototype.set;uy.prototype.setProperties=uy.prototype.H;uy.prototype.unset=uy.prototype.R;uy.prototype.changed=uy.prototype.o;uy.prototype.getRevision=uy.prototype.J;uy.prototype.on=uy.prototype.G;uy.prototype.once=uy.prototype.K;uy.prototype.un=uy.prototype.I;uy.prototype.unByKey=uy.prototype.L;gl.prototype.getActive=gl.prototype.b;gl.prototype.setActive=gl.prototype.g;gl.prototype.get=gl.prototype.get;gl.prototype.getKeys=gl.prototype.N;
gl.prototype.getProperties=gl.prototype.O;gl.prototype.set=gl.prototype.set;gl.prototype.setProperties=gl.prototype.H;gl.prototype.unset=gl.prototype.R;gl.prototype.changed=gl.prototype.o;gl.prototype.getRevision=gl.prototype.J;gl.prototype.on=gl.prototype.G;gl.prototype.once=gl.prototype.K;gl.prototype.un=gl.prototype.I;gl.prototype.unByKey=gl.prototype.L;wl.prototype.getActive=wl.prototype.b;wl.prototype.setActive=wl.prototype.g;wl.prototype.get=wl.prototype.get;wl.prototype.getKeys=wl.prototype.N;
wl.prototype.getProperties=wl.prototype.O;wl.prototype.set=wl.prototype.set;wl.prototype.setProperties=wl.prototype.H;wl.prototype.unset=wl.prototype.R;wl.prototype.changed=wl.prototype.o;wl.prototype.getRevision=wl.prototype.J;wl.prototype.on=wl.prototype.G;wl.prototype.once=wl.prototype.K;wl.prototype.un=wl.prototype.I;wl.prototype.unByKey=wl.prototype.L;jl.prototype.getActive=jl.prototype.b;jl.prototype.setActive=jl.prototype.g;jl.prototype.get=jl.prototype.get;jl.prototype.getKeys=jl.prototype.N;
jl.prototype.getProperties=jl.prototype.O;jl.prototype.set=jl.prototype.set;jl.prototype.setProperties=jl.prototype.H;jl.prototype.unset=jl.prototype.R;jl.prototype.changed=jl.prototype.o;jl.prototype.getRevision=jl.prototype.J;jl.prototype.on=jl.prototype.G;jl.prototype.once=jl.prototype.K;jl.prototype.un=jl.prototype.I;jl.prototype.unByKey=jl.prototype.L;yy.prototype.getActive=yy.prototype.b;yy.prototype.setActive=yy.prototype.g;yy.prototype.get=yy.prototype.get;yy.prototype.getKeys=yy.prototype.N;
yy.prototype.getProperties=yy.prototype.O;yy.prototype.set=yy.prototype.set;yy.prototype.setProperties=yy.prototype.H;yy.prototype.unset=yy.prototype.R;yy.prototype.changed=yy.prototype.o;yy.prototype.getRevision=yy.prototype.J;yy.prototype.on=yy.prototype.G;yy.prototype.once=yy.prototype.K;yy.prototype.un=yy.prototype.I;yy.prototype.unByKey=yy.prototype.L;nl.prototype.getActive=nl.prototype.b;nl.prototype.setActive=nl.prototype.g;nl.prototype.get=nl.prototype.get;nl.prototype.getKeys=nl.prototype.N;
nl.prototype.getProperties=nl.prototype.O;nl.prototype.set=nl.prototype.set;nl.prototype.setProperties=nl.prototype.H;nl.prototype.unset=nl.prototype.R;nl.prototype.changed=nl.prototype.o;nl.prototype.getRevision=nl.prototype.J;nl.prototype.on=nl.prototype.G;nl.prototype.once=nl.prototype.K;nl.prototype.un=nl.prototype.I;nl.prototype.unByKey=nl.prototype.L;Ql.prototype.getGeometry=Ql.prototype.V;Ql.prototype.getActive=Ql.prototype.b;Ql.prototype.setActive=Ql.prototype.g;Ql.prototype.get=Ql.prototype.get;
Ql.prototype.getKeys=Ql.prototype.N;Ql.prototype.getProperties=Ql.prototype.O;Ql.prototype.set=Ql.prototype.set;Ql.prototype.setProperties=Ql.prototype.H;Ql.prototype.unset=Ql.prototype.R;Ql.prototype.changed=Ql.prototype.o;Ql.prototype.getRevision=Ql.prototype.J;Ql.prototype.on=Ql.prototype.G;Ql.prototype.once=Ql.prototype.K;Ql.prototype.un=Ql.prototype.I;Ql.prototype.unByKey=Ql.prototype.L;Dy.prototype.getActive=Dy.prototype.b;Dy.prototype.setActive=Dy.prototype.g;Dy.prototype.get=Dy.prototype.get;
Dy.prototype.getKeys=Dy.prototype.N;Dy.prototype.getProperties=Dy.prototype.O;Dy.prototype.set=Dy.prototype.set;Dy.prototype.setProperties=Dy.prototype.H;Dy.prototype.unset=Dy.prototype.R;Dy.prototype.changed=Dy.prototype.o;Dy.prototype.getRevision=Dy.prototype.J;Dy.prototype.on=Dy.prototype.G;Dy.prototype.once=Dy.prototype.K;Dy.prototype.un=Dy.prototype.I;Dy.prototype.unByKey=Dy.prototype.L;Rl.prototype.getActive=Rl.prototype.b;Rl.prototype.setActive=Rl.prototype.g;Rl.prototype.get=Rl.prototype.get;
Rl.prototype.getKeys=Rl.prototype.N;Rl.prototype.getProperties=Rl.prototype.O;Rl.prototype.set=Rl.prototype.set;Rl.prototype.setProperties=Rl.prototype.H;Rl.prototype.unset=Rl.prototype.R;Rl.prototype.changed=Rl.prototype.o;Rl.prototype.getRevision=Rl.prototype.J;Rl.prototype.on=Rl.prototype.G;Rl.prototype.once=Rl.prototype.K;Rl.prototype.un=Rl.prototype.I;Rl.prototype.unByKey=Rl.prototype.L;Tl.prototype.getActive=Tl.prototype.b;Tl.prototype.setActive=Tl.prototype.g;Tl.prototype.get=Tl.prototype.get;
Tl.prototype.getKeys=Tl.prototype.N;Tl.prototype.getProperties=Tl.prototype.O;Tl.prototype.set=Tl.prototype.set;Tl.prototype.setProperties=Tl.prototype.H;Tl.prototype.unset=Tl.prototype.R;Tl.prototype.changed=Tl.prototype.o;Tl.prototype.getRevision=Tl.prototype.J;Tl.prototype.on=Tl.prototype.G;Tl.prototype.once=Tl.prototype.K;Tl.prototype.un=Tl.prototype.I;Tl.prototype.unByKey=Tl.prototype.L;Uy.prototype.getActive=Uy.prototype.b;Uy.prototype.setActive=Uy.prototype.g;Uy.prototype.get=Uy.prototype.get;
Uy.prototype.getKeys=Uy.prototype.N;Uy.prototype.getProperties=Uy.prototype.O;Uy.prototype.set=Uy.prototype.set;Uy.prototype.setProperties=Uy.prototype.H;Uy.prototype.unset=Uy.prototype.R;Uy.prototype.changed=Uy.prototype.o;Uy.prototype.getRevision=Uy.prototype.J;Uy.prototype.on=Uy.prototype.G;Uy.prototype.once=Uy.prototype.K;Uy.prototype.un=Uy.prototype.I;Uy.prototype.unByKey=Uy.prototype.L;Vl.prototype.getActive=Vl.prototype.b;Vl.prototype.setActive=Vl.prototype.g;Vl.prototype.get=Vl.prototype.get;
Vl.prototype.getKeys=Vl.prototype.N;Vl.prototype.getProperties=Vl.prototype.O;Vl.prototype.set=Vl.prototype.set;Vl.prototype.setProperties=Vl.prototype.H;Vl.prototype.unset=Vl.prototype.R;Vl.prototype.changed=Vl.prototype.o;Vl.prototype.getRevision=Vl.prototype.J;Vl.prototype.on=Vl.prototype.G;Vl.prototype.once=Vl.prototype.K;Vl.prototype.un=Vl.prototype.I;Vl.prototype.unByKey=Vl.prototype.L;Xl.prototype.getActive=Xl.prototype.b;Xl.prototype.setActive=Xl.prototype.g;Xl.prototype.get=Xl.prototype.get;
Xl.prototype.getKeys=Xl.prototype.N;Xl.prototype.getProperties=Xl.prototype.O;Xl.prototype.set=Xl.prototype.set;Xl.prototype.setProperties=Xl.prototype.H;Xl.prototype.unset=Xl.prototype.R;Xl.prototype.changed=Xl.prototype.o;Xl.prototype.getRevision=Xl.prototype.J;Xl.prototype.on=Xl.prototype.G;Xl.prototype.once=Xl.prototype.K;Xl.prototype.un=Xl.prototype.I;Xl.prototype.unByKey=Xl.prototype.L;am.prototype.getActive=am.prototype.b;am.prototype.setActive=am.prototype.g;am.prototype.get=am.prototype.get;
am.prototype.getKeys=am.prototype.N;am.prototype.getProperties=am.prototype.O;am.prototype.set=am.prototype.set;am.prototype.setProperties=am.prototype.H;am.prototype.unset=am.prototype.R;am.prototype.changed=am.prototype.o;am.prototype.getRevision=am.prototype.J;am.prototype.on=am.prototype.G;am.prototype.once=am.prototype.K;am.prototype.un=am.prototype.I;am.prototype.unByKey=am.prototype.L;gz.prototype.getActive=gz.prototype.b;gz.prototype.setActive=gz.prototype.g;gz.prototype.get=gz.prototype.get;
gz.prototype.getKeys=gz.prototype.N;gz.prototype.getProperties=gz.prototype.O;gz.prototype.set=gz.prototype.set;gz.prototype.setProperties=gz.prototype.H;gz.prototype.unset=gz.prototype.R;gz.prototype.changed=gz.prototype.o;gz.prototype.getRevision=gz.prototype.J;gz.prototype.on=gz.prototype.G;gz.prototype.once=gz.prototype.K;gz.prototype.un=gz.prototype.I;gz.prototype.unByKey=gz.prototype.L;jz.prototype.getActive=jz.prototype.b;jz.prototype.setActive=jz.prototype.g;jz.prototype.get=jz.prototype.get;
jz.prototype.getKeys=jz.prototype.N;jz.prototype.getProperties=jz.prototype.O;jz.prototype.set=jz.prototype.set;jz.prototype.setProperties=jz.prototype.H;jz.prototype.unset=jz.prototype.R;jz.prototype.changed=jz.prototype.o;jz.prototype.getRevision=jz.prototype.J;jz.prototype.on=jz.prototype.G;jz.prototype.once=jz.prototype.K;jz.prototype.un=jz.prototype.I;jz.prototype.unByKey=jz.prototype.L;nz.prototype.getActive=nz.prototype.b;nz.prototype.setActive=nz.prototype.g;nz.prototype.get=nz.prototype.get;
nz.prototype.getKeys=nz.prototype.N;nz.prototype.getProperties=nz.prototype.O;nz.prototype.set=nz.prototype.set;nz.prototype.setProperties=nz.prototype.H;nz.prototype.unset=nz.prototype.R;nz.prototype.changed=nz.prototype.o;nz.prototype.getRevision=nz.prototype.J;nz.prototype.on=nz.prototype.G;nz.prototype.once=nz.prototype.K;nz.prototype.un=nz.prototype.I;nz.prototype.unByKey=nz.prototype.L;Pe.prototype.get=Pe.prototype.get;Pe.prototype.getKeys=Pe.prototype.N;Pe.prototype.getProperties=Pe.prototype.O;
Pe.prototype.set=Pe.prototype.set;Pe.prototype.setProperties=Pe.prototype.H;Pe.prototype.unset=Pe.prototype.R;Pe.prototype.changed=Pe.prototype.o;Pe.prototype.getRevision=Pe.prototype.J;Pe.prototype.on=Pe.prototype.G;Pe.prototype.once=Pe.prototype.K;Pe.prototype.un=Pe.prototype.I;Pe.prototype.unByKey=Pe.prototype.L;cf.prototype.getClosestPoint=cf.prototype.hb;cf.prototype.getExtent=cf.prototype.P;cf.prototype.transform=cf.prototype.transform;cf.prototype.get=cf.prototype.get;
cf.prototype.getKeys=cf.prototype.N;cf.prototype.getProperties=cf.prototype.O;cf.prototype.set=cf.prototype.set;cf.prototype.setProperties=cf.prototype.H;cf.prototype.unset=cf.prototype.R;cf.prototype.changed=cf.prototype.o;cf.prototype.getRevision=cf.prototype.J;cf.prototype.on=cf.prototype.G;cf.prototype.once=cf.prototype.K;cf.prototype.un=cf.prototype.I;cf.prototype.unByKey=cf.prototype.L;Zm.prototype.getFirstCoordinate=Zm.prototype.Bb;Zm.prototype.getLastCoordinate=Zm.prototype.Db;
Zm.prototype.getLayout=Zm.prototype.Eb;Zm.prototype.getClosestPoint=Zm.prototype.hb;Zm.prototype.getExtent=Zm.prototype.P;Zm.prototype.get=Zm.prototype.get;Zm.prototype.getKeys=Zm.prototype.N;Zm.prototype.getProperties=Zm.prototype.O;Zm.prototype.set=Zm.prototype.set;Zm.prototype.setProperties=Zm.prototype.H;Zm.prototype.unset=Zm.prototype.R;Zm.prototype.changed=Zm.prototype.o;Zm.prototype.getRevision=Zm.prototype.J;Zm.prototype.on=Zm.prototype.G;Zm.prototype.once=Zm.prototype.K;Zm.prototype.un=Zm.prototype.I;
Zm.prototype.unByKey=Zm.prototype.L;an.prototype.getClosestPoint=an.prototype.hb;an.prototype.getExtent=an.prototype.P;an.prototype.transform=an.prototype.transform;an.prototype.get=an.prototype.get;an.prototype.getKeys=an.prototype.N;an.prototype.getProperties=an.prototype.O;an.prototype.set=an.prototype.set;an.prototype.setProperties=an.prototype.H;an.prototype.unset=an.prototype.R;an.prototype.changed=an.prototype.o;an.prototype.getRevision=an.prototype.J;an.prototype.on=an.prototype.G;
an.prototype.once=an.prototype.K;an.prototype.un=an.prototype.I;an.prototype.unByKey=an.prototype.L;wf.prototype.getFirstCoordinate=wf.prototype.Bb;wf.prototype.getLastCoordinate=wf.prototype.Db;wf.prototype.getLayout=wf.prototype.Eb;wf.prototype.getClosestPoint=wf.prototype.hb;wf.prototype.getExtent=wf.prototype.P;wf.prototype.transform=wf.prototype.transform;wf.prototype.get=wf.prototype.get;wf.prototype.getKeys=wf.prototype.N;wf.prototype.getProperties=wf.prototype.O;wf.prototype.set=wf.prototype.set;
wf.prototype.setProperties=wf.prototype.H;wf.prototype.unset=wf.prototype.R;wf.prototype.changed=wf.prototype.o;wf.prototype.getRevision=wf.prototype.J;wf.prototype.on=wf.prototype.G;wf.prototype.once=wf.prototype.K;wf.prototype.un=wf.prototype.I;wf.prototype.unByKey=wf.prototype.L;P.prototype.getFirstCoordinate=P.prototype.Bb;P.prototype.getLastCoordinate=P.prototype.Db;P.prototype.getLayout=P.prototype.Eb;P.prototype.getClosestPoint=P.prototype.hb;P.prototype.getExtent=P.prototype.P;
P.prototype.transform=P.prototype.transform;P.prototype.get=P.prototype.get;P.prototype.getKeys=P.prototype.N;P.prototype.getProperties=P.prototype.O;P.prototype.set=P.prototype.set;P.prototype.setProperties=P.prototype.H;P.prototype.unset=P.prototype.R;P.prototype.changed=P.prototype.o;P.prototype.getRevision=P.prototype.J;P.prototype.on=P.prototype.G;P.prototype.once=P.prototype.K;P.prototype.un=P.prototype.I;P.prototype.unByKey=P.prototype.L;jn.prototype.getFirstCoordinate=jn.prototype.Bb;
jn.prototype.getLastCoordinate=jn.prototype.Db;jn.prototype.getLayout=jn.prototype.Eb;jn.prototype.getClosestPoint=jn.prototype.hb;jn.prototype.getExtent=jn.prototype.P;jn.prototype.transform=jn.prototype.transform;jn.prototype.get=jn.prototype.get;jn.prototype.getKeys=jn.prototype.N;jn.prototype.getProperties=jn.prototype.O;jn.prototype.set=jn.prototype.set;jn.prototype.setProperties=jn.prototype.H;jn.prototype.unset=jn.prototype.R;jn.prototype.changed=jn.prototype.o;jn.prototype.getRevision=jn.prototype.J;
jn.prototype.on=jn.prototype.G;jn.prototype.once=jn.prototype.K;jn.prototype.un=jn.prototype.I;jn.prototype.unByKey=jn.prototype.L;ln.prototype.getFirstCoordinate=ln.prototype.Bb;ln.prototype.getLastCoordinate=ln.prototype.Db;ln.prototype.getLayout=ln.prototype.Eb;ln.prototype.getClosestPoint=ln.prototype.hb;ln.prototype.getExtent=ln.prototype.P;ln.prototype.transform=ln.prototype.transform;ln.prototype.get=ln.prototype.get;ln.prototype.getKeys=ln.prototype.N;ln.prototype.getProperties=ln.prototype.O;
ln.prototype.set=ln.prototype.set;ln.prototype.setProperties=ln.prototype.H;ln.prototype.unset=ln.prototype.R;ln.prototype.changed=ln.prototype.o;ln.prototype.getRevision=ln.prototype.J;ln.prototype.on=ln.prototype.G;ln.prototype.once=ln.prototype.K;ln.prototype.un=ln.prototype.I;ln.prototype.unByKey=ln.prototype.L;mn.prototype.getFirstCoordinate=mn.prototype.Bb;mn.prototype.getLastCoordinate=mn.prototype.Db;mn.prototype.getLayout=mn.prototype.Eb;mn.prototype.getClosestPoint=mn.prototype.hb;
mn.prototype.getExtent=mn.prototype.P;mn.prototype.transform=mn.prototype.transform;mn.prototype.get=mn.prototype.get;mn.prototype.getKeys=mn.prototype.N;mn.prototype.getProperties=mn.prototype.O;mn.prototype.set=mn.prototype.set;mn.prototype.setProperties=mn.prototype.H;mn.prototype.unset=mn.prototype.R;mn.prototype.changed=mn.prototype.o;mn.prototype.getRevision=mn.prototype.J;mn.prototype.on=mn.prototype.G;mn.prototype.once=mn.prototype.K;mn.prototype.un=mn.prototype.I;mn.prototype.unByKey=mn.prototype.L;
yf.prototype.getFirstCoordinate=yf.prototype.Bb;yf.prototype.getLastCoordinate=yf.prototype.Db;yf.prototype.getLayout=yf.prototype.Eb;yf.prototype.getClosestPoint=yf.prototype.hb;yf.prototype.getExtent=yf.prototype.P;yf.prototype.transform=yf.prototype.transform;yf.prototype.get=yf.prototype.get;yf.prototype.getKeys=yf.prototype.N;yf.prototype.getProperties=yf.prototype.O;yf.prototype.set=yf.prototype.set;yf.prototype.setProperties=yf.prototype.H;yf.prototype.unset=yf.prototype.R;
yf.prototype.changed=yf.prototype.o;yf.prototype.getRevision=yf.prototype.J;yf.prototype.on=yf.prototype.G;yf.prototype.once=yf.prototype.K;yf.prototype.un=yf.prototype.I;yf.prototype.unByKey=yf.prototype.L;E.prototype.getFirstCoordinate=E.prototype.Bb;E.prototype.getLastCoordinate=E.prototype.Db;E.prototype.getLayout=E.prototype.Eb;E.prototype.getClosestPoint=E.prototype.hb;E.prototype.getExtent=E.prototype.P;E.prototype.transform=E.prototype.transform;E.prototype.get=E.prototype.get;
E.prototype.getKeys=E.prototype.N;E.prototype.getProperties=E.prototype.O;E.prototype.set=E.prototype.set;E.prototype.setProperties=E.prototype.H;E.prototype.unset=E.prototype.R;E.prototype.changed=E.prototype.o;E.prototype.getRevision=E.prototype.J;E.prototype.on=E.prototype.G;E.prototype.once=E.prototype.K;E.prototype.un=E.prototype.I;E.prototype.unByKey=E.prototype.L;Ks.prototype.readFeatures=Ks.prototype.xa;Ls.prototype.readFeatures=Ls.prototype.xa;Ls.prototype.readFeatures=Ls.prototype.xa;
zh.prototype.get=zh.prototype.get;zh.prototype.getKeys=zh.prototype.N;zh.prototype.getProperties=zh.prototype.O;zh.prototype.set=zh.prototype.set;zh.prototype.setProperties=zh.prototype.H;zh.prototype.unset=zh.prototype.R;zh.prototype.changed=zh.prototype.o;zh.prototype.getRevision=zh.prototype.J;zh.prototype.on=zh.prototype.G;zh.prototype.once=zh.prototype.K;zh.prototype.un=zh.prototype.I;zh.prototype.unByKey=zh.prototype.L;Zh.prototype.getMap=Zh.prototype.g;Zh.prototype.setMap=Zh.prototype.setMap;
Zh.prototype.setTarget=Zh.prototype.b;Zh.prototype.get=Zh.prototype.get;Zh.prototype.getKeys=Zh.prototype.N;Zh.prototype.getProperties=Zh.prototype.O;Zh.prototype.set=Zh.prototype.set;Zh.prototype.setProperties=Zh.prototype.H;Zh.prototype.unset=Zh.prototype.R;Zh.prototype.changed=Zh.prototype.o;Zh.prototype.getRevision=Zh.prototype.J;Zh.prototype.on=Zh.prototype.G;Zh.prototype.once=Zh.prototype.K;Zh.prototype.un=Zh.prototype.I;Zh.prototype.unByKey=Zh.prototype.L;ji.prototype.getMap=ji.prototype.g;
ji.prototype.setMap=ji.prototype.setMap;ji.prototype.setTarget=ji.prototype.b;ji.prototype.get=ji.prototype.get;ji.prototype.getKeys=ji.prototype.N;ji.prototype.getProperties=ji.prototype.O;ji.prototype.set=ji.prototype.set;ji.prototype.setProperties=ji.prototype.H;ji.prototype.unset=ji.prototype.R;ji.prototype.changed=ji.prototype.o;ji.prototype.getRevision=ji.prototype.J;ji.prototype.on=ji.prototype.G;ji.prototype.once=ji.prototype.K;ji.prototype.un=ji.prototype.I;ji.prototype.unByKey=ji.prototype.L;
ki.prototype.getMap=ki.prototype.g;ki.prototype.setMap=ki.prototype.setMap;ki.prototype.setTarget=ki.prototype.b;ki.prototype.get=ki.prototype.get;ki.prototype.getKeys=ki.prototype.N;ki.prototype.getProperties=ki.prototype.O;ki.prototype.set=ki.prototype.set;ki.prototype.setProperties=ki.prototype.H;ki.prototype.unset=ki.prototype.R;ki.prototype.changed=ki.prototype.o;ki.prototype.getRevision=ki.prototype.J;ki.prototype.on=ki.prototype.G;ki.prototype.once=ki.prototype.K;ki.prototype.un=ki.prototype.I;
ki.prototype.unByKey=ki.prototype.L;Er.prototype.getMap=Er.prototype.g;Er.prototype.setMap=Er.prototype.setMap;Er.prototype.setTarget=Er.prototype.b;Er.prototype.get=Er.prototype.get;Er.prototype.getKeys=Er.prototype.N;Er.prototype.getProperties=Er.prototype.O;Er.prototype.set=Er.prototype.set;Er.prototype.setProperties=Er.prototype.H;Er.prototype.unset=Er.prototype.R;Er.prototype.changed=Er.prototype.o;Er.prototype.getRevision=Er.prototype.J;Er.prototype.on=Er.prototype.G;Er.prototype.once=Er.prototype.K;
Er.prototype.un=Er.prototype.I;Er.prototype.unByKey=Er.prototype.L;bi.prototype.getMap=bi.prototype.g;bi.prototype.setMap=bi.prototype.setMap;bi.prototype.setTarget=bi.prototype.b;bi.prototype.get=bi.prototype.get;bi.prototype.getKeys=bi.prototype.N;bi.prototype.getProperties=bi.prototype.O;bi.prototype.set=bi.prototype.set;bi.prototype.setProperties=bi.prototype.H;bi.prototype.unset=bi.prototype.R;bi.prototype.changed=bi.prototype.o;bi.prototype.getRevision=bi.prototype.J;bi.prototype.on=bi.prototype.G;
bi.prototype.once=bi.prototype.K;bi.prototype.un=bi.prototype.I;bi.prototype.unByKey=bi.prototype.L;Jr.prototype.getMap=Jr.prototype.g;Jr.prototype.setMap=Jr.prototype.setMap;Jr.prototype.setTarget=Jr.prototype.b;Jr.prototype.get=Jr.prototype.get;Jr.prototype.getKeys=Jr.prototype.N;Jr.prototype.getProperties=Jr.prototype.O;Jr.prototype.set=Jr.prototype.set;Jr.prototype.setProperties=Jr.prototype.H;Jr.prototype.unset=Jr.prototype.R;Jr.prototype.changed=Jr.prototype.o;Jr.prototype.getRevision=Jr.prototype.J;
Jr.prototype.on=Jr.prototype.G;Jr.prototype.once=Jr.prototype.K;Jr.prototype.un=Jr.prototype.I;Jr.prototype.unByKey=Jr.prototype.L;di.prototype.getMap=di.prototype.g;di.prototype.setMap=di.prototype.setMap;di.prototype.setTarget=di.prototype.b;di.prototype.get=di.prototype.get;di.prototype.getKeys=di.prototype.N;di.prototype.getProperties=di.prototype.O;di.prototype.set=di.prototype.set;di.prototype.setProperties=di.prototype.H;di.prototype.unset=di.prototype.R;di.prototype.changed=di.prototype.o;
di.prototype.getRevision=di.prototype.J;di.prototype.on=di.prototype.G;di.prototype.once=di.prototype.K;di.prototype.un=di.prototype.I;di.prototype.unByKey=di.prototype.L;Xr.prototype.getMap=Xr.prototype.g;Xr.prototype.setMap=Xr.prototype.setMap;Xr.prototype.setTarget=Xr.prototype.b;Xr.prototype.get=Xr.prototype.get;Xr.prototype.getKeys=Xr.prototype.N;Xr.prototype.getProperties=Xr.prototype.O;Xr.prototype.set=Xr.prototype.set;Xr.prototype.setProperties=Xr.prototype.H;Xr.prototype.unset=Xr.prototype.R;
Xr.prototype.changed=Xr.prototype.o;Xr.prototype.getRevision=Xr.prototype.J;Xr.prototype.on=Xr.prototype.G;Xr.prototype.once=Xr.prototype.K;Xr.prototype.un=Xr.prototype.I;Xr.prototype.unByKey=Xr.prototype.L;bs.prototype.getMap=bs.prototype.g;bs.prototype.setMap=bs.prototype.setMap;bs.prototype.setTarget=bs.prototype.b;bs.prototype.get=bs.prototype.get;bs.prototype.getKeys=bs.prototype.N;bs.prototype.getProperties=bs.prototype.O;bs.prototype.set=bs.prototype.set;bs.prototype.setProperties=bs.prototype.H;
bs.prototype.unset=bs.prototype.R;bs.prototype.changed=bs.prototype.o;bs.prototype.getRevision=bs.prototype.J;bs.prototype.on=bs.prototype.G;bs.prototype.once=bs.prototype.K;bs.prototype.un=bs.prototype.I;bs.prototype.unByKey=bs.prototype.L;
return OPENLAYERS.ol;
}));