(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1ffc3323"],{"02da":function(t,e,i){"use strict";var n=i("9cb2"),r=i("3426"),s=i("54a8"),o=i("d580"),a=i("93f7"),l=i("633b"),c=i("d83a"),h=i("b485"),u=i("eee5");const d=[0,0,0],g=5;class m{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(s["a"])(Object(h["d"])(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(let n=0,r=this.resolutions_.length-1;n=this.minZoom){if(2===this.zoomFactor_?(o=Math.floor(o/2),a=Math.floor(a/2),s=Object(n["a"])(o,o,a,a,i)):s=this.getTileRangeForExtentAndZ(l,c,i),e(c,s))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]this.maxZoom||e0?n:Math.max(l/i[0],s/i[1]);const c=e+1,h=new Array(c);for(let r=0;ri||i>e.getMaxZoom())return!1;const s=e.getFullTileRange(i);return!s||s.containsXY(n,r)}i.d(e,"a",(function(){return n})),i.d(e,"d",(function(){return r})),i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"e",(function(){return a})),i.d(e,"f",(function(){return l}))},"9cb2":function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));class n{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function r(t,e,i,r,s){return void 0!==s?(s.minX=t,s.maxX=e,s.minY=i,s.maxY=r,s):new n(t,e,i,r)}e["b"]=n},a0c8:function(t,e,i){"use strict";var n=i("aaaf"),r={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class s extends n["a"]{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get(r.PRELOAD)}setPreload(t){this.set(r.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(r.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(r.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}var o=s,a=i("5df6"),l=i("0d2b"),c=i("03a8"),h=i("9cb2"),u=i("dd64"),d=i("ac76"),g=i("93f7"),m=i("b91b"),_=i("2fc48"),p=i("b485"),f=i("eee5");class b extends a["b"]{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=Object(g["j"])(),this.tmpTileRange_=new h["b"](0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==u["a"].LOADED||i==u["a"].EMPTY||i==u["a"].ERROR&&!n}getTile(t,e,i,n){const r=n.pixelRatio,s=n.viewState.projection,o=this.getLayer(),a=o.getSource();let l=a.getTile(t,e,i,r,s);return l.getState()==u["a"].ERROR&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(l)||(l=l.getInterimTile()),l}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Object(d["a"])(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!Object(g["f"])(r,n))return null;const s=e.pixelRatio,o=e.viewState.projection,a=e.viewState,h=i.getRenderSource(),m=h.getTileGridForProjection(a.projection),_=h.getTilePixelRatio(e.pixelRatio);for(let d=m.getZForResolution(a.resolution);d>=m.getMinZoom();--d){const t=m.getTileCoordForCoordAndZ(n,d),e=h.getTile(d,t[1],t[2],s,o);if(!(e instanceof l["a"]||e instanceof c["a"])||e instanceof c["a"]&&e.getState()===u["a"].EMPTY)return null;if(e.getState()!==u["a"].LOADED)continue;const i=m.getOrigin(d),r=Object(f["c"])(m.getTileSize(d)),g=m.getResolution(d),p=Math.floor(_*((n[0]-i[0])/g-t[1]*r[0])),b=Math.floor(_*((i[1]-n[1])/g-t[2]*r[1])),T=Math.round(_*h.getGutterForProjection(a.projection));return this.getImageData(e.getImage(),p+T,b+T)}return null}loadedTileCallback(t,e,i){return!!this.isDrawableTile(i)&&super.loadedTileCallback(t,e,i)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,r=n.projection,s=n.resolution,o=n.center,a=n.rotation,l=t.pixelRatio,c=this.getLayer(),h=c.getSource(),f=h.getRevision(),b=h.getTileGridForProjection(r),T=b.getZForResolution(s,h.zDirection),j=b.getResolution(T);let x=t.extent;const O=t.viewState.resolution,E=h.getTilePixelRatio(l),C=Math.round(Object(g["E"])(x)/O*l),R=Math.round(Object(g["z"])(x)/O*l),S=i.extent&&Object(m["h"])(i.extent,r);S&&(x=Object(g["A"])(x,Object(m["h"])(i.extent,r)));const w=j*C/2/E,v=j*R/2/E,F=[o[0]-w,o[1]-v,o[0]+w,o[1]+v],y=b.getTileRangeForExtentAndZ(x,T),P={};P[T]={};const I=this.createLoadedTileFinder(h,r,P),z=this.tmpExtent,L=this.tmpTileRange_;this.newTiles_=!1;const A=a?Object(g["B"])(n.center,O,a,t.size):void 0;for(let d=y.minX;d<=y.maxX;++d)for(let e=y.minY;e<=y.maxY;++e){if(a&&!b.tileCoordIntersectsViewport([T,d,e],A))continue;const n=this.getTile(T,d,e,t);if(this.isDrawableTile(n)){const e=Object(_["b"])(this);if(n.getState()==u["a"].LOADED){P[T][n.tileCoord.toString()]=n;let t=n.inTransition(e);t&&1!==i.opacity&&(n.endTransition(e),t=!1),this.newTiles_||!t&&this.renderedTiles.includes(n)||(this.newTiles_=!0)}if(1===n.getAlpha(e,t.time))continue}const r=b.getTileCoordChildTileRange(n.tileCoord,L,z);let s=!1;r&&(s=I(T+1,r)),s||b.forEachTileCoordParentTileRange(n.tileCoord,I,L,z)}const D=j/s*l/E;Object(d["b"])(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/l,1/l,a,-C/2,-R/2);const G=Object(d["g"])(this.pixelTransform);this.useContainer(e,G,this.getBackground(t));const X=this.context,Y=X.canvas;Object(d["d"])(this.inversePixelTransform,this.pixelTransform),Object(d["b"])(this.tempTransform,C/2,R/2,D,D,0,-C/2,-R/2),Y.width!=C||Y.height!=R?(Y.width=C,Y.height=R):this.containerReused||X.clearRect(0,0,C,R),S&&this.clipUnrotated(X,t,S),h.getInterpolate()||(X.imageSmoothingEnabled=!1),this.preRender(X,t),this.renderedTiles.length=0;let k,Z,M,U=Object.keys(P).map(Number);U.sort(p["f"]),1!==i.opacity||this.containerReused&&!h.getOpaque(t.viewState.projection)?(k=[],Z=[]):U=U.reverse();for(let u=U.length-1;u>=0;--u){const e=U[u],i=h.getTilePixelSize(e,l,r),n=b.getResolution(e),s=n/j,o=i[0]*s*D,a=i[1]*s*D,c=b.getTileCoordForCoordAndZ(Object(g["C"])(F),e),m=b.getTileCoordExtent(c),p=Object(d["a"])(this.tempTransform,[E*(m[0]-F[0])/j,E*(F[3]-m[3])/j]),f=E*h.getGutterForProjection(r),x=P[e];for(const r in x){const i=x[r],n=i.tileCoord,s=c[1]-n[1],l=Math.round(p[0]-(s-1)*o),u=c[2]-n[2],d=Math.round(p[1]-(u-1)*a),m=Math.round(p[0]-s*o),b=Math.round(p[1]-u*a),j=l-m,O=d-b,E=T===e,C=E&&1!==i.getAlpha(Object(_["b"])(this),t.time);let R=!1;if(!C)if(k){M=[m,b,m+j,b,m+j,b+O,m,b+O];for(let t=0,i=k.length;t0&&this.getCount()>this.highWaterMark}expireCache(t){while(this.canExpireCache())this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;while(e)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return Object(p["a"])(void 0!==i,15),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return Object(p["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_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.key_;return t}getValues(){const t=new Array(this.count_);let e,i=0;for(e=this.newest_;e;e=e.older)t[i++]=e.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const 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_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){Object(p["a"])(!(t in this.entries_),16);const 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_}setSize(t){this.highWaterMark=t}}var b=f,T=i("633b");class j extends b{clear(){while(this.getCount()>0)this.pop().release();super.clear()}expireCache(t){while(this.canExpireCache()){const e=this.peekLast();if(e.getKey()in t)break;this.pop().release()}}pruneExceptNewestZ(){if(0===this.getCount())return;const t=this.peekFirstKey(),e=Object(T["b"])(t),i=e[0];this.forEach(function(t){t.tileCoord[0]!==i&&(this.remove(Object(T["c"])(t.tileCoord)),t.release())}.bind(this))}}var x=j,O=i("dd64"),E={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"},C=i("8a11"),R=i("1d8e"),S=i("2fc48"),w=i("b91b"),v=i("3915"),F=i("eee5");class y extends R["a"]{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.opaque_=void 0!==t.opaque&&t.opaque,this.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,this.tileGrid=void 0!==t.tileGrid?t.tileGrid:null;const e=[256,256];this.tileGrid&&Object(F["c"])(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tileCache=new x(t.cacheSize||0),this.tmpSize=[0,0],this.key_=t.key||"",this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(t,e){const i=this.getTileCacheForProjection(t);i&&i.expireCache(e)}forEachLoadedTile(t,e,i,n){const r=this.getTileCacheForProjection(t);if(!r)return!1;let s,o,a,l=!0;for(let c=i.minX;c<=i.maxX;++c)for(let t=i.minY;t<=i.maxY;++t)o=Object(T["d"])(e,c,t),a=!1,r.containsKey(o)&&(s=r.get(o),a=s.getState()===O["a"].LOADED,a&&(a=!1!==n(s))),a||(l=!1);return l}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getOpaque(t){return this.opaque_}getResolutions(){return this.tileGrid?this.tileGrid.getResolutions():null}getTile(t,e,i,n,r){return Object(S["a"])()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:Object(v["c"])(t)}getTileCacheForProjection(t){const e=this.getProjection();return Object(p["a"])(null===e||Object(w["e"])(e,t),68),this.tileCache}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const n=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),s=Object(F["c"])(n.getTileSize(t),this.tmpSize);return 1==r?s:Object(F["b"])(s,r,this.tmpSize)}getTileCoordForTileUrlFunction(t,e){e=void 0!==e?e:this.getProjection();const i=this.getTileGridForProjection(e);return this.getWrapX()&&e.isGlobal()&&(t=Object(v["d"])(i,t,e)),Object(T["f"])(t,i)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const i=this.getTileCacheForProjection(e);t>i.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,n){}}class P extends C["a"]{constructor(t,e){super(t),this.tile=e}}var I=y,z=i("d580");function L(t,e){const i=/\{z\}/g,n=/\{x\}/g,r=/\{y\}/g,s=/\{-y\}/g;return function(o,a,l){return o?t.replace(i,o[0].toString()).replace(n,o[1].toString()).replace(r,o[2].toString()).replace(s,(function(){const t=o[0],i=e.getFullTileRange(t);Object(p["a"])(i,55);const n=i.getHeight()-o[2]-1;return n.toString()})):void 0}}function A(t,e){const i=t.length,n=new Array(i);for(let r=0;rt)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){Object(o["a"])()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(i){if(-1===i)return 1}else i=e,this.transitionStarts_[t]=i;const n=e-i+1e3/60;return n>=this.transition_?1:Object(a["a"])(n/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}e["a"]=l}}]);