Thank you for the code, but would it be possible to get a copy of it before it was bundled up? This has gone through a program called Webpack which squishes all of the files and libraries into fewer files to make downloading faster (you can tell by looking at the opening of static/js/213.328ba4ce.chunk.js). While it's possible to unbundle using the map files there's still a loss of some metadata like the file structure so it's not perfect.
Either way thank you for this and I've at least already started looking into how it works to see if I can add anything.