text: // OpenLayers 3. See http://openlayers.org/
  // License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
  // Version: v3.1.0
  
  (function (root, factory) {
    if (typeof define === "function" && define.amd) {
      define([], factory);
    } else if (typeof exports === "object") {
      module.exports = factory();
    } else {
      root.ol = factory();
    }
  }(this, function () {
    var OPENLAYERS = {};
    var l,aa=aa||{},ba=this;function m(b){return void 0!==b}function t(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.Ia=function(){return b.df?b.df:b.df=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 qa(b,c,d){return b.call.apply(b.bind,arguments)}function ra(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 sa(b,c,d){sa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?qa:ra;return sa.apply(null,arguments)}function ta(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 u(b,c){function d(){}d.prototype=c.prototype;b.Q=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.Ql=function(b,d,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return c.prototype[d].apply(b,h)}};var va,wa;function xa(b){if(Error.captureStackTrace)Error.captureStackTrace(this,xa);else{var c=Error().stack;c&&(this.stack=c)}b&&(this.message=String(b))}u(xa,Error);xa.prototype.name="CustomError";var ya;function za(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 Aa=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
  function Ba(b){if(!Ca.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(Da,"&amp;"));-1!=b.indexOf("<")&&(b=b.replace(Ea,"&lt;"));-1!=b.indexOf(">")&&(b=b.replace(Fa,"&gt;"));-1!=b.indexOf('"')&&(b=b.replace(Ga,"&quot;"));-1!=b.indexOf("'")&&(b=b.replace(Ha,"&#39;"));-1!=b.indexOf("\x00")&&(b=b.replace(Ia,"&#0;"));return b}var Da=/&/g,Ea=/</g,Fa=/>/g,Ga=/"/g,Ha=/'/g,Ia=/\x00/g,Ca=/[\x00&<>"']/;
  function Ja(b){return String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function Ma(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 Na(b,c){for(var d=0,e=Aa(String(b)).split("."),f=Aa(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)||["","",""],s=q.exec(n)||["","",""];if(0==r[0].length&&0==s[0].length)break;d=Pa(0==r[1].length?0:parseInt(r[1],10),0==s[1].length?0:parseInt(s[1],10))||Pa(0==r[2].length,0==s[2].length)||Pa(r[2],s[2])}while(0==d)}return d}function Pa(b,c){return b<c?-1:b>c?1:0}
  function Qa(){return"transform".replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function Ra(b){var c=ia(void 0)?Ja(void 0):"\\s";return b.replace(new RegExp("(^"+(c?"|["+c+"]+":"")+")([a-z])","g"),function(b,c,f){return c+f.toUpperCase()})};var Sa=Array.prototype;function Ta(b,c,d){Sa.forEach.call(b,c,d)}function Ua(b,c){return Sa.filter.call(b,c,void 0)}function Va(b,c,d){return Sa.map.call(b,c,d)}function Wa(b,c){return Sa.some.call(b,c,void 0)}function Xa(b){var c;a:{c=Ya;for(var d=b.length,e=ia(b)?b.split(""):b,f=0;f<d;f++)if(f in e&&c.call(void 0,e[f],f,b)){c=f;break a}c=-1}return 0>c?null:ia(b)?b.charAt(c):b[c]}function Za(b,c){return 0<=Sa.indexOf.call(b,c,void 0)}
  function $a(b){if(!ga(b))for(var c=b.length-1;0<=c;c--)delete b[c];b.length=0}function ab(b,c){var d=Sa.indexOf.call(b,c,void 0),e;(e=0<=d)&&Sa.splice.call(b,d,1);return e}function bb(b){return Sa.concat.apply(Sa,arguments)}function cb(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 db(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 eb(b,c,d,e){Sa.splice.apply(b,fb(arguments,1))}function fb(b,c,d){return 2>=arguments.length?Sa.slice.call(b,c):Sa.slice.call(b,c,d)}function gb(b,c){b.sort(c||hb)}function ib(b,c){if(!ha(b)||!ha(c)||b.length!=c.length)return!1;for(var d=b.length,e=jb,f=0;f<d;f++)if(!e(b[f],c[f]))return!1;return!0}function hb(b,c){return b>c?1:b<c?-1:0}function jb(b,c){return b===c};var kb;a:{var lb=ba.navigator;if(lb){var mb=lb.userAgent;if(mb){kb=mb;break a}}kb=""}function nb(b){return-1!=kb.indexOf(b)};function ob(b,c,d){for(var e in b)c.call(d,b[e],e,b)}function pb(b,c){for(var d in b)if(c.call(void 0,b[d],d,b))return!0;return!1}function qb(b){var c=0,d;for(d in b)c++;return c}function rb(b){var c=[],d=0,e;for(e in b)c[d++]=b[e];return c}function sb(b){var c=[],d=0,e;for(e in b)c[d++]=e;return c}function tb(b,c){return c in b}function ub(b){var c=wb,d;for(d in c)if(b.call(void 0,c[d],d,c))return d}function xb(b){for(var c in b)return!1;return!0}function yb(b){for(var c in b)delete b[c]}
  function zb(b,c){c in b&&delete b[c]}function Ab(b,c,d){if(c in b)throw Error('The object already contains the key "'+c+'"');b[c]=d}function y(b,c,d){return c in b?b[c]:d}function Bb(b,c){var d=[];return c in b?b[c]:b[c]=d}function Cb(b){var c={},d;for(d in b)c[d]=b[d];return c}var Db="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
  function Eb(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<Db.length;g++)d=Db[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}}function Fb(b){var c=arguments.length;if(1==c&&ga(arguments[0]))return Fb.apply(null,arguments[0]);for(var d={},e=0;e<c;e++)d[arguments[e]]=!0;return d};var Gb=nb("Opera")||nb("OPR"),Hb=nb("Trident")||nb("MSIE"),Ib=nb("Gecko")&&-1==kb.toLowerCase().indexOf("webkit")&&!(nb("Trident")||nb("MSIE")),Jb=-1!=kb.toLowerCase().indexOf("webkit"),Kb=nb("Macintosh"),Lb=nb("Windows"),Mb=nb("Linux")||nb("CrOS"),Nb,Ob=ba.navigator||null;Nb=!!Ob&&-1!=(Ob.appVersion||"").indexOf("X11");function Qb(){var b=ba.document;return b?b.documentMode:void 0}
  var Rb=function(){var b="",c;if(Gb&&ba.opera)return b=ba.opera.version,ka(b)?b():b;Ib?c=/rv\:([^\);]+)(\)|;)/:Hb?c=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:Jb&&(c=/WebKit\/(\S+)/);c&&(b=(b=c.exec(kb))?b[1]:"");return Hb&&(c=Qb(),c>parseFloat(b))?String(c):b}(),Sb={};function Tb(b){return Sb[b]||(Sb[b]=0<=Na(Rb,b))}var Ub=ba.document,Vb=Ub&&Hb?Qb()||("CSS1Compat"==Ub.compatMode?parseInt(Rb,10):5):void 0;var Wb="https:"===ba.location.protocol,Xb=Hb&&!Tb("9.0")&&""!==Rb;function Zb(b,c,d){return Math.min(Math.max(b,c),d)}function $b(b,c){var d=b%c;return 0>d*c?d+c:d}function ac(b,c,d){return b+d*(c-b)}function bc(b){return b*Math.PI/180};function cc(b){return function(c){if(m(c))return[Zb(c[0],b[0],b[2]),Zb(c[1],b[1],b[3])]}}function dc(b){return b};function ec(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 fc(b){return function(c,d,e){if(m(c))return c=ec(b,c,e),c=Zb(c+d,0,b.length-1),b[c]}}function gc(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 hc(b){if(m(b))return 0}function ic(b,c){if(m(b))return b+c}function jc(b){var c=2*Math.PI/b;return function(b,e){if(m(b))return b=Math.floor((b+e)/c+.5)*c}}function kc(){var b=bc(5);return function(c,d){if(m(c))return Math.abs(c+d)<=b?0:c+d}};function lc(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var mc=!Hb||Hb&&9<=Vb,nc=!Hb||Hb&&9<=Vb,oc=Hb&&!Tb("9");!Jb||Tb("528");Ib&&Tb("1.9b")||Hb&&Tb("8")||Gb&&Tb("9.5")||Jb&&Tb("528");Ib&&!Tb("8")||Hb&&Tb("9");function pc(){0!=qc&&(rc[ma(this)]=this);this.Qa=this.Qa;this.ga=this.ga}var qc=0,rc={};pc.prototype.Qa=!1;pc.prototype.ic=function(){if(!this.Qa&&(this.Qa=!0,this.L(),0!=qc)){var b=ma(this);delete rc[b]}};function sc(b,c){var d=ta(tc,c);b.ga||(b.ga=[]);b.ga.push(m(void 0)?sa(d,void 0):d)}pc.prototype.L=function(){if(this.ga)for(;this.ga.length;)this.ga.shift()()};function tc(b){b&&"function"==typeof b.ic&&b.ic()};function uc(b,c){this.type=b;this.d=this.target=c;this.g=!1;this.Tf=!0}uc.prototype.ic=function(){};uc.prototype.c=function(){this.g=!0};uc.prototype.preventDefault=function(){this.Tf=!1};function vc(b){b.c()}function wc(b){b.preventDefault()};var xc=Hb?"focusout":"DOMFocusOut";function yc(b){yc[" "](b);return b}yc[" "]=ca;function zc(b,c){uc.call(this,b?b.type:"");this.relatedTarget=this.d=this.target=null;this.n=this.f=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.j=this.e=this.b=this.i=!1;this.state=null;this.o=!1;this.a=null;b&&Ac(this,b,c)}u(zc,uc);var Bc=[1,4,2];
  function Ac(b,c,d){var e=b.type=c.type;b.target=c.target||c.srcElement;b.d=d;if(d=c.relatedTarget){if(Ib){var f;a:{try{yc(d.nodeName);f=!0;break a}catch(g){}f=!1}f||(d=null)}}else"mouseover"==e?d=c.fromElement:"mouseout"==e&&(d=c.toElement);b.relatedTarget=d;b.offsetX=Jb||void 0!==c.offsetX?c.offsetX:c.layerX;b.offsetY=Jb||void 0!==c.offsetY?c.offsetY:c.layerY;b.clientX=void 0!==c.clientX?c.clientX:c.pageX;b.clientY=void 0!==c.clientY?c.clientY:c.pageY;b.screenX=c.screenX||0;b.screenY=c.screenY||
  0;b.button=c.button;b.f=c.keyCode||0;b.n=c.charCode||("keypress"==e?c.keyCode:0);b.i=c.ctrlKey;b.b=c.altKey;b.e=c.shiftKey;b.j=c.metaKey;b.o=Kb?c.metaKey:c.ctrlKey;b.state=c.state;b.a=c;c.defaultPrevented&&b.preventDefault()}function Cc(b){return(mc?0==b.a.button:"click"==b.type?!0:!!(b.a.button&Bc[0]))&&!(Jb&&Kb&&b.i)}zc.prototype.c=function(){zc.Q.c.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};
  zc.prototype.preventDefault=function(){zc.Q.preventDefault.call(this);var b=this.a;if(b.preventDefault)b.preventDefault();else if(b.returnValue=!1,oc)try{if(b.ctrlKey||112<=b.keyCode&&123>=b.keyCode)b.keyCode=-1}catch(c){}};zc.prototype.p=function(){return this.a};var Dc="closure_listenable_"+(1E6*Math.random()|0);function Ec(b){return!(!b||!b[Dc])}var Fc=0;function Gc(b,c,d,e,f){this.Yb=b;this.a=null;this.src=c;this.type=d;this.wc=!!e;this.qd=f;this.key=++Fc;this.uc=this.Yc=!1}function Hc(b){b.uc=!0;b.Yb=null;b.a=null;b.src=null;b.qd=null};function Ic(b){this.src=b;this.a={};this.b=0}Ic.prototype.add=function(b,c,d,e,f){var g=b.toString();b=this.a[g];b||(b=this.a[g]=[],this.b++);var h=Jc(b,c,e,f);-1<h?(c=b[h],d||(c.Yc=!1)):(c=new Gc(c,this.src,g,!!e,f),c.Yc=d,b.push(c));return c};Ic.prototype.remove=function(b,c,d,e){b=b.toString();if(!(b in this.a))return!1;var f=this.a[b];c=Jc(f,c,d,e);return-1<c?(Hc(f[c]),Sa.splice.call(f,c,1),0==f.length&&(delete this.a[b],this.b--),!0):!1};
  function Kc(b,c){var d=c.type;if(!(d in b.a))return!1;var e=ab(b.a[d],c);e&&(Hc(c),0==b.a[d].length&&(delete b.a[d],b.b--));return e}function Lc(b,c,d,e,f){b=b.a[c.toString()];c=-1;b&&(c=Jc(b,d,e,f));return-1<c?b[c]:null}function Mc(b,c,d){var e=m(c),f=e?c.toString():"",g=m(d);return pb(b.a,function(b){for(var c=0;c<b.length;++c)if(!(e&&b[c].type!=f||g&&b[c].wc!=d))return!0;return!1})}
  function Jc(b,c,d,e){for(var f=0;f<b.length;++f){var g=b[f];if(!g.uc&&g.Yb==c&&g.wc==!!d&&g.qd==e)return f}return-1};var Nc="closure_lm_"+(1E6*Math.random()|0),Oc={},Pc=0;function z(b,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)z(b,c[g],d,e,f);return null}d=Qc(d);return Ec(b)?b.Ka(c,d,e,f):Rc(b,c,d,!1,e,f)}function Rc(b,c,d,e,f,g){if(!c)throw Error("Invalid event type");var h=!!f,k=Sc(b);k||(b[Nc]=k=new Ic(b));d=k.add(c,d,e,f,g);if(d.a)return d;e=Tc();d.a=e;e.src=b;e.Yb=d;b.addEventListener?b.addEventListener(c.toString(),e,h):b.attachEvent(Uc(c.toString()),e);Pc++;return d}
  function Tc(){var b=Vc,c=nc?function(d){return b.call(c.src,c.Yb,d)}:function(d){d=b.call(c.src,c.Yb,d);if(!d)return d};return c}function Wc(b,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)Wc(b,c[g],d,e,f);return null}d=Qc(d);return Ec(b)?b.cb.add(String(c),d,!0,e,f):Rc(b,c,d,!0,e,f)}function Xc(b,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)Xc(b,c[g],d,e,f);else d=Qc(d),Ec(b)?b.Ae(c,d,e,f):b&&(b=Sc(b))&&(c=Lc(b,c,d,!!e,f))&&Yc(c)}
  function Yc(b){if(ja(b)||!b||b.uc)return!1;var c=b.src;if(Ec(c))return Kc(c.cb,b);var d=b.type,e=b.a;c.removeEventListener?c.removeEventListener(d,e,b.wc):c.detachEvent&&c.detachEvent(Uc(d),e);Pc--;(d=Sc(c))?(Kc(d,b),0==d.b&&(d.src=null,c[Nc]=null)):Hc(b);return!0}function Uc(b){return b in Oc?Oc[b]:Oc[b]="on"+b}function Zc(b,c,d,e){var f=!0;if(b=Sc(b))if(c=b.a[c.toString()])for(c=c.concat(),b=0;b<c.length;b++){var g=c[b];g&&g.wc==d&&!g.uc&&(g=$c(g,e),f=f&&!1!==g)}return f}
  function $c(b,c){var d=b.Yb,e=b.qd||b.src;b.Yc&&Yc(b);return d.call(e,c)}
  function Vc(b,c){if(b.uc)return!0;if(!nc){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 zc(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.d;g;g=g.parentNode)f.push(g);for(var g=b.type,k=f.length-1;!d.g&&0<=k;k--){d.d=f[k];var n=Zc(f[k],g,!0,d),e=e&&n}for(k=0;!d.g&&k<f.length;k++)d.d=f[k],n=
  Zc(f[k],g,!1,d),e=e&&n}return e}return $c(b,new zc(c,this))}function Sc(b){b=b[Nc];return b instanceof Ic?b:null}var ad="__closure_events_fn_"+(1E9*Math.random()>>>0);function Qc(b){if(ka(b))return b;b[ad]||(b[ad]=function(c){return b.handleEvent(c)});return b[ad]};function bd(b){return function(){return b}}var cd=bd(!1),dd=bd(!0);function ed(b){return b}function fd(b){var c;c=c||0;return function(){return b.apply(this,Array.prototype.slice.call(arguments,0,c))}}function gd(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 id(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 jd(){pc.call(this);this.cb=new Ic(this);this.Dg=this;this.Qd=null}u(jd,pc);jd.prototype[Dc]=!0;l=jd.prototype;l.addEventListener=function(b,c,d,e){z(this,b,c,d,e)};l.removeEventListener=function(b,c,d,e){Xc(this,b,c,d,e)};
  l.dispatchEvent=function(b){var c,d=this.Qd;if(d)for(c=[];d;d=d.Qd)c.push(d);var d=this.Dg,e=b.type||b;if(ia(b))b=new uc(b,d);else if(b instanceof uc)b.target=b.target||d;else{var f=b;b=new uc(e,d);Eb(b,f)}var f=!0,g;if(c)for(var h=c.length-1;!b.g&&0<=h;h--)g=b.d=c[h],f=kd(g,e,!0,b)&&f;b.g||(g=b.d=d,f=kd(g,e,!0,b)&&f,b.g||(f=kd(g,e,!1,b)&&f));if(c)for(h=0;!b.g&&h<c.length;h++)g=b.d=c[h],f=kd(g,e,!1,b)&&f;return f};
  l.L=function(){jd.Q.L.call(this);if(this.cb){var b=this.cb,c=0,d;for(d in b.a){for(var e=b.a[d],f=0;f<e.length;f++)++c,Hc(e[f]);delete b.a[d];b.b--}}this.Qd=null};l.Ka=function(b,c,d,e){return this.cb.add(String(b),c,!1,d,e)};l.Ae=function(b,c,d,e){return this.cb.remove(String(b),c,d,e)};
  function kd(b,c,d,e){c=b.cb.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.uc&&h.wc==d){var k=h.Yb,n=h.qd||h.src;h.Yc&&Kc(b.cb,h);f=!1!==k.call(n,e)&&f}}return f&&0!=e.Tf}function ld(b,c,d){return Mc(b.cb,m(c)?String(c):void 0,d)};function md(){jd.call(this);this.b=0}u(md,jd);function nd(b){Yc(b)}l=md.prototype;l.l=function(){++this.b;this.dispatchEvent("change")};l.A=function(){return this.b};l.u=function(b,c,d){return z(this,b,c,!1,d)};l.B=function(b,c,d){return Wc(this,b,c,!1,d)};l.v=function(b,c,d){Xc(this,b,c,!1,d)};l.C=nd;function od(b,c,d){uc.call(this,b);this.key=c;this.oldValue=d}u(od,uc);function pd(b,c,d,e){this.source=b;this.target=c;this.d=d;this.b=e;this.c=this.a=ed}pd.prototype.e=function(b,c){var d=qd(this.source,this.d);this.a=b;this.c=c;rd(this.source,this.d,d)};function td(b){md.call(this);ma(this);this.o={};this.wa={};this.fc={};m(b)&&this.G(b)}u(td,md);var ud={},vd={},wd={};function xd(b){return ud.hasOwnProperty(b)?ud[b]:ud[b]="change:"+b}
  function qd(b,c){var d=vd.hasOwnProperty(c)?vd[c]:vd[c]="get"+(String(c.charAt(0)).toUpperCase()+String(c.substr(1)).toLowerCase()),d=y(b,d);return m(d)?d.call(b):b.get(c)}l=td.prototype;l.O=function(b,c,d){d=d||b;this.P(b);var e=xd(d);this.fc[b]=z(c,e,function(c){rd(this,b,c.oldValue)},void 0,this);c=new pd(this,c,b,d);this.wa[b]=c;rd(this,b,this.o[b]);return c};l.get=function(b){var c,d=this.wa;d.hasOwnProperty(b)?(b=d[b],c=qd(b.target,b.b),c=b.c(c)):this.o.hasOwnProperty(b)&&(c=this.o[b]);return c};
  l.I=function(){var b=this.wa,c;if(xb(this.o)){if(xb(b))return[];c=b}else if(xb(b))c=this.o;else{c={};for(var d in this.o)c[d]=!0;for(d in b)c[d]=!0}return sb(c)};l.K=function(){var b={},c;for(c in this.o)b[c]=this.o[c];for(c in this.wa)b[c]=this.get(c);return b};function rd(b,c,d){var e;e=xd(c);b.dispatchEvent(new od(e,c,d));b.dispatchEvent(new od("propertychange",c,d))}
  l.set=function(b,c){var d=this.wa;if(d.hasOwnProperty(b)){var e=d[b];c=e.a(c);var d=e.target,e=e.b,f=c,g=wd.hasOwnProperty(e)?wd[e]:wd[e]="set"+(String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()),g=y(d,g);m(g)?g.call(d,f):d.set(e,f)}else d=this.o[b],this.o[b]=c,rd(this,b,d)};l.G=function(b){for(var c in b)this.set(c,b[c])};l.P=function(b){var c=this.fc,d=c[b];d&&(delete c[b],Yc(d),c=this.get(b),delete this.wa[b],this.o[b]=c)};l.R=function(){for(var b in this.fc)this.P(b)};function yd(b,c){b[0]+=c[0];b[1]+=c[1];return b}function zd(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 Ad(b,c){var d=$b(b+180,360)-180,e=Math.abs(Math.round(3600*d));return Math.floor(e/3600)+"\u00b0 "+Math.floor(e/60%60)+"\u2032 "+Math.floor(e%60)+"\u2033 "+c.charAt(0>d?1:0)}
  function Bd(b,c,d){return m(b)?c.replace("{x}",b[0].toFixed(d)).replace("{y}",b[1].toFixed(d)):""}function Cd(b,c){for(var d=!0,e=b.length-1;0<=e;--e)if(b[e]!=c[e]){d=!1;break}return d}function Dd(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 Ed(b,c){var d=b[0]-c[0],e=b[1]-c[1];return d*d+e*e}function Fd(b,c){return Bd(b,"{x}, {y}",c)};function Gd(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}Gd.prototype.a=4;Gd.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]};Gd.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(Gd.BYTES_PER_ELEMENT=4,Gd.prototype.BYTES_PER_ELEMENT=Gd.prototype.a,Gd.prototype.set=Gd.prototype.set,Gd.prototype.toString=Gd.prototype.toString,t("Float32Array",Gd,void 0));function Hd(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}Hd.prototype.a=8;Hd.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]};Hd.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{Hd.BYTES_PER_ELEMENT=8}catch(Id){}Hd.prototype.BYTES_PER_ELEMENT=Hd.prototype.a;Hd.prototype.set=Hd.prototype.set;Hd.prototype.toString=Hd.prototype.toString;t("Float64Array",Hd,void 0)};function Jd(b,c,d,e,f){b[0]=c;b[1]=d;b[2]=e;b[3]=f};function Kd(){var b=Array(16);Ld(b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return b}function Md(){var b=Array(16);Ld(b,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return b}function Ld(b,c,d,e,f,g,h,k,n,p,q,r,s,v,x,C,E){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]=s;b[12]=v;b[13]=x;b[14]=C;b[15]=E}
  function Nd(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 Od(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 Pd(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],s=b[9],v=b[10],x=b[11],C=b[12],E=b[13],G=b[14];b=b[15];var w=c[0],U=c[1],N=c[2],Y=c[3],T=c[4],pa=c[5],vb=c[6],Ka=c[7],Yb=c[8],Pb=c[9],La=c[10],Oa=c[11],Ud=c[12],sd=c[13],hd=c[14];c=c[15];d[0]=e*w+k*U+r*N+C*Y;d[1]=f*w+n*U+s*N+E*Y;d[2]=g*w+p*U+v*N+G*Y;d[3]=h*w+q*U+x*N+b*Y;d[4]=e*T+k*pa+r*vb+C*Ka;d[5]=f*T+n*pa+s*vb+E*Ka;d[6]=g*T+p*pa+v*vb+G*Ka;d[7]=h*T+q*pa+x*vb+b*Ka;d[8]=e*Yb+k*Pb+r*La+C*Oa;d[9]=f*Yb+n*Pb+s*La+E*Oa;
  d[10]=g*Yb+p*Pb+v*La+G*Oa;d[11]=h*Yb+q*Pb+x*La+b*Oa;d[12]=e*Ud+k*sd+r*hd+C*c;d[13]=f*Ud+n*sd+s*hd+E*c;d[14]=g*Ud+p*sd+v*hd+G*c;d[15]=h*Ud+q*sd+x*hd+b*c}function Qd(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 Rd(b,c,d){Ld(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 Sd(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);function Td(b){for(var c=Vd(),d=0,e=b.length;d<e;++d){var f=c,g=b[d];g[0]<f[0]&&(f[0]=g[0]);g[0]>f[2]&&(f[2]=g[0]);g[1]<f[1]&&(f[1]=g[1]);g[1]>f[3]&&(f[3]=g[1])}return c}function Wd(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 Xd(e,f,b,c,d)}function Yd(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 Zd(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 $d(b,c){return b[0]<=c[0]&&c[2]<=b[2]&&b[1]<=c[1]&&c[3]<=b[3]}function ae(b,c,d){return b[0]<=c&&c<=b[2]&&b[1]<=d&&d<=b[3]}function be(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 Vd(){return[Infinity,Infinity,-Infinity,-Infinity]}function Xd(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 ce(b,c){var d=b[0],e=b[1];return Xd(d,e,d,e,c)}function de(b,c){return b[0]==c[0]&&b[2]==c[2]&&b[1]==c[1]&&b[3]==c[3]}function ee(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 fe(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 ge(b,c){var d;return(d=c.call(void 0,he(b)))||(d=c.call(void 0,ie(b)))||(d=c.call(void 0,je(b)))?d:(d=c.call(void 0,ie(b)))?d:!1}function he(b){return[b[0],b[1]]}function ie(b){return[b[2],b[1]]}function ke(b){return[(b[0]+b[2])/2,(b[1]+b[3])/2]}function le(b,c){var d;"bottom-left"===c?d=he(b):"bottom-right"===c?d=ie(b):"top-left"===c?d=me(b):"top-right"===c&&(d=je(b));return d}
  function ne(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 Wd(f,e,void 0)}function oe(b){return b[3]-b[1]}function pe(b,c,d){d=m(d)?d:Vd();qe(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 me(b){return[b[0],b[3]]}function je(b){return[b[2],b[3]]}function re(b){return b[2]-b[0]}
  function qe(b,c){return b[0]<=c[2]&&b[2]>=c[0]&&b[1]<=c[3]&&b[3]>=c[1]}function se(b){return b[2]<b[0]||b[3]<b[1]}function te(b,c){return m(c)?(c[0]=b[0],c[1]=b[1],c[2]=b[2],c[3]=b[3],c):b}function ue(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 we(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 Wd([b[0],b[2],b[4],b[6]],[b[1],b[3],b[5],b[7]],d)};/*
  
   Latitude/longitude spherical geodesy formulae taken from
   http://www.movable-type.co.uk/scripts/latlong.html
   Licenced under CC-BY-3.0.
  */
  function xe(b){this.radius=b}function ye(b,c){var d=bc(b[1]),e=bc(c[1]),f=(e-d)/2,g=bc(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*ze.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))}xe.prototype.offset=function(b,c,d){var e=bc(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*(bc(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 ze=new xe(6370997);var Ae={};Ae.degrees=2*Math.PI*ze.radius/360;Ae.ft=.3048;Ae.m=1;function Be(b){this.a=b.code;this.b=b.units;this.g=m(b.extent)?b.extent:null;this.c=m(b.worldExtent)?b.worldExtent:null;this.d=m(b.axisOrientation)?b.axisOrientation:"enu";this.f=m(b.global)?b.global:!1;this.e=null}l=Be.prototype;l.ah=function(){return this.a};l.t=function(){return this.g};l.pj=function(){return this.b};l.de=function(){return Ae[this.b]};l.Fh=function(){return this.c};function Ce(b){return b.d}l.ri=function(){return this.f};
  l.qj=function(b){this.g=b};l.kl=function(b){this.c=b};l.ee=function(b,c){if("degrees"==this.b)return b;var d=De(this,Ee("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=(ye(e.slice(0,2),e.slice(2,4))+ye(e.slice(4,6),e.slice(6,8)))/2,e=this.de();m(e)&&(d/=e);return d};var Fe={},Ge={};function He(b){Ie(b);Ta(b,function(c){Ta(b,function(b){c!==b&&Je(c,b,Ke)})})}function Le(){var b=Me,c=Ne,d=Oe;Ta(Pe,function(e){Ta(b,function(b){Je(e,b,c);Je(b,e,d)})})}
  function Qe(b){Fe[b.a]=b;Je(b,b,Ke)}function Ie(b){var c=[];Ta(b,function(b){c.push(Qe(b))})}function Re(b){return null!=b?ia(b)?Ee(b):b:Ee("EPSG:3857")}function Je(b,c,d){b=b.a;c=c.a;b in Ge||(Ge[b]={});Ge[b][c]=d}function Se(b,c,d,e){b=Ee(b);c=Ee(c);Je(b,c,Te(d));Je(c,b,Te(e))}function Te(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 Ee(b){var c;if(b instanceof Be)c=b;else if(ia(b)){if(c=Fe[b],!m(c)&&"function"==typeof proj4){var d=proj4.defs(b);if(m(d)){c=d.units;!m(c)&&m(d.to_meter)&&(c=d.to_meter.toString(),Ae[c]=d.to_meter);c=new Be({code:b,units:c,axisOrientation:d.axis});Qe(c);var e,f,g;for(e in Fe)f=proj4.defs(e),m(f)&&(g=Ee(e),f===d?He([g,c]):(f=proj4(e,b),Se(g,c,f.forward,f.inverse)))}else c=null}}else c=null;return c}function Ue(b,c){return b===c?!0:b.b!=c.b?!1:De(b,c)===Ke}
  function Ve(b,c){var d=Ee(b),e=Ee(c);return De(d,e)}function De(b,c){var d=b.a,e=c.a,f;d in Ge&&e in Ge[d]&&(f=Ge[d][e]);m(f)||(f=We);return f}function We(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 Ke(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 Xe(b,c,d){c=Ve(c,d);return we(b,c)};function A(b){td.call(this);b=m(b)?b:{};this.j=[0,0];var c={};c.center=m(b.center)?b.center:null;this.q=Re(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=fc(d);else{e=Re(b.projection);f=e.t();var k=(null===f?360*Ae.degrees/Ae[e.b]:Math.max(re(f),oe(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=gc(h,e,d-g)}this.f=e;this.D=f;this.p=g;g=m(b.extent)?cc(b.extent):dc;(m(b.enableRotation)?b.enableRotation:1)?(e=b.constrainRotation,e=m(e)&&!0!==e?!1===e?ic:ja(e)?jc(e):ic:kc()):e=hc;this.s=new lc(g,d,e);m(b.resolution)?c.resolution=b.resolution:m(b.zoom)&&(c.resolution=this.constrainResolution(this.f,b.zoom-this.p));c.rotation=m(b.rotation)?b.rotation:0;this.G(c)}u(A,td);
  A.prototype.i=function(b){return this.s.center(b)};A.prototype.constrainResolution=function(b,c,d){return this.s.resolution(b,c||0,d||0)};A.prototype.constrainRotation=function(b,c){return this.s.rotation(b,c||0)};A.prototype.a=function(){return this.get("center")};A.prototype.getCenter=A.prototype.a;A.prototype.g=function(b){var c=this.a(),d=this.d();return[c[0]-d*b[0]/2,c[1]-d*b[1]/2,c[0]+d*b[0]/2,c[1]+d*b[1]/2]};A.prototype.F=function(){return this.q};A.prototype.d=function(){return this.get("resolution")};
  A.prototype.getResolution=A.prototype.d;A.prototype.n=function(b,c){return Math.max(re(b)/c[0],oe(b)/c[1])};function Ye(b){var c=b.f,d=Math.log(c/b.D)/Math.log(2);return function(b){return c/Math.pow(2,b*d)}}A.prototype.e=function(){return this.get("rotation")};A.prototype.getRotation=A.prototype.e;function Ze(b){var c=b.f,d=Math.log(c/b.D)/Math.log(2);return function(b){return Math.log(c/b)/Math.log(2)/d}}
  function $e(b){var c=b.a(),d=b.q,e=b.d();b=b.e();return{center:c.slice(),projection:m(d)?d:null,resolution:e,rotation:m(b)?b:0}}l=A.prototype;l.Hh=function(){var b,c=this.d();if(m(c)){var d,e=0;do{d=this.constrainResolution(this.f,e);if(d==c){b=e;break}++e}while(d>this.D)}return m(b)?this.p+b:b};l.be=function(b,c){if(!se(b)){this.Ma(ke(b));var d=this.n(b,c),e=this.constrainResolution(d,0,0);e<d&&(e=this.constrainResolution(e,-1,0));this.c(e)}};
  l.Zg=function(b,c,d){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.f,e.maxZoom-this.p,0):h=0;var k=b.k,n=this.e(),e=Math.cos(-n),n=Math.sin(-n),p=Infinity,q=Infinity,r=-Infinity,s=-Infinity;b=b.a;for(var v=0,x=k.length;v<x;v+=b)var C=k[v]*e-k[v+1]*n,E=k[v]*n+k[v+1]*e,p=Math.min(p,C),q=Math.min(q,E),r=Math.max(r,C),s=Math.max(s,
  E);c=this.n([p,q,r,s],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.c(c);n=-n;g=(p+r)/2+(d[1]-d[3])/2*c;d=(q+s)/2+(d[0]-d[2])/2*c;this.Ma([g*e-d*n,d*e+g*n])};l.Ug=function(b,c,d){var e=this.e(),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.d(),g=g+(c[0]/2-d[0])*h;b+=(d[1]-c[1]/2)*h;e=-e;this.Ma([g*f-b*e,b*f+g*e])};function af(b){return null!=b.a()&&m(b.d())}
  l.rotate=function(b,c){if(m(c)){var d,e=this.a();m(e)&&(d=[e[0]-c[0],e[1]-c[1]],Dd(d,b-this.e()),yd(d,c));this.Ma(d)}this.r(b)};l.Ma=function(b){this.set("center",b)};A.prototype.setCenter=A.prototype.Ma;function bf(b,c){b.j[1]+=c}A.prototype.c=function(b){this.set("resolution",b)};A.prototype.setResolution=A.prototype.c;A.prototype.r=function(b){this.set("rotation",b)};A.prototype.setRotation=A.prototype.r;A.prototype.M=function(b){b=this.constrainResolution(this.f,b-this.p,0);this.c(b)};function cf(b){return 1-Math.pow(1-b,3)};function df(b){return 3*b*b-2*b*b*b}function ef(b){return b}function ff(b){return.5>b?df(2*b):1-df(2*(b-.5))};function gf(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:df;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 hf(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:df,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];Dd(p,n);yd(p,g)}k.viewHints[0]+=1;return!0}return!1}}
  function jf(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:df;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 kf(b,c,d,e){return m(e)?(e[0]=b,e[1]=c,e[2]=d,e):[b,c,d]}function lf(b,c,d){return b+"/"+c+"/"+d}function mf(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 nf(b){return lf(b[0],b[1],b[2])};function of(b,c,d,e){this.a=b;this.c=c;this.d=d;this.b=e}function pf(b,c,d,e,f){return m(f)?(f.a=b,f.c=c,f.d=d,f.b=e,f):new of(b,c,d,e)}of.prototype.contains=function(b){return qf(this,b[1],b[2])};function rf(b,c){return b.a<=c.a&&c.c<=b.c&&b.d<=c.d&&c.b<=b.b}function qf(b,c,d){return b.a<=c&&c<=b.c&&b.d<=d&&d<=b.b}function sf(b,c){return b.a==c.a&&b.d==c.d&&b.c==c.c&&b.b==c.b};function tf(b){this.b=b.html;this.a=m(b.tileRanges)?b.tileRanges:null}tf.prototype.d=function(){return this.b};var uf=!Hb||Hb&&9<=Vb;!Ib&&!Hb||Hb&&Hb&&9<=Vb||Ib&&Tb("1.9.1");Hb&&Tb("9");Fb("area base br col command embed hr img input keygen link meta param source track wbr".split(" "));Fb("action","cite","data","formaction","href","manifest","poster","src");Fb("embed","iframe","link","script","style","template");function vf(b,c){this.x=m(b)?b:0;this.y=m(c)?c:0}l=vf.prototype;l.clone=function(){return new vf(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.scale=function(b,c){var d=ja(c)?c:b;this.x*=b;this.y*=d;return this};function wf(b,c){this.width=b;this.height=c}l=wf.prototype;l.clone=function(){return new wf(this.width,this.height)};l.ja=function(){return!(this.width*this.height)};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 xf(b){return b?new yf(zf(b)):ya||(ya=new yf)}function Af(b){var c=document;return ia(b)?c.getElementById(b):b}function Cf(b,c){ob(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:e in Df?b.setAttribute(Df[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})}
  var Df={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 Ef(b){b=b.document.documentElement;return new wf(b.clientWidth,b.clientHeight)}
  function Ff(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!uf&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',Ba(h.name),'"');if(h.type){g.push(' type="',Ba(h.type),'"');var k={};Eb(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(" "):Cf(g,h));2<e.length&&Gf(f,g,e,2);return g}
  function Gf(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):Ta(Hf(g)?cb(g):g,f)}}function If(b){return document.createElement(b)}function Jf(b,c){Gf(zf(b),b,arguments,1)}function Kf(b){for(var c;c=b.firstChild;)b.removeChild(c)}function Lf(b,c){c.parentNode&&c.parentNode.insertBefore(b,c.nextSibling)}function Mf(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}
  function Nf(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function Of(b){if(void 0!=b.firstElementChild)b=b.firstElementChild;else for(b=b.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;return b}function Pf(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 zf(b){return 9==b.nodeType?b:b.ownerDocument||b.document}
  function Qf(b,c){if("textContent"in b)b.textContent=c;else if(3==b.nodeType)b.data=c;else if(b.firstChild&&3==b.firstChild.nodeType){for(;b.lastChild!=b.firstChild;)b.removeChild(b.lastChild);b.firstChild.data=c}else Kf(b),b.appendChild(zf(b).createTextNode(String(c)))}function Hf(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 yf(b){this.a=b||ba.document||document}
  function Rf(){return!0}function Sf(b){var c=b.a;b=Jb?c.body||c.documentElement:c.documentElement;c=c.parentWindow||c.defaultView;return Hb&&Tb("10")&&c.pageYOffset!=b.scrollTop?new vf(b.scrollLeft,b.scrollTop):new vf(c.pageXOffset||b.scrollLeft,c.pageYOffset||b.scrollTop)}yf.prototype.appendChild=function(b,c){b.appendChild(c)};yf.prototype.contains=Pf;function Tf(b,c){var d=If("CANVAS");m(b)&&(d.width=b);m(c)&&(d.height=c);return d.getContext("2d")}
  var Uf=function(){var b;return function(){if(!m(b))if(ba.getComputedStyle){var c=If("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]));Nf(c);b=d&&"none"!==d}else b=!1;return b}}(),Vf=function(){var b;return function(){if(!m(b))if(ba.getComputedStyle){var c=If("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]));Nf(c);b=d&&"none"!==d}else b=!1;return b}}();function Wf(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;Hb&&!Xb&&(b.style.transformOrigin="0 0")}
  function Xf(b,c){var d;if(Vf()){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(",");Wf(b,"matrix3d("+d+")")}else if(Uf()){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(",");Wf(b,"matrix("+d+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var Yf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Zf(b,c){var d,e,f=Yf.length;for(e=0;e<f;++e)try{if(d=b.getContext(Yf[e],c),null!==d)return d}catch(g){}return null};var $f,ag=ba.devicePixelRatio||1,bg="ArrayBuffer"in ba,cg=!1,dg=function(){if(!("HTMLCanvasElement"in ba))return!1;try{var b=Tf();if(null===b)return!1;m(b.setLineDash)&&(cg=!0);return!0}catch(c){return!1}}(),eg="DeviceOrientationEvent"in ba,fg="geolocation"in ba.navigator,gg="ontouchstart"in ba,hg="PointerEvent"in ba,ig=!!ba.navigator.msPointerEnabled,jg=!1,kg,lg=[];
  if("WebGLRenderingContext"in ba)try{var mg=If("CANVAS"),ng=Zf(mg,{Yg:!0});null!==ng&&(jg=!0,kg=ng.getParameter(ng.MAX_TEXTURE_SIZE),lg=ng.getSupportedExtensions())}catch(og){}$f=jg;wa=lg;va=kg;function pg(b,c,d){uc.call(this,b,d);this.element=c}u(pg,uc);function B(b){td.call(this);this.a=b||[];qg(this)}u(B,td);l=B.prototype;l.clear=function(){for(;0<this.Ib();)this.pop()};l.jf=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){Ta(this.a,b,c)};l.Hi=function(){return this.a};l.item=function(b){return this.a[b]};l.Ib=function(){return this.get("length")};l.rd=function(b,c){eb(this.a,b,0,c);qg(this);this.dispatchEvent(new pg("add",c,this))};
  l.pop=function(){return this.ye(this.Ib()-1)};l.push=function(b){var c=this.a.length;this.rd(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.ye(d)};l.ye=function(b){var c=this.a[b];Sa.splice.call(this.a,b,1);qg(this);this.dispatchEvent(new pg("remove",c,this));return c};
  l.Zk=function(b,c){var d=this.Ib();if(b<d)d=this.a[b],this.a[b]=c,this.dispatchEvent(new pg("remove",d,this)),this.dispatchEvent(new pg("add",c,this));else{for(;d<b;++d)this.rd(d,void 0);this.rd(b,c)}};function qg(b){b.set("length",b.a.length)};var rg=/^#(?:[0-9a-f]{3}){1,2}$/i,sg=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,tg=/^(?: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 ug(b){return ga(b)?b:vg(b)}function wg(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 vg=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;rg.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=tg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=xg(e,e)):(h=sg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),
  e=[e,f,g,1],e=xg(e,e)):e=void 0;b[d]=e;++c}return e}}();function xg(b,c){var d=m(c)?c:[];d[0]=Zb(b[0]+.5|0,0,255);d[1]=Zb(b[1]+.5|0,0,255);d[2]=Zb(b[2]+.5|0,0,255);d[3]=Zb(b[3],0,1);return d};function yg(){this.g=Kd();this.b=void 0;this.a=Kd();this.c=void 0;this.d=Kd();this.f=void 0;this.e=Kd();this.i=void 0;this.o=Kd()}
  function zg(b,c,d,e,f){var g=!1;m(c)&&c!==b.b&&(g=b.a,Od(g),g[12]=c,g[13]=c,g[14]=c,g[15]=1,b.b=c,g=!0);if(m(d)&&d!==b.c){g=b.d;Od(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.f&&(g=Math.cos(e),h=Math.sin(e),Ld(b.e,.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.f=e,g=!0);m(f)&&f!==b.i&&(Ld(b.o,.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.i=f,g=!0);g&&(g=b.g,Od(g),m(d)&&Pd(g,b.d,g),m(c)&&Pd(g,b.a,g),m(f)&&Pd(g,b.o,g),m(e)&&Pd(g,b.e,g));return b.g};function Ag(b){if(b.classList)return b.classList;b=b.className;return ia(b)&&b.match(/\S+/g)||[]}function Bg(b,c){return b.classList?b.classList.contains(c):Za(Ag(b),c)}function Cg(b,c){b.classList?b.classList.add(c):Bg(b,c)||(b.className+=0<b.className.length?" "+c:c)}function Dg(b,c){b.classList?b.classList.remove(c):Bg(b,c)&&(b.className=Ua(Ag(b),function(b){return b!=c}).join(" "))}function Eg(b,c){Bg(b,c)?Dg(b,c):Cg(b,c)};function Fg(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}l=Fg.prototype;l.clone=function(){return new Fg(this.top,this.right,this.bottom,this.left)};l.contains=function(b){return this&&b?b instanceof Fg?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.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 Gg(b,c,d,e){this.left=b;this.top=c;this.width=d;this.height=e}l=Gg.prototype;l.clone=function(){return new Gg(this.left,this.top,this.width,this.height)};l.contains=function(b){return b instanceof Gg?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 Hg(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(Hg(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.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 Ig(b,c){var d=zf(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function Jg(b,c){return Ig(b,c)||(b.currentStyle?b.currentStyle[c]:null)||b.style&&b.style[c]}function Kg(b,c,d){var e,f=Ib&&(Kb||Nb)&&Tb("1.9");c instanceof vf?(e=c.x,c=c.y):(e=c,c=d);b.style.left=Lg(e,f);b.style.top=Lg(c,f)}
  function Mg(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Hb&&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 Ng(b){if(Hb&&!(Hb&&8<=Vb))return b.offsetParent;var c=zf(b),d=Jg(b,"position"),e="fixed"==d||"absolute"==d;for(b=b.parentNode;b&&b!=c;b=b.parentNode)if(d=Jg(b,"position"),e=e&&"static"==d&&b!=c.documentElement&&b!=c.body,!e&&(b.scrollWidth>b.clientWidth||b.scrollHeight>b.clientHeight||"fixed"==d||"absolute"==d||"relative"==d))return b;return null}
  function Og(b){if(1==b.nodeType){var c;if(b.getBoundingClientRect)c=Mg(b),c=new vf(c.left,c.top);else{c=Sf(xf(b));var d,e=zf(b),f=Jg(b,"position"),g=Ib&&e.getBoxObjectFor&&!b.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(b))&&(0>d.screenX||0>d.screenY),h=new vf(0,0),k;d=e?zf(e):document;k=!Hb||Hb&&9<=Vb||Rf(xf(d))?d.documentElement:d.body;if(b!=k)if(b.getBoundingClientRect)d=Mg(b),e=Sf(xf(e)),h.x=d.left+e.x,h.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(b),e=e.getBoxObjectFor(k),
  h.x=d.screenX-e.screenX,h.y=d.screenY-e.screenY;else{d=b;do{h.x+=d.offsetLeft;h.y+=d.offsetTop;d!=b&&(h.x+=d.clientLeft||0,h.y+=d.clientTop||0);if(Jb&&"fixed"==Jg(d,"position")){h.x+=e.body.scrollLeft;h.y+=e.body.scrollTop;break}d=d.offsetParent}while(d&&d!=b);if(Gb||Jb&&"absolute"==f)h.y-=e.body.offsetTop;for(d=b;(d=Ng(d))&&d!=e.body&&d!=k;)h.x-=d.scrollLeft,Gb&&"TR"==d.tagName||(h.y-=d.scrollTop)}c=new vf(h.x-c.x,h.y-c.y)}if(Ib&&!Tb(12)){b:{h=Qa();if(void 0===b.style[h]&&(h=(Jb?"Webkit":Ib?"Moz":
  Hb?"ms":Gb?"O":null)+Ra(h),void 0!==b.style[h])){h=(Jb?"-webkit":Ib?"-moz":Hb?"-ms":Gb?"-o":null)+"-transform";break b}h="transform"}b=(b=Jg(b,h)||Jg(b,"transform"))?(b=b.match(Pg))?new vf(parseFloat(b[1]),parseFloat(b[2])):new vf(0,0):new vf(0,0);b=new vf(c.x+b.x,c.y+b.y)}else b=c;return b}c=ka(b.p);h=b;b.targetTouches&&b.targetTouches.length?h=b.targetTouches[0]:c&&b.a.targetTouches&&b.a.targetTouches.length&&(h=b.a.targetTouches[0]);return new vf(h.clientX,h.clientY)}
  function Lg(b,c){"number"==typeof b&&(b=(c?Math.round(b):b)+"px");return b}function Qg(b){var c=Rg;if("none"!=Jg(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 Rg(b){var c=b.offsetWidth,d=b.offsetHeight,e=Jb&&!c&&!d;return m(c)&&!e||!b.getBoundingClientRect?new wf(c,d):(b=Mg(b),new wf(b.right-b.left,b.bottom-b.top))}
  function Sg(b,c){b.style.display=c?"":"none"}function Tg(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 Ug(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?Tg(b,d,"left","pixelLeft"):0}
  function Vg(b,c){if(Hb){var d=Ug(b,c+"Left"),e=Ug(b,c+"Right"),f=Ug(b,c+"Top"),g=Ug(b,c+"Bottom");return new Fg(f,e,g,d)}d=Ig(b,c+"Left");e=Ig(b,c+"Right");f=Ig(b,c+"Top");g=Ig(b,c+"Bottom");return new Fg(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d))}var Wg={thin:2,medium:4,thick:6};function Xg(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 Wg?Wg[d]:Tg(b,d,"left","pixelLeft")}
  function Yg(b){if(Hb&&!(Hb&&9<=Vb)){var c=Xg(b,"borderLeft"),d=Xg(b,"borderRight"),e=Xg(b,"borderTop");b=Xg(b,"borderBottom");return new Fg(e,d,b,c)}c=Ig(b,"borderLeftWidth");d=Ig(b,"borderRightWidth");e=Ig(b,"borderTopWidth");b=Ig(b,"borderBottomWidth");return new Fg(parseFloat(e),parseFloat(d),parseFloat(b),parseFloat(c))}var Pg=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Zg(b,c,d){uc.call(this,b);this.map=c;this.frameState=m(d)?d:null}u(Zg,uc);function $g(b){td.call(this);this.element=m(b.element)?b.element:null;this.i=m(b.target)?Af(b.target):null;this.a=null;this.n=[]}u($g,td);$g.prototype.L=function(){Nf(this.element);$g.Q.L.call(this)};$g.prototype.c=function(){return this.a};$g.prototype.Jb=ca;
  $g.prototype.setMap=function(b){null===this.a||Nf(this.element);0!=this.n.length&&(Ta(this.n,Yc),this.n.length=0);this.a=b;null!==this.a&&((null===this.i?b.s:this.i).appendChild(this.element),this.Jb!==ca&&this.n.push(z(b,"postrender",this.Jb,!1,this)),b.U())};function ah(b){b=m(b)?b:{};this.q=If("UL");this.j=If("LI");this.q.appendChild(this.j);Sg(this.j,!1);this.d=m(b.collapsed)?b.collapsed:!0;this.f=m(b.collapsible)?b.collapsible:!0;this.f||(this.d=!1);var c=m(b.className)?b.className:"ol-attribution",d=m(b.tipLabel)?b.tipLabel:"Attributions";this.r=m(b.collapseLabel)?b.collapseLabel:"\u00bb";this.D=m(b.label)?b.label:"i";this.s=Ff("SPAN",{},this.f&&!this.d?this.r:this.D);d=Ff("BUTTON",{type:"button",title:d},this.s);z(d,"click",this.Zi,!1,this);z(d,
  ["mouseout",xc],function(){this.blur()},!1);c=Ff("DIV",c+" ol-unselectable ol-control"+(this.d&&this.f?" ol-collapsed":"")+(this.f?"":" ol-uncollapsible"),this.q,d);$g.call(this,{element:c,target:b.target});this.p=!0;this.g={};this.e={};this.F={}}u(ah,$g);l=ah.prototype;
  l.Jb=function(b){b=b.frameState;if(null===b)this.p&&(Sg(this.element,!1),this.p=!1);else{var c,d,e,f,g,h,k,n,p,q=b.layerStatesArray,r=Cb(b.attributions),s={};d=0;for(c=q.length;d<c;d++)if(e=q[d].layer.a(),null!==e&&(p=ma(e).toString(),n=e.e,null!==n))for(e=0,f=n.length;e<f;e++)if(h=n[e],k=ma(h).toString(),!(k in r)){g=b.usedTiles[p];var v;if(v=m(g))a:if(null===h.a)v=!0;else{var x=v=void 0,C=void 0,E=void 0;for(E in g)if(E in h.a)for(C=g[E],v=0,x=h.a[E].length;v<x;++v){var G=h.a[E][v];if(G.a<=C.c&&
  G.c>=C.a&&G.d<=C.b&&G.b>=C.d){v=!0;break a}}v=!1}v?(k in s&&delete s[k],r[k]=h):s[k]=h}c=[r,s];d=c[0];c=c[1];for(var w in this.g)w in d?(this.e[w]||(Sg(this.g[w],!0),this.e[w]=!0),delete d[w]):w in c?(this.e[w]&&(Sg(this.g[w],!1),delete this.e[w]),delete c[w]):(Nf(this.g[w]),delete this.g[w],delete this.e[w]);for(w in d)p=If("LI"),p.innerHTML=d[w].b,this.q.appendChild(p),this.g[w]=p,this.e[w]=!0;for(w in c)p=If("LI"),p.innerHTML=c[w].b,Sg(p,!1),this.q.appendChild(p),this.g[w]=p;w=!xb(this.e)||!xb(b.logos);
  this.p!=w&&(Sg(this.element,w),this.p=w);w&&xb(this.e)?Cg(this.element,"ol-logo-only"):Dg(this.element,"ol-logo-only");var U;b=b.logos;w=this.F;for(U in w)U in b||(Nf(w[U]),delete w[U]);for(var N in b)N in w||(U=new Image,U.src=N,d=b[N],""===d?d=U:(d=Ff("A",{href:d}),d.appendChild(U)),this.j.appendChild(d),w[N]=d);Sg(this.j,!xb(b))}};l.Zi=function(b){b.preventDefault();bh(this)};function bh(b){Eg(b.element,"ol-collapsed");Qf(b.s,b.d?b.r:b.D);b.d=!b.d}l.Yi=function(){return this.f};
  l.aj=function(b){this.f!==b&&(this.f=b,Eg(this.element,"ol-uncollapsible"),!b&&this.d&&bh(this))};l.$i=function(b){this.f&&this.d!==b&&bh(this)};l.Xi=function(){return this.d};function ch(b){b=m(b)?b:{};var c=m(b.className)?b.className:"ol-rotate";this.d=Ff("SPAN","ol-compass",m(b.label)?b.label:"\u21e7");var d=Ff("BUTTON",{"class":c+"-reset",type:"button",title:m(b.tipLabel)?b.tipLabel:"Reset rotation"},this.d);z(d,"click",ch.prototype.j,!1,this);z(d,["mouseout",xc],function(){this.blur()},!1);c=Ff("DIV",c+" ol-unselectable ol-control",d);$g.call(this,{element:c,target:b.target});this.f=m(b.duration)?b.duration:250;this.e=m(b.autoHide)?b.autoHide:!0;this.g=void 0;this.e&&
  Cg(this.element,"ol-hidden")}u(ch,$g);ch.prototype.j=function(b){b.preventDefault();b=this.a;var c=b.a();if(null!==c){for(var d=c.e();d<-Math.PI;)d+=2*Math.PI;for(;d>Math.PI;)d-=2*Math.PI;m(d)&&(0<this.f&&b.Ra(hf({rotation:d,duration:this.f,easing:cf})),c.r(0))}};
  ch.prototype.Jb=function(b){b=b.frameState;if(null!==b){b=b.viewState.rotation;if(b!=this.g){var c="rotate("+180*b/Math.PI+"deg)";if(this.e){var d=this.element;0===b?Cg(d,"ol-hidden"):Dg(d,"ol-hidden")}this.d.style.msTransform=c;this.d.style.webkitTransform=c;this.d.style.transform=c}this.g=b}};function dh(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=Ff("BUTTON",{"class":c+"-in",type:"button",title:m(b.zoomInTipLabel)?b.zoomInTipLabel:"Zoom in"},m(b.zoomInLabel)?b.zoomInLabel:"+");z(g,"click",ta(dh.prototype.e,d),!1,this);z(g,["mouseout",xc],function(){this.blur()},!1);e=Ff("BUTTON",{"class":c+"-out",type:"button",title:f},e);z(e,"click",ta(dh.prototype.e,
  -d),!1,this);z(e,["mouseout",xc],function(){this.blur()},!1);c=Ff("DIV",c+" ol-unselectable ol-control",g,e);$g.call(this,{element:c,target:b.target});this.d=m(b.duration)?b.duration:250}u(dh,$g);dh.prototype.e=function(b,c){c.preventDefault();var d=this.a,e=d.a();if(null!==e){var f=e.d();m(f)&&(0<this.d&&d.Ra(jf({resolution:f,duration:this.d,easing:cf})),d=e.constrainResolution(f,b),e.c(d))}};function eh(b){b=m(b)?b:{};var c=new B;(m(b.zoom)?b.zoom:1)&&c.push(new dh(b.zoomOptions));(m(b.rotate)?b.rotate:1)&&c.push(new ch(b.rotateOptions));(m(b.attribution)?b.attribution:1)&&c.push(new ah(b.attributionOptions));return c};var fh=Jb?"webkitfullscreenchange":Ib?"mozfullscreenchange":Hb?"MSFullscreenChange":"fullscreenchange";function gh(){var b=xf().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)}
  function hh(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function ih(){var b=xf().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function jh(b){b=m(b)?b:{};this.d=m(b.className)?b.className:"ol-full-screen";var c=m(b.tipLabel)?b.tipLabel:"Toggle full-screen",c=Ff("BUTTON",{"class":this.d+"-"+ih(),type:"button",title:c});z(c,"click",this.g,!1,this);z(c,["mouseout",xc],function(){this.blur()},!1);z(ba.document,fh,this.e,!1,this);var d=this.d+" ol-unselectable ol-control "+(gh()?"":"ol-unsupported"),c=Ff("DIV",d,c);$g.call(this,{element:c,target:b.target});this.f=m(b.keys)?b.keys:!1}u(jh,$g);
  jh.prototype.g=function(b){b.preventDefault();gh()&&(b=this.a,null!==b&&(ih()?(b=xf().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=b.Ic(),b=Af(b),this.f?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():hh(b):hh(b))))};
  jh.prototype.e=function(){var b=this.d+"-true",c=this.d+"-false",d=Of(this.element),e=this.a;ih()?Bg(d,c)&&(Dg(d,c),Cg(d,b)):Bg(d,b)&&(Dg(d,b),Cg(d,c));null===e||e.j()};function kh(b){b=m(b)?b:{};var c=Ff("DIV",m(b.className)?b.className:"ol-mouse-position");$g.call(this,{element:c,target:b.target});z(this,xd("projection"),this.F,!1,this);m(b.coordinateFormat)&&this.r(b.coordinateFormat);m(b.projection)&&this.q(Ee(b.projection));this.M=m(b.undefinedHTML)?b.undefinedHTML:"";this.j=c.innerHTML;this.f=this.e=this.d=null}u(kh,$g);
  kh.prototype.Jb=function(b){b=b.frameState;null===b?this.d=null:this.d!=b.viewState.projection&&(this.d=b.viewState.projection,this.e=null);lh(this,this.f)};kh.prototype.F=function(){this.e=null};kh.prototype.g=function(){return this.get("coordinateFormat")};kh.prototype.getCoordinateFormat=kh.prototype.g;kh.prototype.p=function(){return this.get("projection")};kh.prototype.getProjection=kh.prototype.p;kh.prototype.s=function(b){this.f=this.a.bd(b.a);lh(this,this.f)};
  kh.prototype.D=function(){lh(this,null);this.f=null};kh.prototype.setMap=function(b){kh.Q.setMap.call(this,b);null!==b&&(b=b.d,this.n.push(z(b,"mousemove",this.s,!1,this),z(b,"mouseout",this.D,!1,this)))};kh.prototype.r=function(b){this.set("coordinateFormat",b)};kh.prototype.setCoordinateFormat=kh.prototype.r;kh.prototype.q=function(b){this.set("projection",b)};kh.prototype.setProjection=kh.prototype.q;
  function lh(b,c){var d=b.M;if(null!==c&&null!==b.d){if(null===b.e){var e=b.p();b.e=m(e)?De(b.d,e):We}e=b.a.Fa(c);null!==e&&(b.e(e,e),d=b.g(),d=m(d)?d(e):e.toString())}m(b.j)&&d==b.j||(b.element.innerHTML=d,b.j=d)};function mh(b){if("function"==typeof b.hb)return b.hb();if(ia(b))return b.split("");if(ha(b)){for(var c=[],d=b.length,e=0;e<d;e++)c.push(b[e]);return c}return rb(b)}
  function nh(b,c){if("function"==typeof b.forEach)b.forEach(c,void 0);else if(ha(b)||ia(b))Ta(b,c,void 0);else{var d;if("function"==typeof b.I)d=b.I();else if("function"!=typeof b.hb)if(ha(b)||ia(b)){d=[];for(var e=b.length,f=0;f<e;f++)d.push(f)}else d=sb(b);else d=void 0;for(var e=mh(b),f=e.length,g=0;g<f;g++)c.call(void 0,e[g],d&&d[g],b)}};function oh(b,c){this.b={};this.a=[];this.d=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 oh?(d=b.I(),e=b.hb()):(d=sb(b),e=rb(b));for(var f=0;f<d.length;f++)this.set(d[f],e[f])}}l=oh.prototype;l.Vb=function(){return this.d};l.hb=function(){ph(this);for(var b=[],c=0;c<this.a.length;c++)b.push(this.b[this.a[c]]);return b};l.I=function(){ph(this);return this.a.concat()};
  l.ja=function(){return 0==this.d};l.clear=function(){this.b={};this.d=this.a.length=0};l.remove=function(b){return qh(this.b,b)?(delete this.b[b],this.d--,this.a.length>2*this.d&&ph(this),!0):!1};function ph(b){if(b.d!=b.a.length){for(var c=0,d=0;c<b.a.length;){var e=b.a[c];qh(b.b,e)&&(b.a[d++]=e);c++}b.a.length=d}if(b.d!=b.a.length){for(var f={},d=c=0;c<b.a.length;)e=b.a[c],qh(f,e)||(b.a[d++]=e,f[e]=1),c++;b.a.length=d}}l.get=function(b,c){return qh(this.b,b)?this.b[b]:c};
  l.set=function(b,c){qh(this.b,b)||(this.d++,this.a.push(b));this.b[b]=c};l.forEach=function(b,c){for(var d=this.I(),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 oh(this)};function qh(b,c){return Object.prototype.hasOwnProperty.call(b,c)};var rh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function sh(b){if(th){th=!1;var c=ba.location;if(c){var d=c.href;if(d&&(d=(d=sh(d)[3]||null)?decodeURI(d):d)&&d!=c.hostname)throw th=!0,Error();}}return b.match(rh)}var th=Jb;function uh(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 vh(b,c,d){if(ga(c))for(var e=0;e<c.length;e++)vh(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))}function wh(b,c){for(var d in c)vh(d,c[d],b);return b};function xh(b,c){var d;b instanceof xh?(this.Xb=m(c)?c:b.Xb,yh(this,b.Qb),this.dc=b.dc,this.mb=b.mb,zh(this,b.sc),this.jb=b.jb,Ah(this,b.a.clone()),this.Ub=b.Ub):b&&(d=sh(String(b)))?(this.Xb=!!c,yh(this,d[1]||"",!0),this.dc=Bh(d[2]||""),this.mb=Bh(d[3]||"",!0),zh(this,d[4]),this.jb=Bh(d[5]||"",!0),Ah(this,d[6]||"",!0),this.Ub=Bh(d[7]||"")):(this.Xb=!!c,this.a=new Ch(null,0,this.Xb))}l=xh.prototype;l.Qb="";l.dc="";l.mb="";l.sc=null;l.jb="";l.Ub="";l.Xb=!1;
  l.toString=function(){var b=[],c=this.Qb;c&&b.push(Dh(c,Fh,!0),":");if(c=this.mb){b.push("//");var d=this.dc;d&&b.push(Dh(d,Fh,!0),"@");b.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));c=this.sc;null!=c&&b.push(":",String(c))}if(c=this.jb)this.mb&&"/"!=c.charAt(0)&&b.push("/"),b.push(Dh(c,"/"==c.charAt(0)?Gh:Hh,!0));(c=this.a.toString())&&b.push("?",c);(c=this.Ub)&&b.push("#",Dh(c,Ih));return b.join("")};l.clone=function(){return new xh(this)};
  function yh(b,c,d){b.Qb=d?Bh(c,!0):c;b.Qb&&(b.Qb=b.Qb.replace(/:$/,""))}function zh(b,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);b.sc=c}else b.sc=null}function Ah(b,c,d){c instanceof Ch?(b.a=c,Jh(b.a,b.Xb)):(d||(c=Dh(c,Kh)),b.a=new Ch(c,0,b.Xb))}function Lh(b){return b instanceof xh?b.clone():new xh(b,void 0)}
  function Mh(b,c){b instanceof xh||(b=Lh(b));c instanceof xh||(c=Lh(c));var d=b,e=c,f=d.clone(),g=!!e.Qb;g?yh(f,e.Qb):g=!!e.dc;g?f.dc=e.dc:g=!!e.mb;g?f.mb=e.mb:g=null!=e.sc;var h=e.jb;if(g)zh(f,e.sc);else if(g=!!e.jb)if("/"!=h.charAt(0)&&(d.mb&&!d.jb?h="/"+h:(d=f.jb.lastIndexOf("/"),-1!=d&&(h=f.jb.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.jb=h:g=""!==e.a.toString();g?Ah(f,Bh(e.a.toString())):g=!!e.Ub;g&&(f.Ub=e.Ub);return f}function Bh(b,c){return b?c?decodeURI(b):decodeURIComponent(b):""}function Dh(b,c,d){return ia(b)?(b=encodeURI(b).replace(c,Nh),d&&(b=b.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),b):null}function Nh(b){b=b.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)}
  var Fh=/[#\/\?@]/g,Hh=/[\#\?:]/g,Gh=/[\#\?]/g,Kh=/[\#\?@]/g,Ih=/#/g;function Ch(b,c,d){this.a=b||null;this.b=!!d}function Oh(b){if(!b.ea&&(b.ea=new oh,b.ra=0,b.a))for(var c=b.a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null,g=null;0<=e?(f=c[d].substring(0,e),g=c[d].substring(e+1)):f=c[d];f=decodeURIComponent(f.replace(/\+/g," "));f=Ph(b,f);b.add(f,g?decodeURIComponent(g.replace(/\+/g," ")):"")}}l=Ch.prototype;l.ea=null;l.ra=null;l.Vb=function(){Oh(this);return this.ra};
  l.add=function(b,c){Oh(this);this.a=null;b=Ph(this,b);var d=this.ea.get(b);d||this.ea.set(b,d=[]);d.push(c);this.ra++;return this};l.remove=function(b){Oh(this);b=Ph(this,b);return qh(this.ea.b,b)?(this.a=null,this.ra-=this.ea.get(b).length,this.ea.remove(b)):!1};l.clear=function(){this.ea=this.a=null;this.ra=0};l.ja=function(){Oh(this);return 0==this.ra};function Qh(b,c){Oh(b);c=Ph(b,c);return qh(b.ea.b,c)}
  l.I=function(){Oh(this);for(var b=this.ea.hb(),c=this.ea.I(),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.hb=function(b){Oh(this);var c=[];if(ia(b))Qh(this,b)&&(c=bb(c,this.ea.get(Ph(this,b))));else{b=this.ea.hb();for(var d=0;d<b.length;d++)c=bb(c,b[d])}return c};l.set=function(b,c){Oh(this);this.a=null;b=Ph(this,b);Qh(this,b)&&(this.ra-=this.ea.get(b).length);this.ea.set(b,[c]);this.ra++;return this};
  l.get=function(b,c){var d=b?this.hb(b):[];return 0<d.length?String(d[0]):c};function Rh(b,c,d){b.remove(c);0<d.length&&(b.a=null,b.ea.set(Ph(b,c),cb(d)),b.ra+=d.length)}l.toString=function(){if(this.a)return this.a;if(!this.ea)return"";for(var b=[],c=this.ea.I(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.hb(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));b.push(h)}return this.a=b.join("&")};
  l.clone=function(){var b=new Ch;b.a=this.a;this.ea&&(b.ea=this.ea.clone(),b.ra=this.ra);return b};function Ph(b,c){var d=String(c);b.b&&(d=d.toLowerCase());return d}function Jh(b,c){c&&!b.b&&(Oh(b),b.a=null,b.ea.forEach(function(b,c){var f=c.toLowerCase();c!=f&&(this.remove(c),Rh(this,f,b))},b));b.b=c};function Sh(b,c,d){pc.call(this);this.c=b;this.d=d;this.a=c||window;this.b=sa(this.Te,this)}u(Sh,pc);l=Sh.prototype;l.X=null;l.De=!1;l.start=function(){Th(this);this.De=!1;var b=Uh(this),c=Vh(this);b&&!c&&this.a.mozRequestAnimationFrame?(this.X=z(this.a,"MozBeforePaint",this.b),this.a.mozRequestAnimationFrame(null),this.De=!0):this.X=b&&c?b.call(this.a,this.b):this.a.setTimeout(fd(this.b),20)};
  function Th(b){if(null!=b.X){var c=Uh(b),d=Vh(b);c&&!d&&b.a.mozRequestAnimationFrame?Yc(b.X):c&&d?d.call(b.a,b.X):b.a.clearTimeout(b.X)}b.X=null}l.Te=function(){this.De&&this.X&&Yc(this.X);this.X=null;this.c.call(this.d,ua())};l.L=function(){Th(this);Sh.Q.L.call(this)};function Uh(b){b=b.a;return b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||null}
  function Vh(b){b=b.a;return b.cancelRequestAnimationFrame||b.webkitCancelRequestAnimationFrame||b.mozCancelRequestAnimationFrame||b.oCancelRequestAnimationFrame||b.msCancelRequestAnimationFrame||null};function Wh(b){ba.setTimeout(function(){throw b;},0)}function Xh(b,c){var d=b;c&&(d=sa(b,c));d=Yh(d);!ka(ba.setImmediate)||ba.Window&&ba.Window.prototype.setImmediate==ba.setImmediate?(Zh||(Zh=$h()),Zh(d)):ba.setImmediate(d)}var Zh;
  function $h(){var b=ba.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&(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=sa(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&&!nb("Trident")&&!nb("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(m(d.next)){d=d.next;var b=d.Pe;d.Pe=null;b()}};return function(b){e.next={Pe: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 Yh=ed;function ai(){this.a=ua()}new ai;ai.prototype.set=function(b){this.a=b};ai.prototype.get=function(){return this.a};function bi(b){jd.call(this);this.Rc=b||window;this.ld=z(this.Rc,"resize",this.ii,!1,this);this.md=Ef(this.Rc||window)}u(bi,jd);l=bi.prototype;l.ld=null;l.Rc=null;l.md=null;l.L=function(){bi.Q.L.call(this);this.ld&&(Yc(this.ld),this.ld=null);this.md=this.Rc=null};l.ii=function(){var b=Ef(this.Rc||window),c=this.md;b==c||b&&c&&b.width==c.width&&b.height==c.height||(this.md=b,this.dispatchEvent("resize"))};function ci(b,c,d,e,f){if(!(Hb||Jb&&Tb("525")))return!0;if(Kb&&f)return di(b);if(f&&!e)return!1;ja(c)&&(c=ei(c));if(!d&&(17==c||18==c||Kb&&91==c))return!1;if(Jb&&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(Hb&&e&&c==b)return!1;switch(b){case 13:return!0;case 27:return!Jb}return di(b)}
  function di(b){if(48<=b&&57>=b||96<=b&&106>=b||65<=b&&90>=b||Jb&&0==b)return!0;switch(b){case 32:case 63: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(Ib)b=fi(b);else if(Kb&&Jb)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){jd.call(this);b&&hi(this,b,c)}u(gi,jd);l=gi.prototype;l.ba=null;l.sd=null;l.ge=null;l.td=null;l.Ja=-1;l.Gb=-1;l.Wd=!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=Hb||Jb&&Tb("525"),li=Kb&&Ib;
  gi.prototype.a=function(b){Jb&&(17==this.Ja&&!b.i||18==this.Ja&&!b.b||Kb&&91==this.Ja&&!b.j)&&(this.Gb=this.Ja=-1);-1==this.Ja&&(b.i&&17!=b.f?this.Ja=17:b.b&&18!=b.f?this.Ja=18:b.j&&91!=b.f&&(this.Ja=91));ki&&!ci(b.f,this.Ja,b.e,b.i,b.b)?this.handleEvent(b):(this.Gb=ei(b.f),li&&(this.Wd=b.b))};gi.prototype.b=function(b){this.Gb=this.Ja=-1;this.Wd=b.b};
  gi.prototype.handleEvent=function(b){var c=b.a,d,e,f=c.altKey;Hb&&"keypress"==b.type?(d=this.Gb,e=13!=d&&27!=d?c.keyCode:0):Jb&&"keypress"==b.type?(d=this.Gb,e=0<=c.charCode&&63232>c.charCode&&di(d)?c.charCode:0):Gb?(d=this.Gb,e=di(d)?c.keyCode:0):(d=c.keyCode||this.Gb,e=c.charCode||0,li&&(f=this.Wd),Kb&&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.e&&(g=9):h&&h in ji&&(g=ji[h]);this.Ja=g;b=new mi(g,e,0,c);b.b=f;this.dispatchEvent(b)};
  function hi(b,c,d){b.td&&ni(b);b.ba=c;b.sd=z(b.ba,"keypress",b,d);b.ge=z(b.ba,"keydown",b.a,d,b);b.td=z(b.ba,"keyup",b.b,d,b)}function ni(b){b.sd&&(Yc(b.sd),Yc(b.ge),Yc(b.td),b.sd=null,b.ge=null,b.td=null);b.ba=null;b.Ja=-1;b.Gb=-1}gi.prototype.L=function(){gi.Q.L.call(this);ni(this)};function mi(b,c,d,e){zc.call(this,e);this.type="key";this.f=b;this.n=c}u(mi,zc);function oi(b,c){jd.call(this);var d=this.ba=b;(d=la(d)&&1==d.nodeType?this.ba:this.ba?this.ba.body:null)&&Jg(d,"direction");this.a=z(this.ba,Ib?"DOMMouseScroll":"mousewheel",this,c)}u(oi,jd);
  oi.prototype.handleEvent=function(b){var c=0,d=0,e=0;b=b.a;if("mousewheel"==b.type){d=1;if(Hb||Jb&&(Lb||Tb("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)&&Zb(c,-this.b,this.b);ja(this.d)&&(d=Zb(d,-this.d,this.d));c=new qi(e,b,0,d);this.dispatchEvent(c)};function pi(b,c){return Jb&&(Kb||Mb)&&0!=b%c?b:b/c}
  oi.prototype.L=function(){oi.Q.L.call(this);Yc(this.a);this.a=null};function qi(b,c,d,e){zc.call(this,c);this.type="mousewheel";this.detail=b;this.q=e}u(qi,zc);function ri(b,c,d){uc.call(this,b);this.a=c;b=m(d)?d:{};this.buttons=si(b);this.pressure=ti(b,this.buttons);this.bubbles=y(b,"bubbles",!1);this.cancelable=y(b,"cancelable",!1);this.view=y(b,"view",null);this.detail=y(b,"detail",null);this.screenX=y(b,"screenX",0);this.screenY=y(b,"screenY",0);this.clientX=y(b,"clientX",0);this.clientY=y(b,"clientY",0);this.button=y(b,"button",0);this.relatedTarget=y(b,"relatedTarget",null);this.pointerId=y(b,"pointerId",0);this.width=y(b,"width",0);this.height=y(b,
  "height",0);this.pointerType=y(b,"pointerType","");this.isPrimary=y(b,"isPrimary",!1);c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}u(ri,uc);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){this.a=b;this.e=c};function xi(b){wi.call(this,b,{mousedown:this.ti,mousemove:this.ui,mouseup:this.xi,mouseover:this.wi,mouseout:this.vi});this.b=b.b;this.d=[]}u(xi,wi);function yi(b,c){for(var d=b.d,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 zi(b){var c=Ai(b,b.a),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=xi.prototype;
  l.ti=function(b){if(!yi(this,b)){(1).toString()in this.b&&this.cancel(b);var c=zi(b);this.b[(1).toString()]=b;Bi(this.a,Ci,c,b)}};l.ui=function(b){if(!yi(this,b)){var c=zi(b);Bi(this.a,Di,c,b)}};l.xi=function(b){if(!yi(this,b)){var c=y(this.b,(1).toString());c&&c.button===b.button&&(c=zi(b),Bi(this.a,Ei,c,b),zb(this.b,(1).toString()))}};l.wi=function(b){if(!yi(this,b)){var c=zi(b);Fi(this.a,c,b)}};l.vi=function(b){if(!yi(this,b)){var c=zi(b);Gi(this.a,c,b)}};
  l.cancel=function(b){var c=zi(b);this.a.cancel(c,b);zb(this.b,(1).toString())};function Hi(b){wi.call(this,b,{MSPointerDown:this.Ci,MSPointerMove:this.Di,MSPointerUp:this.Gi,MSPointerOut:this.Ei,MSPointerOver:this.Fi,MSPointerCancel:this.Bi,MSGotPointerCapture:this.zi,MSLostPointerCapture:this.Ai});this.b=b.b;this.d=["","unavailable","touch","pen","mouse"]}u(Hi,wi);function Ii(b,c){var d=c;ja(c.a.pointerType)&&(d=Ai(c,c.a),d.pointerType=b.d[c.a.pointerType]);return d}l=Hi.prototype;l.Ci=function(b){this.b[b.a.pointerId]=b;var c=Ii(this,b);Bi(this.a,Ci,c,b)};
  l.Di=function(b){var c=Ii(this,b);Bi(this.a,Di,c,b)};l.Gi=function(b){var c=Ii(this,b);Bi(this.a,Ei,c,b);zb(this.b,b.a.pointerId)};l.Ei=function(b){var c=Ii(this,b);Gi(this.a,c,b)};l.Fi=function(b){var c=Ii(this,b);Fi(this.a,c,b)};l.Bi=function(b){var c=Ii(this,b);this.a.cancel(c,b);zb(this.b,b.a.pointerId)};l.Ai=function(b){this.a.dispatchEvent(new ri("lostpointercapture",b,b.a))};l.zi=function(b){this.a.dispatchEvent(new ri("gotpointercapture",b,b.a))};function Ji(b){wi.call(this,b,{pointerdown:this.vk,pointermove:this.wk,pointerup:this.zk,pointerout:this.xk,pointerover:this.yk,pointercancel:this.uk,gotpointercapture:this.Ih,lostpointercapture:this.si})}u(Ji,wi);l=Ji.prototype;l.vk=function(b){Ki(this.a,b)};l.wk=function(b){Ki(this.a,b)};l.zk=function(b){Ki(this.a,b)};l.xk=function(b){Ki(this.a,b)};l.yk=function(b){Ki(this.a,b)};l.uk=function(b){Ki(this.a,b)};l.si=function(b){Ki(this.a,b)};l.Ih=function(b){Ki(this.a,b)};function Li(b,c){wi.call(this,b,{touchstart:this.ql,touchmove:this.pl,touchend:this.ol,touchcancel:this.nl});this.b=b.b;this.g=c;this.d=void 0;this.f=0;this.c=void 0}u(Li,wi);l=Li.prototype;l.Sf=function(){this.f=0;this.c=void 0};
  function Mi(b,c,d){c=Ai(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.f;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.d===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
  function Ni(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=Mi(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)}
  l.ql=function(b){var c=b.a.touches,d=sb(this.b),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.b[h];var 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.ac)}for(g=0;g<f.length;++g)this.Xd(b,f[g])}c=qb(this.b);if(0===c||1===c&&(1).toString()in this.b)this.d=b.a.changedTouches[0].identifier,m(this.c)&&ba.clearTimeout(this.c);Oi(this,b);this.f++;Ni(this,b,this.qk)};
  l.qk=function(b,c){this.b[c.pointerId]={target:c.target,ac:c,Df:c.target};var d=this.a;c.bubbles=!0;Bi(d,Pi,c,b);d=this.a;c.bubbles=!1;Bi(d,Qi,c,b);Bi(this.a,Ci,c,b)};l.pl=function(b){b.preventDefault();Ni(this,b,this.yi)};l.yi=function(b,c){var d=y(this.b,c.pointerId);if(d){var e=d.ac,f=d.Df;Bi(this.a,Di,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Gi(this.a,e,b),Fi(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.Xd(b,c)));d.ac=c;d.Df=c.target}};
  l.ol=function(b){Oi(this,b);Ni(this,b,this.rl)};l.rl=function(b,c){Bi(this.a,Ei,c,b);this.a.ac(c,b);var d=this.a;c.bubbles=!1;Bi(d,Ri,c,b);zb(this.b,c.pointerId);c.isPrimary&&(this.d=void 0,this.c=ba.setTimeout(sa(this.Sf,this),200))};l.nl=function(b){Ni(this,b,this.Xd)};l.Xd=function(b,c){this.a.cancel(c,b);this.a.ac(c,b);var d=this.a;c.bubbles=!1;Bi(d,Ri,c,b);zb(this.b,c.pointerId);c.isPrimary&&(this.d=void 0,this.c=ba.setTimeout(sa(this.Sf,this),200))};
  function Oi(b,c){var d=b.g.d,e=c.a.changedTouches[0];if(b.d===e.identifier){var f=[e.clientX,e.clientY];d.push(f);ba.setTimeout(function(){ab(d,f)},2500)}};function Si(b){jd.call(this);this.ba=b;this.b={};this.d={};this.a=[];hg?Ti(this,new Ji(this)):ig?Ti(this,new Hi(this)):(b=new xi(this),Ti(this,b),gg&&Ti(this,new Li(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],Ui(this,sb(c.e))}u(Si,jd);function Ti(b,c){var d=sb(c.e);d&&(Ta(d,function(b){var d=c.e[b];d&&(this.d[b]=sa(d,c))},b),b.a.push(c))}Si.prototype.c=function(b){var c=this.d[b.type];c&&c(b)};function Ui(b,c){Ta(c,function(b){z(this.ba,b,this.c,!1,this)},b)}
  function Vi(b,c){Ta(c,function(b){Xc(this.ba,b,this.c,!1,this)},b)}function Ai(b,c){for(var d={},e,f=0,g=Wi.length;f<g;f++)e=Wi[f][0],d[e]=b[e]||c[e]||Wi[f][1];return d}Si.prototype.ac=function(b,c){b.bubbles=!0;Bi(this,Yi,b,c)};Si.prototype.cancel=function(b,c){Bi(this,Zi,b,c)};function Gi(b,c,d){b.ac(c,d);c.target.contains(c.relatedTarget)||(c.bubbles=!1,Bi(b,Ri,c,d))}function Fi(b,c,d){c.bubbles=!0;Bi(b,Pi,c,d);c.target.contains(c.relatedTarget)||(c.bubbles=!1,Bi(b,Qi,c,d))}
  function Bi(b,c,d,e){b.dispatchEvent(new ri(c,e,d))}function Ki(b,c){b.dispatchEvent(new ri(c.type,c,c.a))}Si.prototype.L=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],Vi(this,sb(c.e));Si.Q.L.call(this)};
  var Di="pointermove",Ci="pointerdown",Ei="pointerup",Pi="pointerover",Yi="pointerout",Qi="pointerenter",Ri="pointerleave",Zi="pointercancel",Wi=[["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 $i(b,c,d,e){Zg.call(this,b,c,e);this.a=d;this.originalEvent=d.a;this.pixel=c.bd(this.originalEvent);this.coordinate=c.Fa(this.pixel)}u($i,Zg);$i.prototype.preventDefault=function(){$i.Q.preventDefault.call(this);this.a.preventDefault()};$i.prototype.c=function(){$i.Q.c.call(this);this.a.c()};function aj(b,c,d,e){$i.call(this,b,c,d.a,e);this.b=d}u(aj,$i);
  function bj(b){jd.call(this);this.b=b;this.e=0;this.o=!1;this.f=this.g=this.d=null;b=this.b.d;this.j=0;this.n={};this.c=new Si(b);this.a=null;this.g=z(this.c,Ci,this.ei,!1,this);this.i=z(this.c,Di,this.Pk,!1,this)}u(bj,jd);function cj(b,c){var d;d=new aj(dj,b.b,c);b.dispatchEvent(d);0!==b.e?(ba.clearTimeout(b.e),b.e=0,d=new aj(ej,b.b,c),b.dispatchEvent(d)):b.e=ba.setTimeout(sa(function(){this.e=0;var b=new aj(fj,this.b,c);this.dispatchEvent(b)},b),250)}
  function gj(b,c){c.type==hj||c.type==ij?delete b.n[c.pointerId]:c.type==jj&&(b.n[c.pointerId]=!0);b.j=qb(b.n)}l=bj.prototype;l.af=function(b){gj(this,b);var c=new aj(hj,this.b,b);this.dispatchEvent(c);0===this.j&&(Ta(this.d,Yc),this.d=null,tc(this.a),this.a=null);!this.o&&0===b.button&&cj(this,this.f)};
  l.ei=function(b){gj(this,b);var c=new aj(jj,this.b,b);this.dispatchEvent(c);this.f=b;this.o=!1;null===this.d&&(this.a=new Si(document),this.d=[z(this.a,kj,this.Ui,!1,this),z(this.a,hj,this.af,!1,this),z(this.c,ij,this.af,!1,this)])};l.Ui=function(b){if(b.clientX!=this.f.clientX||b.clientY!=this.f.clientY){this.o=!0;var c=new aj(lj,this.b,b);this.dispatchEvent(c)}b.preventDefault()};l.Pk=function(b){this.dispatchEvent(new aj(b.type,this.b,b))};
  l.L=function(){null!==this.i&&(Yc(this.i),this.i=null);null!==this.g&&(Yc(this.g),this.g=null);null!==this.d&&(Ta(this.d,Yc),this.d=null);null!==this.a&&(tc(this.a),this.a=null);null!==this.c&&(tc(this.c),this.c=null);bj.Q.L.call(this)};var fj="singleclick",dj="click",ej="dblclick",lj="pointerdrag",kj="pointermove",jj="pointerdown",hj="pointerup",ij="pointercancel",mj={Ol:fj,Dl:dj,El:ej,Hl:lj,Kl:kj,Gl:jj,Nl:hj,Ml:"pointerover",Ll:"pointerout",Il:"pointerenter",Jl:"pointerleave",Fl:ij};function nj(b){md.call(this);this.g=Ee(b.projection);this.e=m(b.attributions)?b.attributions:null;this.r=b.logo;this.n=m(b.state)?b.state:"ready"}u(nj,md);l=nj.prototype;l.xd=ca;l.Y=function(){return this.e};l.W=function(){return this.r};l.Z=function(){return this.g};l.$=function(){return this.n};function oj(b,c){b.n=c;b.l()};function D(b){td.call(this);var c=Cb(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.maxResolution=m(b.maxResolution)?b.maxResolution:Infinity;c.minResolution=m(b.minResolution)?b.minResolution:0;this.G(c)}u(D,td);D.prototype.c=function(){return this.get("brightness")};D.prototype.getBrightness=D.prototype.c;
  D.prototype.e=function(){return this.get("contrast")};D.prototype.getContrast=D.prototype.e;D.prototype.f=function(){return this.get("hue")};D.prototype.getHue=D.prototype.f;
  function pj(b){var c=b.c(),d=b.e(),e=b.f(),f=b.j(),g=b.n(),h=b.lb(),k=b.d(),n=b.t(),p=b.g(),q=b.i();return{layer:b,brightness:m(c)?Zb(c,-1,1):0,contrast:m(d)?Math.max(d,0):1,hue:m(e)?e:0,opacity:m(f)?Zb(f,0,1):1,saturation:m(g)?Math.max(g,0):1,hc:h,visible:m(k)?!!k:!0,extent:n,maxResolution:m(p)?p:Infinity,minResolution:m(q)?Math.max(q,0):0}}D.prototype.t=function(){return this.get("extent")};D.prototype.getExtent=D.prototype.t;D.prototype.g=function(){return this.get("maxResolution")};
  D.prototype.getMaxResolution=D.prototype.g;D.prototype.i=function(){return this.get("minResolution")};D.prototype.getMinResolution=D.prototype.i;D.prototype.j=function(){return this.get("opacity")};D.prototype.getOpacity=D.prototype.j;D.prototype.n=function(){return this.get("saturation")};D.prototype.getSaturation=D.prototype.n;D.prototype.d=function(){return this.get("visible")};D.prototype.getVisible=D.prototype.d;D.prototype.s=function(b){this.set("brightness",b)};D.prototype.setBrightness=D.prototype.s;
  D.prototype.D=function(b){this.set("contrast",b)};D.prototype.setContrast=D.prototype.D;D.prototype.F=function(b){this.set("hue",b)};D.prototype.setHue=D.prototype.F;D.prototype.p=function(b){this.set("extent",b)};D.prototype.setExtent=D.prototype.p;D.prototype.M=function(b){this.set("maxResolution",b)};D.prototype.setMaxResolution=D.prototype.M;D.prototype.T=function(b){this.set("minResolution",b)};D.prototype.setMinResolution=D.prototype.T;D.prototype.q=function(b){this.set("opacity",b)};
  D.prototype.setOpacity=D.prototype.q;D.prototype.aa=function(b){this.set("saturation",b)};D.prototype.setSaturation=D.prototype.aa;D.prototype.ca=function(b){this.set("visible",b)};D.prototype.setVisible=D.prototype.ca;function F(b){var c=Cb(b);delete c.source;D.call(this,c);this.ab=null;z(this,xd("source"),this.Td,!1,this);this.da(m(b.source)?b.source:null)}u(F,D);F.prototype.Ca=function(b){b=m(b)?b:[];b.push(pj(this));return b};F.prototype.a=function(){var b=this.get("source");return m(b)?b:null};F.prototype.getSource=F.prototype.a;F.prototype.lb=function(){var b=this.a();return null===b?"undefined":b.n};F.prototype.Ud=function(){this.l()};
  F.prototype.Td=function(){null!==this.ab&&(Yc(this.ab),this.ab=null);var b=this.a();null!==b&&(this.ab=z(b,"change",this.Ud,!1,this));this.l()};F.prototype.da=function(b){this.set("source",b)};F.prototype.setSource=F.prototype.da;function qj(b,c,d,e,f){jd.call(this);this.f=f;this.extent=b;this.e=d;this.resolution=c;this.state=e}u(qj,jd);qj.prototype.t=function(){return this.extent};function rj(b,c){jd.call(this);this.a=b;this.state=c}u(rj,jd);function sj(b){b.dispatchEvent("change")}rj.prototype.ib=function(){return ma(this).toString()};rj.prototype.f=function(){return this.a};function tj(b){this.minZoom=m(b.minZoom)?b.minZoom:0;this.a=b.resolutions;this.maxZoom=this.a.length-1;this.c=m(b.origin)?b.origin:null;this.f=null;m(b.origins)&&(this.f=b.origins);this.b=null;m(b.tileSizes)&&(this.b=b.tileSizes);this.e=m(b.tileSize)?b.tileSize:null===this.b?256:void 0}var uj=[0,0,0];l=tj.prototype;l.Ab=function(){return ed};l.ad=function(b,c,d,e,f){f=vj(this,b,f);for(b=b[0]-1;b>=this.minZoom;){if(c.call(d,b,wj(this,f,b,e)))return!0;--b}return!1};l.fd=function(){return this.maxZoom};
  l.gd=function(){return this.minZoom};l.Mb=function(b){return null===this.c?this.f[b]:this.c};l.la=function(b){return this.a[b]};l.zd=function(){return this.a};l.kd=function(b,c,d){return b[0]<this.maxZoom?(d=vj(this,b,d),wj(this,d,b[0]+1,c)):null};function xj(b,c,d,e){yj(b,c[0],c[1],d,!1,uj);var f=uj[1],g=uj[2];yj(b,c[2],c[3],d,!0,uj);return pf(f,uj[1],g,uj[2],e)}function wj(b,c,d,e){return xj(b,c,b.la(d),e)}
  function zj(b,c){var d=b.Mb(c[0]),e=b.la(c[0]),f=b.qa(c[0]);return[d[0]+(c[1]+.5)*f*e,d[1]+(c[2]+.5)*f*e]}function vj(b,c,d){var e=b.Mb(c[0]),f=b.la(c[0]);b=b.qa(c[0]);var g=e[0]+c[1]*b*f;c=e[1]+c[2]*b*f;return Xd(g,c,g+b*f,c+b*f,d)}l.Wb=function(b,c,d){return yj(this,b[0],b[1],c,!1,d)};function yj(b,c,d,e,f,g){var h=ec(b.a,e,0),k=e/b.la(h),n=b.Mb(h);b=b.qa(h);c=k*(c-n[0])/(e*b);d=k*(d-n[1])/(e*b);f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));return kf(h,c,d,g)}
  l.Gc=function(b,c,d){return yj(this,b[0],b[1],this.la(c),!1,d)};l.qa=function(b){return m(this.e)?this.e:this.b[b]};function Aj(b,c,d){c=m(c)?c:42;d=m(d)?d:256;b=Math.max(re(b)/d,oe(b)/d);c+=1;d=Array(c);for(var e=0;e<c;++e)d[e]=b/Math.pow(2,e);return d}function Bj(b){b=Ee(b);var c=b.t();null===c&&(b=180*Ae.degrees/b.de(),c=Xd(-b,-b,b,b));return c};function Cj(b){nj.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state});this.s=m(b.opaque)?b.opaque:!1;this.D=m(b.tilePixelRatio)?b.tilePixelRatio:1;this.tileGrid=m(b.tileGrid)?b.tileGrid:null}u(Cj,nj);l=Cj.prototype;l.yd=cd;l.ae=function(b,c,d,e){var f=!0,g,h,k,n;for(k=e.a;k<=e.c;++k)for(n=e.d;n<=e.b;++n)h=this.eb(d,k,n),b[d]&&b[d][h]||(g=c(d,k,n),null===g?f=!1:(b[d]||(b[d]={}),b[d][h]=g));return f};l.cd=function(){return 0};l.eb=lf;l.za=function(){return this.tileGrid};
  function Dj(b,c){var d;if(null===b.tileGrid){if(d=c.e,null===d){d=Bj(c);var e=m(void 0)?void 0:256,f=m(void 0)?void 0:"bottom-left",g=Aj(d,void 0,e);d=new tj({origin:le(d,f),resolutions:g,tileSize:e});c.e=d}}else d=b.tileGrid;return d}l.Hc=function(b,c,d){return Dj(this,d).qa(b)*this.D};l.Ce=ca;function Ej(b,c){pc.call(this);this.d=b;this.a=c}u(Ej,pc);Ej.prototype.$b=ca;Ej.prototype.o=function(b){2===b.target.state&&Fj(this)};function Fj(b){var c=b.a;c.d()&&"ready"==c.lb()&&b.d.e.U()}function Gj(b,c){c.yd()&&b.postRenderFunctions.push(ta(function(b,c,f){c=ma(b).toString();b.ne(f.usedTiles[c])},c))}function Hj(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 Ij(b,c){var d=c.r;m(d)&&(ia(d)?b.logos[d]="":la(d)&&(b.logos[d.src]=d.href))}
  function Jj(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.d<b.d&&(b.d=e.d),e.b>b.b&&(b.b=e.b)):b[c][d]=e:(b[c]={},b[c][d]=e)}function Kj(b,c,d,e){return function(f,g,h){f=c.Eb(f,g,h,d,e);return b(f)?f:null}}function Lj(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 Mj(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 s=d.minZoom,v,x,C,E,G,w;m(k)||(k=0);for(w=h;w>=s;--w)for(x=wj(d,g,w,x),C=d.la(w),E=x.a;E<=x.c;++E)for(G=x.d;G<=x.b;++G)h-w<=k?(v=c.Eb(w,E,G,e,f),0==v.state&&(r[nf(v.a)]=!0,v.ib()in b.d||Nj(b,[v,q,zj(d,v.a),C])),m(n)&&n.call(p,v)):c.Ce(w,E,G)};function Oj(b){this.D=b.opacity;this.F=b.rotateWithView;this.o=b.rotation;this.i=b.scale;this.T=b.snapToPixel}Oj.prototype.p=function(){return this.o};Oj.prototype.q=function(){return this.i};Oj.prototype.r=function(b){this.o=b};Oj.prototype.s=function(b){this.i=b};function Pj(b){b=m(b)?b:{};this.e=m(b.anchor)?b.anchor:[.5,.5];this.c=null;this.b=m(b.anchorOrigin)?b.anchorOrigin:"top-left";this.g=m(b.anchorXUnits)?b.anchorXUnits:"fraction";this.n=m(b.anchorYUnits)?b.anchorYUnits:"fraction";var c=m(b.crossOrigin)?b.crossOrigin:null,d=m(b.img)?b.img:null,e=b.src;m(e)&&0!==e.length||null===d||(e=d.src);var f=m(b.src)?0:2,g=Qj.Ia(),h=g.get(e,c);null===h&&(h=new Rj(d,e,c,f),g.set(e,c,h));this.a=h;this.M=m(b.offset)?b.offset:[0,0];this.d=m(b.offsetOrigin)?b.offsetOrigin:
  "top-left";this.f=null;this.j=m(b.size)?b.size:null;Oj.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})}u(Pj,Oj);l=Pj.prototype;
  l.qb=function(){if(null!==this.c)return this.c;var b=this.e,c=this.Ya();if("fraction"==this.g||"fraction"==this.n){if(null===c)return null;b=this.e.slice();"fraction"==this.g&&(b[0]*=c[0]);"fraction"==this.n&&(b[1]*=c[1])}if("top-left"!=this.b){if(null===c)return null;b===this.e&&(b=this.e.slice());if("top-right"==this.b||"bottom-right"==this.b)b[0]=-b[0]+c[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=-b[1]+c[1]}return this.c=b};l.xb=function(){return this.a.a};l.dd=function(){return this.a.b};
  l.pe=function(){return this.a.d};l.oe=function(){var b=this.a;if(null===b.e)if(b.o){var c=b.b[0],d=b.b[1],e=Tf(c,d);e.fillRect(0,0,c,d);b.e=e.canvas}else b.e=b.a;return b.e};l.yb=function(){if(null!==this.f)return this.f;var b=this.M;if("top-left"!=this.d){var c=this.Ya(),d=this.a.b;if(null===c||null===d)return null;b=b.slice();if("top-right"==this.d||"bottom-right"==this.d)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.d||"bottom-right"==this.d)b[1]=d[1]-c[1]-b[1]}return this.f=b};l.Nj=function(){return this.a.f};
  l.Ya=function(){return null===this.j?this.a.b:this.j};l.ie=function(b,c){return z(this.a,"change",b,!1,c)};l.load=function(){this.a.load()};l.Be=function(b,c){Xc(this.a,"change",b,!1,c)};function Rj(b,c,d,e){jd.call(this);this.e=null;this.a=null===b?new Image:b;null!==d&&(this.a.crossOrigin=d);this.c=null;this.d=e;this.b=null;this.f=c;this.o=!1}u(Rj,jd);Rj.prototype.g=function(){this.d=3;Ta(this.c,Yc);this.c=null;this.dispatchEvent("change")};
  Rj.prototype.i=function(){this.d=2;this.b=[this.a.width,this.a.height];Ta(this.c,Yc);this.c=null;var b=Tf(1,1);b.drawImage(this.a,0,0);try{b.getImageData(0,0,1,1)}catch(c){this.o=!0}this.dispatchEvent("change")};Rj.prototype.load=function(){if(0==this.d){this.d=1;this.c=[Wc(this.a,"error",this.g,!1,this),Wc(this.a,"load",this.i,!1,this)];try{this.a.src=this.f}catch(b){this.g()}}};function Qj(){this.a={};this.b=0}da(Qj);Qj.prototype.clear=function(){this.a={};this.b=0};
  Qj.prototype.get=function(b,c){var d=c+":"+b;return d in this.a?this.a[d]:null};Qj.prototype.set=function(b,c,d){this.a[c+":"+b]=d;++this.b};function Sj(b,c,d,e,f,g,h,k){Od(b);0===c&&0===d||Qd(b,c,d);1==e&&1==f||Rd(b,e,f);0!==g&&Sd(b,g);0===h&&0===k||Qd(b,h,k);return b}function Tj(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 Uj(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 Vj(b,c){pc.call(this);this.e=c;this.g=null;this.d={}}u(Vj,pc);
  function Wj(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Sj(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);b=b.pixelToCoordinateMatrix;var c=d[0],e=d[1],f=d[2],g=d[3],h=d[4],k=d[5],n=d[6],p=d[7],q=d[8],r=d[9],s=d[10],v=d[11],x=d[12],C=d[13],E=d[14],d=d[15],G=c*k-e*h,w=c*n-f*h,U=c*p-g*h,N=e*n-f*k,Y=e*p-g*k,T=f*p-g*n,pa=q*C-r*x,vb=q*E-s*x,Ka=q*d-v*x,Yb=r*E-s*C,Pb=r*d-v*C,La=s*d-v*E,Oa=G*La-w*Pb+U*Yb+N*Ka-Y*vb+T*pa;0!=Oa&&(Oa=1/Oa,b[0]=(k*La-n*Pb+
  p*Yb)*Oa,b[1]=(-e*La+f*Pb-g*Yb)*Oa,b[2]=(C*T-E*Y+d*N)*Oa,b[3]=(-r*T+s*Y-v*N)*Oa,b[4]=(-h*La+n*Ka-p*vb)*Oa,b[5]=(c*La-f*Ka+g*vb)*Oa,b[6]=(-x*T+E*U-d*w)*Oa,b[7]=(q*T-s*U+v*w)*Oa,b[8]=(h*Pb-k*Ka+p*pa)*Oa,b[9]=(-c*Pb+e*Ka-g*pa)*Oa,b[10]=(x*Y-C*U+d*G)*Oa,b[11]=(-q*Y+r*U-v*G)*Oa,b[12]=(-h*Yb+k*vb-n*pa)*Oa,b[13]=(c*Yb-e*vb+f*pa)*Oa,b[14]=(-x*N+C*w-E*G)*Oa,b[15]=(q*N-r*w+s*G)*Oa)}Vj.prototype.Zc=function(b){return new Ej(this,b)};Vj.prototype.L=function(){ob(this.d,tc);Vj.Q.L.call(this)};
  function Xj(){var b=Qj.Ia();if(32<b.b){var c=0,d,e;for(d in b.a){e=b.a[d];var f;if(f=0===(c++&3))Ec(e)?e=ld(e,void 0,void 0):(e=Sc(e),e=!!e&&Mc(e,void 0,void 0)),f=!e;f&&(delete b.a[d],--b.b)}}}
  function Yj(b,c,d,e,f,g,h){var k,n=d.extent,p=d.viewState,q=p.resolution,p=p.rotation;if(null!==b.g){var r={};if(k=Zj(b.g,n,q,p,c,{},function(b){var c=ma(b).toString();if(!(c in r))return r[c]=!0,e.call(f,b,null)}))return k}n=b.e.Db().Ca();for(p=n.length-1;0<=p;--p){k=n[p];var s=k.layer;if(k.visible&&q>=k.minResolution&&q<k.maxResolution&&g.call(h,s)&&(k=ak(b,s).$b(c,d,e,f)))return k}}function ak(b,c){var d=ma(c).toString();if(d in b.d)return b.d[d];var e=b.Zc(c);return b.d[d]=e}Vj.prototype.Fd=ca;
  Vj.prototype.s=function(b,c){for(var d in this.d)if(!(null!==c&&d in c.layerStates)){var e=this.d[d];delete this.d[d];tc(e)}};function bk(b,c){for(var d in b.d)if(!(d in c.layerStates)){c.postRenderFunctions.push(sa(b.s,b));break}};function ck(b,c){this.f=b;this.e=c;this.a=[];this.b=[];this.d={}}ck.prototype.clear=function(){this.a.length=0;this.b.length=0;yb(this.d)};function dk(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),ek(b,0));c=b.e(e);delete b.d[c];return e}function Nj(b,c){var d=b.f(c);Infinity!=d&&(b.a.push(c),b.b.push(d),b.d[b.e(c)]=!0,fk(b,0,b.a.length-1))}ck.prototype.Vb=function(){return this.a.length};ck.prototype.ja=function(){return 0===this.a.length};
  function ek(b,c){for(var d=b.a,e=b.b,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var 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;fk(b,k,c)}function fk(b,c,d){var e=b.a;b=b.b;for(var f=e[d],g=b[d];d>c;){var h=d-1>>1;if(b[h]>g)e[d]=e[h],b[d]=b[h],d=h;else break}e[d]=f;b[d]=g}function gk(b){var c=b.f,d=b.a,e=b.b,f=0,g=d.length,h,k,n;for(k=0;k<g;++k)h=d[k],n=c(h),Infinity==n?delete b.d[b.e(h)]:(e[f]=n,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)ek(b,c)};function hk(b,c){ck.call(this,function(c){return b.apply(null,c)},function(b){return b[0].ib()});this.o=c;this.c=0}u(hk,ck);hk.prototype.g=function(){--this.c;this.o()};function ik(b,c,d){this.c=b;this.d=c;this.f=d;this.a=[];this.b=this.e=0}ik.prototype.update=function(b,c){this.a.push(b,c,ua())};function jk(b,c){var d=b.c,e=b.b,f=b.d-e,g=kk(b);return gf({source:c,duration:g,easing:function(b){return e*(Math.exp(d*b*g)-1)/f}})}function kk(b){return Math.log(b.d/b.b)/b.c};function lk(){td.call(this);this.n=null;this.d(!0)}u(lk,td);lk.prototype.a=function(){return this.get("active")};lk.prototype.getActive=lk.prototype.a;lk.prototype.d=function(b){this.set("active",b)};lk.prototype.setActive=lk.prototype.d;lk.prototype.setMap=function(b){this.n=b};function mk(b,c,d,e,f){if(null!=d){var g=c.e(),h=c.a();m(g)&&m(h)&&m(f)&&0<f&&(b.Ra(hf({rotation:g,duration:f,easing:cf})),m(e)&&b.Ra(gf({source:h,duration:f,easing:cf})));c.rotate(d,e)}}
  function nk(b,c,d,e,f){var g=c.d();d=c.constrainResolution(g,d,0);ok(b,c,d,e,f)}function ok(b,c,d,e,f){if(null!=d){var g=c.d(),h=c.a();m(g)&&m(h)&&m(f)&&0<f&&(b.Ra(jf({resolution:g,duration:f,easing:cf})),m(e)&&b.Ra(gf({source:h,duration:f,easing:cf})));if(null!=e){var k;b=c.a();f=c.d();m(b)&&m(f)&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.Ma(k)}c.c(d)}};function pk(b){b=m(b)?b:{};this.c=m(b.delta)?b.delta:1;lk.call(this);this.e=m(b.duration)?b.duration:250}u(pk,lk);pk.prototype.handleMapBrowserEvent=function(b){var c=!1,d=b.a;if(b.type==ej){var c=b.map,e=b.coordinate,d=d.e?-this.c:this.c,f=c.a();nk(c,f,d,e,this.e);b.preventDefault();c=!0}return!c};function qk(b){b=b.a;return b.b&&!b.o&&b.e}function rk(b){return"mousemove"==b.originalEvent.type}function sk(b){return b.type==fj}function tk(b){b=b.a;return!b.b&&!b.o&&!b.e}function uk(b){b=b.a;return!b.b&&!b.o&&b.e}function vk(b){b=b.a.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function wk(b){return 1==b.b.pointerId};function xk(){lk.call(this);this.p=!1;this.r={};this.e=[]}u(xk,lk);function yk(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]}l=xk.prototype;l.Fb=ca;l.wb=cd;l.vb=cd;
  l.handleMapBrowserEvent=function(b){if(!(b instanceof aj))return!0;var c=!1,d=b.type;if(d===jj||d===lj||d===hj)d=b.b,b.type==hj?delete this.r[d.pointerId]:b.type==jj?this.r[d.pointerId]=d:d.pointerId in this.r&&(this.r[d.pointerId]=d),this.e=rb(this.r);this.p&&(b.type==lj?this.Fb(b):b.type==hj&&(this.p=this.wb(b)));b.type==jj&&(this.p=b=this.vb(b),c=this.Hd(b));return!c};l.Hd=cd;function zk(b){xk.call(this);b=m(b)?b:{};this.c=b.kinetic;this.f=this.g=null;this.j=m(b.condition)?b.condition:tk;this.i=!1}u(zk,xk);zk.prototype.Fb=function(b){var c=yk(this.e);this.c&&this.c.update(c[0],c[1]);if(null!==this.f){var d=this.f[0]-c[0],e=c[1]-this.f[1];b=b.map;var f=b.a(),g=$e(f),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;Dd(d,g.rotation);yd(d,g.center);d=f.i(d);b.U();f.Ma(d)}this.f=c};
  zk.prototype.wb=function(b){b=b.map;var c=b.a();if(0===this.e.length){var d;if(d=!this.i&&this.c)if(d=this.c,6>d.a.length)d=!1;else{var e=ua()-d.f,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.e=Math.atan2(f,h);d.b=Math.sqrt(h*h+f*f)/e;d=d.b>d.d}}d&&(d=this.c,d=(d.d-d.b)/d.c,f=this.c.e,g=c.a(),this.g=jk(this.c,g),b.Ra(this.g),g=b.f(g),d=b.Fa([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.i(d),c.Ma(d));bf(c,-1);
  b.U();return!1}this.f=null;return!0};zk.prototype.vb=function(b){if(0<this.e.length&&this.j(b)){var c=b.map,d=c.a();this.f=null;this.p||bf(d,1);c.U();null!==this.g&&ab(c.D,this.g)&&(d.Ma(b.frameState.viewState.center),this.g=null);this.c&&(b=this.c,b.a.length=0,b.e=0,b.b=0);this.i=1<this.e.length;return!0}return!1};function Ak(b){b=m(b)?b:{};xk.call(this);this.f=m(b.condition)?b.condition:qk;this.c=void 0}u(Ak,xk);Ak.prototype.Fb=function(b){if(wk(b)){var c=b.map,d=c.e();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(m(this.c)){b=d-this.c;var e=c.a(),f=$e(e);c.U();mk(c,e,f.rotation-b)}this.c=d}};Ak.prototype.wb=function(b){if(!wk(b))return!0;b=b.map;var c=b.a();bf(c,-1);var d=$e(c).rotation,d=c.constrainRotation(d,0);mk(b,c,d,void 0,250);return!1};
  Ak.prototype.vb=function(b){return wk(b)&&Cc(b.a)&&this.f(b)?(b=b.map,bf(b.a(),1),b.U(),this.c=void 0,!0):!1};function Bk(){md.call(this);this.extent=void 0;this.o=-1;this.i={};this.p=this.n=0}u(Bk,md);Bk.prototype.g=function(b,c){var d=m(c)?c:[NaN,NaN];this.Sa(b[0],b[1],d,Infinity);return d};Bk.prototype.Kb=cd;Bk.prototype.f=function(b,c){this.ma(Ve(b,c));return this};function Ck(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:[],s=0;c<d;c+=e){var v=b[c],x=b[c+1];r[s++]=h*v+n*x+q;r[s++]=k*v+p*x+f}m(g)&&r.length!=s&&(r.length=s);return r};function Dk(){Bk.call(this);this.d="XY";this.a=2;this.k=null}u(Dk,Bk);function Ek(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}l=Dk.prototype;l.Kb=cd;l.t=function(b){if(this.o!=this.b){var c=this.k,d=this.k.length,e=this.a,f=Xd(Infinity,Infinity,-Infinity,-Infinity,this.extent);this.extent=fe(f,c,0,d,e);this.o=this.b}return te(this.extent,b)};l.sb=function(){return this.k.slice(0,this.a)};l.tb=function(){return this.k.slice(this.k.length-this.a)};l.ub=function(){return this.d};
  l.fe=function(b){this.p!=this.b&&(yb(this.i),this.n=0,this.p=this.b);if(0>b||0!==this.n&&b<=this.n)return this;var c=b.toString();if(this.i.hasOwnProperty(c))return this.i[c];var d=this.nc(b);if(d.k.length<this.k.length)return this.i[c]=d;this.n=b;return this};l.nc=function(){return this};function Fk(b,c,d){b.a=Ek(c);b.d=c;b.k=d}
  function Gk(b,c,d,e){if(m(c))d=Ek(c);else{for(c=0;c<e;++c){if(0===d.length){b.d="XY";b.a=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.d=c;b.a=d}l.ma=function(b){null!==this.k&&(b(this.k,this.k,this.a),this.l())};function Hk(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 Ik(b,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+Hk(b,c,k,e);c=k}return f};function Jk(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 Kk(b,c,d,e)}function Kk(b,c,d,e){b=d-b;c=e-c;return b*b+c*c};function Lk(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]=ac(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 Mk(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=Kk(g,h,k,n);g>f&&(f=g);g=k;h=n}return f}function Nk(b,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=Mk(b,c,k,e,f);c=k}return f}
  function Ok(b,c,d,e,f,g,h,k,n,p,q){if(c==d)return p;var r;if(0===f){r=Kk(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 s=m(q)?q:[NaN,NaN],v=c+e;v<d;)if(Lk(b,v-e,v,e,h,k,s),r=Kk(h,k,s[0],s[1]),r<p){p=r;for(q=0;q<e;++q)n[q]=s[q];n.length=e;v+=e}else v+=e*Math.max((Math.sqrt(r)-Math.sqrt(p))/f|0,1);if(g&&(Lk(b,d-e,c,e,h,k,s),r=Kk(h,k,s[0],s[1]),r<p)){p=r;for(q=0;q<e;++q)n[q]=s[q];n.length=e}return p}
  function Pk(b,c,d,e,f,g,h,k,n,p,q){q=m(q)?q:[NaN,NaN];var r,s;r=0;for(s=d.length;r<s;++r){var v=d[r];p=Ok(b,c,v,e,f,g,h,k,n,p,q);c=v}return p};function Qk(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function Rk(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 Sk(b,c,d,e,f){f=m(f)?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Rk(b,c,d[h],e),f[g++]=c;f.length=g;return f};function Tk(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 Uk(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++]=Tk(b,c,n,e,f[g]);c=n}f.length=g;return f};function Vk(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(),s=d.pop(),v=0,x=b[s],C=b[s+1],E=b[r],G=b[r+1];for(q=s+e;q<r;q+=e){var w=Jk(b[q],b[q+1],x,C,E,G);w>v&&(p=q,v=w)}v>f&&(n[(p-c)/e]=1,s+e<p&&d.push(s,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 Wk(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,s=q,v=e,x=f,C=g;if(c!=s){var E=x*Math.round(r[c]/x),G=x*Math.round(r[c+1]/x);c+=v;C[h++]=E;C[h++]=G;var w=void 0,U=void 0;do if(w=x*Math.round(r[c]/x),U=x*Math.round(r[c+1]/x),c+=v,c==s){C[h++]=w;C[h++]=U;break a}while(w==E&&U==G);for(;c<s;){var N,Y;N=x*Math.round(r[c]/x);Y=x*Math.round(r[c+1]/x);c+=v;if(N!=w||Y!=U){var T=w-E,pa=U-G,vb=N-E,Ka=Y-G;T*Ka==pa*vb&&(0>T&&vb<T||T==vb||0<T&&vb>T)&&(0>pa&&Ka<pa||pa==Ka||
  0<pa&&Ka>pa)||(C[h++]=w,C[h++]=U,E=w,G=U);w=N;U=Y}}C[h++]=w;C[h++]=U}}k.push(h);c=q}return h};function Xk(b,c){Dk.call(this);this.c=this.j=-1;this.V(b,c)}u(Xk,Dk);l=Xk.prototype;l.clone=function(){var b=new Xk(null);Yk(b,this.d,this.k.slice());return b};l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;this.c!=this.b&&(this.j=Math.sqrt(Mk(this.k,0,this.k.length,this.a,0)),this.c=this.b);return Ok(this.k,0,this.k.length,this.a,this.j,!0,b,c,d,e)};l.jj=function(){return Hk(this.k,0,this.k.length,this.a)};l.J=function(){return Tk(this.k,0,this.k.length,this.a)};
  l.nc=function(b){var c=[];c.length=Vk(this.k,0,this.k.length,this.a,b,c,0);b=new Xk(null);Yk(b,"XY",c);return b};l.H=function(){return"LinearRing"};l.V=function(b,c){null===b?Yk(this,"XY",null):(Gk(this,c,b,1),null===this.k&&(this.k=[]),this.k.length=Rk(this.k,0,b,this.a),this.l())};function Yk(b,c,d){Fk(b,c,d);b.l()};function Zk(b,c){Dk.call(this);this.V(b,c)}u(Zk,Dk);l=Zk.prototype;l.clone=function(){var b=new Zk(null);$k(b,this.d,this.k.slice());return b};l.Sa=function(b,c,d,e){var f=this.k;b=Kk(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.J=function(){return null===this.k?[]:this.k.slice()};l.t=function(b){this.o!=this.b&&(this.extent=ce(this.k,this.extent),this.o=this.b);return te(this.extent,b)};l.H=function(){return"Point"};
  l.ia=function(b){return ae(b,this.k[0],this.k[1])};l.V=function(b,c){null===b?$k(this,"XY",null):(Gk(this,c,b,0),null===this.k&&(this.k=[]),this.k.length=Qk(this.k,b),this.l())};function $k(b,c,d){Fk(b,c,d);b.l()};function al(b,c,d,e,f){return!ge(f,function(f){return!bl(b,c,d,e,f[0],f[1])})}function bl(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 cl(b,c,d,e,f,g){if(0===d.length||!bl(b,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(bl(b,d[c-1],d[c],e,f,g))return!1;return!0};function dl(b,c,d,e,f,g,h){var k,n,p,q,r,s=f[g+1],v=[],x=d[0];p=b[x-e];r=b[x-e+1];for(k=c;k<x;k+=e){q=b[k];n=b[k+1];if(s<=r&&n<=s||r<=s&&s<=n)p=(s-r)/(n-r)*(q-p)+p,v.push(p);p=q;r=n}x=NaN;r=-Infinity;v.sort();p=v[0];k=1;for(n=v.length;k<n;++k){q=v[k];var C=Math.abs(q-p);C>r&&(p=(p+q)/2,cl(b,c,d,e,p,s)&&(x=p,r=C));p=q}isNaN(x)&&(x=f[g]);return m(h)?(h.push(x,s),h):[x,s]};function el(b,c,d,e,f){for(var g=[b[c],b[c+1]],h=[],k;c+e<d;c+=e){h[0]=b[c+e];h[1]=b[c+e+1];if(k=f(g,h))return k;g[0]=h[0];g[1]=h[1]}return!1};function fl(b,c,d,e,f){var g=fe(Vd(),b,c,d,e);return qe(f,g)?$d(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:el(b,c,d,e,function(b,c){var d=!1,e=be(f,b),g=be(f,c);if(1===e||1===g)d=!0;else{var r=f[0],s=f[1],v=f[2],x=f[3],C=c[0],E=c[1],G=(E-b[1])/(C-b[0]);g&2&&!(e&2)?(s=C-(E-x)/G,d=s>=r&&s<=v):g&4&&!(e&4)?(r=E-(C-v)*G,d=r>=s&&r<=x):g&8&&!(e&8)?(s=C-(E-s)/G,d=s>=r&&s<=v):g&16&&!(e&16)&&(r=E-(C-r)*G,d=r>=s&&r<=x)}return d}):!1}
  function gl(b,c,d,e,f){var g=d[0];if(!(fl(b,c,g,e,f)||bl(b,c,g,e,f[0],f[1])||bl(b,c,g,e,f[0],f[3])||bl(b,c,g,e,f[2],f[1])||bl(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(al(b,d[c-1],d[c],e,f))return!1;return!0};function hl(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 il(b,c,d){var e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],e=hl(b,e,h,d);if(0===f?!e:e)return!1;e=h}return!0}function jl(b,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],k=hl(b,c,h,e);if(0===f?!k:k)for(var k=b,n=h,p=e;c<n-p;){var q;for(q=0;q<p;++q){var r=k[c+q];k[c+q]=k[n-p+q];k[n-p+q]=r}c+=p;n-=p}c=h}return c};function H(b,c){Dk.call(this);this.c=[];this.q=-1;this.r=null;this.F=this.s=this.D=-1;this.j=null;this.V(b,c)}u(H,Dk);l=H.prototype;l.Qg=function(b){null===this.k?this.k=b.k.slice():db(this.k,b.k);this.c.push(this.k.length);this.l()};l.clone=function(){var b=new H(null);kl(b,this.d,this.k.slice(),this.c.slice());return b};
  l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;this.s!=this.b&&(this.D=Math.sqrt(Nk(this.k,0,this.c,this.a,0)),this.s=this.b);return Pk(this.k,0,this.c,this.a,this.D,!0,b,c,d,e)};l.Kb=function(b,c){return cl(ll(this),0,this.c,this.a,b,c)};l.mj=function(){return Ik(ll(this),0,this.c,this.a)};l.J=function(){return Uk(this.k,0,this.c,this.a)};function ml(b){if(b.q!=b.b){var c=ke(b.t());b.r=dl(ll(b),0,b.c,b.a,c,0);b.q=b.b}return b.r}l.jh=function(){return new Zk(ml(this))};l.ph=function(){return this.c.length};
  l.oh=function(b){if(0>b||this.c.length<=b)return null;var c=new Xk(null);Yk(c,this.d,this.k.slice(0===b?0:this.c[b-1],this.c[b]));return c};l.ed=function(){var b=this.d,c=this.k,d=this.c,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],n=new Xk(null);Yk(n,b,c.slice(f,k));e.push(n);f=k}return e};function ll(b){if(b.F!=b.b){var c=b.k;il(c,b.c,b.a)?b.j=c:(b.j=c.slice(),b.j.length=jl(b.j,0,b.c,b.a));b.F=b.b}return b.j}
  l.nc=function(b){var c=[],d=[];c.length=Wk(this.k,0,this.c,this.a,Math.sqrt(b),c,0,d);b=new H(null);kl(b,"XY",c,d);return b};l.H=function(){return"Polygon"};l.ia=function(b){return gl(ll(this),0,this.c,this.a,b)};l.V=function(b,c){if(null===b)kl(this,"XY",null,this.c);else{Gk(this,c,b,2);null===this.k&&(this.k=[]);var d=Sk(this.k,0,b,this.a,this.c);this.k.length=0===d.length?0:d[d.length-1];this.l()}};function kl(b,c,d,e){Fk(b,c,d);b.c=e;b.l()}
  function nl(b,c,d,e){var f=m(e)?e:32;e=[];var g;for(g=0;g<f;++g)db(e,b.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);b=new H(null);kl(b,"XY",e,[e.length]);return b};function pl(b,c,d,e,f,g,h){uc.call(this,b,c);this.vectorContext=d;this.a=e;this.frameState=f;this.context=g;this.glContext=h}u(pl,uc);function ql(b){this.d=this.b=this.e=this.c=this.a=null;this.f=b}u(ql,pc);function rl(b){var c=b.e,d=b.b;b=Va([c,[c[0],d[1]],d,[d[0],c[1]]],b.a.Fa,b.a);b[4]=b[0].slice();return new H([b])}ql.prototype.L=function(){this.setMap(null)};ql.prototype.g=function(b){var c=this.d,d=this.f;b.vectorContext.jc(Infinity,function(b){b.ua(d.c,d.d);b.va(d.b);b.Tb(c,null)})};ql.prototype.N=function(){return this.d};function sl(b){null===b.a||null===b.e||null===b.b||b.a.U()}
  ql.prototype.setMap=function(b){null!==this.c&&(Yc(this.c),this.c=null,this.a.U(),this.a=null);this.a=b;null!==this.a&&(this.c=z(b,"postcompose",this.g,!1,this),sl(this))};function tl(b,c){uc.call(this,b);this.coordinate=c}u(tl,uc);function ul(b){xk.call(this);b=m(b)?b:{};this.f=new ql(m(b.style)?b.style:null);this.c=null;this.g=m(b.condition)?b.condition:dd}u(ul,xk);l=ul.prototype;l.Fb=function(b){if(wk(b)){var c=this.f;b=b.pixel;c.e=this.c;c.b=b;c.d=rl(c);sl(c)}};l.N=function(){return this.f.N()};l.zf=ca;
  l.wb=function(b){if(!wk(b))return!0;this.f.setMap(null);var c=b.pixel[0]-this.c[0],d=b.pixel[1]-this.c[1];64<=c*c+d*d&&(this.zf(b),this.dispatchEvent(new tl("boxend",b.coordinate)));return!1};l.vb=function(b){if(wk(b)&&Cc(b.a)&&this.g(b)){this.c=b.pixel;this.f.setMap(b.map);var c=this.f,d=this.c;c.e=this.c;c.b=d;c.d=rl(c);sl(c);this.dispatchEvent(new tl("boxstart",b.coordinate));return!0}return!1};l.Hd=ed;function vl(){this.b=-1};function wl(){this.b=-1;this.b=64;this.a=Array(4);this.e=Array(this.b);this.c=this.d=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.d=0}u(wl,vl);
  function xl(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}
  wl.prototype.update=function(b,c){m(c)||(c=b.length);for(var d=c-this.b,e=this.e,f=this.d,g=0;g<c;){if(0==f)for(;g<=d;)xl(this,b,g),g+=this.b;if(ia(b))for(;g<c;){if(e[f++]=b.charCodeAt(g++),f==this.b){xl(this,e);f=0;break}}else for(;g<c;)if(e[f++]=b[g++],f==this.b){xl(this,e);f=0;break}}this.d=f;this.c+=c};function yl(b){b=m(b)?b:{};this.a=m(b.color)?b.color:null;this.c=b.lineCap;this.d=m(b.lineDash)?b.lineDash:null;this.e=b.lineJoin;this.f=b.miterLimit;this.b=b.width;this.g=void 0}l=yl.prototype;l.Rj=function(){return this.a};l.lh=function(){return this.c};l.Sj=function(){return this.d};l.mh=function(){return this.e};l.rh=function(){return this.f};l.Tj=function(){return this.b};l.Uj=function(b){this.a=b;this.g=void 0};l.bl=function(b){this.c=b;this.g=void 0};l.Vj=function(b){this.d=b;this.g=void 0};
  l.cl=function(b){this.e=b;this.g=void 0};l.dl=function(b){this.f=b;this.g=void 0};l.jl=function(b){this.b=b;this.g=void 0};
  l.rb=function(){if(!m(this.g)){var b="s"+(null===this.a?"-":wg(this.a))+","+(m(this.c)?this.c.toString():"-")+","+(null===this.d?"-":this.d.toString())+","+(m(this.e)?this.e:"-")+","+(m(this.f)?this.f.toString():"-")+","+(m(this.b)?this.b.toString():"-"),c=new wl;c.update(b);var d=Array((56>c.d?c.b:2*c.b)-c.d);d[0]=128;for(b=1;b<d.length-8;++b)d[b]=0;for(var e=8*c.c,b=d.length-8;b<d.length;++b)d[b]=e&255,e/=256;c.update(d);d=Array(16);for(b=e=0;4>b;++b)for(var f=0;32>f;f+=8)d[e++]=c.a[b]>>>f&255;
  if(8192>d.length)c=String.fromCharCode.apply(null,d);else for(c="",b=0;b<d.length;b+=8192)c+=String.fromCharCode.apply(null,fb(d,b,b+8192));this.g=c}return this.g};var zl=[0,0,0,1],Al=[],Bl=[0,0,0,1];function Cl(b){b=m(b)?b:{};this.a=m(b.color)?b.color:null;this.b=void 0}Cl.prototype.d=function(){return this.a};Cl.prototype.c=function(b){this.a=b;this.b=void 0};Cl.prototype.rb=function(){m(this.b)||(this.b="f"+(null===this.a?"-":wg(this.a)));return this.b};function Dl(b){b=m(b)?b:{};this.f=this.a=this.e=null;this.c=m(b.fill)?b.fill:null;this.b=m(b.stroke)?b.stroke:null;this.d=b.radius;this.j=[0,0];this.n=this.M=this.g=null;var c=b.atlasManager,d,e=null,f,g=0;null!==this.b&&(f=wg(this.b.a),g=this.b.b,m(g)||(g=1),e=this.b.d,cg||(e=null));var h=2*(this.d+g)+1;f={strokeStyle:f,Pc:g,size:h,lineDash:e};m(c)?(h=Math.round(h),(e=null===this.c)&&(d=sa(this.vf,this,f)),g=this.rb(),f=c.add(g,h,h,sa(this.wf,this,f),d),this.a=f.image,this.j=[f.offsetX,f.offsetY],
  d=f.image.width,this.f=e?f.cf:this.a):(this.a=If("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.wf(f,c,0,0),null===this.c?(c=this.f=If("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.vf(f,c,0,0)):this.f=this.a);this.g=[h/2,h/2];this.M=[h,h];this.n=[d,d];Oj.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:m(b.snapToPixel)?b.snapToPixel:!0})}u(Dl,Oj);l=Dl.prototype;l.qb=function(){return this.g};l.Kj=function(){return this.c};
  l.oe=function(){return this.f};l.xb=function(){return this.a};l.pe=function(){return 2};l.dd=function(){return this.n};l.yb=function(){return this.j};l.Lj=function(){return this.d};l.Ya=function(){return this.M};l.Mj=function(){return this.b};l.ie=ca;l.load=ca;l.Be=ca;
  l.wf=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.d,0,2*Math.PI,!0);null!==this.c&&(c.fillStyle=wg(this.c.a),c.fill());null!==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Pc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
  l.vf=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.d,0,2*Math.PI,!0);c.fillStyle=zl;c.fill();null!==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Pc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};l.rb=function(){var b=null===this.b?"-":this.b.rb(),c=null===this.c?"-":this.c.rb();if(null===this.e||b!=this.e[1]||c!=this.e[2]||this.d!=this.e[3])this.e=["c"+b+c+(m(this.d)?this.d.toString():"-"),b,c,this.d];return this.e[0]};function El(b){b=m(b)?b:{};this.c=m(b.fill)?b.fill:null;this.e=m(b.image)?b.image:null;this.d=m(b.stroke)?b.stroke:null;this.b=m(b.text)?b.text:null;this.a=b.zIndex}l=El.prototype;l.Wj=function(){return this.c};l.Xj=function(){return this.e};l.Yj=function(){return this.d};l.Zj=function(){return this.b};l.Gh=function(){return this.a};l.ll=function(b){this.a=b};function Fl(b){ka(b)||(b=ga(b)?b:[b],b=bd(b));return b}
  function Hl(){var b=new Cl({color:"rgba(255,255,255,0.4)"}),c=new yl({color:"#3399CC",width:1.25}),d=[new El({image:new Dl({fill:b,stroke:c,radius:5}),fill:b,stroke:c})];Hl=function(){return d};return d}
  function Il(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new El({fill:new Cl({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new El({stroke:new yl({color:c,width:5})}),new El({stroke:new yl({color:d,width:3})})];b.MultiLineString=b.LineString;b.Point=[new El({image:new Dl({radius:6,fill:new Cl({color:d}),stroke:new yl({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.Point);return b};function Jl(b){b=m(b)?b:{};ul.call(this,{condition:m(b.condition)?b.condition:uk,style:m(b.style)?b.style:new El({stroke:new yl({color:[0,0,255,1]})})})}u(Jl,ul);Jl.prototype.zf=function(){var b=this.n,c=b.a(),d=this.N().t(),e=ke(d),f=b.e(),d=c.n(d,f),d=c.constrainResolution(d,0,void 0);ok(b,c,d,e,200)};function Kl(b){lk.call(this);b=m(b)?b:{};this.c=m(b.condition)?b.condition:id(tk,vk);this.e=m(b.pixelDelta)?b.pixelDelta:128}u(Kl,lk);
  Kl.prototype.handleMapBrowserEvent=function(b){var c=!1;if("key"==b.type){var d=b.a.f;if(this.c(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.a(),f=$e(c),g=f.resolution*this.e,h=0,k=0;40==d?k=-g:37==d?h=-g:39==d?h=g:k=g;d=[h,k];Dd(d,f.rotation);f=c.a();m(f)&&(m(100)&&e.Ra(gf({source:f,duration:100,easing:ef})),e=c.i([f[0]+d[0],f[1]+d[1]]),c.Ma(e));b.preventDefault();c=!0}}return!c};function Ll(b){lk.call(this);b=m(b)?b:{};this.e=m(b.condition)?b.condition:vk;this.c=m(b.delta)?b.delta:1;this.f=m(b.duration)?b.duration:100}u(Ll,lk);Ll.prototype.handleMapBrowserEvent=function(b){var c=!1;if("key"==b.type){var d=b.a.n;if(this.e(b)&&(43==d||45==d)){c=b.map;d=43==d?this.c:-this.c;c.U();var e=c.a();nk(c,e,d,void 0,this.f);b.preventDefault();c=!0}}return!c};function Ml(b){b=m(b)?b:{};lk.call(this);this.c=0;this.j=m(b.duration)?b.duration:250;this.f=null;this.g=this.e=void 0}u(Ml,lk);Ml.prototype.handleMapBrowserEvent=function(b){var c=!1;if("mousewheel"==b.type){var c=b.map,d=b.a;this.f=b.coordinate;this.c+=d.q;m(this.e)||(this.e=ua());d=Math.max(80-(ua()-this.e),0);ba.clearTimeout(this.g);this.g=ba.setTimeout(sa(this.i,this,c),d);b.preventDefault();c=!0}return!c};
  Ml.prototype.i=function(b){var c=Zb(this.c,-1,1),d=b.a();b.U();nk(b,d,-c,this.f,this.j);this.c=0;this.f=null;this.g=this.e=void 0};function Nl(b){xk.call(this);b=m(b)?b:{};this.f=null;this.g=void 0;this.c=!1;this.i=0;this.j=m(b.threshold)?b.threshold:.3}u(Nl,xk);Nl.prototype.Fb=function(b){var c=0,d=this.e[0],e=this.e[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);m(this.g)&&(c=d-this.g,this.i+=c,!this.c&&Math.abs(this.i)>this.j&&(this.c=!0));this.g=d;b=b.map;d=Og(b.d);e=yk(this.e);e[0]-=d.x;e[1]-=d.y;this.f=b.Fa(e);this.c&&(d=b.a(),e=$e(d),b.U(),mk(b,d,e.rotation+c,this.f))};
  Nl.prototype.wb=function(b){if(2>this.e.length){b=b.map;var c=b.a();bf(c,-1);if(this.c){var d=$e(c).rotation,e=this.f,d=c.constrainRotation(d,0);mk(b,c,d,e,250)}return!1}return!0};Nl.prototype.vb=function(b){return 2<=this.e.length?(b=b.map,this.f=null,this.g=void 0,this.c=!1,this.i=0,this.p||bf(b.a(),1),b.U(),!0):!1};function Ol(b){b=m(b)?b:{};xk.call(this);this.f=null;this.i=m(b.duration)?b.duration:400;this.c=void 0;this.g=1}u(Ol,xk);Ol.prototype.Fb=function(b){var c=1,d=this.e[0],e=this.e[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);m(this.c)&&(c=this.c/f);this.c=f;1!=c&&(this.g=c);b=b.map;var f=b.a(),d=$e(f),e=Og(b.d),g=yk(this.e);g[0]-=e.x;g[1]-=e.y;this.f=b.Fa(g);b.U();ok(b,f,d.resolution*c,this.f)};
  Ol.prototype.wb=function(b){if(2>this.e.length){b=b.map;var c=b.a();bf(c,-1);var d=$e(c).resolution,e=this.f,f=this.i,d=c.constrainResolution(d,0,this.g-1);ok(b,c,d,e,f);return!1}return!0};Ol.prototype.vb=function(b){return 2<=this.e.length?(b=b.map,this.f=null,this.c=void 0,this.g=1,this.p||bf(b.a(),1),b.U(),!0):!1};function Pl(b){b=m(b)?b:{};var c=new B,d=new ik(-.005,.05,100);(m(b.altShiftDragRotate)?b.altShiftDragRotate:1)&&c.push(new Ak);(m(b.doubleClickZoom)?b.doubleClickZoom:1)&&c.push(new pk({delta:b.zoomDelta,duration:b.zoomDuration}));(m(b.dragPan)?b.dragPan:1)&&c.push(new zk({kinetic:d}));(m(b.pinchRotate)?b.pinchRotate:1)&&c.push(new Nl);(m(b.pinchZoom)?b.pinchZoom:1)&&c.push(new Ol({duration:b.zoomDuration}));if(m(b.keyboard)?b.keyboard:1)c.push(new Kl),c.push(new Ll({delta:b.zoomDelta,duration:b.zoomDuration}));
  (m(b.mouseWheelZoom)?b.mouseWheelZoom:1)&&c.push(new Ml({duration:b.zoomDuration}));(m(b.shiftDragZoom)?b.shiftDragZoom:1)&&c.push(new Jl);return c};function I(b){var c=m(b)?b:{};b=Cb(c);delete b.layers;c=c.layers;D.call(this,b);this.a=null;z(this,xd("layers"),this.Zh,!1,this);null!=c?ga(c)&&(c=new B(cb(c))):c=new B;this.r(c)}u(I,D);l=I.prototype;l.$e=function(){this.d()&&this.l()};
  l.Zh=function(){null!==this.a&&(Ta(rb(this.a),Yc),this.a=null);var b=this.Zb();if(null!=b){this.a={add:z(b,"add",this.Yh,!1,this),remove:z(b,"remove",this.$h,!1,this)};var b=b.a,c,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[ma(e).toString()]=z(e,["propertychange","change"],this.$e,!1,this)}this.l()};l.Yh=function(b){b=b.element;this.a[ma(b).toString()]=z(b,["propertychange","change"],this.$e,!1,this);this.l()};l.$h=function(b){b=ma(b.element).toString();Yc(this.a[b]);delete this.a[b];this.l()};
  l.Zb=function(){return this.get("layers")};I.prototype.getLayers=I.prototype.Zb;I.prototype.r=function(b){this.set("layers",b)};I.prototype.setLayers=I.prototype.r;
  I.prototype.Ca=function(b){var c=m(b)?b:[],d=c.length;this.Zb().forEach(function(b){b.Ca(c)});b=pj(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.brightness=Zb(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)?pe(f.extent,b.extent):b.extent);return c};
  I.prototype.lb=function(){return"ready"};function Ql(b){Be.call(this,{code:b,units:"m",extent:Rl,global:!0,worldExtent:Sl})}u(Ql,Be);Ql.prototype.ee=function(b,c){var d=c[1]/6378137;return b/((Math.exp(d)+Math.exp(-d))/2)};var Tl=6378137*Math.PI,Rl=[-Tl,-Tl,Tl,Tl],Sl=[-180,-85,180,85],Me=Va("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 Ql(b)});
  function Ne(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 Oe(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 Ul(b,c){Be.call(this,{code:b,units:"degrees",extent:Vl,axisOrientation:c,global:!0,worldExtent:Vl})}u(Ul,Be);Ul.prototype.ee=function(b){return b};var Vl=[-180,-90,180,90],Pe=[new Ul("CRS:84"),new Ul("EPSG:4326","neu"),new Ul("urn:ogc:def:crs:EPSG::4326","neu"),new Ul("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Ul("urn:ogc:def:crs:OGC:1.3:CRS84"),new Ul("urn:ogc:def:crs:OGC:2:84"),new Ul("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Ul("urn:x-ogc:def:crs:EPSG:4326","neu")];function Wl(){He(Me);He(Pe);Le()};function J(b){F.call(this,m(b)?b:{})}u(J,F);function K(b){F.call(this,m(b)?b:{})}u(K,F);K.prototype.r=function(){return this.get("preload")};K.prototype.getPreload=K.prototype.r;K.prototype.xa=function(b){this.set("preload",b)};K.prototype.setPreload=K.prototype.xa;K.prototype.ha=function(){return this.get("useInterimTilesOnError")};K.prototype.getUseInterimTilesOnError=K.prototype.ha;K.prototype.Da=function(b){this.set("useInterimTilesOnError",b)};K.prototype.setUseInterimTilesOnError=K.prototype.Da;function L(b){b=m(b)?b:{};var c=Cb(b);delete c.style;F.call(this,c);this.zb=null;this.r=void 0;this.xa(b.style)}u(L,F);L.prototype.vc=function(){return this.zb};L.prototype.Wc=function(){return this.r};L.prototype.xa=function(b){this.zb=m(b)?b:Hl;this.r=null===b?void 0:Fl(this.zb);this.l()};function Xl(b,c,d,e,f){this.p={};this.d=b;this.r=c;this.e=d;this.D=e;this.zb=f;this.f=this.a=this.b=this.wa=this.da=this.ga=null;this.ha=this.Qa=this.j=this.T=this.M=this.F=0;this.Ca=!1;this.g=this.xa=0;this.ab=!1;this.aa=0;this.c="";this.i=this.s=this.lb=this.Da=0;this.ca=this.n=this.o=null;this.q=[];this.fc=Kd()}
  function Yl(b,c,d){if(null!==b.f){c=Ck(c,0,d,2,b.D,b.q);d=b.d;var e=b.fc,f=d.globalAlpha;1!=b.j&&(d.globalAlpha=f*b.j);var g=b.xa;b.Ca&&(g+=b.zb);var h,k;h=0;for(k=c.length;h<k;h+=2){var n=c[h]-b.F,p=c[h+1]-b.M;b.ab&&(n=n+.5|0,p=p+.5|0);if(0!==g||1!=b.g){var q=n+b.F,r=p+b.M;Sj(e,q,r,b.g,b.g,g,-q,-r);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.f,b.Qa,b.ha,b.aa,b.T,n,p,b.aa,b.T)}0===g&&1==b.g||d.setTransform(1,0,0,1,0,0);1!=b.j&&(d.globalAlpha=f)}}
  function Zl(b,c,d,e){var f=0;if(null!==b.ca&&""!==b.c){null===b.o||$l(b,b.o);null===b.n||am(b,b.n);var g=b.ca,h=b.d,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=Ck(c,f,d,e,b.D,b.q);for(g=b.d;f<d;f+=e){h=c[f]+
  b.Da;k=c[f+1]+b.lb;if(0!==b.s||1!=b.i){var n=Sj(b.fc,h,k,b.i,b.i,b.s,-h,-k);g.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}null===b.n||g.strokeText(b.c,h,k);null===b.o||g.fillText(b.c,h,k)}0===b.s&&1==b.i||g.setTransform(1,0,0,1,0,0)}}function bm(b,c,d,e,f,g){var h=b.d;b=Ck(c,d,e,f,b.D,b.q);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 cm(b,c,d,e,f){var g=b.d,h,k;h=0;for(k=e.length;h<k;++h)d=bm(b,c,d,e[h],f,!0),g.closePath();return d}
  l=Xl.prototype;l.jc=function(b,c){var d=b.toString(),e=this.p[d];m(e)?e.push(c):this.p[d]=[c]};l.kc=function(b){if(qe(this.e,b.t())){if(null!==this.b||null!==this.a){null===this.b||$l(this,this.b);null===this.a||am(this,this.a);var c;c=b.k;c=null===c?null:Ck(c,0,c.length,b.a,this.D,this.q);var d=c[2]-c[0],e=c[3]-c[1],d=Math.sqrt(d*d+e*e),e=this.d;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);null===this.b||e.fill();null===this.a||e.stroke()}""!==this.c&&Zl(this,b.le(),2,2)}};
  l.$d=function(b,c){var d=b.N();if(null!=d&&qe(this.e,d.t())){var e=c.a;m(e)||(e=0);this.jc(e,function(b){b.ua(c.c,c.d);b.$a(c.e);b.va(c.b);dm[d.H()].call(b,d,null)})}};l.$c=function(b,c){var d=b.e,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e];dm[g.H()].call(this,g,c)}};l.ob=function(b){var c=b.k;b=b.a;null===this.f||Yl(this,c,c.length);""!==this.c&&Zl(this,c,c.length,b)};l.nb=function(b){var c=b.k;b=b.a;null===this.f||Yl(this,c,c.length);""!==this.c&&Zl(this,c,c.length,b)};
  l.Bb=function(b){if(qe(this.e,b.t())){if(null!==this.a){am(this,this.a);var c=this.d,d=b.k;c.beginPath();bm(this,d,0,d.length,b.a,!1);c.stroke()}""!==this.c&&(b=em(b),Zl(this,b,2,2))}};l.lc=function(b){var c=b.t();if(qe(this.e,c)){if(null!==this.a){am(this,this.a);var c=this.d,d=b.k,e=0,f=b.c,g=b.a;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=bm(this,d,e,f[h],g,!1);c.stroke()}""!==this.c&&(b=fm(b),Zl(this,b,b.length,2))}};
  l.Tb=function(b){if(qe(this.e,b.t())){if(null!==this.a||null!==this.b){null===this.b||$l(this,this.b);null===this.a||am(this,this.a);var c=this.d;c.beginPath();cm(this,ll(b),0,b.c,b.a);null===this.b||c.fill();null===this.a||c.stroke()}""!==this.c&&(b=ml(b),Zl(this,b,2,2))}};
  l.mc=function(b){if(qe(this.e,b.t())){if(null!==this.a||null!==this.b){null===this.b||$l(this,this.b);null===this.a||am(this,this.a);var c=this.d,d=gm(b),e=0,f=b.c,g=b.a,h,k;h=0;for(k=f.length;h<k;++h){var n=f[h];c.beginPath();e=cm(this,d,e,n,g);null===this.b||c.fill();null===this.a||c.stroke()}}""!==this.c&&(b=hm(b),Zl(this,b,b.length,2))}};function im(b){var c=Va(sb(b.p),Number);gb(c);var d,e,f,g,h;d=0;for(e=c.length;d<e;++d)for(f=b.p[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](b)}
  function $l(b,c){var d=b.d,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 am(b,c){var d=b.d,e=b.da;null===e?(d.lineCap=c.lineCap,cg&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth=c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,b.da={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),cg&&!ib(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.ua=function(b,c){if(null===b)this.b=null;else{var d=b.a;this.b={fillStyle:wg(null===d?zl:d)}}if(null===c)this.a=null;else{var d=c.a,e=c.c,f=c.d,g=c.e,h=c.b,k=c.f;this.a={lineCap:m(e)?e:"round",lineDash:null!=f?f:Al,lineJoin:m(g)?g:"round",lineWidth:this.r*(m(h)?h:1),miterLimit:m(k)?k:10,strokeStyle:wg(null===d?Bl:d)}}};
  l.$a=function(b){if(null===b)this.f=null;else{var c=b.qb(),d=b.xb(1),e=b.yb(),f=b.Ya();this.F=c[0];this.M=c[1];this.T=f[1];this.f=d;this.j=b.D;this.Qa=e[0];this.ha=e[1];this.Ca=b.F;this.xa=b.o;this.g=b.i;this.ab=b.T;this.aa=f[0]}};
  l.va=function(b){if(null===b)this.c="";else{var c=b.a;null===c?this.o=null:(c=c.a,this.o={fillStyle:wg(null===c?zl:c)});var d=b.f;if(null===d)this.n=null;else{var c=d.a,e=d.c,f=d.d,g=d.e,h=d.b,d=d.f;this.n={lineCap:m(e)?e:"round",lineDash:null!=f?f:Al,lineJoin:m(g)?g:"round",lineWidth:m(h)?h:1,miterLimit:m(d)?d:10,strokeStyle:wg(null===c?Bl:c)}}var c=b.c,e=b.i,f=b.n,g=b.e,h=b.b,d=b.d,k=b.g;b=b.o;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.Da=m(e)?this.r*e:0;this.lb=m(f)?this.r*f:0;this.s=m(g)?g:0;this.i=this.r*(m(h)?h:1)}};var dm={Point:Xl.prototype.ob,LineString:Xl.prototype.Bb,Polygon:Xl.prototype.Tb,MultiPoint:Xl.prototype.nb,MultiLineString:Xl.prototype.lc,MultiPolygon:Xl.prototype.mc,GeometryCollection:Xl.prototype.$c,Circle:Xl.prototype.kc};var jm=["Polygon","LineString","Image","Text"];function km(b,c,d){this.wa=b;this.aa=c;this.e=0;this.resolution=d;this.M=this.F=null;this.b=[];this.coordinates=[];this.ga=Kd();this.a=[];this.ca=[];this.c=Vd();this.da=Kd()}
  function lm(b,c,d,e,f,g){var h=b.coordinates.length,k=b.ce(),n=[c[d],c[d+1]],p=[NaN,NaN],q=!0,r,s,v;for(r=d+f;r<e;r+=f)p[0]=c[r],p[1]=c[r+1],v=be(k,p),v!==s?(q&&(b.coordinates[h++]=n[0],b.coordinates[h++]=n[1]),b.coordinates[h++]=p[0],b.coordinates[h++]=p[1],q=!1):1===v?(b.coordinates[h++]=p[0],b.coordinates[h++]=p[1],q=!1):q=!0,n[0]=p[0],n[1]=p[1],s=v;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 mm(b,c){b.F=[0,c,0];b.b.push(b.F);b.M=[0,c,0];b.a.push(b.M)}
  function nm(b,c,d,e,f,g,h,k){var n;Tj(e,b.ga)?n=b.ca:(n=Ck(b.coordinates,0,b.coordinates.length,2,e,b.ca),Nd(b.ga,e));e=0;var p=h.length,q=0,r;for(b=b.da;e<p;){var s=h[e],v,x,C,E;switch(s[0]){case 0:q=s[1];q=ma(q).toString();m(y(g,q))?e=s[2]:++e;break;case 1:c.beginPath();++e;break;case 2:q=s[1];r=n[q];var G=n[q+1],w=n[q+2]-r,q=n[q+3]-G;c.arc(r,G,Math.sqrt(w*w+q*q),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:q=s[1];r=s[2];v=s[3];C=s[4]*d;var U=s[5]*d,N=s[6];x=s[7];var Y=s[8],T=
  s[9],G=s[11],w=s[12],pa=s[13],vb=s[14];for(s[10]&&(G+=f);q<r;q+=2){s=n[q]-C;E=n[q+1]-U;pa&&(s=s+.5|0,E=E+.5|0);if(1!=w||0!==G){var Ka=s+C,Yb=E+U;Sj(b,Ka,Yb,w,w,G,-Ka,-Yb);c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13])}Ka=c.globalAlpha;1!=x&&(c.globalAlpha=Ka*x);c.drawImage(v,Y,T,vb,N,s,E,vb*d,N*d);1!=x&&(c.globalAlpha=Ka);1==w&&0===G||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:q=s[1];r=s[2];C=s[3];U=s[4]*d;N=s[5]*d;G=s[6];w=s[7]*d;v=s[8];for(x=s[9];q<r;q+=2){s=n[q]+U;E=n[q+1]+N;if(1!=w||0!==G)Sj(b,
  s,E,w,w,G,-s,-E),c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]);x&&c.strokeText(C,s,E);v&&c.fillText(C,s,E);1==w&&0===G||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(m(k)&&(q=s[1],q=k(q)))return q;++e;break;case 7:c.fill();++e;break;case 8:q=s[1];r=s[2];c.moveTo(n[q],n[q+1]);for(q+=2;q<r;q+=2)c.lineTo(n[q],n[q+1]);++e;break;case 9:c.fillStyle=s[1];++e;break;case 10:q=m(s[7])?s[7]:!0;r=s[2];c.strokeStyle=s[1];c.lineWidth=q?r*d:r;c.lineCap=s[3];c.lineJoin=s[4];c.miterLimit=s[5];cg&&c.setLineDash(s[6]);
  ++e;break;case 11:c.font=s[1];c.textAlign=s[2];c.textBaseline=s[3];++e;break;case 12:c.stroke();++e;break;default:++e}}}km.prototype.Jc=function(b,c,d,e,f){nm(this,b,c,d,e,f,this.b,void 0)};function om(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 pm(b,c){b.F[2]=b.b.length;b.F=null;b.M[2]=b.a.length;b.M=null;var d=[6,c];b.b.push(d);b.a.push(d)}
  km.prototype.Lb=ca;km.prototype.ce=function(){return this.aa};km.prototype.t=function(){return this.c};function qm(b,c,d){km.call(this,b,c,d);this.o=this.T=null;this.D=this.s=this.r=this.q=this.p=this.j=this.n=this.i=this.g=this.f=this.d=void 0}u(qm,km);
  qm.prototype.ob=function(b,c){if(null!==this.o){ee(this.c,b.t());mm(this,c);var d=b.k,e=this.coordinates.length,d=lm(this,d,0,d.length,b.a,!1);this.b.push([4,e,d,this.o,this.d,this.f,this.g,this.i,this.n,this.j,this.p,this.q,this.r,this.s,this.D]);this.a.push([4,e,d,this.T,this.d,this.f,this.g,this.i,this.n,this.j,this.p,this.q,this.r,this.s,this.D]);pm(this,c)}};
  qm.prototype.nb=function(b,c){if(null!==this.o){ee(this.c,b.t());mm(this,c);var d=b.k,e=this.coordinates.length,d=lm(this,d,0,d.length,b.a,!1);this.b.push([4,e,d,this.o,this.d,this.f,this.g,this.i,this.n,this.j,this.p,this.q,this.r,this.s,this.D]);this.a.push([4,e,d,this.T,this.d,this.f,this.g,this.i,this.n,this.j,this.p,this.q,this.r,this.s,this.D]);pm(this,c)}};
  qm.prototype.Lb=function(){om(this);this.f=this.d=void 0;this.o=this.T=null;this.D=this.s=this.q=this.p=this.j=this.n=this.i=this.r=this.g=void 0};qm.prototype.$a=function(b){var c=b.qb(),d=b.Ya(),e=b.oe(1),f=b.xb(1),g=b.yb();this.d=c[0];this.f=c[1];this.T=e;this.o=f;this.g=d[1];this.i=b.D;this.n=g[0];this.j=g[1];this.p=b.F;this.q=b.o;this.r=b.i;this.s=b.T;this.D=d[0]};
  function rm(b,c,d){km.call(this,b,c,d);this.d={Dc:void 0,yc:void 0,zc:null,Ac:void 0,Bc:void 0,Cc:void 0,he:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}u(rm,km);function sm(b,c,d,e,f){var g=b.coordinates.length;c=lm(b,c,d,e,f,!1);g=[8,g,c];b.b.push(g);b.a.push(g);return e}l=rm.prototype;l.ce=function(){var b=this.aa;this.e&&(b=Yd(b,this.resolution*(this.e+1)/2));return b};
  function tm(b){var c=b.d,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Dc==d&&c.yc==e&&ib(c.zc,f)&&c.Ac==g&&c.Bc==h&&c.Cc==k||(c.he!=b.coordinates.length&&(b.b.push([12]),c.he=b.coordinates.length),b.b.push([10,d,h,e,g,k,f],[1]),c.Dc=d,c.yc=e,c.zc=f,c.Ac=g,c.Bc=h,c.Cc=k)}
  l.Bb=function(b,c){var d=this.d,e=d.lineWidth;m(d.strokeStyle)&&m(e)&&(ee(this.c,b.t()),tm(this),mm(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.k,sm(this,d,0,d.length,b.a),this.a.push([12]),pm(this,c))};
  l.lc=function(b,c){var d=this.d,e=d.lineWidth;if(m(d.strokeStyle)&&m(e)){ee(this.c,b.t());tm(this);mm(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.c,e=b.k,f=b.a,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=sm(this,e,g,d[h],f);this.a.push([12]);pm(this,c)}};l.Lb=function(){this.d.he!=this.coordinates.length&&this.b.push([12]);om(this);this.d=null};
  l.ua=function(b,c){var d=c.a;this.d.strokeStyle=wg(null===d?Bl:d);d=c.c;this.d.lineCap=m(d)?d:"round";d=c.d;this.d.lineDash=null===d?Al:d;d=c.e;this.d.lineJoin=m(d)?d:"round";d=c.b;this.d.lineWidth=m(d)?d:1;d=c.f;this.d.miterLimit=m(d)?d:10;this.e=Math.max(this.e,this.d.lineWidth)};
  function um(b,c,d){km.call(this,b,c,d);this.d={Qe:void 0,Dc:void 0,yc:void 0,zc:null,Ac:void 0,Bc:void 0,Cc:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}u(um,km);
  function vm(b,c,d,e,f){var g=b.d,h=[1];b.b.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=lm(b,c,d,n,f,!0);d=[8,p,d];p=[3];b.b.push(d,p);b.a.push(d,p);d=n}c=[7];b.a.push(c);m(g.fillStyle)&&b.b.push(c);m(g.strokeStyle)&&(g=[12],b.b.push(g),b.a.push(g));return d}l=um.prototype;
  l.kc=function(b,c){var d=this.d,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){ee(this.c,b.t());wm(this);mm(this,c);this.a.push([9,wg(zl)]);m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.k,e=this.coordinates.length;lm(this,f,0,f.length,b.a,!1);f=[1];e=[2,e];this.b.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);m(d.fillStyle)&&this.b.push(e);m(d.strokeStyle)&&(d=[12],this.b.push(d),this.a.push(d));pm(this,c)}};
  l.Tb=function(b,c){var d=this.d,e=d.strokeStyle;if(m(d.fillStyle)||m(e))ee(this.c,b.t()),wm(this),mm(this,c),this.a.push([9,wg(zl)]),m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=b.c,e=ll(b),vm(this,e,0,d,b.a),pm(this,c)};
  l.mc=function(b,c){var d=this.d,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){ee(this.c,b.t());wm(this);mm(this,c);this.a.push([9,wg(zl)]);m(d.strokeStyle)&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.c,e=gm(b),f=b.a,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=vm(this,e,g,d[h],f);pm(this,c)}};l.Lb=function(){om(this);this.d=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.ce=function(){var b=this.aa;this.e&&(b=Yd(b,this.resolution*(this.e+1)/2));return b};
  l.ua=function(b,c){var d=this.d;if(null===b)d.fillStyle=void 0;else{var e=b.a;d.fillStyle=wg(null===e?zl: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=wg(null===e?Bl:e),e=c.c,d.lineCap=m(e)?e:"round",e=c.d,d.lineDash=null===e?Al:e.slice(),e=c.e,d.lineJoin=m(e)?e:"round",e=c.b,d.lineWidth=m(e)?e:1,e=c.f,d.miterLimit=m(e)?e:10,this.e=Math.max(this.e,d.lineWidth))};
  function wm(b){var c=b.d,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,n=c.miterLimit;m(d)&&c.Qe!=d&&(b.b.push([9,d]),c.Qe=c.fillStyle);!m(e)||c.Dc==e&&c.yc==f&&c.zc==g&&c.Ac==h&&c.Bc==k&&c.Cc==n||(b.b.push([10,e,k,f,h,n,g]),c.Dc=e,c.yc=f,c.zc=g,c.Ac=h,c.Bc=k,c.Cc=n)}function xm(b,c,d){km.call(this,b,c,d);this.s=this.r=this.q=null;this.o="";this.p=this.j=this.n=this.i=0;this.g=this.f=this.d=null}u(xm,km);
  xm.prototype.pb=function(b,c,d,e,f,g){if(""!==this.o&&null!==this.g&&(null!==this.d||null!==this.f)){fe(this.c,b,c,d,e);if(null!==this.d){f=this.d;var h=this.q;if(null===h||h.fillStyle!=f.fillStyle){var k=[9,f.fillStyle];this.b.push(k);this.a.push(k);null===h?this.q={fillStyle:f.fillStyle}:h.fillStyle=f.fillStyle}}null!==this.f&&(f=this.f,h=this.r,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.b.push(k),this.a.push(k),null===h?this.r={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.g;h=this.s;if(null===h||h.font!=f.font||h.textAlign!=f.textAlign||h.textBaseline!=f.textBaseline)k=
  [11,f.font,f.textAlign,f.textBaseline],this.b.push(k),this.a.push(k),null===h?this.s={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}:(h.font=f.font,h.textAlign=f.textAlign,h.textBaseline=f.textBaseline);mm(this,g);f=this.coordinates.length;b=lm(this,b,c,d,e,!1);b=[5,f,b,this.o,this.i,this.n,this.j,this.p,null!==this.d,null!==this.f];this.b.push(b);this.a.push(b);pm(this,g)}};
  xm.prototype.va=function(b){if(null===b)this.o="";else{var c=b.a;null===c?this.d=null:(c=c.a,c=wg(null===c?zl:c),null===this.d?this.d={fillStyle:c}:this.d.fillStyle=c);var d=b.f;if(null===d)this.f=null;else{var c=d.a,e=d.c,f=d.d,g=d.e,h=d.b,d=d.f,e=m(e)?e:"round",f=null!=f?f.slice():Al,g=m(g)?g:"round",h=m(h)?h:1,d=m(d)?d:10,c=wg(null===c?Bl:c);if(null===this.f)this.f={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c};else{var k=this.f;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=
  h;k.miterLimit=d;k.strokeStyle=c}}var n=b.c,c=b.i,e=b.n,f=b.e,h=b.b,d=b.d,g=b.g,k=b.o;b=m(n)?n:"10px sans-serif";g=m(g)?g:"center";k=m(k)?k:"middle";null===this.g?this.g={font:b,textAlign:g,textBaseline:k}:(n=this.g,n.font=b,n.textAlign=g,n.textBaseline=k);this.o=m(d)?d:"";this.i=m(c)?c:0;this.n=m(e)?e:0;this.j=m(f)?f:0;this.p=m(h)?h:1}};function ym(b,c,d){this.g=b;this.d=c;this.f=d;this.b={};this.c=Tf(1,1);this.e=Kd()}function zm(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].Lb()}}
  function Zj(b,c,d,e,f,g,h){var k=b.e;Sj(k,.5,.5,1/d,-1/d,-e,-f[0],-f[1]);var n=b.c;n.clearRect(0,0,1,1);return Am(b,n,c,k,e,g,function(b){if(0<n.getImageData(0,0,1,1).data[3]){if(b=h(b))return b;n.clearRect(0,0,1,1)}})}ym.prototype.a=function(b,c){var d=m(b)?b.toString():"0",e=this.b[d];m(e)||(e={},this.b[d]=e);d=e[c];m(d)||(d=new Bm[c](this.g,this.d,this.f),e[c]=d);return d};ym.prototype.ja=function(){return xb(this.b)};
  function Cm(b,c,d,e,f,g,h){var k=Va(sb(b.b),Number);gb(k);var n=b.d,p=n[0],q=n[1],r=n[2],n=n[3],p=Ck([p,q,p,n,r,n,r,q],0,8,2,f);c.save();c.beginPath();c.moveTo(p[0],p[1]);c.lineTo(p[2],p[3]);c.lineTo(p[4],p[5]);c.lineTo(p[6],p[7]);c.closePath();c.clip();for(var s,v,p=0,q=k.length;p<q;++p)for(s=b.b[k[p].toString()],r=0,n=jm.length;r<n;++r)v=s[jm[r]],m(v)&&qe(d,v.t())&&v.Jc(c,e,f,g,h);c.restore()}
  function Am(b,c,d,e,f,g,h){var k=Va(sb(b.b),Number);gb(k,function(b,c){return c-b});var n,p,q,r,s;n=0;for(p=k.length;n<p;++n)for(r=b.b[k[n].toString()],q=jm.length-1;0<=q;--q)if(s=r[jm[q]],m(s)&&qe(d,s.t())&&(s=nm(s,c,1,e,f,g,s.a,h)))return s}var Bm={Image:qm,LineString:rm,Polygon:um,Text:xm};function Dm(b,c){Ej.call(this,b,c);this.D=Kd()}u(Dm,Ej);
  Dm.prototype.j=function(b,c,d){Em(this,"precompose",d,b,void 0);var e=this.p();if(null!==e){var f=c.extent,g=m(f);if(g){var h=me(f),k=je(f),n=ie(f),f=he(f);Uj(b.coordinateToPixelMatrix,h,h);Uj(b.coordinateToPixelMatrix,k,k);Uj(b.coordinateToPixelMatrix,n,n);Uj(b.coordinateToPixelMatrix,f,f);d.save();d.beginPath();d.moveTo(h[0],h[1]);d.lineTo(k[0],k[1]);d.lineTo(n[0],n[1]);d.lineTo(f[0],f[1]);d.clip()}h=this.n();k=d.globalAlpha;d.globalAlpha=c.opacity;0===b.viewState.rotation?(c=h[13],n=e.width*h[0],
  f=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(f))):(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()}Em(this,"postcompose",d,b,void 0)};function Em(b,c,d,e,f){var g=b.a;ld(g,c)&&(b=m(f)?f:Fm(b,e),b=new Xl(d,e.pixelRatio,e.extent,b,e.viewState.rotation),g.dispatchEvent(new pl(c,g,b,null,e,d,null)),im(b))}
  function Fm(b,c){var d=c.viewState,e=c.pixelRatio;return Sj(b.D,e*c.size[0]/2,e*c.size[1]/2,e/d.resolution,-e/d.resolution,-d.rotation,-d.center[0],-d.center[1])}var Gm=function(){var b=null,c=null;return function(d){if(null===b){b=Tf(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=ib(c.data,d.data));return f}}();function Hm(b,c){Dm.call(this,b,c);this.b=null;this.c=Kd()}u(Hm,Dm);Hm.prototype.$b=function(b,c,d,e){var f=this.a;return f.a().xd(c.extent,c.viewState.resolution,c.viewState.rotation,b,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};Hm.prototype.p=function(){return null===this.b?null:this.b.b()};Hm.prototype.n=function(){return this.c};
  Hm.prototype.i=function(b,c){var d=b.pixelRatio,e=b.viewState,f=e.center,g=e.resolution,h=e.rotation,k,n=this.a.a(),p=b.viewHints;k=b.extent;m(c.extent)&&(k=pe(k,c.extent));p[0]||p[1]||se(k)||(e=e.projection,p=n.g,null===p||(e=p),k=n.rc(k,g,d,e),null!==k&&(e=k.state,0==e?(Wc(k,"change",this.o,!1,this),k.load()):2==e&&(this.b=k)));if(null!==this.b){k=this.b;var e=k.t(),p=k.resolution,q=k.e,g=d*p/(g*q);Sj(this.c,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);Hj(b.attributions,k.f);
  Ij(b,n)}return!0};function Im(b,c){Dm.call(this,b,c);this.b=this.e=null;this.g=!1;this.q=null;this.r=Kd();this.s=NaN;this.f=this.c=null}u(Im,Dm);Im.prototype.p=function(){return this.e};Im.prototype.n=function(){return this.r};
  Im.prototype.i=function(b,c){var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.a(),k=Dj(h,f),n=h.cd(),p=ec(k.a,e.resolution,0),q=h.Hc(p,b.pixelRatio,f),r=k.la(p),s=r/(q/k.qa(p)),v=e.center,x;r==e.resolution?(v=Lj(v,r,b.size),x=ne(v,r,e.rotation,b.size)):x=b.extent;m(c.extent)&&(x=pe(x,c.extent));if(se(x))return!1;var C=xj(k,x,r),E=q*(C.c-C.a+1),G=q*(C.b-C.d+1),w,U;null===this.e?(U=Tf(E,G),this.e=U.canvas,this.b=[E,G],this.q=U,this.g=!Gm(this.b)):(w=this.e,U=this.q,this.b[0]<E||this.b[1]<
  G||this.g&&(this.b[0]>E||this.b[1]>G)?(w.width=E,w.height=G,this.b=[E,G],this.g=!Gm(this.b),this.c=null):(E=this.b[0],G=this.b[1],p==this.s&&rf(this.c,C)||(this.c=null)));var N,Y;null===this.c?(E/=q,G/=q,N=C.a-Math.floor((E-(C.c-C.a+1))/2),Y=C.d-Math.floor((G-(C.b-C.d+1))/2),this.s=p,this.c=new of(N,N+E-1,Y,Y+G-1),this.f=Array(E*G),G=this.c):(G=this.c,E=G.c-G.a+1);w={};w[p]={};var T=[],pa=sa(h.ae,h,w,Kj(function(b){return null!==b&&2==b.state},h,d,f)),vb=g.ha();m(vb)||(vb=!0);var Ka=Vd(),Yb=new of(0,
  0,0,0),Pb,La,Oa;for(Y=C.a;Y<=C.c;++Y)for(Oa=C.d;Oa<=C.b;++Oa)La=h.Eb(p,Y,Oa,d,f),N=La.state,2==N||4==N||3==N&&!vb?w[p][nf(La.a)]=La:(Pb=k.ad(La.a,pa,null,Yb,Ka),Pb||(T.push(La),Pb=k.kd(La.a,Yb,Ka),null===Pb||pa(p+1,Pb)));pa=0;for(Pb=T.length;pa<Pb;++pa)La=T[pa],Y=q*(La.a[1]-G.a),Oa=q*(G.b-La.a[2]),U.clearRect(Y,Oa,q,q);T=Va(sb(w),Number);gb(T);var Ud=h.s,sd=me(vj(k,[p,G.a,G.b],Ka)),hd,ve,Xi,Eh,Bf,Gl,pa=0;for(Pb=T.length;pa<Pb;++pa)if(hd=T[pa],q=h.Hc(hd,d,f),Eh=w[hd],hd==p)for(Xi in Eh)La=Eh[Xi],ve=
  (La.a[2]-G.d)*E+(La.a[1]-G.a),this.f[ve]!=La&&(Y=q*(La.a[1]-G.a),Oa=q*(G.b-La.a[2]),N=La.state,4!=N&&(3!=N||vb)&&Ud||U.clearRect(Y,Oa,q,q),2==N&&U.drawImage(La.La(),n,n,q,q,Y,Oa,q,q),this.f[ve]=La);else for(Xi in hd=k.la(hd)/r,Eh)for(La=Eh[Xi],ve=vj(k,La.a,Ka),Y=(ve[0]-sd[0])/s,Oa=(sd[1]-ve[3])/s,Gl=hd*q,Bf=hd*q,N=La.state,4!=N&&Ud||U.clearRect(Y,Oa,Gl,Bf),2==N&&U.drawImage(La.La(),n,n,q,q,Y,Oa,Gl,Bf),La=wj(k,ve,p,Yb),N=Math.max(La.a,G.a),Oa=Math.min(La.c,G.c),Y=Math.max(La.d,G.d),La=Math.min(La.b,
  G.b);N<=Oa;++N)for(Bf=Y;Bf<=La;++Bf)ve=(Bf-G.d)*E+(N-G.a),this.f[ve]=void 0;Jj(b.usedTiles,h,p,C);Mj(b,h,k,d,f,x,p,g.r());Gj(b,h);Ij(b,h);Sj(this.r,d*b.size[0]/2,d*b.size[1]/2,d*s/e.resolution,d*s/e.resolution,e.rotation,(sd[0]-v[0])/s,(v[1]-sd[1])/s);return!0};function Jm(b,c,d){Dk.call(this);this.Vf(b,m(c)?c:0,d)}u(Jm,Dk);l=Jm.prototype;l.clone=function(){var b=new Jm(null);Fk(b,this.d,this.k.slice());b.l();return b};l.Sa=function(b,c,d,e){var f=this.k;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.pf()/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.Kb=function(b,c){var d=this.k,e=b-d[0],d=c-d[1];return e*e+d*d<=Km(this)};
  l.le=function(){return this.k.slice(0,this.a)};l.t=function(b){if(this.o!=this.b){var c=this.k,d=c[this.a]-c[0];this.extent=Xd(c[0]-d,c[1]-d,c[0]+d,c[1]+d,this.extent);this.o=this.b}return te(this.extent,b)};l.pf=function(){return Math.sqrt(Km(this))};function Km(b){var c=b.k[b.a]-b.k[0];b=b.k[b.a+1]-b.k[1];return c*c+b*b}l.H=function(){return"Circle"};l.gj=function(b){var c=this.a,d=b.slice();d[c]=d[0]+(this.k[c]-this.k[0]);var e;for(e=1;e<c;++e)d[c+e]=b[e];Fk(this,this.d,d);this.l()};
  l.Vf=function(b,c,d){if(null===b)Fk(this,"XY",null);else{Gk(this,d,b,0);null===this.k&&(this.k=[]);d=this.k;b=Qk(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.l()};l.el=function(b){this.k[this.a]=this.k[0]+b;this.l()};function Lm(b){Bk.call(this);this.e=m(b)?b:null;Mm(this)}u(Lm,Bk);function Nm(b){var c=[],d,e;d=0;for(e=b.length;d<e;++d)c.push(b[d].clone());return c}function Om(b){var c,d;if(null!==b.e)for(c=0,d=b.e.length;c<d;++c)Xc(b.e[c],"change",b.l,!1,b)}function Mm(b){var c,d;if(null!==b.e)for(c=0,d=b.e.length;c<d;++c)z(b.e[c],"change",b.l,!1,b)}l=Lm.prototype;l.clone=function(){var b=new Lm(null);b.Wf(this.e);return b};
  l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;var f=this.e,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].Sa(b,c,d,e);return e};l.Kb=function(b,c){var d=this.e,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].Kb(b,c))return!0;return!1};l.t=function(b){if(this.o!=this.b){var c=Xd(Infinity,Infinity,-Infinity,-Infinity,this.extent),d=this.e,e,f;e=0;for(f=d.length;e<f;++e)ee(c,d[e].t());this.extent=c;this.o=this.b}return te(this.extent,b)};l.Xe=function(){return Nm(this.e)};
  l.fe=function(b){this.p!=this.b&&(yb(this.i),this.n=0,this.p=this.b);if(0>b||0!==this.n&&b<this.n)return this;var c=b.toString();if(this.i.hasOwnProperty(c))return this.i[c];var d=[],e=this.e,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],n=k.fe(b);d.push(n);n!==k&&(f=!0)}if(f)return b=new Lm(null),Om(b),b.e=d,Mm(b),b.l(),this.i[c]=b;this.n=b;return this};l.H=function(){return"GeometryCollection"};l.ia=function(b){var c=this.e,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].ia(b))return!0;return!1};
  l.ja=function(){return 0==this.e.length};l.Wf=function(b){b=Nm(b);Om(this);this.e=b;Mm(this);this.l()};l.ma=function(b){var c=this.e,d,e;d=0;for(e=c.length;d<e;++d)c[d].ma(b);this.l()};l.L=function(){Om(this);Lm.Q.L.call(this)};function Pm(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 s,h=hb,k=0,n=g.length;k<n;)p=k+n>>1,q=h(d,g[p]),0<q?k=p+1:(n=p,s=!q);s=s?k:~k;0>s?(d=(d-g[-s-2])/(g[-s-1]-g[-s-2]),c+=(-s-2)*e,g=ac(b[c],b[c+e],d),h=ac(b[c+1],b[c+e+1],d)):(g=b[c+s*e],h=b[c+s*e+1])}return null!=f?
  (f[0]=g,f[1]=h,f):[g,h]}function Qm(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(ac(b[(c-1)*e+h],b[c*e+h],g));d.push(f);return d}
  function Rm(b,c,d,e,f,g){var h=0;if(g)return Qm(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 Qm(b,h,k,d,e,!1);h=k}}return null};function M(b,c){Dk.call(this);this.c=null;this.q=this.r=this.j=-1;this.V(b,c)}u(M,Dk);l=M.prototype;l.Og=function(b){null===this.k?this.k=b.slice():db(this.k,b);this.l()};l.clone=function(){var b=new M(null);Sm(b,this.d,this.k.slice());return b};l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;this.q!=this.b&&(this.r=Math.sqrt(Mk(this.k,0,this.k.length,this.a,0)),this.q=this.b);return Ok(this.k,0,this.k.length,this.a,this.r,!1,b,c,d,e)};
  l.hj=function(b,c){return"XYM"!=this.d&&"XYZM"!=this.d?null:Qm(this.k,0,this.k.length,this.a,b,m(c)?c:!1)};l.J=function(){return Tk(this.k,0,this.k.length,this.a)};l.ij=function(){var b=this.k,c=this.a,d=b[0],e=b[1],f=0,g;for(g=0+c;g<this.k.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 em(b){b.j!=b.b&&(b.c=Pm(b.k,0,b.k.length,b.a,b.c),b.j=b.b);return b.c}
  l.nc=function(b){var c=[];c.length=Vk(this.k,0,this.k.length,this.a,b,c,0);b=new M(null);Sm(b,"XY",c);return b};l.H=function(){return"LineString"};l.ia=function(b){return fl(this.k,0,this.k.length,this.a,b)};l.V=function(b,c){null===b?Sm(this,"XY",null):(Gk(this,c,b,1),null===this.k&&(this.k=[]),this.k.length=Rk(this.k,0,b,this.a),this.l())};function Sm(b,c,d){Fk(b,c,d);b.l()};function Tm(b,c){Dk.call(this);this.c=[];this.j=this.q=-1;this.V(b,c)}u(Tm,Dk);l=Tm.prototype;l.Pg=function(b){null===this.k?this.k=b.k.slice():db(this.k,b.k.slice());this.c.push(this.k.length);this.l()};l.clone=function(){var b=new Tm(null);Um(b,this.d,this.k.slice(),this.c.slice());return b};l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;this.j!=this.b&&(this.q=Math.sqrt(Nk(this.k,0,this.c,this.a,0)),this.j=this.b);return Pk(this.k,0,this.c,this.a,this.q,!1,b,c,d,e)};
  l.kj=function(b,c,d){return"XYM"!=this.d&&"XYZM"!=this.d||0===this.k.length?null:Rm(this.k,this.c,this.a,b,m(c)?c:!1,m(d)?d:!1)};l.J=function(){return Uk(this.k,0,this.c,this.a)};l.nh=function(b){if(0>b||this.c.length<=b)return null;var c=new M(null);Sm(c,this.d,this.k.slice(0===b?0:this.c[b-1],this.c[b]));return c};l.Fc=function(){var b=this.k,c=this.c,d=this.d,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],n=new M(null);Sm(n,d,b.slice(f,k));e.push(n);f=k}return e};
  function fm(b){var c=[],d=b.k,e=0,f=b.c;b=b.a;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=Pm(d,e,k,b);db(c,e);e=k}return c}l.nc=function(b){var c=[],d=[],e=this.k,f=this.c,g=this.a,h=0,k=0,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],k=Vk(e,h,q,g,b,c,k);d.push(k);h=q}c.length=k;b=new Tm(null);Um(b,"XY",c,d);return b};l.H=function(){return"MultiLineString"};l.ia=function(b){a:{var c=this.k,d=this.c,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(fl(c,f,d[g],e,b)){b=!0;break a}f=d[g]}b=!1}return b};
  l.V=function(b,c){if(null===b)Um(this,"XY",null,this.c);else{Gk(this,c,b,2);null===this.k&&(this.k=[]);var d=Sk(this.k,0,b,this.a,this.c);this.k.length=0===d.length?0:d[d.length-1];this.l()}};function Um(b,c,d,e){Fk(b,c,d);b.c=e;b.l()}function Vm(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.d);db(e,k.k);f.push(e.length)}Um(b,d,e,f)};function Wm(b,c){Dk.call(this);this.V(b,c)}u(Wm,Dk);l=Wm.prototype;l.Rg=function(b){null===this.k?this.k=b.k.slice():db(this.k,b.k);this.l()};l.clone=function(){var b=new Wm(null);Fk(b,this.d,this.k.slice());b.l();return b};l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;var f=this.k,g=this.a,h,k,n;h=0;for(k=f.length;h<k;h+=g)if(n=Kk(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.J=function(){return Tk(this.k,0,this.k.length,this.a)};
  l.wh=function(b){var c=null===this.k?0:this.k.length/this.a;if(0>b||c<=b)return null;c=new Zk(null);$k(c,this.d,this.k.slice(b*this.a,(b+1)*this.a));return c};l.hd=function(){var b=this.k,c=this.d,d=this.a,e=[],f,g;f=0;for(g=b.length;f<g;f+=d){var h=new Zk(null);$k(h,c,b.slice(f,f+d));e.push(h)}return e};l.H=function(){return"MultiPoint"};l.ia=function(b){var c=this.k,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],ae(b,g,h))return!0;return!1};
  l.V=function(b,c){null===b?Fk(this,"XY",null):(Gk(this,c,b,1),null===this.k&&(this.k=[]),this.k.length=Rk(this.k,0,b,this.a));this.l()};function Xm(b,c){Dk.call(this);this.c=[];this.q=-1;this.r=null;this.F=this.s=this.D=-1;this.j=null;this.V(b,c)}u(Xm,Dk);l=Xm.prototype;l.Sg=function(b){if(null===this.k)this.k=b.k.slice(),b=b.c.slice(),this.c.push();else{var c=this.k.length;db(this.k,b.k);b=b.c.slice();var d,e;d=0;for(e=b.length;d<e;++d)b[d]+=c}this.c.push(b);this.l()};l.clone=function(){var b=new Xm(null);Ym(b,this.d,this.k.slice(),this.c.slice());return b};
  l.Sa=function(b,c,d,e){if(e<Zd(this.t(),b,c))return e;if(this.s!=this.b){var f=this.c,g=0,h=0,k,n;k=0;for(n=f.length;k<n;++k)var p=f[k],h=Nk(this.k,g,p,this.a,h),g=p[p.length-1];this.D=Math.sqrt(h);this.s=this.b}f=gm(this);g=this.c;h=this.a;k=this.D;n=0;var p=m(void 0)?void 0:[NaN,NaN],q,r;q=0;for(r=g.length;q<r;++q){var s=g[q];e=Pk(f,n,s,h,k,!0,b,c,d,e,p);n=s[s.length-1]}return e};
  l.Kb=function(b,c){var d;a:{d=gm(this);var e=this.c,f=0;if(0!==e.length){var g,h;g=0;for(h=e.length;g<h;++g){var k=e[g];if(cl(d,f,k,this.a,b,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.lj=function(){var b=gm(this),c=this.c,d=0,e=0,f,g;f=0;for(g=c.length;f<g;++f)var h=c[f],e=e+Ik(b,d,h,this.a),d=h[h.length-1];return e};l.J=function(){var b=this.k,c=this.c,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++]=Uk(b,e,n,d,f[g]);e=n[n.length-1]}f.length=g;return f};
  function hm(b){if(b.q!=b.b){var c=b.k,d=b.c,e=b.a,f=0,g=[],h,k,n=Vd();h=0;for(k=d.length;h<k;++h){var p=d[h],n=fe(Xd(Infinity,Infinity,-Infinity,-Infinity,void 0),c,f,p[0],e);g.push((n[0]+n[2])/2,(n[1]+n[3])/2);f=p[p.length-1]}c=gm(b);d=b.c;e=b.a;f=0;h=[];k=0;for(n=d.length;k<n;++k)p=d[k],h=dl(c,f,p,e,g,2*k,h),f=p[p.length-1];b.r=h;b.q=b.b}return b.r}l.kh=function(){var b=new Wm(null),c=hm(this).slice();Fk(b,"XY",c);b.l();return b};
  function gm(b){if(b.F!=b.b){var c=b.k,d;a:{d=b.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!il(c,d[e],b.a)){d=!1;break a}d=!0}if(d)b.j=c;else{b.j=c.slice();d=c=b.j;e=b.c;f=b.a;var g=0,h,k;h=0;for(k=e.length;h<k;++h)g=jl(d,g,e[h],f);c.length=g}b.F=b.b}return b.j}l.nc=function(b){var c=[],d=[],e=this.k,f=this.c,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=Wk(e,h,q,g,b,c,k,r);d.push(r);h=q[q.length-1]}c.length=k;e=new Xm(null);Ym(e,"XY",c,d);return e};
  l.xh=function(b){if(0>b||this.c.length<=b)return null;var c;0===b?c=0:(c=this.c[b-1],c=c[c.length-1]);b=this.c[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 H(null);kl(e,this.d,this.k.slice(c,d),b);return e};l.jd=function(){var b=this.d,c=this.k,d=this.c,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 H(null);kl(k,b,c.slice(f,q),p);e.push(k);f=q}return e};l.H=function(){return"MultiPolygon"};
  l.ia=function(b){a:{var c=gm(this),d=this.c,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(gl(c,f,k,e,b)){b=!0;break a}f=k[k.length-1]}b=!1}return b};l.V=function(b,c){if(null===b)Ym(this,"XY",null,this.c);else{Gk(this,c,b,3);null===this.k&&(this.k=[]);var d=this.k,e=this.a,f=this.c,g=0,f=m(f)?f:[],h=0,k,n;k=0;for(n=b.length;k<n;++k)g=Sk(d,g,b[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.k.length=0:(d=f[f.length-1],this.k.length=0===d.length?0:d[d.length-1]);this.l()}};
  function Ym(b,c,d,e){Fk(b,c,d);b.c=e;b.l()}function Zm(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.d);var p=e.length;k=n.c;var q,r;q=0;for(r=k.length;q<r;++q)k[q]+=p;db(e,n.k);f.push(k)}Ym(b,d,e,f)};function $m(b,c){return ma(b)-ma(c)}function an(b,c){var d=.5*b/c;return d*d}function bn(b,c,d,e,f,g){var h=!1,k,n;k=d.e;null===k?cn(b,c,d,e):(n=k.pe(),2==n||3==n?(k.Be(f,g),2==n&&cn(b,c,d,e)):(0==n&&k.load(),k.ie(f,g),h=!0));return h}function cn(b,c,d,e){var f=c.N();null!=f&&(e=f.fe(e),(0,dn[e.H()])(b,e,d,c))}
  var dn={Point:function(b,c,d,e){var f=d.e;if(null!==f){var g=b.a(d.a,"Image");g.$a(f);g.ob(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),b.pb(c.J(),0,2,2,c,e))},LineString:function(b,c,d,e){var f=d.d;if(null!==f){var g=b.a(d.a,"LineString");g.ua(null,f);g.Bb(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),b.pb(em(c),0,2,2,c,e))},Polygon:function(b,c,d,e){var f=d.c,g=d.d;if(null!==f||null!==g){var h=b.a(d.a,"Polygon");h.ua(f,g);h.Tb(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),b.pb(ml(c),0,2,
  2,c,e))},MultiPoint:function(b,c,d,e){var f=d.e;if(null!==f){var g=b.a(d.a,"Image");g.$a(f);g.nb(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),d=c.k,b.pb(d,0,d.length,c.a,c,e))},MultiLineString:function(b,c,d,e){var f=d.d;if(null!==f){var g=b.a(d.a,"LineString");g.ua(null,f);g.lc(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),d=fm(c),b.pb(d,0,d.length,2,c,e))},MultiPolygon:function(b,c,d,e){var f=d.c,g=d.d;if(null!==g||null!==f){var h=b.a(d.a,"Polygon");h.ua(f,g);h.mc(c,e)}f=d.b;null!==f&&(b=b.a(d.a,
  "Text"),b.va(f),d=hm(c),b.pb(d,0,d.length,2,c,e))},GeometryCollection:function(b,c,d,e){c=c.e;var f,g;f=0;for(g=c.length;f<g;++f)(0,dn[c[f].H()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.c,g=d.d;if(null!==f||null!==g){var h=b.a(d.a,"Polygon");h.ua(f,g);h.kc(c,e)}f=d.b;null!==f&&(b=b.a(d.a,"Text"),b.va(f),b.pb(c.le(),0,2,2,c,e))}};function en(b,c){Dm.call(this,b,c);this.c=!1;this.r=-1;this.q=NaN;this.f=Vd();this.b=this.g=null;this.e=Tf()}u(en,Dm);
  en.prototype.j=function(b,c,d){var e=Fm(this,b);Em(this,"precompose",d,b,e);var f=this.b;if(null!==f&&!f.ja()){var g;ld(this.a,"render")?(this.e.canvas.width=d.canvas.width,this.e.canvas.height=d.canvas.height,g=this.e):g=d;var h=g.globalAlpha;g.globalAlpha=c.opacity;Cm(f,g,b.extent,b.pixelRatio,e,b.viewState.rotation,b.skippedFeatureUids);g!=d&&(Em(this,"render",g,b,e),d.drawImage(g.canvas,0,0));g.globalAlpha=h}Em(this,"postcompose",d,b,e)};
  en.prototype.$b=function(b,c,d,e){if(null!==this.b){var f=this.a,g={};return Zj(this.b,c.extent,c.viewState.resolution,c.viewState.rotation,b,c.skippedFeatureUids,function(b){var c=ma(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};en.prototype.s=function(){Fj(this)};
  en.prototype.i=function(b){function c(b){var c;m(b.a)?c=b.a.call(b,k):m(d.r)&&(c=(0,d.r)(b,k));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=bn(s,b,c[e],an(k,n),this.s,this)||g;b=g}else b=!1;this.c=this.c||b}}var d=this.a,e=d.a();Hj(b.attributions,e.e);Ij(b,e);if(!this.c&&(b.viewHints[0]||b.viewHints[1]))return!0;var f=b.extent,g=b.viewState,h=g.projection,k=g.resolution,n=b.pixelRatio;b=d.b;g=d.get("renderOrder");m(g)||(g=$m);if(!this.c&&this.q==k&&this.r==b&&this.g==g&&$d(this.f,
  f))return!0;var p=this.f,q=re(f)/4,r=oe(f)/4;p[0]=f[0]-q;p[1]=f[1]-r;p[2]=f[2]+q;p[3]=f[3]+r;tc(this.b);this.b=null;this.c=!1;var s=new ym(.5*k/n,p,k);e.Hb(p,k,h);if(null===g)e.Cb(p,k,c,this);else{var v=[];e.Cb(p,k,function(b){v.push(b)},this);gb(v,g);Ta(v,c,this)}zm(s);this.q=k;this.r=b;this.g=g;this.b=s;return!0};function fn(b,c){Vj.call(this,0,c);this.o=Tf();this.a=this.o.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Mf(b,this.a,0);this.b=!0;this.i=Kd()}u(fn,Vj);fn.prototype.Zc=function(b){return b instanceof J?new Hm(this,b):b instanceof K?new Im(this,b):b instanceof L?new en(this,b):null};
  function gn(b,c,d){var e=b.e,f=b.o;if(ld(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState,n=k.resolution,p=k.rotation;Sj(b.i,b.a.width/2,b.a.height/2,h/n,-h/n,-p,-k.center[0],-k.center[1]);k=new ym(.5*n/h,g,n);n=new Xl(f,h,g,b.i,p);e.dispatchEvent(new pl(c,e,n,k,d,f,null));zm(k);k.ja()||Cm(k,f,g,h,b.i,p,{});im(n);b.g=k}}fn.prototype.H=function(){return"canvas"};
  fn.prototype.Fd=function(b){if(null===b)this.b&&(Sg(this.a,!1),this.b=!1);else{var c=this.o,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);Wj(b);gn(this,"precompose",b);var d=b.layerStatesArray,e=b.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=ak(this,h),k.visible&&e>=k.minResolution&&e<k.maxResolution&&"ready"==k.hc&&h.i(b,k)&&h.j(b,k,c);gn(this,"postcompose",
  b);this.b||(Sg(this.a,!0),this.b=!0);bk(this,b);b.postRenderFunctions.push(Xj)}};function hn(b,c,d){Ej.call(this,b,c);this.target=d}u(hn,Ej);hn.prototype.e=ca;hn.prototype.i=ca;function jn(b,c){var d=If("DIV");d.style.position="absolute";hn.call(this,b,c,d);this.b=null;this.c=Md()}u(jn,hn);jn.prototype.$b=function(b,c,d,e){var f=this.a;return f.a().xd(c.extent,c.viewState.resolution,c.viewState.rotation,b,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};jn.prototype.e=function(){Kf(this.target);this.b=null};
  jn.prototype.f=function(b,c){var d=b.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.b,k=this.a.a(),n=b.viewHints,p=b.extent;m(c.extent)&&(p=pe(p,c.extent));n[0]||n[1]||se(p)||(d=d.projection,n=k.g,null===n||(d=n),p=k.rc(p,f,b.pixelRatio,d),null!==p&&(d=p.state,0==d?(Wc(p,"change",this.o,!1,this),p.load()):2==d&&(h=p)));null!==h&&(d=h.t(),n=h.resolution,p=Kd(),Sj(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.b(this),e.style.maxWidth="none",e.style.position=
  "absolute",Kf(this.target),this.target.appendChild(e),this.b=h),Tj(p,this.c)||(Xf(this.target,p),Nd(this.c,p)),Hj(b.attributions,h.f),Ij(b,k));return!0};function kn(b,c){var d=If("DIV");d.style.position="absolute";hn.call(this,b,c,d);this.c=!0;this.n=1;this.g=0;this.b={}}u(kn,hn);kn.prototype.e=function(){Kf(this.target);this.g=0};
  kn.prototype.f=function(b,c){if(!c.visible)return this.c&&(Sg(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.a(),k=Dj(h,f),n=h.cd(),p=ec(k.a,e.resolution,0),q=k.la(p),r=e.center,s;q==e.resolution?(r=Lj(r,q,b.size),s=ne(r,q,e.rotation,b.size)):s=b.extent;m(c.extent)&&(s=pe(s,c.extent));var q=xj(k,s,q),v={};v[p]={};var x=sa(h.ae,h,v,Kj(function(b){return null!==b&&2==b.state},h,d,f)),C=g.ha();m(C)||(C=!0);var E=Vd(),G=new of(0,0,0,0),w,U,N,Y;for(N=q.a;N<=
  q.c;++N)for(Y=q.d;Y<=q.b;++Y)w=h.Eb(p,N,Y,d,f),U=w.state,2==U?v[p][nf(w.a)]=w:4==U||3==U&&!C||(U=k.ad(w.a,x,null,G,E),U||(w=k.kd(w.a,G,E),null===w||x(p+1,w)));var T;if(this.g!=h.b){for(T in this.b)C=this.b[+T],Nf(C.target);this.b={};this.g=h.b}E=Va(sb(v),Number);gb(E);var x={},pa;N=0;for(Y=E.length;N<Y;++N){T=E[N];T in this.b?C=this.b[T]:(C=k.Gc(r,T),C=new ln(k,C),x[T]=!0,this.b[T]=C);T=v[T];for(pa in T)mn(C,T[pa],n);nn(C)}n=Va(sb(this.b),Number);gb(n);N=Kd();pa=0;for(E=n.length;pa<E;++pa)if(T=n[pa],
  C=this.b[T],T in v)if(w=C.g,Y=C.f,Sj(N,b.size[0]/2,b.size[1]/2,w/e.resolution,w/e.resolution,e.rotation,(Y[0]-r[0])/w,(r[1]-Y[1])/w),on(C,N),T in x){for(--T;0<=T;--T)if(T in this.b){Lf(C.target,this.b[T].target);break}0>T&&Mf(this.target,C.target,0)}else b.viewHints[0]||b.viewHints[1]||pn(C,s,G);else Nf(C.target),delete this.b[T];c.opacity!=this.n&&(this.n=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(Sg(this.target,!0),this.c=!0);Jj(b.usedTiles,h,p,q);Mj(b,h,k,d,f,s,p,g.r());Gj(b,h);
  Ij(b,h);return!0};function ln(b,c){this.target=If("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=b;this.d=c;this.f=me(vj(b,c));this.g=b.la(c[0]);this.b={};this.a=null;this.e=Md()}
  function mn(b,c,d){var e=c.a,f=e[0],g=e[1],h=e[2],e=nf(e);if(!(e in b.b)){var f=b.c.qa(f),k=c.La(b),n=k.style;n.maxWidth="none";var p,q;0<d?(p=If("DIV"),q=p.style,q.overflow="hidden",q.width=f+"px",q.height=f+"px",n.position="absolute",n.left=-d+"px",n.top=-d+"px",n.width=f+2*d+"px",n.height=f+2*d+"px",p.appendChild(k)):(n.width=f+"px",n.height=f+"px",p=k,q=n);q.position="absolute";q.left=(g-b.d[1])*f+"px";q.top=(b.d[2]-h)*f+"px";null===b.a&&(b.a=document.createDocumentFragment());b.a.appendChild(p);
  b.b[e]=c}}function nn(b){null!==b.a&&(b.target.appendChild(b.a),b.a=null)}function pn(b,c,d){var e=wj(b.c,c,b.d[0],d);c=[];for(var f in b.b)d=b.b[f],e.contains(d.a)||c.push(d);var g,e=0;for(g=c.length;e<g;++e)d=c[e],f=nf(d.a),Nf(d.La(b)),delete b.b[f]}function on(b,c){Tj(c,b.e)||(Xf(b.target,c),Nd(b.e,c))};function qn(b,c){this.g=Tf();var d=this.g.canvas;d.style.maxWidth="none";d.style.position="absolute";hn.call(this,b,c,d);this.c=!1;this.q=-1;this.p=NaN;this.n=Vd();this.b=this.j=null;this.r=Kd()}u(qn,hn);
  qn.prototype.i=function(b,c){var d=b.viewState,e=d.rotation,f=b.pixelRatio,d=Sj(this.r,f*b.size[0]/2,f*b.size[1]/2,f/d.resolution,-f/d.resolution,-d.rotation,-d.center[0],-d.center[1]),g=this.g;g.canvas.width=b.size[0];g.canvas.height=b.size[1];rn(this,"precompose",b,d);var h=this.b;null===h||h.ja()||(g.globalAlpha=c.opacity,Cm(h,g,b.extent,f,d,e,b.skippedFeatureUids),rn(this,"render",b,d));rn(this,"postcompose",b,d)};
  function rn(b,c,d,e){var f=b.g;b=b.a;ld(b,c)&&(e=new Xl(f,d.pixelRatio,d.extent,e,d.viewState.rotation),b.dispatchEvent(new pl(c,b,e,null,d,f,null)),im(e))}qn.prototype.$b=function(b,c,d,e){if(null!==this.b){var f=this.a,g={};return Zj(this.b,c.extent,c.viewState.resolution,c.viewState.rotation,b,c.skippedFeatureUids,function(b){var c=ma(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};qn.prototype.s=function(){Fj(this)};
  qn.prototype.f=function(b){function c(b){var c;m(b.a)?c=b.a.call(b,k):m(d.r)&&(c=(0,d.r)(b,k));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=bn(s,b,c[e],an(k,n),this.s,this)||g;b=g}else b=!1;this.c=this.c||b}}var d=this.a,e=d.a();Hj(b.attributions,e.e);Ij(b,e);if(!this.c&&(b.viewHints[0]||b.viewHints[1]))return!0;var f=b.extent,g=b.viewState,h=g.projection,k=g.resolution,n=b.pixelRatio;b=d.b;g=d.get("renderOrder");m(g)||(g=$m);if(!this.c&&this.p==k&&this.q==b&&this.j==g&&$d(this.n,
  f))return!0;var p=this.n,q=re(f)/4,r=oe(f)/4;p[0]=f[0]-q;p[1]=f[1]-r;p[2]=f[2]+q;p[3]=f[3]+r;tc(this.b);this.b=null;this.c=!1;var s=new ym(.5*k/n,p,k);e.Hb(p,k,h);if(null===g)e.Cb(p,k,c,this);else{var v=[];e.Cb(p,k,function(b){v.push(b)},this);gb(v,g);Ta(v,c,this)}zm(s);this.p=k;this.q=b;this.j=g;this.b=s;return!0};function sn(b,c){Vj.call(this,0,c);this.b=null;this.b=Tf();var d=this.b.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";Mf(b,d,0);this.i=Kd();this.a=If("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";z(this.a,"touchstart",wc);Mf(b,this.a,0);this.o=!0}u(sn,Vj);sn.prototype.L=function(){Nf(this.a);sn.Q.L.call(this)};
  sn.prototype.Zc=function(b){if(b instanceof J)b=new jn(this,b);else if(b instanceof K)b=new kn(this,b);else if(b instanceof L)b=new qn(this,b);else return null;return b};
  function tn(b,c,d){var e=b.e;if(ld(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.resolution,n=h.rotation,p=b.b,q=p.canvas;Sj(b.i,q.width/2,q.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);h=new Xl(p,g,f,b.i,n);k=new ym(.5*k/g,f,k);e.dispatchEvent(new pl(c,e,h,k,d,p,null));zm(k);k.ja()||Cm(k,p,f,g,b.i,n,{});im(h);b.g=k}}sn.prototype.H=function(){return"dom"};
  sn.prototype.Fd=function(b){if(null===b)this.o&&(Sg(this.a,!1),this.o=!1);else{var c;c=function(b,c){Mf(this.a,b,c)};var d=this.e;if(ld(d,"precompose")||ld(d,"postcompose"))d=this.b.canvas,d.width=b.size[0],d.height=b.size[1];tn(this,"precompose",b);var d=b.layerStatesArray,e,f,g,h;e=0;for(f=d.length;e<f;++e)h=d[e],g=h.layer,g=ak(this,g),c.call(this,g.target,e),"ready"==h.hc?g.f(b,h)&&g.i(b,h):g.e();c=b.layerStates;for(var k in this.d)k in c||(g=this.d[k],Nf(g.target));this.o||(Sg(this.a,!0),this.o=
  !0);Wj(b);bk(this,b);b.postRenderFunctions.push(Xj);tn(this,"postcompose",b)}};function un(b){this.a=b}function vn(b){this.a=b}u(vn,un);vn.prototype.H=function(){return 35632};function wn(b){this.a=b}u(wn,un);wn.prototype.H=function(){return 35633};function xn(){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;}"}u(xn,vn);da(xn);
  function yn(){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;}"}u(yn,wn);da(yn);
  function zn(b,c){this.n=b.getUniformLocation(c,"k");this.o=b.getUniformLocation(c,"j");this.i=b.getUniformLocation(c,"i");this.f=b.getUniformLocation(c,"l");this.g=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.d=b.getAttribLocation(c,"g");this.e=b.getAttribLocation(c,"d")};function An(){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;}"}u(An,vn);da(An);
  function Bn(){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;}"}u(Bn,wn);da(Bn);
  function Cn(b,c){this.o=b.getUniformLocation(c,"j");this.i=b.getUniformLocation(c,"i");this.f=b.getUniformLocation(c,"k");this.g=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.d=b.getAttribLocation(c,"g");this.e=b.getAttribLocation(c,"d")};function Dn(b){this.a=m(b)?b:[];this.b=m(void 0)?void 0:35044};function En(b,c){this.n=this.i=void 0;this.ha=new yg;this.e=ke(c);this.q=Vd();this.o=[];this.r=void 0;this.d=[];this.D=this.s=void 0;this.b=[];this.p=this.j=this.c=null;this.F=void 0;this.wa=Md();this.Qa=Md();this.T=this.M=void 0;this.Ca=Md();this.ga=this.ca=this.aa=void 0;this.f=[];this.a=[];this.g=null;this.da=void 0}function Fn(b,c){var d=b.g,e=b.c,f=b.f,g=c.a;return function(){if(!g.isContextLost()){var b,k;b=0;for(k=f.length;b<k;++b)g.deleteTexture(f[b])}Gn(c,d);Gn(c,e)}}
  function Hn(b,c,d,e){var f=b.i,g=b.n,h=b.r,k=b.s,n=b.D,p=b.F,q=b.M,r=b.T,s=b.aa?1:0,v=b.ca,x=b.ga,C=b.da,E=Math.cos(v),v=Math.sin(v),G=b.b.length,w=b.a.length,U,N,Y,T,pa,vb;for(U=0;U<d;U+=e)pa=c[U]-b.e[0],vb=c[U+1]-b.e[1],N=w/8,Y=-x*f,T=-x*(h-g),b.a[w++]=pa,b.a[w++]=vb,b.a[w++]=Y*E-T*v,b.a[w++]=Y*v+T*E,b.a[w++]=q/n,b.a[w++]=(r+h)/k,b.a[w++]=p,b.a[w++]=s,Y=x*(C-f),T=-x*(h-g),b.a[w++]=pa,b.a[w++]=vb,b.a[w++]=Y*E-T*v,b.a[w++]=Y*v+T*E,b.a[w++]=(q+C)/n,b.a[w++]=(r+h)/k,b.a[w++]=p,b.a[w++]=s,Y=x*(C-f),
  T=x*g,b.a[w++]=pa,b.a[w++]=vb,b.a[w++]=Y*E-T*v,b.a[w++]=Y*v+T*E,b.a[w++]=(q+C)/n,b.a[w++]=r/k,b.a[w++]=p,b.a[w++]=s,Y=-x*f,T=x*g,b.a[w++]=pa,b.a[w++]=vb,b.a[w++]=Y*E-T*v,b.a[w++]=Y*v+T*E,b.a[w++]=q/n,b.a[w++]=r/k,b.a[w++]=p,b.a[w++]=s,b.b[G++]=N,b.b[G++]=N+1,b.b[G++]=N+2,b.b[G++]=N,b.b[G++]=N+2,b.b[G++]=N+3}l=En.prototype;l.nb=function(b){ee(this.q,b.t());var c=b.k;Hn(this,c,c.length,b.a)};l.ob=function(b){ee(this.q,b.t());var c=b.k;Hn(this,c,c.length,b.a)};
  l.Lb=function(b){var c=b.a;this.o.push(this.b.length);this.g=new Dn(this.a);In(b,34962,this.g);this.c=new Dn(this.b);In(b,34963,this.c);var d,e,f={},g,h=this.d.length;for(g=0;g<h;++g)d=this.d[g],e=ma(d).toString(),e in f?b=y(f,e):(b=c.createTexture(),c.bindTexture(3553,b),c.texParameteri(3553,10242,33071),c.texParameteri(3553,10243,33071),c.texParameteri(3553,10241,9729),c.texParameteri(3553,10240,9729),c.texImage2D(3553,0,6408,6408,5121,d),f[e]=b),this.f[g]=b;this.r=this.n=this.i=void 0;this.d=null;
  this.D=this.s=void 0;this.b=null;this.ga=this.ca=this.aa=this.T=this.M=this.F=void 0;this.a=null;this.da=void 0};l.t=function(){return this.q};
  l.Jc=function(b,c,d,e,f,g,h,k,n,p,q,r){g=b.a;In(b,34962,this.g);In(b,34963,this.c);var s=n||1!=p||q||1!=r,v;s?(h=xn.Ia(),v=yn.Ia()):(h=An.Ia(),v=Bn.Ia());v=Jn(b,h,v);s?null===this.j?this.j=h=new zn(g,v):h=this.j:null===this.p?this.p=h=new Cn(g,v):h=this.p;b.Ad(v);g.enableVertexAttribArray(h.c);g.vertexAttribPointer(h.c,2,5126,!1,32,0);g.enableVertexAttribArray(h.a);g.vertexAttribPointer(h.a,2,5126,!1,32,8);g.enableVertexAttribArray(h.e);g.vertexAttribPointer(h.e,2,5126,!1,32,16);g.enableVertexAttribArray(h.b);
  g.vertexAttribPointer(h.b,1,5126,!1,32,24);g.enableVertexAttribArray(h.d);g.vertexAttribPointer(h.d,1,5126,!1,32,28);v=this.Ca;Sj(v,0,0,2/(d*f[0]),2/(d*f[1]),-e,-(c[0]-this.e[0]),-(c[1]-this.e[1]));c=this.Qa;d=2/f[0];f=2/f[1];Od(c);c[0]=d;c[5]=f;c[10]=1;c[15]=1;f=this.wa;Od(f);0!==e&&Sd(f,-e);g.uniformMatrix4fv(h.g,!1,v);g.uniformMatrix4fv(h.i,!1,c);g.uniformMatrix4fv(h.o,!1,f);g.uniform1f(h.f,k);s&&g.uniformMatrix4fv(h.n,!1,zg(this.ha,n,p,q,r));e=0;k=this.f.length;for(n=0;e<k;++e)g.bindTexture(3553,
  this.f[e]),p=this.o[e],g.drawElements(4,p-n,b.e?5125:5123,n*(b.e?4:2)),n=p;g.disableVertexAttribArray(h.c);g.disableVertexAttribArray(h.a);g.disableVertexAttribArray(h.e);g.disableVertexAttribArray(h.b);g.disableVertexAttribArray(h.d)};
  l.$a=function(b){var c=b.qb(),d=b.xb(1),e=b.dd(),f=b.D,g=b.yb(),h=b.F,k=b.o,n=b.Ya();b=b.i;0===this.d.length?this.d.push(d):ma(this.d[this.d.length-1])!=ma(d)&&(this.o.push(this.b.length),this.d.push(d));this.i=c[0];this.n=c[1];this.r=n[1];this.s=e[1];this.D=e[0];this.F=f;this.M=g[0];this.T=g[1];this.ca=k;this.aa=h;this.ga=b;this.da=n[0]};function Kn(b,c){this.d=c;this.c=b;this.b={}}function Ln(b,c){var d=[],e;for(e in b.b)d.push(Fn(b.b[e],c));return gd.apply(null,d)}
  function Mn(b,c){for(var d in b.b)b.b[d].Lb(c)}Kn.prototype.a=function(b,c){var d=this.b[c];m(d)||(d=new Nn[c](this.c,this.d),this.b[c]=d);return d};Kn.prototype.ja=function(){return xb(this.b)};function On(b,c,d,e,f,g,h,k,n,p,q,r,s,v){var x,C,E;x=0;for(C=jm.length;x<C&&!(E=b.b[jm[x]],m(E)&&qe(h,E.t())&&(E=E.Jc(c,d,e,f,g,h,k,n,p,q,r,s,v)));++x);}var Nn={Image:En};function Pn(b,c,d,e,f,g,h){this.d=b;this.e=c;this.a=g;this.f=h;this.i=f;this.o=e;this.g=d;this.c=null;this.b={}}l=Pn.prototype;l.jc=function(b,c){var d=b.toString(),e=this.b[d];m(e)?e.push(c):this.b[d]=[c]};l.kc=function(){};l.$d=function(b,c){var d=b.N();if(null!=d&&qe(this.a,d.t())){var e=c.a;m(e)||(e=0);this.jc(e,function(b){b.ua(c.c,c.d);b.$a(c.e);b.va(c.b);var e=Qn[d.H()];e&&e.call(b,d,null)})}};
  l.$c=function(b,c){var d=b.e,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e],h=Qn[g.H()];h&&h.call(this,g,c)}};l.ob=function(b,c){var d=this.d,e=(new Kn(1,this.a)).a(0,"Image");e.$a(this.c);e.ob(b,c);e.Lb(d);e.Jc(this.d,this.e,this.g,this.o,this.i,this.a,this.f,1,0,1,0,1,{});Fn(e,d)()};l.Bb=function(){};l.lc=function(){};l.nb=function(b,c){var d=this.d,e=(new Kn(1,this.a)).a(0,"Image");e.$a(this.c);e.nb(b,c);e.Lb(d);e.Jc(this.d,this.e,this.g,this.o,this.i,this.a,this.f,1,0,1,0,1,{});Fn(e,d)()};l.mc=function(){};
  l.Tb=function(){};l.pb=function(){};l.ua=function(){};l.$a=function(b){this.c=b};l.va=function(){};var Qn={Point:Pn.prototype.ob,MultiPoint:Pn.prototype.nb,GeometryCollection:Pn.prototype.$c};function Rn(){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;}"}u(Rn,vn);da(Rn);function Sn(){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;}"}u(Sn,wn);da(Sn);
  function Tn(b,c){this.g=b.getUniformLocation(c,"f");this.d=b.getUniformLocation(c,"g");this.c=b.getUniformLocation(c,"e");this.f=b.getUniformLocation(c,"d");this.e=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function Un(){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;}"}u(Un,vn);da(Un);function Vn(){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;}"}u(Vn,wn);da(Vn);
  function Wn(b,c){this.d=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.f=b.getUniformLocation(c,"d");this.e=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function Xn(b,c){Ej.call(this,b,c);this.F=new Dn([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.e=this.Pa=null;this.f=void 0;this.q=Kd();this.D=Md();this.M=new yg;this.i=this.g=null}u(Xn,Ej);
  function Yn(b,c,d){var e=b.d.c;if(m(b.f)&&b.f==d)e.bindFramebuffer(36160,b.e);else{c.postRenderFunctions.push(ta(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.e,b.Pa));c=e.createTexture();e.bindTexture(3553,c);e.texImage2D(3553,0,6408,d,d,0,6408,5121,null);e.texParameteri(3553,10240,9729);e.texParameteri(3553,10241,9729);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.Pa=c;b.e=f;b.f=d}}
  Xn.prototype.rf=function(b,c,d){Zn(this,"precompose",d,b);In(d,34962,this.F);var e=d.a,f=c.brightness||1!=c.contrast||c.hue||1!=c.saturation,g,h;f?(g=Rn.Ia(),h=Sn.Ia()):(g=Un.Ia(),h=Vn.Ia());g=Jn(d,g,h);f?null===this.g?this.g=h=new Tn(e,g):h=this.g:null===this.i?this.i=h=new Wn(e,g):h=this.i;d.Ad(g)&&(e.enableVertexAttribArray(h.a),e.vertexAttribPointer(h.a,2,5126,!1,16,0),e.enableVertexAttribArray(h.b),e.vertexAttribPointer(h.b,2,5126,!1,16,8),e.uniform1i(h.e,0));e.uniformMatrix4fv(h.f,!1,this.q);
  e.uniformMatrix4fv(h.c,!1,this.D);f&&e.uniformMatrix4fv(h.g,!1,zg(this.M,c.brightness,c.contrast,c.hue,c.saturation));e.uniform1f(h.d,c.opacity);e.bindTexture(3553,this.Pa);e.drawArrays(5,0,4);Zn(this,"postcompose",d,b)};function Zn(b,c,d,e){b=b.a;if(ld(b,c)){var f=e.viewState;b.dispatchEvent(new pl(c,b,new Pn(d,f.center,f.resolution,f.rotation,e.size,e.extent,e.pixelRatio),null,e,null,d))}}Xn.prototype.n=function(){this.e=this.Pa=null;this.f=void 0};function $n(b,c){Xn.call(this,b,c);this.b=null}u($n,Xn);function ao(b,c){var d=c.b(),e=b.d.c,f=e.createTexture();e.bindTexture(3553,f);e.texImage2D(3553,0,6408,6408,5121,d);e.texParameteri(3553,10242,33071);e.texParameteri(3553,10243,33071);e.texParameteri(3553,10241,9729);e.texParameteri(3553,10240,9729);return f}$n.prototype.$b=function(b,c,d,e){var f=this.a;return f.a().xd(c.extent,c.viewState.resolution,c.viewState.rotation,b,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};
  $n.prototype.me=function(b,c){var d=this.d.c,e=b.viewState,f=e.center,g=e.resolution,h=e.rotation,k=this.b,n=this.Pa,p=this.a.a(),q=b.viewHints,r=b.extent;m(c.extent)&&(r=pe(r,c.extent));q[0]||q[1]||se(r)||(e=e.projection,q=p.g,null===q||(e=q),r=p.rc(r,g,b.pixelRatio,e),null!==r&&(e=r.state,0==e?(Wc(r,"change",this.o,!1,this),r.load()):2==e&&(k=r,n=ao(this,r),null===this.Pa||b.postRenderFunctions.push(ta(function(b,c){b.isContextLost()||b.deleteTexture(c)},d,this.Pa)))));null!==k&&(d=this.d.f.g,bo(this,
  d.width,d.height,f,g,h,k.t()),f=this.q,Od(f),Rd(f,1,-1),Qd(f,0,-1),this.b=k,this.Pa=n,Hj(b.attributions,k.f),Ij(b,p));return!0};function bo(b,c,d,e,f,g,h){c*=f;d*=f;b=b.D;Od(b);Rd(b,2/c,2/d);Sd(b,-g);Qd(b,h[0]-e[0],h[1]-e[1]);Rd(b,(h[2]-h[0])/2,(h[3]-h[1])/2);Qd(b,1,1)};function co(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}u(co,vn);da(co);function eo(){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;}"}u(eo,wn);da(eo);function fo(b,c){this.d=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function go(b,c){Xn.call(this,b,c);this.s=co.Ia();this.T=eo.Ia();this.b=null;this.r=new Dn([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.p=this.c=null;this.j=-1}u(go,Xn);go.prototype.L=function(){Gn(this.d.f,this.r);go.Q.L.call(this)};go.prototype.n=function(){go.Q.n.call(this);this.b=null};
  go.prototype.me=function(b,c,d){var e=this.d,f=d.a,g=b.viewState,h=g.projection,k=this.a,n=k.a(),p=Dj(n,h),q=ec(p.a,g.resolution,0),r=p.la(q),s=n.Hc(q,b.pixelRatio,h),v=s/p.qa(q),x=r/v,C=n.cd(),E=g.center,G;r==g.resolution?(E=Lj(E,r,b.size),G=ne(E,r,g.rotation,b.size)):G=b.extent;r=xj(p,G,r);if(null!==this.c&&sf(this.c,r)&&this.j==n.b)x=this.p;else{var w=[r.c-r.a+1,r.b-r.d+1],w=Math.max(w[0]*s,w[1]*s),U=Math.pow(2,Math.ceil(Math.log(w)/Math.LN2)),w=x*U,N=p.Mb(q),Y=N[0]+r.a*s*x,x=N[1]+r.d*s*x,x=[Y,
  x,Y+w,x+w];Yn(this,b,U);f.viewport(0,0,U,U);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);U=Jn(d,this.s,this.T);d.Ad(U);null===this.b&&(this.b=new fo(f,U));In(d,34962,this.r);f.enableVertexAttribArray(this.b.a);f.vertexAttribPointer(this.b.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.b.b);f.vertexAttribPointer(this.b.b,2,5126,!1,16,8);f.uniform1i(this.b.d,0);d={};d[q]={};var T=sa(n.ae,n,d,Kj(function(b){return null!==b&&2==b.state&&ho(e.b,b.ib())},n,v,h)),pa=k.ha();m(pa)||(pa=!0);var U=
  !0,Y=Vd(),vb=new of(0,0,0,0),Ka,Yb,Pb;for(Yb=r.a;Yb<=r.c;++Yb)for(Pb=r.d;Pb<=r.b;++Pb){N=n.Eb(q,Yb,Pb,v,h);if(m(c.extent)&&(Ka=vj(p,N.a,Y),!qe(Ka,c.extent)))continue;Ka=N.state;if(2==Ka){if(ho(e.b,N.ib())){d[q][nf(N.a)]=N;continue}}else if(4==Ka||3==Ka&&!pa)continue;U=!1;Ka=p.ad(N.a,T,null,vb,Y);Ka||(N=p.kd(N.a,vb,Y),null===N||T(q+1,N))}c=Va(sb(d),Number);gb(c);for(var T=new Float32Array(4),La,Oa,Ud,pa=0,vb=c.length;pa<vb;++pa)for(La in Oa=d[c[pa]],Oa)N=Oa[La],Ka=vj(p,N.a,Y),Yb=2*(Ka[2]-Ka[0])/w,
  Pb=2*(Ka[3]-Ka[1])/w,Ud=2*(Ka[0]-x[0])/w-1,Ka=2*(Ka[1]-x[1])/w-1,Jd(T,Yb,Pb,Ud,Ka),f.uniform4fv(this.b.c,T),io(e,N,s,C*v),f.drawArrays(5,0,4);U?(this.c=r,this.p=x,this.j=n.b):(this.p=this.c=null,this.j=-1,b.animate=!0)}Jj(b.usedTiles,n,q,r);var sd=e.i;Mj(b,n,p,v,h,G,q,k.r(),function(b){var c;(c=2!=b.state||ho(e.b,b.ib()))||(c=b.ib()in sd.d);c||Nj(sd,[b,zj(p,b.a),p.la(b.a[0]),s,C*v])},this);Gj(b,n);Ij(b,n);f=this.q;Od(f);Qd(f,(E[0]-x[0])/(x[2]-x[0]),(E[1]-x[1])/(x[3]-x[1]));0!==g.rotation&&Sd(f,g.rotation);
  Rd(f,b.size[0]*g.resolution/(x[2]-x[0]),b.size[1]*g.resolution/(x[3]-x[1]));Qd(f,-.5,-.5);return!0};function jo(b,c){Xn.call(this,b,c);this.c=!1;this.s=-1;this.r=NaN;this.j=Vd();this.b=this.p=null}u(jo,Xn);l=jo.prototype;l.rf=function(b,c,d){var e=b.viewState,f=this.b;null===f||f.ja()||On(f,d,e.center,e.resolution,e.rotation,b.size,b.extent,b.pixelRatio,c.opacity,c.brightness,c.contrast,c.hue,c.saturation,b.skippedFeatureUids)};l.L=function(){var b=this.b;null!==b&&(Ln(b,this.d.f)(),this.b=null);jo.Q.L.call(this)};l.$b=function(){};l.tj=function(){Fj(this)};
  l.me=function(b,c,d){function e(b){var c;m(b.a)?c=b.a.call(b,n):m(f.r)&&(c=(0,f.r)(b,n));if(null!=c){if(null!=c){var d,e,g=!1;d=0;for(e=c.length;d<e;++d)g=bn(x,b,c[d],an(n,p),this.tj,this)||g;b=g}else b=!1;this.c=this.c||b}}var f=this.a;c=f.a();Hj(b.attributions,c.e);Ij(b,c);if(!this.c&&(b.viewHints[0]||b.viewHints[1]))return!0;var g=b.extent,h=b.viewState,k=h.projection,n=h.resolution,p=b.pixelRatio,h=f.b,q=f.get("renderOrder");m(q)||(q=$m);if(!this.c&&this.r==n&&this.s==h&&this.p==q&&$d(this.j,
  g))return!0;var r=this.j,s=re(g)/4,v=oe(g)/4;r[0]=g[0]-s;r[1]=g[1]-v;r[2]=g[2]+s;r[3]=g[3]+v;null===this.b||b.postRenderFunctions.push(Ln(this.b,d));this.c=!1;var x=new Kn(.5*n/p,r);c.Hb(r,n,k);if(null===q)c.Cb(r,n,e,this);else{var C=[];c.Cb(r,n,function(b){C.push(b)},this);gb(C,q);Ta(C,e,this)}Mn(x,d);this.r=n;this.s=h;this.p=q;this.b=x;return!0};function ko(){this.d=0;this.c={};this.b=this.a=null}l=ko.prototype;l.clear=function(){this.d=0;this.c={};this.b=this.a=null};function ho(b,c){return b.c.hasOwnProperty(c)}l.forEach=function(b,c){for(var d=this.a;null!==d;)b.call(c,d.ec,d.ud,this),d=d.Wa};l.get=function(b){b=this.c[b];if(b===this.b)return b.ec;b===this.a?(this.a=this.a.Wa,this.a.Nb=null):(b.Wa.Nb=b.Nb,b.Nb.Wa=b.Wa);b.Wa=null;b.Nb=this.b;this.b=this.b.Wa=b;return b.ec};l.Vb=function(){return this.d};
  l.I=function(){var b=Array(this.d),c=0,d;for(d=this.b;null!==d;d=d.Nb)b[c++]=d.ud;return b};l.hb=function(){var b=Array(this.d),c=0,d;for(d=this.b;null!==d;d=d.Nb)b[c++]=d.ec;return b};l.pop=function(){var b=this.a;delete this.c[b.ud];null!==b.Wa&&(b.Wa.Nb=null);this.a=b.Wa;null===this.a&&(this.b=null);--this.d;return b.ec};l.set=function(b,c){var d={ud:b,Wa:null,Nb:this.b,ec:c};null===this.b?this.a=d:this.b.Wa=d;this.b=d;this.c[b]=d;++this.d};function lo(b,c){this.g=b;this.a=c;this.b={};this.c={};this.d={};this.f=null;(this.e=Za(wa,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");z(this.g,"webglcontextlost",this.hk,!1,this);z(this.g,"webglcontextrestored",this.ik,!1,this)}
  function In(b,c,d){var e=b.a,f=d.a,g=ma(d);if(g in b.b)e.bindBuffer(c,b.b[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.e?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,d.b);b.b[g]={d:d,buffer:h}}}function Gn(b,c){var d=b.a,e=ma(c),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]}l=lo.prototype;
  l.L=function(){var b=this.a;b.isContextLost()||(ob(this.b,function(c){b.deleteBuffer(c.buffer)}),ob(this.d,function(c){b.deleteProgram(c)}),ob(this.c,function(c){b.deleteShader(c)}))};l.gk=function(){return this.a};function mo(b,c){var d=ma(c);if(d in b.c)return b.c[d];var e=b.a,f=e.createShader(c.H());e.shaderSource(f,c.a);e.compileShader(f);return b.c[d]=f}
  function Jn(b,c,d){var e=ma(c)+"/"+ma(d);if(e in b.d)return b.d[e];var f=b.a,g=f.createProgram();f.attachShader(g,mo(b,c));f.attachShader(g,mo(b,d));f.linkProgram(g);return b.d[e]=g}l.hk=function(){yb(this.b);yb(this.c);yb(this.d);this.f=null};l.ik=function(){};l.Ad=function(b){if(b==this.f)return!1;this.a.useProgram(b);this.f=b;return!0};function no(b,c){Vj.call(this,0,c);this.a=If("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";Mf(b,this.a,0);this.p=0;this.q=Tf();this.n=!0;this.c=Zf(this.a,{antialias:!0,depth:!1,Yg:!0,preserveDrawingBuffer:!1,stencil:!0});this.f=new lo(this.a,this.c);z(this.a,"webglcontextlost",this.rj,!1,this);z(this.a,"webglcontextrestored",this.sj,!1,this);this.b=new ko;this.j=null;this.i=new ck(sa(function(b){var c=b[1];b=b[2];var f=c[0]-this.j[0],c=c[1]-this.j[1];
  return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b},this),function(b){return b[0].ib()});this.r=sa(function(){if(!this.i.ja()){gk(this.i);var b=dk(this.i);io(this,b[0],b[3],b[4])}},this);this.o=0;oo(this)}u(no,Vj);
  function io(b,c,d,e){var f=b.c,g=c.ib();if(ho(b.b,g))b=b.b.get(g),f.bindTexture(3553,b.Pa),9729!=b.ff&&(f.texParameteri(3553,10240,9729),b.ff=9729),9729!=b.gf&&(f.texParameteri(3553,10240,9729),b.gf=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.q.canvas,n=b.q;b.p!=d?(k.width=d,k.height=d,b.p=d):n.clearRect(0,0,d,d);n.drawImage(c.La(),e,e,d,d,0,0,d,d);f.texImage2D(3553,0,6408,6408,5121,k)}else f.texImage2D(3553,0,6408,6408,5121,c.La());f.texParameteri(3553,10240,9729);f.texParameteri(3553,
  10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.b.set(g,{Pa:h,ff:9729,gf:9729})}}l=no.prototype;l.Zc=function(b){return b instanceof J?new $n(this,b):b instanceof K?new go(this,b):b instanceof L?new jo(this,b):null};
  function po(b,c,d){var e=b.e;if(ld(e,c)){var f=b.f,g=d.extent,h=d.size,k=d.viewState,n=d.pixelRatio,p=k.resolution,q=k.center,r=k.rotation,k=new Pn(f,q,p,r,h,g,n),s=new Kn(.5*p/n,g);e.dispatchEvent(new pl(c,e,k,s,d,null,f));Mn(s,f);s.ja()||On(s,f,q,p,r,h,g,n,1,0,1,0,1,{});Ln(s,f)();c=Va(sb(k.b),Number);gb(c);d=0;for(e=c.length;d<e;++d)for(f=k.b[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](k);b.g=s}}
  l.L=function(){var b=this.c;b.isContextLost()||this.b.forEach(function(c){null===c||b.deleteTexture(c.Pa)});tc(this.f);no.Q.L.call(this)};l.Wg=function(b,c){for(var d=this.c,e;1024<this.b.Vb()-this.o;){e=this.b.a.ec;if(null===e)if(+this.b.a.ud==c.index)break;else--this.o;else d.deleteTexture(e.Pa);this.b.pop()}};l.H=function(){return"webgl"};l.rj=function(b){b.preventDefault();this.b.clear();this.o=0;ob(this.d,function(b){b.n()})};l.sj=function(){oo(this);this.e.U()};
  function oo(b){b=b.c;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)}
  l.Fd=function(b){var c=this.f,d=this.c;if(d.isContextLost())return!1;if(null===b)return this.n&&(Sg(this.a,!1),this.n=!1),!1;this.j=b.focus;this.b.set((-b.index).toString(),null);++this.o;var e=[],f=b.layerStatesArray,g=b.viewState.resolution,h,k,n,p;h=0;for(k=f.length;h<k;++h)p=f[h],p.visible&&g>=p.minResolution&&g<p.maxResolution&&"ready"==p.hc&&(n=ak(this,p.layer),n.me(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);po(this,"precompose",b);h=0;for(k=e.length;h<k;++h)p=e[h],n=ak(this,p.layer),n.rf(b,p,c);this.n||(Sg(this.a,!0),this.n=!0);Wj(b);1024<this.b.Vb()-this.o&&b.postRenderFunctions.push(sa(this.Wg,this));this.i.ja()||(b.postRenderFunctions.push(this.r),b.animate=!0);po(this,"postcompose",b);bk(this,b);b.postRenderFunctions.push(Xj)};var qo=["canvas","webgl","dom"];
  function O(b){td.call(this);var c=ro(b);this.Ud=m(b.pixelRatio)?b.pixelRatio:ag;this.Td=c.logos;this.q=new Sh(this.Vk,void 0,this);sc(this,this.q);this.Wc=Kd();this.Eg=Kd();this.Sd=0;this.p=this.M=this.aa=this.c=null;this.d=Ff("DIV","ol-viewport");this.d.style.position="relative";this.d.style.overflow="hidden";this.d.style.width="100%";this.d.style.height="100%";this.d.style.msTouchAction="none";gg&&(this.d.className="ol-touch");this.xa=Ff("DIV","ol-overlaycontainer");this.d.appendChild(this.xa);
  this.s=Ff("DIV","ol-overlaycontainer-stopevent");z(this.s,["click","dblclick","mousedown","touchstart","MSPointerDown",jj,Ib?"DOMMouseScroll":"mousewheel"],vc);this.d.appendChild(this.s);b=new bj(this);z(b,rb(mj),this.nf,!1,this);sc(this,b);this.ha=c.keyboardEventTarget;this.r=new gi;z(this.r,"key",this.Ze,!1,this);sc(this,this.r);b=new oi(this.d);z(b,"mousewheel",this.Ze,!1,this);sc(this,b);this.i=c.controls;this.Rd=c.deviceOptions;this.g=c.interactions;this.n=c.overlays;this.ca=new c.Xk(this.d,
  this);sc(this,this.ca);this.vc=new bi;sc(this,this.vc);z(this.vc,"resize",this.j,!1,this);this.T=null;this.D=[];this.ab=[];this.gc=new hk(sa(this.Ch,this),sa(this.mi,this));this.da={};z(this,xd("layergroup"),this.Vh,!1,this);z(this,xd("view"),this.Vi,!1,this);z(this,xd("size"),this.ki,!1,this);z(this,xd("target"),this.li,!1,this);this.G(c.sl);this.i.forEach(function(b){b.setMap(this)},this);z(this.i,"add",function(b){b.element.setMap(this)},!1,this);z(this.i,"remove",function(b){b.element.setMap(null)},
  !1,this);this.g.forEach(function(b){b.setMap(this)},this);z(this.g,"add",function(b){b.element.setMap(this)},!1,this);z(this.g,"remove",function(b){b.element.setMap(null)},!1,this);this.n.forEach(function(b){b.setMap(this)},this);z(this.n,"add",function(b){b.element.setMap(this)},!1,this);z(this.n,"remove",function(b){b.element.setMap(null)},!1,this)}u(O,td);l=O.prototype;l.Mg=function(b){this.i.push(b)};l.Ng=function(b){this.g.push(b)};l.Ne=function(b){this.Db().Zb().push(b)};l.Oe=function(b){this.n.push(b)};
  l.Ra=function(b){this.U();Array.prototype.push.apply(this.D,arguments)};l.L=function(){Nf(this.d);O.Q.L.call(this)};l.je=function(b,c,d,e,f){if(null!==this.c)return b=this.Fa(b),Yj(this.ca,b,this.c,c,m(d)?d:null,m(e)?e:dd,m(f)?f:null)};l.dh=function(b){return this.Fa(this.bd(b))};
  l.bd=function(b){if(m(b.offsetX)&&m(b.offsetY))return[b.offsetX,b.offsetY];if(m(b.changedTouches)){var c=b.changedTouches[0];b=Og(this.d);return[c.clientX-b.x,c.clientY-b.y]}c=this.d;b=Og(b);c=Og(c);c=new vf(b.x-c.x,b.y-c.y);return[c.x,c.y]};l.Ic=function(){return this.get("target")};O.prototype.getTarget=O.prototype.Ic;l=O.prototype;l.Fa=function(b){var c=this.c;if(null===c)return null;b=b.slice();return Uj(c.pixelToCoordinateMatrix,b,b)};l.bh=function(){return this.i};l.uh=function(){return this.n};
  l.ih=function(){return this.g};l.Db=function(){return this.get("layergroup")};O.prototype.getLayerGroup=O.prototype.Db;O.prototype.Ca=function(){return this.Db().Zb()};O.prototype.f=function(b){var c=this.c;if(null===c)return null;b=b.slice(0,2);return Uj(c.coordinateToPixelMatrix,b,b)};O.prototype.e=function(){return this.get("size")};O.prototype.getSize=O.prototype.e;O.prototype.a=function(){return this.get("view")};O.prototype.getView=O.prototype.a;l=O.prototype;l.Eh=function(){return this.d};
  l.Ch=function(b,c,d,e){var f=this.c;if(!(null!==f&&c in f.wantedTiles&&f.wantedTiles[c][nf(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.Ze=function(b,c){var d=new $i(c||b.type,this,b);this.nf(d)};l.nf=function(b){if(null!==this.c){this.T=b.coordinate;b.frameState=this.c;var c=this.g.a,d;if(!1!==this.dispatchEvent(b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.a()&&!e.handleMapBrowserEvent(b))break}}};
  l.hi=function(){var b=this.c,c=this.gc;if(!c.ja()){var d=16,e=d,f=0;if(null!==b){var f=b.viewHints,g=this.Rd;f[0]&&(d=!1===g.loadTilesWhileAnimating?0:8,e=2);f[1]&&(d=!1===g.loadTilesWhileInteracting?0:8,e=2);f=qb(b.wantedTiles)}d*=f;e*=f;if(c.c<d){gk(c);d=Math.min(d-c.c,e,c.Vb());for(e=0;e<d;++e)f=dk(c)[0],Wc(f,"change",c.g,!1,c),f.load();c.c+=d}}c=this.ab;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};l.ki=function(){this.U()};
  l.li=function(){var b=this.Ic(),b=m(b)?Af(b):null;ni(this.r);null===b?Nf(this.d):(b.appendChild(this.d),hi(this.r,null===this.ha?b:this.ha));this.j()};l.mi=function(){this.U()};l.ni=function(){this.U()};l.Vi=function(){null!==this.M&&(Yc(this.M),this.M=null);var b=this.a();null!==b&&(this.M=z(b,"propertychange",this.ni,!1,this));this.U()};l.Wh=function(){this.U()};l.Xh=function(){this.U()};
  l.Vh=function(){if(null!==this.p){for(var b=this.p.length,c=0;c<b;++c)Yc(this.p[c]);this.p=null}b=this.Db();null!=b&&(this.p=[z(b,"propertychange",this.Xh,!1,this),z(b,"change",this.Wh,!1,this)]);this.U()};l.Wk=function(){var b=this.q;Th(b);b.Te()};l.U=function(){null!=this.q.X||this.q.start()};l.Qk=function(b){if(m(this.i.remove(b)))return b};l.Sk=function(b){var c;m(this.g.remove(b))&&(c=b);return c};l.Tk=function(b){return this.Db().Zb().remove(b)};l.Uk=function(b){if(m(this.n.remove(b)))return b};
  l.Vk=function(b){var c,d,e,f=this.e(),g=this.a(),h=null;if(m(f)&&0<f[0]&&0<f[1]&&null!==g&&af(g)){var h=cb(g.j),k=this.Db().Ca(),n={};c=0;for(d=k.length;c<d;++c)n[ma(k[c].layer)]=k[c];e=$e(g);h={animate:!1,attributions:{},coordinateToPixelMatrix:this.Wc,extent:null,focus:null===this.T?e.center:this.T,index:this.Sd++,layerStates:n,layerStatesArray:k,logos:Cb(this.Td),pixelRatio:this.Ud,pixelToCoordinateMatrix:this.Eg,postRenderFunctions:[],size:f,skippedFeatureUids:this.da,tileQueue:this.gc,time:b,
  usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(null!==h){b=this.D;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=ne(e.center,e.resolution,e.rotation,h.size)}this.c=h;this.ca.Fd(h);null!==h&&(h.animate&&this.U(),Array.prototype.push.apply(this.ab,h.postRenderFunctions),0!==this.D.length||h.viewHints[0]||h.viewHints[1]||this.aa&&de(h.extent,this.aa)||(this.dispatchEvent(new Zg("moveend",this,h)),this.aa=m(void 0)?void 0:h.extent.slice()));this.dispatchEvent(new Zg("postrender",
  this,h));Xh(this.hi,this)};l.Xf=function(b){this.set("layergroup",b)};O.prototype.setLayerGroup=O.prototype.Xf;O.prototype.F=function(b){this.set("size",b)};O.prototype.setSize=O.prototype.F;O.prototype.Da=function(b){this.set("target",b)};O.prototype.setTarget=O.prototype.Da;O.prototype.lb=function(b){this.set("view",b)};O.prototype.setView=O.prototype.lb;O.prototype.zb=function(b){b=ma(b).toString();this.da[b]=!0;this.U()};
  O.prototype.j=function(){var b=this.Ic(),b=m(b)?Af(b):null;if(null===b)this.F(void 0);else{var c=zf(b),d=Hb&&b.currentStyle;d&&Rf(xf(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=Tg(b,d.width,"width","pixelWidth"),b=Tg(b,d.height,"height","pixelHeight"),b=new wf(c,b)):(d=new wf(b.offsetWidth,b.offsetHeight),c=Vg(b,"padding"),b=Yg(b),b=new wf(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom));this.F([b.width,b.height])}};
  O.prototype.hc=function(b){b=ma(b).toString();delete this.da[b];this.U()};
  function ro(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 A;var f=Vj,g;m(b.renderer)?ga(b.renderer)?g=b.renderer:ia(b.renderer)&&(g=[b.renderer]):g=qo;var h,k;h=0;for(k=g.length;h<k;++h){var n=g[h];if("canvas"==n){if(dg){f=fn;break}}else if("dom"==n){f=sn;break}else if("webgl"==n&&$f){f=no;break}}var p;m(b.controls)?p=ga(b.controls)?new B(cb(b.controls)):b.controls:p=eh();g=m(b.deviceOptions)?
  b.deviceOptions:{};var q;m(b.interactions)?q=ga(b.interactions)?new B(cb(b.interactions)):b.interactions:q=Pl();b=m(b.overlays)?ga(b.overlays)?new B(cb(b.overlays)):b.overlays:new B;return{controls:p,deviceOptions:g,interactions:q,keyboardEventTarget:c,logos:e,overlays:b,Xk:f,sl:d}}Wl();function P(b){td.call(this);this.q=m(b.insertFirst)?b.insertFirst:!0;this.r=m(b.stopEvent)?b.stopEvent:!0;this.ba=If("DIV");this.ba.style.position="absolute";this.a={Xc:"",vd:"",Gd:"",Id:"",visible:!0};this.d=null;z(this,xd("element"),this.Oh,!1,this);z(this,xd("map"),this.bi,!1,this);z(this,xd("offset"),this.di,!1,this);z(this,xd("position"),this.fi,!1,this);z(this,xd("positioning"),this.gi,!1,this);m(b.element)&&this.ze(b.element);this.j(m(b.offset)?b.offset:[0,0]);this.p(m(b.positioning)?b.positioning:
  "top-left");m(b.position)&&this.f(b.position)}u(P,td);P.prototype.c=function(){return this.get("element")};P.prototype.getElement=P.prototype.c;P.prototype.e=function(){return this.get("map")};P.prototype.getMap=P.prototype.e;P.prototype.g=function(){return this.get("offset")};P.prototype.getOffset=P.prototype.g;P.prototype.n=function(){return this.get("position")};P.prototype.getPosition=P.prototype.n;P.prototype.i=function(){return this.get("positioning")};P.prototype.getPositioning=P.prototype.i;
  l=P.prototype;l.Oh=function(){Kf(this.ba);var b=this.c();null!=b&&Jf(this.ba,b)};l.bi=function(){null!==this.d&&(Nf(this.ba),Yc(this.d),this.d=null);var b=this.e();null!=b&&(this.d=z(b,"postrender",this.Wi,!1,this),so(this),b=this.r?b.s:b.xa,this.q?Mf(b,this.ba,0):Jf(b,this.ba))};l.Wi=function(){so(this)};l.di=function(){so(this)};l.fi=function(){so(this)};l.gi=function(){so(this)};l.ze=function(b){this.set("element",b)};P.prototype.setElement=P.prototype.ze;
  P.prototype.setMap=function(b){this.set("map",b)};P.prototype.setMap=P.prototype.setMap;P.prototype.j=function(b){this.set("offset",b)};P.prototype.setOffset=P.prototype.j;P.prototype.f=function(b){this.set("position",b)};P.prototype.setPosition=P.prototype.f;P.prototype.p=function(b){this.set("positioning",b)};P.prototype.setPositioning=P.prototype.p;
  function so(b){var c=b.e(),d=b.n();if(m(c)&&null!==c.c&&m(d)){var d=c.f(d),e=c.e(),c=b.ba.style,f=b.g(),g=b.i(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.vd&&(b.a.vd=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.Gd!=h&&(b.a.Gd=c.right=h);else{""!==b.a.Gd&&(b.a.Gd=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=Qg(b.ba).width/2;h=Math.round(d[0]+h)+"px";b.a.vd!=h&&(b.a.vd=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"==
  g)""!==b.a.Id&&(b.a.Id=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.Xc!=d&&(b.a.Xc=c.bottom=d);else{""!==b.a.Xc&&(b.a.Xc=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=Qg(b.ba).height/2;d=Math.round(d[1]+f)+"px";b.a.Id!=d&&(b.a.Id=c.top=d)}b.a.visible||(Sg(b.ba,!0),b.a.visible=!0)}else b.a.visible&&(Sg(b.ba,!1),b.a.visible=!1)};function to(b){b=m(b)?b:{};this.e=m(b.collapsed)?b.collapsed:!0;this.f=m(b.collapsible)?b.collapsible:!0;this.f||(this.e=!1);var c=m(b.className)?b.className:"ol-overviewmap",d=m(b.tipLabel)?b.tipLabel:"Overview map";this.j=m(b.collapseLabel)?b.collapseLabel:"\u00ab";this.q=m(b.label)?b.label:"\u00bb";this.p=Ff("SPAN",{},this.f&&!this.e?this.j:this.q);d=Ff("BUTTON",{type:"button",title:d},this.p);z(d,"click",this.dj,!1,this);z(d,["mouseout",xc],function(){this.blur()},!1);var e=Ff("DIV","ol-overviewmap-map"),
  f=this.d=new O({controls:new B,interactions:new B,target:e});m(b.layers)&&b.layers.forEach(function(b){f.Ne(b)},this);var g=Ff("DIV","ol-overviewmap-box");this.g=new P({position:[0,0],positioning:"bottom-left",element:g});this.d.Oe(this.g);c=Ff("DIV",c+" ol-unselectable ol-control"+(this.e&&this.f?" ol-collapsed":"")+(this.f?"":" ol-uncollapsible"),e,d);$g.call(this,{element:c,target:b.target})}u(to,$g);l=to.prototype;
  l.setMap=function(b){var c=this.a;null===b&&null!==c&&Xc(c,xd("view"),this.of,!1,this);to.Q.setMap.call(this,b);null!==b&&(0===this.d.Ca().Ib()&&this.d.O("layergroup",b),uo(this),z(b,xd("view"),this.of,!1,this),this.d.j(),vo(this))};function uo(b){var c=b.a.a();null===c||b.d.a().O("rotation",c)}
  l.Jb=function(){var b=this.a,c=this.d;if(null!==b.c&&null!==c.c){var d=b.e(),b=b.a().g(d),e=c.e(),d=c.a().g(e),f=c.f(me(b)),c=c.f(ie(b)),c=new wf(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?vo(this):$d(d,b)||(b=this.d,d=this.a.a(),b.a().Ma(d.a()))}wo(this)};l.of=function(){uo(this)};function vo(b){var c=b.a;b=b.d;var d=c.e(),c=c.a().g(d),d=b.e();b=b.a();var e=Math.log(7.5)/Math.LN2;ue(c,1/(.1*Math.pow(2,e/2)));b.be(c,d)}
  function wo(b){var c=b.a,d=b.d;if(null!==c.c&&null!==d.c){var e=c.e(),f=c.a(),g=d.a();d.e();var c=f.e(),h=b.g,d=b.g.c(),f=f.g(e),e=g.d(),g=he(f),f=je(f),k;b=b.a.a().a();m(b)&&(k=[g[0]-b[0],g[1]-b[1]],Dd(k,c),yd(k,b));h.f(k);null!=d&&(k=new wf(Math.abs((g[0]-f[0])/e),Math.abs((f[1]-g[1])/e)),c=Rf(xf(zf(d))),!Hb||Tb("10")||c&&Tb("8")?(d=d.style,Ib?d.MozBoxSizing="border-box":Jb?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=Vg(d,"padding"),d=Yg(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.dj=function(b){b.preventDefault();xo(this)};function xo(b){Eg(b.element,"ol-collapsed");Qf(b.p,b.e?b.j:b.q);b.e=!b.e;var c=b.d;b.e||null!==c.c||(c.j(),vo(b),Wc(c,"postrender",function(){wo(this)},!1,b))}l.cj=function(){return this.f};
  l.fj=function(b){this.f!==b&&(this.f=b,Eg(this.element,"ol-uncollapsible"),!b&&this.e&&xo(this))};l.ej=function(b){this.f&&this.e!==b&&xo(this)};l.bj=function(){return this.e};function yo(b){b=m(b)?b:{};var c=m(b.className)?b.className:"ol-scale-line";this.f=Ff("DIV",c+"-inner");this.ba=Ff("DIV",c+" ol-unselectable",this.f);this.q=null;this.g=m(b.minWidth)?b.minWidth:64;this.d=!1;this.s=void 0;this.r="";this.e=null;$g.call(this,{element:this.ba,target:b.target});z(this,xd("units"),this.D,!1,this);this.p(b.units||"metric")}u(yo,$g);var zo=[1,2,5];yo.prototype.j=function(){return this.get("units")};yo.prototype.getUnits=yo.prototype.j;
  yo.prototype.Jb=function(b){b=b.frameState;null===b?this.q=null:this.q=b.viewState;Ao(this)};yo.prototype.D=function(){Ao(this)};yo.prototype.p=function(b){this.set("units",b)};yo.prototype.setUnits=yo.prototype.p;
  function Ao(b){var c=b.q;if(null===c)b.d&&(Sg(b.ba,!1),b.d=!1);else{var d=c.center,e=c.projection,c=e.ee(c.resolution,d),f=e.b,g=b.j();"degrees"!=f||"metric"!=g&&"imperial"!=g&&"us"!=g&&"nautical"!=g?"ft"!=f&&"m"!=f||"degrees"!=g?b.e=null:(null===b.e&&(b.e=De(e,Ee("EPSG:4326"))),d=Math.cos(bc(b.e(d)[1])),e=ze.radius,"ft"==f&&(e/=.3048),c*=180/(Math.PI*d*e)):(b.e=null,d=Math.cos(bc(d[1])),c*=Math.PI*d*ze.radius/180);d=b.g*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.g*c)/Math.log(10));;){e=zo[d%3]*Math.pow(10,Math.floor(d/3));g=Math.round(e/c);if(isNaN(g)){Sg(b.ba,!1);b.d=!1;return}if(g>=b.g)break;++d}c=e+f;b.r!=c&&(b.f.innerHTML=c,b.r=c);b.s!=g&&(b.f.style.width=
  g+"px",b.s=g);b.d||(Sg(b.ba,!0),b.d=!0)}};function Bo(b){pc.call(this);this.b=b;this.a={}}u(Bo,pc);var Co=[];Bo.prototype.Ka=function(b,c,d,e){ga(c)||(c&&(Co[0]=c.toString()),c=Co);for(var f=0;f<c.length;f++){var g=z(b,c[f],d||this.handleEvent,e||!1,this.b||this);if(!g)break;this.a[g.key]=g}return this};
  Bo.prototype.Ae=function(b,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)this.Ae(b,c[g],d,e,f);else d=d||this.handleEvent,f=f||this.b||this,d=Qc(d),e=!!e,c=Ec(b)?Lc(b.cb,String(c),d,e,f):b?(b=Sc(b))?Lc(b,c,d,e,f):null:null,c&&(Yc(c),delete this.a[c.key]);return this};function Do(b){ob(b.a,Yc);b.a={}}Bo.prototype.L=function(){Bo.Q.L.call(this);Do(this)};Bo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Eo(b,c,d){jd.call(this);this.target=b;this.handle=c||b;this.a=d||new Gg(NaN,NaN,NaN,NaN);this.d=zf(b);this.b=new Bo(this);sc(this,this.b);z(this.handle,["touchstart","mousedown"],this.Ye,!1,this)}u(Eo,jd);var Fo=Hb||Ib&&Tb("1.9.3");l=Eo.prototype;l.clientX=0;l.clientY=0;l.screenX=0;l.screenY=0;l.Yf=0;l.Zf=0;l.oc=0;l.pc=0;l.Sb=!1;l.L=function(){Eo.Q.L.call(this);Xc(this.handle,["touchstart","mousedown"],this.Ye,!1,this);Do(this.b);Fo&&this.d.releaseCapture();this.handle=this.target=null};
  l.Ye=function(b){var c="mousedown"==b.type;if(this.Sb||c&&!Cc(b))this.dispatchEvent("earlycancel");else if(Go(b),this.dispatchEvent(new Ho("start",this,b.clientX,b.clientY))){this.Sb=!0;b.preventDefault();var c=this.d,d=c.documentElement,e=!Fo;this.b.Ka(c,["touchmove","mousemove"],this.ci,e);this.b.Ka(c,["touchend","mouseup"],this.od,e);Fo?(d.setCapture(!1),this.b.Ka(d,"losecapture",this.od)):this.b.Ka(c?c.parentWindow||c.defaultView:window,"blur",this.od);this.e&&this.b.Ka(this.e,"scroll",this.ok,
  e);this.clientX=this.Yf=b.clientX;this.clientY=this.Zf=b.clientY;this.screenX=b.screenX;this.screenY=b.screenY;this.oc=this.target.offsetLeft;this.pc=this.target.offsetTop;this.c=Sf(xf(this.d));ua()}};l.od=function(b){Do(this.b);Fo&&this.d.releaseCapture();if(this.Sb){Go(b);this.Sb=!1;var c=Io(this,this.oc),d=Jo(this,this.pc);this.dispatchEvent(new Ho("end",this,b.clientX,b.clientY,0,c,d))}else this.dispatchEvent("earlycancel")};
  function Go(b){var c=b.type;"touchstart"==c||"touchmove"==c?Ac(b,b.a.targetTouches[0],b.d):"touchend"!=c&&"touchcancel"!=c||Ac(b,b.a.changedTouches[0],b.d)}
  l.ci=function(b){Go(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.Sb){var e=this.Yf-this.clientX,f=this.Zf-this.clientY;if(0<e*e+f*f)if(this.dispatchEvent(new Ho("start",this,b.clientX,b.clientY)))this.Sb=!0;else{this.Qa||this.od(b);return}}d=Ko(this,c,d);c=d.x;d=d.y;this.Sb&&this.dispatchEvent(new Ho("beforedrag",this,b.clientX,b.clientY,0,c,d))&&(Lo(this,b,c,d),b.preventDefault())};
  function Ko(b,c,d){var e=Sf(xf(b.d));c+=e.x-b.c.x;d+=e.y-b.c.y;b.c=e;b.oc+=c;b.pc+=d;c=Io(b,b.oc);b=Jo(b,b.pc);return new vf(c,b)}l.ok=function(b){var c=Ko(this,0,0);b.clientX=this.clientX;b.clientY=this.clientY;Lo(this,b,c.x,c.y)};function Lo(b,c,d,e){b.target.style.left=d+"px";b.target.style.top=e+"px";b.dispatchEvent(new Ho("drag",b,c.clientX,c.clientY,0,d,e))}
  function Io(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 Jo(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 Ho(b,c,d,e,f,g,h){uc.call(this,b);this.clientX=d;this.clientY=e;this.left=m(g)?g:c.oc;this.top=m(h)?h:c.pc}u(Ho,uc);function Mo(b){b=m(b)?b:{};this.e=void 0;this.f=No;this.g=null;this.j=!1;var c=m(b.className)?b.className:"ol-zoomslider";b=Ff("DIV",[c+"-thumb","ol-unselectable"]);c=Ff("DIV",[c,"ol-unselectable","ol-control"],b);this.d=new Eo(b);sc(this,this.d);z(this.d,"start",this.Mh,!1,this);z(this.d,"drag",this.Kh,!1,this);z(this.d,"end",this.Lh,!1,this);z(c,"click",this.Jh,!1,this);z(b,"click",vc);$g.call(this,{element:c})}u(Mo,$g);var No=0;l=Mo.prototype;
  l.setMap=function(b){Mo.Q.setMap.call(this,b);null===b||b.U()};
  l.Jb=function(b){if(null!==b.frameState){if(!this.j){var c=this.element,d=Qg(c),e=Of(c),c=Vg(e,"margin"),f=new wf(e.offsetWidth,e.offsetHeight),e=f.width+c.right+c.left,c=f.height+c.top+c.bottom;this.g=[e,c];e=d.width-e;c=d.height-c;d.width>d.height?(this.f=1,d=new Gg(0,0,e,0)):(this.f=No,d=new Gg(0,0,0,c));this.d.a=d||new Gg(NaN,NaN,NaN,NaN);this.j=!0}b=b.frameState.viewState.resolution;b!==this.e&&(this.e=b,b=1-Ze(this.a.a())(b),d=this.d,c=Of(this.element),1==this.f?Kg(c,d.a.left+d.a.width*b):Kg(c,
  d.a.left,d.a.top+d.a.height*b))}};l.Jh=function(b){var c=this.a,d=c.a(),e=d.d();c.Ra(jf({resolution:e,duration:200,easing:cf}));b=Oo(this,b.offsetX-this.g[0]/2,b.offsetY-this.g[1]/2);b=Po(this,b);d.c(d.constrainResolution(b))};l.Mh=function(){bf(this.a.a(),1)};l.Kh=function(b){b=Oo(this,b.left,b.top);this.e=Po(this,b);this.a.a().c(this.e)};l.Lh=function(){var b=this.a,c=b.a();bf(c,-1);b.Ra(jf({resolution:this.e,duration:200,easing:cf}));b=c.constrainResolution(this.e);c.c(b)};
  function Oo(b,c,d){var e=b.d.a;return Zb(1===b.f?(c-e.left)/e.width:(d-e.top)/e.height,0,1)}function Po(b,c){return Ye(b.a.a())(1-c)};function Qo(b){b=m(b)?b:{};this.d=m(b.extent)?b.extent:null;var c=m(b.className)?b.className:"ol-zoom-extent",d=Ff("BUTTON",{type:"button",title:m(b.tipLabel)?b.tipLabel:"Fit to extent"});z(d,"click",this.e,!1,this);z(d,["mouseout",xc],function(){this.blur()},!1);c=Ff("DIV",c+" ol-unselectable ol-control",d);$g.call(this,{element:c,target:b.target})}u(Qo,$g);Qo.prototype.e=function(b){b.preventDefault();var c=this.a;b=c.a();var d=null===this.d?b.q.t():this.d,c=c.e();b.be(d,c)};function Q(b){td.call(this);b=m(b)?b:{};this.a=null;z(this,xd("tracking"),this.n,!1,this);this.d(m(b.tracking)?b.tracking:!1)}u(Q,td);Q.prototype.L=function(){this.d(!1);Q.Q.L.call(this)};
  Q.prototype.j=function(b){b=b.a;if(null!=b.alpha){var c=bc(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",bc(b.webkitCompassHeading))}null!=b.beta&&this.set("beta",bc(b.beta));null!=b.gamma&&this.set("gamma",bc(b.gamma));this.l()};Q.prototype.e=function(){return this.get("alpha")};Q.prototype.getAlpha=Q.prototype.e;Q.prototype.f=function(){return this.get("beta")};
  Q.prototype.getBeta=Q.prototype.f;Q.prototype.g=function(){return this.get("gamma")};Q.prototype.getGamma=Q.prototype.g;Q.prototype.i=function(){return this.get("heading")};Q.prototype.getHeading=Q.prototype.i;Q.prototype.c=function(){return this.get("tracking")};Q.prototype.getTracking=Q.prototype.c;Q.prototype.n=function(){if(eg){var b=this.c();b&&null===this.a?this.a=z(ba,"deviceorientation",this.j,!1,this):b||null===this.a||(Yc(this.a),this.a=null)}};
  Q.prototype.d=function(b){this.set("tracking",b)};Q.prototype.setTracking=Q.prototype.d;function Ro(b){td.call(this);this.i=b;z(this.i,["change","input"],this.g,!1,this);z(this,xd("value"),this.n,!1,this);z(this,xd("checked"),this.f,!1,this)}u(Ro,td);Ro.prototype.a=function(){return this.get("checked")};Ro.prototype.getChecked=Ro.prototype.a;Ro.prototype.d=function(){return this.get("value")};Ro.prototype.getValue=Ro.prototype.d;Ro.prototype.e=function(b){this.set("value",b)};Ro.prototype.setValue=Ro.prototype.e;Ro.prototype.c=function(b){this.set("checked",b)};
  Ro.prototype.setChecked=Ro.prototype.c;Ro.prototype.g=function(){var b=this.i;"checkbox"===b.type||"radio"===b.type?this.c(b.checked):this.e(b.value)};Ro.prototype.f=function(){this.i.checked=this.a()};Ro.prototype.n=function(){this.i.value=this.d()};function R(b){td.call(this);this.X=void 0;this.d="geometry";this.g=null;this.a=void 0;this.f=null;z(this,xd(this.d),this.pd,!1,this);m(b)&&(b instanceof Bk||null===b?this.Oa(b):this.G(b))}u(R,td);R.prototype.clone=function(){var b=new R(this.K());b.e(this.d);var c=this.N();null!=c&&b.Oa(c.clone());c=this.g;null===c||b.i(c);return b};R.prototype.N=function(){return this.get(this.d)};R.prototype.getGeometry=R.prototype.N;l=R.prototype;l.hh=function(){return this.X};l.gh=function(){return this.d};
  l.Ni=function(){return this.g};l.Oi=function(){return this.a};l.Uh=function(){this.l()};l.pd=function(){null!==this.f&&(Yc(this.f),this.f=null);var b=this.N();null!=b&&(this.f=z(b,"change",this.Uh,!1,this),this.l())};l.Oa=function(b){this.set(this.d,b)};R.prototype.setGeometry=R.prototype.Oa;R.prototype.i=function(b){this.g=b;null===b?b=void 0:ka(b)||(b=ga(b)?b:[b],b=bd(b));this.a=b;this.l()};R.prototype.c=function(b){this.X=b;this.l()};
  R.prototype.e=function(b){Xc(this,xd(this.d),this.pd,!1,this);this.d=b;z(this,xd(this.d),this.pd,!1,this);this.pd()};function So(b){b=m(b)?b:{};this.g=this.c=this.e=this.b=this.d=this.a=null;this.f=void 0;this.mf(m(b.style)?b.style:Hl);m(b.features)?ga(b.features)?this.Oc(new B(cb(b.features))):this.Oc(b.features):this.Oc(new B);m(b.map)&&this.setMap(b.map)}l=So.prototype;l.kf=function(b){this.a.push(b)};l.Ii=function(){return this.a};l.lf=function(){To(this)};l.Sh=function(b){b=b.element;this.b[ma(b).toString()]=z(b,"change",this.lf,!1,this);To(this)};
  l.Th=function(b){b=ma(b.element).toString();Yc(this.b[b]);delete this.b[b];To(this)};l.Li=function(){To(this)};l.Mi=function(b){if(null!==this.a){var c=this.f;m(c)||(c=Hl);var d=b.a;b=b.frameState;var e=b.viewState.resolution,f=an(e,b.pixelRatio),g,h,k,n;this.a.forEach(function(b){n=b.a;k=m(n)?n.call(b,e):c(b,e);if(null!=k)for(h=k.length,g=0;g<h;++g)bn(d,b,k[g],f,this.Li,this)},this)}};l.wd=function(b){this.a.remove(b)};function To(b){null===b.e||b.e.U()}
  l.Oc=function(b){null!==this.d&&(Ta(this.d,Yc),this.d=null);null!==this.b&&(Ta(rb(this.b),Yc),this.b=null);this.a=b;null!==b&&(this.d=[z(b,"add",this.Sh,!1,this),z(b,"remove",this.Th,!1,this)],this.b={},b.forEach(function(b){this.b[ma(b).toString()]=z(b,"change",this.lf,!1,this)},this));To(this)};l.setMap=function(b){null!==this.c&&(Yc(this.c),this.c=null);To(this);this.e=b;null!==b&&(this.c=z(b,"postcompose",this.Mi,!1,this),b.U())};l.mf=function(b){this.g=b;this.f=Fl(b);To(this)};l.Ji=function(){return this.g};
  l.Ki=function(){return this.f};function Uo(){this.defaultDataProjection=null}function Vo(b,c,d){var e;m(d)&&(e={dataProjection:m(d.dataProjection)?d.dataProjection:b.Aa(c),featureProjection:d.featureProjection});return Wo(b,e)}function Wo(b,c){var d;m(c)&&(d={featureProjection:c.featureProjection,dataProjection:null!=c.dataProjection?c.dataProjection:b.defaultDataProjection});return d}
  function Xo(b,c,d){var e=m(d)?Ee(d.featureProjection):null;d=m(d)?Ee(d.dataProjection):null;return null===e||null===d||Ue(e,d)?b:b instanceof Bk?(c?b.clone():b).f(c?e:d,c?d:e):Xe(c?cb(b):b,c?e:d,c?d:e)};var Yo=ba.JSON.parse,Zo=ba.JSON.stringify;function $o(){this.defaultDataProjection=null}u($o,Uo);function ap(b){return la(b)?b:ia(b)?(b=Yo(b),m(b)?b:null):null}l=$o.prototype;l.H=function(){return"json"};l.Ob=function(b,c){return bp(this,ap(b),Vo(this,b,c))};l.ka=function(b,c){return this.d(ap(b),Vo(this,b,c))};l.Lc=function(b,c){var d=ap(b),e=Vo(this,b,c);return cp(d,e)};l.Aa=function(b){b=ap(b).crs;return null!=b?"name"==b.type?Ee(b.properties.name):"EPSG"==b.type?Ee("EPSG:"+b.properties.code):null:this.defaultDataProjection};
  l.Kd=function(b,c){return Zo(this.a(b,c))};l.Rb=function(b,c){return Zo(this.c(b,c))};l.Sc=function(b,c){return Zo(this.e(b,c))};function dp(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee(null!=b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.b=b.geometryName}u(dp,$o);function cp(b,c){return null===b?null:Xo((0,ep[b.type])(b),!1,c)}
  var ep={Point:function(b){return new Zk(b.coordinates)},LineString:function(b){return new M(b.coordinates)},Polygon:function(b){return new H(b.coordinates)},MultiPoint:function(b){return new Wm(b.coordinates)},MultiLineString:function(b){return new Tm(b.coordinates)},MultiPolygon:function(b){return new Xm(b.coordinates)},GeometryCollection:function(b,c){var d=Va(b.geometries,function(b){return cp(b,c)});return new Lm(d)}},fp={Point:function(b){return{type:"Point",coordinates:b.J()}},LineString:function(b){return{type:"LineString",
  coordinates:b.J()}},Polygon:function(b){return{type:"Polygon",coordinates:b.J()}},MultiPoint:function(b){return{type:"MultiPoint",coordinates:b.J()}},MultiLineString:function(b){return{type:"MultiLineString",coordinates:b.J()}},MultiPolygon:function(b){return{type:"MultiPolygon",coordinates:b.J()}},GeometryCollection:function(b,c){return{type:"GeometryCollection",geometries:Va(b.e,function(b){return(0,fp[b.H()])(Xo(b,!0,c))})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};
  function bp(b,c,d){d=cp(c.geometry,d);var e=new R;m(b.b)&&e.e(b.b);e.Oa(d);m(c.id)&&e.c(c.id);m(c.properties)&&e.G(c.properties);return e}dp.prototype.d=function(b,c){if("Feature"==b.type)return[bp(this,b,c)];if("FeatureCollection"==b.type){var d=[],e=b.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(bp(this,e[f],c));return d}return[]};
  dp.prototype.a=function(b,c){c=Wo(this,c);var d={type:"Feature"},e=b.X;null!=e&&(d.id=e);e=b.N();null!=e&&(e=(0,fp[e.H()])(Xo(e,!0,c)),d.geometry=e);e=b.K();zb(e,b.d);xb(e)||(d.properties=e);return d};dp.prototype.c=function(b,c){c=Wo(this,c);var d=[],e,f;e=0;for(f=b.length;e<f;++e)d.push(this.a(b[e],c));return{type:"FeatureCollection",features:d}};dp.prototype.e=function(b,c){return(0,fp[b.H()])(Xo(b,!0,Wo(this,c)))};function gp(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 hp;a:if(document.implementation&&document.implementation.createDocument)hp=document.implementation.createDocument("","",null);else{if("undefined"!=typeof ActiveXObject){var ip=new ActiveXObject("MSXML2.DOMDocument");if(ip){ip.resolveExternals=!1;ip.validateOnParse=!1;try{ip.setProperty("ProhibitDTD",!0),ip.setProperty("MaxXMLSize",2048),ip.setProperty("MaxElementDepth",256)}catch(jp){}}if(ip){hp=ip;break a}}throw Error("Your browser does not support creating new documents");}var kp=hp;
  function lp(b,c){return kp.createElementNS(b,c)}function mp(b,c){null===b&&(b="");return kp.createNode(1,c,b)}var np=document.implementation&&document.implementation.createDocument?lp:mp;function op(b,c){return pp(b,c,[]).join("")}function pp(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)pp(b,c,d);return d}function qp(b){return b.localName}
  function rp(b){var c=b.localName;return m(c)?c:b.baseName}var sp=Hb?rp:qp;function tp(b){return b instanceof Document}function up(b){return la(b)&&9==b.nodeType}var vp=Hb?up:tp;function wp(b){return b instanceof Node}function xp(b){return la(b)&&m(b.nodeType)}var yp=Hb?xp:wp;function zp(b,c,d){return b.getAttributeNS(c,d)||""}function Ap(b,c,d){var e="";b=Bp(b,c,d);m(b)&&(e=b.nodeValue);return e}var Cp=document.implementation&&document.implementation.createDocument?zp:Ap;
  function Dp(b,c,d){return b.getAttributeNodeNS(c,d)}function Ep(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 Bp=document.implementation&&document.implementation.createDocument?Dp:Ep;function Fp(b,c,d,e){b.setAttributeNS(c,d,e)}function Gp(b,c,d,e){null===c?b.setAttribute(d,e):(c=b.ownerDocument.createNode(2,d,c),c.nodeValue=e,b.setAttributeNode(c))}
  var Hp=document.implementation&&document.implementation.createDocument?Fp:Gp;function Ip(b){return(new DOMParser).parseFromString(b,"application/xml")}function Jp(b,c){return function(d,e){var f=b.call(c,d,e);m(f)&&db(e[e.length-1],f)}}function Kp(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 Lp(b,c){return function(d,e){var f=b.call(m(c)?c:this,d,e);m(f)&&(e[e.length-1]=f)}}
  function Mp(b){return function(c,d){var e=b.call(m(void 0)?void 0:this,c,d);m(e)&&Bb(d[d.length-1],m(void 0)?void 0:c.localName).push(e)}}function S(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 Np(b,c,d){return Op(b,c,d)}function V(b,c){return function(d,e,f){b.call(m(c)?c:this,d,e,f);f[f.length-1].node.appendChild(d)}}
  function Pp(b){var c,d;return function(e,f,g){if(!m(c)){c={};var h={};h[e.localName]=b;c[e.namespaceURI]=h;d=Qp(e.localName)}Rp(c,d,f,g)}}function Qp(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 np(f,e)}}var Sp=Qp();function Tp(b,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=b[c[f]];return e}function Op(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 Up(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 W(b,c,d,e,f){e.push(b);Up(c,d,e,f);return e.pop()}function Rp(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 Vp(b,c,d,e,f,g,h){f.push(b);Rp(c,d,e,f,g,h);f.pop()};function Wp(){this.defaultDataProjection=null}u(Wp,Uo);l=Wp.prototype;l.H=function(){return"xml"};l.Ob=function(b,c){if(vp(b))return Xp(this,b,c);if(yp(b))return this.Jf(b,c);if(ia(b)){var d=Ip(b);return Xp(this,d,c)}return null};function Xp(b,c,d){b=Yp(b,c,d);return 0<b.length?b[0]:null}l.ka=function(b,c){if(vp(b))return Yp(this,b,c);if(yp(b))return this.Pb(b,c);if(ia(b)){var d=Ip(b);return Yp(this,d,c)}return[]};
  function Yp(b,c,d){var e=[];for(c=c.firstChild;null!==c;c=c.nextSibling)1==c.nodeType&&db(e,b.Pb(c,d));return e}l.Lc=function(b,c){if(vp(b))return this.i(b,c);if(yp(b)){var d=this.Cd(b,[Vo(this,b,m(c)?c:{})]);return m(d)?d:null}return ia(b)?(d=Ip(b),this.i(d,c)):null};l.Aa=function(b){return vp(b)?this.Nc(b):yp(b)?this.tc(b):ia(b)?(b=Ip(b),this.Nc(b)):null};l.Kd=function(b,c){var d=this.p(b,c);return gp(d)};l.Rb=function(b,c){var d=this.a(b,c);return gp(d)};l.Sc=function(b,c){var d=this.o(b,c);return gp(d)};function Zp(b){b=m(b)?b:{};this.featureType=b.featureType;this.featureNS=b.featureNS;this.srsName=b.srsName;this.schemaLocation="";this.defaultDataProjection=null}u(Zp,Wp);l=Zp.prototype;
  l.ke=function(b,c){var d=sp(b),e;if("FeatureCollection"==d)e=W(null,this.Od,b,c,this);else if("featureMembers"==d||"featureMember"==d){e=c[0];var f=y(e,"featureType");if(!m(f)&&null!==b.firstElementChild){var g=b.firstElementChild,f=g.nodeName.split(":").pop();e.featureType=f;e.featureNS=g.namespaceURI}var g={},h={};g[f]="featureMembers"==d?Kp(this.te,this):Lp(this.te,this);h[y(e,"featureNS")]=g;e=W([],h,b,c)}m(e)||(e=[]);return e};
  l.Od=Object({"http://www.opengis.net/gml":{featureMember:Kp(Zp.prototype.ke),featureMembers:Lp(Zp.prototype.ke)}});l.Cd=function(b,c){var d=c[0],e=b.firstElementChild.getAttribute("srsName");d.srsName=e;e=W(null,this.Ge,b,c,this);if(null!=e)return Xo(e,!1,d)};
  l.te=function(b,c){var d,e=b.getAttribute("fid")||Cp(b,"http://www.opengis.net/gml","id"),f={},g;for(d=b.firstElementChild;null!==d;d=d.nextElementSibling){var h=sp(d);if(0===d.childNodes.length||1===d.childNodes.length&&3===d.firstChild.nodeType){var k=op(d,!1);/^[\s\xa0]*$/.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.Cd(d,c)}d=new R(f);m(g)&&d.e(g);e&&d.c(e);return d};l.Pf=function(b,c){var d=this.Bd(b,c);if(null!=d){var e=new Zk(null);$k(e,"XYZ",d);return e}};
  l.Nf=function(b,c){var d=W([],this.tg,b,c,this);if(m(d))return new Wm(d)};l.Mf=function(b,c){var d=W([],this.sg,b,c,this);if(m(d)){var e=new Tm(null);Vm(e,d);return e}};l.Of=function(b,c){var d=W([],this.ug,b,c,this);if(m(d)){var e=new Xm(null);Zm(e,d);return e}};l.Ef=function(b,c){Up(this.xg,b,c,this)};l.ef=function(b,c){Up(this.qg,b,c,this)};l.Ff=function(b,c){Up(this.yg,b,c,this)};l.Dd=function(b,c){var d=this.Bd(b,c);if(null!=d){var e=new M(null);Sm(e,"XYZ",d);return e}};
  l.Ek=function(b,c){var d=W(null,this.Uc,b,c,this);if(null!=d)return d};l.Lf=function(b,c){var d=this.Bd(b,c);if(m(d)){var e=new Xk(null);Yk(e,"XYZ",d);return e}};l.Ed=function(b,c){var d=W([null],this.Pd,b,c,this);if(m(d)&&null!==d[0]){var e=new H(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)db(f,d[h]),g.push(f.length);kl(e,"XYZ",f,g);return e}};l.Bd=function(b,c){return W(null,this.Uc,b,c,this)};l.tg=Object({"http://www.opengis.net/gml":{pointMember:Kp(Zp.prototype.Ef),pointMembers:Kp(Zp.prototype.Ef)}});
  l.sg=Object({"http://www.opengis.net/gml":{lineStringMember:Kp(Zp.prototype.ef),lineStringMembers:Kp(Zp.prototype.ef)}});l.ug=Object({"http://www.opengis.net/gml":{polygonMember:Kp(Zp.prototype.Ff),polygonMembers:Kp(Zp.prototype.Ff)}});l.xg=Object({"http://www.opengis.net/gml":{Point:Kp(Zp.prototype.Bd)}});l.qg=Object({"http://www.opengis.net/gml":{LineString:Kp(Zp.prototype.Dd)}});l.yg=Object({"http://www.opengis.net/gml":{Polygon:Kp(Zp.prototype.Ed)}});l.Vc=Object({"http://www.opengis.net/gml":{LinearRing:Lp(Zp.prototype.Ek)}});
  l.Pb=function(b,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&Eb(d,Vo(this,b,c));return this.ke(b,[d])};l.tc=function(b){return Ee(m(this.n)?this.n:b.firstElementChild.getAttribute("srsName"))};function $p(b){b=op(b,!1);return aq(b)}function aq(b){if(b=/^\s*(true|1)|(false|0)\s*$/.exec(b))return m(b[1])||!1}function bq(b){b=op(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 cq(b){b=op(b,!1);return dq(b)}function dq(b){if(b=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(b))return parseFloat(b[1])}function eq(b){b=op(b,!1);return fq(b)}function fq(b){if(b=/^\s*(\d+)\s*$/.exec(b))return parseInt(b[1],10)}function gq(b){b=op(b,!1);return Aa(b)}function hq(b,c){iq(b,c?"1":"0")}function jq(b,c){b.appendChild(kp.createTextNode(c.toPrecision()))}function kq(b,c){b.appendChild(kp.createTextNode(c.toString()))}function iq(b,c){b.appendChild(kp.createTextNode(c))};function X(b){b=m(b)?b:{};Zp.call(this,b);this.g=m(b.surface)?b.surface:!1;this.c=m(b.curve)?b.curve:!1;this.e=m(b.multiCurve)?b.multiCurve:!0;this.f=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"}u(X,Zp);l=X.prototype;l.Hk=function(b,c){var d=W([],this.rg,b,c,this);if(m(d)){var e=new Tm(null);Vm(e,d);return e}};
  l.Ik=function(b,c){var d=W([],this.vg,b,c,this);if(m(d)){var e=new Xm(null);Zm(e,d);return e}};l.Re=function(b,c){Up(this.ng,b,c,this)};l.$f=function(b,c){Up(this.Bg,b,c,this)};l.Kk=function(b,c){return W([null],this.wg,b,c,this)};l.Mk=function(b,c){return W([null],this.Ag,b,c,this)};l.Lk=function(b,c){return W([null],this.Pd,b,c,this)};l.Gk=function(b,c){return W([null],this.Uc,b,c,this)};l.qi=function(b,c){var d=W(void 0,this.Vc,b,c,this);m(d)&&c[c.length-1].push(d)};
  l.Xg=function(b,c){var d=W(void 0,this.Vc,b,c,this);m(d)&&(c[c.length-1][0]=d)};l.Qf=function(b,c){var d=W([null],this.Cg,b,c,this);if(m(d)&&null!==d[0]){var e=new H(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)db(f,d[h]),g.push(f.length);kl(e,"XYZ",f,g);return e}};l.Hf=function(b,c){var d=W([null],this.og,b,c,this);if(m(d)){var e=new M(null);Sm(e,"XYZ",d);return e}};l.Dk=function(b,c){var d=W([null],this.pg,b,c,this);return Xd(d[1][0],d[1][1],d[2][0],d[2][1])};
  l.Fk=function(b,c){for(var d=op(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=y(c[0],"srsName");e="enu";null===d||(e=Ce(Ee(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.ve=function(b,c){var d=op(b,!1).replace(/^\s*|\s*$/g,""),e=y(c[0],"srsName"),f=b.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=Ce(Ee(e)));d=d.split(/\s+/);e=2;fa(b.getAttribute("srsDimension"))?fa(b.getAttribute("dimension"))?null===f||(e=fq(f)):e=fq(b.getAttribute("dimension")):e=fq(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.Uc=Object({"http://www.opengis.net/gml":{pos:Lp(X.prototype.Fk),posList:Lp(X.prototype.ve)}});l.Pd=Object({"http://www.opengis.net/gml":{interior:X.prototype.qi,exterior:X.prototype.Xg}});
  l.Ge=Object({"http://www.opengis.net/gml":{Point:Lp(Zp.prototype.Pf),MultiPoint:Lp(Zp.prototype.Nf),LineString:Lp(Zp.prototype.Dd),MultiLineString:Lp(Zp.prototype.Mf),LinearRing:Lp(Zp.prototype.Lf),Polygon:Lp(Zp.prototype.Ed),MultiPolygon:Lp(Zp.prototype.Of),Surface:Lp(X.prototype.Qf),MultiSurface:Lp(X.prototype.Ik),Curve:Lp(X.prototype.Hf),MultiCurve:Lp(X.prototype.Hk),Envelope:Lp(X.prototype.Dk)}});l.rg=Object({"http://www.opengis.net/gml":{curveMember:Kp(X.prototype.Re),curveMembers:Kp(X.prototype.Re)}});
  l.vg=Object({"http://www.opengis.net/gml":{surfaceMember:Kp(X.prototype.$f),surfaceMembers:Kp(X.prototype.$f)}});l.ng=Object({"http://www.opengis.net/gml":{LineString:Kp(Zp.prototype.Dd),Curve:Kp(X.prototype.Hf)}});l.Bg=Object({"http://www.opengis.net/gml":{Polygon:Kp(Zp.prototype.Ed),Surface:Kp(X.prototype.Qf)}});l.Cg=Object({"http://www.opengis.net/gml":{patches:Lp(X.prototype.Kk)}});l.og=Object({"http://www.opengis.net/gml":{segments:Lp(X.prototype.Mk)}});
  l.pg=Object({"http://www.opengis.net/gml":{lowerCorner:Kp(X.prototype.ve),upperCorner:Kp(X.prototype.ve)}});l.wg=Object({"http://www.opengis.net/gml":{PolygonPatch:Lp(X.prototype.Lk)}});l.Ag=Object({"http://www.opengis.net/gml":{LineStringSegment:Lp(X.prototype.Gk)}});function lq(b,c,d){d=y(d[d.length-1],"srsName");c=c.J();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=Ce(Ee(d)));f[k]="en"===n.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}iq(b,f.join(" "))}
  l.jg=function(b,c,d){var e=y(d[d.length-1],"srsName");null!=e&&b.setAttribute("srsName",e);e=np(b.namespaceURI,"pos");b.appendChild(e);d=y(d[d.length-1],"srsName");b="enu";null!=d&&(b=Ce(Ee(d)));c=c.J();iq(e,"en"===b.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var mq={"http://www.opengis.net/gml":{lowerCorner:V(iq),upperCorner:V(iq)}};l=X.prototype;
  l.ul=function(b,c,d){var e=y(d[d.length-1],"srsName");m(e)&&b.setAttribute("srsName",e);Vp({node:b},mq,Sp,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)};l.gg=function(b,c,d){var e=y(d[d.length-1],"srsName");null!=e&&b.setAttribute("srsName",e);e=np(b.namespaceURI,"posList");b.appendChild(e);lq(e,c,d)};l.zg=function(b,c){var d=c[c.length-1],e=d.node,f=y(d,"exteriorWritten");m(f)||(d.exteriorWritten=!0);return np(e.namespaceURI,m(f)?"interior":"exterior")};
  l.Nd=function(b,c,d){var e=y(d[d.length-1],"srsName");"PolygonPatch"!==b.nodeName&&null!=e&&b.setAttribute("srsName",e);"Polygon"===b.nodeName||"PolygonPatch"===b.nodeName?(c=c.ed(),Vp({node:b,srsName:e},nq,this.zg,c,d,void 0,this)):"Surface"===b.nodeName&&(e=np(b.namespaceURI,"patches"),b.appendChild(e),b=np(e.namespaceURI,"PolygonPatch"),e.appendChild(b),this.Nd(b,c,d))};
  l.Jd=function(b,c,d){var e=y(d[d.length-1],"srsName");"LineStringSegment"!==b.nodeName&&null!=e&&b.setAttribute("srsName",e);"LineString"===b.nodeName||"LineStringSegment"===b.nodeName?(e=np(b.namespaceURI,"posList"),b.appendChild(e),lq(e,c,d)):"Curve"===b.nodeName&&(e=np(b.namespaceURI,"segments"),b.appendChild(e),b=np(e.namespaceURI,"LineStringSegment"),e.appendChild(b),this.Jd(b,c,d))};
  l.ig=function(b,c,d){var e=d[d.length-1],f=y(e,"srsName"),e=y(e,"surface");null!=f&&b.setAttribute("srsName",f);c=c.jd();Vp({node:b,srsName:f,surface:e},oq,this.d,c,d,void 0,this)};l.yl=function(b,c,d){var e=y(d[d.length-1],"srsName");null!=e&&b.setAttribute("srsName",e);c=c.hd();Vp({node:b,srsName:e},pq,Qp("pointMember"),c,d,void 0,this)};
  l.hg=function(b,c,d){var e=d[d.length-1],f=y(e,"srsName"),e=y(e,"curve");null!=f&&b.setAttribute("srsName",f);c=c.Fc();Vp({node:b,srsName:f,curve:e},qq,this.d,c,d,void 0,this)};l.kg=function(b,c,d){var e=np(b.namespaceURI,"LinearRing");b.appendChild(e);this.gg(e,c,d)};l.lg=function(b,c,d){var e=this.b(c,d);m(e)&&(b.appendChild(e),this.Nd(e,c,d))};l.Bl=function(b,c,d){var e=np(b.namespaceURI,"Point");b.appendChild(e);this.jg(e,c,d)};
  l.fg=function(b,c,d){var e=this.b(c,d);m(e)&&(b.appendChild(e),this.Jd(e,c,d))};l.Md=function(b,c,d){var e=d[d.length-1],f=Cb(e);f.node=b;var g;ga(c)?m(e.dataProjection)?g=Xe(c,e.featureProjection,e.dataProjection):g=c:g=Xo(c,!0,e);Vp(f,rq,this.b,[g],d,void 0,this)};
  l.cg=function(b,c,d){var e=c.X;m(e)&&b.setAttribute("fid",e);var e=d[d.length-1],f=y(e,"featureNS"),g=c.d;m(e.bc)||(e.bc={},e.bc[f]={});var h=c.K();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.bc[f]||(e.bc[f][n]=V(this.Md,this)):n in e.bc[f]||(e.bc[f][n]=V(iq)))}n=Cb(e);n.node=b;Vp(n,e.bc,Qp(void 0,f),k,d,c)};
  var oq={"http://www.opengis.net/gml":{surfaceMember:V(X.prototype.lg),polygonMember:V(X.prototype.lg)}},pq={"http://www.opengis.net/gml":{pointMember:V(X.prototype.Bl)}},qq={"http://www.opengis.net/gml":{lineStringMember:V(X.prototype.fg),curveMember:V(X.prototype.fg)}},nq={"http://www.opengis.net/gml":{exterior:V(X.prototype.kg),interior:V(X.prototype.kg)}},rq={"http://www.opengis.net/gml":{Curve:V(X.prototype.Jd),MultiCurve:V(X.prototype.hg),Point:V(X.prototype.jg),MultiPoint:V(X.prototype.yl),
  LineString:V(X.prototype.Jd),MultiLineString:V(X.prototype.hg),LinearRing:V(X.prototype.gg),Polygon:V(X.prototype.Nd),MultiPolygon:V(X.prototype.ig),Surface:V(X.prototype.Nd),MultiSurface:V(X.prototype.ig),Envelope:V(X.prototype.ul)}},sq={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};X.prototype.d=function(b,c){return np("http://www.opengis.net/gml",sq[c[c.length-1].node.nodeName])};
  X.prototype.b=function(b,c){var d=c[c.length-1],e=y(d,"multiSurface"),f=y(d,"surface"),g=y(d,"curve"),d=y(d,"multiCurve"),h;ga(b)?h="Envelope":(h=b.H(),"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 np("http://www.opengis.net/gml",h)};
  X.prototype.o=function(b,c){c=Wo(this,c);var d=np("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.c,surface:this.g,multiSurface:this.f,multiCurve:this.e};m(c)&&Eb(e,c);this.Md(d,b,[e]);return d};
  X.prototype.a=function(b,c){c=Wo(this,c);var d=np("http://www.opengis.net/gml","featureMembers");Hp(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.c,surface:this.g,multiSurface:this.f,multiCurve:this.e,featureNS:this.featureNS,featureType:this.featureType};m(c)&&Eb(e,c);var e=[e],f=e[e.length-1],g=y(f,"featureType"),h=y(f,"featureNS"),k={};k[h]={};k[h][g]=V(this.cg,this);f=Cb(f);f.node=d;Vp(f,k,Qp(g,h),b,e);return d};function tq(b){b=m(b)?b:{};Zp.call(this,b);this.schemaLocation=m(b.schemaLocation)?b.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}u(tq,Zp);l=tq.prototype;
  l.Kf=function(b,c){var d=op(b,!1).replace(/^\s*|\s*$/g,""),e=y(c[0],"srsName"),f=b.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=Ce(Ee(e)));d=d.split(/[\s,]+/);e=2;fa(b.getAttribute("srsDimension"))?fa(b.getAttribute("dimension"))?null===f||(e=fq(f)):e=fq(b.getAttribute("dimension")):e=fq(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.Ck=function(b,c){var d=W([null],this.mg,b,c,this);return Xd(d[1][0],d[1][1],d[1][3],d[1][4])};l.oi=function(b,c){var d=W(void 0,this.Vc,b,c,this);m(d)&&c[c.length-1].push(d)};l.pk=function(b,c){var d=W(void 0,this.Vc,b,c,this);m(d)&&(c[c.length-1][0]=d)};l.Uc=Object({"http://www.opengis.net/gml":{coordinates:Lp(tq.prototype.Kf)}});l.Pd=Object({"http://www.opengis.net/gml":{innerBoundaryIs:tq.prototype.oi,outerBoundaryIs:tq.prototype.pk}});l.mg=Object({"http://www.opengis.net/gml":{coordinates:Kp(tq.prototype.Kf)}});
  l.Ge=Object({"http://www.opengis.net/gml":{Point:Lp(Zp.prototype.Pf),MultiPoint:Lp(Zp.prototype.Nf),LineString:Lp(Zp.prototype.Dd),MultiLineString:Lp(Zp.prototype.Mf),LinearRing:Lp(Zp.prototype.Lf),Polygon:Lp(Zp.prototype.Ed),MultiPolygon:Lp(Zp.prototype.Of),Box:Lp(tq.prototype.Ck)}});function uq(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee("EPSG:4326");this.b=b.readExtensions}u(uq,Wp);var vq=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function wq(b,c,d){b.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(b.push(y(d,"ele")),zb(d,"ele")):b.push(0);"time"in d?(b.push(y(d,"time")),zb(d,"time")):b.push(0);return b}
  function xq(b,c){var d=c[c.length-1],e=b.getAttribute("href");null!==e&&(d.link=e);Up(yq,b,c)}function zq(b,c){c[c.length-1].extensionsNode_=b}function Aq(b,c){var d=c[0],e=W({flatCoordinates:[]},Bq,b,c);if(m(e)){var f=y(e,"flatCoordinates");zb(e,"flatCoordinates");var g=new M(null);Sm(g,"XYZM",f);Xo(g,!1,d);d=new R(g);d.G(e);return d}}
  function Cq(b,c){var d=c[0],e=W({flatCoordinates:[],ends:[]},Dq,b,c);if(m(e)){var f=y(e,"flatCoordinates");zb(e,"flatCoordinates");var g=y(e,"ends");zb(e,"ends");var h=new Tm(null);Um(h,"XYZM",f,g);Xo(h,!1,d);d=new R(h);d.G(e);return d}}function Eq(b,c){var d=c[0],e=W({},Fq,b,c);if(m(e)){var f=wq([],b,e),f=new Zk(f,"XYZM");Xo(f,!1,d);d=new R(f);d.G(e);return d}}
  var Gq={rte:Aq,trk:Cq,wpt:Eq},Hq=Np(vq,{rte:Kp(Aq),trk:Kp(Cq),wpt:Kp(Eq)}),yq=Np(vq,{text:S(gq,"linkText"),type:S(gq,"linkType")}),Bq=Np(vq,{name:S(gq),cmt:S(gq),desc:S(gq),src:S(gq),link:xq,number:S(eq),extensions:zq,type:S(gq),rtept:function(b,c){var d=W({},Iq,b,c);m(d)&&wq(y(c[c.length-1],"flatCoordinates"),b,d)}}),Iq=Np(vq,{ele:S(cq),time:S(bq)}),Dq=Np(vq,{name:S(gq),cmt:S(gq),desc:S(gq),src:S(gq),link:xq,number:S(eq),type:S(gq),extensions:zq,trkseg:function(b,c){var d=c[c.length-1];Up(Jq,b,c);
  y(d,"ends").push(y(d,"flatCoordinates").length)}}),Jq=Np(vq,{trkpt:function(b,c){var d=W({},Kq,b,c);m(d)&&wq(y(c[c.length-1],"flatCoordinates"),b,d)}}),Kq=Np(vq,{ele:S(cq),time:S(bq)}),Fq=Np(vq,{ele:S(cq),time:S(bq),magvar:S(cq),geoidheight:S(cq),name:S(gq),cmt:S(gq),desc:S(gq),src:S(gq),link:xq,sym:S(gq),type:S(gq),fix:S(gq),sat:S(eq),hdop:S(cq),vdop:S(cq),pdop:S(cq),ageofdgpsdata:S(cq),dgpsid:S(eq),extensions:zq});
  function Lq(b,c){null===c&&(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(m(b.b)){var g=f.get("extensionsNode_")||null;b.b(f,g)}f.set("extensionsNode_",void 0)}}uq.prototype.Jf=function(b,c){if(!Za(vq,b.namespaceURI))return null;var d=Gq[b.localName];if(!m(d))return null;d=d(b,[Vo(this,b,c)]);if(!m(d))return null;Lq(this,[d]);return d};uq.prototype.Pb=function(b,c){if(!Za(vq,b.namespaceURI))return[];if("gpx"==b.localName){var d=W([],Hq,b,[Vo(this,b,c)]);if(m(d))return Lq(this,d),d}return[]};
  uq.prototype.Nc=function(){return this.defaultDataProjection};uq.prototype.tc=function(){return this.defaultDataProjection};function Mq(b,c,d){b.setAttribute("href",c);c=y(d[d.length-1],"properties");Vp({node:b},Nq,Sp,[y(c,"linkText"),y(c,"linkType")],d,Oq)}
  function Pq(b,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=y(e,"properties");Hp(b,null,"lat",c[1]);Hp(b,null,"lon",c[0]);switch(y(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=Qq[f];e=Tp(g,c);Vp({node:b,properties:g},Rq,Sp,e,d,c)}
  var Oq=["text","type"],Nq=Op(vq,{text:V(iq),type:V(iq)}),Sq=Op(vq,"name cmt desc src link number type rtept".split(" ")),Tq=Op(vq,{name:V(iq),cmt:V(iq),desc:V(iq),src:V(iq),link:V(Mq),number:V(kq),type:V(iq),rtept:Pp(V(Pq))}),Uq=Op(vq,"name cmt desc src link number type trkseg".split(" ")),Xq=Op(vq,{name:V(iq),cmt:V(iq),desc:V(iq),src:V(iq),link:V(Mq),number:V(kq),type:V(iq),trkseg:Pp(V(function(b,c,d){Vp({node:b,geometryLayout:c.d,properties:{}},Vq,Wq,c.J(),d)}))}),Wq=Qp("trkpt"),Vq=Op(vq,{trkpt:V(Pq)}),
  Qq=Op(vq,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Rq=Op(vq,{ele:V(jq),time:V(function(b,c){var d=new Date(1E3*c),d=d.getUTCFullYear()+"-"+Ma(d.getUTCMonth()+1)+"-"+Ma(d.getUTCDate())+"T"+Ma(d.getUTCHours())+":"+Ma(d.getUTCMinutes())+":"+Ma(d.getUTCSeconds())+"Z";b.appendChild(kp.createTextNode(d))}),magvar:V(jq),geoidheight:V(jq),name:V(iq),cmt:V(iq),desc:V(iq),src:V(iq),link:V(Mq),sym:V(iq),type:V(iq),fix:V(iq),sat:V(kq),
  hdop:V(jq),vdop:V(jq),pdop:V(jq),ageofdgpsdata:V(jq),dgpsid:V(kq)}),Yq={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Zq(b,c){var d=b.N();if(m(d))return np(c[c.length-1].node.namespaceURI,Yq[d.H()])}
  var $q=Op(vq,{rte:V(function(b,c,d){var e=d[0],f=c.K();b={node:b,properties:f};c=c.N();m(c)&&(c=Xo(c,!0,e),b.geometryLayout=c.d,e=c.J(),f.rtept=e);e=Sq[d[d.length-1].node.namespaceURI];f=Tp(f,e);Vp(b,Tq,Sp,f,d,e)}),trk:V(function(b,c,d){var e=d[0],f=c.K();b={node:b,properties:f};c=c.N();m(c)&&(c=Xo(c,!0,e),e=c.Fc(),f.trkseg=e);e=Uq[d[d.length-1].node.namespaceURI];f=Tp(f,e);Vp(b,Xq,Sp,f,d,e)}),wpt:V(function(b,c,d){var e=d[0],f=d[d.length-1],g=c.K();f.properties=g;c=c.N();m(c)&&(c=Xo(c,!0,e),f.geometryLayout=
  c.d,Pq(b,c.J(),d))})});uq.prototype.a=function(b,c){c=Wo(this,c);var d=np("http://www.topografix.com/GPX/1/1","gpx");Vp({node:d},$q,Zq,b,[c]);return d};function ar(b){b=br(b);return Va(b,function(b){return b.d.substring(b.b,b.a)})}function cr(b,c,d){this.d=b;this.b=c;this.a=d}function br(b){for(var c=RegExp("\r\n|\r|\n","g"),d=0,e,f=[];e=c.exec(b);)d=new cr(b,d,e.index),f.push(d),d=c.lastIndex;d<b.length&&(d=new cr(b,d,b.length),f.push(d));return f};function dr(){this.defaultDataProjection=null}u(dr,Uo);l=dr.prototype;l.H=function(){return"text"};l.Ob=function(b,c){return this.Kc(ia(b)?b:"",Wo(this,c))};l.ka=function(b,c){return this.ue(ia(b)?b:"",Wo(this,c))};l.Lc=function(b,c){return this.Mc(ia(b)?b:"",Wo(this,c))};l.Aa=function(b){return this.xe(ia(b)?b:"")};l.Kd=function(b,c){return this.Ld(b,Wo(this,c))};l.Rb=function(b,c){return this.dg(b,Wo(this,c))};l.Sc=function(b,c){return this.Tc(b,Wo(this,c))};function er(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee("EPSG:4326");this.a=m(b.altitudeMode)?b.altitudeMode:"none"}u(er,dr);var fr=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,gr=/^H.([A-Z]{3}).*?:(.*)/,hr=/^HFDTE(\d{2})(\d{2})(\d{2})/;
  er.prototype.Kc=function(b,c){var d=this.a,e=ar(b),f={},g=[],h=2E3,k=0,n=1,p,q;p=0;for(q=e.length;p<q;++p){var r=e[p],s;if("B"==r.charAt(0)){if(s=fr.exec(r)){var r=parseInt(s[1],10),v=parseInt(s[2],10),x=parseInt(s[3],10),C=parseInt(s[4],10)+parseInt(s[5],10)/6E4;"S"==s[6]&&(C=-C);var E=parseInt(s[7],10)+parseInt(s[8],10)/6E4;"W"==s[9]&&(E=-E);g.push(E,C);"none"!=d&&g.push("gps"==d?parseInt(s[11],10):"barometric"==d?parseInt(s[12],10):0);g.push(Date.UTC(h,k,n,r,v,x)/1E3)}}else if("H"==r.charAt(0))if(s=
  hr.exec(r))n=parseInt(s[1],10),k=parseInt(s[2],10)-1,h=2E3+parseInt(s[3],10);else if(s=gr.exec(r))f[s[1]]=Aa(s[2]),hr.exec(r)}if(0===g.length)return null;e=new M(null);Sm(e,"none"==d?"XYM":"XYZM",g);d=new R(Xo(e,!1,c));d.G(f);return d};er.prototype.ue=function(b,c){var d=this.Kc(b,c);return null===d?[]:[d]};er.prototype.xe=function(){return this.defaultDataProjection};function ir(b){b=m(b)?b:{};this.c=b.font;this.e=b.rotation;this.b=b.scale;this.d=b.text;this.g=b.textAlign;this.o=b.textBaseline;this.a=m(b.fill)?b.fill:null;this.f=m(b.stroke)?b.stroke:null;this.i=m(b.offsetX)?b.offsetX:0;this.n=m(b.offsetY)?b.offsetY:0}l=ir.prototype;l.fh=function(){return this.c};l.sh=function(){return this.i};l.th=function(){return this.n};l.$j=function(){return this.a};l.ak=function(){return this.e};l.bk=function(){return this.b};l.ck=function(){return this.f};l.dk=function(){return this.d};
  l.Ah=function(){return this.g};l.Bh=function(){return this.o};l.al=function(b){this.c=b};l.$k=function(b){this.a=b};l.ek=function(b){this.e=b};l.fk=function(b){this.b=b};l.fl=function(b){this.f=b};l.gl=function(b){this.d=b};l.hl=function(b){this.g=b};l.il=function(b){this.o=b};function jr(b){function c(b){return ga(b)?b:ia(b)?(!(b in e)&&"#"+b in e&&(b="#"+b),c(e[b])):d}b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee("EPSG:4326");var d=m(b.defaultStyle)?b.defaultStyle:kr,e={};this.d=m(b.extractStyles)?b.extractStyles:!0;this.b=e;this.c=function(){var b=this.get("Style");if(m(b))return b;b=this.get("styleUrl");return m(b)?c(b):d}}u(jr,Wp);
  var lr=["http://www.google.com/kml/ext/2.2"],mr=[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"],nr=[255,255,255,1],or=new Cl({color:nr}),pr=[2,20],qr=[32,32],rr=new Pj({anchor:pr,anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:1,size:qr,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),sr=new yl({color:nr,width:1}),tr=new ir({font:"normal 16px Helvetica",
  fill:or,stroke:sr,scale:1}),kr=[new El({fill:or,image:rr,text:tr,stroke:sr,zIndex:0})],ur={fraction:"fraction",pixels:"pixels"};function vr(b){b=op(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 wr(b){b=op(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 xr(b){var c=op(b,!1);return null!=b.baseURI?Mh(b.baseURI,Aa(c)).toString():Aa(c)}function yr(b){b=cq(b);if(m(b))return Math.sqrt(b)}function zr(b,c){return W(null,Ar,b,c)}
  function Br(b,c){var d=W({k:[],bg:[]},Cr,b,c);if(m(d)){var e=d.k,d=d.bg,f,g;f=0;for(g=Math.min(e.length,d.length);f<g;++f)e[4*f+3]=d[f];d=new M(null);Sm(d,"XYZM",e);return d}}function Dr(b,c){var d=W(null,Er,b,c);if(m(d)){var e=new M(null);Sm(e,"XYZ",d);return e}}function Fr(b,c){var d=W(null,Er,b,c);if(m(d)){var e=new H(null);kl(e,"XYZ",d,[d.length]);return e}}
  function Gr(b,c){var d=W([],Hr,b,c);if(!m(d))return null;if(0===d.length)return new Lm(d);var e=!0,f=d[0].H(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.H()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.d;f=g.k;h=1;for(k=d.length;h<k;++h)g=d[h],db(f,g.k);d=new Wm(null);Fk(d,e,f);d.l();return d}return"LineString"==f?(g=new Tm(null),Vm(g,d),g):"Polygon"==f?(g=new Xm(null),Zm(g,d),g):"GeometryCollection"==f?new Lm(d):null}return new Lm(d)}
  function Ir(b,c){var d=W(null,Er,b,c);if(null!=d){var e=new Zk(null);$k(e,"XYZ",d);return e}}function Jr(b,c){var d=W([null],Kr,b,c);if(null!=d&&null!==d[0]){var e=new H(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)db(f,d[h]),g.push(f.length);kl(e,"XYZ",f,g);return e}}
  function Lr(b,c){var d=W({},Mr,b,c);if(!m(d))return null;var e=y(d,"fillStyle",or),f=y(d,"fill");m(f)&&!f&&(e=null);var f=y(d,"imageStyle",rr),g=y(d,"textStyle",tr),h=y(d,"strokeStyle",sr),d=y(d,"outline");m(d)&&!d&&(h=null);return[new El({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]}
  var Nr=Np(mr,{value:Lp(gq)}),Pr=Np(mr,{Data:function(b,c){var d=b.getAttribute("name");if(null!==d){var e=W(void 0,Nr,b,c);m(e)&&(c[c.length-1][d]=e)}},SchemaData:function(b,c){Up(Or,b,c)}}),Ar=Np(mr,{coordinates:Lp(wr)}),Kr=Np(mr,{innerBoundaryIs:function(b,c){var d=W(void 0,Qr,b,c);m(d)&&c[c.length-1].push(d)},outerBoundaryIs:function(b,c){var d=W(void 0,Rr,b,c);m(d)&&(c[c.length-1][0]=d)}}),Cr=Np(mr,{when:function(b,c){var d=c[c.length-1].bg,e=op(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)}},Np(lr,{coord:function(b,c){var d=c[c.length-1].k,e=op(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)}})),Er=Np(mr,{coordinates:Lp(wr)}),Sr=Np(mr,{href:S(xr)},Np(lr,{x:S(cq),y:S(cq),w:S(cq),h:S(cq)})),Tr=Np(mr,{Icon:S(function(b,c){var d=W({},Sr,b,c);return m(d)?d:null}),heading:S(cq),hotSpot:S(function(b){var c=b.getAttribute("xunits"),d=b.getAttribute("yunits");return{x:parseFloat(b.getAttribute("x")),Ee:ur[c],y:parseFloat(b.getAttribute("y")),Fe:ur[d]}}),scale:S(yr)}),Qr=Np(mr,{LinearRing:Lp(zr)}),Ur=Np(mr,{color:S(vr),
  scale:S(yr)}),Vr=Np(mr,{color:S(vr),width:S(cq)}),Hr=Np(mr,{LineString:Kp(Dr),LinearRing:Kp(Fr),MultiGeometry:Kp(Gr),Point:Kp(Ir),Polygon:Kp(Jr)}),Wr=Np(lr,{Track:Kp(Br)}),Rr=Np(mr,{LinearRing:Lp(zr)}),Xr=Np(mr,{Style:S(Lr),key:S(gq),styleUrl:S(function(b){var c=Aa(op(b,!1));return null!=b.baseURI?Mh(b.baseURI,c).toString():c})}),Zr=Np(mr,{ExtendedData:function(b,c){Up(Pr,b,c)},MultiGeometry:S(Gr,"geometry"),LineString:S(Dr,"geometry"),LinearRing:S(Fr,"geometry"),Point:S(Ir,"geometry"),Polygon:S(Jr,
  "geometry"),Style:S(Lr),StyleMap:function(b,c){var d=W(void 0,Yr,b,c);if(m(d)){var e=c[c.length-1];ga(d)?e.Style=d:ia(d)&&(e.styleUrl=d)}},address:S(gq),description:S(gq),name:S(gq),open:S($p),phoneNumber:S(gq),styleUrl:S(xr),visibility:S($p)},Np(lr,{MultiTrack:S(function(b,c){var d=W([],Wr,b,c);if(m(d)){var e=new Tm(null);Vm(e,d);return e}},"geometry"),Track:S(Br,"geometry")})),$r=Np(mr,{color:S(vr),fill:S($p),outline:S($p)}),Or=Np(mr,{SimpleData:function(b,c){var d=b.getAttribute("name");if(null!==
  d){var e=gq(b);c[c.length-1][d]=e}}}),Mr=Np(mr,{IconStyle:function(b,c){var d=W({},Tr,b,c);if(m(d)){var e=c[c.length-1],f=y(d,"Icon",{}),g;g=y(f,"href");g=m(g)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,n,p=y(d,"hotSpot");m(p)?(h=[p.x,p.y],k=p.Ee,n=p.Fe):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=pr,n=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&(h=[.5,0],n=k="fraction");var q,p=y(f,"x"),r=y(f,"y");m(p)&&m(r)&&(q=[p,r]);
  var s,p=y(f,"w"),f=y(f,"h");m(p)&&m(f)&&(s=[p,f]);var v,f=y(d,"heading");m(f)&&(v=bc(f));d=y(d,"scale");"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(s=qr);h=new Pj({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:n,crossOrigin:"anonymous",offset:q,offsetOrigin:"bottom-left",rotation:v,scale:d,size:s,src:g});e.imageStyle=h}},LabelStyle:function(b,c){var d=W({},Ur,b,c);m(d)&&(c[c.length-1].textStyle=new ir({fill:new Cl({color:y(d,"color",nr)}),scale:y(d,"scale")}))},
  LineStyle:function(b,c){var d=W({},Vr,b,c);m(d)&&(c[c.length-1].strokeStyle=new yl({color:y(d,"color",nr),width:y(d,"width",1)}))},PolyStyle:function(b,c){var d=W({},$r,b,c);if(m(d)){var e=c[c.length-1];e.fillStyle=new Cl({color:y(d,"color",nr)});var f=y(d,"fill");m(f)&&(e.fill=f);d=y(d,"outline");m(d)&&(e.outline=d)}}}),Yr=Np(mr,{Pair:function(b,c){var d=W({},Xr,b,c);if(m(d)){var e=y(d,"key");m(e)&&"normal"==e&&(e=y(d,"styleUrl"),m(e)&&(c[c.length-1]=e),d=y(d,"Style"),m(d)&&(c[c.length-1]=d))}}});
  l=jr.prototype;l.If=function(b,c){sp(b);var d=Np(mr,{Folder:Jp(this.If,this),Placemark:Kp(this.we,this),Style:sa(this.Ok,this),StyleMap:sa(this.Nk,this)}),d=W([],d,b,c,this);if(m(d))return d};l.we=function(b,c){var d=W({geometry:null},Zr,b,c);if(m(d)){var e=new R,f=b.getAttribute("id");null===f||e.c(f);f=c[0];null!=d.geometry&&Xo(d.geometry,!1,f);e.G(d);this.d&&e.i(this.c);return e}};
  l.Ok=function(b,c){var d=b.getAttribute("id");if(null!==d){var e=Lr(b,c);m(e)&&(d=null!=b.baseURI?Mh(b.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Nk=function(b,c){var d=b.getAttribute("id");if(null!==d){var e=W(void 0,Yr,b,c);m(e)&&(d=null!=b.baseURI?Mh(b.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Jf=function(b,c){if(!Za(mr,b.namespaceURI))return null;var d=this.we(b,[Vo(this,b,c)]);return m(d)?d:null};
  l.Pb=function(b,c){if(!Za(mr,b.namespaceURI))return[];var d;d=sp(b);if("Document"==d||"Folder"==d)return d=this.If(b,[Vo(this,b,c)]),m(d)?d:[];if("Placemark"==d)return d=this.we(b,[Vo(this,b,c)]),m(d)?[d]:[];if("kml"==d){d=[];var e;for(e=b.firstElementChild;null!==e;e=e.nextElementSibling){var f=this.Pb(e,c);m(f)&&db(d,f)}return d}return[]};l.Jk=function(b){if(vp(b))return as(this,b);if(yp(b))return bs(this,b);if(ia(b))return b=Ip(b),as(this,b)};
  function as(b,c){var d;for(d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType){var e=bs(b,d);if(m(e))return e}}function bs(b,c){var d;for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)if(Za(mr,d.namespaceURI)&&"name"==d.localName)return gq(d);for(d=c.firstElementChild;null!==d;d=d.nextElementSibling){var e=sp(d);if(Za(mr,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=bs(b,d),m(e)))return e}}l.Nc=function(){return this.defaultDataProjection};l.tc=function(){return this.defaultDataProjection};
  function cs(b,c){var d=ug(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}iq(b,d.join(""))}function ds(b,c,d){Vp({node:b},es,fs,[c],d)}
  function gs(b,c,d){var e={node:b};null!=c.X&&b.setAttribute("id",c.X);b=c.K();var f=c.a;m(f)&&(f=f.call(c,0),null!==f&&0<f.length&&(b.Style=f[0],f=f[0].b,null!==f&&(b.name=f.d)));f=hs[d[d.length-1].node.namespaceURI];b=Tp(b,f);Vp(e,is,Sp,b,d,f);b=d[0];c=c.N();null!=c&&(c=Xo(c,!0,b));Vp(e,is,js,[c],d)}function ks(b,c,d){var e=c.k;b={node:b};b.layout=c.d;b.stride=c.a;Vp(b,ls,ms,[e],d)}function ns(b,c,d){c=c.ed();var e=c.shift();b={node:b};Vp(b,os,ps,c,d);Vp(b,os,qs,[e],d)}
  function rs(b,c){jq(b,c*c)}
  var ss=Op(mr,["Document","Placemark"]),vs=Op(mr,{Document:V(function(b,c,d){Vp({node:b},ts,us,c,d)}),Placemark:V(gs)}),ts=Op(mr,{Placemark:V(gs)}),ws={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},xs=Op(mr,["href"],Op(lr,["x","y","w","h"])),ys=Op(mr,{href:V(iq)},Op(lr,{x:V(jq),y:V(jq),w:V(jq),h:V(jq)})),zs=Op(mr,["scale","heading","Icon","hotSpot"]),Bs=Op(mr,{Icon:V(function(b,
  c,d){b={node:b};var e=xs[d[d.length-1].node.namespaceURI],f=Tp(c,e);Vp(b,ys,Sp,f,d,e);e=xs[lr[0]];f=Tp(c,e);Vp(b,ys,As,f,d,e)}),heading:V(jq),hotSpot:V(function(b,c){b.setAttribute("x",c.x);b.setAttribute("y",c.y);b.setAttribute("xunits",c.Ee);b.setAttribute("yunits",c.Fe)}),scale:V(rs)}),Cs=Op(mr,["color","scale"]),Ds=Op(mr,{color:V(cs),scale:V(rs)}),Es=Op(mr,["color","width"]),Fs=Op(mr,{color:V(cs),width:V(jq)}),es=Op(mr,{LinearRing:V(ks)}),Gs=Op(mr,{LineString:V(ks),Point:V(ks),Polygon:V(ns)}),
  hs=Op(mr,"name open visibility address phoneNumber description styleUrl Style".split(" ")),is=Op(mr,{MultiGeometry:V(function(b,c,d){b={node:b};var e=c.H(),f,g;"MultiPoint"==e?(f=c.hd(),g=Hs):"MultiLineString"==e?(f=c.Fc(),g=Is):"MultiPolygon"==e&&(f=c.jd(),g=Js);Vp(b,Gs,g,f,d)}),LineString:V(ks),LinearRing:V(ks),Point:V(ks),Polygon:V(ns),Style:V(function(b,c,d){b={node:b};var e={},f=c.c,g=c.d,h=c.e;c=c.b;null!==h&&(e.IconStyle=h);null!==c&&(e.LabelStyle=c);null!==g&&(e.LineStyle=g);null!==f&&(e.PolyStyle=
  f);c=Ks[d[d.length-1].node.namespaceURI];e=Tp(e,c);Vp(b,Ls,Sp,e,d,c)}),address:V(iq),description:V(iq),name:V(iq),open:V(hq),phoneNumber:V(iq),styleUrl:V(iq),visibility:V(hq)}),ls=Op(mr,{coordinates:V(function(b,c,d){d=d[d.length-1];var e=y(d,"layout");d=y(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]}iq(b,k)})}),os=Op(mr,{outerBoundaryIs:V(ds),innerBoundaryIs:V(ds)}),
  Ms=Op(mr,{color:V(cs)}),Ks=Op(mr,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Ls=Op(mr,{IconStyle:V(function(b,c,d){b={node:b};var e={},f=c.Ya(),g=c.dd(),h={href:c.a.f};if(null!==f){h.w=f[0];h.h=f[1];var k=c.qb(),n=c.yb();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],Ee:"pixels",y:f[1]-k[1],Fe:"pixels"})}e.Icon=h;f=c.i;1!==f&&(e.scale=f);c=c.o;0!==c&&(e.heading=c);c=zs[d[d.length-1].node.namespaceURI];e=Tp(e,c);
  Vp(b,Bs,Sp,e,d,c)}),LabelStyle:V(function(b,c,d){b={node:b};var e={},f=c.a;null!==f&&(e.color=f.a);c=c.b;m(c)&&1!==c&&(e.scale=c);c=Cs[d[d.length-1].node.namespaceURI];e=Tp(e,c);Vp(b,Ds,Sp,e,d,c)}),LineStyle:V(function(b,c,d){b={node:b};var e=Es[d[d.length-1].node.namespaceURI];c=Tp({color:c.a,width:c.b},e);Vp(b,Fs,Sp,c,d,e)}),PolyStyle:V(function(b,c,d){Vp({node:b},Ms,Ns,[c.a],d)})});function As(b,c,d){return np(lr[0],"gx:"+d)}
  function us(b,c){return np(c[c.length-1].node.namespaceURI,"Placemark")}function js(b,c){if(null!=b)return np(c[c.length-1].node.namespaceURI,ws[b.H()])}var Ns=Qp("color"),ms=Qp("coordinates"),ps=Qp("innerBoundaryIs"),Hs=Qp("Point"),Is=Qp("LineString"),fs=Qp("LinearRing"),Js=Qp("Polygon"),qs=Qp("outerBoundaryIs");
  jr.prototype.a=function(b,c){c=Wo(this,c);var d=np(mr[4],"kml");Hp(d,"http://www.w3.org/2000/xmlns/","xmlns:gx",lr[0]);Hp(d,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");Hp(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=ss[d.namespaceURI],f=Tp(f,g);Vp(e,vs,Sp,f,[c],g);
  return d};function Os(){this.defaultDataProjection=null;this.defaultDataProjection=Ee("EPSG:4326")}u(Os,Wp);function Ps(b,c){var d=b.getAttribute("k"),e=b.getAttribute("v");c[c.length-1].Qc[d]=e}
  var Qs=[null],Rs=Np(Qs,{nd:function(b,c){c[c.length-1].qc.push(b.getAttribute("ref"))},tag:Ps}),Ts=Np(Qs,{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.hf[f]=g;var h=W({Qc:{}},Ss,b,c);xb(h.Qc)||(g=new Zk(g),Xo(g,!1,d),d=new R(g),d.c(f),d.G(h.Qc),e.features.push(d))},way:function(b,c){for(var d=c[0],e=b.getAttribute("id"),f=W({qc:[],Qc:{}},Rs,b,c),g=c[c.length-1],h=[],k=0,n=f.qc.length;k<n;k++)db(h,y(g.hf,
  f.qc[k]));f.qc[0]==f.qc[f.qc.length-1]?(k=new H(null),kl(k,"XY",h,[h.length])):(k=new M(null),Sm(k,"XY",h));Xo(k,!1,d);d=new R(k);d.c(e);d.G(f.Qc);g.features.push(d)}}),Ss=Np(Qs,{tag:Ps});Os.prototype.Pb=function(b,c){var d=Vo(this,b,c);return"osm"==b.localName&&(d=W({hf:{},features:[]},Ts,b,[d]),m(d.features))?d.features:[]};Os.prototype.Nc=function(){return this.defaultDataProjection};Os.prototype.tc=function(){return this.defaultDataProjection};function Us(b){return b.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Vs(){}Vs.prototype.a=function(b){return vp(b)?Ws(this,b):yp(b)?Xs(this,b):ia(b)?(b=Ip(b),Ws(this,b)):null};function Ys(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 Zs(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee("EPSG:4326");this.a=m(b.factor)?b.factor:1E5}u(Zs,dr);function $s(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 at(b,d)}function bt(b,c,d){var e=m(d)?d:1E5,f=Array(c);for(d=0;d<c;++d)f[d]=0;b=ct(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 at(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 ct(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=Zs.prototype;l.Kc=function(b,c){var d=this.Mc(b,c);return new R(d)};l.ue=function(b,c){return[this.Kc(b,c)]};l.Mc=function(b,c){var d=bt(b,2,this.a);Ys(d,d.length,2,d);d=Tk(d,0,d.length,2);return Xo(new M(d),!1,Wo(this,c))};l.xe=function(){return this.defaultDataProjection};
  l.Ld=function(b,c){var d=b.N();return null!=d?this.Tc(d,c):""};l.dg=function(b,c){return this.Ld(b[0],c)};l.Tc=function(b,c){b=Xo(b,!0,Wo(this,c));var d=b.k,e=b.a;Ys(d,d.length,e,d);return $s(d,e,this.a)};function dt(b){b=m(b)?b:{};this.defaultDataProjection=null;this.defaultDataProjection=Ee(null!=b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326")}u(dt,$o);function et(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 ft(b,c,d,e,f){b=b.geometries;var g=[],h,k;h=0;for(k=b.length;h<k;++h)g[h]=gt(b[h],c,d,e,f);return g}
  function gt(b,c,d,e,f){var g=b.type,h=ht[g];c="Point"===g||"MultiPoint"===g?h(b,d,e):h(b,c);d=new R;d.Oa(Xo(c,!1,f));m(b.id)&&d.c(b.id);m(b.properties)&&d.G(b.properties);return d}
  dt.prototype.d=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,s=0,v=0,x=void 0,C=void 0,E=void 0,C=0,E=p.length;C<E;++C)x=p[C],s+=x[0],v+=x[1],x[0]=s,x[1]=v,it(x,q,r)}d=[];h=rb(b.objects);k=0;for(n=h.length;k<n;++k)"GeometryCollection"===h[k].type?(p=h[k],d.push.apply(d,ft(p,g,e,f,c))):(p=h[k],d.push(gt(p,g,e,f,c)));return d}return[]};
  function it(b,c,d){b[0]=b[0]*c[0]+d[0];b[1]=b[1]*c[1]+d[1]}dt.prototype.Aa=function(){return this.defaultDataProjection};
  var ht={Point:function(b,c,d){b=b.coordinates;null===c||null===d||it(b,c,d);return new Zk(b)},LineString:function(b,c){var d=et(b.arcs,c);return new M(d)},Polygon:function(b,c){var d=[],e,f;e=0;for(f=b.arcs.length;e<f;++e)d[e]=et(b.arcs[e],c);return new H(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)it(b[e],c,d);return new Wm(b)},MultiLineString:function(b,c){var d=[],e,f;e=0;for(f=b.arcs.length;e<f;++e)d[e]=et(b.arcs[e],c);return new Tm(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]=et(e[g],c);d[k]=f}return new Xm(d)}};function jt(b){b=m(b)?b:{};this.e=b.featureType;this.d=b.featureNS;this.b=m(b.gmlFormat)?b.gmlFormat:new X;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}u(jt,Wp);jt.prototype.Pb=function(b,c){var d={featureType:this.e,featureNS:this.d};Eb(d,Vo(this,b,m(c)?c:{}));d=W([],this.b.Od,b,[d],this.b);m(d)||(d=[]);return d};
  jt.prototype.g=function(b){if(vp(b))return kt(b);if(yp(b))return W({},lt,b,[]);if(ia(b))return b=Ip(b),kt(b)};jt.prototype.f=function(b){if(vp(b))return mt(this,b);if(yp(b))return nt(this,b);if(ia(b))return b=Ip(b),mt(this,b)};function mt(b,c){for(var d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType)return nt(b,d)}var ot={"http://www.opengis.net/gml":{boundedBy:S(Zp.prototype.Cd,"bounds")}};
  function nt(b,c){var d={},e=fq(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return W(d,ot,c,[],b.b)}
  var pt={"http://www.opengis.net/wfs":{totalInserted:S(eq),totalUpdated:S(eq),totalDeleted:S(eq)}},qt={"http://www.opengis.net/ogc":{FeatureId:Kp(function(b){return b.getAttribute("fid")})}},rt={"http://www.opengis.net/wfs":{Feature:function(b,c){Up(qt,b,c)}}},lt={"http://www.opengis.net/wfs":{TransactionSummary:S(function(b,c){return W({},pt,b,c)},"transactionSummary"),InsertResults:S(function(b,c){return W([],rt,b,c)},"insertIds")}};
  function kt(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return W({},lt,b,[])}var st={"http://www.opengis.net/wfs":{PropertyName:V(iq)}};function tt(b,c){var d=np("http://www.opengis.net/ogc","Filter"),e=np("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);b.appendChild(d)}
  var ut={"http://www.opengis.net/wfs":{Insert:V(function(b,c,d){var e=d[d.length-1],e=np(y(e,"featureNS"),y(e,"featureType"));b.appendChild(e);X.prototype.cg(e,c,d)}),Update:V(function(b,c,d){var e=d[d.length-1],f=y(e,"featureType"),g=y(e,"featurePrefix"),g=m(g)?g:"feature",h=y(e,"featureNS");b.setAttribute("typeName",g+":"+f);Hp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+g,h);f=c.X;if(m(f)){for(var g=c.I(),h=[],k=0,n=g.length;k<n;k++){var p=c.get(g[k]);m(p)&&h.push({name:g[k],value:p})}Vp({node:b,
  srsName:y(e,"srsName")},ut,Qp("Property"),h,d);tt(b,f)}}),Delete:V(function(b,c,d){var e=d[d.length-1];d=y(e,"featureType");var f=y(e,"featurePrefix"),f=m(f)?f:"feature",e=y(e,"featureNS");b.setAttribute("typeName",f+":"+d);Hp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+f,e);c=c.X;m(c)&&tt(b,c)}),Property:V(function(b,c,d){var e=np("http://www.opengis.net/wfs","Name");b.appendChild(e);iq(e,c.name);null!=c.value&&(e=np("http://www.opengis.net/wfs","Value"),b.appendChild(e),c.value instanceof Bk?X.prototype.Md(e,
  c.value,d):iq(e,c.value))}),Native:V(function(b,c){m(c.tl)&&b.setAttribute("vendorId",c.tl);m(c.Yk)&&b.setAttribute("safeToIgnore",c.Yk);m(c.value)&&iq(b,c.value)})}},vt={"http://www.opengis.net/wfs":{Query:V(function(b,c,d){var e=d[d.length-1],f=y(e,"featurePrefix"),g=y(e,"featureNS"),h=y(e,"propertyNames"),k=y(e,"srsName");b.setAttribute("typeName",(m(f)?f+":":"")+c);m(k)&&b.setAttribute("srsName",k);m(g)&&Hp(b,"http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=Cb(e);c.node=b;Vp(c,st,Qp("PropertyName"),
  h,d);e=y(e,"bbox");m(e)&&(h=np("http://www.opengis.net/ogc","Filter"),c=y(d[d.length-1],"geometryName"),f=np("http://www.opengis.net/ogc","BBOX"),h.appendChild(f),g=np("http://www.opengis.net/ogc","PropertyName"),iq(g,c),f.appendChild(g),X.prototype.Md(f,e,d),b.appendChild(h))})}};
  jt.prototype.n=function(b){var c=np("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.ml)&&c.setAttribute("startIndex",b.ml),m(b.count)&&c.setAttribute("count",b.count));Hp(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.d,featurePrefix:b.featurePrefix,geometryName:b.geometryName,bbox:b.bbox,Gf:m(b.Gf)?b.Gf:[]}];var e=Cb(b[b.length-1]);e.node=c;Vp(e,vt,Qp("Query"),d,b);return c};
  jt.prototype.j=function(b,c,d,e){var f=[],g=np("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));Hp(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},Eb(k,h),Vp(k,ut,Qp("Insert"),b,f));null!=c&&(k={node:g,featureNS:e.featureNS,
  featureType:e.featureType,featurePrefix:e.featurePrefix},Eb(k,h),Vp(k,ut,Qp("Update"),c,f));null!=d&&Vp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},ut,Qp("Delete"),d,f);m(e.nativeElements)&&Vp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},ut,Qp("Native"),e.nativeElements,f);return g};jt.prototype.Nc=function(b){for(b=b.firstChild;null!==b;b=b.nextSibling)if(1==b.nodeType)return this.tc(b);return null};
  jt.prototype.tc=function(b){b=b.firstElementChild.firstElementChild;if(null!=b)for(b=b.firstElementChild;null!==b;b=b.nextElementSibling)if(0!==b.childNodes.length&&(1!==b.childNodes.length||3!==b.firstChild.nodeType)){var c=[{}];this.b.Cd(b,c);return Ee(c.pop().srsName)}return null};function wt(b){b=m(b)?b:{};this.defaultDataProjection=null;this.a=m(b.splitCollection)?b.splitCollection:!1}u(wt,dr);function xt(b){b=b.J();return 0==b.length?"":b[0]+" "+b[1]}function yt(b){b=b.J();for(var c=[],d=0,e=b.length;d<e;++d)c.push(b[d][0]+" "+b[d][1]);return c.join(",")}function zt(b){var c=[];b=b.ed();for(var d=0,e=b.length;d<e;++d)c.push("("+yt(b[d])+")");return c.join(",")}function At(b){var c=b.H();b=(0,Bt[c])(b);c=c.toUpperCase();return 0===b.length?c+" EMPTY":c+"("+b+")"}
  var Bt={Point:xt,LineString:yt,Polygon:zt,MultiPoint:function(b){var c=[];b=b.hd();for(var d=0,e=b.length;d<e;++d)c.push("("+xt(b[d])+")");return c.join(",")},MultiLineString:function(b){var c=[];b=b.Fc();for(var d=0,e=b.length;d<e;++d)c.push("("+yt(b[d])+")");return c.join(",")},MultiPolygon:function(b){var c=[];b=b.jd();for(var d=0,e=b.length;d<e;++d)c.push("("+zt(b[d])+")");return c.join(",")},GeometryCollection:function(b){var c=[];b=b.Xe();for(var d=0,e=b.length;d<e;++d)c.push(At(b[d]));return c.join(",")}};
  l=wt.prototype;l.Kc=function(b,c){var d=this.Mc(b,c);if(m(d)){var e=new R;e.Oa(d);return e}return null};l.ue=function(b,c){var d=[],e=this.Mc(b,c);this.a&&"GeometryCollection"==e.H()?d=e.e:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new R,e.Oa(d[g]),f.push(e);return f};l.Mc=function(b,c){var d;d=new Ct(new Dt(b));d.a=Et(d.b);d=Ft(d);return m(d)?Xo(d,!1,c):null};l.xe=function(){return null};l.Ld=function(b,c){var d=b.N();return m(d)?this.Tc(d,c):""};
  l.dg=function(b,c){if(1==b.length)return this.Ld(b[0],c);for(var d=[],e=0,f=b.length;e<f;++e)d.push(b[e].N());d=new Lm(d);return this.Tc(d,c)};l.Tc=function(b,c){return At(Xo(b,!0,c))};function Dt(b){this.b=b;this.a=-1}function Gt(b,c){var d=m(c)?c:!1;return"0"<=b&&"9">=b||"."==b&&!d}
  function Et(b){var c=b.b.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(Gt(c)||"-"==c){d.type=4;var e,c=b.a,f=!1;do"."==e&&(f=!0),e=b.b.charAt(++b.a);while(Gt(e,f));b=parseFloat(b.b.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.b.charAt(++b.a);while("a"<=e&&"z">=e||"A"<=e&&"Z">=e);b=b.b.substring(c,b.a--).toUpperCase();d.value=b}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return Et(b);if(""===
  c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function Ct(b){this.b=b}l=Ct.prototype;l.match=function(b){if(b=this.a.type==b)this.a=Et(this.b);return b};
  function Ft(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(Ft(b));while(b.match(5));if(b.match(3)){b=c;break a}}else if(Ht(b)){b=[];break a}throw Error(It(b));}return new Lm(b)}var e=Jt[d],c=Kt[d];if(!m(e)||!m(c))throw Error("Invalid geometry type: "+d);b=e.call(b);return new c(b)}throw Error(It(b));}l.re=function(){if(this.match(2)){var b=Lt(this);if(this.match(3))return b}else if(Ht(this))return null;throw Error(It(this));};
  l.qe=function(){if(this.match(2)){var b=Mt(this);if(this.match(3))return b}else if(Ht(this))return[];throw Error(It(this));};l.se=function(){if(this.match(2)){var b=Nt(this);if(this.match(3))return b}else if(Ht(this))return[];throw Error(It(this));};l.sk=function(){if(this.match(2)){var b;if(2==this.a.type)for(b=[this.re()];this.match(5);)b.push(this.re());else b=Mt(this);if(this.match(3))return b}else if(Ht(this))return[];throw Error(It(this));};
  l.rk=function(){if(this.match(2)){var b=Nt(this);if(this.match(3))return b}else if(Ht(this))return[];throw Error(It(this));};l.tk=function(){if(this.match(2)){for(var b=[this.se()];this.match(5);)b.push(this.se());if(this.match(3))return b}else if(Ht(this))return[];throw Error(It(this));};function Lt(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(It(b));}function Mt(b){for(var c=[Lt(b)];b.match(5);)c.push(Lt(b));return c}
  function Nt(b){for(var c=[b.qe()];b.match(5);)c.push(b.qe());return c}function Ht(b){var c=1==b.a.type&&"EMPTY"==b.a.value;c&&(b.a=Et(b.b));return c}function It(b){return"Unexpected `"+b.a.value+"` at position "+b.a.position+" in `"+b.b.b+"`"}var Kt={POINT:Zk,LINESTRING:M,POLYGON:H,MULTIPOINT:Wm,MULTILINESTRING:Tm,MULTIPOLYGON:Xm},Jt={POINT:Ct.prototype.re,LINESTRING:Ct.prototype.qe,POLYGON:Ct.prototype.se,MULTIPOINT:Ct.prototype.sk,MULTILINESTRING:Ct.prototype.rk,MULTIPOLYGON:Ct.prototype.tk};function Ot(){this.version=void 0}u(Ot,Vs);function Ws(b,c){for(var d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType)return Xs(b,d);return null}function Xs(b,c){b.version=Aa(c.getAttribute("version"));var d=W({version:b.version},Pt,c,[]);return m(d)?d:null}function Qt(b,c){return W({},Rt,b,c)}function St(b,c){return W({},Tt,b,c)}function Ut(b,c){var d=Qt(b,c);if(m(d)){var e=[fq(b.getAttribute("width")),fq(b.getAttribute("height"))];d.size=e;return d}}function Vt(b,c){return W([],Wt,b,c)}
  var Xt=[null,"http://www.opengis.net/wms"],Pt=Np(Xt,{Service:S(function(b,c){return W({},Yt,b,c)}),Capability:S(function(b,c){return W({},Zt,b,c)})}),Zt=Np(Xt,{Request:S(function(b,c){return W({},$t,b,c)}),Exception:S(function(b,c){return W([],au,b,c)}),Layer:S(function(b,c){return W({},bu,b,c)})}),Yt=Np(Xt,{Name:S(gq),Title:S(gq),Abstract:S(gq),KeywordList:S(Vt),OnlineResource:S(Us),ContactInformation:S(function(b,c){return W({},cu,b,c)}),Fees:S(gq),AccessConstraints:S(gq),LayerLimit:S(eq),MaxWidth:S(eq),
  MaxHeight:S(eq)}),cu=Np(Xt,{ContactPersonPrimary:S(function(b,c){return W({},du,b,c)}),ContactPosition:S(gq),ContactAddress:S(function(b,c){return W({},eu,b,c)}),ContactVoiceTelephone:S(gq),ContactFacsimileTelephone:S(gq),ContactElectronicMailAddress:S(gq)}),du=Np(Xt,{ContactPerson:S(gq),ContactOrganization:S(gq)}),eu=Np(Xt,{AddressType:S(gq),Address:S(gq),City:S(gq),StateOrProvince:S(gq),PostCode:S(gq),Country:S(gq)}),au=Np(Xt,{Format:Kp(gq)}),bu=Np(Xt,{Name:S(gq),Title:S(gq),Abstract:S(gq),KeywordList:S(Vt),
  CRS:Mp(gq),EX_GeographicBoundingBox:S(function(b,c){var d=W({},fu,b,c);if(m(d)){var e=y(d,"westBoundLongitude"),f=y(d,"southBoundLatitude"),g=y(d,"eastBoundLongitude"),d=y(d,"northBoundLatitude");return m(e)&&m(f)&&m(g)&&m(d)?[e,f,g,d]:void 0}}),BoundingBox:Mp(function(b){var c=[dq(b.getAttribute("minx")),dq(b.getAttribute("miny")),dq(b.getAttribute("maxx")),dq(b.getAttribute("maxy"))],d=[dq(b.getAttribute("resx")),dq(b.getAttribute("resy"))];return{crs:b.getAttribute("CRS"),extent:c,res:d}}),Dimension:Mp(function(b){return{name:b.getAttribute("name"),
  units:b.getAttribute("units"),unitSymbol:b.getAttribute("unitSymbol"),"default":b.getAttribute("default"),multipleValues:aq(b.getAttribute("multipleValues")),nearestValue:aq(b.getAttribute("nearestValue")),current:aq(b.getAttribute("current")),values:gq(b)}}),Attribution:S(function(b,c){return W({},gu,b,c)}),AuthorityURL:Mp(function(b,c){var d=Qt(b,c);if(m(d)){var e=b.getAttribute("name");d.name=e;return d}}),Identifier:Mp(gq),MetadataURL:Mp(function(b,c){var d=Qt(b,c);if(m(d)){var e=b.getAttribute("type");
  d.type=e;return d}}),DataURL:Mp(Qt),FeatureListURL:Mp(Qt),Style:Mp(function(b,c){return W({},hu,b,c)}),MinScaleDenominator:S(cq),MaxScaleDenominator:S(cq),Layer:Mp(function(b,c){var d=c[c.length-1],e=W({},bu,b,c);if(m(e)){var f=aq(b.getAttribute("queryable"));m(f)||(f=y(d,"queryable"));e.queryable=m(f)?f:!1;f=fq(b.getAttribute("cascaded"));m(f)||(f=y(d,"cascaded"));e.cascaded=f;f=aq(b.getAttribute("opaque"));m(f)||(f=y(d,"opaque"));e.opaque=m(f)?f:!1;f=aq(b.getAttribute("noSubsets"));m(f)||(f=y(d,
  "noSubsets"));e.noSubsets=m(f)?f:!1;f=dq(b.getAttribute("fixedWidth"));m(f)||(f=y(d,"fixedWidth"));e.fixedWidth=f;f=dq(b.getAttribute("fixedHeight"));m(f)||(f=y(d,"fixedHeight"));e.fixedHeight=f;Ta(["Style","CRS","AuthorityURL"],function(b){var c=y(d,b);if(m(c)){var f=Bb(e,b),f=f.concat(c);e[b]=f}});Ta("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(b){m(y(e,b))||(e[b]=y(d,b))});return e}})}),gu=Np(Xt,{Title:S(gq),OnlineResource:S(Us),
  LogoURL:S(Ut)}),fu=Np(Xt,{westBoundLongitude:S(cq),eastBoundLongitude:S(cq),southBoundLatitude:S(cq),northBoundLatitude:S(cq)}),$t=Np(Xt,{GetCapabilities:S(St),GetMap:S(St),GetFeatureInfo:S(St)}),Tt=Np(Xt,{Format:Mp(gq),DCPType:Mp(function(b,c){return W({},iu,b,c)})}),iu=Np(Xt,{HTTP:S(function(b,c){return W({},ju,b,c)})}),ju=Np(Xt,{Get:S(Qt),Post:S(Qt)}),hu=Np(Xt,{Name:S(gq),Title:S(gq),Abstract:S(gq),LegendURL:Mp(Ut),StyleSheetURL:S(Qt),StyleURL:S(Qt)}),Rt=Np(Xt,{Format:S(gq),OnlineResource:S(Us)}),
  Wt=Np(Xt,{Keyword:Kp(gq)});function ku(){this.d="http://mapserver.gis.umn.edu/mapserver";this.b=new tq;this.defaultDataProjection=null}u(ku,Wp);
  function lu(b,c,d){c.namespaceURI=b.d;var e=sp(c),f=[];if(0===c.childNodes.length)return f;"msGMLOutput"==e&&Ta(c.childNodes,function(b){if(1===b.nodeType){var c=d[0],e=b.localName,n=new RegExp(Ja("_layer"),""),e=e.replace(n,"")+"_feature";c.featureType=e;c.featureNS=this.d;n={};n[e]=Kp(this.b.te,this.b);c=Np([y(c,"featureNS"),null],n);b.namespaceURI=this.d;b=W([],c,b,d,this.b);m(b)&&db(f,b)}},b);"FeatureCollection"==e&&(b=W([],b.b.Od,c,[{}],b.b),m(b)&&(f=b));return f}
  ku.prototype.Pb=function(b,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&Eb(d,Vo(this,b,c));return lu(this,b,[d])};var mu=new xe(6378137);function Z(b){td.call(this);b=m(b)?b:{};this.a=null;this.e=We;this.c=void 0;z(this,xd("projection"),this.Pi,!1,this);z(this,xd("tracking"),this.Qi,!1,this);m(b.projection)&&this.n(Ee(b.projection));m(b.trackingOptions)&&this.j(b.trackingOptions);this.d(m(b.tracking)?b.tracking:!1)}u(Z,td);l=Z.prototype;l.L=function(){this.d(!1);Z.Q.L.call(this)};l.Pi=function(){var b=this.g();null!=b&&(this.e=De(Ee("EPSG:4326"),b),null===this.a||this.set("position",this.e(this.a)))};
  l.Qi=function(){if(fg){var b=this.i();b&&!m(this.c)?this.c=ba.navigator.geolocation.watchPosition(sa(this.Ak,this),sa(this.Bk,this),this.f()):!b&&m(this.c)&&(ba.navigator.geolocation.clearWatch(this.c),this.c=void 0)}};
  l.Ak=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:bc(b.heading));null===this.a?this.a=[b.longitude,b.latitude]:(this.a[0]=b.longitude,this.a[1]=b.latitude);var c=this.e(this.a);this.set("position",c);this.set("speed",null===b.speed?void 0:b.speed);b=nl(mu,this.a,b.accuracy);b.ma(this.e);this.set("accuracyGeometry",
  b);this.l()};l.Bk=function(b){b.type="error";this.d(!1);this.dispatchEvent(b)};l.We=function(){return this.get("accuracy")};Z.prototype.getAccuracy=Z.prototype.We;Z.prototype.p=function(){return this.get("accuracyGeometry")||null};Z.prototype.getAccuracyGeometry=Z.prototype.p;Z.prototype.q=function(){return this.get("altitude")};Z.prototype.getAltitude=Z.prototype.q;Z.prototype.r=function(){return this.get("altitudeAccuracy")};Z.prototype.getAltitudeAccuracy=Z.prototype.r;Z.prototype.D=function(){return this.get("heading")};
  Z.prototype.getHeading=Z.prototype.D;Z.prototype.F=function(){return this.get("position")};Z.prototype.getPosition=Z.prototype.F;Z.prototype.g=function(){return this.get("projection")};Z.prototype.getProjection=Z.prototype.g;Z.prototype.s=function(){return this.get("speed")};Z.prototype.getSpeed=Z.prototype.s;Z.prototype.i=function(){return this.get("tracking")};Z.prototype.getTracking=Z.prototype.i;Z.prototype.f=function(){return this.get("trackingOptions")};Z.prototype.getTrackingOptions=Z.prototype.f;
  Z.prototype.n=function(b){this.set("projection",b)};Z.prototype.setProjection=Z.prototype.n;Z.prototype.d=function(b){this.set("tracking",b)};Z.prototype.setTracking=Z.prototype.d;Z.prototype.j=function(b){this.set("trackingOptions",b)};Z.prototype.setTrackingOptions=Z.prototype.j;function nu(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={},s=1E5,v,x,C,E,G;0<--s&&0<q.length;)C=q.pop(),f=n.pop(),h=p.pop(),g=C.toString(),g in r||(e.push(h[0],h[1]),r[g]=!0),E=q.pop(),g=n.pop(),k=p.pop(),G=(C+E)/2,v=b(G),x=c(v),Jk(x[0],x[1],h[0],h[1],k[0],k[1])<d?(e.push(k[0],k[1]),g=E.toString(),r[g]=!0):(q.push(E,G,G,C),p.push(k,x,x,h),n.push(g,v,v,f));return e}function ou(b,c,d,e,f){var g=Ee("EPSG:4326");return nu(function(e){return[b,c+(d-c)*e]},Ve(g,e),f)}
  function pu(b,c,d,e,f){var g=Ee("EPSG:4326");return nu(function(e){return[c+(d-c)*e,b]},Ve(g,e),f)};function qu(b){b=m(b)?b:{};this.o=this.g=null;this.c=this.d=Infinity;this.f=this.e=-Infinity;this.r=m(b.targetSize)?b.targetSize:100;this.p=m(b.maxLines)?b.maxLines:100;this.a=[];this.b=[];this.q=m(b.strokeStyle)?b.strokeStyle:ru;this.j=this.i=void 0;this.n=null;this.setMap(m(b.map)?b.map:null)}var ru=new yl({color:"rgba(0,0,0,0.2)"}),su=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
  function tu(b,c,d,e,f){var g=f;c=ou(c,b.e,b.d,b.o,d);g=m(b.a[g])?b.a[g]:new M(null);Sm(g,"XY",c);qe(g.t(),e)&&(b.a[f++]=g);return f}function uu(b,c,d,e,f){var g=f;c=pu(c,b.f,b.c,b.o,d);g=m(b.b[g])?b.b[g]:new M(null);Sm(g,"XY",c);qe(g.t(),e)&&(b.b[f++]=g);return f}l=qu.prototype;l.Ri=function(){return this.g};l.qh=function(){return this.a};l.vh=function(){return this.b};
  l.bf=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.o||!Ue(this.o,g)){var h=g.t(),k=g.c,n=k[2],p=k[1],q=k[0];this.d=k[3];this.c=n;this.e=p;this.f=q;k=Ee("EPSG:4326");this.i=Ve(k,g);this.j=Ve(g,k);this.n=this.j(ke(h));this.o=g}for(var g=this.n[0],h=this.n[1],k=-1,r,p=Math.pow(this.r*e,2),q=[],s=[],e=0,n=su.length;e<n;++e){r=su[e]/2;q[0]=g-r;q[1]=h-r;s[0]=g+r;s[1]=h+r;this.i(q,q);this.i(s,
  s);r=Math.pow(s[0]-q[0],2)+Math.pow(s[1]-q[1],2);if(r<=p)break;k=su[e]}e=k;if(-1==e)this.a.length=this.b.length=0;else{g=this.j(f);f=g[0];g=g[1];h=this.p;f=Math.floor(f/e)*e;p=Zb(f,this.f,this.c);n=tu(this,p,d,b,0);for(k=0;p!=this.f&&k++<h;)p=Math.max(p-e,this.f),n=tu(this,p,d,b,n);p=Zb(f,this.f,this.c);for(k=0;p!=this.c&&k++<h;)p=Math.min(p+e,this.c),n=tu(this,p,d,b,n);this.a.length=n;g=Math.floor(g/e)*e;f=Zb(g,this.e,this.d);n=uu(this,f,d,b,0);for(k=0;f!=this.e&&k++<h;)f=Math.max(f-e,this.e),n=
  uu(this,f,d,b,n);f=Zb(g,this.e,this.d);for(k=0;f!=this.d&&k++<h;)f=Math.min(f+e,this.d),n=uu(this,f,d,b,n);this.b.length=n}c.ua(null,this.q);b=0;for(d=this.a.length;b<d;++b)f=this.a[b],c.Bb(f,null);b=0;for(d=this.b.length;b<d;++b)f=this.b[b],c.Bb(f,null)};l.setMap=function(b){null!==this.g&&(this.g.v("postcompose",this.bf,this),this.g.U());null!==b&&(b.u("postcompose",this.bf,this),b.U());this.g=b};function vu(b,c,d,e,f,g,h){qj.call(this,b,c,d,0,e);this.o=f;this.a=new Image;null!==g&&(this.a.crossOrigin=g);this.c={};this.d=null;this.state=0;this.g=h}u(vu,qj);vu.prototype.b=function(b){if(m(b)){var c=ma(b);if(c in this.c)return this.c[c];b=xb(this.c)?this.a:this.a.cloneNode(!1);return this.c[c]=b}return this.a};vu.prototype.i=function(){this.state=3;Ta(this.d,Yc);this.d=null;this.dispatchEvent("change")};
  vu.prototype.n=function(){m(this.resolution)||(this.resolution=oe(this.extent)/this.a.height);this.state=2;Ta(this.d,Yc);this.d=null;this.dispatchEvent("change")};vu.prototype.load=function(){0==this.state&&(this.state=1,this.d=[Wc(this.a,"error",this.i,!1,this),Wc(this.a,"load",this.n,!1,this)],this.g(this,this.o))};function wu(b,c,d,e,f){qj.call(this,b,c,d,2,e);this.a=f}u(wu,qj);wu.prototype.b=function(){return this.a};function xu(b,c,d,e,f){rj.call(this,b,c);this.g=d;this.b=new Image;null!==e&&(this.b.crossOrigin=e);this.c={};this.d=null;this.o=f}u(xu,rj);l=xu.prototype;l.La=function(b){if(m(b)){var c=ma(b);if(c in this.c)return this.c[c];b=xb(this.c)?this.b:this.b.cloneNode(!1);return this.c[c]=b}return this.b};l.ib=function(){return this.g};l.Si=function(){this.state=3;Ta(this.d,Yc);this.d=null;sj(this)};l.Ti=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4;Ta(this.d,Yc);this.d=null;sj(this)};
  l.load=function(){0==this.state&&(this.state=1,this.d=[Wc(this.b,"error",this.Si,!1,this),Wc(this.b,"load",this.Ti,!1,this)],this.o(this,this.g))};function yu(b,c,d){return function(e,f,g){return d(b,c,e,f,g)}}function zu(){};function Au(b,c){jd.call(this);this.a=new Bo(this);var d=b;c&&(d=zf(b));this.a.Ka(d,"dragenter",this.jk);d!=b&&this.a.Ka(d,"dragover",this.kk);this.a.Ka(b,"dragover",this.lk);this.a.Ka(b,"drop",this.mk)}u(Au,jd);l=Au.prototype;l.Ec=!1;l.L=function(){Au.Q.L.call(this);this.a.ic()};l.jk=function(b){var c=b.a.dataTransfer;(this.Ec=!(!c||!(c.types&&(Za(c.types,"Files")||Za(c.types,"public.file-url"))||c.files&&0<c.files.length)))&&b.preventDefault()};
  l.kk=function(b){this.Ec&&(b.preventDefault(),b.a.dataTransfer.dropEffect="none")};l.lk=function(b){this.Ec&&(b.preventDefault(),b.c(),b=b.a.dataTransfer,b.effectAllowed="all",b.dropEffect="copy")};l.mk=function(b){this.Ec&&(b.preventDefault(),b.c(),b=new zc(b.a),b.type="drop",this.dispatchEvent(b))};function Bu(b){b.prototype.then=b.prototype.then;b.prototype.$goog_Thenable=!0}function Cu(b){if(!b)return!1;try{return!!b.$goog_Thenable}catch(c){return!1}};function Du(b,c){Eu||Fu();Gu||(Eu(),Gu=!0);Hu.push(new Iu(b,c))}var Eu;function Fu(){if(ba.Promise&&ba.Promise.resolve){var b=ba.Promise.resolve();Eu=function(){b.then(Ju)}}else Eu=function(){Xh(Ju)}}var Gu=!1,Hu=[];function Ju(){for(;Hu.length;){var b=Hu;Hu=[];for(var c=0;c<b.length;c++){var d=b[c];try{d.a.call(d.b)}catch(e){Wh(e)}}}Gu=!1}function Iu(b,c){this.a=b;this.b=c};function Ku(b,c){this.b=Lu;this.f=void 0;this.a=this.d=null;this.c=this.e=!1;try{var d=this;b.call(c,function(b){Mu(d,Nu,b)},function(b){Mu(d,Ou,b)})}catch(e){Mu(this,Ou,e)}}var Lu=0,Nu=2,Ou=3;Ku.prototype.then=function(b,c,d){return Pu(this,ka(b)?b:null,ka(c)?c:null,d)};Bu(Ku);Ku.prototype.cancel=function(b){this.b==Lu&&Du(function(){var c=new Qu(b);Ru(this,c)},this)};
  function Ru(b,c){if(b.b==Lu)if(b.d){var d=b.d;if(d.a){for(var e=0,f=-1,g=0,h;h=d.a[g];g++)if(h=h.xc)if(e++,h==b&&(f=g),0<=f&&1<e)break;0<=f&&(d.b==Lu&&1==e?Ru(d,c):(e=d.a.splice(f,1)[0],Su(d,e,Ou,c)))}}else Mu(b,Ou,c)}function Tu(b,c){b.a&&b.a.length||b.b!=Nu&&b.b!=Ou||Uu(b);b.a||(b.a=[]);b.a.push(c)}
  function Pu(b,c,d,e){var f={xc:null,Af:null,Cf:null};f.xc=new Ku(function(b,h){f.Af=c?function(d){try{var f=c.call(e,d);b(f)}catch(p){h(p)}}:b;f.Cf=d?function(c){try{var f=d.call(e,c);!m(f)&&c instanceof Qu?h(c):b(f)}catch(p){h(p)}}:h});f.xc.d=b;Tu(b,f);return f.xc}Ku.prototype.g=function(b){this.b=Lu;Mu(this,Nu,b)};Ku.prototype.o=function(b){this.b=Lu;Mu(this,Ou,b)};
  function Mu(b,c,d){if(b.b==Lu){if(b==d)c=Ou,d=new TypeError("Promise cannot resolve to itself");else{if(Cu(d)){b.b=1;d.then(b.g,b.o,b);return}if(la(d))try{var e=d.then;if(ka(e)){Vu(b,d,e);return}}catch(f){c=Ou,d=f}}b.f=d;b.b=c;Uu(b);c!=Ou||d instanceof Qu||Wu(b,d)}}function Vu(b,c,d){function e(c){g||(g=!0,b.o(c))}function f(c){g||(g=!0,b.g(c))}b.b=1;var g=!1;try{d.call(c,f,e)}catch(h){e(h)}}function Uu(b){b.e||(b.e=!0,Du(b.i,b))}
  Ku.prototype.i=function(){for(;this.a&&this.a.length;){var b=this.a;this.a=[];for(var c=0;c<b.length;c++)Su(this,b[c],this.b,this.f)}this.e=!1};function Su(b,c,d,e){if(d==Nu)c.Af(e);else{if(c.xc)for(;b&&b.c;b=b.d)b.c=!1;c.Cf(e)}}function Wu(b,c){b.c=!0;Du(function(){b.c&&Xu.call(null,c)})}var Xu=Wh;function Qu(b){xa.call(this,b)}u(Qu,xa);Qu.prototype.name="cancel";/*
   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 Yu(b,c){this.e=[];this.p=b;this.j=c||null;this.c=this.a=!1;this.d=void 0;this.i=this.q=this.g=!1;this.f=0;this.b=null;this.o=0}Yu.prototype.cancel=function(b){if(this.a)this.d instanceof Yu&&this.d.cancel();else{if(this.b){var c=this.b;delete this.b;b?c.cancel(b):(c.o--,0>=c.o&&c.cancel())}this.p?this.p.call(this.j,this):this.i=!0;this.a||(b=new Zu,$u(this),av(this,!1,b))}};Yu.prototype.n=function(b,c){this.g=!1;av(this,b,c)};function av(b,c,d){b.a=!0;b.d=d;b.c=!c;bv(b)}
  function $u(b){if(b.a){if(!b.i)throw new cv;b.i=!1}}function dv(b,c,d,e){b.e.push([c,d,e]);b.a&&bv(b)}Yu.prototype.then=function(b,c,d){var e,f,g=new Ku(function(b,c){e=b;f=c});dv(this,e,function(b){b instanceof Zu?g.cancel():f(b)});return g.then(b,c,d)};Bu(Yu);function ev(b){return Wa(b.e,function(b){return ka(b[1])})}
  function bv(b){if(b.f&&b.a&&ev(b)){var c=b.f,d=fv[c];d&&(ba.clearTimeout(d.X),delete fv[c]);b.f=0}b.b&&(b.b.o--,delete b.b);for(var c=b.d,e=d=!1;b.e.length&&!b.g;){var f=b.e.shift(),g=f[0],h=f[1],f=f[2];if(g=b.c?h:g)try{var k=g.call(f||b.j,c);m(k)&&(b.c=b.c&&(k==c||k instanceof Error),b.d=c=k);Cu(c)&&(e=!0,b.g=!0)}catch(n){c=n,b.c=!0,ev(b)||(d=!0)}}b.d=c;e&&(k=sa(b.n,b,!0),e=sa(b.n,b,!1),c instanceof Yu?(dv(c,k,e),c.q=!0):c.then(k,e));d&&(c=new gv(c),fv[c.X]=c,b.f=c.X)}
  function cv(){xa.call(this)}u(cv,xa);cv.prototype.message="Deferred has already fired";cv.prototype.name="AlreadyCalledError";function Zu(){xa.call(this)}u(Zu,xa);Zu.prototype.message="Deferred was canceled";Zu.prototype.name="CanceledError";function gv(b){this.X=ba.setTimeout(sa(this.b,this),0);this.a=b}gv.prototype.b=function(){delete fv[this.X];throw this.a;};var fv={};function hv(b,c){m(b.name)?(this.name=b.name,this.code=wb[b.name]):(this.code=b.code,this.name=iv(b.code));xa.call(this,za("%s %s",this.name,c))}u(hv,xa);function iv(b){var c=ub(function(c){return b==c});if(!m(c))throw Error("Invalid code: "+b);return c}var wb={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 jv(b,c){uc.call(this,b.type,c)}u(jv,uc);function kv(){jd.call(this);this.Za=new FileReader;this.Za.onloadstart=sa(this.a,this);this.Za.onprogress=sa(this.a,this);this.Za.onload=sa(this.a,this);this.Za.onabort=sa(this.a,this);this.Za.onerror=sa(this.a,this);this.Za.onloadend=sa(this.a,this)}u(kv,jd);kv.prototype.getError=function(){return this.Za.error&&new hv(this.Za.error,"reading file")};kv.prototype.a=function(b){this.dispatchEvent(new jv(b,this))};kv.prototype.L=function(){kv.Q.L.call(this);delete this.Za};
  function lv(b){var c=new Yu;b.Ka("loadend",ta(function(b,c){var f=c.Za.result,g=c.getError();null==f||g?($u(b),av(b,!1,g)):($u(b),av(b,!0,f));c.ic()},c,b));return c};function mv(b){b=m(b)?b:{};lk.call(this);this.f=m(b.formatConstructors)?b.formatConstructors:[];this.g=m(b.projection)?Ee(b.projection):null;this.e=null;this.c=void 0}u(mv,lk);l=mv.prototype;l.L=function(){m(this.c)&&Yc(this.c);mv.Q.L.call(this)};l.Nh=function(b){b=b.a.dataTransfer.files;var c,d,e;c=0;for(d=b.length;c<d;++c){var f=e=b[c],g=new kv,h=lv(g);g.Za.readAsText(f,"");dv(h,ta(this.ji,e),null,this)}};
  l.ji=function(b,c){var d=this.n,e=this.g;null===e&&(e=d.a().q);var d=this.f,f=[],g,h;g=0;for(h=d.length;g<h;++g){var k=new d[g],n;try{n=k.ka(c)}catch(p){n=null}if(null!==n){var k=k.Aa(c),k=Ve(k,e),q,r;q=0;for(r=n.length;q<r;++q){var s=n[q],v=s.N();null!=v&&v.ma(k);f.push(s)}}}this.dispatchEvent(new nv(ov,this,b,f,e))};l.handleMapBrowserEvent=dd;
  l.setMap=function(b){m(this.c)&&(Yc(this.c),this.c=void 0);null!==this.e&&(tc(this.e),this.e=null);mv.Q.setMap.call(this,b);null!==b&&(this.e=new Au(b.d),this.c=z(this.e,"drop",this.Nh,!1,this))};var ov="addfeatures";function nv(b,c,d,e,f){uc.call(this,b,c);this.features=e;this.file=d;this.projection=f}u(nv,uc);function pv(b,c){this.x=b;this.y=c}u(pv,vf);pv.prototype.clone=function(){return new pv(this.x,this.y)};pv.prototype.scale=vf.prototype.scale;pv.prototype.add=function(b){this.x+=b.x;this.y+=b.y;return this};pv.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 qv(b){b=m(b)?b:{};xk.call(this);this.i=m(b.condition)?b.condition:uk;this.c=this.f=void 0;this.g=0}u(qv,xk);qv.prototype.Fb=function(b){if(wk(b)){var c=b.map,d=c.e();b=b.pixel;b=new pv(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.a(),f=$e(e);c.U();m(this.f)&&mk(c,e,f.rotation-(d-this.f));this.f=d;m(this.c)&&ok(c,e,f.resolution/b*this.c);m(this.c)&&(this.g=this.c/b);this.c=b}};
  qv.prototype.wb=function(b){if(!wk(b))return!0;b=b.map;var c=b.a();bf(c,-1);var d=$e(c),e=this.g-1,f=d.rotation,f=c.constrainRotation(f,0);mk(b,c,f,void 0,void 0);d=d.resolution;d=c.constrainResolution(d,0,e);ok(b,c,d,void 0,400);this.g=0;return!1};qv.prototype.vb=function(b){return wk(b)&&this.i(b)?(bf(b.map.a(),1),this.c=this.f=void 0,!0):!1};qv.prototype.Hd=ed;var rv;
  (function(){var b={Ue:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.Vd=Math.max(4,b||9);this.Le=Math.max(2,Math.ceil(.4*this.Vd));d&&this.Kg(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.sa?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,s(b,c,d,h,f),g.push(c,h,h,d))}function s(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)),s(b,k,h,e,f));g=b[e];h=c;n=d;v(b,c,e);for(0<f(b[d],g)&&v(b,c,d);h<n;){v(b,h,n);h++;for(n--;0>f(b[h],g);)h++;for(;0<f(b[n],g);)n--}0===f(b[c],g)?v(b,c,n):(n++,v(b,n,d));n<=e&&(c=n+1);e<=n&&(d=n-1)}}function v(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.He(this.data,[])},search:function(b){var c=this.data,d=[],e=this.Ba;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.sa?e(k):k.bbox,q(b,n)&&(c.sa?d.push(k):p(b,n)?this.He(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.Le){for(var c=0,d=b.length;c<d;c++)this.na(b[c]);return this}b=this.Je(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.Me(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.Ke(b,this.data.height-b.height-1,
  !0)):this.data=b;return this},na:function(b){b&&this.Ke(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],sa:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.Ba(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.sa&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Jg(e);break}n||c.sa||!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},Ba:function(b){return b},Yd:function(b,c){return b[0]-c[0]},Zd:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},He:function(b,c){for(var d=[];b;)b.sa?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},Je:function(b,c,e,f){var g=e-c+1,h=this.Vd,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,sa:!0},d(k,this.Ba),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.Yd);c<=e;c+=h)for(p=Math.min(c+h-1,e),r(b,c,p,g,this.Zd),n=c;n<=p;n+=g)q=Math.min(n+g-1,p),k.children.push(this.Je(b,n,q,f-1));d(k,this.Ba);return k},Ig:function(b,c,d,e){for(var f,g,h,n,p,q,r,s;;){e.push(c);if(c.sa||e.length-1===d)break;r=s=Infinity;f=0;for(g=c.children.length;f<g;f++){h=c.children[f];p=k(h.bbox);q=b;var v=h.bbox;q=(Math.max(v[2],q[2])-Math.min(v[0],q[0]))*(Math.max(v[3],
  q[3])-Math.min(v[1],q[1]))-p;q<s?(s=q,r=p<r?p:r,n=h):q===s&&p<r&&(r=p,n=h)}c=n}return c},Ke:function(b,c,d){var e=this.Ba;d=d?b.bbox:e(b);var e=[],g=this.Ig(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Vd)this.Lg(e,c),c--;else break;this.Fg(d,e,c)},Lg:function(b,c){var e=b[c],f=e.children.length,g=this.Le;this.Gg(e,g,f);f={children:e.children.splice(this.Hg(e,g,f)),height:e.height};e.sa&&(f.sa=!0);d(e,this.Ba);d(f,this.Ba);c?b[c-1].children.push(f):this.Me(e,
  f)},Me:function(b,c){this.data={children:[b,c],height:b.height+1};d(this.data,this.Ba)},Hg: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.Ba);h=e(b,f,d,this.Ba);var s=g,v=h;n=Math.max(s[0],v[0]);var Yb=Math.max(s[1],v[1]),Pb=Math.min(s[2],v[2]),s=Math.min(s[3],v[3]);n=Math.max(0,Pb-n)*Math.max(0,s-Yb);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},Gg:function(b,c,d){var e=b.sa?this.Yd:g,f=b.sa?this.Zd:h,k=this.Ie(b,c,d,e);c=this.Ie(b,c,d,f);
  k<c&&b.children.sort(e)},Ie:function(b,c,d,g){b.children.sort(g);g=this.Ba;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.sa?g(r):r.bbox),p+=n(h);for(q=d-c-1;q>=c;q--)r=b.children[q],f(k,b.sa?g(r):r.bbox),p+=n(k);return p},Fg:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Jg: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.Ba)},Kg:function(b){var c=["return a"," - b",
  ";"];this.Yd=new Function("a","b",c.join(b[0]));this.Zd=new Function("a","b",c.join(b[1]));this.Ba=new Function("a","return [a"+b.join(", a")+"];")}};"function"===typeof define&&define.Pl?define(function(){return c}):"undefined"!==typeof b?b.Ue=c:"undefined"!==typeof self?self.a=c:window.a=c})();rv=b.Ue})();function sv(b){this.a=rv(b);this.b={}}l=sv.prototype;l.na=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.a.na(d);Ab(this.b,ma(c).toString(),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;Ab(this.b,ma(h).toString(),g)}this.a.load(d)};l.remove=function(b){b=ma(b).toString();var c=y(this.b,b);zb(this.b,b);return null!==this.a.remove(c)};l.update=function(b,c){this.remove(c);this.na(b,c)};
  function tv(b){b=b.a.all();return Va(b,function(b){return b[4]})}function uv(b,c){var d=b.a.search(c);return Va(d,function(b){return b[4]})}l.forEach=function(b,c){return vv(tv(this),b,c)};function wv(b,c,d,e){return vv(uv(b,c),d,e)}function vv(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}l.ja=function(){return xb(this.b)};l.clear=function(){this.a.clear();this.b={}};l.t=function(){return this.a.data.bbox};function xv(b){b=m(b)?b:{};nj.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection,state:m(b.state)?b.state:void 0});this.d=new sv;this.c={};this.f={};this.o={};this.i={};m(b.features)&&this.bb(b.features)}u(xv,nj);l=xv.prototype;l.Na=function(b){var c=ma(b).toString();yv(this,c,b);var d=b.N();null!=d?(d=d.t(),this.d.na(d,b)):this.c[c]=b;zv(this,c,b);this.dispatchEvent(new Av("addfeature",b));this.l()};
  function yv(b,c,d){b.i[c]=[z(d,"change",b.uf,!1,b),z(d,"propertychange",b.uf,!1,b)]}function zv(b,c,d){var e=d.X;m(e)?b.f[e.toString()]=d:b.o[c]=d}l.ya=function(b){this.bb(b);this.l()};l.bb=function(b){var c,d,e,f,g=[],h=[];d=0;for(e=b.length;d<e;d++){f=b[d];c=ma(f).toString();yv(this,c,f);var k=f.N();null!=k?(c=k.t(),g.push(c),h.push(f)):this.c[c]=f}this.d.load(g,h);d=0;for(e=b.length;d<e;d++)f=b[d],c=ma(f).toString(),zv(this,c,f),this.dispatchEvent(new Av("addfeature",f))};
  l.clear=function(b){if(b){for(var c in this.i)Ta(this.i[c],Yc);this.i={};this.f={};this.o={}}else b=this.Rf,this.d.forEach(b,this),ob(this.c,b,this);this.d.clear();this.c={};this.dispatchEvent(new Av("clear"));this.l()};l.Ua=function(b,c){return this.d.forEach(b,c)};function Bv(b,c,d){b.pa([c[0],c[1],c[0],c[1]],function(b){if(b.N().Kb(c[0],c[1]))return d.call(void 0,b)})}l.pa=function(b,c,d){return wv(this.d,b,c,d)};l.Cb=function(b,c,d,e){return this.pa(b,d,e)};
  l.Ea=function(b,c,d){return this.pa(b,function(e){if(e.N().ia(b)&&(e=c.call(d,e)))return e})};l.ta=function(){var b=tv(this.d);xb(this.c)||db(b,rb(this.c));return b};l.Ha=function(b){var c=[];Bv(this,b,function(b){c.push(b)});return c};l.Va=function(b){var c=b[0],d=b[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity];wv(this.d,h,function(b){var n=b.N(),p=g;g=n.Sa(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.t=function(){return this.d.t()};
  l.Ga=function(b){b=this.f[b.toString()];return m(b)?b:null};l.uf=function(b){b=b.target;var c=ma(b).toString(),d=b.N();null!=d?(d=d.t(),c in this.c?(delete this.c[c],this.d.na(d,b)):this.d.update(d,b)):c in this.c||(this.d.remove(b),this.c[c]=b);d=b.X;m(d)?(d=d.toString(),c in this.o?(delete this.o[c],this.f[d]=b):this.f[d]!==b&&(Cv(this,b),this.f[d]=b)):c in this.o||(Cv(this,b),this.o[c]=b);this.l();this.dispatchEvent(new Av("changefeature",b))};l.ja=function(){return this.d.ja()&&xb(this.c)};
  l.Hb=ca;l.Xa=function(b){var c=ma(b).toString();c in this.c?delete this.c[c]:this.d.remove(b);this.Rf(b);this.l()};l.Rf=function(b){var c=ma(b).toString();Ta(this.i[c],Yc);delete this.i[c];var d=b.X;m(d)?delete this.f[d.toString()]:delete this.o[c];this.dispatchEvent(new Av("removefeature",b))};function Cv(b,c){for(var d in b.f)if(b.f[d]===c){delete b.f[d];break}}function Av(b,c){uc.call(this,b);this.feature=c}u(Av,uc);function Dv(b,c){uc.call(this,b);this.feature=c}u(Dv,uc);
  function Ev(b){xk.call(this);this.F=null;this.aa=m(b.source)?b.source:null;this.M=m(b.features)?b.features:null;this.ha=m(b.snapTolerance)?b.snapTolerance:12;this.ca=m(b.minPointsPerRing)?b.minPointsPerRing:3;var c=this.s=b.type,d;if("Point"===c||"MultiPoint"===c)d=Fv;else if("LineString"===c||"MultiLineString"===c)d=Gv;else if("Polygon"===c||"MultiPolygon"===c)d=Hv;this.c=d;this.f=this.q=this.j=this.g=this.i=null;this.D=new So({style:m(b.style)?b.style:Iv()});this.T=b.geometryName;this.da=m(b.condition)?
  b.condition:tk;z(this,xd("active"),this.ag,!1,this)}u(Ev,xk);function Iv(){var b=Il();return function(c){return b[c.N().H()]}}l=Ev.prototype;l.setMap=function(b){Ev.Q.setMap.call(this,b);this.ag()};l.handleMapBrowserEvent=function(b){var c;c=b.map;if(Pf(document,c.d)&&"none"!=c.d.style.display){var d=c.e();null==d||0>=d[0]||0>=d[1]?c=!1:(c=c.a(),c=null!==c&&af(c)?!0:!1)}else c=!1;if(!c)return!0;c=!0;b.type===kj?c=Jv(this,b):b.type===ej&&(c=!1);return Ev.Q.handleMapBrowserEvent.call(this,b)&&c};
  l.vb=function(b){return this.da(b)?(this.F=b.pixel,!0):!1};l.wb=function(b){var c=this.F,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;4>=e*e+c*c&&(Jv(this,b),null===this.i?Kv(this,b):this.c===Fv||Lv(this,b)?this.Ve():(b=b.coordinate,e=this.g.N(),this.c===Gv?(this.i=b.slice(),c=e.J(),c.push(b.slice()),e.V(c)):this.c===Hv&&(this.f[0].push(b.slice()),e.V(this.f)),Mv(this)),d=!1);return d};
  function Jv(b,c){if(b.c===Fv&&null===b.i)Kv(b,c);else if(null===b.i){var d=c.coordinate.slice();null===b.j?(b.j=new R(new Zk(d)),Mv(b)):b.j.N().V(d)}else{var d=c.coordinate,e=b.g.N(),f,g;b.c===Fv?(g=e.J(),g[0]=d[0],g[1]=d[1],e.V(g)):(b.c===Gv?f=e.J():b.c===Hv&&(f=b.f[0]),Lv(b,c)&&(d=b.i.slice()),b.j.N().V(d),g=f[f.length-1],g[0]=d[0],g[1]=d[1],b.c===Gv?e.V(f):b.c===Hv&&(b.q.N().V(f),e.V(b.f)));Mv(b)}return!0}
  function Lv(b,c){var d=!1;if(null!==b.g){var e=b.g.N(),f=!1,g=[b.i];b.c===Gv?f=2<e.J().length:b.c===Hv&&(f=e.J()[0].length>b.ca,g=[b.f[0][0],b.f[0][b.f[0].length-2]]);if(f)for(var e=c.map,f=0,h=g.length;f<h;f++){var k=g[f],n=e.f(k),p=c.pixel,d=p[0]-n[0],n=p[1]-n[1];if(d=Math.sqrt(d*d+n*n)<=b.ha){b.i=k;break}}}return d}
  function Kv(b,c){var d=c.coordinate;b.i=d;var e;b.c===Fv?e=new Zk(d.slice()):b.c===Gv?e=new M([d.slice(),d.slice()]):b.c===Hv&&(b.q=new R(new M([d.slice(),d.slice()])),b.f=[[d.slice(),d.slice()]],e=new H(b.f));b.g=new R;m(b.T)&&b.g.e(b.T);b.g.Oa(e);Mv(b);b.dispatchEvent(new Dv("drawstart",b.g))}
  l.Ve=function(){var b=Nv(this),c,d=b.N();this.c===Fv?c=d.J():this.c===Gv?(c=d.J(),c.pop(),d.V(c)):this.c===Hv&&(this.f[0].pop(),this.f[0].push(this.f[0][0]),d.V(this.f),c=d.J());"MultiPoint"===this.s?b.Oa(new Wm([c])):"MultiLineString"===this.s?b.Oa(new Tm([c])):"MultiPolygon"===this.s&&b.Oa(new Xm([c]));null===this.M||this.M.push(b);null===this.aa||this.aa.Na(b);this.dispatchEvent(new Dv("drawend",b))};
  function Nv(b){b.i=null;var c=b.g;null!==c&&(b.g=null,b.j=null,b.q=null,b.D.a.clear());return c}function Mv(b){var c=[];null===b.g||c.push(b.g);null===b.q||c.push(b.q);null===b.j||c.push(b.j);b.D.Oc(new B(c))}l.ag=function(){var b=this.n,c=this.a();null!==b&&c||Nv(this);this.D.setMap(c?b:null)};var Fv="Point",Gv="LineString",Hv="Polygon";function Ov(b){xk.call(this);this.T=m(b.deleteCondition)?b.deleteCondition:id(tk,sk);this.M=this.f=null;this.F=[0,0];this.c=new sv;this.i=m(b.pixelTolerance)?b.pixelTolerance:10;this.D=!1;this.g=null;this.j=new So({style:m(b.style)?b.style:Pv()});this.s={Point:this.Al,LineString:this.eg,LinearRing:this.eg,Polygon:this.Cl,MultiPoint:this.xl,MultiLineString:this.wl,MultiPolygon:this.zl,GeometryCollection:this.vl};this.q=b.features;this.q.forEach(this.qf,this);z(this.q,"add",this.Qh,!1,this);z(this.q,
  "remove",this.Rh,!1,this)}u(Ov,xk);l=Ov.prototype;l.qf=function(b){var c=b.N();m(this.s[c.H()])&&this.s[c.H()].call(this,b,c);b=this.n;null===b||Qv(this,this.F,b)};l.setMap=function(b){this.j.setMap(b);Ov.Q.setMap.call(this,b)};l.Qh=function(b){this.qf(b.element)};l.Rh=function(b){var c=b.element;b=this.c;var d,e=[];wv(b,c.N().t(),function(b){c===b.feature&&e.push(b)});for(d=e.length-1;0<=d;--d)b.remove(e[d]);null!==this.f&&0===this.q.Ib()&&(this.j.wd(this.f),this.f=null)};
  l.Al=function(b,c){var d=c.J(),d={feature:b,geometry:c,fa:[d,d]};this.c.na(c.t(),d)};l.xl=function(b,c){var d=c.J(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:b,geometry:c,depth:[f],index:f,fa:[e,e]},this.c.na(c.t(),e)};l.eg=function(b,c){var d=c.J(),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,fa:g},this.c.na(Td(g),h)};
  l.wl=function(b,c){var d=c.J(),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,fa:n},this.c.na(Td(n),p)};l.Cl=function(b,c){var d=c.J(),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,fa:n},this.c.na(Td(n),p)};
  l.zl=function(b,c){var d=c.J(),e,f,g,h,k,n,p,q,r,s;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),s={feature:b,geometry:c,depth:[h,n],index:f,fa:r},this.c.na(Td(r),s)};l.vl=function(b,c){var d,e=c.e;for(d=0;d<e.length;++d)this.s[e[d].H()].call(this,b,e[d])};function Rv(b,c){var d=b.f;null===d?(d=new R(new Zk(c)),b.f=d,b.j.kf(d)):d.N().V(c)}
  l.vb=function(b){Qv(this,b.pixel,b.map);this.g=[];var c=this.f;if(null!==c){b=[];for(var c=c.N().J(),d=Td([c]),d=uv(this.c,d),e=0,f=d.length;e<f;++e){var g=d[e],h=g.fa;Cd(h[0],c)?this.g.push([g,0]):Cd(h[1],c)?this.g.push([g,1]):ma(h)in this.M&&b.push([g,c])}for(e=b.length-1;0<=e;--e)this.pi.apply(this,b[e])}return null!==this.f};
  l.Fb=function(b){b=b.coordinate;for(var c=0,d=this.g.length;c<d;++c){var e=this.g[c],f=e[0],g=f.depth,h=f.geometry,k=h.J(),n=f.fa,e=e[1];switch(h.H()){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}h.V(k);Rv(this,b)}};
  l.wb=function(){for(var b,c=this.g.length-1;0<=c;--c)b=this.g[c][0],this.c.update(Td(b.fa),b);return!1};
  l.handleMapBrowserEvent=function(b){var c,d=b.map.a();cb(d.j)[1]||b.type!=kj||(this.F=b.pixel,Qv(this,b.pixel,b.map));if(null!==this.f&&this.D&&this.T(b)){this.f.N();c=this.g;var d={},e=!1,f,g,h,k,n,p,q,r,s;for(n=c.length-1;0<=n;--n)if(h=c[n],r=h[0],k=r.geometry,g=k.J(),s=ma(r.feature),f=q=p=void 0,0===h[1]?(q=r,p=r.index):1==h[1]&&(f=r,p=r.index+1),s in d||(d[s]=[f,q,p]),h=d[s],m(f)&&(h[0]=f),m(q)&&(h[1]=q),m(h[0])&&m(h[1])){f=g;e=!1;q=p-1;switch(k.H()){case "MultiLineString":g[r.depth[0]].splice(p,
  1);e=!0;break;case "LineString":g.splice(p,1);e=!0;break;case "MultiPolygon":f=f[r.depth[1]];case "Polygon":f=f[r.depth[0]],4<f.length&&(p==f.length-1&&(p=0),f.splice(p,1),e=!0,0===p&&(f.pop(),f.push(f[0]),q=f.length-1))}e&&(this.c.remove(h[0]),this.c.remove(h[1]),k.V(g),g={depth:r.depth,feature:r.feature,geometry:r.geometry,index:q,fa:[h[0].fa[0],h[1].fa[1]]},this.c.na(Td(g.fa),g),Sv(this,k,p,r.depth,-1),this.j.wd(this.f),this.f=null)}c=e}return Ov.Q.handleMapBrowserEvent.call(this,b)&&!c};
  function Qv(b,c,d){function e(b,c){return Ed(f,zd(f,b.fa))-Ed(f,zd(f,c.fa))}var f=d.Fa(c),g=d.Fa([c[0]-b.i,c[1]+b.i]),h=d.Fa([c[0]+b.i,c[1]-b.i]),g=Td([g,h]),g=uv(b.c,g);if(0<g.length){g.sort(e);var h=g[0].fa,k=zd(f,h),n=d.f(k);if(Math.sqrt(Ed(c,n))<=b.i){c=d.f(h[0]);d=d.f(h[1]);c=Ed(n,c);d=Ed(n,d);b.D=Math.sqrt(Math.min(c,d))<=b.i;b.D&&(k=c>d?h[1]:h[0]);Rv(b,k);d={};d[ma(h)]=!0;c=1;for(n=g.length;c<n;++c)if(k=g[c].fa,Cd(h[0],k[0])&&Cd(h[1],k[1])||Cd(h[0],k[1])&&Cd(h[1],k[0]))d[ma(k)]=!0;else break;
  b.M=d;return}}null!==b.f&&(b.j.wd(b.f),b.f=null)}
  l.pi=function(b,c){var d=b.fa,e=b.feature,f=b.geometry,g=b.depth,h=b.index,k;switch(f.H()){case "MultiLineString":k=f.J();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.J();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.J();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.J();k.splice(h+1,0,c);break;default:return}f.V(k);k=this.c;k.remove(b);Sv(this,f,h,g,1);var n={fa:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.na(Td(n.fa),n);this.g.push([n,1]);d={fa:[c,d[1]],feature:e,geometry:f,
  depth:g,index:h+1};k.na(Td(d.fa),d);this.g.push([d,0])};l.Hd=ed;function Sv(b,c,d,e,f){wv(b.c,c.t(),function(b){b.geometry===c&&(!m(e)||ib(b.depth,e))&&b.index>d&&(b.index+=f)})}function Pv(){var b=Il();return function(){return b.Point}};function Tv(b){lk.call(this);b=m(b)?b:{};this.f=m(b.condition)?b.condition:sk;this.g=m(b.addCondition)?b.addCondition:cd;this.i=m(b.removeCondition)?b.removeCondition:cd;this.j=m(b.toggleCondition)?b.toggleCondition:uk;var c;if(m(b.layers))if(ka(b.layers))c=b.layers;else{var d=b.layers;c=function(b){return Za(d,b)}}else c=dd;this.e=c;this.c=new So({style:m(b.style)?b.style:Uv()});b=this.c.a;z(b,"add",this.nj,!1,this);z(b,"remove",this.Rk,!1,this)}u(Tv,lk);l=Tv.prototype;l.oj=function(){return this.c.a};
  l.handleMapBrowserEvent=function(b){if(!this.f(b))return!0;var c=this.g(b),d=this.i(b),e=this.j(b),f=b.map,g=this.c.a;if(c||d||e){var h=[],k=[];f.je(b.pixel,function(b){-1==Sa.indexOf.call(g.a,b,void 0)?(c||e)&&k.push(b):(d||e)&&h.push(b)},void 0,this.e);for(b=h.length-1;0<=b;--b)g.remove(h[b]);g.jf(k)}else b=f.je(b.pixel,function(b){return b},void 0,this.e),m(b)&&1==g.Ib()&&g.item(0)==b||(0!==g.Ib()&&g.clear(),m(b)&&g.push(b));return this.f==rk};
  l.setMap=function(b){var c=this.n,d=this.c.a;null===c||d.forEach(c.hc,c);Tv.Q.setMap.call(this,b);this.c.setMap(b);null===b||d.forEach(b.zb,b)};function Uv(){var b=Il();db(b.Polygon,b.LineString);db(b.GeometryCollection,b.LineString);return function(c){return b[c.N().H()]}}l.nj=function(b){b=b.element;var c=this.n;null===c||c.zb(b)};l.Rk=function(b){b=b.element;var c=this.n;null===c||c.hc(b)};function $(b){b=m(b)?b:{};L.call(this,b);this.ha=null;z(this,xd("gradient"),this.Rd,!1,this);this.gc(m(b.gradient)?b.gradient:Vv);var c=Wv(m(b.radius)?b.radius:8,m(b.blur)?b.blur:15,m(b.shadow)?b.shadow:250),d=Array(256),e=m(b.weight)?b.weight:"weight",f;ia(e)?f=function(b){return b.get(e)}:f=e;this.xa(function(b){b=f(b);b=m(b)?Zb(b,0,1):1;var e=255*b|0,k=d[e];m(k)||(k=[new El({image:new Pj({opacity:b,src:c})})],d[e]=k);return k});this.set("renderOrder",null);z(this,"render",this.Sd,!1,this)}
  u($,L);var Vv=["#00f","#0ff","#0f0","#ff0","#f00"];function Wv(b,c,d){var e=b+c+1,f=2*e,f=Tf(f,f);f.shadowOffsetX=f.shadowOffsetY=d;f.shadowBlur=c;f.shadowColor="#000";f.beginPath();c=e-d;f.arc(c,c,b,0,2*Math.PI,!0);f.fill();return f.canvas.toDataURL()}$.prototype.Da=function(){return this.get("gradient")};$.prototype.getGradient=$.prototype.Da;
  $.prototype.Rd=function(){for(var b=this.Da(),c=Tf(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.ha=c.getImageData(0,0,1,256).data};$.prototype.Sd=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.ha[g],d[e+1]=this.ha[g+1],d[e+2]=this.ha[g+2];b.putImageData(c,0,0)};
  $.prototype.gc=function(b){this.set("gradient",b)};$.prototype.setGradient=$.prototype.gc;function Xv(b){return[b]};function Yv(b,c){var d=c||{},e=d.document||document,f=If("SCRIPT"),g={Uf:f,cc:void 0},h=new Yu(Zv,g),k=null,n=null!=d.timeout?d.timeout:5E3;0<n&&(k=window.setTimeout(function(){$v(f,!0);var c=new aw(bw,"Timeout reached for loading script "+b);$u(h);av(h,!1,c)},n),g.cc=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||($v(f,d.Vg||!1,k),$u(h),av(h,!0,null))};f.onerror=function(){$v(f,!0,k);var c=new aw(cw,"Error while loading script "+b);$u(h);
  av(h,!1,c)};Cf(f,{type:"text/javascript",charset:"UTF-8",src:b});dw(e).appendChild(f);return h}function dw(b){var c=b.getElementsByTagName("HEAD");return c&&0!=c.length?c[0]:b.documentElement}function Zv(){if(this&&this.Uf){var b=this.Uf;b&&"SCRIPT"==b.tagName&&$v(b,!0,this.cc)}}function $v(b,c,d){null!=d&&ba.clearTimeout(d);b.onload=ca;b.onerror=ca;b.onreadystatechange=ca;c&&window.setTimeout(function(){Nf(b)},0)}var cw=0,bw=1;
  function aw(b,c){var d="Jsloader error (code #"+b+")";c&&(d+=": "+c);xa.call(this,d);this.code=b}u(aw,xa);function ew(b,c){this.b=new xh(b);this.a=c?c:"callback";this.cc=5E3}var fw=0;
  ew.prototype.send=function(b,c,d,e){b=b||null;e=e||"_"+(fw++).toString(36)+ua().toString(36);ba._callbacks_||(ba._callbacks_={});var f=this.b.clone();if(b)for(var g in b)if(!b.hasOwnProperty||b.hasOwnProperty(g)){var h=f,k=g,n=b[g];ga(n)||(n=[String(n)]);Rh(h.a,k,n)}c&&(ba._callbacks_[e]=gw(e,c),c=this.a,g="_callbacks_."+e,ga(g)||(g=[String(g)]),Rh(f.a,c,g));c=Yv(f.toString(),{timeout:this.cc,Vg:!0});dv(c,null,hw(e,b,d),void 0);return{X:e,Se:c}};
  ew.prototype.cancel=function(b){b&&(b.Se&&b.Se.cancel(),b.X&&iw(b.X,!1))};function hw(b,c,d){return function(){iw(b,!1);d&&d(c)}}function gw(b,c){return function(d){iw(b,!0);c.apply(void 0,arguments)}}function iw(b,c){ba._callbacks_[b]&&(c?delete ba._callbacks_[b]:ba._callbacks_[b]=ca)};function jw(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,g[2].toString()).replace(f,function(){return((1<<g[0])-g[2]-1).toString()})}}function kw(b){return lw(Va(b,jw))}function lw(b){return 1===b.length?b[0]:function(c,d,e){return null===c?void 0:b[$b((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function mw(){}
  function nw(b,c){var d=[0,0,0];return function(e,f,g){return null===e?void 0:c(b(e,g,d),f,g)}}function ow(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 pw(b){ko.call(this);this.e=m(b)?b:2048}u(pw,ko);function qw(b){return b.Vb()>b.e}function rw(b,c){for(var d,e;qw(b)&&!(d=b.a.ec,e=d.a[0].toString(),e in c&&c[e].contains(d.a));)b.pop().ic()};function sw(b){Cj.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,tilePixelRatio:b.tilePixelRatio});this.tileUrlFunction=m(b.tileUrlFunction)?b.tileUrlFunction:mw;this.crossOrigin=m(b.crossOrigin)?b.crossOrigin:null;this.d=new pw;this.tileLoadFunction=m(b.tileLoadFunction)?b.tileLoadFunction:tw;this.tileClass=m(b.tileClass)?b.tileClass:xu}u(sw,Cj);function tw(b,c){b.La().src=c}l=sw.prototype;
  l.yd=function(){return qw(this.d)};l.ne=function(b){rw(this.d,b)};l.Eb=function(b,c,d,e,f){var g=this.eb(b,c,d);if(ho(this.d,g))return this.d.get(g);b=[b,c,d];e=this.tileUrlFunction(b,e,f);e=new this.tileClass(b,m(e)?0:4,m(e)?e:"",this.crossOrigin,this.tileLoadFunction);this.d.set(g,e);return e};l.fb=function(){return this.tileLoadFunction};l.gb=function(){return this.tileUrlFunction};l.kb=function(b){this.d.clear();this.tileLoadFunction=b;this.l()};
  l.oa=function(b){this.d.clear();this.tileUrlFunction=b;this.l()};l.Ce=function(b,c,d){b=this.eb(b,c,d);ho(this.d,b)&&this.d.get(b)};function uw(b){var c=m(b.extent)?b.extent:Rl,d=Aj(c,b.maxZoom,b.tileSize);tj.call(this,{minZoom:b.minZoom,origin:le(c,"top-left"),resolutions:d,tileSize:b.tileSize})}u(uw,tj);
  uw.prototype.Ab=function(b){b=m(b)?b:{};var c=this.minZoom,d=this.maxZoom,e=m(b.wrapX)?b.wrapX:!0,f=null;if(m(b.extent)){var f=Array(d+1),g;for(g=0;g<=d;++g)f[g]=g<c?null:wj(this,b.extent,g)}return function(b,g,n){g=b[0];if(g<c||d<g)return null;var p=Math.pow(2,g),q=b[1];if(e)q=$b(q,p);else if(0>q||p<=q)return null;b=b[2];return b<-p||-1<b||null!==f&&!qf(f[g],q,b)?null:kf(g,q,-b-1,n)}};uw.prototype.kd=function(b,c){if(b[0]<this.maxZoom){var d=2*b[1],e=2*b[2];return pf(d,d+1,e,e+1,c)}return null};
  uw.prototype.ad=function(b,c,d,e){e=pf(0,b[1],0,b[2],e);for(b=b[0]-1;b>=this.minZoom;--b)if(e.a=e.c>>=1,e.d=e.b>>=1,c.call(d,b,e))return!0;return!1};function vw(b){sw.call(this,{crossOrigin:"anonymous",opaque:!0,projection:Ee("EPSG:3857"),state:"loading",tileLoadFunction:b.tileLoadFunction});this.c=m(b.culture)?b.culture:"en-us";this.a=m(b.maxZoom)?b.maxZoom:-1;var c=new xh((Wb?"https:":"http:")+"//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+b.imagerySet);(new ew(c,"jsonp")).send({include:"ImageryProviders",uriScheme:Wb?"https":"http",key:b.key},sa(this.f,this))}u(vw,sw);var ww=new tf({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});
  vw.prototype.f=function(b){if(200!=b.statusCode||"OK"!=b.statusDescription||"ValidCredentials"!=b.authenticationResultCode||1!=b.resourceSets.length||1!=b.resourceSets[0].resources.length)oj(this,"error");else{var c=b.brandLogoUri,d=b.resourceSets[0].resources[0],e=-1==this.a?d.zoomMax:this.a,f=new uw({extent:Bj(this.g),minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth});this.tileGrid=f;var g=this.c;this.tileUrlFunction=nw(f.Ab(),lw(Va(d.imageUrlSubdomains,function(b){var c=d.imageUrl.replace("{subdomain}",
  b).replace("{culture}",g);return function(b){return null===b?void 0:c.replace("{quadkey}",mf(b))}})));if(d.imageryProviders){var h=De(Ee("EPSG:4326"),this.g);b=Va(d.imageryProviders,function(b){var c=b.attribution,d={};Ta(b.coverageAreas,function(b){var c=b.zoomMin,g=Math.min(b.zoomMax,e);b=b.bbox;b=we([b[1],b[0],b[3],b[2]],h);var k,n;for(k=c;k<=g;++k)n=k.toString(),c=wj(f,b,k),n in d?d[n].push(c):d[n]=[c]});return new tf({html:c,tileRanges:d})});b.push(ww);this.e=b}this.r=c;oj(this,"ready")}};function xw(b){xv.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection});this.j=void 0;this.q=m(b.distance)?b.distance:20;this.a=[];this.p=b.source;this.p.u("change",xw.prototype.s,this)}u(xw,xv);xw.prototype.Hb=function(b,c,d){c!==this.j&&(this.clear(),this.j=c,this.p.Hb(b,c,d),yw(this),this.ya(this.a))};xw.prototype.s=function(){this.clear();yw(this);this.ya(this.a);this.l()};
  function yw(b){if(m(b.j)){$a(b.a);for(var c=Vd(),d=b.q*b.j,e=b.p.ta(),f={},g=0,h=e.length;g<h;g++){var k=e[g];tb(f,ma(k).toString())||(k=k.N().J(),ce(k,c),Yd(c,d,c),k=uv(b.p.d,c),k=Ua(k,function(b){b=ma(b).toString();return b in f?!1:f[b]=!0}),b.a.push(zw(k)))}}}function zw(b){for(var c=b.length,d=[0,0],e=0;e<c;e++){var f=b[e].N().J();yd(d,f)}c=1/c;d[0]*=c;d[1]*=c;d=new R(new Zk(d));d.set("features",b);return d};function Aw(b,c,d){if(ka(b))d&&(b=sa(b,d));else if(b&&"function"==typeof b.handleEvent)b=sa(b.handleEvent,b);else throw Error("Invalid listener argument");return 2147483647<c?-1:ba.setTimeout(b,c||0)};function Bw(){}Bw.prototype.a=null;function Cw(b){var c;(c=b.a)||(c={},Dw(b)&&(c[0]=!0,c[1]=!0),c=b.a=c);return c};var Ew;function Fw(){}u(Fw,Bw);function Gw(b){return(b=Dw(b))?new ActiveXObject(b):new XMLHttpRequest}function Dw(b){if(!b.b&&"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.b=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return b.b}Ew=new Fw;function Hw(b){jd.call(this);this.r=new oh;this.i=b||null;this.a=!1;this.o=this.S=null;this.e=this.p="";this.b=this.j=this.c=this.n=!1;this.g=0;this.d=null;this.f=Iw;this.q=this.s=!1}u(Hw,jd);var Iw="",Jw=/^https?$/i,Kw=["POST","PUT"];l=Hw.prototype;
  l.send=function(b,c,d,e){if(this.S)throw Error("[goog.net.XhrIo] Object is active with another request="+this.p+"; newUri="+b);c=c?c.toUpperCase():"GET";this.p=b;this.e="";this.n=!1;this.a=!0;this.S=this.i?Gw(this.i):Gw(Ew);this.o=this.i?Cw(this.i):Cw(Ew);this.S.onreadystatechange=sa(this.Bf,this);try{this.j=!0,this.S.open(c,String(b),!0),this.j=!1}catch(f){Lw(this,f);return}b=d||"";var g=this.r.clone();e&&nh(e,function(b,c){g.set(c,b)});e=Xa(g.I());d=ba.FormData&&b instanceof ba.FormData;!Za(Kw,
  c)||e||d||g.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");g.forEach(function(b,c){this.S.setRequestHeader(c,b)},this);this.f&&(this.S.responseType=this.f);"withCredentials"in this.S&&(this.S.withCredentials=this.s);try{Mw(this),0<this.g&&((this.q=Nw(this.S))?(this.S.timeout=this.g,this.S.ontimeout=sa(this.cc,this)):this.d=Aw(this.cc,this.g,this)),this.c=!0,this.S.send(b),this.c=!1}catch(h){Lw(this,h)}};function Nw(b){return Hb&&Tb(9)&&ja(b.timeout)&&m(b.ontimeout)}
  function Ya(b){return"content-type"==b.toLowerCase()}l.cc=function(){"undefined"!=typeof aa&&this.S&&(this.e="Timed out after "+this.g+"ms, aborting",this.dispatchEvent("timeout"),this.S&&this.a&&(this.a=!1,this.b=!0,this.S.abort(),this.b=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ow(this)))};function Lw(b,c){b.a=!1;b.S&&(b.b=!0,b.S.abort(),b.b=!1);b.e=c;Pw(b);Ow(b)}function Pw(b){b.n||(b.n=!0,b.dispatchEvent("complete"),b.dispatchEvent("error"))}
  l.L=function(){this.S&&(this.a&&(this.a=!1,this.b=!0,this.S.abort(),this.b=!1),Ow(this,!0));Hw.Q.L.call(this)};l.Bf=function(){this.Qa||(this.j||this.c||this.b?Qw(this):this.nk())};l.nk=function(){Qw(this)};
  function Qw(b){if(b.a&&"undefined"!=typeof aa&&(!b.o[1]||4!=Rw(b)||2!=Sw(b)))if(b.c&&4==Rw(b))Aw(b.Bf,0,b);else if(b.dispatchEvent("readystatechange"),4==Rw(b)){b.a=!1;try{if(Tw(b))b.dispatchEvent("complete"),b.dispatchEvent("success");else{var c;try{c=2<Rw(b)?b.S.statusText:""}catch(d){c=""}b.e=c+" ["+Sw(b)+"]";Pw(b)}}finally{Ow(b)}}}function Ow(b,c){if(b.S){Mw(b);var d=b.S,e=b.o[0]?ca:null;b.S=null;b.o=null;c||b.dispatchEvent("ready");try{d.onreadystatechange=e}catch(f){}}}
  function Mw(b){b.S&&b.q&&(b.S.ontimeout=null);ja(b.d)&&(ba.clearTimeout(b.d),b.d=null)}function Tw(b){var c=Sw(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=sh(String(b.p))[1]||null,!b&&self.location&&(b=self.location.protocol,b=b.substr(0,b.length-1)),c=!Jw.test(b?b.toLowerCase():"");d=c}return d}function Rw(b){return b.S?b.S.readyState:0}function Sw(b){try{return 2<Rw(b)?b.S.status:-1}catch(c){return-1}}
  function Uw(b){try{return b.S?b.S.responseText:""}catch(c){return""}}function Vw(b){try{if(!b.S)return null;if("response"in b.S)return b.S.response;switch(b.f){case Iw:case "text":return b.S.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in b.S)return b.S.mozResponseArrayBuffer}return null}catch(c){return null}};function Ww(b){xv.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection});this.format=b.format}u(Ww,xv);
  function Xw(b,c,d,e,f){var g=new Hw;g.f="binary"==b.format.H()&&bg?"arraybuffer":"text";z(g,"complete",function(b){b=b.target;if(Tw(b)){var c=this.format.H(),g;if("binary"==c&&bg)g=Vw(b);else if("json"==c)g=Uw(b);else if("text"==c)g=Uw(b);else if("xml"==c){if(!Hb)try{g=b.S?b.S.responseXML:null}catch(p){g=null}null!=g||(g=Ip(Uw(b)))}null!=g?d.call(f,this.a(g)):oj(this,"error")}else e.call(f);tc(b)},!1,b);g.send(c)}Ww.prototype.a=function(b){return this.format.ka(b,{featureProjection:this.g})};function Yw(b){Ww.call(this,{attributions:b.attributions,format:b.format,logo:b.logo,projection:b.projection});m(b.arrayBuffer)&&this.bb(this.a(b.arrayBuffer));m(b.doc)&&this.bb(this.a(b.doc));m(b.node)&&this.bb(this.a(b.node));m(b.object)&&this.bb(this.a(b.object));m(b.text)&&this.bb(this.a(b.text));if(m(b.url)||m(b.urls))if(oj(this,"loading"),m(b.url)&&Xw(this,b.url,this.p,this.j,this),m(b.urls)){b=b.urls;var c,d;c=0;for(d=b.length;c<d;++c)Xw(this,b[c],this.p,this.j,this)}}u(Yw,Ww);
  Yw.prototype.j=function(){oj(this,"error")};Yw.prototype.p=function(b){this.bb(b);oj(this,"ready")};function Zw(b){b=m(b)?b:{};Yw.call(this,{attributions:b.attributions,extent:b.extent,format:new dp({defaultDataProjection:b.defaultProjection}),logo:b.logo,object:b.object,projection:b.projection,text:b.text,url:b.url,urls:b.urls})}u(Zw,Yw);function $w(b){b=m(b)?b:{};Yw.call(this,{attributions:b.attributions,doc:b.doc,extent:b.extent,format:new uq,logo:b.logo,node:b.node,projection:b.projection,text:b.text,url:b.url,urls:b.urls})}u($w,Yw);function ax(b){b=m(b)?b:{};Yw.call(this,{format:new er({altitudeMode:b.altitudeMode}),projection:b.projection,text:b.text,url:b.url,urls:b.urls})}u(ax,Yw);function bx(b){nj.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state});this.o=m(b.resolutions)?b.resolutions:null}u(bx,nj);function cx(b,c){if(null!==b.o){var d=ec(b.o,c,0);c=b.o[d]}return c}function dx(b,c){b.b().src=c};function ex(b){bx.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection,resolutions:b.resolutions,state:m(b.state)?b.state:void 0});this.s=b.canvasFunction;this.p=null;this.q=0;this.D=m(b.ratio)?b.ratio:1.5}u(ex,bx);ex.prototype.rc=function(b,c,d,e){c=cx(this,c);var f=this.p;if(null!==f&&this.q==this.b&&f.resolution==c&&f.e==d&&$d(f.t(),b))return f;b=b.slice();ue(b,this.D);e=this.s(b,c,d,[re(b)/c*d,oe(b)/c*d],e);null===e||(f=new wu(b,c,d,this.e,e));this.p=f;this.q=this.b;return f};function fx(b){bx.call(this,{projection:b.projection,resolutions:b.resolutions});this.q=m(b.crossOrigin)?b.crossOrigin:null;this.d=m(b.displayDpi)?b.displayDpi:96;this.a=m(b.params)?b.params:{};var c;m(b.url)?c=yu(b.url,this.a,sa(this.M,this)):c=zu;this.j=c;this.D=m(b.imageLoadFunction)?b.imageLoadFunction:dx;this.s=m(b.hidpi)?b.hidpi:!0;this.p=m(b.metersPerUnit)?b.metersPerUnit:1;this.f=m(b.ratio)?b.ratio:1;this.aa=m(b.useOverlay)?b.useOverlay:!1;this.c=null;this.i=0}u(fx,bx);fx.prototype.F=function(){return this.a};
  fx.prototype.rc=function(b,c,d,e){c=cx(this,c);d=this.s?d:1;var f=this.c;if(null!==f&&this.i==this.b&&f.resolution==c&&f.e==d&&$d(f.t(),b))return f;1!=this.f&&(b=b.slice(),ue(b,this.f));e=this.j(b,[re(b)/c*d,oe(b)/c*d],e);m(e)?f=new vu(b,c,d,this.e,e,this.q,this.D):f=null;this.c=f;this.i=this.b;return f};fx.prototype.T=function(b){Eb(this.a,b);this.l()};
  fx.prototype.M=function(b,c,d,e){var f;f=this.p;var g=re(d),h=oe(d),k=e[0],n=e[1],p=.0254/this.d;f=n*g>k*h?g*f/(k*p):h*f/(n*p);d=ke(d);e={OPERATION:this.aa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.d,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),SETVIEWSCALE:f,SETVIEWCENTERX:d[0],SETVIEWCENTERY:d[1]};Eb(e,c);return uh(wh([b],e))};function gx(b){var c=m(b.attributions)?b.attributions:null,d=b.imageExtent,e,f;m(b.imageSize)&&(e=oe(d)/b.imageSize[1],f=[e]);var g=m(b.crossOrigin)?b.crossOrigin:null,h=m(b.imageLoadFunction)?b.imageLoadFunction:dx;bx.call(this,{attributions:c,logo:b.logo,projection:Ee(b.projection),resolutions:f});this.a=new vu(d,e,1,c,b.url,g,h)}u(gx,bx);gx.prototype.rc=function(b){return qe(b,this.a.t())?this.a:null};function hx(b){this.a=b.source;this.F=Kd();this.d=Tf();this.c=[0,0];this.i=null;ex.call(this,{attributions:b.attributions,canvasFunction:sa(this.Tg,this),logo:b.logo,projection:b.projection,ratio:b.ratio,resolutions:b.resolutions,state:this.a.n});this.j=null;this.f=void 0;this.sf(b.style);z(this.a,"change",this.yj,void 0,this)}u(hx,ex);l=hx.prototype;
  l.Tg=function(b,c,d,e,f){var g=new ym(.5*c/d,b,c);this.a.Hb(b,c,f);var h=!1;this.a.Cb(b,c,function(b){var e;if(!(e=h)){var f;m(b.a)?f=b.a.call(b,c):m(this.f)&&(f=this.f(b,c));if(null!=f){var q,r=!1;e=0;for(q=f.length;e<q;++e)r=bn(g,b,f[e],an(c,d),this.xj,this)||r;e=r}else e=!1}h=e},this);zm(g);if(h)return null;this.c[0]!=e[0]||this.c[1]!=e[1]?(this.d.canvas.width=e[0],this.d.canvas.height=e[1],this.c[0]=e[0],this.c[1]=e[1]):this.d.clearRect(0,0,e[0],e[1]);e=ix(this,ke(b),c,d,e);Cm(g,this.d,b,d,e,
  0,{});this.i=g;return this.d.canvas};l.xd=function(b,c,d,e,f,g){if(null!==this.i){var h={};return Zj(this.i,b,c,0,e,f,function(b){var c=ma(b).toString();if(!(c in h))return h[c]=!0,g(b)})}};l.uj=function(){return this.a};l.vj=function(){return this.j};l.wj=function(){return this.f};function ix(b,c,d,e,f){return Sj(b.F,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.xj=function(){this.l()};l.yj=function(){oj(this,this.a.n)};l.sf=function(b){this.j=m(b)?b:Hl;this.f=null===b?void 0:Fl(this.j);this.l()};function jx(b){b=m(b)?b:{};bx.call(this,{attributions:b.attributions,logo:b.logo,projection:b.projection,resolutions:b.resolutions});this.s=m(b.crossOrigin)?b.crossOrigin:null;this.d=b.url;this.F=m(b.imageLoadFunction)?b.imageLoadFunction:dx;this.a=b.params;this.f=!0;kx(this);this.q=b.serverType;this.D=m(b.hidpi)?b.hidpi:!0;this.c=null;this.i=[0,0];this.p=0;this.j=m(b.ratio)?b.ratio:1.5}u(jx,bx);var lx=[101,101];l=jx.prototype;
  l.zj=function(b,c,d,e){if(m(this.d)){var f=ne(b,c,0,lx),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:y(this.a,"LAYERS")};Eb(g,this.a,e);e=Math.floor((f[3]-b[1])/c);g[this.f?"I":"X"]=Math.floor((b[0]-f[0])/c);g[this.f?"J":"Y"]=e;return mx(this,f,lx,1,Ee(d),g)}};l.Aj=function(){return this.a};
  l.rc=function(b,c,d,e){if(!m(this.d))return null;c=cx(this,c);1==d||this.D&&m(this.q)||(d=1);var f=this.c;if(null!==f&&this.p==this.b&&f.resolution==c&&f.e==d&&$d(f.t(),b))return f;f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Eb(f,this.a);b=b.slice();var g=(b[0]+b[2])/2,h=(b[1]+b[3])/2;if(1!=this.j){var k=this.j*re(b)/2,n=this.j*oe(b)/2;b[0]=g-k;b[1]=h-n;b[2]=g+k;b[3]=h+n}var k=c/d,n=Math.ceil(re(b)/k),p=Math.ceil(oe(b)/k);b[0]=g-k*n/2;b[2]=g+k*n/2;b[1]=h-k*
  p/2;b[3]=h+k*p/2;this.i[0]=n;this.i[1]=p;e=mx(this,b,this.i,d,e,f);this.c=new vu(b,c,d,this.e,e,this.s,this.F);this.p=this.b;return this.c};
  function mx(b,c,d,e,f,g){g[b.f?"CRS":"SRS"]=f.a;"STYLES"in b.a||(g.STYLES=new String(""));if(1!=e)switch(b.q){case "geoserver":g.FORMAT_OPTIONS="dpi:"+(90*e+.5|0);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.d;var h;b.f&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return uh(wh([b.d],g))}l.Bj=function(){return this.d};l.Cj=function(b){b!=this.d&&(this.d=b,this.c=null,this.l())};
  l.Dj=function(b){Eb(this.a,b);kx(this);this.c=null;this.l()};function kx(b){b.f=0<=Na(y(b.a,"VERSION","1.3.0"),"1.3")};function nx(b){b=m(b)?b:{};Yw.call(this,{attributions:b.attributions,doc:b.doc,format:new jr({extractStyles:b.extractStyles,defaultStyle:b.defaultStyle}),logo:b.logo,node:b.node,projection:b.projection,text:b.text,url:b.url,urls:b.urls})}u(nx,Yw);function ox(b){var c=m(b.projection)?b.projection:"EPSG:3857",d=new uw({extent:Bj(c),maxZoom:b.maxZoom,tileSize:b.tileSize});sw.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,projection:c,tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:mw});this.c=d.Ab({wrapX:b.wrapX});m(b.tileUrlFunction)?this.oa(b.tileUrlFunction):m(b.urls)?this.oa(kw(b.urls)):m(b.url)&&this.a(b.url)}u(ox,sw);
  ox.prototype.oa=function(b){ox.Q.oa.call(this,nw(this.c,b))};ox.prototype.a=function(b){this.oa(kw(ow(b)))};function px(b){b=m(b)?b:{};var c;m(b.attributions)?c=b.attributions:c=[qx];var d=Wb?"https:":"http:";ox.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:d+"//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}u(px,ox);var qx=new tf({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function rx(b){b=m(b)?b:{};var c=sx[b.layer];ox.call(this,{attributions:c.attributions,crossOrigin:"anonymous",logo:"//developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,opaque:!0,tileLoadFunction:b.tileLoadFunction,url:(Wb?"https:":"http:")+"//otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+b.layer+"/{z}/{x}/{y}.jpg"})}u(rx,ox);
  var tx=new tf({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),sx={osm:{maxZoom:19,attributions:[tx,qx]},sat:{maxZoom:18,attributions:[tx,new tf({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[tx,qx]}};function ux(b){b=m(b)?b:{};Yw.call(this,{attributions:b.attributions,doc:b.doc,format:new Os,logo:b.logo,node:b.node,projection:b.projection,text:b.text,url:b.url,urls:b.urls})}u(ux,Yw);function vx(b){Ww.call(this,{attributions:b.attributions,format:b.format,logo:b.logo,projection:b.projection});this.p=new sv;this.q=b.loader;this.s=m(b.strategy)?b.strategy:Xv;this.j={}}u(vx,Ww);vx.prototype.bb=function(b){var c=[],d,e;d=0;for(e=b.length;d<e;++d){var f=b[d],g=f.X;m(g)?g in this.j||(c.push(f),this.j[g]=!0):c.push(f)}vx.Q.bb.call(this,c)};vx.prototype.clear=function(){yb(this.j);this.p.clear();vx.Q.clear.call(this)};
  vx.prototype.Hb=function(b,c,d){var e=this.p;b=this.s(b,c);var f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];wv(e,h,function(b){return $d(b.extent,h)})||(this.q.call(this,h,c,d),e.na(h,{extent:h.slice()}))}};var wx={terrain:{Ta:"jpg",opaque:!0},"terrain-background":{Ta:"jpg",opaque:!0},"terrain-labels":{Ta:"png",opaque:!1},"terrain-lines":{Ta:"png",opaque:!1},"toner-background":{Ta:"png",opaque:!0},toner:{Ta:"png",opaque:!0},"toner-hybrid":{Ta:"png",opaque:!1},"toner-labels":{Ta:"png",opaque:!1},"toner-lines":{Ta:"png",opaque:!1},"toner-lite":{Ta:"png",opaque:!0},watercolor:{Ta:"jpg",opaque:!0}},xx={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};
  function yx(b){var c=b.layer.indexOf("-"),d=wx[b.layer],e=Wb?"https://stamen-tiles-{a-d}.a.ssl.fastly.net/":"http://{a-d}.tile.stamen.com/";ox.call(this,{attributions:zx,crossOrigin:"anonymous",maxZoom:xx[-1==c?b.layer:b.layer.slice(0,c)].maxZoom,opaque:d.opaque,tileLoadFunction:b.tileLoadFunction,url:m(b.url)?b.url:e+b.layer+"/{z}/{x}/{y}."+d.Ta})}u(yx,ox);
  var zx=[new tf({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>.'}),qx];function Ax(b,c){rj.call(this,b,2);this.d=c.qa(b[0]);this.b={}}u(Ax,rj);Ax.prototype.La=function(b){b=m(b)?ma(b):-1;if(b in this.b)return this.b[b];var c=this.d,d=Tf(c,c);d.strokeStyle="black";d.strokeRect(.5,.5,c+.5,c+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(nf(this.a),c/2,c/2);return this.b[b]=d.canvas};function Bx(b){Cj.call(this,{opaque:!1,projection:b.projection,tileGrid:b.tileGrid});this.a=new pw}u(Bx,Cj);Bx.prototype.yd=function(){return qw(this.a)};
  Bx.prototype.ne=function(b){rw(this.a,b)};Bx.prototype.Eb=function(b,c,d){var e=this.eb(b,c,d);if(ho(this.a,e))return this.a.get(e);b=new Ax([b,c,d],this.tileGrid);this.a.set(e,b);return b};function Cx(b){sw.call(this,{crossOrigin:b.crossOrigin,projection:Ee("EPSG:3857"),state:"loading",tileLoadFunction:b.tileLoadFunction});this.c=b.wrapX;(new ew(b.url)).send(void 0,sa(this.a,this))}u(Cx,sw);
  Cx.prototype.a=function(b){var c=Ee("EPSG:4326"),d=this.g,e;m(b.bounds)&&(e=we(b.bounds,De(c,d)));var f=b.minzoom||0,g=b.maxzoom||22;this.tileGrid=d=new uw({extent:Bj(d),maxZoom:g,minZoom:f});this.tileUrlFunction=nw(d.Ab({extent:e,wrapX:this.c}),kw(b.tiles));if(m(b.attribution)){c=m(e)?e:c.t();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[wj(d,c,f)];this.e=[new tf({html:b.attribution,tileRanges:e})]}oj(this,"ready")};function Dx(b){Cj.call(this,{projection:Ee("EPSG:3857"),state:"loading"});this.f=m(b.preemptive)?b.preemptive:!0;this.d=mw;this.a=new pw;this.c=void 0;(new ew(b.url)).send(void 0,sa(this.Ej,this))}u(Dx,Cj);l=Dx.prototype;l.yd=function(){return qw(this.a)};l.ne=function(b){rw(this.a,b)};l.zh=function(){return this.c};l.$g=function(b,c,d,e,f){null===this.tileGrid?!0===f?Xh(function(){d.call(e,null)}):d.call(e,null):(c=this.tileGrid.Wb(b,c),Ex(this.Eb(c[0],c[1],c[2],1,this.g),b,d,e,f))};
  l.Ej=function(b){var c=Ee("EPSG:4326"),d=this.g,e;m(b.bounds)&&(e=we(b.bounds,De(c,d)));var f=b.minzoom||0,g=b.maxzoom||22;this.tileGrid=d=new uw({extent:Bj(d),maxZoom:g,minZoom:f});this.c=b.template;var h=b.grids;if(null!=h){this.d=nw(d.Ab({extent:e}),kw(h));if(m(b.attribution)){c=m(e)?e:c.t();for(e={};f<=g;++f)h=f.toString(),e[h]=[wj(d,c,f)];this.e=[new tf({html:b.attribution,tileRanges:e})]}oj(this,"ready")}else oj(this,"error")};
  l.Eb=function(b,c,d,e,f){var g=this.eb(b,c,d);if(ho(this.a,g))return this.a.get(g);b=[b,c,d];e=this.d(b,e,f);e=new Fx(b,m(e)?0:4,m(e)?e:"",vj(this.tileGrid,b),this.f);this.a.set(g,e);return e};l.Ce=function(b,c,d){b=this.eb(b,c,d);ho(this.a,b)&&this.a.get(b)};function Fx(b,c,d,e,f){rj.call(this,b,c);this.g=d;this.b=e;this.o=f;this.c=this.e=this.d=null}u(Fx,rj);l=Fx.prototype;l.La=function(){return null};
  function Gx(b,c){if(null===b.d||null===b.e||null===b.c)return null;var d=b.d[Math.floor((1-(c[1]-b.b[1])/(b.b[3]-b.b[1]))*b.d.length)];if(!ia(d))return null;d=d.charCodeAt(Math.floor((c[0]-b.b[0])/(b.b[2]-b.b[0])*d.length));93<=d&&d--;35<=d&&d--;d=b.e[d-32];return null!=d?b.c[d]:null}function Ex(b,c,d,e,f){0==b.state&&!0===f?(Wc(b,"change",function(){d.call(e,Gx(this,c))},!1,b),Hx(b)):!0===f?Xh(function(){d.call(e,Gx(this,c))},b):d.call(e,Gx(b,c))}l.ib=function(){return this.g};
  l.Ph=function(){this.state=3;sj(this)};l.ai=function(b){this.d=b.grid;this.e=b.keys;this.c=b.data;this.state=4;sj(this)};function Hx(b){0==b.state&&(b.state=1,(new ew(b.g)).send(void 0,sa(b.ai,b),sa(b.Ph,b)))}l.load=function(){this.o&&Hx(this)};function Ix(b){Ww.call(this,{attributions:b.attributions,format:b.format,logo:b.logo,projection:b.projection});this.p=b.tileGrid;this.q=mw;this.s=this.p.Ab();this.j={};m(b.tileUrlFunction)?(this.q=b.tileUrlFunction,this.l()):m(b.urls)?(this.q=kw(b.urls),this.l()):m(b.url)&&(this.q=kw(ow(b.url)),this.l())}u(Ix,Ww);l=Ix.prototype;l.clear=function(){yb(this.j)};
  function Jx(b,c,d,e){var f=b.j;b=b.p.Wb(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.N().Kb(c[0],c[1])&&e.call(void 0,g))break}}l.Cb=function(b,c,d,e){var f=this.p,g=this.j;c=ec(f.a,c,0);b=wj(f,b,c);for(var h,f=b.a;f<=b.c;++f)for(h=b.d;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.ta=function(){var b=this.j,c=[],d;for(d in b)db(c,b[d]);return c};
  l.eh=function(b,c){var d=[];Jx(this,b,c,function(b){d.push(b)});return d};l.Hb=function(b,c,d){function e(b,c){k[b]=c;oj(this,"ready")}var f=this.s,g=this.p,h=this.q,k=this.j;c=ec(g.a,c,0);b=wj(g,b,c);var g=[c,0,0],n,p;for(n=b.a;n<=b.c;++n)for(p=b.d;p<=b.b;++p){var q=c+"/"+n+"/"+p;if(!(q in k)){g[0]=c;g[1]=n;g[2]=p;f(g,d,g);var r=h(g,1,d);m(r)&&(k[q]=[],Xw(this,r,ta(e,q),ca,this))}}};function Kx(b){b=m(b)?b:{};var c=m(b.params)?b.params:{};sw.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,opaque:!y(c,"TRANSPARENT",!0),projection:b.projection,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,tileUrlFunction:sa(this.Ij,this)});var d=b.urls;!m(d)&&m(b.url)&&(d=ow(b.url));this.f=null!=d?d:[];this.o=m(b.gutter)?b.gutter:0;this.a=c;this.c=!0;this.i=b.serverType;this.p=m(b.hidpi)?b.hidpi:!0;this.j="";Lx(this);this.q=Vd();Mx(this)}u(Kx,sw);l=Kx.prototype;
  l.Fj=function(b,c,d,e){d=Ee(d);var f=this.tileGrid;null===f&&(f=Dj(this,d));c=f.Wb(b,c);if(!(f.a.length<=c[0])){var g=f.la(c[0]),h=vj(f,c,this.q),f=f.qa(c[0]),k=this.o;0!==k&&(f+=2*k,h=Yd(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:y(this.a,"LAYERS")};Eb(k,this.a,e);e=Math.floor((h[3]-b[1])/g);k[this.c?"I":"X"]=Math.floor((b[0]-h[0])/g);k[this.c?"J":"Y"]=e;return Nx(this,c,f,h,1,d,k)}};l.cd=function(){return this.o};
  l.eb=function(b,c,d){return this.j+Kx.Q.eb.call(this,b,c,d)};l.Gj=function(){return this.a};
  function Nx(b,c,d,e,f,g,h){var k=b.f;if(0!=k.length){h.WIDTH=d;h.HEIGHT=d;h[b.c?"CRS":"SRS"]=g.a;"STYLES"in b.a||(h.STYLES=new String(""));if(1!=f)switch(b.i){case "geoserver":h.FORMAT_OPTIONS="dpi:"+(90*f+.5|0);break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}d=g.d;b.c&&"ne"==d.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 uh(wh([1==k.length?k[0]:k[$b((c[1]<<c[0])+c[2],k.length)]],h))}}
  l.Hc=function(b,c,d){b=Kx.Q.Hc.call(this,b,c,d);return 1!=c&&this.p&&m(this.i)?b*c+.5|0:b};l.Dh=function(){return this.f};function Lx(b){var c=0,d=[],e,f;e=0;for(f=b.f.length;e<f;++e)d[c++]=b.f[e];for(var g in b.a)d[c++]=g+"-"+b.a[g];b.j=d.join("#")}l.Hj=function(b){b=m(b)?ow(b):null;this.tf(b)};l.tf=function(b){this.f=null!=b?b:[];Lx(this);this.l()};
  l.Ij=function(b,c,d){var e=this.tileGrid;null===e&&(e=Dj(this,d));if(!(e.a.length<=b[0])){1==c||this.p&&m(this.i)||(c=1);var f=e.la(b[0]),g=vj(e,b,this.q),e=e.qa(b[0]),h=this.o;0!==h&&(e+=2*h,g=Yd(g,f*h,g));1!=c&&(e=e*c+.5|0);f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Eb(f,this.a);return Nx(this,b,e,g,c,d,f)}};l.Jj=function(b){Eb(this.a,b);Lx(this);Mx(this);this.l()};function Mx(b){b.c=0<=Na(y(b.a,"VERSION","1.3.0"),"1.3")};function Ox(b){b=m(b)?b:{};Yw.call(this,{attributions:b.attributions,extent:b.extent,format:new dt({defaultDataProjection:b.defaultProjection}),logo:b.logo,object:b.object,projection:b.projection,text:b.text,url:b.url})}u(Ox,Yw);function Px(b){this.d=b.matrixIds;tj.call(this,{origin:b.origin,origins:b.origins,resolutions:b.resolutions,tileSize:b.tileSize,tileSizes:b.tileSizes})}u(Px,tj);Px.prototype.g=function(){return this.d};function Qx(b){function c(b){b="KVP"==f?uh(wh([b],h)):b.replace(/\{(\w+?)\}/g,function(b,c){return c in h?h[c]:b});return function(c){if(null!==c){var d={TileMatrix:g.d[c[0]],TileCol:c[1],TileRow:c[2]};Eb(d,k);c=b;return c="KVP"==f?uh(wh([c],d)):c.replace(/\{(\w+?)\}/g,function(b,c){return d[c]})}}}var d=m(b.version)?b.version:"1.0.0",e=m(b.format)?b.format:"image/jpeg";this.a=m(b.dimensions)?b.dimensions:{};this.c="";Rx(this);var f=m(b.requestEncoding)?b.requestEncoding:"KVP",g=b.tileGrid,h={Layer:b.layer,
  Style:b.style,TileMatrixSet:b.matrixSet};"KVP"==f&&Eb(h,{Service:"WMTS",Request:"GetTile",Version:d,Format:e});var k=this.a,d=mw,e=b.urls;!m(e)&&m(b.url)&&(e=ow(b.url));m(e)&&(d=lw(Va(e,c)));var n=Vd(),p=[0,0,0],d=nw(function(b,c,d){if(g.a.length<=b[0])return null;var e=b[1],f=-b[2]-1,h=vj(g,b,n),k=c.t();null!==k&&c.f&&(c=Math.ceil(re(k)/re(h)),e=$b(e,c),p[0]=b[0],p[1]=e,p[2]=b[2],h=vj(g,p,n));return!qe(h,k)||qe(h,k)&&(h[0]==k[2]||h[2]==k[0]||h[1]==k[3]||h[3]==k[1])?null:kf(b[0],e,f,d)},d);sw.call(this,
  {attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,tileClass:b.tileClass,tileGrid:g,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:d})}u(Qx,sw);Qx.prototype.f=function(){return this.a};Qx.prototype.eb=function(b,c,d){return this.c+Qx.Q.eb.call(this,b,c,d)};function Rx(b){var c=0,d=[],e;for(e in b.a)d[c++]=e+"-"+b.a[e];b.c=d.join("/")}Qx.prototype.o=function(b){Eb(this.a,b);Rx(this);this.l()};function Sx(b){var c=m(b)?b:c;tj.call(this,{origin:[0,0],resolutions:c.resolutions})}u(Sx,tj);Sx.prototype.Ab=function(b){b=m(b)?b:{};var c=this.minZoom,d=this.maxZoom,e=null;if(m(b.extent)){var e=Array(d+1),f;for(f=0;f<=d;++f)e[f]=f<c?null:wj(this,b.extent,f)}return function(b,f,k){f=b[0];if(f<c||d<f)return null;var n=Math.pow(2,f),p=b[1];if(0>p||n<=p)return null;b=b[2];return b<-n||-1<b||null!==e&&!qf(e[f],p,-b-1)?null:kf(f,p,-b-1,k)}};function Tx(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 g=new Sx({resolutions:g}),k=b.url,c=nw(g.Ab({extent:[0,0,c[0],c[1]]}),function(b){if(null!==
  b){var c=b[0],d=b[1];b=b[2];return k+"TileGroup"+((d+b*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+b+".jpg"}});sw.call(this,{attributions:b.attributions,crossOrigin:b.crossOrigin,logo:b.logo,tileClass:Ux,tileGrid:g,tileUrlFunction:c})}u(Tx,sw);function Ux(b,c,d,e,f){xu.call(this,b,c,d,e,f);this.e={}}u(Ux,xu);
  Ux.prototype.La=function(b){var c=m(b)?ma(b).toString():"";if(c in this.e)return this.e[c];b=Ux.Q.La.call(this,b);if(2==this.state){if(256==b.width&&256==b.height)return this.e[c]=b;var d=Tf(256,256);d.drawImage(b,0,0);return this.e[c]=d.canvas}return b};function Vx(b){b=m(b)?b:{};this.b=m(b.initialSize)?b.initialSize:256;this.d=m(b.maxSize)?b.maxSize:m(va)?va:2048;this.a=m(b.space)?b.space:1;this.e=[new Wx(this.b,this.a)];this.c=this.b;this.f=[new Wx(this.c,this.a)]}
  Vx.prototype.add=function(b,c,d,e,f,g){if(c+this.a>this.d||d+this.a>this.d)return null;e=Xx(this,!1,b,c,d,e,g);if(null===e)return null;var h=null;m(f)&&(h=Xx(this,!0,b,c,d,f,g));return{offsetX:e.offsetX,offsetY:e.offsetY,image:e.image,Rl:null===h?void 0:h.offsetX,Sl:null===h?void 0:h.offsetY,cf:null===h?void 0:h.image}};
  function Xx(b,c,d,e,f,g,h){var k=c?b.f:b.e,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.d),b.c=n):(n=Math.min(2*b.b,b.d),b.b=n),n=new Wx(n,b.a),k.push(n),++q)}}function Wx(b,c){this.a=c;this.b=[{x:0,y:0,width:b,height:b}];this.c={};this.d=If("CANVAS");this.d.width=b;this.d.height=b;this.e=this.d.getContext("2d")}Wx.prototype.get=function(b){return y(this.c,b,null)};
  Wx.prototype.add=function(b,c,d,e,f){var g,h,k;h=0;for(k=this.b.length;h<k;++h)if(g=this.b[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.d},this.c[b]=k,e.call(f,this.e,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},Yx(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},Yx(this,b,e,f)),k;return null};function Yx(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.b.splice.apply(b.b,c)};function Zx(b){this.j=this.d=this.c=null;this.g=m(b.fill)?b.fill:null;this.ca=[0,0];this.a=b.points;this.b=m(b.radius)?b.radius:b.radius1;this.f=m(b.radius2)?b.radius2:this.b;this.n=m(b.angle)?b.angle:0;this.e=m(b.stroke)?b.stroke:null;this.aa=this.ga=this.M=null;var c=b.atlasManager,d=null,e,f=0;null!==this.e&&(e=wg(this.e.a),f=this.e.b,m(f)||(f=1),d=this.e.d,cg||(d=null));var g=2*(this.b+f)+1,d={strokeStyle:e,Pc:f,size:g,lineDash:d};if(m(c)){g=Math.round(g);e=null===this.g;var h;e&&(h=sa(this.xf,
  this,d));f=this.rb();d=c.add(f,g,g,sa(this.yf,this,d),h);this.d=d.image;this.ca=[d.offsetX,d.offsetY];c=d.image.width;this.j=e?d.cf:this.d}else this.d=If("CANVAS"),this.d.height=g,this.d.width=g,c=g=this.d.width,h=this.d.getContext("2d"),this.yf(d,h,0,0),null===this.g?(h=this.j=If("CANVAS"),h.height=d.size,h.width=d.size,h=h.getContext("2d"),this.xf(d,h,0,0)):this.j=this.d;this.M=[g/2,g/2];this.ga=[g,g];this.aa=[c,c];Oj.call(this,{opacity:1,rotateWithView:!1,rotation:m(b.rotation)?b.rotation:0,scale:1,
  snapToPixel:m(b.snapToPixel)?b.snapToPixel:!0})}u(Zx,Oj);l=Zx.prototype;l.qb=function(){return this.M};l.Oj=function(){return this.g};l.oe=function(){return this.j};l.xb=function(){return this.d};l.dd=function(){return this.aa};l.pe=function(){return 2};l.yb=function(){return this.ca};l.Pj=function(){return this.b};l.yh=function(){return this.f};l.Ya=function(){return this.ga};l.Qj=function(){return this.e};l.ie=ca;l.load=ca;l.Be=ca;
  l.yf=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.f!==this.b&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.n,f=0===d%2?this.b:this.f,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));null!==this.g&&(c.fillStyle=wg(this.g.a),c.fill());null!==this.e&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Pc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
  l.xf=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.f!==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.n,e=0===d%2?this.b:this.f,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=zl;c.fill();null!==this.e&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Pc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
  l.rb=function(){var b=null===this.e?"-":this.e.rb(),c=null===this.g?"-":this.g.rb();if(null===this.c||b!=this.c[1]||c!=this.c[2]||this.b!=this.c[3]||this.f!=this.c[4]||this.n!=this.c[5]||this.a!=this.c[6])this.c=["r"+b+c+(m(this.b)?this.b.toString():"-")+(m(this.f)?this.f.toString():"-")+(m(this.n)?this.n.toString():"-")+(m(this.a)?this.a.toString():"-"),b,c,this.b,this.f,this.n,this.a];return this.c[0]};t("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:ff;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);t("ol.animation.pan",gf,OPENLAYERS);t("ol.animation.rotate",hf,OPENLAYERS);t("ol.animation.zoom",jf,OPENLAYERS);
  t("ol.Attribution",tf,OPENLAYERS);tf.prototype.getHTML=tf.prototype.d;pg.prototype.element=pg.prototype.element;t("ol.Collection",B,OPENLAYERS);B.prototype.clear=B.prototype.clear;B.prototype.extend=B.prototype.jf;B.prototype.forEach=B.prototype.forEach;B.prototype.getArray=B.prototype.Hi;B.prototype.item=B.prototype.item;B.prototype.getLength=B.prototype.Ib;B.prototype.insertAt=B.prototype.rd;B.prototype.pop=B.prototype.pop;B.prototype.push=B.prototype.push;B.prototype.remove=B.prototype.remove;
  B.prototype.removeAt=B.prototype.ye;B.prototype.setAt=B.prototype.Zk;t("ol.coordinate.add",yd,OPENLAYERS);t("ol.coordinate.createStringXY",function(b){return function(c){return Fd(c,b)}},OPENLAYERS);t("ol.coordinate.format",Bd,OPENLAYERS);t("ol.coordinate.rotate",Dd,OPENLAYERS);t("ol.coordinate.toStringHDMS",function(b){return m(b)?Ad(b[1],"NS")+" "+Ad(b[0],"EW"):""},OPENLAYERS);t("ol.coordinate.toStringXY",Fd,OPENLAYERS);t("ol.DeviceOrientation",Q,OPENLAYERS);Q.prototype.getAlpha=Q.prototype.e;
  Q.prototype.getBeta=Q.prototype.f;Q.prototype.getGamma=Q.prototype.g;Q.prototype.getHeading=Q.prototype.i;Q.prototype.getTracking=Q.prototype.c;Q.prototype.setTracking=Q.prototype.d;t("ol.easing.easeIn",function(b){return Math.pow(b,3)},OPENLAYERS);t("ol.easing.easeOut",cf,OPENLAYERS);t("ol.easing.inAndOut",df,OPENLAYERS);t("ol.easing.linear",ef,OPENLAYERS);t("ol.easing.upAndDown",ff,OPENLAYERS);t("ol.extent.boundingExtent",Td,OPENLAYERS);t("ol.extent.buffer",Yd,OPENLAYERS);
  t("ol.extent.containsCoordinate",function(b,c){return ae(b,c[0],c[1])},OPENLAYERS);t("ol.extent.containsExtent",$d,OPENLAYERS);t("ol.extent.containsXY",ae,OPENLAYERS);t("ol.extent.createEmpty",Vd,OPENLAYERS);t("ol.extent.equals",de,OPENLAYERS);t("ol.extent.extend",ee,OPENLAYERS);t("ol.extent.getBottomLeft",he,OPENLAYERS);t("ol.extent.getBottomRight",ie,OPENLAYERS);t("ol.extent.getCenter",ke,OPENLAYERS);t("ol.extent.getHeight",oe,OPENLAYERS);t("ol.extent.getIntersection",pe,OPENLAYERS);
  t("ol.extent.getSize",function(b){return[b[2]-b[0],b[3]-b[1]]},OPENLAYERS);t("ol.extent.getTopLeft",me,OPENLAYERS);t("ol.extent.getTopRight",je,OPENLAYERS);t("ol.extent.getWidth",re,OPENLAYERS);t("ol.extent.intersects",qe,OPENLAYERS);t("ol.extent.isEmpty",se,OPENLAYERS);t("ol.extent.applyTransform",we,OPENLAYERS);t("ol.Feature",R,OPENLAYERS);R.prototype.clone=R.prototype.clone;R.prototype.getGeometry=R.prototype.N;R.prototype.getId=R.prototype.hh;R.prototype.getGeometryName=R.prototype.gh;
  R.prototype.getStyle=R.prototype.Ni;R.prototype.getStyleFunction=R.prototype.Oi;R.prototype.setGeometry=R.prototype.Oa;R.prototype.setStyle=R.prototype.i;R.prototype.setId=R.prototype.c;R.prototype.setGeometryName=R.prototype.e;t("ol.FeatureOverlay",So,OPENLAYERS);So.prototype.addFeature=So.prototype.kf;So.prototype.getFeatures=So.prototype.Ii;So.prototype.removeFeature=So.prototype.wd;So.prototype.setFeatures=So.prototype.Oc;So.prototype.setMap=So.prototype.setMap;So.prototype.setStyle=So.prototype.mf;
  So.prototype.getStyle=So.prototype.Ji;So.prototype.getStyleFunction=So.prototype.Ki;t("ol.Geolocation",Z,OPENLAYERS);Z.prototype.getAccuracy=Z.prototype.We;Z.prototype.getAccuracyGeometry=Z.prototype.p;Z.prototype.getAltitude=Z.prototype.q;Z.prototype.getAltitudeAccuracy=Z.prototype.r;Z.prototype.getHeading=Z.prototype.D;Z.prototype.getPosition=Z.prototype.F;Z.prototype.getProjection=Z.prototype.g;Z.prototype.getSpeed=Z.prototype.s;Z.prototype.getTracking=Z.prototype.i;
  Z.prototype.getTrackingOptions=Z.prototype.f;Z.prototype.setProjection=Z.prototype.n;Z.prototype.setTracking=Z.prototype.d;Z.prototype.setTrackingOptions=Z.prototype.j;t("ol.Graticule",qu,OPENLAYERS);qu.prototype.getMap=qu.prototype.Ri;qu.prototype.getMeridians=qu.prototype.qh;qu.prototype.getParallels=qu.prototype.vh;qu.prototype.setMap=qu.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",ag,OPENLAYERS);t("ol.has.CANVAS",dg,OPENLAYERS);t("ol.has.DEVICE_ORIENTATION",eg,OPENLAYERS);
  t("ol.has.GEOLOCATION",fg,OPENLAYERS);t("ol.has.TOUCH",gg,OPENLAYERS);t("ol.has.WEBGL",$f,OPENLAYERS);vu.prototype.getImage=vu.prototype.b;xu.prototype.getImage=xu.prototype.La;t("ol.Kinetic",ik,OPENLAYERS);t("ol.loadingstrategy.all",function(){return[[-Infinity,-Infinity,Infinity,Infinity]]},OPENLAYERS);t("ol.loadingstrategy.bbox",Xv,OPENLAYERS);
  t("ol.loadingstrategy.createTile",function(b){return function(c,d){var e=ec(b.a,d,0),f=wj(b,c,e),g=[],e=[e,0,0];for(e[1]=f.a;e[1]<=f.c;++e[1])for(e[2]=f.d;e[2]<=f.b;++e[2])g.push(vj(b,e));return g}},OPENLAYERS);t("ol.Map",O,OPENLAYERS);O.prototype.addControl=O.prototype.Mg;O.prototype.addInteraction=O.prototype.Ng;O.prototype.addLayer=O.prototype.Ne;O.prototype.addOverlay=O.prototype.Oe;O.prototype.beforeRender=O.prototype.Ra;O.prototype.forEachFeatureAtPixel=O.prototype.je;
  O.prototype.getEventCoordinate=O.prototype.dh;O.prototype.getEventPixel=O.prototype.bd;O.prototype.getTarget=O.prototype.Ic;O.prototype.getCoordinateFromPixel=O.prototype.Fa;O.prototype.getControls=O.prototype.bh;O.prototype.getOverlays=O.prototype.uh;O.prototype.getInteractions=O.prototype.ih;O.prototype.getLayerGroup=O.prototype.Db;O.prototype.getLayers=O.prototype.Ca;O.prototype.getPixelFromCoordinate=O.prototype.f;O.prototype.getSize=O.prototype.e;O.prototype.getView=O.prototype.a;
  O.prototype.getViewport=O.prototype.Eh;O.prototype.renderSync=O.prototype.Wk;O.prototype.render=O.prototype.U;O.prototype.removeControl=O.prototype.Qk;O.prototype.removeInteraction=O.prototype.Sk;O.prototype.removeLayer=O.prototype.Tk;O.prototype.removeOverlay=O.prototype.Uk;O.prototype.setLayerGroup=O.prototype.Xf;O.prototype.setSize=O.prototype.F;O.prototype.setTarget=O.prototype.Da;O.prototype.setView=O.prototype.lb;O.prototype.updateSize=O.prototype.j;$i.prototype.originalEvent=$i.prototype.originalEvent;
  $i.prototype.pixel=$i.prototype.pixel;$i.prototype.coordinate=$i.prototype.coordinate;$i.prototype.preventDefault=$i.prototype.preventDefault;$i.prototype.stopPropagation=$i.prototype.c;Zg.prototype.map=Zg.prototype.map;Zg.prototype.frameState=Zg.prototype.frameState;od.prototype.key=od.prototype.key;od.prototype.oldValue=od.prototype.oldValue;pd.prototype.transform=pd.prototype.e;t("ol.Object",td,OPENLAYERS);td.prototype.bindTo=td.prototype.O;td.prototype.get=td.prototype.get;
  td.prototype.getKeys=td.prototype.I;td.prototype.getProperties=td.prototype.K;td.prototype.set=td.prototype.set;td.prototype.setProperties=td.prototype.G;td.prototype.unbind=td.prototype.P;td.prototype.unbindAll=td.prototype.R;t("ol.Observable",md,OPENLAYERS);t("ol.Observable.unByKey",nd,OPENLAYERS);md.prototype.changed=md.prototype.l;md.prototype.getRevision=md.prototype.A;md.prototype.on=md.prototype.u;md.prototype.once=md.prototype.B;md.prototype.un=md.prototype.v;md.prototype.unByKey=md.prototype.C;
  t("ol.WEBGL_MAX_TEXTURE_SIZE",va,OPENLAYERS);t("ol.inherits",u,OPENLAYERS);t("ol.Overlay",P,OPENLAYERS);P.prototype.getElement=P.prototype.c;P.prototype.getMap=P.prototype.e;P.prototype.getOffset=P.prototype.g;P.prototype.getPosition=P.prototype.n;P.prototype.getPositioning=P.prototype.i;P.prototype.setElement=P.prototype.ze;P.prototype.setMap=P.prototype.setMap;P.prototype.setOffset=P.prototype.j;P.prototype.setPosition=P.prototype.f;P.prototype.setPositioning=P.prototype.p;
  rj.prototype.getTileCoord=rj.prototype.f;t("ol.View",A,OPENLAYERS);A.prototype.constrainCenter=A.prototype.i;A.prototype.constrainResolution=A.prototype.constrainResolution;A.prototype.constrainRotation=A.prototype.constrainRotation;A.prototype.getCenter=A.prototype.a;A.prototype.calculateExtent=A.prototype.g;A.prototype.getProjection=A.prototype.F;A.prototype.getResolution=A.prototype.d;A.prototype.getResolutionForExtent=A.prototype.n;A.prototype.getRotation=A.prototype.e;A.prototype.getZoom=A.prototype.Hh;
  A.prototype.fitExtent=A.prototype.be;A.prototype.fitGeometry=A.prototype.Zg;A.prototype.centerOn=A.prototype.Ug;A.prototype.rotate=A.prototype.rotate;A.prototype.setCenter=A.prototype.Ma;A.prototype.setResolution=A.prototype.c;A.prototype.setRotation=A.prototype.r;A.prototype.setZoom=A.prototype.M;t("ol.xml.getAllTextContent",op,OPENLAYERS);t("ol.xml.parse",Ip,OPENLAYERS);t("ol.webgl.Context",lo,OPENLAYERS);lo.prototype.getGL=lo.prototype.gk;lo.prototype.useProgram=lo.prototype.Ad;
  t("ol.tilegrid.TileGrid",tj,OPENLAYERS);tj.prototype.getMaxZoom=tj.prototype.fd;tj.prototype.getMinZoom=tj.prototype.gd;tj.prototype.getOrigin=tj.prototype.Mb;tj.prototype.getResolution=tj.prototype.la;tj.prototype.getResolutions=tj.prototype.zd;tj.prototype.getTileCoordForCoordAndResolution=tj.prototype.Wb;tj.prototype.getTileCoordForCoordAndZ=tj.prototype.Gc;tj.prototype.getTileSize=tj.prototype.qa;t("ol.tilegrid.WMTS",Px,OPENLAYERS);Px.prototype.getMatrixIds=Px.prototype.g;
  t("ol.tilegrid.XYZ",uw,OPENLAYERS);t("ol.tilegrid.Zoomify",Sx,OPENLAYERS);t("ol.style.AtlasManager",Vx,OPENLAYERS);t("ol.style.Circle",Dl,OPENLAYERS);Dl.prototype.getAnchor=Dl.prototype.qb;Dl.prototype.getFill=Dl.prototype.Kj;Dl.prototype.getImage=Dl.prototype.xb;Dl.prototype.getOrigin=Dl.prototype.yb;Dl.prototype.getRadius=Dl.prototype.Lj;Dl.prototype.getSize=Dl.prototype.Ya;Dl.prototype.getStroke=Dl.prototype.Mj;t("ol.style.Fill",Cl,OPENLAYERS);Cl.prototype.getColor=Cl.prototype.d;
  Cl.prototype.setColor=Cl.prototype.c;t("ol.style.Icon",Pj,OPENLAYERS);Pj.prototype.getAnchor=Pj.prototype.qb;Pj.prototype.getImage=Pj.prototype.xb;Pj.prototype.getOrigin=Pj.prototype.yb;Pj.prototype.getSrc=Pj.prototype.Nj;Pj.prototype.getSize=Pj.prototype.Ya;t("ol.style.Image",Oj,OPENLAYERS);Oj.prototype.getRotation=Oj.prototype.p;Oj.prototype.getScale=Oj.prototype.q;Oj.prototype.getImage=Oj.prototype.xb;Oj.prototype.setRotation=Oj.prototype.r;Oj.prototype.setScale=Oj.prototype.s;
  t("ol.style.RegularShape",Zx,OPENLAYERS);Zx.prototype.getAnchor=Zx.prototype.qb;Zx.prototype.getFill=Zx.prototype.Oj;Zx.prototype.getImage=Zx.prototype.xb;Zx.prototype.getOrigin=Zx.prototype.yb;Zx.prototype.getRadius=Zx.prototype.Pj;Zx.prototype.getRadius2=Zx.prototype.yh;Zx.prototype.getSize=Zx.prototype.Ya;Zx.prototype.getStroke=Zx.prototype.Qj;t("ol.style.Stroke",yl,OPENLAYERS);yl.prototype.getColor=yl.prototype.Rj;yl.prototype.getLineCap=yl.prototype.lh;yl.prototype.getLineDash=yl.prototype.Sj;
  yl.prototype.getLineJoin=yl.prototype.mh;yl.prototype.getMiterLimit=yl.prototype.rh;yl.prototype.getWidth=yl.prototype.Tj;yl.prototype.setColor=yl.prototype.Uj;yl.prototype.setLineCap=yl.prototype.bl;yl.prototype.setLineDash=yl.prototype.Vj;yl.prototype.setLineJoin=yl.prototype.cl;yl.prototype.setMiterLimit=yl.prototype.dl;yl.prototype.setWidth=yl.prototype.jl;t("ol.style.Style",El,OPENLAYERS);El.prototype.getFill=El.prototype.Wj;El.prototype.getImage=El.prototype.Xj;El.prototype.getStroke=El.prototype.Yj;
  El.prototype.getText=El.prototype.Zj;El.prototype.getZIndex=El.prototype.Gh;El.prototype.setZIndex=El.prototype.ll;t("ol.style.Text",ir,OPENLAYERS);ir.prototype.getFont=ir.prototype.fh;ir.prototype.getOffsetX=ir.prototype.sh;ir.prototype.getOffsetY=ir.prototype.th;ir.prototype.getFill=ir.prototype.$j;ir.prototype.getRotation=ir.prototype.ak;ir.prototype.getScale=ir.prototype.bk;ir.prototype.getStroke=ir.prototype.ck;ir.prototype.getText=ir.prototype.dk;ir.prototype.getTextAlign=ir.prototype.Ah;
  ir.prototype.getTextBaseline=ir.prototype.Bh;ir.prototype.setFont=ir.prototype.al;ir.prototype.setFill=ir.prototype.$k;ir.prototype.setRotation=ir.prototype.ek;ir.prototype.setScale=ir.prototype.fk;ir.prototype.setStroke=ir.prototype.fl;ir.prototype.setText=ir.prototype.gl;ir.prototype.setTextAlign=ir.prototype.hl;ir.prototype.setTextBaseline=ir.prototype.il;t("ol.Sphere",xe,OPENLAYERS);t("ol.source.BingMaps",vw,OPENLAYERS);t("ol.source.BingMaps.TOS_ATTRIBUTION",ww,OPENLAYERS);
  t("ol.source.Cluster",xw,OPENLAYERS);Ww.prototype.readFeatures=Ww.prototype.a;t("ol.source.GeoJSON",Zw,OPENLAYERS);t("ol.source.GPX",$w,OPENLAYERS);t("ol.source.IGC",ax,OPENLAYERS);t("ol.source.ImageCanvas",ex,OPENLAYERS);t("ol.source.ImageMapGuide",fx,OPENLAYERS);fx.prototype.getParams=fx.prototype.F;fx.prototype.updateParams=fx.prototype.T;t("ol.source.Image",bx,OPENLAYERS);t("ol.source.ImageStatic",gx,OPENLAYERS);t("ol.source.ImageVector",hx,OPENLAYERS);hx.prototype.getSource=hx.prototype.uj;
  hx.prototype.getStyle=hx.prototype.vj;hx.prototype.getStyleFunction=hx.prototype.wj;hx.prototype.setStyle=hx.prototype.sf;t("ol.source.ImageWMS",jx,OPENLAYERS);jx.prototype.getGetFeatureInfoUrl=jx.prototype.zj;jx.prototype.getParams=jx.prototype.Aj;jx.prototype.getUrl=jx.prototype.Bj;jx.prototype.setUrl=jx.prototype.Cj;jx.prototype.updateParams=jx.prototype.Dj;t("ol.source.KML",nx,OPENLAYERS);t("ol.source.MapQuest",rx,OPENLAYERS);t("ol.source.OSM",px,OPENLAYERS);t("ol.source.OSM.ATTRIBUTION",qx,OPENLAYERS);
  t("ol.source.OSMXML",ux,OPENLAYERS);t("ol.source.ServerVector",vx,OPENLAYERS);vx.prototype.readFeatures=vx.prototype.a;t("ol.source.Source",nj,OPENLAYERS);nj.prototype.getAttributions=nj.prototype.Y;nj.prototype.getLogo=nj.prototype.W;nj.prototype.getProjection=nj.prototype.Z;nj.prototype.getState=nj.prototype.$;t("ol.source.Stamen",yx,OPENLAYERS);t("ol.source.StaticVector",Yw,OPENLAYERS);t("ol.source.TileDebug",Bx,OPENLAYERS);t("ol.source.TileImage",sw,OPENLAYERS);
  sw.prototype.getTileLoadFunction=sw.prototype.fb;sw.prototype.getTileUrlFunction=sw.prototype.gb;sw.prototype.setTileLoadFunction=sw.prototype.kb;sw.prototype.setTileUrlFunction=sw.prototype.oa;t("ol.source.TileJSON",Cx,OPENLAYERS);t("ol.source.Tile",Cj,OPENLAYERS);Cj.prototype.getTileGrid=Cj.prototype.za;t("ol.source.TileUTFGrid",Dx,OPENLAYERS);Dx.prototype.getTemplate=Dx.prototype.zh;Dx.prototype.forDataAtCoordinateAndResolution=Dx.prototype.$g;t("ol.source.TileVector",Ix,OPENLAYERS);
  Ix.prototype.getFeatures=Ix.prototype.ta;Ix.prototype.getFeaturesAtCoordinateAndResolution=Ix.prototype.eh;t("ol.source.TileWMS",Kx,OPENLAYERS);Kx.prototype.getGetFeatureInfoUrl=Kx.prototype.Fj;Kx.prototype.getParams=Kx.prototype.Gj;Kx.prototype.getUrls=Kx.prototype.Dh;Kx.prototype.setUrl=Kx.prototype.Hj;Kx.prototype.setUrls=Kx.prototype.tf;Kx.prototype.updateParams=Kx.prototype.Jj;t("ol.source.TopoJSON",Ox,OPENLAYERS);t("ol.source.Vector",xv,OPENLAYERS);xv.prototype.addFeature=xv.prototype.Na;
  xv.prototype.addFeatures=xv.prototype.ya;xv.prototype.clear=xv.prototype.clear;xv.prototype.forEachFeature=xv.prototype.Ua;xv.prototype.forEachFeatureInExtent=xv.prototype.pa;xv.prototype.forEachFeatureIntersectingExtent=xv.prototype.Ea;xv.prototype.getFeatures=xv.prototype.ta;xv.prototype.getFeaturesAtCoordinate=xv.prototype.Ha;xv.prototype.getClosestFeatureToCoordinate=xv.prototype.Va;xv.prototype.getExtent=xv.prototype.t;xv.prototype.getFeatureById=xv.prototype.Ga;xv.prototype.removeFeature=xv.prototype.Xa;
  Av.prototype.feature=Av.prototype.feature;t("ol.source.WMTS",Qx,OPENLAYERS);Qx.prototype.getDimensions=Qx.prototype.f;Qx.prototype.updateDimensions=Qx.prototype.o;t("ol.source.XYZ",ox,OPENLAYERS);ox.prototype.setTileUrlFunction=ox.prototype.oa;ox.prototype.setUrl=ox.prototype.a;t("ol.source.Zoomify",Tx,OPENLAYERS);pl.prototype.vectorContext=pl.prototype.vectorContext;pl.prototype.frameState=pl.prototype.frameState;pl.prototype.context=pl.prototype.context;pl.prototype.glContext=pl.prototype.glContext;
  Pn.prototype.drawAsync=Pn.prototype.jc;Pn.prototype.drawCircleGeometry=Pn.prototype.kc;Pn.prototype.drawFeature=Pn.prototype.$d;Pn.prototype.drawGeometryCollectionGeometry=Pn.prototype.$c;Pn.prototype.drawPointGeometry=Pn.prototype.ob;Pn.prototype.drawLineStringGeometry=Pn.prototype.Bb;Pn.prototype.drawMultiLineStringGeometry=Pn.prototype.lc;Pn.prototype.drawMultiPointGeometry=Pn.prototype.nb;Pn.prototype.drawMultiPolygonGeometry=Pn.prototype.mc;Pn.prototype.drawPolygonGeometry=Pn.prototype.Tb;
  Pn.prototype.drawText=Pn.prototype.pb;Pn.prototype.setFillStrokeStyle=Pn.prototype.ua;Pn.prototype.setImageStyle=Pn.prototype.$a;Pn.prototype.setTextStyle=Pn.prototype.va;Xl.prototype.drawAsync=Xl.prototype.jc;Xl.prototype.drawCircleGeometry=Xl.prototype.kc;Xl.prototype.drawFeature=Xl.prototype.$d;Xl.prototype.drawPointGeometry=Xl.prototype.ob;Xl.prototype.drawMultiPointGeometry=Xl.prototype.nb;Xl.prototype.drawLineStringGeometry=Xl.prototype.Bb;Xl.prototype.drawMultiLineStringGeometry=Xl.prototype.lc;
  Xl.prototype.drawPolygonGeometry=Xl.prototype.Tb;Xl.prototype.drawMultiPolygonGeometry=Xl.prototype.mc;Xl.prototype.setFillStrokeStyle=Xl.prototype.ua;Xl.prototype.setImageStyle=Xl.prototype.$a;Xl.prototype.setTextStyle=Xl.prototype.va;t("ol.proj.common.add",Wl,OPENLAYERS);t("ol.proj.METERS_PER_UNIT",Ae,OPENLAYERS);t("ol.proj.Projection",Be,OPENLAYERS);Be.prototype.getCode=Be.prototype.ah;Be.prototype.getExtent=Be.prototype.t;Be.prototype.getUnits=Be.prototype.pj;Be.prototype.getMetersPerUnit=Be.prototype.de;
  Be.prototype.getWorldExtent=Be.prototype.Fh;Be.prototype.isGlobal=Be.prototype.ri;Be.prototype.setExtent=Be.prototype.qj;Be.prototype.setWorldExtent=Be.prototype.kl;t("ol.proj.addEquivalentProjections",He,OPENLAYERS);t("ol.proj.addProjection",Qe,OPENLAYERS);t("ol.proj.addCoordinateTransforms",Se,OPENLAYERS);t("ol.proj.get",Ee,OPENLAYERS);t("ol.proj.getTransform",Ve,OPENLAYERS);t("ol.proj.transform",function(b,c,d){return Ve(c,d)(b,void 0,b.length)},OPENLAYERS);t("ol.proj.transformExtent",Xe,OPENLAYERS);
  t("ol.layer.Heatmap",$,OPENLAYERS);$.prototype.getGradient=$.prototype.Da;$.prototype.setGradient=$.prototype.gc;t("ol.layer.Image",J,OPENLAYERS);J.prototype.getSource=J.prototype.a;t("ol.layer.Layer",F,OPENLAYERS);F.prototype.getSource=F.prototype.a;F.prototype.setSource=F.prototype.da;t("ol.layer.Base",D,OPENLAYERS);D.prototype.getBrightness=D.prototype.c;D.prototype.getContrast=D.prototype.e;D.prototype.getHue=D.prototype.f;D.prototype.getExtent=D.prototype.t;D.prototype.getMaxResolution=D.prototype.g;
  D.prototype.getMinResolution=D.prototype.i;D.prototype.getOpacity=D.prototype.j;D.prototype.getSaturation=D.prototype.n;D.prototype.getVisible=D.prototype.d;D.prototype.setBrightness=D.prototype.s;D.prototype.setContrast=D.prototype.D;D.prototype.setHue=D.prototype.F;D.prototype.setExtent=D.prototype.p;D.prototype.setMaxResolution=D.prototype.M;D.prototype.setMinResolution=D.prototype.T;D.prototype.setOpacity=D.prototype.q;D.prototype.setSaturation=D.prototype.aa;D.prototype.setVisible=D.prototype.ca;
  t("ol.layer.Group",I,OPENLAYERS);I.prototype.getLayers=I.prototype.Zb;I.prototype.setLayers=I.prototype.r;t("ol.layer.Tile",K,OPENLAYERS);K.prototype.getPreload=K.prototype.r;K.prototype.getSource=K.prototype.a;K.prototype.setPreload=K.prototype.xa;K.prototype.getUseInterimTilesOnError=K.prototype.ha;K.prototype.setUseInterimTilesOnError=K.prototype.Da;t("ol.layer.Vector",L,OPENLAYERS);L.prototype.getSource=L.prototype.a;L.prototype.getStyle=L.prototype.vc;L.prototype.getStyleFunction=L.prototype.Wc;
  L.prototype.setStyle=L.prototype.xa;t("ol.interaction.DoubleClickZoom",pk,OPENLAYERS);t("ol.interaction.DragAndDrop",mv,OPENLAYERS);nv.prototype.features=nv.prototype.features;nv.prototype.file=nv.prototype.file;nv.prototype.projection=nv.prototype.projection;tl.prototype.coordinate=tl.prototype.coordinate;t("ol.interaction.DragBox",ul,OPENLAYERS);ul.prototype.getGeometry=ul.prototype.N;t("ol.interaction.DragPan",zk,OPENLAYERS);t("ol.interaction.DragRotateAndZoom",qv,OPENLAYERS);
  t("ol.interaction.DragRotate",Ak,OPENLAYERS);t("ol.interaction.DragZoom",Jl,OPENLAYERS);Dv.prototype.feature=Dv.prototype.feature;t("ol.interaction.Draw",Ev,OPENLAYERS);Ev.prototype.finishDrawing=Ev.prototype.Ve;t("ol.interaction.Interaction",lk,OPENLAYERS);lk.prototype.getActive=lk.prototype.a;lk.prototype.handleMapBrowserEvent=lk.prototype.handleMapBrowserEvent;lk.prototype.setActive=lk.prototype.d;t("ol.interaction.defaults",Pl,OPENLAYERS);t("ol.interaction.KeyboardPan",Kl,OPENLAYERS);
  t("ol.interaction.KeyboardZoom",Ll,OPENLAYERS);t("ol.interaction.Modify",Ov,OPENLAYERS);t("ol.interaction.MouseWheelZoom",Ml,OPENLAYERS);t("ol.interaction.PinchRotate",Nl,OPENLAYERS);t("ol.interaction.PinchZoom",Ol,OPENLAYERS);t("ol.interaction.Select",Tv,OPENLAYERS);Tv.prototype.getFeatures=Tv.prototype.oj;Tv.prototype.setMap=Tv.prototype.setMap;t("ol.geom.Circle",Jm,OPENLAYERS);Jm.prototype.clone=Jm.prototype.clone;Jm.prototype.getCenter=Jm.prototype.le;Jm.prototype.getExtent=Jm.prototype.t;
  Jm.prototype.getRadius=Jm.prototype.pf;Jm.prototype.getType=Jm.prototype.H;Jm.prototype.setCenter=Jm.prototype.gj;Jm.prototype.setCenterAndRadius=Jm.prototype.Vf;Jm.prototype.setRadius=Jm.prototype.el;Jm.prototype.transform=Jm.prototype.f;t("ol.geom.Geometry",Bk,OPENLAYERS);Bk.prototype.clone=Bk.prototype.clone;Bk.prototype.getClosestPoint=Bk.prototype.g;Bk.prototype.getExtent=Bk.prototype.t;Bk.prototype.getType=Bk.prototype.H;Bk.prototype.applyTransform=Bk.prototype.ma;
  Bk.prototype.intersectsExtent=Bk.prototype.ia;Bk.prototype.transform=Bk.prototype.f;t("ol.geom.GeometryCollection",Lm,OPENLAYERS);Lm.prototype.clone=Lm.prototype.clone;Lm.prototype.getExtent=Lm.prototype.t;Lm.prototype.getGeometries=Lm.prototype.Xe;Lm.prototype.getType=Lm.prototype.H;Lm.prototype.intersectsExtent=Lm.prototype.ia;Lm.prototype.setGeometries=Lm.prototype.Wf;Lm.prototype.applyTransform=Lm.prototype.ma;t("ol.geom.LinearRing",Xk,OPENLAYERS);Xk.prototype.clone=Xk.prototype.clone;
  Xk.prototype.getArea=Xk.prototype.jj;Xk.prototype.getCoordinates=Xk.prototype.J;Xk.prototype.getType=Xk.prototype.H;Xk.prototype.setCoordinates=Xk.prototype.V;t("ol.geom.LineString",M,OPENLAYERS);M.prototype.appendCoordinate=M.prototype.Og;M.prototype.clone=M.prototype.clone;M.prototype.getCoordinateAtM=M.prototype.hj;M.prototype.getCoordinates=M.prototype.J;M.prototype.getLength=M.prototype.ij;M.prototype.getType=M.prototype.H;M.prototype.intersectsExtent=M.prototype.ia;
  M.prototype.setCoordinates=M.prototype.V;t("ol.geom.MultiLineString",Tm,OPENLAYERS);Tm.prototype.appendLineString=Tm.prototype.Pg;Tm.prototype.clone=Tm.prototype.clone;Tm.prototype.getCoordinateAtM=Tm.prototype.kj;Tm.prototype.getCoordinates=Tm.prototype.J;Tm.prototype.getLineString=Tm.prototype.nh;Tm.prototype.getLineStrings=Tm.prototype.Fc;Tm.prototype.getType=Tm.prototype.H;Tm.prototype.intersectsExtent=Tm.prototype.ia;Tm.prototype.setCoordinates=Tm.prototype.V;t("ol.geom.MultiPoint",Wm,OPENLAYERS);
  Wm.prototype.appendPoint=Wm.prototype.Rg;Wm.prototype.clone=Wm.prototype.clone;Wm.prototype.getCoordinates=Wm.prototype.J;Wm.prototype.getPoint=Wm.prototype.wh;Wm.prototype.getPoints=Wm.prototype.hd;Wm.prototype.getType=Wm.prototype.H;Wm.prototype.intersectsExtent=Wm.prototype.ia;Wm.prototype.setCoordinates=Wm.prototype.V;t("ol.geom.MultiPolygon",Xm,OPENLAYERS);Xm.prototype.appendPolygon=Xm.prototype.Sg;Xm.prototype.clone=Xm.prototype.clone;Xm.prototype.getArea=Xm.prototype.lj;
  Xm.prototype.getCoordinates=Xm.prototype.J;Xm.prototype.getInteriorPoints=Xm.prototype.kh;Xm.prototype.getPolygon=Xm.prototype.xh;Xm.prototype.getPolygons=Xm.prototype.jd;Xm.prototype.getType=Xm.prototype.H;Xm.prototype.intersectsExtent=Xm.prototype.ia;Xm.prototype.setCoordinates=Xm.prototype.V;t("ol.geom.Point",Zk,OPENLAYERS);Zk.prototype.clone=Zk.prototype.clone;Zk.prototype.getCoordinates=Zk.prototype.J;Zk.prototype.getType=Zk.prototype.H;Zk.prototype.intersectsExtent=Zk.prototype.ia;
  Zk.prototype.setCoordinates=Zk.prototype.V;t("ol.geom.Polygon",H,OPENLAYERS);H.prototype.appendLinearRing=H.prototype.Qg;H.prototype.clone=H.prototype.clone;H.prototype.getArea=H.prototype.mj;H.prototype.getCoordinates=H.prototype.J;H.prototype.getInteriorPoint=H.prototype.jh;H.prototype.getLinearRingCount=H.prototype.ph;H.prototype.getLinearRing=H.prototype.oh;H.prototype.getLinearRings=H.prototype.ed;H.prototype.getType=H.prototype.H;H.prototype.intersectsExtent=H.prototype.ia;
  H.prototype.setCoordinates=H.prototype.V;t("ol.geom.Polygon.circular",nl,OPENLAYERS);t("ol.geom.Polygon.fromExtent",function(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 H(null);kl(d,"XY",c,[c.length]);return d},OPENLAYERS);t("ol.geom.SimpleGeometry",Dk,OPENLAYERS);Dk.prototype.getExtent=Dk.prototype.t;Dk.prototype.getFirstCoordinate=Dk.prototype.sb;Dk.prototype.getLastCoordinate=Dk.prototype.tb;Dk.prototype.getLayout=Dk.prototype.ub;Dk.prototype.applyTransform=Dk.prototype.ma;
  t("ol.format.Feature",Uo,OPENLAYERS);t("ol.format.GeoJSON",dp,OPENLAYERS);dp.prototype.readFeature=dp.prototype.Ob;dp.prototype.readFeatures=dp.prototype.ka;dp.prototype.readGeometry=dp.prototype.Lc;dp.prototype.readProjection=dp.prototype.Aa;dp.prototype.writeFeature=dp.prototype.Kd;dp.prototype.writeFeatureObject=dp.prototype.a;dp.prototype.writeFeatures=dp.prototype.Rb;dp.prototype.writeFeaturesObject=dp.prototype.c;dp.prototype.writeGeometry=dp.prototype.Sc;dp.prototype.writeGeometryObject=dp.prototype.e;
  t("ol.format.GPX",uq,OPENLAYERS);uq.prototype.readFeature=uq.prototype.Ob;uq.prototype.readFeatures=uq.prototype.ka;uq.prototype.readProjection=uq.prototype.Aa;uq.prototype.writeFeatures=uq.prototype.Rb;uq.prototype.writeFeaturesNode=uq.prototype.a;t("ol.format.IGC",er,OPENLAYERS);er.prototype.readFeature=er.prototype.Ob;er.prototype.readFeatures=er.prototype.ka;er.prototype.readProjection=er.prototype.Aa;t("ol.format.KML",jr,OPENLAYERS);jr.prototype.readFeature=jr.prototype.Ob;
  jr.prototype.readFeatures=jr.prototype.ka;jr.prototype.readName=jr.prototype.Jk;jr.prototype.readProjection=jr.prototype.Aa;jr.prototype.writeFeatures=jr.prototype.Rb;jr.prototype.writeFeaturesNode=jr.prototype.a;t("ol.format.OSMXML",Os,OPENLAYERS);Os.prototype.readFeatures=Os.prototype.ka;Os.prototype.readProjection=Os.prototype.Aa;t("ol.format.Polyline",Zs,OPENLAYERS);t("ol.format.Polyline.encodeDeltas",$s,OPENLAYERS);t("ol.format.Polyline.decodeDeltas",bt,OPENLAYERS);
  t("ol.format.Polyline.encodeFloats",at,OPENLAYERS);t("ol.format.Polyline.decodeFloats",ct,OPENLAYERS);Zs.prototype.readFeature=Zs.prototype.Ob;Zs.prototype.readFeatures=Zs.prototype.ka;Zs.prototype.readGeometry=Zs.prototype.Lc;Zs.prototype.readProjection=Zs.prototype.Aa;Zs.prototype.writeGeometry=Zs.prototype.Sc;t("ol.format.TopoJSON",dt,OPENLAYERS);dt.prototype.readFeatures=dt.prototype.ka;dt.prototype.readProjection=dt.prototype.Aa;t("ol.format.WFS",jt,OPENLAYERS);jt.prototype.readFeatures=jt.prototype.ka;
  jt.prototype.readTransactionResponse=jt.prototype.g;jt.prototype.readFeatureCollectionMetadata=jt.prototype.f;jt.prototype.writeGetFeature=jt.prototype.n;jt.prototype.writeTransaction=jt.prototype.j;jt.prototype.readProjection=jt.prototype.Aa;t("ol.format.WKT",wt,OPENLAYERS);wt.prototype.readFeature=wt.prototype.Ob;wt.prototype.readFeatures=wt.prototype.ka;wt.prototype.readGeometry=wt.prototype.Lc;wt.prototype.writeFeature=wt.prototype.Kd;wt.prototype.writeFeatures=wt.prototype.Rb;
  wt.prototype.writeGeometry=wt.prototype.Sc;t("ol.format.WMSCapabilities",Ot,OPENLAYERS);Ot.prototype.read=Ot.prototype.a;t("ol.format.WMSGetFeatureInfo",ku,OPENLAYERS);ku.prototype.readFeatures=ku.prototype.ka;t("ol.format.GML2",tq,OPENLAYERS);t("ol.format.GML3",X,OPENLAYERS);X.prototype.writeGeometryNode=X.prototype.o;X.prototype.writeFeatures=X.prototype.Rb;X.prototype.writeFeaturesNode=X.prototype.a;t("ol.format.GML",X,OPENLAYERS);X.prototype.writeFeatures=X.prototype.Rb;
  X.prototype.writeFeaturesNode=X.prototype.a;t("ol.format.GMLBase",Zp,OPENLAYERS);Zp.prototype.readFeatures=Zp.prototype.ka;t("ol.events.condition.altKeyOnly",function(b){b=b.a;return b.b&&!b.o&&!b.e},OPENLAYERS);t("ol.events.condition.altShiftKeysOnly",qk,OPENLAYERS);t("ol.events.condition.always",dd,OPENLAYERS);t("ol.events.condition.click",function(b){return b.type==dj},OPENLAYERS);t("ol.events.condition.mouseMove",rk,OPENLAYERS);t("ol.events.condition.never",cd,OPENLAYERS);
  t("ol.events.condition.singleClick",sk,OPENLAYERS);t("ol.events.condition.noModifierKeys",tk,OPENLAYERS);t("ol.events.condition.platformModifierKeyOnly",function(b){b=b.a;return!b.b&&b.o&&!b.e},OPENLAYERS);t("ol.events.condition.shiftKeyOnly",uk,OPENLAYERS);t("ol.events.condition.targetNotEditable",vk,OPENLAYERS);t("ol.events.condition.mouseOnly",wk,OPENLAYERS);t("ol.dom.Input",Ro,OPENLAYERS);Ro.prototype.getChecked=Ro.prototype.a;Ro.prototype.getValue=Ro.prototype.d;Ro.prototype.setValue=Ro.prototype.e;
  Ro.prototype.setChecked=Ro.prototype.c;t("ol.control.Attribution",ah,OPENLAYERS);ah.prototype.getCollapsible=ah.prototype.Yi;ah.prototype.setCollapsible=ah.prototype.aj;ah.prototype.setCollapsed=ah.prototype.$i;ah.prototype.getCollapsed=ah.prototype.Xi;t("ol.control.Control",$g,OPENLAYERS);$g.prototype.getMap=$g.prototype.c;$g.prototype.setMap=$g.prototype.setMap;t("ol.control.defaults",eh,OPENLAYERS);t("ol.control.FullScreen",jh,OPENLAYERS);t("ol.control.MousePosition",kh,OPENLAYERS);
  kh.prototype.getCoordinateFormat=kh.prototype.g;kh.prototype.getProjection=kh.prototype.p;kh.prototype.setMap=kh.prototype.setMap;kh.prototype.setCoordinateFormat=kh.prototype.r;kh.prototype.setProjection=kh.prototype.q;t("ol.control.OverviewMap",to,OPENLAYERS);to.prototype.setMap=to.prototype.setMap;to.prototype.getCollapsible=to.prototype.cj;to.prototype.setCollapsible=to.prototype.fj;to.prototype.setCollapsed=to.prototype.ej;to.prototype.getCollapsed=to.prototype.bj;t("ol.control.Rotate",ch,OPENLAYERS);
  t("ol.control.ScaleLine",yo,OPENLAYERS);yo.prototype.getUnits=yo.prototype.j;yo.prototype.setUnits=yo.prototype.p;t("ol.control.Zoom",dh,OPENLAYERS);t("ol.control.ZoomSlider",Mo,OPENLAYERS);t("ol.control.ZoomToExtent",Qo,OPENLAYERS);t("ol.color.asArray",ug,OPENLAYERS);t("ol.color.asString",wg,OPENLAYERS);td.prototype.changed=td.prototype.l;td.prototype.getRevision=td.prototype.A;td.prototype.on=td.prototype.u;td.prototype.once=td.prototype.B;td.prototype.un=td.prototype.v;td.prototype.unByKey=td.prototype.C;
  B.prototype.bindTo=B.prototype.O;B.prototype.get=B.prototype.get;B.prototype.getKeys=B.prototype.I;B.prototype.getProperties=B.prototype.K;B.prototype.set=B.prototype.set;B.prototype.setProperties=B.prototype.G;B.prototype.unbind=B.prototype.P;B.prototype.unbindAll=B.prototype.R;B.prototype.changed=B.prototype.l;B.prototype.getRevision=B.prototype.A;B.prototype.on=B.prototype.u;B.prototype.once=B.prototype.B;B.prototype.un=B.prototype.v;B.prototype.unByKey=B.prototype.C;Q.prototype.bindTo=Q.prototype.O;
  Q.prototype.get=Q.prototype.get;Q.prototype.getKeys=Q.prototype.I;Q.prototype.getProperties=Q.prototype.K;Q.prototype.set=Q.prototype.set;Q.prototype.setProperties=Q.prototype.G;Q.prototype.unbind=Q.prototype.P;Q.prototype.unbindAll=Q.prototype.R;Q.prototype.changed=Q.prototype.l;Q.prototype.getRevision=Q.prototype.A;Q.prototype.on=Q.prototype.u;Q.prototype.once=Q.prototype.B;Q.prototype.un=Q.prototype.v;Q.prototype.unByKey=Q.prototype.C;R.prototype.bindTo=R.prototype.O;R.prototype.get=R.prototype.get;
  R.prototype.getKeys=R.prototype.I;R.prototype.getProperties=R.prototype.K;R.prototype.set=R.prototype.set;R.prototype.setProperties=R.prototype.G;R.prototype.unbind=R.prototype.P;R.prototype.unbindAll=R.prototype.R;R.prototype.changed=R.prototype.l;R.prototype.getRevision=R.prototype.A;R.prototype.on=R.prototype.u;R.prototype.once=R.prototype.B;R.prototype.un=R.prototype.v;R.prototype.unByKey=R.prototype.C;Z.prototype.bindTo=Z.prototype.O;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.I;
  Z.prototype.getProperties=Z.prototype.K;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.G;Z.prototype.unbind=Z.prototype.P;Z.prototype.unbindAll=Z.prototype.R;Z.prototype.changed=Z.prototype.l;Z.prototype.getRevision=Z.prototype.A;Z.prototype.on=Z.prototype.u;Z.prototype.once=Z.prototype.B;Z.prototype.un=Z.prototype.v;Z.prototype.unByKey=Z.prototype.C;xu.prototype.getTileCoord=xu.prototype.f;O.prototype.bindTo=O.prototype.O;O.prototype.get=O.prototype.get;
  O.prototype.getKeys=O.prototype.I;O.prototype.getProperties=O.prototype.K;O.prototype.set=O.prototype.set;O.prototype.setProperties=O.prototype.G;O.prototype.unbind=O.prototype.P;O.prototype.unbindAll=O.prototype.R;O.prototype.changed=O.prototype.l;O.prototype.getRevision=O.prototype.A;O.prototype.on=O.prototype.u;O.prototype.once=O.prototype.B;O.prototype.un=O.prototype.v;O.prototype.unByKey=O.prototype.C;$i.prototype.map=$i.prototype.map;$i.prototype.frameState=$i.prototype.frameState;
  aj.prototype.originalEvent=aj.prototype.originalEvent;aj.prototype.pixel=aj.prototype.pixel;aj.prototype.coordinate=aj.prototype.coordinate;aj.prototype.preventDefault=aj.prototype.preventDefault;aj.prototype.stopPropagation=aj.prototype.c;aj.prototype.map=aj.prototype.map;aj.prototype.frameState=aj.prototype.frameState;P.prototype.bindTo=P.prototype.O;P.prototype.get=P.prototype.get;P.prototype.getKeys=P.prototype.I;P.prototype.getProperties=P.prototype.K;P.prototype.set=P.prototype.set;
  P.prototype.setProperties=P.prototype.G;P.prototype.unbind=P.prototype.P;P.prototype.unbindAll=P.prototype.R;P.prototype.changed=P.prototype.l;P.prototype.getRevision=P.prototype.A;P.prototype.on=P.prototype.u;P.prototype.once=P.prototype.B;P.prototype.un=P.prototype.v;P.prototype.unByKey=P.prototype.C;A.prototype.bindTo=A.prototype.O;A.prototype.get=A.prototype.get;A.prototype.getKeys=A.prototype.I;A.prototype.getProperties=A.prototype.K;A.prototype.set=A.prototype.set;
  A.prototype.setProperties=A.prototype.G;A.prototype.unbind=A.prototype.P;A.prototype.unbindAll=A.prototype.R;A.prototype.changed=A.prototype.l;A.prototype.getRevision=A.prototype.A;A.prototype.on=A.prototype.u;A.prototype.once=A.prototype.B;A.prototype.un=A.prototype.v;A.prototype.unByKey=A.prototype.C;Px.prototype.getMaxZoom=Px.prototype.fd;Px.prototype.getMinZoom=Px.prototype.gd;Px.prototype.getOrigin=Px.prototype.Mb;Px.prototype.getResolution=Px.prototype.la;Px.prototype.getResolutions=Px.prototype.zd;
  Px.prototype.getTileCoordForCoordAndResolution=Px.prototype.Wb;Px.prototype.getTileCoordForCoordAndZ=Px.prototype.Gc;Px.prototype.getTileSize=Px.prototype.qa;uw.prototype.getMaxZoom=uw.prototype.fd;uw.prototype.getMinZoom=uw.prototype.gd;uw.prototype.getOrigin=uw.prototype.Mb;uw.prototype.getResolution=uw.prototype.la;uw.prototype.getResolutions=uw.prototype.zd;uw.prototype.getTileCoordForCoordAndResolution=uw.prototype.Wb;uw.prototype.getTileCoordForCoordAndZ=uw.prototype.Gc;
  uw.prototype.getTileSize=uw.prototype.qa;Sx.prototype.getMaxZoom=Sx.prototype.fd;Sx.prototype.getMinZoom=Sx.prototype.gd;Sx.prototype.getOrigin=Sx.prototype.Mb;Sx.prototype.getResolution=Sx.prototype.la;Sx.prototype.getResolutions=Sx.prototype.zd;Sx.prototype.getTileCoordForCoordAndResolution=Sx.prototype.Wb;Sx.prototype.getTileCoordForCoordAndZ=Sx.prototype.Gc;Sx.prototype.getTileSize=Sx.prototype.qa;Dl.prototype.getRotation=Dl.prototype.p;Dl.prototype.getScale=Dl.prototype.q;
  Dl.prototype.setRotation=Dl.prototype.r;Dl.prototype.setScale=Dl.prototype.s;Pj.prototype.getRotation=Pj.prototype.p;Pj.prototype.getScale=Pj.prototype.q;Pj.prototype.setRotation=Pj.prototype.r;Pj.prototype.setScale=Pj.prototype.s;Zx.prototype.getRotation=Zx.prototype.p;Zx.prototype.getScale=Zx.prototype.q;Zx.prototype.setRotation=Zx.prototype.r;Zx.prototype.setScale=Zx.prototype.s;nj.prototype.changed=nj.prototype.l;nj.prototype.getRevision=nj.prototype.A;nj.prototype.on=nj.prototype.u;
  nj.prototype.once=nj.prototype.B;nj.prototype.un=nj.prototype.v;nj.prototype.unByKey=nj.prototype.C;Cj.prototype.getAttributions=Cj.prototype.Y;Cj.prototype.getLogo=Cj.prototype.W;Cj.prototype.getProjection=Cj.prototype.Z;Cj.prototype.getState=Cj.prototype.$;Cj.prototype.changed=Cj.prototype.l;Cj.prototype.getRevision=Cj.prototype.A;Cj.prototype.on=Cj.prototype.u;Cj.prototype.once=Cj.prototype.B;Cj.prototype.un=Cj.prototype.v;Cj.prototype.unByKey=Cj.prototype.C;sw.prototype.getTileGrid=sw.prototype.za;
  sw.prototype.getAttributions=sw.prototype.Y;sw.prototype.getLogo=sw.prototype.W;sw.prototype.getProjection=sw.prototype.Z;sw.prototype.getState=sw.prototype.$;sw.prototype.changed=sw.prototype.l;sw.prototype.getRevision=sw.prototype.A;sw.prototype.on=sw.prototype.u;sw.prototype.once=sw.prototype.B;sw.prototype.un=sw.prototype.v;sw.prototype.unByKey=sw.prototype.C;vw.prototype.getTileLoadFunction=vw.prototype.fb;vw.prototype.getTileUrlFunction=vw.prototype.gb;vw.prototype.setTileLoadFunction=vw.prototype.kb;
  vw.prototype.setTileUrlFunction=vw.prototype.oa;vw.prototype.getTileGrid=vw.prototype.za;vw.prototype.getAttributions=vw.prototype.Y;vw.prototype.getLogo=vw.prototype.W;vw.prototype.getProjection=vw.prototype.Z;vw.prototype.getState=vw.prototype.$;vw.prototype.changed=vw.prototype.l;vw.prototype.getRevision=vw.prototype.A;vw.prototype.on=vw.prototype.u;vw.prototype.once=vw.prototype.B;vw.prototype.un=vw.prototype.v;vw.prototype.unByKey=vw.prototype.C;xv.prototype.getAttributions=xv.prototype.Y;
  xv.prototype.getLogo=xv.prototype.W;xv.prototype.getProjection=xv.prototype.Z;xv.prototype.getState=xv.prototype.$;xv.prototype.changed=xv.prototype.l;xv.prototype.getRevision=xv.prototype.A;xv.prototype.on=xv.prototype.u;xv.prototype.once=xv.prototype.B;xv.prototype.un=xv.prototype.v;xv.prototype.unByKey=xv.prototype.C;xw.prototype.addFeature=xw.prototype.Na;xw.prototype.addFeatures=xw.prototype.ya;xw.prototype.clear=xw.prototype.clear;xw.prototype.forEachFeature=xw.prototype.Ua;
  xw.prototype.forEachFeatureInExtent=xw.prototype.pa;xw.prototype.forEachFeatureIntersectingExtent=xw.prototype.Ea;xw.prototype.getFeatures=xw.prototype.ta;xw.prototype.getFeaturesAtCoordinate=xw.prototype.Ha;xw.prototype.getClosestFeatureToCoordinate=xw.prototype.Va;xw.prototype.getExtent=xw.prototype.t;xw.prototype.getFeatureById=xw.prototype.Ga;xw.prototype.removeFeature=xw.prototype.Xa;xw.prototype.getAttributions=xw.prototype.Y;xw.prototype.getLogo=xw.prototype.W;xw.prototype.getProjection=xw.prototype.Z;
  xw.prototype.getState=xw.prototype.$;xw.prototype.changed=xw.prototype.l;xw.prototype.getRevision=xw.prototype.A;xw.prototype.on=xw.prototype.u;xw.prototype.once=xw.prototype.B;xw.prototype.un=xw.prototype.v;xw.prototype.unByKey=xw.prototype.C;Ww.prototype.addFeature=Ww.prototype.Na;Ww.prototype.addFeatures=Ww.prototype.ya;Ww.prototype.clear=Ww.prototype.clear;Ww.prototype.forEachFeature=Ww.prototype.Ua;Ww.prototype.forEachFeatureInExtent=Ww.prototype.pa;
  Ww.prototype.forEachFeatureIntersectingExtent=Ww.prototype.Ea;Ww.prototype.getFeatures=Ww.prototype.ta;Ww.prototype.getFeaturesAtCoordinate=Ww.prototype.Ha;Ww.prototype.getClosestFeatureToCoordinate=Ww.prototype.Va;Ww.prototype.getExtent=Ww.prototype.t;Ww.prototype.getFeatureById=Ww.prototype.Ga;Ww.prototype.removeFeature=Ww.prototype.Xa;Ww.prototype.getAttributions=Ww.prototype.Y;Ww.prototype.getLogo=Ww.prototype.W;Ww.prototype.getProjection=Ww.prototype.Z;Ww.prototype.getState=Ww.prototype.$;
  Ww.prototype.changed=Ww.prototype.l;Ww.prototype.getRevision=Ww.prototype.A;Ww.prototype.on=Ww.prototype.u;Ww.prototype.once=Ww.prototype.B;Ww.prototype.un=Ww.prototype.v;Ww.prototype.unByKey=Ww.prototype.C;Yw.prototype.readFeatures=Yw.prototype.a;Yw.prototype.addFeature=Yw.prototype.Na;Yw.prototype.addFeatures=Yw.prototype.ya;Yw.prototype.clear=Yw.prototype.clear;Yw.prototype.forEachFeature=Yw.prototype.Ua;Yw.prototype.forEachFeatureInExtent=Yw.prototype.pa;
  Yw.prototype.forEachFeatureIntersectingExtent=Yw.prototype.Ea;Yw.prototype.getFeatures=Yw.prototype.ta;Yw.prototype.getFeaturesAtCoordinate=Yw.prototype.Ha;Yw.prototype.getClosestFeatureToCoordinate=Yw.prototype.Va;Yw.prototype.getExtent=Yw.prototype.t;Yw.prototype.getFeatureById=Yw.prototype.Ga;Yw.prototype.removeFeature=Yw.prototype.Xa;Yw.prototype.getAttributions=Yw.prototype.Y;Yw.prototype.getLogo=Yw.prototype.W;Yw.prototype.getProjection=Yw.prototype.Z;Yw.prototype.getState=Yw.prototype.$;
  Yw.prototype.changed=Yw.prototype.l;Yw.prototype.getRevision=Yw.prototype.A;Yw.prototype.on=Yw.prototype.u;Yw.prototype.once=Yw.prototype.B;Yw.prototype.un=Yw.prototype.v;Yw.prototype.unByKey=Yw.prototype.C;Zw.prototype.readFeatures=Zw.prototype.a;Zw.prototype.addFeature=Zw.prototype.Na;Zw.prototype.addFeatures=Zw.prototype.ya;Zw.prototype.clear=Zw.prototype.clear;Zw.prototype.forEachFeature=Zw.prototype.Ua;Zw.prototype.forEachFeatureInExtent=Zw.prototype.pa;
  Zw.prototype.forEachFeatureIntersectingExtent=Zw.prototype.Ea;Zw.prototype.getFeatures=Zw.prototype.ta;Zw.prototype.getFeaturesAtCoordinate=Zw.prototype.Ha;Zw.prototype.getClosestFeatureToCoordinate=Zw.prototype.Va;Zw.prototype.getExtent=Zw.prototype.t;Zw.prototype.getFeatureById=Zw.prototype.Ga;Zw.prototype.removeFeature=Zw.prototype.Xa;Zw.prototype.getAttributions=Zw.prototype.Y;Zw.prototype.getLogo=Zw.prototype.W;Zw.prototype.getProjection=Zw.prototype.Z;Zw.prototype.getState=Zw.prototype.$;
  Zw.prototype.changed=Zw.prototype.l;Zw.prototype.getRevision=Zw.prototype.A;Zw.prototype.on=Zw.prototype.u;Zw.prototype.once=Zw.prototype.B;Zw.prototype.un=Zw.prototype.v;Zw.prototype.unByKey=Zw.prototype.C;$w.prototype.readFeatures=$w.prototype.a;$w.prototype.addFeature=$w.prototype.Na;$w.prototype.addFeatures=$w.prototype.ya;$w.prototype.clear=$w.prototype.clear;$w.prototype.forEachFeature=$w.prototype.Ua;$w.prototype.forEachFeatureInExtent=$w.prototype.pa;
  $w.prototype.forEachFeatureIntersectingExtent=$w.prototype.Ea;$w.prototype.getFeatures=$w.prototype.ta;$w.prototype.getFeaturesAtCoordinate=$w.prototype.Ha;$w.prototype.getClosestFeatureToCoordinate=$w.prototype.Va;$w.prototype.getExtent=$w.prototype.t;$w.prototype.getFeatureById=$w.prototype.Ga;$w.prototype.removeFeature=$w.prototype.Xa;$w.prototype.getAttributions=$w.prototype.Y;$w.prototype.getLogo=$w.prototype.W;$w.prototype.getProjection=$w.prototype.Z;$w.prototype.getState=$w.prototype.$;
  $w.prototype.changed=$w.prototype.l;$w.prototype.getRevision=$w.prototype.A;$w.prototype.on=$w.prototype.u;$w.prototype.once=$w.prototype.B;$w.prototype.un=$w.prototype.v;$w.prototype.unByKey=$w.prototype.C;ax.prototype.readFeatures=ax.prototype.a;ax.prototype.addFeature=ax.prototype.Na;ax.prototype.addFeatures=ax.prototype.ya;ax.prototype.clear=ax.prototype.clear;ax.prototype.forEachFeature=ax.prototype.Ua;ax.prototype.forEachFeatureInExtent=ax.prototype.pa;
  ax.prototype.forEachFeatureIntersectingExtent=ax.prototype.Ea;ax.prototype.getFeatures=ax.prototype.ta;ax.prototype.getFeaturesAtCoordinate=ax.prototype.Ha;ax.prototype.getClosestFeatureToCoordinate=ax.prototype.Va;ax.prototype.getExtent=ax.prototype.t;ax.prototype.getFeatureById=ax.prototype.Ga;ax.prototype.removeFeature=ax.prototype.Xa;ax.prototype.getAttributions=ax.prototype.Y;ax.prototype.getLogo=ax.prototype.W;ax.prototype.getProjection=ax.prototype.Z;ax.prototype.getState=ax.prototype.$;
  ax.prototype.changed=ax.prototype.l;ax.prototype.getRevision=ax.prototype.A;ax.prototype.on=ax.prototype.u;ax.prototype.once=ax.prototype.B;ax.prototype.un=ax.prototype.v;ax.prototype.unByKey=ax.prototype.C;bx.prototype.getAttributions=bx.prototype.Y;bx.prototype.getLogo=bx.prototype.W;bx.prototype.getProjection=bx.prototype.Z;bx.prototype.getState=bx.prototype.$;bx.prototype.changed=bx.prototype.l;bx.prototype.getRevision=bx.prototype.A;bx.prototype.on=bx.prototype.u;bx.prototype.once=bx.prototype.B;
  bx.prototype.un=bx.prototype.v;bx.prototype.unByKey=bx.prototype.C;ex.prototype.getAttributions=ex.prototype.Y;ex.prototype.getLogo=ex.prototype.W;ex.prototype.getProjection=ex.prototype.Z;ex.prototype.getState=ex.prototype.$;ex.prototype.changed=ex.prototype.l;ex.prototype.getRevision=ex.prototype.A;ex.prototype.on=ex.prototype.u;ex.prototype.once=ex.prototype.B;ex.prototype.un=ex.prototype.v;ex.prototype.unByKey=ex.prototype.C;fx.prototype.getAttributions=fx.prototype.Y;fx.prototype.getLogo=fx.prototype.W;
  fx.prototype.getProjection=fx.prototype.Z;fx.prototype.getState=fx.prototype.$;fx.prototype.changed=fx.prototype.l;fx.prototype.getRevision=fx.prototype.A;fx.prototype.on=fx.prototype.u;fx.prototype.once=fx.prototype.B;fx.prototype.un=fx.prototype.v;fx.prototype.unByKey=fx.prototype.C;gx.prototype.getAttributions=gx.prototype.Y;gx.prototype.getLogo=gx.prototype.W;gx.prototype.getProjection=gx.prototype.Z;gx.prototype.getState=gx.prototype.$;gx.prototype.changed=gx.prototype.l;
  gx.prototype.getRevision=gx.prototype.A;gx.prototype.on=gx.prototype.u;gx.prototype.once=gx.prototype.B;gx.prototype.un=gx.prototype.v;gx.prototype.unByKey=gx.prototype.C;hx.prototype.getAttributions=hx.prototype.Y;hx.prototype.getLogo=hx.prototype.W;hx.prototype.getProjection=hx.prototype.Z;hx.prototype.getState=hx.prototype.$;hx.prototype.changed=hx.prototype.l;hx.prototype.getRevision=hx.prototype.A;hx.prototype.on=hx.prototype.u;hx.prototype.once=hx.prototype.B;hx.prototype.un=hx.prototype.v;
  hx.prototype.unByKey=hx.prototype.C;jx.prototype.getAttributions=jx.prototype.Y;jx.prototype.getLogo=jx.prototype.W;jx.prototype.getProjection=jx.prototype.Z;jx.prototype.getState=jx.prototype.$;jx.prototype.changed=jx.prototype.l;jx.prototype.getRevision=jx.prototype.A;jx.prototype.on=jx.prototype.u;jx.prototype.once=jx.prototype.B;jx.prototype.un=jx.prototype.v;jx.prototype.unByKey=jx.prototype.C;nx.prototype.readFeatures=nx.prototype.a;nx.prototype.addFeature=nx.prototype.Na;
  nx.prototype.addFeatures=nx.prototype.ya;nx.prototype.clear=nx.prototype.clear;nx.prototype.forEachFeature=nx.prototype.Ua;nx.prototype.forEachFeatureInExtent=nx.prototype.pa;nx.prototype.forEachFeatureIntersectingExtent=nx.prototype.Ea;nx.prototype.getFeatures=nx.prototype.ta;nx.prototype.getFeaturesAtCoordinate=nx.prototype.Ha;nx.prototype.getClosestFeatureToCoordinate=nx.prototype.Va;nx.prototype.getExtent=nx.prototype.t;nx.prototype.getFeatureById=nx.prototype.Ga;nx.prototype.removeFeature=nx.prototype.Xa;
  nx.prototype.getAttributions=nx.prototype.Y;nx.prototype.getLogo=nx.prototype.W;nx.prototype.getProjection=nx.prototype.Z;nx.prototype.getState=nx.prototype.$;nx.prototype.changed=nx.prototype.l;nx.prototype.getRevision=nx.prototype.A;nx.prototype.on=nx.prototype.u;nx.prototype.once=nx.prototype.B;nx.prototype.un=nx.prototype.v;nx.prototype.unByKey=nx.prototype.C;ox.prototype.getTileLoadFunction=ox.prototype.fb;ox.prototype.getTileUrlFunction=ox.prototype.gb;ox.prototype.setTileLoadFunction=ox.prototype.kb;
  ox.prototype.getTileGrid=ox.prototype.za;ox.prototype.getAttributions=ox.prototype.Y;ox.prototype.getLogo=ox.prototype.W;ox.prototype.getProjection=ox.prototype.Z;ox.prototype.getState=ox.prototype.$;ox.prototype.changed=ox.prototype.l;ox.prototype.getRevision=ox.prototype.A;ox.prototype.on=ox.prototype.u;ox.prototype.once=ox.prototype.B;ox.prototype.un=ox.prototype.v;ox.prototype.unByKey=ox.prototype.C;rx.prototype.setTileUrlFunction=rx.prototype.oa;rx.prototype.setUrl=rx.prototype.a;
  rx.prototype.getTileLoadFunction=rx.prototype.fb;rx.prototype.getTileUrlFunction=rx.prototype.gb;rx.prototype.setTileLoadFunction=rx.prototype.kb;rx.prototype.getTileGrid=rx.prototype.za;rx.prototype.getAttributions=rx.prototype.Y;rx.prototype.getLogo=rx.prototype.W;rx.prototype.getProjection=rx.prototype.Z;rx.prototype.getState=rx.prototype.$;rx.prototype.changed=rx.prototype.l;rx.prototype.getRevision=rx.prototype.A;rx.prototype.on=rx.prototype.u;rx.prototype.once=rx.prototype.B;
  rx.prototype.un=rx.prototype.v;rx.prototype.unByKey=rx.prototype.C;px.prototype.setTileUrlFunction=px.prototype.oa;px.prototype.setUrl=px.prototype.a;px.prototype.getTileLoadFunction=px.prototype.fb;px.prototype.getTileUrlFunction=px.prototype.gb;px.prototype.setTileLoadFunction=px.prototype.kb;px.prototype.getTileGrid=px.prototype.za;px.prototype.getAttributions=px.prototype.Y;px.prototype.getLogo=px.prototype.W;px.prototype.getProjection=px.prototype.Z;px.prototype.getState=px.prototype.$;
  px.prototype.changed=px.prototype.l;px.prototype.getRevision=px.prototype.A;px.prototype.on=px.prototype.u;px.prototype.once=px.prototype.B;px.prototype.un=px.prototype.v;px.prototype.unByKey=px.prototype.C;ux.prototype.readFeatures=ux.prototype.a;ux.prototype.addFeature=ux.prototype.Na;ux.prototype.addFeatures=ux.prototype.ya;ux.prototype.clear=ux.prototype.clear;ux.prototype.forEachFeature=ux.prototype.Ua;ux.prototype.forEachFeatureInExtent=ux.prototype.pa;
  ux.prototype.forEachFeatureIntersectingExtent=ux.prototype.Ea;ux.prototype.getFeatures=ux.prototype.ta;ux.prototype.getFeaturesAtCoordinate=ux.prototype.Ha;ux.prototype.getClosestFeatureToCoordinate=ux.prototype.Va;ux.prototype.getExtent=ux.prototype.t;ux.prototype.getFeatureById=ux.prototype.Ga;ux.prototype.removeFeature=ux.prototype.Xa;ux.prototype.getAttributions=ux.prototype.Y;ux.prototype.getLogo=ux.prototype.W;ux.prototype.getProjection=ux.prototype.Z;ux.prototype.getState=ux.prototype.$;
  ux.prototype.changed=ux.prototype.l;ux.prototype.getRevision=ux.prototype.A;ux.prototype.on=ux.prototype.u;ux.prototype.once=ux.prototype.B;ux.prototype.un=ux.prototype.v;ux.prototype.unByKey=ux.prototype.C;vx.prototype.addFeature=vx.prototype.Na;vx.prototype.addFeatures=vx.prototype.ya;vx.prototype.forEachFeature=vx.prototype.Ua;vx.prototype.forEachFeatureInExtent=vx.prototype.pa;vx.prototype.forEachFeatureIntersectingExtent=vx.prototype.Ea;vx.prototype.getFeatures=vx.prototype.ta;
  vx.prototype.getFeaturesAtCoordinate=vx.prototype.Ha;vx.prototype.getClosestFeatureToCoordinate=vx.prototype.Va;vx.prototype.getExtent=vx.prototype.t;vx.prototype.getFeatureById=vx.prototype.Ga;vx.prototype.removeFeature=vx.prototype.Xa;vx.prototype.getAttributions=vx.prototype.Y;vx.prototype.getLogo=vx.prototype.W;vx.prototype.getProjection=vx.prototype.Z;vx.prototype.getState=vx.prototype.$;vx.prototype.changed=vx.prototype.l;vx.prototype.getRevision=vx.prototype.A;vx.prototype.on=vx.prototype.u;
  vx.prototype.once=vx.prototype.B;vx.prototype.un=vx.prototype.v;vx.prototype.unByKey=vx.prototype.C;yx.prototype.setTileUrlFunction=yx.prototype.oa;yx.prototype.setUrl=yx.prototype.a;yx.prototype.getTileLoadFunction=yx.prototype.fb;yx.prototype.getTileUrlFunction=yx.prototype.gb;yx.prototype.setTileLoadFunction=yx.prototype.kb;yx.prototype.getTileGrid=yx.prototype.za;yx.prototype.getAttributions=yx.prototype.Y;yx.prototype.getLogo=yx.prototype.W;yx.prototype.getProjection=yx.prototype.Z;
  yx.prototype.getState=yx.prototype.$;yx.prototype.changed=yx.prototype.l;yx.prototype.getRevision=yx.prototype.A;yx.prototype.on=yx.prototype.u;yx.prototype.once=yx.prototype.B;yx.prototype.un=yx.prototype.v;yx.prototype.unByKey=yx.prototype.C;Bx.prototype.getTileGrid=Bx.prototype.za;Bx.prototype.getAttributions=Bx.prototype.Y;Bx.prototype.getLogo=Bx.prototype.W;Bx.prototype.getProjection=Bx.prototype.Z;Bx.prototype.getState=Bx.prototype.$;Bx.prototype.changed=Bx.prototype.l;
  Bx.prototype.getRevision=Bx.prototype.A;Bx.prototype.on=Bx.prototype.u;Bx.prototype.once=Bx.prototype.B;Bx.prototype.un=Bx.prototype.v;Bx.prototype.unByKey=Bx.prototype.C;Cx.prototype.getTileLoadFunction=Cx.prototype.fb;Cx.prototype.getTileUrlFunction=Cx.prototype.gb;Cx.prototype.setTileLoadFunction=Cx.prototype.kb;Cx.prototype.setTileUrlFunction=Cx.prototype.oa;Cx.prototype.getTileGrid=Cx.prototype.za;Cx.prototype.getAttributions=Cx.prototype.Y;Cx.prototype.getLogo=Cx.prototype.W;
  Cx.prototype.getProjection=Cx.prototype.Z;Cx.prototype.getState=Cx.prototype.$;Cx.prototype.changed=Cx.prototype.l;Cx.prototype.getRevision=Cx.prototype.A;Cx.prototype.on=Cx.prototype.u;Cx.prototype.once=Cx.prototype.B;Cx.prototype.un=Cx.prototype.v;Cx.prototype.unByKey=Cx.prototype.C;Dx.prototype.getTileGrid=Dx.prototype.za;Dx.prototype.getAttributions=Dx.prototype.Y;Dx.prototype.getLogo=Dx.prototype.W;Dx.prototype.getProjection=Dx.prototype.Z;Dx.prototype.getState=Dx.prototype.$;
  Dx.prototype.changed=Dx.prototype.l;Dx.prototype.getRevision=Dx.prototype.A;Dx.prototype.on=Dx.prototype.u;Dx.prototype.once=Dx.prototype.B;Dx.prototype.un=Dx.prototype.v;Dx.prototype.unByKey=Dx.prototype.C;Ix.prototype.readFeatures=Ix.prototype.a;Ix.prototype.forEachFeatureIntersectingExtent=Ix.prototype.Ea;Ix.prototype.getFeaturesAtCoordinate=Ix.prototype.Ha;Ix.prototype.getFeatureById=Ix.prototype.Ga;Ix.prototype.getAttributions=Ix.prototype.Y;Ix.prototype.getLogo=Ix.prototype.W;
  Ix.prototype.getProjection=Ix.prototype.Z;Ix.prototype.getState=Ix.prototype.$;Ix.prototype.changed=Ix.prototype.l;Ix.prototype.getRevision=Ix.prototype.A;Ix.prototype.on=Ix.prototype.u;Ix.prototype.once=Ix.prototype.B;Ix.prototype.un=Ix.prototype.v;Ix.prototype.unByKey=Ix.prototype.C;Kx.prototype.getTileLoadFunction=Kx.prototype.fb;Kx.prototype.getTileUrlFunction=Kx.prototype.gb;Kx.prototype.setTileLoadFunction=Kx.prototype.kb;Kx.prototype.setTileUrlFunction=Kx.prototype.oa;
  Kx.prototype.getTileGrid=Kx.prototype.za;Kx.prototype.getAttributions=Kx.prototype.Y;Kx.prototype.getLogo=Kx.prototype.W;Kx.prototype.getProjection=Kx.prototype.Z;Kx.prototype.getState=Kx.prototype.$;Kx.prototype.changed=Kx.prototype.l;Kx.prototype.getRevision=Kx.prototype.A;Kx.prototype.on=Kx.prototype.u;Kx.prototype.once=Kx.prototype.B;Kx.prototype.un=Kx.prototype.v;Kx.prototype.unByKey=Kx.prototype.C;Ox.prototype.readFeatures=Ox.prototype.a;Ox.prototype.addFeature=Ox.prototype.Na;
  Ox.prototype.addFeatures=Ox.prototype.ya;Ox.prototype.clear=Ox.prototype.clear;Ox.prototype.forEachFeature=Ox.prototype.Ua;Ox.prototype.forEachFeatureInExtent=Ox.prototype.pa;Ox.prototype.forEachFeatureIntersectingExtent=Ox.prototype.Ea;Ox.prototype.getFeatures=Ox.prototype.ta;Ox.prototype.getFeaturesAtCoordinate=Ox.prototype.Ha;Ox.prototype.getClosestFeatureToCoordinate=Ox.prototype.Va;Ox.prototype.getExtent=Ox.prototype.t;Ox.prototype.getFeatureById=Ox.prototype.Ga;Ox.prototype.removeFeature=Ox.prototype.Xa;
  Ox.prototype.getAttributions=Ox.prototype.Y;Ox.prototype.getLogo=Ox.prototype.W;Ox.prototype.getProjection=Ox.prototype.Z;Ox.prototype.getState=Ox.prototype.$;Ox.prototype.changed=Ox.prototype.l;Ox.prototype.getRevision=Ox.prototype.A;Ox.prototype.on=Ox.prototype.u;Ox.prototype.once=Ox.prototype.B;Ox.prototype.un=Ox.prototype.v;Ox.prototype.unByKey=Ox.prototype.C;Qx.prototype.getTileLoadFunction=Qx.prototype.fb;Qx.prototype.getTileUrlFunction=Qx.prototype.gb;Qx.prototype.setTileLoadFunction=Qx.prototype.kb;
  Qx.prototype.setTileUrlFunction=Qx.prototype.oa;Qx.prototype.getTileGrid=Qx.prototype.za;Qx.prototype.getAttributions=Qx.prototype.Y;Qx.prototype.getLogo=Qx.prototype.W;Qx.prototype.getProjection=Qx.prototype.Z;Qx.prototype.getState=Qx.prototype.$;Qx.prototype.changed=Qx.prototype.l;Qx.prototype.getRevision=Qx.prototype.A;Qx.prototype.on=Qx.prototype.u;Qx.prototype.once=Qx.prototype.B;Qx.prototype.un=Qx.prototype.v;Qx.prototype.unByKey=Qx.prototype.C;Tx.prototype.getTileLoadFunction=Tx.prototype.fb;
  Tx.prototype.getTileUrlFunction=Tx.prototype.gb;Tx.prototype.setTileLoadFunction=Tx.prototype.kb;Tx.prototype.setTileUrlFunction=Tx.prototype.oa;Tx.prototype.getTileGrid=Tx.prototype.za;Tx.prototype.getAttributions=Tx.prototype.Y;Tx.prototype.getLogo=Tx.prototype.W;Tx.prototype.getProjection=Tx.prototype.Z;Tx.prototype.getState=Tx.prototype.$;Tx.prototype.changed=Tx.prototype.l;Tx.prototype.getRevision=Tx.prototype.A;Tx.prototype.on=Tx.prototype.u;Tx.prototype.once=Tx.prototype.B;
  Tx.prototype.un=Tx.prototype.v;Tx.prototype.unByKey=Tx.prototype.C;D.prototype.bindTo=D.prototype.O;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.I;D.prototype.getProperties=D.prototype.K;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.G;D.prototype.unbind=D.prototype.P;D.prototype.unbindAll=D.prototype.R;D.prototype.changed=D.prototype.l;D.prototype.getRevision=D.prototype.A;D.prototype.on=D.prototype.u;D.prototype.once=D.prototype.B;D.prototype.un=D.prototype.v;
  D.prototype.unByKey=D.prototype.C;F.prototype.getBrightness=F.prototype.c;F.prototype.getContrast=F.prototype.e;F.prototype.getHue=F.prototype.f;F.prototype.getExtent=F.prototype.t;F.prototype.getMaxResolution=F.prototype.g;F.prototype.getMinResolution=F.prototype.i;F.prototype.getOpacity=F.prototype.j;F.prototype.getSaturation=F.prototype.n;F.prototype.getVisible=F.prototype.d;F.prototype.setBrightness=F.prototype.s;F.prototype.setContrast=F.prototype.D;F.prototype.setHue=F.prototype.F;
  F.prototype.setExtent=F.prototype.p;F.prototype.setMaxResolution=F.prototype.M;F.prototype.setMinResolution=F.prototype.T;F.prototype.setOpacity=F.prototype.q;F.prototype.setSaturation=F.prototype.aa;F.prototype.setVisible=F.prototype.ca;F.prototype.bindTo=F.prototype.O;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.I;F.prototype.getProperties=F.prototype.K;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.G;F.prototype.unbind=F.prototype.P;
  F.prototype.unbindAll=F.prototype.R;F.prototype.changed=F.prototype.l;F.prototype.getRevision=F.prototype.A;F.prototype.on=F.prototype.u;F.prototype.once=F.prototype.B;F.prototype.un=F.prototype.v;F.prototype.unByKey=F.prototype.C;L.prototype.setSource=L.prototype.da;L.prototype.getBrightness=L.prototype.c;L.prototype.getContrast=L.prototype.e;L.prototype.getHue=L.prototype.f;L.prototype.getExtent=L.prototype.t;L.prototype.getMaxResolution=L.prototype.g;L.prototype.getMinResolution=L.prototype.i;
  L.prototype.getOpacity=L.prototype.j;L.prototype.getSaturation=L.prototype.n;L.prototype.getVisible=L.prototype.d;L.prototype.setBrightness=L.prototype.s;L.prototype.setContrast=L.prototype.D;L.prototype.setHue=L.prototype.F;L.prototype.setExtent=L.prototype.p;L.prototype.setMaxResolution=L.prototype.M;L.prototype.setMinResolution=L.prototype.T;L.prototype.setOpacity=L.prototype.q;L.prototype.setSaturation=L.prototype.aa;L.prototype.setVisible=L.prototype.ca;L.prototype.bindTo=L.prototype.O;
  L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.I;L.prototype.getProperties=L.prototype.K;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.G;L.prototype.unbind=L.prototype.P;L.prototype.unbindAll=L.prototype.R;L.prototype.changed=L.prototype.l;L.prototype.getRevision=L.prototype.A;L.prototype.on=L.prototype.u;L.prototype.once=L.prototype.B;L.prototype.un=L.prototype.v;L.prototype.unByKey=L.prototype.C;$.prototype.getSource=$.prototype.a;$.prototype.getStyle=$.prototype.vc;
  $.prototype.getStyleFunction=$.prototype.Wc;$.prototype.setStyle=$.prototype.xa;$.prototype.setSource=$.prototype.da;$.prototype.getBrightness=$.prototype.c;$.prototype.getContrast=$.prototype.e;$.prototype.getHue=$.prototype.f;$.prototype.getExtent=$.prototype.t;$.prototype.getMaxResolution=$.prototype.g;$.prototype.getMinResolution=$.prototype.i;$.prototype.getOpacity=$.prototype.j;$.prototype.getSaturation=$.prototype.n;$.prototype.getVisible=$.prototype.d;$.prototype.setBrightness=$.prototype.s;
  $.prototype.setContrast=$.prototype.D;$.prototype.setHue=$.prototype.F;$.prototype.setExtent=$.prototype.p;$.prototype.setMaxResolution=$.prototype.M;$.prototype.setMinResolution=$.prototype.T;$.prototype.setOpacity=$.prototype.q;$.prototype.setSaturation=$.prototype.aa;$.prototype.setVisible=$.prototype.ca;$.prototype.bindTo=$.prototype.O;$.prototype.get=$.prototype.get;$.prototype.getKeys=$.prototype.I;$.prototype.getProperties=$.prototype.K;$.prototype.set=$.prototype.set;
  $.prototype.setProperties=$.prototype.G;$.prototype.unbind=$.prototype.P;$.prototype.unbindAll=$.prototype.R;$.prototype.changed=$.prototype.l;$.prototype.getRevision=$.prototype.A;$.prototype.on=$.prototype.u;$.prototype.once=$.prototype.B;$.prototype.un=$.prototype.v;$.prototype.unByKey=$.prototype.C;J.prototype.setSource=J.prototype.da;J.prototype.getBrightness=J.prototype.c;J.prototype.getContrast=J.prototype.e;J.prototype.getHue=J.prototype.f;J.prototype.getExtent=J.prototype.t;
  J.prototype.getMaxResolution=J.prototype.g;J.prototype.getMinResolution=J.prototype.i;J.prototype.getOpacity=J.prototype.j;J.prototype.getSaturation=J.prototype.n;J.prototype.getVisible=J.prototype.d;J.prototype.setBrightness=J.prototype.s;J.prototype.setContrast=J.prototype.D;J.prototype.setHue=J.prototype.F;J.prototype.setExtent=J.prototype.p;J.prototype.setMaxResolution=J.prototype.M;J.prototype.setMinResolution=J.prototype.T;J.prototype.setOpacity=J.prototype.q;J.prototype.setSaturation=J.prototype.aa;
  J.prototype.setVisible=J.prototype.ca;J.prototype.bindTo=J.prototype.O;J.prototype.get=J.prototype.get;J.prototype.getKeys=J.prototype.I;J.prototype.getProperties=J.prototype.K;J.prototype.set=J.prototype.set;J.prototype.setProperties=J.prototype.G;J.prototype.unbind=J.prototype.P;J.prototype.unbindAll=J.prototype.R;J.prototype.changed=J.prototype.l;J.prototype.getRevision=J.prototype.A;J.prototype.on=J.prototype.u;J.prototype.once=J.prototype.B;J.prototype.un=J.prototype.v;J.prototype.unByKey=J.prototype.C;
  I.prototype.getBrightness=I.prototype.c;I.prototype.getContrast=I.prototype.e;I.prototype.getHue=I.prototype.f;I.prototype.getExtent=I.prototype.t;I.prototype.getMaxResolution=I.prototype.g;I.prototype.getMinResolution=I.prototype.i;I.prototype.getOpacity=I.prototype.j;I.prototype.getSaturation=I.prototype.n;I.prototype.getVisible=I.prototype.d;I.prototype.setBrightness=I.prototype.s;I.prototype.setContrast=I.prototype.D;I.prototype.setHue=I.prototype.F;I.prototype.setExtent=I.prototype.p;
  I.prototype.setMaxResolution=I.prototype.M;I.prototype.setMinResolution=I.prototype.T;I.prototype.setOpacity=I.prototype.q;I.prototype.setSaturation=I.prototype.aa;I.prototype.setVisible=I.prototype.ca;I.prototype.bindTo=I.prototype.O;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.I;I.prototype.getProperties=I.prototype.K;I.prototype.set=I.prototype.set;I.prototype.setProperties=I.prototype.G;I.prototype.unbind=I.prototype.P;I.prototype.unbindAll=I.prototype.R;
  I.prototype.changed=I.prototype.l;I.prototype.getRevision=I.prototype.A;I.prototype.on=I.prototype.u;I.prototype.once=I.prototype.B;I.prototype.un=I.prototype.v;I.prototype.unByKey=I.prototype.C;K.prototype.setSource=K.prototype.da;K.prototype.getBrightness=K.prototype.c;K.prototype.getContrast=K.prototype.e;K.prototype.getHue=K.prototype.f;K.prototype.getExtent=K.prototype.t;K.prototype.getMaxResolution=K.prototype.g;K.prototype.getMinResolution=K.prototype.i;K.prototype.getOpacity=K.prototype.j;
  K.prototype.getSaturation=K.prototype.n;K.prototype.getVisible=K.prototype.d;K.prototype.setBrightness=K.prototype.s;K.prototype.setContrast=K.prototype.D;K.prototype.setHue=K.prototype.F;K.prototype.setExtent=K.prototype.p;K.prototype.setMaxResolution=K.prototype.M;K.prototype.setMinResolution=K.prototype.T;K.prototype.setOpacity=K.prototype.q;K.prototype.setSaturation=K.prototype.aa;K.prototype.setVisible=K.prototype.ca;K.prototype.bindTo=K.prototype.O;K.prototype.get=K.prototype.get;
  K.prototype.getKeys=K.prototype.I;K.prototype.getProperties=K.prototype.K;K.prototype.set=K.prototype.set;K.prototype.setProperties=K.prototype.G;K.prototype.unbind=K.prototype.P;K.prototype.unbindAll=K.prototype.R;K.prototype.changed=K.prototype.l;K.prototype.getRevision=K.prototype.A;K.prototype.on=K.prototype.u;K.prototype.once=K.prototype.B;K.prototype.un=K.prototype.v;K.prototype.unByKey=K.prototype.C;lk.prototype.bindTo=lk.prototype.O;lk.prototype.get=lk.prototype.get;lk.prototype.getKeys=lk.prototype.I;
  lk.prototype.getProperties=lk.prototype.K;lk.prototype.set=lk.prototype.set;lk.prototype.setProperties=lk.prototype.G;lk.prototype.unbind=lk.prototype.P;lk.prototype.unbindAll=lk.prototype.R;lk.prototype.changed=lk.prototype.l;lk.prototype.getRevision=lk.prototype.A;lk.prototype.on=lk.prototype.u;lk.prototype.once=lk.prototype.B;lk.prototype.un=lk.prototype.v;lk.prototype.unByKey=lk.prototype.C;pk.prototype.getActive=pk.prototype.a;pk.prototype.setActive=pk.prototype.d;pk.prototype.bindTo=pk.prototype.O;
  pk.prototype.get=pk.prototype.get;pk.prototype.getKeys=pk.prototype.I;pk.prototype.getProperties=pk.prototype.K;pk.prototype.set=pk.prototype.set;pk.prototype.setProperties=pk.prototype.G;pk.prototype.unbind=pk.prototype.P;pk.prototype.unbindAll=pk.prototype.R;pk.prototype.changed=pk.prototype.l;pk.prototype.getRevision=pk.prototype.A;pk.prototype.on=pk.prototype.u;pk.prototype.once=pk.prototype.B;pk.prototype.un=pk.prototype.v;pk.prototype.unByKey=pk.prototype.C;mv.prototype.getActive=mv.prototype.a;
  mv.prototype.setActive=mv.prototype.d;mv.prototype.bindTo=mv.prototype.O;mv.prototype.get=mv.prototype.get;mv.prototype.getKeys=mv.prototype.I;mv.prototype.getProperties=mv.prototype.K;mv.prototype.set=mv.prototype.set;mv.prototype.setProperties=mv.prototype.G;mv.prototype.unbind=mv.prototype.P;mv.prototype.unbindAll=mv.prototype.R;mv.prototype.changed=mv.prototype.l;mv.prototype.getRevision=mv.prototype.A;mv.prototype.on=mv.prototype.u;mv.prototype.once=mv.prototype.B;mv.prototype.un=mv.prototype.v;
  mv.prototype.unByKey=mv.prototype.C;xk.prototype.getActive=xk.prototype.a;xk.prototype.setActive=xk.prototype.d;xk.prototype.bindTo=xk.prototype.O;xk.prototype.get=xk.prototype.get;xk.prototype.getKeys=xk.prototype.I;xk.prototype.getProperties=xk.prototype.K;xk.prototype.set=xk.prototype.set;xk.prototype.setProperties=xk.prototype.G;xk.prototype.unbind=xk.prototype.P;xk.prototype.unbindAll=xk.prototype.R;xk.prototype.changed=xk.prototype.l;xk.prototype.getRevision=xk.prototype.A;xk.prototype.on=xk.prototype.u;
  xk.prototype.once=xk.prototype.B;xk.prototype.un=xk.prototype.v;xk.prototype.unByKey=xk.prototype.C;ul.prototype.getActive=ul.prototype.a;ul.prototype.setActive=ul.prototype.d;ul.prototype.bindTo=ul.prototype.O;ul.prototype.get=ul.prototype.get;ul.prototype.getKeys=ul.prototype.I;ul.prototype.getProperties=ul.prototype.K;ul.prototype.set=ul.prototype.set;ul.prototype.setProperties=ul.prototype.G;ul.prototype.unbind=ul.prototype.P;ul.prototype.unbindAll=ul.prototype.R;ul.prototype.changed=ul.prototype.l;
  ul.prototype.getRevision=ul.prototype.A;ul.prototype.on=ul.prototype.u;ul.prototype.once=ul.prototype.B;ul.prototype.un=ul.prototype.v;ul.prototype.unByKey=ul.prototype.C;zk.prototype.getActive=zk.prototype.a;zk.prototype.setActive=zk.prototype.d;zk.prototype.bindTo=zk.prototype.O;zk.prototype.get=zk.prototype.get;zk.prototype.getKeys=zk.prototype.I;zk.prototype.getProperties=zk.prototype.K;zk.prototype.set=zk.prototype.set;zk.prototype.setProperties=zk.prototype.G;zk.prototype.unbind=zk.prototype.P;
  zk.prototype.unbindAll=zk.prototype.R;zk.prototype.changed=zk.prototype.l;zk.prototype.getRevision=zk.prototype.A;zk.prototype.on=zk.prototype.u;zk.prototype.once=zk.prototype.B;zk.prototype.un=zk.prototype.v;zk.prototype.unByKey=zk.prototype.C;qv.prototype.getActive=qv.prototype.a;qv.prototype.setActive=qv.prototype.d;qv.prototype.bindTo=qv.prototype.O;qv.prototype.get=qv.prototype.get;qv.prototype.getKeys=qv.prototype.I;qv.prototype.getProperties=qv.prototype.K;qv.prototype.set=qv.prototype.set;
  qv.prototype.setProperties=qv.prototype.G;qv.prototype.unbind=qv.prototype.P;qv.prototype.unbindAll=qv.prototype.R;qv.prototype.changed=qv.prototype.l;qv.prototype.getRevision=qv.prototype.A;qv.prototype.on=qv.prototype.u;qv.prototype.once=qv.prototype.B;qv.prototype.un=qv.prototype.v;qv.prototype.unByKey=qv.prototype.C;Ak.prototype.getActive=Ak.prototype.a;Ak.prototype.setActive=Ak.prototype.d;Ak.prototype.bindTo=Ak.prototype.O;Ak.prototype.get=Ak.prototype.get;Ak.prototype.getKeys=Ak.prototype.I;
  Ak.prototype.getProperties=Ak.prototype.K;Ak.prototype.set=Ak.prototype.set;Ak.prototype.setProperties=Ak.prototype.G;Ak.prototype.unbind=Ak.prototype.P;Ak.prototype.unbindAll=Ak.prototype.R;Ak.prototype.changed=Ak.prototype.l;Ak.prototype.getRevision=Ak.prototype.A;Ak.prototype.on=Ak.prototype.u;Ak.prototype.once=Ak.prototype.B;Ak.prototype.un=Ak.prototype.v;Ak.prototype.unByKey=Ak.prototype.C;Jl.prototype.getGeometry=Jl.prototype.N;Jl.prototype.getActive=Jl.prototype.a;Jl.prototype.setActive=Jl.prototype.d;
  Jl.prototype.bindTo=Jl.prototype.O;Jl.prototype.get=Jl.prototype.get;Jl.prototype.getKeys=Jl.prototype.I;Jl.prototype.getProperties=Jl.prototype.K;Jl.prototype.set=Jl.prototype.set;Jl.prototype.setProperties=Jl.prototype.G;Jl.prototype.unbind=Jl.prototype.P;Jl.prototype.unbindAll=Jl.prototype.R;Jl.prototype.changed=Jl.prototype.l;Jl.prototype.getRevision=Jl.prototype.A;Jl.prototype.on=Jl.prototype.u;Jl.prototype.once=Jl.prototype.B;Jl.prototype.un=Jl.prototype.v;Jl.prototype.unByKey=Jl.prototype.C;
  Ev.prototype.getActive=Ev.prototype.a;Ev.prototype.setActive=Ev.prototype.d;Ev.prototype.bindTo=Ev.prototype.O;Ev.prototype.get=Ev.prototype.get;Ev.prototype.getKeys=Ev.prototype.I;Ev.prototype.getProperties=Ev.prototype.K;Ev.prototype.set=Ev.prototype.set;Ev.prototype.setProperties=Ev.prototype.G;Ev.prototype.unbind=Ev.prototype.P;Ev.prototype.unbindAll=Ev.prototype.R;Ev.prototype.changed=Ev.prototype.l;Ev.prototype.getRevision=Ev.prototype.A;Ev.prototype.on=Ev.prototype.u;Ev.prototype.once=Ev.prototype.B;
  Ev.prototype.un=Ev.prototype.v;Ev.prototype.unByKey=Ev.prototype.C;Kl.prototype.getActive=Kl.prototype.a;Kl.prototype.setActive=Kl.prototype.d;Kl.prototype.bindTo=Kl.prototype.O;Kl.prototype.get=Kl.prototype.get;Kl.prototype.getKeys=Kl.prototype.I;Kl.prototype.getProperties=Kl.prototype.K;Kl.prototype.set=Kl.prototype.set;Kl.prototype.setProperties=Kl.prototype.G;Kl.prototype.unbind=Kl.prototype.P;Kl.prototype.unbindAll=Kl.prototype.R;Kl.prototype.changed=Kl.prototype.l;Kl.prototype.getRevision=Kl.prototype.A;
  Kl.prototype.on=Kl.prototype.u;Kl.prototype.once=Kl.prototype.B;Kl.prototype.un=Kl.prototype.v;Kl.prototype.unByKey=Kl.prototype.C;Ll.prototype.getActive=Ll.prototype.a;Ll.prototype.setActive=Ll.prototype.d;Ll.prototype.bindTo=Ll.prototype.O;Ll.prototype.get=Ll.prototype.get;Ll.prototype.getKeys=Ll.prototype.I;Ll.prototype.getProperties=Ll.prototype.K;Ll.prototype.set=Ll.prototype.set;Ll.prototype.setProperties=Ll.prototype.G;Ll.prototype.unbind=Ll.prototype.P;Ll.prototype.unbindAll=Ll.prototype.R;
  Ll.prototype.changed=Ll.prototype.l;Ll.prototype.getRevision=Ll.prototype.A;Ll.prototype.on=Ll.prototype.u;Ll.prototype.once=Ll.prototype.B;Ll.prototype.un=Ll.prototype.v;Ll.prototype.unByKey=Ll.prototype.C;Ov.prototype.getActive=Ov.prototype.a;Ov.prototype.setActive=Ov.prototype.d;Ov.prototype.bindTo=Ov.prototype.O;Ov.prototype.get=Ov.prototype.get;Ov.prototype.getKeys=Ov.prototype.I;Ov.prototype.getProperties=Ov.prototype.K;Ov.prototype.set=Ov.prototype.set;Ov.prototype.setProperties=Ov.prototype.G;
  Ov.prototype.unbind=Ov.prototype.P;Ov.prototype.unbindAll=Ov.prototype.R;Ov.prototype.changed=Ov.prototype.l;Ov.prototype.getRevision=Ov.prototype.A;Ov.prototype.on=Ov.prototype.u;Ov.prototype.once=Ov.prototype.B;Ov.prototype.un=Ov.prototype.v;Ov.prototype.unByKey=Ov.prototype.C;Ml.prototype.getActive=Ml.prototype.a;Ml.prototype.setActive=Ml.prototype.d;Ml.prototype.bindTo=Ml.prototype.O;Ml.prototype.get=Ml.prototype.get;Ml.prototype.getKeys=Ml.prototype.I;Ml.prototype.getProperties=Ml.prototype.K;
  Ml.prototype.set=Ml.prototype.set;Ml.prototype.setProperties=Ml.prototype.G;Ml.prototype.unbind=Ml.prototype.P;Ml.prototype.unbindAll=Ml.prototype.R;Ml.prototype.changed=Ml.prototype.l;Ml.prototype.getRevision=Ml.prototype.A;Ml.prototype.on=Ml.prototype.u;Ml.prototype.once=Ml.prototype.B;Ml.prototype.un=Ml.prototype.v;Ml.prototype.unByKey=Ml.prototype.C;Nl.prototype.getActive=Nl.prototype.a;Nl.prototype.setActive=Nl.prototype.d;Nl.prototype.bindTo=Nl.prototype.O;Nl.prototype.get=Nl.prototype.get;
  Nl.prototype.getKeys=Nl.prototype.I;Nl.prototype.getProperties=Nl.prototype.K;Nl.prototype.set=Nl.prototype.set;Nl.prototype.setProperties=Nl.prototype.G;Nl.prototype.unbind=Nl.prototype.P;Nl.prototype.unbindAll=Nl.prototype.R;Nl.prototype.changed=Nl.prototype.l;Nl.prototype.getRevision=Nl.prototype.A;Nl.prototype.on=Nl.prototype.u;Nl.prototype.once=Nl.prototype.B;Nl.prototype.un=Nl.prototype.v;Nl.prototype.unByKey=Nl.prototype.C;Ol.prototype.getActive=Ol.prototype.a;Ol.prototype.setActive=Ol.prototype.d;
  Ol.prototype.bindTo=Ol.prototype.O;Ol.prototype.get=Ol.prototype.get;Ol.prototype.getKeys=Ol.prototype.I;Ol.prototype.getProperties=Ol.prototype.K;Ol.prototype.set=Ol.prototype.set;Ol.prototype.setProperties=Ol.prototype.G;Ol.prototype.unbind=Ol.prototype.P;Ol.prototype.unbindAll=Ol.prototype.R;Ol.prototype.changed=Ol.prototype.l;Ol.prototype.getRevision=Ol.prototype.A;Ol.prototype.on=Ol.prototype.u;Ol.prototype.once=Ol.prototype.B;Ol.prototype.un=Ol.prototype.v;Ol.prototype.unByKey=Ol.prototype.C;
  Tv.prototype.getActive=Tv.prototype.a;Tv.prototype.setActive=Tv.prototype.d;Tv.prototype.bindTo=Tv.prototype.O;Tv.prototype.get=Tv.prototype.get;Tv.prototype.getKeys=Tv.prototype.I;Tv.prototype.getProperties=Tv.prototype.K;Tv.prototype.set=Tv.prototype.set;Tv.prototype.setProperties=Tv.prototype.G;Tv.prototype.unbind=Tv.prototype.P;Tv.prototype.unbindAll=Tv.prototype.R;Tv.prototype.changed=Tv.prototype.l;Tv.prototype.getRevision=Tv.prototype.A;Tv.prototype.on=Tv.prototype.u;Tv.prototype.once=Tv.prototype.B;
  Tv.prototype.un=Tv.prototype.v;Tv.prototype.unByKey=Tv.prototype.C;Bk.prototype.changed=Bk.prototype.l;Bk.prototype.getRevision=Bk.prototype.A;Bk.prototype.on=Bk.prototype.u;Bk.prototype.once=Bk.prototype.B;Bk.prototype.un=Bk.prototype.v;Bk.prototype.unByKey=Bk.prototype.C;Dk.prototype.clone=Dk.prototype.clone;Dk.prototype.getClosestPoint=Dk.prototype.g;Dk.prototype.getType=Dk.prototype.H;Dk.prototype.intersectsExtent=Dk.prototype.ia;Dk.prototype.transform=Dk.prototype.f;Dk.prototype.changed=Dk.prototype.l;
  Dk.prototype.getRevision=Dk.prototype.A;Dk.prototype.on=Dk.prototype.u;Dk.prototype.once=Dk.prototype.B;Dk.prototype.un=Dk.prototype.v;Dk.prototype.unByKey=Dk.prototype.C;Jm.prototype.getFirstCoordinate=Jm.prototype.sb;Jm.prototype.getLastCoordinate=Jm.prototype.tb;Jm.prototype.getLayout=Jm.prototype.ub;Jm.prototype.applyTransform=Jm.prototype.ma;Jm.prototype.getClosestPoint=Jm.prototype.g;Jm.prototype.intersectsExtent=Jm.prototype.ia;Jm.prototype.changed=Jm.prototype.l;Jm.prototype.getRevision=Jm.prototype.A;
  Jm.prototype.on=Jm.prototype.u;Jm.prototype.once=Jm.prototype.B;Jm.prototype.un=Jm.prototype.v;Jm.prototype.unByKey=Jm.prototype.C;Lm.prototype.getClosestPoint=Lm.prototype.g;Lm.prototype.transform=Lm.prototype.f;Lm.prototype.changed=Lm.prototype.l;Lm.prototype.getRevision=Lm.prototype.A;Lm.prototype.on=Lm.prototype.u;Lm.prototype.once=Lm.prototype.B;Lm.prototype.un=Lm.prototype.v;Lm.prototype.unByKey=Lm.prototype.C;Xk.prototype.getExtent=Xk.prototype.t;Xk.prototype.getFirstCoordinate=Xk.prototype.sb;
  Xk.prototype.getLastCoordinate=Xk.prototype.tb;Xk.prototype.getLayout=Xk.prototype.ub;Xk.prototype.applyTransform=Xk.prototype.ma;Xk.prototype.getClosestPoint=Xk.prototype.g;Xk.prototype.intersectsExtent=Xk.prototype.ia;Xk.prototype.transform=Xk.prototype.f;Xk.prototype.changed=Xk.prototype.l;Xk.prototype.getRevision=Xk.prototype.A;Xk.prototype.on=Xk.prototype.u;Xk.prototype.once=Xk.prototype.B;Xk.prototype.un=Xk.prototype.v;Xk.prototype.unByKey=Xk.prototype.C;M.prototype.getExtent=M.prototype.t;
  M.prototype.getFirstCoordinate=M.prototype.sb;M.prototype.getLastCoordinate=M.prototype.tb;M.prototype.getLayout=M.prototype.ub;M.prototype.applyTransform=M.prototype.ma;M.prototype.getClosestPoint=M.prototype.g;M.prototype.transform=M.prototype.f;M.prototype.changed=M.prototype.l;M.prototype.getRevision=M.prototype.A;M.prototype.on=M.prototype.u;M.prototype.once=M.prototype.B;M.prototype.un=M.prototype.v;M.prototype.unByKey=M.prototype.C;Tm.prototype.getExtent=Tm.prototype.t;
  Tm.prototype.getFirstCoordinate=Tm.prototype.sb;Tm.prototype.getLastCoordinate=Tm.prototype.tb;Tm.prototype.getLayout=Tm.prototype.ub;Tm.prototype.applyTransform=Tm.prototype.ma;Tm.prototype.getClosestPoint=Tm.prototype.g;Tm.prototype.transform=Tm.prototype.f;Tm.prototype.changed=Tm.prototype.l;Tm.prototype.getRevision=Tm.prototype.A;Tm.prototype.on=Tm.prototype.u;Tm.prototype.once=Tm.prototype.B;Tm.prototype.un=Tm.prototype.v;Tm.prototype.unByKey=Tm.prototype.C;Wm.prototype.getExtent=Wm.prototype.t;
  Wm.prototype.getFirstCoordinate=Wm.prototype.sb;Wm.prototype.getLastCoordinate=Wm.prototype.tb;Wm.prototype.getLayout=Wm.prototype.ub;Wm.prototype.applyTransform=Wm.prototype.ma;Wm.prototype.getClosestPoint=Wm.prototype.g;Wm.prototype.transform=Wm.prototype.f;Wm.prototype.changed=Wm.prototype.l;Wm.prototype.getRevision=Wm.prototype.A;Wm.prototype.on=Wm.prototype.u;Wm.prototype.once=Wm.prototype.B;Wm.prototype.un=Wm.prototype.v;Wm.prototype.unByKey=Wm.prototype.C;Xm.prototype.getExtent=Xm.prototype.t;
  Xm.prototype.getFirstCoordinate=Xm.prototype.sb;Xm.prototype.getLastCoordinate=Xm.prototype.tb;Xm.prototype.getLayout=Xm.prototype.ub;Xm.prototype.applyTransform=Xm.prototype.ma;Xm.prototype.getClosestPoint=Xm.prototype.g;Xm.prototype.transform=Xm.prototype.f;Xm.prototype.changed=Xm.prototype.l;Xm.prototype.getRevision=Xm.prototype.A;Xm.prototype.on=Xm.prototype.u;Xm.prototype.once=Xm.prototype.B;Xm.prototype.un=Xm.prototype.v;Xm.prototype.unByKey=Xm.prototype.C;Zk.prototype.getFirstCoordinate=Zk.prototype.sb;
  Zk.prototype.getLastCoordinate=Zk.prototype.tb;Zk.prototype.getLayout=Zk.prototype.ub;Zk.prototype.applyTransform=Zk.prototype.ma;Zk.prototype.getClosestPoint=Zk.prototype.g;Zk.prototype.transform=Zk.prototype.f;Zk.prototype.changed=Zk.prototype.l;Zk.prototype.getRevision=Zk.prototype.A;Zk.prototype.on=Zk.prototype.u;Zk.prototype.once=Zk.prototype.B;Zk.prototype.un=Zk.prototype.v;Zk.prototype.unByKey=Zk.prototype.C;H.prototype.getExtent=H.prototype.t;H.prototype.getFirstCoordinate=H.prototype.sb;
  H.prototype.getLastCoordinate=H.prototype.tb;H.prototype.getLayout=H.prototype.ub;H.prototype.applyTransform=H.prototype.ma;H.prototype.getClosestPoint=H.prototype.g;H.prototype.transform=H.prototype.f;H.prototype.changed=H.prototype.l;H.prototype.getRevision=H.prototype.A;H.prototype.on=H.prototype.u;H.prototype.once=H.prototype.B;H.prototype.un=H.prototype.v;H.prototype.unByKey=H.prototype.C;tq.prototype.readFeatures=tq.prototype.ka;X.prototype.readFeatures=X.prototype.ka;
  X.prototype.readFeatures=X.prototype.ka;Ro.prototype.bindTo=Ro.prototype.O;Ro.prototype.get=Ro.prototype.get;Ro.prototype.getKeys=Ro.prototype.I;Ro.prototype.getProperties=Ro.prototype.K;Ro.prototype.set=Ro.prototype.set;Ro.prototype.setProperties=Ro.prototype.G;Ro.prototype.unbind=Ro.prototype.P;Ro.prototype.unbindAll=Ro.prototype.R;Ro.prototype.changed=Ro.prototype.l;Ro.prototype.getRevision=Ro.prototype.A;Ro.prototype.on=Ro.prototype.u;Ro.prototype.once=Ro.prototype.B;Ro.prototype.un=Ro.prototype.v;
  Ro.prototype.unByKey=Ro.prototype.C;$g.prototype.bindTo=$g.prototype.O;$g.prototype.get=$g.prototype.get;$g.prototype.getKeys=$g.prototype.I;$g.prototype.getProperties=$g.prototype.K;$g.prototype.set=$g.prototype.set;$g.prototype.setProperties=$g.prototype.G;$g.prototype.unbind=$g.prototype.P;$g.prototype.unbindAll=$g.prototype.R;$g.prototype.changed=$g.prototype.l;$g.prototype.getRevision=$g.prototype.A;$g.prototype.on=$g.prototype.u;$g.prototype.once=$g.prototype.B;$g.prototype.un=$g.prototype.v;
  $g.prototype.unByKey=$g.prototype.C;ah.prototype.getMap=ah.prototype.c;ah.prototype.setMap=ah.prototype.setMap;ah.prototype.bindTo=ah.prototype.O;ah.prototype.get=ah.prototype.get;ah.prototype.getKeys=ah.prototype.I;ah.prototype.getProperties=ah.prototype.K;ah.prototype.set=ah.prototype.set;ah.prototype.setProperties=ah.prototype.G;ah.prototype.unbind=ah.prototype.P;ah.prototype.unbindAll=ah.prototype.R;ah.prototype.changed=ah.prototype.l;ah.prototype.getRevision=ah.prototype.A;ah.prototype.on=ah.prototype.u;
  ah.prototype.once=ah.prototype.B;ah.prototype.un=ah.prototype.v;ah.prototype.unByKey=ah.prototype.C;jh.prototype.getMap=jh.prototype.c;jh.prototype.setMap=jh.prototype.setMap;jh.prototype.bindTo=jh.prototype.O;jh.prototype.get=jh.prototype.get;jh.prototype.getKeys=jh.prototype.I;jh.prototype.getProperties=jh.prototype.K;jh.prototype.set=jh.prototype.set;jh.prototype.setProperties=jh.prototype.G;jh.prototype.unbind=jh.prototype.P;jh.prototype.unbindAll=jh.prototype.R;jh.prototype.changed=jh.prototype.l;
  jh.prototype.getRevision=jh.prototype.A;jh.prototype.on=jh.prototype.u;jh.prototype.once=jh.prototype.B;jh.prototype.un=jh.prototype.v;jh.prototype.unByKey=jh.prototype.C;kh.prototype.getMap=kh.prototype.c;kh.prototype.bindTo=kh.prototype.O;kh.prototype.get=kh.prototype.get;kh.prototype.getKeys=kh.prototype.I;kh.prototype.getProperties=kh.prototype.K;kh.prototype.set=kh.prototype.set;kh.prototype.setProperties=kh.prototype.G;kh.prototype.unbind=kh.prototype.P;kh.prototype.unbindAll=kh.prototype.R;
  kh.prototype.changed=kh.prototype.l;kh.prototype.getRevision=kh.prototype.A;kh.prototype.on=kh.prototype.u;kh.prototype.once=kh.prototype.B;kh.prototype.un=kh.prototype.v;kh.prototype.unByKey=kh.prototype.C;to.prototype.getMap=to.prototype.c;to.prototype.bindTo=to.prototype.O;to.prototype.get=to.prototype.get;to.prototype.getKeys=to.prototype.I;to.prototype.getProperties=to.prototype.K;to.prototype.set=to.prototype.set;to.prototype.setProperties=to.prototype.G;to.prototype.unbind=to.prototype.P;
  to.prototype.unbindAll=to.prototype.R;to.prototype.changed=to.prototype.l;to.prototype.getRevision=to.prototype.A;to.prototype.on=to.prototype.u;to.prototype.once=to.prototype.B;to.prototype.un=to.prototype.v;to.prototype.unByKey=to.prototype.C;ch.prototype.getMap=ch.prototype.c;ch.prototype.setMap=ch.prototype.setMap;ch.prototype.bindTo=ch.prototype.O;ch.prototype.get=ch.prototype.get;ch.prototype.getKeys=ch.prototype.I;ch.prototype.getProperties=ch.prototype.K;ch.prototype.set=ch.prototype.set;
  ch.prototype.setProperties=ch.prototype.G;ch.prototype.unbind=ch.prototype.P;ch.prototype.unbindAll=ch.prototype.R;ch.prototype.changed=ch.prototype.l;ch.prototype.getRevision=ch.prototype.A;ch.prototype.on=ch.prototype.u;ch.prototype.once=ch.prototype.B;ch.prototype.un=ch.prototype.v;ch.prototype.unByKey=ch.prototype.C;yo.prototype.getMap=yo.prototype.c;yo.prototype.setMap=yo.prototype.setMap;yo.prototype.bindTo=yo.prototype.O;yo.prototype.get=yo.prototype.get;yo.prototype.getKeys=yo.prototype.I;
  yo.prototype.getProperties=yo.prototype.K;yo.prototype.set=yo.prototype.set;yo.prototype.setProperties=yo.prototype.G;yo.prototype.unbind=yo.prototype.P;yo.prototype.unbindAll=yo.prototype.R;yo.prototype.changed=yo.prototype.l;yo.prototype.getRevision=yo.prototype.A;yo.prototype.on=yo.prototype.u;yo.prototype.once=yo.prototype.B;yo.prototype.un=yo.prototype.v;yo.prototype.unByKey=yo.prototype.C;dh.prototype.getMap=dh.prototype.c;dh.prototype.setMap=dh.prototype.setMap;dh.prototype.bindTo=dh.prototype.O;
  dh.prototype.get=dh.prototype.get;dh.prototype.getKeys=dh.prototype.I;dh.prototype.getProperties=dh.prototype.K;dh.prototype.set=dh.prototype.set;dh.prototype.setProperties=dh.prototype.G;dh.prototype.unbind=dh.prototype.P;dh.prototype.unbindAll=dh.prototype.R;dh.prototype.changed=dh.prototype.l;dh.prototype.getRevision=dh.prototype.A;dh.prototype.on=dh.prototype.u;dh.prototype.once=dh.prototype.B;dh.prototype.un=dh.prototype.v;dh.prototype.unByKey=dh.prototype.C;Mo.prototype.getMap=Mo.prototype.c;
  Mo.prototype.bindTo=Mo.prototype.O;Mo.prototype.get=Mo.prototype.get;Mo.prototype.getKeys=Mo.prototype.I;Mo.prototype.getProperties=Mo.prototype.K;Mo.prototype.set=Mo.prototype.set;Mo.prototype.setProperties=Mo.prototype.G;Mo.prototype.unbind=Mo.prototype.P;Mo.prototype.unbindAll=Mo.prototype.R;Mo.prototype.changed=Mo.prototype.l;Mo.prototype.getRevision=Mo.prototype.A;Mo.prototype.on=Mo.prototype.u;Mo.prototype.once=Mo.prototype.B;Mo.prototype.un=Mo.prototype.v;Mo.prototype.unByKey=Mo.prototype.C;
  Qo.prototype.getMap=Qo.prototype.c;Qo.prototype.setMap=Qo.prototype.setMap;Qo.prototype.bindTo=Qo.prototype.O;Qo.prototype.get=Qo.prototype.get;Qo.prototype.getKeys=Qo.prototype.I;Qo.prototype.getProperties=Qo.prototype.K;Qo.prototype.set=Qo.prototype.set;Qo.prototype.setProperties=Qo.prototype.G;Qo.prototype.unbind=Qo.prototype.P;Qo.prototype.unbindAll=Qo.prototype.R;Qo.prototype.changed=Qo.prototype.l;Qo.prototype.getRevision=Qo.prototype.A;Qo.prototype.on=Qo.prototype.u;Qo.prototype.once=Qo.prototype.B;
  Qo.prototype.un=Qo.prototype.v;Qo.prototype.unByKey=Qo.prototype.C;
    return OPENLAYERS.ol;
  }));
  
  