152 lines
3.5 KiB
JavaScript
152 lines
3.5 KiB
JavaScript
// Metro module 578 (f579).
|
|
import * as _Module541 from "./Module541";
|
|
import * as _inspect_ from "./inspect_";
|
|
module.exports = function getSideChannelList() {
|
|
let c12370_0, c12370_1;
|
|
const r0 = {
|
|
assert: function assert(a0) {
|
|
if (c12370_1.has(a0)) {
|
|
return void 0;
|
|
}
|
|
throw new _Module541("Side channel does not contain " + _inspect_(a0));
|
|
},
|
|
delete: function(a0) {
|
|
let r15;
|
|
const r3 = c12370_0;
|
|
const r6 = r3 && r3.next;
|
|
let r10 = c12370_0;
|
|
let r13 = void 0;
|
|
if (r10) {
|
|
let next = r10.next;
|
|
const r2 = next != null;
|
|
let r5 = void 0;
|
|
if (r2) {
|
|
do {
|
|
const key = next.key;
|
|
const r9 = r10;
|
|
if (key === a0) {
|
|
r9.next = next.next;
|
|
r5 = next;
|
|
break;
|
|
}
|
|
const next2 = next.next;
|
|
r15 = next2 != null;
|
|
r10 = next;
|
|
next = next2;
|
|
r5 = void 0;
|
|
} while (r15);
|
|
}
|
|
r13 = r5;
|
|
}
|
|
if (r13 && r6 && r6 === r13) {
|
|
c12370_0 = void 0;
|
|
}
|
|
return !!r13;
|
|
},
|
|
get: function get(a0) {
|
|
let r14;
|
|
let r12 = void 0;
|
|
if (c12370_0) {
|
|
let next = c12370_0.next;
|
|
const r2 = next != null;
|
|
let r7 = c12370_0;
|
|
let r5 = void 0;
|
|
if (r2) {
|
|
do {
|
|
const key = next.key;
|
|
const r8 = r7;
|
|
if (key === a0) {
|
|
r8.next = next.next;
|
|
next.next = c12370_0.next;
|
|
c12370_0.next = next;
|
|
r5 = next;
|
|
break;
|
|
}
|
|
const next2 = next.next;
|
|
r14 = next2 != null;
|
|
r7 = next;
|
|
next = next2;
|
|
r5 = void 0;
|
|
} while (r14);
|
|
}
|
|
r12 = r5 && r5.value;
|
|
}
|
|
return r12;
|
|
},
|
|
has: function has(a0) {
|
|
let r15;
|
|
let r12 = !!c12370_0;
|
|
if (r12) {
|
|
let next = c12370_0.next;
|
|
const r0 = next != null;
|
|
let r7 = c12370_0;
|
|
let r13 = void 0;
|
|
if (r0) {
|
|
do {
|
|
const key = next.key;
|
|
const r8 = r7;
|
|
if (key === a0) {
|
|
r8.next = next.next;
|
|
next.next = c12370_0.next;
|
|
c12370_0.next = next;
|
|
r13 = next;
|
|
break;
|
|
}
|
|
const next2 = next.next;
|
|
r15 = next2 != null;
|
|
r7 = next;
|
|
next = next2;
|
|
r13 = void 0;
|
|
} while (r15);
|
|
}
|
|
r12 = !!r13;
|
|
}
|
|
return r12;
|
|
},
|
|
set: function set(a0, a1) {
|
|
let r14;
|
|
let r6 = c12370_0;
|
|
if (!r6) {
|
|
const r3 = {
|
|
next: void 0
|
|
};
|
|
c12370_0 = r3;
|
|
r6 = r3;
|
|
}
|
|
let next = r6.next;
|
|
const r2 = next != null;
|
|
let r5 = r6;
|
|
let r11 = void 0;
|
|
if (r2) {
|
|
do {
|
|
const key = next.key;
|
|
const r8 = r5;
|
|
if (key === a0) {
|
|
r8.next = next.next;
|
|
next.next = r6.next;
|
|
r6.next = next;
|
|
r11 = next;
|
|
break;
|
|
}
|
|
const next2 = next.next;
|
|
r14 = next2 != null;
|
|
r5 = next;
|
|
next = next2;
|
|
r11 = void 0;
|
|
} while (r14);
|
|
}
|
|
if (r11) {
|
|
r11.value = a1;
|
|
} else {
|
|
r6.next = {
|
|
key: a0,
|
|
next: r6.next,
|
|
value: a1
|
|
};
|
|
}
|
|
}
|
|
};
|
|
c12370_1 = r0;
|
|
return r0;
|
|
};
|