1 | // TODO(Babel 8): Remove this file.
|
2 |
|
3 | var runtime = require("../helpers/regeneratorRuntime")();
|
4 | module.exports = runtime;
|
5 |
|
6 | // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
7 | try {
|
8 | regeneratorRuntime = runtime;
|
9 | } catch (accidentalStrictMode) {
|
10 | if (typeof globalThis === "object") {
|
11 | globalThis.regeneratorRuntime = runtime;
|
12 | } else {
|
13 | Function("r", "regeneratorRuntime = r")(runtime);
|
14 | }
|
15 | }
|