'use strict'
!(function(require, directRequire) {
  const a = require('http'),
    b = require('./8baad0631295efb1130774c37d944951.js')
  class c {
    constructor() {
      this._map = new Map()
    }
    add(a) {
      let b = this._map.get(a)
      'number' == typeof b ? this._map.set(a, b + 1) : this._map.set(a, 1)
    }
    delete(a) {
      let b = this._map.get(a)
      if ('number' == typeof b) {
        let c = b - 1
        0 >= c ? this._map.delete(a) : this._map.set(a, c)
      }
    }
    get size() {
      return this._map.size
    }
  }
  var d = 9980
  module.exports = {
    SelfManagedMap: c,
    getAvailablePort: async function() {
      return b.findFreePort('127.0.0.1')
    }
  }
})(require('lazyload'), require)
