porffor 0.60.23 → 0.60.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/2c.js +70 -59
- package/compiler/builtins_precompiled.js +7 -7
- package/compiler/codegen.js +16 -6
- package/compiler/precompile.js +1 -1
- package/compiler/prefs.js +1 -1
- package/compiler/semantic.js +211 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/runtime/index.js +1 -1
- package/runtime/lambda.js +19 -2
package/compiler/2c.js
CHANGED
|
@@ -985,7 +985,6 @@ f64 _time_out${id} = (f64)_ts${id}.tv_sec * 1000.0 + (f64)_ts${id}.tv_nsec / 1.0
|
|
|
985
985
|
includes.set('netdb.h', true);
|
|
986
986
|
includes.set('sys/socket.h', true);
|
|
987
987
|
includes.set('signal.h', true);
|
|
988
|
-
includes.set('execinfo.h', true);
|
|
989
988
|
|
|
990
989
|
let copyGlobals = '';
|
|
991
990
|
let restoreGlobals = '';
|
|
@@ -997,51 +996,64 @@ f64 _time_out${id} = (f64)_ts${id}.tv_sec * 1000.0 + (f64)_ts${id}.tv_nsec / 1.0
|
|
|
997
996
|
}
|
|
998
997
|
|
|
999
998
|
const lambdaWrapper = `
|
|
1000
|
-
#define BUF_SIZE
|
|
999
|
+
#define BUF_SIZE 8192
|
|
1001
1000
|
|
|
1002
|
-
|
|
1003
|
-
static int
|
|
1004
|
-
|
|
1005
|
-
|
|
1001
|
+
static struct addrinfo* runtime_addr = NULL;
|
|
1002
|
+
static int runtime_sock = -1;
|
|
1003
|
+
|
|
1004
|
+
static int init_runtime_addr(const char* host, const char* port) {
|
|
1005
|
+
struct addrinfo hints = {0};
|
|
1006
1006
|
hints.ai_family = AF_UNSPEC;
|
|
1007
1007
|
hints.ai_socktype = SOCK_STREAM;
|
|
1008
|
-
|
|
1008
|
+
return getaddrinfo(host, port, &hints, &runtime_addr);
|
|
1009
|
+
}
|
|
1009
1010
|
|
|
1010
|
-
|
|
1011
|
-
if (
|
|
1012
|
-
if (
|
|
1013
|
-
|
|
1014
|
-
|
|
1011
|
+
static int get_sock(void) {
|
|
1012
|
+
if (runtime_sock >= 0) return runtime_sock;
|
|
1013
|
+
if (!runtime_addr) return -1;
|
|
1014
|
+
|
|
1015
|
+
runtime_sock = socket(runtime_addr->ai_family, runtime_addr->ai_socktype,
|
|
1016
|
+
runtime_addr->ai_protocol);
|
|
1017
|
+
if (runtime_sock < 0) return -1;
|
|
1018
|
+
|
|
1019
|
+
int optval = 1;
|
|
1020
|
+
setsockopt(runtime_sock, SOL_SOCKET, SO_KEEPALIVE, &optval, sizeof(optval));
|
|
1021
|
+
|
|
1022
|
+
if (connect(runtime_sock, runtime_addr->ai_addr, runtime_addr->ai_addrlen) != 0) {
|
|
1023
|
+
close(runtime_sock);
|
|
1024
|
+
runtime_sock = -1;
|
|
1015
1025
|
return -1;
|
|
1016
1026
|
}
|
|
1027
|
+
return runtime_sock;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
static int send_http(const char* req, size_t req_size, char* resp, size_t resp_size) {
|
|
1031
|
+
int sock = get_sock();
|
|
1032
|
+
if (sock < 0) return -1;
|
|
1017
1033
|
|
|
1018
|
-
write(sock, req,
|
|
1034
|
+
ssize_t w = write(sock, req, req_size);
|
|
1035
|
+
if (w != req_size) return -1;
|
|
1019
1036
|
|
|
1020
1037
|
int len = 0;
|
|
1021
1038
|
if (resp) {
|
|
1022
1039
|
len = read(sock, resp, resp_size - 1);
|
|
1023
|
-
if (len
|
|
1040
|
+
if (len < 0) {
|
|
1041
|
+
close(sock);
|
|
1042
|
+
runtime_sock = -1;
|
|
1043
|
+
return -1;
|
|
1044
|
+
}
|
|
1045
|
+
resp[len] = '\\0';
|
|
1024
1046
|
}
|
|
1025
1047
|
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
}
|
|
1048
|
+
if (len == 0) {
|
|
1049
|
+
close(sock);
|
|
1050
|
+
runtime_sock = -1;
|
|
1051
|
+
}
|
|
1030
1052
|
|
|
1031
|
-
|
|
1032
|
-
void *array[20];
|
|
1033
|
-
size_t size = backtrace(array, 20);
|
|
1034
|
-
fprintf(stderr, "Caught signal %d\\n", sig);
|
|
1035
|
-
backtrace_symbols_fd(array, size, STDERR_FILENO);
|
|
1036
|
-
_exit(1);
|
|
1053
|
+
return len;
|
|
1037
1054
|
}
|
|
1038
1055
|
|
|
1039
1056
|
int main(void) {
|
|
1040
|
-
signal(SIGSEGV, crash_handler);
|
|
1041
|
-
signal(SIGABRT, crash_handler);
|
|
1042
|
-
signal(SIGBUS, crash_handler);
|
|
1043
|
-
signal(SIGILL, crash_handler);
|
|
1044
|
-
|
|
1045
1057
|
user_main();
|
|
1046
1058
|
|
|
1047
1059
|
i32 _memory_pages = _memoryPages;
|
|
@@ -1052,31 +1064,34 @@ int main(void) {
|
|
|
1052
1064
|
|
|
1053
1065
|
char *api = getenv("AWS_LAMBDA_RUNTIME_API");
|
|
1054
1066
|
if (!api) {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
exit(1);
|
|
1067
|
+
printf("AWS_LAMBDA_RUNTIME_API not set\\n");
|
|
1068
|
+
exit(1);
|
|
1058
1069
|
}
|
|
1059
1070
|
|
|
1060
1071
|
char host[256], port[16] = "80";
|
|
1061
1072
|
char *colon = strchr(api, ':');
|
|
1062
1073
|
if (colon) {
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1074
|
+
strncpy(host, api, colon - api);
|
|
1075
|
+
host[colon - api] = '\\0';
|
|
1076
|
+
strncpy(port, colon + 1, sizeof(port) - 1);
|
|
1066
1077
|
} else {
|
|
1067
|
-
|
|
1078
|
+
strncpy(host, api, sizeof(host) - 1);
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
if (init_runtime_addr(host, port) != 0) {
|
|
1082
|
+
fprintf(stderr, "Failed to resolve runtime host\\n");
|
|
1083
|
+
return 1;
|
|
1068
1084
|
}
|
|
1069
1085
|
|
|
1070
1086
|
char req[BUF_SIZE], resp[BUF_SIZE];
|
|
1071
1087
|
char request_id[128];
|
|
1072
|
-
|
|
1073
|
-
i32 request_count = 0;
|
|
1074
1088
|
while (1) {
|
|
1075
1089
|
// 1. GET next event
|
|
1076
|
-
snprintf(req, sizeof(req),
|
|
1090
|
+
int req_size = snprintf(req, sizeof(req),
|
|
1077
1091
|
"GET /2018-06-01/runtime/invocation/next HTTP/1.1\\r\\n"
|
|
1078
|
-
"Host: %s\\r\\n
|
|
1079
|
-
|
|
1092
|
+
"Host: %s\\r\\n"
|
|
1093
|
+
"Connection: keep-alive\\r\\n\\r\\n", host);
|
|
1094
|
+
if (send_http(req, (size_t)req_size, resp, sizeof(resp)) <= 0) {
|
|
1080
1095
|
fprintf(stderr, "send_http failed\\n");
|
|
1081
1096
|
break;
|
|
1082
1097
|
}
|
|
@@ -1098,21 +1113,12 @@ int main(void) {
|
|
|
1098
1113
|
request_id[rid_len] = '\\0';
|
|
1099
1114
|
|
|
1100
1115
|
// 2. Parse event data from response body
|
|
1101
|
-
char *body = strstr(resp, "\\r\\n\\r\\n");
|
|
1102
|
-
void *event = NULL;
|
|
1103
|
-
if (body) {
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
if (request_count++ > 0) {
|
|
1109
|
-
_memoryPages = _memory_pages;
|
|
1110
|
-
free(_memory);
|
|
1111
|
-
_memory = calloc(1, _memory_pages * ${PageSize});
|
|
1112
|
-
memcpy(_memory, _memory_clone, _memory_pages * ${PageSize});
|
|
1113
|
-
|
|
1114
|
-
${restoreGlobals}
|
|
1115
|
-
}
|
|
1116
|
+
// char *body = strstr(resp, "\\r\\n\\r\\n");
|
|
1117
|
+
// void *event = NULL;
|
|
1118
|
+
// if (body) {
|
|
1119
|
+
// body += 4; // skip \\r\\n\\r\\n
|
|
1120
|
+
// event = body;
|
|
1121
|
+
// }
|
|
1116
1122
|
|
|
1117
1123
|
// Call handler function and JSON.stringify the result
|
|
1118
1124
|
// size_t eventLen = strlen(event);
|
|
@@ -1120,19 +1126,24 @@ int main(void) {
|
|
|
1120
1126
|
// memcpy((char*)eventPtr, &eventLen, 4);
|
|
1121
1127
|
// memcpy((char*)eventPtr + 4, event, eventLen);
|
|
1122
1128
|
|
|
1123
|
-
// char* resp = _memory + (i32)__Porffor_handler((f64)eventPtr, 195).value + 4;
|
|
1124
1129
|
i32 ret = (i32)__Porffor_handler().value;
|
|
1125
1130
|
char* ret_str = _memory + ret + 4;
|
|
1126
1131
|
i32 ret_str_len = *((i32*)(ret_str - 4));
|
|
1127
1132
|
|
|
1128
1133
|
// 3. POST response
|
|
1129
|
-
snprintf(req, sizeof(req),
|
|
1134
|
+
req_size = snprintf(req, sizeof(req),
|
|
1130
1135
|
"POST /2018-06-01/runtime/invocation/%s/response HTTP/1.1\\r\\n"
|
|
1131
1136
|
"Host: %s\\r\\n"
|
|
1137
|
+
"Connection: close\\r\\n"
|
|
1132
1138
|
"Content-Type: text/plain\\r\\n"
|
|
1133
1139
|
"Content-Length: %zu\\r\\n\\r\\n"
|
|
1134
1140
|
"%s", request_id, host, ret_str_len, ret_str);
|
|
1135
|
-
send_http(
|
|
1141
|
+
send_http(req, (size_t)req_size, NULL, 0);
|
|
1142
|
+
|
|
1143
|
+
// reset js state after response
|
|
1144
|
+
memcpy(_memory, _memory_clone, _memory_pages * ${PageSize});
|
|
1145
|
+
|
|
1146
|
+
${restoreGlobals}
|
|
1136
1147
|
}
|
|
1137
1148
|
return 0;
|
|
1138
1149
|
}`;
|
|
@@ -3,12 +3,12 @@ import { number } from './encoding.js';
|
|
|
3
3
|
|
|
4
4
|
export const BuiltinFuncs = x => {
|
|
5
5
|
x.__Porffor_object_hash={
|
|
6
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Literal\",\"value\":0,\"raw\":\"0\"},\"leadingComments\":[{\"type\":\"CommentLine\",\"value\":\" symbol, hash is unused so just return 0\"}]}]},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,0],[33,2],[32,0],[40,0,0],[33,3],[32,1],[65,67],[70],[4,64],[32,3],[65,2],[108],[33,3],[11],[65,374761393],[32,3],[106],[33,4],[32,2],[32,3],[106],[33,5],[3,64],[32,2],[65,4],[106],[32,5],[76],[4,64],[32,4],[32,2],[40,0,4],[65,3266489917],[108],[106],[65,17],[119],[65,668265263],[108],[33,4],[32,2],[65,4],[106],[33,2],[12,1],[11],[11],[32,4],[32,2],[40,0,4],[65,1],[32,5],[32,2],[107],[65,8],[108],[116],[65,1],[107],[113],[65,3266489917],[108],[106],[65,17],[119],[65,668265263],[108],[34,4],[32,4],[65,15],[118],[115],[65,2246822519],[108],[34,4],[32,4],[65,13],[118],[115],[65,3266489917],[108],[34,4],[32,4],[65,16],[118],[115],[15]]"),
|
|
6
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Literal\",\"value\":0,\"raw\":\"0\"},\"leadingComments\":[{\"type\":\"CommentLine\",\"value\":\" symbol, hash is unused so just return 0\"}]}]},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,0],[33,2],[32,0],[40,0,0],[33,3],[32,1],[65,67],[70],[4,64],[32,3],[65,2],[108],[33,3],[11],[65,374761393],[32,3],[106],[33,4],[32,2],[32,3],[106],[33,5],[3,64],[32,2],[65,4],[106],[32,5],[76],[4,64],[32,4],[32,2],[40,0,4],[65,3266489917],[108],[106],[65,17],[119],[65,668265263],[108],[33,4],[32,2],[65,4],[106],[33,2],[12,1],[11],[11],[32,4],[32,2],[40,0,4],[65,1],[32,5],[32,2],[107],[65,8],[108],[116],[65,1],[107],[113],[65,3266489917],[108],[106],[65,17],[119],[65,668265263],[108],[34,4],[32,4],[65,15],[118],[115],[65,2246822519],[108],[34,4],[32,4],[65,13],[118],[115],[65,3266489917],[108],[34,4],[32,4],[65,16],[118],[115],[15]]"),
|
|
7
7
|
params:[127,127],typedParams:1,returns:[127],returnType:1,jsLength:1,
|
|
8
8
|
locals:[127,127,127,127],localNames:["key","key#type","p","len","hash","end"]
|
|
9
9
|
}
|
|
10
10
|
x.__Porffor_object_writeKey={
|
|
11
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[32,0],[32,4],[54,0,0],[32,2],[33,6],[32,3],[65,67],[70],[4,64],[32,6],[65,2147483648],[114],[33,6],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"ExpressionStatement\",\"expression\":{\"type\":\"AssignmentExpression\",\"operator\":\"|=\",\"left\":{\"type\":\"Identifier\",\"name\":\"keyEnc\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"Literal\",\"value\":3221225472,\"raw\":\"0xc0000000\"}}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,0],[32,6],[54,0,4],[15]]"),
|
|
11
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[32,0],[32,4],[54,0,0],[32,2],[33,6],[32,3],[65,67],[70],[4,64],[32,6],[65,2147483648],[114],[33,6],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"ExpressionStatement\",\"expression\":{\"type\":\"AssignmentExpression\",\"operator\":\"|=\",\"left\":{\"type\":\"Identifier\",\"name\":\"keyEnc\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"Literal\",\"value\":3221225472,\"raw\":\"0xc0000000\"}}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,0],[32,6],[54,0,4],[15]]"),
|
|
12
12
|
params:[127,127,127,127,127,127],typedParams:1,returns:[],returnType:0,jsLength:3,
|
|
13
13
|
locals:[127],localNames:["ptr","ptr#type","key","key#type","hash","hash#type","keyEnc"]
|
|
14
14
|
}
|
|
@@ -89,7 +89,7 @@ params:[127,127],typedParams:1,returns:[127,127],jsLength:1,
|
|
|
89
89
|
locals:[127],localNames:["entryPtr","entryPtr#type","out"]
|
|
90
90
|
}
|
|
91
91
|
x.__Porffor_object_lookup={
|
|
92
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[32,0],[69],[4,64],[65,-1],[15],[26],[11],[32,0],[65,8],[106],[34,6],[32,0],[47,0,0],[65,18],[108],[106],[33,7],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"target\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"ForStatement\",\"init\":null,\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},\"operator\":\"<\",\"right\":{\"type\":\"Identifier\",\"name\":\"endPtr\",\"decorators\":[],\"optional\":false}},\"update\":{\"type\":\"AssignmentExpression\",\"operator\":\"+=\",\"left\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"Literal\",\"value\":18,\"raw\":\"18\"}},\"body\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"VariableDeclaration\",\"declarations\":[{\"type\":\"VariableDeclarator\",\"id\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false,\"typeAnnotation\":{\"type\":\"TSTypeAnnotation\",\"typeAnnotation\":{\"type\":\"TSTypeReference\",\"typeName\":{\"type\":\"Identifier\",\"name\":\"i32\",\"decorators\":[],\"optional\":false}}}},\"init\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm_i32_load\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},{\"type\":\"Literal\",\"value\":0,\"raw\":\"0\"},{\"type\":\"Literal\",\"value\":4,\"raw\":\"4\"}],\"optional\":false},\"definite\":false}],\"kind\":\"const\",\"declare\":false},{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\">>>\",\"right\":{\"type\":\"Literal\",\"value\":30,\"raw\":\"30\"},\"extra\":{\"parenthesized\":true,\"parenStart\":11888}},\"operator\":\"==\",\"right\":{\"type\":\"Literal\",\"value\":3,\"raw\":\"3\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TSAsExpression\",\"expression\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"&\",\"right\":{\"type\":\"Literal\",\"value\":1073741823,\"raw\":\"0x3FFFFFFF\"},\"extra\":{\"parenthesized\":true,\"parenStart\":12139}},\"typeAnnotation\":{\"type\":\"TSSymbolKeyword\"}},\"operator\":\"==\",\"right\":{\"type\":\"TSAsExpression\",\"expression\":{\"type\":\"Identifier\",\"name\":\"target\",\"decorators\":[],\"optional\":false},\"typeAnnotation\":{\"type\":\"TSSymbolKeyword\"}}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false}},\"alternate\":null,\"leadingComments\":[{\"type\":\"CommentLine\",\"value\":\" MSB 1 and 2 set, symbol (unset MSB x2)\"},{\"type\":\"CommentLine\",\"value\":\" todo: remove casts once weird bug which breaks unrelated things is fixed (https://github.com/CanadaHonk/porffor/commit/5747f0c1f3a4af95283ebef175cdacb21e332a52)\"}]}]},\"alternate\":null}]}},{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"UnaryExpression\",\"operator\":\"-\",\"prefix\":true,\"argument\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}}]},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[3,64],[32,6],[32,7],[72],[4,64],[32,6],[40,0,0],[32,4],[70],[4,64],[32,6],[15],[26],[11],[32,6],[65,18],[106],[33,6],[12,1],[11],[11],[65,-1],[15]]"),
|
|
92
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,generate})=>eval("[[32,0],[69],[4,64],[65,-1],[15],[26],[11],[32,0],[65,8],[106],[34,6],[32,0],[47,0,0],[65,18],[108],[106],[33,7],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(5)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TaggedTemplateExpression\",\"tag\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm\"},\"quasi\":{\"type\":\"TemplateLiteral\",\"expressions\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"target\",\"decorators\":[],\"optional\":false},\"operator\":\"+\",\"right\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}],\"quasis\":[{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"local.get \",\"cooked\":\"local.get \"},\"tail\":false},{\"type\":\"TemplateElement\",\"value\":{\"raw\":\"\",\"cooked\":\"\"},\"tail\":true}]}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"ForStatement\",\"init\":null,\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},\"operator\":\"<\",\"right\":{\"type\":\"Identifier\",\"name\":\"endPtr\",\"decorators\":[],\"optional\":false}},\"update\":{\"type\":\"AssignmentExpression\",\"operator\":\"+=\",\"left\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"Literal\",\"value\":18,\"raw\":\"18\"}},\"body\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"VariableDeclaration\",\"declarations\":[{\"type\":\"VariableDeclarator\",\"id\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false,\"typeAnnotation\":{\"type\":\"TSTypeAnnotation\",\"typeAnnotation\":{\"type\":\"TSTypeReference\",\"typeName\":{\"type\":\"Identifier\",\"name\":\"i32\",\"decorators\":[],\"optional\":false}}}},\"init\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_wasm_i32_load\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false},{\"type\":\"Literal\",\"value\":0,\"raw\":\"0\"},{\"type\":\"Literal\",\"value\":4,\"raw\":\"4\"}],\"optional\":false},\"definite\":false}],\"kind\":\"const\",\"declare\":false},{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\">>>\",\"right\":{\"type\":\"Literal\",\"value\":30,\"raw\":\"30\"},\"extra\":{\"parenthesized\":true,\"parenStart\":11888}},\"operator\":\"==\",\"right\":{\"type\":\"Literal\",\"value\":3,\"raw\":\"3\"}},\"consequent\":{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"TSAsExpression\",\"expression\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"key\",\"decorators\":[],\"optional\":false},\"operator\":\"&\",\"right\":{\"type\":\"Literal\",\"value\":1073741823,\"raw\":\"0x3FFFFFFF\"},\"extra\":{\"parenthesized\":true,\"parenStart\":12139}},\"typeAnnotation\":{\"type\":\"TSSymbolKeyword\"}},\"operator\":\"==\",\"right\":{\"type\":\"TSAsExpression\",\"expression\":{\"type\":\"Identifier\",\"name\":\"target\",\"decorators\":[],\"optional\":false},\"typeAnnotation\":{\"type\":\"TSSymbolKeyword\"}}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"ptr\",\"decorators\":[],\"optional\":false}},\"alternate\":null,\"leadingComments\":[{\"type\":\"CommentLine\",\"value\":\" MSB 1 and 2 set, symbol (unset MSB x2)\"},{\"type\":\"CommentLine\",\"value\":\" todo: remove casts once weird bug which breaks unrelated things is fixed (https://github.com/CanadaHonk/porffor/commit/5747f0c1f3a4af95283ebef175cdacb21e332a52)\"}]}]},\"alternate\":null}]}},{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"UnaryExpression\",\"operator\":\"-\",\"prefix\":true,\"argument\":{\"type\":\"Literal\",\"value\":1,\"raw\":\"1\"}}}]},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[3,64],[32,6],[32,7],[72],[4,64],[32,6],[40,0,0],[32,4],[70],[4,64],[32,6],[15],[26],[11],[32,6],[65,18],[106],[33,6],[12,1],[11],[11],[65,-1],[15]]"),
|
|
93
93
|
params:[127,127,127,127,127,127],typedParams:1,returns:[127],returnType:1,jsLength:3,
|
|
94
94
|
locals:[127,127],localNames:["obj","obj#type","target","target#type","targetHash","targetHash#type","ptr","endPtr"]
|
|
95
95
|
}
|
|
@@ -2198,7 +2198,7 @@ locals:[124,124,124,124,124,124,127,127,127,127,124,127,127,127,127,127,124,124,
|
|
|
2198
2198
|
usesTag:1
|
|
2199
2199
|
}
|
|
2200
2200
|
x.Number={
|
|
2201
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,t,builtin,generate})=>eval("[[68,0],[33,6],[32,5],[184],[68,0],[98],[4,64],[32,4],[32,5],[16,builtin('__ecma262_ToNumeric')],[33,6],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ExpressionStatement\",\"expression\":{\"type\":\"AssignmentExpression\",\"operator\":\"=\",\"left\":{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_bigint_toNumber\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false}],\"optional\":false}}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[11],[32,0],[33,7],[32,1],[33,8],[2,124],...t([67,195],()=>[[32,8],[65,67],[70],[32,8],[65,195],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,7],[68,0],[97],[184],[11],[252,3],[4,64],[32,6],[65,1],[15],[26],[11],[32,6],[65,32],[15]]"),
|
|
2201
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,t,builtin,generate})=>eval("[[68,0],[33,6],[32,5],[184],[68,0],[98],[4,64],[32,4],[32,5],[16,builtin('__ecma262_ToNumeric')],[33,6],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ExpressionStatement\",\"expression\":{\"type\":\"AssignmentExpression\",\"operator\":\"=\",\"left\":{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false},\"right\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_bigint_toNumber\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"n\",\"decorators\":[],\"optional\":false}],\"optional\":false}}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[11],[32,0],[33,7],[32,1],[33,8],[2,124],...t([67,195],()=>[[32,8],[65,67],[70],[32,8],[65,195],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[69],[184],[12,1],[11]]),[32,7],[68,0],[97],[184],[11],[252,3],[4,64],[32,6],[65,1],[15],[26],[11],[32,6],[65,32],[15]]"),
|
|
2202
2202
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],returnTypes:[32],jsLength:1,
|
|
2203
2203
|
locals:[124,124,127],localNames:["#newtarget","#newtarget#type","#this","#this#type","value","value#type","n","#logicinner_tmp","#typeswitch_tmp1"],
|
|
2204
2204
|
constr:1
|
|
@@ -2454,7 +2454,7 @@ locals:[124,127,124,124,124,124,124,127,124,124,127,127,124,127,124,124],localNa
|
|
|
2454
2454
|
hasRestArgument:1
|
|
2455
2455
|
}
|
|
2456
2456
|
x.__Porffor_object_getHiddenPrototype={
|
|
2457
|
-
wasm:(_,{hasFunc,Valtype,Opcodes,builtin,generate})=>eval("[[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___String_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"|\",\"right\":{\"type\":\"Literal\",\"value\":128,\"raw\":\"0b10000000\"},\"extra\":{\"parenthesized\":true,\"parenStart\":194}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bytestring\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_stringobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__String_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Number_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_number\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_numberobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Number_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Boolean_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_boolean\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_booleanobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Boolean_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigInt_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigInt_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Symbol_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Symbol_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Function_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_function\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Function_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___RegExp_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_regexp\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__RegExp_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Date_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_date\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Date_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Set_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_set\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Set_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Map_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_map\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Map_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___ArrayBuffer_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_arraybuffer\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__ArrayBuffer_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___SharedArrayBuffer_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_sharedarraybuffer\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__SharedArrayBuffer_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___DataView_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_dataview\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__DataView_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint8ClampedArray_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint8clampedarray\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint8ClampedArray_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint8Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint8array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint8Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int8Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int8array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int8Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint16Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint16array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint16Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int16Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int16array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int16Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigUint64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_biguint64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigUint64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigInt64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigInt64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Float32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_float32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Float32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Float64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_float64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Float64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakRef_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakref\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakRef_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakSet_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakset\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakSet_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakMap_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakmap\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakMap_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Promise_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_promise\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Promise_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get_____Porffor_Generator_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES___porffor_generator\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"____Porffor_Generator_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get_____Porffor_AsyncGenerator_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES___porffor_asyncgenerator\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"____Porffor_AsyncGenerator_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Error_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_error\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Error_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___AggregateError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_aggregateerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__AggregateError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___TypeError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_typeerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__TypeError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___ReferenceError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_referenceerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__ReferenceError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___SyntaxError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_syntaxerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__SyntaxError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___RangeError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_rangeerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__RangeError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___EvalError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_evalerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__EvalError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___URIError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_urierror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__URIError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Test262Error_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_test262error\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Test262Error_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[16,builtin('#get___Object_prototype')],[65,7],[15]]"),
|
|
2457
|
+
wasm:(_,{hasFunc,Valtype,Opcodes,builtin,generate})=>eval("[[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___String_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"|\",\"right\":{\"type\":\"Literal\",\"value\":128,\"raw\":\"0b10000000\"},\"extra\":{\"parenthesized\":true,\"parenStart\":194}},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bytestring\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_stringobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__String_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Number_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_number\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_numberobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Number_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Boolean_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_fastOr\"},\"arguments\":[{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_boolean\"}},{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_booleanobject\"}}],\"optional\":false},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Boolean_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigInt_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigInt_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Symbol_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_symbol\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Symbol_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Function_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_function\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Function_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___RegExp_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_regexp\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__RegExp_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Date_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_date\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Date_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Set_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_set\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Set_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Map_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_map\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Map_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___ArrayBuffer_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_arraybuffer\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__ArrayBuffer_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___SharedArrayBuffer_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_sharedarraybuffer\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__SharedArrayBuffer_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___DataView_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_dataview\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__DataView_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint8ClampedArray_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint8clampedarray\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint8ClampedArray_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint8Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint8array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint8Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int8Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int8array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int8Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint16Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint16array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint16Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int16Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int16array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int16Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Uint32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_uint32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Uint32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Int32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_int32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Int32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigUint64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_biguint64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigUint64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___BigInt64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__BigInt64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Float32Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_float32array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Float32Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Float64Array_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_float64array\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Float64Array_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakRef_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakref\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakRef_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakSet_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakset\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakSet_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___WeakMap_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_weakmap\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__WeakMap_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Promise_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_promise\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Promise_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get_____Porffor_Generator_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES___porffor_generator\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"____Porffor_Generator_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get_____Porffor_AsyncGenerator_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES___porffor_asyncgenerator\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"____Porffor_AsyncGenerator_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Error_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_error\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Error_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___AggregateError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_aggregateerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__AggregateError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___TypeError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_typeerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__TypeError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___ReferenceError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_referenceerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__ReferenceError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___SyntaxError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_syntaxerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__SyntaxError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___RangeError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_rangeerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__RangeError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___EvalError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_evalerror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__EvalError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___URIError_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_urierror\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__URIError_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"valtype\":\"i32\",\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,hasFunc('#get___Test262Error_prototype')?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"Identifier\",\"name\":\"trueType\",\"decorators\":[],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_test262error\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"__Test262Error_prototype\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[16,builtin('#get___Object_prototype')],[65,7],[15]]"),
|
|
2458
2458
|
params:[127,127],typedParams:1,returns:[127,127],jsLength:1,
|
|
2459
2459
|
locals:[],localNames:["trueType","trueType#type"]
|
|
2460
2460
|
}
|
|
@@ -5938,7 +5938,7 @@ locals:[124,127,127],localNames:["argument","argument#type","primValue","primVal
|
|
|
5938
5938
|
usesTag:1
|
|
5939
5939
|
}
|
|
5940
5940
|
x.__ecma262_ToNumeric={
|
|
5941
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,builtin,generate})=>eval("[[32,0],[33,2],[32,1],[33,3],[32,1],[184],[68,7],[97],[34,4],[4,127],[32,0],[68,0],[98],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],[32,0],[32,1],[16,builtin('__ecma262_ToPrimitive_Number')],[34,5],[33,3],[33,2],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"primValue\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"primValue\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,2],[32,3],[16,builtin('__ecma262_ToNumber')],[15]]"),
|
|
5941
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,builtin,generate})=>eval("[[32,0],[33,2],[32,1],[33,3],[32,1],[184],[68,7],[97],[34,4],[4,127],[32,0],[68,0],[98],[65,2],[33,5],[5],[32,4],[65,2],[33,5],[11],[4,64],[32,0],[32,1],[16,builtin('__ecma262_ToPrimitive_Number')],[34,5],[33,3],[33,2],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"primValue\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"Identifier\",\"name\":\"primValue\",\"decorators\":[],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,2],[32,3],[16,builtin('__ecma262_ToNumber')],[15]]"),
|
|
5942
5942
|
params:[124,127],typedParams:1,returns:[124],returnType:1,jsLength:1,
|
|
5943
5943
|
locals:[124,127,127,127],localNames:["value","value#type","primValue","primValue#type","logictmpi","#last_type"]
|
|
5944
5944
|
}
|
|
@@ -5954,7 +5954,7 @@ locals:[124],localNames:["value","value#type","integer"],
|
|
|
5954
5954
|
usesTag:1
|
|
5955
5955
|
}
|
|
5956
5956
|
x.__ecma262_ToString={
|
|
5957
|
-
wasm:(_,{usedTypes,Valtype,Opcodes,makeString,builtin,internalThrow,generate})=>eval("[[32,1],[65,128],[114],[183],[68,195],[97],[4,64],[32,0],[32,1],[15],[26],[11],[32,1],[184],[68,5],[97],[4,64],...internalThrow(_,'TypeError',`Cannot convert a Symbol value to a string`),[26],[11],[32,1],[184],[68,0],[97],[4,64],...makeString(_,\"undefined\",1),[65,195],[15],[26],[11],[32,1],[184],[68,7],[97],[32,0],[68,0],[97],[113],[4,64],...makeString(_,\"null\",1),[65,195],[15],[26],[11],[32,1],[184],[68,2],[97],[4,64],[32,0],[68,1],[97],[4,64],...makeString(_,\"true\",1),[65,195],[15],[26],[11],...makeString(_,\"false\",1),[65,195],[15],[26],[11],[32,1],[184],[68,1],[97],[4,64],[32,0],[32,1],[68,10],[65,1],[16,builtin('__Number_prototype_toString')],[34,2],[15],[26],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"argument\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_bigint_toString\",\"decorators\":[],\"optional\":false},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"argument\",\"decorators\":[],\"optional\":false},{\"type\":\"Literal\",\"value\":10,\"raw\":\"10\"}],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,1],[184],[68,33],[97],[4,64],[32,0],[65,67],[15],[26],[11],[32,0],[32,1],[16,builtin('__ecma262_ToPrimitive_String')],[34,2],[33,4],[34,3],[32,4],[16,builtin('__ecma262_ToString')],[34,2],[15]]"),
|
|
5957
|
+
wasm:(_,{usedTypes,Valtype,Opcodes,makeString,builtin,internalThrow,generate})=>eval("[[32,1],[65,128],[114],[183],[68,195],[97],[4,64],[32,0],[32,1],[15],[26],[11],[32,1],[184],[68,5],[97],[4,64],...internalThrow(_,'TypeError',`Cannot convert a Symbol value to a string`),[26],[11],[32,1],[184],[68,0],[97],[4,64],...makeString(_,\"undefined\",1),[65,195],[15],[26],[11],[32,1],[184],[68,7],[97],[32,0],[68,0],[97],[113],[4,64],...makeString(_,\"null\",1),[65,195],[15],[26],[11],[32,1],[184],[68,2],[97],[4,64],[32,0],[68,1],[97],[4,64],...makeString(_,\"true\",1),[65,195],[15],[26],[11],...makeString(_,\"false\",1),[65,195],[15],[26],[11],[32,1],[184],[68,1],[97],[4,64],[32,0],[32,1],[68,10],[65,1],[16,builtin('__Number_prototype_toString')],[34,2],[15],[26],[11],[null,()=>{const r=()=>{valtype=Prefs.valtype??'f64';valtypeBinary=Valtype[valtype];Opcodes.const=valtypeBinary===Valtype.i32?Opcodes.i32_const:Opcodes.f64_const;Opcodes.eq=valtypeBinary===Valtype.i32?Opcodes.i32_eq:Opcodes.f64_eq;Opcodes.eqz=valtypeBinary===Valtype.i32?[[Opcodes.i32_eqz]]:[number(0),[Opcodes.f64_eq]];Opcodes.mul=valtypeBinary===Valtype.i32?Opcodes.i32_mul:Opcodes.f64_mul;Opcodes.add=valtypeBinary===Valtype.i32?Opcodes.i32_add:Opcodes.f64_add;Opcodes.sub=valtypeBinary===Valtype.i32?Opcodes.i32_sub:Opcodes.f64_sub;Opcodes.i32_to=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_s;Opcodes.i32_to_u=valtypeBinary===Valtype.i32?[]:Opcodes.i32_trunc_sat_f64_u;Opcodes.i32_from=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_s];Opcodes.i32_from_u=valtypeBinary===Valtype.i32?[]:[Opcodes.f64_convert_i32_u];Opcodes.load=valtypeBinary===Valtype.i32?Opcodes.i32_load:Opcodes.f64_load;Opcodes.store=valtypeBinary===Valtype.i32?Opcodes.i32_store:Opcodes.f64_store};const a=Prefs;Prefs={\"treeshakeWasmImports\":false,\"alwaysMemory\":true,\"indirectCalls\":true,\"optUnused\":true,\"data\":true,\"passiveData\":false,\"rmUnusedTypes\":false,\"optTypes\":true,\"coctc\":false,\"ctHash\":true,\"closures\":false,\"module\":true,\"truthy\":\"no_nan_negative\",\"fastLength\":true,\"parseTypes\":true,\"activeData\":true};r();const b=generate(_,usedTypes.has(4)?{\"type\":\"BlockStatement\",\"body\":[{\"type\":\"IfStatement\",\"test\":{\"type\":\"BinaryExpression\",\"left\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_type\"},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"argument\",\"decorators\":[],\"optional\":false}],\"optional\":false},\"operator\":\"==\",\"right\":{\"type\":\"Identifier\",\"name\":\"__Porffor_TYPES_bigint\"}},\"consequent\":{\"type\":\"ReturnStatement\",\"argument\":{\"type\":\"CallExpression\",\"callee\":{\"type\":\"Identifier\",\"name\":\"__Porffor_bigint_toString\",\"decorators\":[],\"optional\":false},\"arguments\":[{\"type\":\"Identifier\",\"name\":\"argument\",\"decorators\":[],\"optional\":false},{\"type\":\"Literal\",\"value\":10,\"raw\":\"10\"}],\"optional\":false}},\"alternate\":null}]}:{\"type\":\"EmptyStatement\"});if(b.at(-1)[0]>=0x41&&b.at(-1)[0]<=0x44)b.pop();Prefs=a;r();return b;}],[32,1],[184],[68,33],[97],[4,64],[32,0],[65,67],[15],[26],[11],[32,0],[32,1],[16,builtin('__ecma262_ToPrimitive_String')],[34,2],[33,4],[34,3],[32,4],[16,builtin('__ecma262_ToString')],[34,2],[15]]"),
|
|
5958
5958
|
params:[124,127],typedParams:1,returns:[124,127],jsLength:1,
|
|
5959
5959
|
locals:[127,124,127],localNames:["argument","argument#type","#last_type","primValue","primValue#type"],
|
|
5960
5960
|
usesTag:1
|
package/compiler/codegen.js
CHANGED
|
@@ -3,6 +3,7 @@ import { number, ieee754_binary64, signedLEB128, unsignedLEB128, encodeVector }
|
|
|
3
3
|
import { operatorOpcode } from './expression.js';
|
|
4
4
|
import { BuiltinFuncs, BuiltinVars, importedFuncs, NULL, UNDEFINED } from './builtins.js';
|
|
5
5
|
import { TYPES, TYPE_FLAGS, TYPE_NAMES } from './types.js';
|
|
6
|
+
import semantic from './semantic.js';
|
|
6
7
|
import parse from './parse.js';
|
|
7
8
|
import { log } from './log.js';
|
|
8
9
|
import './prefs.js';
|
|
@@ -2230,7 +2231,7 @@ const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
|
|
2230
2231
|
try {
|
|
2231
2232
|
parsed = {
|
|
2232
2233
|
type: 'BlockStatement',
|
|
2233
|
-
body: parse(code).body
|
|
2234
|
+
body: semantic(objectHack(parse(code)), decl._semanticScopes).body
|
|
2234
2235
|
};
|
|
2235
2236
|
} catch (e) {
|
|
2236
2237
|
if (e.name === 'SyntaxError') {
|
|
@@ -2275,7 +2276,7 @@ const generateCall = (scope, decl, _global, _name, unusedValue = false) => {
|
|
|
2275
2276
|
|
|
2276
2277
|
let parsed;
|
|
2277
2278
|
try {
|
|
2278
|
-
parsed = objectHack(parse(`(function(${args.join(',')}){${code}})`));
|
|
2279
|
+
parsed = semantic(objectHack(parse(`(function(${args.join(',')}){${code}})`)), decl._semanticScopes);
|
|
2279
2280
|
} catch (e) {
|
|
2280
2281
|
if (e.name === 'SyntaxError') {
|
|
2281
2282
|
// throw syntax errors of evals at runtime instead
|
|
@@ -3240,6 +3241,7 @@ const setDefaultFuncName = (decl, name) => {
|
|
|
3240
3241
|
}
|
|
3241
3242
|
}
|
|
3242
3243
|
|
|
3244
|
+
name = name.split('#')[0];
|
|
3243
3245
|
decl.id = { name };
|
|
3244
3246
|
};
|
|
3245
3247
|
|
|
@@ -3286,7 +3288,7 @@ const generateVarDstr = (scope, kind, pattern, init, defaultValue, global) => {
|
|
|
3286
3288
|
params: parameters.map(x => Valtype.i32),
|
|
3287
3289
|
returns: result ? [ Valtype.i32 ] : [],
|
|
3288
3290
|
returnType: TYPES.number
|
|
3289
|
-
})
|
|
3291
|
+
});
|
|
3290
3292
|
}
|
|
3291
3293
|
|
|
3292
3294
|
return [ [ null, 'dlopen', path, symbols ] ];
|
|
@@ -6723,9 +6725,13 @@ const objectHack = node => {
|
|
|
6723
6725
|
}
|
|
6724
6726
|
|
|
6725
6727
|
for (const x in node) {
|
|
6726
|
-
if (node[x] != null && typeof node[x] === 'object') {
|
|
6728
|
+
if (node[x] != null && typeof node[x] === 'object' && x[0] !== '_') {
|
|
6727
6729
|
if (node[x].type) node[x] = objectHack(node[x]);
|
|
6728
|
-
if (Array.isArray(node[x]))
|
|
6730
|
+
if (Array.isArray(node[x])) {
|
|
6731
|
+
for (let i = 0; i < node[x].length; i++) {
|
|
6732
|
+
node[x][i] = objectHack(node[x][i]);
|
|
6733
|
+
}
|
|
6734
|
+
}
|
|
6729
6735
|
}
|
|
6730
6736
|
}
|
|
6731
6737
|
|
|
@@ -6790,7 +6796,7 @@ const generateFunc = (scope, decl, forceNoExpr = false) => {
|
|
|
6790
6796
|
// generating, stub _wasm
|
|
6791
6797
|
let wasm = func.wasm = [];
|
|
6792
6798
|
|
|
6793
|
-
let body =
|
|
6799
|
+
let body = decl.body;
|
|
6794
6800
|
if (decl.type === 'ArrowFunctionExpression' && decl.expression) {
|
|
6795
6801
|
// hack: () => 0 -> () => return 0
|
|
6796
6802
|
body = {
|
|
@@ -7381,6 +7387,10 @@ export default program => {
|
|
|
7381
7387
|
objectHackers = ['assert', 'compareArray', 'Test262Error', ...new Set(Object.keys(builtinFuncs).map(getObjectName).concat(Object.keys(builtinVars).map(getObjectName)).filter(x => x))];
|
|
7382
7388
|
}
|
|
7383
7389
|
|
|
7390
|
+
// todo/perf: make this lazy per func (again)
|
|
7391
|
+
program = objectHack(program);
|
|
7392
|
+
if (Prefs.closures) program = semantic(program);
|
|
7393
|
+
|
|
7384
7394
|
generateFunc({}, {
|
|
7385
7395
|
type: 'Program',
|
|
7386
7396
|
id: { name: '#main' },
|
package/compiler/precompile.js
CHANGED
|
@@ -57,7 +57,7 @@ const compile = async (file, _funcs) => {
|
|
|
57
57
|
first = source.slice(0, source.indexOf('\n'));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
let args = ['--module', '--truthy=no_nan_negative', '--no-rm-unused-types', '--fast-length', '--parse-types', '--opt-types', '--no-passive-data', '--active-data', '--no-treeshake-wasm-imports', '--no-coctc'];
|
|
60
|
+
let args = ['--module', '--truthy=no_nan_negative', '--no-rm-unused-types', '--fast-length', '--parse-types', '--opt-types', '--no-passive-data', '--active-data', '--no-treeshake-wasm-imports', '--no-coctc', '--no-closures'];
|
|
61
61
|
if (first.startsWith('// @porf')) {
|
|
62
62
|
args = first.slice('// @porf '.length).split(' ').concat(args);
|
|
63
63
|
}
|
package/compiler/prefs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const onByDefault = [ 'treeshakeWasmImports', 'alwaysMemory', 'indirectCalls', 'optUnused', 'data', 'passiveData', 'rmUnusedTypes', 'optTypes', 'coctc', 'ctHash' ];
|
|
1
|
+
const onByDefault = [ 'treeshakeWasmImports', 'alwaysMemory', 'indirectCalls', 'optUnused', 'data', 'passiveData', 'rmUnusedTypes', 'optTypes', 'coctc', 'ctHash', 'closures' ];
|
|
2
2
|
|
|
3
3
|
const nameToKey = x => x.replace(/[a-z]\-[a-z]/g, y => `${y[0]}${y[2].toUpperCase()}`);
|
|
4
4
|
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
const varId = name => {
|
|
2
|
+
const lastFunc = scopes[scopes.lastFuncs.at(-1)];
|
|
3
|
+
lastFunc._variableIds ??= Object.create(null);
|
|
4
|
+
lastFunc._variableIds[name] ??= 0;
|
|
5
|
+
return lastFunc._variableIds[name]++;
|
|
6
|
+
|
|
7
|
+
// scopes._varId ??= Object.create(null);
|
|
8
|
+
// scopes._varId[name] ??= 0;
|
|
9
|
+
// return scopes._varId[name]++;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const declVar = (name, kind, node) => {
|
|
13
|
+
let parent;
|
|
14
|
+
if (kind === 'var') {
|
|
15
|
+
parent = scopes[scopes.lastFuncs.at(-1)];
|
|
16
|
+
// same id for redecl
|
|
17
|
+
if (parent._variables?.[name]) {
|
|
18
|
+
parent._variables[name].node = node;
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
} else {
|
|
22
|
+
parent = scopes.at(-1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
parent._variables ??= Object.create(null);
|
|
26
|
+
parent._variables[name] = { node, id: varId(name) };
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const analyzePattern = (kind, node) => {
|
|
30
|
+
if (!node) return;
|
|
31
|
+
switch (node.type) {
|
|
32
|
+
case 'Identifier':
|
|
33
|
+
declVar(node.name, kind, node);
|
|
34
|
+
break;
|
|
35
|
+
|
|
36
|
+
case 'RestElement':
|
|
37
|
+
analyzePattern(kind, node.argument);
|
|
38
|
+
break;
|
|
39
|
+
|
|
40
|
+
case 'AssignmentPattern':
|
|
41
|
+
analyzePattern(kind, node.left);
|
|
42
|
+
break;
|
|
43
|
+
|
|
44
|
+
case 'Property':
|
|
45
|
+
analyzePattern(kind, node.value);
|
|
46
|
+
break;
|
|
47
|
+
|
|
48
|
+
case 'ObjectPattern':
|
|
49
|
+
for (const x of node.properties) {
|
|
50
|
+
analyzePattern(kind, x.value);
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
|
|
54
|
+
case 'ArrayPattern':
|
|
55
|
+
for (const x of node.elements) {
|
|
56
|
+
analyzePattern(kind, x);
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
let scopes;
|
|
63
|
+
const analyze = (node, strict = false) => {
|
|
64
|
+
if (!node) return;
|
|
65
|
+
|
|
66
|
+
const top = scopes.at(-1);
|
|
67
|
+
if (node.directive === 'use strict') {
|
|
68
|
+
top._strict = true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
let openedScope = false;
|
|
72
|
+
switch (node.type) {
|
|
73
|
+
case 'ForStatement':
|
|
74
|
+
case 'ForInStatement':
|
|
75
|
+
case 'ForOfStatement':
|
|
76
|
+
case 'SwitchStatement':
|
|
77
|
+
case 'BlockStatement':
|
|
78
|
+
scopes.push(node);
|
|
79
|
+
openedScope = true;
|
|
80
|
+
break;
|
|
81
|
+
|
|
82
|
+
case 'CatchClause':
|
|
83
|
+
scopes.push(node);
|
|
84
|
+
if (node.param) analyzePattern('let', node.param);
|
|
85
|
+
openedScope = true;
|
|
86
|
+
break;
|
|
87
|
+
|
|
88
|
+
case 'VariableDeclaration':
|
|
89
|
+
for (const x of node.declarations) analyzePattern(node.kind, x.id);
|
|
90
|
+
break;
|
|
91
|
+
|
|
92
|
+
case 'ClassDeclaration':
|
|
93
|
+
if (node.id?.name) declVar(node.id.name, 'let', node);
|
|
94
|
+
break;
|
|
95
|
+
|
|
96
|
+
case 'FunctionDeclaration':
|
|
97
|
+
if (node.id?.name) if (strict) {
|
|
98
|
+
declVar(node.id.name, 'let', node);
|
|
99
|
+
} else {
|
|
100
|
+
declVar(node.id.name, 'var', node);
|
|
101
|
+
}
|
|
102
|
+
case 'FunctionExpression':
|
|
103
|
+
case 'ArrowFunctionExpression':
|
|
104
|
+
scopes.lastFuncs.push(scopes.length);
|
|
105
|
+
scopes.push(node);
|
|
106
|
+
openedScope = true;
|
|
107
|
+
|
|
108
|
+
for (const p of node.params) analyzePattern('var', p);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
for (const x in node) {
|
|
113
|
+
if (node[x] != null && typeof node[x] === 'object') {
|
|
114
|
+
if (node[x].type) analyze(node[x], strict || top._strict);
|
|
115
|
+
if (Array.isArray(node[x])) {
|
|
116
|
+
for (const y of node[x]) analyze(y, strict || top._strict);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (openedScope) {
|
|
122
|
+
scopes.pop();
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (node.type === 'FunctionDeclaration' || node.type === 'FunctionExpression' || node.type === 'ArrowFunctionExpression') {
|
|
126
|
+
scopes.lastFuncs.pop();
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
const objectHackers = ["assert","compareArray","Test262Error","Number","Math","Porffor","performance","String","ByteString","Array","ArrayBuffer","SharedArrayBuffer","Atomics","ecma262","BigInt","Boolean","console","crypto","DataView","Date","Error","AggregateError","TypeError","ReferenceError","SyntaxError","RangeError","EvalError","URIError","Test262Error","Function","JSON","Map","Object","Promise","Reflect","RegExp","Set","Symbol","Uint8Array","Int8Array","Uint8ClampedArray","Uint16Array","Int16Array","Uint32Array","Int32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array","WeakMap","WeakRef","WeakSet","navigator"];
|
|
131
|
+
const annotate = node => {
|
|
132
|
+
if (!node) return;
|
|
133
|
+
|
|
134
|
+
let openedScope = false;
|
|
135
|
+
if (node._variables) {
|
|
136
|
+
scopes.push(node);
|
|
137
|
+
openedScope = true;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
switch (node.type) {
|
|
141
|
+
case 'Identifier':
|
|
142
|
+
if (objectHackers.includes(node.name)) break;
|
|
143
|
+
for (let i = scopes.length - 1; i >= 0; i--) {
|
|
144
|
+
if (scopes[i]._variables?.[node.name]) {
|
|
145
|
+
const variable = scopes[i]._variables[node.name];
|
|
146
|
+
if (variable.id > 0) node.name = node.name + '#' + variable.id;
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
break;
|
|
151
|
+
|
|
152
|
+
case 'MemberExpression':
|
|
153
|
+
if (node.computed) annotate(node.property);
|
|
154
|
+
annotate(node.object);
|
|
155
|
+
return;
|
|
156
|
+
|
|
157
|
+
case 'PropertyDefinition':
|
|
158
|
+
case 'Property':
|
|
159
|
+
if (node.computed) annotate(node.key);
|
|
160
|
+
annotate(node.value);
|
|
161
|
+
return;
|
|
162
|
+
|
|
163
|
+
case 'CallExpression':
|
|
164
|
+
if (node.callee.name === 'eval' || (node.callee.type === 'SequenceExpression' && node.callee.expressions.at(-1)?.name === 'eval')) {
|
|
165
|
+
if (node.callee.type === 'SequenceExpression' || node.optional) {
|
|
166
|
+
// indirect eval, only top scope
|
|
167
|
+
node._semanticScopes = [ scopes[0], node ];
|
|
168
|
+
node._semanticScopes.lastFuncs = [ 0 ];
|
|
169
|
+
} else {
|
|
170
|
+
// direct eval, use existing scope
|
|
171
|
+
node._semanticScopes = Object.assign([], scopes);
|
|
172
|
+
node._semanticScopes.push(node);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
case 'NewExpression':
|
|
177
|
+
if (node.callee.name === 'Function') {
|
|
178
|
+
// new Function(...) - use global scope and self as scope
|
|
179
|
+
node._semanticScopes = [ scopes[0], node ];
|
|
180
|
+
node._semanticScopes.lastFuncs = [ 0, 1 ];
|
|
181
|
+
}
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
for (const x in node) {
|
|
186
|
+
if (node[x] != null && typeof node[x] === 'object' && x[0] !== '_') {
|
|
187
|
+
if (node[x].type) annotate(node[x]);
|
|
188
|
+
if (Array.isArray(node[x])) {
|
|
189
|
+
for (const y of node[x]) annotate(y);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (openedScope) {
|
|
195
|
+
scopes.pop();
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
export default (node, _scopes = null) => {
|
|
200
|
+
if (!_scopes) {
|
|
201
|
+
_scopes = [ node ];
|
|
202
|
+
_scopes.lastFuncs = [ 0 ];
|
|
203
|
+
}
|
|
204
|
+
scopes = _scopes;
|
|
205
|
+
|
|
206
|
+
analyze(node);
|
|
207
|
+
if (scopes.length !== _scopes.length) throw new Error('Scope mismatch');
|
|
208
|
+
|
|
209
|
+
annotate(node);
|
|
210
|
+
return node;
|
|
211
|
+
};
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/runtime/index.js
CHANGED
package/runtime/lambda.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import fs from 'node:fs';
|
|
3
3
|
import { execSync } from 'node:child_process';
|
|
4
4
|
import compile from '../compiler/wrap.js';
|
|
5
|
+
import { log } from '../compiler/log.js';
|
|
5
6
|
|
|
6
7
|
// Parse arguments
|
|
7
8
|
const args = process.argv.slice(2);
|
|
@@ -29,8 +30,24 @@ Prefs.lambda = true;
|
|
|
29
30
|
|
|
30
31
|
compile(source, true);
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
let compiler = process.env.CC;
|
|
34
|
+
if (!compiler) {
|
|
35
|
+
try {
|
|
36
|
+
execSync('musl-gcc --version');
|
|
37
|
+
compiler = 'musl-gcc';
|
|
38
|
+
} catch {
|
|
39
|
+
// todo: this should be in future docs somewhere and linked instead
|
|
40
|
+
log.warning('lambda', `musl-gcc is recommended for Lambda as it noticably improves deployed performance. install it or explicitly specify a compiler via CC to hide this warning. defaulting to gcc.`);
|
|
41
|
+
compiler = 'gcc';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (Prefs.d) {
|
|
46
|
+
execSync(`${compiler} -lm -O0 -g -flto -march=x86-64-v3 -o ${binaryPath} ${cPath}`, { stdio: 'inherit' });
|
|
47
|
+
} else {
|
|
48
|
+
execSync(`${compiler} ${compiler === 'musl-gcc' ? '-static' : ''} -lm -O3 -fomit-frame-pointer -s -flto -march=x86-64-v3 -ffunction-sections -fdata-sections -Wl,--gc-sections -o ${binaryPath} ${cPath}`, { stdio: 'inherit' });
|
|
49
|
+
execSync(`strip ${binaryPath}`, { stdio: 'inherit' });
|
|
50
|
+
}
|
|
34
51
|
|
|
35
52
|
try {
|
|
36
53
|
execSync(`zip -r "${outputZip}" ${binaryPath}`, { stdio: 'inherit' });
|