'use strict'
var _extends =
  Object.assign ||
  function(a) {
    for (var b, c = 1; c < arguments.length; c++)
      for (var d in ((b = arguments[c]), b))
        Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d])
    return a
  }
!(function(require, directRequire) {
  function a() {
    g = void 0
  }
  function b(b, c) {
    path.extname(c)
    if ('game.json' == c) return void a()
    for (var d in g) 0 == c.indexOf(d) && delete g[d]
  }
  async function c(c) {
    let d = await e(c)
    ;(f && f.srcPath == d.srcPath) ||
      (a(), f && f.unWatch(b), (f = d), f.watch(b))
  }
  const d = require('./48679210e49dc5028a8b6642263eba75.js'),
    e = require('./162bf2ee28b76d3b3d95b685cede4146.js')
  var f, g
  module.exports = async function(a) {
    if ((await c(a), g)) return g
    let b = await d(a),
      e = _extends({}, b, { appConfig: b })
    return (
      (e.widgets = b.widgets || []),
      (e.deviceOrientation = b.deviceOrientation || 'portrait'),
      (e.showStatusBar = !!b.showStatusBar),
      (e.networkTimeout = Object.assign(
        {
          request: 6e4,
          uploadFile: 6e4,
          connectSocket: 6e4,
          downloadFile: 6e4
        },
        b.networkTimeout
      )),
      (g = e),
      g
    )
  }
})(require('lazyload'), require)
