This script looks for other scripts with type text/javascript+png and decompresses them on run-time. Since decompres operation is async, after all the scripts are decompressed and ready to be used, it fires base64URI_loaded event.
If you will use PNG scripts, it's important to request this script after all the PNG scripts.
Getting notified when PNG script is ready to be used:
_sb.addEvents("base64URI_loaded", () => {// scripts depend on PNG compressed scripts, should wait for // base64URI_loaded event to be triggered.})
Since PNG decompression is an async operation, scripts that depend on it, should wait until the script is ready to be used. PNG decompression script triggers an event when the script is decompressed and ready to be used.