{"version":3,"sources":["jsdelivr-header.js","/npm/gulp-ex-css-url-adjuster@0.3.6/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,OAAS,QAAQ,UACjB,UAAY,QAAQ,qBACpB,QAAU,QAAQ,YAClB,WAAa,QAAQ,eAEzB,OAAO,QAAU,SAAU,GASzB,OAAO,QAAQ,KAAI,SAAU,EAAM,EAAK,GACtC,IAAI,EATN,SAAsB,GACpB,OAAO,OAAO,EAAK,SAAS,WAAY,CAAC,OAAQ,EAAK,OACnD,IAAI,WAAU,SAAU,GACvB,OAAO,WAAW,EAAK,EAAK,KAAM,EACpC,KACC,UACL,CAGY,CAAY,GACtB,EAAK,SAAW,IAAI,OAAO,GAE3B,KAAK,KAAK,GACV,GACF,GACF","file":"/npm/gulp-ex-css-url-adjuster@0.3.6/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/gulp-ex-css-url-adjuster@0.3.6/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 rework = require('rework');\nvar reworkUrl = require('rework-plugin-url');\nvar through = require('through2');\nvar urlTwister = require('url-twister');\n\nmodule.exports = function (options) {\n  function prependUrls (file) {\n    return rework(file.contents.toString(), {source: file.path})\n      .use(reworkUrl(function (url) {\n        return urlTwister(url, file.path, options);\n      }))\n      .toString();\n  }\n\n  return through.obj(function (file, enc, cb) {\n    var css = prependUrls(file);\n    file.contents = new Buffer(css);\n\n    this.push(file);\n    cb();\n  });\n};\n"]}