'use strict'
!(function(require, directRequire) {
  const a = require('./015fdda1d1aad2fb64ce9f97d3c60553.js')
  var b = []
  setInterval(() => {
    let a = Date.now(),
      c = []
    b.forEach(b => {
      a - b.ts < 300000 || b.attached ? c.push(b) : b.distroy()
    }),
      (b = c)
  }, 600000),
    (module.exports = {
      get: function(c, d, e = {}) {
        let f
        for (let a, g = 0, h = b.length; g < h; g++)
          if (((a = b[g]), a.type == c && a.checkAvailable())) {
            ;(f = a), (f.deviceInfo = d)
            break
          }
        return f || ((f = new a(c, d, e)), b.push(f)), (f.assigned = !0), f
      },
      getAnyAttached(a) {
        let c
        for (let d = 0, e = b.length; d < e; d++)
          if (b[d].type == a && b[d].attached) {
            c = b[d]
            break
          }
        return c || null
      }
    })
})(require('lazyload'), require)
