{"version":3,"sources":["jsdelivr-header.js","/npm/merge-yaml-ts@1.0.7/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,gBAAa,EACrB,MAAM,KAAO,QAAQ,MACf,UAAY,QAAQ,WACpB,SAAW,QAAQ,UACzB,SAAS,WAAW,GAChB,IAAI,EAUJ,OATA,EAAW,SAAQ,SAAU,GACzB,MAAM,GAAe,EAAI,UAAU,OAAM,EAAI,KAAK,cAAc,EAAM,SACjE,GAID,EAAI,SAAS,OAAO,EAAc,GAHlC,EAAe,CAKvB,IACO,CACX,CACA,QAAQ,WAAa","file":"/npm/merge-yaml-ts@1.0.7/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/merge-yaml-ts@1.0.7/dist/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","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mergeFiles = void 0;\nconst fs_1 = require(\"fs\");\nconst js_yaml_1 = require(\"js-yaml\");\nconst lodash_1 = require(\"lodash\");\nfunction mergeFiles(filesArray) {\n    let mergedConfig;\n    filesArray.forEach(function (file) {\n        const parsedConfig = (0, js_yaml_1.load)((0, fs_1.readFileSync)(file, 'utf8'));\n        if (!mergedConfig) {\n            mergedConfig = parsedConfig;\n        }\n        else {\n            (0, lodash_1.merge)(mergedConfig, parsedConfig);\n        }\n    });\n    return mergedConfig;\n}\nexports.mergeFiles = mergeFiles;\n"]}