Content-Length: 13387883 | pFad | https://raw.githubusercontent.com/AssemblyScript/binaryen.js/master/index.js
76 /** * @license * Copyright 2026 The Binaryen Authors. * SPDX-License-Identifier: Apache-2.0 */ async function zj(H6={}){var pA,A=H6,m6=!!globalThis.window,x6=!!globalThis.WorkerGlobalScope,EA=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";if(EA){let{createRequire:j}=await import("node:module");var $A=j(import.meta.url)}var KA="./this.program",NA=(j,n)=>{throw n},RA=import.meta.url;if(EA){var L6=$A("node:fs");RA.startsWith("file:")&&$A("node:path").dirname($A("node:url").fileURLToPath(RA)),process.argv.length>1&&(KA=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),NA=(j,n)=>{throw process.exitCode=j,n}}else if(m6||x6)try{new URL(".",RA)}catch{}var X=console.log.bind(console),rA=console.error.bind(console),eA=!1,SA;class l{}class QA extends l{constructor(n){super(),this.$B=n}}function T6(j){for(var n=0,r=j.length,G=new Uint8Array(r),F;n