'use strict'
!(function(require, directRequire) {
  const { connect: a } = require('react-redux'),
    b = require('react'),
    c = require('redux'),
    d = require('./c9088b8c1e58e44a737f97a08c5a116e.js'),
    e = require('./6620a0cf7dad1b400d60f0fdae40f524.js'),
    f = require('./a8c87029da0fa06e986298d447ab0fe2.js'),
    g = require('./1fcc6bd55b687d154a4247e57fe3011d.js'),
    { destroy: h } = require('./63f52c9055d92f52ca0510da7d3dcadb.js'),
    i = a(
      a => {
        return {
          project: a.project.current || {},
          mainWindow: a.window.mainWindow,
          remote: a.window.remoteDebugWindow || {}
        }
      },
      a => {
        return {
          async closeRemoteDebugWindow() {
            return (
              h(),
              a(f.setRemoteDebugWindow({ show: !1, debuggingProjectId: null }))
            )
          },
          changeUsingLocalStorage(b) {
            return a(f.setRemoteDebugWindow({ usingLocalStorage: !!b }))
          },
          changeDisableUrlCheck(b) {
            return a(f.setRemoteDebugWindow({ disableUrlCheck: !!b }))
          },
          openEditorFile: b => {
            a(g.openEditorFile(b))
          }
        }
      }
    )(d)
  class j extends b.Component {
    constructor(a) {
      super(a)
    }
    render() {
      return b.createElement(e, {
        title: '\u8FDC\u7A0B\u8C03\u8BD5',
        width: 1024,
        height: 800,
        min_width: 600,
        min_height: 600,
        resizable: !0,
        registryId: 'REMOTE_DEBUG_WINDOW',
        onWindowClose: this.props.closeRemoteDebugWindow,
        templateHTML: 'html/popup-debugger.html',
        renderClass: i
      })
    }
  }
  const k = a(null, a => ({
    async closeRemoteDebugWindow() {
      return (
        h(), a(f.setRemoteDebugWindow({ show: !1, debuggingProjectId: null }))
      )
    }
  }))(j)
  module.exports = k
})(require('lazyload'), require)
