/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/turf-meta@3.0.12/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
function coordEach(e,o,t){var r,n,c,u,l,p,a,i,f,h,s=0,d="FeatureCollection"===e.type,y="Feature"===e.type,g=d?e.features.length:1;for(r=0;r<g;r++)for(a=(h="GeometryCollection"===(f=d?e.features[r].geometry:y?e.geometry:e).type)?f.geometries.length:1,u=0;u<a;u++)if(i=(p=h?f.geometries[u]:f).coordinates,s=!t||"Polygon"!==p.type&&"MultiPolygon"!==p.type?0:1,"Point"===p.type)o(i);else if("LineString"===p.type||"MultiPoint"===p.type)for(n=0;n<i.length;n++)o(i[n]);else if("Polygon"===p.type||"MultiLineString"===p.type)for(n=0;n<i.length;n++)for(c=0;c<i[n].length-s;c++)o(i[n][c]);else{if("MultiPolygon"!==p.type)throw new Error("Unknown Geometry Type");for(n=0;n<i.length;n++)for(c=0;c<i[n].length;c++)for(l=0;l<i[n][c].length-s;l++)o(i[n][c][l])}}function coordReduce(e,o,t,r){return coordEach(e,(function(e){t=o(t,e)}),r),t}function propEach(e,o){var t;switch(e.type){case"FeatureCollection":for(t=0;t<e.features.length;t++)o(e.features[t].properties);break;case"Feature":o(e.properties)}}function propReduce(e,o,t){return propEach(e,(function(e){t=o(t,e)})),t}function featureEach(e,o){if("Feature"===e.type)o(e);else if("FeatureCollection"===e.type)for(var t=0;t<e.features.length;t++)o(e.features[t])}function coordAll(e){var o=[];return coordEach(e,(function(e){o.push(e)})),o}module.exports.coordEach=coordEach,module.exports.coordReduce=coordReduce,module.exports.propEach=propEach,module.exports.propReduce=propReduce,module.exports.featureEach=featureEach,module.exports.coordAll=coordAll;
//# sourceMappingURL=/sm/695a6dd58fc9ea192ac8c5bb6b722e591252109b8f413baae965c62cffedc966.map