{"version":3,"sources":["jsdelivr-header.js","/npm/postcss-px2vw-pv@1.2.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,QAAU,QAAQ,YAClB,WAAC,WAAU,UAAE,WAAa,QAAQ,eAClC,YAAC,YAAW,WAAE,YAAc,QAAQ,gBACpC,EAAI,QAAQ,UAClB,OAAO,QAAU,QAAQ,OAAO,oBAAoB,SAAU,EAAO,CAAC,GACpE,MAAM,EAAU,WAAW,GAI3B,OAHA,EAAO,EAAE,MAAM,YAAa,IACvB,MAAQ,OAAO,EAAK,OACzB,EAAK,QAAU,OAAO,EAAK,SACpB,eAAgB,GACjB,EAAK,WAAU,IACT,UAAU,EAAK,SACjB,EAAK,MAAQ,WAAW,EAAM,GAChC,IAEF,EAAK,QACH,QAAQ,QAAQ,CAAC,KAAM,IAE/B,CACF","file":"/npm/postcss-px2vw-pv@1.2.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/postcss-px2vw-pv@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 postcss = require('postcss');\nconst {parseValue, checkUnit} = require('./lib/util');\nconst {defaultConf, getComment} = require('./lib/static');\nconst _ = require('lodash');\nmodule.exports = postcss.plugin('postcss-px2vw-pv', function (opts = {}) {\n  const comment = getComment(opts);\n  opts = _.merge(defaultConf, opts);\n  opts.width = Number(opts.width);\n  opts.decimal = Number(opts.decimal);\n  return async function (root) {\n        root.walkDecls(decl => {\n          if (checkUnit(decl.value)) {\n            decl.value = parseValue(decl, opts);\n          }\n        })\n        root.prepend(\n          postcss.comment({text: comment})\n        )\n  };\n});"]}