UNPKG

ol-mapbox-style

Version:

Create OpenLayers maps from Mapbox Style objects

1 lines 672 kB
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=122)}([function(t,e,i){"use strict";i.d(e,"b",function(){return a}),i.d(e,"c",function(){return s}),i.d(e,"d",function(){return l}),i.d(e,"e",function(){return u}),i.d(e,"f",function(){return c}),i.d(e,"g",function(){return h}),i.d(e,"h",function(){return p}),i.d(e,"i",function(){return d}),i.d(e,"j",function(){return f}),i.d(e,"k",function(){return y}),i.d(e,"l",function(){return g}),i.d(e,"m",function(){return m}),i.d(e,"n",function(){return v}),i.d(e,"o",function(){return b}),i.d(e,"p",function(){return _}),i.d(e,"q",function(){return x}),i.d(e,"r",function(){return w}),i.d(e,"s",function(){return T}),i.d(e,"t",function(){return j}),i.d(e,"u",function(){return E}),i.d(e,"v",function(){return k}),i.d(e,"w",function(){return C}),i.d(e,"x",function(){return R}),i.d(e,"y",function(){return I}),i.d(e,"z",function(){return A}),i.d(e,"A",function(){return M}),i.d(e,"B",function(){return L}),i.d(e,"C",function(){return P}),i.d(e,"D",function(){return F}),i.d(e,"E",function(){return z}),i.d(e,"F",function(){return D}),i.d(e,"H",function(){return N}),i.d(e,"I",function(){return G}),i.d(e,"J",function(){return U}),i.d(e,"G",function(){return B}),i.d(e,"a",function(){return q});var n=i(11),o=i(62),r=i(23);function a(t){for(var e=f(),i=0,n=t.length;i<n;++i)w(e,t[i]);return e}function s(t,e,i){return i?(i[0]=t[0]-e,i[1]=t[1]-e,i[2]=t[2]+e,i[3]=t[3]+e,i):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function l(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function u(t,e,i){var n,o;return(n=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*n+(o=i<t[1]?t[1]-i:t[3]<i?i-t[3]:0)*o}function c(t,e){return p(t,e[0],e[1])}function h(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function p(t,e,i){return t[0]<=e&&e<=t[2]&&t[1]<=i&&i<=t[3]}function d(t,e){var i=t[0],n=t[1],o=t[2],a=t[3],s=e[0],l=e[1],u=r.a.UNKNOWN;return s<i?u|=r.a.LEFT:s>o&&(u|=r.a.RIGHT),l<n?u|=r.a.BELOW:l>a&&(u|=r.a.ABOVE),u===r.a.UNKNOWN&&(u=r.a.INTERSECTING),u}function f(){return[1/0,1/0,-1/0,-1/0]}function y(t,e,i,n,o){return o?(o[0]=t,o[1]=e,o[2]=i,o[3]=n,o):[t,e,i,n]}function g(t){return y(1/0,1/0,-1/0,-1/0,t)}function m(t,e){var i=t[0],n=t[1];return y(i,n,i,n,e)}function v(t,e){return O(g(e),t)}function b(t,e,i,n,o){return T(g(o),t,e,i,n)}function _(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function x(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function w(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function O(t,e){for(var i=0,n=e.length;i<n;++i)w(t,e[i]);return t}function T(t,e,i,n,o){for(;i<n;i+=o)S(t,e[i],e[i+1]);return t}function S(t,e,i){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],i)}function j(t,e,i){var n;return(n=e.call(i,k(t)))?n:(n=e.call(i,C(t)))?n:(n=e.call(i,F(t)))?n:(n=e.call(i,P(t)))||!1}function E(t){var e=0;return N(t)||(e=z(t)*M(t)),e}function k(t){return[t[0],t[1]]}function C(t){return[t[2],t[1]]}function R(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function I(t,e){var i;return e===o.a.BOTTOM_LEFT?i=k(t):e===o.a.BOTTOM_RIGHT?i=C(t):e===o.a.TOP_LEFT?i=P(t):e===o.a.TOP_RIGHT?i=F(t):Object(n.a)(!1,13),i}function A(t,e,i,n,o){var r=e*n[0]/2,a=e*n[1]/2,s=Math.cos(i),l=Math.sin(i),u=r*s,c=r*l,h=a*s,p=a*l,d=t[0],f=t[1],g=d-u+p,m=d-u-p,v=d+u-p,b=d+u+p,_=f-c-h,x=f-c+h,w=f+c+h,O=f+c-h;return y(Math.min(g,m,v,b),Math.min(_,x,w,O),Math.max(g,m,v,b),Math.max(_,x,w,O),o)}function M(t){return t[3]-t[1]}function L(t,e,i){var n=i||[1/0,1/0,-1/0,-1/0];return D(t,e)?(t[0]>e[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]<e[2]?n[2]=t[2]:n[2]=e[2],t[3]<e[3]?n[3]=t[3]:n[3]=e[3]):g(n),n}function P(t){return[t[0],t[3]]}function F(t){return[t[2],t[3]]}function z(t){return t[2]-t[0]}function D(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function N(t){return t[2]<t[0]||t[3]<t[1]}function G(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function U(t,e){var i=(t[2]-t[0])/2*(e-1),n=(t[3]-t[1])/2*(e-1);t[0]-=i,t[2]+=i,t[1]-=n,t[3]+=n}function B(t,e,i){var n=!1,o=d(t,e),a=d(t,i);if(o===r.a.INTERSECTING||a===r.a.INTERSECTING)n=!0;else{var s,l,u=t[0],c=t[1],h=t[2],p=t[3],f=e[0],y=e[1],g=i[0],m=i[1],v=(m-y)/(g-f);a&r.a.ABOVE&&!(o&r.a.ABOVE)&&(n=(s=g-(m-p)/v)>=u&&s<=h),n||!(a&r.a.RIGHT)||o&r.a.RIGHT||(n=(l=m-(g-h)*v)>=c&&l<=p),n||!(a&r.a.BELOW)||o&r.a.BELOW||(n=(s=g-(m-c)/v)>=u&&s<=h),n||!(a&r.a.LEFT)||o&r.a.LEFT||(n=(l=m-(g-u)*v)>=c&&l<=p)}return n}function q(t,e,i){var n=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]];return e(n,n,2),function(t,e,i){return y(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),i)}([n[0],n[2],n[4],n[6]],[n[1],n[3],n[5],n[7]],i)}},function(t,e,i){"use strict";i.d(e,"a",function(){return l}),i.d(e,"b",function(){return u}),i.d(e,"c",function(){return c}),i.d(e,"e",function(){return h}),i.d(e,"d",function(){return p});var n=i(10);function o(t,e,i,n){for(var o,r=0,a=t.length;r<a;++r)if((o=t[r]).listener===e&&o.bindTo===i)return n&&(o.deleteIndex=r),o}function r(t,e){var i=t.ol_lm;return i?i[e]:void 0}function a(t){var e=t.ol_lm;return e||(e=t.ol_lm={}),e}function s(t,e){var i=r(t,e);if(i){for(var o=0,a=i.length;o<a;++o)t.removeEventListener(e,i[o].boundListener),Object(n.b)(i[o]);i.length=0;var s=t.ol_lm;s&&(delete s[e],0===Object.keys(s).length&&delete t.ol_lm)}}function l(t,e,i,n,r){var s=a(t),l=s[e];l||(l=s[e]=[]);var u=o(l,i,n,!1);return u?r||(u.callOnce=!1):(u={bindTo:n,callOnce:!!r,listener:i,target:t,type:e},t.addEventListener(e,function(t){var e=function(e){var i=t.listener,n=t.bindTo||t.target;return t.callOnce&&h(t),i.call(n,e)};return t.boundListener=e,e}(u)),l.push(u)),u}function u(t,e,i,n){return l(t,e,i,n,!0)}function c(t,e,i,n){var a=r(t,e);if(a){var s=o(a,i,n,!0);s&&h(s)}}function h(t){if(t&&t.target){t.target.removeEventListener(t.type,t.boundListener);var e=r(t.target,t.type);if(e){var i="deleteIndex"in t?t.deleteIndex:e.indexOf(t);-1!==i&&e.splice(i,1),0===e.length&&s(t.target,t.type)}Object(n.b)(t)}}function p(t){var e=a(t);for(var i in e)s(t,i)}},function(t,e,i){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},function(t,e,i){"use strict";i.d(e,"c",function(){return l}),i.d(e,"b",function(){return u}),i.d(e,"d",function(){return c}),i.d(e,"e",function(){return h}),i.d(e,"f",function(){return p}),i.d(e,"g",function(){return d}),i.d(e,"i",function(){return f}),i.d(e,"k",function(){return y}),i.d(e,"l",function(){return g}),i.d(e,"m",function(){return m}),i.d(e,"j",function(){return v}),i.d(e,"h",function(){return b}),i.d(e,"o",function(){return _}),i.d(e,"a",function(){return T}),i.d(e,"p",function(){return j}),i.d(e,"q",function(){return E}),i.d(e,"s",function(){return k}),i.d(e,"r",function(){return C}),i.d(e,"n",function(){return R});var n=i(26),o=i(14),r=i(10),a=i(87),s=i(8),l="10px sans-serif",u=[0,0,0,1],c="round",h=[],p=0,d="round",f=10,y=[0,0,0,1],g="center",m="middle",v=[0,0,0,0],b=1,_=new a.a,x={},w=null,O={},T=function(){var t,e,i=60,o=x,a="32px ",s=["monospace","serif"],l=s.length,u="wmytzilWMYTZIL@#/&?$%10";function c(t){for(var i=S(),n=!0,o=0;o<l;++o){var r=s[o];if(i.font=a+r,e=i.measureText(u).width,t!=r){i.font=a+t+","+r;var c=i.measureText(u).width;n=n&&c!=e}}return n}function h(){var e=!0;for(var n in o)o[n]<i&&(c(n)?(o[n]=i,Object(r.b)(O),w=null,_.clear()):(++o[n],e=!1));e&&(clearInterval(t),t=void 0)}return function(e){var r=Object(n.e)(e);if(r)for(var a=0,s=r.length;a<s;++a){var l=r[a];l in o||(o[l]=i,c(l)||(o[l]=0,void 0===t&&(t=setInterval(h,32))))}}}();function S(){return w||(w=Object(o.a)(1,1)),w}var j=function(){var t,e=O;return function(i){var n=e[i];return void 0==n&&(t||((t=document.createElement("span")).textContent="M",t.style.margin=t.style.padding="0 !important",t.style.position="absolute !important",t.style.left="-99999px !important"),t.style.font=i,document.body.appendChild(t),n=e[i]=t.offsetHeight,document.body.removeChild(t)),n}}();function E(t,e){var i=S();return t!=i.font&&(i.font=t),i.measureText(e).width}function k(t,e,i,n){0!==e&&(t.translate(i,n),t.rotate(e),t.translate(-i,-n))}var C=Object(s.c)();function R(t,e,i,n,o,r,a,s,l,u,c){var h;1!=i&&(h=t.globalAlpha,t.globalAlpha=h*i),e&&t.setTransform.apply(t,e),t.drawImage(n,o,r,a,s,l,u,a*c,s*c),h&&(t.globalAlpha=h),e&&t.setTransform.apply(t,C)}},function(t,e,i){"use strict";e.a={CHANGE:"change",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",ERROR:"error",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",MOUSEDOWN:"mousedown",MOUSEMOVE:"mousemove",MOUSEOUT:"mouseout",MOUSEUP:"mouseup",MOUSEWHEEL:"mousewheel",MSPOINTERDOWN:"MSPointerDown",RESIZE:"resize",TOUCHSTART:"touchstart",TOUCHMOVE:"touchmove",TOUCHEND:"touchend",WHEEL:"wheel"}},function(t,e,i){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4,ABORT:5}},function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"g",function(){return r}),i.d(e,"f",function(){return a}),i.d(e,"e",function(){return s}),i.d(e,"h",function(){return l}),i.d(e,"i",function(){return u}),i.d(e,"d",function(){return c}),i.d(e,"c",function(){return h});i(11);function n(t,e,i){return Math.min(Math.max(t,e),i)}var o="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2};function r(t,e,i,n,o,r){var s=o-i,l=r-n;if(0!==s||0!==l){var u=((t-i)*s+(e-n)*l)/(s*s+l*l);u>1?(i=o,n=r):u>0&&(i+=s*u,n+=l*u)}return a(t,e,i,n)}function a(t,e,i,n){var o=i-t,r=n-e;return o*o+r*r}function s(t){for(var e=t.length,i=0;i<e;i++){for(var n=i,o=Math.abs(t[i][i]),r=i+1;r<e;r++){var a=Math.abs(t[r][i]);a>o&&(o=a,n=r)}if(0===o)return null;var s=t[n];t[n]=t[i],t[i]=s;for(var l=i+1;l<e;l++)for(var u=-t[l][i]/t[i][i],c=i;c<e+1;c++)i==c?t[l][c]=0:t[l][c]+=u*t[i][c]}for(var h=new Array(e),p=e-1;p>=0;p--){h[p]=t[p][e]/t[p][p];for(var d=p-1;d>=0;d--)t[d][e]-=t[d][p]*h[p]}return h}function l(t){return 180*t/Math.PI}function u(t){return t*Math.PI/180}function c(t,e){var i=t%e;return i*e<0?i+e:i}function h(t,e,i){return t+i*(e-t)}},function(t,e,i){"use strict";i.d(e,"b",function(){return o}),i.d(e,"a",function(){return r});var n=0;function o(t){return t.ol_uid||(t.ol_uid=++n)}var r="5.1.3"},function(t,e,i){"use strict";i.d(e,"c",function(){return r}),i.d(e,"e",function(){return a}),i.d(e,"g",function(){return u}),i.d(e,"a",function(){return c}),i.d(e,"f",function(){return h}),i.d(e,"h",function(){return p}),i.d(e,"b",function(){return d}),i.d(e,"d",function(){return f});var n=i(11),o=new Array(6);function r(){return[1,0,0,1,0,0]}function a(t){return l(t,1,0,0,1,0,0)}function s(t,e){var i=t[0],n=t[1],o=t[2],r=t[3],a=t[4],s=t[5],l=e[0],u=e[1],c=e[2],h=e[3],p=e[4],d=e[5];return t[0]=i*l+o*u,t[1]=n*l+r*u,t[2]=i*c+o*h,t[3]=n*c+r*h,t[4]=i*p+o*d+a,t[5]=n*p+r*d+s,t}function l(t,e,i,n,o,r,a){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t[4]=r,t[5]=a,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function c(t,e){var i=e[0],n=e[1];return e[0]=t[0]*i+t[2]*n+t[4],e[1]=t[1]*i+t[3]*n+t[5],e}function h(t,e,i){return s(t,l(o,e,0,0,i,0,0))}function p(t,e,i){return s(t,l(o,1,0,0,1,e,i))}function d(t,e,i,n,o,r,a,s){var l=Math.sin(r),u=Math.cos(r);return t[0]=n*u,t[1]=o*l,t[2]=-n*l,t[3]=o*u,t[4]=a*n*u-s*n*l+e,t[5]=a*o*l+s*o*u+i,t}function f(t){var e=function(t){return t[0]*t[3]-t[1]*t[2]}(t);Object(n.a)(0!==e,32);var i=t[0],o=t[1],r=t[2],a=t[3],s=t[4],l=t[5];return t[0]=a/e,t[1]=-o/e,t[2]=-r/e,t[3]=i/e,t[4]=(r*l-a*s)/e,t[5]=-(i*l-o*s)/e,t}},function(t,e,i){"use strict";function n(){return!0}function o(){return!1}function r(){}i.d(e,"b",function(){return n}),i.d(e,"a",function(){return o}),i.d(e,"c",function(){return r})},function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r}),i.d(e,"d",function(){return a});var n="function"==typeof Object.assign?Object.assign:function(t,e){var i=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),o=1,r=arguments.length;o<r;++o){var a=i[o];if(void 0!==a&&null!==a)for(var s in a)a.hasOwnProperty(s)&&(n[s]=a[s])}return n};function o(t){for(var e in t)delete t[e]}function r(t){var e=[];for(var i in t)e.push(t[i]);return e}function a(t){var e;for(e in t)return!1;return!e}},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(81);function o(t,e){if(!t)throw new n.a(e)}},function(t,e,i){"use strict";function n(t,e,i){for(var n,r,a=i||o,s=0,l=t.length,u=!1;s<l;)(r=+a(t[n=s+(l-s>>1)],e))<0?s=n+1:(l=n,u=!r);return u?s:~s}function o(t,e){return t>e?1:t<e?-1:0}function r(t,e){return t.indexOf(e)>=0}function a(t,e,i){var n,o=t.length;if(t[0]<=e)return 0;if(e<=t[o-1])return o-1;if(i>0){for(n=1;n<o;++n)if(t[n]<e)return n-1}else if(i<0){for(n=1;n<o;++n)if(t[n]<=e)return n}else for(n=1;n<o;++n){if(t[n]==e)return n;if(t[n]<e)return t[n-1]-e<e-t[n]?n-1:n}return o-1}function s(t,e,i){for(;e<i;){var n=t[e];t[e]=t[i],t[i]=n,++e,--i}}function l(t,e){for(var i=Array.isArray(e)?e:[e],n=i.length,o=0;o<n;o++)t[t.length]=i[o]}function u(t,e){var i=t.indexOf(e),n=i>-1;return n&&t.splice(i,1),n}function c(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function h(t,e){var i,n=t.length,o=Array(t.length);for(i=0;i<n;i++)o[i]={index:i,value:t[i]};for(o.sort(function(t,i){return e(t.value,i.value)||t.index-i.index}),i=0;i<t.length;i++)t[i]=o[i].value}function p(t,e,i){var n=e||o;return t.every(function(e,o){if(0===o)return!0;var r=n(t[o-1],e);return!(r>0||i&&0===r)})}i.d(e,"a",function(){return n}),i.d(e,"g",function(){return o}),i.d(e,"d",function(){return r}),i.d(e,"f",function(){return a}),i.d(e,"i",function(){return s}),i.d(e,"c",function(){return l}),i.d(e,"h",function(){return u}),i.d(e,"b",function(){return c}),i.d(e,"j",function(){return h}),i.d(e,"e",function(){return p})},function(t,e,i){"use strict";var n=i(73),o=i(0),r=i(6),a=i(59),s=i(19),l=6378137,u=Math.PI*l,c=[-u,-u,u,u],h=[-180,-85,180,85],p=function(t){function e(e){t.call(this,{code:e,units:s.b.METERS,extent:c,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(r.b)(e[1]/l)}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a.a),d=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("urn:ogc:def:crs:EPSG:6.18:3:3857"),new p("urn:ogc:def:crs:EPSG::3857"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")];function f(t,e,i){var n=t.length,o=i>1?i:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(n));for(var a=u,s=0;s<n;s+=o){r[s]=a*t[s]/180;var c=l*Math.log(Math.tan(Math.PI*(t[s+1]+90)/360));c>a?c=a:c<-a&&(c=-a),r[s+1]=c}return r}function y(t,e,i){var n=t.length,o=i>1?i:2,r=e;void 0===r&&(r=o>2?t.slice():new Array(n));for(var a=0;a<n;a+=o)r[a]=180*t[a]/u,r[a+1]=360*Math.atan(Math.exp(t[a+1]/l))/Math.PI-90;return r}var g=[-180,-90,180,90],m=6378137*Math.PI/180,v=function(t){function e(e,i){t.call(this,{code:e,units:s.b.DEGREES,extent:g,axisOrientation:i,global:!0,metersPerUnit:m,worldExtent:g})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a.a),b=[new v("CRS:84"),new v("EPSG:4326","neu"),new v("urn:ogc:def:crs:EPSG::4326","neu"),new v("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new v("urn:ogc:def:crs:OGC:1.3:CRS84"),new v("urn:ogc:def:crs:OGC:2:84"),new v("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new v("urn:x-ogc:def:crs:EPSG:4326","neu")],_={};i(10);var x={};function w(t,e,i){var n=t.getCode(),o=e.getCode();n in x||(x[n]={}),x[n][o]=i}function O(t,e,i){var n;if(void 0!==e){for(var o=0,r=t.length;o<r;++o)e[o]=t[o];n=e}else n=t.slice();return n}function T(t,e,i){if(void 0!==e&&t!==e){for(var n=0,o=t.length;n<o;++n)e[n]=t[n];t=e}return t}function S(t){!function(t,e){_[t]=e}(t.getCode(),t),w(t,t,O)}function j(t){var e=null;if(t instanceof a.a)e=t;else if("string"==typeof t){e=function(t){return _[t]||null}(t)}return e}function E(t,e,i,o){var r,a=(t=j(t)).getPointResolutionFunc();if(a)r=a(e,i);else if(t.getUnits()==s.b.DEGREES&&!o||o==s.b.DEGREES)r=e;else{var l=A(t,j("EPSG:4326")),u=[i[0]-e/2,i[1],i[0]+e/2,i[1],i[0],i[1]-e/2,i[0],i[1]+e/2];u=l(u,u,2),r=(Object(n.a)(u.slice(0,2),u.slice(2,4))+Object(n.a)(u.slice(4,6),u.slice(6,8)))/2;var c=o?s.a[o]:t.getMetersPerUnit();void 0!==c&&(r/=c)}return r}function k(t){!function(t){t.forEach(S)}(t),t.forEach(function(e){t.forEach(function(t){e!==t&&w(e,t,O)})})}function C(t,e){return t?"string"==typeof t?j(t):t:j(e)}function R(t,e){return L(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function I(t,e){if(t===e)return!0;var i=t.getUnits()===e.getUnits();return t.getCode()===e.getCode()?i:A(t,e)===O&&i}function A(t,e){var i=function(t,e){var i;return t in x&&e in x[t]&&(i=x[t][e]),i}(t.getCode(),e.getCode());return i||(i=T),i}function M(t,e){return A(j(t),j(e))}function L(t,e,i){return M(e,i)(t,void 0,t.length)}function P(t,e,i){var n=M(e,i);return Object(o.a)(t,n)}i.d(e,"d",function(){return j}),i.d(e,"e",function(){return E}),i.d(e,"a",function(){return C}),i.d(e,"c",function(){return R}),i.d(e,"b",function(){return I}),i.d(e,"g",function(){return A}),i.d(e,"f",function(){return M}),i.d(e,"h",function(){return L}),i.d(e,"i",function(){return P}),i.d(e,!1,function(){return s.a}),k(d),k(b),function(t,e,i,n){t.forEach(function(t){e.forEach(function(e){w(t,e,i),w(e,t,n)})})}(b,d,f,y)},function(t,e,i){"use strict";function n(t,e){var i=document.createElement("CANVAS");return t&&(i.width=t),e&&(i.height=e),i.getContext("2d")}function o(t,e){var i=e.parentNode;i&&i.replaceChild(t,e)}function r(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function a(t){for(;t.lastChild;)t.removeChild(t.lastChild)}i.d(e,"a",function(){return n}),i.d(e,"d",function(){return o}),i.d(e,"c",function(){return r}),i.d(e,"b",function(){return a})},function(t,e,i){"use strict";e.a={ANIMATING:0,INTERACTING:1}},function(t,e,i){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},function(t,e,i){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3}},function(t,e,i){"use strict";i.d(e,"b",function(){return h});var n=i(7),o=i(50),r=i(70),a=i(24),s=i(10),l=function(t){function e(e,i,n){t.call(this,e),this.key=i,this.oldValue=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(a.a),u=function(t){function e(e){t.call(this),Object(n.b)(this),this.values_={},void 0!==e&&this.setProperties(e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){var e;return this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return Object.keys(this.values_)},e.prototype.getProperties=function(){return Object(s.a)({},this.values_)},e.prototype.notify=function(t,e){var i;i=h(t),this.dispatchEvent(new l(i,t,e)),i=o.a.PROPERTYCHANGE,this.dispatchEvent(new l(i,t,e))},e.prototype.set=function(t,e,i){if(i)this.values_[t]=e;else{var n=this.values_[t];this.values_[t]=e,n!==e&&this.notify(t,n)}},e.prototype.setProperties=function(t,e){for(var i in t)this.set(i,t[i],e)},e.prototype.unset=function(t,e){if(t in this.values_){var i=this.values_[t];delete this.values_[t],e||this.notify(t,i)}},e}(r.a),c={};function h(t){return c.hasOwnProperty(t)?c[t]:c[t]="change:"+t}e.a=u},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n={DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},o={};o[n.DEGREES]=2*Math.PI*6370997/360,o[n.FEET]=.3048,o[n.METERS]=1,o[n.USFEET]=1200/3937,e.b=n},function(t,e,i){"use strict";i.d(e,"c",function(){return o}),i.d(e,"g",function(){return r}),i.d(e,"i",function(){return a}),i.d(e,"d",function(){return s}),i.d(e,"b",function(){return l}),i.d(e,"a",function(){return u}),i.d(e,"h",function(){return c}),i.d(e,"f",function(){return h}),i.d(e,"e",function(){return p});var n="undefined"!=typeof navigator?navigator.userAgent.toLowerCase():"",o=-1!==n.indexOf("firefox"),r=-1!==n.indexOf("safari")&&-1==n.indexOf("chrom"),a=-1!==n.indexOf("webkit")&&-1==n.indexOf("edge"),s=-1!==n.indexOf("macintosh"),l=window.devicePixelRatio||1,u=function(){var t=!1;try{t=!!document.createElement("CANVAS").getContext("2d").setLineDash}catch(t){}return t}(),c=(navigator,"ontouchstart"in window),h="PointerEvent"in window,p=!!navigator.msPointerEnabled},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"}},function(t,e,i){"use strict";var n=i(81),o=i(28),r=i(18),a="length",s=function(t){function e(e,i){t.call(this,e),this.element=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(i(24).a),l=function(t){function e(e,i){t.call(this);var n=i||{};if(this.unique_=!!n.unique,this.array_=e||[],this.unique_)for(var o=0,r=this.array_.length;o<r;++o)this.assertUnique_(this.array_[o],o);this.updateLength_()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var e=0,i=t.length;e<i;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,i=0,n=e.length;i<n;++i)t(e[i],i,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get(a)},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new s(o.a.ADD,e))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,i=0,n=e.length;i<n;++i)if(e[i]===t)return this.removeAt(i)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new s(o.a.REMOVE,e)),e},e.prototype.setAt=function(t,e){var i=this.getLength();if(t<i){this.unique_&&this.assertUnique_(e,t);var n=this.array_[t];this.array_[t]=e,this.dispatchEvent(new s(o.a.REMOVE,n)),this.dispatchEvent(new s(o.a.ADD,e))}else{for(var r=i;r<t;++r)this.insertAt(r,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set(a,this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var i=0,o=this.array_.length;i<o;++i)if(this.array_[i]===t&&i!==e)throw new n.a(58)},e}(r.a);e.a=l},function(t,e,i){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},function(t,e,i){"use strict";i.d(e,"b",function(){return o});var n=function(t){this.propagationStopped,this.type=t,this.target=null};function o(t){t.stopPropagation()}n.prototype.preventDefault=function(){this.propagationStopped=!0},n.prototype.stopPropagation=function(){this.propagationStopped=!0},e.a=n},function(t,e,i){"use strict";function n(t){return Math.pow(t,3)}function o(t){return 1-n(1-t)}function r(t){return 3*t*t-2*t*t*t}function a(t){return t}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r}),i.d(e,"d",function(){return a})},function(t,e,i){"use strict";i.d(e,"c",function(){return n}),i.d(e,"d",function(){return o}),i.d(e,"b",function(){return r}),i.d(e,"a",function(){return a}),i.d(e,"e",function(){return s});var n="ol-hidden",o="ol-unselectable",r="ol-control",a="ol-collapsed",s=function(){var t,e={};return function(i){if(t||(t=document.createElement("div").style),!(i in e)){t.font=i;var n=t.fontFamily;if(t.font="",!n)return null;e[i]=n.split(/,\s?/)}return e[i]}}()},function(t,e,i){"use strict";i.d(e,"b",function(){return h});var n=i(9),o=i(0),r=i(58),a=i(16),s=i(29),l=i(10),u=function(t){function e(){t.call(this),this.layout=a.a.XY,this.stride=2,this.flatCoordinates=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.computeExtent=function(t){return Object(o.o)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!=this.getRevision()&&(Object(l.b)(this.simplifiedGeometryCache),this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=t.toString();if(this.simplifiedGeometryCache.hasOwnProperty(e))return this.simplifiedGeometryCache[e];var i=this.getSimplifiedGeometryInternal(t);return i.getFlatCoordinates().length<this.flatCoordinates.length?(this.simplifiedGeometryCache[e]=i,i):(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=c(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){},e.prototype.setLayout=function(t,e,i){var n;if(t)n=c(t);else{for(var o=0;o<i;++o){if(0===e.length)return this.layout=a.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;2==t?e=a.a.XY:3==t?e=a.a.XYZ:4==t&&(e=a.a.XYZM);return e}(n=e.length)}this.layout=t,this.stride=n},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var i=this.getFlatCoordinates();if(i){var n=this.getStride();Object(s.a)(i,0,i.length,n,t,e,i),this.changed()}},e.prototype.scale=function(t,e,i){var n=e;void 0===n&&(n=t);var r=i;r||(r=Object(o.x)(this.getExtent()));var a=this.getFlatCoordinates();if(a){var l=this.getStride();Object(s.b)(a,0,a.length,l,t,n,r,a),this.changed()}},e.prototype.translate=function(t,e){var i=this.getFlatCoordinates();if(i){var n=this.getStride();Object(s.d)(i,0,i.length,n,t,e,i),this.changed()}},e}(r.a);function c(t){var e;return t==a.a.XY?e=2:t==a.a.XYZ||t==a.a.XYM?e=3:t==a.a.XYZM&&(e=4),e}function h(t,e,i){var n=t.getFlatCoordinates();if(n){var o=t.getStride();return Object(s.c)(n,0,n.length,o,e,i)}return null}u.prototype.containsXY=n.a,e.a=u},function(t,e,i){"use strict";e.a={ADD:"add",REMOVE:"remove"}},function(t,e,i){"use strict";function n(t,e,i,n,o,r){for(var a=r||[],s=0,l=e;l<i;l+=n){var u=t[l],c=t[l+1];a[s++]=o[0]*u+o[2]*c+o[4],a[s++]=o[1]*u+o[3]*c+o[5]}return r&&a.length!=s&&(a.length=s),a}function o(t,e,i,n,o,r,a){for(var s=a||[],l=Math.cos(o),u=Math.sin(o),c=r[0],h=r[1],p=0,d=e;d<i;d+=n){var f=t[d]-c,y=t[d+1]-h;s[p++]=c+f*l-y*u,s[p++]=h+f*u+y*l;for(var g=d+2;g<d+n;++g)s[p++]=t[g]}return a&&s.length!=p&&(s.length=p),s}function r(t,e,i,n,o,r,a,s){for(var l=s||[],u=a[0],c=a[1],h=0,p=e;p<i;p+=n){var d=t[p]-u,f=t[p+1]-c;l[h++]=u+o*d,l[h++]=c+r*f;for(var y=p+2;y<p+n;++y)l[h++]=t[y]}return s&&l.length!=h&&(l.length=h),l}function a(t,e,i,n,o,r,a){for(var s=a||[],l=0,u=e;u<i;u+=n){s[l++]=t[u]+o,s[l++]=t[u+1]+r;for(var c=u+2;c<u+n;++c)s[l++]=t[c]}return a&&s.length!=l&&(s.length=l),s}i.d(e,"c",function(){return n}),i.d(e,"a",function(){return o}),i.d(e,"b",function(){return r}),i.d(e,"d",function(){return a})},function(t,e,i){"use strict";function n(t,e,i,n,o){for(var r=void 0!==o?o:[],a=0,s=e;s<i;s+=n)r[a++]=t.slice(s,s+n);return r.length=a,r}function o(t,e,i,o,r){for(var a=void 0!==r?r:[],s=0,l=0,u=i.length;l<u;++l){var c=i[l];a[s++]=n(t,e,c,o,a[s]),e=c}return a.length=s,a}function r(t,e,i,n,r){for(var a=void 0!==r?r:[],s=0,l=0,u=i.length;l<u;++l){var c=i[l];a[s++]=o(t,e,c,n,a[s]),e=c[c.length-1]}return a.length=s,a}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r})},function(t,e,i){"use strict";e.a={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},function(t,e,i){"use strict";e.a={IMAGE:"IMAGE",TILE:"TILE",VECTOR_TILE:"VECTOR_TILE",VECTOR:"VECTOR"}},function(t,e,i){"use strict";i.d(e,"e",function(){return r}),i.d(e,"a",function(){return a}),i.d(e,"f",function(){return s}),i.d(e,"d",function(){return l}),i.d(e,"b",function(){return u}),i.d(e,"c",function(){return c});var n=i(6);function o(t,e,i,o,r,a,s){var l,u=t[e],c=t[e+1],h=t[i]-u,p=t[i+1]-c;if(0===h&&0===p)l=e;else{var d=((r-u)*h+(a-c)*p)/(h*h+p*p);if(d>1)l=i;else{if(d>0){for(var f=0;f<o;++f)s[f]=Object(n.c)(t[e+f],t[i+f],d);return void(s.length=o)}l=e}}for(var y=0;y<o;++y)s[y]=t[l+y];s.length=o}function r(t,e,i,o,r){var a=t[e],s=t[e+1];for(e+=o;e<i;e+=o){var l=t[e],u=t[e+1],c=Object(n.f)(a,s,l,u);c>r&&(r=c),a=l,s=u}return r}function a(t,e,i,n,o){for(var a=0,s=i.length;a<s;++a){var l=i[a];o=r(t,e,l,n,o),e=l}return o}function s(t,e,i,n,o){for(var r=0,s=i.length;r<s;++r){var l=i[r];o=a(t,e,l,n,o),e=l[l.length-1]}return o}function l(t,e,i,r,a,s,l,u,c,h,p){if(e==i)return h;var d,f;if(0===a){if((f=Object(n.f)(l,u,t[e],t[e+1]))<h){for(d=0;d<r;++d)c[d]=t[e+d];return c.length=r,f}return h}for(var y=p||[NaN,NaN],g=e+r;g<i;)if(o(t,g-r,g,r,l,u,y),(f=Object(n.f)(l,u,y[0],y[1]))<h){for(h=f,d=0;d<r;++d)c[d]=y[d];c.length=r,g+=r}else g+=r*Math.max((Math.sqrt(f)-Math.sqrt(h))/a|0,1);if(s&&(o(t,i-r,e,r,l,u,y),(f=Object(n.f)(l,u,y[0],y[1]))<h)){for(h=f,d=0;d<r;++d)c[d]=y[d];c.length=r}return h}function u(t,e,i,n,o,r,a,s,u,c,h){for(var p=h||[NaN,NaN],d=0,f=i.length;d<f;++d){var y=i[d];c=l(t,e,y,n,o,r,a,s,u,c,p),e=y}return c}function c(t,e,i,n,o,r,a,s,l,c,h){for(var p=h||[NaN,NaN],d=0,f=i.length;d<f;++d){var y=i[d];c=u(t,e,y,n,o,r,a,s,l,c,p),e=y[y.length-1]}return c}},function(t,e,i){"use strict";function n(t,e,i,n){for(var o=0,r=i.length;o<r;++o)t[e++]=i[o];return e}function o(t,e,i,n){for(var o=0,r=i.length;o<r;++o)for(var a=i[o],s=0;s<n;++s)t[e++]=a[s];return e}function r(t,e,i,n,r){for(var a=r||[],s=0,l=0,u=i.length;l<u;++l){var c=o(t,e,i[l],n);a[s++]=c,e=c}return a.length=s,a}function a(t,e,i,n,o){for(var a=o||[],s=0,l=0,u=i.length;l<u;++l){var c=r(t,e,i[l],n,a[s]);a[s++]=c,e=c[c.length-1]}return a.length=s,a}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r}),i.d(e,"d",function(){return a})},function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(42);function o(t){return function(t){return"string"==typeof t||t instanceof CanvasPattern||t instanceof CanvasGradient}(t)?t:Object(n.c)(t)}},function(t,e,i){"use strict";var n=i(68),o=i(1),r=i(9),a=i(24),s=function(t){function e(){t.call(this),this.pendingRemovals_={},this.dispatching_={},this.listeners_={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addEventListener=function(t,e){var i=this.listeners_[t];i||(i=this.listeners_[t]=[]),-1===i.indexOf(e)&&i.push(e)},e.prototype.dispatchEvent=function(t){var e="string"==typeof t?new a.a(t):t,i=e.type;e.target=this;var n,o=this.listeners_[i];if(o){i in this.dispatching_||(this.dispatching_[i]=0,this.pendingRemovals_[i]=0),++this.dispatching_[i];for(var s=0,l=o.length;s<l;++s)if(!1===o[s].call(this,e)||e.propagationStopped){n=!1;break}if(--this.dispatching_[i],0===this.dispatching_[i]){var u=this.pendingRemovals_[i];for(delete this.pendingRemovals_[i];u--;)this.removeEventListener(i,r.c);delete this.dispatching_[i]}return n}},e.prototype.disposeInternal=function(){Object(o.d)(this)},e.prototype.getListeners=function(t){return this.listeners_[t]},e.prototype.hasListener=function(t){return t?t in this.listeners_:Object.keys(this.listeners_).length>0},e.prototype.removeEventListener=function(t,e){var i=this.listeners_[t];if(i){var n=i.indexOf(e);t in this.pendingRemovals_?(i[n]=r.c,++this.pendingRemovals_[t]):(i.splice(n,1),0===i.length&&delete this.listeners_[t])}},e}(n.a);e.a=s},function(t,e,i){"use strict";function n(t){return t[0]>0&&t[1]>0}function o(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 r(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 n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r})},function(t,e,i){"use strict";i.d(e,"c",function(){return l}),i.d(e,"a",function(){return c});var n=i(11),o=(i(2),i(71)),r=i(46),a=i(52),s=function(t){var e=t||{};this.geometry_=null,this.geometryFunction_=h,void 0!==e.geometry&&this.setGeometry(e.geometry),this.fill_=void 0!==e.fill?e.fill:null,this.image_=void 0!==e.image?e.image:null,this.renderer_=void 0!==e.renderer?e.renderer:null,this.stroke_=void 0!==e.stroke?e.stroke:null,this.text_=void 0!==e.text?e.text:null,this.zIndex_=e.zIndex};function l(t){var e,i;"function"==typeof t?e=t:(Array.isArray(t)?i=t:(Object(n.a)(t instanceof s,41),i=[t]),e=function(){return i});return e}s.prototype.clone=function(){var t=this.getGeometry();return t&&t.clone&&(t=t.clone()),new s({geometry:t,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},s.prototype.getRenderer=function(){return this.renderer_},s.prototype.setRenderer=function(t){this.renderer_=t},s.prototype.getGeometry=function(){return this.geometry_},s.prototype.getGeometryFunction=function(){return this.geometryFunction_},s.prototype.getFill=function(){return this.fill_},s.prototype.setFill=function(t){this.fill_=t},s.prototype.getImage=function(){return this.image_},s.prototype.setImage=function(t){this.image_=t},s.prototype.getStroke=function(){return this.stroke_},s.prototype.setStroke=function(t){this.stroke_=t},s.prototype.getText=function(){return this.text_},s.prototype.setText=function(t){this.text_=t},s.prototype.getZIndex=function(){return this.zIndex_},s.prototype.setGeometry=function(t){"function"==typeof t?this.geometryFunction_=t:"string"==typeof t?this.geometryFunction_=function(e){return e.get(t)}:t?void 0!==t&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=h,this.geometry_=t},s.prototype.setZIndex=function(t){this.zIndex_=t};var u=null;function c(t,e){if(!u){var i=new r.a({color:"rgba(255,255,255,0.4)"}),n=new a.a({color:"#3399CC",width:1.25});u=[new s({image:new o.a({fill:i,stroke:n,radius:5}),fill:i,stroke:n})]}return u}function h(t){return t.getGeometry()}e.b=s},function(t,e,i){"use strict";var n=i(12),o=i(0),r=i(16),a=i(2),s=i(27),l=i(67),u=i(33),c=i(34),h=i(30),p=i(41),d=function(t){function e(e,i){t.call(this),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===i||Array.isArray(e[0])?this.setCoordinates(e,i):this.setFlatCoordinates(i,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,i,n){return n<Object(o.e)(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.e)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.d)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,n))},e.prototype.getArea=function(){return Object(l.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return Object(h.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var i=[];return i.length=Object(p.a)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,i,0),new e(i,r.a.XY)},e.prototype.getType=function(){return a.a.LINEAR_RING},e.prototype.intersectsExtent=function(t){},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c.b)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(s.a),f=i(49),y=(i(73),i(44)),g=i(63),m=i(57),v=i(53);i(6);i.d(e,"b",function(){return _});var b=function(t){function e(e,i,n){t.call(this),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==i&&n?(this.setFlatCoordinates(i,e),this.ends_=n):this.setCoordinates(e,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(n.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice())},e.prototype.closestPointXY=function(t,e,i,n){return n<Object(o.e)(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,n))},e.prototype.containsXY=function(t,e){return Object(y.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(l.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(v.d)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(h.b)(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(o.x)(this.getExtent());this.flatInteriorPoint_=Object(g.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new f.a(this.getFlatInteriorPoint(),r.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new d(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,i=this.ends_,n=[],o=0,r=0,a=i.length;r<a;++r){var s=i[r],l=new d(e.slice(o,s),t);n.push(l),o=s}return n},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(v.b)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(v.d)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var i=[],n=[];return i.length=Object(p.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),i,0,n),new e(i,r.a.XY,n)},e.prototype.getType=function(){return a.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(m.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var i=Object(c.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===i.length?0:i[i.length-1],this.changed()},e}(s.a);e.a=b;function _(t){var e=t[0],i=t[1],n=t[2],o=t[3],a=[e,i,e,o,n,o,n,i,e,i];return new b(a,r.a.XY,[a.length])}},function(t,e,i){"use strict";i.d(e,"b",function(){return n}),i.d(e,"a",function(){return o});var n=.5,o=!0},function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return r}),i.d(e,"e",function(){return a}),i.d(e,"c",function(){return l}),i.d(e,"d",function(){return u});var n=i(6);function o(t,e,i,o,r,a,s){var l=(i-e)/o;if(l<3){for(;e<i;e+=o)a[s++]=t[e],a[s++]=t[e+1];return s}var u=new Array(l);u[0]=1,u[l-1]=1;for(var c=[e,i-o],h=0;c.length>0;){for(var p=c.pop(),d=c.pop(),f=0,y=t[d],g=t[d+1],m=t[p],v=t[p+1],b=d+o;b<p;b+=o){var _=t[b],x=t[b+1],w=Object(n.g)(_,x,y,g,m,v);w>f&&(h=b,f=w)}f>r&&(u[(h-e)/o]=1,d+o<h&&c.push(d,h),h+o<p&&c.push(h,p))}for(var O=0;O<l;++O)u[O]&&(a[s++]=t[e+O*o],a[s++]=t[e+O*o+1]);return s}function r(t,e,i,n,r,a,s,l){for(var u=0,c=i.length;u<c;++u){var h=i[u];s=o(t,e,h,n,r,a,s),l.push(s),e=h}return s}function a(t,e){return e*Math.round(t/e)}function s(t,e,i,n,o,r,s){if(e==i)return s;var l,u,c=a(t[e],o),h=a(t[e+1],o);e+=n,r[s++]=c,r[s++]=h;do{if(l=a(t[e],o),u=a(t[e+1],o),(e+=n)==i)return r[s++]=l,r[s++]=u,s}while(l==c&&u==h);for(;e<i;){var p=a(t[e],o),d=a(t[e+1],o);if(e+=n,p!=l||d!=u){var f=l-c,y=u-h,g=p-c,m=d-h;f*m==y*g&&(f<0&&g<f||f==g||f>0&&g>f)&&(y<0&&m<y||y==m||y>0&&m>y)?(l=p,u=d):(r[s++]=l,r[s++]=u,c=l,h=u,l=p,u=d)}}return r[s++]=l,r[s++]=u,s}function l(t,e,i,n,o,r,a,l){for(var u=0,c=i.length;u<c;++u){var h=i[u];a=s(t,e,h,n,o,r,a),l.push(a),e=h}return a}function u(t,e,i,n,o,r,a,s){for(var u=0,c=i.length;u<c;++u){var h=i[u],p=[];a=l(t,e,h,n,o,r,a,p),s.push(p),e=h[h.length-1]}return a}},function(t,e,i){"use strict";i.d(e,"b",function(){return s}),i.d(e,"a",function(){return u}),i.d(e,"c",function(){return h});var n=i(11),o=i(6),r=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,a=/^([a-z]*)$/i;function s(t){return"string"==typeof t?t:h(t)}var l=function(){var t={},e=0;return function(i){var o;if(t.hasOwnProperty(i))o=t[i];else{if(e>=1024){var s=0;for(var l in t)0==(3&s++)&&(delete t[l],--e)}o=function(t){var e,i,o,s,l;a.exec(t)&&(t=function(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var i=getComputedStyle(e).color;return document.body.removeChild(e),i}return""}(t));if(r.exec(t)){var u,h=t.length-1;u=h<=4?1:2;var p=4===h||8===h;e=parseInt(t.substr(1+0*u,u),16),i=parseInt(t.substr(1+1*u,u),16),o=parseInt(t.substr(1+2*u,u),16),s=p?parseInt(t.substr(1+3*u,u),16):255,1==u&&(e=(e<<4)+e,i=(i<<4)+i,o=(o<<4)+o,p&&(s=(s<<4)+s)),l=[e,i,o,s/255]}else 0==t.indexOf("rgba(")?c(l=t.slice(5,-1).split(",").map(Number)):0==t.indexOf("rgb(")?((l=t.slice(4,-1).split(",").map(Number)).push(1),c(l)):Object(n.a)(!1,14);return l}(i),t[i]=o,++e}return o}}();function u(t){return Array.isArray(t)?t:l(t)}function c(t){return t[0]=Object(o.a)(t[0]+.5|0,0,255),t[1]=Object(o.a)(t[1]+.5|0,0,255),t[2]=Object(o.a)(t[2]+.5|0,0,255),t[3]=Object(o.a)(t[3],0,1),t}function h(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var i=t[1];i!=(0|i)&&(i=i+.5|0);var n=t[2];return n!=(0|n)&&(n=n+.5|0),"rgba("+e+","+i+","+n+","+(void 0===t[3]?1:t[3])+")"}},function(t,e,i){"use strict";i(6);function n(t,e){return t[0]+=e[0],t[1]+=e[1],t}function o(t,e){for(var i=!0,n=t.length-1;n>=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function r(t,e){var i=Math.cos(e),n=Math.sin(e),o=t[0]*i-t[1]*n,r=t[1]*i+t[0]*n;return t[0]=o,t[1]=r,t}function a(t,e){return t[0]*=e,t[1]*=e,t}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return o}),i.d(e,"c",function(){return r}),i.d(e,"d",function(){return a})},function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return r}),i.d(e,"c",function(){return a}),i.d(e,"d",function(){return s});var n=i(0);function o(t,e,i,o,a){return!Object(n.t)(a,function(n){return!r(t,e,i,o,n[0],n[1])})}function r(t,e,i,n,o,r){for(var a=0,s=t[i-n],l=t[i-n+1];e<i;e+=n){var u=t[e],c=t[e+1];l<=r?c>r&&(u-s)*(r-l)-(o-s)*(c-l)>0&&a++:c<=r&&(u-s)*(r-l)-(o-s)*(c-l)<0&&a--,s=u,l=c}return 0!==a}function a(t,e,i,n,o,a){if(0===i.length)return!1;if(!r(t,e,i[0],n,o,a))return!1;for(var s=1,l=i.length;s<l;++s)if(r(t,i[s-1],i[s],n,o,a))return!1;return!0}function s(t,e,i,n,o,r){if(0===i.length)return!1;for(var s=0,l=i.length;s<l;++s){var u=i[s];if(a(t,e,u,n,o,r))return!0;e=u[u.length-1]}return!1}},function(t,e,i){"use strict";e.a={POSTCOMPOSE:"postcompose",PRECOMPOSE:"precompose",RENDER:"render"}},function(t,e,i){"use strict";var n=i(7),o=i(42),r=function(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.checksum_=void 0};r.prototype.clone=function(){var t=this.getColor();return new r({color:t&&t.slice?t.slice():t||void 0})},r.prototype.getColor=function(){return this.color_},r.prototype.setColor=function(t){this.color_=t,this.checksum_=void 0},r.prototype.getChecksum=function(){return void 0===this.checksum_&&(this.color_ instanceof CanvasPattern||this.color_ instanceof CanvasGradient?this.checksum_=Object(n.b)(this.color_).toString():this.checksum_="f"+(this.color_?Object(o.b)(this.color_):"-")),this.checksum_},e.a=r},function(t,e,i){"use strict";e.a={IMAGE:"image",HYBRID:"hybrid",VECTOR:"vector"}},function(t,e,i){"use strict";i.d(e,"b",function(){return d});var n=i(1),o=i(4),r=i(7),a=i(18),s=i(77),l=i(21),u=i(10),c=i(45),h=i(31),p=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(n.a)(this,Object(a.b)(l.a.SOURCE),this.handleSourcePropertyChange_,this);var o=e.source?e.source:null;this.setSource(o)}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(n.e)(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(n.a)(t,o.a.CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(n.e)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(n.e)(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(n.a)(t,c.a.PRECOMPOSE,function(t){var e=this.getLayerState();e.managed=!1,e.zIndex=1/0,t.frameState.layerStatesArray.push(e),t.frameState.layerStates[Object(r.b)(this)]=e},this),this.mapRenderKey_=Object(n.a)(this,o.a.CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(l.a.SOURCE,t)},e}(s.a);function d(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}e.a=p},function(t,e,i){"use strict";var n=i(0),o=i(2),r=i(27),a=i(34),s=i(6),l=function(t){function e(e,i){t.call(this),this.setCoordinates(e,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,i,n){var o=this.flatCoordinates,r=Object(s.f)(t,e,o[0],o[1]);if(r<n){for(var a=this.stride,l=0;l<a;++l)i[l]=o[l];return i.length=a,r}return n},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(n.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return o.a.POINT},e.prototype.intersectsExtent=function(t){return Object(n.h)(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(r.a);e.a=l},function(t,e,i){"use strict";e.a={PROPERTYCHANGE:"propertychange"}},function(t,e,i){"use strict";i.d(e,"c",function(){return o}),i.d(e,"d",function(){return r}),i.d(e,"a",function(){return a}),i.d(e,"b",function(){return s});var n=i(6);function o(t,e){return void 0!==t?0:void 0}function r(t,e){return void 0!==t?t+e:void 0}function a(t){var e=2*Math.PI/t;return function(t,i){return void 0!==t?t=Math.floor((t+i)/e+.5)*e:void 0}}function s(t){var e=t||Object(n.i)(5);return function(t,i){return void 0!==t?Math.abs(t+i)<=e?0:t+i:void 0}}},function(t,e,i){"use strict";var n=i(7),o=function(t){var e=t||{};this.color_=void 0!==e.color?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=void 0!==e.lineDash?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width,this.checksum_=void 0};o.prototype.clone=function(){var t=this.getColor();return new o({color:t&&t.slice?t.slice():t||void 0,lineCap:this.getLineCap(),lineDas