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Ac,aAC7B,EAAM,EAAc,IACpB,EAAc,EAAc,YAGhC,GAAI,EAAqB,SAAU,CACjC,MAAM,EAAU,EAAqB,SACrC,EAAQ,KAAO,EAEG,WAAd,EACF,EAAQ,IAAM,CACZ,QAAQ,IAEa,IAAd,GAAsB,IAC/B,EAAQ,IAAM,CACZ,KAAM,GAER,EAAQ,GAAK,GAGf,MAAM,QAAe,QAAQ,WAAW,QAAQ,EAAM,GACtD,EAAO,EAAO,KAEI,IAAd,GAAsB,EAAO,KAAO,EAAO,IAAI,WACjD,EAAM,EAAO,IAAI,WAErB,CAEA,MAAM,EAAW,CACf,SAAU,EACV,SAAS,EACT,OAAQ,GAIV,GAFA,EAAO,EAAS,UAAY,EAExB,EAAK,CACP,MAAM,EAAU,CACd,SAAU,EACV,SAAS,EACT,OAAQ,GAEV,EAAO,EAAQ,UAAY,CAC7B,CACF,GAlGO,GAsGZ,EAED,OAAO,QAAU","file":"/npm/rollup-plugin-postcss-retain-sass-data@2.0.3/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.19.2.\n * Original file: /npm/rollup-plugin-postcss-retain-sass-data@2.0.3/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';\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar path = _interopDefault(require('path'));\nvar rollupPluginutils = require('rollup-pluginutils');\nvar Concat = _interopDefault(require('concat-with-sourcemaps'));\nvar series = _interopDefault(require('promise.series'));\nvar importCwd = _interopDefault(require('import-cwd'));\nvar postcss = _interopDefault(require('postcss'));\nvar findPostcssConfig = _interopDefault(require('postcss-load-config'));\nvar reserved = _interopDefault(require('reserved-words'));\nvar pify = _interopDefault(require('pify'));\nvar resolve = _interopDefault(require('resolve'));\nvar PQueue = _interopDefault(require('p-queue'));\n\nfunction asyncGeneratorStep(gen, resolve$$1, reject, _next, _throw, key, arg) {\n  try {\n    var info = gen[key](arg);\n    var value = info.value;\n  } catch (error) {\n    reject(error);\n    return;\n  }\n\n  if (info.done) {\n    resolve$$1(value);\n  } else {\n    Promise.resolve(value).then(_next, _throw);\n  }\n}\n\nfunction _asyncToGenerator(fn) {\n  return function () {\n    var self = this,\n        args = arguments;\n    return new Promise(function (resolve$$1, reject) {\n      var gen = fn.apply(self, args);\n\n      function _next(value) {\n        asyncGeneratorStep(gen, resolve$$1, reject, _next, _throw, \"next\", value);\n      }\n\n      function _throw(err) {\n        asyncGeneratorStep(gen, resolve$$1, reject, _next, _throw, \"throw\", err);\n      }\n\n      _next(undefined);\n    });\n  };\n}\n\nfunction _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\nfunction _objectSpread(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i] != null ? arguments[i] : {};\n    var ownKeys = Object.keys(source);\n\n    if (typeof Object.getOwnPropertySymbols === 'function') {\n      ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n        return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n      }));\n    }\n\n    ownKeys.forEach(function (key) {\n      _defineProperty(target, key, source[key]);\n    });\n  }\n\n  return target;\n}\n\nconst humanlizePath = filepath => path.relative(process.cwd(), filepath);\n\nvar normalizePath = (path$$1 => path$$1 && path$$1.replace(/\\\\+/g, '/'));\n\nconst styleInjectPath = require.resolve('style-inject/dist/style-inject.es').replace(/[\\\\/]+/g, '/');\n\nfunction loadConfig(id, {\n  ctx: configOptions,\n  path: configPath\n}) {\n  const handleError = err => {\n    if (err.message.indexOf('No PostCSS Config found') === -1) {\n      throw err;\n    } // Return empty options for PostCSS\n\n\n    return {};\n  };\n\n  configPath = configPath ? path.resolve(configPath) : path.dirname(id);\n  const ctx = {\n    file: {\n      extname: path.extname(id),\n      dirname: path.dirname(id),\n      basename: path.basename(id)\n    },\n    options: configOptions || {}\n  };\n  return findPostcssConfig(ctx, configPath).catch(handleError);\n}\n\nfunction escapeClassNameDashes(str) {\n  return str.replace(/-+/g, match => {\n    return `$${match.replace(/-/g, '_')}$`;\n  });\n}\n\nfunction ensureClassName(name) {\n  name = escapeClassNameDashes(name);\n\n  if (reserved.check(name)) {\n    name = `$${name}$`;\n  }\n\n  return name;\n}\n\nfunction ensurePostCSSOption(option) {\n  return typeof option === 'string' ? importCwd(option) : option;\n}\n\nfunction isModuleFile(file) {\n  return /\\.module\\.[a-z]{2,6}$/.test(file);\n}\n\nvar postcssLoader = {\n  name: 'postcss',\n  alwaysProcess: true,\n\n  // `test` option is dynamically set in ./loaders\n  process({\n    code,\n    map\n  }) {\n    var _this = this;\n\n    return _asyncToGenerator(function* () {\n      const config = _this.options.config ? yield loadConfig(_this.id, _this.options.config) : {};\n      const options = _this.options;\n      const plugins = [...(options.postcss.plugins || []), ...(config.plugins || [])];\n      const shouldExtract = options.extract;\n      const shouldInject = options.inject;\n      const modulesExported = {};\n      const autoModules = options.autoModules !== false && isModuleFile(_this.id);\n      const supportModules = options.modules || autoModules;\n\n      if (supportModules) {\n        plugins.push(require('postcss-modules')(_objectSpread({\n          // In tests\n          // Skip hash in names since css content on windows and linux would differ because of `new line` (\\r?\\n)\n          generateScopedName: process.env.ROLLUP_POSTCSS_TEST ? '[name]_[local]' : '[name]_[local]__[hash:base64:5]'\n        }, options.modules, {\n          getJSON(filepath, json, outpath) {\n            modulesExported[filepath] = json;\n\n            if (typeof options.modules === 'object' && typeof options.modules.getJSON === 'function') {\n              return options.modules.getJSON(filepath, json, outpath);\n            }\n          }\n\n        })));\n      } // If shouldExtract, minimize is done after all CSS are extracted to a file\n\n\n      if (!shouldExtract && options.minimize) {\n        plugins.push(require('cssnano')(options.minimize));\n      }\n\n      const postcssOpts = _objectSpread({}, _this.options.postcss, config.options, {\n        // Followings are never modified by user config config\n        from: _this.id,\n        to: _this.id,\n        map: _this.sourceMap ? shouldExtract ? {\n          inline: false,\n          annotation: false\n        } : {\n          inline: true,\n          annotation: false\n        } : false\n      });\n\n      delete postcssOpts.plugins;\n      postcssOpts.parser = ensurePostCSSOption(postcssOpts.parser);\n      postcssOpts.syntax = ensurePostCSSOption(postcssOpts.syntax);\n      postcssOpts.stringifier = ensurePostCSSOption(postcssOpts.stringifier);\n\n      if (map && postcssOpts.map) {\n        postcssOpts.map.prev = typeof map === 'string' ? JSON.parse(map) : map;\n      }\n\n      if (plugins.length === 0) {\n        // Prevent from postcss warning:\n        // You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js\n        const noopPlugin = postcss.plugin('postcss-noop-plugin', () => () => {\n          /* noop */\n        });\n        plugins.push(noopPlugin());\n      }\n\n      const res = yield postcss(plugins).process(code, postcssOpts);\n      var _iteratorNormalCompletion = true;\n      var _didIteratorError = false;\n      var _iteratorError = undefined;\n\n      try {\n        for (var _iterator = res.messages[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n          const msg = _step.value;\n\n          if (msg.type === 'dependency') {\n            _this.dependencies.add(msg.file);\n          }\n        }\n      } catch (err) {\n        _didIteratorError = true;\n        _iteratorError = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion && _iterator.return != null) {\n            _iterator.return();\n          }\n        } finally {\n          if (_didIteratorError) {\n            throw _iteratorError;\n          }\n        }\n      }\n\n      var _iteratorNormalCompletion2 = true;\n      var _didIteratorError2 = false;\n      var _iteratorError2 = undefined;\n\n      try {\n        for (var _iterator2 = res.warnings()[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n          const warning = _step2.value;\n\n          _this.warn(warning);\n        }\n      } catch (err) {\n        _didIteratorError2 = true;\n        _iteratorError2 = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion2 && _iterator2.return != null) {\n            _iterator2.return();\n          }\n        } finally {\n          if (_didIteratorError2) {\n            throw _iteratorError2;\n          }\n        }\n      }\n\n      const outputMap = res.map && JSON.parse(res.map.toString());\n\n      if (outputMap && outputMap.sources) {\n        outputMap.sources = outputMap.sources.map(v => normalizePath(v));\n      }\n\n      let output = '';\n      let extracted;\n\n      if (options.namedExports) {\n        const json = modulesExported[_this.id];\n        const getClassName = typeof options.namedExports === 'function' ? options.namedExports : ensureClassName; // eslint-disable-next-line guard-for-in\n\n        for (const name in json) {\n          const newName = getClassName(name); // Log transformed class names\n          // But skip this when namedExports is a function\n          // Since a user like you can manually log that if you want\n\n          if (name !== newName && typeof options.namedExports !== 'function') {\n            _this.warn(`Exported \"${name}\" as \"${newName}\" in ${humanlizePath(_this.id)}`);\n          }\n\n          if (!json[newName]) {\n            json[newName] = json[name];\n          }\n\n          output += `export var ${newName} = ${JSON.stringify(json[name])};\\n`;\n        }\n      }\n\n      if (shouldExtract) {\n        output += `export default ${JSON.stringify(modulesExported[_this.id])};`;\n        extracted = {\n          id: _this.id,\n          code: res.css,\n          map: outputMap\n        };\n      } else {\n        output += `var css = ${JSON.stringify(res.css)};\\nexport default ${supportModules ? JSON.stringify(modulesExported[_this.id]) : 'css'};`;\n      }\n\n      if (!shouldExtract && shouldInject) {\n        output += `\\nimport styleInject from '${styleInjectPath}';\\nstyleInject(css${Object.keys(options.inject).length > 0 ? `,${JSON.stringify(options.inject)}` : ''});`;\n      }\n\n      return {\n        code: output,\n        map: outputMap,\n        extracted\n      };\n    })();\n  }\n\n};\n\n// See: https://github.com/sass/node-sass/issues/857\n\nconst threadPoolSize = process.env.UV_THREADPOOL_SIZE || 4;\nconst workQueue = new PQueue({\n  concurrency: threadPoolSize - 1\n});\nconst moduleRe = /^~([a-z0-9]|@).+/i;\n\nconst getUrlOfPartial = url => {\n  const parsedUrl = path.parse(url);\n  return `${parsedUrl.dir}${path.sep}_${parsedUrl.base}`;\n};\n\nconst resolvePromise = pify(resolve);\nvar sassLoader = {\n  name: 'sass',\n  test: /\\.s[ac]ss$/,\n\n  process({\n    code\n  }) {\n    return new Promise((resolve$$1, reject) => {\n      const sass = importCwd.silent('node-sass') || importCwd.silent('sass');\n\n      if (!sass) {\n        throw new Error(`You need to install either node-sass or sass in order to process Sass files`);\n      }\n\n      const render = pify(sass.render.bind(sass));\n      return workQueue.add(() => render(_objectSpread({}, this.options, {\n        file: this.id,\n        data: this.options.data ? this.options.data + code : code,\n        indentedSyntax: /\\.sass$/.test(this.id),\n        sourceMap: this.sourceMap,\n        importer: [(url, importer, done) => {\n          if (!moduleRe.test(url)) return done({\n            file: url\n          });\n          const moduleUrl = url.slice(1);\n          const partialUrl = getUrlOfPartial(moduleUrl);\n          const options = {\n            basedir: path.dirname(importer),\n            extensions: ['.scss', '.sass', '.css']\n          };\n\n          const finishImport = id => {\n            done({\n              // Do not add `.css` extension in order to inline the file\n              file: id.endsWith('.css') ? id.replace(/\\.css$/, '') : id\n            });\n          };\n\n          const next = () => {\n            // Catch all resolving errors, return the original file and pass responsibility back to other custom importers\n            done({\n              file: url\n            });\n          }; // Give precedence to importing a partial\n\n\n          resolvePromise(partialUrl, options).then(finishImport).catch(err => {\n            if (err.code === 'MODULE_NOT_FOUND' || err.code === 'ENOENT') {\n              resolvePromise(moduleUrl, options).then(finishImport).catch(next);\n            } else {\n              next();\n            }\n          });\n        }].concat(this.options.importer || [])\n      })).then(res => {\n        var _iteratorNormalCompletion = true;\n        var _didIteratorError = false;\n        var _iteratorError = undefined;\n\n        try {\n          for (var _iterator = res.stats.includedFiles[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n            const file = _step.value;\n            this.dependencies.add(file);\n          }\n        } catch (err) {\n          _didIteratorError = true;\n          _iteratorError = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion && _iterator.return != null) {\n              _iterator.return();\n            }\n          } finally {\n            if (_didIteratorError) {\n              throw _iteratorError;\n            }\n          }\n        }\n\n        resolve$$1({\n          code: res.css.toString(),\n          map: res.map && res.map.toString()\n        });\n      }).catch(reject));\n    });\n  }\n\n};\n\nvar stylusLoader = {\n  name: 'stylus',\n  test: /\\.(styl|stylus)$/,\n\n  process({\n    code\n  }) {\n    var _this = this;\n\n    return _asyncToGenerator(function* () {\n      const stylus = importCwd('stylus');\n      const style = stylus(code, _objectSpread({}, _this.options, {\n        filename: _this.id,\n        sourcemap: _this.sourceMap && {}\n      }));\n      const css = yield pify(style.render.bind(style))();\n      const deps = style.deps();\n      var _iteratorNormalCompletion = true;\n      var _didIteratorError = false;\n      var _iteratorError = undefined;\n\n      try {\n        for (var _iterator = deps[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n          const dep = _step.value;\n\n          _this.dependencies.add(dep);\n        }\n      } catch (err) {\n        _didIteratorError = true;\n        _iteratorError = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion && _iterator.return != null) {\n            _iterator.return();\n          }\n        } finally {\n          if (_didIteratorError) {\n            throw _iteratorError;\n          }\n        }\n      }\n\n      return {\n        code: css,\n        map: style.sourcemap\n      };\n    })();\n  }\n\n};\n\nvar lessLoader = {\n  name: 'less',\n  test: /\\.less$/,\n\n  process({\n    code\n  }) {\n    var _this = this;\n\n    return _asyncToGenerator(function* () {\n      const less = importCwd('less');\n\n      let _ref = yield pify(less.render.bind(less))(code, _objectSpread({}, _this.options, {\n        sourceMap: _this.sourceMap && {},\n        filename: _this.id\n      })),\n          css = _ref.css,\n          map = _ref.map,\n          imports = _ref.imports;\n\n      var _iteratorNormalCompletion = true;\n      var _didIteratorError = false;\n      var _iteratorError = undefined;\n\n      try {\n        for (var _iterator = imports[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n          const dep = _step.value;\n\n          _this.dependencies.add(dep);\n        }\n      } catch (err) {\n        _didIteratorError = true;\n        _iteratorError = err;\n      } finally {\n        try {\n          if (!_iteratorNormalCompletion && _iterator.return != null) {\n            _iterator.return();\n          }\n        } finally {\n          if (_didIteratorError) {\n            throw _iteratorError;\n          }\n        }\n      }\n\n      if (map) {\n        map = JSON.parse(map);\n        map.sources = map.sources.map(source => humanlizePath(source));\n      }\n\n      return {\n        code: css,\n        map\n      };\n    })();\n  }\n\n};\n\nconst matchFile = (filepath, condition) => {\n  if (typeof condition === 'function') {\n    return condition(filepath);\n  }\n\n  return condition && condition.test(filepath);\n};\n\nclass Loaders {\n  constructor(options = {}) {\n    this.use = options.use.map(rule => {\n      if (typeof rule === 'string') {\n        return [rule];\n      }\n\n      if (Array.isArray(rule)) {\n        return rule;\n      }\n\n      throw new TypeError('The rule in `use` option must be string or Array!');\n    });\n    this.loaders = [];\n    const extensions = options.extensions || ['.css', '.sss', '.pcss'];\n\n    postcssLoader.test = filepath => extensions.some(ext => path.extname(filepath) === ext);\n\n    this.registerLoader(postcssLoader);\n    this.registerLoader(sassLoader);\n    this.registerLoader(stylusLoader);\n    this.registerLoader(lessLoader);\n\n    if (options.loaders) {\n      options.loaders.forEach(loader => this.registerLoader(loader));\n    }\n  }\n\n  registerLoader(loader) {\n    const existing = this.getLoader(loader.name);\n\n    if (existing) {\n      this.removeLoader(loader.name);\n    }\n\n    this.loaders.push(loader);\n    return this;\n  }\n\n  removeLoader(name) {\n    this.loaders = this.loaders.filter(loader => loader.name !== name);\n    return this;\n  }\n\n  isSupported(filepath) {\n    return this.loaders.some(loader => {\n      return matchFile(filepath, loader.test);\n    });\n  }\n  /**\n   * Process the resource with loaders in serial\n   * @param {object} resource\n   * @param {string} resource.code\n   * @param {any} resource.map\n   * @param {object} context\n   * @param {string} context.id The absolute path to resource\n   * @param {boolean | 'inline'} context.sourceMap\n   * @param {Set<string>} context.dependencies A set of dependencies to watch\n   * @returns {{code: string, map?: any}}\n   */\n\n\n  process({\n    code,\n    map\n  }, context) {\n    return series(this.use.slice().reverse().map(([name, options]) => {\n      const loader = this.getLoader(name);\n      const loaderContext = Object.assign({\n        options: options || {}\n      }, context);\n      return v => {\n        if (loader.alwaysProcess || matchFile(loaderContext.id, loader.test)) {\n          return loader.process.call(loaderContext, v);\n        } // Otherwise directly return input value\n\n\n        return v;\n      };\n    }), {\n      code,\n      map\n    });\n  }\n\n  getLoader(name) {\n    return this.loaders.find(loader => loader.name === name);\n  }\n\n}\n\n/**\n * The options that could be `boolean` or `object`\n * We convert it to an object when it's truthy\n * Otherwise fallback to default value\n */\n\nfunction inferOption(option, defaultValue) {\n  if (option === false) return false;\n  if (option && typeof option === 'object') return option;\n  return option ? {} : defaultValue;\n}\n\nvar index = ((options = {}) => {\n  const filter = rollupPluginutils.createFilter(options.include, options.exclude);\n  const postcssPlugins = Array.isArray(options.plugins) ? options.plugins.filter(Boolean) : options.plugins;\n  const sourceMap = options.sourceMap;\n  const postcssLoaderOptions = {\n    /** Inject CSS as `<style>` to `<head>` */\n    inject: inferOption(options.inject, {}),\n\n    /** Extract CSS */\n    extract: typeof options.extract === 'undefined' ? false : options.extract,\n\n    /** CSS modules */\n    modules: inferOption(options.modules, false),\n    namedExports: options.namedExports,\n\n    /** Automatically CSS modules for .module.xxx files */\n    autoModules: options.autoModules,\n\n    /** Options for cssnano */\n    minimize: inferOption(options.minimize, false),\n\n    /** Postcss config file */\n    config: inferOption(options.config, {}),\n\n    /** PostCSS options */\n    postcss: {\n      parser: options.parser,\n      plugins: postcssPlugins,\n      syntax: options.syntax,\n      stringifier: options.stringifier,\n      exec: options.exec\n    }\n  };\n  const use = options.use || ['sass', 'stylus', 'less'];\n  use.unshift(['postcss', postcssLoaderOptions]);\n  const loaders = new Loaders({\n    use,\n    loaders: options.loaders,\n    extensions: options.extensions\n  });\n  const extracted = new Map();\n  return {\n    name: 'postcss',\n\n    transform(code, id) {\n      var _this = this;\n\n      return _asyncToGenerator(function* () {\n        if (!filter(id) || !loaders.isSupported(id)) {\n          return null;\n        }\n\n        if (typeof options.onImport === 'function') {\n          options.onImport(id);\n        }\n\n        const loaderContext = {\n          id,\n          sourceMap,\n          dependencies: new Set(),\n          warn: _this.warn.bind(_this),\n          plugin: _this\n        };\n        const res = yield loaders.process({\n          code,\n          map: undefined\n        }, loaderContext);\n        var _iteratorNormalCompletion = true;\n        var _didIteratorError = false;\n        var _iteratorError = undefined;\n\n        try {\n          for (var _iterator = loaderContext.dependencies[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n            const dep = _step.value;\n\n            _this.addWatchFile(dep);\n          }\n        } catch (err) {\n          _didIteratorError = true;\n          _iteratorError = err;\n        } finally {\n          try {\n            if (!_iteratorNormalCompletion && _iterator.return != null) {\n              _iterator.return();\n            }\n          } finally {\n            if (_didIteratorError) {\n              throw _iteratorError;\n            }\n          }\n        }\n\n        if (postcssLoaderOptions.extract) {\n          extracted.set(id, res.extracted);\n          return {\n            code: res.code,\n            map: {\n              mappings: ''\n            }\n          };\n        }\n\n        return {\n          code: res.code,\n          map: res.map || {\n            mappings: ''\n          }\n        };\n      })();\n    },\n\n    generateBundle(opts, bundle) {\n      return _asyncToGenerator(function* () {\n        if (extracted.size === 0) return; // TODO: support `[hash]`\n\n        const dir = opts.dir || path.dirname(opts.file);\n        const file = opts.file || path.join(opts.dir, Object.keys(bundle).find(fileName => bundle[fileName].isEntry));\n\n        const getExtracted = () => {\n          const fileName = typeof postcssLoaderOptions.extract === 'string' ? path.relative(dir, postcssLoaderOptions.extract) : `${path.basename(file, path.extname(file))}.css`;\n          const concat = new Concat(true, fileName, '\\n');\n          const entries = Array.from(extracted.values());\n          const modules = bundle[path.relative(dir, file)].modules;\n\n          if (modules) {\n            const fileList = Object.keys(modules);\n            entries.sort((a, b) => fileList.indexOf(a.id) - fileList.indexOf(b.id));\n          }\n\n          for (var _i = 0; _i < entries.length; _i++) {\n            const res = entries[_i];\n            const relative = path.relative(dir, res.id);\n            const map = res.map || null;\n\n            if (map) {\n              map.file = fileName;\n            }\n\n            concat.add(relative, res.code, map);\n          }\n\n          let code = concat.content;\n\n          if (sourceMap === 'inline') {\n            code += `\\n/*# sourceMappingURL=data:application/json;base64,${Buffer.from(concat.sourceMap, 'utf8').toString('base64')}*/`;\n          } else if (sourceMap === true) {\n            code += `\\n/*# sourceMappingURL=${fileName}.map */`;\n          }\n\n          return {\n            code,\n            map: sourceMap === true && concat.sourceMap,\n            codeFileName: fileName,\n            mapFileName: fileName + '.map'\n          };\n        };\n\n        if (options.onExtract) {\n          const shouldExtract = yield options.onExtract(getExtracted);\n\n          if (shouldExtract === false) {\n            return;\n          }\n        }\n\n        let _getExtracted = getExtracted(),\n            code = _getExtracted.code,\n            codeFileName = _getExtracted.codeFileName,\n            map = _getExtracted.map,\n            mapFileName = _getExtracted.mapFileName; // Perform cssnano on the extracted file\n\n\n        if (postcssLoaderOptions.minimize) {\n          const cssOpts = postcssLoaderOptions.minimize;\n          cssOpts.from = codeFileName;\n\n          if (sourceMap === 'inline') {\n            cssOpts.map = {\n              inline: true\n            };\n          } else if (sourceMap === true && map) {\n            cssOpts.map = {\n              prev: map\n            };\n            cssOpts.to = codeFileName;\n          }\n\n          const result = yield require('cssnano').process(code, cssOpts);\n          code = result.css;\n\n          if (sourceMap === true && result.map && result.map.toString) {\n            map = result.map.toString();\n          }\n        }\n\n        const codeFile = {\n          fileName: codeFileName,\n          isAsset: true,\n          source: code\n        };\n        bundle[codeFile.fileName] = codeFile;\n\n        if (map) {\n          const mapFile = {\n            fileName: mapFileName,\n            isAsset: true,\n            source: map\n          };\n          bundle[mapFile.fileName] = mapFile;\n        }\n      })();\n    }\n\n  };\n});\n\nmodule.exports = index;\n"]}