'use strict'
!(function(require, directRequire) {
  const a = require('./0634ee2ebd3e560d9d4804ecc960160f.js'),
    b = require('path')
  let c = 1
  module.exports = {
    createLoadSubPackageTask: async function(b, d, e) {
      const f = e(),
        g = f.simulator.appConfig,
        h = g && g.subPackages,
        i = d.args.moduleName
      let j = !1
      return (h.forEach(a => {
        a.root == i && (j = !0)
      }),
      !j)
        ? { errMsg: `${d.api}:fail module not found` }
        : (b({
            type: a.SIMULATOR_LOAD_GAME_SUBPACKAGE,
            data: { taskId: c, root: i }
          }),
          { loadTaskId: c++, errMsg: `${d.api}:ok` })
    }
  }
})(require('lazyload'), require)
