         ["name", "startnode", "creator", "creator-version", "ifid"].forEach(
            function (n) {
              var r = t.attributes[n].value;
              r && (a[n] = r);
            }
          );
          var e = {};
          return (
            a.passages.forEach(function (t) {
              e[t.name] = t.pid;
            }),
            a.passages.forEach(function (t) {
              t.links &&
                t.links.forEach(function (t) {
                  (t.pid = e[t.link]