{"version":3,"file":"vendor.file-size.909f5a6cfe47a4d3.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA,MAAM,KAA6B;AACnC,WAAW,IAA0C,SAAS,iCAAO,EAAE,oCAAE,MAAM;AAAA;AAAA;AAAA,kGAAC;AAChF,OAAO,EAAwB;AAC/B,CAAC;AACD;AACA,2BAA2B;;AAE3B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,aAAa,cAAc;AAC3B;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC","sources":["webpack://admin/./node_modules/file-size/index.js"],"sourcesContent":["// File-Size | 1.0.0 | MIT | Nijiko Yonskai <nijikokun@gmail.com> | 2015\n(function (plugin) {\n  /* istanbul ignore next: differing implementations */\n  if (typeof module !== 'undefined' && module.exports) return module.exports = plugin()\n  else if (typeof define === 'function' && define.amd) return define([], plugin)\n  else this.filesize = plugin()\n})(function () {\n  var units = 'BKMGTPEZY'.split('')\n  function equals (a, b) { return a && a.toLowerCase() === b.toLowerCase() }\n\n  return function filesize (bytes, options) {\n    bytes = typeof bytes == 'number' ? bytes : 0\n    options = options || {}\n    options.fixed = typeof options.fixed == 'number' ? options.fixed : 2\n    options.spacer = typeof options.spacer == 'string' ? options.spacer : ' '\n\n    options.calculate = function (spec) {\n      var type = equals(spec, 'si') ? ['k', 'B'] : ['K', 'iB']\n      var algorithm = equals(spec, 'si') ? 1e3 : 1024\n      var magnitude = Math.log(bytes) / Math.log(algorithm)|0\n      var result = (bytes / Math.pow(algorithm, magnitude))\n      var fixed = result.toFixed(options.fixed)\n      var suffix\n\n      if (magnitude-1 < 3 && !equals(spec, 'si') && equals(spec, 'jedec'))\n        type[1] = 'B'\n\n      suffix = magnitude\n        ? (type[0] + 'MGTPEZY')[magnitude-1] + type[1]\n        : ((fixed|0) === 1 ? 'Byte' : 'Bytes')\n\n      return {\n        suffix: suffix,\n        magnitude: magnitude,\n        result: result,\n        fixed: fixed,\n        bits: { result: result/8, fixed: (result/8).toFixed(options.fixed) }\n      }\n    }\n\n    options.to = function (unit, spec) {\n      var algorithm = equals(spec, 'si') ? 1e3 : 1024\n      var position = units.indexOf(typeof unit == 'string' ? unit[0].toUpperCase() : 'B')\n      var result = bytes\n\n      if (position === -1 || position === 0) return result.toFixed(2)\n      for (; position > 0; position--) result /= algorithm\n      return result.toFixed(2)\n    }\n\n    options.human = function (spec) {\n      var output = options.calculate(spec)\n      return output.fixed + options.spacer + output.suffix\n    }\n\n    return options;\n  }\n})\n"],"names":[],"sourceRoot":""}