20 lines
513 B
JavaScript
20 lines
513 B
JavaScript
// Metro module 174 (f175).
|
|
import { polyfillGlobal } from "./Module123";
|
|
import * as _Module175 from "./Module175";
|
|
const r2 = global == null;
|
|
let r7 = void 0;
|
|
if (!r2) {
|
|
const HermesInternal2 = global.HermesInternal;
|
|
const r10 = HermesInternal2 == null;
|
|
r7 = void 0;
|
|
if (!r10) {
|
|
const hasPromise = HermesInternal2.hasPromise;
|
|
r7 = hasPromise == null ? void 0 : hasPromise.call(HermesInternal2);
|
|
}
|
|
}
|
|
if (r7) {
|
|
global.Promise;
|
|
} else {
|
|
polyfillGlobal("Promise", () => _Module175.default);
|
|
}
|