{"version":3,"sources":["jsdelivr-header.js","/npm/@mapbox/geojson-coords@0.0.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,iBAAmB,QAAQ,6BAC3B,eAAiB,QAAQ,mBACzB,QAAU,QAAQ,aAEhB,0BAA0B,WAAW,eAAiB,eAAe,SAE3E,OAAO,QAAU,SAAS,GACtB,IAAK,EAAG,MAAO,GACf,IAAI,EAAa,eAAe,iBAAiB,IAC7C,EAAc,GAKlB,OAJA,EAAW,SAAS,SAAQ,SAAS,GAC5B,EAAQ,WACb,EAAc,EAAY,OAAO,QAAQ,EAAQ,SAAS,cAC9D,IACO,CACX","file":"/npm/@mapbox/geojson-coords@0.0.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@mapbox/geojson-coords@0.0.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var geojsonNormalize = require('@mapbox/geojson-normalize'),\n    geojsonFlatten = require('geojson-flatten'),\n    flatten = require('./flatten');\n\nif (!(geojsonFlatten instanceof Function)) geojsonFlatten = geojsonFlatten.default;\n\nmodule.exports = function(_) {\n    if (!_) return [];\n    var normalized = geojsonFlatten(geojsonNormalize(_)),\n        coordinates = [];\n    normalized.features.forEach(function(feature) {\n        if (!feature.geometry) return;\n        coordinates = coordinates.concat(flatten(feature.geometry.coordinates));\n    });\n    return coordinates;\n};\n"]}