'use strict'
!(function(require, directRequire) {
  const a = require('path'),
    {
      devVendorList: b,
      vendorList: c,
      htmlBegin: d,
      htmlEnd: e,
      jsDebug: f
    } = require('./4392d52aecdff61f2b7b0af814b6713e.js'),
    g = global.appConfig.isDev && !nw.App.manifest.forceVendor ? b : c
  var h = ''
  module.exports = {
    generate: async function(b, c = {}) {
      if (!h || c.force || global.appConfig.isDev) {
        var j = [d, `<script>${f}</script>`]
        for (let b = 0, c = g.length; b < c; b++) {
          let c = g[b],
            d = a.extname(c)
          '.js' === d
            ? j.push(`<script src="__dev__/${c}"></script>`)
            : '.css' === d &&
              j.push(
                `<link rel="stylesheet" type="text/css" href="__dev__/${c}" />`
              )
        }
        j.push(e),
          j.push(
            `<script src="__dev__/devtools-native-components.js"></script>`
          ),
          (h = j.join('\n'))
      }
      return h
    }
  }
})(require('lazyload'), require)
