var _globalThis = function (Object) { function get() { var _global = this || self; delete Object.prototype.__magic__; return _global; } if (typeof globalThis === "object") { return globalThis; } if (this) { return get(); } else { Object.defineProperty(Object.prototype, "__magic__", { configurable: true, get: get }); var _global = __magic__; return _global; } }(Object); import { Buffer } from 'buffer'; import process from 'process'; var _global = _globalThis; export { Buffer, process, _global as global };