const d = (a, i) => {
  const e = [];
  let n = i.find((t) => t.id === JSON.stringify(a));
  for (; n && n.parentId; )
    e.unshift(n.name), n = i.find((t) => t.id === (n == null ? void 0 : n.parentId));
  return e;
};
export {
  d as getAllParentNames
};
//# sourceMappingURL=getAllParentNames.es.js.map
