"use strict";

exports.__esModule = true;
exports.default = void 0;

var context = require.context('./content', true, /.jpg|.png$/);

var dictonary = {};
context.keys().forEach(function (key) {
  // remove the first 2 characters, remove the file extension, split
  var image = key.split('./').pop().substring(0, key.length - 6).split('@');
  var size = image[1] === undefined ? 'standard' : image[1].replace('2x', 'retina');

  if (dictonary[image[0]]) {
    dictonary[image[0]][size] = context(key);
  } else {
    var _dictonary$image$;

    dictonary[image[0]] = (_dictonary$image$ = {}, _dictonary$image$[size] = context(key), _dictonary$image$);
  }
});
var _default = dictonary;
exports.default = _default;