'use strict'
!(function(require, directRequire) {
  const a = {}
  let b, c
  class d {
    static getMainWindowHandle() {
      return 'window-main-server'
    }
    static getSelfWindowHandle() {
      return c
    }
    static addWindowHandle(b) {
      a[b] = { id: b }
    }
    static removeWindowHandle(b) {
      delete a[b]
    }
    static getCurrentBrowsingContext() {
      return b
    }
    static setCurrentBrowsingContext(c) {
      a[c] && (b = c)
    }
  }
  ;(c = global.isDevWindow ? global.devInfo.id : d.getMainWindowHandle()),
    d.addWindowHandle(c),
    d.setCurrentBrowsingContext(c),
    (module.exports = d)
})(require('lazyload'), require)
