39 lines
1.0 KiB
JavaScript
39 lines
1.0 KiB
JavaScript
// Metro module 538 (f539).
|
|
import * as _Module539 from "./Module539";
|
|
import * as _Module577 from "./Module577";
|
|
import * as _getSideChannelList from "./getSideChannelList";
|
|
import * as _Module541 from "./Module541";
|
|
import * as _inspect_ from "./inspect_";
|
|
let c511_2 = _Module539 || _Module577 || _getSideChannelList;
|
|
module.exports = function getSideChannel() {
|
|
let c12364_0, c12364_1;
|
|
const r0 = {
|
|
assert: function assert(a0) {
|
|
if (c12364_1.has(a0)) {
|
|
return void 0;
|
|
}
|
|
throw new _Module541("Side channel does not contain " + _inspect_(a0));
|
|
},
|
|
delete: function(a0) {
|
|
return !!c12364_0 && c12364_0.delete(a0);
|
|
},
|
|
get: function get(a0) {
|
|
return c12364_0 && c12364_0.get(a0);
|
|
},
|
|
has: function has(a0) {
|
|
return !!c12364_0 && c12364_0.has(a0);
|
|
},
|
|
set: function set(a0, a1) {
|
|
let r4 = c12364_0;
|
|
if (!r4) {
|
|
const r6 = c511_2();
|
|
c12364_0 = r6;
|
|
r4 = r6;
|
|
}
|
|
r4.set(a0, a1);
|
|
}
|
|
};
|
|
c12364_1 = r0;
|
|
return r0;
|
|
};
|