Agriculture-front-end/public/libs/openlayers/plugins/ol-mapbox-style/2.11.2-4/olms.js

28 lines
380 KiB
JavaScript
Raw Normal View History

2023-06-22 06:50:23 +08:00
/*!
*
* ol-mapbox-style
* Copyright 2016-present Boundless Spatial
* Copyright© 2000-2018 SuperMap Software Co. Ltd
* github: https://github.com/boundlessgeo/ol-mapbox-style
* github: https://github.com/SuperMap/ol-mapbox-style
* license: BSD 2-Clause "Simplified" License
* version: v2.11.2-4
*
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("ol/style/Style"),require("ol/style/Fill"),require("ol/style/Stroke"),require("ol/style/Icon"),require("ol/style/Text"),require("ol/style/Circle"),require("ol/geom/Point"),require("ol/proj"),require("ol/tilegrid"),require("ol/Map"),require("ol/format/GeoJSON"),require("ol/format/MVT"),require("ol/Observable"),require("ol/layer/Tile"),require("ol/layer/Vector"),require("ol/layer/VectorTile"),require("ol/source/TileJSON"),require("ol/source/Vector"),require("ol/source/VectorTile")):"function"==typeof define&&define.amd?define(["ol/style/Style","ol/style/Fill","ol/style/Stroke","ol/style/Icon","ol/style/Text","ol/style/Circle","ol/geom/Point","ol/proj","ol/tilegrid","ol/Map","ol/format/GeoJSON","ol/format/MVT","ol/Observable","ol/layer/Tile","ol/layer/Vector","ol/layer/VectorTile","ol/source/TileJSON","ol/source/Vector","ol/source/VectorTile"],t):"object"==typeof exports?exports.olms=t(require("ol/style/Style"),require("ol/style/Fill"),require("ol/style/Stroke"),require("ol/style/Icon"),require("ol/style/Text"),require("ol/style/Circle"),require("ol/geom/Point"),require("ol/proj"),require("ol/tilegrid"),require("ol/Map"),require("ol/format/GeoJSON"),require("ol/format/MVT"),require("ol/Observable"),require("ol/layer/Tile"),require("ol/layer/Vector"),require("ol/layer/VectorTile"),require("ol/source/TileJSON"),require("ol/source/Vector"),require("ol/source/VectorTile")):e.olms=t(e.ol.style.Style,e.ol.style.Fill,e.ol.style.Stroke,e.ol.style.Icon,e.ol.style.Text,e.ol.style.Circle,e.ol.geom.Point,e.ol.proj,e.ol.tilegrid,e.ol.Map,e.ol.format.GeoJSON,e.ol.format.MVT,e.ol.Observable,e.ol.layer.Tile,e.ol.layer.Vector,e.ol.layer.VectorTile,e.ol.source.TileJSON,e.ol.source.Vector,e.ol.source.VectorTile)}(window,(function(e,t,r,n,i,o,a,s,l,u,c,p,d,h,f,y,m,v,g){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=27)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=t.WEBGL_EXTENSIONS=t.WEBGL_MAX_TEXTURE_SIZE=t.HAS_WEBGL=t.DEBUG_WEBGL=void 0,t.inherits=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},t.getUid=function(e){return e.ol_uid||(e.ol_uid=++u)};var n=r(55),i=(t.DEBUG_WEBGL=!0,void 0),o=void 0,a=!1;if("undefined"!=typeof window&&"WebGLRenderingContext"in window)try{var s=document.createElement("CANVAS"),l=(0,n.getContext)(s,{failIfMajorPerformanceCaveat:!0});l&&(t.HAS_WEBGL=a=!0,t.WEBGL_MAX_TEXTURE_SIZE=i=l.getParameter(l.MAX_TEXTURE_SIZE),t.WEBGL_EXTENSIONS=o=l.getSupportedExtensions())}catch(e){}t.HAS_WEBGL=a,t.WEBGL_MAX_TEXTURE_SIZE=i,t.WEBGL_EXTENSIONS=o;t.VERSION="v4.6.4";var u=0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cosh=void 0,t.clamp=function(e,t,r){return Math.min(Math.max(e,t),r)},t.roundUpToPowerOfTwo=function(e){return(0,n.assert)(0<e,29),Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},t.squaredSegmentDistance=function(e,t,r,n,o,a){var s=o-r,l=a-n;if(0!==s||0!==l){var u=((e-r)*s+(t-n)*l)/(s*s+l*l);u>1?(r=o,n=a):u>0&&(r+=s*u,n+=l*u)}return i(e,t,r,n)},t.squaredDistance=i,t.solveLinearSystem=function(e){for(var t=e.length,r=0;r<t;r++){for(var n=r,i=Math.abs(e[r][r]),o=r
/*! https://mths.be/punycode v1.3.2 by @mathias */var y=h((function(e,t){!function(r){var n=t&&!t.nodeType&&t,i=e&&!e.nodeType&&e,a="object"==(void 0===d?"undefined":o(d))&&d;a.global!==a&&a.window!==a&&a.self!==a||(r=a);var s,l,u=2147483647,c=/^xn--/,p=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=Math.floor,m=String.fromCharCode;function v(e){throw RangeError(f[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function b(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(h,".")).split("."),t).join(".")}function x(e){for(var t,r,n=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function w(e){return g(e,(function(e){var t="";return e>65535&&(t+=m((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=m(e)})).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,r){var n=0;for(e=r?y(e/700):e>>1,e+=y(e/t);e>455;n+=36)e=y(e/35);return y(n+36*e/(e+38))}function S(e){var t,r,n,i,o,a,s,l,c,p,d,h=[],f=e.length,m=0,g=128,b=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&v("not-basic"),h.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<f;){for(o=m,a=1,s=36;i>=f&&v("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>y((u-m)/a))&&v("overflow"),m+=l*a,!(l<(c=s<=b?1:s>=b+26?26:s-b));s+=36)a>y(u/(p=36-c))&&v("overflow"),a*=p;b=_(m-o,t=h.length+1,0==o),y(m/t)>u-g&&v("overflow"),g+=y(m/t),m%=t,h.splice(m++,0,g)}return w(h)}function T(e){var t,r,n,i,o,a,s,l,c,p,d,h,f,g,b,w=[];for(h=(e=x(e)).length,t=128,r=0,o=72,a=0;a<h;++a)(d=e[a])<128&&w.push(m(d));for(n=i=w.length,i&&w.push("-");n<h;){for(s=u,a=0;a<h;++a)(d=e[a])>=t&&d<s&&(s=d);for(s-t>y((u-r)/(f=n+1))&&v("overflow"),r+=(s-t)*f,t=s,a=0;a<h;++a)if((d=e[a])<t&&++r>u&&v("overflow"),d==t){for(l=r,c=36;!(l<(p=c<=o?1:c>=o+26?26:c-o));c+=36)b=l-p,g=36-p,w.push(m(k(p+b%g,0))),l=y(b/g);w.push(m(k(l,0))),o=_(r,f,n==i),r=0,++n}++r,++t}return w.join("")}if(s={version:"1.3.2",ucs2:{decode:x,encode:w},decode:S,encode:T,toASCII:function(e){return b(e,(function(e){return p.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return b(e,(function(e){return c.test(e)?S(e.slice(4).toLowerCase()):e}))}},n&&i)if(e.exports==n)i.exports=s;else for(l in s)s.hasOwnProperty(l)&&(n[l]=s[l]);else r.punycode=s}(d)})),m=function(e){return"string"==typeof e},v=function(e){return"object"===(void 0===e?"undefined":o(e))&&null!==e},g=function(e){return null===e},b=function(e){return null==e};function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var w=function(e,t,r,n){t=t||"&",r=r||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;n&&"number"==typeof n.maxKeys&&(a=n.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l<s;++l){var u,c,p,d,h=e[l].replace(o,"%20"),f=h.indexOf(r);f>=0?(u=h.substr(0,f),c=h.substr(f+1)):(u=h,c=""),p=decodeURIComponent(u),d=decodeURIComponent(c),x(i,p)?Array.isArray(i[p])?i[p].push(d):i[p]=[i[p],d]:i[p]=d}return i},k=function(e){switch(void 0===e?"undefined":o(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},_=function(e,t,r,n){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"===(void 0===e?"undefined":o(e))?Object.keys(e).map((function(n){var i=encodeURIComponent(k(n))+r;return Array.isArray(e[n])?e[n].map((function(e){return i+encodeURIComponent(k(e))})).join(t):i+encodeURIComponent(k(e[n]))})).join(t):n?encodeURIComponent(k(n))+r+encodeURIComponent(k(e)):""},S=h((function(e,t){t.decode=t.parse=w,t.encode=t.stringify=_})),T=B,E=function(e,t){return B(e,!1,!0).resolve(t)},j=function(e,t){return e?B(e,!1,!0).resolveObject(t):t},O=function(e){m(e)&&(e=B(e));return e instanceof R?e.format():R.prototype.format.call(e)},A=R;function R(){this.protocol=null,this.slashes=nul
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var n=r(30),i=r(31),o=r(32);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(t,r),i=(e=s(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|h(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(c(t),e=s(e,t<0?0:0|h(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|h(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return j(this,t,r);case"latin1":case"binary":return O(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,p=r?i-1:0,d=r?-1:1,h=e[t+p];for(p+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+p],p+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,p=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,f=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=f,a/=256,u-=8);e[r+h-f]|=128*y}},function(e,t,r){"use strict";var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deg2rad=function(e){return e*Math.PI/180},t.getZoomForResolution=function(e,t){for(var r=0,n=t.length;r<n;++r){if(t[r]<e&&r+1<n){var i=t[r]/t[r+1];return r+Math.log(t[r]/e)/Math.log(i)}}return n-1}},function(e,t,r){"use strict";(function(){var t;e.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return t},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},t=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devons
/**
* @license
* Latitude/longitude spherical geodesy formulae taken from
* http://www.movable-type.co.uk/scripts/latlong.html
* Licensed under CC-BY-3.0.
*/
var s=t.DEFAULT_RADIUS=6371008.8;function l(e,t,r){var n=r||s,o=(0,i.toRadians)(e[1]),a=(0,i.toRadians)(t[1]),l=(a-o)/2,u=(0,i.toRadians)(t[0]-e[0])/2,c=Math.sin(l)*Math.sin(l)+Math.sin(u)*Math.sin(u)*Math.cos(o)*Math.cos(a);return 2*n*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}function u(e,t){for(var r=0,n=0,i=e.length;n<i-1;++n)r+=l(e[n],e[n+1],t);return r}function c(e,t){for(var r=0,n=e.length,o=e[n-1][0],a=e[n-1][1],s=0;s<n;s++){var l=e[s][0],u=e[s][1];r+=(0,i.toRadians)(l-o)*(2+Math.sin((0,i.toRadians)(a))+Math.sin((0,i.toRadians)(u))),o=l,a=u}return r*t*t/2}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={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(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROJECTIONS=t.WORLD_EXTENT=t.EXTENT=t.HALF_SIZE=t.RADIUS=void 0,t.fromEPSG4326=function(e,t,r){var n=e.length,i=r>1?r:2,o=t;void 0===o&&(o=i>2?e.slice():new Array(n));for(var a=u,s=0;s<n;s+=i){o[s]=a*e[s]/180;var c=l*Math.log(Math.tan(Math.PI*(e[s+1]+90)/360));c>a?c=a:c<-a&&(c=-a),o[s+1]=c}return o},t.toEPSG4326=function(e,t,r){var n=e.length,i=r>1?r:2,o=t;void 0===o&&(o=i>2?e.slice():new Array(n));for(var a=0;a<n;a+=i)o[a]=180*e[a]/u,o[a+1]=360*Math.atan(Math.exp(e[a+1]/l))/Math.PI-90;return o};var n=r(0),i=r(1),o=s(r(14)),a=s(r(9));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.RADIUS=6378137,u=t.HALF_SIZE=Math.PI*l,c=t.EXTENT=[-u,-u,u,u],p=t.WORLD_EXTENT=[-180,-85,180,85];function d(e){o.default.call(this,{code:e,units:a.default.METERS,extent:c,global:!0,worldExtent:p,getPointResolution:function(e,t){return e/(0,i.cosh)(t[1]/l)}})}(0,n.inherits)(d,o.default);t.PROJECTIONS=[new d("EPSG:3857"),new d("EPSG:102100"),new d("EPSG:102113"),new d("EPSG:900913"),new d("urn:ogc:def:crs:EPSG:6.18:3:3857"),new d("urn:ogc:def:crs:EPSG::3857"),new d("http://www.opengis.net/gml/srs/epsg.xml#3857")]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROJECTIONS=t.METERS_PER_UNIT=t.EXTENT=t.RADIUS=void 0;var n=r(0),i=a(r(14)),o=a(r(9));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.RADIUS=6378137,l=t.EXTENT=[-180,-90,180,90],u=t.METERS_PER_UNIT=Math.PI*s/180;function c(e,t){i.default.call(this,{code:e,units:o.default.DEGREES,extent:l,axisOrientation:t,global:!0,metersPerUnit:u,worldExtent:l})}(0,n.inherits)(c,i.default);t.PROJECTIONS=[new c("CRS:84"),new c("EPSG:4326","neu"),new c("urn:ogc:def:crs:EPSG::4326","neu"),new c("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new c("urn:ogc:def:crs:OGC:1.3:CRS84"),new c("urn:ogc:def:crs:OGC:2:84"),new c("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new c("urn:x-ogc:def:crs:EPSG:4326","neu")]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){n={}},t.get=function(e){return n[e]||null},t.add=function(e,t){n[e]=t};var n={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){i={}},t.add=function(e,t,r){var n=e.getCode(),o=t.getCode();n in i||(i[n]={});i[n][o]=r},t.remove=function(e,t){var r=e.getCode(),o=t.getCode(),a=i[r][o];delete i[r][o],(0,n.isEmpty)(i[r])&&delete i[r];return a},t.get=function(e,t){var r=void 0;e in i&&t in i[e]&&(r=i[e][t]);return r};var n=r(11),i={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(21),i=r(0),o=h(r(22)),a=h(r(2)),s=r(7),l=h(r(3)),u=r(6),c=r(1),p=r(70),d=h(r(71));function h(e){return e&&e.__esModule?e:{default:e}}var f=function(e,t,r,i,s,l,h,f,y,m,v){o.default.call(this,s,a.default.IDLE),this.renderEdges_=void 0!==v&&v,this.pixelRatio_=h,this.gutter_=f,this.canvas_=null,this.sourceTileGrid_=t,this.targetTileGrid_=i,this.wrappedTileCoord_=l||s,this.sourceTiles_=[],this.sourcesListen