var getItemByFocused = function getItemByFocused(focusedPath, focusedToValueMap) {
  var focusedPathAsString = focusedPath.reduce(function (acc, n) {
    return "".concat(acc, "/").concat(n);
  }, '').replace(/^(\/)/, '');
  return focusedToValueMap.get(focusedPathAsString);
};

export { getItemByFocused };
