// OpenLayers 3. see http://ol3js.org/ (function(){function aa(){return function(a){return a}}function ba(){return function(){}}function k(a){return function(){return this[a]}}function ca(a){return function(){return a}}var l,da=da||{},ea=this;function fa(){}function ga(a){a.gb=function(){return a.pe?a.pe:a.pe=new a}} function ha(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function s(a){return void 0!==a}function ia(a){return null===a}function ja(a){return"array"==ha(a)}function ka(a){var b=ha(a);return"array"==b||"object"==b&&"number"==typeof a.length}function la(a){return"string"==typeof a}function ma(a){return"number"==typeof a}function pa(a){return"function"==ha(a)}function ra(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function sa(a){return a[ta]||(a[ta]=++ua)} var ta="closure_uid_"+(1E9*Math.random()>>>0),ua=0;function va(a,b,c){return a.call.apply(a.bind,arguments)}function wa(a,b,c){if(!a)throw Error();if(2/g,Ia=/\"/g,Ea=/[&<>\"]/;function Ja(a){a=s(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);b=Math.max(0,2-b);return Array(b+1).join("0")+a} function Ka(a,b){for(var c=0,d=Ca(String(a)).split("."),e=Ca(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g(0==r[1].length?0:parseInt(r[1],10))?1:0)||((0==q[2].length)<(0==r[2].length)? -1:(0==q[2].length)>(0==r[2].length)?1:0)||(q[2]r[2]?1:0)}while(0==c)}return c};var La,Ma,Na,Oa,Pa,Qa,Ra;function Ta(){return ea.navigator?ea.navigator.userAgent:null}function Ua(){return ea.navigator}Oa=Na=Ma=La=!1;var Va;if(Va=Ta()){var Xa=Ua();La=0==Va.lastIndexOf("Opera",0);Ma=!La&&(-1!=Va.indexOf("MSIE")||-1!=Va.indexOf("Trident"));Na=!La&&-1!=Va.indexOf("WebKit");Oa=!La&&!Na&&!Ma&&"Gecko"==Xa.product}var Za=La,$a=Ma,bb=Oa,cb=Na,db,eb=Ua();db=eb&&eb.platform||"";Pa=-1!=db.indexOf("Mac");Qa=-1!=db.indexOf("Win");Ra=-1!=db.indexOf("Linux"); var fb=!!Ua()&&-1!=(Ua().appVersion||"").indexOf("X11");function gb(){var a=ea.document;return a?a.documentMode:void 0}var hb;a:{var ib="",jb;if(Za&&ea.opera)var kb=ea.opera.version,ib="function"==typeof kb?kb():kb;else if(bb?jb=/rv\:([^\);]+)(\)|;)/:$a?jb=/\b(?:MSIE|rv)\s+([^\);]+)(\)|;)/:cb&&(jb=/WebKit\/(\S+)/),jb)var lb=jb.exec(Ta()),ib=lb?lb[1]:"";if($a){var mb=gb();if(mb>parseFloat(ib)){hb=String(mb);break a}}hb=ib}var nb={};function ob(a){return nb[a]||(nb[a]=0<=Ka(hb,a))} var pb=ea.document,qb=pb&&$a?gb()||("CSS1Compat"==pb.compatMode?parseInt(hb,10):5):void 0;var rb="https:"===ea.location.protocol,sb=$a&&!ob("9.0")&&""!==hb;function tb(a){Error.captureStackTrace?Error.captureStackTrace(this,tb):this.stack=Error().stack||"";a&&(this.message=String(a))}v(tb,Error);tb.prototype.name="CustomError";var ub=Array.prototype,vb=ub.indexOf?function(a,b,c){return ub.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(la(a))return la(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc?null:la(a)?a.charAt(c):a[c]}function Ab(a,b,c){for(var d=a.length,e=la(a)?a.split(""):a,f=0;f=arguments.length?ub.slice.call(a,b):ub.slice.call(a,b,c)}function Hb(a,b){ub.sort.call(a,b||Ib)}function Jb(a,b){if(!ka(a)||!ka(b)||a.length!=b.length)return!1;for(var c=a.length,d=Kb,e=0;eb?1:a>=1;return b.join("")}Lb.prototype.toString=function(){return Nb(this.a,this.x,this.y)};function Pb(a,b,c,d){this.a=a;this.c=b;this.b=c;this.d=d}function Qb(a,b,c,d,e){return s(e)?(e.a=a,e.c=b,e.b=c,e.d=d,e):new Pb(a,b,c,d)}Pb.prototype.contains=function(a){return this.a<=a.x&&a.x<=this.c&&this.b<=a.y&&a.y<=this.d};function Rb(a){this.d=a.html;this.a=s(a.tileRanges)?a.tileRanges:null};var Sb,Tb=!$a||$a&&9<=qb;!bb&&!$a||$a&&$a&&9<=qb||bb&&ob("1.9.1");$a&&ob("9");function Ub(a){a=a.className;return la(a)&&a.match(/\S+/g)||[]}function Vb(a,b){for(var c=Ub(a),d=Gb(arguments,1),e=c.length+d.length,f=c,g=0;gc*b?c+b:c}function Zb(a){return a*Math.PI/180};function $b(a,b){this.x=s(a)?a:0;this.y=s(b)?b:0}l=$b.prototype;l.H=function(){return new $b(this.x,this.y)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};l.scale=function(a,b){var c=ma(b)?b:a;this.x*=a;this.y*=c;return this};function ac(a,b){this.width=a;this.height=b}l=ac.prototype;l.H=function(){return new ac(this.width,this.height)};l.ma=function(){return!(this.width*this.height)};l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; l.scale=function(a,b){var c=ma(b)?b:a;this.width*=a;this.height*=c;return this};function bc(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function dc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function ec(a){var b=0,c;for(c in a)b++;return b}function fc(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function gc(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function hc(a){for(var b in a)return!1;return!0}function ic(a){for(var b in a)delete a[b]}function jc(a,b){b in a&&delete a[b]}function w(a,b,c){return b in a?a[b]:c} function kc(a,b){var c=[];return b in a?a[b]:a[b]=c}function lc(a){var b={},c;for(c in a)b[c]=a[c];return b}var mc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function nc(a,b){for(var c,d,e=1;e=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.scale=function(a,b){var c=ma(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function Jc(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}l=Jc.prototype;l.H=function(){return new Jc(this.left,this.top,this.width,this.height)};l.contains=function(a){return a instanceof Jc?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}; l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; l.scale=function(a,b){var c=ma(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function Kc(a,b){var c=qc(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function Lc(a,b){return Kc(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Mc(a,b,c){var d,e=bb&&(Pa||fb)&&ob("1.9");b instanceof $b?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Nc(d,e);a.style.top=Nc(b,e)} function Oc(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}$a&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} function Qc(a){if($a&&!($a&&8<=qb))return a.offsetParent;var b=qc(a),c=Lc(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Lc(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function Rc(a){var b,c=qc(a),d=Lc(a,"position"),e=bb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new $b(0,0),g;b=c?qc(c):document;(g=!$a)||(g=$a&&9<=qb)||(oc(b),g=!0);g=g?b.documentElement:b.body;if(a==g)return f;if(a.getBoundingClientRect)b=Oc(a),a=Hc(oc(c)),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(g),f.x=b.screenX-a.screenX,f.y=b.screenY-a.screenY;else{e=a;do{f.x+= e.offsetLeft;f.y+=e.offsetTop;e!=a&&(f.x+=e.clientLeft||0,f.y+=e.clientTop||0);if(cb&&"fixed"==Lc(e,"position")){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}e=e.offsetParent}while(e&&e!=a);if(Za||cb&&"absolute"==d)f.y-=c.body.offsetTop;for(e=a;(e=Qc(e))&&e!=c.body&&e!=g;)f.x-=e.scrollLeft,Za&&"TR"==e.tagName||(f.y-=e.scrollTop)}return f}function Sc(a,b){var c=Tc(a),d=Tc(b);return new $b(c.x-d.x,c.y-d.y)} function Tc(a){if(1==a.nodeType){var b;if(a.getBoundingClientRect)b=Oc(a),b=new $b(b.left,b.top);else{b=Hc(oc(a));var c=Rc(a);b=new $b(c.x-b.x,c.y-b.y)}if(bb&&!ob(12)){var d;$a?d="-ms-transform":cb?d="-webkit-transform":Za?d="-o-transform":bb&&(d="-moz-transform");var e;d&&(e=Lc(a,d));e||(e=Lc(a,"transform"));a=e?(a=e.match(Uc))?new $b(parseFloat(a[1]),parseFloat(a[2])):new $b(0,0):new $b(0,0);a=new $b(b.x+a.x,b.y+a.y)}else a=b;return a}d=pa(a.tf);e=a;a.targetTouches?e=a.targetTouches[0]:d&&a.O.targetTouches&& (e=a.O.targetTouches[0]);return new $b(e.clientX,e.clientY)}function Nc(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Vc(a){var b=Wc;if("none"!=Lc(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a} function Wc(a){var b=a.offsetWidth,c=a.offsetHeight,d=cb&&!b&&!c;return s(b)&&!d||!a.getBoundingClientRect?new ac(b,c):(a=Oc(a),new ac(a.right-a.left,a.bottom-a.top))}function Xc(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity\x3d"+100*b+")")}function Yc(a,b){a.style.display=b?"":"none"}function Zc(a){return"rtl"==Lc(a,"direction")} function $c(a){var b=qc(a),c=$a&&a.currentStyle,d;if(d=c)oc(b),d="auto"!=c.width&&"auto"!=c.height&&!c.boxSizing;if(d)return b=ad(a,c.width,"width","pixelWidth"),a=ad(a,c.height,"height","pixelHeight"),new ac(b,a);c=new ac(a.offsetWidth,a.offsetHeight);b=bd(a,"padding");a=cd(a);return new ac(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function ad(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}function dd(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?ad(a,c,"left","pixelLeft"):0} function bd(a,b){if($a){var c=dd(a,b+"Left"),d=dd(a,b+"Right"),e=dd(a,b+"Top"),f=dd(a,b+"Bottom");return new Ic(e,d,f,c)}c=Kc(a,b+"Left");d=Kc(a,b+"Right");e=Kc(a,b+"Top");f=Kc(a,b+"Bottom");return new Ic(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(c))}var ed={thin:2,medium:4,thick:6};function fd(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in ed?ed[c]:ad(a,c,"left","pixelLeft")} function cd(a){if($a){var b=fd(a,"borderLeft"),c=fd(a,"borderRight"),d=fd(a,"borderTop");a=fd(a,"borderBottom");return new Ic(d,c,a,b)}b=Kc(a,"borderLeftWidth");c=Kc(a,"borderRightWidth");d=Kc(a,"borderTopWidth");a=Kc(a,"borderBottomWidth");return new Ic(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Uc=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function gd(a){this.length=a.length||a;for(var b=0;bc;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");wd(a,"matrix3d("+c+")")}else if(ud()){d=[b[0],b[1],b[4],b[5],b[12],b[13]];if(s(6)){var e=Array(6);for(c=0;6>c;++c)e[c]=d[c].toFixed(6);c=e.join(",")}else c=d.join(",");wd(a,"matrix("+c+")")}else a.style.left=Math.round(b[12])+"px",a.style.top=Math.round(b[13])+"px"};var yd=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function zd(a,b){var c,d,e=yd.length;for(d=0;d=a.keyCode)a.keyCode=-1}catch(b){}};l.tf=k("O");var be="closure_listenable_"+(1E6*Math.random()|0);function ce(a){return!(!a||!a[be])}var de=0;function ee(a,b,c,d,e,f){this.Qa=a;this.a=b;this.src=c;this.type=d;this.capture=!!e;this.wb=f;this.key=++de;this.cb=this.Fb=!1}function fe(a){a.cb=!0;a.Qa=null;a.a=null;a.src=null;a.wb=null};var ge={},he={},ie={},je={};function z(a,b,c,d,e){if(ja(b)){for(var f=0;fe.keyCode||void 0!=e.returnValue)return!0;a:{var h=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(m){h=!0}if(h||void 0==e.returnValue)e.returnValue=!0}}h=new Yd;Zd(h,e,this);e=!0;try{if(c){for(var n=[],p=h.d;p;p=p.parentNode)n.push(p);f=d[!0];for(var q=n.length- 1;!h.nb&&0<=q;q--)h.d=n[q],e&=ve(f,n[q],h);if(g)for(f=d[!1],q=0;!h.nb&&q>>0);function ke(a){return pa(a)?a:a[xe]||(a[xe]=function(b){return a.handleEvent(b)})};function ye(a){return function(){return a}}var ze=ye(!1),Ae=ye(!0);function Be(a){return a}function Ce(a){return function(){throw a;}}function De(a){var b;b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}function Ee(a){var b=arguments,c=b.length;return function(){for(var a=0;a=c||(1<=c?(g=h,e=f):(g+=c*m,e+=c*n));return[g,e]}function Ze(a,b){var c=Yb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)} function $e(a,b,c){return s(a)?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}function af(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c}function bf(a,b){var c=Math.cos(b),d=Math.sin(b),e=a[1]*c+a[0]*d;a[0]=a[0]*c-a[1]*d;a[1]=e;return a}function cf(a,b){var c=a[0]-b[0],d=a[1]-b[1];return c*c+d*d}function df(a,b){return $e(a,"{x}, {y}",b)};function ef(a){Oe.call(this);a=s(a)?a:{};this.a=null;z(this,Se("tracking"),this.h,!1,this);this.b(s(a.tracking)?a.tracking:!1)}v(ef,Oe);ef.prototype.G=function(){this.b(!1);ef.J.G.call(this)}; ef.prototype.l=function(a){a=a.O;if(null!=a.alpha){var b=Zb(a.alpha);this.s("alpha",b);"boolean"==typeof a.absolute&&a.absolute?this.s("heading",b):null!=a.webkitCompassHeading&&(null!=a.webkitCompassAccuracy&&-1!=a.webkitCompassAccuracy)&&this.s("heading",Zb(a.webkitCompassHeading))}null!=a.beta&&this.s("beta",Zb(a.beta));null!=a.gamma&&this.s("gamma",Zb(a.gamma));this.k()};ef.prototype.e=function(){return this.get("alpha")};ef.prototype.getAlpha=ef.prototype.e;ef.prototype.f=function(){return this.get("beta")}; ef.prototype.getBeta=ef.prototype.f;ef.prototype.g=function(){return this.get("gamma")};ef.prototype.getGamma=ef.prototype.g;ef.prototype.i=function(){return this.get("heading")};ef.prototype.getHeading=ef.prototype.i;ef.prototype.c=function(){return this.get("tracking")};ef.prototype.getTracking=ef.prototype.c;ef.prototype.h=function(){if(Ed){var a=this.c();a&&null===this.a?this.a=z(ea,"deviceorientation",this.l,!1,this):a||null===this.a||(re(this.a),this.a=null)}}; ef.prototype.b=function(a){this.s("tracking",a)};ef.prototype.setTracking=ef.prototype.b;function ff(a,b,c){Qd.call(this,a);this.map=b;this.b=s(c)?c:null}v(ff,Qd);function gf(a,b,c){Qd.call(this,a);this.a=b;a=s(c)?c:{};this.buttons=hf(a);this.Cd=jf(a,this.buttons);this.bubbles=w(a,"bubbles",!1);this.cancelable=w(a,"cancelable",!1);this.view=w(a,"view",null);this.detail=w(a,"detail",null);this.screenX=w(a,"screenX",0);this.screenY=w(a,"screenY",0);this.clientX=w(a,"clientX",0);this.clientY=w(a,"clientY",0);this.c=w(a,"ctrlKey",!1);this.b=w(a,"altKey",!1);this.g=w(a,"shiftKey",!1);this.f=w(a,"metaKey",!1);this.button=w(a,"button",0);this.relatedTarget=w(a,"relatedTarget", null);this.pointerId=w(a,"pointerId",0);this.width=w(a,"width",0);this.height=w(a,"height",0);this.i=w(a,"tiltX",0);this.h=w(a,"tiltY",0);this.pointerType=w(a,"pointerType","");this.e=w(a,"hwTimestamp",0);this.Nc=w(a,"isPrimary",!1);b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})}v(gf,Qd);function hf(a){if(a.buttons||kf)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 jf(a,b){var c=0;return c=a.Cd?a.Cd:b?0.5:0}var kf=!1;try{kf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(lf){};function mf(a,b){this.a=a;this.e=b};function nf(a){mf.call(this,a,{mousedown:this.qg,mousemove:this.rg,mouseup:this.ug,mouseover:this.tg,mouseout:this.sg});this.d=a.d;this.b=[]}v(nf,mf);function of(a,b){for(var c=a.b,d=b.clientX,e=b.clientY,f=0,g=c.length,h;f=Math.abs(d-h[0])&&25>=m)return!0}return!1}function pf(a){var b=qf(a,a.O),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.Nc=!0;b.pointerType="mouse";return b}l=nf.prototype; l.qg=function(a){if(!of(this,a)){(1).toString()in this.d&&this.cancel(a);var b=pf(a);this.d[(1).toString()]=a;rf(this.a,sf,b,a)}};l.rg=function(a){if(!of(this,a)){var b=pf(a);rf(this.a,tf,b,a)}};l.ug=function(a){if(!of(this,a)){var b=w(this.d,(1).toString());b&&b.button===a.button&&(b=pf(a),rf(this.a,uf,b,a),jc(this.d,(1).toString()))}};l.tg=function(a){if(!of(this,a)){var b=pf(a);vf(this.a,b,a)}};l.sg=function(a){if(!of(this,a)){var b=pf(a);wf(this.a,b,a)}}; l.cancel=function(a){var b=pf(a);this.a.cancel(b,a);jc(this.d,(1).toString())};function xf(a){mf.call(this,a,{MSPointerDown:this.zg,MSPointerMove:this.Ag,MSPointerUp:this.Dg,MSPointerOut:this.Bg,MSPointerOver:this.Cg,MSPointerCancel:this.yg,MSGotPointerCapture:this.wg,MSLostPointerCapture:this.xg});this.d=a.d;this.b=["","unavailable","touch","pen","mouse"]}v(xf,mf);function yf(a,b){var c=b;ma(b.O.pointerType)&&(c=qf(b,b.O),c.pointerType=a.b[b.O.pointerType]);return c}l=xf.prototype;l.zg=function(a){this.d[a.O.pointerId]=a;var b=yf(this,a);rf(this.a,sf,b,a)}; l.Ag=function(a){var b=yf(this,a);rf(this.a,tf,b,a)};l.Dg=function(a){var b=yf(this,a);rf(this.a,uf,b,a);jc(this.d,a.O.pointerId)};l.Bg=function(a){var b=yf(this,a);wf(this.a,b,a)};l.Cg=function(a){var b=yf(this,a);vf(this.a,b,a)};l.yg=function(a){var b=yf(this,a);this.a.cancel(b,a);jc(this.d,a.O.pointerId)};l.xg=function(a){Ie(this.a,new gf("lostpointercapture",a,a.O))};l.wg=function(a){Ie(this.a,new gf("gotpointercapture",a,a.O))};function zf(a){mf.call(this,a,{pointerdown:this.Ih,pointermove:this.Jh,pointerup:this.Mh,pointerout:this.Kh,pointerover:this.Lh,pointercancel:this.Hh,gotpointercapture:this.Lf,lostpointercapture:this.og})}v(zf,mf);l=zf.prototype;l.Ih=function(a){Af(this.a,a)};l.Jh=function(a){Af(this.a,a)};l.Mh=function(a){Af(this.a,a)};l.Kh=function(a){Af(this.a,a)};l.Lh=function(a){Af(this.a,a)};l.Hh=function(a){Af(this.a,a)};l.og=function(a){Af(this.a,a)};l.Lf=function(a){Af(this.a,a)};function Bf(a,b){mf.call(this,a,{touchstart:this.gi,touchmove:this.fi,touchend:this.ei,touchcancel:this.di});this.d=a.d;this.g=b;this.b=void 0;this.f=0;this.c=void 0}v(Bf,mf);l=Bf.prototype;l.Qe=function(){this.f=0;this.c=void 0}; l.ci=function(a,b){var c=qf(a,b);c.pointerId=b.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=this.f;c.button=0;c.buttons=1;c.width=b.webkitRadiusX||b.radiusX||0;c.height=b.webkitRadiusY||b.radiusY||0;c.Cd=b.webkitForce||b.force||0.5;c.Nc=this.b===b.identifier;c.pointerType="touch";c.clientX=b.clientX;c.clientY=b.clientY;c.screenX=b.screenX;c.screenY=b.screenY;return c}; function Cf(a,b,c){var d=Db(b.O.changedTouches),d=xb(d,ya(a.ci,b),a);wb(d,function(a){a.preventDefault=function(){b.preventDefault()}},a);wb(d,ya(c,b),a)}function Df(a,b){var c=b.O.touches;if(ec(a.d)>=c.length){var d=[];bc(a.d,function(a,b){var g;if(!(g=1==b))a:{g=c.length;for(var h,m=0;mc)for(c=1;cf?1:0.5,d=Math.floor(Math.log(b/d)/Math.log(a)+f),e=Math.max(d+e,0),s(c)&&(e=Math.min(e,c)),b/Math.pow(a,e)}};function og(a){if(s(a))return 0}function pg(a,b){if(s(a))return a+b}function qg(a){var b=2*Math.PI/a;return function(a,d){if(s(a))return a=Math.floor((a+d)/b+0.5)*b}}function rg(){var a=Zb(5);return function(b,c){if(s(b))return Math.abs(b+c)<=a?0:b+c}};function sg(a,b,c){this.center=a;this.resolution=b;this.rotation=c};function tg(){Oe.call(this);this.h=[0,0]}v(tg,Oe);tg.prototype.W=ca(null);tg.prototype.wd=ca(!1);function ug(a,b){a.h[1]+=b};function vg(a){for(var b=wg(),c=0,d=a.length;ce[2]&&(e[2]=f[0]);f[1]e[3]&&(e[3]=f[1])}return b}function xg(a,b,c){var d=Math.min.apply(null,a),e=Math.min.apply(null,b);a=Math.max.apply(null,a);b=Math.max.apply(null,b);return yg(d,e,a,b,c)}function zg(a,b,c){return s(c)?(c[0]=a[0]-b,c[1]=a[1]-b,c[2]=a[2]+b,c[3]=a[3]+b,c):[a[0]-b,a[1]-b,a[2]+b,a[3]+b]} function Ag(a,b){return s(b)?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function Bg(a,b,c){b=ba[2]&&(a[2]=b[2]);b[1]a[3]&&(a[3]=b[3]);return a}function Gg(a,b,c,d,e){for(;cf;++f)g=e[f],h=d[f],e[f]=a[0]+g*b-h*c,d[f]=a[1]+g*c+h*b;return xg(e,d,void 0)}function Lg(a){return a[3]-a[1]}function Mg(a){return[a[0],a[3]]}function Ng(a){return a[2]-a[0]}function Og(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function Pg(a){return a[2]a||0!==this.i&&a<=this.i)return this;var b=a.toString();if(this.g.hasOwnProperty(b))return this.g[b];var c=this.Hb(a);if(c.j.lengthe&&(e=f);f=h;g=m}return e}function fh(a,b,c,d,e){var f,g;f=0;for(g=c.length;fh){for(;bu&&(n=p,u=C)}u>e&&(m[(n-b)/d]=1,r+dX&&zaX)&&(0>qa&&abqa)||(B[g++]=C,B[g++]=O,y=C,E=O);C=W;O=na}}B[g++]=C;B[g++]=O}}h.push(g);b=p}return g};function ph(a,b){Wg.call(this);this.c=this.h=-1;this.I(a,b)}v(ph,Wg);l=ph.prototype;l.H=function(){var a=new ph(null);qh(a,this.b,this.j.slice());return a};l.wa=function(a,b,c,d){if(df!=p>f&&e<(n-h)*(f-m)/(p-m)+h&&(g=!g);h=n;m=p}return g}function uh(a,b,c,d,e,f){if(0===c.length||!th(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;bq&&(n=(n+p)/2,uh(a,b,c,d,n,r)&&(x=n,q=B));n=p}isNaN(x)&&(x=e[f]);return s(g)?(g.push(x,r),g):[x,r]};function wh(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];ba||this.c.length<=a)return null;var b=new ph(null);qh(b,this.b,this.j.slice(0===a?0:this.c[a-1],this.c[a]));return b};l.od=function(){var a=this.b,b=this.j,c=this.c,d=[],e=0,f,g;f=0;for(g=c.length;fthis.l)}return a}; l.ae=function(a,b){if(!Pg(a)){this.Ba(Jg(a));var c=ei(a,b),d=this.constrainResolution(c,0,0);da?ji(2*a):1-ji(2*(a-0.5))};function mi(a){var b=a.source,c=s(a.start)?a.start:Aa(),d=b[0],e=b[1],f=s(a.duration)?a.duration:1E3,g=s(a.easing)?a.easing:ji;return function(a,b){if(b.time2*this.M&&aj(this),!0):!1};function aj(a){if(a.M!=a.a.length){for(var b=0,c=0;bc?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")} function gj(a,b,c){if(ja(b))for(var d=0;db)throw Error("Bad port number "+b);a.Qb=b}else a.Qb=null}function mj(a,b,c){kj(a);b instanceof nj?(a.a=b,tj(a.a,a.ub)):(c||(b=oj(b,uj)),a.a=new nj(b,0,a.ub))}function vj(a,b,c){kj(a);ja(c)||(c=[String(c)]);wj(a.a,b,c)}function kj(a){if(a.ng)throw Error("Tried to modify a read-only Uri");} function xj(a){return a instanceof ij?a.H():new ij(a,void 0)} function yj(a,b){a instanceof ij||(a=xj(a));b instanceof ij||(b=xj(b));var c=a,d=b,e=c.H(),f=!!d.ob;f?jj(e,d.ob):f=!!d.Bb;if(f){var g=d.Bb;kj(e);e.Bb=g}else f=!!d.Xa;f?(g=d.Xa,kj(e),e.Xa=g):f=null!=d.Qb;g=d.Sa;if(f)lj(e,d.Qb);else if(f=!!d.Sa)if("/"!=g.charAt(0)&&(c.Xa&&!c.Sa?g="/"+g:(c=e.Sa.lastIndexOf("/"),-1!=c&&(g=e.Sa.substr(0,c+1)+g))),".."==g||"."==g)g="";else if(-1!=g.indexOf("./")||-1!=g.indexOf("/.")){for(var c=0==g.lastIndexOf("/",0),g=g.split("/"),h=[],m=0;m>4&15).toString(16)+(a&15).toString(16)}var pj=/[#\/\?@]/g,rj=/[\#\?:]/g,qj=/[\#\?]/g,uj=/[\#\?@]/g,sj=/#/g; function nj(a,b,c){this.a=a||null;this.d=!!c}function Aj(a){if(!a.ba&&(a.ba=new Zi,a.M=0,a.a))for(var b=a.a.split("\x26"),c=0;c=a||96<=a&&106>=a||65<=a&&90>=a||cb&&0==a)return!0;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function Lj(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Mj(a,b){He.call(this);a&&Nj(this,a,b)}v(Mj,He);l=Mj.prototype;l.mc=null;l.Oc=null;l.td=null;l.Pc=null;l.na=-1;l.kb=-1;l.ed=!1; var Oj={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},Pj={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},Qj=$a||cb&&ob("525"),Rj=Pa&&bb; Mj.prototype.a=function(a){cb&&(17==this.na&&!a.lc||18==this.na&&!a.qa||Pa&&91==this.na&&!a.sd)&&(this.kb=this.na=-1);-1==this.na&&(a.lc&&17!=a.Ya?this.na=17:a.qa&&18!=a.Ya?this.na=18:a.sd&&91!=a.Ya&&(this.na=91));Qj&&!Jj(a.Ya,this.na,a.Za,a.lc,a.qa)?this.handleEvent(a):(this.kb=bb?Lj(a.Ya):a.Ya,Rj&&(this.ed=a.qa))};Mj.prototype.d=function(a){this.kb=this.na=-1;this.ed=a.qa}; Mj.prototype.handleEvent=function(a){var b=a.O,c,d,e=b.altKey;$a&&"keypress"==a.type?(c=this.kb,d=13!=c&&27!=c?b.keyCode:0):cb&&"keypress"==a.type?(c=this.kb,d=0<=b.charCode&&63232>b.charCode&&Kj(c)?b.charCode:0):Za?(c=this.kb,d=Kj(c)?b.keyCode:0):(c=b.keyCode||this.kb,d=b.charCode||0,Rj&&(e=this.ed),Pa&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Oj?f=Oj[c]:25==c&&a.Za&&(f=9):g&&g in Pj&&(f=Pj[g]);a=f==this.na;this.na=f;b=new Sj(f,d,a,b);b.qa=e;Ie(this,b)}; function Nj(a,b,c){a.Pc&&Tj(a);a.mc=b;a.Oc=z(a.mc,"keypress",a,c);a.td=z(a.mc,"keydown",a.a,c,a);a.Pc=z(a.mc,"keyup",a.d,c,a)}function Tj(a){a.Oc&&(re(a.Oc),re(a.td),re(a.Pc),a.Oc=null,a.td=null,a.Pc=null);a.mc=null;a.na=-1;a.kb=-1}Mj.prototype.G=function(){Mj.J.G.call(this);Tj(this)};function Sj(a,b,c,d){d&&Zd(this,d,void 0);this.type="key";this.Ya=a;this.rd=b;this.a=c}v(Sj,Yd);function Uj(a,b){He.call(this);this.a=a;var c=ra(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:null;this.e=!!c&&Zc(c);this.d=z(this.a,bb?"DOMMouseScroll":"mousewheel",this,b)}v(Uj,He); Uj.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.O;if("mousewheel"==a.type){c=1;if($a||cb&&(Qa||ob("532.0")))c=40;d=Vj(-a.wheelDelta,c);s(a.wheelDeltaX)?(b=Vj(-a.wheelDeltaX,c),c=Vj(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),s(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;ma(this.b)&&(b=Xb(b,-this.b,this.b));ma(this.c)&&(c=Xb(c,-this.c,this.c));this.e&&(b=-b);b=new Wj(d,a,b,c);Ie(this,b)};function Vj(a,b){return cb&&(Pa||Ra)&&0!=a%b?a:a/b} Uj.prototype.G=function(){Uj.J.G.call(this);re(this.d);this.d=null};function Wj(a,b,c,d){b&&Zd(this,b,void 0);this.type="mousewheel";this.detail=a;this.b=c;this.a=d}v(Wj,Yd);function Xj(a,b){He.call(this);this.a=a;this.state=b}v(Xj,He);Xj.prototype.c=function(){return sa(this).toString()};Xj.prototype.i=k("a");function Yj(a,b){this.f=a;this.e=b;this.a=[];this.d=[];this.b={}}Yj.prototype.clear=function(){this.a.length=0;this.d.length=0;ic(this.b)};function Zj(a){var b=a.a,c=a.d,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),ak(a,0));b=a.e(d);delete a.b[b];return d}function bk(a,b){var c=a.f(b);Infinity!=c&&(a.a.push(b),a.d.push(c),a.b[a.e(b)]=!0,ck(a,0,a.a.length-1))}Yj.prototype.Na=function(){return this.a.length};Yj.prototype.ma=function(){return 0===this.a.length}; function ak(a,b){for(var c=a.a,d=a.d,e=c.length,f=c[b],g=d[b],h=b;b>1;){var m=2*b+1,n=2*b+2,m=nb;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f}function dk(a){var b=a.f,c=a.a,d=a.d,e=0,f=c.length,g,h,m;for(h=0;h>1)-1;0<=b;b--)ak(a,b)};function ek(a,b){Yj.call(this,function(b){return a.apply(null,b)},function(a){return a[0].c()});this.i=b;this.c=0}v(ek,Yj);ek.prototype.g=function(){--this.c;this.i()};function fk(a){Oe.call(this);this.element=s(a.element)?a.element:null;this.A=s(a.target)?rc(a.target):null;this.a=null;this.g=[]}v(fk,Oe);fk.prototype.G=function(){Ec(this.element);fk.J.G.call(this)};fk.prototype.b=k("a");fk.prototype.f=fa;fk.prototype.setMap=function(a){null===this.a||Ec(this.element);0!=this.g.length&&(wb(this.g,re),this.g.length=0);this.a=a;null!==this.a&&((null===this.A?a.r:this.A).appendChild(this.element),this.f!==fa&&this.g.push(z(a,"postrender",this.f,!1,this)),a.R())};function gk(a){a=s(a)?a:{};this.h=zc("UL");var b=wc("DIV",{"class":(s(a.className)?a.className:"ol-attribution")+" ol-unselectable"},this.h);fk.call(this,{element:b,target:a.target});this.i=!0;this.e={};this.c={}}v(gk,fk); gk.prototype.f=function(a){a=a.b;if(null===a)this.i&&(Yc(this.element,!1),this.i=!1);else{var b,c,d,e,f,g,h,m,n,p=a.layerStatesArray,q=lc(a.attributions),r={};b=0;for(c=p.length;b=B.a&&g.a[y][u].b<= B.d&&g.a[y][u].d>=B.b){u=!0;break a}u=!1}u?(h in r&&delete r[h],q[h]=g):r[h]=g}b=[q,r];a=b[0];b=b[1];for(var E in this.e)E in a?(this.c[E]||(Yc(this.e[E],!0),this.c[E]=!0),delete a[E]):E in b?(this.c[E]&&(Yc(this.e[E],!1),delete this.c[E]),delete b[E]):(Ec(this.e[E]),delete this.e[E],delete this.c[E]);for(E in a)c=zc("LI"),c.innerHTML=a[E].d,this.h.appendChild(c),this.e[E]=c,this.c[E]=!0;for(E in b)c=zc("LI"),c.innerHTML=b[E].d,Yc(c,!1),this.h.appendChild(c),this.e[E]=c;E=!hc(this.c);this.i!=E&&(Yc(this.element, E),this.i=E)}};function hk(a){a=s(a)?a:{};this.e=zc("UL");var b=wc("DIV",{"class":(s(a.className)?a.className:"ol-logo")+" ol-unselectable"},this.e);fk.call(this,{element:b,target:a.target});this.c=!0;this.i={}}v(hk,fk); hk.prototype.f=function(a){a=a.b;if(null===a)this.c&&(Yc(this.element,!1),this.c=!1);else{var b;a=a.logos;var c=this.i;for(b in c)b in a||(Ec(c[b]),delete c[b]);for(var d in a)if(!(d in c)){b=new Image;b.src=d;var e=a[d];""===e?e=b:(e=wc("A",{href:e,target:"_blank"}),e.appendChild(b));b=wc("LI",void 0,e);this.e.appendChild(b);c[d]=b}d=!hc(a);this.c!=d&&(Yc(this.element,d),this.c=d)}};function ik(a){a=s(a)?a:{};var b=s(a.className)?a.className:"ol-zoom",c=s(a.delta)?a.delta:1,d=s(a.zoomInLabel)?a.zoomInLabel:"+",e=s(a.zoomOutLabel)?a.zoomOutLabel:"\u2212",f=s(a.zoomOutTipLabel)?a.zoomOutTipLabel:"Zoom out",g=wc("SPAN",{role:"tooltip"},s(a.zoomInTipLabel)?a.zoomInTipLabel:"Zoom in"),d=wc("BUTTON",{"class":b+"-in ol-has-tooltip",type:"button"},g,d),g=new If(d);Od(this,g);z(g,uf,ya(ik.prototype.e,c),!1,this);z(d,["mouseout",Wd],function(){this.blur()},!1);f=wc("SPAN",{role:"tooltip"}, f);e=wc("BUTTON",{"class":b+"-out ol-has-tooltip",type:"button"},f,e);f=new If(e);Od(this,f);z(f,uf,ya(ik.prototype.e,-c),!1,this);z(e,["mouseout",Wd],function(){this.blur()},!1);b=wc("DIV",b+" ol-unselectable",d,e);fk.call(this,{element:b,target:a.target});this.c=s(a.duration)?a.duration:250}v(ik,fk);ik.prototype.e=function(a,b){b.a.preventDefault();var c=this.a,d=c.a().W(),e=d.b();s(e)&&(0d;)f-=3;if(0<=f){var d=c.a[e+2]-c.a[f+2],g=c.a[e]-c.a[f],e=c.a[e+1]-c.a[f+1];c.c=Math.atan2(e,g);c.d=Math.sqrt(g*g+e*e)/d;c=c.d>c.b}else c=!1}}c&&(c=(this.a.b-this.a.d)/this.a.e,e=this.a.c,f=b.a(),this.e=lk(this.a,f),a.Ka(this.e),f=a.f(f),c=a.ya([f[0]-c*Math.cos(e),f[1]-c*Math.sin(e)]),c=b.f.center(c), b.Ba(c));ug(b,-1);a.R();return!1}this.c=null;return!0};nk.prototype.$a=function(a){if(0this.h&&(this.a=!0));this.e=c;a=a.map;c=Tc(a.b);d=ui(this.b);d[0]-=c.x;d[1]-=c.y;this.c=a.ya(d);this.a&&(c=a.a().W(),d=hi(c),a.R(),qi(a,c,d.rotation+b,this.c))}; uk.prototype.ab=function(a){if(2>this.b.length){a=a.map;var b=a.a();ug(b,-1);if(this.a){var b=b.W(),c=hi(b).rotation,d=this.c,c=b.constrainRotation(c,0);qi(a,b,c,d,250)}return!1}return!0};uk.prototype.$a=function(a){return 2<=this.b.length?(a=a.map,this.c=null,this.e=void 0,this.a=!1,this.f=0,this.i||ug(a.a(),1),a.R(),!0):!1};function vk(a){a=s(a)?a:{};ti.call(this);this.c=null;this.f=s(a.duration)?a.duration:400;this.a=void 0;this.e=1}v(vk,ti);vk.prototype.jb=function(a){var b=1,c=this.b[0],d=this.b[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);s(this.a)&&(b=this.a/e);this.a=e;1!=b&&(this.e=b);a=a.map;var e=a.a().W(),c=hi(e),d=Tc(a.b),f=ui(this.b);f[0]-=d.x;f[1]-=d.y;this.c=a.ya(f);a.R();si(a,e,c.resolution*b,this.c)}; vk.prototype.ab=function(a){if(2>this.b.length){a=a.map;var b=a.a();ug(b,-1);var b=b.W(),c=hi(b).resolution,d=this.c,e=this.f,c=b.constrainResolution(c,0,this.e-1);si(a,b,c,d,e);return!1}return!0};vk.prototype.$a=function(a){return 2<=this.b.length?(a=a.map,this.c=null,this.a=void 0,this.e=1,this.i||ug(a.a(),1),a.R(),!0):!1};function wk(a){a=s(a)?a:{};var b=new A,c=new kk(-0.005,0.05,100);(s(a.altShiftDragRotate)?a.altShiftDragRotate:1)&&b.push(new ok);(s(a.doubleClickZoom)?a.doubleClickZoom:1)&&b.push(new mk({delta:a.zoomDelta,duration:a.zoomDuration}));(s(a.dragPan)?a.dragPan:1)&&b.push(new nk({kinetic:c}));(s(a.pinchRotate)?a.pinchRotate:1)&&b.push(new uk);(s(a.pinchZoom)?a.pinchZoom:1)&&b.push(new vk({duration:a.zoomDuration}));if(s(a.keyboard)?a.keyboard:1)b.push(new rk),b.push(new sk({delta:a.zoomDelta,duration:a.zoomDuration})); (s(a.mouseWheelZoom)?a.mouseWheelZoom:1)&&b.push(new tk({duration:a.zoomDuration}));(s(a.shiftDragZoom)?a.shiftDragZoom:1)&&b.push(new qk);return b};function xk(a){Le.call(this);this.l=bi(a.projection);this.Q=s(a.extent)?a.extent:s(a.projection)?this.l.o():null;this.f=s(a.attributions)?a.attributions:null;this.r=a.logo;this.i=s(a.state)?a.state:1}v(xk,Le);xk.prototype.Vc=fa;xk.prototype.o=k("Q");xk.prototype.a=k("i");function yk(a,b){a.i=b;a.k()};function H(a){Oe.call(this);a=lc(a);a.brightness=s(a.brightness)?a.brightness:0;a.contrast=s(a.contrast)?a.contrast:1;a.hue=s(a.hue)?a.hue:0;a.opacity=s(a.opacity)?a.opacity:1;a.saturation=s(a.saturation)?a.saturation:1;a.visible=s(a.visible)?a.visible:!0;a.maxResolution=s(a.maxResolution)?a.maxResolution:Infinity;a.minResolution=s(a.minResolution)?a.minResolution:0;this.L(a)}v(H,Oe);H.prototype.c=function(){return this.get("brightness")};H.prototype.getBrightness=H.prototype.c;H.prototype.e=function(){return this.get("contrast")}; H.prototype.getContrast=H.prototype.e;H.prototype.f=function(){return this.get("hue")};H.prototype.getHue=H.prototype.f;function zk(a){var b=a.c(),c=a.e(),d=a.f(),e=a.l(),f=a.h(),g=a.Ua(),h=a.b(),m=a.g(),n=a.i();return{layer:a,brightness:s(b)?Xb(b,-1,1):0,contrast:s(c)?Math.max(c,0):1,hue:s(d)?d:0,opacity:s(e)?Xb(e,0,1):1,saturation:s(f)?Math.max(f,0):1,Va:g,visible:s(h)?!!h:!0,maxResolution:s(m)?m:Infinity,minResolution:s(n)?Math.max(n,0):0}}H.prototype.g=function(){return this.get("maxResolution")}; H.prototype.getMaxResolution=H.prototype.g;H.prototype.i=function(){return this.get("minResolution")};H.prototype.getMinResolution=H.prototype.i;H.prototype.l=function(){return this.get("opacity")};H.prototype.getOpacity=H.prototype.l;H.prototype.h=function(){return this.get("saturation")};H.prototype.getSaturation=H.prototype.h;H.prototype.b=function(){return this.get("visible")};H.prototype.getVisible=H.prototype.b;H.prototype.n=function(a){this.s("brightness",a)};H.prototype.setBrightness=H.prototype.n; H.prototype.p=function(a){this.s("contrast",a)};H.prototype.setContrast=H.prototype.p;H.prototype.r=function(a){this.s("hue",a)};H.prototype.setHue=H.prototype.r;H.prototype.A=function(a){this.s("maxResolution",a)};H.prototype.setMaxResolution=H.prototype.A;H.prototype.B=function(a){this.s("minResolution",a)};H.prototype.setMinResolution=H.prototype.B;H.prototype.F=function(a){this.s("opacity",a)};H.prototype.setOpacity=H.prototype.F;H.prototype.Q=function(a){this.s("saturation",a)}; H.prototype.setSaturation=H.prototype.Q;H.prototype.T=function(a){this.s("visible",a)};H.prototype.setVisible=H.prototype.T;function I(a){var b=s(a)?a:{};a=lc(b);delete a.layers;b=b.layers;H.call(this,a);this.a=null;z(this,Se("layers"),this.Xf,!1,this);s(b)?ja(b)&&(b=new A(Db(b))):b=new A;this.ca(b)}v(I,H);l=I.prototype;l.me=function(){this.b()&&this.k()}; l.Xf=function(){null!==this.a&&(wb(fc(this.a),re),this.a=null);var a=this.Mb();if(null!=a){this.a={add:z(a,"add",this.Wf,!1,this),remove:z(a,"remove",this.Yf,!1,this)};var a=a.a,b,c,d;b=0;for(c=a.length;b=this.minZoom;){if(b.call(c,a,Mk(this,e,a,d)))return!0;--a}return!1};l.Ic=k("minZoom"); l.lb=function(a){return null===this.e?this.g[a]:this.e};l.ga=function(a){return this.a[a]};l.Jc=function(a,b,c){return a.aa.c&&(a.c=d.c),d.ba.d&&(a.d=d.d)):a[b][c]=d:(a[b]={},a[b][c]=d)}function Yk(a,b,c,d){return function(e,f,g){e=b.Ib(e,f,g,c,d);return a(e)?e:null}}function Zk(a,b,c){return[b*(Math.round(a[0]/b)+c[0]%2/2),b*(Math.round(a[1]/b)+c[1]%2/2)]} function $k(a,b,c,d,e,f,g,h,m,n){var p=sa(b).toString();p in a.wantedTiles||(a.wantedTiles[p]={});var q=a.wantedTiles[p];a=a.tileQueue;var r=c.minZoom,u,x,B,y,E,C;s(h)||(h=0);for(C=g;C>=r;--C)for(x=Mk(c,f,C),B=c.ga(C),y=x.a;y<=x.c;++y)for(E=x.b;E<=x.d;++E)g-C<=h?(u=b.Ib(C,y,E,d,e),0==u.state&&(q[u.a.toString()]=!0,u.c()in a.b||bk(a,[u,p,Pk(c,u.a),B])),s(m)&&m.call(n,u)):b.$e(C,y,E)};function al(a){a=s(a)?a:{};this.b=s(a.anchor)?a.anchor:[0.5,0.5];this.d=s(a.anchorOrigin)?a.anchorOrigin:"top-left";this.c=s(a.anchorXUnits)?a.anchorXUnits:"fraction";this.h=s(a.anchorYUnits)?a.anchorYUnits:"fraction";var b=a.src,c=s(a.crossOrigin)?a.crossOrigin:null,d=bl.gb(),e=d.get(b,c);null===e&&(e=new cl(b,c),d.a[c+":"+b]=e,++d.d);this.a=e;this.l=s(a.size)?a.size:null;Ni.call(this,{opacity:s(a.opacity)?a.opacity:1,rotation:s(a.rotation)?a.rotation:0,scale:s(a.scale)?a.scale:1,Ve:void 0,rotateWithView:s(a.rotateWithView)? a.rotateWithView:!1})}v(al,Ni);l=al.prototype;l.jc=function(){var a=this.b,b=this.Ob();if("fraction"==this.c||"fraction"==this.h){if(null===b)return null;a=this.b.slice();"fraction"==this.c&&(a[0]*=b[0]);"fraction"==this.h&&(a[1]*=b[1])}if("top-left"!=this.d){if(null===b)return null;a===this.b&&(a=this.b.slice());if("top-right"==this.d||"bottom-right"==this.d)a[0]=-a[0]+b[0];if("bottom-left"==this.d||"bottom-right"==this.d)a[1]=-a[1]+b[1]}return a};l.qc=function(){return this.a.a};l.Je=function(){return this.a.d}; l.Ie=function(){var a=this.a;if(null===a.c)if(a.i){var b=a.e[0],c=a.e[1],d=td(b,c);d.fillRect(0,0,b,c);a.c=d.canvas}else a.c=a.a;return a.c};l.lh=function(){return this.a.f};l.Ob=function(){return null===this.l?this.a.e:this.l};l.qe=function(a,b){return z(this.a,"change",a,!1,b)};l.Ke=function(){var a=this.a;if(0==a.d){a.d=1;a.b=[oe(a.a,"error",a.g,!1,a),oe(a.a,"load",a.h,!1,a)];try{a.a.src=a.f}catch(b){a.g()}}};l.Ze=function(a,b){pe(this.a,"change",a,!1,b)}; function cl(a,b){He.call(this);this.c=null;this.a=new Image;null!==b&&(this.a.crossOrigin=b);this.b=null;this.d=0;this.e=null;this.f=a;this.i=!1}v(cl,He);cl.prototype.g=function(){this.d=3;wb(this.b,re);this.b=null;Ie(this,"change")};cl.prototype.h=function(){this.d=2;this.e=[this.a.width,this.a.height];wb(this.b,re);this.b=null;var a=td(1,1);a.drawImage(this.a,0,0);try{a.getImageData(0,0,1,1)}catch(b){this.i=!0}Ie(this,"change")};function bl(){this.a={};this.d=0;this.b=32}ga(bl); bl.prototype.clear=function(){this.a={};this.d=0};bl.prototype.get=function(a,b){var c=b+":"+a;return c in this.a?this.a[c]:null};function dl(a,b,c,d,e,f,g,h){od(a);0===b&&0===c||qd(a,b,c);1==d&&1==e||rd(a,d,e);0!==f&&sd(a,f);0===g&&0===h||qd(a,g,h);return a}function el(a,b){return a[0]==b[0]&&a[1]==b[1]&&a[4]==b[4]&&a[5]==b[5]&&a[12]==b[12]&&a[13]==b[13]}function fl(a,b,c){var d=a[1],e=a[5],f=a[13],g=b[0];b=b[1];c[0]=a[0]*g+a[4]*b+a[12];c[1]=d*g+e*b+f;return c};function gl(a,b){Ld.call(this);this.f=b;this.b={}}v(gl,Ld); function hl(a){var b=a.view2DState,c=a.coordinateToPixelMatrix;dl(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);a=a.pixelToCoordinateMatrix;var b=c[0],d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],m=c[6],n=c[7],p=c[8],q=c[9],r=c[10],u=c[11],x=c[12],B=c[13],y=c[14],c=c[15],E=b*h-d*g,C=b*m-e*g,O=b*n-f*g,W=d*m-e*h,na=d*n-f*h,X=e*n-f*m,qa=p*B-q*x,za=p*y-r*x,ab=p*c-u*x,Ya=q*y-r*B,oa=q*c-u*B,Wa=r*c-u*y,Sa=E*Wa-C*oa+O*Ya+W*ab-na*za+X*qa;0!=Sa&&(Sa=1/Sa,a[0]=(h*Wa-m* oa+n*Ya)*Sa,a[1]=(-d*Wa+e*oa-f*Ya)*Sa,a[2]=(B*X-y*na+c*W)*Sa,a[3]=(-q*X+r*na-u*W)*Sa,a[4]=(-g*Wa+m*ab-n*za)*Sa,a[5]=(b*Wa-e*ab+f*za)*Sa,a[6]=(-x*X+y*O-c*C)*Sa,a[7]=(p*X-r*O+u*C)*Sa,a[8]=(g*oa-h*ab+n*qa)*Sa,a[9]=(-b*oa+d*ab-f*qa)*Sa,a[10]=(x*na-B*O+c*E)*Sa,a[11]=(-p*na+q*O-u*E)*Sa,a[12]=(-g*Ya+h*za-m*qa)*Sa,a[13]=(b*Ya-d*za+e*qa)*Sa,a[14]=(-x*W+B*C-y*E)*Sa,a[15]=(p*W-q*C+r*E)*Sa)}gl.prototype.zc=function(a){return new Sk(this,a)};gl.prototype.G=function(){bc(this.b,function(a){Pd(a)});gl.J.G.call(this)}; function il(a,b){var c=sa(b).toString();if(c in a.b)return a.b[c];var d=a.zc(b);return a.b[c]=d}gl.prototype.Xc=fa;gl.prototype.r=function(a,b){for(var c in this.b)if(!(null!==b&&c in b.layerStates)){var d=this.b[c];delete this.b[c];Pd(d)}};function jl(a){a.postRenderFunctions.push(function(){var a=bl.gb();if(a.d>a.b){var c=0,d,e;for(d in a.a)e=a.a[d],0!==(c++&3)||te(e)||(delete a.a[d],--a.d)}})} function kl(a,b){for(var c in a.b)if(!(c in b.layerStates)){b.postRenderFunctions.push(xa(a.r,a));break}};function K(a){J.call(this,a)}v(K,J);function L(a){J.call(this,a)}v(L,J);L.prototype.ia=function(){return this.get("preload")};L.prototype.getPreload=L.prototype.ia;L.prototype.ua=function(a){this.s("preload",a)};L.prototype.setPreload=L.prototype.ua;L.prototype.ja=function(){return this.get("useInterimTilesOnError")};L.prototype.getUseInterimTilesOnError=L.prototype.ja;L.prototype.Wa=function(a){this.s("useInterimTilesOnError",a)};L.prototype.setUseInterimTilesOnError=L.prototype.Wa;function M(a){a=s(a)?a:{};var b=lc(a);delete b.style;J.call(this,b);this.Ub=null;this.ua=void 0;s(a.style)&&this.ja(a.style)}v(M,J);M.prototype.Vb=k("Ub");M.prototype.wc=k("ua");M.prototype.ja=function(a){this.Ub=a;this.ua=Ti(a);this.k()};function ll(a,b,c,d,e){this.r={};this.b=a;this.l=b;this.g=c;this.f=d;this.Wa=e;this.i=this.a=this.d=this.Ta=this.ca=this.ha=null;this.A=this.qb=this.Q=this.F=0;this.ia=!1;this.h=this.ja=0;this.Db=!1;this.Ua=0;this.c="";this.n=this.B=this.ua=this.Eb=0;this.T=this.p=this.q=null;this.e=[];this.Va=kd()} function ml(a,b){if(null!==a.i){var c=Vg(b,2,a.f,a.e),d=a.b,e=a.Va,f=d.globalAlpha;1!=a.A&&(d.globalAlpha=f*a.A);var g=a.ja;a.ia&&(g+=a.Wa);var h,m;h=0;for(m=c.length;hB||this.d[1]>y)?(E.width=B,E.height= y,this.d=[B,y],this.h=!Bl(this.d),this.b=null):(B=this.d[0],y=this.d[1],m==this.B&&this.b.a<=x.a&&x.c<=this.b.c&&this.b.b<=x.b&&x.d<=this.b.d||(this.b=null)));var O,W;null===this.b?(B/=n,y/=n,O=x.a-Math.floor((B-(x.c-x.a+1))/2),W=x.b-Math.floor((y-(x.d-x.b+1))/2),this.B=m,this.b=new Pb(O,O+B-1,W,W+y-1),this.i=Array(B*y),y=this.b):(y=this.b,B=y.c-y.a+1);E={};E[m]={};var na=[],X=xa(f.kd,f,E,Yk(function(a){return null!==a&&2==a.state},f,b,d)),qa=e.ja();s(qa)||(qa=!0);var za=wg(),ab=new Pb(0,0,0,0),Ya, oa,Wa;for(W=x.a;W<=x.c;++W)for(Wa=x.b;Wa<=x.d;++Wa)oa=f.Ib(m,W,Wa,b,d),O=oa.state,2==O||4==O||3==O&&!qa?E[m][oa.a.toString()]=oa:(Ya=g.Ec(oa.a,X,null,ab,za),Ya||(na.push(oa),Ya=g.Jc(oa.a,ab,za),null===Ya||X(m+1,Ya)));X=0;for(Ya=na.length;Xx&&(C=C|4);EB&&(C|=2);0===C&&(C=1);u=C;u!==r?(p&&(a.coordinates[g++]=m[0],a.coordinates[g++]=m[1]),a.coordinates[g++]=n[0],a.coordinates[g++]=n[1],p=!1):1===u?(a.coordinates[g++]=n[0],a.coordinates[g++]=n[1],p=!1):p=!0;m[0]=n[0];m[1]=n[1];r=u}q===c+e&&(a.coordinates[g++]=m[0],a.coordinates[g++]= m[1]);f&&(a.coordinates[g++]=b[c],a.coordinates[g++]=b[c+1]);return g}function Jl(a,b,c){a.A=[0,b,c,0];a.d.push(a.A);a.B=[0,b,c,0];a.a.push(a.B)} function Kl(a,b,c,d,e,f,g,h){var m;el(d,a.ha)?m=a.T:(m=Vg(a.coordinates,2,d,a.T),nd(a.ha,d));d=0;var n=g.length,p=0,q;for(a=a.ca;da||0!==this.i&&a>1,p=g(c,f[n]),0r?(c=(c-f[-r-2])/(f[-r-1]-f[-r-2]),b+=(-r-2)*d,f=a[b]+c*(a[b+d]-a[b]),g=a[b+1]+c*(a[b+d+1]-a[b+1])):(f=a[b+r*d],g=a[b+r*d+1])}return null!= e?(e.push(f,g),e):[f,g]}function jm(a,b,c,d,e,f){if(c==b)return null;if(e>1,ea||this.c.length<=a)return null;var b=new N(null);lm(b,this.b,this.j.slice(0===a?0:this.c[a-1],this.c[a]));return b};l.Hc=function(){var a=this.j,b=this.c,c=this.b,d=[],e=0,f,g;f=0;for(g=b.length;fa||b<=a)return null;b=new rh(null);sh(b,this.b,this.j.slice(a*this.a,(a+1)*this.a));return b};l.pd=function(){var a=this.j,b=this.b,c=this.a,d=[],e,f;e=0;for(f=a.length;ea||this.c.length<=a)return null;var b;0===a?b=0:(b=this.c[a-1],b=b[b.length-1]);a=this.c[a].slice();var c=a[a.length-1];if(0!==b){var d,e;d=0;for(e=a.length;d=a;--b)Fg(f,d[b].extent),g+=Ng(f)+Lg(f);return g}l=zm.prototype; l.clear=function(){var a=this.a;a.extent=Dg(this.a.extent);a.height=1;a.a.length=0;a.value=null;ic(this.d)};l.forEach=function(a,b){return Bm(this.a,a,b)};function Bm(a,b,c){for(var d=[a],e,f,g;0a.b){g=a;h=e;f=c;d=h[f];p=g;m=d;n=Am(p,m,vm); p=Am(p,m,wm);n=h.maxResolution||dX&&Dc(this.target,B.target,0)}else a.viewHints[0]||a.viewHints[1]||Xm(B,r,E);else Ec(B.target),delete this.d[X];b.opacity!=this.i&&(Xc(this.target,b.opacity),this.i=b.opacity);b.visible&&!this.b&&(Yc(this.target,!0),this.b=!0);Xk(a.usedTiles,g,n,p);$k(a,g,h,c,e,r,n,f.ia());Uk(a,g);Wk(a,g)}else this.b&&(Yc(this.target,!1),this.b= !1)};function Tm(a,b){this.target=zc("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=a;this.b=b;this.f=Mg(Lk(a,b));this.g=a.ga(b.a);this.d={};this.a=null;this.e=md()} function Um(a,b,c){var d=b.a,e=d.toString();if(!(e in a.d)){var f=a.c.la(d.a),g=b.b(a),h=g.style;h.maxWidth="none";var m,n;0c)break;if(bb&&(-1==e||h=m.minResolution)&&d.push(m);g=0;for(h=d.length;g=c[0]||0>=c[1]?b=!1:(b=b.a(),b=s(b)&&b.wd()?!0:!1)}else b=!1;if(!b)return!0;b=!0;a.type===$f?b=Vn(this,a):a.type===Uf&&(b=!1);return Pn.J.Ca.call(this,a)&&b};Pn.prototype.$a=function(a){this.r=a.pixel;return!0}; Pn.prototype.ab=function(a){var b=this.r,c=a.pixel,d=b[0]-c[0],b=b[1]-c[1],c=!0;if(d*d+b*b<=this.T){Vn(this,a);if(null===this.e)Wn(this,a);else if(this.a===Qn||Xn(this,a)){a=Un(this);var e,d=a.N();this.a===Qn?e=d.C():this.a===Rn?(e=d.C(),e.pop(),d.I(e)):this.a===Sn&&(this.c[0].pop(),this.c[0].push(this.c[0][0]),d.I(this.c),e=d.C());"MultiPoint"===this.n?a.pb(new Q([e])):"MultiLineString"===this.n?a.pb(new P([e])):"MultiPolygon"===this.n&&a.pb(new R([e]));null===this.A||this.A.push(a);null===this.B|| this.B.Da(a);Ie(this,new On("drawend",a))}else e=a.coordinate,a=this.f.N(),this.a===Rn?(this.e=e.slice(),d=a.C(),d.push(e.slice()),a.I(d)):this.a===Sn&&(this.c[0].push(e.slice()),a.I(this.c)),Yn(this);c=!1}return c}; function Vn(a,b){if(a.a===Qn&&null===a.e)Wn(a,b);else if(null!==a.e){var c=b.coordinate,d=a.f.N(),e,f;a.a===Qn?(f=d.C(),f[0]=c[0],f[1]=c[1],d.I(f)):(a.a===Rn?e=d.C():a.a===Sn&&(e=a.c[0]),Xn(a,b)&&(c=a.e.slice()),a.l.N().I(c),f=e[e.length-1],f[0]=c[0],f[1]=c[1],a.a===Rn?d.I(e):a.a===Sn&&(a.h.N().I(e),d.I(a.c)));Yn(a)}return!0} function Xn(a,b){var c=!1;if(null!==a.f){var d=a.f.N(),e=!1,f=[a.e];a.a===Rn?e=2a.F,f=[a.c[0][0],a.c[0][a.c[0].length-2]]);if(e)for(var d=b.map,e=0,g=f.length;ec?(e="\u2032",b*=60):e="\u00b0":"imperial"==f?0.9144> c?(e="in",b/=0.0254):1609.344>c?(e="ft",b/=0.3048):(e="mi",b/=1609.344):"nautical"==f?(b/=1852,e="nm"):"metric"==f?1>c?(e="mm",b*=1E3):1E3>c?e="m":(e="km",b/=1E3):"us"==f&&(0.9144>c?(e="in",b*=39.37):1609.344>c?(e="ft",b/=0.30480061):(e="mi",b/=1609.3472));for(var f=3*Math.floor(Math.log(a.h*b)/Math.log(10)),g,h;;){g=ko[f%3]*Math.pow(10,Math.floor(f/3));h=Math.round(g/b);if(h>=a.h)break;++f}g=g+e;a.B!=g&&(a.i.innerHTML=g,a.B=g);a.F!=h&&(a.i.style.width=h+"px",a.F=h);a.e||(Yc(a.l,!0),a.e=!0)}};function mo(a){Ld.call(this);this.d=a;this.a={}}v(mo,Ld);var no=[];mo.prototype.ra=function(a,b,c,d,e){ja(b)||(no[0]=b,b=no);for(var f=0;fthis.oe)if(Ie(this,new to("start",this,a.clientX,a.clientY,a)))this.sb=!0;else{this.qb||this.Cc(a);return}}c=wo(this,b,c);b=c.x;c=c.y;this.sb&&Ie(this,new to("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(xo(this,a,b,c), a.preventDefault())}};function wo(a,b,c){var d=Hc(oc(a.b));b+=d.x-a.c.x;c+=d.y-a.c.y;a.c=d;a.Jb+=b;a.Kb+=c;b=uo(a,a.Jb);a=vo(a,a.Kb);return new $b(b,a)}l.Fh=function(a){var b=wo(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;xo(this,a,b.x,b.y)};function xo(a,b,c,d){a.Ld&&ro(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";Ie(a,new to("drag",a,b.clientX,b.clientY,b,c,d))} function uo(a,b){var c=a.d,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function vo(a,b){var c=a.d,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function to(a,b,c,d,e,f,g,h){Qd.call(this,a);this.clientX=c;this.clientY=d;this.c=e;this.left=s(f)?f:b.Jb;this.top=s(g)?g:b.Kb;this.b=b;this.a=!!h}v(to,Qd);function yo(a){a=s(a)?a:{};this.c=void 0;this.i=zo;this.h=!1;var b=s(a.className)?a.className:"ol-zoomslider";a=wc("DIV",[b+"-thumb","ol-unselectable"]);b=wc("DIV",[b,"ol-unselectable"],a);this.e=new po(a);Od(this,this.e);z(this.e,["drag","end"],this.n,void 0,this);z(b,"click",this.l,!1,this);z(a,"click",Rd);fk.call(this,{element:b})}v(yo,fk);var zo=0;yo.prototype.setMap=function(a){yo.J.setMap.call(this,a);null===a||a.R()}; yo.prototype.f=function(a){if(null!==a.b){if(!this.h){var b=this.element,c=Fc(b),b=$c(b),d;d=Rc(c);var e=Vc(c);d=new Jc(d.x,d.y,e.width,e.height);var e=bd(c,"margin"),f=cd(c),c=b.width-e.left-e.right-f.left-f.right-d.width;d=b.height-e.top-e.bottom-f.top-f.bottom-d.height;b.width>b.height?(this.i=1,b=new Jc(0,0,c,0)):(this.i=zo,b=new Jc(0,0,0,d));this.e.d=b||new Jc(NaN,NaN,NaN,NaN);this.h=!0}a=a.b.view2DState.resolution;a!==this.c&&(this.c=a,a=-1*(gi(this.a.a().W())(a)-1),b=this.e,c=Fc(this.element), 1==this.i?Mc(c,b.d.left+b.d.width*a):Mc(c,b.d.left,b.d.top+b.d.height*a))}};yo.prototype.l=function(a){var b=this.a,c=b.a().W();a=Ao(this,Bo(this,a.offsetX,a.offsetY));b.Ka(oi({resolution:a,duration:200,easing:ii}));a=c.constrainResolution(a);c.c(a)};function Bo(a,b,c){var d=a.e.d,e=0;return e=1===a.i?(b-d.left)/d.width:(c-d.top)/d.height}function Ao(a,b){b=-1*(Xb(b,0,1)-1);return fi(a.a.a().W())(b)} yo.prototype.n=function(a){var b=this.a,c=b.a().W();"drag"===a.type?(a=Ao(this,Bo(this,a.left,a.top)),a!==this.c&&(this.c=a,c.c(a))):(b.Ka(oi({resolution:this.c,duration:200,easing:ii})),a=c.constrainResolution(this.c),c.c(a))};function Co(a){a=s(a)?a:{};this.c=s(a.extent)?a.extent:null;var b=s(a.className)?a.className:"ol-zoom-extent",c=wc("SPAN",{role:"tooltip"},s(a.tipLabel)?a.tipLabel:"Fit to extent"),b=wc("DIV",{"class":b+" ol-unselectable"}),d=wc("BUTTON",{"class":"ol-has-tooltip"});d.appendChild(c);b.appendChild(d);c=new If(d);Od(this,c);z(c,uf,this.e,!1,this);z(d,["mouseout",Wd],function(){this.blur()},!1);fk.call(this,{element:b,target:a.target})}v(Co,fk); Co.prototype.e=function(a){a.a.preventDefault();a=this.a;var b=a.a().W(),c=null===this.c?b.i().o():this.c;b.ae(c,a.e())};function Do(a){Oe.call(this);this.a=a;z(this.a,["change","input"],this.i,!1,this);z(this,Se("value"),this.h,!1,this);z(this,Se("checked"),this.g,!1,this)}v(Do,Oe);Do.prototype.b=function(){return this.get("checked")};Do.prototype.getChecked=Do.prototype.b;Do.prototype.c=function(){return this.get("value")};Do.prototype.getValue=Do.prototype.c;Do.prototype.f=function(a){this.s("value",a)};Do.prototype.setValue=Do.prototype.f;Do.prototype.e=function(a){this.s("checked",a)};Do.prototype.setChecked=Do.prototype.e; Do.prototype.i=function(){var a=this.a;"checkbox"===a.type||"radio"===a.type?this.e(a.checked):this.f(a.value)};Do.prototype.g=function(){this.a.checked=this.b()};Do.prototype.h=function(){this.a.value=this.c()};function Eo(){};var Fo;a:if(document.implementation&&document.implementation.createDocument)Fo=document.implementation.createDocument("","",null);else{if("undefined"!=typeof ActiveXObject){var Go=new ActiveXObject("MSXML2.DOMDocument");if(Go){Go.resolveExternals=!1;Go.validateOnParse=!1;try{Go.setProperty("ProhibitDTD",!0),Go.setProperty("MaxXMLSize",2048),Go.setProperty("MaxElementDepth",256)}catch(Ho){}}if(Go){Fo=Go;break a}}throw Error("Your browser does not support creating new documents");}var Io=Fo; function Jo(a,b){return Io.createElementNS(a,b)}function Ko(a,b){null===a&&(a="");return Io.createNode(1,b,a)}var Lo=document.implementation&&document.implementation.createDocument?Jo:Ko;function Mo(a){return No(a,!1,[]).join("")}function No(a,b,c){if(4==a.nodeType||3==a.nodeType)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;null!==a;a=a.nextSibling)No(a,b,c);return c}function Oo(a){return a.localName} function Po(a){var b=a.localName;return s(b)?b:a.baseName}var Qo=$a?Po:Oo;function Ro(a){return a instanceof Document}function So(a){return ra(a)&&9==a.nodeType}var To=$a?So:Ro;function Uo(a){return a instanceof Node}function Vo(a){return ra(a)&&s(a.nodeType)}var Wo=$a?Vo:Uo;function Xo(a,b,c){return a.getAttributeNS(b,c)||""}function Yo(a,b,c){var d="";a=Zo(a,b,c);s(a)&&(d=a.nodeValue);return d}var $o=document.implementation&&document.implementation.createDocument?Xo:Yo; function ap(a,b,c){return a.getAttributeNodeNS(b,c)}function bp(a,b,c){var d=null;a=a.attributes;for(var e,f,g=0,h=a.length;g=b.gd&&b.cancel())}this.f?this.f.call(this.e,this):this.Jd=!0;this.fb||(a=new xt(this),yt(this),zt(this,!1,a))}};l.Wd=function(a,b){this.fd=!1;zt(this,a,b)};function zt(a,b,c){a.fb=!0;a.b=c;a.nc=!b;At(a)} function yt(a){if(a.fb){if(!a.Jd)throw new Bt(a);a.Jd=!1}}function Ct(a){return yb(a.a,function(a){return pa(a[1])})} function At(a){a.c&&(a.fb&&Ct(a))&&(ea.clearTimeout(a.c),delete a.c);a.d&&(a.d.gd--,delete a.d);for(var b=a.b,c=!1,d=!1;a.a.length&&!a.fd;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.nc?g:f)try{var h=f.call(e||a.e,b);s(h)&&(a.nc=a.nc&&(h==b||h instanceof Error),a.b=b=h);b instanceof wt&&(d=!0,a.fd=!0)}catch(m){b=m,a.nc=!0,Ct(a)||(c=!0)}}a.b=b;d&&(d=b,h=xa(a.Wd,a,!0),f=xa(a.Wd,a,!1),d.a.push([h,f,void 0]),d.fb&&At(d),b.lf=!0);c&&(a.c=ea.setTimeout(Ce(b),0))} function Bt(a){tb.call(this);this.a=a}v(Bt,tb);Bt.prototype.message="Deferred has already fired";Bt.prototype.name="AlreadyCalledError";function xt(a){tb.call(this);this.a=a}v(xt,tb);xt.prototype.message="Deferred was canceled";xt.prototype.name="CanceledError";function Dt(a,b){tb.call(this,Ba("Error %s: %s",b,Et(a)));this.code=a}v(Dt,tb); function Et(a){switch(a){case 1:return"File or directory not found";case 2:return"Insecure or disallowed operation";case 3:return"Operation aborted";case 4:return"File or directory not readable";case 5:return"Invalid encoding";case 6:return"Cannot modify file or directory";case 7:return"Invalid state";case 8:return"Invalid line-ending specifier";case 9:return"Invalid modification";case 10:return"Quota exceeded";case 11:return"Invalid filetype";case 12:return"File or directory already exists at specified path"; default:return"Unrecognized error"}};function Ft(a,b){Qd.call(this,a.type,b);this.a=a}v(Ft,Qd);function Gt(){He.call(this);this.Ga=new FileReader;this.Ga.onloadstart=xa(this.a,this);this.Ga.onprogress=xa(this.a,this);this.Ga.onload=xa(this.a,this);this.Ga.onabort=xa(this.a,this);this.Ga.onerror=xa(this.a,this);this.Ga.onloadend=xa(this.a,this)}v(Gt,He);Gt.prototype.getError=function(){return this.Ga.error&&new Dt(this.Ga.error.code,"reading file")};Gt.prototype.a=function(a){Ie(this,new Ft(a,this))};Gt.prototype.G=function(){Gt.J.G.call(this);delete this.Ga}; function Ht(a){var b=new wt;a.addEventListener("loadend",ya(function(a,b){var e=b.Ga.result,f=b.getError();null==e||f?(yt(a),zt(a,!1,f)):(yt(a),zt(a,!0,e));b.bc()},b,a));return b};function It(a){a=s(a)?a:{};pi.call(this);this.c=s(a.formatConstructors)?a.formatConstructors:[];this.e=s(a.reprojectTo)?bi(a.reprojectTo):null;this.b=null;this.a=void 0}v(It,pi);l=It.prototype;l.G=function(){s(this.a)&&re(this.a);It.J.G.call(this)};l.Mf=function(a){a=a.O.dataTransfer.files;var b,c,d;b=0;for(c=a.length;bc?g[1]:g[0]);Qt(a,h);c={};c[sa(g)]=!0;b=1;for(m=f.length;bc)&&(a.index+=e)})}function Ot(){var a=Ui();return function(){return a.Point}};function St(a){pi.call(this);a=s(a)?a:{};this.e=s(a.condition)?a.condition:dg;this.c=s(a.addCondition)?a.addCondition:ze;this.f=s(a.removeCondition)?a.removeCondition:ze;this.i=s(a.toggleCondition)?a.toggleCondition:fg;var b;if(s(a.layers))if(pa(a.layers))b=a.layers;else{var c=a.layers;b=function(a){return 0<=vb(c,a)}}else b=Ae;this.b=b;this.a=new Vi({style:s(a.style)?a.style:Tt()});a=this.a.a;z(a,"add",this.Rg,!1,this);z(a,"remove",this.Th,!1,this)}v(St,pi);l=St.prototype;l.Sg=function(){return this.a.a}; l.Ca=function(a){if(!this.e(a))return!0;var b=this.c(a),c=this.f(a),d=this.i(a),e=a.map,f=this.a.a;b||c||d?e.xd(a.pixel,function(a){var e=vb(f.a,a);-1==e?(b||d)&&f.push(a):(c||d)&&f.Wc(e)},void 0,this.b):(a=e.xd(a.pixel,aa(),void 0,this.b),s(a)&&1==f.xb()&&f.ce(0)==a||(0!==f.xb()&&f.clear(),s(a)&&f.push(a)));return!1};l.setMap=function(a){var b=this.g,c=this.a.a;null===b||c.forEach(b.Vb,b);St.J.setMap.call(this,a);this.a.setMap(a);null===a||c.forEach(a.Wa,a)}; function Tt(){var a=Ui();Eb(a.Polygon,a.LineString);Eb(a.GeometryCollection,a.LineString);return function(b){return a[b.N().D()]}}l.Rg=function(a){a=a.element;var b=this.g;null===b||b.Wa(a)};l.Th=function(a){a=a.element;var b=this.g;null===b||b.Vb(a)};function $(a){a=s(a)?a:{};M.call(this,a);this.ia=null;z(this,Se("gradient"),this.bd,!1,this);this.xc(s(a.gradient)?a.gradient:Ut);var b=Vt(s(a.radius)?a.radius:8,s(a.blur)?a.blur:15,s(a.shadow)?a.shadow:250),c=Array(256),d=s(a.weight)?a.weight:"weight",e;e=la(d)?function(a){return a.get(d)}:d;this.ja(function(a){a=e(a);a=s(a)?Xb(a,0,1):1;var d=255*a|0,h=c[d];s(h)||(h=[new Qi({image:new al({opacity:a,src:b})})],c[d]=h);return h});this.s("renderOrder",null);z(this,"render",this.cd,!1,this)}v($,M); var Ut=["#00f","#0ff","#0f0","#ff0","#f00"];function Vt(a,b,c){var d=a+b+1,e=2*d,e=td(e,e);e.shadowOffsetX=e.shadowOffsetY=c;e.shadowBlur=b;e.shadowColor="#000";e.beginPath();b=d-c;e.arc(b,b,a,0,2*Math.PI,!0);e.fill();return e.canvas.toDataURL()}$.prototype.Wa=function(){return this.get("gradient")};$.prototype.getGradient=$.prototype.Wa; $.prototype.bd=function(){for(var a=this.Wa(),b=td(1,256),c=b.createLinearGradient(0,0,1,256),d=1/(a.length-1),e=0,f=a.length;ea.c&&!(c=a.a.Cb,d=c.a.a.toString(),d in b&&b[d].contains(c.a));)a.pop()};function zu(a){Qk.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.tileUrlFunction=s(a.tileUrlFunction)?a.tileUrlFunction:uu;this.crossOrigin=s(a.crossOrigin)?a.crossOrigin:null;this.c=new xu;this.tileLoadFunction=s(a.tileLoadFunction)?a.tileLoadFunction:Au;this.tileClass=s(a.tileClass)?a.tileClass:$n}v(zu,Qk);function Au(a,b){a.b().src=b}l=zu.prototype;l.zd=function(){return this.c.Na()>this.c.c}; l.Ge=function(a){yu(this.c,a)};l.Ib=function(a,b,c,d,e){var f=this.hb(a,b,c);if(Dn(this.c,f))return this.c.get(f);a=new Lb(a,b,c);d=this.tileUrlFunction(a,d,e);d=new this.tileClass(a,s(d)?0:4,s(d)?d:"",this.crossOrigin,this.tileLoadFunction);Gn(this.c,f,d);return d};l.pc=function(a){this.c.clear();this.tileUrlFunction=a;this.k()};l.$e=function(a,b,c){a=this.hb(a,b,c);Dn(this.c,a)&&this.c.get(a)};function Bu(a){var b=Array(a.maxZoom+1),c,d=2*Ck/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);Jk.call(this,{minZoom:a.minZoom,origin:[-Ck,Ck],resolutions:b,tileSize:256})}v(Bu,Jk); Bu.prototype.d=function(a){a=s(a)?a:{};var b=this.minZoom,c=this.maxZoom,d=s(a.wrapX)?a.wrapX:!0,e=new Lb(0,0,0),f=null;if(s(a.extent)){var f=Array(c+1),g;for(g=0;g<=c;++g)f[g]=gq||p<=q)return null;a=a.y;return a<-p||-1=this.minZoom;--a)if(d.a=d.c>>=1,d.b=d.d>>=1,b.call(c,a,d))return!0;return!1};function Cu(a){zu.call(this,{crossOrigin:"anonymous",opaque:!0,projection:bi("EPSG:3857"),state:0,tileLoadFunction:a.tileLoadFunction});this.b=s(a.culture)?a.culture:"en-us";var b=new ij((rb?"https:":"http:")+"//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet);nu(new lu(b,"jsonp"),{include:"ImageryProviders",key:a.key},xa(this.e,this))}v(Cu,zu);var Du=new Rb({html:'\x3ca class\x3d"ol-attribution-bing-tos" target\x3d"_blank" href\x3d"http://www.microsoft.com/maps/product/terms.html"\x3eTerms of Use\x3c/a\x3e'}); Cu.prototype.e=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)yk(this,2);else{var b=a.brandLogoUri,c=a.resourceSets[0].resources[0],d=new Bu({minZoom:c.zoomMin,maxZoom:c.zoomMax,tileSize:c.imageWidth});this.tileGrid=d;var e=this.b;this.tileUrlFunction=vu(d.d(),tu(xb(c.imageUrlSubdomains,function(a){var b=c.imageUrl.replace("{subdomain}",a).replace("{culture}",e);return function(a){return null=== a?void 0:b.replace("{quadkey}",Ob(a))}})));if(c.imageryProviders){var f=Kh(bi("EPSG:4326"),this.l);a=xb(c.imageryProviders,function(a){var b=a.attribution,c={};wb(a.coverageAreas,function(a){var b=a.zoomMin,e=a.zoomMax;a=a.bbox;a=Tg([a[1],a[0],a[3],a[2]],f);var g,h;for(g=b;g<=e;++g)h=g.toString(),b=Mk(d,a,g),h in c?c[h].push(b):c[h]=[b]});return new Rb({html:b,tileRanges:c})});a.push(Du);this.f=a}this.r=b;yk(this,1)}};function Eu(a,b,c){if(pa(a))c&&(a=xa(a,c));else if(a&&"function"==typeof a.handleEvent)a=xa(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647h*g?f*e/(h*n):g*e/(m*n);c=Jg(c);d={OPERATION:this.B?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.MapGuide source",CLIP:"1",SETDISPLAYDPI:this.b,SETDISPLAYWIDTH:Math.round(d[0]),SETDISPLAYHEIGHT:Math.round(d[1]),SETVIEWSCALE:e,SETVIEWCENTERX:c[0],SETVIEWCENTERY:c[1]};nc(d,b);return fj(hj([a],d))};function qv(a){var b=s(a.projection)?a.projection:"EPSG:3857",c=new Bu({maxZoom:s(a.maxZoom)?a.maxZoom:18});zu.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,logo:a.logo,projection:b,tileGrid:c,tileLoadFunction:a.tileLoadFunction,tileUrlFunction:uu});this.e=c.d({extent:a.extent,wrapX:a.wrapX});s(a.tileUrlFunction)?this.pc(a.tileUrlFunction):s(a.urls)?this.pc(su(a.urls)):s(a.url)&&this.b(a.url)}v(qv,zu);qv.prototype.pc=function(a){qv.J.pc.call(this,vu(this.e,a))}; qv.prototype.b=function(a){this.pc(su(wu(a)))};function rv(a){a=s(a)?a:{};var b=rb?"https:":"http:";qv.call(this,{attributions:s(a.attributions)?a.attributions:sv,crossOrigin:s(a.crossOrigin)?a.crossOrigin:"anonymous",opaque:!0,maxZoom:a.maxZoom,tileLoadFunction:a.tileLoadFunction,url:s(a.url)?a.url:b+"//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}v(rv,qv); var tv=new Rb({html:'Data \x26copy; \x3ca href\x3d"http://www.openstreetmap.org/"\x3eOpenStreetMap\x3c/a\x3e contributors, \x3ca href\x3d"http://www.openstreetmap.org/copyright"\x3eODbL\x3c/a\x3e'}),uv=new Rb({html:'Tiles \x26copy; \x3ca href\x3d"http://www.openstreetmap.org/"\x3eOpenStreetMap\x3c/a\x3e contributors, \x3ca href\x3d"http://creativecommons.org/licenses/by-sa/2.0/"\x3eCC BY-SA\x3c/a\x3e'}),sv=[uv,tv];function vv(a){a=s(a)?a:{};var b=wv[a.layer];qv.call(this,{attributions:b.attributions,crossOrigin:"anonymous",logo:"//developer.mapquest.com/content/osm/mq_logo.png",maxZoom:b.maxZoom,opaque:!0,tileLoadFunction:a.tileLoadFunction,url:(rb?"https:":"http:")+"//otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+a.layer+"/{z}/{x}/{y}.jpg"})}v(vv,qv); var xv=new Rb({html:'Tiles Courtesy of \x3ca href\x3d"http://www.mapquest.com/" target\x3d"_blank"\x3eMapQuest\x3c/a\x3e'}),wv={osm:{maxZoom:28,attributions:[xv,tv]},sat:{maxZoom:18,attributions:[xv,new Rb({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[xv,tv]}};function yv(a){a=s(a)?a:{};bv.call(this,{attributions:a.attributions,doc:a.doc,extent:a.extent,format:new ur,logo:a.logo,node:a.node,projection:a.projection,reprojectTo:a.reprojectTo,text:a.text,url:a.url})}v(yv,bv);function zv(a){$u.call(this,{attributions:a.attributions,extent:a.extent,format:a.format,logo:a.logo,projection:a.projection});this.h=new zm;this.n=a.loader;this.p=s(a.strategy)?a.strategy:Wt;this.g={}}v(zv,$u);zv.prototype.va=function(a){var b=[],c,d;c=0;for(d=a.length;cthis.b.c};Fv.prototype.Ge=function(a){yu(this.b,a)};Fv.prototype.Ib=function(a,b,c){var d=this.hb(a,b,c);if(Dn(this.b,d))return this.b.get(d);a=new Ev(new Lb(a,b,c),this.tileGrid);Gn(this.b,d,a);return a};function Gv(a){zu.call(this,{crossOrigin:a.crossOrigin,projection:bi("EPSG:3857"),state:0,tileLoadFunction:a.tileLoadFunction});nu(new lu(a.url),void 0,xa(this.b,this))}v(Gv,zu); Gv.prototype.b=function(a){var b=bi("EPSG:4326"),c;if(s(a.bounds)){var d=Kh(b,this.l);this.Q=c=Tg(a.bounds,d)}var e=a.minzoom||0,d=a.maxzoom||22,f=new Bu({maxZoom:d,minZoom:e});this.tileGrid=f;this.tileUrlFunction=vu(f.d({extent:c}),su(a.tiles));if(s(a.attribution)){b=s(c)?c:b.o();c={};for(var g;e<=d;++e)g=e.toString(),c[g]=[Mk(f,b,e)];this.f=[new Rb({html:a.attribution,tileRanges:c})]}yk(this,1)};function Hv(a){$u.call(this,{attributions:a.attributions,extent:a.extent,format:a.format,logo:a.logo,projection:a.projection});var b=a.tileGrid;this.n=a.tileGrid;this.g=uu;this.p=b.d({extent:a.extent});this.h={};s(a.tileUrlFunction)?(this.g=a.tileUrlFunction,this.k()):s(a.urls)?(this.g=su(a.urls),this.k()):s(a.url)&&(this.g=su(wu(a.url)),this.k())}v(Hv,$u);Hv.prototype.clear=function(){ic(this.h)}; Hv.prototype.Dc=function(a,b,c,d){var e=this.n,f=this.h;b=lg(e.a,b,0);a=Mk(e,a,b);for(var g,e=a.a;e<=a.c;++e)for(g=a.b;g<=a.d;++g){var h=f[b+"/"+e+"/"+g];if(s(h)){var m,n;m=0;for(n=h.length;mp||n<=p)return null;a=a.y;return a<-n||-1f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),f+=f;break;case "truncated":for(;c>f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),c>>=1,d>>=1}e.push([1,1]);e.reverse();for(var f=[1],g=[0],d=1,c=e.length;df&&(f=0);var f=c.styles[f].identifier,g={};wb(c.dimensions,function(a){var b=a.identifier,c=a["default"];s(c)||(c=a.values[0]);g[b]=c});var h=a.contents.tileMatrixSets[d],m=Ov(h),h=bi(h.supportedCRS),n=a.operationsMetadata.GetTile.dcp.http.get,p,q;switch(gc(n[0].constraints.GetEncoding.allowedValues)[0]){case "REST":case "RESTful":q= "REST";p=c.resourceUrls.tile[e];break;case "KVP":q=Pv,p=[],wb(n,function(a){a.constraints.GetEncoding.allowedValues.hasOwnProperty(Pv)&&p.push(a.url)})}return{urls:p,layer:b,matrixSet:d,format:e,projection:h,requestEncoding:q,tileGrid:m,style:f,dimensions:g}});t("ol.source.XYZ",qv);qv.prototype.dispatchChangeEvent=qv.prototype.k;qv.prototype.getState=qv.prototype.a;qv.prototype.getTileGrid=qv.prototype.pa;qv.prototype.on=qv.prototype.t;qv.prototype.once=qv.prototype.u;qv.prototype.setUrl=qv.prototype.b; qv.prototype.un=qv.prototype.v;qv.prototype.unByKey=qv.prototype.w;t("ol.source.Zoomify",Tv);Tv.prototype.dispatchChangeEvent=Tv.prototype.k;Tv.prototype.getState=Tv.prototype.a;Tv.prototype.getTileGrid=Tv.prototype.pa;Tv.prototype.on=Tv.prototype.t;Tv.prototype.once=Tv.prototype.u;Tv.prototype.un=Tv.prototype.v;Tv.prototype.unByKey=Tv.prototype.w;t("ol.sphere.WGS84",Zn);t("ol.style.Circle",Pi);Pi.prototype.getAnchor=Pi.prototype.jc;Pi.prototype.getFill=Pi.prototype.ih;Pi.prototype.getImage=Pi.prototype.qc; Pi.prototype.getRadius=Pi.prototype.jh;Pi.prototype.getRotation=Pi.prototype.g;Pi.prototype.getScale=Pi.prototype.i;Pi.prototype.getSize=Pi.prototype.Ob;Pi.prototype.getStroke=Pi.prototype.kh;t("ol.style.Fill",Mi);Mi.prototype.getColor=Mi.prototype.d;t("ol.style.Icon",al);al.prototype.getAnchor=al.prototype.jc;al.prototype.getImage=al.prototype.qc;al.prototype.getRotation=al.prototype.g;al.prototype.getScale=al.prototype.i;al.prototype.getSize=al.prototype.Ob;al.prototype.getSrc=al.prototype.lh; t("ol.style.Image",Ni);Ni.prototype.getRotation=Ni.prototype.g;Ni.prototype.getScale=Ni.prototype.i;t("ol.style.Stroke",Oi);Oi.prototype.getColor=Oi.prototype.mh;Oi.prototype.getLineCap=Oi.prototype.zf;Oi.prototype.getLineDash=Oi.prototype.nh;Oi.prototype.getLineJoin=Oi.prototype.Af;Oi.prototype.getMiterLimit=Oi.prototype.Bf;Oi.prototype.getWidth=Oi.prototype.oh;t("ol.style.Style",Qi);Qi.prototype.getFill=Qi.prototype.ph;Qi.prototype.getImage=Qi.prototype.qh;Qi.prototype.getStroke=Qi.prototype.rh; Qi.prototype.getText=Qi.prototype.sh;Qi.prototype.getZIndex=Qi.prototype.If;t("ol.style.Text",Vv);Vv.prototype.getFill=Vv.prototype.th;Vv.prototype.getFont=Vv.prototype.vf;Vv.prototype.getRotation=Vv.prototype.uh;Vv.prototype.getScale=Vv.prototype.vh;Vv.prototype.getStroke=Vv.prototype.wh;Vv.prototype.getText=Vv.prototype.xh;Vv.prototype.getTextAlign=Vv.prototype.Df;Vv.prototype.getTextBaseline=Vv.prototype.Ef;t("ol.tilegrid.TileGrid",Jk);Jk.prototype.getMinZoom=Jk.prototype.Ic; Jk.prototype.getOrigin=Jk.prototype.lb;Jk.prototype.getResolution=Jk.prototype.ga;Jk.prototype.getTileSize=Jk.prototype.la;t("ol.tilegrid.WMTS",Nv);Nv.prototype.getMatrixIds=Nv.prototype.i;Nv.prototype.getMinZoom=Nv.prototype.Ic;Nv.prototype.getOrigin=Nv.prototype.lb;Nv.prototype.getResolution=Nv.prototype.ga;Nv.prototype.getTileSize=Nv.prototype.la;t("ol.tilegrid.XYZ",Bu);Bu.prototype.getMinZoom=Bu.prototype.Ic;Bu.prototype.getOrigin=Bu.prototype.lb;Bu.prototype.getResolution=Bu.prototype.ga; Bu.prototype.getTileSize=Bu.prototype.la;t("ol.tilegrid.Zoomify",Sv);Sv.prototype.getMinZoom=Sv.prototype.Ic;Sv.prototype.getOrigin=Sv.prototype.lb;Sv.prototype.getResolution=Sv.prototype.ga;Sv.prototype.getTileSize=Sv.prototype.la;t("ol.webgl.Context",Hn);Hn.prototype.getGL=Hn.prototype.yh;Hn.prototype.useProgram=Hn.prototype.Ad;})();