Four small modules are built as data: URLs (each string is a real module). main imports a and b, and both import shared. What does this code log?
const mod = (source) => "data:text/javascript," + encodeURIComponent(source);
const shared = mod(`console.log("shared");`);
const a = mod(`import "${shared}"; console.log("a");`);
const b = mod(`import "${shared}"; console.log("b");`);
const main = mod(`import "${a}"; import "${b}"; console.log("main");`);
console.log("before import");
await import(main);
console.log("after import");