{"version":3,"sources":["jsdelivr-header.js","/npm/json-interact@0.0.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,QAAU,QAAQ,YAAY,IAC9B,KAAO,QAAQ,cAEnB,OAAO,QAAU,SAAS,EAAI,GAE5B,IAAI,EAA4B,OADhC,EAAO,GAAQ,CAAC,GACI,UAA2B,EAAK,SACpD,QAAQ,MACP,KAAK,KAAK,MAAM,IAChB,KAAK,SAAQ,SAAS,EAAK,EAAK,GAC/B,EAAG,KAAK,KAAM,EAAK,EACrB,KACC,KAAK,KAAK,UAAU,IACpB,KAAK,QAAQ,OAChB","file":"/npm/json-interact@0.0.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/json-interact@0.0.1/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 through = require('through2').obj;\nvar json = require('JSONStream');\n\nmodule.exports = function(fn, opts) {\n  opts = opts || {};\n  var jsonLine = opts.jsonLine == null ? false : opts.jsonLine;\n  process.stdin\n  .pipe(json.parse(jsonLine))\n  .pipe(through(function(obj, enc, done){\n    fn.call(this, obj, done);\n  }))\n  .pipe(json.stringify(jsonLine))\n  .pipe(process.stdout);\n};\n"]}