processName = name => {
    let collection = getCollection();
    const isTnt = name.startsWith("Tnt");
    const set = isTnt ? "tnt" : "fiori";
    let registryKey = `${set}/${collection}/${name}`;
    let loaderKey = `${collection}/${name}`;
    if (!loaders.has(loaderKey) && collection !== FALLBACK_COLLECTION) {
      collection = FALLBACK_COLLECTION;
      loaderKey = `${collection}/${name}`;
      registryKey = `${set}/${collection}/${name}`;
    }
    if (isTnt) {
      name = name.replace(/^Tnt/, "");
      registryKey = `${set}/${collection}/${name}`;
    }
    return {
      registryKey,
      loaderKey,
      collection
    };
  }
Processes the name of the illustration
The name is used to generate the registry key and the loader key
The registry key is used to store and get the illustration data from the registry
The loader key is used to store and get the illustration loader from the loaders map
The function generates the correct registry key and loader key based on whether an loader exists for the illustration
If there is no loader registered for the collection, it falls back to the default collection