text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  var nextId = 0;
  var parsePanelBarItems = function (data) {
      return data.map(function (item) {
          if (!item.id) {
              item.id = "default-" + nextId++;
          }
          if (item.children) {
              item.children = parsePanelBarItems(item.children);
          }
          return item;
      });
  };
  exports.default = {
      parsePanelBarItems: parsePanelBarItems
  };
  