{"version":3,"sources":["jsdelivr-header.js","/npm/dom-svg-loader@1.3.4/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,MAAQ,QAAQ,SAChB,IAAM,QAAQ,YACd,MAAQ,QAAQ,SAChB,KAAO,QAAQ,QAEf,IAAM,MAAM,yBAElB,OAAO,QAAU,WACf,MAAM,EAAW,KAAK,SAAS,KAAK,aAAc,QAAQ,QAAQ,KAAM,IAClE,EAAc,GAAG,MAAM,UAAU,SACjC,EAAK,IAAI,KAAK,SAAS,QAAQ,MAAO,KAAK,eAKjD,OAHA,IAAI,kBAAmB,KAAK,cAC5B,IAAI,aAAc,GAEX,2JAA2J,KAAY,4BAA6B,KAAY,8BAA+B,+BACxP","file":"/npm/dom-svg-loader@1.3.4/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/dom-svg-loader@1.3.4/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 debug = require('debug');\nconst sum = require('hash-sum');\nconst humps = require('humps');\nconst path = require('path');\n\nconst log = debug('dom-svg-loader:loader');\n\nmodule.exports = function loader() {\n  const baseName = path.basename(this.resourcePath, '.svg').replace(/\\./, '');\n  const displayName = `${humps.pascalize(baseName)}Icon`;\n  const id = sum(path.relative(process.cwd(), this.resourcePath));\n\n  log('Processing file', this.resourcePath);\n  log('Using hash', id);\n\n  return `var React = require('react'); var SVGIcon = function (props) { return React.createElement('svg', props || {}, React.createElement('use', { xlinkHref: '#${baseName}-${id}' })); }; SVGIcon.id = '${baseName}-${id}'; SVGIcon.displayName = '${displayName}'; module.exports = SVGIcon;`;\n};\n"]}