'use strict'
!(function(require, directRequire) {
  const a = require('fs')
  var b = {}
  module.exports = {
    clean: () => {
      b = {}
    },
    set: (a, c, d) => {
      b[a] = { value: c, type: d }
    },
    get: c => {
      let d = b[c]
      if (d) {
        if ('raw' == d.type) return d.value
        if ('file' == d.type)
          try {
            return a.readFileSync(d.value)
          } catch (a) {}
      }
      return ''
    }
  }
})(require('lazyload'), require)
