2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 554
|
|
|
|
|
// Function ID: 6694
|
|
|
|
|
// Name: getSideChannelMap
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [517, 551, 518, 552]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 554 (getSideChannelMap)
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp = require("getEvalledConstructor")("%Map%", true);
|
|
|
|
|
let closure_2 = tmp;
|
|
|
|
|
let closure_3 = require("callBoundIntrinsic")("Map.prototype.get", true);
|
|
|
|
|
let closure_4 = require("callBoundIntrinsic")("Map.prototype.set", true);
|
|
|
|
|
let closure_5 = require("callBoundIntrinsic")("Map.prototype.has", true);
|
|
|
|
|
let closure_6 = require("callBoundIntrinsic")("Map.prototype.delete", true);
|
|
|
|
|
let closure_7 = require("callBoundIntrinsic")("Map.prototype.size", true);
|
2026-07-20 16:05:17 +00:00
|
|
|
let getSideChannelMap = !tmp2;
|
|
|
|
|
if (!!tmp) {
|
|
|
|
|
getSideChannelMap = function getSideChannelMap() {
|
|
|
|
|
const obj = {
|
|
|
|
|
assert(arg0) {
|
|
|
|
|
if (!obj.has(arg0)) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp3 = outer1_0(obj[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
const prototype = tmp3.prototype;
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp3 = new tmp3("Side channel does not contain " + outer1_0(obj[3])(arg0));
|
2026-07-20 16:05:17 +00:00
|
|
|
throw tmp3;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
delete: function _delete(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (c0) {
|
|
|
|
|
if (0 === outer1_7(c0)) {
|
|
|
|
|
c0 = undefined;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_6(c0, arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
get(arg0) {
|
|
|
|
|
if (closure_0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_3(closure_0, arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
has(arg0) {
|
|
|
|
|
let tmp2 = !tmp;
|
|
|
|
|
if (!!closure_0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp2 = outer1_5(closure_0, arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
},
|
|
|
|
|
set(arg0, arg1) {
|
2026-07-23 10:11:24 +00:00
|
|
|
if (!closure_0) {
|
|
|
|
|
const prototype = outer1_2.prototype;
|
|
|
|
|
const tmp4 = new outer1_2();
|
|
|
|
|
closure_0 = tmp4;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_4(closure_0, arg0, arg1);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return obj;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default getSideChannelMap;
|