System.register([],function(e,t){function r(e,t,n){if(null!==e)for(var o,i,l,u,g,a,f,s,c=0,y=0,h=e.type,m="FeatureCollection"===h,b="Feature"===h,P=m?e.features.length:1,k=0;k<P;k++){g=(s=!!(f=m?e.features[k].geometry:b?e.geometry:e)&&"GeometryCollection"===f.type)?f.geometries.length:1;for(var M=0;M<g;M++){var p=0,S=0;if(null!==(u=s?f.geometries[M]:f)){a=u.coordinates;var v=u.type;switch(c=!n||"Polygon"!==v&&"MultiPolygon"!==v?0:1,v){case null:break;case"Point":if(!1===t(a,y,k,p,S))return!1;y++,p++;break;case"LineString":case"MultiPoint":for(o=0;o<a.length;o++){if(!1===t(a[o],y,k,p,S))return!1;y++,"MultiPoint"===v&&p++}"LineString"===v&&p++;break;case"Polygon":case"MultiLineString":for(o=0;o<a.length;o++){for(i=0;i<a[o].length-c;i++){if(!1===t(a[o][i],y,k,p,S))return!1;y++}"MultiLineString"===v&&p++,"Polygon"===v&&S++}"Polygon"===v&&p++;break;case"MultiPolygon":for(o=0;o<a.length;o++){for(S=0,i=0;i<a[o].length;i++){for(l=0;l<a[o][i].length-c;l++){if(!1===t(a[o][i][l],y,k,p,S))return!1;y++}S++}p++}break;case"GeometryCollection":for(o=0;o<u.geometries.length;o++)if(!1===r(u.geometries[o],t,n))return!1;break;default:throw Error("Unknown Geometry Type")}}}}}function n(e,t={}){if(null!=e.bbox&&!0!==t.recompute)return e.bbox;let n=[1/0,1/0,-1/0,-1/0];return r(e,e=>{n[0]>e[0]&&(n[0]=e[0]),n[1]>e[1]&&(n[1]=e[1]),n[2]<e[0]&&(n[2]=e[0]),n[3]<e[1]&&(n[3]=e[1])}),n}return{setters:[],execute:function(){e("t",n)}}});
//# sourceMappingURL=esm-k7KI3vER-legacy-DjAkR8OT.js.map