{"version":3,"sources":["jsdelivr-header.js","/npm/expressive-objects@1.2.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,WAAa,QAAQ,oBAc3B,SAAS,SAAS,GAEd,OAAO,EAAI,KAAI,IAOJ,CACH,KANS,UAAU,EAAW,MAAM,QAAO,CAAC,EAAM,IAE3C,IAAI,KADQ,UAAU,KAE9B,IAIC,MAAO,EAAW,SAG9B,CAGA,SAAS,UAAU,GACf,MAAuB,iBAAT,EAAoB,EAAK,MAAM,QAAU,CAC3D,CA/BA,OAAO,QAAU,SAAS,GAGtB,OADA,EAAM,SAAS,GACR,WAAW,EACtB,EAEA,OAAO,QAAQ,OAAS,SAAS,EAAQ,GAGrC,OADA,EAAM,SAAS,GACR,WAAW,OAAO,EAAQ,EACrC","file":"/npm/expressive-objects@1.2.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/expressive-objects@1.2.0/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","const expressive = require('./src/expressive');\n\nmodule.exports = function(api) {\n\n    api = sanitize(api);\n    return expressive(api);\n};\n\nmodule.exports.extend = function(object, api) {\n\n    api = sanitize(api);\n    return expressive.extend(object, api);\n};\n\nfunction sanitize(api) {\n\n    return api.map(definition => {\n\n        const path = normalize(definition.path).reduce((path, partial) => {\n            const normalized = normalize(partial);\n            return [...path, ...normalized];\n        }, []);\n\n        return {\n            path: path,\n            value: definition.value\n        };\n    });\n}\n\n\nfunction normalize(path) {\n    return typeof path === 'string' ? path.split(/[ .]/) : path;\n}"]}