'use strict'
!(function(require, directRequire) {
  const a = require('./c8f9a38f906c462500d1d8c38f4bac7a.js'),
    b = require('./535a84422c995fb798afe973987dd942.js'),
    c = require('./41f4eba9fb17703b7d61eca8b05aa076.js'),
    d = require('./bc78839ccca8df9e5ceeb7fae11b7be2.js'),
    e = require('./56c390e04c10e91a4aa2a2c19d9a885d.js')
  let f,
    g = a
  const h = () => {
      g.update(f)
    },
    i = (a, b) => {
      return (
        a.project &&
        a.project.current &&
        b.project &&
        b.project.current &&
        a.project.current.condiction != b.project.current.condiction
      )
    },
    j = (a, b) => {
      return (
        a.project &&
        a.project.current &&
        b.project &&
        b.project.current &&
        a.project.current.attr != b.project.current.attr
      )
    },
    k = (a, b) => {
      return (
        a.settings &&
        a.settings.shortcuts &&
        b.settings &&
        b.settings.shortcuts &&
        a.settings.shortcuts !== b.settings.shortcuts
      )
    }
  let l = d.getState()
  d.subscribe(() => {
    let a = d.getState()
    ;(l.window !== a.window || k(l, a) || i(l, a) || j(l, a)) && h(), (l = a)
  }),
    (module.exports = {
      init: c => {
        const h = d.getState()
        h.window && h.window.mainWindow === e.MAIN_WINDOW_TYPE.WEB_DEBUGGER
          ? ((g = b), b.init(c))
          : ((g = a), a.init(c)),
          (f = c),
          (l = h)
      },
      update: h
    })
})(require('lazyload'), require)
