'use strict'
!(function(require, directRequire) {
  const a = require('react'),
    { connect: b } = require('react-redux'),
    c = require('./56c390e04c10e91a4aa2a2c19d9a885d.js'),
    d = require('./cc2c2970ff81ae4a83123e81ee123da2.js'),
    e = require('./a8c87029da0fa06e986298d447ab0fe2.js'),
    f = require('./4f6b6129b37b32f36d3d1fde0dd09733.js'),
    g = require('./1fcc6bd55b687d154a4247e57fe3011d.js')
  module.exports = b(
    a => {
      let b = a.window.mainWindow === c.MAIN_WINDOW_TYPE.IMPORT_MINICODE
      return {
        isImport: b,
        project: a.project,
        options: a.window.miniCodeOptions
      }
    },
    a => {
      return {
        createProjectSuccess: (b, c) => a(d.createProjectSuccess(b, c)),
        openProject: b => {
          a(d.openProject(b))
        },
        closeProject: () => a(d.closeProject()),
        cancel: () => a(d.createProjectCancel()),
        close: () => a(d.createProjectClose()),
        setConfirmInfo: b => a(g.setConfirmInfo(b)),
        clearMiniCodeOptions: () => a(e.clearMiniCodeOptions())
      }
    }
  )(f)
})(require('lazyload'), require)
