// OpenLayers 3. See http://openlayers.org/
// License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
// Version: v3.9.0

(function (root, factory) {
  if (typeof exports === "object") {
    module.exports = factory();
  } else if (typeof define === "function" && define.amd) {
    define([], factory);
  } else {
    root.ol = factory();
  }
}(this, function () {
  var OPENLAYERS = {};
  var l,aa=aa||{},ba=this;function m(a){return void 0!==a}function v(a,c,d){a=a.split(".");d=d||ba;a[0]in d||!d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&m(c)?d[e]=c:d[e]?d=d[e]:d=d[e]={}}function ca(){}function da(a){a.Oa=function(){return a.mg?a.mg:a.mg=new a}}
function ea(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==c&&"undefined"==typeof a.call)return"object";return c}function fa(a){return null===a}function ga(a){return"array"==ea(a)}function ha(a){var c=ea(a);return"array"==c||"object"==c&&"number"==typeof a.length}function ia(a){return"string"==typeof a}function ja(a){return"number"==typeof a}function ka(a){return"function"==ea(a)}function la(a){var c=typeof a;return"object"==c&&null!=a||"function"==c}function ma(a){return a[na]||(a[na]=++oa)}
var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,c,d){return a.call.apply(a.bind,arguments)}function qa(a,c,d){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,e);return a.apply(c,d)}}return function(){return a.apply(c,arguments)}}
function ra(a,c,d){ra=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?pa:qa;return ra.apply(null,arguments)}function sa(a,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return a.apply(this,c)}}var ta=Date.now||function(){return+new Date};
function w(a,c){function d(){}d.prototype=c.prototype;a.aa=c.prototype;a.prototype=new d;a.prototype.constructor=a;a.Eo=function(a,d,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return c.prototype[d].apply(a,h)}};var ua,va;function xa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,xa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a))}w(xa,Error);xa.prototype.name="CustomError";var ya;function za(a,c){var d=a.length-c.length;return 0<=d&&a.indexOf(c,d)==d}function Aa(a,c){for(var d=a.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 Ba=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};
function Ca(a){if(!Da.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ea,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Fa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ha,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Ia,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ja,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ka,"&#0;"));return a}var Ea=/&/g,Fa=/</g,Ha=/>/g,Ia=/"/g,Ja=/'/g,Ka=/\x00/g,Da=/[\x00&<>"']/;
function La(a){a=m(void 0)?a.toFixed(void 0):String(a);var c=a.indexOf(".");-1==c&&(c=a.length);c=Math.max(0,2-c);return Array(c+1).join("0")+a}
function Ma(a,c){for(var d=0,e=Ba(String(a)).split("."),f=Ba(String(c)).split("."),g=Math.max(e.length,f.length),h=0;0==d&&h<g;h++){var k=e[h]||"",n=f[h]||"",p=RegExp("(\\d*)(\\D*)","g"),q=RegExp("(\\d*)(\\D*)","g");do{var r=p.exec(k)||["","",""],t=q.exec(n)||["","",""];if(0==r[0].length&&0==t[0].length)break;d=Oa(0==r[1].length?0:parseInt(r[1],10),0==t[1].length?0:parseInt(t[1],10))||Oa(0==r[2].length,0==t[2].length)||Oa(r[2],t[2])}while(0==d)}return d}function Oa(a,c){return a<c?-1:a>c?1:0};var Pa=Array.prototype;function Qa(a,c){return Pa.indexOf.call(a,c,void 0)}function Ra(a,c,d){Pa.forEach.call(a,c,d)}function Ta(a,c){return Pa.filter.call(a,c,void 0)}function Ua(a,c,d){return Pa.map.call(a,c,d)}function Va(a,c){return Pa.some.call(a,c,void 0)}function Wa(a,c){var d=Xa(a,c,void 0);return 0>d?null:ia(a)?a.charAt(d):a[d]}function Xa(a,c,d){for(var e=a.length,f=ia(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&c.call(d,f[g],g,a))return g;return-1}function Ya(a,c){return 0<=Qa(a,c)}
function Za(a,c){var d=Qa(a,c),e;(e=0<=d)&&Pa.splice.call(a,d,1);return e}function ab(a){return Pa.concat.apply(Pa,arguments)}function bb(a){var c=a.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=a[e];return d}return[]}function cb(a,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(ha(e)){var f=a.length||0,g=e.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=e[h]}else a.push(e)}}function db(a,c,d,e){Pa.splice.apply(a,fb(arguments,1))}
function fb(a,c,d){return 2>=arguments.length?Pa.slice.call(a,c):Pa.slice.call(a,c,d)}function gb(a,c){a.sort(c||hb)}function ib(a){for(var c=jb,d=0;d<a.length;d++)a[d]={index:d,value:a[d]};var e=c||hb;gb(a,function(a,c){return e(a.value,c.value)||a.index-c.index});for(d=0;d<a.length;d++)a[d]=a[d].value}function kb(a,c){if(!ha(a)||!ha(c)||a.length!=c.length)return!1;for(var d=a.length,e=lb,f=0;f<d;f++)if(!e(a[f],c[f]))return!1;return!0}function hb(a,c){return a>c?1:a<c?-1:0}
function lb(a,c){return a===c}function mb(a){for(var c=[],d=0;d<arguments.length;d++){var e=arguments[d];if(ga(e))for(var f=0;f<e.length;f+=8192)for(var g=mb.apply(null,fb(e,f,f+8192)),h=0;h<g.length;h++)c.push(g[h]);else c.push(e)}return c};var nb;a:{var ob=ba.navigator;if(ob){var pb=ob.userAgent;if(pb){nb=pb;break a}}nb=""}function qb(a){return-1!=nb.indexOf(a)};function rb(a,c,d){for(var e in a)c.call(d,a[e],e,a)}function sb(a,c){for(var d in a)if(c.call(void 0,a[d],d,a))return!0;return!1}function tb(a){var c=0,d;for(d in a)c++;return c}function ub(a){var c=[],d=0,e;for(e in a)c[d++]=a[e];return c}function vb(a){var c=[],d=0,e;for(e in a)c[d++]=e;return c}function wb(a,c){return c in a}function xb(a,c){for(var d in a)if(a[d]==c)return!0;return!1}function yb(a,c){for(var d in a)if(c.call(void 0,a[d],d,a))return d}
function zb(a){for(var c in a)return!1;return!0}function Ab(a){for(var c in a)delete a[c]}function Bb(a,c){c in a&&delete a[c]}function Cb(a,c,d){return c in a?a[c]:d}function Db(a,c){var d=[];return c in a?a[c]:a[c]=d}function Eb(a){var c={},d;for(d in a)c[d]=a[d];return c}function Gb(a){var c=ea(a);if("object"==c||"array"==c){if(a.clone)return a.clone();var c="array"==c?[]:{},d;for(d in a)c[d]=Gb(a[d]);return c}return a}var Hb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Ib(a,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)a[d]=e[d];for(var g=0;g<Hb.length;g++)d=Hb[g],Object.prototype.hasOwnProperty.call(e,d)&&(a[d]=e[d])}};var Jb=qb("Opera")||qb("OPR"),Kb=qb("Trident")||qb("MSIE"),Lb=qb("Edge"),Mb=qb("Gecko")&&!(-1!=nb.toLowerCase().indexOf("webkit")&&!qb("Edge"))&&!(qb("Trident")||qb("MSIE"))&&!qb("Edge"),Nb=-1!=nb.toLowerCase().indexOf("webkit")&&!qb("Edge"),Ob=qb("Macintosh"),Pb=qb("Windows"),Qb=qb("Linux")||qb("CrOS");function Rb(){var a=nb;if(Mb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Lb)return/Edge\/([\d\.]+)/.exec(a);if(Kb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Nb)return/WebKit\/(\S+)/.exec(a)}
function Sb(){var a=ba.document;return a?a.documentMode:void 0}var Tb=function(){if(Jb&&ba.opera){var a=ba.opera.version;return ka(a)?a():a}var a="",c=Rb();c&&(a=c?c[1]:"");return Kb&&(c=Sb(),c>parseFloat(a))?String(c):a}(),Ub={};function Vb(a){return Ub[a]||(Ub[a]=0<=Ma(Tb,a))}var Wb=ba.document,Xb=Wb&&Kb?Sb()||("CSS1Compat"==Wb.compatMode?parseInt(Tb,10):5):void 0;var Yb=Kb&&!Vb("9.0")&&""!==Tb;function Zb(a,c,d){return Math.min(Math.max(a,c),d)}function $b(a,c){var d=a%c;return 0>d*c?d+c:d}function ac(a,c,d){return a+d*(c-a)}function bc(a){return a*Math.PI/180};function cc(a){return function(c){if(m(c))return[Zb(c[0],a[0],a[2]),Zb(c[1],a[1],a[3])]}}function dc(a){return a};function ec(a,c,d){var e=a.length;if(a[0]<=c)return 0;if(!(c<=a[e-1]))if(0<d)for(d=1;d<e;++d){if(a[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(a[d]<=c)return d}else for(d=1;d<e;++d){if(a[d]==c)return d;if(a[d]<c)return a[d-1]-c<c-a[d]?d-1:d}return e-1};function fc(a){return function(c,d,e){if(m(c))return c=ec(a,c,e),c=Zb(c+d,0,a.length-1),a[c]}}function gc(a,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(a)+g),f=Math.max(e+f,0),m(d)&&(f=Math.min(f,d)),c/Math.pow(a,f)}};function hc(a){if(m(a))return 0}function ic(a,c){if(m(a))return a+c}function jc(a){var c=2*Math.PI/a;return function(a,e){if(m(a))return a=Math.floor((a+e)/c+.5)*c}}function kc(){var a=bc(5);return function(c,d){if(m(c))return Math.abs(c+d)<=a?0:c+d}};function lc(a,c,d){this.center=a;this.resolution=c;this.rotation=d};var mc=!Kb||9<=Xb,oc=!Kb||9<=Xb,pc=Kb&&!Vb("9");!Nb||Vb("528");Mb&&Vb("1.9b")||Kb&&Vb("8")||Jb&&Vb("9.5")||Nb&&Vb("528");Mb&&!Vb("8")||Kb&&Vb("9");function qc(){0!=rc&&(sc[ma(this)]=this);this.ca=this.ca;this.ja=this.ja}var rc=0,sc={};qc.prototype.ca=!1;qc.prototype.ad=function(){if(!this.ca&&(this.ca=!0,this.Y(),0!=rc)){var a=ma(this);delete sc[a]}};function tc(a,c){var d=sa(uc,c);a.ca?d.call(void 0):(a.ja||(a.ja=[]),a.ja.push(m(void 0)?ra(d,void 0):d))}qc.prototype.Y=function(){if(this.ja)for(;this.ja.length;)this.ja.shift()()};function uc(a){a&&"function"==typeof a.ad&&a.ad()};function vc(a,c){this.type=a;this.g=this.target=c;this.i=!1;this.ih=!0}vc.prototype.c=function(){this.i=!0};vc.prototype.preventDefault=function(){this.ih=!1};function wc(a){a.c()}function xc(a){a.preventDefault()};var yc=Kb?"focusout":"DOMFocusOut";function zc(a){zc[" "](a);return a}zc[" "]=ca;function Ac(a,c){vc.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.A=this.j=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.v=this.f=this.a=this.C=!1;this.state=null;this.l=!1;this.b=null;if(a){var d=this.type=a.type,e=a.changedTouches?a.changedTouches[0]:null;this.target=null===e?a.target||a.srcElement:e.target;this.g=c;var f=a.relatedTarget;if(f){if(Mb){var g;a:{try{zc(f.nodeName);g=!0;break a}catch(h){}g=!1}g||(f=null)}}else"mouseover"==
d?f=a.fromElement:"mouseout"==d&&(f=a.toElement);this.relatedTarget=f;null===e?(this.offsetX=Nb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Nb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0);this.button=
a.button;this.j=a.keyCode||0;this.A=a.charCode||("keypress"==d?a.keyCode:0);this.C=a.ctrlKey;this.a=a.altKey;this.f=a.shiftKey;this.v=a.metaKey;this.l=Ob?a.metaKey:a.ctrlKey;this.state=a.state;this.b=a;a.defaultPrevented&&this.preventDefault()}}w(Ac,vc);var Bc=[1,4,2];function Cc(a){return(mc?0==a.b.button:"click"==a.type?!0:!!(a.b.button&Bc[0]))&&!(Nb&&Ob&&a.C)}Ac.prototype.c=function(){Ac.aa.c.call(this);this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0};
Ac.prototype.preventDefault=function(){Ac.aa.preventDefault.call(this);var a=this.b;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,pc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(c){}};var Dc="closure_listenable_"+(1E6*Math.random()|0);function Ec(a){return!(!a||!a[Dc])}var Fc=0;function Gc(a,c,d,e,f){this.listener=a;this.b=null;this.src=c;this.type=d;this.Uc=!!e;this.Td=f;this.key=++Fc;this.Kc=this.Ad=!1}function Hc(a){a.Kc=!0;a.listener=null;a.b=null;a.src=null;a.Td=null};function Jc(a){this.src=a;this.b={};this.a=0}Jc.prototype.add=function(a,c,d,e,f){var g=a.toString();a=this.b[g];a||(a=this.b[g]=[],this.a++);var h=Kc(a,c,e,f);-1<h?(c=a[h],d||(c.Ad=!1)):(c=new Gc(c,this.src,g,!!e,f),c.Ad=d,a.push(c));return c};Jc.prototype.remove=function(a,c,d,e){a=a.toString();if(!(a in this.b))return!1;var f=this.b[a];c=Kc(f,c,d,e);return-1<c?(Hc(f[c]),Pa.splice.call(f,c,1),0==f.length&&(delete this.b[a],this.a--),!0):!1};
function Lc(a,c){var d=c.type;if(!(d in a.b))return!1;var e=Za(a.b[d],c);e&&(Hc(c),0==a.b[d].length&&(delete a.b[d],a.a--));return e}function Mc(a,c,d,e,f){a=a.b[c.toString()];c=-1;a&&(c=Kc(a,d,e,f));return-1<c?a[c]:null}function Nc(a,c,d){var e=m(c),f=e?c.toString():"",g=m(d);return sb(a.b,function(a){for(var c=0;c<a.length;++c)if(!(e&&a[c].type!=f||g&&a[c].Uc!=d))return!0;return!1})}
function Kc(a,c,d,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Kc&&g.listener==c&&g.Uc==!!d&&g.Td==e)return f}return-1};var Oc="closure_lm_"+(1E6*Math.random()|0),Pc={},Qc=0;function x(a,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)x(a,c[g],d,e,f);return null}d=Rc(d);return Ec(a)?a.Qa(c,d,e,f):Sc(a,c,d,!1,e,f)}
function Sc(a,c,d,e,f,g){if(!c)throw Error("Invalid event type");var h=!!f,k=Tc(a);k||(a[Oc]=k=new Jc(a));d=k.add(c,d,e,f,g);if(d.b)return d;e=Uc();d.b=e;e.src=a;e.listener=d;if(a.addEventListener)a.addEventListener(c.toString(),e,h);else if(a.attachEvent)a.attachEvent(Vc(c.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");Qc++;return d}
function Uc(){var a=Wc,c=oc?function(d){return a.call(c.src,c.listener,d)}:function(d){d=a.call(c.src,c.listener,d);if(!d)return d};return c}function Xc(a,c,d,e,f){if(ga(c)){for(var g=0;g<c.length;g++)Xc(a,c[g],d,e,f);return null}d=Rc(d);return Ec(a)?a.fb.add(String(c),d,!0,e,f):Sc(a,c,d,!0,e,f)}function Yc(a,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)Yc(a,c[g],d,e,f);else d=Rc(d),Ec(a)?a.Ef(c,d,e,f):a&&(a=Tc(a))&&(c=Mc(a,c,d,!!e,f))&&Zc(c)}
function Zc(a){if(ja(a)||!a||a.Kc)return!1;var c=a.src;if(Ec(c))return Lc(c.fb,a);var d=a.type,e=a.b;c.removeEventListener?c.removeEventListener(d,e,a.Uc):c.detachEvent&&c.detachEvent(Vc(d),e);Qc--;(d=Tc(c))?(Lc(d,a),0==d.a&&(d.src=null,c[Oc]=null)):Hc(a);return!0}function Vc(a){return a in Pc?Pc[a]:Pc[a]="on"+a}function $c(a,c,d,e){var f=!0;if(a=Tc(a))if(c=a.b[c.toString()])for(c=c.concat(),a=0;a<c.length;a++){var g=c[a];g&&g.Uc==d&&!g.Kc&&(g=ad(g,e),f=f&&!1!==g)}return f}
function ad(a,c){var d=a.listener,e=a.Td||a.src;a.Ad&&Zc(a);return d.call(e,c)}
function Wc(a,c){if(a.Kc)return!0;if(!oc){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 Ac(f,this);e=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){a:{var g=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(h){g=!0}if(g||void 0==f.returnValue)f.returnValue=!0}f=[];for(g=d.g;g;g=g.parentNode)f.push(g);for(var g=a.type,k=f.length-1;!d.i&&0<=k;k--){d.g=f[k];var n=$c(f[k],g,!0,d),e=e&&n}for(k=0;!d.i&&k<f.length;k++)d.g=f[k],n=
$c(f[k],g,!1,d),e=e&&n}return e}return ad(a,new Ac(c,this))}function Tc(a){a=a[Oc];return a instanceof Jc?a:null}var bd="__closure_events_fn_"+(1E9*Math.random()>>>0);function Rc(a){if(ka(a))return a;a[bd]||(a[bd]=function(c){return a.handleEvent(c)});return a[bd]};function cd(){qc.call(this);this.fb=new Jc(this);this.tc=this;this.Ma=null}w(cd,qc);cd.prototype[Dc]=!0;l=cd.prototype;l.addEventListener=function(a,c,d,e){x(this,a,c,d,e)};l.removeEventListener=function(a,c,d,e){Yc(this,a,c,d,e)};
function C(a,c){var d,e=a.Ma;if(e)for(d=[];e;e=e.Ma)d.push(e);var e=a.tc,f=c,g=f.type||f;if(ia(f))f=new vc(f,e);else if(f instanceof vc)f.target=f.target||e;else{var h=f,f=new vc(g,e);Ib(f,h)}var h=!0,k;if(d)for(var n=d.length-1;!f.i&&0<=n;n--)k=f.g=d[n],h=dd(k,g,!0,f)&&h;f.i||(k=f.g=e,h=dd(k,g,!0,f)&&h,f.i||(h=dd(k,g,!1,f)&&h));if(d)for(n=0;!f.i&&n<d.length;n++)k=f.g=d[n],h=dd(k,g,!1,f)&&h;return h}
l.Y=function(){cd.aa.Y.call(this);if(this.fb){var a=this.fb,c=0,d;for(d in a.b){for(var e=a.b[d],f=0;f<e.length;f++)++c,Hc(e[f]);delete a.b[d];a.a--}}this.Ma=null};l.Qa=function(a,c,d,e){return this.fb.add(String(a),c,!1,d,e)};l.Ef=function(a,c,d,e){return this.fb.remove(String(a),c,d,e)};
function dd(a,c,d,e){c=a.fb.b[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.Kc&&h.Uc==d){var k=h.listener,n=h.Td||h.src;h.Ad&&Lc(a.fb,h);f=!1!==k.call(n,e)&&f}}return f&&0!=e.ih}function ed(a,c,d){return Nc(a.fb,m(c)?String(c):void 0,d)};function fd(){cd.call(this);this.b=0}w(fd,cd);function gd(a){Zc(a)}l=fd.prototype;l.s=function(){++this.b;C(this,"change")};l.L=function(){return this.b};l.G=function(a,c,d){return x(this,a,c,!1,d)};l.M=function(a,c,d){return Xc(this,a,c,!1,d)};l.K=function(a,c,d){Yc(this,a,c,!1,d)};l.N=gd;function hd(a,c,d){vc.call(this,a);this.key=c;this.oldValue=d}w(hd,vc);function id(a){fd.call(this);ma(this);this.C={};m(a)&&this.I(a)}w(id,fd);var jd={};function kd(a){return jd.hasOwnProperty(a)?jd[a]:jd[a]="change:"+a}l=id.prototype;l.get=function(a){var c;this.C.hasOwnProperty(a)&&(c=this.C[a]);return c};l.O=function(){return vb(this.C)};l.P=function(){var a={},c;for(c in this.C)a[c]=this.C[c];return a};function ld(a,c,d){var e;e=kd(c);C(a,new hd(e,c,d));C(a,new hd("propertychange",c,d))}
l.set=function(a,c){var d=this.C[a];this.C[a]=c;ld(this,a,d)};l.I=function(a){for(var c in a)this.set(c,a[c])};l.S=function(a){if(a in this.C){var c=this.C[a];delete this.C[a];ld(this,a,c)}};function md(a,c,d){m(d)||(d=[0,0]);d[0]=a[0]+2*c;d[1]=a[1]+2*c;return d}function nd(a,c,d){m(d)||(d=[0,0]);d[0]=a[0]*c+.5|0;d[1]=a[1]*c+.5|0;return d}function od(a,c){if(ga(a))return a;m(c)?(c[0]=a,c[1]=a):c=[a,a];return c};function pd(a,c){a[0]+=c[0];a[1]+=c[1];return a}function qd(a,c){var d=a[0],e=a[1],f=c[0],g=c[1],h=f[0],f=f[1],k=g[0],g=g[1],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 rd(a,c){var d=$b(a+180,360)-180,e=Math.abs(Math.round(3600*d));return Math.floor(e/3600)+"\u00b0 "+La(Math.floor(e/60%60))+"\u2032 "+La(Math.floor(e%60))+"\u2033 "+c.charAt(0>d?1:0)}
function sd(a,c,d){return m(a)?c.replace("{x}",a[0].toFixed(d)).replace("{y}",a[1].toFixed(d)):""}function td(a,c){for(var d=!0,e=a.length-1;0<=e;--e)if(a[e]!=c[e]){d=!1;break}return d}function ud(a,c){var d=Math.cos(c),e=Math.sin(c),f=a[1]*d+a[0]*e;a[0]=a[0]*d-a[1]*e;a[1]=f;return a}function vd(a,c){var d=a[0]-c[0],e=a[1]-c[1];return d*d+e*e}function wd(a,c){return vd(a,qd(a,c))}function xd(a,c){return sd(a,"{x}, {y}",c)};function yd(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}yd.prototype.b=4;yd.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};yd.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(yd.BYTES_PER_ELEMENT=4,yd.prototype.BYTES_PER_ELEMENT=yd.prototype.b,yd.prototype.set=yd.prototype.set,yd.prototype.toString=yd.prototype.toString,v("Float32Array",yd,void 0));function zd(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}zd.prototype.b=8;zd.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};zd.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{zd.BYTES_PER_ELEMENT=8}catch(Ad){}zd.prototype.BYTES_PER_ELEMENT=zd.prototype.b;zd.prototype.set=zd.prototype.set;zd.prototype.toString=zd.prototype.toString;v("Float64Array",zd,void 0)};function Bd(a,c,d,e,f){a[0]=c;a[1]=d;a[2]=e;a[3]=f};function Cd(){var a=Array(16);Dd(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return a}function Ed(){var a=Array(16);Dd(a,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return a}function Dd(a,c,d,e,f,g,h,k,n,p,q,r,t,u,B,z,E){a[0]=c;a[1]=d;a[2]=e;a[3]=f;a[4]=g;a[5]=h;a[6]=k;a[7]=n;a[8]=p;a[9]=q;a[10]=r;a[11]=t;a[12]=u;a[13]=B;a[14]=z;a[15]=E}
function Fd(a,c){a[0]=c[0];a[1]=c[1];a[2]=c[2];a[3]=c[3];a[4]=c[4];a[5]=c[5];a[6]=c[6];a[7]=c[7];a[8]=c[8];a[9]=c[9];a[10]=c[10];a[11]=c[11];a[12]=c[12];a[13]=c[13];a[14]=c[14];a[15]=c[15]}function Gd(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1}
function Hd(a,c,d){var e=a[0],f=a[1],g=a[2],h=a[3],k=a[4],n=a[5],p=a[6],q=a[7],r=a[8],t=a[9],u=a[10],B=a[11],z=a[12],E=a[13],A=a[14];a=a[15];var y=c[0],N=c[1],O=c[2],I=c[3],Q=c[4],wa=c[5],Sa=c[6],P=c[7],Ga=c[8],eb=c[9],Na=c[10],Fb=c[11],$a=c[12],Ic=c[13],nc=c[14];c=c[15];d[0]=e*y+k*N+r*O+z*I;d[1]=f*y+n*N+t*O+E*I;d[2]=g*y+p*N+u*O+A*I;d[3]=h*y+q*N+B*O+a*I;d[4]=e*Q+k*wa+r*Sa+z*P;d[5]=f*Q+n*wa+t*Sa+E*P;d[6]=g*Q+p*wa+u*Sa+A*P;d[7]=h*Q+q*wa+B*Sa+a*P;d[8]=e*Ga+k*eb+r*Na+z*Fb;d[9]=f*Ga+n*eb+t*Na+E*Fb;d[10]=
g*Ga+p*eb+u*Na+A*Fb;d[11]=h*Ga+q*eb+B*Na+a*Fb;d[12]=e*$a+k*Ic+r*nc+z*c;d[13]=f*$a+n*Ic+t*nc+E*c;d[14]=g*$a+p*Ic+u*nc+A*c;d[15]=h*$a+q*Ic+B*nc+a*c}
function Id(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],n=a[6],p=a[7],q=a[8],r=a[9],t=a[10],u=a[11],B=a[12],z=a[13],E=a[14],A=a[15],y=d*k-e*h,N=d*n-f*h,O=d*p-g*h,I=e*n-f*k,Q=e*p-g*k,wa=f*p-g*n,Sa=q*z-r*B,P=q*E-t*B,Ga=q*A-u*B,eb=r*E-t*z,Na=r*A-u*z,Fb=t*A-u*E,$a=y*Fb-N*Na+O*eb+I*Ga-Q*P+wa*Sa;0!=$a&&($a=1/$a,c[0]=(k*Fb-n*Na+p*eb)*$a,c[1]=(-e*Fb+f*Na-g*eb)*$a,c[2]=(z*wa-E*Q+A*I)*$a,c[3]=(-r*wa+t*Q-u*I)*$a,c[4]=(-h*Fb+n*Ga-p*P)*$a,c[5]=(d*Fb-f*Ga+g*P)*$a,c[6]=(-B*wa+E*O-A*N)*$a,c[7]=(q*wa-t*O+u*
N)*$a,c[8]=(h*Na-k*Ga+p*Sa)*$a,c[9]=(-d*Na+e*Ga-g*Sa)*$a,c[10]=(B*Q-z*O+A*y)*$a,c[11]=(-q*Q+r*O-u*y)*$a,c[12]=(-h*eb+k*P-n*Sa)*$a,c[13]=(d*eb-e*P+f*Sa)*$a,c[14]=(-B*I+z*N-E*y)*$a,c[15]=(q*I-r*N+t*y)*$a)}function Jd(a,c,d){var e=a[1]*c+a[5]*d+0*a[9]+a[13],f=a[2]*c+a[6]*d+0*a[10]+a[14],g=a[3]*c+a[7]*d+0*a[11]+a[15];a[12]=a[0]*c+a[4]*d+0*a[8]+a[12];a[13]=e;a[14]=f;a[15]=g}
function Kd(a,c,d){Dd(a,a[0]*c,a[1]*c,a[2]*c,a[3]*c,a[4]*d,a[5]*d,a[6]*d,a[7]*d,1*a[8],1*a[9],1*a[10],1*a[11],a[12],a[13],a[14],a[15])}function Ld(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],n=a[6],p=a[7],q=Math.cos(c),r=Math.sin(c);a[0]=d*q+h*r;a[1]=e*q+k*r;a[2]=f*q+n*r;a[3]=g*q+p*r;a[4]=d*-r+h*q;a[5]=e*-r+k*q;a[6]=f*-r+n*q;a[7]=g*-r+p*q}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function Md(a){for(var c=Nd(),d=0,e=a.length;d<e;++d)Od(c,a[d]);return c}function Pd(a,c,d){var e=Math.min.apply(null,a),f=Math.min.apply(null,c);a=Math.max.apply(null,a);c=Math.max.apply(null,c);return Qd(e,f,a,c,d)}function Rd(a,c,d){return m(d)?(d[0]=a[0]-c,d[1]=a[1]-c,d[2]=a[2]+c,d[3]=a[3]+c,d):[a[0]-c,a[1]-c,a[2]+c,a[3]+c]}function Sd(a,c){return m(c)?(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c):a.slice()}
function Td(a,c,d){c=c<a[0]?a[0]-c:a[2]<c?c-a[2]:0;a=d<a[1]?a[1]-d:a[3]<d?d-a[3]:0;return c*c+a*a}function Ud(a,c){return Vd(a,c[0],c[1])}function Wd(a,c){return a[0]<=c[0]&&c[2]<=a[2]&&a[1]<=c[1]&&c[3]<=a[3]}function Vd(a,c,d){return a[0]<=c&&c<=a[2]&&a[1]<=d&&d<=a[3]}function Xd(a,c){var d=a[1],e=a[2],f=a[3],g=c[0],h=c[1],k=0;g<a[0]?k=k|16:g>e&&(k=k|4);h<d?k|=8:h>f&&(k|=2);0===k&&(k=1);return k}function Nd(){return[Infinity,Infinity,-Infinity,-Infinity]}
function Qd(a,c,d,e,f){return m(f)?(f[0]=a,f[1]=c,f[2]=d,f[3]=e,f):[a,c,d,e]}function Yd(a,c){var d=a[0],e=a[1];return Qd(d,e,d,e,c)}function Zd(a,c){return a[0]==c[0]&&a[2]==c[2]&&a[1]==c[1]&&a[3]==c[3]}function $d(a,c){c[0]<a[0]&&(a[0]=c[0]);c[2]>a[2]&&(a[2]=c[2]);c[1]<a[1]&&(a[1]=c[1]);c[3]>a[3]&&(a[3]=c[3]);return a}function Od(a,c){c[0]<a[0]&&(a[0]=c[0]);c[0]>a[2]&&(a[2]=c[0]);c[1]<a[1]&&(a[1]=c[1]);c[1]>a[3]&&(a[3]=c[1])}
function ae(a,c,d,e,f){for(;d<e;d+=f){var g=a,h=c[d],k=c[d+1];g[0]=Math.min(g[0],h);g[1]=Math.min(g[1],k);g[2]=Math.max(g[2],h);g[3]=Math.max(g[3],k)}return a}function be(a,c,d){var e;return(e=c.call(d,ce(a)))||(e=c.call(d,de(a)))||(e=c.call(d,ee(a)))?e:(e=c.call(d,fe(a)))?e:!1}function ce(a){return[a[0],a[1]]}function de(a){return[a[2],a[1]]}function ge(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
function he(a,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]=a[0]+h*c-k*d,e[g]=a[1]+h*d+k*c;return Pd(f,e,void 0)}function ie(a){return a[3]-a[1]}function je(a,c,d){d=m(d)?d:Nd();ke(a,c)&&(d[0]=a[0]>c[0]?a[0]:c[0],d[1]=a[1]>c[1]?a[1]:c[1],d[2]=a[2]<c[2]?a[2]:c[2],d[3]=a[3]<c[3]?a[3]:c[3]);return d}function fe(a){return[a[0],a[3]]}function ee(a){return[a[2],a[3]]}function le(a){return a[2]-a[0]}
function ke(a,c){return a[0]<=c[2]&&a[2]>=c[0]&&a[1]<=c[3]&&a[3]>=c[1]}function me(a){return a[2]<a[0]||a[3]<a[1]}function ne(a,c){var d=(a[2]-a[0])/2*(c-1),e=(a[3]-a[1])/2*(c-1);a[0]-=d;a[2]+=d;a[1]-=e;a[3]+=e}function oe(a,c,d){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];c(a,a,2);return Pd([a[0],a[2],a[4],a[6]],[a[1],a[3],a[5],a[7]],d)};function pe(a){return function(){return a}}var qe=pe(!1),re=pe(!0),se=pe(null);function te(a){return a}function ue(a){var c;c=c||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,c))}}function ve(a){var c=arguments,d=c.length;return function(){for(var a,f=0;f<d;f++)a=c[f].apply(this,arguments);return a}}function we(a){var c=arguments,d=c.length;return function(){for(var a=0;a<d;a++)if(!c[a].apply(this,arguments))return!1;return!0}};/*

 Latitude/longitude spherical geodesy formulae taken from
 http://www.movable-type.co.uk/scripts/latlong.html
 Licensed under CC-BY-3.0.
*/
function xe(a){this.radius=a}xe.prototype.a=function(a){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++)var h=a[g][0],k=a[g][1],c=c+bc(h-e)*(2+Math.sin(bc(f))+Math.sin(bc(k))),e=h,f=k;return c*this.radius*this.radius/2};xe.prototype.b=function(a,c){var d=bc(a[1]),e=bc(c[1]),f=(e-d)/2,g=bc(c[0]-a[0])/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*this.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))};
xe.prototype.offset=function(a,c,d){var e=bc(a[1]);c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(bc(a[0])+Math.atan2(Math.sin(d)*Math.sin(c)*Math.cos(e),Math.cos(c)-Math.sin(e)*Math.sin(f)))/Math.PI,180*f/Math.PI]};var ye=new xe(6370997);var ze={};ze.degrees=2*Math.PI*ye.radius/360;ze.ft=.3048;ze.m=1;ze["us-ft"]=1200/3937;
function Ae(a){this.b=a.code;this.a=a.units;this.j=m(a.extent)?a.extent:null;this.i=m(a.worldExtent)?a.worldExtent:null;this.f=m(a.axisOrientation)?a.axisOrientation:"enu";this.g=(this.c=m(a.global)?a.global:!1)&&null!==this.j;this.C=m(a.getPointResolution)?a.getPointResolution:this.mj;this.l=null;var c=Be,d=a.code;if("function"==typeof proj4&&!m(c[d])){var e=proj4.defs(d);if(m(e)){m(e.axis)&&!m(a.axisOrientation)&&(this.f=e.axis);m(a.units)||(a=e.units,!m(a)&&m(e.to_meter)&&(a=e.to_meter.toString(),
ze[a]=e.to_meter),this.a=a);for(var f in c)a=proj4.defs(f),m(a)&&(c=Ce(f),a===e?De([c,this]):(a=proj4(f,d),Ee(c,this,a.forward,a.inverse)))}}}l=Ae.prototype;l.Ni=function(){return this.b};l.R=function(){return this.j};l.Bl=function(){return this.a};l.Ld=function(){return ze[this.a]};l.xj=function(){return this.i};function Fe(a){return a.f}l.jk=function(){return this.c};l.Tn=function(a){this.g=(this.c=a)&&null!==this.j};l.Cl=function(a){this.j=a;this.g=this.c&&null!==a};l.co=function(a){this.i=a};
l.Sn=function(a){this.C=a};l.mj=function(a,c){if("degrees"==this.a)return a;var d=Ge(this,Ce("EPSG:4326")),e=[c[0]-a/2,c[1],c[0]+a/2,c[1],c[0],c[1]-a/2,c[0],c[1]+a/2],e=d(e,e,2),d=(ye.b(e.slice(0,2),e.slice(2,4))+ye.b(e.slice(4,6),e.slice(6,8)))/2,e=this.Ld();m(e)&&(d/=e);return d};l.getPointResolution=function(a,c){return this.C(a,c)};var Be={},He={};function De(a){Ie(a);Ra(a,function(c){Ra(a,function(a){c!==a&&Je(c,a,Ke)})})}
function Le(){var a=Me,c=Ne,d=Oe;Ra(Pe,function(e){Ra(a,function(a){Je(e,a,c);Je(a,e,d)})})}function Qe(a){Be[a.b]=a;Je(a,a,Ke)}function Ie(a){var c=[];Ra(a,function(a){c.push(Qe(a))})}function Re(a){return null!=a?ia(a)?Ce(a):a:Ce("EPSG:3857")}function Je(a,c,d){a=a.b;c=c.b;a in He||(He[a]={});He[a][c]=d}function Ee(a,c,d,e){a=Ce(a);c=Ce(c);Je(a,c,Te(d));Je(c,a,Te(e))}
function Te(a){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=a([c[h],c[h+1]]),d[h]=g[0],d[h+1]=g[1],g=e-1;2<=g;--g)d[h+g]=c[h+g];return d}}function Ce(a){var c;a instanceof Ae?c=a:ia(a)?(c=Be[a],!m(c)&&"function"==typeof proj4&&m(proj4.defs(a))&&(c=new Ae({code:a}),Qe(c))):c=null;return c}function Ue(a,c){return a===c?!0:a.b===c.b?!0:a.a!=c.a?!1:Ge(a,c)===Ke}function Ve(a,c){var d=Ce(a),e=Ce(c);return Ge(d,e)}
function Ge(a,c){var d=a.b,e=c.b,f;d in He&&e in He[d]&&(f=He[d][e]);m(f)||(f=We);return f}function We(a,c){if(m(c)&&a!==c){for(var d=0,e=a.length;d<e;++d)c[d]=a[d];a=c}return a}function Ke(a,c){var d;if(m(c)){d=0;for(var e=a.length;d<e;++d)c[d]=a[d];d=c}else d=a.slice();return d}function Xe(a,c,d){return Ve(c,d)(a,void 0,a.length)}function Ye(a,c,d){c=Ve(c,d);return oe(a,c)};function Ze(){id.call(this);this.A=Nd();this.v=-1;this.g={};this.l=this.j=0}w(Ze,id);l=Ze.prototype;l.Ya=function(a,c){var d=m(c)?c:[NaN,NaN];this.Wa(a[0],a[1],d,Infinity);return d};l.Ne=function(a){return this.ac(a[0],a[1])};l.ac=qe;l.R=function(a){this.v!=this.b&&(this.A=this.Bd(this.A),this.v=this.b);var c=this.A;m(a)?(a[0]=c[0],a[1]=c[1],a[2]=c[2],a[3]=c[3]):a=c;return a};l.transform=function(a,c){this.Sb(Ve(a,c));return this};function $e(a,c,d,e,f,g){var h=f[0],k=f[1],n=f[4],p=f[5],q=f[12];f=f[13];for(var r=m(g)?g:[],t=0;c<d;c+=e){var u=a[c],B=a[c+1];r[t++]=h*u+n*B+q;r[t++]=k*u+p*B+f}m(g)&&r.length!=t&&(r.length=t);return r};function af(){Ze.call(this);this.a="XY";this.H=2;this.o=null}w(af,Ze);function bf(a){if("XY"==a)return 2;if("XYZ"==a||"XYM"==a)return 3;if("XYZM"==a)return 4}l=af.prototype;l.ac=qe;l.Bd=function(a){var c=this.o,d=this.o.length,e=this.H;a=Qd(Infinity,Infinity,-Infinity,-Infinity,a);return ae(a,c,0,d,e)};l.rb=function(){return this.o.slice(0,this.H)};l.sb=function(){return this.o.slice(this.o.length-this.H)};l.tb=function(){return this.a};
l.af=function(a){this.l!=this.b&&(Ab(this.g),this.j=0,this.l=this.b);if(0>a||0!==this.j&&a<=this.j)return this;var c=a.toString();if(this.g.hasOwnProperty(c))return this.g[c];var d=this.Bc(a);if(d.o.length<this.o.length)return this.g[c]=d;this.j=a;return this};l.Bc=function(){return this};function cf(a,c,d){a.H=bf(c);a.a=c;a.o=d}
function df(a,c,d,e){if(m(c))d=bf(c);else{for(c=0;c<e;++c){if(0===d.length){a.a="XY";a.H=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}a.a=c;a.H=d}l.Sb=function(a){null!==this.o&&(a(this.o,this.o,this.H),this.s())};l.translate=function(a,c){var d=this.o;if(null!==d){var e=d.length,f=this.H,g=m(d)?d:[],h=0,k,n;for(k=0;k<e;k+=f)for(g[h++]=d[k]+a,g[h++]=d[k+1]+c,n=k+2;n<k+f;++n)g[h++]=d[n];m(d)&&g.length!=h&&(g.length=h);this.s()}};function ef(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],n=a[c+1],f=f+(h*k-g*n),g=k,h=n;return f/2}function ff(a,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+ef(a,c,k,e);c=k}return f};function gf(a,c,d,e,f,g){var h=f-d,k=g-e;if(0!==h||0!==k){var n=((a-d)*h+(c-e)*k)/(h*h+k*k);1<n?(d=f,e=g):0<n&&(d+=h*n,e+=k*n)}return hf(a,c,d,e)}function hf(a,c,d,e){a=d-a;c=e-c;return a*a+c*c};function jf(a,c,d,e,f,g,h){var k=a[c],n=a[c+1],p=a[d]-k,q=a[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(a[c+f],a[d+f],g);h.length=e;return}for(f=0;f<e;++f)h[f]=a[c+f];h.length=e}function kf(a,c,d,e,f){var g=a[c],h=a[c+1];for(c+=e;c<d;c+=e){var k=a[c],n=a[c+1],g=hf(g,h,k,n);g>f&&(f=g);g=k;h=n}return f}function lf(a,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=kf(a,c,k,e,f);c=k}return f}
function mf(a,c,d,e,f,g,h,k,n,p,q){if(c==d)return p;var r;if(0===f){r=hf(h,k,a[c],a[c+1]);if(r<p){for(q=0;q<e;++q)n[q]=a[c+q];n.length=e;return r}return p}for(var t=m(q)?q:[NaN,NaN],u=c+e;u<d;)if(jf(a,u-e,u,e,h,k,t),r=hf(h,k,t[0],t[1]),r<p){p=r;for(q=0;q<e;++q)n[q]=t[q];n.length=e;u+=e}else u+=e*Math.max((Math.sqrt(r)-Math.sqrt(p))/f|0,1);if(g&&(jf(a,d-e,c,e,h,k,t),r=hf(h,k,t[0],t[1]),r<p)){p=r;for(q=0;q<e;++q)n[q]=t[q];n.length=e}return p}
function nf(a,c,d,e,f,g,h,k,n,p,q){q=m(q)?q:[NaN,NaN];var r,t;r=0;for(t=d.length;r<t;++r){var u=d[r];p=mf(a,c,u,e,f,g,h,k,n,p,q);c=u}return p};function of(a,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)a[d++]=c[e];return d}function pf(a,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],k;for(k=0;k<e;++k)a[c++]=h[k]}return c}function qf(a,c,d,e,f){f=m(f)?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=pf(a,c,d[h],e),f[g++]=c;f.length=g;return f};function rf(a,c,d,e,f){f=m(f)?f:[];for(var g=0;c<d;c+=e)f[g++]=a.slice(c,c+e);f.length=g;return f}function sf(a,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++]=rf(a,c,n,e,f[g]);c=n}f.length=g;return f};function tf(a,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=a[c],g[h++]=a[c+1];return h}var n=Array(k);n[0]=1;n[k-1]=1;d=[c,d-e];for(var p=0,q;0<d.length;){var r=d.pop(),t=d.pop(),u=0,B=a[t],z=a[t+1],E=a[r],A=a[r+1];for(q=t+e;q<r;q+=e){var y=gf(a[q],a[q+1],B,z,E,A);y>u&&(p=q,u=y)}u>f&&(n[(p-c)/e]=1,t+e<p&&d.push(t,p),p+e<r&&d.push(p,r))}for(q=0;q<k;++q)n[q]&&(g[h++]=a[c+q*e],g[h++]=a[c+q*e+1]);return h}
function uf(a,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=a,t=q,u=e,B=f,z=g;if(c!=t){var E=B*Math.round(r[c]/B),A=B*Math.round(r[c+1]/B);c+=u;z[h++]=E;z[h++]=A;var y=void 0,N=void 0;do if(y=B*Math.round(r[c]/B),N=B*Math.round(r[c+1]/B),c+=u,c==t){z[h++]=y;z[h++]=N;break a}while(y==E&&N==A);for(;c<t;){var O,I;O=B*Math.round(r[c]/B);I=B*Math.round(r[c+1]/B);c+=u;if(O!=y||I!=N){var Q=y-E,wa=N-A,Sa=O-E,P=I-A;Q*P==wa*Sa&&(0>Q&&Sa<Q||Q==Sa||0<Q&&Sa>Q)&&(0>wa&&P<wa||wa==P||0<wa&&
P>wa)||(z[h++]=y,z[h++]=N,E=y,A=N);y=O;N=I}}z[h++]=y;z[h++]=N}}k.push(h);c=q}return h};function vf(a,c){af.call(this);this.c=this.i=-1;this.ia(a,c)}w(vf,af);l=vf.prototype;l.clone=function(){var a=new vf(null);wf(a,this.a,this.o.slice());return a};l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.c!=this.b&&(this.i=Math.sqrt(kf(this.o,0,this.o.length,this.H,0)),this.c=this.b);return mf(this.o,0,this.o.length,this.H,this.i,!0,a,c,d,e)};l.gl=function(){return ef(this.o,0,this.o.length,this.H)};l.U=function(){return rf(this.o,0,this.o.length,this.H)};
l.Bc=function(a){var c=[];c.length=tf(this.o,0,this.o.length,this.H,a,c,0);a=new vf(null);wf(a,"XY",c);return a};l.W=function(){return"LinearRing"};l.ia=function(a,c){null===a?wf(this,"XY",null):(df(this,c,a,1),null===this.o&&(this.o=[]),this.o.length=pf(this.o,0,a,this.H),this.s())};function wf(a,c,d){cf(a,c,d);a.s()};function xf(a,c){af.call(this);this.ia(a,c)}w(xf,af);l=xf.prototype;l.clone=function(){var a=new xf(null);yf(a,this.a,this.o.slice());return a};l.Wa=function(a,c,d,e){var f=this.o;a=hf(a,c,f[0],f[1]);if(a<e){e=this.H;for(c=0;c<e;++c)d[c]=f[c];d.length=e;return a}return e};l.U=function(){return null===this.o?[]:this.o.slice()};l.Bd=function(a){return Yd(this.o,a)};l.W=function(){return"Point"};l.ua=function(a){return Vd(a,this.o[0],this.o[1])};
l.ia=function(a,c){null===a?yf(this,"XY",null):(df(this,c,a,0),null===this.o&&(this.o=[]),this.o.length=of(this.o,a),this.s())};function yf(a,c,d){cf(a,c,d);a.s()};function zf(a,c,d,e,f){return!be(f,function(f){return!Af(a,c,d,e,f[0],f[1])})}function Af(a,c,d,e,f,g){for(var h=!1,k=a[d-e],n=a[d-e+1];c<d;c+=e){var p=a[c],q=a[c+1];n>g!=q>g&&f<(p-k)*(g-n)/(q-n)+k&&(h=!h);k=p;n=q}return h}function Bf(a,c,d,e,f,g){if(0===d.length||!Af(a,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(Af(a,d[c-1],d[c],e,f,g))return!1;return!0};function Cf(a,c,d,e,f,g,h){var k,n,p,q,r,t=f[g+1],u=[],B=d[0];p=a[B-e];r=a[B-e+1];for(k=c;k<B;k+=e){q=a[k];n=a[k+1];if(t<=r&&n<=t||r<=t&&t<=n)p=(t-r)/(n-r)*(q-p)+p,u.push(p);p=q;r=n}B=NaN;r=-Infinity;u.sort();p=u[0];k=1;for(n=u.length;k<n;++k){q=u[k];var z=Math.abs(q-p);z>r&&(p=(p+q)/2,Bf(a,c,d,e,p,t)&&(B=p,r=z));p=q}isNaN(B)&&(B=f[g]);return m(h)?(h.push(B,t),h):[B,t]};function Df(a,c,d,e,f,g){for(var h=[a[c],a[c+1]],k=[],n;c+e<d;c+=e){k[0]=a[c+e];k[1]=a[c+e+1];if(n=f.call(g,h,k))return n;h[0]=k[0];h[1]=k[1]}return!1};function Ef(a,c,d,e,f){var g=ae(Nd(),a,c,d,e);return ke(f,g)?Wd(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:Df(a,c,d,e,function(a,c){var d=!1,e=Xd(f,a),g=Xd(f,c);if(1===e||1===g)d=!0;else{var r=f[0],t=f[1],u=f[2],B=f[3],z=c[0],E=c[1],A=(E-a[1])/(z-a[0]);g&2&&!(e&2)&&(d=z-(E-B)/A,d=d>=r&&d<=u);d||!(g&4)||e&4||(d=E-(z-u)*A,d=d>=t&&d<=B);d||!(g&8)||e&8||(d=z-(E-t)/A,d=d>=r&&d<=u);d||!(g&16)||e&16||(d=E-(z-r)*A,d=d>=t&&d<=B)}return d}):!1}
function Ff(a,c,d,e,f){var g=d[0];if(!(Ef(a,c,g,e,f)||Af(a,c,g,e,f[0],f[1])||Af(a,c,g,e,f[0],f[3])||Af(a,c,g,e,f[2],f[1])||Af(a,c,g,e,f[2],f[3])))return!1;if(1===d.length)return!0;c=1;for(g=d.length;c<g;++c)if(zf(a,d[c-1],d[c],e,f))return!1;return!0};function Gf(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],n=a[c+1],f=f+(k-g)*(n+h),g=k,h=n;return 0<f}function Hf(a,c,d,e){var f=0;e=m(e)?e:!1;var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],f=Gf(a,f,k,d);if(0===g){if(e&&f||!e&&!f)return!1}else if(e&&!f||!e&&f)return!1;f=k}return!0}
function If(a,c,d,e,f){f=m(f)?f:!1;var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],n=Gf(a,c,k,e);if(0===g?f&&n||!f&&!n:f&&!n||!f&&n)for(var n=a,p=k,q=e;c<p-q;){var r;for(r=0;r<q;++r){var t=n[c+r];n[c+r]=n[p-q+r];n[p-q+r]=t}c+=q;p-=q}c=k}return c}function Jf(a,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=If(a,f,c[g],d,e);return f};function D(a,c){af.call(this);this.c=[];this.u=-1;this.D=null;this.T=this.B=this.J=-1;this.i=null;this.ia(a,c)}w(D,af);l=D.prototype;l.ti=function(a){null===this.o?this.o=a.o.slice():cb(this.o,a.o);this.c.push(this.o.length);this.s()};l.clone=function(){var a=new D(null);Kf(a,this.a,this.o.slice(),this.c.slice());return a};
l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.B!=this.b&&(this.J=Math.sqrt(lf(this.o,0,this.c,this.H,0)),this.B=this.b);return nf(this.o,0,this.c,this.H,this.J,!0,a,c,d,e)};l.ac=function(a,c){return Bf(Lf(this),0,this.c,this.H,a,c)};l.jl=function(){return ff(Lf(this),0,this.c,this.H)};l.U=function(a){var c;m(a)?(c=Lf(this).slice(),If(c,0,this.c,this.H,a)):c=this.o;return sf(c,0,this.c,this.H)};
function Mf(a){if(a.u!=a.b){var c=ge(a.R());a.D=Cf(Lf(a),0,a.c,a.H,c,0);a.u=a.b}return a.D}l.Zi=function(){return new xf(Mf(this))};l.dj=function(){return this.c.length};l.ag=function(a){if(0>a||this.c.length<=a)return null;var c=new vf(null);wf(c,this.a,this.o.slice(0===a?0:this.c[a-1],this.c[a]));return c};l.Kd=function(){var a=this.a,c=this.o,d=this.c,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],n=new vf(null);wf(n,a,c.slice(f,k));e.push(n);f=k}return e};
function Lf(a){if(a.T!=a.b){var c=a.o;Hf(c,a.c,a.H)?a.i=c:(a.i=c.slice(),a.i.length=If(a.i,0,a.c,a.H));a.T=a.b}return a.i}l.Bc=function(a){var c=[],d=[];c.length=uf(this.o,0,this.c,this.H,Math.sqrt(a),c,0,d);a=new D(null);Kf(a,"XY",c,d);return a};l.W=function(){return"Polygon"};l.ua=function(a){return Ff(Lf(this),0,this.c,this.H,a)};
l.ia=function(a,c){if(null===a)Kf(this,"XY",null,this.c);else{df(this,c,a,2);null===this.o&&(this.o=[]);var d=qf(this.o,0,a,this.H,this.c);this.o.length=0===d.length?0:d[d.length-1];this.s()}};function Kf(a,c,d,e){cf(a,c,d);a.c=e;a.s()}function Nf(a,c,d,e){var f=m(e)?e:32;e=[];var g;for(g=0;g<f;++g)cb(e,a.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);a=new D(null);Kf(a,"XY",e,[e.length]);return a}
function Of(a){var c=a[0],d=a[1],e=a[2];a=a[3];c=[c,d,c,a,e,a,e,d,c,d];d=new D(null);Kf(d,"XY",c,[c.length]);return d}function Pf(a,c,d){var e=m(c)?c:32,f=a.H;c=a.a;for(var g=new D(null,c),e=f*(e+1),f=[],h=0;h<e;h++)f[h]=0;Kf(g,c,f,[f.length]);Qf(g,a.hd(),a.mf(),d);return g}function Qf(a,c,d,e){var f=a.o,g=a.a,h=a.H,k=a.c,n=f.length/h-1;e=m(e)?e:0;for(var p,q,r=0;r<=n;++r)q=r*h,p=e+2*$b(r,n)*Math.PI/n,f[q]=c[0]+d*Math.cos(p),f[q+1]=c[1]+d*Math.sin(p);Kf(a,g,f,k)};function Rf(a){id.call(this);a=m(a)?a:{};this.c=[0,0];var c={};c.center=m(a.center)?a.center:null;this.g=Re(a.projection);var d,e,f,g=m(a.minZoom)?a.minZoom:0;d=m(a.maxZoom)?a.maxZoom:28;var h=m(a.zoomFactor)?a.zoomFactor:2;if(m(a.resolutions))d=a.resolutions,e=d[0],f=d[d.length-1],d=fc(d);else{e=Re(a.projection);f=e.R();var k=(null===f?360*ze.degrees/ze[e.a]:Math.max(le(f),ie(f)))/256/Math.pow(2,0),n=k/Math.pow(2,28);e=a.maxResolution;m(e)?g=0:e=k/Math.pow(h,g);f=a.minResolution;m(f)||(f=m(a.maxZoom)?
m(a.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.a=e;this.i=f;this.f=g;g=m(a.extent)?cc(a.extent):dc;(m(a.enableRotation)?a.enableRotation:1)?(e=a.constrainRotation,e=m(e)&&!0!==e?!1===e?ic:ja(e)?jc(e):ic:kc()):e=hc;this.j=new lc(g,d,e);m(a.resolution)?c.resolution=a.resolution:m(a.zoom)&&(c.resolution=this.constrainResolution(this.a,a.zoom-this.f));c.rotation=m(a.rotation)?a.rotation:0;this.I(c)}w(Rf,id);l=Rf.prototype;
l.Cd=function(a){return this.j.center(a)};l.constrainResolution=function(a,c,d){return this.j.resolution(a,c||0,d||0)};l.constrainRotation=function(a,c){return this.j.rotation(a,c||0)};l.Fa=function(){return this.get("center")};l.Sc=function(a){var c=this.Fa(),d=this.sa(),e=this.va();return he(c,d,e,a)};l.Rk=function(){return this.g};l.sa=function(){return this.get("resolution")};function Sf(a){var c=a.a,d=Math.log(c/a.i)/Math.log(2);return function(a){return c/Math.pow(2,a*d)}}l.va=function(){return this.get("rotation")};
function Tf(a){var c=a.a,d=Math.log(c/a.i)/Math.log(2);return function(a){return Math.log(c/a)/Math.log(2)/d}}function Uf(a){var c=a.Fa(),d=a.g,e=a.sa();a=a.va();return{center:[Math.round(c[0]/e)*e,Math.round(c[1]/e)*e],projection:m(d)?d:null,resolution:e,rotation:a}}l.yj=function(){var a,c=this.sa();if(m(c)){var d,e=0;do{d=this.constrainResolution(this.a,e);if(d==c){a=e;break}++e}while(d>this.i)}return m(a)?this.f+a:a};
l.Qe=function(a,c,d){a instanceof af||(a=Of(a));var e=m(d)?d:{};d=m(e.padding)?e.padding:[0,0,0,0];var f=m(e.constrainResolution)?e.constrainResolution:!0,g=m(e.nearest)?e.nearest:!1,h;m(e.minResolution)?h=e.minResolution:m(e.maxZoom)?h=this.constrainResolution(this.a,e.maxZoom-this.f,0):h=0;var k=a.o,n=this.va(),e=Math.cos(-n),n=Math.sin(-n),p=Infinity,q=Infinity,r=-Infinity,t=-Infinity;a=a.H;for(var u=0,B=k.length;u<B;u+=a)var z=k[u]*e-k[u+1]*n,E=k[u]*n+k[u+1]*e,p=Math.min(p,z),q=Math.min(q,E),
r=Math.max(r,z),t=Math.max(t,E);k=[p,q,r,t];c=[c[0]-d[1]-d[3],c[1]-d[0]-d[2]];c=Math.max(le(k)/c[0],ie(k)/c[1]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.vb(c);n=-n;g=(p+r)/2+(d[1]-d[3])/2*c;d=(q+t)/2+(d[0]-d[2])/2*c;this.Sa([g*e-d*n,d*e+g*n])};
l.yi=function(a,c,d){var e=this.va(),f=Math.cos(-e),e=Math.sin(-e),g=a[0]*f-a[1]*e;a=a[1]*f+a[0]*e;var h=this.sa(),g=g+(c[0]/2-d[0])*h;a+=(d[1]-c[1]/2)*h;e=-e;this.Sa([g*f-a*e,a*f+g*e])};function Wf(a){return null!=a.Fa()&&m(a.sa())}l.rotate=function(a,c){if(m(c)){var d,e=this.Fa();m(e)&&(d=[e[0]-c[0],e[1]-c[1]],ud(d,a-this.va()),pd(d,c));this.Sa(d)}this.ce(a)};l.Sa=function(a){this.set("center",a)};function Xf(a,c){a.c[1]+=c}l.vb=function(a){this.set("resolution",a)};
l.ce=function(a){this.set("rotation",a)};l.eo=function(a){a=this.constrainResolution(this.a,a-this.f,0);this.vb(a)};function Yf(a){return 1-Math.pow(1-a,3)};function Zf(a){return 3*a*a-2*a*a*a}function $f(a){return a}function ag(a){return.5>a?Zf(2*a):1-Zf(2*(a-.5))};function bg(a){var c=a.source,d=m(a.start)?a.start:ta(),e=c[0],f=c[1],g=m(a.duration)?a.duration:1E3,h=m(a.easing)?a.easing:Zf;return function(a,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 cg(a){var c=m(a.rotation)?a.rotation:0,d=m(a.start)?a.start:ta(),e=m(a.duration)?a.duration:1E3,f=m(a.easing)?a.easing:Zf,g=m(a.anchor)?a.anchor:null;return function(a,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var 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];ud(p,n);pd(p,g)}k.viewHints[0]+=1;return!0}return!1}}
function dg(a){var c=a.resolution,d=m(a.start)?a.start:ta(),e=m(a.duration)?a.duration:1E3,f=m(a.easing)?a.easing:Zf;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=1-f((h.time-d)/e),n=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*n;h.viewHints[0]+=1;return!0}return!1}};function eg(a,c,d,e){return m(e)?(e[0]=a,e[1]=c,e[2]=d,e):[a,c,d]}function fg(a,c,d){return a+"/"+c+"/"+d}function gg(a){var c=a[0],d=Array(c),e=1<<c-1,f,g;for(f=0;f<c;++f)g=48,a[1]&e&&(g+=1),a[2]&e&&(g+=2),d[f]=String.fromCharCode(g),e>>=1;return d.join("")}function hg(a){return fg(a[0],a[1],a[2])}function ig(a,c,d){var e=a[0],f=jg(c,a);d=kg(d);if(Ud(d,f))return a;a=le(d);d=Math.ceil((d[0]-f[0])/a);f[0]+=a*d;return c.Pd(f,e)}
function lg(a,c){var d=a[0],e=a[1],f=a[2];if(c.minZoom>d||d>c.maxZoom)return!1;var g=c.R(),d=null===g?null===c.a?null:c.a[d]:mg(c,g,d);return null===d?!0:ng(d,e,f)};function og(a,c,d,e){this.b=a;this.f=c;this.a=d;this.c=e}og.prototype.contains=function(a){return ng(this,a[1],a[2])};function ng(a,c,d){return a.b<=c&&c<=a.f&&a.a<=d&&d<=a.c}function pg(a,c){return a.b==c.b&&a.a==c.a&&a.f==c.f&&a.c==c.c}function qg(a){return a.f-a.b+1}function rg(a,c){return a.b<=c.f&&a.f>=c.b&&a.a<=c.c&&a.c>=c.a};function sg(a){this.a=a.html;this.b=m(a.tileRanges)?a.tileRanges:null}sg.prototype.c=function(){return this.a};function tg(a,c,d){vc.call(this,a,d);this.element=c}w(tg,vc);function ug(a){id.call(this);this.a=m(a)?a:[];vg(this)}w(ug,id);l=ug.prototype;l.clear=function(){for(;0<this.Jb();)this.pop()};l.gf=function(a){var c,d;c=0;for(d=a.length;c<d;++c)this.push(a[c]);return this};l.forEach=function(a,c){Ra(this.a,a,c)};l.Ak=function(){return this.a};l.item=function(a){return this.a[a]};l.Jb=function(){return this.get("length")};l.Ud=function(a,c){db(this.a,a,0,c);vg(this);C(this,new tg("add",c,this))};
l.pop=function(){return this.Bf(this.Jb()-1)};l.push=function(a){var c=this.a.length;this.Ud(c,a);return c};l.remove=function(a){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===a)return this.Bf(d)};l.Bf=function(a){var c=this.a[a];Pa.splice.call(this.a,a,1);vg(this);C(this,new tg("remove",c,this));return c};l.Pn=function(a,c){var d=this.Jb();if(a<d)d=this.a[a],this.a[a]=c,C(this,new tg("remove",d,this)),C(this,new tg("add",c,this));else{for(;d<a;++d)this.Ud(d,void 0);this.Ud(a,c)}};
function vg(a){a.set("length",a.a.length)};var wg=/^#(?:[0-9a-f]{3}){1,2}$/i,xg=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,yg=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i;function zg(a){return ga(a)?a:Ag(a)}function Bg(a){if(!ia(a)){var c=a[0];c!=(c|0)&&(c=c+.5|0);var d=a[1];d!=(d|0)&&(d=d+.5|0);var e=a[2];e!=(e|0)&&(e=e+.5|0);a="rgba("+c+","+d+","+e+","+a[3]+")"}return a}
var Ag=function(){var a={},c=0;return function(d){var e;if(a.hasOwnProperty(d))e=a[d];else{if(1024<=c){e=0;for(var f in a)0===(e++&3)&&(delete a[f],--c)}var g,h;wg.exec(d)?(h=3==d.length-1?1:2,e=parseInt(d.substr(1+0*h,h),16),f=parseInt(d.substr(1+1*h,h),16),g=parseInt(d.substr(1+2*h,h),16),1==h&&(e=(e<<4)+e,f=(f<<4)+f,g=(g<<4)+g),e=[e,f,g,1]):(h=yg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=Cg(e,e)):(h=xg.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),
e=[e,f,g,1],e=Cg(e,e)):e=void 0;a[d]=e;++c}return e}}();function Cg(a,c){var d=m(c)?c:[];d[0]=Zb(a[0]+.5|0,0,255);d[1]=Zb(a[1]+.5|0,0,255);d[2]=Zb(a[2]+.5|0,0,255);d[3]=Zb(a[3],0,1);return d};function Dg(){this.i=Cd();this.a=void 0;this.b=Cd();this.f=void 0;this.c=Cd();this.j=void 0;this.g=Cd();this.C=void 0;this.l=Cd()}
function Eg(a,c,d,e,f){var g=!1;m(c)&&c!==a.a&&(g=a.b,Gd(g),g[12]=c,g[13]=c,g[14]=c,g[15]=1,a.a=c,g=!0);if(m(d)&&d!==a.f){g=a.c;Gd(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;a.f=d;g=!0}m(e)&&e!==a.j&&(g=Math.cos(e),h=Math.sin(e),Dd(a.g,.213+.787*g-.213*h,.213-.213*g+.143*h,.213-.213*g-.787*h,0,.715-.715*g-.715*h,.715+.285*g+.14*h,.715-.715*g+.715*h,0,.072-.072*g+.928*h,.072-.072*g-.283*h,.072+.928*g+.072*h,0,0,0,0,1),a.j=e,g=!0);m(f)&&f!==a.C&&(Dd(a.l,.213+.787*
f,.213-.213*f,.213-.213*f,0,.715-.715*f,.715+.285*f,.715-.715*f,0,.072-.072*f,.072-.072*f,.072+.928*f,0,0,0,0,1),a.C=f,g=!0);g&&(g=a.i,Gd(g),m(d)&&Hd(g,a.c,g),m(c)&&Hd(g,a.b,g),m(f)&&Hd(g,a.l,g),m(e)&&Hd(g,a.g,g));return a.i};var Fg=!Kb||9<=Xb;!Mb&&!Kb||Kb&&9<=Xb||Mb&&Vb("1.9.1");Kb&&Vb("9");function Gg(a,c){this.x=m(a)?a:0;this.y=m(c)?c:0}l=Gg.prototype;l.clone=function(){return new Gg(this.x,this.y)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.translate=function(a,c){a instanceof Gg?(this.x+=a.x,this.y+=a.y):(this.x+=a,ja(c)&&(this.y+=c));return this};
l.scale=function(a,c){var d=ja(c)?c:a;this.x*=a;this.y*=d;return this};function Hg(a,c){this.width=a;this.height=c}l=Hg.prototype;l.clone=function(){return new Hg(this.width,this.height)};l.wi=function(){return this.width*this.height};l.ya=function(){return!this.wi()};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(a,c){var d=ja(c)?c:a;this.width*=a;this.height*=d;return this};function Ig(a){return a?new Jg(Kg(a)):ya||(ya=new Jg)}function Lg(a){var c=document;return ia(a)?c.getElementById(a):a}function Mg(a,c){rb(c,function(c,e){"style"==e?a.style.cssText=c:"class"==e?a.className=c:"for"==e?a.htmlFor=c:Ng.hasOwnProperty(e)?a.setAttribute(Ng[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,c):a[e]=c})}
var Ng={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Og(a){a=a.document.documentElement;return new Hg(a.clientWidth,a.clientHeight)}
function Pg(a,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Fg&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',Ca(h.name),'"');if(h.type){g.push(' type="',Ca(h.type),'"');var k={};Ib(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(ia(h)?g.className=h:ga(h)?g.className=h.join(" "):Mg(g,h));2<e.length&&Qg(f,g,e,2);return g}
function Qg(a,c,d,e){function f(d){d&&c.appendChild(ia(d)?a.createTextNode(d):d)}for(;e<d.length;e++){var g=d[e];!ha(g)||la(g)&&0<g.nodeType?f(g):Ra(Rg(g)?bb(g):g,f)}}function Sg(a){return document.createElement(a)}function Tg(a,c){Qg(Kg(a),a,arguments,1)}function Ug(a){for(var c;c=a.firstChild;)a.removeChild(c)}function Vg(a,c,d){a.insertBefore(c,a.childNodes[d]||null)}function Wg(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function Xg(a,c){var d=c.parentNode;d&&d.replaceChild(a,c)}
function Yg(a){if(m(a.firstElementChild))a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Zg(a,c){if(a.contains&&1==c.nodeType)return a==c||a.contains(c);if("undefined"!=typeof a.compareDocumentPosition)return a==c||Boolean(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a}function Kg(a){return 9==a.nodeType?a:a.ownerDocument||a.document}
function Rg(a){if(a&&"number"==typeof a.length){if(la(a))return"function"==typeof a.item||"string"==typeof a.item;if(ka(a))return"function"==typeof a.item}return!1}function Jg(a){this.b=a||ba.document||document}function $g(){return!0}
function ah(a){var c=a.b;a=c.scrollingElement?c.scrollingElement:Nb?c.body||c.documentElement:c.documentElement;c=c.parentWindow||c.defaultView;return Kb&&Vb("10")&&c.pageYOffset!=a.scrollTop?new Gg(a.scrollLeft,a.scrollTop):new Gg(c.pageXOffset||a.scrollLeft,c.pageYOffset||a.scrollTop)}Jg.prototype.appendChild=function(a,c){a.appendChild(c)};Jg.prototype.contains=Zg;function bh(a){if(a.classList)return a.classList;a=a.className;return ia(a)&&a.match(/\S+/g)||[]}function ch(a,c){return a.classList?a.classList.contains(c):Ya(bh(a),c)}function dh(a,c){a.classList?a.classList.add(c):ch(a,c)||(a.className+=0<a.className.length?" "+c:c)}function eh(a,c){a.classList?a.classList.remove(c):ch(a,c)&&(a.className=Ta(bh(a),function(a){return a!=c}).join(" "))}function fh(a,c){ch(a,c)?eh(a,c):dh(a,c)};function gh(a,c,d,e){this.top=a;this.right=c;this.bottom=d;this.left=e}l=gh.prototype;l.clone=function(){return new gh(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof gh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
l.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};l.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};l.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
l.translate=function(a,c){a instanceof Gg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,ja(c)&&(this.top+=c,this.bottom+=c));return this};l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.right*=a;this.top*=d;this.bottom*=d;return this};function hh(a,c,d,e){this.left=a;this.top=c;this.width=d;this.height=e}l=hh.prototype;l.clone=function(){return new hh(this.left,this.top,this.width,this.height)};l.contains=function(a){return a instanceof hh?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
function ih(a,c){var d=c.x<a.left?a.left-c.x:Math.max(c.x-(a.left+a.width),0),e=c.y<a.top?a.top-c.y:Math.max(c.y-(a.top+a.height),0);return d*d+e*e}l.distance=function(a){return Math.sqrt(ih(this,a))};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.translate=function(a,c){a instanceof Gg?(this.left+=a.x,this.top+=a.y):(this.left+=a,ja(c)&&(this.top+=c));return this};
l.scale=function(a,c){var d=ja(c)?c:a;this.left*=a;this.width*=a;this.top*=d;this.height*=d;return this};function jh(a,c){var d=Kg(a);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(a,null))?d[c]||d.getPropertyValue(c)||"":""}function kh(a,c){return jh(a,c)||(a.currentStyle?a.currentStyle[c]:null)||a.style&&a.style[c]}function lh(a,c,d){var e;c instanceof Gg?(e=c.x,c=c.y):(e=c,c=d);a.style.left=mh(e);a.style.top=mh(c)}
function nh(a){var c;try{c=a.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Kb&&a.ownerDocument.body&&(a=a.ownerDocument,c.left-=a.documentElement.clientLeft+a.body.clientLeft,c.top-=a.documentElement.clientTop+a.body.clientTop);return c}function oh(a){if(1==a.nodeType)return a=nh(a),new Gg(a.left,a.top);a=a.changedTouches?a.changedTouches[0]:a;return new Gg(a.clientX,a.clientY)}function mh(a){"number"==typeof a&&(a=a+"px");return a}
function ph(a){var c=qh;if("none"!=kh(a,"display"))return c(a);var d=a.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";a=c(a);d.display=e;d.position=g;d.visibility=f;return a}function qh(a){var c=a.offsetWidth,d=a.offsetHeight,e=Nb&&!c&&!d;return m(c)&&!e||!a.getBoundingClientRect?new Hg(c,d):(a=nh(a),new Hg(a.right-a.left,a.bottom-a.top))}function rh(a,c){a.style.display=c?"":"none"}
function sh(a,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=a.style[d],g=a.runtimeStyle[d];a.runtimeStyle[d]=a.currentStyle[d];a.style[d]=c;c=a.style[e];a.style[d]=f;a.runtimeStyle[d]=g;return c}function th(a,c){var d=a.currentStyle?a.currentStyle[c]:null;return d?sh(a,d,"left","pixelLeft"):0}
function uh(a,c){if(Kb){var d=th(a,c+"Left"),e=th(a,c+"Right"),f=th(a,c+"Top"),g=th(a,c+"Bottom");return new gh(f,e,g,d)}d=jh(a,c+"Left");e=jh(a,c+"Right");f=jh(a,c+"Top");g=jh(a,c+"Bottom");return new gh(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d))}var vh={thin:2,medium:4,thick:6};function wh(a,c){if("none"==(a.currentStyle?a.currentStyle[c+"Style"]:null))return 0;var d=a.currentStyle?a.currentStyle[c+"Width"]:null;return d in vh?vh[d]:sh(a,d,"left","pixelLeft")}
function xh(a){if(Kb&&!(9<=Xb)){var c=wh(a,"borderLeft"),d=wh(a,"borderRight"),e=wh(a,"borderTop");a=wh(a,"borderBottom");return new gh(e,d,a,c)}c=jh(a,"borderLeftWidth");d=jh(a,"borderRightWidth");e=jh(a,"borderTopWidth");a=jh(a,"borderBottomWidth");return new gh(parseFloat(e),parseFloat(d),parseFloat(a),parseFloat(c))};function yh(a,c,d){vc.call(this,a);this.map=c;this.frameState=m(d)?d:null}w(yh,vc);function zh(a){id.call(this);this.element=m(a.element)?a.element:null;this.a=this.T=null;this.A=[];this.render=m(a.render)?a.render:ca;m(a.target)&&this.c(a.target)}w(zh,id);zh.prototype.Y=function(){Wg(this.element);zh.aa.Y.call(this)};zh.prototype.g=function(){return this.a};
zh.prototype.setMap=function(a){null===this.a||Wg(this.element);0!=this.A.length&&(Ra(this.A,Zc),this.A.length=0);this.a=a;null!==this.a&&((null===this.T?a.D:this.T).appendChild(this.element),this.render!==ca&&this.A.push(x(a,"postrender",this.render,!1,this)),a.render())};zh.prototype.c=function(a){this.T=Lg(a)};function Ah(){this.c=0;this.f={};this.a=this.b=null}l=Ah.prototype;l.clear=function(){this.c=0;this.f={};this.a=this.b=null};function Bh(a,c){return a.f.hasOwnProperty(c)}l.forEach=function(a,c){for(var d=this.b;null!==d;)a.call(c,d.sc,d.Xd,this),d=d.ab};l.get=function(a){a=this.f[a];if(a===this.a)return a.sc;a===this.b?(this.b=this.b.ab,this.b.Ob=null):(a.ab.Ob=a.Ob,a.Ob.ab=a.ab);a.ab=null;a.Ob=this.a;this.a=this.a.ab=a;return a.sc};l.Ub=function(){return this.c};
l.O=function(){var a=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.Ob)a[c++]=d.Xd;return a};l.Yb=function(){var a=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.Ob)a[c++]=d.sc;return a};l.pop=function(){var a=this.b;delete this.f[a.Xd];null!==a.ab&&(a.ab.Ob=null);this.b=a.ab;null===this.b&&(this.a=null);--this.c;return a.sc};l.set=function(a,c){var d={Xd:a,ab:null,Ob:this.a,sc:c};null===this.a?this.b=d:this.a.ab=d;this.a=d;this.f[a]=d;++this.c};function Ch(a){Ah.call(this);this.g=m(a)?a:2048}w(Ch,Ah);function Dh(a){return a.Ub()>a.g};function Eh(a,c){cd.call(this);this.b=a;this.state=c}w(Eh,cd);function Fh(a){C(a,"change")}Eh.prototype.jb=function(){return ma(this).toString()};Eh.prototype.j=function(){return this.b};function Gh(a){id.call(this);this.i=Ce(a.projection);this.j=m(a.attributions)?a.attributions:null;this.T=a.logo;this.v=m(a.state)?a.state:"ready";this.D=m(a.wrapX)?a.wrapX:!1}w(Gh,id);l=Gh.prototype;l.he=ca;l.ma=function(){return this.j};l.la=function(){return this.T};l.na=function(){return this.i};l.oa=function(){return this.v};function Hh(a){return a.D}l.ka=function(a){this.j=a;this.s()};function Ih(a,c){a.v=c;a.s()};function Jh(a){this.minZoom=m(a.minZoom)?a.minZoom:0;this.b=a.resolutions;this.maxZoom=this.b.length-1;this.c=m(a.origin)?a.origin:null;this.g=null;m(a.origins)&&(this.g=a.origins);var c=a.extent;m(c)&&null===this.c&&null===this.g&&(this.c=fe(c));this.j=null;m(a.tileSizes)&&(this.j=a.tileSizes);this.l=m(a.tileSize)?a.tileSize:null===this.j?256:null;this.A=m(c)?c:null;this.a=null;m(a.sizes)?this.a=Ua(a.sizes,function(a){return new og(Math.min(0,a[0]),Math.max(a[0]-1,-1),Math.min(0,a[1]),Math.max(a[1]-
1,-1))},this):null!=c&&Kh(this,c);this.f=[0,0]}var Lh=[0,0,0];function Mh(a,c,d,e,f){f=Nh(a,c,f);for(c=c[0]-1;c>=a.minZoom;){if(d.call(null,c,mg(a,f,c,e)))return!0;--c}return!1}l=Jh.prototype;l.R=function(){return this.A};l.bg=function(){return this.maxZoom};l.cg=function(){return this.minZoom};l.Hc=function(a){return null===this.c?this.g[a]:this.c};l.xa=function(a){return this.b[a]};l.Rg=function(){return this.b};function Oh(a,c,d,e){return c[0]<a.maxZoom?(e=Nh(a,c,e),mg(a,e,c[0]+1,d)):null}
function Ph(a,c,d,e){Qh(a,c[0],c[1],d,!1,Lh);var f=Lh[1],g=Lh[2];Qh(a,c[2],c[3],d,!0,Lh);a=Lh[1];c=Lh[2];m(e)?(e.b=f,e.f=a,e.a=g,e.c=c):e=new og(f,a,g,c);return e}function mg(a,c,d,e){return Ph(a,c,a.xa(d),e)}function jg(a,c){var d=a.Hc(c[0]),e=a.xa(c[0]),f=od(a.Ka(c[0]),a.f);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Nh(a,c,d){var e=a.Hc(c[0]),f=a.xa(c[0]);a=od(a.Ka(c[0]),a.f);var g=e[0]+c[1]*a[0]*f;c=e[1]+c[2]*a[1]*f;return Qd(g,c,g+a[0]*f,c+a[1]*f,d)}
l.fd=function(a,c,d){return Qh(this,a[0],a[1],c,!1,d)};function Qh(a,c,d,e,f,g){var h=Rh(a,e),k=e/a.xa(h),n=a.Hc(h);a=od(a.Ka(h),a.f);c=k*Math.floor((c-n[0])/e+(f?.5:0))/a[0];d=k*Math.floor((d-n[1])/e+(f?0:.5))/a[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));return eg(h,c,d,g)}l.Pd=function(a,c,d){return Qh(this,a[0],a[1],this.xa(c),!1,d)};l.Ka=function(a){return null===this.l?this.j[a]:this.l};function Rh(a,c){var d=ec(a.b,c,0);return Zb(d,a.minZoom,a.maxZoom)}
function Kh(a,c){for(var d=a.b.length,e=Array(d),f=a.minZoom;f<d;++f)e[f]=mg(a,c,f);a.a=e}function Sh(a){var c={};Ib(c,m(a)?a:{});m(c.extent)||(c.extent=Ce("EPSG:3857").R());c.resolutions=Th(c.extent,c.maxZoom,c.tileSize);delete c.maxZoom;return new Jh(c)}function Th(a,c,d){c=m(c)?c:42;var e=ie(a);a=le(a);d=od(m(d)?d:256);d=Math.max(a/d[0],e/d[1]);c+=1;e=Array(c);for(a=0;a<c;++a)e[a]=d/Math.pow(2,a);return e}
function kg(a){a=Ce(a);var c=a.R();null===c&&(a=180*ze.degrees/a.Ld(),c=Qd(-a,-a,a,a));return c};function Uh(a){Gh.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.ba=m(a.opaque)?a.opaque:!1;this.da=m(a.tilePixelRatio)?a.tilePixelRatio:1;this.tileGrid=m(a.tileGrid)?a.tileGrid:null;this.a=new Ch;this.c=[0,0]}w(Uh,Gh);function Vh(a,c,d,e){for(var f=!0,g,h,k=d.b;k<=d.f;++k)for(var n=d.a;n<=d.c;++n)g=a.hb(c,k,n),h=!1,Bh(a.a,g)&&(g=a.a.get(g),(h=2===g.state)&&(h=!1!==e(g))),h||(f=!1);return f}l=Uh.prototype;l.Id=function(){return 0};
l.hb=fg;l.Ca=function(){return this.tileGrid};function Wh(a,c){var d;if(null===a.tileGrid){var e=c.l;if(null===e){var e=kg(c),f=m(void 0)?void 0:"top-left",g=Th(e,void 0,void 0);"bottom-left"===f?d=ce(e):"bottom-right"===f?d=de(e):"top-left"===f?d=fe(e):"top-right"===f&&(d=ee(e));e=new Jh({extent:e,origin:d,resolutions:g,tileSize:void 0});c.l=e}d=e}else d=a.tileGrid;return d}l.Xb=function(a,c,d){c=Wh(this,d);return nd(od(c.Ka(a),this.c),this.da,this.c)};
function Xh(a,c,d){d=m(d)?d:a.i;var e=Wh(a,d);a.D&&d.c&&(c=ig(c,e,d));return lg(c,e)?c:null}l.Gf=ca;function Yh(a,c){vc.call(this,a);this.tile=c}w(Yh,vc);function Zh(a){a=m(a)?a:{};this.D=Sg("UL");this.v=Sg("LI");this.D.appendChild(this.v);rh(this.v,!1);this.f=m(a.collapsed)?a.collapsed:!0;this.i=m(a.collapsible)?a.collapsible:!0;this.i||(this.f=!1);var c=m(a.className)?a.className:"ol-attribution",d=m(a.tipLabel)?a.tipLabel:"Attributions",e=m(a.collapseLabel)?a.collapseLabel:"\u00bb";this.B=ia(e)?Pg("SPAN",{},e):e;e=m(a.label)?a.label:"i";this.J=ia(e)?Pg("SPAN",{},e):e;d=Pg("BUTTON",{type:"button",title:d},this.i&&!this.f?this.B:this.J);x(d,"click",
this.Uk,!1,this);x(d,["mouseout",yc],function(){this.blur()},!1);c=Pg("DIV",c+" ol-unselectable ol-control"+(this.f&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.D,d);zh.call(this,{element:c,render:m(a.render)?a.render:$h,target:a.target});this.u=!0;this.l={};this.j={};this.X={}}w(Zh,zh);
function $h(a){a=a.frameState;if(null===a)this.u&&(rh(this.element,!1),this.u=!1);else{var c,d,e,f,g,h,k,n,p,q,r,t=a.layerStatesArray,u=Eb(a.attributions),B={},z=a.viewState.projection;d=0;for(c=t.length;d<c;d++)if(h=t[d].layer.ea(),null!==h&&(q=ma(h).toString(),p=h.j,null!==p))for(e=0,f=p.length;e<f;e++)if(k=p[e],n=ma(k).toString(),!(n in u)){g=a.usedTiles[q];if(m(g)){var E=Wh(h,z);a:{r=k;var A=z;if(null===r.b)r=!0;else{var y=void 0,N=void 0,O=void 0,I=void 0;for(I in g)if(I in r.b)for(var O=g[I],
Q,y=0,N=r.b[I].length;y<N;++y){Q=r.b[I][y];if(rg(Q,O)){r=!0;break a}var wa=mg(E,A.R(),parseInt(I,10)),Sa=qg(wa);if(O.b<wa.b||O.f>wa.f)if(rg(Q,new og($b(O.b,Sa),$b(O.f,Sa),O.a,O.c))||qg(O)>Sa&&rg(Q,wa)){r=!0;break a}}r=!1}}}else r=!1;r?(n in B&&delete B[n],u[n]=k):B[n]=k}c=[u,B];d=c[0];c=c[1];for(var P in this.l)P in d?(this.j[P]||(rh(this.l[P],!0),this.j[P]=!0),delete d[P]):P in c?(this.j[P]&&(rh(this.l[P],!1),delete this.j[P]),delete c[P]):(Wg(this.l[P]),delete this.l[P],delete this.j[P]);for(P in d)e=
Sg("LI"),e.innerHTML=d[P].a,this.D.appendChild(e),this.l[P]=e,this.j[P]=!0;for(P in c)e=Sg("LI"),e.innerHTML=c[P].a,rh(e,!1),this.D.appendChild(e),this.l[P]=e;P=!zb(this.j)||!zb(a.logos);this.u!=P&&(rh(this.element,P),this.u=P);P&&zb(this.j)?dh(this.element,"ol-logo-only"):eh(this.element,"ol-logo-only");var Ga;a=a.logos;P=this.X;for(Ga in P)Ga in a||(Wg(P[Ga]),delete P[Ga]);for(var eb in a)eb in P||(Ga=new Image,Ga.src=eb,d=a[eb],""===d?d=Ga:(d=Pg("A",{href:d}),d.appendChild(Ga)),this.v.appendChild(d),
P[eb]=d);rh(this.v,!zb(a))}}l=Zh.prototype;l.Uk=function(a){a.preventDefault();ai(this)};function ai(a){fh(a.element,"ol-collapsed");a.f?Xg(a.B,a.J):Xg(a.J,a.B);a.f=!a.f}l.Tk=function(){return this.i};l.Wk=function(a){this.i!==a&&(this.i=a,fh(this.element,"ol-uncollapsible"),!a&&this.f&&ai(this))};l.Vk=function(a){this.i&&this.f!==a&&ai(this)};l.Sk=function(){return this.f};function bi(a){a=m(a)?a:{};var c=m(a.className)?a.className:"ol-rotate",d=m(a.label)?a.label:"\u21e7";this.f=null;ia(d)?this.f=Pg("SPAN","ol-compass",d):(this.f=d,dh(this.f,"ol-compass"));d=Pg("BUTTON",{"class":c+"-reset",type:"button",title:m(a.tipLabel)?a.tipLabel:"Reset rotation"},this.f);x(d,"click",bi.prototype.v,!1,this);c=Pg("DIV",c+" ol-unselectable ol-control",d);zh.call(this,{element:c,render:m(a.render)?a.render:ci,target:a.target});this.i=m(a.duration)?a.duration:250;this.j=m(a.autoHide)?
a.autoHide:!0;this.l=void 0;this.j&&dh(this.element,"ol-hidden")}w(bi,zh);bi.prototype.v=function(a){a.preventDefault();a=this.a;var c=a.$();if(null!==c){for(var d=c.va();d<-Math.PI;)d+=2*Math.PI;for(;d>Math.PI;)d-=2*Math.PI;m(d)&&(0<this.i&&a.Aa(cg({rotation:d,duration:this.i,easing:Yf})),c.ce(0))}};
function ci(a){a=a.frameState;if(null!==a){a=a.viewState.rotation;if(a!=this.l){var c="rotate("+180*a/Math.PI+"deg)";if(this.j){var d=this.element;0===a?dh(d,"ol-hidden"):eh(d,"ol-hidden")}this.f.style.msTransform=c;this.f.style.webkitTransform=c;this.f.style.transform=c}this.l=a}};function ei(a){a=m(a)?a:{};var c=m(a.className)?a.className:"ol-zoom",d=m(a.delta)?a.delta:1,e=m(a.zoomOutLabel)?a.zoomOutLabel:"\u2212",f=m(a.zoomOutTipLabel)?a.zoomOutTipLabel:"Zoom out",g=Pg("BUTTON",{"class":c+"-in",type:"button",title:m(a.zoomInTipLabel)?a.zoomInTipLabel:"Zoom in"},m(a.zoomInLabel)?a.zoomInLabel:"+");x(g,"click",sa(ei.prototype.j,d),!1,this);e=Pg("BUTTON",{"class":c+"-out",type:"button",title:f},e);x(e,"click",sa(ei.prototype.j,-d),!1,this);x(e,["mouseout",yc],function(){this.blur()},
!1);c=Pg("DIV",c+" ol-unselectable ol-control",g,e);zh.call(this,{element:c,target:a.target});this.f=m(a.duration)?a.duration:250}w(ei,zh);ei.prototype.j=function(a,c){c.preventDefault();var d=this.a,e=d.$();if(null!==e){var f=e.sa();m(f)&&(0<this.f&&d.Aa(dg({resolution:f,duration:this.f,easing:Yf})),d=e.constrainResolution(f,a),e.vb(d))}};function fi(a){a=m(a)?a:{};var c=new ug;(m(a.zoom)?a.zoom:1)&&c.push(new ei(a.zoomOptions));(m(a.rotate)?a.rotate:1)&&c.push(new bi(a.rotateOptions));(m(a.attribution)?a.attribution:1)&&c.push(new Zh(a.attributionOptions));return c};var gi=Nb?"webkitfullscreenchange":Mb?"mozfullscreenchange":Kb?"MSFullscreenChange":"fullscreenchange";function hi(){var a=Ig().b,c=a.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&a.mozFullScreenEnabled||c.msRequestFullscreen&&a.msFullscreenEnabled||c.requestFullscreen&&a.fullscreenEnabled)}
function ii(a){a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.requestFullscreen&&a.requestFullscreen()}function ji(){var a=Ig().b;return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)};function ki(a){a=m(a)?a:{};this.f=m(a.className)?a.className:"ol-full-screen";var c=m(a.label)?a.label:"\u2194";this.j=ia(c)?document.createTextNode(String(c)):c;c=m(a.labelActive)?a.labelActive:"\u00d7";this.i=ia(c)?document.createTextNode(String(c)):c;c=m(a.tipLabel)?a.tipLabel:"Toggle full-screen";c=Pg("BUTTON",{"class":this.f+"-"+ji(),type:"button",title:c},this.j);x(c,"click",this.u,!1,this);x(ba.document,gi,this.l,!1,this);var d=this.f+" ol-unselectable ol-control "+(hi()?"":"ol-unsupported"),
c=Pg("DIV",d,c);zh.call(this,{element:c,target:a.target});this.v=m(a.keys)?a.keys:!1}w(ki,zh);
ki.prototype.u=function(a){a.preventDefault();hi()&&(a=this.a,null!==a&&(ji()?(a=Ig().b,a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen?a.msExitFullscreen():a.exitFullscreen&&a.exitFullscreen()):(a=a.kf(),a=Lg(a),this.v?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen():ii(a):ii(a))))};
ki.prototype.l=function(){var a=this.f+"-true",c=this.f+"-false",d=Yg(this.element),e=this.a;ji()?(ch(d,c)&&(eh(d,c),dh(d,a)),Xg(this.i,this.j)):(ch(d,a)&&(eh(d,a),dh(d,c)),Xg(this.j,this.i));null===e||e.Nc()};function li(a){a=m(a)?a:{};var c=Pg("DIV",m(a.className)?a.className:"ol-mouse-position");zh.call(this,{element:c,render:m(a.render)?a.render:mi,target:a.target});x(this,kd("projection"),this.Xk,!1,this);m(a.coordinateFormat)&&this.lh(a.coordinateFormat);m(a.projection)&&this.yg(Ce(a.projection));this.v=m(a.undefinedHTML)?a.undefinedHTML:"";this.l=c.innerHTML;this.i=this.j=this.f=null}w(li,zh);
function mi(a){a=a.frameState;null===a?this.f=null:this.f!=a.viewState.projection&&(this.f=a.viewState.projection,this.j=null);ni(this,this.i)}l=li.prototype;l.Xk=function(){this.j=null};l.Yf=function(){return this.get("coordinateFormat")};l.xg=function(){return this.get("projection")};l.Rj=function(a){this.i=this.a.Gd(a.b);ni(this,this.i)};l.Sj=function(){ni(this,null);this.i=null};
l.setMap=function(a){li.aa.setMap.call(this,a);null!==a&&(a=a.a,this.A.push(x(a,"mousemove",this.Rj,!1,this),x(a,"mouseout",this.Sj,!1,this)))};l.lh=function(a){this.set("coordinateFormat",a)};l.yg=function(a){this.set("projection",a)};function ni(a,c){var d=a.v;if(null!==c&&null!==a.f){if(null===a.j){var e=a.xg();a.j=m(e)?Ge(a.f,e):We}e=a.a.wa(c);null!==e&&(a.j(e,e),d=a.Yf(),d=m(d)?d(e):e.toString())}m(a.l)&&d==a.l||(a.element.innerHTML=d,a.l=d)};function oi(a,c,d){qc.call(this);this.ga=null;this.c=!1;this.j=a;this.g=d;this.b=c||window;this.a=ra(this.f,this)}w(oi,qc);oi.prototype.start=function(){pi(this);this.c=!1;var a=qi(this),c=ri(this);a&&!c&&this.b.mozRequestAnimationFrame?(this.ga=x(this.b,"MozBeforePaint",this.a),this.b.mozRequestAnimationFrame(null),this.c=!0):this.ga=a&&c?a.call(this.b,this.a):this.b.setTimeout(ue(this.a),20)};
function pi(a){if(null!=a.ga){var c=qi(a),d=ri(a);c&&!d&&a.b.mozRequestAnimationFrame?Zc(a.ga):c&&d?d.call(a.b,a.ga):a.b.clearTimeout(a.ga)}a.ga=null}oi.prototype.f=function(){this.c&&this.ga&&Zc(this.ga);this.ga=null;this.j.call(this.g,ta())};oi.prototype.Y=function(){pi(this);oi.aa.Y.call(this)};function qi(a){a=a.b;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null}
function ri(a){a=a.b;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};function si(a){ba.setTimeout(function(){throw a;},0)}function ti(a,c){var d=a;c&&(d=ra(a,c));d=ui(d);!ka(ba.setImmediate)||ba.Window&&ba.Window.prototype&&ba.Window.prototype.setImmediate==ba.setImmediate?(vi||(vi=wi()),vi(d)):ba.setImmediate(d)}var vi;
function wi(){var a=ba.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!qb("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var c=a.contentWindow,a=c.document;a.open();a.write("");a.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,a=ra(function(a){if(("*"==e||a.origin==e)&&a.data==
d)this.port1.onmessage()},this);c.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof a&&!qb("Trident")&&!qb("MSIE")){var c=new a,d={},e=d;c.port1.onmessage=function(){if(m(d.next)){d=d.next;var a=d.Uf;d.Uf=null;a()}};return function(a){e.next={Uf:a};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var c=document.createElement("SCRIPT");
c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;a();a=null};document.documentElement.appendChild(c)}:function(a){ba.setTimeout(a,0)}}var ui=te;function xi(a,c){this.a={};this.b=[];this.c=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(a){a instanceof xi?(d=a.O(),e=a.Yb()):(d=vb(a),e=ub(a));for(var f=0;f<d.length;f++)this.set(d[f],e[f])}}l=xi.prototype;l.Ub=function(){return this.c};l.Yb=function(){yi(this);for(var a=[],c=0;c<this.b.length;c++)a.push(this.a[this.b[c]]);return a};l.O=function(){yi(this);return this.b.concat()};
l.ya=function(){return 0==this.c};l.clear=function(){this.a={};this.c=this.b.length=0};l.remove=function(a){return zi(this.a,a)?(delete this.a[a],this.c--,this.b.length>2*this.c&&yi(this),!0):!1};function yi(a){if(a.c!=a.b.length){for(var c=0,d=0;c<a.b.length;){var e=a.b[c];zi(a.a,e)&&(a.b[d++]=e);c++}a.b.length=d}if(a.c!=a.b.length){for(var f={},d=c=0;c<a.b.length;)e=a.b[c],zi(f,e)||(a.b[d++]=e,f[e]=1),c++;a.b.length=d}}l.get=function(a,c){return zi(this.a,a)?this.a[a]:c};
l.set=function(a,c){zi(this.a,a)||(this.c++,this.b.push(a));this.a[a]=c};l.forEach=function(a,c){for(var d=this.O(),e=0;e<d.length;e++){var f=d[e],g=this.get(f);a.call(c,g,f,this)}};l.clone=function(){return new xi(this)};function zi(a,c){return Object.prototype.hasOwnProperty.call(a,c)};function Ai(){this.b=ta()}new Ai;Ai.prototype.set=function(a){this.b=a};Ai.prototype.reset=function(){this.set(ta())};Ai.prototype.get=function(){return this.b};function Bi(a){cd.call(this);this.b=a||window;this.a=x(this.b,"resize",this.f,!1,this);this.c=Og(this.b||window)}w(Bi,cd);Bi.prototype.Y=function(){Bi.aa.Y.call(this);this.a&&(Zc(this.a),this.a=null);this.c=this.b=null};Bi.prototype.f=function(){var a=Og(this.b||window),c=this.c;a==c||a&&c&&a.width==c.width&&a.height==c.height||(this.c=a,C(this,"resize"))};function Ci(a,c,d,e,f){if(!(Kb||Lb||Nb&&Vb("525")))return!0;if(Ob&&f)return Di(a);if(f&&!e)return!1;ja(c)&&(c=Ei(c));if(!d&&(17==c||18==c||Ob&&91==c))return!1;if((Nb||Lb)&&e&&d)switch(a){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(Kb&&e&&c==a)return!1;switch(a){case 13:return!0;case 27:return!(Nb||Lb)}return Di(a)}
function Di(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Nb||Lb)&&0==a)return!0;switch(a){case 32:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Ei(a){if(Mb)a=Fi(a);else if(Ob&&Nb)a:switch(a){case 93:a=91;break a}return a}
function Fi(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Gi(a,c){cd.call(this);a&&Hi(this,a,c)}w(Gi,cd);l=Gi.prototype;l.gd=null;l.Vd=null;l.df=null;l.Wd=null;l.Pa=-1;l.Hb=-1;l.Je=!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=Kb||Lb||Nb&&Vb("525"),Li=Ob&&Mb;
Gi.prototype.b=function(a){if(Nb||Lb)if(17==this.Pa&&!a.C||18==this.Pa&&!a.a||Ob&&91==this.Pa&&!a.v)this.Hb=this.Pa=-1;-1==this.Pa&&(a.C&&17!=a.j?this.Pa=17:a.a&&18!=a.j?this.Pa=18:a.v&&91!=a.j&&(this.Pa=91));Ki&&!Ci(a.j,this.Pa,a.f,a.C,a.a)?this.handleEvent(a):(this.Hb=Ei(a.j),Li&&(this.Je=a.a))};Gi.prototype.a=function(a){this.Hb=this.Pa=-1;this.Je=a.a};
Gi.prototype.handleEvent=function(a){var c=a.b,d,e,f=c.altKey;Kb&&"keypress"==a.type?(d=this.Hb,e=13!=d&&27!=d?c.keyCode:0):(Nb||Lb)&&"keypress"==a.type?(d=this.Hb,e=0<=c.charCode&&63232>c.charCode&&Di(d)?c.charCode:0):Jb&&!Nb?(d=this.Hb,e=Di(d)?c.keyCode:0):(d=c.keyCode||this.Hb,e=c.charCode||0,Li&&(f=this.Je),Ob&&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&&a.f&&(g=9):h&&h in Ji&&(g=Ji[h]);this.Pa=g;a=new Mi(g,e,0,c);a.a=f;C(this,a)};
function Hi(a,c,d){a.Wd&&Ni(a);a.gd=c;a.Vd=x(a.gd,"keypress",a,d);a.df=x(a.gd,"keydown",a.b,d,a);a.Wd=x(a.gd,"keyup",a.a,d,a)}function Ni(a){a.Vd&&(Zc(a.Vd),Zc(a.df),Zc(a.Wd),a.Vd=null,a.df=null,a.Wd=null);a.gd=null;a.Pa=-1;a.Hb=-1}Gi.prototype.Y=function(){Gi.aa.Y.call(this);Ni(this)};function Mi(a,c,d,e){Ac.call(this,e);this.type="key";this.j=a;this.A=c}w(Mi,Ac);function Oi(a,c){cd.call(this);var d=this.b=a;(d=la(d)&&1==d.nodeType?this.b:this.b?this.b.body:null)&&kh(d,"direction");this.a=x(this.b,Mb?"DOMMouseScroll":"mousewheel",this,c)}w(Oi,cd);
Oi.prototype.handleEvent=function(a){var c=0,d=0,e=0;a=a.b;if("mousewheel"==a.type){d=1;if(Kb||Nb&&(Pb||Vb("532.0")))d=40;e=Pi(-a.wheelDelta,d);m(a.wheelDeltaX)?(c=Pi(-a.wheelDeltaX,d),d=Pi(-a.wheelDeltaY,d)):d=e}else e=a.detail,100<e?e=3:-100>e&&(e=-3),m(a.axis)&&a.axis===a.HORIZONTAL_AXIS?c=e:d=e;ja(this.c)&&Zb(c,-this.c,this.c);ja(this.f)&&(d=Zb(d,-this.f,this.f));c=new Qi(e,a,0,d);C(this,c)};function Pi(a,c){return Nb&&(Ob||Qb)&&0!=a%c?a:a/c}
Oi.prototype.Y=function(){Oi.aa.Y.call(this);Zc(this.a);this.a=null};function Qi(a,c,d,e){Ac.call(this,c);this.type="mousewheel";this.detail=a;this.u=e}w(Qi,Ac);function Ri(a,c,d){vc.call(this,a);this.b=c;a=m(d)?d:{};this.buttons=Si(a);this.pressure=Ti(a,this.buttons);this.bubbles=Cb(a,"bubbles",!1);this.cancelable=Cb(a,"cancelable",!1);this.view=Cb(a,"view",null);this.detail=Cb(a,"detail",null);this.screenX=Cb(a,"screenX",0);this.screenY=Cb(a,"screenY",0);this.clientX=Cb(a,"clientX",0);this.clientY=Cb(a,"clientY",0);this.button=Cb(a,"button",0);this.relatedTarget=Cb(a,"relatedTarget",null);this.pointerId=Cb(a,"pointerId",0);this.width=Cb(a,"width",0);this.height=
Cb(a,"height",0);this.pointerType=Cb(a,"pointerType","");this.isPrimary=Cb(a,"isPrimary",!1);c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}w(Ri,vc);function Si(a){if(a.buttons||Ui)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}function Ti(a,c){var d=0;a.pressure?d=a.pressure:d=c?.5:0;return d}var Ui=!1;try{Ui=1===(new MouseEvent("click",{buttons:1})).buttons}catch(Vi){};function Wi(a,c){var d=Sg("CANVAS");m(a)&&(d.width=a);m(c)&&(d.height=c);return d.getContext("2d")}
var Xi=function(){var a;return function(){if(!m(a))if(ba.getComputedStyle){var c=Sg("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate(1px,1px)",d=ba.getComputedStyle(c).getPropertyValue(e[f]));Wg(c);a=d&&"none"!==d}else a=!1;return a}}(),Yi=function(){var a;return function(){if(!m(a))if(ba.getComputedStyle){var c=Sg("P"),
d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate3d(1px,1px,1px)",d=ba.getComputedStyle(c).getPropertyValue(e[f]));Wg(c);a=d&&"none"!==d}else a=!1;return a}}();function Zi(a,c){var d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.b=c;d.msTransform=c;d.transform=c;Kb&&!Yb&&(a.style.transformOrigin="0 0")}
function $i(a,c){var d;if(Yi()){if(m(6)){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);d=e.join(",")}else d=c.join(",");Zi(a,"matrix3d("+d+")")}else if(Xi()){e=[c[0],c[1],c[4],c[5],c[12],c[13]];if(m(6)){var f=Array(6);for(d=0;6>d;++d)f[d]=e[d].toFixed(6);d=f.join(",")}else d=e.join(",");Zi(a,"matrix("+d+")")}else a.style.left=Math.round(c[12])+"px",a.style.top=Math.round(c[13])+"px"};var aj=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function bj(a,c){var d,e,f=aj.length;for(e=0;e<f;++e)try{if(d=a.getContext(aj[e],c),null!==d)return d}catch(g){}return null};var cj,dj=ba.devicePixelRatio||1,ej=!1,fj=function(){if(!("HTMLCanvasElement"in ba))return!1;try{var a=Wi();if(null===a)return!1;m(a.setLineDash)&&(ej=!0);return!0}catch(c){return!1}}(),gj="DeviceOrientationEvent"in ba,hj="geolocation"in ba.navigator,ij="ontouchstart"in ba,jj="PointerEvent"in ba,kj=!!ba.navigator.msPointerEnabled,lj=!1,mj,nj=[];
if("WebGLRenderingContext"in ba)try{var oj=bj(Sg("CANVAS"),{failIfMajorPerformanceCaveat:!0});null!==oj&&(lj=!0,mj=oj.getParameter(oj.MAX_TEXTURE_SIZE),nj=oj.getSupportedExtensions())}catch(pj){}cj=lj;va=nj;ua=mj;function qj(a,c){this.b=a;this.g=c};function rj(a){qj.call(this,a,{mousedown:this.lk,mousemove:this.mk,mouseup:this.qk,mouseover:this.pk,mouseout:this.nk});this.a=a.a;this.c=[]}w(rj,qj);function sj(a,c){for(var d=a.c,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var n=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=n)return!0}return!1}function tj(a){var c=uj(a,a.b),d=c.preventDefault;c.preventDefault=function(){a.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=rj.prototype;
l.lk=function(a){if(!sj(this,a)){(1).toString()in this.a&&this.cancel(a);var c=tj(a);this.a[(1).toString()]=a;vj(this.b,wj,c,a)}};l.mk=function(a){if(!sj(this,a)){var c=tj(a);vj(this.b,yj,c,a)}};l.qk=function(a){if(!sj(this,a)){var c=this.a[(1).toString()];c&&c.button===a.button&&(c=tj(a),vj(this.b,zj,c,a),Bb(this.a,(1).toString()))}};l.pk=function(a){if(!sj(this,a)){var c=tj(a);Aj(this.b,c,a)}};l.nk=function(a){if(!sj(this,a)){var c=tj(a);Bj(this.b,c,a)}};
l.cancel=function(a){var c=tj(a);this.b.cancel(c,a);Bb(this.a,(1).toString())};function Cj(a){qj.call(this,a,{MSPointerDown:this.vk,MSPointerMove:this.wk,MSPointerUp:this.zk,MSPointerOut:this.xk,MSPointerOver:this.yk,MSPointerCancel:this.uk,MSGotPointerCapture:this.sk,MSLostPointerCapture:this.tk});this.a=a.a;this.c=["","unavailable","touch","pen","mouse"]}w(Cj,qj);function Dj(a,c){var d=c;ja(c.b.pointerType)&&(d=uj(c,c.b),d.pointerType=a.c[c.b.pointerType]);return d}l=Cj.prototype;l.vk=function(a){this.a[a.b.pointerId]=a;var c=Dj(this,a);vj(this.b,wj,c,a)};
l.wk=function(a){var c=Dj(this,a);vj(this.b,yj,c,a)};l.zk=function(a){var c=Dj(this,a);vj(this.b,zj,c,a);Bb(this.a,a.b.pointerId)};l.xk=function(a){var c=Dj(this,a);Bj(this.b,c,a)};l.yk=function(a){var c=Dj(this,a);Aj(this.b,c,a)};l.uk=function(a){var c=Dj(this,a);this.b.cancel(c,a);Bb(this.a,a.b.pointerId)};l.tk=function(a){C(this.b,new Ri("lostpointercapture",a,a.b))};l.sk=function(a){C(this.b,new Ri("gotpointercapture",a,a.b))};function Ej(a){qj.call(this,a,{pointerdown:this.dn,pointermove:this.en,pointerup:this.hn,pointerout:this.fn,pointerover:this.gn,pointercancel:this.cn,gotpointercapture:this.zj,lostpointercapture:this.kk})}w(Ej,qj);l=Ej.prototype;l.dn=function(a){Fj(this.b,a)};l.en=function(a){Fj(this.b,a)};l.hn=function(a){Fj(this.b,a)};l.fn=function(a){Fj(this.b,a)};l.gn=function(a){Fj(this.b,a)};l.cn=function(a){Fj(this.b,a)};l.kk=function(a){Fj(this.b,a)};l.zj=function(a){Fj(this.b,a)};function Gj(a,c){qj.call(this,a,{touchstart:this.ko,touchmove:this.jo,touchend:this.io,touchcancel:this.ho});this.a=a.a;this.i=c;this.c=void 0;this.j=0;this.f=void 0}w(Gj,qj);l=Gj.prototype;l.hh=function(){this.j=0;this.f=void 0};
function Hj(a,c,d){c=uj(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=a.j;c.button=0;c.buttons=1;c.width=d.webkitRadiusX||d.radiusX||0;c.height=d.webkitRadiusY||d.radiusY||0;c.pressure=d.webkitForce||d.force||.5;c.isPrimary=a.c===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
function Ij(a,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.b.changedTouches),g=f.length,h,k;for(h=0;h<g;++h)k=Hj(a,c,f[h]),k.preventDefault=e,d.call(a,c,k)}
l.ko=function(a){var c=a.b.touches,d=vb(this.a),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.a[h];var 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.ic)}for(g=0;g<f.length;++g)this.Ke(a,f[g])}c=tb(this.a);if(0===c||1===c&&(1).toString()in this.a)this.c=a.b.changedTouches[0].identifier,m(this.f)&&ba.clearTimeout(this.f);Jj(this,a);this.j++;Ij(this,a,this.Zm)};
l.Zm=function(a,c){this.a[c.pointerId]={target:c.target,ic:c,Sg:c.target};var d=this.b;c.bubbles=!0;vj(d,Kj,c,a);d=this.b;c.bubbles=!1;vj(d,Lj,c,a);vj(this.b,wj,c,a)};l.jo=function(a){a.preventDefault();Ij(this,a,this.rk)};l.rk=function(a,c){var d=this.a[c.pointerId];if(d){var e=d.ic,f=d.Sg;vj(this.b,yj,c,a);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Bj(this.b,e,a),Aj(this.b,c,a)):(c.target=f,c.relatedTarget=null,this.Ke(a,c)));d.ic=c;d.Sg=c.target}};
l.io=function(a){Jj(this,a);Ij(this,a,this.lo)};l.lo=function(a,c){vj(this.b,zj,c,a);this.b.ic(c,a);var d=this.b;c.bubbles=!1;vj(d,Mj,c,a);Bb(this.a,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=ba.setTimeout(ra(this.hh,this),200))};l.ho=function(a){Ij(this,a,this.Ke)};l.Ke=function(a,c){this.b.cancel(c,a);this.b.ic(c,a);var d=this.b;c.bubbles=!1;vj(d,Mj,c,a);Bb(this.a,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=ba.setTimeout(ra(this.hh,this),200))};
function Jj(a,c){var d=a.i.c,e=c.b.changedTouches[0];if(a.c===e.identifier){var f=[e.clientX,e.clientY];d.push(f);ba.setTimeout(function(){Za(d,f)},2500)}};function Nj(a){cd.call(this);this.f=a;this.a={};this.c={};this.b=[];jj?Oj(this,new Ej(this)):kj?Oj(this,new Cj(this)):(a=new rj(this),Oj(this,a),ij&&Oj(this,new Gj(this,a)));a=this.b.length;for(var c,d=0;d<a;d++)c=this.b[d],Pj(this,vb(c.g))}w(Nj,cd);function Oj(a,c){var d=vb(c.g);d&&(Ra(d,function(a){var d=c.g[a];d&&(this.c[a]=ra(d,c))},a),a.b.push(c))}Nj.prototype.g=function(a){var c=this.c[a.type];c&&c(a)};function Pj(a,c){Ra(c,function(a){x(this.f,a,this.g,!1,this)},a)}
function Qj(a,c){Ra(c,function(a){Yc(this.f,a,this.g,!1,this)},a)}function uj(a,c){for(var d={},e,f=0,g=Rj.length;f<g;f++)e=Rj[f][0],d[e]=a[e]||c[e]||Rj[f][1];return d}Nj.prototype.ic=function(a,c){a.bubbles=!0;vj(this,Sj,a,c)};Nj.prototype.cancel=function(a,c){vj(this,Tj,a,c)};function Bj(a,c,d){a.ic(c,d);var e=c.relatedTarget;null!==e&&Zg(c.target,e)||(c.bubbles=!1,vj(a,Mj,c,d))}
function Aj(a,c,d){c.bubbles=!0;vj(a,Kj,c,d);var e=c.relatedTarget;null!==e&&Zg(c.target,e)||(c.bubbles=!1,vj(a,Lj,c,d))}function vj(a,c,d,e){C(a,new Ri(c,e,d))}function Fj(a,c){C(a,new Ri(c.type,c,c.b))}Nj.prototype.Y=function(){for(var a=this.b.length,c,d=0;d<a;d++)c=this.b[d],Qj(this,vb(c.g));Nj.aa.Y.call(this)};
var yj="pointermove",wj="pointerdown",zj="pointerup",Kj="pointerover",Sj="pointerout",Lj="pointerenter",Mj="pointerleave",Tj="pointercancel",Rj=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",
!1],["type",""],["target",null],["currentTarget",null],["which",0]];function Uj(a,c,d,e,f){yh.call(this,a,c,f);this.b=d;this.originalEvent=d.b;this.pixel=c.Gd(this.originalEvent);this.coordinate=c.wa(this.pixel);this.dragging=m(e)?e:!1}w(Uj,yh);Uj.prototype.preventDefault=function(){Uj.aa.preventDefault.call(this);this.b.preventDefault()};Uj.prototype.c=function(){Uj.aa.c.call(this);this.b.c()};function Vj(a,c,d,e,f){Uj.call(this,a,c,d.b,e,f);this.a=d}w(Vj,Uj);
function Wj(a){cd.call(this);this.c=a;this.j=0;this.i=!1;this.a=this.l=this.f=null;a=this.c.a;this.v=0;this.A={};this.g=new Nj(a);this.b=null;this.l=x(this.g,wj,this.Vj,!1,this);this.C=x(this.g,yj,this.Dn,!1,this)}w(Wj,cd);function Xj(a,c){var d;d=new Vj(Yj,a.c,c);C(a,d);0!==a.j?(ba.clearTimeout(a.j),a.j=0,d=new Vj(Zj,a.c,c),C(a,d)):a.j=ba.setTimeout(ra(function(){this.j=0;var a=new Vj(ak,this.c,c);C(this,a)},a),250)}
function bk(a,c){c.type==ck||c.type==dk?delete a.A[c.pointerId]:c.type==ek&&(a.A[c.pointerId]=!0);a.v=tb(a.A)}l=Wj.prototype;l.ig=function(a){bk(this,a);var c=new Vj(ck,this.c,a);C(this,c);!this.i&&0===a.button&&Xj(this,this.a);0===this.v&&(Ra(this.f,Zc),this.f=null,this.i=!1,this.a=null,uc(this.b),this.b=null)};
l.Vj=function(a){bk(this,a);var c=new Vj(ek,this.c,a);C(this,c);this.a=a;null===this.f&&(this.b=new Nj(document),this.f=[x(this.b,fk,this.Nk,!1,this),x(this.b,ck,this.ig,!1,this),x(this.g,dk,this.ig,!1,this)])};l.Nk=function(a){if(a.clientX!=this.a.clientX||a.clientY!=this.a.clientY){this.i=!0;var c=new Vj(gk,this.c,a,this.i);C(this,c)}a.preventDefault()};l.Dn=function(a){C(this,new Vj(a.type,this.c,a,null!==this.a&&(a.clientX!=this.a.clientX||a.clientY!=this.a.clientY)))};
l.Y=function(){null!==this.C&&(Zc(this.C),this.C=null);null!==this.l&&(Zc(this.l),this.l=null);null!==this.f&&(Ra(this.f,Zc),this.f=null);null!==this.b&&(uc(this.b),this.b=null);null!==this.g&&(uc(this.g),this.g=null);Wj.aa.Y.call(this)};var ak="singleclick",Yj="click",Zj="dblclick",gk="pointerdrag",fk="pointermove",ek="pointerdown",ck="pointerup",dk="pointercancel",hk={Co:ak,ro:Yj,so:Zj,vo:gk,yo:fk,uo:ek,Bo:ck,Ao:"pointerover",zo:"pointerout",wo:"pointerenter",xo:"pointerleave",to:dk};function F(a){id.call(this);var c=Eb(a);c.brightness=m(a.brightness)?a.brightness:0;c.contrast=m(a.contrast)?a.contrast:1;c.hue=m(a.hue)?a.hue:0;c.opacity=m(a.opacity)?a.opacity:1;c.saturation=m(a.saturation)?a.saturation:1;c.visible=m(a.visible)?a.visible:!0;c.zIndex=m(a.zIndex)?a.zIndex:0;c.maxResolution=m(a.maxResolution)?a.maxResolution:Infinity;c.minResolution=m(a.minResolution)?a.minResolution:0;this.I(c)}w(F,id);l=F.prototype;l.Bb=function(){return this.get("brightness")};l.Cb=function(){return this.get("contrast")};
l.Db=function(){return this.get("hue")};function ik(a){var c=a.Bb(),d=a.Cb(),e=a.Db(),f=a.Kb(),g=a.Gb(),h=a.bf(),k=a.ib(),n=a.R(),p=a.Lb(),q=a.Eb(),r=a.Fb();return{layer:a,brightness:Zb(c,-1,1),contrast:Math.max(d,0),hue:e,opacity:Zb(f,0,1),saturation:Math.max(g,0),v:h,visible:k,Ib:!0,extent:n,zIndex:p,maxResolution:q,minResolution:Math.max(r,0)}}l.R=function(){return this.get("extent")};l.Eb=function(){return this.get("maxResolution")};l.Fb=function(){return this.get("minResolution")};l.Kb=function(){return this.get("opacity")};
l.Gb=function(){return this.get("saturation")};l.ib=function(){return this.get("visible")};l.Lb=function(){return this.get("zIndex")};l.kc=function(a){this.set("brightness",a)};l.lc=function(a){this.set("contrast",a)};l.mc=function(a){this.set("hue",a)};l.bc=function(a){this.set("extent",a)};l.nc=function(a){this.set("maxResolution",a)};l.oc=function(a){this.set("minResolution",a)};l.cc=function(a){this.set("opacity",a)};l.pc=function(a){this.set("saturation",a)};
l.dc=function(a){this.set("visible",a)};l.ec=function(a){this.set("zIndex",a)};function jk(){};function kk(a,c,d,e,f,g){vc.call(this,a,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}w(kk,vc);function G(a){var c=Eb(a);delete c.source;F.call(this,c);this.j=this.l=this.i=null;m(a.map)&&this.setMap(a.map);x(this,kd("source"),this.ak,!1,this);this.Mc(m(a.source)?a.source:null)}w(G,F);function lk(a,c){return a.visible&&c>=a.minResolution&&c<a.maxResolution}l=G.prototype;l.$e=function(a){a=m(a)?a:[];a.push(ik(this));return a};l.ea=function(){var a=this.get("source");return m(a)?a:null};l.bf=function(){var a=this.ea();return null===a?"undefined":a.v};l.Al=function(){this.s()};
l.ak=function(){null!==this.j&&(Zc(this.j),this.j=null);var a=this.ea();null!==a&&(this.j=x(a,"change",this.Al,!1,this));this.s()};l.setMap=function(a){Zc(this.i);this.i=null;null===a&&this.s();Zc(this.l);this.l=null;null!==a&&(this.i=x(a,"precompose",function(a){var d=ik(this);d.Ib=!1;d.zIndex=Infinity;a.frameState.layerStatesArray.push(d);a.frameState.layerStates[ma(this)]=d},!1,this),this.l=x(this,"change",a.render,!1,a),this.s())};l.Mc=function(a){this.set("source",a)};function mk(a,c,d,e,f){cd.call(this);this.j=f;this.extent=a;this.g=d;this.resolution=c;this.state=e}w(mk,cd);function nk(a){C(a,"change")}mk.prototype.R=function(){return this.extent};function ok(a,c,d,e,f,g,h,k){Gd(a);0===c&&0===d||Jd(a,c,d);1==e&&1==f||Kd(a,e,f);0!==g&&Ld(a,g);0===h&&0===k||Jd(a,h,k);return a}function pk(a,c){return a[0]==c[0]&&a[1]==c[1]&&a[4]==c[4]&&a[5]==c[5]&&a[12]==c[12]&&a[13]==c[13]}function qk(a,c,d){var e=a[1],f=a[5],g=a[13],h=c[0];c=c[1];d[0]=a[0]*h+a[4]*c+a[12];d[1]=e*h+f*c+g;return d};function rk(a){fd.call(this);this.a=a}w(rk,fd);l=rk.prototype;l.Ta=ca;l.fc=function(a,c,d,e){a=a.slice();qk(c.pixelToCoordinateMatrix,a,a);if(this.Ta(a,c,re,this))return d.call(e,this.a)};l.fe=qe;l.Dd=function(a,c){return function(d,e){return Vh(a,d,e,function(a){c[d]||(c[d]={});c[d][a.b.toString()]=a})}};l.Dl=function(a){2===a.target.state&&sk(this)};function tk(a,c){var d=c.state;2!=d&&3!=d&&x(c,"change",a.Dl,!1,a);0==d&&(c.load(),d=c.state);return 2==d}
function sk(a){var c=a.a;c.ib()&&"ready"==c.bf()&&a.s()}function uk(a,c){Dh(c.a)&&a.postRenderFunctions.push(sa(function(a,c,f){c=ma(a).toString();a=a.a;f=f.usedTiles[c];for(var g;Dh(a)&&!(c=a.b.sc,g=c.b[0].toString(),g in f&&f[g].contains(c.b));)a.pop().ad()},c))}function vk(a,c){if(null!=c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],a[ma(d).toString()]=d}}function wk(a,c){var d=c.T;m(d)&&(ia(d)?a.logos[d]="":la(d)&&(a.logos[d.src]=d.href))}
function xk(a,c,d,e){c=ma(c).toString();d=d.toString();c in a?d in a[c]?(a=a[c][d],e.b<a.b&&(a.b=e.b),e.f>a.f&&(a.f=e.f),e.a<a.a&&(a.a=e.a),e.c>a.c&&(a.c=e.c)):a[c][d]=e:(a[c]={},a[c][d]=e)}function yk(a,c,d){return[c*(Math.round(a[0]/c)+d[0]%2/2),c*(Math.round(a[1]/c)+d[1]%2/2)]}
function zk(a,c,d,e,f,g,h,k,n,p){var q=ma(c).toString();q in a.wantedTiles||(a.wantedTiles[q]={});var r=a.wantedTiles[q];a=a.tileQueue;var t=d.minZoom,u,B,z,E,A,y;for(y=h;y>=t;--y)for(B=mg(d,g,y,B),z=d.xa(y),E=B.b;E<=B.f;++E)for(A=B.a;A<=B.c;++A)h-y<=k?(u=c.Wb(y,E,A,e,f),0==u.state&&(r[hg(u.b)]=!0,u.jb()in a.c||Ak(a,[u,q,jg(d,u.b),z])),m(n)&&n.call(p,u)):c.Gf(y,E,A)};function Bk(a){this.v=a.opacity;this.D=a.rotateWithView;this.C=a.rotation;this.A=a.scale;this.B=a.snapToPixel}l=Bk.prototype;l.je=function(){return this.v};l.Nd=function(){return this.D};l.ke=function(){return this.C};l.le=function(){return this.A};l.Od=function(){return this.B};l.me=function(a){this.v=a};l.ne=function(a){this.C=a};l.oe=function(a){this.A=a};function Ck(a){a=m(a)?a:{};this.g=m(a.anchor)?a.anchor:[.5,.5];this.f=null;this.a=m(a.anchorOrigin)?a.anchorOrigin:"top-left";this.i=m(a.anchorXUnits)?a.anchorXUnits:"fraction";this.l=m(a.anchorYUnits)?a.anchorYUnits:"fraction";var c=m(a.crossOrigin)?a.crossOrigin:null,d=m(a.img)?a.img:null,e=m(a.imgSize)?a.imgSize:null,f=a.src;m(f)&&0!==f.length||null===d||(f=d.src);var g=m(a.src)?0:2,h=Dk.Oa(),k=h.get(f,c);null===k&&(k=new Ek(d,f,e,c,g),h.set(f,c,k));this.b=k;this.ca=m(a.offset)?a.offset:[0,0];
this.c=m(a.offsetOrigin)?a.offsetOrigin:"top-left";this.j=null;this.u=m(a.size)?a.size:null;Bk.call(this,{opacity:m(a.opacity)?a.opacity:1,rotation:m(a.rotation)?a.rotation:0,scale:m(a.scale)?a.scale:1,snapToPixel:m(a.snapToPixel)?a.snapToPixel:!0,rotateWithView:m(a.rotateWithView)?a.rotateWithView:!1})}w(Ck,Bk);l=Ck.prototype;
l.Ab=function(){if(null!==this.f)return this.f;var a=this.g,c=this.kb();if("fraction"==this.i||"fraction"==this.l){if(null===c)return null;a=this.g.slice();"fraction"==this.i&&(a[0]*=c[0]);"fraction"==this.l&&(a[1]*=c[1])}if("top-left"!=this.a){if(null===c)return null;a===this.g&&(a=this.g.slice());if("top-right"==this.a||"bottom-right"==this.a)a[0]=-a[0]+c[0];if("bottom-left"==this.a||"bottom-right"==this.a)a[1]=-a[1]+c[1]}return this.f=a};l.Mb=function(){return this.b.b};l.Jd=function(){return this.b.a};
l.md=function(){return this.b.c};l.ie=function(){var a=this.b;if(null===a.g)if(a.l){var c=a.a[0],d=a.a[1],e=Wi(c,d);e.fillRect(0,0,c,d);a.g=e.canvas}else a.g=a.b;return a.g};l.Nb=function(){if(null!==this.j)return this.j;var a=this.ca;if("top-left"!=this.c){var c=this.kb(),d=this.b.a;if(null===c||null===d)return null;a=a.slice();if("top-right"==this.c||"bottom-right"==this.c)a[0]=d[0]-c[0]-a[0];if("bottom-left"==this.c||"bottom-right"==this.c)a[1]=d[1]-c[1]-a[1]}return this.j=a};l.rm=function(){return this.b.j};
l.kb=function(){return null===this.u?this.b.a:this.u};l.ff=function(a,c){return x(this.b,"change",a,!1,c)};l.load=function(){this.b.load()};l.Ff=function(a,c){Yc(this.b,"change",a,!1,c)};function Ek(a,c,d,e,f){cd.call(this);this.g=null;this.b=null===a?new Image:a;null!==e&&(this.b.crossOrigin=e);this.f=null;this.c=f;this.a=d;this.j=c;this.l=!1}w(Ek,cd);Ek.prototype.i=function(){this.c=3;Ra(this.f,Zc);this.f=null;C(this,"change")};
Ek.prototype.C=function(){this.c=2;this.a=[this.b.width,this.b.height];Ra(this.f,Zc);this.f=null;var a=Wi(1,1);a.drawImage(this.b,0,0);try{a.getImageData(0,0,1,1)}catch(c){this.l=!0}C(this,"change")};Ek.prototype.load=function(){if(0==this.c){this.c=1;this.f=[Xc(this.b,"error",this.i,!1,this),Xc(this.b,"load",this.C,!1,this)];try{this.b.src=this.j}catch(a){this.i()}}};function Dk(){this.b={};this.a=0}da(Dk);Dk.prototype.clear=function(){this.b={};this.a=0};
Dk.prototype.get=function(a,c){var d=c+":"+a;return d in this.b?this.b[d]:null};Dk.prototype.set=function(a,c,d){this.b[c+":"+a]=d;++this.a};function Fk(a,c){qc.call(this);this.j=c;this.f={};this.A={}}w(Fk,qc);function Gk(a){var c=a.viewState,d=a.coordinateToPixelMatrix;ok(d,a.size[0]/2,a.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Id(d,a.pixelToCoordinateMatrix)}l=Fk.prototype;l.Y=function(){rb(this.f,uc);Fk.aa.Y.call(this)};
function Hk(){var a=Dk.Oa();if(32<a.a){var c=0,d,e;for(d in a.b){e=a.b[d];var f;if(f=0===(c++&3))Ec(e)?e=ed(e,void 0,void 0):(e=Tc(e),e=!!e&&Nc(e,void 0,void 0)),f=!e;f&&(delete a.b[d],--a.a)}}}
l.of=function(a,c,d,e,f,g){var h,k=c.viewState,n=k.resolution,p=k.projection,k=a;if(p.g){h=p.R();var p=le(h),q=a[0];if(q<h[0]||q>h[2])k=Math.ceil((h[0]-q)/p),k=[q+p*k,a[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){h=p[q];var r=h.layer;if(!h.Ib||lk(h,n)&&f.call(g,r))if(h=Ik(this,r).Ta(Hh(r.ea())?k:a,c,d,e))return h}};
l.Gg=function(a,c,d,e,f,g){var h,k=c.viewState.resolution,n=c.layerStatesArray,p;for(p=n.length-1;0<=p;--p){h=n[p];var q=h.layer;if(lk(h,k)&&f.call(g,q)&&(h=Ik(this,q).fc(a,c,d,e)))return h}};l.Hg=function(a,c,d,e){a=this.of(a,c,re,this,d,e);return m(a)};function Ik(a,c){var d=ma(c).toString();if(d in a.f)return a.f[d];var e=a.Oe(c);a.f[d]=e;a.A[d]=x(e,"change",a.Lj,!1,a);return e}l.Lj=function(){this.j.render()};l.ve=ca;
l.Jn=function(a,c){for(var d in this.f)if(!(null!==c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];Zc(this.A[e]);delete this.A[e];uc(f)}};function Jk(a,c){for(var d in a.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(ra(a.Jn,a));break}}function jb(a,c){return a.zIndex-c.zIndex};function Kk(a,c){this.i=a;this.g=c;this.b=[];this.a=[];this.c={}}Kk.prototype.clear=function(){this.b.length=0;this.a.length=0;Ab(this.c)};function Lk(a){var c=a.b,d=a.a,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),Mk(a,0));c=a.g(e);delete a.c[c];return e}function Ak(a,c){var d=a.i(c);Infinity!=d&&(a.b.push(c),a.a.push(d),a.c[a.g(c)]=!0,Nk(a,0,a.b.length-1))}Kk.prototype.Ub=function(){return this.b.length};Kk.prototype.ya=function(){return 0===this.b.length};
function Mk(a,c){for(var d=a.b,e=a.a,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var n=2*c+1,p=2*c+2,n=p<f&&e[p]<e[n]?p:n;d[c]=d[n];e[c]=e[n];c=n}d[c]=g;e[c]=h;Nk(a,k,c)}function Nk(a,c,d){var e=a.b;a=a.a;for(var f=e[d],g=a[d];d>c;){var h=d-1>>1;if(a[h]>g)e[d]=e[h],a[d]=a[h],d=h;else break}e[d]=f;a[d]=g}function Ok(a){var c=a.i,d=a.b,e=a.a,f=0,g=d.length,h,k,n;for(k=0;k<g;++k)h=d[k],n=c(h),Infinity==n?delete a.c[a.g(h)]:(e[f]=n,d[f++]=h);d.length=f;e.length=f;for(c=(a.b.length>>1)-1;0<=c;c--)Mk(a,c)};function Pk(a,c){Kk.call(this,function(c){return a.apply(null,c)},function(a){return a[0].jb()});this.l=c;this.f=0}w(Pk,Kk);Pk.prototype.j=function(a){a=a.target;var c=a.state;if(2===c||3===c||4===c)Yc(a,"change",this.j,!1,this),--this.f,this.l()};function Qk(a,c,d){for(var e=0,f;a.f<c&&e<d&&0<a.Ub();)f=Lk(a)[0],0===f.state&&(x(f,"change",a.j,!1,a),f.load(),++a.f,++e)};function Rk(a,c,d){this.f=a;this.c=c;this.j=d;this.b=[];this.a=this.g=0}function Sk(a,c){var d=a.f,e=a.a,f=a.c-e,g=Tk(a);return bg({source:c,duration:g,easing:function(a){return e*(Math.exp(d*a*g)-1)/f}})}function Tk(a){return Math.log(a.c/a.a)/a.f};function Uk(a){id.call(this);this.A=null;this.g(!0);this.handleEvent=a.handleEvent}w(Uk,id);Uk.prototype.c=function(){return this.get("active")};Uk.prototype.g=function(a){this.set("active",a)};Uk.prototype.setMap=function(a){this.A=a};function Vk(a,c,d,e,f){if(null!=d){var g=c.va(),h=c.Fa();m(g)&&m(h)&&m(f)&&0<f&&(a.Aa(cg({rotation:g,duration:f,easing:Yf})),m(e)&&a.Aa(bg({source:h,duration:f,easing:Yf})));c.rotate(d,e)}}
function Wk(a,c,d,e,f){var g=c.sa();d=c.constrainResolution(g,d,0);Xk(a,c,d,e,f)}function Xk(a,c,d,e,f){if(null!=d){var g=c.sa(),h=c.Fa();m(g)&&m(h)&&m(f)&&0<f&&(a.Aa(dg({resolution:g,duration:f,easing:Yf})),m(e)&&a.Aa(bg({source:h,duration:f,easing:Yf})));if(null!=e){var k;a=c.Fa();f=c.sa();m(a)&&m(f)&&(k=[e[0]-d*(e[0]-a[0])/f,e[1]-d*(e[1]-a[1])/f]);c.Sa(k)}c.vb(d)}};function Yk(a){a=m(a)?a:{};this.a=m(a.delta)?a.delta:1;Uk.call(this,{handleEvent:Zk});this.f=m(a.duration)?a.duration:250}w(Yk,Uk);function Zk(a){var c=!1,d=a.b;if(a.type==Zj){var c=a.map,e=a.coordinate,d=d.f?-this.a:this.a,f=c.$();Wk(c,f,d,e,this.f);a.preventDefault();c=!0}return!c};function $k(a){a=a.b;return a.a&&!a.l&&a.f}function al(a){return"pointermove"==a.type}function bl(a){return a.type==ak}function cl(a){a=a.b;return!a.a&&!a.l&&!a.f}function dl(a){a=a.b;return!a.a&&!a.l&&a.f}function el(a){a=a.b.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function fl(a){return 1==a.a.pointerId};function gl(a){a=m(a)?a:{};Uk.call(this,{handleEvent:m(a.handleEvent)?a.handleEvent:hl});this.xb=m(a.handleDownEvent)?a.handleDownEvent:qe;this.uc=m(a.handleDragEvent)?a.handleDragEvent:ca;this.Qc=m(a.handleMoveEvent)?a.handleMoveEvent:ca;this.Fe=m(a.handleUpEvent)?a.handleUpEvent:qe;this.u=!1;this.X={};this.j=[]}w(gl,Uk);function il(a){for(var c=a.length,d=0,e=0,f=0;f<c;f++)d+=a[f].clientX,e+=a[f].clientY;return[d/c,e/c]}
function hl(a){if(!(a instanceof Vj))return!0;var c=!1,d=a.type;if(d===ek||d===gk||d===ck)d=a.a,a.type==ck?delete this.X[d.pointerId]:a.type==ek?this.X[d.pointerId]=d:d.pointerId in this.X&&(this.X[d.pointerId]=d),this.j=ub(this.X);this.u&&(a.type==gk?this.uc(a):a.type==ck&&(this.u=this.Fe(a)));a.type==ek?(this.u=a=this.xb(a),c=this.qc(a)):a.type==fk&&this.Qc(a);return!c}gl.prototype.qc=te;function jl(a){gl.call(this,{handleDownEvent:kl,handleDragEvent:ll,handleUpEvent:ml});a=m(a)?a:{};this.a=a.kinetic;this.f=this.i=null;this.v=m(a.condition)?a.condition:cl;this.l=!1}w(jl,gl);function ll(a){var c=il(this.j);this.a&&this.a.b.push(c[0],c[1],ta());if(null!==this.f){var d=this.f[0]-c[0],e=c[1]-this.f[1];a=a.map;var f=a.$(),g=Uf(f),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;ud(d,g.rotation);pd(d,g.center);d=f.Cd(d);a.render();f.Sa(d)}this.f=c}
function ml(a){a=a.map;var c=a.$();if(0===this.j.length){var d;if(d=!this.l&&this.a)if(d=this.a,6>d.b.length)d=!1;else{var e=ta()-d.j,f=d.b.length-3;if(d.b[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.b[g+2]>e;)g-=3;var e=d.b[f+2]-d.b[g+2],h=d.b[f]-d.b[g],f=d.b[f+1]-d.b[g+1];d.g=Math.atan2(f,h);d.a=Math.sqrt(h*h+f*f)/e;d=d.a>d.c}}d&&(d=this.a,d=(d.c-d.a)/d.f,f=this.a.g,g=c.Fa(),this.i=Sk(this.a,g),a.Aa(this.i),g=a.Ba(g),d=a.wa([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.Cd(d),c.Sa(d));Xf(c,-1);a.render();
return!1}this.f=null;return!0}function kl(a){if(0<this.j.length&&this.v(a)){var c=a.map,d=c.$();this.f=null;this.u||Xf(d,1);c.render();null!==this.i&&Za(c.B,this.i)&&(d.Sa(a.frameState.viewState.center),this.i=null);this.a&&(a=this.a,a.b.length=0,a.g=0,a.a=0);this.l=1<this.j.length;return!0}return!1}jl.prototype.qc=qe;function nl(a){a=m(a)?a:{};gl.call(this,{handleDownEvent:pl,handleDragEvent:ql,handleUpEvent:rl});this.f=m(a.condition)?a.condition:$k;this.a=void 0;this.i=m(a.duration)?a.duration:250}w(nl,gl);function ql(a){if(fl(a)){var c=a.map,d=c.Ea();a=a.pixel;d=Math.atan2(d[1]/2-a[1],a[0]-d[0]/2);if(m(this.a)){a=d-this.a;var e=c.$(),f=e.va();c.render();Vk(c,e,f-a)}this.a=d}}
function rl(a){if(!fl(a))return!0;a=a.map;var c=a.$();Xf(c,-1);var d=c.va(),e=this.i,d=c.constrainRotation(d,0);Vk(a,c,d,void 0,e);return!1}function pl(a){return fl(a)&&Cc(a.b)&&this.f(a)?(a=a.map,Xf(a.$(),1),a.render(),this.a=void 0,!0):!1}nl.prototype.qc=qe;function sl(a){this.c=this.a=this.f=this.g=this.b=null;this.i=a}w(sl,qc);function tl(a){var c=a.f,d=a.a;a=Ua([c,[c[0],d[1]],d,[d[0],c[1]]],a.b.wa,a.b);a[4]=a[0].slice();return new D([a])}sl.prototype.Y=function(){this.setMap(null)};sl.prototype.j=function(a){var c=this.c,d=this.i;a.vectorContext.wc(Infinity,function(a){a.Ia(d.f,d.c);a.Ja(d.a);a.Tb(c,null)})};sl.prototype.V=function(){return this.c};function ul(a){null===a.b||null===a.f||null===a.a||a.b.render()}
sl.prototype.setMap=function(a){null!==this.g&&(Zc(this.g),this.g=null,this.b.render(),this.b=null);this.b=a;null!==this.b&&(this.g=x(a,"postcompose",this.j,!1,this),ul(this))};function vl(a,c){vc.call(this,a);this.coordinate=c}w(vl,vc);function wl(a){gl.call(this,{handleDownEvent:xl,handleDragEvent:yl,handleUpEvent:zl});a=m(a)?a:{};this.f=new sl(m(a.style)?a.style:null);this.a=null;this.v=m(a.condition)?a.condition:re}w(wl,gl);function yl(a){if(fl(a)){var c=this.f;a=a.pixel;c.f=this.a;c.a=a;c.c=tl(c);ul(c)}}wl.prototype.V=function(){return this.f.V()};wl.prototype.l=ca;
function zl(a){if(!fl(a))return!0;this.f.setMap(null);var c=a.pixel[0]-this.a[0],d=a.pixel[1]-this.a[1];64<=c*c+d*d&&(this.l(a),C(this,new vl("boxend",a.coordinate)));return!1}function xl(a){if(fl(a)&&Cc(a.b)&&this.v(a)){this.a=a.pixel;this.f.setMap(a.map);var c=this.f,d=this.a;c.f=this.a;c.a=d;c.c=tl(c);ul(c);C(this,new vl("boxstart",a.coordinate));return!0}return!1};function Al(){this.a=-1};function Bl(){this.a=-1;this.a=64;this.b=Array(4);this.g=Array(this.a);this.f=this.c=0;this.reset()}w(Bl,Al);Bl.prototype.reset=function(){this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.f=this.c=0};
function Cl(a,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=a.b[0];d=a.b[1];var f=a.b[2],g=a.b[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;a.b[0]=a.b[0]+c&4294967295;a.b[1]=a.b[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;a.b[2]=a.b[2]+f&4294967295;a.b[3]=a.b[3]+g&4294967295}
function Dl(a,c){var d;m(d)||(d=c.length);for(var e=d-a.a,f=a.g,g=a.c,h=0;h<d;){if(0==g)for(;h<=e;)Cl(a,c,h),h+=a.a;if(ia(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==a.a){Cl(a,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==a.a){Cl(a,f);g=0;break}}a.c=g;a.f+=d};function El(a){a=m(a)?a:{};this.b=m(a.color)?a.color:null;this.f=a.lineCap;this.c=m(a.lineDash)?a.lineDash:null;this.g=a.lineJoin;this.j=a.miterLimit;this.a=a.width;this.i=void 0}l=El.prototype;l.xm=function(){return this.b};l.aj=function(){return this.f};l.ym=function(){return this.c};l.bj=function(){return this.g};l.gj=function(){return this.j};l.zm=function(){return this.a};l.Am=function(a){this.b=a;this.i=void 0};l.Un=function(a){this.f=a;this.i=void 0};l.Bm=function(a){this.c=a;this.i=void 0};
l.Vn=function(a){this.g=a;this.i=void 0};l.Wn=function(a){this.j=a;this.i=void 0};l.bo=function(a){this.a=a;this.i=void 0};
l.qb=function(){if(!m(this.i)){var a="s"+(null===this.b?"-":Bg(this.b))+","+(m(this.f)?this.f.toString():"-")+","+(null===this.c?"-":this.c.toString())+","+(m(this.g)?this.g:"-")+","+(m(this.j)?this.j.toString():"-")+","+(m(this.a)?this.a.toString():"-"),c=new Bl;Dl(c,a);var d=Array((56>c.c?c.a:2*c.a)-c.c);d[0]=128;for(a=1;a<d.length-8;++a)d[a]=0;for(var e=8*c.f,a=d.length-8;a<d.length;++a)d[a]=e&255,e/=256;Dl(c,d);d=Array(16);for(a=e=0;4>a;++a)for(var f=0;32>f;f+=8)d[e++]=c.b[a]>>>f&255;if(8192>=
d.length)c=String.fromCharCode.apply(null,d);else for(c="",a=0;a<d.length;a+=8192)c+=String.fromCharCode.apply(null,fb(d,a,a+8192));this.i=c}return this.i};var Fl=[0,0,0,1],Gl=[],Hl=[0,0,0,1];function Il(a){a=m(a)?a:{};this.b=m(a.color)?a.color:null;this.a=void 0}Il.prototype.c=function(){return this.b};Il.prototype.f=function(a){this.b=a;this.a=void 0};Il.prototype.qb=function(){m(this.a)||(this.a="f"+(null===this.b?"-":Bg(this.b)));return this.a};function Jl(a){a=m(a)?a:{};this.j=this.b=this.g=null;this.f=m(a.fill)?a.fill:null;this.a=m(a.stroke)?a.stroke:null;this.c=a.radius;this.u=[0,0];this.l=this.ca=this.i=null;var c=a.atlasManager,d,e=null,f,g=0;null!==this.a&&(f=Bg(this.a.b),g=this.a.a,m(g)||(g=1),e=this.a.c,ej||(e=null));var h=2*(this.c+g)+1;f={strokeStyle:f,rd:g,size:h,lineDash:e};m(c)?(h=Math.round(h),(e=null===this.f)&&(d=ra(this.Ng,this,f)),g=this.qb(),f=c.add(g,h,h,ra(this.Og,this,f),d),this.b=f.image,this.u=[f.offsetX,f.offsetY],
d=f.image.width,this.j=e?f.lg:this.b):(this.b=Sg("CANVAS"),this.b.height=h,this.b.width=h,d=h=this.b.width,c=this.b.getContext("2d"),this.Og(f,c,0,0),null===this.f?(c=this.j=Sg("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Ng(f,c,0,0)):this.j=this.b);this.i=[h/2,h/2];this.ca=[h,h];this.l=[d,d];Bk.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:m(a.snapToPixel)?a.snapToPixel:!0})}w(Jl,Bk);l=Jl.prototype;l.Ab=function(){return this.i};l.om=function(){return this.f};
l.ie=function(){return this.j};l.Mb=function(){return this.b};l.md=function(){return 2};l.Jd=function(){return this.l};l.Nb=function(){return this.u};l.pm=function(){return this.c};l.kb=function(){return this.ca};l.qm=function(){return this.a};l.ff=ca;l.load=ca;l.Ff=ca;
l.Og=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);null!==this.f&&(c.fillStyle=Bg(this.f.b),c.fill());null!==this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.rd,null===a.lineDash||c.setLineDash(a.lineDash),c.stroke());c.closePath()};
l.Ng=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);c.fillStyle=Fl;c.fill();null!==this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.rd,null===a.lineDash||c.setLineDash(a.lineDash),c.stroke());c.closePath()};l.qb=function(){var a=null===this.a?"-":this.a.qb(),c=null===this.f?"-":this.f.qb();if(null===this.g||a!=this.g[1]||c!=this.g[2]||this.c!=this.g[3])this.g=["c"+a+c+(m(this.c)?this.c.toString():"-"),a,c,this.c];return this.g[0]};function Kl(a){a=m(a)?a:{};this.i=null;this.g=Ll;m(a.geometry)&&this.ta(a.geometry);this.f=m(a.fill)?a.fill:null;this.j=m(a.image)?a.image:null;this.c=m(a.stroke)?a.stroke:null;this.a=m(a.text)?a.text:null;this.b=a.zIndex}l=Kl.prototype;l.V=function(){return this.i};l.Vi=function(){return this.g};l.Cm=function(){return this.f};l.Dm=function(){return this.j};l.Em=function(){return this.c};l.Fm=function(){return this.a};l.Gm=function(){return this.b};
l.ta=function(a){ka(a)?this.g=a:ia(a)?this.g=function(c){return c.get(a)}:null===a?this.g=Ll:m(a)&&(this.g=function(){return a});this.i=a};l.Hm=function(a){this.b=a};function Ml(a){ka(a)||(a=ga(a)?a:[a],a=pe(a));return a}var Nl=null;function Ol(){if(null===Nl){var a=new Il({color:"rgba(255,255,255,0.4)"}),c=new El({color:"#3399CC",width:1.25});Nl=[new Kl({image:new Jl({fill:a,stroke:c,radius:5}),fill:a,stroke:c})]}return Nl}
function Pl(){var a={},c=[255,255,255,1],d=[0,153,255,1];a.Polygon=[new Kl({fill:new Il({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Kl({stroke:new El({color:c,width:5})}),new Kl({stroke:new El({color:d,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Kl({image:new Jl({radius:6,fill:new Il({color:d}),stroke:new El({color:c,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
a.Point);return a}function Ll(a){return a.V()};function Ql(a){var c=m(a)?a:{};a=m(c.condition)?c.condition:dl;this.i=m(c.duration)?c.duration:200;c=m(c.style)?c.style:new Kl({stroke:new El({color:[0,0,255,1]})});wl.call(this,{condition:a,style:c})}w(Ql,wl);Ql.prototype.l=function(){var a=this.A,c=a.$(),d=a.Ea(),e=this.V().R(),d=c.constrainResolution(Math.max(le(e)/d[0],ie(e)/d[1])),f=c.sa(),g=c.Fa();a.Aa(dg({resolution:f,duration:this.i,easing:Yf}));a.Aa(bg({source:g,duration:this.i,easing:Yf}));c.Sa(ge(e));c.vb(d)};function Rl(a){Uk.call(this,{handleEvent:Sl});a=m(a)?a:{};this.a=m(a.condition)?a.condition:we(cl,el);this.f=m(a.duration)?a.duration:100;this.j=m(a.pixelDelta)?a.pixelDelta:128}w(Rl,Uk);
function Sl(a){var c=!1;if("key"==a.type){var d=a.b.j;if(this.a(a)&&(40==d||37==d||39==d||38==d)){var e=a.map,c=e.$(),f=c.sa()*this.j,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];ud(d,c.va());f=this.f;g=c.Fa();m(g)&&(m(f)&&0<f&&e.Aa(bg({source:g,duration:f,easing:$f})),e=c.Cd([g[0]+d[0],g[1]+d[1]]),c.Sa(e));a.preventDefault();c=!0}}return!c};function Tl(a){Uk.call(this,{handleEvent:Ul});a=m(a)?a:{};this.f=m(a.condition)?a.condition:el;this.a=m(a.delta)?a.delta:1;this.j=m(a.duration)?a.duration:100}w(Tl,Uk);function Ul(a){var c=!1;if("key"==a.type){var d=a.b.A;if(this.f(a)&&(43==d||45==d)){c=a.map;d=43==d?this.a:-this.a;c.render();var e=c.$();Wk(c,e,d,void 0,this.j);a.preventDefault();c=!0}}return!c};function Vl(a){Uk.call(this,{handleEvent:Wl});a=m(a)?a:{};this.a=0;this.v=m(a.duration)?a.duration:250;this.j=null;this.i=this.f=void 0}w(Vl,Uk);function Wl(a){var c=!1;if("mousewheel"==a.type){var c=a.map,d=a.b;this.j=a.coordinate;this.a+=d.u;m(this.f)||(this.f=ta());d=Math.max(80-(ta()-this.f),0);ba.clearTimeout(this.i);this.i=ba.setTimeout(ra(this.l,this,c),d);a.preventDefault();c=!0}return!c}
Vl.prototype.l=function(a){var c=Zb(this.a,-1,1),d=a.$();a.render();Wk(a,d,-c,this.j,this.v);this.a=0;this.j=null;this.i=this.f=void 0};function Xl(a){gl.call(this,{handleDownEvent:Yl,handleDragEvent:Zl,handleUpEvent:$l});a=m(a)?a:{};this.f=null;this.i=void 0;this.a=!1;this.l=0;this.D=m(a.threshold)?a.threshold:.3;this.v=m(a.duration)?a.duration:250}w(Xl,gl);
function Zl(a){var c=0,d=this.j[0],e=this.j[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);m(this.i)&&(c=d-this.i,this.l+=c,!this.a&&Math.abs(this.l)>this.D&&(this.a=!0));this.i=d;a=a.map;d=oh(a.a);e=il(this.j);e[0]-=d.x;e[1]-=d.y;this.f=a.wa(e);this.a&&(d=a.$(),e=d.va(),a.render(),Vk(a,d,e+c,this.f))}function $l(a){if(2>this.j.length){a=a.map;var c=a.$();Xf(c,-1);if(this.a){var d=c.va(),e=this.f,f=this.v,d=c.constrainRotation(d,0);Vk(a,c,d,e,f)}return!1}return!0}
function Yl(a){return 2<=this.j.length?(a=a.map,this.f=null,this.i=void 0,this.a=!1,this.l=0,this.u||Xf(a.$(),1),a.render(),!0):!1}Xl.prototype.qc=qe;function am(a){gl.call(this,{handleDownEvent:bm,handleDragEvent:cm,handleUpEvent:dm});a=m(a)?a:{};this.f=null;this.l=m(a.duration)?a.duration:400;this.a=void 0;this.i=1}w(am,gl);function cm(a){var c=1,d=this.j[0],e=this.j[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);m(this.a)&&(c=this.a/f);this.a=f;1!=c&&(this.i=c);a=a.map;var f=a.$(),d=f.sa(),e=oh(a.a),g=il(this.j);g[0]-=e.x;g[1]-=e.y;this.f=a.wa(g);a.render();Xk(a,f,d*c,this.f)}
function dm(a){if(2>this.j.length){a=a.map;var c=a.$();Xf(c,-1);var d=c.sa(),e=this.f,f=this.l,d=c.constrainResolution(d,0,this.i-1);Xk(a,c,d,e,f);return!1}return!0}function bm(a){return 2<=this.j.length?(a=a.map,this.f=null,this.a=void 0,this.i=1,this.u||Xf(a.$(),1),a.render(),!0):!1}am.prototype.qc=qe;function em(a){a=m(a)?a:{};var c=new ug,d=new Rk(-.005,.05,100);(m(a.altShiftDragRotate)?a.altShiftDragRotate:1)&&c.push(new nl);(m(a.doubleClickZoom)?a.doubleClickZoom:1)&&c.push(new Yk({delta:a.zoomDelta,duration:a.zoomDuration}));(m(a.dragPan)?a.dragPan:1)&&c.push(new jl({kinetic:d}));(m(a.pinchRotate)?a.pinchRotate:1)&&c.push(new Xl);(m(a.pinchZoom)?a.pinchZoom:1)&&c.push(new am({duration:a.zoomDuration}));if(m(a.keyboard)?a.keyboard:1)c.push(new Rl),c.push(new Tl({delta:a.zoomDelta,duration:a.zoomDuration}));
(m(a.mouseWheelZoom)?a.mouseWheelZoom:1)&&c.push(new Vl({duration:a.zoomDuration}));(m(a.shiftDragZoom)?a.shiftDragZoom:1)&&c.push(new Ql);return c};function H(a){var c=m(a)?a:{};a=Eb(c);delete a.layers;c=c.layers;F.call(this,a);this.c=[];this.a={};x(this,kd("layers"),this.Nj,!1,this);null!=c?ga(c)&&(c=new ug(c.slice())):c=new ug;this.qh(c)}w(H,F);l=H.prototype;l.Rd=function(){this.ib()&&this.s()};
l.Nj=function(){Ra(this.c,Zc);this.c.length=0;var a=this.Ec();this.c.push(x(a,"add",this.Mj,!1,this),x(a,"remove",this.Oj,!1,this));rb(this.a,function(a){Ra(a,Zc)});Ab(this.a);var a=a.a,c,d,e;c=0;for(d=a.length;c<d;c++)e=a[c],this.a[ma(e).toString()]=[x(e,"propertychange",this.Rd,!1,this),x(e,"change",this.Rd,!1,this)];this.s()};l.Mj=function(a){a=a.element;var c=ma(a).toString();this.a[c]=[x(a,"propertychange",this.Rd,!1,this),x(a,"change",this.Rd,!1,this)];this.s()};
l.Oj=function(a){a=ma(a.element).toString();Ra(this.a[a],Zc);delete this.a[a];this.s()};l.Ec=function(){return this.get("layers")};l.qh=function(a){this.set("layers",a)};
l.$e=function(a){var c=m(a)?a:[],d=c.length;this.Ec().forEach(function(a){a.$e(c)});a=ik(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.brightness=Zb(f.brightness+a.brightness,-1,1),f.contrast*=a.contrast,f.hue+=a.hue,f.opacity*=a.opacity,f.saturation*=a.saturation,f.visible=f.visible&&a.visible,f.maxResolution=Math.min(f.maxResolution,a.maxResolution),f.minResolution=Math.max(f.minResolution,a.minResolution),m(a.extent)&&(f.extent=m(f.extent)?je(f.extent,a.extent):a.extent);return c};l.bf=function(){return"ready"};function fm(a){Ae.call(this,{code:a,units:"m",extent:gm,global:!0,worldExtent:hm})}w(fm,Ae);fm.prototype.getPointResolution=function(a,c){var d=c[1]/6378137;return a/((Math.exp(d)+Math.exp(-d))/2)};var im=6378137*Math.PI,gm=[-im,-im,im,im],hm=[-180,-85,180,85],Me=Ua("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(a){return new fm(a)});
function Ne(a,c,d){var e=a.length;d=1<d?d:2;m(c)||(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*a[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(a[f+1]+90)/360));return c}function Oe(a,c,d){var e=a.length;d=1<d?d:2;m(c)||(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*a[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(a[f+1]/6378137))/Math.PI-90;return c};function jm(a,c){Ae.call(this,{code:a,units:"degrees",extent:km,axisOrientation:c,global:!0,worldExtent:km})}w(jm,Ae);jm.prototype.getPointResolution=function(a){return a};
var km=[-180,-90,180,90],Pe=[new jm("CRS:84"),new jm("EPSG:4326","neu"),new jm("urn:ogc:def:crs:EPSG::4326","neu"),new jm("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new jm("urn:ogc:def:crs:OGC:1.3:CRS84"),new jm("urn:ogc:def:crs:OGC:2:84"),new jm("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new jm("urn:x-ogc:def:crs:EPSG:4326","neu")];function lm(){De(Me);De(Pe);Le()};function J(a){G.call(this,m(a)?a:{})}w(J,G);function K(a){a=m(a)?a:{};var c=Eb(a);delete c.preload;delete c.useInterimTilesOnError;G.call(this,c);this.f(m(a.preload)?a.preload:0);this.g(m(a.useInterimTilesOnError)?a.useInterimTilesOnError:!0)}w(K,G);K.prototype.a=function(){return this.get("preload")};K.prototype.f=function(a){this.set("preload",a)};K.prototype.c=function(){return this.get("useInterimTilesOnError")};K.prototype.g=function(a){this.set("useInterimTilesOnError",a)};function L(a){a=m(a)?a:{};var c=Eb(a);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;G.call(this,c);this.c=m(a.renderBuffer)?a.renderBuffer:100;this.A=null;this.a=void 0;this.g(a.style);this.D=m(a.updateWhileAnimating)?a.updateWhileAnimating:!1;this.B=m(a.updateWhileInteracting)?a.updateWhileInteracting:!1}w(L,G);L.prototype.T=function(){return this.A};L.prototype.X=function(){return this.a};
L.prototype.g=function(a){this.A=m(a)?a:Ol;this.a=null===a?void 0:Ml(this.A);this.s()};function mm(a,c,d,e,f){this.u={};this.c=a;this.B=c;this.g=d;this.ja=e;this.Qc=f;this.j=this.b=this.a=this.qa=this.Ma=this.da=null;this.Na=this.za=this.v=this.X=this.T=this.J=0;this.Va=!1;this.i=this.lb=0;this.mb=!1;this.Z=0;this.f="";this.C=this.ca=this.xb=this.tc=0;this.ba=this.A=this.l=null;this.D=[];this.uc=Cd()}
function nm(a,c,d){if(null!==a.j){c=$e(c,0,d,2,a.ja,a.D);d=a.c;var e=a.uc,f=d.globalAlpha;1!=a.v&&(d.globalAlpha=f*a.v);var g=a.lb;a.Va&&(g+=a.Qc);var h,k;h=0;for(k=c.length;h<k;h+=2){var n=c[h]-a.J,p=c[h+1]-a.T;a.mb&&(n=n+.5|0,p=p+.5|0);if(0!==g||1!=a.i){var q=n+a.J,r=p+a.T;ok(e,q,r,a.i,a.i,g,-q,-r);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(a.j,a.za,a.Na,a.Z,a.X,n,p,a.Z,a.X)}0===g&&1==a.i||d.setTransform(1,0,0,1,0,0);1!=a.v&&(d.globalAlpha=f)}}
function om(a,c,d,e){var f=0;if(null!==a.ba&&""!==a.f){null===a.l||pm(a,a.l);null===a.A||qm(a,a.A);var g=a.ba,h=a.c,k=a.qa;null===k?(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline,a.qa={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=$e(c,f,d,e,a.ja,a.D);for(g=a.c;f<d;f+=e){h=c[f]+
a.tc;k=c[f+1]+a.xb;if(0!==a.ca||1!=a.C){var n=ok(a.uc,h,k,a.C,a.C,a.ca,-h,-k);g.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}null===a.A||g.strokeText(a.f,h,k);null===a.l||g.fillText(a.f,h,k)}0===a.ca&&1==a.C||g.setTransform(1,0,0,1,0,0)}}function rm(a,c,d,e,f,g){var h=a.c;a=$e(c,d,e,f,a.ja,a.D);h.moveTo(a[0],a[1]);for(c=2;c<a.length;c+=2)h.lineTo(a[c],a[c+1]);g&&h.lineTo(a[0],a[1]);return e}
function sm(a,c,d,e,f){var g=a.c,h,k;h=0;for(k=e.length;h<k;++h)d=rm(a,c,d,e[h],f,!0),g.closePath();return d}l=mm.prototype;l.wc=function(a,c){var d=a.toString(),e=this.u[d];m(e)?e.push(c):this.u[d]=[c]};
l.xc=function(a){if(ke(this.g,a.R())){if(null!==this.a||null!==this.b){null===this.a||pm(this,this.a);null===this.b||qm(this,this.b);var c;c=a.o;c=null===c?null:$e(c,0,c.length,a.H,this.ja,this.D);var d=c[2]-c[0],e=c[3]-c[1],d=Math.sqrt(d*d+e*e),e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);null===this.a||e.fill();null===this.b||e.stroke()}""!==this.f&&om(this,a.hd(),2,2)}};
l.Pe=function(a,c){var d=(0,c.g)(a);if(null!=d&&ke(this.g,d.R())){var e=c.b;m(e)||(e=0);this.wc(e,function(a){a.Ia(c.f,c.c);a.cb(c.j);a.Ja(c.a);tm[d.W()].call(a,d,null)})}};l.Ed=function(a,c){var d=a.f,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e];tm[g.W()].call(this,g,c)}};l.ob=function(a){var c=a.o;a=a.H;null===this.j||nm(this,c,c.length);""!==this.f&&om(this,c,c.length,a)};l.nb=function(a){var c=a.o;a=a.H;null===this.j||nm(this,c,c.length);""!==this.f&&om(this,c,c.length,a)};
l.yb=function(a){if(ke(this.g,a.R())){if(null!==this.b){qm(this,this.b);var c=this.c,d=a.o;c.beginPath();rm(this,d,0,d.length,a.H,!1);c.stroke()}""!==this.f&&(a=vm(a),om(this,a,2,2))}};l.yc=function(a){var c=a.R();if(ke(this.g,c)){if(null!==this.b){qm(this,this.b);var c=this.c,d=a.o,e=0,f=a.c,g=a.H;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=rm(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(a=wm(a),om(this,a,a.length,2))}};
l.Tb=function(a){if(ke(this.g,a.R())){if(null!==this.b||null!==this.a){null===this.a||pm(this,this.a);null===this.b||qm(this,this.b);var c=this.c;c.beginPath();sm(this,Lf(a),0,a.c,a.H);null===this.a||c.fill();null===this.b||c.stroke()}""!==this.f&&(a=Mf(a),om(this,a,2,2))}};
l.zc=function(a){if(ke(this.g,a.R())){if(null!==this.b||null!==this.a){null===this.a||pm(this,this.a);null===this.b||qm(this,this.b);var c=this.c,d=xm(a),e=0,f=a.c,g=a.H,h,k;h=0;for(k=f.length;h<k;++h){var n=f[h];c.beginPath();e=sm(this,d,e,n,g);null===this.a||c.fill();null===this.b||c.stroke()}}""!==this.f&&(a=ym(a),om(this,a,a.length,2))}};function zm(a){var c=Ua(vb(a.u),Number);gb(c);var d,e,f,g,h;d=0;for(e=c.length;d<e;++d)for(f=a.u[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)}
function pm(a,c){var d=a.c,e=a.da;null===e?(d.fillStyle=c.fillStyle,a.da={fillStyle:c.fillStyle}):e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle)}
function qm(a,c){var d=a.c,e=a.Ma;null===e?(d.lineCap=c.lineCap,ej&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth=c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,a.Ma={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle}):(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),ej&&!kb(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.Ia=function(a,c){if(null===a)this.a=null;else{var d=a.b;this.a={fillStyle:Bg(null===d?Fl:d)}}if(null===c)this.b=null;else{var d=c.b,e=c.f,f=c.c,g=c.g,h=c.a,k=c.j;this.b={lineCap:m(e)?e:"round",lineDash:null!=f?f:Gl,lineJoin:m(g)?g:"round",lineWidth:this.B*(m(h)?h:1),miterLimit:m(k)?k:10,strokeStyle:Bg(null===d?Hl:d)}}};
l.cb=function(a){if(null===a)this.j=null;else{var c=a.Ab(),d=a.Mb(1),e=a.Nb(),f=a.kb();this.J=c[0];this.T=c[1];this.X=f[1];this.j=d;this.v=a.v;this.za=e[0];this.Na=e[1];this.Va=a.D;this.lb=a.C;this.i=a.A;this.mb=a.B;this.Z=f[0]}};
l.Ja=function(a){if(null===a)this.f="";else{var c=a.b;null===c?this.l=null:(c=c.b,this.l={fillStyle:Bg(null===c?Fl:c)});var d=a.j;if(null===d)this.A=null;else{var c=d.b,e=d.f,f=d.c,g=d.g,h=d.a,d=d.j;this.A={lineCap:m(e)?e:"round",lineDash:null!=f?f:Gl,lineJoin:m(g)?g:"round",lineWidth:m(h)?h:1,miterLimit:m(d)?d:10,strokeStyle:Bg(null===c?Hl:c)}}var c=a.f,e=a.C,f=a.A,g=a.g,h=a.a,d=a.c,k=a.i;a=a.l;this.ba={font:m(c)?c:"10px sans-serif",textAlign:m(k)?k:"center",textBaseline:m(a)?a:"middle"};this.f=
m(d)?d:"";this.tc=m(e)?this.B*e:0;this.xb=m(f)?this.B*f:0;this.ca=m(g)?g:0;this.C=this.B*(m(h)?h:1)}};var tm={Point:mm.prototype.ob,LineString:mm.prototype.yb,Polygon:mm.prototype.Tb,MultiPoint:mm.prototype.nb,MultiLineString:mm.prototype.yc,MultiPolygon:mm.prototype.zc,GeometryCollection:mm.prototype.Ed,Circle:mm.prototype.xc};function Am(a){rk.call(this,a);this.J=Cd()}w(Am,rk);
Am.prototype.v=function(a,c,d){Bm(this,"precompose",d,a,void 0);var e=this.ld();if(null!==e){var f=c.extent,g=m(f);if(g){var h=a.pixelRatio,k=fe(f),n=ee(f),p=de(f),f=ce(f);qk(a.coordinateToPixelMatrix,k,k);qk(a.coordinateToPixelMatrix,n,n);qk(a.coordinateToPixelMatrix,p,p);qk(a.coordinateToPixelMatrix,f,f);d.save();d.beginPath();d.moveTo(k[0]*h,k[1]*h);d.lineTo(n[0]*h,n[1]*h);d.lineTo(p[0]*h,p[1]*h);d.lineTo(f[0]*h,f[1]*h);d.clip()}h=this.Ze();k=d.globalAlpha;d.globalAlpha=c.opacity;0===a.viewState.rotation?
(c=h[13],n=e.width*h[0],p=e.height*h[5],d.drawImage(e,0,0,+e.width,+e.height,Math.round(h[12]),Math.round(c),Math.round(n),Math.round(p))):(d.setTransform(h[0],h[1],h[4],h[5],h[12],h[13]),d.drawImage(e,0,0),d.setTransform(1,0,0,1,0,0));d.globalAlpha=k;g&&d.restore()}Bm(this,"postcompose",d,a,void 0)};function Bm(a,c,d,e,f){var g=a.a;ed(g,c)&&(a=m(f)?f:Cm(a,e,0),a=new mm(d,e.pixelRatio,e.extent,a,e.viewState.rotation),C(g,new kk(c,g,a,e,d,null)),zm(a))}
function Cm(a,c,d){var e=c.viewState,f=c.pixelRatio;return ok(a.J,f*c.size[0]/2,f*c.size[1]/2,f/e.resolution,-f/e.resolution,-e.rotation,-e.center[0]+d,-e.center[1])}function Dm(a,c){var d=[0,0];qk(c,a,d);return d}
var Em=function(){var a=null,c=null;return function(d){if(null===a){a=Wi(1,1);c=a.createImageData(1,1);var e=c.data;e[0]=42;e[1]=84;e[2]=126;e[3]=255}var e=a.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,a.putImageData(c,e,d),d=a.getImageData(e,d,1,1),f=kb(c.data,d.data));return f}}();var Fm=["Polygon","LineString","Image","Text"];function Gm(a,c,d){this.qa=a;this.Z=c;this.f=null;this.g=0;this.resolution=d;this.T=this.J=null;this.a=[];this.coordinates=[];this.da=Cd();this.b=[];this.ba=[];this.Ma=Cd()}w(Gm,jk);
function Hm(a,c,d,e,f,g){var h=a.coordinates.length,k=a.Te(),n=[c[d],c[d+1]],p=[NaN,NaN],q=!0,r,t,u;for(r=d+f;r<e;r+=f)p[0]=c[r],p[1]=c[r+1],u=Xd(k,p),u!==t?(q&&(a.coordinates[h++]=n[0],a.coordinates[h++]=n[1]),a.coordinates[h++]=p[0],a.coordinates[h++]=p[1],q=!1):1===u?(a.coordinates[h++]=p[0],a.coordinates[h++]=p[1],q=!1):q=!0,n[0]=p[0],n[1]=p[1],t=u;r===d+f&&(a.coordinates[h++]=n[0],a.coordinates[h++]=n[1]);g&&(a.coordinates[h++]=c[d],a.coordinates[h++]=c[d+1]);return h}
function Im(a,c){a.J=[0,c,0];a.a.push(a.J);a.T=[0,c,0];a.b.push(a.T)}
function Jm(a,c,d,e,f,g,h,k,n){var p;pk(e,a.da)?p=a.ba:(p=$e(a.coordinates,0,a.coordinates.length,2,e,a.ba),Fd(a.da,e));e=0;var q=h.length,r=0,t;for(a=a.Ma;e<q;){var u=h[e],B,z,E,A;switch(u[0]){case 0:r=u[1];t=ma(r).toString();(t=m(g[t]))||(t=null==r.V());t?e=u[2]:m(n)&&!ke(n,r.V().R())?e=u[2]:++e;break;case 1:c.beginPath();++e;break;case 2:r=u[1];t=p[r];var y=p[r+1],N=p[r+2]-t,r=p[r+3]-y;c.arc(t,y,Math.sqrt(N*N+r*r),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:r=u[1];t=u[2];B=
u[3];E=u[4]*d;var O=u[5]*d,I=u[6];z=u[7];var Q=u[8],wa=u[9],y=u[11],N=u[12],Sa=u[13],P=u[14];for(u[10]&&(y+=f);r<t;r+=2){u=p[r]-E;A=p[r+1]-O;Sa&&(u=u+.5|0,A=A+.5|0);if(1!=N||0!==y){var Ga=u+E,eb=A+O;ok(a,Ga,eb,N,N,y,-Ga,-eb);c.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}Ga=c.globalAlpha;1!=z&&(c.globalAlpha=Ga*z);c.drawImage(B,Q,wa,P,I,u,A,P*d,I*d);1!=z&&(c.globalAlpha=Ga);1==N&&0===y||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:r=u[1];t=u[2];E=u[3];O=u[4]*d;I=u[5]*d;y=u[6];N=u[7]*d;B=u[8];for(z=
u[9];r<t;r+=2){u=p[r]+O;A=p[r+1]+I;if(1!=N||0!==y)ok(a,u,A,N,N,y,-u,-A),c.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]);z&&c.strokeText(E,u,A);B&&c.fillText(E,u,A);1==N&&0===y||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(m(k)&&(r=u[1],r=k(r)))return r;++e;break;case 7:c.fill();++e;break;case 8:r=u[1];t=u[2];c.moveTo(p[r],p[r+1]);for(r+=2;r<t;r+=2)c.lineTo(p[r],p[r+1]);++e;break;case 9:c.fillStyle=u[1];++e;break;case 10:r=m(u[7])?u[7]:!0;t=u[2];c.strokeStyle=u[1];c.lineWidth=r?t*d:t;c.lineCap=
u[3];c.lineJoin=u[4];c.miterLimit=u[5];ej&&c.setLineDash(u[6]);++e;break;case 11:c.font=u[1];c.textAlign=u[2];c.textBaseline=u[3];++e;break;case 12:c.stroke();++e;break;default:++e}}}function Km(a){var c=a.b;c.reverse();var d,e=c.length,f,g,h=-1;for(d=0;d<e;++d)if(f=c[d],g=f[0],6==g)h=d;else if(0==g){f[2]=d;f=a.b;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function Lm(a,c){a.J[2]=a.a.length;a.J=null;a.T[2]=a.b.length;a.T=null;var d=[6,c];a.a.push(d);a.b.push(d)}Gm.prototype.ee=ca;
Gm.prototype.Te=function(){return this.Z};function Mm(a,c,d){Gm.call(this,a,c,d);this.l=this.X=null;this.ja=this.ca=this.B=this.D=this.u=this.v=this.A=this.C=this.i=this.j=this.c=void 0}w(Mm,Gm);
Mm.prototype.ob=function(a,c){if(null!==this.l){Im(this,c);var d=a.o,e=this.coordinates.length,d=Hm(this,d,0,d.length,a.H,!1);this.a.push([4,e,d,this.l,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.D,this.B,this.ca,this.ja]);this.b.push([4,e,d,this.X,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.D,this.B,this.ca,this.ja]);Lm(this,c)}};
Mm.prototype.nb=function(a,c){if(null!==this.l){Im(this,c);var d=a.o,e=this.coordinates.length,d=Hm(this,d,0,d.length,a.H,!1);this.a.push([4,e,d,this.l,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.D,this.B,this.ca,this.ja]);this.b.push([4,e,d,this.X,this.c,this.j,this.i,this.C,this.A,this.v,this.u,this.D,this.B,this.ca,this.ja]);Lm(this,c)}};Mm.prototype.ee=function(){Km(this);this.j=this.c=void 0;this.l=this.X=null;this.ja=this.ca=this.D=this.u=this.v=this.A=this.C=this.B=this.i=void 0};
Mm.prototype.cb=function(a){var c=a.Ab(),d=a.kb(),e=a.ie(1),f=a.Mb(1),g=a.Nb();this.c=c[0];this.j=c[1];this.X=e;this.l=f;this.i=d[1];this.C=a.v;this.A=g[0];this.v=g[1];this.u=a.D;this.D=a.C;this.B=a.A;this.ca=a.B;this.ja=d[0]};function Nm(a,c,d){Gm.call(this,a,c,d);this.c={$c:void 0,Vc:void 0,Wc:null,Xc:void 0,Yc:void 0,Zc:void 0,ef:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}w(Nm,Gm);
function Om(a,c,d,e,f){var g=a.coordinates.length;c=Hm(a,c,d,e,f,!1);g=[8,g,c];a.a.push(g);a.b.push(g);return e}l=Nm.prototype;l.Te=function(){null===this.f&&(this.f=Sd(this.Z),0<this.g&&Rd(this.f,this.resolution*(this.g+1)/2,this.f));return this.f};
function Pm(a){var c=a.c,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.$c==d&&c.Vc==e&&kb(c.Wc,f)&&c.Xc==g&&c.Yc==h&&c.Zc==k||(c.ef!=a.coordinates.length&&(a.a.push([12]),c.ef=a.coordinates.length),a.a.push([10,d,h,e,g,k,f],[1]),c.$c=d,c.Vc=e,c.Wc=f,c.Xc=g,c.Yc=h,c.Zc=k)}
l.yb=function(a,c){var d=this.c,e=d.lineWidth;m(d.strokeStyle)&&m(e)&&(Pm(this),Im(this,c),this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=a.o,Om(this,d,0,d.length,a.H),this.b.push([12]),Lm(this,c))};
l.yc=function(a,c){var d=this.c,e=d.lineWidth;if(m(d.strokeStyle)&&m(e)){Pm(this);Im(this,c);this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=a.c,e=a.o,f=a.H,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Om(this,e,g,d[h],f);this.b.push([12]);Lm(this,c)}};l.ee=function(){this.c.ef!=this.coordinates.length&&this.a.push([12]);Km(this);this.c=null};
l.Ia=function(a,c){var d=c.b;this.c.strokeStyle=Bg(null===d?Hl:d);d=c.f;this.c.lineCap=m(d)?d:"round";d=c.c;this.c.lineDash=null===d?Gl:d;d=c.g;this.c.lineJoin=m(d)?d:"round";d=c.a;this.c.lineWidth=m(d)?d:1;d=c.j;this.c.miterLimit=m(d)?d:10;this.c.lineWidth>this.g&&(this.g=this.c.lineWidth,this.f=null)};
function Qm(a,c,d){Gm.call(this,a,c,d);this.c={Vf:void 0,$c:void 0,Vc:void 0,Wc:null,Xc:void 0,Yc:void 0,Zc:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}w(Qm,Gm);
function Rm(a,c,d,e,f){var g=a.c,h=[1];a.a.push(h);a.b.push(h);var k,h=0;for(k=e.length;h<k;++h){var n=e[h],p=a.coordinates.length;d=Hm(a,c,d,n,f,!0);d=[8,p,d];p=[3];a.a.push(d,p);a.b.push(d,p);d=n}c=[7];a.b.push(c);m(g.fillStyle)&&a.a.push(c);m(g.strokeStyle)&&(g=[12],a.a.push(g),a.b.push(g));return d}l=Qm.prototype;
l.xc=function(a,c){var d=this.c,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){Sm(this);Im(this,c);this.b.push([9,Bg(Fl)]);m(d.strokeStyle)&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=a.o,e=this.coordinates.length;Hm(this,f,0,f.length,a.H,!1);f=[1];e=[2,e];this.a.push(f,e);this.b.push(f,e);e=[7];this.b.push(e);m(d.fillStyle)&&this.a.push(e);m(d.strokeStyle)&&(d=[12],this.a.push(d),this.b.push(d));Lm(this,c)}};
l.Tb=function(a,c){var d=this.c,e=d.strokeStyle;if(m(d.fillStyle)||m(e))Sm(this),Im(this,c),this.b.push([9,Bg(Fl)]),m(d.strokeStyle)&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=a.c,e=Lf(a),Rm(this,e,0,d,a.H),Lm(this,c)};
l.zc=function(a,c){var d=this.c,e=d.strokeStyle;if(m(d.fillStyle)||m(e)){Sm(this);Im(this,c);this.b.push([9,Bg(Fl)]);m(d.strokeStyle)&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=a.c,e=xm(a),f=a.H,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Rm(this,e,g,d[h],f);Lm(this,c)}};l.ee=function(){Km(this);this.c=null;var a=this.qa;if(0!==a){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=a*Math.round(c[d]/a)}};
l.Te=function(){null===this.f&&(this.f=Sd(this.Z),0<this.g&&Rd(this.f,this.resolution*(this.g+1)/2,this.f));return this.f};
l.Ia=function(a,c){var d=this.c;if(null===a)d.fillStyle=void 0;else{var e=a.b;d.fillStyle=Bg(null===e?Fl:e)}null===c?(d.strokeStyle=void 0,d.lineCap=void 0,d.lineDash=null,d.lineJoin=void 0,d.lineWidth=void 0,d.miterLimit=void 0):(e=c.b,d.strokeStyle=Bg(null===e?Hl:e),e=c.f,d.lineCap=m(e)?e:"round",e=c.c,d.lineDash=null===e?Gl:e.slice(),e=c.g,d.lineJoin=m(e)?e:"round",e=c.a,d.lineWidth=m(e)?e:1,e=c.j,d.miterLimit=m(e)?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.f=null))};
function Sm(a){var c=a.c,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,n=c.miterLimit;m(d)&&c.Vf!=d&&(a.a.push([9,d]),c.Vf=c.fillStyle);!m(e)||c.$c==e&&c.Vc==f&&c.Wc==g&&c.Xc==h&&c.Yc==k&&c.Zc==n||(a.a.push([10,e,k,f,h,n,g]),c.$c=e,c.Vc=f,c.Wc=g,c.Xc=h,c.Yc=k,c.Zc=n)}function Tm(a,c,d){Gm.call(this,a,c,d);this.ca=this.B=this.D=null;this.l="";this.u=this.v=this.A=this.C=0;this.i=this.j=this.c=null}w(Tm,Gm);
Tm.prototype.pb=function(a,c,d,e,f,g){if(""!==this.l&&null!==this.i&&(null!==this.c||null!==this.j)){if(null!==this.c){f=this.c;var h=this.D;if(null===h||h.fillStyle!=f.fillStyle){var k=[9,f.fillStyle];this.a.push(k);this.b.push(k);null===h?this.D={fillStyle:f.fillStyle}:h.fillStyle=f.fillStyle}}null!==this.j&&(f=this.j,h=this.B,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.a.push(k),this.b.push(k),null===h?this.B={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.i;h=this.ca;if(null===h||h.font!=f.font||h.textAlign!=f.textAlign||h.textBaseline!=f.textBaseline)k=
[11,f.font,f.textAlign,f.textBaseline],this.a.push(k),this.b.push(k),null===h?this.ca={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}:(h.font=f.font,h.textAlign=f.textAlign,h.textBaseline=f.textBaseline);Im(this,g);f=this.coordinates.length;a=Hm(this,a,c,d,e,!1);a=[5,f,a,this.l,this.C,this.A,this.v,this.u,null!==this.c,null!==this.j];this.a.push(a);this.b.push(a);Lm(this,g)}};
Tm.prototype.Ja=function(a){if(null===a)this.l="";else{var c=a.b;null===c?this.c=null:(c=c.b,c=Bg(null===c?Fl:c),null===this.c?this.c={fillStyle:c}:this.c.fillStyle=c);var d=a.j;if(null===d)this.j=null;else{var c=d.b,e=d.f,f=d.c,g=d.g,h=d.a,d=d.j,e=m(e)?e:"round",f=null!=f?f.slice():Gl,g=m(g)?g:"round",h=m(h)?h:1,d=m(d)?d:10,c=Bg(null===c?Hl:c);if(null===this.j)this.j={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c};else{var k=this.j;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=
h;k.miterLimit=d;k.strokeStyle=c}}var n=a.f,c=a.C,e=a.A,f=a.g,h=a.a,d=a.c,g=a.i,k=a.l;a=m(n)?n:"10px sans-serif";g=m(g)?g:"center";k=m(k)?k:"middle";null===this.i?this.i={font:a,textAlign:g,textBaseline:k}:(n=this.i,n.font=a,n.textAlign=g,n.textBaseline=k);this.l=m(d)?d:"";this.C=m(c)?c:0;this.A=m(e)?e:0;this.v=m(f)?f:0;this.u=m(h)?h:1}};function Um(a,c,d,e){this.l=a;this.c=c;this.i=d;this.f=e;this.a={};this.g=Wi(1,1);this.j=Cd()}
function Vm(a){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].ee()}}function Wm(a,c,d,e,f,g){var h=a.j;ok(h,.5,.5,1/d,-1/d,-e,-c[0],-c[1]);var k=a.g;k.clearRect(0,0,1,1);var n;m(a.f)&&(n=Nd(),Od(n,c),Rd(n,d*a.f,n));return Xm(a,k,h,e,f,function(a){if(0<k.getImageData(0,0,1,1).data[3]){if(a=g(a))return a;k.clearRect(0,0,1,1)}},n)}Um.prototype.b=function(a,c){var d=m(a)?a.toString():"0",e=this.a[d];m(e)||(e={},this.a[d]=e);d=e[c];m(d)||(d=new Ym[c](this.l,this.c,this.i),e[c]=d);return d};
Um.prototype.ya=function(){return zb(this.a)};function Zm(a,c,d,e,f,g){var h=Ua(vb(a.a),Number);gb(h);var k=a.c,n=k[0],p=k[1],q=k[2],k=k[3],n=[n,p,n,k,q,k,q,p];$e(n,0,8,2,e,n);c.save();c.beginPath();c.moveTo(n[0],n[1]);c.lineTo(n[2],n[3]);c.lineTo(n[4],n[5]);c.lineTo(n[6],n[7]);c.closePath();c.clip();for(var r,t,n=0,p=h.length;n<p;++n)for(r=a.a[h[n].toString()],q=0,k=Fm.length;q<k;++q)t=r[Fm[q]],m(t)&&Jm(t,c,d,e,f,g,t.a,void 0);c.restore()}
function Xm(a,c,d,e,f,g,h){var k=Ua(vb(a.a),Number);gb(k,function(a,c){return c-a});var n,p,q,r,t;n=0;for(p=k.length;n<p;++n)for(r=a.a[k[n].toString()],q=Fm.length-1;0<=q;--q)if(t=r[Fm[q]],m(t)&&(t=Jm(t,c,1,d,e,f,t.b,g,h)))return t}var Ym={Image:Mm,LineString:Nm,Polygon:Qm,Text:Tm};function $m(a,c,d){af.call(this);this.Cf(a,m(c)?c:0,d)}w($m,af);l=$m.prototype;l.clone=function(){var a=new $m(null);cf(a,this.a,this.o.slice());a.s();return a};l.Wa=function(a,c,d,e){var f=this.o;a-=f[0];var g=c-f[1];c=a*a+g*g;if(c<e){if(0===c)for(e=0;e<this.H;++e)d[e]=f[e];else for(e=this.mf()/Math.sqrt(c),d[0]=f[0]+e*a,d[1]=f[1]+e*g,e=2;e<this.H;++e)d[e]=f[e];d.length=this.H;return c}return e};l.ac=function(a,c){var d=this.o,e=a-d[0],d=c-d[1];return e*e+d*d<=an(this)};
l.hd=function(){return this.o.slice(0,this.H)};l.Bd=function(a){var c=this.o,d=c[this.H]-c[0];return Qd(c[0]-d,c[1]-d,c[0]+d,c[1]+d,a)};l.mf=function(){return Math.sqrt(an(this))};function an(a){var c=a.o[a.H]-a.o[0];a=a.o[a.H+1]-a.o[1];return c*c+a*a}l.W=function(){return"Circle"};l.ua=function(a){var c=this.R();return ke(a,c)?(c=this.hd(),a[0]<=c[0]&&a[2]>=c[0]||a[1]<=c[1]&&a[3]>=c[1]?!0:be(a,this.Ne,this)):!1};
l.cl=function(a){var c=this.H,d=a.slice();d[c]=d[0]+(this.o[c]-this.o[0]);var e;for(e=1;e<c;++e)d[c+e]=a[e];cf(this,this.a,d);this.s()};l.Cf=function(a,c,d){if(null===a)cf(this,"XY",null);else{df(this,d,a,0);null===this.o&&(this.o=[]);d=this.o;a=of(d,a);d[a++]=d[0]+c;var e;c=1;for(e=this.H;c<e;++c)d[a++]=d[c];d.length=a}this.s()};l.dl=function(a){this.o[this.H]=this.o[0]+a;this.s()};function bn(a){Ze.call(this);this.f=m(a)?a:null;cn(this)}w(bn,Ze);function dn(a){var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(a[d].clone());return c}function en(a){var c,d;if(null!==a.f)for(c=0,d=a.f.length;c<d;++c)Yc(a.f[c],"change",a.s,!1,a)}function cn(a){var c,d;if(null!==a.f)for(c=0,d=a.f.length;c<d;++c)x(a.f[c],"change",a.s,!1,a)}l=bn.prototype;l.clone=function(){var a=new bn(null);a.nh(this.f);return a};
l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;var f=this.f,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].Wa(a,c,d,e);return e};l.ac=function(a,c){var d=this.f,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].ac(a,c))return!0;return!1};l.Bd=function(a){Qd(Infinity,Infinity,-Infinity,-Infinity,a);for(var c=this.f,d=0,e=c.length;d<e;++d)$d(a,c[d].R());return a};l.Zf=function(){return dn(this.f)};
l.af=function(a){this.l!=this.b&&(Ab(this.g),this.j=0,this.l=this.b);if(0>a||0!==this.j&&a<this.j)return this;var c=a.toString();if(this.g.hasOwnProperty(c))return this.g[c];var d=[],e=this.f,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],n=k.af(a);d.push(n);n!==k&&(f=!0)}if(f)return a=new bn(null),en(a),a.f=d,cn(a),a.s(),this.g[c]=a;this.j=a;return this};l.W=function(){return"GeometryCollection"};l.ua=function(a){var c=this.f,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].ua(a))return!0;return!1};
l.ya=function(){return 0==this.f.length};l.nh=function(a){a=dn(a);en(this);this.f=a;cn(this);this.s()};l.Sb=function(a){var c=this.f,d,e;d=0;for(e=c.length;d<e;++d)c[d].Sb(a);this.s()};l.translate=function(a,c){var d=this.f,e,f;e=0;for(f=d.length;e<f;++e)d[e].translate(a,c);this.s()};l.Y=function(){en(this);bn.aa.Y.call(this)};function fn(a,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=a[c],h=a[c+1];else if(2==k)g=.5*a[c]+.5*a[c+e],h=.5*a[c+1]+.5*a[c+e+1];else{var h=a[c],k=a[c+1],n=0,g=[0],p;for(p=c+e;p<d;p+=e){var q=a[p],r=a[p+1],n=n+Math.sqrt((q-h)*(q-h)+(r-k)*(r-k));g.push(n);h=q;k=r}d=.5*n;for(var t,h=hb,k=0,n=g.length;k<n;)p=k+n>>1,q=h(d,g[p]),0<q?k=p+1:(n=p,t=!q);t=t?k:~k;0>t?(d=(d-g[-t-2])/(g[-t-1]-g[-t-2]),c+=(-t-2)*e,g=ac(a[c],a[c+e],d),h=ac(a[c+1],a[c+e+1],d)):(g=a[c+t*e],h=a[c+t*e+1])}return null!=f?
(f[0]=g,f[1]=h,f):[g,h]}function gn(a,c,d,e,f,g){if(d==c)return null;if(f<a[c+e-1])return g?(d=a.slice(c,c+e),d[e-1]=f,d):null;if(a[d-1]<f)return g?(d=a.slice(d-e,d),d[e-1]=f,d):null;if(f==a[c+e-1])return a.slice(c,c+e);c/=e;for(d/=e;c<d;)g=c+d>>1,f<a[(g+1)*e-1]?d=g:c=g+1;d=a[c*e-1];if(f==d)return a.slice((c-1)*e,(c-1)*e+e);g=(f-d)/(a[(c+1)*e-1]-d);d=[];var h;for(h=0;h<e-1;++h)d.push(ac(a[(c-1)*e+h],a[c*e+h],g));d.push(f);return d}
function hn(a,c,d,e,f,g){var h=0;if(g)return gn(a,h,c[c.length-1],d,e,f);if(e<a[d-1])return f?(a=a.slice(0,d),a[d-1]=e,a):null;if(a[a.length-1]<e)return f?(a=a.slice(a.length-d),a[d-1]=e,a):null;f=0;for(g=c.length;f<g;++f){var k=c[f];if(h!=k){if(e<a[h+d-1])break;if(e<=a[k-1])return gn(a,h,k,d,e,!1);h=k}}return null};function M(a,c){af.call(this);this.c=null;this.u=this.D=this.i=-1;this.ia(a,c)}w(M,af);l=M.prototype;l.ri=function(a){null===this.o?this.o=a.slice():cb(this.o,a);this.s()};l.clone=function(){var a=new M(null);jn(a,this.a,this.o.slice());return a};l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.u!=this.b&&(this.D=Math.sqrt(kf(this.o,0,this.o.length,this.H,0)),this.u=this.b);return mf(this.o,0,this.o.length,this.H,this.D,!1,a,c,d,e)};
l.Gi=function(a,c){return Df(this.o,0,this.o.length,this.H,a,c)};l.el=function(a,c){return"XYM"!=this.a&&"XYZM"!=this.a?null:gn(this.o,0,this.o.length,this.H,a,m(c)?c:!1)};l.U=function(){return rf(this.o,0,this.o.length,this.H)};l.fl=function(){var a=this.o,c=this.H,d=a[0],e=a[1],f=0,g;for(g=0+c;g<this.o.length;g+=c)var h=a[g],k=a[g+1],f=f+Math.sqrt((h-d)*(h-d)+(k-e)*(k-e)),d=h,e=k;return f};function vm(a){a.i!=a.b&&(a.c=fn(a.o,0,a.o.length,a.H,a.c),a.i=a.b);return a.c}
l.Bc=function(a){var c=[];c.length=tf(this.o,0,this.o.length,this.H,a,c,0);a=new M(null);jn(a,"XY",c);return a};l.W=function(){return"LineString"};l.ua=function(a){return Ef(this.o,0,this.o.length,this.H,a)};l.ia=function(a,c){null===a?jn(this,"XY",null):(df(this,c,a,1),null===this.o&&(this.o=[]),this.o.length=pf(this.o,0,a,this.H),this.s())};function jn(a,c,d){cf(a,c,d);a.s()};function kn(a,c){af.call(this);this.c=[];this.i=this.u=-1;this.ia(a,c)}w(kn,af);l=kn.prototype;l.si=function(a){null===this.o?this.o=a.o.slice():cb(this.o,a.o.slice());this.c.push(this.o.length);this.s()};l.clone=function(){var a=new kn(null);ln(a,this.a,this.o.slice(),this.c.slice());return a};l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;this.i!=this.b&&(this.u=Math.sqrt(lf(this.o,0,this.c,this.H,0)),this.i=this.b);return nf(this.o,0,this.c,this.H,this.u,!1,a,c,d,e)};
l.hl=function(a,c,d){return"XYM"!=this.a&&"XYZM"!=this.a||0===this.o.length?null:hn(this.o,this.c,this.H,a,m(c)?c:!1,m(d)?d:!1)};l.U=function(){return sf(this.o,0,this.c,this.H)};l.cj=function(a){if(0>a||this.c.length<=a)return null;var c=new M(null);jn(c,this.a,this.o.slice(0===a?0:this.c[a-1],this.c[a]));return c};l.ed=function(){var a=this.o,c=this.c,d=this.a,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],n=new M(null);jn(n,d,a.slice(f,k));e.push(n);f=k}return e};
function wm(a){var c=[],d=a.o,e=0,f=a.c;a=a.H;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=fn(d,e,k,a);cb(c,e);e=k}return c}l.Bc=function(a){var c=[],d=[],e=this.o,f=this.c,g=this.H,h=0,k=0,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],k=tf(e,h,q,g,a,c,k);d.push(k);h=q}c.length=k;a=new kn(null);ln(a,"XY",c,d);return a};l.W=function(){return"MultiLineString"};l.ua=function(a){a:{var c=this.o,d=this.c,e=this.H,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(Ef(c,f,d[g],e,a)){a=!0;break a}f=d[g]}a=!1}return a};
l.ia=function(a,c){if(null===a)ln(this,"XY",null,this.c);else{df(this,c,a,2);null===this.o&&(this.o=[]);var d=qf(this.o,0,a,this.H,this.c);this.o.length=0===d.length?0:d[d.length-1];this.s()}};function ln(a,c,d,e){cf(a,c,d);a.c=e;a.s()}function mn(a,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.a);cb(e,k.o);f.push(e.length)}ln(a,d,e,f)};function nn(a,c){af.call(this);this.ia(a,c)}w(nn,af);l=nn.prototype;l.ui=function(a){null===this.o?this.o=a.o.slice():cb(this.o,a.o);this.s()};l.clone=function(){var a=new nn(null);cf(a,this.a,this.o.slice());a.s();return a};l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;var f=this.o,g=this.H,h,k,n;h=0;for(k=f.length;h<k;h+=g)if(n=hf(a,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.U=function(){return rf(this.o,0,this.o.length,this.H)};
l.lj=function(a){var c=null===this.o?0:this.o.length/this.H;if(0>a||c<=a)return null;c=new xf(null);yf(c,this.a,this.o.slice(a*this.H,(a+1)*this.H));return c};l.de=function(){var a=this.o,c=this.a,d=this.H,e=[],f,g;f=0;for(g=a.length;f<g;f+=d){var h=new xf(null);yf(h,c,a.slice(f,f+d));e.push(h)}return e};l.W=function(){return"MultiPoint"};l.ua=function(a){var c=this.o,d=this.H,e,f,g,h;e=0;for(f=c.length;e<f;e+=d)if(g=c[e],h=c[e+1],Vd(a,g,h))return!0;return!1};
l.ia=function(a,c){null===a?cf(this,"XY",null):(df(this,c,a,1),null===this.o&&(this.o=[]),this.o.length=pf(this.o,0,a,this.H));this.s()};function on(a,c){af.call(this);this.c=[];this.u=-1;this.D=null;this.T=this.B=this.J=-1;this.i=null;this.ia(a,c)}w(on,af);l=on.prototype;l.vi=function(a){if(null===this.o)this.o=a.o.slice(),a=a.c.slice(),this.c.push();else{var c=this.o.length;cb(this.o,a.o);a=a.c.slice();var d,e;d=0;for(e=a.length;d<e;++d)a[d]+=c}this.c.push(a);this.s()};l.clone=function(){var a=new on(null),c=Gb(this.c);pn(a,this.a,this.o.slice(),c);return a};
l.Wa=function(a,c,d,e){if(e<Td(this.R(),a,c))return e;if(this.B!=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=lf(this.o,g,p,this.H,h),g=p[p.length-1];this.J=Math.sqrt(h);this.B=this.b}f=xm(this);g=this.c;h=this.H;k=this.J;n=0;var p=m(void 0)?void 0:[NaN,NaN],q,r;q=0;for(r=g.length;q<r;++q){var t=g[q];e=nf(f,n,t,h,k,!0,a,c,d,e,p);n=t[t.length-1]}return e};
l.ac=function(a,c){var d;a:{d=xm(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(Bf(d,f,k,this.H,a,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.il=function(){var a=xm(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+ff(a,d,h,this.H),d=h[h.length-1];return e};
l.U=function(a){var c;m(a)?(c=xm(this).slice(),Jf(c,this.c,this.H,a)):c=this.o;a=c;c=this.c;var d=this.H,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++]=sf(a,e,n,d,f[g]);e=n[n.length-1]}f.length=g;return f};
function ym(a){if(a.u!=a.b){var c=a.o,d=a.c,e=a.H,f=0,g=[],h,k,n=Nd();h=0;for(k=d.length;h<k;++h){var p=d[h],n=ae(Qd(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=xm(a);d=a.c;e=a.H;f=0;h=[];k=0;for(n=d.length;k<n;++k)p=d[k],h=Cf(c,f,p,e,g,2*k,h),f=p[p.length-1];a.D=h;a.u=a.b}return a.D}l.$i=function(){var a=new nn(null),c=ym(this).slice();cf(a,"XY",c);a.s();return a};
function xm(a){if(a.T!=a.b){var c=a.o,d;a:{d=a.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Hf(c,d[e],a.H,void 0)){d=!1;break a}d=!0}d?a.i=c:(a.i=c.slice(),a.i.length=Jf(a.i,a.c,a.H));a.T=a.b}return a.i}l.Bc=function(a){var c=[],d=[],e=this.o,f=this.c,g=this.H;a=Math.sqrt(a);var h=0,k=0,n,p;n=0;for(p=f.length;n<p;++n){var q=f[n],r=[],k=uf(e,h,q,g,a,c,k,r);d.push(r);h=q[q.length-1]}c.length=k;e=new on(null);pn(e,"XY",c,d);return e};
l.nj=function(a){if(0>a||this.c.length<=a)return null;var c;0===a?c=0:(c=this.c[a-1],c=c[c.length-1]);a=this.c[a].slice();var d=a[a.length-1];if(0!==c){var e,f;e=0;for(f=a.length;e<f;++e)a[e]-=c}e=new D(null);Kf(e,this.a,this.o.slice(c,d),a);return e};l.Md=function(){var a=this.a,c=this.o,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 D(null);Kf(k,a,c.slice(f,q),p);e.push(k);f=q}return e};l.W=function(){return"MultiPolygon"};
l.ua=function(a){a:{var c=xm(this),d=this.c,e=this.H,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(Ff(c,f,k,e,a)){a=!0;break a}f=k[k.length-1]}a=!1}return a};l.ia=function(a,c){if(null===a)pn(this,"XY",null,this.c);else{df(this,c,a,3);null===this.o&&(this.o=[]);var d=this.o,e=this.H,f=this.c,g=0,f=m(f)?f:[],h=0,k,n;k=0;for(n=a.length;k<n;++k)g=qf(d,g,a[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.o.length=0:(d=f[f.length-1],this.o.length=0===d.length?0:d[d.length-1]);this.s()}};
function pn(a,c,d,e){cf(a,c,d);a.c=e;a.s()}function qn(a,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.a);var p=e.length;k=n.c;var q,r;q=0;for(r=k.length;q<r;++q)k[q]+=p;cb(e,n.o);f.push(k)}pn(a,d,e,f)};function rn(a,c){return ma(a)-ma(c)}function sn(a,c){var d=.5*a/c;return d*d}function tn(a,c,d,e,f,g){var h=!1,k,n;k=d.j;null!==k&&(n=k.md(),2==n||3==n?k.Ff(f,g):(0==n&&k.load(),k.ff(f,g),h=!0));f=(0,d.g)(c);null!=f&&(e=f.af(e),(0,un[e.W()])(a,e,d,c));return h}
var un={Point:function(a,c,d,e){var f=d.j;if(null!==f){if(2!=f.md())return;var g=a.b(d.b,"Image");g.cb(f);g.ob(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),a.pb(c.U(),0,2,2,c,e))},LineString:function(a,c,d,e){var f=d.c;if(null!==f){var g=a.b(d.b,"LineString");g.Ia(null,f);g.yb(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),a.pb(vm(c),0,2,2,c,e))},Polygon:function(a,c,d,e){var f=d.f,g=d.c;if(null!==f||null!==g){var h=a.b(d.b,"Polygon");h.Ia(f,g);h.Tb(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),
a.pb(Mf(c),0,2,2,c,e))},MultiPoint:function(a,c,d,e){var f=d.j;if(null!==f){if(2!=f.md())return;var g=a.b(d.b,"Image");g.cb(f);g.nb(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),d=c.o,a.pb(d,0,d.length,c.H,c,e))},MultiLineString:function(a,c,d,e){var f=d.c;if(null!==f){var g=a.b(d.b,"LineString");g.Ia(null,f);g.yc(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),d=wm(c),a.pb(d,0,d.length,2,c,e))},MultiPolygon:function(a,c,d,e){var f=d.f,g=d.c;if(null!==g||null!==f){var h=a.b(d.b,"Polygon");h.Ia(f,
g);h.zc(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),d=ym(c),a.pb(d,0,d.length,2,c,e))},GeometryCollection:function(a,c,d,e){c=c.f;var f,g;f=0;for(g=c.length;f<g;++f)(0,un[c[f].W()])(a,c[f],d,e)},Circle:function(a,c,d,e){var f=d.f,g=d.c;if(null!==f||null!==g){var h=a.b(d.b,"Polygon");h.Ia(f,g);h.xc(c,e)}f=d.a;null!==f&&(a=a.b(d.b,"Text"),a.Ja(f),a.pb(c.hd(),0,2,2,c,e))}};function vn(a,c,d,e,f,g){this.f=m(g)?g:null;mk.call(this,a,c,d,m(g)?0:2,e);this.c=f;this.a=null}w(vn,mk);vn.prototype.getError=function(){return this.a};vn.prototype.i=function(a){a?(this.a=a,this.state=3):this.state=2;nk(this)};vn.prototype.load=function(){0==this.state&&(this.state=1,nk(this),this.f(ra(this.i,this)))};vn.prototype.b=function(){return this.c};function wn(a){Gh.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.A=m(a.resolutions)?a.resolutions:null}w(wn,Gh);function xn(a,c){if(null!==a.A){var d=ec(a.A,c,0);c=a.A[d]}return c}wn.prototype.l=function(a){a=a.target;switch(a.state){case 1:C(this,new yn(zn,a));break;case 2:C(this,new yn(An,a));break;case 3:C(this,new yn(Bn,a))}};function Cn(a,c){a.b().src=c}function yn(a,c){vc.call(this,a);this.image=c}w(yn,vc);
var zn="imageloadstart",An="imageloadend",Bn="imageloaderror";function Dn(a){wn.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:m(a.state)?a.state:void 0});this.Z=a.canvasFunction;this.J=null;this.X=0;this.ba=m(a.ratio)?a.ratio:1.5}w(Dn,wn);Dn.prototype.gc=function(a,c,d,e){c=xn(this,c);var f=this.J;if(null!==f&&this.X==this.b&&f.resolution==c&&f.g==d&&Wd(f.R(),a))return f;a=a.slice();ne(a,this.ba);e=this.Z(a,c,d,[le(a)/c*d,ie(a)/c*d],e);null===e||(f=new vn(a,c,d,this.j,e));this.J=f;this.X=this.b;return f};function En(a){id.call(this);this.ga=void 0;this.a="geometry";this.g=null;this.c=void 0;this.f=null;x(this,kd(this.a),this.Qd,!1,this);m(a)&&(a instanceof Ze||null===a?this.ta(a):this.I(a))}w(En,id);l=En.prototype;l.clone=function(){var a=new En(this.P());a.Lc(this.a);var c=this.V();null!=c&&a.ta(c.clone());c=this.g;null===c||a.jf(c);return a};l.V=function(){return this.get(this.a)};l.Xi=function(){return this.ga};l.Wi=function(){return this.a};l.Dk=function(){return this.g};l.Ek=function(){return this.c};
l.Fk=function(){this.s()};l.Qd=function(){null!==this.f&&(Zc(this.f),this.f=null);var a=this.V();null!=a&&(this.f=x(a,"change",this.Fk,!1,this));this.s()};l.ta=function(a){this.set(this.a,a)};l.jf=function(a){this.g=a;null===a?a=void 0:ka(a)||(a=ga(a)?a:[a],a=pe(a));this.c=a;this.s()};l.Qb=function(a){this.ga=a;this.s()};l.Lc=function(a){Yc(this,kd(this.a),this.Qd,!1,this);this.a=a;x(this,kd(this.a),this.Qd,!1,this);this.Qd()};function Fn(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0}function Gn(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(c){return!1}};function Hn(a,c,d){this.f=d;this.c=a;this.g=c;this.a=0;this.b=null}Hn.prototype.get=function(){var a;0<this.a?(this.a--,a=this.b,this.b=a.next,a.next=null):a=this.c();return a};function In(a,c){a.g(c);a.a<a.f&&(a.a++,c.next=a.b,a.b=c)};function Jn(){this.a=this.b=null}var Ln=new Hn(function(){return new Kn},function(a){a.reset()},100);Jn.prototype.add=function(a,c){var d=Ln.get();d.set(a,c);this.a?this.a.next=d:this.b=d;this.a=d};Jn.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.a=null),a.next=null);return a};function Kn(){this.next=this.a=this.b=null}Kn.prototype.set=function(a,c){this.b=a;this.a=c;this.next=null};Kn.prototype.reset=function(){this.next=this.a=this.b=null};function Mn(a,c){Nn||On();Pn||(Nn(),Pn=!0);Qn.add(a,c)}var Nn;function On(){if(ba.Promise&&ba.Promise.resolve){var a=ba.Promise.resolve(void 0);Nn=function(){a.then(Rn)}}else Nn=function(){ti(Rn)}}var Pn=!1,Qn=new Jn;function Rn(){for(var a=null;a=Qn.remove();){try{a.b.call(a.a)}catch(c){si(c)}In(Ln,a)}Pn=!1};function Sn(a,c){this.b=Tn;this.i=void 0;this.f=this.a=this.c=null;this.g=this.j=!1;if(a!=ca)try{var d=this;a.call(c,function(a){Un(d,Vn,a)},function(a){Un(d,Wn,a)})}catch(e){Un(this,Wn,e)}}var Tn=0,Vn=2,Wn=3;function Xn(){this.next=this.c=this.a=this.f=this.b=null;this.g=!1}Xn.prototype.reset=function(){this.c=this.a=this.f=this.b=null;this.g=!1};var Yn=new Hn(function(){return new Xn},function(a){a.reset()},100);function Zn(a,c,d){var e=Yn.get();e.f=a;e.a=c;e.c=d;return e}
Sn.prototype.then=function(a,c,d){return $n(this,ka(a)?a:null,ka(c)?c:null,d)};Fn(Sn);Sn.prototype.cancel=function(a){this.b==Tn&&Mn(function(){var c=new ao(a);bo(this,c)},this)};function bo(a,c){if(a.b==Tn)if(a.c){var d=a.c;if(d.a){for(var e=0,f=null,g=null,h=d.a;h&&(h.g||(e++,h.b==a&&(f=h),!(f&&1<e)));h=h.next)f||(g=h);f&&(d.b==Tn&&1==e?bo(d,c):(g?(e=g,e.next==d.f&&(d.f=e),e.next=e.next.next):co(d),eo(d,f,Wn,c)))}a.c=null}else Un(a,Wn,c)}
function fo(a,c){a.a||a.b!=Vn&&a.b!=Wn||go(a);a.f?a.f.next=c:a.a=c;a.f=c}function $n(a,c,d,e){var f=Zn(null,null,null);f.b=new Sn(function(a,h){f.f=c?function(d){try{var f=c.call(e,d);a(f)}catch(p){h(p)}}:a;f.a=d?function(c){try{var f=d.call(e,c);!m(f)&&c instanceof ao?h(c):a(f)}catch(p){h(p)}}:h});f.b.c=a;fo(a,f);return f.b}Sn.prototype.C=function(a){this.b=Tn;Un(this,Vn,a)};Sn.prototype.A=function(a){this.b=Tn;Un(this,Wn,a)};
function Un(a,c,d){if(a.b==Tn){a==d&&(c=Wn,d=new TypeError("Promise cannot resolve to itself"));a.b=1;var e;a:{var f=d,g=a.C,h=a.A;if(f instanceof Sn)fo(f,Zn(g||ca,h||null,a)),e=!0;else if(Gn(f))f.then(g,h,a),e=!0;else{if(la(f))try{var k=f.then;if(ka(k)){ho(f,k,g,h,a);e=!0;break a}}catch(n){h.call(a,n);e=!0;break a}e=!1}}e||(a.i=d,a.b=c,a.c=null,go(a),c!=Wn||d instanceof ao||io(a,d))}}
function ho(a,c,d,e,f){function g(a){k||(k=!0,e.call(f,a))}function h(a){k||(k=!0,d.call(f,a))}var k=!1;try{c.call(a,h,g)}catch(n){g(n)}}function go(a){a.j||(a.j=!0,Mn(a.l,a))}function co(a){var c=null;a.a&&(c=a.a,a.a=c.next,c.next=null);a.a||(a.f=null);return c}Sn.prototype.l=function(){for(var a=null;a=co(this);)eo(this,a,this.b,this.i);this.j=!1};
function eo(a,c,d,e){if(d==Wn&&c.a&&!c.g)for(;a&&a.g;a=a.c)a.g=!1;if(c.b)c.b.c=null,jo(c,d,e);else try{c.g?c.f.call(c.c):jo(c,d,e)}catch(f){ko.call(null,f)}In(Yn,c)}function jo(a,c,d){c==Vn?a.f.call(a.c,d):a.a&&a.a.call(a.c,d)}function io(a,c){a.g=!0;Mn(function(){a.g&&ko.call(null,c)})}var ko=si;function ao(a){xa.call(this,a)}w(ao,xa);ao.prototype.name="cancel";function lo(a,c,d){if(ka(a))d&&(a=ra(a,d));else if(a&&"function"==typeof a.handleEvent)a=ra(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<c?-1:ba.setTimeout(a,c||0)};var mo=ba.JSON.parse,no=ba.JSON.stringify;function oo(){}oo.prototype.b=null;function po(a){var c;(c=a.b)||(c={},qo(a)&&(c[0]=!0,c[1]=!0),c=a.b=c);return c};var ro;function so(){}w(so,oo);function to(a){return(a=qo(a))?new ActiveXObject(a):new XMLHttpRequest}function qo(a){if(!a.a&&"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),a.a=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.a}ro=new so;var uo=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function vo(a){if(wo){wo=!1;var c=ba.location;if(c){var d=c.href;if(d&&(d=(d=vo(d)[3]||null)?decodeURI(d):d)&&d!=c.hostname)throw wo=!0,Error();}}return a.match(uo)}var wo=Nb;
function xo(a,c){if(a)for(var d=a.split("&"),e=0;e<d.length;e++){var f=d[e].indexOf("="),g=null,h=null;0<=f?(g=d[e].substring(0,f),h=d[e].substring(f+1)):g=d[e];c(g,h?decodeURIComponent(h.replace(/\+/g," ")):"")}}function yo(a){if(a[1]){var c=a[0],d=c.indexOf("#");0<=d&&(a.push(c.substr(d)),a[0]=c=c.substr(0,d));d=c.indexOf("?");0>d?a[1]="?":d==c.length-1&&(a[1]=void 0)}return a.join("")}
function zo(a,c,d){if(ga(c))for(var e=0;e<c.length;e++)zo(a,String(c[e]),d);else null!=c&&d.push("&",a,""===c?"":"=",encodeURIComponent(String(c)))}function Ao(a,c){for(var d in c)zo(d,c[d],a);return a};function Bo(a){cd.call(this);this.J=new xi;this.l=a||null;this.b=!1;this.i=this.fa=null;this.g=this.T=this.v="";this.a=this.A=this.f=this.C=!1;this.j=0;this.c=null;this.u=Co;this.D=this.Z=!1}w(Bo,cd);var Co="",Do=/^https?$/i,Eo=["POST","PUT"];
function Fo(a,c){if(a.fa)throw Error("[goog.net.XhrIo] Object is active with another request="+a.v+"; newUri="+c);a.v=c;a.g="";a.T="GET";a.C=!1;a.b=!0;a.fa=a.l?to(a.l):to(ro);a.i=a.l?po(a.l):po(ro);a.fa.onreadystatechange=ra(a.B,a);try{a.A=!0,a.fa.open("GET",String(c),!0),a.A=!1}catch(d){Go(a,d);return}var e=a.J.clone(),f=Wa(e.O(),Ho),g=ba.FormData&&!1;!Ya(Eo,"GET")||f||g||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,c){this.fa.setRequestHeader(c,a)},
a);a.u&&(a.fa.responseType=a.u);"withCredentials"in a.fa&&(a.fa.withCredentials=a.Z);try{Io(a),0<a.j&&(a.D=Jo(a.fa),a.D?(a.fa.timeout=a.j,a.fa.ontimeout=ra(a.rc,a)):a.c=lo(a.rc,a.j,a)),a.f=!0,a.fa.send(""),a.f=!1}catch(h){Go(a,h)}}function Jo(a){return Kb&&Vb(9)&&ja(a.timeout)&&m(a.ontimeout)}function Ho(a){return"content-type"==a.toLowerCase()}
Bo.prototype.rc=function(){"undefined"!=typeof aa&&this.fa&&(this.g="Timed out after "+this.j+"ms, aborting",C(this,"timeout"),this.fa&&this.b&&(this.b=!1,this.a=!0,this.fa.abort(),this.a=!1,C(this,"complete"),C(this,"abort"),Ko(this)))};function Go(a,c){a.b=!1;a.fa&&(a.a=!0,a.fa.abort(),a.a=!1);a.g=c;Lo(a);Ko(a)}function Lo(a){a.C||(a.C=!0,C(a,"complete"),C(a,"error"))}Bo.prototype.Y=function(){this.fa&&(this.b&&(this.b=!1,this.a=!0,this.fa.abort(),this.a=!1),Ko(this,!0));Bo.aa.Y.call(this)};
Bo.prototype.B=function(){this.ca||(this.A||this.f||this.a?Mo(this):this.X())};Bo.prototype.X=function(){Mo(this)};function Mo(a){if(a.b&&"undefined"!=typeof aa&&(!a.i[1]||4!=No(a)||2!=Oo(a)))if(a.f&&4==No(a))lo(a.B,0,a);else if(C(a,"readystatechange"),4==No(a)){a.b=!1;try{if(Po(a))C(a,"complete"),C(a,"success");else{var c;try{c=2<No(a)?a.fa.statusText:""}catch(d){c=""}a.g=c+" ["+Oo(a)+"]";Lo(a)}}finally{Ko(a)}}}
function Ko(a,c){if(a.fa){Io(a);var d=a.fa,e=a.i[0]?ca:null;a.fa=null;a.i=null;c||C(a,"ready");try{d.onreadystatechange=e}catch(f){}}}function Io(a){a.fa&&a.D&&(a.fa.ontimeout=null);ja(a.c)&&(ba.clearTimeout(a.c),a.c=null)}
function Po(a){var c=Oo(a),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)a=vo(String(a.v))[1]||null,!a&&ba.self&&ba.self.location&&(a=ba.self.location.protocol,a=a.substr(0,a.length-1)),c=!Do.test(a?a.toLowerCase():"");d=c}return d}function No(a){return a.fa?a.fa.readyState:0}function Oo(a){try{return 2<No(a)?a.fa.status:-1}catch(c){return-1}}function Qo(a){try{return a.fa?a.fa.responseText:""}catch(c){return""}};function Ro(a){if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(a);if(a=a.xml)return a;throw Error("Your browser does not support serializing XML documents");};var So;a:if(document.implementation&&document.implementation.createDocument)So=document.implementation.createDocument("","",null);else{if("undefined"!=typeof ActiveXObject){var To=new ActiveXObject("MSXML2.DOMDocument");if(To){To.resolveExternals=!1;To.validateOnParse=!1;try{To.setProperty("ProhibitDTD",!0),To.setProperty("MaxXMLSize",2048),To.setProperty("MaxElementDepth",256)}catch(Uo){}}if(To){So=To;break a}}throw Error("Your browser does not support creating new documents");}var Vo=So;
function Wo(a,c){return Vo.createElementNS(a,c)}function Xo(a,c){null===a&&(a="");return Vo.createNode(1,c,a)}var Yo=document.implementation&&document.implementation.createDocument?Wo:Xo;function Zo(a,c){return $o(a,c,[]).join("")}function $o(a,c,d){if(4==a.nodeType||3==a.nodeType)c?d.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(a.nodeValue);else for(a=a.firstChild;null!==a;a=a.nextSibling)$o(a,c,d);return d}function ap(a){return a.localName}
function bp(a){var c=a.localName;return m(c)?c:a.baseName}var cp=Kb?bp:ap;function dp(a){return a instanceof Document}function ep(a){return la(a)&&9==a.nodeType}var fp=Kb?ep:dp;function gp(a){return a instanceof Node}function hp(a){return la(a)&&m(a.nodeType)}var ip=Kb?hp:gp;function jp(a,c,d){return a.getAttributeNS(c,d)||""}function kp(a,c,d){var e="";a=lp(a,c,d);m(a)&&(e=a.nodeValue);return e}var mp=document.implementation&&document.implementation.createDocument?jp:kp;
function np(a,c,d){return a.getAttributeNodeNS(c,d)}function op(a,c,d){var e=null;a=a.attributes;for(var f,g,h=0,k=a.length;h<k;++h)if(f=a[h],f.namespaceURI==c&&(g=f.prefix?f.prefix+":"+d:d,g==f.nodeName)){e=f;break}return e}var lp=document.implementation&&document.implementation.createDocument?np:op;function pp(a,c,d,e){a.setAttributeNS(c,d,e)}function qp(a,c,d,e){null===c?a.setAttribute(d,e):(c=a.ownerDocument.createNode(2,d,c),c.nodeValue=e,a.setAttributeNode(c))}
var rp=document.implementation&&document.implementation.createDocument?pp:qp;function sp(a){return(new DOMParser).parseFromString(a,"application/xml")}function tp(a,c){return function(d,e){var f=a.call(c,d,e);m(f)&&cb(e[e.length-1],f)}}function up(a,c){return function(d,e){var f=a.call(m(c)?c:this,d,e);m(f)&&e[e.length-1].push(f)}}function vp(a,c){return function(d,e){var f=a.call(m(c)?c:this,d,e);m(f)&&(e[e.length-1]=f)}}
function wp(a){return function(c,d){var e=a.call(m(void 0)?void 0:this,c,d);m(e)&&Db(d[d.length-1],m(void 0)?void 0:c.localName).push(e)}}function R(a,c){return function(d,e){var f=a.call(m(void 0)?void 0:this,d,e);m(f)&&(e[e.length-1][m(c)?c:d.localName]=f)}}function S(a,c){return function(d,e,f){a.call(m(c)?c:this,d,e,f);f[f.length-1].node.appendChild(d)}}function xp(a){var c,d;return function(e,f,g){if(!m(c)){c={};var h={};h[e.localName]=a;c[e.namespaceURI]=h;d=yp(e.localName)}zp(c,d,f,g)}}
function yp(a,c){return function(d,e,f){d=e[e.length-1].node;e=a;m(e)||(e=f);f=c;m(c)||(f=d.namespaceURI);return Yo(f,e)}}var Ap=yp();function Bp(a,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=a[c[f]];return e}function T(a,c,d){d=m(d)?d:{};var e,f;e=0;for(f=a.length;e<f;++e)d[a[e]]=c;return d}function Cp(a,c,d,e){for(c=c.firstElementChild;null!==c;c=c.nextElementSibling){var f=a[c.namespaceURI];m(f)&&(f=f[c.localName],m(f)&&f.call(e,c,d))}}
function U(a,c,d,e,f){e.push(a);Cp(c,d,e,f);return e.pop()}function zp(a,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)&&a[n.namespaceURI][n.localName].call(g,n,k,e))}function Dp(a,c,d,e,f,g,h){f.push(a);zp(c,d,e,f,g,h);f.pop()};function Ep(a,c,d){return function(e,f,g){var h=new Bo;h.u="text";x(h,"complete",function(a){a=a.target;if(Po(a)){var e=c.W(),f;if("json"==e)f=Qo(a);else if("text"==e)f=Qo(a);else if("xml"==e){if(!Kb)try{f=a.fa?a.fa.responseXML:null}catch(h){f=null}null!=f||(f=sp(Qo(a)))}null!=f&&(f=c.ra(f,{featureProjection:g}),d.call(this,f))}uc(a)},!1,this);ka(a)?Fo(h,a(e,f,g)):Fo(h,a)}}function Fp(a,c){return Ep(a,c,function(a){this.Rb(a)})};function Gp(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Hp,Ip;
(function(){var a={gb:{}};(function(){function c(a,d){if(!(this instanceof c))return new c(a,d);this.Ie=Math.max(4,a||9);this.Pf=Math.max(2,Math.ceil(.4*this.Ie));d&&this.ji(d);this.clear()}function d(a,c){a.bbox=e(a,0,a.children.length,c)}function e(a,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=a.children[c],f(g,a.Da?e(h):h.bbox);return g}function f(a,c){a[0]=Math.min(a[0],c[0]);a[1]=Math.min(a[1],c[1]);a[2]=Math.max(a[2],c[2]);a[3]=Math.max(a[3],c[3])}function g(a,c){return a.bbox[0]-
c.bbox[0]}function h(a,c){return a.bbox[1]-c.bbox[1]}function k(a){return(a[2]-a[0])*(a[3]-a[1])}function n(a){return a[2]-a[0]+(a[3]-a[1])}function p(a,c){return a[0]<=c[0]&&a[1]<=c[1]&&c[2]<=a[2]&&c[3]<=a[3]}function q(a,c){return c[0]<=a[2]&&c[1]<=a[3]&&c[2]>=a[0]&&c[3]>=a[1]}function r(a,c,d,e,f){for(var g=[c,d],h;g.length;)d=g.pop(),c=g.pop(),d-c<=e||(h=c+Math.ceil((d-c)/e/2)*e,t(a,c,d,h,f),g.push(c,h,h,d))}function t(a,c,d,e,f){for(var g,h,k,n,p;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g),
n=.5*Math.exp(2*k/3),p=.5*Math.sqrt(k*n*(g-n)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*n/g+p)),h=Math.min(d,Math.floor(e+(g-h)*n/g+p)),t(a,k,h,e,f));g=a[e];h=c;n=d;u(a,c,e);for(0<f(a[d],g)&&u(a,c,d);h<n;){u(a,h,n);h++;for(n--;0>f(a[h],g);)h++;for(;0<f(a[n],g);)n--}0===f(a[c],g)?u(a,c,n):(n++,u(a,n,d));n<=e&&(c=n+1);e<=n&&(d=n-1)}}function u(a,c,d){var e=a[c];a[c]=a[d];a[d]=e}c.prototype={all:function(){return this.Kf(this.data,[])},search:function(a){var c=this.data,d=[],e=this.La;if(!q(a,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.Da?e(k):k.bbox,q(a,n)&&(c.Da?d.push(k):p(a,n)?this.Kf(k,d):f.push(k));c=f.pop()}return d},load:function(a){if(!a||!a.length)return this;if(a.length<this.Pf){for(var c=0,d=a.length;c<d;c++)this.pa(a[c]);return this}a=this.Mf(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.Rf(this.data,a):(this.data.height<a.height&&(c=this.data,this.data=a,a=c),this.Of(a,this.data.height-a.height-1,
!0)):this.data=a;return this},pa:function(a){a&&this.Of(a,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Da:!0};return this},remove:function(a){if(!a)return this;for(var c=this.data,d=this.La(a),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.Da&&(k=c.children.indexOf(a),-1!==k)){c.children.splice(k,1);e.push(c);this.hi(e);break}n||c.Da||!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},La:function(a){return a},Le:function(a,c){return a[0]-c[0]},Me:function(a,c){return a[1]-c[1]},toJSON:function(){return this.data},Kf:function(a,c){for(var d=[];a;)a.Da?c.push.apply(c,a.children):d.push.apply(d,a.children),a=d.pop();return c},Mf:function(a,c,e,f){var g=e-c+1,h=this.Ie,k;if(g<=h)return k={children:a.slice(c,e+1),height:1,bbox:null,Da:!0},d(k,this.La),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(a,c,e,h,this.Le);c<=e;c+=h)for(p=Math.min(c+h-1,e),r(a,c,p,g,this.Me),n=c;n<=p;n+=g)q=Math.min(n+g-1,p),k.children.push(this.Mf(a,n,q,f-1));d(k,this.La);return k},gi:function(a,c,d,e){for(var f,g,h,n,p,q,r,t;;){e.push(c);if(c.Da||e.length-1===d)break;r=t=Infinity;f=0;for(g=c.children.length;f<g;f++){h=c.children[f];p=k(h.bbox);q=a;var u=h.bbox;q=(Math.max(u[2],q[2])-Math.min(u[0],q[0]))*(Math.max(u[3],
q[3])-Math.min(u[1],q[1]))-p;q<t?(t=q,r=p<r?p:r,n=h):q===t&&p<r&&(r=p,n=h)}c=n}return c},Of:function(a,c,d){var e=this.La;d=d?a.bbox:e(a);var e=[],g=this.gi(d,this.data,c,e);g.children.push(a);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Ie)this.mi(e,c),c--;else break;this.di(d,e,c)},mi:function(a,c){var e=a[c],f=e.children.length,g=this.Pf;this.ei(e,g,f);f={children:e.children.splice(this.fi(e,g,f)),height:e.height};e.Da&&(f.Da=!0);d(e,this.La);d(f,this.La);c?a[c-1].children.push(f):this.Rf(e,
f)},Rf:function(a,c){this.data={children:[a,c],height:a.height+1};d(this.data,this.La)},fi:function(a,c,d){var f,g,h,n,p,q,r;p=q=Infinity;for(f=c;f<=d-c;f++){g=e(a,0,f,this.La);h=e(a,f,d,this.La);var t=g,u=h;n=Math.max(t[0],u[0]);var Ga=Math.max(t[1],u[1]),eb=Math.min(t[2],u[2]),t=Math.min(t[3],u[3]);n=Math.max(0,eb-n)*Math.max(0,t-Ga);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},ei:function(a,c,d){var e=a.Da?this.Le:g,f=a.Da?this.Me:h,k=this.Lf(a,c,d,e);c=this.Lf(a,c,d,f);
k<c&&a.children.sort(e)},Lf:function(a,c,d,g){a.children.sort(g);g=this.La;var h=e(a,0,c,g),k=e(a,d-c,d,g),p=n(h)+n(k),q,r;for(q=c;q<d-c;q++)r=a.children[q],f(h,a.Da?g(r):r.bbox),p+=n(h);for(q=d-c-1;q>=c;q--)r=a.children[q],f(k,a.Da?g(r):r.bbox),p+=n(k);return p},di:function(a,c,d){for(;0<=d;d--)f(c[d].bbox,a)},hi:function(a){for(var c=a.length-1,e;0<=c;c--)0===a[c].children.length?0<c?(e=a[c-1].children,e.splice(e.indexOf(a[c]),1)):this.clear():d(a[c],this.La)},ji:function(a){var c=["return a"," - b",
";"];this.Le=new Function("a","b",c.join(a[0]));this.Me=new Function("a","b",c.join(a[1]));this.La=new Function("a","return [a"+a.join(", a")+"];")}};"undefined"!==typeof a?a.gb=c:"undefined"!==typeof self?self.b=c:window.b=c})();Hp=a.gb})();function Jp(a){this.a=Hp(a);this.b={}}l=Jp.prototype;l.pa=function(a,c){var d=[a[0],a[1],a[2],a[3],c];this.a.pa(d);this.b[ma(c)]=d};l.load=function(a,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=a[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[ma(h)]=g}this.a.load(d)};l.remove=function(a){a=ma(a);var c=this.b[a];Bb(this.b,a);return null!==this.a.remove(c)};function Kp(a,c,d){var e=ma(d);Zd(a.b[e].slice(0,4),c)||(a.remove(d),a.pa(c,d))}
function Lp(a){a=a.a.all();return Ua(a,function(a){return a[4]})}function Mp(a,c){var d=a.a.search(c);return Ua(d,function(a){return a[4]})}l.forEach=function(a,c){return Np(Lp(this),a,c)};function Op(a,c,d,e){return Np(Mp(a,c),d,e)}function Np(a,c,d){for(var e,f=0,g=a.length;f<g&&!(e=c.call(d,a[f]));f++);return e}l.ya=function(){return zb(this.b)};l.clear=function(){this.a.clear();this.b={}};l.R=function(){return this.a.data.bbox};function V(a){a=m(a)?a:{};Gh.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:m(a.wrapX)?a.wrapX:!0});this.X=ca;m(a.loader)?this.X=a.loader:m(a.url)&&(this.X=Fp(a.url,a.format));this.za=m(a.strategy)?a.strategy:Gp;var c=m(a.useSpatialIndex)?a.useSpatialIndex:!0;this.a=c?new Jp:null;this.Z=new Jp;this.f={};this.g={};this.l={};this.A={};this.c=null;var d,e;a.features instanceof ug?(d=a.features,e=d.a):ga(a.features)&&(e=a.features);c||m(d)||(d=new ug(e));m(e)&&
Pp(this,e);m(d)&&Qp(this,d)}w(V,Gh);l=V.prototype;l.Fc=function(a){var c=ma(a).toString();if(Rp(this,c,a)){Sp(this,c,a);var d=a.V();null!=d?(c=d.R(),null===this.a||this.a.pa(c,a)):this.f[c]=a;C(this,new Tp("addfeature",a))}this.s()};function Sp(a,c,d){a.A[c]=[x(d,"change",a.Mg,!1,a),x(d,"propertychange",a.Mg,!1,a)]}function Rp(a,c,d){var e=!0,f=d.ga;m(f)?f.toString()in a.g?e=!1:a.g[f.toString()]=d:a.l[c]=d;return e}l.Rb=function(a){Pp(this,a);this.s()};
function Pp(a,c){var d,e,f,g,h=[],k=[],n=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=ma(g).toString(),Rp(a,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=ma(g).toString();Sp(a,d,g);var p=g.V();null!=p?(d=p.R(),h.push(d),n.push(g)):a.f[d]=g}null===a.a||a.a.load(h,n);e=0;for(f=k.length;e<f;e++)C(a,new Tp("addfeature",k[e]))}
function Qp(a,c){var d=!1;x(a,"addfeature",function(a){d||(d=!0,c.push(a.feature),d=!1)});x(a,"removefeature",function(a){d||(d=!0,c.remove(a.feature),d=!1)});x(c,"add",function(a){d||(a=a.element,d=!0,this.Fc(a),d=!1)},!1,a);x(c,"remove",function(a){d||(a=a.element,d=!0,this.hc(a),d=!1)},!1,a);a.c=c}
l.clear=function(a){if(a){for(var c in this.A)Ra(this.A[c],Zc);null===this.c&&(this.A={},this.g={},this.l={})}else a=this.gh,null!==this.a&&(this.a.forEach(a,this),rb(this.f,a,this));null===this.c||this.c.clear();null===this.a||this.a.clear();this.Z.clear();this.f={};C(this,new Tp("clear"));this.s()};l.Re=function(a,c){if(null!==this.a)return this.a.forEach(a,c);if(null!==this.c)return this.c.forEach(a,c)};
function Up(a,c,d){a.Ac([c[0],c[1],c[0],c[1]],function(a){if(a.V().Ne(c))return d.call(void 0,a)})}l.Ac=function(a,c,d){if(null!==this.a)return Op(this.a,a,c,d);if(null!==this.c)return this.c.forEach(c,d)};l.zb=function(a,c,d,e){return this.Ac(a,d,e)};l.Se=function(a,c,d){return this.Ac(a,function(e){if(e.V().ua(a)&&(e=c.call(d,e)))return e})};l.Xe=function(){return this.c};l.Gc=function(){var a;null!==this.c?a=this.c.a:null!==this.a&&(a=Lp(this.a),zb(this.f)||cb(a,ub(this.f)));return a};
l.We=function(a){var c=[];Up(this,a,function(a){c.push(a)});return c};l.Hd=function(a){return Mp(this.a,a)};l.Ue=function(a){var c=a[0],d=a[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity];Op(this.a,h,function(a){var n=a.V(),p=g;g=n.Wa(c,d,f,g);g<p&&(e=a,a=Math.sqrt(g),h[0]=c-a,h[1]=d-a,h[2]=c+a,h[3]=d+a)});return e};l.R=function(){return this.a.R()};l.Ve=function(a){a=this.g[a.toString()];return m(a)?a:null};
l.Mg=function(a){a=a.target;var c=ma(a).toString(),d=a.V();null!=d?(d=d.R(),c in this.f?(delete this.f[c],null===this.a||this.a.pa(d,a)):null===this.a||Kp(this.a,d,a)):c in this.f||(null===this.a||this.a.remove(a),this.f[c]=a);d=a.ga;m(d)?(d=d.toString(),c in this.l?(delete this.l[c],this.g[d]=a):this.g[d]!==a&&(Vp(this,a),this.g[d]=a)):c in this.l||(Vp(this,a),this.l[c]=a);this.s();C(this,new Tp("changefeature",a))};l.ya=function(){return this.a.ya()&&zb(this.f)};
l.$b=function(a,c,d){var e=this.Z;a=this.za(a,c);var f,g;f=0;for(g=a.length;f<g;++f){var h=a[f];Op(e,h,function(a){return Wd(a.extent,h)})||(this.X.call(this,h,c,d),e.pa(h,{extent:h.slice()}))}};l.hc=function(a){var c=ma(a).toString();c in this.f?delete this.f[c]:null===this.a||this.a.remove(a);this.gh(a);this.s()};l.gh=function(a){var c=ma(a).toString();Ra(this.A[c],Zc);delete this.A[c];var d=a.ga;m(d)?delete this.g[d.toString()]:delete this.l[c];C(this,new Tp("removefeature",a))};
function Vp(a,c){for(var d in a.g)if(a.g[d]===c){delete a.g[d];break}}function Tp(a,c){vc.call(this,a);this.feature=c}w(Tp,vc);function Wp(a){this.a=a.source;this.da=Cd();this.c=Wi();this.f=[0,0];this.u=null;Dn.call(this,{attributions:a.attributions,canvasFunction:ra(this.xi,this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.a.v});this.B=null;this.g=void 0;this.Jg(a.style);x(this.a,"change",this.Ql,void 0,this)}w(Wp,Dn);l=Wp.prototype;
l.xi=function(a,c,d,e,f){var g=new Um(.5*c/d,a,c);this.a.$b(a,c,f);var h=!1;this.a.zb(a,c,function(a){var e;if(!(e=h)){var f;m(a.c)?f=a.c.call(a,c):m(this.g)&&(f=this.g(a,c));if(null!=f){var q,r=!1;e=0;for(q=f.length;e<q;++e)r=tn(g,a,f[e],sn(c,d),this.Pl,this)||r;e=r}else e=!1}h=e},this);Vm(g);if(h)return null;this.f[0]!=e[0]||this.f[1]!=e[1]?(this.c.canvas.width=e[0],this.c.canvas.height=e[1],this.f[0]=e[0],this.f[1]=e[1]):this.c.clearRect(0,0,e[0],e[1]);a=Xp(this,ge(a),c,d,e);Zm(g,this.c,d,a,0,
{});this.u=g;return this.c.canvas};l.he=function(a,c,d,e,f){if(null!==this.u){var g={};return Wm(this.u,a,c,0,e,function(a){var c=ma(a).toString();if(!(c in g))return g[c]=!0,f(a)})}};l.Ml=function(){return this.a};l.Nl=function(){return this.B};l.Ol=function(){return this.g};function Xp(a,c,d,e,f){return ok(a.da,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.Pl=function(){this.s()};l.Ql=function(){Ih(this,this.a.v)};l.Jg=function(a){this.B=m(a)?a:Ol;this.g=null===a?void 0:Ml(this.B);this.s()};function Yp(a){Am.call(this,a);this.g=null;this.j=Cd();this.c=this.f=null}w(Yp,Am);l=Yp.prototype;l.Ta=function(a,c,d,e){var f=this.a;return f.ea().he(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
l.fc=function(a,c,d,e){if(!fa(this.ld()))if(this.a.ea()instanceof Wp){if(a=a.slice(),qk(c.pixelToCoordinateMatrix,a,a),this.Ta(a,c,re,this))return d.call(e,this.a)}else if(null===this.f&&(this.f=Cd(),Id(this.j,this.f)),c=Dm(a,this.f),null===this.c&&(this.c=Wi(1,1)),this.c.clearRect(0,0,1,1),this.c.drawImage(this.ld(),c[0],c[1],1,1,0,0,1,1),0<this.c.getImageData(0,0,1,1).data[3])return d.call(e,this.a)};l.ld=function(){return null===this.g?null:this.g.b()};l.Ze=function(){return this.j};
l.ge=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=e.rotation,k,n=this.a.ea(),p=a.viewHints;k=a.extent;m(c.extent)&&(k=je(k,c.extent));p[0]||p[1]||me(k)||(e=e.projection,p=n.i,null===p||(e=p),k=n.gc(k,g,d,e),null!==k&&tk(this,k)&&(this.g=k));if(null!==this.g){k=this.g;var e=k.R(),p=k.resolution,q=k.g,g=d*p/(g*q);ok(this.j,d*a.size[0]/2,d*a.size[1]/2,g,g,h,q*(e[0]-f[0])/p,q*(f[1]-e[3])/p);this.f=null;vk(a.attributions,k.j);wk(a,n)}return!0};function Zp(a){Am.call(this,a);this.c=this.j=null;this.C=!1;this.i=null;this.A=Cd();this.g=null;this.D=this.B=this.u=NaN;this.l=this.f=null;this.T=[0,0]}w(Zp,Am);Zp.prototype.ld=function(){return this.j};Zp.prototype.Ze=function(){return this.A};
Zp.prototype.ge=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.ea(),k=Wh(h,f),n=h.Id(),p=Rh(k,e.resolution),q=h.Xb(p,a.pixelRatio,f),r=q[0]/od(k.Ka(p),this.T)[0],t=k.xa(p),r=t/r,u=e.center,B;t==e.resolution?(u=yk(u,t,a.size),B=he(u,t,e.rotation,a.size)):B=a.extent;m(c.extent)&&(B=je(B,c.extent));if(me(B))return!1;var z=Ph(k,B,t),E=q[0]*qg(z),A=q[1]*(z.c-z.a+1),y,N;null===this.j?(N=Wi(E,A),this.j=N.canvas,this.c=[E,A],this.i=N,this.C=!Em(this.c)):(y=this.j,N=this.i,this.c[0]<
E||this.c[1]<A||this.B!==q[0]||this.D!==q[1]||this.C&&(this.c[0]>E||this.c[1]>A)?(y.width=E,y.height=A,this.c=[E,A],this.C=!Em(this.c),this.f=null):(E=this.c[0],A=this.c[1],(y=p!=this.u)||(y=this.f,y=!(y.b<=z.b&&z.f<=y.f&&y.a<=z.a&&z.c<=y.c)),y&&(this.f=null)));var O,I;null===this.f?(E/=q[0],A/=q[1],O=z.b-Math.floor((E-qg(z))/2),I=z.a-Math.floor((A-(z.c-z.a+1))/2),this.u=p,this.B=q[0],this.D=q[1],this.f=new og(O,O+E-1,I,I+A-1),this.l=Array(E*A),A=this.f):(A=this.f,E=qg(A));y={};y[p]={};var Q=[],wa=
this.Dd(h,y),Sa=g.c(),P=Nd(),Ga=new og(0,0,0,0),eb,Na,Fb;for(I=z.b;I<=z.f;++I)for(Fb=z.a;Fb<=z.c;++Fb)Na=h.Wb(p,I,Fb,d,f),O=Na.state,2==O||4==O||3==O&&!Sa?y[p][hg(Na.b)]=Na:(eb=Mh(k,Na.b,wa,Ga,P),eb||(Q.push(Na),eb=Oh(k,Na.b,Ga,P),null===eb||wa(p+1,eb)));wa=0;for(eb=Q.length;wa<eb;++wa)Na=Q[wa],I=q[0]*(Na.b[1]-A.b),Fb=q[1]*(A.c-Na.b[2]),N.clearRect(I,Fb,q[0],q[1]);Q=Ua(vb(y),Number);gb(Q);var $a=h.ba,Ic=fe(Nh(k,[p,A.b,A.c],P)),nc,Se,xj,di,Vf,um,wa=0;for(eb=Q.length;wa<eb;++wa)if(nc=Q[wa],q=h.Xb(nc,
d,f),di=y[nc],nc==p)for(xj in di)Na=di[xj],Se=(Na.b[2]-A.a)*E+(Na.b[1]-A.b),this.l[Se]!=Na&&(I=q[0]*(Na.b[1]-A.b),Fb=q[1]*(A.c-Na.b[2]),O=Na.state,4!=O&&(3!=O||Sa)&&$a||N.clearRect(I,Fb,q[0],q[1]),2==O&&N.drawImage(Na.Ra(),n,n,q[0],q[1],I,Fb,q[0],q[1]),this.l[Se]=Na);else for(xj in nc=k.xa(nc)/t,di)for(Na=di[xj],Se=Nh(k,Na.b,P),I=(Se[0]-Ic[0])/r,Fb=(Ic[1]-Se[3])/r,um=nc*q[0],Vf=nc*q[1],O=Na.state,4!=O&&$a||N.clearRect(I,Fb,um,Vf),2==O&&N.drawImage(Na.Ra(),n,n,q[0],q[1],I,Fb,um,Vf),Na=mg(k,Se,p,Ga),
O=Math.max(Na.b,A.b),Fb=Math.min(Na.f,A.f),I=Math.max(Na.a,A.a),Na=Math.min(Na.c,A.c);O<=Fb;++O)for(Vf=I;Vf<=Na;++Vf)Se=(Vf-A.a)*E+(O-A.b),this.l[Se]=void 0;xk(a.usedTiles,h,p,z);zk(a,h,k,d,f,B,p,g.a());uk(a,h);wk(a,h);ok(this.A,d*a.size[0]/2,d*a.size[1]/2,d*r/e.resolution,d*r/e.resolution,e.rotation,(Ic[0]-u[0])/r,(u[1]-Ic[1])/r);this.g=null;return!0};
Zp.prototype.fc=function(a,c,d,e){if(null!==this.i&&(null===this.g&&(this.g=Cd(),Id(this.A,this.g)),a=Dm(a,this.g),0<this.i.getImageData(a[0],a[1],1,1).data[3]))return d.call(e,this.a)};function $p(a){Am.call(this,a);this.f=!1;this.C=-1;this.l=NaN;this.j=Nd();this.c=this.i=null;this.g=Wi()}w($p,Am);
$p.prototype.v=function(a,c,d){var e=a.extent,f=a.pixelRatio,g=c.Ib?a.skippedFeatureUids:{},h=a.viewState,k=h.projection,h=h.rotation,n=k.R(),p=this.a.ea(),q=Cm(this,a,0);Bm(this,"precompose",d,a,q);var r=this.c;if(null!==r&&!r.ya()){var t;ed(this.a,"render")?(this.g.canvas.width=d.canvas.width,this.g.canvas.height=d.canvas.height,t=this.g):t=d;var u=t.globalAlpha;t.globalAlpha=c.opacity;Zm(r,t,f,q,h,g);if(p.D&&k.g&&!Wd(n,e)){c=e[0];k=le(n);for(p=0;c<n[0];)--p,q=k*p,q=Cm(this,a,q),Zm(r,t,f,q,h,g),
c+=k;p=0;for(c=e[2];c>n[2];)++p,q=k*p,q=Cm(this,a,q),Zm(r,t,f,q,h,g),c-=k;q=Cm(this,a,0)}t!=d&&(Bm(this,"render",t,a,q),d.drawImage(t.canvas,0,0));t.globalAlpha=u}Bm(this,"postcompose",d,a,q)};$p.prototype.Ta=function(a,c,d,e){if(null!==this.c){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[ma(h)],n={};return Wm(this.c,a,f,g,k.Ib?c.skippedFeatureUids:{},function(a){var c=ma(a).toString();if(!(c in n))return n[c]=!0,d.call(e,a,h)})}};$p.prototype.A=function(){sk(this)};
$p.prototype.ge=function(a){function c(a){var c;m(a.c)?c=a.c.call(a,p):m(d.a)&&(c=(0,d.a)(a,p));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=tn(t,a,c[e],sn(p,q),this.A,this)||g;a=g}else a=!1;this.f=this.f||a}}var d=this.a,e=d.ea();vk(a.attributions,e.j);wk(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.D,k=d.B;if(!this.f&&!h&&f||!k&&g)return!0;var n=a.extent,k=a.viewState,f=k.projection,p=k.resolution,q=a.pixelRatio,g=d.b,r=d.c,h=d.get("renderOrder");m(h)||(h=rn);n=Rd(n,r*p);
r=k.projection.R();e.D&&k.projection.g&&!Wd(r,a.extent)&&(a=Math.max(le(n)/2,le(r)),n[0]=r[0]-a,n[2]=r[2]+a);if(!this.f&&this.l==p&&this.C==g&&this.i==h&&Wd(this.j,n))return!0;uc(this.c);this.c=null;this.f=!1;var t=new Um(.5*p/q,n,p,d.c);e.$b(n,p,f);if(null===h)e.zb(n,p,c,this);else{var u=[];e.zb(n,p,function(a){u.push(a)},this);gb(u,h);Ra(u,c,this)}Vm(t);this.l=p;this.C=g;this.i=h;this.j=n;this.c=t;return!0};function aq(a,c){Fk.call(this,0,c);this.c=Wi();this.b=this.c.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";Vg(a,this.b,0);this.a=!0;this.g=Cd()}w(aq,Fk);aq.prototype.Oe=function(a){return a instanceof J?new Yp(a):a instanceof K?new Zp(a):a instanceof L?new $p(a):null};
function bq(a,c,d){var e=a.j,f=a.c;if(ed(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,n=d.pixelRatio,p=d.viewState,q=p.resolution;a=ok(a.g,a.b.width/2,a.b.height/2,n/q,-n/q,-p.rotation,-p.center[0],-p.center[1]);g=new mm(f,h,g,a,k);C(e,new kk(c,e,g,d,f,null));zm(g)}}aq.prototype.W=function(){return"canvas"};
aq.prototype.ve=function(a){if(null===a)this.a&&(rh(this.b,!1),this.a=!1);else{var c=this.c,d=a.size[0]*a.pixelRatio,e=a.size[1]*a.pixelRatio;this.b.width!=d||this.b.height!=e?(this.b.width=d,this.b.height=e):c.clearRect(0,0,this.b.width,this.b.height);Gk(a);bq(this,"precompose",a);d=a.layerStatesArray;ib(d);var e=a.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=Ik(this,h),lk(k,e)&&"ready"==k.v&&h.ge(a,k)&&h.v(a,k,c);bq(this,"postcompose",a);this.a||(rh(this.b,!0),this.a=
!0);Jk(this,a);a.postRenderFunctions.push(Hk)}};function cq(a,c){rk.call(this,a);this.target=c}w(cq,rk);cq.prototype.g=ca;cq.prototype.l=ca;function dq(a){var c=Sg("DIV");c.style.position="absolute";cq.call(this,a,c);this.c=null;this.f=Ed()}w(dq,cq);dq.prototype.Ta=function(a,c,d,e){var f=this.a;return f.ea().he(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};dq.prototype.g=function(){Ug(this.target);this.c=null};
dq.prototype.j=function(a,c){var d=a.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.c,k=this.a.ea(),n=a.viewHints,p=a.extent;m(c.extent)&&(p=je(p,c.extent));n[0]||n[1]||me(p)||(d=d.projection,n=k.i,null===n||(d=n),p=k.gc(p,f,a.pixelRatio,d),null===p||tk(this,p)&&(h=p));null!==h&&(d=h.R(),n=h.resolution,p=Cd(),ok(p,a.size[0]/2,a.size[1]/2,n/f,n/f,g,(d[0]-e[0])/n,(e[1]-d[3])/n),h!=this.c&&(e=h.b(this),e.style.maxWidth="none",e.style.position="absolute",Ug(this.target),this.target.appendChild(e),
this.c=h),pk(p,this.f)||($i(this.target,p),Fd(this.f,p)),vk(a.attributions,h.j),wk(a,k));return!0};function eq(a){var c=Sg("DIV");c.style.position="absolute";cq.call(this,a,c);this.f=!0;this.C=1;this.i=0;this.c={}}w(eq,cq);eq.prototype.g=function(){Ug(this.target);this.i=0};
eq.prototype.j=function(a,c){if(!c.visible)return this.f&&(rh(this.target,!1),this.f=!1),!0;var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.ea(),k=Wh(h,f),n=h.Id(),p=Rh(k,e.resolution),q=k.xa(p),r=e.center,t;q==e.resolution?(r=yk(r,q,a.size),t=he(r,q,e.rotation,a.size)):t=a.extent;m(c.extent)&&(t=je(t,c.extent));var q=Ph(k,t,q),u={};u[p]={};var B=this.Dd(h,u),z=g.c(),E=Nd(),A=new og(0,0,0,0),y,N,O,I;for(O=q.b;O<=q.f;++O)for(I=q.a;I<=q.c;++I)y=h.Wb(p,O,I,d,f),N=y.state,2==N?u[p][hg(y.b)]=
y:4==N||3==N&&!z||(N=Mh(k,y.b,B,A,E),N||(y=Oh(k,y.b,A,E),null===y||B(p+1,y)));var Q;if(this.i!=h.b){for(Q in this.c)z=this.c[+Q],Wg(z.target);this.c={};this.i=h.b}E=Ua(vb(u),Number);gb(E);var B={},wa;O=0;for(I=E.length;O<I;++O){Q=E[O];Q in this.c?z=this.c[Q]:(z=k.Pd(r,Q),z=new fq(k,z),B[Q]=!0,this.c[Q]=z);Q=u[Q];for(wa in Q){y=z;N=Q[wa];var Sa=n,P=N.b,Ga=P[0],eb=P[1],Na=P[2],P=hg(P);if(!(P in y.a)){var Ga=od(y.f.Ka(Ga),y.l),Fb=N.Ra(y),$a=Fb.style;$a.maxWidth="none";var Ic=void 0,nc=void 0;0<Sa?(Ic=
Sg("DIV"),nc=Ic.style,nc.overflow="hidden",nc.width=Ga[0]+"px",nc.height=Ga[1]+"px",$a.position="absolute",$a.left=-Sa+"px",$a.top=-Sa+"px",$a.width=Ga[0]+2*Sa+"px",$a.height=Ga[1]+2*Sa+"px",Ic.appendChild(Fb)):($a.width=Ga[0]+"px",$a.height=Ga[1]+"px",Ic=Fb,nc=$a);nc.position="absolute";nc.left=(eb-y.c[1])*Ga[0]+"px";nc.top=(y.c[2]-Na)*Ga[1]+"px";null===y.b&&(y.b=document.createDocumentFragment());y.b.appendChild(Ic);y.a[P]=N}}null!==z.b&&(z.target.appendChild(z.b),z.b=null)}n=Ua(vb(this.c),Number);
gb(n);O=Cd();wa=0;for(E=n.length;wa<E;++wa)if(Q=n[wa],z=this.c[Q],Q in u)if(y=z.i,I=z.j,ok(O,a.size[0]/2,a.size[1]/2,y/e.resolution,y/e.resolution,e.rotation,(I[0]-r[0])/y,(r[1]-I[1])/y),I=z,y=O,pk(y,I.g)||($i(I.target,y),Fd(I.g,y)),Q in B){for(--Q;0<=Q;--Q)if(Q in this.c){I=this.c[Q].target;I.parentNode&&I.parentNode.insertBefore(z.target,I.nextSibling);break}0>Q&&Vg(this.target,z.target,0)}else{if(!a.viewHints[0]&&!a.viewHints[1]){N=mg(z.f,t,z.c[0],A);Q=[];y=I=void 0;for(y in z.a)I=z.a[y],N.contains(I.b)||
Q.push(I);Sa=N=void 0;N=0;for(Sa=Q.length;N<Sa;++N)I=Q[N],y=hg(I.b),Wg(I.Ra(z)),delete z.a[y]}}else Wg(z.target),delete this.c[Q];c.opacity!=this.C&&(this.C=this.target.style.opacity=c.opacity);c.visible&&!this.f&&(rh(this.target,!0),this.f=!0);xk(a.usedTiles,h,p,q);zk(a,h,k,d,f,t,p,g.a());uk(a,h);wk(a,h);return!0};
function fq(a,c){this.target=Sg("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.f=a;this.c=c;this.j=fe(Nh(a,c));this.i=a.xa(c[0]);this.a={};this.b=null;this.g=Ed();this.l=[0,0]};function gq(a){this.i=Wi();var c=this.i.canvas;c.style.maxWidth="none";c.style.position="absolute";cq.call(this,a,c);this.f=!1;this.u=-1;this.v=NaN;this.C=Nd();this.c=this.A=null;this.B=Cd();this.D=Cd()}w(gq,cq);
gq.prototype.l=function(a,c){var d=a.viewState,e=d.center,f=d.rotation,g=d.resolution,d=a.pixelRatio,h=a.size[0],k=a.size[1],n=h*d,p=k*d,e=ok(this.B,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.i;g.canvas.width=n;g.canvas.height=p;h=ok(this.D,0,0,1/d,1/d,0,-(n-h)/2*d,-(p-k)/2*d);$i(g.canvas,h);hq(this,"precompose",a,e);h=this.c;null===h||h.ya()||(g.globalAlpha=c.opacity,Zm(h,g,d,e,f,c.Ib?a.skippedFeatureUids:{}),hq(this,"render",a,e));hq(this,"postcompose",a,e)};
function hq(a,c,d,e){var f=a.i;a=a.a;ed(a,c)&&(e=new mm(f,d.pixelRatio,d.extent,e,d.viewState.rotation),C(a,new kk(c,a,e,d,f,null)),zm(e))}gq.prototype.Ta=function(a,c,d,e){if(null!==this.c){var f=c.viewState.resolution,g=c.viewState.rotation,h=this.a,k=c.layerStates[ma(h)],n={};return Wm(this.c,a,f,g,k.Ib?c.skippedFeatureUids:{},function(a){var c=ma(a).toString();if(!(c in n))return n[c]=!0,d.call(e,a,h)})}};gq.prototype.J=function(){sk(this)};
gq.prototype.j=function(a){function c(a){var c;m(a.c)?c=a.c.call(a,n):m(d.a)&&(c=(0,d.a)(a,n));if(null!=c){if(null!=c){var e,f,g=!1;e=0;for(f=c.length;e<f;++e)g=tn(q,a,c[e],sn(n,p),this.J,this)||g;a=g}else a=!1;this.f=this.f||a}}var d=this.a,e=d.ea();vk(a.attributions,e.j);wk(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.D,k=d.B;if(!this.f&&!h&&f||!k&&g)return!0;var g=a.extent,h=a.viewState,f=h.projection,n=h.resolution,p=a.pixelRatio;a=d.b;k=d.c;h=d.get("renderOrder");m(h)||(h=rn);g=Rd(g,k*n);if(!this.f&&
this.v==n&&this.u==a&&this.A==h&&Wd(this.C,g))return!0;uc(this.c);this.c=null;this.f=!1;var q=new Um(.5*n/p,g,n,d.c);e.$b(g,n,f);if(null===h)e.zb(g,n,c,this);else{var r=[];e.zb(g,n,function(a){r.push(a)},this);gb(r,h);Ra(r,c,this)}Vm(q);this.v=n;this.u=a;this.A=h;this.C=g;this.c=q;return!0};function iq(a,c){Fk.call(this,0,c);this.a=null;this.a=Wi();var d=this.a.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";Vg(a,d,0);this.g=Cd();this.b=Sg("DIV");this.b.className="ol-unselectable";d=this.b.style;d.position="absolute";d.width="100%";d.height="100%";x(this.b,"touchstart",xc);Vg(a,this.b,0);this.c=!0}w(iq,Fk);iq.prototype.Y=function(){Wg(this.b);iq.aa.Y.call(this)};
iq.prototype.Oe=function(a){if(a instanceof J)a=new dq(a);else if(a instanceof K)a=new eq(a);else if(a instanceof L)a=new gq(a);else return null;return a};function jq(a,c,d){var e=a.j;if(ed(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,n=a.a,p=n.canvas;ok(a.g,p.width/2,p.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);a=new mm(n,g,f,a.g,k);C(e,new kk(c,e,a,d,n,null));zm(a)}}iq.prototype.W=function(){return"dom"};
iq.prototype.ve=function(a){if(null===a)this.c&&(rh(this.b,!1),this.c=!1);else{var c;c=function(a,c){Vg(this.b,a,c)};var d=this.j;if(ed(d,"precompose")||ed(d,"postcompose")){var d=this.a.canvas,e=a.pixelRatio;d.width=a.size[0]*e;d.height=a.size[1]*e}jq(this,"precompose",a);d=a.layerStatesArray;ib(d);var e=a.viewState.resolution,f,g,h,k;f=0;for(g=d.length;f<g;++f)k=d[f],h=k.layer,h=Ik(this,h),c.call(this,h.target,f),lk(k,e)&&"ready"==k.v?h.j(a,k)&&h.l(a,k):h.g();c=a.layerStates;for(var n in this.f)n in
c||(h=this.f[n],Wg(h.target));this.c||(rh(this.b,!0),this.c=!0);Gk(a);Jk(this,a);a.postRenderFunctions.push(Hk);jq(this,"postcompose",a)}};function kq(a){this.b=a}function lq(a){this.b=a}w(lq,kq);lq.prototype.W=function(){return 35632};function mq(a){this.b=a}w(mq,kq);mq.prototype.W=function(){return 35633};function nq(){this.b="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;}"}w(nq,lq);da(nq);
function oq(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.,0.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}w(oq,mq);da(oq);
function pq(a,c){this.A=a.getUniformLocation(c,"k");this.l=a.getUniformLocation(c,"j");this.C=a.getUniformLocation(c,"i");this.j=a.getUniformLocation(c,"l");this.i=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"e");this.a=a.getAttribLocation(c,"f");this.f=a.getAttribLocation(c,"c");this.c=a.getAttribLocation(c,"g");this.g=a.getAttribLocation(c,"d")};function qq(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}w(qq,lq);da(qq);
function rq(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.,0.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}w(rq,mq);da(rq);
function sq(a,c){this.l=a.getUniformLocation(c,"j");this.C=a.getUniformLocation(c,"i");this.j=a.getUniformLocation(c,"k");this.i=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"e");this.a=a.getAttribLocation(c,"f");this.f=a.getAttribLocation(c,"c");this.c=a.getAttribLocation(c,"g");this.g=a.getAttribLocation(c,"d")};function tq(a){this.b=m(a)?a:[];this.a=m(void 0)?void 0:35044};function uq(a,c){this.A=a;this.b=c;this.a={};this.j={};this.g={};this.l=this.C=this.f=this.i=null;(this.c=Ya(va,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");x(this.A,"webglcontextlost",this.Qm,!1,this);x(this.A,"webglcontextrestored",this.Rm,!1,this)}
function vq(a,c,d){var e=a.b,f=d.b,g=ma(d);if(g in a.a)e.bindBuffer(c,a.a[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=a.c?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,d.a);a.a[g]={c:d,buffer:h}}}function wq(a,c){var d=a.b,e=ma(c),f=a.a[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete a.a[e]}l=uq.prototype;
l.Y=function(){var a=this.b;a.isContextLost()||(rb(this.a,function(c){a.deleteBuffer(c.buffer)}),rb(this.g,function(c){a.deleteProgram(c)}),rb(this.j,function(c){a.deleteShader(c)}),a.deleteFramebuffer(this.f),a.deleteRenderbuffer(this.l),a.deleteTexture(this.C))};l.Pm=function(){return this.b};
l.Ye=function(){if(null===this.f){var a=this.b,c=a.createFramebuffer();a.bindFramebuffer(a.FRAMEBUFFER,c);var d=xq(a,1,1),e=a.createRenderbuffer();a.bindRenderbuffer(a.RENDERBUFFER,e);a.renderbufferStorage(a.RENDERBUFFER,a.DEPTH_COMPONENT16,1,1);a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,d,0);a.framebufferRenderbuffer(a.FRAMEBUFFER,a.DEPTH_ATTACHMENT,a.RENDERBUFFER,e);a.bindTexture(a.TEXTURE_2D,null);a.bindRenderbuffer(a.RENDERBUFFER,null);a.bindFramebuffer(a.FRAMEBUFFER,
null);this.f=c;this.C=d;this.l=e}return this.f};function yq(a,c){var d=ma(c);if(d in a.j)return a.j[d];var e=a.b,f=e.createShader(c.W());e.shaderSource(f,c.b);e.compileShader(f);return a.j[d]=f}function zq(a,c,d){var e=ma(c)+"/"+ma(d);if(e in a.g)return a.g[e];var f=a.b,g=f.createProgram();f.attachShader(g,yq(a,c));f.attachShader(g,yq(a,d));f.linkProgram(g);return a.g[e]=g}l.Qm=function(){Ab(this.a);Ab(this.j);Ab(this.g);this.l=this.C=this.f=this.i=null};l.Rm=function(){};
l.pe=function(a){if(a==this.i)return!1;this.b.useProgram(a);this.i=a;return!0};function Aq(a,c,d){var e=a.createTexture();a.bindTexture(a.TEXTURE_2D,e);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);m(c)&&a.texParameteri(3553,10242,c);m(d)&&a.texParameteri(3553,10243,d);return e}function xq(a,c,d){var e=Aq(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,c,d,0,a.RGBA,a.UNSIGNED_BYTE,null);return e}
function Bq(a,c){var d=Aq(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,c);return d};function Cq(a,c){this.B=this.D=void 0;this.tc=new Dg;this.C=ge(c);this.u=[];this.j=[];this.J=void 0;this.g=[];this.f=[];this.X=this.T=void 0;this.a=[];this.ja=this.ca=this.l=null;this.Z=void 0;this.lb=Ed();this.mb=Ed();this.da=this.ba=void 0;this.xb=Ed();this.za=this.qa=this.Ma=void 0;this.Va=[];this.i=[];this.b=[];this.v=null;this.c=[];this.A=[];this.Na=void 0}w(Cq,jk);
function Dq(a,c){var d=a.v,e=a.l,f=a.Va,g=a.i,h=c.b;return function(){if(!h.isContextLost()){var a,n;a=0;for(n=f.length;a<n;++a)h.deleteTexture(f[a]);a=0;for(n=g.length;a<n;++a)h.deleteTexture(g[a])}wq(c,d);wq(c,e)}}
function Eq(a,c,d,e){var f=a.D,g=a.B,h=a.J,k=a.T,n=a.X,p=a.Z,q=a.ba,r=a.da,t=a.Ma?1:0,u=a.qa,B=a.za,z=a.Na,E=Math.cos(u),u=Math.sin(u),A=a.a.length,y=a.b.length,N,O,I,Q,wa,Sa;for(N=0;N<d;N+=e)wa=c[N]-a.C[0],Sa=c[N+1]-a.C[1],O=y/8,I=-B*f,Q=-B*(h-g),a.b[y++]=wa,a.b[y++]=Sa,a.b[y++]=I*E-Q*u,a.b[y++]=I*u+Q*E,a.b[y++]=q/n,a.b[y++]=(r+h)/k,a.b[y++]=p,a.b[y++]=t,I=B*(z-f),Q=-B*(h-g),a.b[y++]=wa,a.b[y++]=Sa,a.b[y++]=I*E-Q*u,a.b[y++]=I*u+Q*E,a.b[y++]=(q+z)/n,a.b[y++]=(r+h)/k,a.b[y++]=p,a.b[y++]=t,I=B*(z-f),
Q=B*g,a.b[y++]=wa,a.b[y++]=Sa,a.b[y++]=I*E-Q*u,a.b[y++]=I*u+Q*E,a.b[y++]=(q+z)/n,a.b[y++]=r/k,a.b[y++]=p,a.b[y++]=t,I=-B*f,Q=B*g,a.b[y++]=wa,a.b[y++]=Sa,a.b[y++]=I*E-Q*u,a.b[y++]=I*u+Q*E,a.b[y++]=q/n,a.b[y++]=r/k,a.b[y++]=p,a.b[y++]=t,a.a[A++]=O,a.a[A++]=O+1,a.a[A++]=O+2,a.a[A++]=O,a.a[A++]=O+2,a.a[A++]=O+3}Cq.prototype.nb=function(a,c){this.c.push(this.a.length);this.A.push(c);var d=a.o;Eq(this,d,d.length,a.H)};
Cq.prototype.ob=function(a,c){this.c.push(this.a.length);this.A.push(c);var d=a.o;Eq(this,d,d.length,a.H)};function Fq(a,c){var d=c.b;a.u.push(a.a.length);a.j.push(a.a.length);a.v=new tq(a.b);vq(c,34962,a.v);a.l=new tq(a.a);vq(c,34963,a.l);var e={};Gq(a.Va,a.g,e,d);Gq(a.i,a.f,e,d);a.D=void 0;a.B=void 0;a.J=void 0;a.g=null;a.f=null;a.T=void 0;a.X=void 0;a.a=null;a.Z=void 0;a.ba=void 0;a.da=void 0;a.Ma=void 0;a.qa=void 0;a.za=void 0;a.b=null;a.Na=void 0}
function Gq(a,c,d,e){var f,g,h,k=c.length;for(h=0;h<k;++h)f=c[h],g=ma(f).toString(),g in d?f=d[g]:(f=Bq(e,f),d[g]=f),a[h]=f}
function Hq(a,c,d,e,f,g,h,k,n,p,q,r,t,u,B){var z=c.b;vq(c,34962,a.v);vq(c,34963,a.l);var E=k||1!=n||p||1!=q,A,y;E?(A=nq.Oa(),y=oq.Oa()):(A=qq.Oa(),y=rq.Oa());y=zq(c,A,y);E?null===a.ca?(A=new pq(z,y),a.ca=A):A=a.ca:null===a.ja?(A=new sq(z,y),a.ja=A):A=a.ja;c.pe(y);z.enableVertexAttribArray(A.f);z.vertexAttribPointer(A.f,2,5126,!1,32,0);z.enableVertexAttribArray(A.b);z.vertexAttribPointer(A.b,2,5126,!1,32,8);z.enableVertexAttribArray(A.g);z.vertexAttribPointer(A.g,2,5126,!1,32,16);z.enableVertexAttribArray(A.a);
z.vertexAttribPointer(A.a,1,5126,!1,32,24);z.enableVertexAttribArray(A.c);z.vertexAttribPointer(A.c,1,5126,!1,32,28);y=a.xb;ok(y,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-a.C[0]),-(d[1]-a.C[1]));d=a.mb;e=2/g[0];g=2/g[1];Gd(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=a.lb;Gd(g);0!==f&&Ld(g,-f);z.uniformMatrix4fv(A.i,!1,y);z.uniformMatrix4fv(A.C,!1,d);z.uniformMatrix4fv(A.l,!1,g);z.uniform1f(A.j,h);E&&z.uniformMatrix4fv(A.A,!1,Eg(a.tc,k,n,p,q));var N;if(m(t)){if(u)a:{f=c.c?5125:5123;c=c.c?4:2;p=a.c.length-1;for(h=
a.i.length-1;0<=h;--h)for(z.bindTexture(3553,a.i[h]),k=0<h?a.j[h-1]:0,q=a.j[h];0<=p&&a.c[p]>=k;){n=a.c[p];u=a.A[p];E=ma(u).toString();if(E=!m(r[E]))E=null!=u.V();if(E&&(!m(B)||ke(B,u.V().R()))&&(z.clear(z.COLOR_BUFFER_BIT|z.DEPTH_BUFFER_BIT),z.drawElements(4,q-n,f,n*c),q=t(u))){a=q;break a}q=n;p--}a=void 0}else z.clear(z.COLOR_BUFFER_BIT|z.DEPTH_BUFFER_BIT),Iq(a,z,c,r,a.i,a.j),a=(a=t(null))?a:void 0;N=a}else Iq(a,z,c,r,a.Va,a.u);z.disableVertexAttribArray(A.f);z.disableVertexAttribArray(A.b);z.disableVertexAttribArray(A.g);
z.disableVertexAttribArray(A.a);z.disableVertexAttribArray(A.c);return N}
function Iq(a,c,d,e,f,g){var h=d.c?5125:5123;d=d.c?4:2;if(zb(e)){var k;a=0;e=f.length;for(k=0;a<e;++a){c.bindTexture(3553,f[a]);var n=g[a];c.drawElements(4,n-k,h,k*d);k=n}}else{k=0;var p,n=0;for(p=f.length;n<p;++n){c.bindTexture(3553,f[n]);for(var q=0<n?g[n-1]:0,r=g[n],t=q;k<a.c.length&&a.c[k]<=r;){var u=ma(a.A[k]).toString();m(e[u])?(t!==q&&c.drawElements(4,q-t,h,t*d),q=t=k===a.c.length-1?r:a.c[k+1]):q=k===a.c.length-1?r:a.c[k+1];k++}t!==q&&c.drawElements(4,q-t,h,t*d)}}}
Cq.prototype.cb=function(a){var c=a.Ab(),d=a.Mb(1),e=a.Jd(),f=a.ie(1),g=a.v,h=a.Nb(),k=a.D,n=a.C,p=a.kb();a=a.A;var q;0===this.g.length?this.g.push(d):(q=this.g[this.g.length-1],ma(q)!=ma(d)&&(this.u.push(this.a.length),this.g.push(d)));0===this.f.length?this.f.push(f):(q=this.f[this.f.length-1],ma(q)!=ma(f)&&(this.j.push(this.a.length),this.f.push(f)));this.D=c[0];this.B=c[1];this.J=p[1];this.T=e[1];this.X=e[0];this.Z=g;this.ba=h[0];this.da=h[1];this.qa=n;this.Ma=k;this.za=a;this.Na=p[0]};
function Jq(a,c,d){this.f=c;this.g=a;this.c=d;this.a={}}function Kq(a,c){var d=[],e;for(e in a.a)d.push(Dq(a.a[e],c));return ve.apply(null,d)}function Lq(a,c){for(var d in a.a)Fq(a.a[d],c)}Jq.prototype.b=function(a,c){var d=this.a[c];m(d)||(d=new Mq[c](this.g,this.f),this.a[c]=d);return d};Jq.prototype.ya=function(){return zb(this.a)};function Nq(a,c,d,e,f,g,h,k,n,p,q,r,t,u){var B=Oq,z,E;for(z=Fm.length-1;0<=z;--z)if(E=a.a[Fm[z]],m(E)&&(E=Hq(E,c,d,e,f,B,g,h,k,n,p,q,r,t,u)))return E}
function Pq(a,c,d,e,f,g,h,k,n,p,q,r){var t=d.b;t.bindFramebuffer(t.FRAMEBUFFER,d.Ye());var u;m(a.c)&&(u=Rd(Yd(c),e*a.c));return Nq(a,d,c,e,f,g,h,k,n,p,q,function(a){var c=new Uint8Array(4);t.readPixels(0,0,1,1,t.RGBA,t.UNSIGNED_BYTE,c);if(0<c[3]&&(a=r(a)))return a},!0,u)}function Qq(a,c,d,e,f,g,h,k,n,p,q){var r=d.b;r.bindFramebuffer(r.FRAMEBUFFER,d.Ye());a=Nq(a,d,c,e,f,g,h,k,n,p,q,function(){var a=new Uint8Array(4);r.readPixels(0,0,1,1,r.RGBA,r.UNSIGNED_BYTE,a);return 0<a[3]},!1);return m(a)}
var Mq={Image:Cq},Oq=[1,1];function Rq(a,c,d,e,f,g){this.a=a;this.g=c;this.f=g;this.l=f;this.i=e;this.j=d;this.c=null;this.b={}}w(Rq,jk);l=Rq.prototype;l.wc=function(a,c){var d=a.toString(),e=this.b[d];m(e)?e.push(c):this.b[d]=[c]};l.xc=function(){};l.Pe=function(a,c){var d=(0,c.g)(a);if(null!=d&&ke(this.f,d.R())){var e=c.b;m(e)||(e=0);this.wc(e,function(a){a.Ia(c.f,c.c);a.cb(c.j);a.Ja(c.a);var e=Sq[d.W()];e&&e.call(a,d,null)})}};
l.Ed=function(a,c){var d=a.f,e,f;e=0;for(f=d.length;e<f;++e){var g=d[e],h=Sq[g.W()];h&&h.call(this,g,c)}};l.ob=function(a,c){var d=this.a,e=(new Jq(1,this.f)).b(0,"Image");e.cb(this.c);e.ob(a,c);Fq(e,d);Hq(e,this.a,this.g,this.j,this.i,this.l,1,0,1,0,1,{},void 0,!1);Dq(e,d)()};l.yb=function(){};l.yc=function(){};l.nb=function(a,c){var d=this.a,e=(new Jq(1,this.f)).b(0,"Image");e.cb(this.c);e.nb(a,c);Fq(e,d);Hq(e,this.a,this.g,this.j,this.i,this.l,1,0,1,0,1,{},void 0,!1);Dq(e,d)()};l.zc=function(){};
l.Tb=function(){};l.pb=function(){};l.Ia=function(){};l.cb=function(a){this.c=a};l.Ja=function(){};var Sq={Point:Rq.prototype.ob,MultiPoint:Rq.prototype.nb,GeometryCollection:Rq.prototype.Ed};function Tq(){this.b="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;}"}w(Tq,lq);da(Tq);function Uq(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}w(Uq,mq);da(Uq);
function Vq(a,c){this.i=a.getUniformLocation(c,"f");this.c=a.getUniformLocation(c,"g");this.f=a.getUniformLocation(c,"e");this.j=a.getUniformLocation(c,"d");this.g=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function Wq(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}w(Wq,lq);da(Wq);function Xq(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}w(Xq,mq);da(Xq);
function Yq(a,c){this.c=a.getUniformLocation(c,"f");this.f=a.getUniformLocation(c,"e");this.j=a.getUniformLocation(c,"d");this.g=a.getUniformLocation(c,"g");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function Zq(a,c){rk.call(this,c);this.c=a;this.X=new tq([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.g=this.Ua=null;this.j=void 0;this.C=Cd();this.u=Ed();this.Z=new Dg;this.v=this.A=null}w(Zq,rk);
function $q(a,c,d){var e=a.c.c;if(m(a.j)&&a.j==d)e.bindFramebuffer(36160,a.g);else{c.postRenderFunctions.push(sa(function(a,c,d){a.isContextLost()||(a.deleteFramebuffer(c),a.deleteTexture(d))},e,a.g,a.Ua));c=xq(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);a.Ua=c;a.g=f;a.j=d}}
Zq.prototype.Ig=function(a,c,d){ar(this,"precompose",d,a);vq(d,34962,this.X);var e=d.b,f=c.brightness||1!=c.contrast||c.hue||1!=c.saturation,g,h;f?(g=Tq.Oa(),h=Uq.Oa()):(g=Wq.Oa(),h=Xq.Oa());g=zq(d,g,h);f?null===this.A?this.A=h=new Vq(e,g):h=this.A:null===this.v?this.v=h=new Yq(e,g):h=this.v;d.pe(g)&&(e.enableVertexAttribArray(h.b),e.vertexAttribPointer(h.b,2,5126,!1,16,0),e.enableVertexAttribArray(h.a),e.vertexAttribPointer(h.a,2,5126,!1,16,8),e.uniform1i(h.g,0));e.uniformMatrix4fv(h.j,!1,this.C);
e.uniformMatrix4fv(h.f,!1,this.u);f&&e.uniformMatrix4fv(h.i,!1,Eg(this.Z,c.brightness,c.contrast,c.hue,c.saturation));e.uniform1f(h.c,c.opacity);e.bindTexture(3553,this.Ua);e.drawArrays(5,0,4);ar(this,"postcompose",d,a)};function ar(a,c,d,e){a=a.a;if(ed(a,c)){var f=e.viewState;C(a,new kk(c,a,new Rq(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}Zq.prototype.pf=function(){this.g=this.Ua=null;this.j=void 0};function br(a,c){Zq.call(this,a,c);this.l=this.i=this.f=null}w(br,Zq);function cr(a,c){var d=c.b();return Bq(a.c.c,d)}br.prototype.Ta=function(a,c,d,e){var f=this.a;return f.ea().he(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
br.prototype.qf=function(a,c){var d=this.c.c,e=a.pixelRatio,f=a.viewState,g=f.center,h=f.resolution,k=f.rotation,n=this.f,p=this.Ua,q=this.a.ea(),r=a.viewHints,t=a.extent;m(c.extent)&&(t=je(t,c.extent));r[0]||r[1]||me(t)||(f=f.projection,r=q.i,null===r||(f=r),t=q.gc(t,h,e,f),null!==t&&tk(this,t)&&(n=t,p=cr(this,t),null===this.Ua||a.postRenderFunctions.push(sa(function(a,c){a.isContextLost()||a.deleteTexture(c)},d,this.Ua))));null!==n&&(d=this.c.g.A,dr(this,d.width,d.height,e,g,h,k,n.R()),this.l=null,
e=this.C,Gd(e),Kd(e,1,-1),Jd(e,0,-1),this.f=n,this.Ua=p,vk(a.attributions,n.j),wk(a,q));return!0};function dr(a,c,d,e,f,g,h,k){c*=g;d*=g;a=a.u;Gd(a);Kd(a,2*e/c,2*e/d);Ld(a,-h);Jd(a,k[0]-f[0],k[1]-f[1]);Kd(a,(k[2]-k[0])/2,(k[3]-k[1])/2);Jd(a,1,1)}br.prototype.fe=function(a,c){var d=this.Ta(a,c,re,this);return m(d)};
br.prototype.fc=function(a,c,d,e){if(null!==this.f&&!fa(this.f.b()))if(this.a.ea()instanceof Wp){if(a=a.slice(),qk(c.pixelToCoordinateMatrix,a,a),this.Ta(a,c,re,this))return d.call(e,this.a)}else{var f=[this.f.b().width,this.f.b().height];if(null===this.l){var g=c.size;c=Cd();Gd(c);Jd(c,-1,-1);Kd(c,2/g[0],2/g[1]);Jd(c,0,g[1]);Kd(c,1,-1);g=Cd();Id(this.u,g);var h=Cd();Gd(h);Jd(h,0,f[1]);Kd(h,1,-1);Kd(h,f[0]/2,f[1]/2);Jd(h,1,1);var k=Cd();Hd(h,g,k);Hd(k,c,k);this.l=k}c=[0,0];qk(this.l,a,c);if(!(0>c[0]||
c[0]>f[0]||0>c[1]||c[1]>f[1])&&(null===this.i&&(this.i=Wi(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.f.b(),c[0],c[1],1,1,0,0,1,1),0<this.i.getImageData(0,0,1,1).data[3]))return d.call(e,this.a)}};function er(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}w(er,lq);da(er);function fr(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}w(fr,mq);da(fr);function gr(a,c){this.c=a.getUniformLocation(c,"e");this.f=a.getUniformLocation(c,"d");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function hr(a,c){Zq.call(this,a,c);this.J=er.Oa();this.ba=fr.Oa();this.f=null;this.B=new tq([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.D=this.i=null;this.l=-1;this.T=[0,0]}w(hr,Zq);l=hr.prototype;l.Y=function(){wq(this.c.g,this.B);hr.aa.Y.call(this)};l.Dd=function(a,c){var d=this.c;return function(e,f){return Vh(a,e,f,function(a){var f=Bh(d.a,a.jb());f&&(c[e]||(c[e]={}),c[e][a.b.toString()]=a);return f})}};l.pf=function(){hr.aa.pf.call(this);this.f=null};
l.qf=function(a,c,d){var e=this.c,f=d.b,g=a.viewState,h=g.projection,k=this.a,n=k.ea(),p=Wh(n,h),q=Rh(p,g.resolution),r=p.xa(q),t=n.Xb(q,a.pixelRatio,h),u=t[0]/od(p.Ka(q),this.T)[0],B=r/u,z=n.Id(),E=g.center,A;r==g.resolution?(E=yk(E,r,a.size),A=he(E,r,g.rotation,a.size)):A=a.extent;r=Ph(p,A,r);if(null!==this.i&&pg(this.i,r)&&this.l==n.b)B=this.D;else{var y=[qg(r),r.c-r.a+1],y=Math.max(y[0]*t[0],y[1]*t[1]),N=Math.pow(2,Math.ceil(Math.log(y)/Math.LN2)),y=B*N,O=p.Hc(q),I=O[0]+r.b*t[0]*B,B=O[1]+r.a*
t[1]*B,B=[I,B,I+y,B+y];$q(this,a,N);f.viewport(0,0,N,N);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);N=zq(d,this.J,this.ba);d.pe(N);null===this.f&&(this.f=new gr(f,N));vq(d,34962,this.B);f.enableVertexAttribArray(this.f.b);f.vertexAttribPointer(this.f.b,2,5126,!1,16,0);f.enableVertexAttribArray(this.f.a);f.vertexAttribPointer(this.f.a,2,5126,!1,16,8);f.uniform1i(this.f.c,0);d={};d[q]={};var Q=this.Dd(n,d),wa=k.c(),N=!0,I=Nd(),Sa=new og(0,0,0,0),P,Ga,eb;for(Ga=r.b;Ga<=r.f;++Ga)for(eb=r.a;eb<=
r.c;++eb){O=n.Wb(q,Ga,eb,u,h);if(m(c.extent)&&(P=Nh(p,O.b,I),!ke(P,c.extent)))continue;P=O.state;if(2==P){if(Bh(e.a,O.jb())){d[q][hg(O.b)]=O;continue}}else if(4==P||3==P&&!wa)continue;N=!1;P=Mh(p,O.b,Q,Sa,I);P||(O=Oh(p,O.b,Sa,I),null===O||Q(q+1,O))}c=Ua(vb(d),Number);gb(c);for(var Q=new Float32Array(4),Na,Fb,$a,wa=0,Sa=c.length;wa<Sa;++wa)for(Na in Fb=d[c[wa]],Fb)O=Fb[Na],P=Nh(p,O.b,I),Ga=2*(P[2]-P[0])/y,eb=2*(P[3]-P[1])/y,$a=2*(P[0]-B[0])/y-1,P=2*(P[1]-B[1])/y-1,Bd(Q,Ga,eb,$a,P),f.uniform4fv(this.f.f,
Q),ir(e,O,t,z*u),f.drawArrays(5,0,4);N?(this.i=r,this.D=B,this.l=n.b):(this.D=this.i=null,this.l=-1,a.animate=!0)}xk(a.usedTiles,n,q,r);var Ic=e.l;zk(a,n,p,u,h,A,q,k.a(),function(a){var c;(c=2!=a.state||Bh(e.a,a.jb()))||(c=a.jb()in Ic.c);c||Ak(Ic,[a,jg(p,a.b),p.xa(a.b[0]),t,z*u])},this);uk(a,n);wk(a,n);f=this.C;Gd(f);Jd(f,(E[0]-B[0])/(B[2]-B[0]),(E[1]-B[1])/(B[3]-B[1]));0!==g.rotation&&Ld(f,g.rotation);Kd(f,a.size[0]*g.resolution/(B[2]-B[0]),a.size[1]*g.resolution/(B[3]-B[1]));Jd(f,-.5,-.5);return!0};
l.fc=function(a,c,d,e){if(null!==this.g){var f=[0,0];qk(this.C,[a[0]/c.size[0],(c.size[1]-a[1])/c.size[1]],f);a=[f[0]*this.j,f[1]*this.j];c=this.c.g.b;c.bindFramebuffer(c.FRAMEBUFFER,this.g);f=new Uint8Array(4);c.readPixels(a[0],a[1],1,1,c.RGBA,c.UNSIGNED_BYTE,f);if(0<f[3])return d.call(e,this.a)}};function jr(a,c){Zq.call(this,a,c);this.l=!1;this.T=-1;this.J=NaN;this.D=Nd();this.i=this.f=this.B=null}w(jr,Zq);l=jr.prototype;l.Ig=function(a,c,d){this.i=c;var e=a.viewState,f=this.f;if(null!==f&&!f.ya()){var g=e.center,h=e.resolution,e=e.rotation,k=a.size,n=c.opacity,p=c.brightness,q=c.contrast,r=c.hue,t=c.saturation;a=c.Ib?a.skippedFeatureUids:{};var u,B;c=0;for(u=Fm.length;c<u;++c)B=f.a[Fm[c]],m(B)&&Hq(B,d,g,h,e,k,n,p,q,r,t,a,void 0,!1)}};
l.Y=function(){var a=this.f;null!==a&&(Kq(a,this.c.g)(),this.f=null);jr.aa.Y.call(this)};l.Ta=function(a,c,d,e){if(null!==this.f&&null!==this.i){var f=c.viewState,g=this.a,h=this.i,k={};return Pq(this.f,a,this.c.g,f.resolution,f.rotation,h.opacity,h.brightness,h.contrast,h.hue,h.saturation,h.Ib?c.skippedFeatureUids:{},function(a){var c=ma(a).toString();if(!(c in k))return k[c]=!0,d.call(e,a,g)})}};
l.fe=function(a,c){if(null===this.f||null===this.i)return!1;var d=c.viewState,e=this.i;return Qq(this.f,a,this.c.g,d.resolution,d.rotation,e.opacity,e.brightness,e.contrast,e.hue,e.saturation,c.skippedFeatureUids)};l.fc=function(a,c,d,e){a=a.slice();qk(c.pixelToCoordinateMatrix,a,a);if(this.fe(a,c))return d.call(e,this.a)};l.Gl=function(){sk(this)};
l.qf=function(a,c,d){function e(a){var c;m(a.c)?c=a.c.call(a,p):m(f.a)&&(c=(0,f.a)(a,p));if(null!=c){if(null!=c){var d,e,g=!1;d=0;for(e=c.length;d<e;++d)g=tn(t,a,c[d],sn(p,q),this.Gl,this)||g;a=g}else a=!1;this.l=this.l||a}}var f=this.a;c=f.ea();vk(a.attributions,c.j);wk(a,c);var g=a.viewHints[0],h=a.viewHints[1],k=f.D,n=f.B;if(!this.l&&!k&&g||!n&&h)return!0;var h=a.extent,k=a.viewState,g=k.projection,p=k.resolution,q=a.pixelRatio,k=f.b,r=f.c,n=f.get("renderOrder");m(n)||(n=rn);h=Rd(h,r*p);if(!this.l&&
this.J==p&&this.T==k&&this.B==n&&Wd(this.D,h))return!0;null===this.f||a.postRenderFunctions.push(Kq(this.f,d));this.l=!1;var t=new Jq(.5*p/q,h,f.c);c.$b(h,p,g);if(null===n)c.zb(h,p,e,this);else{var u=[];c.zb(h,p,function(a){u.push(a)},this);gb(u,n);Ra(u,e,this)}Lq(t,d);this.J=p;this.T=k;this.B=n;this.D=h;this.f=t;return!0};function kr(a,c){Fk.call(this,0,c);this.b=Sg("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";Vg(a,this.b,0);this.u=this.D=0;this.B=Wi();this.C=!0;this.c=bj(this.b,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new uq(this.b,this.c);x(this.b,"webglcontextlost",this.El,!1,this);x(this.b,"webglcontextrestored",this.Fl,!1,this);this.a=new Ah;this.v=null;this.l=new Kk(ra(function(a){var c=a[1];a=a[2];
var f=c[0]-this.v[0],c=c[1]-this.v[1];return 65536*Math.log(a)+Math.sqrt(f*f+c*c)/a},this),function(a){return a[0].jb()});this.J=ra(function(){if(!this.l.ya()){Ok(this.l);var a=Lk(this.l);ir(this,a[0],a[3],a[4])}},this);this.i=0;lr(this)}w(kr,Fk);
function ir(a,c,d,e){var f=a.c,g=c.jb();if(Bh(a.a,g))a=a.a.get(g),f.bindTexture(3553,a.Ua),9729!=a.og&&(f.texParameteri(3553,10240,9729),a.og=9729),9729!=a.pg&&(f.texParameteri(3553,10240,9729),a.pg=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=a.B.canvas,n=a.B;a.D!==d[0]||a.u!==d[1]?(k.width=d[0],k.height=d[1],a.D=d[0],a.u=d[1]):n.clearRect(0,0,d[0],d[1]);n.drawImage(c.Ra(),e,e,d[0],d[1],0,0,d[0],d[1]);f.texImage2D(3553,0,6408,6408,5121,k)}else f.texImage2D(3553,0,6408,6408,
5121,c.Ra());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);a.a.set(g,{Ua:h,og:9729,pg:9729})}}l=kr.prototype;l.Oe=function(a){return a instanceof J?new br(this,a):a instanceof K?new hr(this,a):a instanceof L?new jr(this,a):null};
function mr(a,c,d){var e=a.j;if(ed(e,c)){var f=a.g;a=d.viewState;a=new Rq(f,a.center,a.resolution,a.rotation,d.size,d.extent);C(e,new kk(c,e,a,d,null,f));c=Ua(vb(a.b),Number);gb(c);var g,h;d=0;for(e=c.length;d<e;++d)for(f=a.b[c[d].toString()],g=0,h=f.length;g<h;++g)f[g](a)}}l.Y=function(){var a=this.c;a.isContextLost()||this.a.forEach(function(c){null===c||a.deleteTexture(c.Ua)});uc(this.g);kr.aa.Y.call(this)};
l.Bi=function(a,c){for(var d=this.c,e;1024<this.a.Ub()-this.i;){e=this.a.b.sc;if(null===e)if(+this.a.b.Xd==c.index)break;else--this.i;else d.deleteTexture(e.Ua);this.a.pop()}};l.W=function(){return"webgl"};l.El=function(a){a.preventDefault();this.a.clear();this.i=0;rb(this.f,function(a){a.pf()})};l.Fl=function(){lr(this);this.j.render()};function lr(a){a=a.c;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)}
l.ve=function(a){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(null===a)return this.C&&(rh(this.b,!1),this.C=!1),!1;this.v=a.focus;this.a.set((-a.index).toString(),null);++this.i;mr(this,"precompose",a);var e=[],f=a.layerStatesArray;ib(f);var g=a.viewState.resolution,h,k,n,p;h=0;for(k=f.length;h<k;++h)p=f[h],lk(p,g)&&"ready"==p.v&&(n=Ik(this,p.layer),n.qf(a,p,c)&&e.push(p));f=a.size[0]*a.pixelRatio;g=a.size[1]*a.pixelRatio;if(this.b.width!=f||this.b.height!=g)this.b.width=f,this.b.height=
g;d.bindFramebuffer(36160,null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.b.width,this.b.height);h=0;for(k=e.length;h<k;++h)p=e[h],n=Ik(this,p.layer),n.Ig(a,p,c);this.C||(rh(this.b,!0),this.C=!0);Gk(a);1024<this.a.Ub()-this.i&&a.postRenderFunctions.push(ra(this.Bi,this));this.l.ya()||(a.postRenderFunctions.push(this.J),a.animate=!0);mr(this,"postcompose",a);Jk(this,a);a.postRenderFunctions.push(Hk)};
l.of=function(a,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,n=c.layerStatesArray,p;for(p=n.length-1;0<=p;--p){h=n[p];var q=h.layer;if(lk(h,k.resolution)&&f.call(g,q)&&(h=Ik(this,q).Ta(a,c,d,e)))return h}};l.Hg=function(a,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var n=h[k],p=n.layer;if(lk(n,g.resolution)&&d.call(e,p)&&(f=Ik(this,p).fe(a,c)))return!0}return f};
l.Gg=function(a,c,d,e,f){if(this.c.isContextLost())return!1;var g=c.viewState,h,k=c.layerStatesArray,n;for(n=k.length-1;0<=n;--n){h=k[n];var p=h.layer;if(lk(h,g.resolution)&&f.call(e,p)&&(h=Ik(this,p).fc(a,c,d,e)))return h}};var nr=["canvas","webgl","dom"];
function W(a){id.call(this);var c=or(a);this.mb=m(a.loadTilesWhileAnimating)?a.loadTilesWhileAnimating:!1;this.xb=m(a.loadTilesWhileInteracting)?a.loadTilesWhileInteracting:!1;this.Qc=m(a.pixelRatio)?a.pixelRatio:dj;this.uc=c.logos;this.v=new oi(this.Kn,void 0,this);tc(this,this.v);this.Va=Cd();this.Fe=Cd();this.lb=0;this.c=null;this.za=Nd();this.i=this.J=null;this.a=Pg("DIV","ol-viewport");this.a.style.position="relative";this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height=
"100%";this.a.style.msTouchAction="none";ij&&dh(this.a,"ol-touch");this.da=Pg("DIV","ol-overlaycontainer");this.a.appendChild(this.da);this.D=Pg("DIV","ol-overlaycontainer-stopevent");x(this.D,["click","dblclick","mousedown","touchstart","MSPointerDown",ek,Mb?"DOMMouseScroll":"mousewheel"],wc);this.a.appendChild(this.D);a=new Wj(this);x(a,ub(hk),this.hg,!1,this);tc(this,a);this.Z=c.keyboardEventTarget;this.u=new Gi;x(this.u,"key",this.gg,!1,this);tc(this,this.u);a=new Oi(this.a);x(a,"mousewheel",
this.gg,!1,this);tc(this,a);this.g=c.controls;this.f=c.interactions;this.j=c.overlays;this.l=new c.Mn(this.a,this);tc(this,this.l);this.Na=new Bi;tc(this,this.Na);this.T=this.A=null;this.B=[];this.qa=[];this.ba=new Pk(ra(this.uj,this),ra(this.Pk,this));this.X={};x(this,kd("layergroup"),this.Ij,!1,this);x(this,kd("view"),this.ck,!1,this);x(this,kd("size"),this.$j,!1,this);x(this,kd("target"),this.bk,!1,this);this.I(c.values);this.g.forEach(function(a){a.setMap(this)},this);x(this.g,"add",function(a){a.element.setMap(this)},
!1,this);x(this.g,"remove",function(a){a.element.setMap(null)},!1,this);this.f.forEach(function(a){a.setMap(this)},this);x(this.f,"add",function(a){a.element.setMap(this)},!1,this);x(this.f,"remove",function(a){a.element.setMap(null)},!1,this);this.j.forEach(function(a){a.setMap(this)},this);x(this.j,"add",function(a){a.element.setMap(this)},!1,this);x(this.j,"remove",function(a){a.element.setMap(null)},!1,this)}w(W,id);l=W.prototype;l.oi=function(a){this.g.push(a)};l.pi=function(a){this.f.push(a)};
l.Sf=function(a){this.Vb().Ec().push(a)};l.Tf=function(a){this.j.push(a)};l.Aa=function(a){this.render();Array.prototype.push.apply(this.B,arguments)};l.Y=function(){Wg(this.a);W.aa.Y.call(this)};l.dd=function(a,c,d,e,f){if(null!==this.c)return a=this.wa(a),this.l.of(a,this.c,c,m(d)?d:null,m(e)?e:re,m(f)?f:null)};l.Ok=function(a,c,d,e,f){if(null!==this.c)return this.l.Gg(a,this.c,c,m(d)?d:null,m(e)?e:re,m(f)?f:null)};
l.ek=function(a,c,d){if(null===this.c)return!1;a=this.wa(a);return this.l.Hg(a,this.c,m(c)?c:re,m(d)?d:null)};l.Qi=function(a){return this.wa(this.Gd(a))};l.Gd=function(a){var c;c=this.a;a=oh(a);c=oh(c);c=new Gg(a.x-c.x,a.y-c.y);return[c.x,c.y]};l.kf=function(){return this.get("target")};l.Cc=function(){var a=this.kf();return m(a)?Lg(a):null};l.wa=function(a){var c=this.c;if(null===c)return null;a=a.slice();return qk(c.pixelToCoordinateMatrix,a,a)};l.Oi=function(){return this.g};l.jj=function(){return this.j};
l.Yi=function(){return this.f};l.Vb=function(){return this.get("layergroup")};l.vg=function(){return this.Vb().Ec()};l.Ba=function(a){var c=this.c;if(null===c)return null;a=a.slice(0,2);return qk(c.coordinateToPixelMatrix,a,a)};l.Ea=function(){return this.get("size")};l.$=function(){return this.get("view")};l.wj=function(){return this.a};
l.uj=function(a,c,d,e){var f=this.c;if(!(null!==f&&c in f.wantedTiles&&f.wantedTiles[c][hg(a.b)]))return Infinity;a=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(a*a+d*d)/e};l.gg=function(a,c){var d=new Uj(c||a.type,this,a);this.hg(d)};l.hg=function(a){if(null!==this.c){this.T=a.coordinate;a.frameState=this.c;var c=this.f.a,d;if(!1!==C(this,a))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.c()&&!e.handleEvent(a))break}}};
l.Yj=function(){var a=this.c,c=this.ba;if(!c.ya()){var d=16,e=d,f=0;null!==a&&(f=a.viewHints,f[0]&&(d=this.mb?8:0,e=2),f[1]&&(d=this.xb?8:0,e=2),f=tb(a.wantedTiles));d*=f;e*=f;c.f<d&&(Ok(c),Qk(c,d,e))}c=this.qa;d=0;for(e=c.length;d<e;++d)c[d](this,a);c.length=0};l.$j=function(){this.render()};
l.bk=function(){var a=this.Cc();Ni(this.u);null===a?(Wg(this.a),null!==this.A&&(Zc(this.A),this.A=null)):(a.appendChild(this.a),Hi(this.u,null===this.Z?a:this.Z),null===this.A&&(this.A=x(this.Na,"resize",this.Nc,!1,this)));this.Nc()};l.Pk=function(){this.render()};l.dk=function(){this.render()};l.ck=function(){null!==this.J&&(Zc(this.J),this.J=null);var a=this.$();null!==a&&(this.J=x(a,"propertychange",this.dk,!1,this));this.render()};l.Jj=function(){this.render()};l.Kj=function(){this.render()};
l.Ij=function(){if(null!==this.i){for(var a=this.i.length,c=0;c<a;++c)Zc(this.i[c]);this.i=null}a=this.Vb();null!=a&&(this.i=[x(a,"propertychange",this.Kj,!1,this),x(a,"change",this.Jj,!1,this)]);this.render()};l.Ln=function(){var a=this.v;pi(a);a.f()};l.render=function(){null!=this.v.ga||this.v.start()};l.En=function(a){if(m(this.g.remove(a)))return a};l.Fn=function(a){var c;m(this.f.remove(a))&&(c=a);return c};l.Hn=function(a){return this.Vb().Ec().remove(a)};l.In=function(a){if(m(this.j.remove(a)))return a};
l.Kn=function(a){var c,d,e,f=this.Ea(),g=this.$(),h=null;if(m(f)&&0<f[0]&&0<f[1]&&null!==g&&Wf(g)){var h=g.c.slice(),k=this.Vb().$e(),n={};c=0;for(d=k.length;c<d;++c)n[ma(k[c].layer)]=k[c];e=Uf(g);h={animate:!1,attributions:{},coordinateToPixelMatrix:this.Va,extent:null,focus:null===this.T?e.center:this.T,index:this.lb++,layerStates:n,layerStatesArray:k,logos:Eb(this.uc),pixelRatio:this.Qc,pixelToCoordinateMatrix:this.Fe,postRenderFunctions:[],size:f,skippedFeatureUids:this.X,tileQueue:this.ba,time:a,
usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(null!==h){a=this.B;c=f=0;for(d=a.length;c<d;++c)g=a[c],g(this,h)&&(a[f++]=g);a.length=f;h.extent=he(e.center,e.resolution,e.rotation,h.size)}this.c=h;this.l.ve(h);null!==h&&(h.animate&&this.render(),Array.prototype.push.apply(this.qa,h.postRenderFunctions),0!==this.B.length||h.viewHints[0]||h.viewHints[1]||Zd(h.extent,this.za)||(C(this,new yh("moveend",this,h)),Sd(h.extent,this.za)));C(this,new yh("postrender",this,h));ti(this.Yj,this)};
l.ph=function(a){this.set("layergroup",a)};l.Df=function(a){this.set("size",a)};l.Qk=function(a){this.set("target",a)};l.ao=function(a){this.set("view",a)};l.uh=function(a){a=ma(a).toString();this.X[a]=!0;this.render()};
l.Nc=function(){var a=this.Cc();if(null===a)this.Df(void 0);else{var c=Kg(a),d=Kb&&a.currentStyle;d&&$g(Ig(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=sh(a,d.width,"width","pixelWidth"),a=sh(a,d.height,"height","pixelHeight"),a=new Hg(c,a)):(d=new Hg(a.offsetWidth,a.offsetHeight),c=uh(a,"padding"),a=xh(a),a=new Hg(d.width-a.left-c.left-c.right-a.right,d.height-a.top-c.top-c.bottom-a.bottom));this.Df([a.width,a.height])}};l.xh=function(a){a=ma(a).toString();delete this.X[a];this.render()};
function or(a){var c=null;m(a.keyboardEventTarget)&&(c=ia(a.keyboardEventTarget)?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var d={},e={};if(!m(a.logo)||"boolean"==typeof a.logo&&a.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=a.logo;ia(f)?e[f]="":la(f)&&(e[f.src]=f.href)}f=a.layers instanceof H?a.layers:new H({layers:a.layers});d.layergroup=f;d.target=a.target;d.view=m(a.view)?a.view:new Rf;var f=Fk,g;m(a.renderer)?ga(a.renderer)?g=a.renderer:ia(a.renderer)&&(g=[a.renderer]):g=nr;var h,k;h=0;for(k=g.length;h<k;++h){var n=g[h];if("canvas"==n){if(fj){f=aq;break}}else if("dom"==n){f=iq;break}else if("webgl"==n&&cj){f=kr;break}}var p;m(a.controls)?p=ga(a.controls)?new ug(a.controls.slice()):
a.controls:p=fi();var q;m(a.interactions)?q=ga(a.interactions)?new ug(a.interactions.slice()):a.interactions:q=em();a=m(a.overlays)?ga(a.overlays)?new ug(a.overlays.slice()):a.overlays:new ug;return{controls:p,interactions:q,keyboardEventTarget:c,logos:e,overlays:a,Mn:f,values:d}}lm();function pr(a){id.call(this);this.i=m(a.insertFirst)?a.insertFirst:!0;this.l=m(a.stopEvent)?a.stopEvent:!0;this.c=Pg("DIV",{"class":"ol-overlay-container"});this.c.style.position="absolute";this.autoPan=m(a.autoPan)?a.autoPan:!1;this.g=m(a.autoPanAnimation)?a.autoPanAnimation:{};this.j=m(a.autoPanMargin)?a.autoPanMargin:20;this.a={zd:"",Yd:"",we:"",xe:"",visible:!0};this.f=null;x(this,kd("element"),this.Ej,!1,this);x(this,kd("map"),this.Pj,!1,this);x(this,kd("offset"),this.Uj,!1,this);x(this,kd("position"),
this.Wj,!1,this);x(this,kd("positioning"),this.Xj,!1,this);m(a.element)&&this.mh(a.element);this.rh(m(a.offset)?a.offset:[0,0]);this.sh(m(a.positioning)?a.positioning:"top-left");m(a.position)&&this.lf(a.position)}w(pr,id);l=pr.prototype;l.ae=function(){return this.get("element")};l.be=function(){return this.get("map")};l.dg=function(){return this.get("offset")};l.wg=function(){return this.get("position")};l.eg=function(){return this.get("positioning")};
l.Ej=function(){Ug(this.c);var a=this.ae();null!=a&&Tg(this.c,a)};l.Pj=function(){null!==this.f&&(Wg(this.c),Zc(this.f),this.f=null);var a=this.be();null!=a&&(this.f=x(a,"postrender",this.render,!1,this),qr(this),a=this.l?a.D:a.da,this.i?Vg(a,this.c,0):Tg(a,this.c))};l.render=function(){qr(this)};l.Uj=function(){qr(this)};
l.Wj=function(){qr(this);if(m(this.get("position"))&&this.autoPan){var a=this.be();if(m(a)&&!fa(a.Cc())){var c=rr(a.Cc(),a.Ea()),d=this.ae(),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=rr(d,[e,f]),d=this.j;Wd(c,h)||(e=h[0]-c[0],f=c[2]-h[2],g=h[1]-c[1],h=c[3]-h[3],c=[0,0],0>e?c[0]=e-d:0>f&&(c[0]=Math.abs(f)+
d),0>g?c[1]=g-d:0>h&&(c[1]=Math.abs(h)+d),0===c[0]&&0===c[1])||(d=a.$().Fa(),e=a.Ba(d),c=[e[0]+c[0],e[1]+c[1]],null!==this.g&&(this.g.source=d,a.Aa(bg(this.g))),a.$().Sa(a.wa(c)))}}};l.Xj=function(){qr(this)};l.mh=function(a){this.set("element",a)};l.setMap=function(a){this.set("map",a)};l.rh=function(a){this.set("offset",a)};l.lf=function(a){this.set("position",a)};
function rr(a,c){var d=Kg(a),e=new Gg(0,0),f;f=d?Kg(d):document;f=!Kb||9<=Xb||$g(Ig(f))?f.documentElement:f.body;a!=f&&(f=nh(a),d=ah(Ig(d)),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]}l.sh=function(a){this.set("positioning",a)};function sr(a,c){a.a.visible!==c&&(rh(a.c,c),a.a.visible=c)}
function qr(a){var c=a.be(),d=a.wg();if(m(c)&&null!==c.c&&m(d)){var d=c.Ba(d),e=c.Ea(),c=a.c.style,f=a.dg(),g=a.eg(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==a.a.Yd&&(a.a.Yd=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",a.a.we!=h&&(a.a.we=c.right=h);else{""!==a.a.we&&(a.a.we=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=ph(a.c).width/2;h=Math.round(d[0]+h)+"px";a.a.Yd!=h&&(a.a.Yd=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"==
g)""!==a.a.xe&&(a.a.xe=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",a.a.zd!=d&&(a.a.zd=c.bottom=d);else{""!==a.a.zd&&(a.a.zd=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=ph(a.c).height/2;d=Math.round(d[1]+f)+"px";a.a.xe!=d&&(a.a.xe=c.top=d)}sr(a,!0)}else sr(a,!1)};function tr(a){a=m(a)?a:{};this.j=m(a.collapsed)?a.collapsed:!0;this.i=m(a.collapsible)?a.collapsible:!0;this.i||(this.j=!1);var c=m(a.className)?a.className:"ol-overviewmap",d=m(a.tipLabel)?a.tipLabel:"Overview map",e=m(a.collapseLabel)?a.collapseLabel:"\u00ab";this.v=ia(e)?Pg("SPAN",{},e):e;e=m(a.label)?a.label:"\u00bb";this.u=ia(e)?Pg("SPAN",{},e):e;d=Pg("BUTTON",{type:"button",title:d},this.i&&!this.j?this.v:this.u);x(d,"click",this.$k,!1,this);var e=Pg("DIV","ol-overviewmap-map"),f=this.f=new W({controls:new ug,
interactions:new ug,target:e});m(a.layers)&&a.layers.forEach(function(a){f.Sf(a)},this);var g=Pg("DIV","ol-overviewmap-box");this.l=new pr({position:[0,0],positioning:"bottom-left",element:g});this.f.Tf(this.l);c=Pg("DIV",c+" ol-unselectable ol-control"+(this.j&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),e,d);zh.call(this,{element:c,render:m(a.render)?a.render:ur,target:a.target})}w(tr,zh);l=tr.prototype;
l.setMap=function(a){var c=this.a;a!==c&&(c&&(c=c.$())&&Yc(c,kd("rotation"),this.Sd,!1,this),tr.aa.setMap.call(this,a),a&&(this.A.push(x(a,"propertychange",this.Qj,!1,this)),0===this.f.vg().Jb()&&this.f.ph(a.Vb()),a=a.$()))&&(x(a,kd("rotation"),this.Sd,!1,this),Wf(a)&&(this.f.Nc(),vr(this)))};l.Qj=function(a){"view"===a.key&&((a=a.oldValue)&&Yc(a,kd("rotation"),this.Sd,!1,this),a=this.a.$(),x(a,kd("rotation"),this.Sd,!1,this))};l.Sd=function(){this.f.$().ce(this.a.$().va())};
function ur(){var a=this.a,c=this.f;if(null!==a.c&&null!==c.c){var d=a.Ea(),a=a.$().Sc(d),e=c.Ea(),d=c.$().Sc(e),f=c.Ba(fe(a)),c=c.Ba(de(a)),c=new Hg(Math.abs(f[0]-c[0]),Math.abs(f[1]-c[1])),f=e[0],e=e[1];c.width<.1*f||c.height<.1*e||c.width>.75*f||c.height>.75*e?vr(this):Wd(d,a)||(a=this.f,d=this.a.$(),a.$().Sa(d.Fa()))}wr(this)}function vr(a){var c=a.a;a=a.f;var d=c.Ea(),c=c.$().Sc(d),d=a.Ea();a=a.$();var e=Math.log(7.5)/Math.LN2;ne(c,1/(.1*Math.pow(2,e/2)));a.Qe(c,d)}
function wr(a){var c=a.a,d=a.f;if(null!==c.c&&null!==d.c){var e=c.Ea(),f=c.$(),g=d.$();d.Ea();var c=f.va(),h=a.l,d=a.l.ae(),f=f.Sc(e),e=g.sa(),g=ce(f),f=ee(f),k;a=a.a.$().Fa();m(a)&&(k=[g[0]-a[0],g[1]-a[1]],ud(k,c),pd(k,a));h.lf(k);null!=d&&(k=new Hg(Math.abs((g[0]-f[0])/e),Math.abs((f[1]-g[1])/e)),c=$g(Ig(Kg(d))),!Kb||Vb("10")||c&&Vb("8")?(d=d.style,Mb?d.MozBoxSizing="border-box":Nb?d.WebkitBoxSizing="border-box":d.boxSizing="border-box",d.width=Math.max(k.width,0)+"px",d.height=Math.max(k.height,
0)+"px"):(a=d.style,c?(c=uh(d,"padding"),d=xh(d),a.pixelWidth=k.width-d.left-c.left-c.right-d.right,a.pixelHeight=k.height-d.top-c.top-c.bottom-d.bottom):(a.pixelWidth=k.width,a.pixelHeight=k.height)))}}l.$k=function(a){a.preventDefault();xr(this)};function xr(a){fh(a.element,"ol-collapsed");a.j?Xg(a.v,a.u):Xg(a.u,a.v);a.j=!a.j;var c=a.f;a.j||null!==c.c||(c.Nc(),vr(a),Xc(c,"postrender",function(){wr(this)},!1,a))}l.Zk=function(){return this.i};
l.bl=function(a){this.i!==a&&(this.i=a,fh(this.element,"ol-uncollapsible"),!a&&this.j&&xr(this))};l.al=function(a){this.i&&this.j!==a&&xr(this)};l.Yk=function(){return this.j};function yr(a){a=m(a)?a:{};var c=m(a.className)?a.className:"ol-scale-line";this.l=Pg("DIV",c+"-inner");this.i=Pg("DIV",c+" ol-unselectable",this.l);this.u=null;this.v=m(a.minWidth)?a.minWidth:64;this.f=!1;this.J=void 0;this.D="";this.j=null;zh.call(this,{element:this.i,render:m(a.render)?a.render:zr,target:a.target});x(this,kd("units"),this.Z,!1,this);this.X(a.units||"metric")}w(yr,zh);var Ar=[1,2,5];yr.prototype.B=function(){return this.get("units")};
function zr(a){a=a.frameState;null===a?this.u=null:this.u=a.viewState;Br(this)}yr.prototype.Z=function(){Br(this)};yr.prototype.X=function(a){this.set("units",a)};
function Br(a){var c=a.u;if(null===c)a.f&&(rh(a.i,!1),a.f=!1);else{var d=c.center,e=c.projection,c=e.getPointResolution(c.resolution,d),f=e.a,g=a.B();"degrees"!=f||"metric"!=g&&"imperial"!=g&&"us"!=g&&"nautical"!=g?"degrees"!=f&&"degrees"==g?(null===a.j&&(a.j=Ge(e,Ce("EPSG:4326"))),d=Math.cos(bc(a.j(d)[1])),e=ye.radius,e/=ze[f],c*=180/(Math.PI*d*e)):a.j=null:(a.j=null,d=Math.cos(bc(d[1])),c*=Math.PI*d*ye.radius/180);d=a.v*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(a.v*c)/Math.log(10));;){e=Ar[d%3]*Math.pow(10,Math.floor(d/3));g=Math.round(e/c);if(isNaN(g)){rh(a.i,!1);a.f=!1;return}if(g>=a.v)break;++d}c=e+" "+f;a.D!=c&&(a.l.innerHTML=c,a.D=c);a.J!=g&&(a.l.style.width=
g+"px",a.J=g);a.f||(rh(a.i,!0),a.f=!0)}};function Cr(a){qc.call(this);this.a=a;this.b={}}w(Cr,qc);var Dr=[];Cr.prototype.Qa=function(a,c,d,e){ga(c)||(c&&(Dr[0]=c.toString()),c=Dr);for(var f=0;f<c.length;f++){var g=x(a,c[f],d||this.handleEvent,e||!1,this.a||this);if(!g)break;this.b[g.key]=g}return this};
Cr.prototype.Ef=function(a,c,d,e,f){if(ga(c))for(var g=0;g<c.length;g++)this.Ef(a,c[g],d,e,f);else d=d||this.handleEvent,f=f||this.a||this,d=Rc(d),e=!!e,c=Ec(a)?Mc(a.fb,String(c),d,e,f):a?(a=Tc(a))?Mc(a,c,d,e,f):null:null,c&&(Zc(c),delete this.b[c.key]);return this};function Er(a){rb(a.b,function(a,d){this.b.hasOwnProperty(d)&&Zc(a)},a);a.b={}}Cr.prototype.Y=function(){Cr.aa.Y.call(this);Er(this)};Cr.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Fr(a,c,d){cd.call(this);this.target=a;this.handle=c||a;this.b=d||new hh(NaN,NaN,NaN,NaN);this.j=Kg(a);this.a=new Cr(this);tc(this,this.a);this.g=this.f=this.C=this.l=this.screenY=this.screenX=this.clientY=this.clientX=0;this.c=!1;x(this.handle,["touchstart","mousedown"],this.vh,!1,this)}w(Fr,cd);var Gr=Kb||Mb&&Vb("1.9.3");l=Fr.prototype;
l.Y=function(){Fr.aa.Y.call(this);Yc(this.handle,["touchstart","mousedown"],this.vh,!1,this);Er(this.a);Gr&&this.j.releaseCapture();this.handle=this.target=null};
l.vh=function(a){var c="mousedown"==a.type;if(this.c||c&&!Cc(a))C(this,"earlycancel");else if(C(this,new Hr("start",this,a.clientX,a.clientY))){this.c=!0;a.preventDefault();var c=this.j,d=c.documentElement,e=!Gr;this.a.Qa(c,["touchmove","mousemove"],this.Tj,e);this.a.Qa(c,["touchend","mouseup"],this.Fd,e);Gr?(d.setCapture(!1),this.a.Qa(d,"losecapture",this.Fd)):this.a.Qa(c?c.parentWindow||c.defaultView:window,"blur",this.Fd);this.A&&this.a.Qa(this.A,"scroll",this.Wm,e);this.clientX=this.l=a.clientX;
this.clientY=this.C=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.f=this.target.offsetLeft;this.g=this.target.offsetTop;this.i=ah(Ig(this.j))}};l.Fd=function(a){Er(this.a);Gr&&this.j.releaseCapture();if(this.c){this.c=!1;var c=Ir(this,this.f),d=Jr(this,this.g);C(this,new Hr("end",this,a.clientX,a.clientY,0,c,d))}else C(this,"earlycancel")};
l.Tj=function(a){var c=1*(a.clientX-this.clientX),d=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.c){var e=this.l-this.clientX,f=this.C-this.clientY;if(0<e*e+f*f)if(C(this,new Hr("start",this,a.clientX,a.clientY)))this.c=!0;else{this.ca||this.Fd(a);return}}d=Kr(this,c,d);c=d.x;d=d.y;this.c&&C(this,new Hr("beforedrag",this,a.clientX,a.clientY,0,c,d))&&(Lr(this,a,c,d),a.preventDefault())};
function Kr(a,c,d){var e=ah(Ig(a.j));c+=e.x-a.i.x;d+=e.y-a.i.y;a.i=e;a.f+=c;a.g+=d;c=Ir(a,a.f);a=Jr(a,a.g);return new Gg(c,a)}l.Wm=function(a){var c=Kr(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Lr(this,a,c.x,c.y)};function Lr(a,c,d,e){a.target.style.left=d+"px";a.target.style.top=e+"px";C(a,new Hr("drag",a,c.clientX,c.clientY,0,d,e))}
function Ir(a,c){var d=a.b,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 Jr(a,c){var d=a.b,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 Hr(a,c,d,e,f,g,h){vc.call(this,a);this.clientX=d;this.clientY=e;this.left=m(g)?g:c.f;this.top=m(h)?h:c.g}w(Hr,vc);function Mr(a){a=m(a)?a:{};this.j=void 0;this.i=Nr;this.l=null;this.u=!1;this.v=m(a.duration)?a.duration:200;var c=m(a.className)?a.className:"ol-zoomslider",d=Pg("DIV",[c+"-thumb","ol-unselectable"]),c=Pg("DIV",[c,"ol-unselectable","ol-control"],d);this.f=new Fr(d);tc(this,this.f);x(this.f,"start",this.Dj,!1,this);x(this.f,"drag",this.Bj,!1,this);x(this.f,"end",this.Cj,!1,this);x(c,"click",this.Aj,!1,this);x(d,"click",wc);zh.call(this,{element:c,render:m(a.render)?a.render:Or})}w(Mr,zh);var Nr=0;
l=Mr.prototype;l.setMap=function(a){Mr.aa.setMap.call(this,a);null===a||a.render()};
function Or(a){if(null!==a.frameState){if(!this.u){var c=this.element,d=ph(c),e=Yg(c),c=uh(e,"margin"),f=new Hg(e.offsetWidth,e.offsetHeight),e=f.width+c.right+c.left,c=f.height+c.top+c.bottom;this.l=[e,c];e=d.width-e;c=d.height-c;d.width>d.height?(this.i=1,d=new hh(0,0,e,0)):(this.i=Nr,d=new hh(0,0,0,c));this.f.b=d||new hh(NaN,NaN,NaN,NaN);this.u=!0}a=a.frameState.viewState.resolution;a!==this.j&&(this.j=a,a=1-Tf(this.a.$())(a),d=this.f,c=Yg(this.element),1==this.i?lh(c,d.b.left+d.b.width*a):lh(c,
d.b.left,d.b.top+d.b.height*a))}}l.Aj=function(a){var c=this.a,d=c.$(),e=d.sa();c.Aa(dg({resolution:e,duration:this.v,easing:Yf}));a=Pr(this,a.offsetX-this.l[0]/2,a.offsetY-this.l[1]/2);a=Qr(this,a);d.vb(d.constrainResolution(a))};l.Dj=function(){Xf(this.a.$(),1)};l.Bj=function(a){a=Pr(this,a.left,a.top);this.j=Qr(this,a);this.a.$().vb(this.j)};l.Cj=function(){var a=this.a,c=a.$();Xf(c,-1);a.Aa(dg({resolution:this.j,duration:this.v,easing:Yf}));a=c.constrainResolution(this.j);c.vb(a)};
function Pr(a,c,d){var e=a.f.b;return Zb(1===a.i?(c-e.left)/e.width:(d-e.top)/e.height,0,1)}function Qr(a,c){return Sf(a.a.$())(1-c)};function Rr(a){a=m(a)?a:{};this.f=m(a.extent)?a.extent:null;var c=m(a.className)?a.className:"ol-zoom-extent",d=Pg("BUTTON",{type:"button",title:m(a.tipLabel)?a.tipLabel:"Fit to extent"},m(a.label)?a.label:"E");x(d,"click",this.j,!1,this);c=Pg("DIV",c+" ol-unselectable ol-control",d);zh.call(this,{element:c,target:a.target})}w(Rr,zh);Rr.prototype.j=function(a){a.preventDefault();var c=this.a;a=c.$();var d=null===this.f?a.g.R():this.f,c=c.Ea();a.Qe(d,c)};function Sr(a){id.call(this);a=m(a)?a:{};this.a=null;x(this,kd("tracking"),this.Ck,!1,this);this.hf(m(a.tracking)?a.tracking:!1)}w(Sr,id);l=Sr.prototype;l.Y=function(){this.hf(!1);Sr.aa.Y.call(this)};
l.Xm=function(a){a=a.b;if(null!=a.alpha){var c=bc(a.alpha);this.set("alpha",c);"boolean"==typeof a.absolute&&a.absolute?this.set("heading",c):null!=a.webkitCompassHeading&&null!=a.webkitCompassAccuracy&&-1!=a.webkitCompassAccuracy&&this.set("heading",bc(a.webkitCompassHeading))}null!=a.beta&&this.set("beta",bc(a.beta));null!=a.gamma&&this.set("gamma",bc(a.gamma));this.s()};l.Ji=function(){return this.get("alpha")};l.Mi=function(){return this.get("beta")};l.Ui=function(){return this.get("gamma")};
l.Bk=function(){return this.get("heading")};l.rg=function(){return this.get("tracking")};l.Ck=function(){if(gj){var a=this.rg();a&&null===this.a?this.a=x(ba,"deviceorientation",this.Xm,!1,this):a||null===this.a||(Zc(this.a),this.a=null)}};l.hf=function(a){this.set("tracking",a)};function Tr(){this.defaultDataProjection=null}function Ur(a,c,d){var e;m(d)&&(e={dataProjection:m(d.dataProjection)?d.dataProjection:a.Ha(c),featureProjection:d.featureProjection});return Vr(a,e)}function Vr(a,c){var d;m(c)&&(d={featureProjection:c.featureProjection,dataProjection:null!=c.dataProjection?c.dataProjection:a.defaultDataProjection,rightHanded:c.rightHanded});return d}
function Wr(a,c,d){var e=m(d)?Ce(d.featureProjection):null;d=m(d)?Ce(d.dataProjection):null;return null===e||null===d||Ue(e,d)?a:a instanceof Ze?(c?a.clone():a).transform(c?e:d,c?d:e):Ye(c?a.slice():a,c?e:d,c?d:e)};function Xr(){this.defaultDataProjection=null}w(Xr,Tr);function Yr(a){return la(a)?a:ia(a)?(a=mo(a),m(a)?a:null):null}l=Xr.prototype;l.W=function(){return"json"};l.ub=function(a,c){return this.Ic(Yr(a),Ur(this,a,c))};l.ra=function(a,c){return this.wf(Yr(a),Ur(this,a,c))};l.Jc=function(a,c){return this.Yg(Yr(a),Ur(this,a,c))};l.Ha=function(a){return this.eh(Yr(a))};l.td=function(a,c){return no(this.Oc(a,c))};l.wb=function(a,c){return no(this.Ae(a,c))};l.Pc=function(a,c){return no(this.Ce(a,c))};function Zr(a){a=m(a)?a:{};this.defaultDataProjection=null;this.b=a.geometryName}w(Zr,Xr);
function $r(a,c){if(null===a)return null;var d;if(ja(a.x)&&ja(a.y))d="Point";else if(null!=a.points)d="MultiPoint";else if(null!=a.paths)d=1===a.paths.length?"LineString":"MultiLineString";else if(null!=a.rings){var e=a.rings,f=as(a),g=[];d=[];var h,k;h=0;for(k=e.length;h<k;++h){var n=mb(e[h]);Gf(n,0,n.length,f.length)?g.push([e[h]]):d.push(e[h])}for(;d.length;){e=d.shift();f=!1;for(h=g.length-1;0<=h;h--)if(Wd((new vf(g[h][0])).R(),(new vf(e)).R())){g[h].push(e);f=!0;break}f||g.push([e.reverse()])}a=
Eb(a);1===g.length?(d="Polygon",a.rings=g[0]):(d="MultiPolygon",a.rings=g)}return Wr((0,bs[d])(a),!1,c)}function as(a){var c="XY";!0===a.hasZ&&!0===a.hasM?c="XYZM":!0===a.hasZ?c="XYZ":!0===a.hasM&&(c="XYM");return c}function cs(a){a=a.a;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}}
var bs={Point:function(a){return null!=a.m&&null!=a.z?new xf([a.x,a.y,a.z,a.m],"XYZM"):null!=a.z?new xf([a.x,a.y,a.z],"XYZ"):null!=a.m?new xf([a.x,a.y,a.m],"XYM"):new xf([a.x,a.y])},LineString:function(a){return new M(a.paths[0],as(a))},Polygon:function(a){return new D(a.rings,as(a))},MultiPoint:function(a){return new nn(a.points,as(a))},MultiLineString:function(a){return new kn(a.paths,as(a))},MultiPolygon:function(a){return new on(a.rings,as(a))}},ds={Point:function(a){var c=a.U();a=a.a;if("XYZ"===
a)return{x:c[0],y:c[1],z:c[2]};if("XYM"===a)return{x:c[0],y:c[1],m:c[2]};if("XYZM"===a)return{x:c[0],y:c[1],z:c[2],m:c[3]};if("XY"===a)return{x:c[0],y:c[1]}},LineString:function(a){var c=cs(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:[a.U()]}},Polygon:function(a){var c=cs(a);return{hasZ:c.hasZ,hasM:c.hasM,rings:a.U(!1)}},MultiPoint:function(a){var c=cs(a);return{hasZ:c.hasZ,hasM:c.hasM,points:a.U()}},MultiLineString:function(a){var c=cs(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:a.U()}},MultiPolygon:function(a){var c=
cs(a);a=a.U(!1);for(var d=[],e=0;e<a.length;e++)for(var f=a[e].length-1;0<=f;f--)d.push(a[e][f]);return{hasZ:c.hasZ,hasM:c.hasM,rings:d}}};l=Zr.prototype;l.Ic=function(a,c){var d=$r(a.geometry,c),e=new En;m(this.b)&&e.Lc(this.b);e.ta(d);m(c)&&m(c.cf)&&m(a.attributes[c.cf])&&e.Qb(a.attributes[c.cf]);m(a.attributes)&&e.I(a.attributes);return e};
l.wf=function(a,c){var d=m(c)?c:{};if(null!=a.features){var e=[],f=a.features,g,h;d.cf=a.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.Ic(f[g],d));return e}return[this.Ic(a,d)]};l.Yg=function(a,c){return $r(a,c)};l.eh=function(a){return null!=a.spatialReference&&null!=a.spatialReference.wkid?Ce("EPSG:"+a.spatialReference.wkid):null};function es(a,c){return(0,ds[a.W()])(Wr(a,!0,c),c)}l.Ce=function(a,c){return es(a,Vr(this,c))};
l.Oc=function(a,c){c=Vr(this,c);var d={},e=a.V();null!=e&&(d.geometry=es(e,c));e=a.P();Bb(e,a.a);d.attributes=zb(e)?{}:e;m(c)&&m(c.featureProjection)&&(d.spatialReference={wkid:Ce(c.featureProjection).b.split(":").pop()});return d};l.Ae=function(a,c){c=Vr(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Oc(a[e],c));return{features:d}};function fs(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce(null!=a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");this.b=a.geometryName}w(fs,Xr);function gs(a,c){return null===a?null:Wr((0,hs[a.type])(a),!1,c)}function is(a,c){return(0,js[a.W()])(Wr(a,!0,c),c)}
var hs={Point:function(a){return new xf(a.coordinates)},LineString:function(a){return new M(a.coordinates)},Polygon:function(a){return new D(a.coordinates)},MultiPoint:function(a){return new nn(a.coordinates)},MultiLineString:function(a){return new kn(a.coordinates)},MultiPolygon:function(a){return new on(a.coordinates)},GeometryCollection:function(a,c){var d=Ua(a.geometries,function(a){return gs(a,c)});return new bn(d)}},js={Point:function(a){return{type:"Point",coordinates:a.U()}},LineString:function(a){return{type:"LineString",
coordinates:a.U()}},Polygon:function(a,c){var d;m(c)&&(d=c.rightHanded);return{type:"Polygon",coordinates:a.U(d)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.U()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.U()}},MultiPolygon:function(a,c){var d;m(c)&&(d=c.rightHanded);return{type:"MultiPolygon",coordinates:a.U(d)}},GeometryCollection:function(a,c){return{type:"GeometryCollection",geometries:Ua(a.f,function(a){return is(a,c)})}},Circle:function(){return{type:"GeometryCollection",
geometries:[]}}};l=fs.prototype;l.Ic=function(a,c){var d=gs(a.geometry,c),e=new En;m(this.b)&&e.Lc(this.b);e.ta(d);m(a.id)&&e.Qb(a.id);m(a.properties)&&e.I(a.properties);return e};l.wf=function(a,c){if("Feature"==a.type)return[this.Ic(a,c)];if("FeatureCollection"==a.type){var d=[],e=a.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.Ic(e[f],c));return d}return[]};l.Yg=function(a,c){return gs(a,c)};
l.eh=function(a){a=a.crs;return null!=a?"name"==a.type?Ce(a.properties.name):"EPSG"==a.type?Ce("EPSG:"+a.properties.code):null:this.defaultDataProjection};l.Oc=function(a,c){c=Vr(this,c);var d={type:"Feature"},e=a.ga;null!=e&&(d.id=e);e=a.V();d.geometry=null!=e?is(e,c):null;e=a.P();Bb(e,a.a);d.properties=zb(e)?null:e;return d};l.Ae=function(a,c){c=Vr(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Oc(a[e],c));return{type:"FeatureCollection",features:d}};
l.Ce=function(a,c){return is(a,Vr(this,c))};function ks(){this.defaultDataProjection=null}w(ks,Tr);l=ks.prototype;l.W=function(){return"xml"};l.ub=function(a,c){if(fp(a))return ls(this,a,c);if(ip(a))return this.Wg(a,c);if(ia(a)){var d=sp(a);return ls(this,d,c)}return null};function ls(a,c,d){a=ms(a,c,d);return 0<a.length?a[0]:null}l.ra=function(a,c){if(fp(a))return ms(this,a,c);if(ip(a))return this.Pb(a,c);if(ia(a)){var d=sp(a);return ms(this,d,c)}return[]};
function ms(a,c,d){var e=[];for(c=c.firstChild;null!==c;c=c.nextSibling)1==c.nodeType&&cb(e,a.Pb(c,d));return e}l.Jc=function(a,c){if(fp(a))return this.A(a,c);if(ip(a)){var d=this.re(a,[Ur(this,a,m(c)?c:{})]);return m(d)?d:null}return ia(a)?(d=sp(a),this.A(d,c)):null};l.Ha=function(a){return fp(a)?this.Af(a):ip(a)?this.ue(a):ia(a)?(a=sp(a),this.Af(a)):null};l.Af=function(){return this.defaultDataProjection};l.ue=function(){return this.defaultDataProjection};l.td=function(a,c){var d=this.u(a,c);return Ro(d)};
l.wb=function(a,c){var d=this.a(a,c);return Ro(d)};l.Pc=function(a,c){var d=this.C(a,c);return Ro(d)};function ns(a){a=m(a)?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:vp(ns.prototype.pd),featureMembers:vp(ns.prototype.pd)};this.defaultDataProjection=null}w(ns,ks);l=ns.prototype;
l.pd=function(a,c){var d=cp(a),e;if("FeatureCollection"==d)"http://www.opengis.net/wfs"===a.namespaceURI?e=U([],this.b,a,c,this):e=U(null,this.b,a,c,this);else if("featureMembers"==d||"featureMember"==d){var f=c[0],g=f.featureType;e=f.featureNS;var h,k;if(!m(g)&&null!=a.childNodes){g=[];e={};h=0;for(k=a.childNodes.length;h<k;++h){var n=a.childNodes[h];if(1===n.nodeType){var p=n.nodeName.split(":").pop();if(-1===Qa(g,p)){var q;xb(e,n.namespaceURI)?q=yb(e,function(a){return a===n.namespaceURI}):(q=
"p"+tb(e),e[q]=n.namespaceURI);g.push(q+":"+p)}}}f.featureType=g;f.featureNS=e}ia(e)&&(h=e,e={},e.p0=h);var f={},g=ga(g)?g:[g],r;for(r in e){p={};h=0;for(k=g.length;h<k;++h)(-1===g[h].indexOf(":")?"p0":g[h].split(":")[0])===r&&(p[g[h].split(":").pop()]="featureMembers"==d?up(this.vf,this):vp(this.vf,this));f[e[r]]=p}e=U([],f,a,c)}m(e)||(e=[]);return e};l.re=function(a,c){var d=c[0];d.srsName=a.firstElementChild.getAttribute("srsName");var e=U(null,this.Jf,a,c,this);if(null!=e)return Wr(e,!1,d)};
l.vf=function(a,c){var d,e=a.getAttribute("fid")||mp(a,"http://www.opengis.net/gml","id"),f={},g;for(d=a.firstElementChild;null!==d;d=d.nextElementSibling){var h=cp(d);if(0===d.childNodes.length||1===d.childNodes.length&&(3===d.firstChild.nodeType||4===d.firstChild.nodeType)){var k=Zo(d,!1);/^[\s\xa0]*$/.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.re(d,c)}d=new En(f);m(g)&&d.Lc(g);e&&d.Qb(e);return d};
l.dh=function(a,c){var d=this.qe(a,c);if(null!=d){var e=new xf(null);yf(e,"XYZ",d);return e}};l.ah=function(a,c){var d=U([],this.Sh,a,c,this);if(m(d))return new nn(d)};l.$g=function(a,c){var d=U([],this.Rh,a,c,this);if(m(d)){var e=new kn(null);mn(e,d);return e}};l.bh=function(a,c){var d=U([],this.Th,a,c,this);if(m(d)){var e=new on(null);qn(e,d);return e}};l.Tg=function(a,c){Cp(this.Wh,a,c,this)};l.ng=function(a,c){Cp(this.Ph,a,c,this)};l.Ug=function(a,c){Cp(this.Xh,a,c,this)};
l.se=function(a,c){var d=this.qe(a,c);if(null!=d){var e=new M(null);jn(e,"XYZ",d);return e}};l.qn=function(a,c){var d=U(null,this.vd,a,c,this);if(null!=d)return d};l.Zg=function(a,c){var d=this.qe(a,c);if(m(d)){var e=new vf(null);wf(e,"XYZ",d);return e}};l.te=function(a,c){var d=U([null],this.Ee,a,c,this);if(m(d)&&null!==d[0]){var e=new D(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)cb(f,d[h]),g.push(f.length);Kf(e,"XYZ",f,g);return e}};l.qe=function(a,c){return U(null,this.vd,a,c,this)};
l.Sh=Object({"http://www.opengis.net/gml":{pointMember:up(ns.prototype.Tg),pointMembers:up(ns.prototype.Tg)}});l.Rh=Object({"http://www.opengis.net/gml":{lineStringMember:up(ns.prototype.ng),lineStringMembers:up(ns.prototype.ng)}});l.Th=Object({"http://www.opengis.net/gml":{polygonMember:up(ns.prototype.Ug),polygonMembers:up(ns.prototype.Ug)}});l.Wh=Object({"http://www.opengis.net/gml":{Point:up(ns.prototype.qe)}});l.Ph=Object({"http://www.opengis.net/gml":{LineString:up(ns.prototype.se)}});
l.Xh=Object({"http://www.opengis.net/gml":{Polygon:up(ns.prototype.te)}});l.wd=Object({"http://www.opengis.net/gml":{LinearRing:vp(ns.prototype.qn)}});l.Pb=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&Ib(d,Ur(this,a,c));return this.pd(a,[d])};l.ue=function(a){return Ce(m(this.v)?this.v:a.firstElementChild.getAttribute("srsName"))};function os(a){a=Zo(a,!1);return ps(a)}function ps(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return m(a[1])||!1}function qs(a){a=Zo(a,!1);if(a=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(a)){var c=Date.UTC(parseInt(a[1],10),parseInt(a[2],10)-1,parseInt(a[3],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10))/1E3;if("Z"!=a[7]){var d="-"==a[8]?-1:1,c=c+60*d*parseInt(a[9],10);m(a[10])&&(c+=3600*d*parseInt(a[10],10))}return c}}
function rs(a){a=Zo(a,!1);return ss(a)}function ss(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function ts(a){a=Zo(a,!1);return us(a)}function us(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function X(a){a=Zo(a,!1);return Ba(a)}function vs(a,c){ws(a,c?"1":"0")}function xs(a,c){a.appendChild(Vo.createTextNode(c.toPrecision()))}function ys(a,c){a.appendChild(Vo.createTextNode(c.toString()))}function ws(a,c){a.appendChild(Vo.createTextNode(c))};function zs(a){a=m(a)?a:{};ns.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=up(ns.prototype.pd);this.schemaLocation=m(a.schemaLocation)?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}w(zs,ns);l=zs.prototype;
l.Xg=function(a,c){var d=Zo(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=Fe(Ce(e)));d=d.split(/[\s,]+/);e=2;fa(a.getAttribute("srsDimension"))?fa(a.getAttribute("dimension"))?null===f||(e=us(f)):e=us(a.getAttribute("dimension")):e=us(a.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.nn=function(a,c){var d=U([null],this.Lh,a,c,this);return Qd(d[1][0],d[1][1],d[1][3],d[1][4])};l.gk=function(a,c){var d=U(void 0,this.wd,a,c,this);m(d)&&c[c.length-1].push(d)};l.Ym=function(a,c){var d=U(void 0,this.wd,a,c,this);m(d)&&(c[c.length-1][0]=d)};l.vd=Object({"http://www.opengis.net/gml":{coordinates:vp(zs.prototype.Xg)}});l.Ee=Object({"http://www.opengis.net/gml":{innerBoundaryIs:zs.prototype.gk,outerBoundaryIs:zs.prototype.Ym}});l.Lh=Object({"http://www.opengis.net/gml":{coordinates:up(zs.prototype.Xg)}});
l.Jf=Object({"http://www.opengis.net/gml":{Point:vp(ns.prototype.dh),MultiPoint:vp(ns.prototype.ah),LineString:vp(ns.prototype.se),MultiLineString:vp(ns.prototype.$g),LinearRing:vp(ns.prototype.Zg),Polygon:vp(ns.prototype.te),MultiPolygon:vp(ns.prototype.bh),Box:vp(zs.prototype.nn)}});function As(a){a=m(a)?a:{};ns.call(this,a);this.l=m(a.surface)?a.surface:!1;this.g=m(a.curve)?a.curve:!1;this.j=m(a.multiCurve)?a.multiCurve:!0;this.i=m(a.multiSurface)?a.multiSurface:!0;this.schemaLocation=m(a.schemaLocation)?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}w(As,ns);l=As.prototype;l.tn=function(a,c){var d=U([],this.Qh,a,c,this);if(m(d)){var e=new kn(null);mn(e,d);return e}};
l.vn=function(a,c){var d=U([],this.Uh,a,c,this);if(m(d)){var e=new on(null);qn(e,d);return e}};l.Wf=function(a,c){Cp(this.Mh,a,c,this)};l.wh=function(a,c){Cp(this.ai,a,c,this)};l.yn=function(a,c){return U([null],this.Vh,a,c,this)};l.An=function(a,c){return U([null],this.$h,a,c,this)};l.zn=function(a,c){return U([null],this.Ee,a,c,this)};l.sn=function(a,c){return U([null],this.vd,a,c,this)};l.ik=function(a,c){var d=U(void 0,this.wd,a,c,this);m(d)&&c[c.length-1].push(d)};
l.Ci=function(a,c){var d=U(void 0,this.wd,a,c,this);m(d)&&(c[c.length-1][0]=d)};l.fh=function(a,c){var d=U([null],this.bi,a,c,this);if(m(d)&&null!==d[0]){var e=new D(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)cb(f,d[h]),g.push(f.length);Kf(e,"XYZ",f,g);return e}};l.Vg=function(a,c){var d=U([null],this.Nh,a,c,this);if(m(d)){var e=new M(null);jn(e,"XYZ",d);return e}};l.pn=function(a,c){var d=U([null],this.Oh,a,c,this);return Qd(d[1][0],d[1][1],d[2][0],d[2][1])};
l.rn=function(a,c){for(var d=Zo(a,!1),e=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,f=[],g;g=e.exec(d);)f.push(parseFloat(g[1])),d=d.substr(g[0].length);if(""===d){d=c[0].srsName;e="enu";null===d||(e=Fe(Ce(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.yf=function(a,c){var d=Zo(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";null===e||(g=Fe(Ce(e)));d=d.split(/\s+/);e=2;fa(a.getAttribute("srsDimension"))?fa(a.getAttribute("dimension"))?null===f||(e=us(f)):e=us(a.getAttribute("dimension")):e=us(a.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.vd=Object({"http://www.opengis.net/gml":{pos:vp(As.prototype.rn),posList:vp(As.prototype.yf)}});l.Ee=Object({"http://www.opengis.net/gml":{interior:As.prototype.ik,exterior:As.prototype.Ci}});
l.Jf=Object({"http://www.opengis.net/gml":{Point:vp(ns.prototype.dh),MultiPoint:vp(ns.prototype.ah),LineString:vp(ns.prototype.se),MultiLineString:vp(ns.prototype.$g),LinearRing:vp(ns.prototype.Zg),Polygon:vp(ns.prototype.te),MultiPolygon:vp(ns.prototype.bh),Surface:vp(As.prototype.fh),MultiSurface:vp(As.prototype.vn),Curve:vp(As.prototype.Vg),MultiCurve:vp(As.prototype.tn),Envelope:vp(As.prototype.pn)}});l.Qh=Object({"http://www.opengis.net/gml":{curveMember:up(As.prototype.Wf),curveMembers:up(As.prototype.Wf)}});
l.Uh=Object({"http://www.opengis.net/gml":{surfaceMember:up(As.prototype.wh),surfaceMembers:up(As.prototype.wh)}});l.Mh=Object({"http://www.opengis.net/gml":{LineString:up(ns.prototype.se),Curve:up(As.prototype.Vg)}});l.ai=Object({"http://www.opengis.net/gml":{Polygon:up(ns.prototype.te),Surface:up(As.prototype.fh)}});l.bi=Object({"http://www.opengis.net/gml":{patches:vp(As.prototype.yn)}});l.Nh=Object({"http://www.opengis.net/gml":{segments:vp(As.prototype.An)}});
l.Oh=Object({"http://www.opengis.net/gml":{lowerCorner:up(As.prototype.yf),upperCorner:up(As.prototype.yf)}});l.Vh=Object({"http://www.opengis.net/gml":{PolygonPatch:vp(As.prototype.zn)}});l.$h=Object({"http://www.opengis.net/gml":{LineStringSegment:vp(As.prototype.sn)}});function Bs(a,c,d){d=d[d.length-1].srsName;c=c.U();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=Fe(Ce(d)));f[k]="en"===n.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}ws(a,f.join(" "))}
l.Hh=function(a,c,d){var e=d[d.length-1].srsName;null!=e&&a.setAttribute("srsName",e);e=Yo(a.namespaceURI,"pos");a.appendChild(e);d=d[d.length-1].srsName;a="enu";null!=d&&(a=Fe(Ce(d)));c=c.U();ws(e,"en"===a.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var Cs={"http://www.opengis.net/gml":{lowerCorner:S(ws),upperCorner:S(ws)}};l=As.prototype;
l.oo=function(a,c,d){var e=d[d.length-1].srsName;m(e)&&a.setAttribute("srsName",e);Dp({node:a},Cs,Ap,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)};l.Eh=function(a,c,d){var e=d[d.length-1].srsName;null!=e&&a.setAttribute("srsName",e);e=Yo(a.namespaceURI,"posList");a.appendChild(e);Bs(e,c,d)};l.Zh=function(a,c){var d=c[c.length-1],e=d.node,f=d.exteriorWritten;m(f)||(d.exteriorWritten=!0);return Yo(e.namespaceURI,m(f)?"interior":"exterior")};
l.De=function(a,c,d){var e=d[d.length-1].srsName;"PolygonPatch"!==a.nodeName&&null!=e&&a.setAttribute("srsName",e);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(c=c.Kd(),Dp({node:a,srsName:e},Ds,this.Zh,c,d,void 0,this)):"Surface"===a.nodeName&&(e=Yo(a.namespaceURI,"patches"),a.appendChild(e),a=Yo(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.De(a,c,d))};
l.ye=function(a,c,d){var e=d[d.length-1].srsName;"LineStringSegment"!==a.nodeName&&null!=e&&a.setAttribute("srsName",e);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(e=Yo(a.namespaceURI,"posList"),a.appendChild(e),Bs(e,c,d)):"Curve"===a.nodeName&&(e=Yo(a.namespaceURI,"segments"),a.appendChild(e),a=Yo(e.namespaceURI,"LineStringSegment"),e.appendChild(a),this.ye(a,c,d))};
l.Gh=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.surface;null!=f&&a.setAttribute("srsName",f);c=c.Md();Dp({node:a,srsName:f,surface:e},Es,this.f,c,d,void 0,this)};l.po=function(a,c,d){var e=d[d.length-1].srsName;null!=e&&a.setAttribute("srsName",e);c=c.de();Dp({node:a,srsName:e},Fs,yp("pointMember"),c,d,void 0,this)};l.Fh=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.curve;null!=f&&a.setAttribute("srsName",f);c=c.ed();Dp({node:a,srsName:f,curve:e},Gs,this.f,c,d,void 0,this)};
l.Ih=function(a,c,d){var e=Yo(a.namespaceURI,"LinearRing");a.appendChild(e);this.Eh(e,c,d)};l.Jh=function(a,c,d){var e=this.c(c,d);m(e)&&(a.appendChild(e),this.De(e,c,d))};l.qo=function(a,c,d){var e=Yo(a.namespaceURI,"Point");a.appendChild(e);this.Hh(e,c,d)};l.Dh=function(a,c,d){var e=this.c(c,d);m(e)&&(a.appendChild(e),this.ye(e,c,d))};
l.Be=function(a,c,d){var e=d[d.length-1],f=Eb(e);f.node=a;var g;ga(c)?m(e.dataProjection)?g=Ye(c,e.featureProjection,e.dataProjection):g=c:g=Wr(c,!0,e);Dp(f,Hs,this.c,[g],d,void 0,this)};
l.Bh=function(a,c,d){var e=c.ga;m(e)&&a.setAttribute("fid",e);var e=d[d.length-1],f=e.featureNS,g=c.a;m(e.jc)||(e.jc={},e.jc[f]={});var h=c.P();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.jc[f]||(e.jc[f][n]=S(this.Be,this)):n in e.jc[f]||(e.jc[f][n]=S(ws)))}n=Eb(e);n.node=a;Dp(n,e.jc,yp(void 0,f),k,d,c)};
var Es={"http://www.opengis.net/gml":{surfaceMember:S(As.prototype.Jh),polygonMember:S(As.prototype.Jh)}},Fs={"http://www.opengis.net/gml":{pointMember:S(As.prototype.qo)}},Gs={"http://www.opengis.net/gml":{lineStringMember:S(As.prototype.Dh),curveMember:S(As.prototype.Dh)}},Ds={"http://www.opengis.net/gml":{exterior:S(As.prototype.Ih),interior:S(As.prototype.Ih)}},Hs={"http://www.opengis.net/gml":{Curve:S(As.prototype.ye),MultiCurve:S(As.prototype.Fh),Point:S(As.prototype.Hh),MultiPoint:S(As.prototype.po),
LineString:S(As.prototype.ye),MultiLineString:S(As.prototype.Fh),LinearRing:S(As.prototype.Eh),Polygon:S(As.prototype.De),MultiPolygon:S(As.prototype.Gh),Surface:S(As.prototype.De),MultiSurface:S(As.prototype.Gh),Envelope:S(As.prototype.oo)}},Is={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};As.prototype.f=function(a,c){return Yo("http://www.opengis.net/gml",Is[c[c.length-1].node.nodeName])};
As.prototype.c=function(a,c){var d=c[c.length-1],e=d.multiSurface,f=d.surface,g=d.curve,d=d.multiCurve,h;ga(a)?h="Envelope":(h=a.W(),"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 Yo("http://www.opengis.net/gml",h)};
As.prototype.C=function(a,c){c=Vr(this,c);var d=Yo("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.i,multiCurve:this.j};m(c)&&Ib(e,c);this.Be(d,a,[e]);return d};
As.prototype.a=function(a,c){c=Vr(this,c);var d=Yo("http://www.opengis.net/gml","featureMembers");rp(d,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.g,surface:this.l,multiSurface:this.i,multiCurve:this.j,featureNS:this.featureNS,featureType:this.featureType};m(c)&&Ib(e,c);var e=[e],f=e[e.length-1],g=f.featureType,h=f.featureNS,k={};k[h]={};k[h][g]=S(this.Bh,this);f=Eb(f);f.node=d;Dp(f,k,yp(g,h),a,e);return d};function Js(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=a.readExtensions}w(Js,ks);var Ks=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function Ls(a,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),Bb(d,"ele")):a.push(0);"time"in d?(a.push(d.time),Bb(d,"time")):a.push(0);return a}
function Ms(a,c){var d=c[c.length-1],e=a.getAttribute("href");null===e||(d.link=e);Cp(Ns,a,c)}function Os(a,c){c[c.length-1].extensionsNode_=a}function Ps(a,c){var d=c[0],e=U({flatCoordinates:[]},Qs,a,c);if(m(e)){var f=e.flatCoordinates;Bb(e,"flatCoordinates");var g=new M(null);jn(g,"XYZM",f);Wr(g,!1,d);d=new En(g);d.I(e);return d}}
function Rs(a,c){var d=c[0],e=U({flatCoordinates:[],ends:[]},Ss,a,c);if(m(e)){var f=e.flatCoordinates;Bb(e,"flatCoordinates");var g=e.ends;Bb(e,"ends");var h=new kn(null);ln(h,"XYZM",f,g);Wr(h,!1,d);d=new En(h);d.I(e);return d}}function Ts(a,c){var d=c[0],e=U({},Us,a,c);if(m(e)){var f=Ls([],a,e),f=new xf(f,"XYZM");Wr(f,!1,d);d=new En(f);d.I(e);return d}}
var Vs={rte:Ps,trk:Rs,wpt:Ts},Ws=T(Ks,{rte:up(Ps),trk:up(Rs),wpt:up(Ts)}),Ns=T(Ks,{text:R(X,"linkText"),type:R(X,"linkType")}),Qs=T(Ks,{name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Ms,number:R(ts),extensions:Os,type:R(X),rtept:function(a,c){var d=U({},Xs,a,c);m(d)&&Ls(c[c.length-1].flatCoordinates,a,d)}}),Xs=T(Ks,{ele:R(rs),time:R(qs)}),Ss=T(Ks,{name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Ms,number:R(ts),type:R(X),extensions:Os,trkseg:function(a,c){var d=c[c.length-1];Cp(Ys,a,c);d.ends.push(d.flatCoordinates.length)}}),
Ys=T(Ks,{trkpt:function(a,c){var d=U({},Zs,a,c);m(d)&&Ls(c[c.length-1].flatCoordinates,a,d)}}),Zs=T(Ks,{ele:R(rs),time:R(qs)}),Us=T(Ks,{ele:R(rs),time:R(qs),magvar:R(rs),geoidheight:R(rs),name:R(X),cmt:R(X),desc:R(X),src:R(X),link:Ms,sym:R(X),type:R(X),fix:R(X),sat:R(ts),hdop:R(rs),vdop:R(rs),pdop:R(rs),ageofdgpsdata:R(rs),dgpsid:R(ts),extensions:Os});
function $s(a,c){null===c&&(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(m(a.b)){var g=f.get("extensionsNode_")||null;a.b(f,g)}f.set("extensionsNode_",void 0)}}Js.prototype.Wg=function(a,c){if(!Ya(Ks,a.namespaceURI))return null;var d=Vs[a.localName];if(!m(d))return null;d=d(a,[Ur(this,a,c)]);if(!m(d))return null;$s(this,[d]);return d};Js.prototype.Pb=function(a,c){if(!Ya(Ks,a.namespaceURI))return[];if("gpx"==a.localName){var d=U([],Ws,a,[Ur(this,a,c)]);if(m(d))return $s(this,d),d}return[]};
function at(a,c,d){a.setAttribute("href",c);c=d[d.length-1].properties;Dp({node:a},bt,Ap,[c.linkText,c.linkType],d,ct)}function dt(a,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=e.properties;rp(a,null,"lat",c[1]);rp(a,null,"lon",c[0]);switch(e.geometryLayout){case "XYZM":0!==c[3]&&(g.time=c[3]);case "XYZ":0!==c[2]&&(g.ele=c[2]);break;case "XYM":0!==c[2]&&(g.time=c[2])}c=et[f];e=Bp(g,c);Dp({node:a,properties:g},ft,Ap,e,d,c)}
var ct=["text","type"],bt=T(Ks,{text:S(ws),type:S(ws)}),gt=T(Ks,"name cmt desc src link number type rtept".split(" ")),ht=T(Ks,{name:S(ws),cmt:S(ws),desc:S(ws),src:S(ws),link:S(at),number:S(ys),type:S(ws),rtept:xp(S(dt))}),it=T(Ks,"name cmt desc src link number type trkseg".split(" ")),lt=T(Ks,{name:S(ws),cmt:S(ws),desc:S(ws),src:S(ws),link:S(at),number:S(ys),type:S(ws),trkseg:xp(S(function(a,c,d){Dp({node:a,geometryLayout:c.a,properties:{}},jt,kt,c.U(),d)}))}),kt=yp("trkpt"),jt=T(Ks,{trkpt:S(dt)}),
et=T(Ks,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),ft=T(Ks,{ele:S(xs),time:S(function(a,c){var d=new Date(1E3*c),d=d.getUTCFullYear()+"-"+La(d.getUTCMonth()+1)+"-"+La(d.getUTCDate())+"T"+La(d.getUTCHours())+":"+La(d.getUTCMinutes())+":"+La(d.getUTCSeconds())+"Z";a.appendChild(Vo.createTextNode(d))}),magvar:S(xs),geoidheight:S(xs),name:S(ws),cmt:S(ws),desc:S(ws),src:S(ws),link:S(at),sym:S(ws),type:S(ws),fix:S(ws),sat:S(ys),
hdop:S(xs),vdop:S(xs),pdop:S(xs),ageofdgpsdata:S(xs),dgpsid:S(ys)}),mt={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function nt(a,c){var d=a.V();if(m(d))return Yo(c[c.length-1].node.namespaceURI,mt[d.W()])}
var ot=T(Ks,{rte:S(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};c=c.V();m(c)&&(c=Wr(c,!0,e),a.geometryLayout=c.a,f.rtept=c.U());e=gt[d[d.length-1].node.namespaceURI];f=Bp(f,e);Dp(a,ht,Ap,f,d,e)}),trk:S(function(a,c,d){var e=d[0],f=c.P();a={node:a,properties:f};c=c.V();m(c)&&(c=Wr(c,!0,e),f.trkseg=c.ed());e=it[d[d.length-1].node.namespaceURI];f=Bp(f,e);Dp(a,lt,Ap,f,d,e)}),wpt:S(function(a,c,d){var e=d[0],f=d[d.length-1];f.properties=c.P();c=c.V();m(c)&&(c=Wr(c,!0,e),f.geometryLayout=
c.a,dt(a,c.U(),d))})});Js.prototype.a=function(a,c){c=Vr(this,c);var d=Yo("http://www.topografix.com/GPX/1/1","gpx");Dp({node:d},ot,nt,a,[c]);return d};function pt(a){a=qt(a);return Ua(a,function(a){return a.c.substring(a.a,a.b)})}function rt(a,c,d){this.c=a;this.a=c;this.b=d}function qt(a){for(var c=RegExp("\r\n|\r|\n","g"),d=0,e,f=[];e=c.exec(a);)d=new rt(a,d,e.index),f.push(d),d=c.lastIndex;d<a.length&&(d=new rt(a,d,a.length),f.push(d));return f};function st(){this.defaultDataProjection=null}w(st,Tr);l=st.prototype;l.W=function(){return"text"};l.ub=function(a,c){return this.od(ia(a)?a:"",Vr(this,c))};l.ra=function(a,c){return this.xf(ia(a)?a:"",Vr(this,c))};l.Jc=function(a,c){return this.qd(ia(a)?a:"",Vr(this,c))};l.Ha=function(){return this.defaultDataProjection};l.td=function(a,c){return this.ze(a,Vr(this,c))};l.wb=function(a,c){return this.Ch(a,Vr(this,c))};l.Pc=function(a,c){return this.ud(a,Vr(this,c))};function tt(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=m(a.altitudeMode)?a.altitudeMode:"none"}w(tt,st);var ut=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,vt=/^H.([A-Z]{3}).*?:(.*)/,wt=/^HFDTE(\d{2})(\d{2})(\d{2})/;
tt.prototype.od=function(a,c){var d=this.b,e=pt(a),f={},g=[],h=2E3,k=0,n=1,p,q;p=0;for(q=e.length;p<q;++p){var r=e[p],t;if("B"==r.charAt(0)){if(t=ut.exec(r)){var r=parseInt(t[1],10),u=parseInt(t[2],10),B=parseInt(t[3],10),z=parseInt(t[4],10)+parseInt(t[5],10)/6E4;"S"==t[6]&&(z=-z);var E=parseInt(t[7],10)+parseInt(t[8],10)/6E4;"W"==t[9]&&(E=-E);g.push(E,z);"none"!=d&&g.push("gps"==d?parseInt(t[11],10):"barometric"==d?parseInt(t[12],10):0);g.push(Date.UTC(h,k,n,r,u,B)/1E3)}}else if("H"==r.charAt(0))if(t=
wt.exec(r))n=parseInt(t[1],10),k=parseInt(t[2],10)-1,h=2E3+parseInt(t[3],10);else if(t=vt.exec(r))f[t[1]]=Ba(t[2]),wt.exec(r)}if(0===g.length)return null;e=new M(null);jn(e,"none"==d?"XYM":"XYZM",g);d=new En(Wr(e,!1,c));d.I(f);return d};tt.prototype.xf=function(a,c){var d=this.od(a,c);return null===d?[]:[d]};function xt(a,c){this.a=this.i=this.f="";this.l=null;this.g=this.b="";this.j=!1;var d;a instanceof xt?(this.j=m(c)?c:a.j,yt(this,a.f),this.i=a.i,this.a=a.a,zt(this,a.l),this.b=a.b,At(this,a.c.clone()),this.g=a.g):a&&(d=vo(String(a)))?(this.j=!!c,yt(this,d[1]||"",!0),this.i=Bt(d[2]||""),this.a=Bt(d[3]||"",!0),zt(this,d[4]),this.b=Bt(d[5]||"",!0),At(this,d[6]||"",!0),this.g=Bt(d[7]||"")):(this.j=!!c,this.c=new Ct(null,0,this.j))}
xt.prototype.toString=function(){var a=[],c=this.f;c&&a.push(Dt(c,Et,!0),":");if(c=this.a){a.push("//");var d=this.i;d&&a.push(Dt(d,Et,!0),"@");a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));c=this.l;null!=c&&a.push(":",String(c))}if(c=this.b)this.a&&"/"!=c.charAt(0)&&a.push("/"),a.push(Dt(c,"/"==c.charAt(0)?Ft:Gt,!0));(c=this.c.toString())&&a.push("?",c);(c=this.g)&&a.push("#",Dt(c,Ht));return a.join("")};xt.prototype.clone=function(){return new xt(this)};
function yt(a,c,d){a.f=d?Bt(c,!0):c;a.f&&(a.f=a.f.replace(/:$/,""))}function zt(a,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);a.l=c}else a.l=null}function At(a,c,d){c instanceof Ct?(a.c=c,It(a.c,a.j)):(d||(c=Dt(c,Jt)),a.c=new Ct(c,0,a.j))}function Kt(a){return a instanceof xt?a.clone():new xt(a,void 0)}
function Lt(a,c){a instanceof xt||(a=Kt(a));c instanceof xt||(c=Kt(c));var d=a,e=c,f=d.clone(),g=!!e.f;g?yt(f,e.f):g=!!e.i;g?f.i=e.i:g=!!e.a;g?f.a=e.a:g=null!=e.l;var h=e.b;if(g)zt(f,e.l);else if(g=!!e.b)if("/"!=h.charAt(0)&&(d.a&&!d.b?h="/"+h:(d=f.b.lastIndexOf("/"),-1!=d&&(h=f.b.substr(0,d+1)+h))),d=h,".."==d||"."==d)h="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){for(var h=0==d.lastIndexOf("/",0),d=d.split("/"),k=[],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.b=h:g=""!==e.c.toString();g?At(f,Bt(e.c.toString())):g=!!e.g;g&&(f.g=e.g);return f}function Bt(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Dt(a,c,d){return ia(a)?(a=encodeURI(a).replace(c,Mt),d&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Mt(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
var Et=/[#\/\?@]/g,Gt=/[\#\?:]/g,Ft=/[\#\?]/g,Jt=/[\#\?@]/g,Ht=/#/g;function Ct(a,c,d){this.a=this.b=null;this.c=a||null;this.f=!!d}function Nt(a){a.b||(a.b=new xi,a.a=0,a.c&&xo(a.c,function(c,d){a.add(decodeURIComponent(c.replace(/\+/g," ")),d)}))}l=Ct.prototype;l.Ub=function(){Nt(this);return this.a};l.add=function(a,c){Nt(this);this.c=null;a=Ot(this,a);var d=this.b.get(a);d||this.b.set(a,d=[]);d.push(c);this.a++;return this};
l.remove=function(a){Nt(this);a=Ot(this,a);return zi(this.b.a,a)?(this.c=null,this.a-=this.b.get(a).length,this.b.remove(a)):!1};l.clear=function(){this.b=this.c=null;this.a=0};l.ya=function(){Nt(this);return 0==this.a};function Pt(a,c){Nt(a);c=Ot(a,c);return zi(a.b.a,c)}l.O=function(){Nt(this);for(var a=this.b.Yb(),c=this.b.O(),d=[],e=0;e<c.length;e++)for(var f=a[e],g=0;g<f.length;g++)d.push(c[e]);return d};
l.Yb=function(a){Nt(this);var c=[];if(ia(a))Pt(this,a)&&(c=ab(c,this.b.get(Ot(this,a))));else{a=this.b.Yb();for(var d=0;d<a.length;d++)c=ab(c,a[d])}return c};l.set=function(a,c){Nt(this);this.c=null;a=Ot(this,a);Pt(this,a)&&(this.a-=this.b.get(a).length);this.b.set(a,[c]);this.a++;return this};l.get=function(a,c){var d=a?this.Yb(a):[];return 0<d.length?String(d[0]):c};function Qt(a,c,d){a.remove(c);0<d.length&&(a.c=null,a.b.set(Ot(a,c),bb(d)),a.a+=d.length)}
l.toString=function(){if(this.c)return this.c;if(!this.b)return"";for(var a=[],c=this.b.O(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.Yb(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.c=a.join("&")};l.clone=function(){var a=new Ct;a.c=this.c;this.b&&(a.b=this.b.clone(),a.a=this.a);return a};function Ot(a,c){var d=String(c);a.f&&(d=d.toLowerCase());return d}
function It(a,c){c&&!a.f&&(Nt(a),a.c=null,a.b.forEach(function(a,c){var f=c.toLowerCase();c!=f&&(this.remove(c),Qt(this,f,a))},a));a.f=c};function Rt(a){a=m(a)?a:{};this.f=a.font;this.g=a.rotation;this.a=a.scale;this.c=a.text;this.i=a.textAlign;this.l=a.textBaseline;this.b=m(a.fill)?a.fill:null;this.j=m(a.stroke)?a.stroke:null;this.C=m(a.offsetX)?a.offsetX:0;this.A=m(a.offsetY)?a.offsetY:0}l=Rt.prototype;l.Si=function(){return this.f};l.hj=function(){return this.C};l.ij=function(){return this.A};l.Im=function(){return this.b};l.Jm=function(){return this.g};l.Km=function(){return this.a};l.Lm=function(){return this.j};l.Mm=function(){return this.c};
l.sj=function(){return this.i};l.tj=function(){return this.l};l.Rn=function(a){this.f=a};l.Qn=function(a){this.b=a};l.Nm=function(a){this.g=a};l.Om=function(a){this.a=a};l.Xn=function(a){this.j=a};l.Yn=function(a){this.c=a};l.Zn=function(a){this.i=a};l.$n=function(a){this.l=a};function St(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.c=m(a.defaultStyle)?a.defaultStyle:Tt;this.f=m(a.extractStyles)?a.extractStyles:!0;this.b={}}w(St,ks);
var Ut=["http://www.google.com/kml/ext/2.2"],Vt=[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"],Wt=[255,255,255,1],Xt=new Il({color:Wt}),Yt=[20,2],Zt=[64,64],$t=new Ck({anchor:Yt,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:Zt,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),au=new El({color:Wt,width:1}),bu=new Rt({font:"normal 16px Helvetica",
fill:Xt,stroke:au,scale:1}),Tt=[new Kl({fill:Xt,image:$t,text:bu,stroke:au,zIndex:0})],cu={fraction:"fraction",pixels:"pixels"};function du(a,c,d,e){return function(){return m(a)?a:m(c)?eu(c,d,e):d}}function eu(a,c,d){return ga(a)?a:ia(a)?(!(a in d)&&"#"+a in d&&(a="#"+a),eu(d[a],c,d)):c}function fu(a){a=Zo(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}
function gu(a){a=Zo(a,!1);for(var c=[],d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,e;e=d.exec(a);)c.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),a=a.substr(e[0].length);return""!==a?void 0:c}function hu(a){var c=Zo(a,!1);return null!=a.baseURI?Lt(a.baseURI,Ba(c)).toString():Ba(c)}function iu(a){a=rs(a);if(m(a))return Math.sqrt(a)}function ju(a,c){return U(null,ku,a,c)}
function lu(a,c){var d=U({o:[],Ah:[]},mu,a,c);if(m(d)){var e=d.o,d=d.Ah,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);jn(d,"XYZM",e);return d}}function nu(a,c){var d=U({},ou,a,c),e=U(null,pu,a,c);if(m(e)){var f=new M(null);jn(f,"XYZ",e);f.I(d);return f}}function qu(a,c){var d=U({},ou,a,c),e=U(null,pu,a,c);if(m(e)){var f=new D(null);Kf(f,"XYZ",e,[e.length]);f.I(d);return f}}
function ru(a,c){var d=U([],su,a,c);if(!m(d))return null;if(0===d.length)return new bn(d);var e=!0,f=d[0].W(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.W()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.a;f=g.o;h=1;for(k=d.length;h<k;++h)g=d[h],cb(f,g.o);g=new nn(null);cf(g,e,f);g.s();tu(g,d);return g}return"LineString"==f?(g=new kn(null),mn(g,d),tu(g,d),g):"Polygon"==f?(g=new on(null),qn(g,d),tu(g,d),g):"GeometryCollection"==f?new bn(d):null}return new bn(d)}
function uu(a,c){var d=U({},ou,a,c),e=U(null,pu,a,c);if(null!=e){var f=new xf(null);yf(f,"XYZ",e);f.I(d);return f}}function vu(a,c){var d=U({},ou,a,c),e=U([null],wu,a,c);if(null!=e&&null!==e[0]){var f=new D(null),g=e[0],h=[g.length],k,n;k=1;for(n=e.length;k<n;++k)cb(g,e[k]),h.push(g.length);Kf(f,"XYZ",g,h);f.I(d);return f}}
function xu(a,c){var d=U({},yu,a,c);if(!m(d))return null;var e=Cb(d,"fillStyle",Xt),f=d.fill;m(f)&&!f&&(e=null);var f=Cb(d,"imageStyle",$t),g=Cb(d,"textStyle",bu),h=Cb(d,"strokeStyle",au),d=d.outline;m(d)&&!d&&(h=null);return[new Kl({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]}
function tu(a,c){var d=c.length,e=Array(c.length),f=Array(c.length),g,h,k,n;k=n=!1;for(h=0;h<d;++h)g=c[h],e[h]=g.get("extrude"),f[h]=g.get("altitudeMode"),k=k||m(e[h]),n=n||m(f[h]);k&&a.set("extrude",e);n&&a.set("altitudeMode",f)}function zu(a,c){Cp(Au,a,c)}
var Bu=T(Vt,{value:vp(X)}),Au=T(Vt,{Data:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=U(void 0,Bu,a,c);m(e)&&(c[c.length-1][d]=e)}},SchemaData:function(a,c){Cp(Cu,a,c)}}),ou=T(Vt,{extrude:R(os),altitudeMode:R(X)}),ku=T(Vt,{coordinates:vp(gu)}),wu=T(Vt,{innerBoundaryIs:function(a,c){var d=U(void 0,Du,a,c);m(d)&&c[c.length-1].push(d)},outerBoundaryIs:function(a,c){var d=U(void 0,Eu,a,c);m(d)&&(c[c.length-1][0]=d)}}),mu=T(Vt,{when:function(a,c){var d=c[c.length-1].Ah,e=Zo(a,!1);if(e=
/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(e)){var f=Date.UTC(parseInt(e[1],10),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)}},T(Ut,{coord:function(a,c){var d=c[c.length-1].o,e=Zo(a,!1);(e=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(e))?
d.push(parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]),0):d.push(0,0,0,0)}})),pu=T(Vt,{coordinates:vp(gu)}),Fu=T(Vt,{href:R(hu)},T(Ut,{x:R(rs),y:R(rs),w:R(rs),h:R(rs)})),Gu=T(Vt,{Icon:R(function(a,c){var d=U({},Fu,a,c);return m(d)?d:null}),heading:R(rs),hotSpot:R(function(a){var c=a.getAttribute("xunits"),d=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),Hf:cu[c],y:parseFloat(a.getAttribute("y")),If:cu[d]}}),scale:R(iu)}),Du=T(Vt,{LinearRing:vp(ju)}),Hu=T(Vt,{color:R(fu),scale:R(iu)}),
Iu=T(Vt,{color:R(fu),width:R(rs)}),su=T(Vt,{LineString:up(nu),LinearRing:up(qu),MultiGeometry:up(ru),Point:up(uu),Polygon:up(vu)}),Ju=T(Ut,{Track:up(lu)}),Lu=T(Vt,{ExtendedData:zu,Link:function(a,c){Cp(Ku,a,c)},address:R(X),description:R(X),name:R(X),open:R(os),phoneNumber:R(X),visibility:R(os)}),Ku=T(Vt,{href:R(hu)}),Eu=T(Vt,{LinearRing:vp(ju)}),Mu=T(Vt,{Style:R(xu),key:R(X),styleUrl:R(function(a){var c=Ba(Zo(a,!1));return null!=a.baseURI?Lt(a.baseURI,c).toString():c})}),Ou=T(Vt,{ExtendedData:zu,
MultiGeometry:R(ru,"geometry"),LineString:R(nu,"geometry"),LinearRing:R(qu,"geometry"),Point:R(uu,"geometry"),Polygon:R(vu,"geometry"),Style:R(xu),StyleMap:function(a,c){var d=U(void 0,Nu,a,c);if(m(d)){var e=c[c.length-1];ga(d)?e.Style=d:ia(d)&&(e.styleUrl=d)}},address:R(X),description:R(X),name:R(X),open:R(os),phoneNumber:R(X),styleUrl:R(hu),visibility:R(os)},T(Ut,{MultiTrack:R(function(a,c){var d=U([],Ju,a,c);if(m(d)){var e=new kn(null);mn(e,d);return e}},"geometry"),Track:R(lu,"geometry")})),Pu=
T(Vt,{color:R(fu),fill:R(os),outline:R(os)}),Cu=T(Vt,{SimpleData:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=X(a);c[c.length-1][d]=e}}}),yu=T(Vt,{IconStyle:function(a,c){var d=U({},Gu,a,c);if(m(d)){var e=c[c.length-1],f=Cb(d,"Icon",{}),g;g=f.href;g=m(g)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,n,p=d.hotSpot;m(p)?(h=[p.x,p.y],k=p.Hf,n=p.If):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=Yt,n=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&
(h=[.5,0],n=k="fraction");var q,p=f.x,r=f.y;m(p)&&m(r)&&(q=[p,r]);var t,p=f.w,f=f.h;m(p)&&m(f)&&(t=[p,f]);var u,f=d.heading;m(f)&&(u=bc(f));d=d.scale;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(t=Zt);h=new Ck({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:n,crossOrigin:"anonymous",offset:q,offsetOrigin:"bottom-left",rotation:u,scale:d,size:t,src:g});e.imageStyle=h}},LabelStyle:function(a,c){var d=U({},Hu,a,c);m(d)&&(c[c.length-1].textStyle=new Rt({fill:new Il({color:Cb(d,
"color",Wt)}),scale:d.scale}))},LineStyle:function(a,c){var d=U({},Iu,a,c);m(d)&&(c[c.length-1].strokeStyle=new El({color:Cb(d,"color",Wt),width:Cb(d,"width",1)}))},PolyStyle:function(a,c){var d=U({},Pu,a,c);if(m(d)){var e=c[c.length-1];e.fillStyle=new Il({color:Cb(d,"color",Wt)});var f=d.fill;m(f)&&(e.fill=f);d=d.outline;m(d)&&(e.outline=d)}}}),Nu=T(Vt,{Pair:function(a,c){var d=U({},Mu,a,c);if(m(d)){var e=d.key;m(e)&&"normal"==e&&(e=d.styleUrl,m(e)&&(c[c.length-1]=e),d=d.Style,m(d)&&(c[c.length-
1]=d))}}});l=St.prototype;l.uf=function(a,c){cp(a);var d=T(Vt,{Document:tp(this.uf,this),Folder:tp(this.uf,this),Placemark:up(this.zf,this),Style:ra(this.Cn,this),StyleMap:ra(this.Bn,this)}),d=U([],d,a,c,this);if(m(d))return d};l.zf=function(a,c){var d=U({geometry:null},Ou,a,c);if(m(d)){var e=new En,f=a.getAttribute("id");null===f||e.Qb(f);var f=c[0],g=d.geometry;null!=g&&Wr(g,!1,f);e.ta(g);Bb(d,"geometry");this.f&&e.jf(du(d.Style,d.styleUrl,this.c,this.b));Bb(d,"Style");e.I(d);return e}};
l.Cn=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=xu(a,c);m(e)&&(d=null!=a.baseURI?Lt(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Bn=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=U(void 0,Nu,a,c);m(e)&&(d=null!=a.baseURI?Lt(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Wg=function(a,c){if(!Ya(Vt,a.namespaceURI))return null;var d=this.zf(a,[Ur(this,a,c)]);return m(d)?d:null};
l.Pb=function(a,c){if(!Ya(Vt,a.namespaceURI))return[];var d;d=cp(a);if("Document"==d||"Folder"==d)return d=this.uf(a,[Ur(this,a,c)]),m(d)?d:[];if("Placemark"==d)return d=this.zf(a,[Ur(this,a,c)]),m(d)?[d]:[];if("kml"==d){d=[];var e;for(e=a.firstElementChild;null!==e;e=e.nextElementSibling){var f=this.Pb(e,c);m(f)&&cb(d,f)}return d}return[]};l.wn=function(a){if(fp(a))return Qu(this,a);if(ip(a))return Ru(this,a);if(ia(a))return a=sp(a),Qu(this,a)};
function Qu(a,c){var d;for(d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType){var e=Ru(a,d);if(m(e))return e}}function Ru(a,c){var d;for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)if(Ya(Vt,d.namespaceURI)&&"name"==d.localName)return X(d);for(d=c.firstElementChild;null!==d;d=d.nextElementSibling){var e=cp(d);if(Ya(Vt,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=Ru(a,d),m(e)))return e}}
l.xn=function(a){var c=[];fp(a)?cb(c,Su(this,a)):ip(a)?cb(c,Tu(this,a)):ia(a)&&(a=sp(a),cb(c,Su(this,a)));return c};function Su(a,c){var d,e=[];for(d=c.firstChild;null!==d;d=d.nextSibling)1==d.nodeType&&cb(e,Tu(a,d));return e}
function Tu(a,c){var d,e=[];for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)if(Ya(Vt,d.namespaceURI)&&"NetworkLink"==d.localName){var f=U({},Lu,d,[]);e.push(f)}for(d=c.firstElementChild;null!==d;d=d.nextElementSibling)f=cp(d),!Ya(Vt,d.namespaceURI)||"Document"!=f&&"Folder"!=f&&"kml"!=f||cb(e,Tu(a,d));return e}function Uu(a,c){var d=zg(c),d=[255*(4==d.length?d[3]:1),d[2],d[1],d[0]],e;for(e=0;4>e;++e){var f=parseInt(d[e],10).toString(16);d[e]=1==f.length?"0"+f:f}ws(a,d.join(""))}
function Vu(a,c,d){Dp({node:a},Wu,Xu,[c],d)}function Yu(a,c,d){var e={node:a};null!=c.ga&&a.setAttribute("id",c.ga);a=c.P();var f=c.c;m(f)&&(f=f.call(c,0),null!==f&&0<f.length&&(a.Style=f[0],f=f[0].a,null===f||(a.name=f.c)));f=Zu[d[d.length-1].node.namespaceURI];a=Bp(a,f);Dp(e,$u,Ap,a,d,f);a=d[0];c=c.V();null!=c&&(c=Wr(c,!0,a));Dp(e,$u,av,[c],d)}function bv(a,c,d){var e=c.o;a={node:a};a.layout=c.a;a.stride=c.H;Dp(a,cv,dv,[e],d)}
function ev(a,c,d){c=c.Kd();var e=c.shift();a={node:a};Dp(a,fv,gv,c,d);Dp(a,fv,hv,[e],d)}function iv(a,c){xs(a,c*c)}
var jv=T(Vt,["Document","Placemark"]),mv=T(Vt,{Document:S(function(a,c,d){Dp({node:a},kv,lv,c,d)}),Placemark:S(Yu)}),kv=T(Vt,{Placemark:S(Yu)}),nv={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},ov=T(Vt,["href"],T(Ut,["x","y","w","h"])),pv=T(Vt,{href:S(ws)},T(Ut,{x:S(xs),y:S(xs),w:S(xs),h:S(xs)})),qv=T(Vt,["scale","heading","Icon","hotSpot"]),sv=T(Vt,{Icon:S(function(a,c,d){a=
{node:a};var e=ov[d[d.length-1].node.namespaceURI],f=Bp(c,e);Dp(a,pv,Ap,f,d,e);e=ov[Ut[0]];f=Bp(c,e);Dp(a,pv,rv,f,d,e)}),heading:S(xs),hotSpot:S(function(a,c){a.setAttribute("x",c.x);a.setAttribute("y",c.y);a.setAttribute("xunits",c.Hf);a.setAttribute("yunits",c.If)}),scale:S(iv)}),tv=T(Vt,["color","scale"]),uv=T(Vt,{color:S(Uu),scale:S(iv)}),vv=T(Vt,["color","width"]),wv=T(Vt,{color:S(Uu),width:S(xs)}),Wu=T(Vt,{LinearRing:S(bv)}),xv=T(Vt,{LineString:S(bv),Point:S(bv),Polygon:S(ev)}),Zu=T(Vt,"name open visibility address phoneNumber description styleUrl Style".split(" ")),
$u=T(Vt,{MultiGeometry:S(function(a,c,d){a={node:a};var e=c.W(),f,g;"MultiPoint"==e?(f=c.de(),g=yv):"MultiLineString"==e?(f=c.ed(),g=zv):"MultiPolygon"==e&&(f=c.Md(),g=Av);Dp(a,xv,g,f,d)}),LineString:S(bv),LinearRing:S(bv),Point:S(bv),Polygon:S(ev),Style:S(function(a,c,d){a={node:a};var e={},f=c.f,g=c.c,h=c.j;c=c.a;null===h||(e.IconStyle=h);null===c||(e.LabelStyle=c);null===g||(e.LineStyle=g);null===f||(e.PolyStyle=f);c=Bv[d[d.length-1].node.namespaceURI];e=Bp(e,c);Dp(a,Cv,Ap,e,d,c)}),address:S(ws),
description:S(ws),name:S(ws),open:S(vs),phoneNumber:S(ws),styleUrl:S(ws),visibility:S(vs)}),cv=T(Vt,{coordinates:S(function(a,c,d){d=d[d.length-1];var e=d.layout;d=d.stride;var f;"XY"==e||"XYM"==e?f=2:("XYZ"==e||"XYZM"==e)&&(f=3);var g,h=c.length,k="";if(0<h){k+=c[0];for(e=1;e<f;++e)k+=","+c[e];for(g=d;g<h;g+=d)for(k+=" "+c[g],e=1;e<f;++e)k+=","+c[g+e]}ws(a,k)})}),fv=T(Vt,{outerBoundaryIs:S(Vu),innerBoundaryIs:S(Vu)}),Dv=T(Vt,{color:S(Uu)}),Bv=T(Vt,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),
Cv=T(Vt,{IconStyle:S(function(a,c,d){a={node:a};var e={},f=c.kb(),g=c.Jd(),h={href:c.b.j};if(null!==f){h.w=f[0];h.h=f[1];var k=c.Ab(),n=c.Nb();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],Hf:"pixels",y:f[1]-k[1],If:"pixels"})}e.Icon=h;f=c.A;1!==f&&(e.scale=f);c=c.C;0!==c&&(e.heading=c);c=qv[d[d.length-1].node.namespaceURI];e=Bp(e,c);Dp(a,sv,Ap,e,d,c)}),LabelStyle:S(function(a,c,d){a={node:a};var e={},f=c.b;null===f||
(e.color=f.b);c=c.a;m(c)&&1!==c&&(e.scale=c);c=tv[d[d.length-1].node.namespaceURI];e=Bp(e,c);Dp(a,uv,Ap,e,d,c)}),LineStyle:S(function(a,c,d){a={node:a};var e=vv[d[d.length-1].node.namespaceURI];c=Bp({color:c.b,width:c.a},e);Dp(a,wv,Ap,c,d,e)}),PolyStyle:S(function(a,c,d){Dp({node:a},Dv,Ev,[c.b],d)})});function rv(a,c,d){return Yo(Ut[0],"gx:"+d)}function lv(a,c){return Yo(c[c.length-1].node.namespaceURI,"Placemark")}function av(a,c){if(null!=a)return Yo(c[c.length-1].node.namespaceURI,nv[a.W()])}
var Ev=yp("color"),dv=yp("coordinates"),gv=yp("innerBoundaryIs"),yv=yp("Point"),zv=yp("LineString"),Xu=yp("LinearRing"),Av=yp("Polygon"),hv=yp("outerBoundaryIs");
St.prototype.a=function(a,c){c=Vr(this,c);var d=Yo(Vt[4],"kml");rp(d,"http://www.w3.org/2000/xmlns/","xmlns:gx",Ut[0]);rp(d,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");rp(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<a.length?f.Document=a:1==a.length&&(f.Placemark=a[0]);var g=jv[d.namespaceURI],f=Bp(f,g);Dp(e,mv,Ap,f,[c],g);
return d};function Fv(){this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326")}w(Fv,ks);function Gv(a,c){c[c.length-1].sd[a.getAttribute("k")]=a.getAttribute("v")}
var Hv=[null],Iv=T(Hv,{nd:function(a,c){c[c.length-1].Dc.push(a.getAttribute("ref"))},tag:Gv}),Kv=T(Hv,{node:function(a,c){var d=c[0],e=c[c.length-1],f=a.getAttribute("id"),g=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];e.qg[f]=g;var h=U({sd:{}},Jv,a,c);zb(h.sd)||(g=new xf(g),Wr(g,!1,d),d=new En(g),d.Qb(f),d.I(h.sd),e.features.push(d))},way:function(a,c){for(var d=c[0],e=a.getAttribute("id"),f=U({Dc:[],sd:{}},Iv,a,c),g=c[c.length-1],h=[],k=0,n=f.Dc.length;k<n;k++)cb(h,g.qg[f.Dc[k]]);
f.Dc[0]==f.Dc[f.Dc.length-1]?(k=new D(null),Kf(k,"XY",h,[h.length])):(k=new M(null),jn(k,"XY",h));Wr(k,!1,d);d=new En(k);d.Qb(e);d.I(f.sd);g.features.push(d)}}),Jv=T(Hv,{tag:Gv});Fv.prototype.Pb=function(a,c){var d=Ur(this,a,c);return"osm"==a.localName&&(d=U({qg:{},features:[]},Kv,a,[d]),m(d.features))?d.features:[]};function Lv(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Mv(){}Mv.prototype.c=function(a){return fp(a)?this.a(a):ip(a)?this.b(a):ia(a)?(a=sp(a),this.a(a)):null};function Nv(){}w(Nv,Mv);Nv.prototype.a=function(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Nv.prototype.b=function(a){a=U({},Ov,a,[]);return m(a)?a:null};
var Pv=[null,"http://www.opengis.net/ows/1.1"],Ov=T(Pv,{ServiceIdentification:R(function(a,c){return U({},Qv,a,c)}),ServiceProvider:R(function(a,c){return U({},Rv,a,c)}),OperationsMetadata:R(function(a,c){return U({},Sv,a,c)})}),Tv=T(Pv,{DeliveryPoint:R(X),City:R(X),AdministrativeArea:R(X),PostalCode:R(X),Country:R(X),ElectronicMailAddress:R(X)}),Uv=T(Pv,{Value:wp(function(a){return X(a)})}),Vv=T(Pv,{AllowedValues:R(function(a,c){return U({},Uv,a,c)})}),Xv=T(Pv,{Phone:R(function(a,c){return U({},
Wv,a,c)}),Address:R(function(a,c){return U({},Tv,a,c)})}),Zv=T(Pv,{HTTP:R(function(a,c){return U({},Yv,a,c)})}),Yv=T(Pv,{Get:wp(function(a,c){var d=Lv(a);return m(d)?U({href:d},$v,a,c):void 0}),Post:void 0}),aw=T(Pv,{DCP:R(function(a,c){return U({},Zv,a,c)})}),Sv=T(Pv,{Operation:function(a,c){var d=a.getAttribute("name"),e=U({},aw,a,c);m(e)&&(c[c.length-1][d]=e)}}),Wv=T(Pv,{Voice:R(X),Facsimile:R(X)}),$v=T(Pv,{Constraint:wp(function(a,c){var d=a.getAttribute("name");return m(d)?U({name:d},Vv,a,c):
void 0})}),bw=T(Pv,{IndividualName:R(X),PositionName:R(X),ContactInfo:R(function(a,c){return U({},Xv,a,c)})}),Qv=T(Pv,{Title:R(X),ServiceTypeVersion:R(X),ServiceType:R(X)}),Rv=T(Pv,{ProviderName:R(X),ProviderSite:R(Lv),ServiceContact:R(function(a,c){return U({},bw,a,c)})});function cw(a,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=a[g++],e[f++]=a[g++],e[f++]=h,h=2;h<d;++h)e[f++]=a[g++];e.length=f};function dw(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce("EPSG:4326");this.b=m(a.factor)?a.factor:1E5;this.a=m(a.geometryLayout)?a.geometryLayout:"XY"}w(dw,st);function ew(a,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=a.length;g<h;)for(e=0;e<c;++e,++g){var k=a[g],n=k-f[e];f[e]=k;a[g]=n}return fw(a,d)}
function gw(a,c,d){var e=m(d)?d:1E5,f=Array(c);for(d=0;d<c;++d)f[d]=0;a=hw(a,e);var g,e=0;for(g=a.length;e<g;)for(d=0;d<c;++d,++e)f[d]+=a[e],a[e]=f[d];return a}function fw(a,c){var d=m(c)?c:1E5,e,f;e=0;for(f=a.length;e<f;++e)a[e]=Math.round(a[e]*d);d=0;for(e=a.length;d<e;++d)f=a[d],a[d]=0>f?~(f<<1):f<<1;d="";e=0;for(f=a.length;e<f;++e){for(var g=a[e],h=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 hw(a,c){var d=m(c)?c:1E5,e=[],f=0,g=0,h,k;h=0;for(k=a.length;h<k;++h){var n=a.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=dw.prototype;l.od=function(a,c){var d=this.qd(a,c);return new En(d)};l.xf=function(a,c){return[this.od(a,c)]};l.qd=function(a,c){var d=bf(this.a),e=gw(a,d,this.b);cw(e,e.length,d,e);d=rf(e,0,e.length,d);return Wr(new M(d,this.a),!1,Vr(this,c))};
l.ze=function(a,c){var d=a.V();return null!=d?this.ud(d,c):""};l.Ch=function(a,c){return this.ze(a[0],c)};l.ud=function(a,c){a=Wr(a,!0,Vr(this,c));var d=a.o,e=a.H;cw(d,d.length,e,d);return ew(d,e,this.b)};function iw(a){a=m(a)?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Ce(null!=a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}w(iw,Xr);function jw(a,c){var d=[],e,f,g,h;g=0;for(h=a.length;g<h;++g)e=a[g],0<g&&d.pop(),0<=e?f=c[e]:f=c[~e].slice().reverse(),d.push.apply(d,f);e=0;for(f=d.length;e<f;++e)d[e]=d[e].slice();return d}function kw(a,c,d,e,f){a=a.geometries;var g=[],h,k;h=0;for(k=a.length;h<k;++h)g[h]=lw(a[h],c,d,e,f);return g}
function lw(a,c,d,e,f){var g=a.type,h=mw[g];c="Point"===g||"MultiPoint"===g?h(a,d,e):h(a,c);d=new En;d.ta(Wr(c,!1,f));m(a.id)&&d.Qb(a.id);m(a.properties)&&d.I(a.properties);return d}
iw.prototype.wf=function(a,c){if("Topology"==a.type){var d,e=null,f=null;m(a.transform)&&(d=a.transform,e=d.scale,f=d.translate);var g=a.arcs;if(m(d)){d=e;var h=f,k,n;k=0;for(n=g.length;k<n;++k)for(var p=g[k],q=d,r=h,t=0,u=0,B=void 0,z=void 0,E=void 0,z=0,E=p.length;z<E;++z)B=p[z],t+=B[0],u+=B[1],B[0]=t,B[1]=u,nw(B,q,r)}d=[];h=ub(a.objects);k=0;for(n=h.length;k<n;++k)"GeometryCollection"===h[k].type?(p=h[k],d.push.apply(d,kw(p,g,e,f,c))):(p=h[k],d.push(lw(p,g,e,f,c)));return d}return[]};
function nw(a,c,d){a[0]=a[0]*c[0]+d[0];a[1]=a[1]*c[1]+d[1]}iw.prototype.Ha=function(){return this.defaultDataProjection};
var mw={Point:function(a,c,d){a=a.coordinates;null===c||null===d||nw(a,c,d);return new xf(a)},LineString:function(a,c){var d=jw(a.arcs,c);return new M(d)},Polygon:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=jw(a.arcs[e],c);return new D(d)},MultiPoint:function(a,c,d){a=a.coordinates;var e,f;if(null!==c&&null!==d)for(e=0,f=a.length;e<f;++e)nw(a[e],c,d);return new nn(a)},MultiLineString:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=jw(a.arcs[e],c);return new kn(d)},
MultiPolygon:function(a,c){var d=[],e,f,g,h,k,n;k=0;for(n=a.arcs.length;k<n;++k){e=a.arcs[k];f=[];g=0;for(h=e.length;g<h;++g)f[g]=jw(e[g],c);d[k]=f}return new on(d)}};function ow(a){a=m(a)?a:{};this.g=a.featureType;this.c=a.featureNS;this.b=m(a.gmlFormat)?a.gmlFormat:new As;this.f=m(a.schemaLocation)?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";this.defaultDataProjection=null}w(ow,ks);ow.prototype.Pb=function(a,c){var d={featureType:this.g,featureNS:this.c};Ib(d,Ur(this,a,m(c)?c:{}));d=[d];this.b.b["http://www.opengis.net/gml"].featureMember=up(ns.prototype.pd);d=U([],this.b.b,a,d,this.b);m(d)||(d=[]);return d};
ow.prototype.i=function(a){if(fp(a))return pw(a);if(ip(a))return U({},qw,a,[]);if(ia(a))return a=sp(a),pw(a)};ow.prototype.j=function(a){if(fp(a))return rw(this,a);if(ip(a))return sw(this,a);if(ia(a))return a=sp(a),rw(this,a)};function rw(a,c){for(var d=c.firstChild;null!==d;d=d.nextSibling)if(1==d.nodeType)return sw(a,d)}var tw={"http://www.opengis.net/gml":{boundedBy:R(ns.prototype.re,"bounds")}};
function sw(a,c){var d={},e=us(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return U(d,tw,c,[],a.b)}
var uw={"http://www.opengis.net/wfs":{totalInserted:R(ts),totalUpdated:R(ts),totalDeleted:R(ts)}},vw={"http://www.opengis.net/ogc":{FeatureId:up(function(a){return a.getAttribute("fid")})}},ww={"http://www.opengis.net/wfs":{Feature:function(a,c){Cp(vw,a,c)}}},qw={"http://www.opengis.net/wfs":{TransactionSummary:R(function(a,c){return U({},uw,a,c)},"transactionSummary"),InsertResults:R(function(a,c){return U([],ww,a,c)},"insertIds")}};
function pw(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return U({},qw,a,[])}var xw={"http://www.opengis.net/wfs":{PropertyName:S(ws)}};function yw(a,c){var d=Yo("http://www.opengis.net/ogc","Filter"),e=Yo("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);a.appendChild(d)}
var zw={"http://www.opengis.net/wfs":{Insert:S(function(a,c,d){var e=d[d.length-1],e=Yo(e.featureNS,e.featureType);a.appendChild(e);As.prototype.Bh(e,c,d)}),Update:S(function(a,c,d){var e=d[d.length-1],f=e.featureType,g=e.featurePrefix,g=m(g)?g:"feature",h=e.featureNS;a.setAttribute("typeName",g+":"+f);rp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+g,h);f=c.ga;if(m(f)){for(var g=c.O(),h=[],k=0,n=g.length;k<n;k++){var p=c.get(g[k]);m(p)&&h.push({name:g[k],value:p})}Dp({node:a,srsName:e.srsName},zw,
yp("Property"),h,d);yw(a,f)}}),Delete:S(function(a,c,d){var e=d[d.length-1];d=e.featureType;var f=e.featurePrefix,f=m(f)?f:"feature",e=e.featureNS;a.setAttribute("typeName",f+":"+d);rp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,e);c=c.ga;m(c)&&yw(a,c)}),Property:S(function(a,c,d){var e=Yo("http://www.opengis.net/wfs","Name");a.appendChild(e);ws(e,c.name);null!=c.value&&(e=Yo("http://www.opengis.net/wfs","Value"),a.appendChild(e),c.value instanceof Ze?As.prototype.Be(e,c.value,d):ws(e,c.value))}),
Native:S(function(a,c){m(c.no)&&a.setAttribute("vendorId",c.no);m(c.On)&&a.setAttribute("safeToIgnore",c.On);m(c.value)&&ws(a,c.value)})}},Aw={"http://www.opengis.net/wfs":{Query:S(function(a,c,d){var e=d[d.length-1],f=e.featurePrefix,g=e.featureNS,h=e.propertyNames,k=e.srsName;a.setAttribute("typeName",(m(f)?f+":":"")+c);m(k)&&a.setAttribute("srsName",k);m(g)&&rp(a,"http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=Eb(e);c.node=a;Dp(c,xw,yp("PropertyName"),h,d);e=e.bbox;m(e)&&(h=Yo("http://www.opengis.net/ogc",
"Filter"),c=d[d.length-1].geometryName,f=Yo("http://www.opengis.net/ogc","BBOX"),h.appendChild(f),g=Yo("http://www.opengis.net/ogc","PropertyName"),ws(g,c),f.appendChild(g),As.prototype.Be(f,e,d),a.appendChild(h))})}};
ow.prototype.l=function(a){var c=Yo("http://www.opengis.net/wfs","GetFeature");c.setAttribute("service","WFS");c.setAttribute("version","1.1.0");m(a)&&(m(a.handle)&&c.setAttribute("handle",a.handle),m(a.outputFormat)&&c.setAttribute("outputFormat",a.outputFormat),m(a.maxFeatures)&&c.setAttribute("maxFeatures",a.maxFeatures),m(a.resultType)&&c.setAttribute("resultType",a.resultType),m(a.fo)&&c.setAttribute("startIndex",a.fo),m(a.count)&&c.setAttribute("count",a.count));rp(c,"http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation",this.f);var d=a.featureTypes;a=[{node:c,srsName:a.srsName,featureNS:m(a.featureNS)?a.featureNS:this.c,featurePrefix:a.featurePrefix,geometryName:a.geometryName,bbox:a.bbox,propertyNames:m(a.propertyNames)?a.propertyNames:[]}];var e=Eb(a[a.length-1]);e.node=c;Dp(e,Aw,yp("Query"),d,a);return c};
ow.prototype.v=function(a,c,d,e){var f=[],g=Yo("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));rp(g,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.f);null!=a&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},Ib(k,h),Dp(k,zw,yp("Insert"),a,f));null!=c&&(k={node:g,featureNS:e.featureNS,
featureType:e.featureType,featurePrefix:e.featurePrefix},Ib(k,h),Dp(k,zw,yp("Update"),c,f));null!=d&&Dp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},zw,yp("Delete"),d,f);m(e.nativeElements)&&Dp({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix},zw,yp("Native"),e.nativeElements,f);return g};ow.prototype.Af=function(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return this.ue(a);return null};
ow.prototype.ue=function(a){if(null!=a.firstElementChild&&null!=a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;null!==a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var c=[{}];this.b.re(a,c);return Ce(c.pop().srsName)}return null};function Bw(a){a=m(a)?a:{};this.defaultDataProjection=null;this.b=m(a.splitCollection)?a.splitCollection:!1}w(Bw,st);function Cw(a){a=a.U();return 0==a.length?"":a[0]+" "+a[1]}function Dw(a){a=a.U();for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d][0]+" "+a[d][1]);return c.join(",")}function Ew(a){var c=[];a=a.Kd();for(var d=0,e=a.length;d<e;++d)c.push("("+Dw(a[d])+")");return c.join(",")}function Fw(a){var c=a.W();a=(0,Gw[c])(a);c=c.toUpperCase();return 0===a.length?c+" EMPTY":c+"("+a+")"}
var Gw={Point:Cw,LineString:Dw,Polygon:Ew,MultiPoint:function(a){var c=[];a=a.de();for(var d=0,e=a.length;d<e;++d)c.push("("+Cw(a[d])+")");return c.join(",")},MultiLineString:function(a){var c=[];a=a.ed();for(var d=0,e=a.length;d<e;++d)c.push("("+Dw(a[d])+")");return c.join(",")},MultiPolygon:function(a){var c=[];a=a.Md();for(var d=0,e=a.length;d<e;++d)c.push("("+Ew(a[d])+")");return c.join(",")},GeometryCollection:function(a){var c=[];a=a.Zf();for(var d=0,e=a.length;d<e;++d)c.push(Fw(a[d]));return c.join(",")}};
l=Bw.prototype;l.od=function(a,c){var d=this.qd(a,c);if(m(d)){var e=new En;e.ta(d);return e}return null};l.xf=function(a,c){var d=[],e=this.qd(a,c);this.b&&"GeometryCollection"==e.W()?d=e.f:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new En,e.ta(d[g]),f.push(e);return f};l.qd=function(a,c){var d;d=new Hw(new Iw(a));d.b=Jw(d.a);d=Kw(d);return m(d)?Wr(d,!1,c):null};l.ze=function(a,c){var d=a.V();return m(d)?this.ud(d,c):""};
l.Ch=function(a,c){if(1==a.length)return this.ze(a[0],c);for(var d=[],e=0,f=a.length;e<f;++e)d.push(a[e].V());d=new bn(d);return this.ud(d,c)};l.ud=function(a,c){return Fw(Wr(a,!0,c))};function Iw(a){this.a=a;this.b=-1}function Lw(a,c){var d=m(c)?c:!1;return"0"<=a&&"9">=a||"."==a&&!d}
function Jw(a){var c=a.a.charAt(++a.b),d={position:a.b,value:c};if("("==c)d.type=2;else if(","==c)d.type=5;else if(")"==c)d.type=3;else if(Lw(c)||"-"==c){d.type=4;var e,c=a.b,f=!1,g=!1;do{if("."==e)f=!0;else if("e"==e||"E"==e)g=!0;e=a.a.charAt(++a.b)}while(Lw(e,f)||!g&&("e"==e||"E"==e)||g&&("-"==e||"+"==e));a=parseFloat(a.a.substring(c,a.b--));d.value=a}else if("a"<=c&&"z">=c||"A"<=c&&"Z">=c){d.type=1;c=a.b;do e=a.a.charAt(++a.b);while("a"<=e&&"z">=e||"A"<=e&&"Z">=e);a=a.a.substring(c,a.b--).toUpperCase();
d.value=a}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return Jw(a);if(""===c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function Hw(a){this.a=a}l=Hw.prototype;l.match=function(a){if(a=this.b.type==a)this.b=Jw(this.a);return a};
function Kw(a){var c=a.b;if(a.match(1)){var d=c.value;if("GEOMETRYCOLLECTION"==d){a:{if(a.match(2)){c=[];do c.push(Kw(a));while(a.match(5));if(a.match(3)){a=c;break a}}else if(Mw(a)){a=[];break a}throw Error(Nw(a));}return new bn(a)}var e=Ow[d],c=Pw[d];if(!m(e)||!m(c))throw Error("Invalid geometry type: "+d);a=e.call(a);return new c(a)}throw Error(Nw(a));}l.sf=function(){if(this.match(2)){var a=Qw(this);if(this.match(3))return a}else if(Mw(this))return null;throw Error(Nw(this));};
l.rf=function(){if(this.match(2)){var a=Rw(this);if(this.match(3))return a}else if(Mw(this))return[];throw Error(Nw(this));};l.tf=function(){if(this.match(2)){var a=Sw(this);if(this.match(3))return a}else if(Mw(this))return[];throw Error(Nw(this));};l.an=function(){if(this.match(2)){var a;if(2==this.b.type)for(a=[this.sf()];this.match(5);)a.push(this.sf());else a=Rw(this);if(this.match(3))return a}else if(Mw(this))return[];throw Error(Nw(this));};
l.$m=function(){if(this.match(2)){var a=Sw(this);if(this.match(3))return a}else if(Mw(this))return[];throw Error(Nw(this));};l.bn=function(){if(this.match(2)){for(var a=[this.tf()];this.match(5);)a.push(this.tf());if(this.match(3))return a}else if(Mw(this))return[];throw Error(Nw(this));};function Qw(a){for(var c=[],d=0;2>d;++d){var e=a.b;if(a.match(4))c.push(e.value);else break}if(2==c.length)return c;throw Error(Nw(a));}function Rw(a){for(var c=[Qw(a)];a.match(5);)c.push(Qw(a));return c}
function Sw(a){for(var c=[a.rf()];a.match(5);)c.push(a.rf());return c}function Mw(a){var c=1==a.b.type&&"EMPTY"==a.b.value;c&&(a.b=Jw(a.a));return c}function Nw(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.a.a+"`"}var Pw={POINT:xf,LINESTRING:M,POLYGON:D,MULTIPOINT:nn,MULTILINESTRING:kn,MULTIPOLYGON:on},Ow={POINT:Hw.prototype.sf,LINESTRING:Hw.prototype.rf,POLYGON:Hw.prototype.tf,MULTIPOINT:Hw.prototype.an,MULTILINESTRING:Hw.prototype.$m,MULTIPOLYGON:Hw.prototype.bn};function Tw(){this.version=void 0}w(Tw,Mv);Tw.prototype.a=function(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Tw.prototype.b=function(a){this.version=Ba(a.getAttribute("version"));a=U({version:this.version},Uw,a,[]);return m(a)?a:null};function Vw(a,c){return U({},Ww,a,c)}function Xw(a,c){return U({},Yw,a,c)}function Zw(a,c){var d=Vw(a,c);if(m(d)){var e=[us(a.getAttribute("width")),us(a.getAttribute("height"))];d.size=e;return d}}
function $w(a,c){return U([],ax,a,c)}
var bx=[null,"http://www.opengis.net/wms"],Uw=T(bx,{Service:R(function(a,c){return U({},cx,a,c)}),Capability:R(function(a,c){return U({},dx,a,c)})}),dx=T(bx,{Request:R(function(a,c){return U({},ex,a,c)}),Exception:R(function(a,c){return U([],fx,a,c)}),Layer:R(function(a,c){return U({},gx,a,c)})}),cx=T(bx,{Name:R(X),Title:R(X),Abstract:R(X),KeywordList:R($w),OnlineResource:R(Lv),ContactInformation:R(function(a,c){return U({},hx,a,c)}),Fees:R(X),AccessConstraints:R(X),LayerLimit:R(ts),MaxWidth:R(ts),
MaxHeight:R(ts)}),hx=T(bx,{ContactPersonPrimary:R(function(a,c){return U({},ix,a,c)}),ContactPosition:R(X),ContactAddress:R(function(a,c){return U({},jx,a,c)}),ContactVoiceTelephone:R(X),ContactFacsimileTelephone:R(X),ContactElectronicMailAddress:R(X)}),ix=T(bx,{ContactPerson:R(X),ContactOrganization:R(X)}),jx=T(bx,{AddressType:R(X),Address:R(X),City:R(X),StateOrProvince:R(X),PostCode:R(X),Country:R(X)}),fx=T(bx,{Format:up(X)}),gx=T(bx,{Name:R(X),Title:R(X),Abstract:R(X),KeywordList:R($w),CRS:wp(X),
EX_GeographicBoundingBox:R(function(a,c){var d=U({},kx,a,c);if(m(d)){var e=d.westBoundLongitude,f=d.southBoundLatitude,g=d.eastBoundLongitude,d=d.northBoundLatitude;return m(e)&&m(f)&&m(g)&&m(d)?[e,f,g,d]:void 0}}),BoundingBox:wp(function(a){var c=[ss(a.getAttribute("minx")),ss(a.getAttribute("miny")),ss(a.getAttribute("maxx")),ss(a.getAttribute("maxy"))],d=[ss(a.getAttribute("resx")),ss(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:c,res:d}}),Dimension:wp(function(a){return{name:a.getAttribute("name"),
units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:ps(a.getAttribute("multipleValues")),nearestValue:ps(a.getAttribute("nearestValue")),current:ps(a.getAttribute("current")),values:X(a)}}),Attribution:R(function(a,c){return U({},lx,a,c)}),AuthorityURL:wp(function(a,c){var d=Vw(a,c);if(m(d))return d.name=a.getAttribute("name"),d}),Identifier:wp(X),MetadataURL:wp(function(a,c){var d=Vw(a,c);if(m(d))return d.type=a.getAttribute("type"),
d}),DataURL:wp(Vw),FeatureListURL:wp(Vw),Style:wp(function(a,c){return U({},mx,a,c)}),MinScaleDenominator:R(rs),MaxScaleDenominator:R(rs),Layer:wp(function(a,c){var d=c[c.length-1],e=U({},gx,a,c);if(m(e)){var f=ps(a.getAttribute("queryable"));m(f)||(f=d.queryable);e.queryable=m(f)?f:!1;f=us(a.getAttribute("cascaded"));m(f)||(f=d.cascaded);e.cascaded=f;f=ps(a.getAttribute("opaque"));m(f)||(f=d.opaque);e.opaque=m(f)?f:!1;f=ps(a.getAttribute("noSubsets"));m(f)||(f=d.noSubsets);e.noSubsets=m(f)?f:!1;
f=ss(a.getAttribute("fixedWidth"));m(f)||(f=d.fixedWidth);e.fixedWidth=f;f=ss(a.getAttribute("fixedHeight"));m(f)||(f=d.fixedHeight);e.fixedHeight=f;Ra(["Style","CRS","AuthorityURL"],function(a){var c=d[a];if(m(c)){var f=Db(e,a),f=f.concat(c);e[a]=f}});Ra("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(a){m(e[a])||(e[a]=d[a])});return e}})}),lx=T(bx,{Title:R(X),OnlineResource:R(Lv),LogoURL:R(Zw)}),kx=T(bx,{westBoundLongitude:R(rs),
eastBoundLongitude:R(rs),southBoundLatitude:R(rs),northBoundLatitude:R(rs)}),ex=T(bx,{GetCapabilities:R(Xw),GetMap:R(Xw),GetFeatureInfo:R(Xw)}),Yw=T(bx,{Format:wp(X),DCPType:wp(function(a,c){return U({},nx,a,c)})}),nx=T(bx,{HTTP:R(function(a,c){return U({},ox,a,c)})}),ox=T(bx,{Get:R(Vw),Post:R(Vw)}),mx=T(bx,{Name:R(X),Title:R(X),Abstract:R(X),LegendURL:wp(Zw),StyleSheetURL:R(Vw),StyleURL:R(Vw)}),Ww=T(bx,{Format:R(X),OnlineResource:R(Lv)}),ax=T(bx,{Keyword:up(X)});function px(){this.c="http://mapserver.gis.umn.edu/mapserver";this.b=new zs;this.defaultDataProjection=null}w(px,ks);
function qx(a,c,d){c.namespaceURI=a.c;var e=cp(c),f=[];if(0===c.childNodes.length)return f;"msGMLOutput"==e&&Ra(c.childNodes,function(a){if(1===a.nodeType){var c=d[0],e=a.localName,n=RegExp,p;p="_layer".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");n=new n(p,"");e=e.replace(n,"")+"_feature";c.featureType=e;c.featureNS=this.c;n={};n[e]=up(this.b.vf,this.b);c=T([c.featureNS,null],n);a.namespaceURI=this.c;a=U([],c,a,d,this.b);m(a)&&cb(f,a)}},a);"FeatureCollection"==e&&(a=U([],
a.b.b,c,[{}],a.b),m(a)&&(f=a));return f}px.prototype.Pb=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};m(c)&&Ib(d,Ur(this,a,c));return qx(this,a,[d])};function rx(){this.f=new Nv}w(rx,Mv);rx.prototype.a=function(a){for(a=a.firstChild;null!==a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};rx.prototype.b=function(a){this.version=Ba(a.getAttribute("version"));var c=this.f.b(a);if(!m(c))return null;c.version=this.version;c=U(c,sx,a,[]);return m(c)?c:null};function tx(a){var c=X(a).split(" ");if(m(c)&&2==c.length)return a=+c[0],c=+c[1],isNaN(a)||isNaN(c)?void 0:[a,c]}
var ux=[null,"http://www.opengis.net/wmts/1.0"],vx=[null,"http://www.opengis.net/ows/1.1"],sx=T(ux,{Contents:R(function(a,c){return U({},wx,a,c)})}),wx=T(ux,{Layer:wp(function(a,c){return U({},xx,a,c)}),TileMatrixSet:wp(function(a,c){return U({},yx,a,c)})}),xx=T(ux,{Style:wp(function(a,c){var d=U({},zx,a,c);if(m(d)){var e="true"===a.getAttribute("isDefault");d.isDefault=e;return d}}),Format:wp(X),TileMatrixSetLink:wp(function(a,c){return U({},Ax,a,c)}),ResourceURL:wp(function(a){var c=a.getAttribute("format"),
d=a.getAttribute("template");a=a.getAttribute("resourceType");var e={};m(c)&&(e.format=c);m(d)&&(e.template=d);m(a)&&(e.resourceType=a);return e})},T(vx,{Title:R(X),Abstract:R(X),WGS84BoundingBox:R(function(a,c){var d=U([],Bx,a,c);return 2!=d.length?void 0:Md(d)}),Identifier:R(X)})),zx=T(ux,{LegendURL:wp(function(a){var c={};c.format=a.getAttribute("format");c.href=Lv(a);return c})},T(vx,{Title:R(X),Identifier:R(X)})),Ax=T(ux,{TileMatrixSet:R(X)}),Bx=T(vx,{LowerCorner:up(tx),UpperCorner:up(tx)}),
yx=T(ux,{WellKnownScaleSet:R(X),TileMatrix:wp(function(a,c){return U({},Cx,a,c)})},T(vx,{SupportedCRS:R(X),Identifier:R(X)})),Cx=T(ux,{TopLeftCorner:R(tx),ScaleDenominator:R(rs),TileWidth:R(ts),TileHeight:R(ts),MatrixWidth:R(ts),MatrixHeight:R(ts)},T(vx,{Identifier:R(X)}));var Dx=new xe(6378137);function Ex(a){id.call(this);a=m(a)?a:{};this.a=null;this.f=We;this.c=void 0;x(this,kd("projection"),this.Ik,!1,this);x(this,kd("tracking"),this.Jk,!1,this);m(a.projection)&&this.ug(Ce(a.projection));m(a.trackingOptions)&&this.th(a.trackingOptions);this.$d(m(a.tracking)?a.tracking:!1)}w(Ex,id);l=Ex.prototype;l.Y=function(){this.$d(!1);Ex.aa.Y.call(this)};l.Ik=function(){var a=this.sg();null!=a&&(this.f=Ge(Ce("EPSG:4326"),a),null===this.a||this.set("position",this.f(this.a)))};
l.Jk=function(){if(hj){var a=this.tg();a&&!m(this.c)?this.c=ba.navigator.geolocation.watchPosition(ra(this.jn,this),ra(this.kn,this),this.fg()):!a&&m(this.c)&&(ba.navigator.geolocation.clearWatch(this.c),this.c=void 0)}};
l.jn=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:bc(a.heading));null===this.a?this.a=[a.longitude,a.latitude]:(this.a[0]=a.longitude,this.a[1]=a.latitude);var c=this.f(this.a);this.set("position",c);this.set("speed",null===a.speed?void 0:a.speed);a=Nf(Dx,this.a,a.accuracy);a.Sb(this.f);this.set("accuracyGeometry",
a);this.s()};l.kn=function(a){a.type="error";this.$d(!1);C(this,a)};l.Hi=function(){return this.get("accuracy")};l.Ii=function(){return this.get("accuracyGeometry")||null};l.Ki=function(){return this.get("altitude")};l.Li=function(){return this.get("altitudeAccuracy")};l.Gk=function(){return this.get("heading")};l.Hk=function(){return this.get("position")};l.sg=function(){return this.get("projection")};l.qj=function(){return this.get("speed")};l.tg=function(){return this.get("tracking")};l.fg=function(){return this.get("trackingOptions")};
l.ug=function(a){this.set("projection",a)};l.$d=function(a){this.set("tracking",a)};l.th=function(a){this.set("trackingOptions",a)};function Fx(a,c,d){for(var e=[],f=a(0),g=a(1),h=c(f),k=c(g),n=[g,f],p=[k,h],q=[1,0],r={},t=1E5,u,B,z,E,A;0<--t&&0<q.length;)z=q.pop(),f=n.pop(),h=p.pop(),g=z.toString(),g in r||(e.push(h[0],h[1]),r[g]=!0),E=q.pop(),g=n.pop(),k=p.pop(),A=(z+E)/2,u=a(A),B=c(u),gf(B[0],B[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,A,A,z),p.push(k,B,B,h),n.push(g,u,u,f));return e}function Gx(a,c,d,e,f){var g=Ce("EPSG:4326");return Fx(function(e){return[a,c+(d-c)*e]},Ve(g,e),f)}
function Hx(a,c,d,e,f){var g=Ce("EPSG:4326");return Fx(function(e){return[c+(d-c)*e,a]},Ve(g,e),f)};function Ix(a){a=m(a)?a:{};this.g=this.l=null;this.c=this.j=Infinity;this.f=this.i=-Infinity;this.D=this.u=Infinity;this.ca=this.B=-Infinity;this.T=m(a.targetSize)?a.targetSize:100;this.ja=m(a.maxLines)?a.maxLines:100;this.b=[];this.a=[];this.J=m(a.strokeStyle)?a.strokeStyle:Jx;this.v=this.C=void 0;this.A=null;this.setMap(m(a.map)?a.map:null)}var Jx=new El({color:"rgba(0,0,0,0.2)"}),Kx=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
function Lx(a,c,d,e,f,g,h){var k=h;c=Gx(c,d,e,a.g,f);k=m(a.b[k])?a.b[k]:new M(null);jn(k,"XY",c);ke(k.R(),g)&&(a.b[h++]=k);return h}function Mx(a,c,d,e,f){var g=f;c=Hx(c,a.f,a.c,a.g,d);g=m(a.a[g])?a.a[g]:new M(null);jn(g,"XY",c);ke(g.R(),e)&&(a.a[f++]=g);return f}l=Ix.prototype;l.Kk=function(){return this.l};l.fj=function(){return this.b};l.kj=function(){return this.a};
l.jg=function(a){var c=a.vectorContext,d=a.frameState;a=d.extent;var e=d.viewState,f=e.center,g=e.projection,e=e.resolution,d=d.pixelRatio,d=e*e/(4*d*d);if(null===this.g||!Ue(this.g,g)){var h=Ce("EPSG:4326"),k=g.R(),n=g.i,p=Ye(n,h,g),q=n[2],r=n[1],t=n[0],u=p[3],B=p[2],z=p[1],p=p[0];this.j=n[3];this.c=q;this.i=r;this.f=t;this.u=u;this.D=B;this.B=z;this.ca=p;this.C=Ve(h,g);this.v=Ve(g,h);this.A=this.v(ge(k));this.g=g}g=this.A[0];h=this.A[1];k=-1;q=Math.pow(this.T*e,2);r=[];t=[];e=0;for(n=Kx.length;e<
n;++e){u=Kx[e]/2;r[0]=g-u;r[1]=h-u;t[0]=g+u;t[1]=h+u;this.C(r,r);this.C(t,t);u=Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2);if(u<=q)break;k=Kx[e]}e=k;if(-1==e)this.b.length=this.a.length=0;else{g=this.v(f);f=g[0];g=g[1];h=this.ja;k=[Math.max(a[0],this.ca),Math.max(a[1],this.B),Math.min(a[2],this.D),Math.min(a[3],this.u)];k=Ye(k,this.g,"EPSG:4326");q=k[3];t=k[1];f=Math.floor(f/e)*e;r=Zb(f,this.f,this.c);n=Lx(this,r,t,q,d,a,0);for(k=0;r!=this.f&&k++<h;)r=Math.max(r-e,this.f),n=Lx(this,r,t,q,d,a,n);r=
Zb(f,this.f,this.c);for(k=0;r!=this.c&&k++<h;)r=Math.min(r+e,this.c),n=Lx(this,r,t,q,d,a,n);this.b.length=n;g=Math.floor(g/e)*e;f=Zb(g,this.i,this.j);n=Mx(this,f,d,a,0);for(k=0;f!=this.i&&k++<h;)f=Math.max(f-e,this.i),n=Mx(this,f,d,a,n);f=Zb(g,this.i,this.j);for(k=0;f!=this.j&&k++<h;)f=Math.min(f+e,this.j),n=Mx(this,f,d,a,n);this.a.length=n}c.Ia(null,this.J);a=0;for(d=this.b.length;a<d;++a)f=this.b[a],c.yb(f,null);a=0;for(d=this.a.length;a<d;++a)f=this.a[a],c.yb(f,null)};
l.setMap=function(a){null!==this.l&&(this.l.K("postcompose",this.jg,this),this.l.render());null!==a&&(a.G("postcompose",this.jg,this),a.render());this.l=a};function Nx(a,c,d,e,f,g,h){mk.call(this,a,c,d,0,e);this.l=f;this.a=new Image;null!==g&&(this.a.crossOrigin=g);this.f={};this.c=null;this.state=0;this.i=h}w(Nx,mk);Nx.prototype.b=function(a){if(m(a)){var c=ma(a);if(c in this.f)return this.f[c];a=zb(this.f)?this.a:this.a.cloneNode(!1);return this.f[c]=a}return this.a};Nx.prototype.C=function(){this.state=3;Ra(this.c,Zc);this.c=null;nk(this)};
Nx.prototype.A=function(){m(this.resolution)||(this.resolution=ie(this.extent)/this.a.height);this.state=2;Ra(this.c,Zc);this.c=null;nk(this)};Nx.prototype.load=function(){0==this.state&&(this.state=1,nk(this),this.c=[Xc(this.a,"error",this.C,!1,this),Xc(this.a,"load",this.A,!1,this)],this.i(this,this.l))};function Ox(a,c,d,e,f){Eh.call(this,a,c);this.i=d;this.a=new Image;null!==e&&(this.a.crossOrigin=e);this.c={};this.g=null;this.l=f}w(Ox,Eh);l=Ox.prototype;l.Y=function(){1==this.state&&Px(this);Ox.aa.Y.call(this)};l.Ra=function(a){if(m(a)){var c=ma(a);if(c in this.c)return this.c[c];a=zb(this.c)?this.a:this.a.cloneNode(!1);return this.c[c]=a}return this.a};l.jb=function(){return this.i};l.Lk=function(){this.state=3;Px(this);Fh(this)};
l.Mk=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?2:4;Px(this);Fh(this)};l.load=function(){0==this.state&&(this.state=1,Fh(this),this.g=[Xc(this.a,"error",this.Lk,!1,this),Xc(this.a,"load",this.Mk,!1,this)],this.l(this,this.i))};function Px(a){Ra(a.g,Zc);a.g=null};function Qx(a,c,d){return function(e,f,g){return d(a,c,e,f,g)}}function Rx(){};function Sx(a,c){cd.call(this);this.b=new Cr(this);var d=a;c&&(d=Kg(a));this.b.Qa(d,"dragenter",this.Sm);d!=a&&this.b.Qa(d,"dragover",this.Tm);this.b.Qa(a,"dragover",this.Um);this.b.Qa(a,"drop",this.Vm)}w(Sx,cd);l=Sx.prototype;l.bd=!1;l.Y=function(){Sx.aa.Y.call(this);this.b.ad()};l.Sm=function(a){var c=a.b.dataTransfer;(this.bd=!(!c||!(c.types&&(Ya(c.types,"Files")||Ya(c.types,"public.file-url"))||c.files&&0<c.files.length)))&&a.preventDefault()};
l.Tm=function(a){this.bd&&(a.preventDefault(),a.b.dataTransfer.dropEffect="none")};l.Um=function(a){if(this.bd){a.preventDefault();a.c();a=a.b.dataTransfer;try{a.effectAllowed="all"}catch(c){}a.dropEffect="copy"}};l.Vm=function(a){this.bd&&(a.preventDefault(),a.c(),a=new Ac(a.b),a.type="drop",C(this,a))};/*
 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 Tx(a,c){this.g=[];this.u=a;this.v=c||null;this.f=this.b=!1;this.c=void 0;this.C=this.D=this.i=!1;this.j=0;this.a=null;this.l=0}Tx.prototype.cancel=function(a){if(this.b)this.c instanceof Tx&&this.c.cancel();else{if(this.a){var c=this.a;delete this.a;a?c.cancel(a):(c.l--,0>=c.l&&c.cancel())}this.u?this.u.call(this.v,this):this.C=!0;this.b||(a=new Ux,Vx(this),Wx(this,!1,a))}};Tx.prototype.A=function(a,c){this.i=!1;Wx(this,a,c)};function Wx(a,c,d){a.b=!0;a.c=d;a.f=!c;Xx(a)}
function Vx(a){if(a.b){if(!a.C)throw new Yx;a.C=!1}}Tx.prototype.Tc=function(a){Vx(this);Wx(this,!0,a)};function Zx(a,c,d,e){a.g.push([c,d,e]);a.b&&Xx(a)}Tx.prototype.then=function(a,c,d){var e,f,g=new Sn(function(a,c){e=a;f=c});Zx(this,e,function(a){a instanceof Ux?g.cancel():f(a)});return g.then(a,c,d)};Fn(Tx);function $x(a){return Va(a.g,function(a){return ka(a[1])})}
function Xx(a){if(a.j&&a.b&&$x(a)){var c=a.j,d=ay[c];d&&(ba.clearTimeout(d.ga),delete ay[c]);a.j=0}a.a&&(a.a.l--,delete a.a);for(var c=a.c,e=d=!1;a.g.length&&!a.i;){var f=a.g.shift(),g=f[0],h=f[1],f=f[2];if(g=a.f?h:g)try{var k=g.call(f||a.v,c);m(k)&&(a.f=a.f&&(k==c||k instanceof Error),a.c=c=k);if(Gn(c)||"function"===typeof ba.Promise&&c instanceof ba.Promise)e=!0,a.i=!0}catch(n){c=n,a.f=!0,$x(a)||(d=!0)}}a.c=c;e&&(k=ra(a.A,a,!0),e=ra(a.A,a,!1),c instanceof Tx?(Zx(c,k,e),c.D=!0):c.then(k,e));d&&(c=
new by(c),ay[c.ga]=c,a.j=c.ga)}function Yx(){xa.call(this)}w(Yx,xa);Yx.prototype.message="Deferred has already fired";Yx.prototype.name="AlreadyCalledError";function Ux(){xa.call(this)}w(Ux,xa);Ux.prototype.message="Deferred was canceled";Ux.prototype.name="CanceledError";function by(a){this.ga=ba.setTimeout(ra(this.a,this),0);this.b=a}by.prototype.a=function(){delete ay[this.ga];throw this.b;};var ay={};function cy(a,c){m(a.name)?(this.name=a.name,this.code=dy[a.name]):(this.code=a.code,this.name=ey(a.code));xa.call(this,Aa("%s %s",this.name,c))}w(cy,xa);function ey(a){var c=yb(dy,function(c){return a==c});if(!m(c))throw Error("Invalid code: "+a);return c}var dy={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 fy(a,c){vc.call(this,a.type,c)}w(fy,vc);function gy(){cd.call(this);this.bb=new FileReader;this.bb.onloadstart=ra(this.b,this);this.bb.onprogress=ra(this.b,this);this.bb.onload=ra(this.b,this);this.bb.onabort=ra(this.b,this);this.bb.onerror=ra(this.b,this);this.bb.onloadend=ra(this.b,this)}w(gy,cd);gy.prototype.getError=function(){return this.bb.error&&new cy(this.bb.error,"reading file")};gy.prototype.b=function(a){C(this,new fy(a,this))};gy.prototype.Y=function(){gy.aa.Y.call(this);delete this.bb};
function hy(a){var c=new Tx;a.Qa("loadend",sa(function(a,c){var f=c.bb.result,g=c.getError();null==f||g?(Vx(a),Wx(a,!1,g)):a.Tc(f);c.ad()},c,a));return c};function iy(a){a=m(a)?a:{};Uk.call(this,{handleEvent:re});this.j=m(a.formatConstructors)?a.formatConstructors:[];this.v=m(a.projection)?Ce(a.projection):null;this.f=null;this.a=void 0}w(iy,Uk);iy.prototype.Y=function(){m(this.a)&&Zc(this.a);iy.aa.Y.call(this)};iy.prototype.i=function(a){a=a.b.dataTransfer.files;var c,d,e;c=0;for(d=a.length;c<d;++c){var f=e=a[c],g=new gy,h=hy(g);g.bb.readAsText(f,"");Zx(h,sa(this.l,e),null,this)}};
iy.prototype.l=function(a,c){var d=this.A,e=this.v;null===e&&(e=d.$().g);var d=this.j,f=[],g,h;g=0;for(h=d.length;g<h;++g){var k=new d[g],n;try{n=k.ra(c)}catch(p){n=null}if(null!==n){var k=k.Ha(c),k=Ve(k,e),q,r;q=0;for(r=n.length;q<r;++q){var t=n[q],u=t.V();null!=u&&u.Sb(k);f.push(t)}}}C(this,new jy(ky,this,a,f,e))};
iy.prototype.setMap=function(a){m(this.a)&&(Zc(this.a),this.a=void 0);null!==this.f&&(uc(this.f),this.f=null);iy.aa.setMap.call(this,a);null!==a&&(this.f=new Sx(a.a),this.a=x(this.f,"drop",this.i,!1,this))};var ky="addfeatures";function jy(a,c,d,e,f){vc.call(this,a,c);this.features=e;this.file=d;this.projection=f}w(jy,vc);function ly(a,c){this.x=a;this.y=c}w(ly,Gg);ly.prototype.clone=function(){return new ly(this.x,this.y)};ly.prototype.scale=Gg.prototype.scale;ly.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};ly.prototype.rotate=function(a){var c=Math.cos(a);a=Math.sin(a);var d=this.y*c+this.x*a;this.x=this.x*c-this.y*a;this.y=d;return this};function my(a){a=m(a)?a:{};gl.call(this,{handleDownEvent:ny,handleDragEvent:oy,handleUpEvent:py});this.l=m(a.condition)?a.condition:dl;this.a=this.f=void 0;this.i=0;this.v=m(a.duration)?a.duration:400}w(my,gl);
function oy(a){if(fl(a)){var c=a.map,d=c.Ea();a=a.pixel;a=new ly(a[0]-d[0]/2,d[1]/2-a[1]);d=Math.atan2(a.y,a.x);a=Math.sqrt(a.x*a.x+a.y*a.y);var e=c.$();c.render();if(m(this.f)){var f=d-this.f;Vk(c,e,e.va()-f)}this.f=d;m(this.a)&&(d=this.a*(e.sa()/a),Xk(c,e,d));m(this.a)&&(this.i=this.a/a);this.a=a}}
function py(a){if(!fl(a))return!0;a=a.map;var c=a.$();Xf(c,-1);var d=this.i-1,e=c.va(),e=c.constrainRotation(e,0);Vk(a,c,e,void 0,void 0);var e=c.sa(),f=this.v,e=c.constrainResolution(e,0,d);Xk(a,c,e,void 0,f);this.i=0;return!1}function ny(a){return fl(a)&&this.l(a)?(Xf(a.map.$(),1),this.a=this.f=void 0,!0):!1};function qy(a,c){vc.call(this,a);this.feature=c}w(qy,vc);
function ry(a){gl.call(this,{handleDownEvent:sy,handleEvent:ty,handleUpEvent:uy});this.ba=null;this.T=!1;this.mb=m(a.source)?a.source:null;this.Va=m(a.features)?a.features:null;this.Kh=m(a.snapTolerance)?a.snapTolerance:12;this.Z=a.type;this.f=vy(this.Z);this.Na=m(a.minPoints)?a.minPoints:this.f===wy?3:2;this.za=m(a.maxPoints)?a.maxPoints:Infinity;var c=a.geometryFunction;if(!m(c))if("Circle"===this.Z)c=function(a,c){var d=m(c)?c:new $m([NaN,NaN]);d.Cf(a[0],Math.sqrt(vd(a[0],a[1])));return d};else{var d,
c=this.f;c===xy?d=xf:c===yy?d=M:c===wy&&(d=D);c=function(a,c){var g=c;m(g)?g.ia(a):g=new d(a);return g}}this.D=c;this.J=this.v=this.a=this.B=this.i=this.l=null;this.ni=m(a.clickTolerance)?a.clickTolerance*a.clickTolerance:36;this.da=new L({source:new V({useSpatialIndex:!1,wrapX:m(a.wrapX)?a.wrapX:!1}),style:m(a.style)?a.style:zy()});this.lb=a.geometryName;this.ci=m(a.condition)?a.condition:cl;this.qa=m(a.freehandCondition)?a.freehandCondition:dl;x(this,kd("active"),this.zh,!1,this)}w(ry,gl);
function zy(){var a=Pl();return function(c){return a[c.V().W()]}}l=ry.prototype;l.setMap=function(a){ry.aa.setMap.call(this,a);this.zh()};function ty(a){var c=!this.T;this.T&&a.type===gk?(Ay(this,a),c=!1):a.type===fk?c=By(this,a):a.type===Zj&&(c=!1);return hl.call(this,a)&&c}function sy(a){if(this.ci(a))return this.ba=a.pixel,!0;if(this.f!==yy&&this.f!==wy||!this.qa(a))return!1;this.ba=a.pixel;this.T=!0;null===this.l&&Cy(this,a);return!0}
function uy(a){this.T=!1;var c=this.ba,d=a.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.ni&&(By(this,a),null===this.l?(Cy(this,a),this.f===xy&&this.cd()):this.f===Dy?this.cd():Ey(this,a)?this.cd():Ay(this,a),d=!1);return d}
function By(a,c){if(null===a.l){var d=c.coordinate.slice();null===a.B?(a.B=new En(new xf(d)),Fy(a)):a.B.V().ia(d)}else{var d=c.coordinate,e=a.i.V(),f;a.f===xy?f=a.a:a.f===wy?(f=a.a[0],f=f[f.length-1],Ey(a,c)&&(d=a.l.slice())):(f=a.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];a.D(a.a,e);null===a.B||a.B.V().ia(d);e instanceof D&&a.f!==wy?(null===a.v&&(a.v=new En(new M(null))),e=e.ag(0),d=a.v.V(),jn(d,e.a,e.o)):null!==a.J&&(d=a.v.V(),d.ia(a.J));Fy(a)}return!0}
function Ey(a,c){var d=!1;if(null!==a.i){var e=!1,f=[a.l];a.f===yy?e=a.a.length>a.Na:a.f===wy&&(e=a.a[0].length>a.Na,f=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],n=e.Ba(k),p=c.pixel,d=p[0]-n[0],n=p[1]-n[1],p=a.T&&a.qa(c)?1:a.Kh;if(d=Math.sqrt(d*d+n*n)<=p){a.l=k;break}}}return d}
function Cy(a,c){var d=c.coordinate;a.l=d;a.f===xy?a.a=d.slice():a.f===wy?(a.a=[[d.slice(),d.slice()]],a.J=a.a[0]):(a.a=[d.slice(),d.slice()],a.f===Dy&&(a.J=a.a));null!==a.J&&(a.v=new En(new M(a.J)));d=a.D(a.a);a.i=new En;m(a.lb)&&a.i.Lc(a.lb);a.i.ta(d);Fy(a);C(a,new qy("drawstart",a.i))}
function Ay(a,c){var d=c.coordinate,e=a.i.V(),f,g;if(a.f===yy)a.l=d.slice(),g=a.a,g.push(d.slice()),f=g.length>a.za,a.D(g,e);else if(a.f===wy){g=a.a[0];g.push(d.slice());if(f=g.length>a.za)a.l=g[0];a.D(a.a,e)}Fy(a);f&&a.cd()}l.Gn=function(){var a=this.i.V(),c,d;this.f===yy?(c=this.a,c.splice(-2,1),this.D(c,a)):this.f===wy&&(c=this.a[0],c.splice(-2,1),d=this.v.V(),d.ia(c),this.D(this.a,a));0===c.length&&(this.l=null);Fy(this)};
l.cd=function(){var a=Gy(this),c=this.a,d=a.V();this.f===yy?(c.pop(),this.D(c,d)):this.f===wy&&(c[0].pop(),c[0].push(c[0][0]),this.D(c,d));"MultiPoint"===this.Z?a.ta(new nn([c])):"MultiLineString"===this.Z?a.ta(new kn([c])):"MultiPolygon"===this.Z&&a.ta(new on([c]));C(this,new qy("drawend",a));null===this.Va||this.Va.push(a);null===this.mb||this.mb.Fc(a)};function Gy(a){a.l=null;var c=a.i;null!==c&&(a.i=null,a.B=null,a.v=null,a.da.ea().clear(!0));return c}
l.kl=function(a){var c=a.V();this.i=a;this.a=c.U();a=this.a[this.a.length-1];this.l=a.slice();this.a.push(a.slice());Fy(this);C(this,new qy("drawstart",this.i))};l.qc=qe;function Fy(a){var c=[];null===a.i||c.push(a.i);null===a.v||c.push(a.v);null===a.B||c.push(a.B);a=a.da.ea();a.clear(!0);a.Rb(c)}l.zh=function(){var a=this.A,c=this.c();null!==a&&c||Gy(this);this.da.setMap(c?a:null)};
function vy(a){var c;"Point"===a||"MultiPoint"===a?c=xy:"LineString"===a||"MultiLineString"===a?c=yy:"Polygon"===a||"MultiPolygon"===a?c=wy:"Circle"===a&&(c=Dy);return c}var xy="Point",yy="LineString",wy="Polygon",Dy="Circle";function Hy(a,c,d){vc.call(this,a);this.features=c;this.mapBrowserPointerEvent=d}w(Hy,vc);
function Iy(a){gl.call(this,{handleDownEvent:Jy,handleDragEvent:Ky,handleEvent:Ly,handleUpEvent:My});this.qa=m(a.deleteCondition)?a.deleteCondition:we(cl,bl);this.da=this.f=null;this.Z=[0,0];this.J=!1;this.a=new Jp;this.D=m(a.pixelTolerance)?a.pixelTolerance:10;this.l=this.ba=!1;this.i=null;this.B=new L({source:new V({useSpatialIndex:!1,wrapX:m(a.wrapX)?a.wrapX:!1}),style:m(a.style)?a.style:Ny(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.T={Point:this.rl,LineString:this.Ag,LinearRing:this.Ag,
Polygon:this.sl,MultiPoint:this.pl,MultiLineString:this.ol,MultiPolygon:this.ql,GeometryCollection:this.nl};this.v=a.features;this.v.forEach(this.nf,this);x(this.v,"add",this.ll,!1,this);x(this.v,"remove",this.ml,!1,this)}w(Iy,gl);l=Iy.prototype;l.nf=function(a){var c=a.V();m(this.T[c.W()])&&this.T[c.W()].call(this,a,c);c=this.A;null===c||Oy(this,this.Z,c);x(a,"change",this.zg,!1,this)};function Py(a,c){Qy(a,c);null!==a.f&&0===a.v.Jb()&&(a.B.ea().hc(a.f),a.f=null);Yc(c,"change",a.zg,!1,a)}
function Qy(a,c){var d=a.a,e=[];d.forEach(function(a){c===a.feature&&e.push(a)});for(var f=e.length-1;0<=f;--f)d.remove(e[f])}l.setMap=function(a){this.B.setMap(a);Iy.aa.setMap.call(this,a)};l.ll=function(a){this.nf(a.element)};l.zg=function(a){this.l||(a=a.target,Py(this,a),this.nf(a))};l.ml=function(a){Py(this,a.element)};l.rl=function(a,c){var d=c.U(),d={feature:a,geometry:c,ha:[d,d]};this.a.pa(c.R(),d)};
l.pl=function(a,c){var d=c.U(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,geometry:c,depth:[f],index:f,ha:[e,e]},this.a.pa(c.R(),e)};l.Ag=function(a,c){var d=c.U(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,geometry:c,index:e,ha:g},this.a.pa(Md(g),h)};l.ol=function(a,c){var d=c.U(),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:a,geometry:c,depth:[h],index:f,ha:n},this.a.pa(Md(n),p)};
l.sl=function(a,c){var d=c.U(),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:a,geometry:c,depth:[h],index:f,ha:n},this.a.pa(Md(n),p)};l.ql=function(a,c){var d=c.U(),e,f,g,h,k,n,p,q,r,t;n=0;for(p=d.length;n<p;++n)for(q=d[n],h=0,k=q.length;h<k;++h)for(e=q[h],f=0,g=e.length-1;f<g;++f)r=e.slice(f,f+2),t={feature:a,geometry:c,depth:[h,n],index:f,ha:r},this.a.pa(Md(r),t)};
l.nl=function(a,c){var d,e=c.f;for(d=0;d<e.length;++d)this.T[e[d].W()].call(this,a,e[d])};function Ry(a,c){var d=a.f;null===d?(d=new En(new xf(c)),a.f=d,a.B.ea().Fc(d)):d.V().ia(c)}function Sy(a,c){return a.index-c.index}
function Jy(a){Oy(this,a.pixel,a.map);this.i=[];var c=this.f;if(null!==c){var d=[],c=c.V().U(),e=Md([c]),e=Mp(this.a,e),f={};e.sort(Sy);for(var g=0,h=e.length;g<h;++g){var k=e[g],n=k.ha,p=ma(k.feature),q=k.depth;q&&(p+="-"+q.join("-"));f[p]||(f[p]=Array(2));if(td(n[0],c)&&!f[p][0])this.i.push([k,0]),f[p][0]=k;else if(td(n[1],c)&&!f[p][1]){if("LineString"!==k.geometry.W()&&"MultiLineString"!==k.geometry.W()||!f[p][0]||0!==f[p][0].index)this.i.push([k,1]),f[p][1]=k}else ma(n)in this.da&&!f[p][0]&&!f[p][1]&&
d.push([k,c])}for(g=d.length-1;0<=g;--g)this.hk.apply(this,d[g]);C(this,new Hy("modifystart",this.v,a))}return null!==this.f}
function Ky(a){this.J=!1;a=a.coordinate;for(var c=0,d=this.i.length;c<d;++c){for(var e=this.i[c],f=e[0],g=f.depth,h=f.geometry,k=h.U(),n=f.ha,e=e[1];a.length<h.H;)a.push(0);switch(h.W()){case "Point":k=a;n[0]=n[1]=a;break;case "MultiPoint":k[f.index]=a;n[0]=n[1]=a;break;case "LineString":k[f.index+e]=a;n[e]=a;break;case "MultiLineString":k[g[0]][f.index+e]=a;n[e]=a;break;case "Polygon":k[g[0]][f.index+e]=a;n[e]=a;break;case "MultiPolygon":k[g[1]][g[0]][f.index+e]=a,n[e]=a}f=h;this.l=!0;f.ia(k);this.l=
!1}Ry(this,a)}function My(a){for(var c,d=this.i.length-1;0<=d;--d)c=this.i[d][0],Kp(this.a,Md(c.ha),c);C(this,new Hy("modifyend",this.v,a));return!1}
function Ly(a){var c;a.map.$().c.slice()[1]||a.type!=fk||this.u||(this.Z=a.pixel,Oy(this,a.pixel,a.map));if(null!==this.f&&this.qa(a))if(a.type==ak&&this.J)c=!0;else{this.f.V();c=this.i;var d={},e,f,g,h,k,n,p,q,r;for(k=c.length-1;0<=k;--k)if(g=c[k],q=g[0],h=q.geometry,f=h.U(),r=ma(q.feature),q.depth&&(r+="-"+q.depth.join("-")),p=e=n=void 0,0===g[1]?(e=q,n=q.index):1==g[1]&&(p=q,n=q.index+1),r in d||(d[r]=[p,e,n]),g=d[r],m(p)&&(g[0]=p),m(e)&&(g[1]=e),m(g[0])&&m(g[1])){e=f;r=!1;p=n-1;switch(h.W()){case "MultiLineString":f[q.depth[0]].splice(n,
1);r=!0;break;case "LineString":f.splice(n,1);r=!0;break;case "MultiPolygon":e=e[q.depth[1]];case "Polygon":e=e[q.depth[0]],4<e.length&&(n==e.length-1&&(n=0),e.splice(n,1),r=!0,0===n&&(e.pop(),e.push(e[0]),p=e.length-1))}r&&(this.a.remove(g[0]),this.a.remove(g[1]),e=h,this.l=!0,e.ia(f),this.l=!1,f={depth:q.depth,feature:q.feature,geometry:q.geometry,index:p,ha:[g[0].ha[0],g[1].ha[1]]},this.a.pa(Md(f.ha),f),Ty(this,h,n,q.depth,-1),null!==this.f&&(this.B.ea().hc(this.f),this.f=null))}c=!0}a.type==ak&&
(this.J=!1);return hl.call(this,a)&&!c}
function Oy(a,c,d){function e(a,c){return wd(f,a.ha)-wd(f,c.ha)}var f=d.wa(c),g=d.wa([c[0]-a.D,c[1]+a.D]),h=d.wa([c[0]+a.D,c[1]-a.D]),g=Md([g,h]),g=Mp(a.a,g);if(0<g.length){g.sort(e);var h=g[0].ha,k=qd(f,h),n=d.Ba(k);if(Math.sqrt(vd(c,n))<=a.D){c=d.Ba(h[0]);d=d.Ba(h[1]);c=vd(n,c);d=vd(n,d);a.ba=Math.sqrt(Math.min(c,d))<=a.D;a.ba&&(k=c>d?h[1]:h[0]);Ry(a,k);d={};d[ma(h)]=!0;c=1;for(n=g.length;c<n;++c)if(k=g[c].ha,td(h[0],k[0])&&td(h[1],k[1])||td(h[0],k[1])&&td(h[1],k[0]))d[ma(k)]=!0;else break;a.da=
d;return}}null!==a.f&&(a.B.ea().hc(a.f),a.f=null)}
l.hk=function(a,c){for(var d=a.ha,e=a.feature,f=a.geometry,g=a.depth,h=a.index,k;c.length<f.H;)c.push(0);switch(f.W()){case "MultiLineString":k=f.U();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.U();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.U();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.U();k.splice(h+1,0,c);break;default:return}this.l=!0;f.ia(k);this.l=!1;k=this.a;k.remove(a);Ty(this,f,h,g,1);var n={ha:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.pa(Md(n.ha),n);
this.i.push([n,1]);d={ha:[c,d[1]],feature:e,geometry:f,depth:g,index:h+1};k.pa(Md(d.ha),d);this.i.push([d,0]);this.J=!0};function Ty(a,c,d,e,f){Op(a.a,c.R(),function(a){a.geometry===c&&(!m(e)||kb(a.depth,e))&&a.index>d&&(a.index+=f)})}function Ny(){var a=Pl();return function(){return a.Point}};function Uy(a,c,d,e){vc.call(this,a);this.selected=c;this.deselected=d;this.mapBrowserEvent=e}w(Uy,vc);
function Vy(a){Uk.call(this,{handleEvent:Wy});a=m(a)?a:{};this.v=m(a.condition)?a.condition:bl;this.i=m(a.addCondition)?a.addCondition:qe;this.J=m(a.removeCondition)?a.removeCondition:qe;this.T=m(a.toggleCondition)?a.toggleCondition:dl;this.l=m(a.multi)?a.multi:!1;this.f=m(a.filter)?a.filter:re;var c;if(m(a.layers))if(ka(a.layers))c=a.layers;else{var d=a.layers;c=function(a){return Ya(d,a)}}else c=re;this.j=c;this.a=new L({source:new V({useSpatialIndex:!1,wrapX:a.wrapX}),style:m(a.style)?a.style:
Xy(),updateWhileAnimating:!0,updateWhileInteracting:!0});a=this.a.ea().c;x(a,"add",this.u,!1,this);x(a,"remove",this.B,!1,this)}w(Vy,Uk);Vy.prototype.D=function(){return this.a.ea().c};
function Wy(a){if(!this.v(a))return!0;var c=this.i(a),d=this.J(a),e=this.T(a),f=!c&&!d&&!e,g=a.map,h=this.a.ea().c,k=[],n=[],p=!1;if(f)g.dd(a.pixel,function(a,c){if(this.f(a,c))return n.push(a),!this.l},this,this.j),0<n.length&&1==h.Jb()&&h.item(0)==n[0]||(p=!0,0!==h.Jb()&&(k=Array.prototype.concat(h.a),h.clear()),h.gf(n));else{g.dd(a.pixel,function(a,f){-1==Qa(h.a,a)?(c||e)&&this.f(a,f)&&n.push(a):(d||e)&&k.push(a)},this,this.j);for(f=k.length-1;0<=f;--f)h.remove(k[f]);h.gf(n);if(0<n.length||0<k.length)p=
!0}p&&C(this,new Uy("select",n,k,a));return al(a)}Vy.prototype.setMap=function(a){var c=this.A,d=this.a.ea().c;null===c||d.forEach(c.xh,c);Vy.aa.setMap.call(this,a);this.a.setMap(a);null===a||d.forEach(a.uh,a)};function Xy(){var a=Pl();cb(a.Polygon,a.LineString);cb(a.GeometryCollection,a.LineString);return function(c){return a[c.V().W()]}}Vy.prototype.u=function(a){a=a.element;var c=this.A;null===c||c.uh(a)};Vy.prototype.B=function(a){a=a.element;var c=this.A;null===c||c.xh(a)};function Yy(a){gl.call(this,{handleEvent:Zy,handleDownEvent:re,handleUpEvent:$y});a=m(a)?a:{};this.l=m(a.source)?a.source:null;this.i=m(a.features)?a.features:null;this.ba=[];this.D={};this.B={};this.T={};this.v={};this.J=null;this.f=m(a.pixelTolerance)?a.pixelTolerance:10;this.da=ra(az,this);this.a=new Jp;this.Z={Point:this.yl,LineString:this.Dg,LinearRing:this.Dg,Polygon:this.zl,MultiPoint:this.wl,MultiLineString:this.vl,MultiPolygon:this.xl,GeometryCollection:this.ul}}w(Yy,gl);l=Yy.prototype;
l.jd=function(a,c){var d=m(c)?c:!0,e=a.V(),f=this.Z[e.W()];if(m(f)){var g=ma(a);this.T[g]=e.R(Nd());f.call(this,a,e);d&&(this.B[g]=e.G("change",ra(this.Gj,this,a),this),this.D[g]=a.G(kd(a.a),this.tl,this))}};l.Ei=function(a){this.jd(a)};l.Fi=function(a){this.kd(a)};l.Bg=function(a){var c;a instanceof Tp?c=a.feature:a instanceof tg&&(c=a.element);this.jd(c)};l.Cg=function(a){var c;a instanceof Tp?c=a.feature:a instanceof tg&&(c=a.element);this.kd(c)};
l.tl=function(a){a=a.g;this.kd(a,!0);this.jd(a,!0)};l.Gj=function(a){if(this.u){var c=ma(a);c in this.v||(this.v[c]=a)}else this.yh(a)};l.kd=function(a,c){var d=m(c)?c:!0,e=ma(a),f=this.T[e];if(f){var g=this.a,h=[];Op(g,f,function(c){a===c.feature&&h.push(c)});for(f=h.length-1;0<=f;--f)g.remove(h[f]);d&&(Zc(this.B[e]),delete this.B[e],Zc(this.D[e]),delete this.D[e])}};
l.setMap=function(a){var c=this.A,d=this.ba,e;null===this.i?null===this.l||(e=this.l.Gc()):e=this.i;c&&(Ra(d,gd),d.length=0,e.forEach(this.Fi,this));Yy.aa.setMap.call(this,a);a&&(null!==this.i?(d.push(this.i.G("add",this.Bg,this)),d.push(this.i.G("remove",this.Cg,this))):null!==this.l&&(d.push(this.l.G("addfeature",this.Bg,this)),d.push(this.l.G("removefeature",this.Cg,this))),e.forEach(this.Ei,this))};l.qc=qe;l.yh=function(a){this.kd(a,!1);this.jd(a,!1)};
l.ul=function(a,c){var d,e=c.f;for(d=0;d<e.length;++d)this.Z[e[d].W()].call(this,a,e[d])};l.Dg=function(a,c){var d=c.U(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,ha:g},this.a.pa(Md(g),h)};l.vl=function(a,c){var d=c.U(),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:a,ha:n},this.a.pa(Md(n),p)};l.wl=function(a,c){var d=c.U(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,ha:[e,e]},this.a.pa(c.R(),e)};
l.xl=function(a,c){var d=c.U(),e,f,g,h,k,n,p,q,r,t;n=0;for(p=d.length;n<p;++n)for(q=d[n],h=0,k=q.length;h<k;++h)for(e=q[h],f=0,g=e.length-1;f<g;++f)r=e.slice(f,f+2),t={feature:a,ha:r},this.a.pa(Md(r),t)};l.yl=function(a,c){var d=c.U(),d={feature:a,ha:[d,d]};this.a.pa(c.R(),d)};l.zl=function(a,c){var d=c.U(),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:a,ha:n},this.a.pa(Md(n),p)};
function Zy(a){var c,d,e=a.pixel,f=a.coordinate;c=a.map;var g=c.wa([e[0]-this.f,e[1]+this.f]);d=c.wa([e[0]+this.f,e[1]-this.f]);var g=Md([g,d]),h=Mp(this.a,g),k=!1,g=!1,n=null;d=null;0<h.length&&(this.J=f,h.sort(this.da),h=h[0].ha,n=qd(f,h),d=c.Ba(n),Math.sqrt(vd(e,d))<=this.f&&(g=!0,e=c.Ba(h[0]),f=c.Ba(h[1]),e=vd(d,e),f=vd(d,f),k=Math.sqrt(Math.min(e,f))<=this.f))&&(n=e>f?h[1]:h[0],d=c.Ba(n),d=[Math.round(d[0]),Math.round(d[1])]);c=n;g&&(a.coordinate=c.slice(0,2),a.pixel=d);return hl.call(this,a)}
function $y(){var a=ub(this.v);a.length&&(Ra(a,this.yh,this),this.v={});return!1}function az(a,c){return wd(this.J,a.ha)-wd(this.J,c.ha)};function bz(a){gl.call(this,{handleDownEvent:cz,handleDragEvent:dz,handleMoveEvent:ez,handleUpEvent:fz});this.l=void 0;this.a=null;this.f=m(a.features)?a.features:null;this.i=null}w(bz,gl);function cz(a){this.i=gz(this,a.pixel,a.map);return null===this.a&&null!==this.i?(this.a=a.coordinate,ez.call(this,a),!0):!1}function fz(a){return null!==this.a?(this.a=null,ez.call(this,a),!0):!1}
function dz(a){if(null!==this.a){a=a.coordinate;var c=a[0]-this.a[0],d=a[1]-this.a[1];if(null!==this.f)this.f.forEach(function(a){var e=a.V();e.translate(c,d);a.ta(e)});else if(null===this.i){var e=this.i.V();e.translate(c,d);this.i.ta(e)}this.a=a}}
function ez(a){var c=a.map.Cc();if(a=a.map.dd(a.pixel,function(a){return a})){var d=!1;null!==this.f&&Ya(this.f.a,a)&&(d=!0);this.l=c.style.cursor;c.style.cursor=null===this.a?d?"-webkit-grab":"pointer":"-webkit-grabbing";c.style.cursor=null===this.a?"grabbing":d?"grab":"pointer"}else c.style.cursor=m(this.l)?this.l:"",this.l=void 0}function gz(a,c,d){var e=null;c=d.dd(c,function(a){return a});null!==a.f&&Ya(a.f.a,c)&&(e=c);return e};function Y(a){a=m(a)?a:{};var c=Eb(a);delete c.gradient;delete c.radius;delete c.blur;delete c.shadow;delete c.weight;L.call(this,c);this.f=null;this.Z=m(a.shadow)?a.shadow:250;this.J=void 0;this.u=null;x(this,kd("gradient"),this.Hj,!1,this);this.oh(m(a.gradient)?a.gradient:hz);this.kh(m(a.blur)?a.blur:15);this.Fg(m(a.radius)?a.radius:8);x(this,[kd("blur"),kd("radius")],this.kg,!1,this);this.kg();var d=m(a.weight)?a.weight:"weight",e;ia(d)?e=function(a){return a.get(d)}:e=d;this.g(ra(function(a){a=
e(a);a=m(a)?Zb(a,0,1):1;var c=255*a|0,d=this.u[c];m(d)||(d=[new Kl({image:new Ck({opacity:a,src:this.J})})],this.u[c]=d);return d},this));this.set("renderOrder",null);x(this,"render",this.Zj,!1,this)}w(Y,L);var hz=["#00f","#0ff","#0f0","#ff0","#f00"];l=Y.prototype;l.Xf=function(){return this.get("blur")};l.$f=function(){return this.get("gradient")};l.Eg=function(){return this.get("radius")};
l.Hj=function(){for(var a=this.$f(),c=Wi(1,256),d=c.createLinearGradient(0,0,1,256),e=1/(a.length-1),f=0,g=a.length;f<g;++f)d.addColorStop(f*e,a[f]);c.fillStyle=d;c.fillRect(0,0,1,256);this.f=c.getImageData(0,0,1,256).data};l.kg=function(){var a=this.Eg(),c=this.Xf(),d=a+c+1,e=2*d,e=Wi(e,e);e.shadowOffsetX=e.shadowOffsetY=this.Z;e.shadowBlur=c;e.shadowColor="#000";e.beginPath();c=d-this.Z;e.arc(c,c,a,0,2*Math.PI,!0);e.fill();this.J=e.canvas.toDataURL();this.u=Array(256);this.s()};
l.Zj=function(a){a=a.context;var c=a.canvas,c=a.getImageData(0,0,c.width,c.height),d=c.data,e,f,g;e=0;for(f=d.length;e<f;e+=4)if(g=4*d[e+3])d[e]=this.f[g],d[e+1]=this.f[g+1],d[e+2]=this.f[g+2];a.putImageData(c,0,0)};l.kh=function(a){this.set("blur",a)};l.oh=function(a){this.set("gradient",a)};l.Fg=function(a){this.set("radius",a)};function iz(a,c){var d=c||{},e=d.document||document,f=Sg("SCRIPT"),g={jh:f,rc:void 0},h=new Tx(jz,g),k=null,n=null!=d.timeout?d.timeout:5E3;0<n&&(k=window.setTimeout(function(){kz(f,!0);var c=new lz(mz,"Timeout reached for loading script "+a);Vx(h);Wx(h,!1,c)},n),g.rc=k);f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||(kz(f,d.zi||!1,k),h.Tc(null))};f.onerror=function(){kz(f,!0,k);var c=new lz(nz,"Error while loading script "+a);Vx(h);Wx(h,!1,
c)};g=d.attributes||{};Ib(g,{type:"text/javascript",charset:"UTF-8",src:a});Mg(f,g);oz(e).appendChild(f);return h}function oz(a){var c=a.getElementsByTagName("HEAD");return c&&0!=c.length?c[0]:a.documentElement}function jz(){if(this&&this.jh){var a=this.jh;a&&"SCRIPT"==a.tagName&&kz(a,!0,this.rc)}}function kz(a,c,d){null!=d&&ba.clearTimeout(d);a.onload=ca;a.onerror=ca;a.onreadystatechange=ca;c&&window.setTimeout(function(){Wg(a)},0)}var nz=0,mz=1;
function lz(a,c){var d="Jsloader error (code #"+a+")";c&&(d+=": "+c);xa.call(this,d);this.code=a}w(lz,xa);function pz(a,c){this.a=new xt(a);this.b=c?c:"callback";this.rc=5E3}var qz=0;function rz(a,c,d,e){c=c||null;var f="_"+(qz++).toString(36)+ta().toString(36);ba._callbacks_||(ba._callbacks_={});var g=a.a.clone();if(c)for(var h in c)if(!c.hasOwnProperty||c.hasOwnProperty(h)){var k=g,n=h,p=c[h];ga(p)||(p=[String(p)]);Qt(k.c,n,p)}d&&(ba._callbacks_[f]=sz(f,d),d=a.b,h="_callbacks_."+f,ga(h)||(h=[String(h)]),Qt(g.c,d,h));a=iz(g.toString(),{timeout:a.rc,zi:!0});Zx(a,null,tz(f,c,e),void 0)}
pz.prototype.cancel=function(a){a&&(a.Ai&&a.Ai.cancel(),a.ga&&uz(a.ga,!1))};function tz(a,c,d){return function(){uz(a,!1);d&&d(c)}}function sz(a,c){return function(d){uz(a,!0);c.apply(void 0,arguments)}}function uz(a,c){ba._callbacks_[a]&&(c?delete ba._callbacks_[a]:ba._callbacks_[a]=ca)};function vz(a){var c=/\{z\}/g,d=/\{x\}/g,e=/\{y\}/g,f=/\{-y\}/g;return function(g){return null===g?void 0:a.replace(c,g[0].toString()).replace(d,g[1].toString()).replace(e,function(){return(-g[2]-1).toString()}).replace(f,function(){return((1<<g[0])+g[2]).toString()})}}function wz(a){return xz(Ua(a,vz))}function xz(a){return 1===a.length?a[0]:function(c,d,e){return null===c?void 0:a[$b((c[1]<<c[0])+c[2],a.length)](c,d,e)}}function yz(){}
function zz(a){var c=[],d=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(a.replace(d[0],String.fromCharCode(f)))}else c.push(a);return c};function Az(a){Uh.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:m(a.state)?a.state:void 0,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX});this.tileUrlFunction=m(a.tileUrlFunction)?a.tileUrlFunction:yz;this.crossOrigin=m(a.crossOrigin)?a.crossOrigin:null;this.tileLoadFunction=m(a.tileLoadFunction)?a.tileLoadFunction:Bz;this.tileClass=m(a.tileClass)?a.tileClass:Ox}w(Az,Uh);function Bz(a,c){a.Ra().src=c}l=Az.prototype;
l.Wb=function(a,c,d,e,f){var g=this.hb(a,c,d);if(Bh(this.a,g))return this.a.get(g);a=[a,c,d];c=Xh(this,a,f);e=null===c?void 0:this.tileUrlFunction(c,e,f);e=new this.tileClass(a,m(e)?0:4,m(e)?e:"",this.crossOrigin,this.tileLoadFunction);x(e,"change",this.cm,!1,this);this.a.set(g,e);return e};l.Za=function(){return this.tileLoadFunction};l.$a=function(){return this.tileUrlFunction};
l.cm=function(a){a=a.target;switch(a.state){case 1:C(this,new Yh("tileloadstart",a));break;case 2:C(this,new Yh("tileloadend",a));break;case 3:C(this,new Yh("tileloaderror",a))}};l.eb=function(a){this.a.clear();this.tileLoadFunction=a;this.s()};l.Ga=function(a){this.a.clear();this.tileUrlFunction=a;this.s()};l.Gf=function(a,c,d){a=this.hb(a,c,d);Bh(this.a,a)&&this.a.get(a)};function Cz(a){Az.call(this,{crossOrigin:"anonymous",opaque:!0,projection:Ce("EPSG:3857"),state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:m(a.wrapX)?a.wrapX:!0});this.g=m(a.culture)?a.culture:"en-us";this.f=m(a.maxZoom)?a.maxZoom:-1;var c=new xt("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet);rz(new pz(c,"jsonp"),{include:"ImageryProviders",uriScheme:"https",key:a.key},ra(this.l,this))}w(Cz,Az);var Dz=new sg({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});
Cz.prototype.l=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)Ih(this,"error");else{var c=a.brandLogoUri;-1==c.indexOf("https")&&(c=c.replace("http","https"));var d=a.resourceSets[0].resources[0],e=-1==this.f?d.zoomMax:this.f;a=kg(this.i);var f=Sh({extent:a,minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth==d.imageHeight?d.imageWidth:[d.imageWidth,d.imageHeight]});this.tileGrid=
f;var g=this.g;this.tileUrlFunction=xz(Ua(d.imageUrlSubdomains,function(a){var c=[0,0,0],e=d.imageUrl.replace("{subdomain}",a).replace("{culture}",g);return function(a){if(null!==a)return eg(a[0],a[1],-a[2]-1,c),e.replace("{quadkey}",gg(c))}}));if(d.imageryProviders){var h=Ge(Ce("EPSG:4326"),this.i);a=Ua(d.imageryProviders,function(a){var c=a.attribution,d={};Ra(a.coverageAreas,function(a){var c=a.zoomMin,g=Math.min(a.zoomMax,e);a=a.bbox;a=oe([a[1],a[0],a[3],a[2]],h);var k,n;for(k=c;k<=g;++k)n=k.toString(),
c=mg(f,a,k),n in d?d[n].push(c):d[n]=[c]});return new sg({html:c,tileRanges:d})});a.push(Dz);this.ka(a)}this.T=c;Ih(this,"ready")}};function Z(a){V.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection});this.J=void 0;this.ba=m(a.distance)?a.distance:20;this.B=[];this.u=a.source;this.u.G("change",Z.prototype.qa,this)}w(Z,V);Z.prototype.da=function(){return this.u};Z.prototype.$b=function(a,c,d){this.u.$b(a,c,d);c!==this.J&&(this.clear(),this.J=c,Ez(this),this.Rb(this.B))};Z.prototype.qa=function(){this.clear();Ez(this);this.Rb(this.B);this.s()};
function Ez(a){if(m(a.J)){a.B.length=0;for(var c=Nd(),d=a.ba*a.J,e=a.u.Gc(),f={},g=0,h=e.length;g<h;g++){var k=e[g];wb(f,ma(k).toString())||(k=k.V().U(),Yd(k,c),Rd(c,d,c),k=a.u.Hd(c),k=Ta(k,function(a){a=ma(a).toString();return a in f?!1:f[a]=!0}),a.B.push(Fz(k)))}}}function Fz(a){for(var c=a.length,d=[0,0],e=0;e<c;e++){var f=a[e].V().U();pd(d,f)}c=1/c;d[0]*=c;d[1]*=c;d=new En(new xf(d));d.set("features",a);return d};function Gz(a){wn.call(this,{projection:a.projection,resolutions:a.resolutions});this.Z=m(a.crossOrigin)?a.crossOrigin:null;this.g=m(a.displayDpi)?a.displayDpi:96;this.f=m(a.params)?a.params:{};var c;m(a.url)?c=Qx(a.url,this.f,ra(this.Jl,this)):c=Rx;this.J=c;this.a=m(a.imageLoadFunction)?a.imageLoadFunction:Cn;this.ba=m(a.hidpi)?a.hidpi:!0;this.X=m(a.metersPerUnit)?a.metersPerUnit:1;this.u=m(a.ratio)?a.ratio:1;this.da=m(a.useOverlay)?a.useOverlay:!1;this.c=null;this.B=0}w(Gz,wn);l=Gz.prototype;
l.Il=function(){return this.f};l.gc=function(a,c,d,e){c=xn(this,c);d=this.ba?d:1;var f=this.c;if(null!==f&&this.B==this.b&&f.resolution==c&&f.g==d&&Wd(f.R(),a))return f;1!=this.u&&(a=a.slice(),ne(a,this.u));e=this.J(a,[le(a)/c*d,ie(a)/c*d],e);m(e)?(f=new Nx(a,c,d,this.j,e,this.Z,this.a),x(f,"change",this.l,!1,this)):f=null;this.c=f;this.B=this.b;return f};l.Hl=function(){return this.a};l.Ll=function(a){Ib(this.f,a);this.s()};
l.Jl=function(a,c,d,e){var f;f=this.X;var g=le(d),h=ie(d),k=e[0],n=e[1],p=.0254/this.g;f=n*g>k*h?g*f/(k*p):h*f/(n*p);d=ge(d);e={OPERATION:this.da?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.g,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),SETVIEWSCALE:f,SETVIEWCENTERX:d[0],SETVIEWCENTERY:d[1]};Ib(e,c);return yo(Ao([a],e))};l.Kl=function(a){this.c=null;this.a=a;this.s()};function Hz(a){var c=m(a.attributions)?a.attributions:null,d=a.imageExtent,e,f;m(a.imageSize)&&(e=ie(d)/a.imageSize[1],f=[e]);var g=m(a.crossOrigin)?a.crossOrigin:null,h=m(a.imageLoadFunction)?a.imageLoadFunction:Cn;wn.call(this,{attributions:c,logo:a.logo,projection:Ce(a.projection),resolutions:f});this.a=new Nx(d,e,1,c,a.url,g,h);x(this.a,"change",this.l,!1,this)}w(Hz,wn);Hz.prototype.gc=function(a){return ke(a,this.a.R())?this.a:null};function Iz(a){a=m(a)?a:{};wn.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.ba=m(a.crossOrigin)?a.crossOrigin:null;this.f=a.url;this.u=m(a.imageLoadFunction)?a.imageLoadFunction:Cn;this.c=a.params;this.g=!0;Jz(this);this.Z=a.serverType;this.da=m(a.hidpi)?a.hidpi:!0;this.a=null;this.B=[0,0];this.X=0;this.J=m(a.ratio)?a.ratio:1.5}w(Iz,wn);var Kz=[101,101];l=Iz.prototype;
l.Rl=function(a,c,d,e){if(m(this.f)){var f=he(a,c,0,Kz),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};Ib(g,this.c,e);e=Math.floor((f[3]-a[1])/c);g[this.g?"I":"X"]=Math.floor((a[0]-f[0])/c);g[this.g?"J":"Y"]=e;return Lz(this,f,Kz,1,Ce(d),g)}};l.Tl=function(){return this.c};
l.gc=function(a,c,d,e){if(!m(this.f))return null;c=xn(this,c);1==d||this.da&&m(this.Z)||(d=1);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2;if(1!=this.J){var h=this.J*le(a)/2,k=this.J*ie(a)/2;a[0]=f-h;a[1]=g-k;a[2]=f+h;a[3]=g+k}var n=c/d,h=Math.ceil(le(a)/n),k=Math.ceil(ie(a)/n);a[0]=f-n*h/2;a[2]=f+n*h/2;a[1]=g-n*k/2;a[3]=g+n*k/2;f=this.a;if(null!==f&&this.X==this.b&&f.resolution==c&&f.g==d&&Wd(f.R(),a))return f;f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};
Ib(f,this.c);this.B[0]=h;this.B[1]=k;e=Lz(this,a,this.B,d,e,f);this.a=new Nx(a,c,d,this.j,e,this.ba,this.u);this.X=this.b;x(this.a,"change",this.l,!1,this);return this.a};l.Sl=function(){return this.u};
function Lz(a,c,d,e,f,g){g[a.g?"CRS":"SRS"]=f.b;"STYLES"in a.c||(g.STYLES=new String(""));if(1!=e)switch(a.Z){case "geoserver":e=90*e+.5|0;g.FORMAT_OPTIONS=m(g.FORMAT_OPTIONS)?g.FORMAT_OPTIONS+(";dpi:"+e):"dpi:"+e;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}g.WIDTH=d[0];g.HEIGHT=d[1];d=f.f;var h;a.g&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return yo(Ao([a.f],g))}l.Ul=function(){return this.f};
l.Vl=function(a){this.a=null;this.u=a;this.s()};l.Wl=function(a){a!=this.f&&(this.f=a,this.a=null,this.s())};l.Xl=function(a){Ib(this.c,a);Jz(this);this.a=null;this.s()};function Jz(a){a.g=0<=Ma(Cb(a.c,"VERSION","1.3.0"),"1.3")};function Mz(a){var c=m(a.projection)?a.projection:"EPSG:3857",d=m(a.tileGrid)?a.tileGrid:Sh({extent:kg(c),maxZoom:a.maxZoom,tileSize:a.tileSize});this.l=null;Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:c,tileGrid:d,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:yz,wrapX:m(a.wrapX)?a.wrapX:!0});m(a.tileUrlFunction)?this.Ga(a.tileUrlFunction):m(a.urls)?(a=a.urls,this.Ga(wz(a)),this.l=a):m(a.url)&&this.f(a.url)}
w(Mz,Az);Mz.prototype.g=function(){return this.l};Mz.prototype.f=function(a){this.Ga(wz(zz(a)));this.l=[a]};function Nz(a){a=m(a)?a:{};var c;m(a.attributions)?c=a.attributions:c=[Oz];Mz.call(this,{attributions:c,crossOrigin:m(a.crossOrigin)?a.crossOrigin:"anonymous",opaque:!0,maxZoom:m(a.maxZoom)?a.maxZoom:19,tileLoadFunction:a.tileLoadFunction,url:m(a.url)?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:a.wrapX})}w(Nz,Mz);var Oz=new sg({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function Pz(a){a=m(a)?a:{};var c=Qz[a.layer];this.A=a.layer;Mz.call(this,{attributions:c.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,opaque:!0,tileLoadFunction:a.tileLoadFunction,url:m(a.url)?a.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.A+"/{z}/{x}/{y}.jpg"})}w(Pz,Mz);
var Rz=new sg({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),Qz={osm:{maxZoom:19,attributions:[Rz,Oz]},sat:{maxZoom:18,attributions:[Rz,new sg({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[Rz,Oz]}};Pz.prototype.u=function(){return this.A};(function(){var a={},c={gb:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.gb=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.Fo=d()}})(function(){return function e(a,c,h){function k(p,r){if(!c[p]){if(!a[p]){var t="function"==typeof require&&require;if(!r&&t)return t(p,!0);if(n)return n(p,!0);t=Error("Cannot find module '"+p+"'");throw t.code="MODULE_NOT_FOUND",t;}t=c[p]={gb:{}};a[p][0].call(t.gb,function(c){var e=
a[p][1][c];return k(e?e:c)},t,t.gb,e,a,c,h)}return c[p].gb}for(var n="function"==typeof require&&require,p=0;p<h.length;p++)k(h[p]);return k}({1:[function(a,c,g){a=a("./processor");g.Yh=a},{"./processor":2}],2:[function(a,c){function g(a){return function(c){var e=c.buffers,f=c.meta,g=c.width,h=c.height,k=e.length,n=e[0].byteLength,A;if(c.imageOps){n=Array(k);for(A=0;A<k;++A)n[A]=new ImageData(new Uint8ClampedArray(e[A]),g,h);g=a(n,f).data}else{g=new Uint8ClampedArray(n);h=Array(k);c=Array(k);for(A=
0;A<k;++A)h[A]=new Uint8ClampedArray(e[A]),c[A]=[0,0,0,0];for(e=0;e<n;e+=4){for(A=0;A<k;++A){var y=h[A];c[A][0]=y[e];c[A][1]=y[e+1];c[A][2]=y[e+2];c[A][3]=y[e+3]}A=a(c,f);g[e]=A[0];g[e+1]=A[1];g[e+2]=A[2];g[e+3]=A[3]}}return g.buffer}}function h(a,c){var e=Object.keys(a.lib||{}).map(function(c){return"var "+c+" = "+a.lib[c].toString()+";"}).concat(["var __minion__ = ("+g.toString()+")(",a.operation.toString(),");",'self.addEventListener("message", function(__event__) {',"var buffer = __minion__(__event__.data);",
"self.postMessage({buffer: buffer, meta: __event__.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",c);return e}function k(a,c){var e=g(a.operation);return{postMessage:function(a){setTimeout(function(){c({data:{buffer:e(a),Zd:a.Zd}})},0)}}}function n(a){this.Ge=!!a.fk;var c;0===a.threads?c=0:this.Ge?c=1:c=a.threads||1;var e=[];if(c)for(var f=0;f<c;++f)e[f]=h(a,this.Qf.bind(this,f));else e[0]=k(a,this.Qf.bind(this,
0));this.yd=e;this.Rc=[];this.ki=a.mn||Infinity;this.xd=0;this.vc={};this.He=null}n.prototype.ln=function(a,c,e){this.ii({Zb:a,Zd:c,Tc:e});this.Nf()};n.prototype.ii=function(a){for(this.Rc.push(a);this.Rc.length>this.ki;)this.Rc.shift().Tc(null,null)};n.prototype.Nf=function(){if(0===this.xd&&0<this.Rc.length){var a=this.He=this.Rc.shift(),c=a.Zb[0].width,e=a.Zb[0].height,f=a.Zb.map(function(a){return a.data.buffer}),g=this.yd.length;this.xd=g;if(1===g)this.yd[0].postMessage({buffers:f,meta:a.Zd,
imageOps:this.Ge,width:c,height:e},f);else for(var h=4*Math.ceil(a.Zb[0].data.length/4/g),k=0;k<g;++k){for(var n=k*h,A=[],y=0,N=f.length;y<N;++y)A.push(f[k].slice(n,n+h));this.yd[k].postMessage({buffers:A,meta:a.Zd,imageOps:this.Ge,width:c,height:e},A)}}};n.prototype.Qf=function(a,c){this.Do||(this.vc[a]=c.data,--this.xd,0===this.xd&&this.li())};n.prototype.li=function(){var a=this.He,c=this.yd.length,e,f;if(1===c)e=new Uint8ClampedArray(this.vc[0].buffer),f=this.vc[0].meta;else{var g=a.Zb[0].data.length;
e=new Uint8ClampedArray(g);f=Array(g);for(var g=4*Math.ceil(g/4/c),h=0;h<c;++h){var k=h*g;e.set(new Uint8ClampedArray(this.vc[h].buffer),k);f[h]=this.vc[h].meta}}this.He=null;this.vc={};a.Tc(null,new ImageData(e,a.Zb[0].width,a.Zb[0].height),f);this.Nf()};c.gb=n},{}]},{},[1])(1)});Ip=c.gb})();function Sz(a){this.B=null;this.da=m(a.operationType)?a.operationType:"pixel";this.qa=m(a.threads)?a.threads:1;for(var c=a.sources,d=c.length,e=Array(d),f=0;f<d;++f){var g=f,h=c[f],k=null;h instanceof Uh?(h=new K({source:h}),k=new Zp(h)):h instanceof wn&&(h=new J({source:h}),k=new Yp(h));e[g]=k}this.a=e;c=0;for(d=this.a.length;c<d;++c)x(this.a[c],"change",this.s,!1,this);this.c=Wi();this.Z=new Pk(pe(1),ra(this.s,this));c=Tz(this.a);d={};e=0;for(f=c.length;e<f;++e)d[ma(c[e].layer)]=c[e];this.f=this.g=
null;this.X={animate:!1,attributions:{},coordinateToPixelMatrix:Cd(),extent:null,focus:null,index:0,layerStates:d,layerStatesArray:c,logos:{},pixelRatio:1,pixelToCoordinateMatrix:Cd(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.Z,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};wn.call(this,{});m(a.operation)&&this.u(a.operation,a.lib)}w(Sz,wn);
Sz.prototype.u=function(a,c){this.B=new Ip.Yh({operation:a,fk:"image"===this.da,mn:1,lib:c,threads:this.qa});this.s()};function Uz(a,c,d){var e=a.g;return!e||a.b!==e.Nn||d!==e.resolution||!Zd(c,e.extent)}
Sz.prototype.gc=function(a,c,d,e){d=!0;for(var f,g=0,h=this.a.length;g<h;++g)if(f=this.a[g].a.ea(),"ready"!==f.v){d=!1;break}if(!d)return null;if(!Uz(this,a,c))return this.f;d=this.c.canvas;f=Math.round(le(a)/c);g=Math.round(ie(a)/c);if(f!==d.width||g!==d.height)d.width=f,d.height=g;f=Eb(this.X);f.viewState=Eb(f.viewState);var g=ge(a),h=Math.round(le(a)/c),k=Math.round(ie(a)/c);f.extent=a;f.focus=ge(a);f.size[0]=h;f.size[1]=k;h=f.viewState;h.center=g;h.projection=e;h.resolution=c;this.f=e=new vn(a,
c,1,this.j,d,this.J.bind(this,f));this.g={extent:a,resolution:c,Nn:this.b};return e};
Sz.prototype.J=function(a,c){for(var d=this.a.length,e=Array(d),f=0;f<d;++f){var g;var h=this.a[f],k=a;h.ge(k,a.layerStatesArray[f]);if(g=h.ld()){var n=h.Ze(),h=Math.round(n[12]),p=Math.round(n[13]),q=k.size[0],k=k.size[1];if(g instanceof Image){if(Vz){var r=Vz.canvas;r.width!==q||r.height!==k?Vz=Wi(q,k):Vz.clearRect(0,0,q,k)}else Vz=Wi(q,k);r=Math.round(g.width*n[0]);n=Math.round(g.height*n[5]);Vz.drawImage(g,h,p,r,n);g=Vz.getImageData(0,0,q,k)}else g=g.getContext("2d").getImageData(-h,-p,q,k)}else g=
null;if(g)e[f]=g;else return}d={};C(this,new Wz(Xz,a,d));this.B.ln(e,d,this.ba.bind(this,a,c));Qk(a.tileQueue,16,16)};Sz.prototype.ba=function(a,c,d,e,f){d?c(d):null!==e&&(C(this,new Wz(Yz,a,f)),Uz(this,a.extent,a.viewState.resolution/a.pixelRatio)||this.c.putImageData(e,0,0),c(null))};var Vz=null;function Tz(a){return a.map(function(a){return ik(a.a)})}function Wz(a,c,d){vc.call(this,a);this.extent=c.extent;this.resolution=c.viewState.resolution/c.pixelRatio;this.data=d}w(Wz,vc);
var Xz="beforeoperations",Yz="afteroperations";var Zz={terrain:{Xa:"jpg",opaque:!0},"terrain-background":{Xa:"jpg",opaque:!0},"terrain-labels":{Xa:"png",opaque:!1},"terrain-lines":{Xa:"png",opaque:!1},"toner-background":{Xa:"png",opaque:!0},toner:{Xa:"png",opaque:!0},"toner-hybrid":{Xa:"png",opaque:!1},"toner-labels":{Xa:"png",opaque:!1},"toner-lines":{Xa:"png",opaque:!1},"toner-lite":{Xa:"png",opaque:!0},watercolor:{Xa:"jpg",opaque:!0}},$z={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};
function aA(a){var c=a.layer.indexOf("-"),d=Zz[a.layer];Mz.call(this,{attributions:bA,crossOrigin:"anonymous",maxZoom:$z[-1==c?a.layer:a.layer.slice(0,c)].maxZoom,opaque:d.opaque,tileLoadFunction:a.tileLoadFunction,url:m(a.url)?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+d.Xa})}w(aA,Mz);var bA=[new sg({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),Oz];function cA(a){a=m(a)?a:{};var c=m(a.params)?a.params:{};Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:ra(this.am,this),wrapX:m(a.wrapX)?a.wrapX:!0});var d=a.urls;!m(d)&&m(a.url)&&(d=zz(a.url));this.g=null!=d?d:[];this.f=c;this.l=Nd()}w(cA,Az);l=cA.prototype;l.Yl=function(){return this.f};l.Xb=function(a,c,d){a=cA.aa.Xb.call(this,a,c,d);return 1==c?a:nd(a,c,this.c)};
l.Zl=function(){return this.g};l.$l=function(a){a=m(a)?zz(a):null;this.Kg(a)};l.Kg=function(a){this.g=null!=a?a:[];this.s()};
l.am=function(a,c,d){var e=this.tileGrid;null===e&&(e=Wh(this,d));if(!(e.b.length<=a[0])){var f=Nh(e,a,this.l),g=od(e.Ka(a[0]),this.c);1!=c&&(g=nd(g,c,this.c));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Ib(e,this.f);var h=this.g;0==h.length?a=void 0:(d=d.b.split(":").pop(),e.SIZE=g[0]+","+g[1],e.BBOX=f.join(","),e.BBOXSR=d,e.IMAGESR=d,e.DPI=Math.round(90*c),a=1==h.length?h[0]:h[$b((a[1]<<a[0])+a[2],h.length)],za(a,"/")||(a+="/"),za(a,"MapServer/")?a+="export":za(a,"ImageServer/")&&(a+="exportImage"),
a=yo(Ao([a],e)));return a}};l.bm=function(a){Ib(this.f,a);this.s()};function dA(a,c,d){Eh.call(this,a,2);this.f=c;this.c=d;this.a={}}w(dA,Eh);dA.prototype.Ra=function(a){a=m(a)?ma(a):-1;if(a in this.a)return this.a[a];var c=this.f,d=Wi(c[0],c[1]);d.strokeStyle="black";d.strokeRect(.5,.5,c[0]+.5,c[1]+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.c,c[0]/2,c[1]/2);return this.a[a]=d.canvas};function eA(a){Uh.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:m(a.wrapX)?a.wrapX:!0})}
w(eA,Uh);eA.prototype.Wb=function(a,c,d){var e=this.hb(a,c,d);if(Bh(this.a,e))return this.a.get(e);var f=od(this.tileGrid.Ka(a));a=[a,c,d];c=Xh(this,a);c=null===c?"":hg(Xh(this,c));f=new dA(a,f,c);this.a.set(e,f);return f};function fA(a){Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,projection:Ce("EPSG:3857"),state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:m(a.wrapX)?a.wrapX:!0});rz(new pz(a.url),void 0,ra(this.g,this),ra(this.f,this))}w(fA,Az);
fA.prototype.g=function(a){var c=Ce("EPSG:4326"),d=this.i,e;m(a.bounds)&&(e=oe(a.bounds,Ge(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Sh({extent:kg(d),maxZoom:g,minZoom:f});this.tileUrlFunction=wz(a.tiles);if(m(a.attribution)&&null===this.j){c=m(e)?e:c.R();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[mg(d,c,f)];this.ka([new sg({html:a.attribution,tileRanges:e})])}Ih(this,"ready")};fA.prototype.f=function(){Ih(this,"error")};function gA(a){Uh.call(this,{projection:Ce("EPSG:3857"),state:"loading"});this.l=m(a.preemptive)?a.preemptive:!0;this.f=yz;this.g=void 0;rz(new pz(a.url),void 0,ra(this.em,this))}w(gA,Uh);l=gA.prototype;l.rj=function(){return this.g};l.Di=function(a,c,d,e,f){null===this.tileGrid?!0===f?ti(function(){d.call(e,null)}):d.call(e,null):(c=this.tileGrid.fd(a,c),hA(this.Wb(c[0],c[1],c[2],1,this.i),a,d,e,f))};
l.em=function(a){var c=Ce("EPSG:4326"),d=this.i,e;m(a.bounds)&&(e=oe(a.bounds,Ge(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Sh({extent:kg(d),maxZoom:g,minZoom:f});this.g=a.template;var h=a.grids;if(null!=h){this.f=wz(h);if(m(a.attribution)){c=m(e)?e:c.R();for(e={};f<=g;++f)h=f.toString(),e[h]=[mg(d,c,f)];this.ka([new sg({html:a.attribution,tileRanges:e})])}Ih(this,"ready")}else Ih(this,"error")};
l.Wb=function(a,c,d,e,f){var g=this.hb(a,c,d);if(Bh(this.a,g))return this.a.get(g);a=[a,c,d];c=Xh(this,a,f);e=this.f(c,e,f);e=new iA(a,m(e)?0:4,m(e)?e:"",Nh(this.tileGrid,a),this.l);this.a.set(g,e);return e};l.Gf=function(a,c,d){a=this.hb(a,c,d);Bh(this.a,a)&&this.a.get(a)};function iA(a,c,d,e,f){Eh.call(this,a,c);this.i=d;this.a=e;this.l=f;this.f=this.g=this.c=null}w(iA,Eh);l=iA.prototype;l.Ra=function(){return null};
function jA(a,c){if(null===a.c||null===a.g||null==a.f)return null;var d=a.c[Math.floor((1-(c[1]-a.a[1])/(a.a[3]-a.a[1]))*a.c.length)];if(!ia(d))return null;d=d.charCodeAt(Math.floor((c[0]-a.a[0])/(a.a[2]-a.a[0])*d.length));93<=d&&d--;35<=d&&d--;d=a.g[d-32];return null!=d?a.f[d]:null}function hA(a,c,d,e,f){0==a.state&&!0===f?(Xc(a,"change",function(){d.call(e,jA(this,c))},!1,a),kA(a)):!0===f?ti(function(){d.call(e,jA(this,c))},a):d.call(e,jA(a,c))}l.jb=function(){return this.i};
l.Fj=function(){this.state=3;Fh(this)};l.dm=function(a){this.c=a.grid;this.g=a.keys;this.f=a.data;this.state=4;Fh(this)};function kA(a){0==a.state&&(a.state=1,rz(new pz(a.i),void 0,ra(a.dm,a),ra(a.Fj,a)))}l.load=function(){this.l&&kA(this)};function lA(a){V.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:a.wrapX});this.da=m(a.format)?a.format:null;this.B=a.tileGrid;this.J=yz;this.ba=m(a.tileLoadFunction)?a.tileLoadFunction:null;this.u={};m(a.tileUrlFunction)?(this.J=a.tileUrlFunction,this.s()):m(a.urls)?(this.J=wz(a.urls),this.s()):m(a.url)&&(this.J=wz(zz(a.url)),this.s())}w(lA,V);l=lA.prototype;l.clear=function(){Ab(this.u)};
function mA(a,c,d,e){var f=a.u;a=a.B.fd(c,d);f=f[a[0]+"/"+a[1]+"/"+a[2]];if(m(f))for(a=0,d=f.length;a<d;++a){var g=f[a];if(g.V().Ne(c)&&e.call(void 0,g))break}}l.zb=function(a,c,d,e){var f=this.B,g=this.u;c=Rh(f,c);a=mg(f,a,c);for(var h,f=a.b;f<=a.f;++f)for(h=a.a;h<=a.c;++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.Gc=function(){var a=this.u,c=[],d;for(d in a)cb(c,a[d]);return c};
l.Ri=function(a,c){var d=[];mA(this,a,c,function(a){d.push(a)});return d};function nA(a,c,d){var e=a.B;a.D&&d.c&&(c=ig(c,e,d));return lg(c,e)?c:null}l.$b=function(a,c,d){function e(a,c){h[a]=c;this.s()}var f=this.B,g=this.J,h=this.u,k=Rh(f,c),f=mg(f,a,k),n=[k,0,0],p,q;for(p=f.b;p<=f.f;++p)for(q=f.a;q<=f.c;++q){var r=k+"/"+p+"/"+q;if(!(r in h)){n[1]=p;n[2]=q;var t=nA(this,n,d),t=null===t?void 0:g(t,1,d);m(t)&&(h[r]=[],r=sa(e,r),null===this.ba?Ep(t,this.da,r).call(this,a,c,d):this.ba(t,ra(r,this)))}}};function oA(a){a=m(a)?a:{};var c=m(a.params)?a.params:{};Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!Cb(c,"TRANSPARENT",!0),projection:a.projection,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:ra(this.jm,this),wrapX:m(a.wrapX)?a.wrapX:!0});var d=a.urls;!m(d)&&m(a.url)&&(d=zz(a.url));this.g=null!=d?d:[];this.A=m(a.gutter)?a.gutter:0;this.f=c;this.l=!0;this.u=a.serverType;this.J=m(a.hidpi)?a.hidpi:!0;this.B="";pA(this);this.X=Nd();
qA(this)}w(oA,Az);l=oA.prototype;
l.fm=function(a,c,d,e){d=Ce(d);var f=this.tileGrid;null===f&&(f=Wh(this,d));c=f.fd(a,c);if(!(f.b.length<=c[0])){var g=f.xa(c[0]),h=Nh(f,c,this.X),f=od(f.Ka(c[0]),this.c),k=this.A;0!==k&&(f=md(f,k,this.c),h=Rd(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.f.LAYERS};Ib(k,this.f,e);e=Math.floor((h[3]-a[1])/g);k[this.l?"I":"X"]=Math.floor((a[0]-h[0])/g);k[this.l?"J":"Y"]=e;return rA(this,c,f,h,1,d,k)}};l.Id=function(){return this.A};
l.hb=function(a,c,d){return this.B+oA.aa.hb.call(this,a,c,d)};l.gm=function(){return this.f};
function rA(a,c,d,e,f,g,h){var k=a.g;if(0!=k.length){h.WIDTH=d[0];h.HEIGHT=d[1];h[a.l?"CRS":"SRS"]=g.b;"STYLES"in a.f||(h.STYLES=new String(""));if(1!=f)switch(a.u){case "geoserver":d=90*f+.5|0;h.FORMAT_OPTIONS=m(h.FORMAT_OPTIONS)?h.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}g=g.f;a.l&&"ne"==g.substr(0,2)&&(a=e[0],e[0]=e[1],e[1]=a,a=e[2],e[2]=e[3],e[3]=a);h.BBOX=e.join(",");return yo(Ao([1==k.length?k[0]:k[$b((c[1]<<
c[0])+c[2],k.length)]],h))}}l.Xb=function(a,c,d){a=oA.aa.Xb.call(this,a,c,d);return 1!=c&&this.J&&m(this.u)?nd(a,c,this.c):a};l.hm=function(){return this.g};function pA(a){var c=0,d=[],e,f;e=0;for(f=a.g.length;e<f;++e)d[c++]=a.g[e];for(var g in a.f)d[c++]=g+"-"+a.f[g];a.B=d.join("#")}l.im=function(a){a=m(a)?zz(a):null;this.Lg(a)};l.Lg=function(a){this.g=null!=a?a:[];pA(this);this.s()};
l.jm=function(a,c,d){var e=this.tileGrid;null===e&&(e=Wh(this,d));if(!(e.b.length<=a[0])){1==c||this.J&&m(this.u)||(c=1);var f=e.xa(a[0]),g=Nh(e,a,this.X),e=od(e.Ka(a[0]),this.c),h=this.A;0!==h&&(e=md(e,h,this.c),g=Rd(g,f*h,g));1!=c&&(e=nd(e,c,this.c));f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Ib(f,this.f);return rA(this,a,e,g,c,d,f)}};l.km=function(a){Ib(this.f,a);pA(this);qA(this);this.s()};function qA(a){a.l=0<=Ma(Cb(a.f,"VERSION","1.3.0"),"1.3")};function sA(a){this.i=a.matrixIds;Jh.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}w(sA,Jh);sA.prototype.C=function(){return this.i};
function tA(a,c){var d=[],e=[],f=[],g=[],h=[],k;k=Ce(a.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var n=k.Ld(),p="ne"==k.f.substr(0,2);gb(a.TileMatrix,function(a,c){return c.ScaleDenominator-a.ScaleDenominator});Ra(a.TileMatrix,function(a){e.push(a.Identifier);var c=2.8E-4*a.ScaleDenominator/n,k=a.TileWidth,u=a.TileHeight;p?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):f.push(a.TopLeftCorner);d.push(c);g.push(k==u?k:[k,u]);h.push([a.MatrixWidth,-a.MatrixHeight])});return new sA({extent:c,
origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function uA(a){function c(a){a="KVP"==e?yo(Ao([a],g)):a.replace(/\{(\w+?)\}/g,function(a,c){return c.toLowerCase()in g?g[c.toLowerCase()]:a});return function(c){if(null!==c){var d={TileMatrix:f.i[c[0]],TileCol:c[1],TileRow:-c[2]-1};Ib(d,h);c=a;return c="KVP"==e?yo(Ao([c],d)):c.replace(/\{(\w+?)\}/g,function(a,c){return d[c]})}}}this.X=m(a.version)?a.version:"1.0.0";this.u=m(a.format)?a.format:"image/jpeg";this.f=m(a.dimensions)?a.dimensions:{};this.A="";vA(this);this.B=a.layer;this.l=a.matrixSet;
this.J=a.style;var d=a.urls;!m(d)&&m(a.url)&&(d=zz(a.url));this.g=null!=d?d:[];var e=this.Z=m(a.requestEncoding)?a.requestEncoding:"KVP",f=a.tileGrid,g={layer:this.B,style:this.J,tilematrixset:this.l};"KVP"==e&&Ib(g,{Service:"WMTS",Request:"GetTile",Version:this.X,Format:this.u});var h=this.f,d=0<this.g.length?xz(Ua(this.g,c)):yz;Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,tileClass:a.tileClass,tileGrid:f,tileLoadFunction:a.tileLoadFunction,
tilePixelRatio:a.tilePixelRatio,tileUrlFunction:d,wrapX:m(a.wrapX)?a.wrapX:!1})}w(uA,Az);l=uA.prototype;l.Pi=function(){return this.f};l.Ti=function(){return this.u};l.hb=function(a,c,d){return this.A+uA.aa.hb.call(this,a,c,d)};l.lm=function(){return this.B};l.ej=function(){return this.l};l.pj=function(){return this.Z};l.mm=function(){return this.J};l.nm=function(){return this.g};l.vj=function(){return this.X};function vA(a){var c=0,d=[],e;for(e in a.f)d[c++]=e+"-"+a.f[e];a.A=d.join("/")}
l.mo=function(a){Ib(this.f,a);vA(this);this.s()};function wA(a){a=m(a)?a:{};var c=a.size,d=c[0],e=c[1],f=[],g=256;switch(m(a.tierSizeCalculation)?a.tierSizeCalculation:"default"){case "default":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),g+=g;break;case "truncated":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),d>>=1,e>>=1}f.push([1,1]);f.reverse();for(var g=[1],h=[0],e=1,d=f.length;e<d;e++)g.push(1<<e),h.push(f[e-1][0]*f[e-1][1]+h[e-1]);g.reverse();var c=[0,-c[1],c[0],0],c=new Jh({extent:c,origin:fe(c),resolutions:g}),k=a.url;
Az.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,logo:a.logo,tileClass:xA,tileGrid:c,tileUrlFunction:function(a){if(null!==a){var c=a[0],d=a[1];a=-a[2]-1;return k+"TileGroup"+((d+a*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+a+".jpg"}}})}w(wA,Az);function xA(a,c,d,e,f){Ox.call(this,a,c,d,e,f);this.f={}}w(xA,Ox);
xA.prototype.Ra=function(a){var c=m(a)?ma(a).toString():"";if(c in this.f)return this.f[c];a=xA.aa.Ra.call(this,a);if(2==this.state){if(256==a.width&&256==a.height)return this.f[c]=a;var d=Wi(256,256);d.drawImage(a,0,0);return this.f[c]=d.canvas}return a};function yA(a){a=m(a)?a:{};this.a=m(a.initialSize)?a.initialSize:256;this.c=m(a.maxSize)?a.maxSize:m(ua)?ua:2048;this.b=m(a.space)?a.space:1;this.g=[new zA(this.a,this.b)];this.f=this.a;this.j=[new zA(this.f,this.b)]}yA.prototype.add=function(a,c,d,e,f,g){if(c+this.b>this.c||d+this.b>this.c)return null;e=AA(this,!1,a,c,d,e,g);if(null===e)return null;a=AA(this,!0,a,c,d,m(f)?f:se,g);return{offsetX:e.offsetX,offsetY:e.offsetY,image:e.image,lg:a.image}};
function AA(a,c,d,e,f,g,h){var k=c?a.j:a.g,n,p,q;p=0;for(q=k.length;p<q;++p){n=k[p];n=n.add(d,e,f,g,h);if(null!==n)return n;null===n&&p===q-1&&(c?(n=Math.min(2*a.f,a.c),a.f=n):(n=Math.min(2*a.a,a.c),a.a=n),n=new zA(n,a.b),k.push(n),++q)}}function zA(a,c){this.b=c;this.a=[{x:0,y:0,width:a,height:a}];this.f={};this.c=Sg("CANVAS");this.c.width=a;this.c.height=a;this.g=this.c.getContext("2d")}zA.prototype.get=function(a){return Cb(this.f,a,null)};
zA.prototype.add=function(a,c,d,e,f){var g,h,k;h=0;for(k=this.a.length;h<k;++h)if(g=this.a[h],g.width>=c+this.b&&g.height>=d+this.b)return k={offsetX:g.x+this.b,offsetY:g.y+this.b,image:this.c},this.f[a]=k,e.call(f,this.g,g.x+this.b,g.y+this.b),a=h,c=c+this.b,d=d+this.b,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},BA(this,a,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},BA(this,a,e,f)),k;return null};function BA(a,c,d,e){c=[c,1];0<d.width&&0<d.height&&c.push(d);0<e.width&&0<e.height&&c.push(e);a.a.splice.apply(a.a,c)};function CA(a){this.u=this.f=this.g=null;this.l=m(a.fill)?a.fill:null;this.J=[0,0];this.b=a.points;this.c=m(a.radius)?a.radius:a.radius1;this.j=m(a.radius2)?a.radius2:this.c;this.i=m(a.angle)?a.angle:0;this.a=m(a.stroke)?a.stroke:null;this.ja=this.T=this.ca=null;var c=a.atlasManager,d="",e="",f=0,g=null,h,k=0;null!==this.a&&(h=Bg(this.a.b),k=this.a.a,m(k)||(k=1),g=this.a.c,ej||(g=null),e=this.a.g,m(e)||(e="round"),d=this.a.f,m(d)||(d="round"),f=this.a.j,m(f)||(f=10));var n=2*(this.c+k)+1,d={strokeStyle:h,
rd:k,size:n,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(m(c)){var n=Math.round(n),e=null===this.l,p;e&&(p=ra(this.Pg,this,d));f=this.qb();p=c.add(f,n,n,ra(this.Qg,this,d),p);this.f=p.image;this.J=[p.offsetX,p.offsetY];c=p.image.width;this.u=e?p.lg:this.f}else this.f=Sg("CANVAS"),this.f.height=n,this.f.width=n,c=n=this.f.width,p=this.f.getContext("2d"),this.Qg(d,p,0,0),null===this.l?(p=this.u=Sg("CANVAS"),p.height=d.size,p.width=d.size,p=p.getContext("2d"),this.Pg(d,p,0,0)):this.u=this.f;this.ca=
[n/2,n/2];this.T=[n,n];this.ja=[c,c];Bk.call(this,{opacity:1,rotateWithView:!1,rotation:m(a.rotation)?a.rotation:0,scale:1,snapToPixel:m(a.snapToPixel)?a.snapToPixel:!0})}w(CA,Bk);l=CA.prototype;l.Ab=function(){return this.ca};l.sm=function(){return this.i};l.tm=function(){return this.l};l.ie=function(){return this.u};l.Mb=function(){return this.f};l.Jd=function(){return this.ja};l.md=function(){return 2};l.Nb=function(){return this.J};l.um=function(){return this.b};l.vm=function(){return this.c};
l.oj=function(){return this.j};l.kb=function(){return this.T};l.wm=function(){return this.a};l.ff=ca;l.load=ca;l.Ff=ca;
l.Qg=function(a,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.j!==this.c&&(this.b*=2);for(d=0;d<=this.b;d++)e=2*d*Math.PI/this.b-Math.PI/2+this.i,f=0===d%2?this.c:this.j,c.lineTo(a.size/2+f*Math.cos(e),a.size/2+f*Math.sin(e));null!==this.l&&(c.fillStyle=Bg(this.l.b),c.fill());null!==this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.rd,null===a.lineDash||c.setLineDash(a.lineDash),c.lineCap=a.lineCap,c.lineJoin=a.lineJoin,c.miterLimit=a.miterLimit,c.stroke());c.closePath()};
l.Pg=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.j!==this.c&&(this.b*=2);var f;for(d=0;d<=this.b;d++)f=2*d*Math.PI/this.b-Math.PI/2+this.i,e=0===d%2?this.c:this.j,c.lineTo(a.size/2+e*Math.cos(f),a.size/2+e*Math.sin(f));c.fillStyle=Fl;c.fill();null!==this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.rd,null===a.lineDash||c.setLineDash(a.lineDash),c.stroke());c.closePath()};
l.qb=function(){var a=null===this.a?"-":this.a.qb(),c=null===this.l?"-":this.l.qb();if(null===this.g||a!=this.g[1]||c!=this.g[2]||this.c!=this.g[3]||this.j!=this.g[4]||this.i!=this.g[5]||this.b!=this.g[6])this.g=["r"+a+c+(m(this.c)?this.c.toString():"-")+(m(this.j)?this.j.toString():"-")+(m(this.i)?this.i.toString():"-")+(m(this.b)?this.b.toString():"-"),a,c,this.c,this.j,this.i,this.b];return this.g[0]};v("ol.animation.bounce",function(a){var c=a.resolution,d=m(a.start)?a.start:ta(),e=m(a.duration)?a.duration:1E3,f=m(a.easing)?a.easing:ag;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=f((h.time-d)/e),n=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*n;h.viewHints[0]+=1;return!0}return!1}},OPENLAYERS);v("ol.animation.pan",bg,OPENLAYERS);v("ol.animation.rotate",cg,OPENLAYERS);v("ol.animation.zoom",dg,OPENLAYERS);
v("ol.Attribution",sg,OPENLAYERS);sg.prototype.getHTML=sg.prototype.c;tg.prototype.element=tg.prototype.element;v("ol.Collection",ug,OPENLAYERS);ug.prototype.clear=ug.prototype.clear;ug.prototype.extend=ug.prototype.gf;ug.prototype.forEach=ug.prototype.forEach;ug.prototype.getArray=ug.prototype.Ak;ug.prototype.item=ug.prototype.item;ug.prototype.getLength=ug.prototype.Jb;ug.prototype.insertAt=ug.prototype.Ud;ug.prototype.pop=ug.prototype.pop;ug.prototype.push=ug.prototype.push;
ug.prototype.remove=ug.prototype.remove;ug.prototype.removeAt=ug.prototype.Bf;ug.prototype.setAt=ug.prototype.Pn;v("ol.coordinate.add",pd,OPENLAYERS);v("ol.coordinate.createStringXY",function(a){return function(c){return xd(c,a)}},OPENLAYERS);v("ol.coordinate.format",sd,OPENLAYERS);v("ol.coordinate.rotate",ud,OPENLAYERS);v("ol.coordinate.toStringHDMS",function(a){return m(a)?rd(a[1],"NS")+" "+rd(a[0],"EW"):""},OPENLAYERS);v("ol.coordinate.toStringXY",xd,OPENLAYERS);v("ol.DeviceOrientation",Sr,OPENLAYERS);
Sr.prototype.getAlpha=Sr.prototype.Ji;Sr.prototype.getBeta=Sr.prototype.Mi;Sr.prototype.getGamma=Sr.prototype.Ui;Sr.prototype.getHeading=Sr.prototype.Bk;Sr.prototype.getTracking=Sr.prototype.rg;Sr.prototype.setTracking=Sr.prototype.hf;v("ol.easing.easeIn",function(a){return Math.pow(a,3)},OPENLAYERS);v("ol.easing.easeOut",Yf,OPENLAYERS);v("ol.easing.inAndOut",Zf,OPENLAYERS);v("ol.easing.linear",$f,OPENLAYERS);v("ol.easing.upAndDown",ag,OPENLAYERS);v("ol.extent.boundingExtent",Md,OPENLAYERS);
v("ol.extent.buffer",Rd,OPENLAYERS);v("ol.extent.containsCoordinate",Ud,OPENLAYERS);v("ol.extent.containsExtent",Wd,OPENLAYERS);v("ol.extent.containsXY",Vd,OPENLAYERS);v("ol.extent.createEmpty",Nd,OPENLAYERS);v("ol.extent.equals",Zd,OPENLAYERS);v("ol.extent.extend",$d,OPENLAYERS);v("ol.extent.getBottomLeft",ce,OPENLAYERS);v("ol.extent.getBottomRight",de,OPENLAYERS);v("ol.extent.getCenter",ge,OPENLAYERS);v("ol.extent.getHeight",ie,OPENLAYERS);v("ol.extent.getIntersection",je,OPENLAYERS);
v("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]},OPENLAYERS);v("ol.extent.getTopLeft",fe,OPENLAYERS);v("ol.extent.getTopRight",ee,OPENLAYERS);v("ol.extent.getWidth",le,OPENLAYERS);v("ol.extent.intersects",ke,OPENLAYERS);v("ol.extent.isEmpty",me,OPENLAYERS);v("ol.extent.applyTransform",oe,OPENLAYERS);v("ol.Feature",En,OPENLAYERS);En.prototype.clone=En.prototype.clone;En.prototype.getGeometry=En.prototype.V;En.prototype.getId=En.prototype.Xi;En.prototype.getGeometryName=En.prototype.Wi;
En.prototype.getStyle=En.prototype.Dk;En.prototype.getStyleFunction=En.prototype.Ek;En.prototype.setGeometry=En.prototype.ta;En.prototype.setStyle=En.prototype.jf;En.prototype.setId=En.prototype.Qb;En.prototype.setGeometryName=En.prototype.Lc;v("ol.featureloader.xhr",Fp,OPENLAYERS);v("ol.Geolocation",Ex,OPENLAYERS);Ex.prototype.getAccuracy=Ex.prototype.Hi;Ex.prototype.getAccuracyGeometry=Ex.prototype.Ii;Ex.prototype.getAltitude=Ex.prototype.Ki;Ex.prototype.getAltitudeAccuracy=Ex.prototype.Li;
Ex.prototype.getHeading=Ex.prototype.Gk;Ex.prototype.getPosition=Ex.prototype.Hk;Ex.prototype.getProjection=Ex.prototype.sg;Ex.prototype.getSpeed=Ex.prototype.qj;Ex.prototype.getTracking=Ex.prototype.tg;Ex.prototype.getTrackingOptions=Ex.prototype.fg;Ex.prototype.setProjection=Ex.prototype.ug;Ex.prototype.setTracking=Ex.prototype.$d;Ex.prototype.setTrackingOptions=Ex.prototype.th;v("ol.Graticule",Ix,OPENLAYERS);Ix.prototype.getMap=Ix.prototype.Kk;Ix.prototype.getMeridians=Ix.prototype.fj;
Ix.prototype.getParallels=Ix.prototype.kj;Ix.prototype.setMap=Ix.prototype.setMap;v("ol.has.DEVICE_PIXEL_RATIO",dj,OPENLAYERS);v("ol.has.CANVAS",fj,OPENLAYERS);v("ol.has.DEVICE_ORIENTATION",gj,OPENLAYERS);v("ol.has.GEOLOCATION",hj,OPENLAYERS);v("ol.has.TOUCH",ij,OPENLAYERS);v("ol.has.WEBGL",cj,OPENLAYERS);Nx.prototype.getImage=Nx.prototype.b;Ox.prototype.getImage=Ox.prototype.Ra;v("ol.Kinetic",Rk,OPENLAYERS);v("ol.loadingstrategy.all",Gp,OPENLAYERS);
v("ol.loadingstrategy.bbox",function(a){return[a]},OPENLAYERS);v("ol.loadingstrategy.tile",function(a){return function(c,d){var e=Rh(a,d),f=mg(a,c,e),g=[],e=[e,0,0];for(e[1]=f.b;e[1]<=f.f;++e[1])for(e[2]=f.a;e[2]<=f.c;++e[2])g.push(Nh(a,e));return g}},OPENLAYERS);v("ol.Map",W,OPENLAYERS);W.prototype.addControl=W.prototype.oi;W.prototype.addInteraction=W.prototype.pi;W.prototype.addLayer=W.prototype.Sf;W.prototype.addOverlay=W.prototype.Tf;W.prototype.beforeRender=W.prototype.Aa;
W.prototype.forEachFeatureAtPixel=W.prototype.dd;W.prototype.forEachLayerAtPixel=W.prototype.Ok;W.prototype.hasFeatureAtPixel=W.prototype.ek;W.prototype.getEventCoordinate=W.prototype.Qi;W.prototype.getEventPixel=W.prototype.Gd;W.prototype.getTarget=W.prototype.kf;W.prototype.getTargetElement=W.prototype.Cc;W.prototype.getCoordinateFromPixel=W.prototype.wa;W.prototype.getControls=W.prototype.Oi;W.prototype.getOverlays=W.prototype.jj;W.prototype.getInteractions=W.prototype.Yi;
W.prototype.getLayerGroup=W.prototype.Vb;W.prototype.getLayers=W.prototype.vg;W.prototype.getPixelFromCoordinate=W.prototype.Ba;W.prototype.getSize=W.prototype.Ea;W.prototype.getView=W.prototype.$;W.prototype.getViewport=W.prototype.wj;W.prototype.renderSync=W.prototype.Ln;W.prototype.render=W.prototype.render;W.prototype.removeControl=W.prototype.En;W.prototype.removeInteraction=W.prototype.Fn;W.prototype.removeLayer=W.prototype.Hn;W.prototype.removeOverlay=W.prototype.In;
W.prototype.setLayerGroup=W.prototype.ph;W.prototype.setSize=W.prototype.Df;W.prototype.setTarget=W.prototype.Qk;W.prototype.setView=W.prototype.ao;W.prototype.updateSize=W.prototype.Nc;Uj.prototype.originalEvent=Uj.prototype.originalEvent;Uj.prototype.pixel=Uj.prototype.pixel;Uj.prototype.coordinate=Uj.prototype.coordinate;Uj.prototype.dragging=Uj.prototype.dragging;Uj.prototype.preventDefault=Uj.prototype.preventDefault;Uj.prototype.stopPropagation=Uj.prototype.c;yh.prototype.map=yh.prototype.map;
yh.prototype.frameState=yh.prototype.frameState;hd.prototype.key=hd.prototype.key;hd.prototype.oldValue=hd.prototype.oldValue;v("ol.Object",id,OPENLAYERS);id.prototype.get=id.prototype.get;id.prototype.getKeys=id.prototype.O;id.prototype.getProperties=id.prototype.P;id.prototype.set=id.prototype.set;id.prototype.setProperties=id.prototype.I;id.prototype.unset=id.prototype.S;v("ol.Observable",fd,OPENLAYERS);v("ol.Observable.unByKey",gd,OPENLAYERS);fd.prototype.changed=fd.prototype.s;
fd.prototype.getRevision=fd.prototype.L;fd.prototype.on=fd.prototype.G;fd.prototype.once=fd.prototype.M;fd.prototype.un=fd.prototype.K;fd.prototype.unByKey=fd.prototype.N;v("ol.inherits",w,OPENLAYERS);v("ol.Overlay",pr,OPENLAYERS);pr.prototype.getElement=pr.prototype.ae;pr.prototype.getMap=pr.prototype.be;pr.prototype.getOffset=pr.prototype.dg;pr.prototype.getPosition=pr.prototype.wg;pr.prototype.getPositioning=pr.prototype.eg;pr.prototype.setElement=pr.prototype.mh;pr.prototype.setMap=pr.prototype.setMap;
pr.prototype.setOffset=pr.prototype.rh;pr.prototype.setPosition=pr.prototype.lf;pr.prototype.setPositioning=pr.prototype.sh;v("ol.size.toSize",od,OPENLAYERS);Eh.prototype.getTileCoord=Eh.prototype.j;v("ol.View",Rf,OPENLAYERS);Rf.prototype.constrainCenter=Rf.prototype.Cd;Rf.prototype.constrainResolution=Rf.prototype.constrainResolution;Rf.prototype.constrainRotation=Rf.prototype.constrainRotation;Rf.prototype.getCenter=Rf.prototype.Fa;Rf.prototype.calculateExtent=Rf.prototype.Sc;
Rf.prototype.getProjection=Rf.prototype.Rk;Rf.prototype.getResolution=Rf.prototype.sa;Rf.prototype.getRotation=Rf.prototype.va;Rf.prototype.getZoom=Rf.prototype.yj;Rf.prototype.fit=Rf.prototype.Qe;Rf.prototype.centerOn=Rf.prototype.yi;Rf.prototype.rotate=Rf.prototype.rotate;Rf.prototype.setCenter=Rf.prototype.Sa;Rf.prototype.setResolution=Rf.prototype.vb;Rf.prototype.setRotation=Rf.prototype.ce;Rf.prototype.setZoom=Rf.prototype.eo;v("ol.xml.getAllTextContent",Zo,OPENLAYERS);v("ol.xml.parse",sp,OPENLAYERS);
v("ol.webgl.Context",uq,OPENLAYERS);uq.prototype.getGL=uq.prototype.Pm;uq.prototype.getHitDetectionFramebuffer=uq.prototype.Ye;uq.prototype.useProgram=uq.prototype.pe;v("ol.tilegrid.TileGrid",Jh,OPENLAYERS);Jh.prototype.getMaxZoom=Jh.prototype.bg;Jh.prototype.getMinZoom=Jh.prototype.cg;Jh.prototype.getOrigin=Jh.prototype.Hc;Jh.prototype.getResolution=Jh.prototype.xa;Jh.prototype.getResolutions=Jh.prototype.Rg;Jh.prototype.getTileCoordForCoordAndResolution=Jh.prototype.fd;
Jh.prototype.getTileCoordForCoordAndZ=Jh.prototype.Pd;Jh.prototype.getTileSize=Jh.prototype.Ka;v("ol.tilegrid.createXYZ",Sh,OPENLAYERS);v("ol.tilegrid.WMTS",sA,OPENLAYERS);sA.prototype.getMatrixIds=sA.prototype.C;v("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",tA,OPENLAYERS);v("ol.style.AtlasManager",yA,OPENLAYERS);v("ol.style.Circle",Jl,OPENLAYERS);Jl.prototype.getFill=Jl.prototype.om;Jl.prototype.getImage=Jl.prototype.Mb;Jl.prototype.getRadius=Jl.prototype.pm;Jl.prototype.getStroke=Jl.prototype.qm;
v("ol.style.Fill",Il,OPENLAYERS);Il.prototype.getColor=Il.prototype.c;Il.prototype.setColor=Il.prototype.f;v("ol.style.Icon",Ck,OPENLAYERS);Ck.prototype.getAnchor=Ck.prototype.Ab;Ck.prototype.getImage=Ck.prototype.Mb;Ck.prototype.getOrigin=Ck.prototype.Nb;Ck.prototype.getSrc=Ck.prototype.rm;Ck.prototype.getSize=Ck.prototype.kb;Ck.prototype.load=Ck.prototype.load;v("ol.style.Image",Bk,OPENLAYERS);Bk.prototype.getOpacity=Bk.prototype.je;Bk.prototype.getRotateWithView=Bk.prototype.Nd;
Bk.prototype.getRotation=Bk.prototype.ke;Bk.prototype.getScale=Bk.prototype.le;Bk.prototype.getSnapToPixel=Bk.prototype.Od;Bk.prototype.setOpacity=Bk.prototype.me;Bk.prototype.setRotation=Bk.prototype.ne;Bk.prototype.setScale=Bk.prototype.oe;v("ol.style.RegularShape",CA,OPENLAYERS);CA.prototype.getAnchor=CA.prototype.Ab;CA.prototype.getAngle=CA.prototype.sm;CA.prototype.getFill=CA.prototype.tm;CA.prototype.getImage=CA.prototype.Mb;CA.prototype.getOrigin=CA.prototype.Nb;CA.prototype.getPoints=CA.prototype.um;
CA.prototype.getRadius=CA.prototype.vm;CA.prototype.getRadius2=CA.prototype.oj;CA.prototype.getSize=CA.prototype.kb;CA.prototype.getStroke=CA.prototype.wm;v("ol.style.Stroke",El,OPENLAYERS);El.prototype.getColor=El.prototype.xm;El.prototype.getLineCap=El.prototype.aj;El.prototype.getLineDash=El.prototype.ym;El.prototype.getLineJoin=El.prototype.bj;El.prototype.getMiterLimit=El.prototype.gj;El.prototype.getWidth=El.prototype.zm;El.prototype.setColor=El.prototype.Am;El.prototype.setLineCap=El.prototype.Un;
El.prototype.setLineDash=El.prototype.Bm;El.prototype.setLineJoin=El.prototype.Vn;El.prototype.setMiterLimit=El.prototype.Wn;El.prototype.setWidth=El.prototype.bo;v("ol.style.Style",Kl,OPENLAYERS);Kl.prototype.getGeometry=Kl.prototype.V;Kl.prototype.getGeometryFunction=Kl.prototype.Vi;Kl.prototype.getFill=Kl.prototype.Cm;Kl.prototype.getImage=Kl.prototype.Dm;Kl.prototype.getStroke=Kl.prototype.Em;Kl.prototype.getText=Kl.prototype.Fm;Kl.prototype.getZIndex=Kl.prototype.Gm;
Kl.prototype.setGeometry=Kl.prototype.ta;Kl.prototype.setZIndex=Kl.prototype.Hm;v("ol.style.Text",Rt,OPENLAYERS);Rt.prototype.getFont=Rt.prototype.Si;Rt.prototype.getOffsetX=Rt.prototype.hj;Rt.prototype.getOffsetY=Rt.prototype.ij;Rt.prototype.getFill=Rt.prototype.Im;Rt.prototype.getRotation=Rt.prototype.Jm;Rt.prototype.getScale=Rt.prototype.Km;Rt.prototype.getStroke=Rt.prototype.Lm;Rt.prototype.getText=Rt.prototype.Mm;Rt.prototype.getTextAlign=Rt.prototype.sj;Rt.prototype.getTextBaseline=Rt.prototype.tj;
Rt.prototype.setFont=Rt.prototype.Rn;Rt.prototype.setFill=Rt.prototype.Qn;Rt.prototype.setRotation=Rt.prototype.Nm;Rt.prototype.setScale=Rt.prototype.Om;Rt.prototype.setStroke=Rt.prototype.Xn;Rt.prototype.setText=Rt.prototype.Yn;Rt.prototype.setTextAlign=Rt.prototype.Zn;Rt.prototype.setTextBaseline=Rt.prototype.$n;v("ol.Sphere",xe,OPENLAYERS);xe.prototype.geodesicArea=xe.prototype.a;xe.prototype.haversineDistance=xe.prototype.b;v("ol.source.BingMaps",Cz,OPENLAYERS);
v("ol.source.BingMaps.TOS_ATTRIBUTION",Dz,OPENLAYERS);v("ol.source.Cluster",Z,OPENLAYERS);Z.prototype.getSource=Z.prototype.da;v("ol.source.ImageCanvas",Dn,OPENLAYERS);v("ol.source.ImageMapGuide",Gz,OPENLAYERS);Gz.prototype.getParams=Gz.prototype.Il;Gz.prototype.getImageLoadFunction=Gz.prototype.Hl;Gz.prototype.updateParams=Gz.prototype.Ll;Gz.prototype.setImageLoadFunction=Gz.prototype.Kl;v("ol.source.Image",wn,OPENLAYERS);yn.prototype.image=yn.prototype.image;v("ol.source.ImageStatic",Hz,OPENLAYERS);
v("ol.source.ImageVector",Wp,OPENLAYERS);Wp.prototype.getSource=Wp.prototype.Ml;Wp.prototype.getStyle=Wp.prototype.Nl;Wp.prototype.getStyleFunction=Wp.prototype.Ol;Wp.prototype.setStyle=Wp.prototype.Jg;v("ol.source.ImageWMS",Iz,OPENLAYERS);Iz.prototype.getGetFeatureInfoUrl=Iz.prototype.Rl;Iz.prototype.getParams=Iz.prototype.Tl;Iz.prototype.getImageLoadFunction=Iz.prototype.Sl;Iz.prototype.getUrl=Iz.prototype.Ul;Iz.prototype.setImageLoadFunction=Iz.prototype.Vl;Iz.prototype.setUrl=Iz.prototype.Wl;
Iz.prototype.updateParams=Iz.prototype.Xl;v("ol.source.MapQuest",Pz,OPENLAYERS);Pz.prototype.getLayer=Pz.prototype.u;v("ol.source.OSM",Nz,OPENLAYERS);v("ol.source.OSM.ATTRIBUTION",Oz,OPENLAYERS);v("ol.source.Raster",Sz,OPENLAYERS);Sz.prototype.setOperation=Sz.prototype.u;Wz.prototype.extent=Wz.prototype.extent;Wz.prototype.resolution=Wz.prototype.resolution;Wz.prototype.data=Wz.prototype.data;v("ol.source.Source",Gh,OPENLAYERS);Gh.prototype.getAttributions=Gh.prototype.ma;Gh.prototype.getLogo=Gh.prototype.la;
Gh.prototype.getProjection=Gh.prototype.na;Gh.prototype.getState=Gh.prototype.oa;Gh.prototype.setAttributions=Gh.prototype.ka;v("ol.source.Stamen",aA,OPENLAYERS);v("ol.source.TileArcGISRest",cA,OPENLAYERS);cA.prototype.getParams=cA.prototype.Yl;cA.prototype.getUrls=cA.prototype.Zl;cA.prototype.setUrl=cA.prototype.$l;cA.prototype.setUrls=cA.prototype.Kg;cA.prototype.updateParams=cA.prototype.bm;v("ol.source.TileDebug",eA,OPENLAYERS);v("ol.source.TileImage",Az,OPENLAYERS);
Az.prototype.getTileLoadFunction=Az.prototype.Za;Az.prototype.getTileUrlFunction=Az.prototype.$a;Az.prototype.setTileLoadFunction=Az.prototype.eb;Az.prototype.setTileUrlFunction=Az.prototype.Ga;v("ol.source.TileJSON",fA,OPENLAYERS);v("ol.source.Tile",Uh,OPENLAYERS);Uh.prototype.getTileGrid=Uh.prototype.Ca;Yh.prototype.tile=Yh.prototype.tile;v("ol.source.TileUTFGrid",gA,OPENLAYERS);gA.prototype.getTemplate=gA.prototype.rj;gA.prototype.forDataAtCoordinateAndResolution=gA.prototype.Di;
v("ol.source.TileVector",lA,OPENLAYERS);lA.prototype.getFeaturesAtCoordinateAndResolution=lA.prototype.Ri;v("ol.source.TileWMS",oA,OPENLAYERS);oA.prototype.getGetFeatureInfoUrl=oA.prototype.fm;oA.prototype.getParams=oA.prototype.gm;oA.prototype.getUrls=oA.prototype.hm;oA.prototype.setUrl=oA.prototype.im;oA.prototype.setUrls=oA.prototype.Lg;oA.prototype.updateParams=oA.prototype.km;v("ol.source.Vector",V,OPENLAYERS);V.prototype.addFeature=V.prototype.Fc;V.prototype.addFeatures=V.prototype.Rb;
V.prototype.clear=V.prototype.clear;V.prototype.forEachFeature=V.prototype.Re;V.prototype.forEachFeatureInExtent=V.prototype.Ac;V.prototype.forEachFeatureIntersectingExtent=V.prototype.Se;V.prototype.getFeaturesCollection=V.prototype.Xe;V.prototype.getFeatures=V.prototype.Gc;V.prototype.getFeaturesAtCoordinate=V.prototype.We;V.prototype.getFeaturesInExtent=V.prototype.Hd;V.prototype.getClosestFeatureToCoordinate=V.prototype.Ue;V.prototype.getExtent=V.prototype.R;V.prototype.getFeatureById=V.prototype.Ve;
V.prototype.removeFeature=V.prototype.hc;Tp.prototype.feature=Tp.prototype.feature;v("ol.source.WMTS",uA,OPENLAYERS);uA.prototype.getDimensions=uA.prototype.Pi;uA.prototype.getFormat=uA.prototype.Ti;uA.prototype.getLayer=uA.prototype.lm;uA.prototype.getMatrixSet=uA.prototype.ej;uA.prototype.getRequestEncoding=uA.prototype.pj;uA.prototype.getStyle=uA.prototype.mm;uA.prototype.getUrls=uA.prototype.nm;uA.prototype.getVersion=uA.prototype.vj;uA.prototype.updateDimensions=uA.prototype.mo;
v("ol.source.WMTS.optionsFromCapabilities",function(a,c){var d=Wa(a.Contents.Layer,function(a){return a.Identifier==c.layer}),e=a.Contents.TileMatrixSet,f,g;f=1<d.TileMatrixSetLink.length?m(c.projection)?Xa(d.TileMatrixSetLink,function(a){return Wa(e,function(c){return c.Identifier==a.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==c.projection}):Xa(d.TileMatrixSetLink,function(a){return a.TileMatrixSet==c.matrixSet}):0;0>f&&(f=0);g=d.TileMatrixSetLink[f].TileMatrixSet;
var h=d.Format[0];m(c.format)&&(h=c.format);f=Xa(d.Style,function(a){return m(c.style)?a.Title==c.style:a.isDefault});0>f&&(f=0);f=d.Style[f].Identifier;var k={};m(d.Dimension)&&Ra(d.Dimension,function(a){var c=a.Identifier,d=a["default"];m(d)||(d=a.values[0]);k[c]=d});var n=Wa(a.Contents.TileMatrixSet,function(a){return a.Identifier==g}),p;p=m(c.projection)?Ce(c.projection):Ce(n.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var q=d.WGS84BoundingBox,r,t;m(q)&&(t=Ce("EPSG:4326").R(),
t=q[0]==t[0]&&q[2]==t[2],r=Ye(q,"EPSG:4326",p),q=p.R(),null===q||Wd(q,r)||(r=void 0));var n=tA(n,r),u=[];r=c.requestEncoding;r=m(r)?r:"";if(a.hasOwnProperty("OperationsMetadata")&&a.OperationsMetadata.hasOwnProperty("GetTile")&&0!=r.lastIndexOf("REST",0))for(var d=a.OperationsMetadata.GetTile.DCP.HTTP.Get,q=0,B=d.length;q<B;++q){var z=Wa(d[q].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;0<z.length&&Ya(z,"KVP")&&(r="KVP",u.push(d[q].href))}else r="REST",Ra(d.ResourceURL,
function(a){"tile"==a.resourceType&&(h=a.format,u.push(a.template))});return{urls:u,layer:c.layer,matrixSet:g,format:h,projection:p,requestEncoding:r,tileGrid:n,style:f,dimensions:k,wrapX:t}},OPENLAYERS);v("ol.source.XYZ",Mz,OPENLAYERS);Mz.prototype.getUrls=Mz.prototype.g;Mz.prototype.setUrl=Mz.prototype.f;v("ol.source.Zoomify",wA,OPENLAYERS);kk.prototype.vectorContext=kk.prototype.vectorContext;kk.prototype.frameState=kk.prototype.frameState;kk.prototype.context=kk.prototype.context;
kk.prototype.glContext=kk.prototype.glContext;v("ol.render.VectorContext",jk,OPENLAYERS);Rq.prototype.drawAsync=Rq.prototype.wc;Rq.prototype.drawCircleGeometry=Rq.prototype.xc;Rq.prototype.drawFeature=Rq.prototype.Pe;Rq.prototype.drawGeometryCollectionGeometry=Rq.prototype.Ed;Rq.prototype.drawPointGeometry=Rq.prototype.ob;Rq.prototype.drawLineStringGeometry=Rq.prototype.yb;Rq.prototype.drawMultiLineStringGeometry=Rq.prototype.yc;Rq.prototype.drawMultiPointGeometry=Rq.prototype.nb;
Rq.prototype.drawMultiPolygonGeometry=Rq.prototype.zc;Rq.prototype.drawPolygonGeometry=Rq.prototype.Tb;Rq.prototype.drawText=Rq.prototype.pb;Rq.prototype.setFillStrokeStyle=Rq.prototype.Ia;Rq.prototype.setImageStyle=Rq.prototype.cb;Rq.prototype.setTextStyle=Rq.prototype.Ja;mm.prototype.drawAsync=mm.prototype.wc;mm.prototype.drawCircleGeometry=mm.prototype.xc;mm.prototype.drawFeature=mm.prototype.Pe;mm.prototype.drawPointGeometry=mm.prototype.ob;mm.prototype.drawMultiPointGeometry=mm.prototype.nb;
mm.prototype.drawLineStringGeometry=mm.prototype.yb;mm.prototype.drawMultiLineStringGeometry=mm.prototype.yc;mm.prototype.drawPolygonGeometry=mm.prototype.Tb;mm.prototype.drawMultiPolygonGeometry=mm.prototype.zc;mm.prototype.setFillStrokeStyle=mm.prototype.Ia;mm.prototype.setImageStyle=mm.prototype.cb;mm.prototype.setTextStyle=mm.prototype.Ja;v("ol.proj.common.add",lm,OPENLAYERS);v("ol.proj.METERS_PER_UNIT",ze,OPENLAYERS);v("ol.proj.Projection",Ae,OPENLAYERS);Ae.prototype.getCode=Ae.prototype.Ni;
Ae.prototype.getExtent=Ae.prototype.R;Ae.prototype.getUnits=Ae.prototype.Bl;Ae.prototype.getMetersPerUnit=Ae.prototype.Ld;Ae.prototype.getWorldExtent=Ae.prototype.xj;Ae.prototype.isGlobal=Ae.prototype.jk;Ae.prototype.setGlobal=Ae.prototype.Tn;Ae.prototype.setExtent=Ae.prototype.Cl;Ae.prototype.setWorldExtent=Ae.prototype.co;Ae.prototype.setGetPointResolution=Ae.prototype.Sn;Ae.prototype.getPointResolution=Ae.prototype.getPointResolution;v("ol.proj.addEquivalentProjections",De,OPENLAYERS);
v("ol.proj.addProjection",Qe,OPENLAYERS);v("ol.proj.addCoordinateTransforms",Ee,OPENLAYERS);v("ol.proj.fromLonLat",function(a,c){return Xe(a,"EPSG:4326",m(c)?c:"EPSG:3857")},OPENLAYERS);v("ol.proj.toLonLat",function(a,c){return Xe(a,m(c)?c:"EPSG:3857","EPSG:4326")},OPENLAYERS);v("ol.proj.get",Ce,OPENLAYERS);v("ol.proj.getTransform",Ve,OPENLAYERS);v("ol.proj.transform",Xe,OPENLAYERS);v("ol.proj.transformExtent",Ye,OPENLAYERS);v("ol.layer.Heatmap",Y,OPENLAYERS);Y.prototype.getBlur=Y.prototype.Xf;
Y.prototype.getGradient=Y.prototype.$f;Y.prototype.getRadius=Y.prototype.Eg;Y.prototype.setBlur=Y.prototype.kh;Y.prototype.setGradient=Y.prototype.oh;Y.prototype.setRadius=Y.prototype.Fg;v("ol.layer.Image",J,OPENLAYERS);J.prototype.getSource=J.prototype.ea;v("ol.layer.Layer",G,OPENLAYERS);G.prototype.getSource=G.prototype.ea;G.prototype.setMap=G.prototype.setMap;G.prototype.setSource=G.prototype.Mc;v("ol.layer.Base",F,OPENLAYERS);F.prototype.getBrightness=F.prototype.Bb;F.prototype.getContrast=F.prototype.Cb;
F.prototype.getHue=F.prototype.Db;F.prototype.getExtent=F.prototype.R;F.prototype.getMaxResolution=F.prototype.Eb;F.prototype.getMinResolution=F.prototype.Fb;F.prototype.getOpacity=F.prototype.Kb;F.prototype.getSaturation=F.prototype.Gb;F.prototype.getVisible=F.prototype.ib;F.prototype.getZIndex=F.prototype.Lb;F.prototype.setBrightness=F.prototype.kc;F.prototype.setContrast=F.prototype.lc;F.prototype.setHue=F.prototype.mc;F.prototype.setExtent=F.prototype.bc;F.prototype.setMaxResolution=F.prototype.nc;
F.prototype.setMinResolution=F.prototype.oc;F.prototype.setOpacity=F.prototype.cc;F.prototype.setSaturation=F.prototype.pc;F.prototype.setVisible=F.prototype.dc;F.prototype.setZIndex=F.prototype.ec;v("ol.layer.Group",H,OPENLAYERS);H.prototype.getLayers=H.prototype.Ec;H.prototype.setLayers=H.prototype.qh;v("ol.layer.Tile",K,OPENLAYERS);K.prototype.getPreload=K.prototype.a;K.prototype.getSource=K.prototype.ea;K.prototype.setPreload=K.prototype.f;K.prototype.getUseInterimTilesOnError=K.prototype.c;
K.prototype.setUseInterimTilesOnError=K.prototype.g;v("ol.layer.Vector",L,OPENLAYERS);L.prototype.getSource=L.prototype.ea;L.prototype.getStyle=L.prototype.T;L.prototype.getStyleFunction=L.prototype.X;L.prototype.setStyle=L.prototype.g;v("ol.interaction.DoubleClickZoom",Yk,OPENLAYERS);v("ol.interaction.DoubleClickZoom.handleEvent",Zk,OPENLAYERS);v("ol.interaction.DragAndDrop",iy,OPENLAYERS);v("ol.interaction.DragAndDrop.handleEvent",re,OPENLAYERS);jy.prototype.features=jy.prototype.features;
jy.prototype.file=jy.prototype.file;jy.prototype.projection=jy.prototype.projection;vl.prototype.coordinate=vl.prototype.coordinate;v("ol.interaction.DragBox",wl,OPENLAYERS);wl.prototype.getGeometry=wl.prototype.V;v("ol.interaction.DragPan",jl,OPENLAYERS);v("ol.interaction.DragRotateAndZoom",my,OPENLAYERS);v("ol.interaction.DragRotate",nl,OPENLAYERS);v("ol.interaction.DragZoom",Ql,OPENLAYERS);qy.prototype.feature=qy.prototype.feature;v("ol.interaction.Draw",ry,OPENLAYERS);
v("ol.interaction.Draw.handleEvent",ty,OPENLAYERS);ry.prototype.removeLastPoint=ry.prototype.Gn;ry.prototype.finishDrawing=ry.prototype.cd;ry.prototype.extend=ry.prototype.kl;v("ol.interaction.Draw.createRegularPolygon",function(a,c){return function(d,e){var f=d[0],g=d[1],h=Math.sqrt(vd(f,g)),k=m(e)?e:Pf(new $m(f),a);Qf(k,f,h,m(c)?c:Math.atan((g[1]-f[1])/(g[0]-f[0])));return k}},OPENLAYERS);v("ol.interaction.Interaction",Uk,OPENLAYERS);Uk.prototype.getActive=Uk.prototype.c;
Uk.prototype.setActive=Uk.prototype.g;v("ol.interaction.defaults",em,OPENLAYERS);v("ol.interaction.KeyboardPan",Rl,OPENLAYERS);v("ol.interaction.KeyboardPan.handleEvent",Sl,OPENLAYERS);v("ol.interaction.KeyboardZoom",Tl,OPENLAYERS);v("ol.interaction.KeyboardZoom.handleEvent",Ul,OPENLAYERS);Hy.prototype.features=Hy.prototype.features;Hy.prototype.mapBrowserPointerEvent=Hy.prototype.mapBrowserPointerEvent;v("ol.interaction.Modify",Iy,OPENLAYERS);v("ol.interaction.Modify.handleEvent",Ly,OPENLAYERS);
v("ol.interaction.MouseWheelZoom",Vl,OPENLAYERS);v("ol.interaction.MouseWheelZoom.handleEvent",Wl,OPENLAYERS);v("ol.interaction.PinchRotate",Xl,OPENLAYERS);v("ol.interaction.PinchZoom",am,OPENLAYERS);v("ol.interaction.Pointer",gl,OPENLAYERS);v("ol.interaction.Pointer.handleEvent",hl,OPENLAYERS);Uy.prototype.selected=Uy.prototype.selected;Uy.prototype.deselected=Uy.prototype.deselected;Uy.prototype.mapBrowserEvent=Uy.prototype.mapBrowserEvent;v("ol.interaction.Select",Vy,OPENLAYERS);
Vy.prototype.getFeatures=Vy.prototype.D;v("ol.interaction.Select.handleEvent",Wy,OPENLAYERS);Vy.prototype.setMap=Vy.prototype.setMap;v("ol.interaction.Snap",Yy,OPENLAYERS);Yy.prototype.addFeature=Yy.prototype.jd;Yy.prototype.removeFeature=Yy.prototype.kd;v("ol.interaction.Translate",bz,OPENLAYERS);v("ol.geom.Circle",$m,OPENLAYERS);$m.prototype.clone=$m.prototype.clone;$m.prototype.getCenter=$m.prototype.hd;$m.prototype.getRadius=$m.prototype.mf;$m.prototype.getType=$m.prototype.W;
$m.prototype.intersectsExtent=$m.prototype.ua;$m.prototype.setCenter=$m.prototype.cl;$m.prototype.setCenterAndRadius=$m.prototype.Cf;$m.prototype.setRadius=$m.prototype.dl;$m.prototype.transform=$m.prototype.transform;v("ol.geom.Geometry",Ze,OPENLAYERS);Ze.prototype.getClosestPoint=Ze.prototype.Ya;Ze.prototype.getExtent=Ze.prototype.R;Ze.prototype.transform=Ze.prototype.transform;v("ol.geom.GeometryCollection",bn,OPENLAYERS);bn.prototype.clone=bn.prototype.clone;bn.prototype.getGeometries=bn.prototype.Zf;
bn.prototype.getType=bn.prototype.W;bn.prototype.intersectsExtent=bn.prototype.ua;bn.prototype.setGeometries=bn.prototype.nh;bn.prototype.applyTransform=bn.prototype.Sb;bn.prototype.translate=bn.prototype.translate;v("ol.geom.LinearRing",vf,OPENLAYERS);vf.prototype.clone=vf.prototype.clone;vf.prototype.getArea=vf.prototype.gl;vf.prototype.getCoordinates=vf.prototype.U;vf.prototype.getType=vf.prototype.W;vf.prototype.setCoordinates=vf.prototype.ia;v("ol.geom.LineString",M,OPENLAYERS);
M.prototype.appendCoordinate=M.prototype.ri;M.prototype.clone=M.prototype.clone;M.prototype.forEachSegment=M.prototype.Gi;M.prototype.getCoordinateAtM=M.prototype.el;M.prototype.getCoordinates=M.prototype.U;M.prototype.getLength=M.prototype.fl;M.prototype.getType=M.prototype.W;M.prototype.intersectsExtent=M.prototype.ua;M.prototype.setCoordinates=M.prototype.ia;v("ol.geom.MultiLineString",kn,OPENLAYERS);kn.prototype.appendLineString=kn.prototype.si;kn.prototype.clone=kn.prototype.clone;
kn.prototype.getCoordinateAtM=kn.prototype.hl;kn.prototype.getCoordinates=kn.prototype.U;kn.prototype.getLineString=kn.prototype.cj;kn.prototype.getLineStrings=kn.prototype.ed;kn.prototype.getType=kn.prototype.W;kn.prototype.intersectsExtent=kn.prototype.ua;kn.prototype.setCoordinates=kn.prototype.ia;v("ol.geom.MultiPoint",nn,OPENLAYERS);nn.prototype.appendPoint=nn.prototype.ui;nn.prototype.clone=nn.prototype.clone;nn.prototype.getCoordinates=nn.prototype.U;nn.prototype.getPoint=nn.prototype.lj;
nn.prototype.getPoints=nn.prototype.de;nn.prototype.getType=nn.prototype.W;nn.prototype.intersectsExtent=nn.prototype.ua;nn.prototype.setCoordinates=nn.prototype.ia;v("ol.geom.MultiPolygon",on,OPENLAYERS);on.prototype.appendPolygon=on.prototype.vi;on.prototype.clone=on.prototype.clone;on.prototype.getArea=on.prototype.il;on.prototype.getCoordinates=on.prototype.U;on.prototype.getInteriorPoints=on.prototype.$i;on.prototype.getPolygon=on.prototype.nj;on.prototype.getPolygons=on.prototype.Md;
on.prototype.getType=on.prototype.W;on.prototype.intersectsExtent=on.prototype.ua;on.prototype.setCoordinates=on.prototype.ia;v("ol.geom.Point",xf,OPENLAYERS);xf.prototype.clone=xf.prototype.clone;xf.prototype.getCoordinates=xf.prototype.U;xf.prototype.getType=xf.prototype.W;xf.prototype.intersectsExtent=xf.prototype.ua;xf.prototype.setCoordinates=xf.prototype.ia;v("ol.geom.Polygon",D,OPENLAYERS);D.prototype.appendLinearRing=D.prototype.ti;D.prototype.clone=D.prototype.clone;D.prototype.getArea=D.prototype.jl;
D.prototype.getCoordinates=D.prototype.U;D.prototype.getInteriorPoint=D.prototype.Zi;D.prototype.getLinearRingCount=D.prototype.dj;D.prototype.getLinearRing=D.prototype.ag;D.prototype.getLinearRings=D.prototype.Kd;D.prototype.getType=D.prototype.W;D.prototype.intersectsExtent=D.prototype.ua;D.prototype.setCoordinates=D.prototype.ia;v("ol.geom.Polygon.circular",Nf,OPENLAYERS);v("ol.geom.Polygon.fromExtent",Of,OPENLAYERS);v("ol.geom.Polygon.fromCircle",Pf,OPENLAYERS);v("ol.geom.SimpleGeometry",af,OPENLAYERS);
af.prototype.getFirstCoordinate=af.prototype.rb;af.prototype.getLastCoordinate=af.prototype.sb;af.prototype.getLayout=af.prototype.tb;af.prototype.applyTransform=af.prototype.Sb;af.prototype.translate=af.prototype.translate;v("ol.format.EsriJSON",Zr,OPENLAYERS);Zr.prototype.readFeature=Zr.prototype.ub;Zr.prototype.readFeatures=Zr.prototype.ra;Zr.prototype.readGeometry=Zr.prototype.Jc;Zr.prototype.readProjection=Zr.prototype.Ha;Zr.prototype.writeGeometry=Zr.prototype.Pc;
Zr.prototype.writeGeometryObject=Zr.prototype.Ce;Zr.prototype.writeFeature=Zr.prototype.td;Zr.prototype.writeFeatureObject=Zr.prototype.Oc;Zr.prototype.writeFeatures=Zr.prototype.wb;Zr.prototype.writeFeaturesObject=Zr.prototype.Ae;v("ol.format.Feature",Tr,OPENLAYERS);v("ol.format.GeoJSON",fs,OPENLAYERS);fs.prototype.readFeature=fs.prototype.ub;fs.prototype.readFeatures=fs.prototype.ra;fs.prototype.readGeometry=fs.prototype.Jc;fs.prototype.readProjection=fs.prototype.Ha;fs.prototype.writeFeature=fs.prototype.td;
fs.prototype.writeFeatureObject=fs.prototype.Oc;fs.prototype.writeFeatures=fs.prototype.wb;fs.prototype.writeFeaturesObject=fs.prototype.Ae;fs.prototype.writeGeometry=fs.prototype.Pc;fs.prototype.writeGeometryObject=fs.prototype.Ce;v("ol.format.GPX",Js,OPENLAYERS);Js.prototype.readFeature=Js.prototype.ub;Js.prototype.readFeatures=Js.prototype.ra;Js.prototype.readProjection=Js.prototype.Ha;Js.prototype.writeFeatures=Js.prototype.wb;Js.prototype.writeFeaturesNode=Js.prototype.a;
v("ol.format.IGC",tt,OPENLAYERS);tt.prototype.readFeature=tt.prototype.ub;tt.prototype.readFeatures=tt.prototype.ra;tt.prototype.readProjection=tt.prototype.Ha;v("ol.format.KML",St,OPENLAYERS);St.prototype.readFeature=St.prototype.ub;St.prototype.readFeatures=St.prototype.ra;St.prototype.readName=St.prototype.wn;St.prototype.readNetworkLinks=St.prototype.xn;St.prototype.readProjection=St.prototype.Ha;St.prototype.writeFeatures=St.prototype.wb;St.prototype.writeFeaturesNode=St.prototype.a;
v("ol.format.OSMXML",Fv,OPENLAYERS);Fv.prototype.readFeatures=Fv.prototype.ra;Fv.prototype.readProjection=Fv.prototype.Ha;v("ol.format.Polyline",dw,OPENLAYERS);v("ol.format.Polyline.encodeDeltas",ew,OPENLAYERS);v("ol.format.Polyline.decodeDeltas",gw,OPENLAYERS);v("ol.format.Polyline.encodeFloats",fw,OPENLAYERS);v("ol.format.Polyline.decodeFloats",hw,OPENLAYERS);dw.prototype.readFeature=dw.prototype.ub;dw.prototype.readFeatures=dw.prototype.ra;dw.prototype.readGeometry=dw.prototype.Jc;
dw.prototype.readProjection=dw.prototype.Ha;dw.prototype.writeGeometry=dw.prototype.Pc;v("ol.format.TopoJSON",iw,OPENLAYERS);iw.prototype.readFeatures=iw.prototype.ra;iw.prototype.readProjection=iw.prototype.Ha;v("ol.format.WFS",ow,OPENLAYERS);ow.prototype.readFeatures=ow.prototype.ra;ow.prototype.readTransactionResponse=ow.prototype.i;ow.prototype.readFeatureCollectionMetadata=ow.prototype.j;ow.prototype.writeGetFeature=ow.prototype.l;ow.prototype.writeTransaction=ow.prototype.v;
ow.prototype.readProjection=ow.prototype.Ha;v("ol.format.WKT",Bw,OPENLAYERS);Bw.prototype.readFeature=Bw.prototype.ub;Bw.prototype.readFeatures=Bw.prototype.ra;Bw.prototype.readGeometry=Bw.prototype.Jc;Bw.prototype.writeFeature=Bw.prototype.td;Bw.prototype.writeFeatures=Bw.prototype.wb;Bw.prototype.writeGeometry=Bw.prototype.Pc;v("ol.format.WMSCapabilities",Tw,OPENLAYERS);Tw.prototype.read=Tw.prototype.c;v("ol.format.WMSGetFeatureInfo",px,OPENLAYERS);px.prototype.readFeatures=px.prototype.ra;
v("ol.format.WMTSCapabilities",rx,OPENLAYERS);rx.prototype.read=rx.prototype.c;v("ol.format.GML2",zs,OPENLAYERS);v("ol.format.GML3",As,OPENLAYERS);As.prototype.writeGeometryNode=As.prototype.C;As.prototype.writeFeatures=As.prototype.wb;As.prototype.writeFeaturesNode=As.prototype.a;v("ol.format.GML",As,OPENLAYERS);As.prototype.writeFeatures=As.prototype.wb;As.prototype.writeFeaturesNode=As.prototype.a;ns.prototype.readFeatures=ns.prototype.ra;
v("ol.events.condition.altKeyOnly",function(a){a=a.b;return a.a&&!a.l&&!a.f},OPENLAYERS);v("ol.events.condition.altShiftKeysOnly",$k,OPENLAYERS);v("ol.events.condition.always",re,OPENLAYERS);v("ol.events.condition.click",function(a){return a.type==Yj},OPENLAYERS);v("ol.events.condition.never",qe,OPENLAYERS);v("ol.events.condition.pointerMove",al,OPENLAYERS);v("ol.events.condition.singleClick",bl,OPENLAYERS);v("ol.events.condition.doubleClick",function(a){return a.type==Zj},OPENLAYERS);
v("ol.events.condition.noModifierKeys",cl,OPENLAYERS);v("ol.events.condition.platformModifierKeyOnly",function(a){a=a.b;return!a.a&&a.l&&!a.f},OPENLAYERS);v("ol.events.condition.shiftKeyOnly",dl,OPENLAYERS);v("ol.events.condition.targetNotEditable",el,OPENLAYERS);v("ol.events.condition.mouseOnly",fl,OPENLAYERS);v("ol.control.Attribution",Zh,OPENLAYERS);v("ol.control.Attribution.render",$h,OPENLAYERS);Zh.prototype.getCollapsible=Zh.prototype.Tk;Zh.prototype.setCollapsible=Zh.prototype.Wk;
Zh.prototype.setCollapsed=Zh.prototype.Vk;Zh.prototype.getCollapsed=Zh.prototype.Sk;v("ol.control.Control",zh,OPENLAYERS);zh.prototype.getMap=zh.prototype.g;zh.prototype.setMap=zh.prototype.setMap;zh.prototype.setTarget=zh.prototype.c;v("ol.control.defaults",fi,OPENLAYERS);v("ol.control.FullScreen",ki,OPENLAYERS);v("ol.control.MousePosition",li,OPENLAYERS);v("ol.control.MousePosition.render",mi,OPENLAYERS);li.prototype.getCoordinateFormat=li.prototype.Yf;li.prototype.getProjection=li.prototype.xg;
li.prototype.setCoordinateFormat=li.prototype.lh;li.prototype.setProjection=li.prototype.yg;v("ol.control.OverviewMap",tr,OPENLAYERS);v("ol.control.OverviewMap.render",ur,OPENLAYERS);tr.prototype.getCollapsible=tr.prototype.Zk;tr.prototype.setCollapsible=tr.prototype.bl;tr.prototype.setCollapsed=tr.prototype.al;tr.prototype.getCollapsed=tr.prototype.Yk;v("ol.control.Rotate",bi,OPENLAYERS);v("ol.control.Rotate.render",ci,OPENLAYERS);v("ol.control.ScaleLine",yr,OPENLAYERS);yr.prototype.getUnits=yr.prototype.B;
v("ol.control.ScaleLine.render",zr,OPENLAYERS);yr.prototype.setUnits=yr.prototype.X;v("ol.control.Zoom",ei,OPENLAYERS);v("ol.control.ZoomSlider",Mr,OPENLAYERS);v("ol.control.ZoomSlider.render",Or,OPENLAYERS);v("ol.control.ZoomToExtent",Rr,OPENLAYERS);v("ol.color.asArray",zg,OPENLAYERS);v("ol.color.asString",Bg,OPENLAYERS);id.prototype.changed=id.prototype.s;id.prototype.getRevision=id.prototype.L;id.prototype.on=id.prototype.G;id.prototype.once=id.prototype.M;id.prototype.un=id.prototype.K;
id.prototype.unByKey=id.prototype.N;ug.prototype.get=ug.prototype.get;ug.prototype.getKeys=ug.prototype.O;ug.prototype.getProperties=ug.prototype.P;ug.prototype.set=ug.prototype.set;ug.prototype.setProperties=ug.prototype.I;ug.prototype.unset=ug.prototype.S;ug.prototype.changed=ug.prototype.s;ug.prototype.getRevision=ug.prototype.L;ug.prototype.on=ug.prototype.G;ug.prototype.once=ug.prototype.M;ug.prototype.un=ug.prototype.K;ug.prototype.unByKey=ug.prototype.N;Sr.prototype.get=Sr.prototype.get;
Sr.prototype.getKeys=Sr.prototype.O;Sr.prototype.getProperties=Sr.prototype.P;Sr.prototype.set=Sr.prototype.set;Sr.prototype.setProperties=Sr.prototype.I;Sr.prototype.unset=Sr.prototype.S;Sr.prototype.changed=Sr.prototype.s;Sr.prototype.getRevision=Sr.prototype.L;Sr.prototype.on=Sr.prototype.G;Sr.prototype.once=Sr.prototype.M;Sr.prototype.un=Sr.prototype.K;Sr.prototype.unByKey=Sr.prototype.N;En.prototype.get=En.prototype.get;En.prototype.getKeys=En.prototype.O;En.prototype.getProperties=En.prototype.P;
En.prototype.set=En.prototype.set;En.prototype.setProperties=En.prototype.I;En.prototype.unset=En.prototype.S;En.prototype.changed=En.prototype.s;En.prototype.getRevision=En.prototype.L;En.prototype.on=En.prototype.G;En.prototype.once=En.prototype.M;En.prototype.un=En.prototype.K;En.prototype.unByKey=En.prototype.N;Ex.prototype.get=Ex.prototype.get;Ex.prototype.getKeys=Ex.prototype.O;Ex.prototype.getProperties=Ex.prototype.P;Ex.prototype.set=Ex.prototype.set;Ex.prototype.setProperties=Ex.prototype.I;
Ex.prototype.unset=Ex.prototype.S;Ex.prototype.changed=Ex.prototype.s;Ex.prototype.getRevision=Ex.prototype.L;Ex.prototype.on=Ex.prototype.G;Ex.prototype.once=Ex.prototype.M;Ex.prototype.un=Ex.prototype.K;Ex.prototype.unByKey=Ex.prototype.N;Ox.prototype.getTileCoord=Ox.prototype.j;W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.O;W.prototype.getProperties=W.prototype.P;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.I;W.prototype.unset=W.prototype.S;
W.prototype.changed=W.prototype.s;W.prototype.getRevision=W.prototype.L;W.prototype.on=W.prototype.G;W.prototype.once=W.prototype.M;W.prototype.un=W.prototype.K;W.prototype.unByKey=W.prototype.N;Uj.prototype.map=Uj.prototype.map;Uj.prototype.frameState=Uj.prototype.frameState;Vj.prototype.originalEvent=Vj.prototype.originalEvent;Vj.prototype.pixel=Vj.prototype.pixel;Vj.prototype.coordinate=Vj.prototype.coordinate;Vj.prototype.dragging=Vj.prototype.dragging;Vj.prototype.preventDefault=Vj.prototype.preventDefault;
Vj.prototype.stopPropagation=Vj.prototype.c;Vj.prototype.map=Vj.prototype.map;Vj.prototype.frameState=Vj.prototype.frameState;pr.prototype.get=pr.prototype.get;pr.prototype.getKeys=pr.prototype.O;pr.prototype.getProperties=pr.prototype.P;pr.prototype.set=pr.prototype.set;pr.prototype.setProperties=pr.prototype.I;pr.prototype.unset=pr.prototype.S;pr.prototype.changed=pr.prototype.s;pr.prototype.getRevision=pr.prototype.L;pr.prototype.on=pr.prototype.G;pr.prototype.once=pr.prototype.M;
pr.prototype.un=pr.prototype.K;pr.prototype.unByKey=pr.prototype.N;Rf.prototype.get=Rf.prototype.get;Rf.prototype.getKeys=Rf.prototype.O;Rf.prototype.getProperties=Rf.prototype.P;Rf.prototype.set=Rf.prototype.set;Rf.prototype.setProperties=Rf.prototype.I;Rf.prototype.unset=Rf.prototype.S;Rf.prototype.changed=Rf.prototype.s;Rf.prototype.getRevision=Rf.prototype.L;Rf.prototype.on=Rf.prototype.G;Rf.prototype.once=Rf.prototype.M;Rf.prototype.un=Rf.prototype.K;Rf.prototype.unByKey=Rf.prototype.N;
sA.prototype.getMaxZoom=sA.prototype.bg;sA.prototype.getMinZoom=sA.prototype.cg;sA.prototype.getOrigin=sA.prototype.Hc;sA.prototype.getResolution=sA.prototype.xa;sA.prototype.getResolutions=sA.prototype.Rg;sA.prototype.getTileCoordForCoordAndResolution=sA.prototype.fd;sA.prototype.getTileCoordForCoordAndZ=sA.prototype.Pd;sA.prototype.getTileSize=sA.prototype.Ka;Jl.prototype.getOpacity=Jl.prototype.je;Jl.prototype.getRotateWithView=Jl.prototype.Nd;Jl.prototype.getRotation=Jl.prototype.ke;
Jl.prototype.getScale=Jl.prototype.le;Jl.prototype.getSnapToPixel=Jl.prototype.Od;Jl.prototype.setOpacity=Jl.prototype.me;Jl.prototype.setRotation=Jl.prototype.ne;Jl.prototype.setScale=Jl.prototype.oe;Ck.prototype.getOpacity=Ck.prototype.je;Ck.prototype.getRotateWithView=Ck.prototype.Nd;Ck.prototype.getRotation=Ck.prototype.ke;Ck.prototype.getScale=Ck.prototype.le;Ck.prototype.getSnapToPixel=Ck.prototype.Od;Ck.prototype.setOpacity=Ck.prototype.me;Ck.prototype.setRotation=Ck.prototype.ne;
Ck.prototype.setScale=Ck.prototype.oe;CA.prototype.getOpacity=CA.prototype.je;CA.prototype.getRotateWithView=CA.prototype.Nd;CA.prototype.getRotation=CA.prototype.ke;CA.prototype.getScale=CA.prototype.le;CA.prototype.getSnapToPixel=CA.prototype.Od;CA.prototype.setOpacity=CA.prototype.me;CA.prototype.setRotation=CA.prototype.ne;CA.prototype.setScale=CA.prototype.oe;Gh.prototype.get=Gh.prototype.get;Gh.prototype.getKeys=Gh.prototype.O;Gh.prototype.getProperties=Gh.prototype.P;Gh.prototype.set=Gh.prototype.set;
Gh.prototype.setProperties=Gh.prototype.I;Gh.prototype.unset=Gh.prototype.S;Gh.prototype.changed=Gh.prototype.s;Gh.prototype.getRevision=Gh.prototype.L;Gh.prototype.on=Gh.prototype.G;Gh.prototype.once=Gh.prototype.M;Gh.prototype.un=Gh.prototype.K;Gh.prototype.unByKey=Gh.prototype.N;Uh.prototype.getAttributions=Uh.prototype.ma;Uh.prototype.getLogo=Uh.prototype.la;Uh.prototype.getProjection=Uh.prototype.na;Uh.prototype.getState=Uh.prototype.oa;Uh.prototype.setAttributions=Uh.prototype.ka;
Uh.prototype.get=Uh.prototype.get;Uh.prototype.getKeys=Uh.prototype.O;Uh.prototype.getProperties=Uh.prototype.P;Uh.prototype.set=Uh.prototype.set;Uh.prototype.setProperties=Uh.prototype.I;Uh.prototype.unset=Uh.prototype.S;Uh.prototype.changed=Uh.prototype.s;Uh.prototype.getRevision=Uh.prototype.L;Uh.prototype.on=Uh.prototype.G;Uh.prototype.once=Uh.prototype.M;Uh.prototype.un=Uh.prototype.K;Uh.prototype.unByKey=Uh.prototype.N;Az.prototype.getTileGrid=Az.prototype.Ca;Az.prototype.getAttributions=Az.prototype.ma;
Az.prototype.getLogo=Az.prototype.la;Az.prototype.getProjection=Az.prototype.na;Az.prototype.getState=Az.prototype.oa;Az.prototype.setAttributions=Az.prototype.ka;Az.prototype.get=Az.prototype.get;Az.prototype.getKeys=Az.prototype.O;Az.prototype.getProperties=Az.prototype.P;Az.prototype.set=Az.prototype.set;Az.prototype.setProperties=Az.prototype.I;Az.prototype.unset=Az.prototype.S;Az.prototype.changed=Az.prototype.s;Az.prototype.getRevision=Az.prototype.L;Az.prototype.on=Az.prototype.G;
Az.prototype.once=Az.prototype.M;Az.prototype.un=Az.prototype.K;Az.prototype.unByKey=Az.prototype.N;Cz.prototype.getTileLoadFunction=Cz.prototype.Za;Cz.prototype.getTileUrlFunction=Cz.prototype.$a;Cz.prototype.setTileLoadFunction=Cz.prototype.eb;Cz.prototype.setTileUrlFunction=Cz.prototype.Ga;Cz.prototype.getTileGrid=Cz.prototype.Ca;Cz.prototype.getAttributions=Cz.prototype.ma;Cz.prototype.getLogo=Cz.prototype.la;Cz.prototype.getProjection=Cz.prototype.na;Cz.prototype.getState=Cz.prototype.oa;
Cz.prototype.setAttributions=Cz.prototype.ka;Cz.prototype.get=Cz.prototype.get;Cz.prototype.getKeys=Cz.prototype.O;Cz.prototype.getProperties=Cz.prototype.P;Cz.prototype.set=Cz.prototype.set;Cz.prototype.setProperties=Cz.prototype.I;Cz.prototype.unset=Cz.prototype.S;Cz.prototype.changed=Cz.prototype.s;Cz.prototype.getRevision=Cz.prototype.L;Cz.prototype.on=Cz.prototype.G;Cz.prototype.once=Cz.prototype.M;Cz.prototype.un=Cz.prototype.K;Cz.prototype.unByKey=Cz.prototype.N;
V.prototype.getAttributions=V.prototype.ma;V.prototype.getLogo=V.prototype.la;V.prototype.getProjection=V.prototype.na;V.prototype.getState=V.prototype.oa;V.prototype.setAttributions=V.prototype.ka;V.prototype.get=V.prototype.get;V.prototype.getKeys=V.prototype.O;V.prototype.getProperties=V.prototype.P;V.prototype.set=V.prototype.set;V.prototype.setProperties=V.prototype.I;V.prototype.unset=V.prototype.S;V.prototype.changed=V.prototype.s;V.prototype.getRevision=V.prototype.L;V.prototype.on=V.prototype.G;
V.prototype.once=V.prototype.M;V.prototype.un=V.prototype.K;V.prototype.unByKey=V.prototype.N;Z.prototype.addFeature=Z.prototype.Fc;Z.prototype.addFeatures=Z.prototype.Rb;Z.prototype.clear=Z.prototype.clear;Z.prototype.forEachFeature=Z.prototype.Re;Z.prototype.forEachFeatureInExtent=Z.prototype.Ac;Z.prototype.forEachFeatureIntersectingExtent=Z.prototype.Se;Z.prototype.getFeaturesCollection=Z.prototype.Xe;Z.prototype.getFeatures=Z.prototype.Gc;Z.prototype.getFeaturesAtCoordinate=Z.prototype.We;
Z.prototype.getFeaturesInExtent=Z.prototype.Hd;Z.prototype.getClosestFeatureToCoordinate=Z.prototype.Ue;Z.prototype.getExtent=Z.prototype.R;Z.prototype.getFeatureById=Z.prototype.Ve;Z.prototype.removeFeature=Z.prototype.hc;Z.prototype.getAttributions=Z.prototype.ma;Z.prototype.getLogo=Z.prototype.la;Z.prototype.getProjection=Z.prototype.na;Z.prototype.getState=Z.prototype.oa;Z.prototype.setAttributions=Z.prototype.ka;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.O;
Z.prototype.getProperties=Z.prototype.P;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.I;Z.prototype.unset=Z.prototype.S;Z.prototype.changed=Z.prototype.s;Z.prototype.getRevision=Z.prototype.L;Z.prototype.on=Z.prototype.G;Z.prototype.once=Z.prototype.M;Z.prototype.un=Z.prototype.K;Z.prototype.unByKey=Z.prototype.N;wn.prototype.getAttributions=wn.prototype.ma;wn.prototype.getLogo=wn.prototype.la;wn.prototype.getProjection=wn.prototype.na;wn.prototype.getState=wn.prototype.oa;
wn.prototype.setAttributions=wn.prototype.ka;wn.prototype.get=wn.prototype.get;wn.prototype.getKeys=wn.prototype.O;wn.prototype.getProperties=wn.prototype.P;wn.prototype.set=wn.prototype.set;wn.prototype.setProperties=wn.prototype.I;wn.prototype.unset=wn.prototype.S;wn.prototype.changed=wn.prototype.s;wn.prototype.getRevision=wn.prototype.L;wn.prototype.on=wn.prototype.G;wn.prototype.once=wn.prototype.M;wn.prototype.un=wn.prototype.K;wn.prototype.unByKey=wn.prototype.N;
Dn.prototype.getAttributions=Dn.prototype.ma;Dn.prototype.getLogo=Dn.prototype.la;Dn.prototype.getProjection=Dn.prototype.na;Dn.prototype.getState=Dn.prototype.oa;Dn.prototype.setAttributions=Dn.prototype.ka;Dn.prototype.get=Dn.prototype.get;Dn.prototype.getKeys=Dn.prototype.O;Dn.prototype.getProperties=Dn.prototype.P;Dn.prototype.set=Dn.prototype.set;Dn.prototype.setProperties=Dn.prototype.I;Dn.prototype.unset=Dn.prototype.S;Dn.prototype.changed=Dn.prototype.s;Dn.prototype.getRevision=Dn.prototype.L;
Dn.prototype.on=Dn.prototype.G;Dn.prototype.once=Dn.prototype.M;Dn.prototype.un=Dn.prototype.K;Dn.prototype.unByKey=Dn.prototype.N;Gz.prototype.getAttributions=Gz.prototype.ma;Gz.prototype.getLogo=Gz.prototype.la;Gz.prototype.getProjection=Gz.prototype.na;Gz.prototype.getState=Gz.prototype.oa;Gz.prototype.setAttributions=Gz.prototype.ka;Gz.prototype.get=Gz.prototype.get;Gz.prototype.getKeys=Gz.prototype.O;Gz.prototype.getProperties=Gz.prototype.P;Gz.prototype.set=Gz.prototype.set;
Gz.prototype.setProperties=Gz.prototype.I;Gz.prototype.unset=Gz.prototype.S;Gz.prototype.changed=Gz.prototype.s;Gz.prototype.getRevision=Gz.prototype.L;Gz.prototype.on=Gz.prototype.G;Gz.prototype.once=Gz.prototype.M;Gz.prototype.un=Gz.prototype.K;Gz.prototype.unByKey=Gz.prototype.N;Hz.prototype.getAttributions=Hz.prototype.ma;Hz.prototype.getLogo=Hz.prototype.la;Hz.prototype.getProjection=Hz.prototype.na;Hz.prototype.getState=Hz.prototype.oa;Hz.prototype.setAttributions=Hz.prototype.ka;
Hz.prototype.get=Hz.prototype.get;Hz.prototype.getKeys=Hz.prototype.O;Hz.prototype.getProperties=Hz.prototype.P;Hz.prototype.set=Hz.prototype.set;Hz.prototype.setProperties=Hz.prototype.I;Hz.prototype.unset=Hz.prototype.S;Hz.prototype.changed=Hz.prototype.s;Hz.prototype.getRevision=Hz.prototype.L;Hz.prototype.on=Hz.prototype.G;Hz.prototype.once=Hz.prototype.M;Hz.prototype.un=Hz.prototype.K;Hz.prototype.unByKey=Hz.prototype.N;Wp.prototype.getAttributions=Wp.prototype.ma;Wp.prototype.getLogo=Wp.prototype.la;
Wp.prototype.getProjection=Wp.prototype.na;Wp.prototype.getState=Wp.prototype.oa;Wp.prototype.setAttributions=Wp.prototype.ka;Wp.prototype.get=Wp.prototype.get;Wp.prototype.getKeys=Wp.prototype.O;Wp.prototype.getProperties=Wp.prototype.P;Wp.prototype.set=Wp.prototype.set;Wp.prototype.setProperties=Wp.prototype.I;Wp.prototype.unset=Wp.prototype.S;Wp.prototype.changed=Wp.prototype.s;Wp.prototype.getRevision=Wp.prototype.L;Wp.prototype.on=Wp.prototype.G;Wp.prototype.once=Wp.prototype.M;
Wp.prototype.un=Wp.prototype.K;Wp.prototype.unByKey=Wp.prototype.N;Iz.prototype.getAttributions=Iz.prototype.ma;Iz.prototype.getLogo=Iz.prototype.la;Iz.prototype.getProjection=Iz.prototype.na;Iz.prototype.getState=Iz.prototype.oa;Iz.prototype.setAttributions=Iz.prototype.ka;Iz.prototype.get=Iz.prototype.get;Iz.prototype.getKeys=Iz.prototype.O;Iz.prototype.getProperties=Iz.prototype.P;Iz.prototype.set=Iz.prototype.set;Iz.prototype.setProperties=Iz.prototype.I;Iz.prototype.unset=Iz.prototype.S;
Iz.prototype.changed=Iz.prototype.s;Iz.prototype.getRevision=Iz.prototype.L;Iz.prototype.on=Iz.prototype.G;Iz.prototype.once=Iz.prototype.M;Iz.prototype.un=Iz.prototype.K;Iz.prototype.unByKey=Iz.prototype.N;Mz.prototype.getTileLoadFunction=Mz.prototype.Za;Mz.prototype.getTileUrlFunction=Mz.prototype.$a;Mz.prototype.setTileLoadFunction=Mz.prototype.eb;Mz.prototype.setTileUrlFunction=Mz.prototype.Ga;Mz.prototype.getTileGrid=Mz.prototype.Ca;Mz.prototype.getAttributions=Mz.prototype.ma;
Mz.prototype.getLogo=Mz.prototype.la;Mz.prototype.getProjection=Mz.prototype.na;Mz.prototype.getState=Mz.prototype.oa;Mz.prototype.setAttributions=Mz.prototype.ka;Mz.prototype.get=Mz.prototype.get;Mz.prototype.getKeys=Mz.prototype.O;Mz.prototype.getProperties=Mz.prototype.P;Mz.prototype.set=Mz.prototype.set;Mz.prototype.setProperties=Mz.prototype.I;Mz.prototype.unset=Mz.prototype.S;Mz.prototype.changed=Mz.prototype.s;Mz.prototype.getRevision=Mz.prototype.L;Mz.prototype.on=Mz.prototype.G;
Mz.prototype.once=Mz.prototype.M;Mz.prototype.un=Mz.prototype.K;Mz.prototype.unByKey=Mz.prototype.N;Pz.prototype.getUrls=Pz.prototype.g;Pz.prototype.setUrl=Pz.prototype.f;Pz.prototype.getTileLoadFunction=Pz.prototype.Za;Pz.prototype.getTileUrlFunction=Pz.prototype.$a;Pz.prototype.setTileLoadFunction=Pz.prototype.eb;Pz.prototype.setTileUrlFunction=Pz.prototype.Ga;Pz.prototype.getTileGrid=Pz.prototype.Ca;Pz.prototype.getAttributions=Pz.prototype.ma;Pz.prototype.getLogo=Pz.prototype.la;
Pz.prototype.getProjection=Pz.prototype.na;Pz.prototype.getState=Pz.prototype.oa;Pz.prototype.setAttributions=Pz.prototype.ka;Pz.prototype.get=Pz.prototype.get;Pz.prototype.getKeys=Pz.prototype.O;Pz.prototype.getProperties=Pz.prototype.P;Pz.prototype.set=Pz.prototype.set;Pz.prototype.setProperties=Pz.prototype.I;Pz.prototype.unset=Pz.prototype.S;Pz.prototype.changed=Pz.prototype.s;Pz.prototype.getRevision=Pz.prototype.L;Pz.prototype.on=Pz.prototype.G;Pz.prototype.once=Pz.prototype.M;
Pz.prototype.un=Pz.prototype.K;Pz.prototype.unByKey=Pz.prototype.N;Nz.prototype.getUrls=Nz.prototype.g;Nz.prototype.setUrl=Nz.prototype.f;Nz.prototype.getTileLoadFunction=Nz.prototype.Za;Nz.prototype.getTileUrlFunction=Nz.prototype.$a;Nz.prototype.setTileLoadFunction=Nz.prototype.eb;Nz.prototype.setTileUrlFunction=Nz.prototype.Ga;Nz.prototype.getTileGrid=Nz.prototype.Ca;Nz.prototype.getAttributions=Nz.prototype.ma;Nz.prototype.getLogo=Nz.prototype.la;Nz.prototype.getProjection=Nz.prototype.na;
Nz.prototype.getState=Nz.prototype.oa;Nz.prototype.setAttributions=Nz.prototype.ka;Nz.prototype.get=Nz.prototype.get;Nz.prototype.getKeys=Nz.prototype.O;Nz.prototype.getProperties=Nz.prototype.P;Nz.prototype.set=Nz.prototype.set;Nz.prototype.setProperties=Nz.prototype.I;Nz.prototype.unset=Nz.prototype.S;Nz.prototype.changed=Nz.prototype.s;Nz.prototype.getRevision=Nz.prototype.L;Nz.prototype.on=Nz.prototype.G;Nz.prototype.once=Nz.prototype.M;Nz.prototype.un=Nz.prototype.K;Nz.prototype.unByKey=Nz.prototype.N;
Sz.prototype.getAttributions=Sz.prototype.ma;Sz.prototype.getLogo=Sz.prototype.la;Sz.prototype.getProjection=Sz.prototype.na;Sz.prototype.getState=Sz.prototype.oa;Sz.prototype.setAttributions=Sz.prototype.ka;Sz.prototype.get=Sz.prototype.get;Sz.prototype.getKeys=Sz.prototype.O;Sz.prototype.getProperties=Sz.prototype.P;Sz.prototype.set=Sz.prototype.set;Sz.prototype.setProperties=Sz.prototype.I;Sz.prototype.unset=Sz.prototype.S;Sz.prototype.changed=Sz.prototype.s;Sz.prototype.getRevision=Sz.prototype.L;
Sz.prototype.on=Sz.prototype.G;Sz.prototype.once=Sz.prototype.M;Sz.prototype.un=Sz.prototype.K;Sz.prototype.unByKey=Sz.prototype.N;aA.prototype.getUrls=aA.prototype.g;aA.prototype.setUrl=aA.prototype.f;aA.prototype.getTileLoadFunction=aA.prototype.Za;aA.prototype.getTileUrlFunction=aA.prototype.$a;aA.prototype.setTileLoadFunction=aA.prototype.eb;aA.prototype.setTileUrlFunction=aA.prototype.Ga;aA.prototype.getTileGrid=aA.prototype.Ca;aA.prototype.getAttributions=aA.prototype.ma;
aA.prototype.getLogo=aA.prototype.la;aA.prototype.getProjection=aA.prototype.na;aA.prototype.getState=aA.prototype.oa;aA.prototype.setAttributions=aA.prototype.ka;aA.prototype.get=aA.prototype.get;aA.prototype.getKeys=aA.prototype.O;aA.prototype.getProperties=aA.prototype.P;aA.prototype.set=aA.prototype.set;aA.prototype.setProperties=aA.prototype.I;aA.prototype.unset=aA.prototype.S;aA.prototype.changed=aA.prototype.s;aA.prototype.getRevision=aA.prototype.L;aA.prototype.on=aA.prototype.G;
aA.prototype.once=aA.prototype.M;aA.prototype.un=aA.prototype.K;aA.prototype.unByKey=aA.prototype.N;cA.prototype.getTileLoadFunction=cA.prototype.Za;cA.prototype.getTileUrlFunction=cA.prototype.$a;cA.prototype.setTileLoadFunction=cA.prototype.eb;cA.prototype.setTileUrlFunction=cA.prototype.Ga;cA.prototype.getTileGrid=cA.prototype.Ca;cA.prototype.getAttributions=cA.prototype.ma;cA.prototype.getLogo=cA.prototype.la;cA.prototype.getProjection=cA.prototype.na;cA.prototype.getState=cA.prototype.oa;
cA.prototype.setAttributions=cA.prototype.ka;cA.prototype.get=cA.prototype.get;cA.prototype.getKeys=cA.prototype.O;cA.prototype.getProperties=cA.prototype.P;cA.prototype.set=cA.prototype.set;cA.prototype.setProperties=cA.prototype.I;cA.prototype.unset=cA.prototype.S;cA.prototype.changed=cA.prototype.s;cA.prototype.getRevision=cA.prototype.L;cA.prototype.on=cA.prototype.G;cA.prototype.once=cA.prototype.M;cA.prototype.un=cA.prototype.K;cA.prototype.unByKey=cA.prototype.N;eA.prototype.getTileGrid=eA.prototype.Ca;
eA.prototype.getAttributions=eA.prototype.ma;eA.prototype.getLogo=eA.prototype.la;eA.prototype.getProjection=eA.prototype.na;eA.prototype.getState=eA.prototype.oa;eA.prototype.setAttributions=eA.prototype.ka;eA.prototype.get=eA.prototype.get;eA.prototype.getKeys=eA.prototype.O;eA.prototype.getProperties=eA.prototype.P;eA.prototype.set=eA.prototype.set;eA.prototype.setProperties=eA.prototype.I;eA.prototype.unset=eA.prototype.S;eA.prototype.changed=eA.prototype.s;eA.prototype.getRevision=eA.prototype.L;
eA.prototype.on=eA.prototype.G;eA.prototype.once=eA.prototype.M;eA.prototype.un=eA.prototype.K;eA.prototype.unByKey=eA.prototype.N;fA.prototype.getTileLoadFunction=fA.prototype.Za;fA.prototype.getTileUrlFunction=fA.prototype.$a;fA.prototype.setTileLoadFunction=fA.prototype.eb;fA.prototype.setTileUrlFunction=fA.prototype.Ga;fA.prototype.getTileGrid=fA.prototype.Ca;fA.prototype.getAttributions=fA.prototype.ma;fA.prototype.getLogo=fA.prototype.la;fA.prototype.getProjection=fA.prototype.na;
fA.prototype.getState=fA.prototype.oa;fA.prototype.setAttributions=fA.prototype.ka;fA.prototype.get=fA.prototype.get;fA.prototype.getKeys=fA.prototype.O;fA.prototype.getProperties=fA.prototype.P;fA.prototype.set=fA.prototype.set;fA.prototype.setProperties=fA.prototype.I;fA.prototype.unset=fA.prototype.S;fA.prototype.changed=fA.prototype.s;fA.prototype.getRevision=fA.prototype.L;fA.prototype.on=fA.prototype.G;fA.prototype.once=fA.prototype.M;fA.prototype.un=fA.prototype.K;fA.prototype.unByKey=fA.prototype.N;
gA.prototype.getTileGrid=gA.prototype.Ca;gA.prototype.getAttributions=gA.prototype.ma;gA.prototype.getLogo=gA.prototype.la;gA.prototype.getProjection=gA.prototype.na;gA.prototype.getState=gA.prototype.oa;gA.prototype.setAttributions=gA.prototype.ka;gA.prototype.get=gA.prototype.get;gA.prototype.getKeys=gA.prototype.O;gA.prototype.getProperties=gA.prototype.P;gA.prototype.set=gA.prototype.set;gA.prototype.setProperties=gA.prototype.I;gA.prototype.unset=gA.prototype.S;gA.prototype.changed=gA.prototype.s;
gA.prototype.getRevision=gA.prototype.L;gA.prototype.on=gA.prototype.G;gA.prototype.once=gA.prototype.M;gA.prototype.un=gA.prototype.K;gA.prototype.unByKey=gA.prototype.N;lA.prototype.addFeature=lA.prototype.Fc;lA.prototype.addFeatures=lA.prototype.Rb;lA.prototype.clear=lA.prototype.clear;lA.prototype.forEachFeature=lA.prototype.Re;lA.prototype.forEachFeatureInExtent=lA.prototype.Ac;lA.prototype.forEachFeatureIntersectingExtent=lA.prototype.Se;lA.prototype.getFeaturesCollection=lA.prototype.Xe;
lA.prototype.getFeatures=lA.prototype.Gc;lA.prototype.getFeaturesAtCoordinate=lA.prototype.We;lA.prototype.getFeaturesInExtent=lA.prototype.Hd;lA.prototype.getClosestFeatureToCoordinate=lA.prototype.Ue;lA.prototype.getExtent=lA.prototype.R;lA.prototype.getFeatureById=lA.prototype.Ve;lA.prototype.removeFeature=lA.prototype.hc;lA.prototype.getAttributions=lA.prototype.ma;lA.prototype.getLogo=lA.prototype.la;lA.prototype.getProjection=lA.prototype.na;lA.prototype.getState=lA.prototype.oa;
lA.prototype.setAttributions=lA.prototype.ka;lA.prototype.get=lA.prototype.get;lA.prototype.getKeys=lA.prototype.O;lA.prototype.getProperties=lA.prototype.P;lA.prototype.set=lA.prototype.set;lA.prototype.setProperties=lA.prototype.I;lA.prototype.unset=lA.prototype.S;lA.prototype.changed=lA.prototype.s;lA.prototype.getRevision=lA.prototype.L;lA.prototype.on=lA.prototype.G;lA.prototype.once=lA.prototype.M;lA.prototype.un=lA.prototype.K;lA.prototype.unByKey=lA.prototype.N;
oA.prototype.getTileLoadFunction=oA.prototype.Za;oA.prototype.getTileUrlFunction=oA.prototype.$a;oA.prototype.setTileLoadFunction=oA.prototype.eb;oA.prototype.setTileUrlFunction=oA.prototype.Ga;oA.prototype.getTileGrid=oA.prototype.Ca;oA.prototype.getAttributions=oA.prototype.ma;oA.prototype.getLogo=oA.prototype.la;oA.prototype.getProjection=oA.prototype.na;oA.prototype.getState=oA.prototype.oa;oA.prototype.setAttributions=oA.prototype.ka;oA.prototype.get=oA.prototype.get;oA.prototype.getKeys=oA.prototype.O;
oA.prototype.getProperties=oA.prototype.P;oA.prototype.set=oA.prototype.set;oA.prototype.setProperties=oA.prototype.I;oA.prototype.unset=oA.prototype.S;oA.prototype.changed=oA.prototype.s;oA.prototype.getRevision=oA.prototype.L;oA.prototype.on=oA.prototype.G;oA.prototype.once=oA.prototype.M;oA.prototype.un=oA.prototype.K;oA.prototype.unByKey=oA.prototype.N;uA.prototype.getTileLoadFunction=uA.prototype.Za;uA.prototype.getTileUrlFunction=uA.prototype.$a;uA.prototype.setTileLoadFunction=uA.prototype.eb;
uA.prototype.setTileUrlFunction=uA.prototype.Ga;uA.prototype.getTileGrid=uA.prototype.Ca;uA.prototype.getAttributions=uA.prototype.ma;uA.prototype.getLogo=uA.prototype.la;uA.prototype.getProjection=uA.prototype.na;uA.prototype.getState=uA.prototype.oa;uA.prototype.setAttributions=uA.prototype.ka;uA.prototype.get=uA.prototype.get;uA.prototype.getKeys=uA.prototype.O;uA.prototype.getProperties=uA.prototype.P;uA.prototype.set=uA.prototype.set;uA.prototype.setProperties=uA.prototype.I;
uA.prototype.unset=uA.prototype.S;uA.prototype.changed=uA.prototype.s;uA.prototype.getRevision=uA.prototype.L;uA.prototype.on=uA.prototype.G;uA.prototype.once=uA.prototype.M;uA.prototype.un=uA.prototype.K;uA.prototype.unByKey=uA.prototype.N;wA.prototype.getTileLoadFunction=wA.prototype.Za;wA.prototype.getTileUrlFunction=wA.prototype.$a;wA.prototype.setTileLoadFunction=wA.prototype.eb;wA.prototype.setTileUrlFunction=wA.prototype.Ga;wA.prototype.getTileGrid=wA.prototype.Ca;
wA.prototype.getAttributions=wA.prototype.ma;wA.prototype.getLogo=wA.prototype.la;wA.prototype.getProjection=wA.prototype.na;wA.prototype.getState=wA.prototype.oa;wA.prototype.setAttributions=wA.prototype.ka;wA.prototype.get=wA.prototype.get;wA.prototype.getKeys=wA.prototype.O;wA.prototype.getProperties=wA.prototype.P;wA.prototype.set=wA.prototype.set;wA.prototype.setProperties=wA.prototype.I;wA.prototype.unset=wA.prototype.S;wA.prototype.changed=wA.prototype.s;wA.prototype.getRevision=wA.prototype.L;
wA.prototype.on=wA.prototype.G;wA.prototype.once=wA.prototype.M;wA.prototype.un=wA.prototype.K;wA.prototype.unByKey=wA.prototype.N;rk.prototype.changed=rk.prototype.s;rk.prototype.getRevision=rk.prototype.L;rk.prototype.on=rk.prototype.G;rk.prototype.once=rk.prototype.M;rk.prototype.un=rk.prototype.K;rk.prototype.unByKey=rk.prototype.N;Zq.prototype.changed=Zq.prototype.s;Zq.prototype.getRevision=Zq.prototype.L;Zq.prototype.on=Zq.prototype.G;Zq.prototype.once=Zq.prototype.M;Zq.prototype.un=Zq.prototype.K;
Zq.prototype.unByKey=Zq.prototype.N;br.prototype.changed=br.prototype.s;br.prototype.getRevision=br.prototype.L;br.prototype.on=br.prototype.G;br.prototype.once=br.prototype.M;br.prototype.un=br.prototype.K;br.prototype.unByKey=br.prototype.N;hr.prototype.changed=hr.prototype.s;hr.prototype.getRevision=hr.prototype.L;hr.prototype.on=hr.prototype.G;hr.prototype.once=hr.prototype.M;hr.prototype.un=hr.prototype.K;hr.prototype.unByKey=hr.prototype.N;jr.prototype.changed=jr.prototype.s;
jr.prototype.getRevision=jr.prototype.L;jr.prototype.on=jr.prototype.G;jr.prototype.once=jr.prototype.M;jr.prototype.un=jr.prototype.K;jr.prototype.unByKey=jr.prototype.N;cq.prototype.changed=cq.prototype.s;cq.prototype.getRevision=cq.prototype.L;cq.prototype.on=cq.prototype.G;cq.prototype.once=cq.prototype.M;cq.prototype.un=cq.prototype.K;cq.prototype.unByKey=cq.prototype.N;dq.prototype.changed=dq.prototype.s;dq.prototype.getRevision=dq.prototype.L;dq.prototype.on=dq.prototype.G;
dq.prototype.once=dq.prototype.M;dq.prototype.un=dq.prototype.K;dq.prototype.unByKey=dq.prototype.N;eq.prototype.changed=eq.prototype.s;eq.prototype.getRevision=eq.prototype.L;eq.prototype.on=eq.prototype.G;eq.prototype.once=eq.prototype.M;eq.prototype.un=eq.prototype.K;eq.prototype.unByKey=eq.prototype.N;gq.prototype.changed=gq.prototype.s;gq.prototype.getRevision=gq.prototype.L;gq.prototype.on=gq.prototype.G;gq.prototype.once=gq.prototype.M;gq.prototype.un=gq.prototype.K;gq.prototype.unByKey=gq.prototype.N;
Am.prototype.changed=Am.prototype.s;Am.prototype.getRevision=Am.prototype.L;Am.prototype.on=Am.prototype.G;Am.prototype.once=Am.prototype.M;Am.prototype.un=Am.prototype.K;Am.prototype.unByKey=Am.prototype.N;Yp.prototype.changed=Yp.prototype.s;Yp.prototype.getRevision=Yp.prototype.L;Yp.prototype.on=Yp.prototype.G;Yp.prototype.once=Yp.prototype.M;Yp.prototype.un=Yp.prototype.K;Yp.prototype.unByKey=Yp.prototype.N;Zp.prototype.changed=Zp.prototype.s;Zp.prototype.getRevision=Zp.prototype.L;
Zp.prototype.on=Zp.prototype.G;Zp.prototype.once=Zp.prototype.M;Zp.prototype.un=Zp.prototype.K;Zp.prototype.unByKey=Zp.prototype.N;$p.prototype.changed=$p.prototype.s;$p.prototype.getRevision=$p.prototype.L;$p.prototype.on=$p.prototype.G;$p.prototype.once=$p.prototype.M;$p.prototype.un=$p.prototype.K;$p.prototype.unByKey=$p.prototype.N;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.O;F.prototype.getProperties=F.prototype.P;F.prototype.set=F.prototype.set;
F.prototype.setProperties=F.prototype.I;F.prototype.unset=F.prototype.S;F.prototype.changed=F.prototype.s;F.prototype.getRevision=F.prototype.L;F.prototype.on=F.prototype.G;F.prototype.once=F.prototype.M;F.prototype.un=F.prototype.K;F.prototype.unByKey=F.prototype.N;G.prototype.getBrightness=G.prototype.Bb;G.prototype.getContrast=G.prototype.Cb;G.prototype.getHue=G.prototype.Db;G.prototype.getExtent=G.prototype.R;G.prototype.getMaxResolution=G.prototype.Eb;G.prototype.getMinResolution=G.prototype.Fb;
G.prototype.getOpacity=G.prototype.Kb;G.prototype.getSaturation=G.prototype.Gb;G.prototype.getVisible=G.prototype.ib;G.prototype.getZIndex=G.prototype.Lb;G.prototype.setBrightness=G.prototype.kc;G.prototype.setContrast=G.prototype.lc;G.prototype.setHue=G.prototype.mc;G.prototype.setExtent=G.prototype.bc;G.prototype.setMaxResolution=G.prototype.nc;G.prototype.setMinResolution=G.prototype.oc;G.prototype.setOpacity=G.prototype.cc;G.prototype.setSaturation=G.prototype.pc;G.prototype.setVisible=G.prototype.dc;
G.prototype.setZIndex=G.prototype.ec;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.O;G.prototype.getProperties=G.prototype.P;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.I;G.prototype.unset=G.prototype.S;G.prototype.changed=G.prototype.s;G.prototype.getRevision=G.prototype.L;G.prototype.on=G.prototype.G;G.prototype.once=G.prototype.M;G.prototype.un=G.prototype.K;G.prototype.unByKey=G.prototype.N;L.prototype.setMap=L.prototype.setMap;
L.prototype.setSource=L.prototype.Mc;L.prototype.getBrightness=L.prototype.Bb;L.prototype.getContrast=L.prototype.Cb;L.prototype.getHue=L.prototype.Db;L.prototype.getExtent=L.prototype.R;L.prototype.getMaxResolution=L.prototype.Eb;L.prototype.getMinResolution=L.prototype.Fb;L.prototype.getOpacity=L.prototype.Kb;L.prototype.getSaturation=L.prototype.Gb;L.prototype.getVisible=L.prototype.ib;L.prototype.getZIndex=L.prototype.Lb;L.prototype.setBrightness=L.prototype.kc;L.prototype.setContrast=L.prototype.lc;
L.prototype.setHue=L.prototype.mc;L.prototype.setExtent=L.prototype.bc;L.prototype.setMaxResolution=L.prototype.nc;L.prototype.setMinResolution=L.prototype.oc;L.prototype.setOpacity=L.prototype.cc;L.prototype.setSaturation=L.prototype.pc;L.prototype.setVisible=L.prototype.dc;L.prototype.setZIndex=L.prototype.ec;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.O;L.prototype.getProperties=L.prototype.P;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.I;
L.prototype.unset=L.prototype.S;L.prototype.changed=L.prototype.s;L.prototype.getRevision=L.prototype.L;L.prototype.on=L.prototype.G;L.prototype.once=L.prototype.M;L.prototype.un=L.prototype.K;L.prototype.unByKey=L.prototype.N;Y.prototype.getSource=Y.prototype.ea;Y.prototype.getStyle=Y.prototype.T;Y.prototype.getStyleFunction=Y.prototype.X;Y.prototype.setStyle=Y.prototype.g;Y.prototype.setMap=Y.prototype.setMap;Y.prototype.setSource=Y.prototype.Mc;Y.prototype.getBrightness=Y.prototype.Bb;
Y.prototype.getContrast=Y.prototype.Cb;Y.prototype.getHue=Y.prototype.Db;Y.prototype.getExtent=Y.prototype.R;Y.prototype.getMaxResolution=Y.prototype.Eb;Y.prototype.getMinResolution=Y.prototype.Fb;Y.prototype.getOpacity=Y.prototype.Kb;Y.prototype.getSaturation=Y.prototype.Gb;Y.prototype.getVisible=Y.prototype.ib;Y.prototype.getZIndex=Y.prototype.Lb;Y.prototype.setBrightness=Y.prototype.kc;Y.prototype.setContrast=Y.prototype.lc;Y.prototype.setHue=Y.prototype.mc;Y.prototype.setExtent=Y.prototype.bc;
Y.prototype.setMaxResolution=Y.prototype.nc;Y.prototype.setMinResolution=Y.prototype.oc;Y.prototype.setOpacity=Y.prototype.cc;Y.prototype.setSaturation=Y.prototype.pc;Y.prototype.setVisible=Y.prototype.dc;Y.prototype.setZIndex=Y.prototype.ec;Y.prototype.get=Y.prototype.get;Y.prototype.getKeys=Y.prototype.O;Y.prototype.getProperties=Y.prototype.P;Y.prototype.set=Y.prototype.set;Y.prototype.setProperties=Y.prototype.I;Y.prototype.unset=Y.prototype.S;Y.prototype.changed=Y.prototype.s;
Y.prototype.getRevision=Y.prototype.L;Y.prototype.on=Y.prototype.G;Y.prototype.once=Y.prototype.M;Y.prototype.un=Y.prototype.K;Y.prototype.unByKey=Y.prototype.N;J.prototype.setMap=J.prototype.setMap;J.prototype.setSource=J.prototype.Mc;J.prototype.getBrightness=J.prototype.Bb;J.prototype.getContrast=J.prototype.Cb;J.prototype.getHue=J.prototype.Db;J.prototype.getExtent=J.prototype.R;J.prototype.getMaxResolution=J.prototype.Eb;J.prototype.getMinResolution=J.prototype.Fb;J.prototype.getOpacity=J.prototype.Kb;
J.prototype.getSaturation=J.prototype.Gb;J.prototype.getVisible=J.prototype.ib;J.prototype.getZIndex=J.prototype.Lb;J.prototype.setBrightness=J.prototype.kc;J.prototype.setContrast=J.prototype.lc;J.prototype.setHue=J.prototype.mc;J.prototype.setExtent=J.prototype.bc;J.prototype.setMaxResolution=J.prototype.nc;J.prototype.setMinResolution=J.prototype.oc;J.prototype.setOpacity=J.prototype.cc;J.prototype.setSaturation=J.prototype.pc;J.prototype.setVisible=J.prototype.dc;J.prototype.setZIndex=J.prototype.ec;
J.prototype.get=J.prototype.get;J.prototype.getKeys=J.prototype.O;J.prototype.getProperties=J.prototype.P;J.prototype.set=J.prototype.set;J.prototype.setProperties=J.prototype.I;J.prototype.unset=J.prototype.S;J.prototype.changed=J.prototype.s;J.prototype.getRevision=J.prototype.L;J.prototype.on=J.prototype.G;J.prototype.once=J.prototype.M;J.prototype.un=J.prototype.K;J.prototype.unByKey=J.prototype.N;H.prototype.getBrightness=H.prototype.Bb;H.prototype.getContrast=H.prototype.Cb;
H.prototype.getHue=H.prototype.Db;H.prototype.getExtent=H.prototype.R;H.prototype.getMaxResolution=H.prototype.Eb;H.prototype.getMinResolution=H.prototype.Fb;H.prototype.getOpacity=H.prototype.Kb;H.prototype.getSaturation=H.prototype.Gb;H.prototype.getVisible=H.prototype.ib;H.prototype.getZIndex=H.prototype.Lb;H.prototype.setBrightness=H.prototype.kc;H.prototype.setContrast=H.prototype.lc;H.prototype.setHue=H.prototype.mc;H.prototype.setExtent=H.prototype.bc;H.prototype.setMaxResolution=H.prototype.nc;
H.prototype.setMinResolution=H.prototype.oc;H.prototype.setOpacity=H.prototype.cc;H.prototype.setSaturation=H.prototype.pc;H.prototype.setVisible=H.prototype.dc;H.prototype.setZIndex=H.prototype.ec;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.O;H.prototype.getProperties=H.prototype.P;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.I;H.prototype.unset=H.prototype.S;H.prototype.changed=H.prototype.s;H.prototype.getRevision=H.prototype.L;H.prototype.on=H.prototype.G;
H.prototype.once=H.prototype.M;H.prototype.un=H.prototype.K;H.prototype.unByKey=H.prototype.N;K.prototype.setMap=K.prototype.setMap;K.prototype.setSource=K.prototype.Mc;K.prototype.getBrightness=K.prototype.Bb;K.prototype.getContrast=K.prototype.Cb;K.prototype.getHue=K.prototype.Db;K.prototype.getExtent=K.prototype.R;K.prototype.getMaxResolution=K.prototype.Eb;K.prototype.getMinResolution=K.prototype.Fb;K.prototype.getOpacity=K.prototype.Kb;K.prototype.getSaturation=K.prototype.Gb;
K.prototype.getVisible=K.prototype.ib;K.prototype.getZIndex=K.prototype.Lb;K.prototype.setBrightness=K.prototype.kc;K.prototype.setContrast=K.prototype.lc;K.prototype.setHue=K.prototype.mc;K.prototype.setExtent=K.prototype.bc;K.prototype.setMaxResolution=K.prototype.nc;K.prototype.setMinResolution=K.prototype.oc;K.prototype.setOpacity=K.prototype.cc;K.prototype.setSaturation=K.prototype.pc;K.prototype.setVisible=K.prototype.dc;K.prototype.setZIndex=K.prototype.ec;K.prototype.get=K.prototype.get;
K.prototype.getKeys=K.prototype.O;K.prototype.getProperties=K.prototype.P;K.prototype.set=K.prototype.set;K.prototype.setProperties=K.prototype.I;K.prototype.unset=K.prototype.S;K.prototype.changed=K.prototype.s;K.prototype.getRevision=K.prototype.L;K.prototype.on=K.prototype.G;K.prototype.once=K.prototype.M;K.prototype.un=K.prototype.K;K.prototype.unByKey=K.prototype.N;Uk.prototype.get=Uk.prototype.get;Uk.prototype.getKeys=Uk.prototype.O;Uk.prototype.getProperties=Uk.prototype.P;
Uk.prototype.set=Uk.prototype.set;Uk.prototype.setProperties=Uk.prototype.I;Uk.prototype.unset=Uk.prototype.S;Uk.prototype.changed=Uk.prototype.s;Uk.prototype.getRevision=Uk.prototype.L;Uk.prototype.on=Uk.prototype.G;Uk.prototype.once=Uk.prototype.M;Uk.prototype.un=Uk.prototype.K;Uk.prototype.unByKey=Uk.prototype.N;Yk.prototype.getActive=Yk.prototype.c;Yk.prototype.setActive=Yk.prototype.g;Yk.prototype.get=Yk.prototype.get;Yk.prototype.getKeys=Yk.prototype.O;Yk.prototype.getProperties=Yk.prototype.P;
Yk.prototype.set=Yk.prototype.set;Yk.prototype.setProperties=Yk.prototype.I;Yk.prototype.unset=Yk.prototype.S;Yk.prototype.changed=Yk.prototype.s;Yk.prototype.getRevision=Yk.prototype.L;Yk.prototype.on=Yk.prototype.G;Yk.prototype.once=Yk.prototype.M;Yk.prototype.un=Yk.prototype.K;Yk.prototype.unByKey=Yk.prototype.N;iy.prototype.getActive=iy.prototype.c;iy.prototype.setActive=iy.prototype.g;iy.prototype.get=iy.prototype.get;iy.prototype.getKeys=iy.prototype.O;iy.prototype.getProperties=iy.prototype.P;
iy.prototype.set=iy.prototype.set;iy.prototype.setProperties=iy.prototype.I;iy.prototype.unset=iy.prototype.S;iy.prototype.changed=iy.prototype.s;iy.prototype.getRevision=iy.prototype.L;iy.prototype.on=iy.prototype.G;iy.prototype.once=iy.prototype.M;iy.prototype.un=iy.prototype.K;iy.prototype.unByKey=iy.prototype.N;gl.prototype.getActive=gl.prototype.c;gl.prototype.setActive=gl.prototype.g;gl.prototype.get=gl.prototype.get;gl.prototype.getKeys=gl.prototype.O;gl.prototype.getProperties=gl.prototype.P;
gl.prototype.set=gl.prototype.set;gl.prototype.setProperties=gl.prototype.I;gl.prototype.unset=gl.prototype.S;gl.prototype.changed=gl.prototype.s;gl.prototype.getRevision=gl.prototype.L;gl.prototype.on=gl.prototype.G;gl.prototype.once=gl.prototype.M;gl.prototype.un=gl.prototype.K;gl.prototype.unByKey=gl.prototype.N;wl.prototype.getActive=wl.prototype.c;wl.prototype.setActive=wl.prototype.g;wl.prototype.get=wl.prototype.get;wl.prototype.getKeys=wl.prototype.O;wl.prototype.getProperties=wl.prototype.P;
wl.prototype.set=wl.prototype.set;wl.prototype.setProperties=wl.prototype.I;wl.prototype.unset=wl.prototype.S;wl.prototype.changed=wl.prototype.s;wl.prototype.getRevision=wl.prototype.L;wl.prototype.on=wl.prototype.G;wl.prototype.once=wl.prototype.M;wl.prototype.un=wl.prototype.K;wl.prototype.unByKey=wl.prototype.N;jl.prototype.getActive=jl.prototype.c;jl.prototype.setActive=jl.prototype.g;jl.prototype.get=jl.prototype.get;jl.prototype.getKeys=jl.prototype.O;jl.prototype.getProperties=jl.prototype.P;
jl.prototype.set=jl.prototype.set;jl.prototype.setProperties=jl.prototype.I;jl.prototype.unset=jl.prototype.S;jl.prototype.changed=jl.prototype.s;jl.prototype.getRevision=jl.prototype.L;jl.prototype.on=jl.prototype.G;jl.prototype.once=jl.prototype.M;jl.prototype.un=jl.prototype.K;jl.prototype.unByKey=jl.prototype.N;my.prototype.getActive=my.prototype.c;my.prototype.setActive=my.prototype.g;my.prototype.get=my.prototype.get;my.prototype.getKeys=my.prototype.O;my.prototype.getProperties=my.prototype.P;
my.prototype.set=my.prototype.set;my.prototype.setProperties=my.prototype.I;my.prototype.unset=my.prototype.S;my.prototype.changed=my.prototype.s;my.prototype.getRevision=my.prototype.L;my.prototype.on=my.prototype.G;my.prototype.once=my.prototype.M;my.prototype.un=my.prototype.K;my.prototype.unByKey=my.prototype.N;nl.prototype.getActive=nl.prototype.c;nl.prototype.setActive=nl.prototype.g;nl.prototype.get=nl.prototype.get;nl.prototype.getKeys=nl.prototype.O;nl.prototype.getProperties=nl.prototype.P;
nl.prototype.set=nl.prototype.set;nl.prototype.setProperties=nl.prototype.I;nl.prototype.unset=nl.prototype.S;nl.prototype.changed=nl.prototype.s;nl.prototype.getRevision=nl.prototype.L;nl.prototype.on=nl.prototype.G;nl.prototype.once=nl.prototype.M;nl.prototype.un=nl.prototype.K;nl.prototype.unByKey=nl.prototype.N;Ql.prototype.getGeometry=Ql.prototype.V;Ql.prototype.getActive=Ql.prototype.c;Ql.prototype.setActive=Ql.prototype.g;Ql.prototype.get=Ql.prototype.get;Ql.prototype.getKeys=Ql.prototype.O;
Ql.prototype.getProperties=Ql.prototype.P;Ql.prototype.set=Ql.prototype.set;Ql.prototype.setProperties=Ql.prototype.I;Ql.prototype.unset=Ql.prototype.S;Ql.prototype.changed=Ql.prototype.s;Ql.prototype.getRevision=Ql.prototype.L;Ql.prototype.on=Ql.prototype.G;Ql.prototype.once=Ql.prototype.M;Ql.prototype.un=Ql.prototype.K;Ql.prototype.unByKey=Ql.prototype.N;ry.prototype.getActive=ry.prototype.c;ry.prototype.setActive=ry.prototype.g;ry.prototype.get=ry.prototype.get;ry.prototype.getKeys=ry.prototype.O;
ry.prototype.getProperties=ry.prototype.P;ry.prototype.set=ry.prototype.set;ry.prototype.setProperties=ry.prototype.I;ry.prototype.unset=ry.prototype.S;ry.prototype.changed=ry.prototype.s;ry.prototype.getRevision=ry.prototype.L;ry.prototype.on=ry.prototype.G;ry.prototype.once=ry.prototype.M;ry.prototype.un=ry.prototype.K;ry.prototype.unByKey=ry.prototype.N;Rl.prototype.getActive=Rl.prototype.c;Rl.prototype.setActive=Rl.prototype.g;Rl.prototype.get=Rl.prototype.get;Rl.prototype.getKeys=Rl.prototype.O;
Rl.prototype.getProperties=Rl.prototype.P;Rl.prototype.set=Rl.prototype.set;Rl.prototype.setProperties=Rl.prototype.I;Rl.prototype.unset=Rl.prototype.S;Rl.prototype.changed=Rl.prototype.s;Rl.prototype.getRevision=Rl.prototype.L;Rl.prototype.on=Rl.prototype.G;Rl.prototype.once=Rl.prototype.M;Rl.prototype.un=Rl.prototype.K;Rl.prototype.unByKey=Rl.prototype.N;Tl.prototype.getActive=Tl.prototype.c;Tl.prototype.setActive=Tl.prototype.g;Tl.prototype.get=Tl.prototype.get;Tl.prototype.getKeys=Tl.prototype.O;
Tl.prototype.getProperties=Tl.prototype.P;Tl.prototype.set=Tl.prototype.set;Tl.prototype.setProperties=Tl.prototype.I;Tl.prototype.unset=Tl.prototype.S;Tl.prototype.changed=Tl.prototype.s;Tl.prototype.getRevision=Tl.prototype.L;Tl.prototype.on=Tl.prototype.G;Tl.prototype.once=Tl.prototype.M;Tl.prototype.un=Tl.prototype.K;Tl.prototype.unByKey=Tl.prototype.N;Iy.prototype.getActive=Iy.prototype.c;Iy.prototype.setActive=Iy.prototype.g;Iy.prototype.get=Iy.prototype.get;Iy.prototype.getKeys=Iy.prototype.O;
Iy.prototype.getProperties=Iy.prototype.P;Iy.prototype.set=Iy.prototype.set;Iy.prototype.setProperties=Iy.prototype.I;Iy.prototype.unset=Iy.prototype.S;Iy.prototype.changed=Iy.prototype.s;Iy.prototype.getRevision=Iy.prototype.L;Iy.prototype.on=Iy.prototype.G;Iy.prototype.once=Iy.prototype.M;Iy.prototype.un=Iy.prototype.K;Iy.prototype.unByKey=Iy.prototype.N;Vl.prototype.getActive=Vl.prototype.c;Vl.prototype.setActive=Vl.prototype.g;Vl.prototype.get=Vl.prototype.get;Vl.prototype.getKeys=Vl.prototype.O;
Vl.prototype.getProperties=Vl.prototype.P;Vl.prototype.set=Vl.prototype.set;Vl.prototype.setProperties=Vl.prototype.I;Vl.prototype.unset=Vl.prototype.S;Vl.prototype.changed=Vl.prototype.s;Vl.prototype.getRevision=Vl.prototype.L;Vl.prototype.on=Vl.prototype.G;Vl.prototype.once=Vl.prototype.M;Vl.prototype.un=Vl.prototype.K;Vl.prototype.unByKey=Vl.prototype.N;Xl.prototype.getActive=Xl.prototype.c;Xl.prototype.setActive=Xl.prototype.g;Xl.prototype.get=Xl.prototype.get;Xl.prototype.getKeys=Xl.prototype.O;
Xl.prototype.getProperties=Xl.prototype.P;Xl.prototype.set=Xl.prototype.set;Xl.prototype.setProperties=Xl.prototype.I;Xl.prototype.unset=Xl.prototype.S;Xl.prototype.changed=Xl.prototype.s;Xl.prototype.getRevision=Xl.prototype.L;Xl.prototype.on=Xl.prototype.G;Xl.prototype.once=Xl.prototype.M;Xl.prototype.un=Xl.prototype.K;Xl.prototype.unByKey=Xl.prototype.N;am.prototype.getActive=am.prototype.c;am.prototype.setActive=am.prototype.g;am.prototype.get=am.prototype.get;am.prototype.getKeys=am.prototype.O;
am.prototype.getProperties=am.prototype.P;am.prototype.set=am.prototype.set;am.prototype.setProperties=am.prototype.I;am.prototype.unset=am.prototype.S;am.prototype.changed=am.prototype.s;am.prototype.getRevision=am.prototype.L;am.prototype.on=am.prototype.G;am.prototype.once=am.prototype.M;am.prototype.un=am.prototype.K;am.prototype.unByKey=am.prototype.N;Vy.prototype.getActive=Vy.prototype.c;Vy.prototype.setActive=Vy.prototype.g;Vy.prototype.get=Vy.prototype.get;Vy.prototype.getKeys=Vy.prototype.O;
Vy.prototype.getProperties=Vy.prototype.P;Vy.prototype.set=Vy.prototype.set;Vy.prototype.setProperties=Vy.prototype.I;Vy.prototype.unset=Vy.prototype.S;Vy.prototype.changed=Vy.prototype.s;Vy.prototype.getRevision=Vy.prototype.L;Vy.prototype.on=Vy.prototype.G;Vy.prototype.once=Vy.prototype.M;Vy.prototype.un=Vy.prototype.K;Vy.prototype.unByKey=Vy.prototype.N;Yy.prototype.getActive=Yy.prototype.c;Yy.prototype.setActive=Yy.prototype.g;Yy.prototype.get=Yy.prototype.get;Yy.prototype.getKeys=Yy.prototype.O;
Yy.prototype.getProperties=Yy.prototype.P;Yy.prototype.set=Yy.prototype.set;Yy.prototype.setProperties=Yy.prototype.I;Yy.prototype.unset=Yy.prototype.S;Yy.prototype.changed=Yy.prototype.s;Yy.prototype.getRevision=Yy.prototype.L;Yy.prototype.on=Yy.prototype.G;Yy.prototype.once=Yy.prototype.M;Yy.prototype.un=Yy.prototype.K;Yy.prototype.unByKey=Yy.prototype.N;bz.prototype.getActive=bz.prototype.c;bz.prototype.setActive=bz.prototype.g;bz.prototype.get=bz.prototype.get;bz.prototype.getKeys=bz.prototype.O;
bz.prototype.getProperties=bz.prototype.P;bz.prototype.set=bz.prototype.set;bz.prototype.setProperties=bz.prototype.I;bz.prototype.unset=bz.prototype.S;bz.prototype.changed=bz.prototype.s;bz.prototype.getRevision=bz.prototype.L;bz.prototype.on=bz.prototype.G;bz.prototype.once=bz.prototype.M;bz.prototype.un=bz.prototype.K;bz.prototype.unByKey=bz.prototype.N;Ze.prototype.get=Ze.prototype.get;Ze.prototype.getKeys=Ze.prototype.O;Ze.prototype.getProperties=Ze.prototype.P;Ze.prototype.set=Ze.prototype.set;
Ze.prototype.setProperties=Ze.prototype.I;Ze.prototype.unset=Ze.prototype.S;Ze.prototype.changed=Ze.prototype.s;Ze.prototype.getRevision=Ze.prototype.L;Ze.prototype.on=Ze.prototype.G;Ze.prototype.once=Ze.prototype.M;Ze.prototype.un=Ze.prototype.K;Ze.prototype.unByKey=Ze.prototype.N;af.prototype.getClosestPoint=af.prototype.Ya;af.prototype.getExtent=af.prototype.R;af.prototype.transform=af.prototype.transform;af.prototype.get=af.prototype.get;af.prototype.getKeys=af.prototype.O;
af.prototype.getProperties=af.prototype.P;af.prototype.set=af.prototype.set;af.prototype.setProperties=af.prototype.I;af.prototype.unset=af.prototype.S;af.prototype.changed=af.prototype.s;af.prototype.getRevision=af.prototype.L;af.prototype.on=af.prototype.G;af.prototype.once=af.prototype.M;af.prototype.un=af.prototype.K;af.prototype.unByKey=af.prototype.N;$m.prototype.getFirstCoordinate=$m.prototype.rb;$m.prototype.getLastCoordinate=$m.prototype.sb;$m.prototype.getLayout=$m.prototype.tb;
$m.prototype.getClosestPoint=$m.prototype.Ya;$m.prototype.getExtent=$m.prototype.R;$m.prototype.get=$m.prototype.get;$m.prototype.getKeys=$m.prototype.O;$m.prototype.getProperties=$m.prototype.P;$m.prototype.set=$m.prototype.set;$m.prototype.setProperties=$m.prototype.I;$m.prototype.unset=$m.prototype.S;$m.prototype.changed=$m.prototype.s;$m.prototype.getRevision=$m.prototype.L;$m.prototype.on=$m.prototype.G;$m.prototype.once=$m.prototype.M;$m.prototype.un=$m.prototype.K;$m.prototype.unByKey=$m.prototype.N;
bn.prototype.getClosestPoint=bn.prototype.Ya;bn.prototype.getExtent=bn.prototype.R;bn.prototype.transform=bn.prototype.transform;bn.prototype.get=bn.prototype.get;bn.prototype.getKeys=bn.prototype.O;bn.prototype.getProperties=bn.prototype.P;bn.prototype.set=bn.prototype.set;bn.prototype.setProperties=bn.prototype.I;bn.prototype.unset=bn.prototype.S;bn.prototype.changed=bn.prototype.s;bn.prototype.getRevision=bn.prototype.L;bn.prototype.on=bn.prototype.G;bn.prototype.once=bn.prototype.M;
bn.prototype.un=bn.prototype.K;bn.prototype.unByKey=bn.prototype.N;vf.prototype.getFirstCoordinate=vf.prototype.rb;vf.prototype.getLastCoordinate=vf.prototype.sb;vf.prototype.getLayout=vf.prototype.tb;vf.prototype.getClosestPoint=vf.prototype.Ya;vf.prototype.getExtent=vf.prototype.R;vf.prototype.transform=vf.prototype.transform;vf.prototype.get=vf.prototype.get;vf.prototype.getKeys=vf.prototype.O;vf.prototype.getProperties=vf.prototype.P;vf.prototype.set=vf.prototype.set;
vf.prototype.setProperties=vf.prototype.I;vf.prototype.unset=vf.prototype.S;vf.prototype.changed=vf.prototype.s;vf.prototype.getRevision=vf.prototype.L;vf.prototype.on=vf.prototype.G;vf.prototype.once=vf.prototype.M;vf.prototype.un=vf.prototype.K;vf.prototype.unByKey=vf.prototype.N;M.prototype.getFirstCoordinate=M.prototype.rb;M.prototype.getLastCoordinate=M.prototype.sb;M.prototype.getLayout=M.prototype.tb;M.prototype.getClosestPoint=M.prototype.Ya;M.prototype.getExtent=M.prototype.R;
M.prototype.transform=M.prototype.transform;M.prototype.get=M.prototype.get;M.prototype.getKeys=M.prototype.O;M.prototype.getProperties=M.prototype.P;M.prototype.set=M.prototype.set;M.prototype.setProperties=M.prototype.I;M.prototype.unset=M.prototype.S;M.prototype.changed=M.prototype.s;M.prototype.getRevision=M.prototype.L;M.prototype.on=M.prototype.G;M.prototype.once=M.prototype.M;M.prototype.un=M.prototype.K;M.prototype.unByKey=M.prototype.N;kn.prototype.getFirstCoordinate=kn.prototype.rb;
kn.prototype.getLastCoordinate=kn.prototype.sb;kn.prototype.getLayout=kn.prototype.tb;kn.prototype.getClosestPoint=kn.prototype.Ya;kn.prototype.getExtent=kn.prototype.R;kn.prototype.transform=kn.prototype.transform;kn.prototype.get=kn.prototype.get;kn.prototype.getKeys=kn.prototype.O;kn.prototype.getProperties=kn.prototype.P;kn.prototype.set=kn.prototype.set;kn.prototype.setProperties=kn.prototype.I;kn.prototype.unset=kn.prototype.S;kn.prototype.changed=kn.prototype.s;kn.prototype.getRevision=kn.prototype.L;
kn.prototype.on=kn.prototype.G;kn.prototype.once=kn.prototype.M;kn.prototype.un=kn.prototype.K;kn.prototype.unByKey=kn.prototype.N;nn.prototype.getFirstCoordinate=nn.prototype.rb;nn.prototype.getLastCoordinate=nn.prototype.sb;nn.prototype.getLayout=nn.prototype.tb;nn.prototype.getClosestPoint=nn.prototype.Ya;nn.prototype.getExtent=nn.prototype.R;nn.prototype.transform=nn.prototype.transform;nn.prototype.get=nn.prototype.get;nn.prototype.getKeys=nn.prototype.O;nn.prototype.getProperties=nn.prototype.P;
nn.prototype.set=nn.prototype.set;nn.prototype.setProperties=nn.prototype.I;nn.prototype.unset=nn.prototype.S;nn.prototype.changed=nn.prototype.s;nn.prototype.getRevision=nn.prototype.L;nn.prototype.on=nn.prototype.G;nn.prototype.once=nn.prototype.M;nn.prototype.un=nn.prototype.K;nn.prototype.unByKey=nn.prototype.N;on.prototype.getFirstCoordinate=on.prototype.rb;on.prototype.getLastCoordinate=on.prototype.sb;on.prototype.getLayout=on.prototype.tb;on.prototype.getClosestPoint=on.prototype.Ya;
on.prototype.getExtent=on.prototype.R;on.prototype.transform=on.prototype.transform;on.prototype.get=on.prototype.get;on.prototype.getKeys=on.prototype.O;on.prototype.getProperties=on.prototype.P;on.prototype.set=on.prototype.set;on.prototype.setProperties=on.prototype.I;on.prototype.unset=on.prototype.S;on.prototype.changed=on.prototype.s;on.prototype.getRevision=on.prototype.L;on.prototype.on=on.prototype.G;on.prototype.once=on.prototype.M;on.prototype.un=on.prototype.K;on.prototype.unByKey=on.prototype.N;
xf.prototype.getFirstCoordinate=xf.prototype.rb;xf.prototype.getLastCoordinate=xf.prototype.sb;xf.prototype.getLayout=xf.prototype.tb;xf.prototype.getClosestPoint=xf.prototype.Ya;xf.prototype.getExtent=xf.prototype.R;xf.prototype.transform=xf.prototype.transform;xf.prototype.get=xf.prototype.get;xf.prototype.getKeys=xf.prototype.O;xf.prototype.getProperties=xf.prototype.P;xf.prototype.set=xf.prototype.set;xf.prototype.setProperties=xf.prototype.I;xf.prototype.unset=xf.prototype.S;
xf.prototype.changed=xf.prototype.s;xf.prototype.getRevision=xf.prototype.L;xf.prototype.on=xf.prototype.G;xf.prototype.once=xf.prototype.M;xf.prototype.un=xf.prototype.K;xf.prototype.unByKey=xf.prototype.N;D.prototype.getFirstCoordinate=D.prototype.rb;D.prototype.getLastCoordinate=D.prototype.sb;D.prototype.getLayout=D.prototype.tb;D.prototype.getClosestPoint=D.prototype.Ya;D.prototype.getExtent=D.prototype.R;D.prototype.transform=D.prototype.transform;D.prototype.get=D.prototype.get;
D.prototype.getKeys=D.prototype.O;D.prototype.getProperties=D.prototype.P;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.I;D.prototype.unset=D.prototype.S;D.prototype.changed=D.prototype.s;D.prototype.getRevision=D.prototype.L;D.prototype.on=D.prototype.G;D.prototype.once=D.prototype.M;D.prototype.un=D.prototype.K;D.prototype.unByKey=D.prototype.N;zs.prototype.readFeatures=zs.prototype.ra;As.prototype.readFeatures=As.prototype.ra;As.prototype.readFeatures=As.prototype.ra;
zh.prototype.get=zh.prototype.get;zh.prototype.getKeys=zh.prototype.O;zh.prototype.getProperties=zh.prototype.P;zh.prototype.set=zh.prototype.set;zh.prototype.setProperties=zh.prototype.I;zh.prototype.unset=zh.prototype.S;zh.prototype.changed=zh.prototype.s;zh.prototype.getRevision=zh.prototype.L;zh.prototype.on=zh.prototype.G;zh.prototype.once=zh.prototype.M;zh.prototype.un=zh.prototype.K;zh.prototype.unByKey=zh.prototype.N;Zh.prototype.getMap=Zh.prototype.g;Zh.prototype.setMap=Zh.prototype.setMap;
Zh.prototype.setTarget=Zh.prototype.c;Zh.prototype.get=Zh.prototype.get;Zh.prototype.getKeys=Zh.prototype.O;Zh.prototype.getProperties=Zh.prototype.P;Zh.prototype.set=Zh.prototype.set;Zh.prototype.setProperties=Zh.prototype.I;Zh.prototype.unset=Zh.prototype.S;Zh.prototype.changed=Zh.prototype.s;Zh.prototype.getRevision=Zh.prototype.L;Zh.prototype.on=Zh.prototype.G;Zh.prototype.once=Zh.prototype.M;Zh.prototype.un=Zh.prototype.K;Zh.prototype.unByKey=Zh.prototype.N;ki.prototype.getMap=ki.prototype.g;
ki.prototype.setMap=ki.prototype.setMap;ki.prototype.setTarget=ki.prototype.c;ki.prototype.get=ki.prototype.get;ki.prototype.getKeys=ki.prototype.O;ki.prototype.getProperties=ki.prototype.P;ki.prototype.set=ki.prototype.set;ki.prototype.setProperties=ki.prototype.I;ki.prototype.unset=ki.prototype.S;ki.prototype.changed=ki.prototype.s;ki.prototype.getRevision=ki.prototype.L;ki.prototype.on=ki.prototype.G;ki.prototype.once=ki.prototype.M;ki.prototype.un=ki.prototype.K;ki.prototype.unByKey=ki.prototype.N;
li.prototype.getMap=li.prototype.g;li.prototype.setMap=li.prototype.setMap;li.prototype.setTarget=li.prototype.c;li.prototype.get=li.prototype.get;li.prototype.getKeys=li.prototype.O;li.prototype.getProperties=li.prototype.P;li.prototype.set=li.prototype.set;li.prototype.setProperties=li.prototype.I;li.prototype.unset=li.prototype.S;li.prototype.changed=li.prototype.s;li.prototype.getRevision=li.prototype.L;li.prototype.on=li.prototype.G;li.prototype.once=li.prototype.M;li.prototype.un=li.prototype.K;
li.prototype.unByKey=li.prototype.N;tr.prototype.getMap=tr.prototype.g;tr.prototype.setMap=tr.prototype.setMap;tr.prototype.setTarget=tr.prototype.c;tr.prototype.get=tr.prototype.get;tr.prototype.getKeys=tr.prototype.O;tr.prototype.getProperties=tr.prototype.P;tr.prototype.set=tr.prototype.set;tr.prototype.setProperties=tr.prototype.I;tr.prototype.unset=tr.prototype.S;tr.prototype.changed=tr.prototype.s;tr.prototype.getRevision=tr.prototype.L;tr.prototype.on=tr.prototype.G;tr.prototype.once=tr.prototype.M;
tr.prototype.un=tr.prototype.K;tr.prototype.unByKey=tr.prototype.N;bi.prototype.getMap=bi.prototype.g;bi.prototype.setMap=bi.prototype.setMap;bi.prototype.setTarget=bi.prototype.c;bi.prototype.get=bi.prototype.get;bi.prototype.getKeys=bi.prototype.O;bi.prototype.getProperties=bi.prototype.P;bi.prototype.set=bi.prototype.set;bi.prototype.setProperties=bi.prototype.I;bi.prototype.unset=bi.prototype.S;bi.prototype.changed=bi.prototype.s;bi.prototype.getRevision=bi.prototype.L;bi.prototype.on=bi.prototype.G;
bi.prototype.once=bi.prototype.M;bi.prototype.un=bi.prototype.K;bi.prototype.unByKey=bi.prototype.N;yr.prototype.getMap=yr.prototype.g;yr.prototype.setMap=yr.prototype.setMap;yr.prototype.setTarget=yr.prototype.c;yr.prototype.get=yr.prototype.get;yr.prototype.getKeys=yr.prototype.O;yr.prototype.getProperties=yr.prototype.P;yr.prototype.set=yr.prototype.set;yr.prototype.setProperties=yr.prototype.I;yr.prototype.unset=yr.prototype.S;yr.prototype.changed=yr.prototype.s;yr.prototype.getRevision=yr.prototype.L;
yr.prototype.on=yr.prototype.G;yr.prototype.once=yr.prototype.M;yr.prototype.un=yr.prototype.K;yr.prototype.unByKey=yr.prototype.N;ei.prototype.getMap=ei.prototype.g;ei.prototype.setMap=ei.prototype.setMap;ei.prototype.setTarget=ei.prototype.c;ei.prototype.get=ei.prototype.get;ei.prototype.getKeys=ei.prototype.O;ei.prototype.getProperties=ei.prototype.P;ei.prototype.set=ei.prototype.set;ei.prototype.setProperties=ei.prototype.I;ei.prototype.unset=ei.prototype.S;ei.prototype.changed=ei.prototype.s;
ei.prototype.getRevision=ei.prototype.L;ei.prototype.on=ei.prototype.G;ei.prototype.once=ei.prototype.M;ei.prototype.un=ei.prototype.K;ei.prototype.unByKey=ei.prototype.N;Mr.prototype.getMap=Mr.prototype.g;Mr.prototype.setMap=Mr.prototype.setMap;Mr.prototype.setTarget=Mr.prototype.c;Mr.prototype.get=Mr.prototype.get;Mr.prototype.getKeys=Mr.prototype.O;Mr.prototype.getProperties=Mr.prototype.P;Mr.prototype.set=Mr.prototype.set;Mr.prototype.setProperties=Mr.prototype.I;Mr.prototype.unset=Mr.prototype.S;
Mr.prototype.changed=Mr.prototype.s;Mr.prototype.getRevision=Mr.prototype.L;Mr.prototype.on=Mr.prototype.G;Mr.prototype.once=Mr.prototype.M;Mr.prototype.un=Mr.prototype.K;Mr.prototype.unByKey=Mr.prototype.N;Rr.prototype.getMap=Rr.prototype.g;Rr.prototype.setMap=Rr.prototype.setMap;Rr.prototype.setTarget=Rr.prototype.c;Rr.prototype.get=Rr.prototype.get;Rr.prototype.getKeys=Rr.prototype.O;Rr.prototype.getProperties=Rr.prototype.P;Rr.prototype.set=Rr.prototype.set;Rr.prototype.setProperties=Rr.prototype.I;
Rr.prototype.unset=Rr.prototype.S;Rr.prototype.changed=Rr.prototype.s;Rr.prototype.getRevision=Rr.prototype.L;Rr.prototype.on=Rr.prototype.G;Rr.prototype.once=Rr.prototype.M;Rr.prototype.un=Rr.prototype.K;Rr.prototype.unByKey=Rr.prototype.N;
  return OPENLAYERS.ol;
}));

