text: (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"./node_modules/ol/LayerType.js":function(t,e,i){"use strict";e.a={IMAGE:"IMAGE",TILE:"TILE",VECTOR_TILE:"VECTOR_TILE",VECTOR:"VECTOR"}},"./node_modules/ol/Tile.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/TileState.js"),r=i("./node_modules/ol/easing.js"),n=i("./node_modules/ol/events/Target.js"),s=i("./node_modules/ol/events/EventType.js"),a=function(t){function e(e,i,o){t.call(this);var r=o||{};this.tileCoord=e,this.state=i,this.interimTile=null,this.key="",this.transition_=void 0===r.transition?250:r.transition,this.transitionStarts_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.changed=function(){this.dispatchEvent(s.a.CHANGE)},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==o.a.LOADED)return t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==o.a.LOADED){t.interimTile=null;break}t.getState()==o.a.LOADING?e=t:t.getState()==o.a.IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){this.state=t,this.changed()},e.prototype.load=function(){},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;var o=e-i+1e3/60;return o>=this.transition_?1:Object(r.a)(o/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(n.a);e.a=a},"./node_modules/ol/TileCache.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/structs/LRUCache.js"),r=i("./node_modules/ol/tilecoord.js"),n=function(t){function e(e){t.call(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expireCache=function(t){for(;this.canExpireCache();){var e=this.peekLast(),i=e.tileCoord[0].toString();if(i in t&&t[i].contains(e.tileCoord))break;this.pop().dispose()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=Object(r.b)(t)[0];this.forEach((function(t){t.tileCoord[0]!==e&&(this.remove(Object(r.c)(t.tileCoord)),t.dispose())}),this)}},e}(o.a);e.a=n},"./node_modules/ol/TileRange.js":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var o=function(t,e,i,o){this.minX=t,this.maxX=e,this.minY=i,this.maxY=o};function r(t,e,i,r,n){return void 0!==n?(n.minX=t,n.maxX=e,n.minY=i,n.maxY=r,n):new o(t,e,i,r)}o.prototype.contains=function(t){return this.containsXY(t[1],t[2])},o.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},o.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},o.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},o.prototype.extend=function(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)},o.prototype.getHeight=function(){return this.maxY-this.minY+1},o.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},o.prototype.getWidth=function(){return this.maxX-this.minX+1},o.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},e.b=o},"./node_modules/ol/TileState.js":function(t,e,i){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4,ABORT:5}},"./node_modules/ol/dom.js":function(t,e,i){"use strict";function o(t,e){var i=document.createElement("canvas");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function r(t){var e=t.offsetWidth,i=getComputedStyle(t);return e+=parseInt(i.marginLeft,10)+parseInt(i.marginRight,10)}function n(t){var e=t.offsetHeight,i=getComputedStyle(t);return e+=parseInt(i.marginTop,10)+parseInt(i.marginBottom,10)}function s(t,e){var i=e.parentNode;i&&i.replaceChild(t,e)}function a(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function l(t){for(;t.lastChild;)t.removeChild(t.lastChild)}i.d(e,"a",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return n})),i.d(e,"f",(function(){return s})),i.d(e,"e",(function(){return a})),i.d(e,"d",(function(){return l}))},"./node_modules/ol/layer/Base.js":function(t,e,i){"use strict";i.r(e);var o=i("./node_modules/ol/util.js"),r=i("./node_modules/ol/Object.js"),n=i("./node_modules/ol/layer/Property.js"),s=i("./node_modules/ol/math.js"),a=i("./node_modules/ol/obj.js"),l=function(t){function e(e){t.call(this);var i=Object(a.a)({},e);i[n.a.OPACITY]=void 0!==e.opacity?e.opacity:1,i[n.a.VISIBLE]=void 0===e.visible||e.visible,i[n.a.Z_INDEX]=e.zIndex,i[n.a.MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,i[n.a.MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,this.setProperties(i),this.state_=null,this.type}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getType=function(){return this.type},e.prototype.getLayerState=function(){var t=this.state_||{layer:this,managed:!0};return t.opacity=Object(s.a)(this.getOpacity(),0,1),t.sourceState=this.getSourceState(),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=this.getZIndex()||0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),this.state_=t,t},e.prototype.getLayersArray=function(t){return Object(o.b)()},e.prototype.getLayerStatesArray=function(t){return Object(o.b)()},e.prototype.getExtent=function(){return this.get(n.a.EXTENT)},e.prototype.getMaxResolution=function(){return this.get(n.a.MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(n.a.MIN_RESOLUTION)},e.prototype.getOpacity=function(){return this.get(n.a.OPACITY)},e.prototype.getSourceState=function(){return Object(o.b)()},e.prototype.getVisible=function(){return this.get(n.a.VISIBLE)},e.prototype.getZIndex=function(){return this.get(n.a.Z_INDEX)},e.prototype.setExtent=function(t){this.set(n.a.EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(n.a.MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(n.a.MIN_RESOLUTION,t)},e.prototype.setOpacity=function(t){this.set(n.a.OPACITY,t)},e.prototype.setVisible=function(t){this.set(n.a.VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(n.a.Z_INDEX,t)},e}(r.a);e.default=l},"./node_modules/ol/layer/Layer.js":function(t,e,i){"use strict";i.d(e,"b",(function(){return p}));var o=i("./node_modules/ol/events.js"),r=i("./node_modules/ol/events/EventType.js"),n=i("./node_modules/ol/util.js"),s=i("./node_modules/ol/Object.js"),a=i("./node_modules/ol/layer/Base.js"),l=i("./node_modules/ol/layer/Property.js"),u=i("./node_modules/ol/obj.js"),c=i("./node_modules/ol/render/EventType.js"),h=i("./node_modules/ol/source/State.js"),d=function(t){function e(e){var i=Object(u.a)({},e);delete i.source,t.call(this,i),this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,e.map&&this.setMap(e.map),Object(o.a)(this,Object(s.b)(l.a.SOURCE),this.handleSourcePropertyChange_,this);var r=e.source?e.source:null;this.setSource(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(l.a.SOURCE)||null},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():h.a.UNDEFINED},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(o.e)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(o.a)(t,r.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(o.e)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(o.e)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(o.a)(t,c.a.PRECOMPOSE,(function(t){var e=t,i=this.getLayerState();i.managed=!1,void 0===this.getZIndex()&&(i.zIndex=1/0),e.frameState.layerStatesArray.push(i),e.frameState.layerStates[Object(n.c)(this)]=i}),this),this.mapRenderKey_=Object(o.a)(this,r.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(l.a.SOURCE,t)},e}(a.default);function p(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}e.a=d},"./node_modules/ol/layer/Property.js":function(t,e,i){"use strict";e.a={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",SOURCE:"source"}},"./node_modules/ol/render/EventType.js":function(t,e,i){"use strict";e.a={POSTCOMPOSE:"postcompose",PRECOMPOSE:"precompose",RENDER:"render",RENDERCOMPLETE:"rendercomplete"}},"./node_modules/ol/reproj.js":function(t,e,i){"use strict";i.d(e,"a",(function(){return a})),i.d(e,"b",(function(){return u}));var o=i("./node_modules/ol/dom.js"),r=i("./node_modules/ol/extent.js"),n=i("./node_modules/ol/math.js"),s=i("./node_modules/ol/proj.js");function a(t,e,i,o){var n=Object(s.l)(i,e,t),a=Object(s.g)(e,o,i),l=e.getMetersPerUnit();void 0!==l&&(a*=l);var u=t.getMetersPerUnit();void 0!==u&&(a/=u);var c=t.getExtent();if(!c||Object(r.f)(c,n)){var h=Object(s.g)(t,a,n)/a;isFinite(h)&&h>0&&(a/=h)}return a}function l(t,e,i,o){var r=i-t,n=o-e,s=Math.sqrt(r*r+n*n);return[Math.round(i+r/s),Math.round(o+n/s)]}function u(t,e,i,s,a,u,c,h,d,p,_){var f=Object(o.a)(Math.round(i*t),Math.round(i*e));if(0===d.length)return f.canvas;f.scale(i,i);var g=Object(r.j)();d.forEach((function(t,e,i){Object(r.q)(g,t.extent)}));var m=Object(r.E)(g),j=Object(r.A)(g),y=Object(o.a)(Math.round(i*m/s),Math.round(i*j/s)),v=i/s;d.forEach((function(t,e,i){var o=t.extent[0]-g[0],n=-(t.extent[3]-g[3]),s=Object(r.E)(t.extent),a=Object(r.A)(t.extent);y.drawImage(t.image,p,p,t.image.width-2*p,t.image.height-2*p,o*v,n*v,s*v,a*v)}));var b=Object(r.C)(c);return h.getTriangles().forEach((function(t,e,o){var r=t.source,a=t.target,c=r[0][0],h=r[0][1],d=r[1][0],p=r[1][1],_=r[2][0],m=r[2][1],j=(a[0][0]-b[0])/u,v=-(a[0][1]-b[1])/u,O=(a[1][0]-b[0])/u,T=-(a[1][1]-b[1])/u,E=(a[2][0]-b[0])/u,C=-(a[2][1]-b[1])/u,x=c,S=h;c=0,h=0;var R=[[d-=x,p-=S,0,0,O-j],[_-=x,m-=S,0,0,E-j],[0,0,d,p,T-v],[0,0,_,m,C-v]],I=Object(n.e)(R);if(I){f.save(),f.beginPath();var P=(j+O+E)/3,F=(v+T+C)/3,L=l(P,F,j,v),w=l(P,F,O,T),A=l(P,F,E,C);f.moveTo(w[0],w[1]),f.lineTo(L[0],L[1]),f.lineTo(A[0],A[1]),f.clip(),f.transform(I[0],I[2],I[1],I[3],j,v),f.translate(g[0]-x,g[3]-S),f.scale(s/i,-s/i),f.drawImage(y.canvas,0,0),f.restore()}})),_&&(f.save(),f.strokeStyle="black",f.lineWidth=1,h.getTriangles().forEach((function(t,e,i){var o=t.target,r=(o[0][0]-b[0])/u,n=-(o[0][1]-b[1])/u,s=(o[1][0]-b[0])/u,a=-(o[1][1]-b[1])/u,l=(o[2][0]-b[0])/u,c=-(o[2][1]-b[1])/u;f.beginPath(),f.moveTo(s,a),f.lineTo(r,n),f.lineTo(l,c),f.closePath(),f.stroke()})),f.restore()),f.canvas}},"./node_modules/ol/reproj/Triangulation.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/extent.js"),r=i("./node_modules/ol/math.js"),n=i("./node_modules/ol/proj.js"),s=function(t,e,i,r,s){this.sourceProj_=t,this.targetProj_=e;var a={},l=Object(n.h)(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return a[e]||(a[e]=l(t)),a[e]},this.maxSourceExtent_=r,this.errorThresholdSquared_=s*s,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!r&&!!this.sourceProj_.getExtent()&&Object(o.E)(r)==Object(o.E)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(o.E)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(o.E)(this.targetProj_.getExtent()):null;var u=Object(o.C)(i),c=Object(o.D)(i),h=Object(o.w)(i),d=Object(o.v)(i),p=this.transformInv_(u),_=this.transformInv_(c),f=this.transformInv_(h),g=this.transformInv_(d);if(this.addQuad_(u,c,h,d,p,_,f,g,10),this.wrapsXInSource_){var m=1/0;this.triangles_.forEach((function(t,e,i){m=Math.min(m,t.source[0][0],t.source[1][0],t.source[2][0])})),this.triangles_.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-m>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-m>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-m>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-m>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var i=Math.min(e[0][0],e[1][0],e[2][0]);Math.max(e[0][0],e[1][0],e[2][0])-i<this.sourceWorldWidth_/2&&(t.source=e)}}.bind(this))}a={}};s.prototype.addTriangle_=function(t,e,i,o,r,n){this.triangles_.push({source:[o,r,n],target:[t,e,i]})},s.prototype.addQuad_=function(t,e,i,n,s,a,l,u,c){var h=Object(o.b)([s,a,l,u]),d=this.sourceWorldWidth_?Object(o.E)(h)/this.sourceWorldWidth_:null,p=this.sourceWorldWidth_,_=this.sourceProj_.canWrapX()&&d>.5&&d<1,f=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Object(o.b)([t,e,i,n]);f=Object(o.E)(g)/this.targetWorldWidth_>.25||f}!_&&this.sourceProj_.isGlobal()&&d&&(f=d>.25||f)}if(f||!this.maxSourceExtent_||Object(o.F)(h,this.maxSourceExtent_)){if(!(f||isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(l[0])&&isFinite(l[1])&&isFinite(u[0])&&isFinite(u[1]))){if(!(c>0))return;f=!0}if(c>0){if(!f){var m,j=[(t[0]+i[0])/2,(t[1]+i[1])/2],y=this.transformInv_(j);if(_)m=(Object(r.d)(s[0],p)+Object(r.d)(l[0],p))/2-Object(r.d)(y[0],p);else m=(s[0]+l[0])/2-y[0];var v=(s[1]+l[1])/2-y[1];f=m*m+v*v>this.errorThresholdSquared_}if(f){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){var b=[(e[0]+i[0])/2,(e[1]+i[1])/2],O=this.transformInv_(b),T=[(n[0]+t[0])/2,(n[1]+t[1])/2],E=this.transformInv_(T);this.addQuad_(t,e,b,T,s,a,O,E,c-1),this.addQuad_(T,b,i,n,E,O,l,u,c-1)}else{var C=[(t[0]+e[0])/2,(t[1]+e[1])/2],x=this.transformInv_(C),S=[(i[0]+n[0])/2,(i[1]+n[1])/2],R=this.transformInv_(S);this.addQuad_(t,C,S,n,s,x,R,u,c-1),this.addQuad_(C,e,i,S,x,a,l,R,c-1)}return}}if(_){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}this.addTriangle_(t,i,n,s,l,u),this.addTriangle_(t,e,i,s,a,l)}},s.prototype.calculateSourceExtent=function(){var t=Object(o.j)();return this.triangles_.forEach((function(e,i,r){var n=e.source;Object(o.r)(t,n[0]),Object(o.r)(t,n[1]),Object(o.r)(t,n[2])})),t},s.prototype.getTriangles=function(){return this.triangles_},e.a=s},"./node_modules/ol/reproj/common.js":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return r}));var o=.5,r=!0},"./node_modules/ol/size.js":function(t,e,i){"use strict";function o(t,e,i){return void 0===i&&(i=[0,0]),i[0]=t[0]+2*e,i[1]=t[1]+2*e,i}function r(t){return t[0]>0&&t[1]>0}function n(t,e,i){return void 0===i&&(i=[0,0]),i[0]=t[0]*e+.5|0,i[1]=t[1]*e+.5|0,i}function s(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:e[0]=e[1]=t,e)}i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"d",(function(){return s}))},"./node_modules/ol/source/Source.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/util.js"),r=i("./node_modules/ol/Object.js"),n=i("./node_modules/ol/proj.js"),s=i("./node_modules/ol/source/State.js"),a=function(t){function e(e){t.call(this),this.projection_=Object(n.f)(e.projection),this.attributions_=l(e.attributions),this.attributionsCollapsible_=void 0===e.attributionsCollapsible||e.attributionsCollapsible,this.loading=!1,this.state_=void 0!==e.state?e.state:s.a.READY,this.wrapX_=void 0!==e.wrapX&&e.wrapX}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAttributions=function(){return this.attributions_},e.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolutions=function(){return Object(o.b)()},e.prototype.getState=function(){return this.state_},e.prototype.getWrapX=function(){return this.wrapX_},e.prototype.refresh=function(){this.changed()},e.prototype.setAttributions=function(t){this.attributions_=l(t),this.changed()},e.prototype.setState=function(t){this.state_=t,this.changed()},e}(r.a);function l(t){return t?Array.isArray(t)?function(e){return t}:"function"==typeof t?t:function(e){return[t]}:null}e.a=a},"./node_modules/ol/source/State.js":function(t,e,i){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},"./node_modules/ol/source/TileImage.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/reproj/common.js"),r=i("./node_modules/ol/util.js"),n=i("./node_modules/ol/Tile.js"),s=i("./node_modules/ol/TileState.js"),a=i("./node_modules/ol/dom.js"),l=i("./node_modules/ol/events.js"),u=i("./node_modules/ol/events/EventType.js");function c(){var t=Object(a.a)(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}var h=function(t){function e(e,i,o,r,n,s){t.call(this,e,i,s),this.crossOrigin_=r,this.src_=o,this.image_=new Image,null!==r&&(this.image_.crossOrigin=r),this.imageListenerKeys_=null,this.tileLoadFunction_=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s.a.LOADING&&(this.unlistenImage_(),this.image_=c()),this.interimTile&&this.interimTile.dispose(),this.state=s.a.ABORT,this.changed(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.image_},e.prototype.getKey=function(){return this.src_},e.prototype.handleImageError_=function(){this.state=s.a.ERROR,this.unlistenImage_(),this.image_=c(),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=s.a.LOADED:this.state=s.a.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==s.a.ERROR&&(this.state=s.a.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==s.a.IDLE&&(this.state=s.a.LOADING,this.changed(),this.imageListenerKeys_=[Object(l.b)(this.image_,u.a.ERROR,this.handleImageError_,this),Object(l.b)(this.image_,u.a.LOAD,this.handleImageLoad_,this)],this.tileLoadFunction_(this,this.src_))},e.prototype.unlistenImage_=function(){this.imageListenerKeys_.forEach(l.e),this.imageListenerKeys_=null},e}(n.a),d=i("./node_modules/ol/TileCache.js"),p=i("./node_modules/ol/proj.js"),_=i("./node_modules/ol/extent.js"),f=i("./node_modules/ol/math.js"),g=i("./node_modules/ol/reproj.js"),m=i("./node_modules/ol/reproj/Triangulation.js"),j=function(t){function e(e,i,r,n,a,l,u,c,h,d,p){t.call(this,a,s.a.IDLE),this.renderEdges_=void 0!==p&&p,this.pixelRatio_=u,this.gutter_=c,this.canvas_=null,this.sourceTileGrid_=i,this.targetTileGrid_=n,this.wrappedTileCoord_=l||a,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;var j=n.getTileCoordExtent(this.wrappedTileCoord_),y=this.targetTileGrid_.getExtent(),v=this.sourceTileGrid_.getExtent(),b=y?Object(_.B)(j,y):j;if(0!==Object(_.u)(b)){var O=e.getExtent();O&&(v=v?Object(_.B)(v,O):O);var T=n.getResolution(this.wrappedTileCoord_[0]),E=Object(_.x)(b),C=Object(g.a)(e,r,E,T);if(!isFinite(C)||C<=0)this.state=s.a.EMPTY;else{var x=void 0!==d?d:o.b;if(this.triangulation_=new m.a(e,r,b,v,C*x),0!==this.triangulation_.getTriangles().length){this.sourceZ_=i.getZForResolution(C);var S=this.triangulation_.calculateSourceExtent();if(v&&(e.canWrapX()?(S[1]=Object(f.a)(S[1],v[1],v[3]),S[3]=Object(f.a)(S[3],v[1],v[3])):S=Object(_.B)(S,v)),Object(_.u)(S)){for(var R=i.getTileRangeForExtentAndZ(S,this.sourceZ_),I=R.minX;I<=R.maxX;I++)for(var P=R.minY;P<=R.maxY;P++){var F=h(this.sourceZ_,I,P,u);F&&this.sourceTiles_.push(F)}0===this.sourceTiles_.length&&(this.state=s.a.EMPTY)}else this.state=s.a.EMPTY}else this.state=s.a.EMPTY}}else this.state=s.a.EMPTY}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.disposeInternal=function(){this.state==s.a.LOADING&&this.unlistenSources_(),t.prototype.disposeInternal.call(this)},e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach(function(e,i,o){e&&e.getState()==s.a.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=s.a.ERROR;else{var e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),o="number"==typeof i?i:i[0],r="number"==typeof i?i:i[1],n=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(g.b)(o,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),n,l,this.triangulation_,t,this.gutter_,this.renderEdges_),this.state=s.a.LOADED}this.changed()},e.prototype.load=function(){if(this.state==s.a.IDLE){this.state=s.a.LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(e,i,o){var r=e.getState();if(r==s.a.IDLE||r==s.a.LOADING){t++;var n=Object(l.a)(e,u.a.CHANGE,(function(i){var o=e.getState();o!=s.a.LOADED&&o!=s.a.ERROR&&o!=s.a.EMPTY||(Object(l.e)(n),0===--t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(n)}}.bind(this)),this.sourceTiles_.forEach((function(t,e,i){t.getState()==s.a.IDLE&&t.load()})),0===t&&setTimeout(this.reproject_.bind(this),0)}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(l.e),this.sourcesListenerKeys_=null},e}(n.a),y=i("./node_modules/ol/source/UrlTile.js"),v=i("./node_modules/ol/tilecoord.js"),b=i("./node_modules/ol/tilegrid.js"),O=function(t){function e(e){t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:T,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible}),this.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,this.tileClass=void 0!==e.tileClass?e.tileClass:h,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.canExpireCache=function(){if(!o.a)return t.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var e in this.tileCacheForProjection)if(this.tileCacheForProjection[e].canExpireCache())return!0;return!1},e.prototype.expireCache=function(e,i){if(o.a){var r=this.getTileCacheForProjection(e);for(var n in this.tileCache.expireCache(this.tileCache==r?i:{}),this.tileCacheForProjection){var s=this.tileCacheForProjection[n];s.expireCache(s==r?i:{})}}else t.prototype.expireCache.call(this,e,i)},e.prototype.getGutterForProjection=function(t){return o.a&&this.getProjection()&&t&&!Object(p.e)(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getOpaque=function(e){return!(o.a&&this.getProjection()&&e&&!Object(p.e)(this.getProjection(),e))&&t.prototype.getOpaque.call(this,e)},e.prototype.getTileGridForProjection=function(e){if(!o.a)return t.prototype.getTileGridForProjection.call(this,e);var i=this.getProjection();if(!this.tileGrid||i&&!Object(p.e)(i,e)){var n=Object(r.c)(e);return n in this.tileGridForProjection||(this.tileGridForProjection[n]=Object(b.d)(e)),this.tileGridForProjection[n]}return this.tileGrid},e.prototype.getTileCacheForProjection=function(e){if(!o.a)return t.prototype.getTileCacheForProjection.call(this,e);var i=this.getProjection();if(!i||Object(p.e)(i,e))return this.tileCache;var n=Object(r.c)(e);return n in this.tileCacheForProjection||(this.tileCacheForProjection[n]=new d.a(this.tileCache.highWaterMark)),this.tileCacheForProjection[n]},e.prototype.createTile_=function(t,e,i,o,r,n){var a=[t,e,i],c=this.getTileCoordForTileUrlFunction(a,r),h=c?this.tileUrlFunction(c,o,r):void 0,d=new this.tileClass(a,void 0!==h?s.a.IDLE:s.a.EMPTY,void 0!==h?h:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return d.key=n,Object(l.a)(d,u.a.CHANGE,this.handleTileChange,this),d},e.prototype.getTile=function(t,e,i,r,n){var s=this.getProjection();if(o.a&&s&&n&&!Object(p.e)(s,n)){var a,l=this.getTileCacheForProjection(n),u=[t,e,i],c=Object(v.c)(u);l.containsKey(c)&&(a=l.get(c));var h=this.getKey();if(a&&a.key==h)return a;var d=this.getTileGridForProjection(s),_=this.getTileGridForProjection(n),f=this.getTileCoordForTileUrlFunction(u,n),g=new j(s,d,n,_,u,f,this.getTilePixelRatio(r),this.getGutter(),function(t,e,i,o){return this.getTileInternal(t,e,i,o,s)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_);return g.key=h,a?(g.interimTile=a,g.refreshInterimChain(),l.replace(c,g)):l.set(c,g),g}return this.getTileInternal(t,e,i,r,s||n)},e.prototype.getTileInternal=function(t,e,i,o,r){var n=null,a=Object(v.d)(t,e,i),l=this.getKey();if(this.tileCache.containsKey(a)){if((n=this.tileCache.get(a)).key!=l){var u=n;n=this.createTile_(t,e,i,o,r,l),u.getState()==s.a.IDLE?n.interimTile=u.interimTile:n.interimTile=u,n.refreshInterimChain(),this.tileCache.replace(a,n)}}else n=this.createTile_(t,e,i,o,r,l),this.tileCache.set(a,n);return n},e.prototype.setRenderReprojectionEdges=function(t){if(o.a&&this.renderReprojectionEdges_!=t){for(var e in this.renderReprojectionEdges_=t,this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,e){if(o.a){var i=Object(p.f)(t);if(i){var n=Object(r.c)(i);n in this.tileGridForProjection||(this.tileGridForProjection[n]=e)}}},e}(y.a);function T(t,e){t.getImage().src=e}e.a=O},"./node_modules/ol/source/UrlTile.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/util.js"),r=i("./node_modules/ol/TileState.js"),n=i("./node_modules/ol/tileurlfunction.js"),s=i("./node_modules/ol/TileCache.js"),a=i("./node_modules/ol/events/Event.js"),l=i("./node_modules/ol/proj.js"),u=i("./node_modules/ol/size.js"),c=i("./node_modules/ol/source/Source.js"),h=i("./node_modules/ol/tilecoord.js"),d=i("./node_modules/ol/tilegrid.js"),p=function(t){function e(e){t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX}),this.opaque_=void 0!==e.opaque&&e.opaque,this.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,this.tileGrid=void 0!==e.tileGrid?e.tileGrid:null,this.tileCache=new s.a(e.cacheSize),this.tmpSize=[0,0],this.key_=e.key||"",this.tileOptions={transition:e.transition}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var i=this.getTileCacheForProjection(t);i&&i.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,i,o){var n=this.getTileCacheForProjection(t);if(!n)return!1;for(var s,a,l,u=!0,c=i.minX;c<=i.maxX;++c)for(var d=i.minY;d<=i.maxY;++d)a=Object(h.d)(e,c,d),l=!1,n.containsKey(a)&&(l=(s=n.get(a)).getState()===r.a.LOADED)&&(l=!1!==o(s)),l||(u=!1);return u},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},e.prototype.getTile=function(t,e,i,r,n){return Object(o.b)()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:Object(d.d)(t)},e.prototype.getTileCacheForProjection=function(t){var e=this.getProjection();return e&&!Object(l.e)(e,t)?null:this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,i){var o=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),n=Object(u.d)(o.getTileSize(t),this.tmpSize);return 1==r?n:Object(u.c)(n,r,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var i=void 0!==e?e:this.getProjection(),o=this.getTileGridForProjection(i);return this.getWrapX()&&i.isGlobal()&&(t=Object(d.e)(o,t,i)),Object(h.g)(t,o)?t:null},e.prototype.refresh=function(){this.tileCache.clear(),this.changed()},e.prototype.useTile=function(t,e,i,o){},e}(c.a),_=function(t){function e(e,i){t.call(this,e),this.tile=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a.a),f="tileloadstart",g="tileloadend",m="tileloaderror",j=function(t){function e(e){t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX,transition:e.transition,key:e.key,attributionsCollapsible:e.attributionsCollapsible}),this.generateTileUrlFunction_=!e.tileUrlFunction,this.tileLoadFunction=e.tileLoadFunction,this.tileUrlFunction=e.tileUrlFunction?e.tileUrlFunction.bind(this):n.d,this.urls=null,e.urls?this.setUrls(e.urls):e.url&&this.setUrl(e.url),e.tileUrlFunction&&this.setTileUrlFunction(e.tileUrlFunction,this.key_),this.tileLoadingKeys_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,i=t.target,n=Object(o.c)(i),s=i.getState();s==r.a.LOADING?(this.tileLoadingKeys_[n]=!0,e=f):n in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[n],e=s==r.a.ERROR?m:s==r.a.LOADED||s==r.a.ABORT?g:void 0),null!=e&&this.dispatchEvent(new _(e,i))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),void 0!==e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=this.urls=Object(n.c)(t);this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(Object(n.a)(t,this.tileGrid),e):this.setKey(e)},e.prototype.useTile=function(t,e,i){var o=Object(h.d)(t,e,i);this.tileCache.containsKey(o)&&this.tileCache.get(o)},e}(p);e.a=j},"./node_modules/ol/structs/LRUCache.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/asserts.js"),r=i("./node_modules/ol/events/Target.js"),n=i("./node_modules/ol/events/EventType.js"),s=function(t){function e(e){t.call(this),this.highWaterMark=void 0!==e?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.canExpireCache=function(){return this.getCount()>this.highWaterMark},e.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null,this.dispatchEvent(n.a.CLEAR)},e.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},e.prototype.forEach=function(t,e){for(var i=this.oldest_;i;)t.call(e,i.value_,i.key_,this),i=i.newer},e.prototype.get=function(t){var e=this.entries_[t];return Object(o.a)(void 0!==e,15),e===this.newest_||(e===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(e.newer.older=e.older,e.older.newer=e.newer),e.newer=null,e.older=this.newest_,this.newest_.newer=e,this.newest_=e),e.value_},e.prototype.remove=function(t){var e=this.entries_[t];return Object(o.a)(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},e.prototype.getCount=function(){return this.count_},e.prototype.getKeys=function(){var t,e=new Array(this.count_),i=0;for(t=this.newest_;t;t=t.older)e[i++]=t.key_;return e},e.prototype.getValues=function(){var t,e=new Array(this.count_),i=0;for(t=this.newest_;t;t=t.older)e[i++]=t.value_;return e},e.prototype.peekLast=function(){return this.oldest_.value_},e.prototype.peekLastKey=function(){return this.oldest_.key_},e.prototype.peekFirstKey=function(){return this.newest_.key_},e.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},e.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},e.prototype.set=function(t,e){Object(o.a)(!(t in this.entries_),16);var i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_},e.prototype.setSize=function(t){this.highWaterMark=t},e.prototype.prune=function(){for(;this.canExpireCache();)this.pop()},e}(r.a);e.a=s},"./node_modules/ol/tilecoord.js":function(t,e,i){"use strict";function o(t,e,i,o){return void 0!==o?(o[0]=t,o[1]=e,o[2]=i,o):[t,e,i]}function r(t,e,i){return t+"/"+e+"/"+i}function n(t){return r(t[0],t[1],t[2])}function s(t){return t.split("/").map(Number)}function a(t){return(t[1]<<t[0])+t[2]}function l(t){var e,i,o=t[0],r=new Array(o),n=1<<o-1;for(e=0;e<o;++e)i=48,t[1]&n&&(i+=1),t[2]&n&&(i+=2),r[e]=String.fromCharCode(i),n>>=1;return r.join("")}function u(t,e){var i=t[0],o=t[1],r=t[2];if(e.getMinZoom()>i||i>e.getMaxZoom())return!1;var n,s=e.getExtent();return!(n=s?e.getTileRangeForExtentAndZ(s,i):e.getFullTileRange(i))||n.containsXY(o,r)}i.d(e,"a",(function(){return o})),i.d(e,"d",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return s})),i.d(e,"e",(function(){return a})),i.d(e,"f",(function(){return l})),i.d(e,"g",(function(){return u}))},"./node_modules/ol/tilegrid.js":function(t,e,i){"use strict";i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return h})),i.d(e,"b",(function(){return d})),i.d(e,"a",(function(){return _})),i.d(e,"c",(function(){return f}));var o=i("./node_modules/ol/tilegrid/common.js"),r=i("./node_modules/ol/size.js"),n=i("./node_modules/ol/extent.js"),s=i("./node_modules/ol/extent/Corner.js"),a=i("./node_modules/ol/proj.js"),l=i("./node_modules/ol/proj/Units.js"),u=i("./node_modules/ol/tilegrid/TileGrid.js");function c(t){var e=t.getDefaultTileGrid();return e||(e=_(t),t.setDefaultTileGrid(e)),e}function h(t,e,i){var o=e[0],r=t.getTileCoordCenter(e),s=f(i);if(Object(n.f)(s,r))return e;var a=Object(n.E)(s),l=Math.ceil((s[0]-r[0])/a);return r[0]+=a*l,t.getTileCoordForCoordAndZ(r,o)}function d(t){var e=t||{},i=e.extent||Object(a.f)("EPSG:3857").getExtent(),o={extent:i,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:p(i,e.maxZoom,e.tileSize)};return new u.a(o)}function p(t,e,i){for(var s=void 0!==e?e:o.a,a=Object(n.A)(t),l=Object(n.E)(t),u=Object(r.d)(void 0!==i?i:o.b),c=Math.max(l/u[0],a/u[1]),h=s+1,d=new Array(h),p=0;p<h;++p)d[p]=c/Math.pow(2,p);return d}function _(t,e,i,o){return function(t,e,i,o){var r=void 0!==o?o:s.a.TOP_LEFT,a=p(t,e,i);return new u.a({extent:t,origin:Object(n.y)(t,r),resolutions:a,tileSize:i})}(f(t),e,i,o)}function f(t){var e=(t=Object(a.f)(t)).getExtent();if(!e){var i=180*l.METERS_PER_UNIT[l.default.DEGREES]/t.getMetersPerUnit();e=Object(n.k)(-i,-i,i,i)}return e}},"./node_modules/ol/tilegrid/TileGrid.js":function(t,e,i){"use strict";var o=i("./node_modules/ol/tilegrid/common.js"),r=i("./node_modules/ol/asserts.js"),n=i("./node_modules/ol/TileRange.js"),s=i("./node_modules/ol/array.js"),a=i("./node_modules/ol/extent.js"),l=i("./node_modules/ol/math.js"),u=i("./node_modules/ol/size.js"),c=i("./node_modules/ol/tilecoord.js"),h=[0,0,0],d=function(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(r.a)(Object(s.g)(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(var i=0,l=this.resolutions_.length-1;i<l;++i)if(e){if(this.resolutions_[i]/this.resolutions_[i+1]!==e){e=void 0;break}}else e=this.resolutions_[i]/this.resolutions_[i+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Object(r.a)(this.origins_.length==this.resolutions_.length,20));var u=t.extent;void 0===u||this.origin_||this.origins_||(this.origin_=Object(a.C)(u)),Object(r.a)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Object(r.a)(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:o.b,Object(r.a)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==u?u:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((function(t,e){return new n.b(Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1))}),this):u&&this.calculateTileRanges_(u)};d.prototype.forEachTileCoord=function(t,e,i){for(var o=this.getTileRangeForExtentAndZ(t,e),r=o.minX,n=o.maxX;r<=n;++r)for(var s=o.minY,a=o.maxY;s<=a;++s)i([e,r,s])},d.prototype.forEachTileCoordParentTileRange=function(t,e,i,o,r){var s,a,l,u=null,c=t[0]-1;for(2===this.zoomFactor_?(a=t[1],l=t[2]):u=this.getTileCoordExtent(t,r);c>=this.minZoom;){if(2===this.zoomFactor_?(a=Math.floor(a/2),l=Math.floor(l/2),s=Object(n.a)(a,a,l,l,o)):s=this.getTileRangeForExtentAndZ(u,c,o),e.call(i,c,s))return!0;--c}return!1},d.prototype.getExtent=function(){return this.extent_},d.prototype.getMaxZoom=function(){return this.maxZoom},d.prototype.getMinZoom=function(){return this.minZoom},d.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},d.prototype.getResolution=function(t){return this.resolutions_[t]},d.prototype.getResolutions=function(){return this.resolutions_},d.prototype.getTileCoordChildTileRange=function(t,e,i){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){var o=2*t[1],r=2*t[2];return Object(n.a)(o,o+1,r,r+1,e)}var s=this.getTileCoordExtent(t,i);return this.getTileRangeForExtentAndZ(s,t[0]+1,e)}return null},d.prototype.getTileRangeExtent=function(t,e,i){var o=this.getOrigin(t),r=this.getResolution(t),n=Object(u.d)(this.getTileSize(t),this.tmpSize_),s=o[0]+e.minX*n[0]*r,l=o[0]+(e.maxX+1)*n[0]*r,c=o[1]+e.minY*n[1]*r,h=o[1]+(e.maxY+1)*n[1]*r;return Object(a.k)(s,c,l,h,i)},d.prototype.getTileRangeForExtentAndZ=function(t,e,i){var o=h;this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,o);var r=o[1],s=o[2];return this.getTileCoordForXYAndZ_(t[2],t[3],e,!0,o),Object(n.a)(r,o[1],s,o[2],i)},d.prototype.getTileCoordCenter=function(t){var e=this.getOrigin(t[0]),i=this.getResolution(t[0]),o=Object(u.d)(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*o[0]*i,e[1]+(t[2]+.5)*o[1]*i]},d.prototype.getTileCoordExtent=function(t,e){var i=this.getOrigin(t[0]),o=this.getResolution(t[0]),r=Object(u.d)(this.getTileSize(t[0]),this.tmpSize_),n=i[0]+t[1]*r[0]*o,s=i[1]+t[2]*r[1]*o,l=n+r[0]*o,c=s+r[1]*o;return Object(a.k)(n,s,l,c,e)},d.prototype.getTileCoordForCoordAndResolution=function(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)},d.prototype.getTileCoordForXYAndResolution_=function(t,e,i,o,r){var n=this.getZForResolution(i),s=i/this.getResolution(n),a=this.getOrigin(n),l=Object(u.d)(this.getTileSize(n),this.tmpSize_),h=o?.5:0,d=o?0:.5,p=Math.floor((t-a[0])/i+h),_=Math.floor((e-a[1])/i+d),f=s*p/l[0],g=s*_/l[1];return o?(f=Math.ceil(f)-1,g=Math.ceil(g)-1):(f=Math.floor(f),g=Math.floor(g)),Object(c.a)(n,f,g,r)},d.prototype.getTileCoordForXYAndZ_=function(t,e,i,o,r){var n=this.getOrigin(i),s=this.getResolution(i),a=Object(u.d)(this.getTileSize(i),this.tmpSize_),l=o?.5:0,h=o?0:.5,d=Math.floor((t-n[0])/s+l),p=Math.floor((e-n[1])/s+h),_=d/a[0],f=p/a[1];return o?(_=Math.ceil(_)-1,f=Math.ceil(f)-1):(_=Math.floor(_),f=Math.floor(f)),Object(c.a)(i,_,f,r)},d.prototype.getTileCoordForCoordAndZ=function(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)},d.prototype.getTileCoordResolution=function(t){return this.resolutions_[t[0]]},d.prototype.getTileSize=function(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]},d.prototype.getFullTileRange=function(t){return this.fullTileRanges_?this.fullTileRanges_[t]:null},d.prototype.getZForResolution=function(t,e){var i=Object(s.h)(this.resolutions_,t,e||0);return Object(l.a)(i,this.minZoom,this.maxZoom)},d.prototype.calculateTileRanges_=function(t){for(var e=this.resolutions_.length,i=new Array(e),o=this.minZoom;o<e;++o)i[o]=this.getTileRangeForExtentAndZ(t,o);this.fullTileRanges_=i},e.a=d},"./node_modules/ol/tilegrid/common.js":function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return r}));var o=42,r=256},"./node_modules/ol/tileurlfunction.js":function(t,e,i){"use strict";i.d(e,"a",(function(){return a})),i.d(e,"b",(function(){return l})),i.d(e,"d",(function(){return u})),i.d(e,"c",(function(){return c}));var o=i("./node_modules/ol/asserts.js"),r=i("./node_modules/ol/math.js"),n=i("./node_modules/ol/tilecoord.js");function s(t,e){var i=/\{z\}/g,r=/\{x\}/g,n=/\{y\}/g,s=/\{-y\}/g;return function(a,l,u){return a?t.replace(i,a[0].toString()).replace(r,a[1].toString()).replace(n,(function(){return(-a[2]-1).toString()})).replace(s,(function(){var t=a[0],i=e.getFullTileRange(t);return Object(o.a)(i,55),(i.getHeight()+a[2]).toString()})):void 0}}function a(t,e){for(var i=t.length,o=new Array(i),r=0;r<i;++r)o[r]=s(t[r],e);return l(o)}function l(t){return 1===t.length?t[0]:function(e,i,o){if(e){var s=Object(n.e)(e),a=Object(r.d)(s,t.length);return t[a](e,i,o)}}}function u(t,e,i){}function c(t){var e=[],i=/\{([a-z])-([a-z])\}/.exec(t);if(i){var o,r=i[1].charCodeAt(0),n=i[2].charCodeAt(0);for(o=r;o<=n;++o)e.push(t.replace(i[0],String.fromCharCode(o)));return e}if(i=i=/\{(\d+)-(\d+)\}/.exec(t)){for(var s=parseInt(i[2],10),a=parseInt(i[1],10);a<=s;a++)e.push(t.replace(i[0],a.toString()));return e}return e.push(t),e}},"./node_modules/ol/uri.js":function(t,e,i){"use strict";function o(t,e){var i=[];Object.keys(e).forEach((function(t){null!==e[t]&&void 0!==e[t]&&i.push(t+"="+encodeURIComponent(e[t]))}));var o=i.join("&");return(t=-1===(t=t.replace(/[?&]$/,"")).indexOf("?")?t+"?":t+"&")+o}i.d(e,"a",(function(){return o}))}}]);