This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| const require_ = async (jsURL) => { | |
| // we can have a little security vulnerability, as a treat! | |
| return await fetch(jsURL).then(data => data.text()).then(eval); | |
| }; | |
| if (!this.includedJSZip) { | |
| this.includedJSZip = true; | |
| await require_("https://raw.githubusercontent.com/Stuk/jszip/refs/heads/main/dist/jszip.min.js"); | |
| await require_("https://raw.githubusercontent.com/eligrey/FileSaver.js/refs/heads/master/src/FileSaver.js"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// @desc Returns a clone of an array. | |
| /// @param variable {Array} The array to clone. | |
| /// @author Kat @katsaii | |
| if (array_length_1d(argument0) < 1) then return []; | |
| argument0[0] = argument0[0]; | |
| return argument0; |