• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

varius official platform source code.


Commit MetaInfo

Revision08e8403659fe403e8479a02dedaf44ba99c5365f (tree)
Time2023-04-02 22:59:30
AuthorNknightA <n.knight.pc0627@gmai...>
CommiterNknightA

Log Message

global update

Change Summary

Incremental Difference

--- a/server/dist/components/background.js
+++ /dev/null
@@ -1,9 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-var background_module_sass_1 = require("./background.module.sass");
4-function Background() {
5- return (<div className={background_module_sass_1.default.Main}>
6- <h1>Awesome METAVERSE...</h1>
7- </div>);
8-}
9-exports.default = Background;
--- a/server/dist/components/background.jsx
+++ b/server/dist/components/background.jsx
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33 return (mod && mod.__esModule) ? mod : { "default": mod };
44 };
55 Object.defineProperty(exports, "__esModule", { value: true });
6-var background_module_sass_1 = __importDefault(require("./background.module.sass"));
6+const background_module_sass_1 = __importDefault(require("./background.module.sass"));
77 function Background() {
88 return (<div className={background_module_sass_1.default.Main}>
99 <h1>Awesome METAVERSE...</h1>
--- a/server/dist/components/box.js
+++ /dev/null
@@ -1,21 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-exports.Box = void 0;
4-var Box = function (_a) {
5- var children = _a.children, w = _a.w, display = _a.display, bgColor = _a.bgColor, h = _a.h, m = _a.m, p = _a.p, jc = _a.jc, ai = _a.ai, textSize = _a.textSize;
6- return (<div style={{
7- backgroundColor: bgColor,
8- color: '#000',
9- height: h,
10- width: w,
11- display: display,
12- justifyContent: jc,
13- alignItems: ai,
14- padding: p,
15- margin: m,
16- fontSize: textSize
17- }}>
18- {children}
19- </div>);
20-};
21-exports.Box = Box;
--- a/server/dist/components/box.jsx
+++ b/server/dist/components/box.jsx
@@ -1,8 +1,7 @@
11 "use strict";
22 Object.defineProperty(exports, "__esModule", { value: true });
33 exports.Box = void 0;
4-var Box = function (_a) {
5- var children = _a.children, w = _a.w, display = _a.display, bgColor = _a.bgColor, h = _a.h, m = _a.m, p = _a.p, jc = _a.jc, ai = _a.ai, textSize = _a.textSize;
4+const Box = ({ children, w, display, bgColor, h, m, p, jc, ai, textSize }) => {
65 return (<div style={{
76 backgroundColor: bgColor,
87 color: '#000',
--- a/server/dist/components/mode.js
+++ b/server/dist/components/mode.js
@@ -1,9 +1,9 @@
11 "use strict";
22 Object.defineProperty(exports, "__esModule", { value: true });
33 exports.devmode = void 0;
4-var devmode = function () {
5- var dev = 'dev';
6- var pud = 'pud';
4+const devmode = () => {
5+ let dev = 'dev';
6+ let pud = 'pud';
77 if (process.env.NODE_ENV === "development") {
88 return dev;
99 }
--- a/server/dist/index.js
+++ b/server/dist/index.js
@@ -1 +1,2 @@
1+"use strict";
12 console.log("Hello World!");
--- a/server/dist/pages/_app.js
+++ /dev/null
@@ -1,8 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-require("@/styles/globals.css");
4-function App(_a) {
5- var Component = _a.Component, pageProps = _a.pageProps;
6- return <Component {...pageProps}/>;
7-}
8-exports.default = App;
--- a/server/dist/pages/_app.jsx
+++ b/server/dist/pages/_app.jsx
@@ -1,8 +1,7 @@
11 "use strict";
22 Object.defineProperty(exports, "__esModule", { value: true });
33 require("@/styles/globals.css");
4-function App(_a) {
5- var Component = _a.Component, pageProps = _a.pageProps;
4+function App({ Component, pageProps }) {
65 return <Component {...pageProps}/>;
76 }
87 exports.default = App;
--- a/server/dist/pages/_document.js
+++ /dev/null
@@ -1,21 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-var document_1 = require("next/document");
4-function Document() {
5- return (<document_1.Html lang="en">
6- <document_1.Head>
7- <title>a</title>
8- <meta name="description" content="Generated by create next app"/>
9- <meta name="viewport" content="width=device-width, initial-scale=1"/>
10- <link rel="icon" href="/favicon.ico"/>
11- </document_1.Head>
12- <body>
13- <header>
14- <h1>V</h1>
15- </header>
16- <document_1.Main />
17- <document_1.NextScript />
18- </body>
19- </document_1.Html>);
20-}
21-exports.default = Document;
--- a/server/dist/pages/_document.jsx
+++ b/server/dist/pages/_document.jsx
@@ -1,6 +1,6 @@
11 "use strict";
22 Object.defineProperty(exports, "__esModule", { value: true });
3-var document_1 = require("next/document");
3+const document_1 = require("next/document");
44 function Document() {
55 return (<document_1.Html lang="en">
66 <document_1.Head>
--- a/server/dist/pages/account.js
+++ /dev/null
@@ -1,78 +0,0 @@
1-"use strict";
2-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4- return new (P || (P = Promise))(function (resolve, reject) {
5- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8- step((generator = generator.apply(thisArg, _arguments || [])).next());
9- });
10-};
11-var __generator = (this && this.__generator) || function (thisArg, body) {
12- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14- function verb(n) { return function (v) { return step([n, v]); }; }
15- function step(op) {
16- if (f) throw new TypeError("Generator is already executing.");
17- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19- if (y = 0, t) op = [op[0] & 2, t.value];
20- switch (op[0]) {
21- case 0: case 1: t = op; break;
22- case 4: _.label++; return { value: op[1], done: false };
23- case 5: _.label++; y = op[1]; op = [0]; continue;
24- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25- default:
26- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30- if (t[2]) _.ops.pop();
31- _.trys.pop(); continue;
32- }
33- op = body.call(thisArg, _);
34- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36- }
37-};
38-Object.defineProperty(exports, "__esModule", { value: true });
39-var react_1 = require("react");
40-function CreateAccount() {
41- var _this = this;
42- var _a = (0, react_1.useState)(""), email = _a[0], setEmail = _a[1];
43- var _b = (0, react_1.useState)(""), password = _b[0], setPassword = _b[1];
44- var handleSubmit = function () { return __awaiter(_this, void 0, void 0, function () {
45- var response, data;
46- return __generator(this, function (_a) {
47- switch (_a.label) {
48- case 0: return [4 /*yield*/, fetch("/api/account", {
49- method: "POST",
50- headers: {
51- "Content-Type": "application/json",
52- },
53- body: JSON.stringify({ email: email, password: password }),
54- })];
55- case 1:
56- response = _a.sent();
57- return [4 /*yield*/, response.json()];
58- case 2:
59- data = _a.sent();
60- console.log(data);
61- return [2 /*return*/];
62- }
63- });
64- }); };
65- return (<div>
66- <h1>Create Account</h1>,
67- <label htmlFor="email">Email
68- <form onSubmit={handleSubmit}>
69- <input type="email" value={email} onChange={function (e) { return setEmail(e.target.value); }}/>
70- </form>
71- <form onSubmit={handleSubmit}>
72- <input type="password" value={password} onChange={function (e) { return setPassword(e.target.value); }}/>
73- </form>
74- <button type="submit">Create Account</button>
75- </label>
76- </div>);
77-}
78-exports.default = CreateAccount;
--- a/server/dist/pages/account.jsx
+++ b/server/dist/pages/account.jsx
@@ -1,75 +1,28 @@
11 "use strict";
2-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4- return new (P || (P = Promise))(function (resolve, reject) {
5- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8- step((generator = generator.apply(thisArg, _arguments || [])).next());
9- });
10-};
11-var __generator = (this && this.__generator) || function (thisArg, body) {
12- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14- function verb(n) { return function (v) { return step([n, v]); }; }
15- function step(op) {
16- if (f) throw new TypeError("Generator is already executing.");
17- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19- if (y = 0, t) op = [op[0] & 2, t.value];
20- switch (op[0]) {
21- case 0: case 1: t = op; break;
22- case 4: _.label++; return { value: op[1], done: false };
23- case 5: _.label++; y = op[1]; op = [0]; continue;
24- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25- default:
26- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30- if (t[2]) _.ops.pop();
31- _.trys.pop(); continue;
32- }
33- op = body.call(thisArg, _);
34- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36- }
37-};
382 Object.defineProperty(exports, "__esModule", { value: true });
39-var react_1 = require("react");
3+const react_1 = require("react");
404 function CreateAccount() {
41- var _this = this;
42- var _a = (0, react_1.useState)(""), email = _a[0], setEmail = _a[1];
43- var _b = (0, react_1.useState)(""), password = _b[0], setPassword = _b[1];
44- var handleSubmit = function () { return __awaiter(_this, void 0, void 0, function () {
45- var response, data;
46- return __generator(this, function (_a) {
47- switch (_a.label) {
48- case 0: return [4 /*yield*/, fetch("/api/account", {
49- method: "POST",
50- headers: {
51- "Content-Type": "application/json",
52- },
53- body: JSON.stringify({ email: email, password: password }),
54- })];
55- case 1:
56- response = _a.sent();
57- return [4 /*yield*/, response.json()];
58- case 2:
59- data = _a.sent();
60- console.log(data);
61- return [2 /*return*/];
62- }
5+ const [email, setEmail] = (0, react_1.useState)("");
6+ const [password, setPassword] = (0, react_1.useState)("");
7+ const handleSubmit = async () => {
8+ const response = await fetch("/api/account", {
9+ method: "POST",
10+ headers: {
11+ "Content-Type": "application/json",
12+ },
13+ body: JSON.stringify({ email, password }),
6314 });
64- }); };
15+ const data = await response.json();
16+ console.log(data);
17+ };
6518 return (<div>
6619 <h1>Create Account</h1>,
6720 <label htmlFor="email">Email
6821 <form onSubmit={handleSubmit}>
69- <input type="email" value={email} onChange={function (e) { return setEmail(e.target.value); }}/>
22+ <input type="email" value={email} onChange={(e) => setEmail(e.target.value)}/>
7023 </form>
7124 <form onSubmit={handleSubmit}>
72- <input type="password" value={password} onChange={function (e) { return setPassword(e.target.value); }}/>
25+ <input type="password" value={password} onChange={(e) => setPassword(e.target.value)}/>
7326 </form>
7427 <button type="submit">Create Account</button>
7528 </label>
--- a/server/dist/pages/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-var head_1 = require("next/head");
4-var image_1 = require("next/image");
5-var Home_module_css_1 = require("@/styles/Home.module.css");
6-var home_module_sass_1 = require("../styles/home.module.sass");
7-//import Returnstatus from "@/status/store";
8-var account_1 = require("@/pages/account");
9-function Home() {
10- var Devmode = function () {
11- if (process.env.NODE_ENV === "development") {
12- return (<p> development mode </p>);
13- }
14- else {
15- return (<p> development mode </p>);
16- }
17- };
18- return (<div className={home_module_sass_1.default.container}>
19- <head_1.default>
20- <title>V</title>
21- </head_1.default>
22- <main className={Home_module_css_1.default.main}>
23- <image_1.default src="/image_4.png" alt="Logo" className={Home_module_css_1.default.vercelLogo} width={896} height={345} priority/>
24- <p>insert code is : {' {process.env.NODE_ENV}'}.</p>
25- <p>How to insert code is edit index.tsx</p>
26- <account_1.default />
27- <Devmode />
28- </main>
29- </div>);
30-}
31-exports.default = Home;
--- a/server/dist/pages/index.jsx
+++ b/server/dist/pages/index.jsx
@@ -3,13 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33 return (mod && mod.__esModule) ? mod : { "default": mod };
44 };
55 Object.defineProperty(exports, "__esModule", { value: true });
6-var head_1 = __importDefault(require("next/head"));
7-var image_1 = __importDefault(require("next/image"));
8-var Home_module_css_1 = __importDefault(require("@/styles/Home.module.css"));
9-var home_module_sass_1 = __importDefault(require("../styles/home.module.sass"));
10-var account_1 = __importDefault(require("@/pages/account"));
6+const head_1 = __importDefault(require("next/head"));
7+const image_1 = __importDefault(require("next/image"));
8+const Home_module_css_1 = __importDefault(require("@/styles/Home.module.css"));
9+const home_module_sass_1 = __importDefault(require("../styles/home.module.sass"));
10+const account_1 = __importDefault(require("@/pages/account"));
1111 function Home() {
12- var Devmode = function () {
12+ const Devmode = () => {
1313 if (process.env.NODE_ENV === "development") {
1414 return (<p> development mode </p>);
1515 }
--- a/server/dist/server/server.js
+++ b/server/dist/server/server.js
@@ -1,81 +1,28 @@
11 "use strict";
2-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4- return new (P || (P = Promise))(function (resolve, reject) {
5- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8- step((generator = generator.apply(thisArg, _arguments || [])).next());
9- });
10-};
11-var __generator = (this && this.__generator) || function (thisArg, body) {
12- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14- function verb(n) { return function (v) { return step([n, v]); }; }
15- function step(op) {
16- if (f) throw new TypeError("Generator is already executing.");
17- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19- if (y = 0, t) op = [op[0] & 2, t.value];
20- switch (op[0]) {
21- case 0: case 1: t = op; break;
22- case 4: _.label++; return { value: op[1], done: false };
23- case 5: _.label++; y = op[1]; op = [0]; continue;
24- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25- default:
26- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30- if (t[2]) _.ops.pop();
31- _.trys.pop(); continue;
32- }
33- op = body.call(thisArg, _);
34- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36- }
37-};
38-<<<<<<< HEAD
392 var __importDefault = (this && this.__importDefault) || function (mod) {
403 return (mod && mod.__esModule) ? mod : { "default": mod };
414 };
425 Object.defineProperty(exports, "__esModule", { value: true });
43-var express_1 = __importDefault(require("express"));
44-var next_1 = __importDefault(require("next"));
45-var cgi_express_1 = __importDefault(require("cgi-express"));
46-=======
47-Object.defineProperty(exports, "__esModule", { value: true });
48-var express_1 = require("express");
49-var next_1 = require("next");
50-var cgi_express_1 = require("cgi-express");
51->>>>>>> 3d6934ece3c932a823d57c986a6177820c87317c
52-var dev = process.env.NODE_ENV === "production";
53-var port = "https://variussoftware.com";
54-var app = (0, next_1.default)({ dev: dev });
55-var handle = app.getRequestHandler();
56-(function () { return __awaiter(void 0, void 0, void 0, function () {
57- var server_1, e_1;
58- return __generator(this, function (_a) {
59- switch (_a.label) {
60- case 0:
61- _a.trys.push([0, 2, , 3]);
62- return [4 /*yield*/, app.prepare()];
63- case 1:
64- _a.sent();
65- server_1 = (0, express_1.default)();
66- server_1.all("*", function (req, res) {
67- return handle(req, res);
68- });
69- server_1.listen(port, function () {
70- console.log("running https://variussoftware.com");
71- cgi_express_1.default.execute(server_1);
72- });
73- return [3 /*break*/, 3];
74- case 2:
75- e_1 = _a.sent();
76- console.error(e_1);
77- return [3 /*break*/, 3];
78- case 3: return [2 /*return*/];
79- }
80- });
81-}); })();
6+const express_1 = __importDefault(require("express"));
7+const next_1 = __importDefault(require("next"));
8+//import cgiExpress from "cgi-express";
9+const dev = process.env.NODE_ENV === "production";
10+const port = "4100";
11+const app = (0, next_1.default)({ dev });
12+const handle = app.getRequestHandler();
13+(async () => {
14+ try {
15+ await app.prepare();
16+ const server = (0, express_1.default)();
17+ server.all("*", (req, res) => {
18+ return handle(req, res);
19+ });
20+ server.listen(port, () => {
21+ console.log(`running http://localhost:${port}`);
22+ //cgiExpress.execute(server);
23+ });
24+ }
25+ catch (e) {
26+ console.error(e);
27+ }
28+})();
--- a/server/dist/status/store.js
+++ /dev/null
@@ -1,22 +0,0 @@
1-"use strict";
2-Object.defineProperty(exports, "__esModule", { value: true });
3-var toolkit_1 = require("@reduxjs/toolkit");
4-var react_1 = require("react");
5-function countterReducer(_a) {
6- var _b = _a.state, state = _b === void 0 ? { value: 1 } : _b, action = _a.action;
7- switch (action.type) {
8- case "increment":
9- return state + 1;
10- case "decrement":
11- return state - 1;
12- default:
13- return state;
14- }
15-}
16-var storePal = (0, toolkit_1.createStore)(countterReducer);
17-function Returnstatus() {
18- return (<>
19- {storePal}
20- </>);
21-}
22-exports.default = Returnstatus;
--- a/server/dist/status/store.jsx
+++ b/server/dist/status/store.jsx
@@ -3,10 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
33 return (mod && mod.__esModule) ? mod : { "default": mod };
44 };
55 Object.defineProperty(exports, "__esModule", { value: true });
6-var toolkit_1 = require("@reduxjs/toolkit");
7-var react_1 = __importDefault(require("react"));
8-function countterReducer(_a) {
9- var _b = _a.state, state = _b === void 0 ? { value: 1 } : _b, action = _a.action;
6+const toolkit_1 = require("@reduxjs/toolkit");
7+const react_1 = __importDefault(require("react"));
8+function countterReducer({ state = { value: 1 }, action }) {
109 switch (action.type) {
1110 case "increment":
1211 return state + 1;
@@ -16,7 +15,7 @@ function countterReducer(_a) {
1615 return state;
1716 }
1817 }
19-var storePal = (0, toolkit_1.createStore)(countterReducer);
18+let storePal = (0, toolkit_1.createStore)(countterReducer);
2019 function Returnstatus() {
2120 return (<>
2221 {storePal}
--- a/server/dist/user/create_user_post.js
+++ b/server/dist/user/create_user_post.js
@@ -1,88 +1,31 @@
11 "use strict";
2-var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4- return new (P || (P = Promise))(function (resolve, reject) {
5- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8- step((generator = generator.apply(thisArg, _arguments || [])).next());
9- });
10-};
11-var __generator = (this && this.__generator) || function (thisArg, body) {
12- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14- function verb(n) { return function (v) { return step([n, v]); }; }
15- function step(op) {
16- if (f) throw new TypeError("Generator is already executing.");
17- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19- if (y = 0, t) op = [op[0] & 2, t.value];
20- switch (op[0]) {
21- case 0: case 1: t = op; break;
22- case 4: _.label++; return { value: op[1], done: false };
23- case 5: _.label++; y = op[1]; op = [0]; continue;
24- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25- default:
26- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30- if (t[2]) _.ops.pop();
31- _.trys.pop(); continue;
32- }
33- op = body.call(thisArg, _);
34- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36- }
37-};
382 Object.defineProperty(exports, "__esModule", { value: true });
393 exports.createUserPost = void 0;
40-var pg_1 = require("pg");
41-var pool = new pg_1.Pool({
4+const pg_1 = require("pg");
5+const pool = new pg_1.Pool({
426 user: 'dbuser',
437 host: 'localhost',
448 database: 'mydb',
459 password: 'secretpassword',
4610 port: 5432,
4711 });
48-var createUserPost = function (_a) {
49- var req = _a.req, res = _a.res;
50- return __awaiter(void 0, void 0, void 0, function () {
51- var _b, name, email, client, queryText, values, rows, e_1;
52- return __generator(this, function (_c) {
53- switch (_c.label) {
54- case 0:
55- _b = req.body, name = _b.name, email = _b.email;
56- return [4 /*yield*/, pool.connect()];
57- case 1:
58- client = _c.sent();
59- _c.label = 2;
60- case 2:
61- _c.trys.push([2, 6, 8, 9]);
62- return [4 /*yield*/, client.query('BEGIN')];
63- case 3:
64- _c.sent();
65- queryText = 'INSERT INTO users(name, email) VALUES($1, $2) RETURNING *';
66- values = [name, email];
67- return [4 /*yield*/, client.query(queryText, values)];
68- case 4:
69- rows = (_c.sent()).rows;
70- return [4 /*yield*/, client.query('COMMIT')];
71- case 5:
72- _c.sent();
73- return [2 /*return*/, res.status(201).send(rows[0])];
74- case 6:
75- e_1 = _c.sent();
76- return [4 /*yield*/, client.query('ROLLBACK')];
77- case 7:
78- _c.sent();
79- throw e_1;
80- case 8:
81- client.release();
82- return [7 /*endfinally*/];
83- case 9: return [2 /*return*/];
84- }
85- });
86- });
12+const createUserPost = async ({ req, res }) => {
13+ const { name, email } = req.body;
14+ const client = await pool.connect();
15+ try {
16+ await client.query('BEGIN');
17+ const queryText = 'INSERT INTO users(name, email) VALUES($1, $2) RETURNING *';
18+ const values = [name, email];
19+ const { rows } = await client.query(queryText, values);
20+ await client.query('COMMIT');
21+ return res.status(201).send(rows[0]);
22+ }
23+ catch (e) {
24+ await client.query('ROLLBACK');
25+ throw e;
26+ }
27+ finally {
28+ client.release();
29+ }
8730 };
8831 exports.createUserPost = createUserPost;
--- a/server/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
1-<!DOCTYPE html>
2-<html>
3- <head>
4- <meta charset="utf-8" />
5- <title>Webpack App</title>
6- </head>
7- <body>
8- <h1>Hello world!</h1>
9- <h2>Tip: Check your console</h2>
10- </body>
11-
12-</html>
--- a/server/package.json
+++ b/server/package.json
@@ -1,18 +1,11 @@
11 {
22 "name": "v",
3- "version": "0.4.47",
3+ "version": "0.4.72",
44 "private": true,
55 "scripts": {
66 "dev": "tsc -p tsconfig.server.json && cross-env NODE_ENV=development node ./dist/server/server.js",
77 "pre-build": "tsc -p tsconfig.server.json",
8-<<<<<<< HEAD
9- "build": "webpack"
10-=======
11- "build": "webpack --mode=production --node-env=production",
12- "build:dev": "webpack --mode=development",
13- "build:prod": "webpack --mode=production --node-env=production",
14- "watch": "webpack --watch"
15->>>>>>> 3d6934ece3c932a823d57c986a6177820c87317c
8+ "dev_next": "cross-env NODE_ENV=development && npx ts-node ./src/server/server.ts"
169 },
1710 "dependencies": {
1811 "@reduxjs/toolkit": "^1.9.3",
@@ -27,7 +20,8 @@
2720 "next": "^13.2.4",
2821 "pg": "^8.10.0",
2922 "react": "^18.2.0",
30- "react-dom": "^18.2.0"
23+ "react-dom": "^18.2.0",
24+ "ts-node": "^10.9.1"
3125 },
3226 "devDependencies": {
3327 "@webpack-cli/generators": "^3.0.1",
--- a/server/pud/main.js
+++ b/server/pud/main.js
@@ -9,143 +9,13 @@
99 /******/ (() => { // webpackBootstrap
1010 /******/ var __webpack_modules__ = ({
1111
12-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/array-set.js":
13-/*!***********************************************************************************!*\
14- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/array-set.js ***!
15- \***********************************************************************************/
16-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
17-
18-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = __webpack_require__(/*! ./util */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js\");\nvar has = Object.prototype.hasOwnProperty;\nvar hasNativeMap = typeof Map !== \"undefined\";\n\n/**\n * A data structure which is a combination of an array and a set. Adding a new\n * member is O(1), testing for membership is O(1), and finding the index of an\n * element is O(1). Removing elements from the set is not supported. Only\n * strings are supported for membership.\n */\nfunction ArraySet() {\n this._array = [];\n this._set = hasNativeMap ? new Map() : Object.create(null);\n}\n\n/**\n * Static method for creating ArraySet instances from an existing array.\n */\nArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n var set = new ArraySet();\n for (var i = 0, len = aArray.length; i < len; i++) {\n set.add(aArray[i], aAllowDuplicates);\n }\n return set;\n};\n\n/**\n * Return how many unique items are in this ArraySet. If duplicates have been\n * added, than those do not count towards the size.\n *\n * @returns Number\n */\nArraySet.prototype.size = function ArraySet_size() {\n return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n};\n\n/**\n * Add the given string to this set.\n *\n * @param String aStr\n */\nArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n var idx = this._array.length;\n if (!isDuplicate || aAllowDuplicates) {\n this._array.push(aStr);\n }\n if (!isDuplicate) {\n if (hasNativeMap) {\n this._set.set(aStr, idx);\n } else {\n this._set[sStr] = idx;\n }\n }\n};\n\n/**\n * Is the given string a member of this set?\n *\n * @param String aStr\n */\nArraySet.prototype.has = function ArraySet_has(aStr) {\n if (hasNativeMap) {\n return this._set.has(aStr);\n } else {\n var sStr = util.toSetString(aStr);\n return has.call(this._set, sStr);\n }\n};\n\n/**\n * What is the index of the given string in the array?\n *\n * @param String aStr\n */\nArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n if (hasNativeMap) {\n var idx = this._set.get(aStr);\n if (idx >= 0) {\n return idx;\n }\n } else {\n var sStr = util.toSetString(aStr);\n if (has.call(this._set, sStr)) {\n return this._set[sStr];\n }\n }\n\n throw new Error('\"' + aStr + '\" is not in the set.');\n};\n\n/**\n * What is the element at the given index?\n *\n * @param Number aIdx\n */\nArraySet.prototype.at = function ArraySet_at(aIdx) {\n if (aIdx >= 0 && aIdx < this._array.length) {\n return this._array[aIdx];\n }\n throw new Error('No element indexed by ' + aIdx);\n};\n\n/**\n * Returns the array representation of this set (which has the proper indices\n * indicated by indexOf). Note that this is a copy of the internal array used\n * for storing the members so that no one can mess with internal state.\n */\nArraySet.prototype.toArray = function ArraySet_toArray() {\n return this._array.slice();\n};\n\nexports.ArraySet = ArraySet;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/array-set.js?");
19-
20-/***/ }),
21-
22-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/base64-vlq.js":
23-/*!************************************************************************************!*\
24- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/base64-vlq.js ***!
25- \************************************************************************************/
26-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
27-
28-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n * * Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following\n * disclaimer in the documentation and/or other materials provided\n * with the distribution.\n * * Neither the name of Google Inc. nor the names of its\n * contributors may be used to endorse or promote products derived\n * from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar base64 = __webpack_require__(/*! ./base64 */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/base64.js\");\n\n// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n// length quantities we use in the source map spec, the first bit is the sign,\n// the next four bits are the actual value, and the 6th bit is the\n// continuation bit. The continuation bit tells us whether there are more\n// digits in this value following this digit.\n//\n// Continuation\n// | Sign\n// | |\n// V V\n// 101011\n\nvar VLQ_BASE_SHIFT = 5;\n\n// binary: 100000\nvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n// binary: 011111\nvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n// binary: 100000\nvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n/**\n * Converts from a two-complement value to a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n */\nfunction toVLQSigned(aValue) {\n return aValue < 0\n ? ((-aValue) << 1) + 1\n : (aValue << 1) + 0;\n}\n\n/**\n * Converts to a two-complement value from a value where the sign bit is\n * placed in the least significant bit. For example, as decimals:\n * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n */\nfunction fromVLQSigned(aValue) {\n var isNegative = (aValue & 1) === 1;\n var shifted = aValue >> 1;\n return isNegative\n ? -shifted\n : shifted;\n}\n\n/**\n * Returns the base 64 VLQ encoded value.\n */\nexports.encode = function base64VLQ_encode(aValue) {\n var encoded = \"\";\n var digit;\n\n var vlq = toVLQSigned(aValue);\n\n do {\n digit = vlq & VLQ_BASE_MASK;\n vlq >>>= VLQ_BASE_SHIFT;\n if (vlq > 0) {\n // There are still more digits in this value, so we must make sure the\n // continuation bit is marked.\n digit |= VLQ_CONTINUATION_BIT;\n }\n encoded += base64.encode(digit);\n } while (vlq > 0);\n\n return encoded;\n};\n\n/**\n * Decodes the next base 64 VLQ value from the given string and returns the\n * value and the rest of the string via the out parameter.\n */\nexports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n var strLen = aStr.length;\n var result = 0;\n var shift = 0;\n var continuation, digit;\n\n do {\n if (aIndex >= strLen) {\n throw new Error(\"Expected more digits in base 64 VLQ value.\");\n }\n\n digit = base64.decode(aStr.charCodeAt(aIndex++));\n if (digit === -1) {\n throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n }\n\n continuation = !!(digit & VLQ_CONTINUATION_BIT);\n digit &= VLQ_BASE_MASK;\n result = result + (digit << shift);\n shift += VLQ_BASE_SHIFT;\n } while (continuation);\n\n aOutParam.value = fromVLQSigned(result);\n aOutParam.rest = aIndex;\n};\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/base64-vlq.js?");
29-
30-/***/ }),
31-
32-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/base64.js":
33-/*!********************************************************************************!*\
34- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/base64.js ***!
35- \********************************************************************************/
36-/***/ ((__unused_webpack_module, exports) => {
37-
38-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n/**\n * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n */\nexports.encode = function (number) {\n if (0 <= number && number < intToCharMap.length) {\n return intToCharMap[number];\n }\n throw new TypeError(\"Must be between 0 and 63: \" + number);\n};\n\n/**\n * Decode a single base 64 character code digit to an integer. Returns -1 on\n * failure.\n */\nexports.decode = function (charCode) {\n var bigA = 65; // 'A'\n var bigZ = 90; // 'Z'\n\n var littleA = 97; // 'a'\n var littleZ = 122; // 'z'\n\n var zero = 48; // '0'\n var nine = 57; // '9'\n\n var plus = 43; // '+'\n var slash = 47; // '/'\n\n var littleOffset = 26;\n var numberOffset = 52;\n\n // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n if (bigA <= charCode && charCode <= bigZ) {\n return (charCode - bigA);\n }\n\n // 26 - 51: abcdefghijklmnopqrstuvwxyz\n if (littleA <= charCode && charCode <= littleZ) {\n return (charCode - littleA + littleOffset);\n }\n\n // 52 - 61: 0123456789\n if (zero <= charCode && charCode <= nine) {\n return (charCode - zero + numberOffset);\n }\n\n // 62: +\n if (charCode == plus) {\n return 62;\n }\n\n // 63: /\n if (charCode == slash) {\n return 63;\n }\n\n // Invalid base64 digit.\n return -1;\n};\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/base64.js?");
39-
40-/***/ }),
41-
42-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/binary-search.js":
43-/*!***************************************************************************************!*\
44- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/binary-search.js ***!
45- \***************************************************************************************/
46-/***/ ((__unused_webpack_module, exports) => {
47-
48-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nexports.GREATEST_LOWER_BOUND = 1;\nexports.LEAST_UPPER_BOUND = 2;\n\n/**\n * Recursive implementation of binary search.\n *\n * @param aLow Indices here and lower do not contain the needle.\n * @param aHigh Indices here and higher do not contain the needle.\n * @param aNeedle The element being searched for.\n * @param aHaystack The non-empty array being searched.\n * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n */\nfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n // This function terminates when one of the following is true:\n //\n // 1. We find the exact element we are looking for.\n //\n // 2. We did not find the exact element, but we can return the index of\n // the next-closest element.\n //\n // 3. We did not find the exact element, and there is no next-closest\n // element than the one we are searching for, so we return -1.\n var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n var cmp = aCompare(aNeedle, aHaystack[mid], true);\n if (cmp === 0) {\n // Found the element we are looking for.\n return mid;\n }\n else if (cmp > 0) {\n // Our needle is greater than aHaystack[mid].\n if (aHigh - mid > 1) {\n // The element is in the upper half.\n return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // The exact needle element was not found in this haystack. Determine if\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return aHigh < aHaystack.length ? aHigh : -1;\n } else {\n return mid;\n }\n }\n else {\n // Our needle is less than aHaystack[mid].\n if (mid - aLow > 1) {\n // The element is in the lower half.\n return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n }\n\n // we are in termination case (3) or (2) and return the appropriate thing.\n if (aBias == exports.LEAST_UPPER_BOUND) {\n return mid;\n } else {\n return aLow < 0 ? -1 : aLow;\n }\n }\n}\n\n/**\n * This is an implementation of binary search which will always try and return\n * the index of the closest element if there is no exact hit. This is because\n * mappings between original and generated line/col pairs are single points,\n * and there is an implicit region between each of them, so a miss just means\n * that you aren't on the very start of a region.\n *\n * @param aNeedle The element you are looking for.\n * @param aHaystack The array that is being searched.\n * @param aCompare A function which takes the needle and an element in the\n * array and returns -1, 0, or 1 depending on whether the needle is less\n * than, equal to, or greater than the element, respectively.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n */\nexports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n if (aHaystack.length === 0) {\n return -1;\n }\n\n var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n if (index < 0) {\n return -1;\n }\n\n // We have found either the exact element, or the next-closest element than\n // the one we are searching for. However, there may be more than one such\n // element. Make sure we always return the smallest of these.\n while (index - 1 >= 0) {\n if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n break;\n }\n --index;\n }\n\n return index;\n};\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/binary-search.js?");
49-
50-/***/ }),
51-
52-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/mapping-list.js":
53-/*!**************************************************************************************!*\
54- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/mapping-list.js ***!
55- \**************************************************************************************/
56-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
57-
58-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2014 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = __webpack_require__(/*! ./util */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js\");\n\n/**\n * Determine whether mappingB is after mappingA with respect to generated\n * position.\n */\nfunction generatedPositionAfter(mappingA, mappingB) {\n // Optimized for most common case\n var lineA = mappingA.generatedLine;\n var lineB = mappingB.generatedLine;\n var columnA = mappingA.generatedColumn;\n var columnB = mappingB.generatedColumn;\n return lineB > lineA || lineB == lineA && columnB >= columnA ||\n util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n}\n\n/**\n * A data structure to provide a sorted view of accumulated mappings in a\n * performance conscious manner. It trades a neglibable overhead in general\n * case for a large speedup in case of mappings being added in order.\n */\nfunction MappingList() {\n this._array = [];\n this._sorted = true;\n // Serves as infimum\n this._last = {generatedLine: -1, generatedColumn: 0};\n}\n\n/**\n * Iterate through internal items. This method takes the same arguments that\n * `Array.prototype.forEach` takes.\n *\n * NOTE: The order of the mappings is NOT guaranteed.\n */\nMappingList.prototype.unsortedForEach =\n function MappingList_forEach(aCallback, aThisArg) {\n this._array.forEach(aCallback, aThisArg);\n };\n\n/**\n * Add the given source mapping.\n *\n * @param Object aMapping\n */\nMappingList.prototype.add = function MappingList_add(aMapping) {\n if (generatedPositionAfter(this._last, aMapping)) {\n this._last = aMapping;\n this._array.push(aMapping);\n } else {\n this._sorted = false;\n this._array.push(aMapping);\n }\n};\n\n/**\n * Returns the flat, sorted array of mappings. The mappings are sorted by\n * generated position.\n *\n * WARNING: This method returns internal data without copying, for\n * performance. The return value must NOT be mutated, and should be treated as\n * an immutable borrow. If you want to take ownership, you must make your own\n * copy.\n */\nMappingList.prototype.toArray = function MappingList_toArray() {\n if (!this._sorted) {\n this._array.sort(util.compareByGeneratedPositionsInflated);\n this._sorted = true;\n }\n return this._array;\n};\n\nexports.MappingList = MappingList;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/mapping-list.js?");
59-
60-/***/ }),
61-
62-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/quick-sort.js":
63-/*!************************************************************************************!*\
64- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/quick-sort.js ***!
65- \************************************************************************************/
66-/***/ ((__unused_webpack_module, exports) => {
67-
68-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n// It turns out that some (most?) JavaScript engines don't self-host\n// `Array.prototype.sort`. This makes sense because C++ will likely remain\n// faster than JS when doing raw CPU-intensive sorting. However, when using a\n// custom comparator function, calling back and forth between the VM's C++ and\n// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n// worse generated code for the comparator function than would be optimal. In\n// fact, when sorting with a comparator, these costs outweigh the benefits of\n// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n// a ~3500ms mean speed-up in `bench/bench.html`.\n\n/**\n * Swap the elements indexed by `x` and `y` in the array `ary`.\n *\n * @param {Array} ary\n * The array.\n * @param {Number} x\n * The index of the first item.\n * @param {Number} y\n * The index of the second item.\n */\nfunction swap(ary, x, y) {\n var temp = ary[x];\n ary[x] = ary[y];\n ary[y] = temp;\n}\n\n/**\n * Returns a random integer within the range `low .. high` inclusive.\n *\n * @param {Number} low\n * The lower bound on the range.\n * @param {Number} high\n * The upper bound on the range.\n */\nfunction randomIntInRange(low, high) {\n return Math.round(low + (Math.random() * (high - low)));\n}\n\n/**\n * The Quick Sort algorithm.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n * @param {Number} p\n * Start index of the array\n * @param {Number} r\n * End index of the array\n */\nfunction doQuickSort(ary, comparator, p, r) {\n // If our lower bound is less than our upper bound, we (1) partition the\n // array into two pieces and (2) recurse on each half. If it is not, this is\n // the empty array and our base case.\n\n if (p < r) {\n // (1) Partitioning.\n //\n // The partitioning chooses a pivot between `p` and `r` and moves all\n // elements that are less than or equal to the pivot to the before it, and\n // all the elements that are greater than it after it. The effect is that\n // once partition is done, the pivot is in the exact place it will be when\n // the array is put in sorted order, and it will not need to be moved\n // again. This runs in O(n) time.\n\n // Always choose a random pivot so that an input array which is reverse\n // sorted does not cause O(n^2) running time.\n var pivotIndex = randomIntInRange(p, r);\n var i = p - 1;\n\n swap(ary, pivotIndex, r);\n var pivot = ary[r];\n\n // Immediately after `j` is incremented in this loop, the following hold\n // true:\n //\n // * Every element in `ary[p .. i]` is less than or equal to the pivot.\n //\n // * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n for (var j = p; j < r; j++) {\n if (comparator(ary[j], pivot) <= 0) {\n i += 1;\n swap(ary, i, j);\n }\n }\n\n swap(ary, i + 1, j);\n var q = i + 1;\n\n // (2) Recurse on each half.\n\n doQuickSort(ary, comparator, p, q - 1);\n doQuickSort(ary, comparator, q + 1, r);\n }\n}\n\n/**\n * Sort the given array in-place with the given comparator function.\n *\n * @param {Array} ary\n * An array to sort.\n * @param {function} comparator\n * Function to use to compare two items.\n */\nexports.quickSort = function (ary, comparator) {\n doQuickSort(ary, comparator, 0, ary.length - 1);\n};\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/quick-sort.js?");
69-
70-/***/ }),
71-
72-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-consumer.js":
73-/*!*********************************************************************************************!*\
74- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-consumer.js ***!
75- \*********************************************************************************************/
76-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
77-
78-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = __webpack_require__(/*! ./util */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js\");\nvar binarySearch = __webpack_require__(/*! ./binary-search */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/binary-search.js\");\nvar ArraySet = (__webpack_require__(/*! ./array-set */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/array-set.js\").ArraySet);\nvar base64VLQ = __webpack_require__(/*! ./base64-vlq */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/base64-vlq.js\");\nvar quickSort = (__webpack_require__(/*! ./quick-sort */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/quick-sort.js\").quickSort);\n\nfunction SourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n return sourceMap.sections != null\n ? new IndexedSourceMapConsumer(sourceMap)\n : new BasicSourceMapConsumer(sourceMap);\n}\n\nSourceMapConsumer.fromSourceMap = function(aSourceMap) {\n return BasicSourceMapConsumer.fromSourceMap(aSourceMap);\n}\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nSourceMapConsumer.prototype._version = 3;\n\n// `__generatedMappings` and `__originalMappings` are arrays that hold the\n// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n// are lazily instantiated, accessed via the `_generatedMappings` and\n// `_originalMappings` getters respectively, and we only parse the mappings\n// and create these arrays once queried for a source location. We jump through\n// these hoops because there can be many thousands of mappings, and parsing\n// them is expensive, so we only want to do it if we must.\n//\n// Each object in the arrays is of the form:\n//\n// {\n// generatedLine: The line number in the generated code,\n// generatedColumn: The column number in the generated code,\n// source: The path to the original source file that generated this\n// chunk of code,\n// originalLine: The line number in the original source that\n// corresponds to this chunk of generated code,\n// originalColumn: The column number in the original source that\n// corresponds to this chunk of generated code,\n// name: The name of the original symbol which generated this chunk of\n// code.\n// }\n//\n// All properties except for `generatedLine` and `generatedColumn` can be\n// `null`.\n//\n// `_generatedMappings` is ordered by the generated positions.\n//\n// `_originalMappings` is ordered by the original positions.\n\nSourceMapConsumer.prototype.__generatedMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n get: function () {\n if (!this.__generatedMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__generatedMappings;\n }\n});\n\nSourceMapConsumer.prototype.__originalMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n get: function () {\n if (!this.__originalMappings) {\n this._parseMappings(this._mappings, this.sourceRoot);\n }\n\n return this.__originalMappings;\n }\n});\n\nSourceMapConsumer.prototype._charIsMappingSeparator =\n function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n var c = aStr.charAt(index);\n return c === \";\" || c === \",\";\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n throw new Error(\"Subclasses must implement _parseMappings\");\n };\n\nSourceMapConsumer.GENERATED_ORDER = 1;\nSourceMapConsumer.ORIGINAL_ORDER = 2;\n\nSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\nSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n/**\n * Iterate over each mapping between an original source/line/column and a\n * generated line/column in this source map.\n *\n * @param Function aCallback\n * The function that is called with each mapping.\n * @param Object aContext\n * Optional. If specified, this object will be the value of `this` every\n * time that `aCallback` is called.\n * @param aOrder\n * Either `SourceMapConsumer.GENERATED_ORDER` or\n * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n * iterate over the mappings sorted by the generated file's line/column\n * order or the original's source/line/column order, respectively. Defaults to\n * `SourceMapConsumer.GENERATED_ORDER`.\n */\nSourceMapConsumer.prototype.eachMapping =\n function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n var context = aContext || null;\n var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n var mappings;\n switch (order) {\n case SourceMapConsumer.GENERATED_ORDER:\n mappings = this._generatedMappings;\n break;\n case SourceMapConsumer.ORIGINAL_ORDER:\n mappings = this._originalMappings;\n break;\n default:\n throw new Error(\"Unknown order of iteration.\");\n }\n\n var sourceRoot = this.sourceRoot;\n mappings.map(function (mapping) {\n var source = mapping.source === null ? null : this._sources.at(mapping.source);\n if (source != null && sourceRoot != null) {\n source = util.join(sourceRoot, source);\n }\n return {\n source: source,\n generatedLine: mapping.generatedLine,\n generatedColumn: mapping.generatedColumn,\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: mapping.name === null ? null : this._names.at(mapping.name)\n };\n }, this).forEach(aCallback, context);\n };\n\n/**\n * Returns all generated line and column information for the original source,\n * line, and column provided. If no column is provided, returns all mappings\n * corresponding to a either the line we are searching for or the next\n * closest line that has any mappings. Otherwise, returns all mappings\n * corresponding to the given line and either the column we are searching for\n * or the next closest column that has any offsets.\n *\n * The only argument is an object with the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: Optional. the column number in the original source.\n *\n * and an array of objects is returned, each with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nSourceMapConsumer.prototype.allGeneratedPositionsFor =\n function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n var line = util.getArg(aArgs, 'line');\n\n // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n // returns the index of the closest mapping less than the needle. By\n // setting needle.originalColumn to 0, we thus find the last mapping for\n // the given line, provided such a mapping exists.\n var needle = {\n source: util.getArg(aArgs, 'source'),\n originalLine: line,\n originalColumn: util.getArg(aArgs, 'column', 0)\n };\n\n if (this.sourceRoot != null) {\n needle.source = util.relative(this.sourceRoot, needle.source);\n }\n if (!this._sources.has(needle.source)) {\n return [];\n }\n needle.source = this._sources.indexOf(needle.source);\n\n var mappings = [];\n\n var index = this._findMapping(needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n binarySearch.LEAST_UPPER_BOUND);\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (aArgs.column === undefined) {\n var originalLine = mapping.originalLine;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we found. Since\n // mappings are sorted, this is guaranteed to find all mappings for\n // the line we found.\n while (mapping && mapping.originalLine === originalLine) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n } else {\n var originalColumn = mapping.originalColumn;\n\n // Iterate until either we run out of mappings, or we run into\n // a mapping for a different line than the one we were searching for.\n // Since mappings are sorted, this is guaranteed to find all mappings for\n // the line we are searching for.\n while (mapping &&\n mapping.originalLine === line &&\n mapping.originalColumn == originalColumn) {\n mappings.push({\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n });\n\n mapping = this._originalMappings[++index];\n }\n }\n }\n\n return mappings;\n };\n\nexports.SourceMapConsumer = SourceMapConsumer;\n\n/**\n * A BasicSourceMapConsumer instance represents a parsed source map which we can\n * query for information about the original file positions by giving it a file\n * position in the generated source.\n *\n * The only parameter is the raw source map (either as a JSON string, or\n * already parsed to an object). According to the spec, source maps have the\n * following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - sources: An array of URLs to the original source files.\n * - names: An array of identifiers which can be referrenced by individual mappings.\n * - sourceRoot: Optional. The URL root from which all sources are relative.\n * - sourcesContent: Optional. An array of contents of the original source files.\n * - mappings: A string of base64 VLQs which contain the actual mappings.\n * - file: Optional. The generated file this source map is associated with.\n *\n * Here is an example source map, taken from the source map spec[0]:\n *\n * {\n * version : 3,\n * file: \"out.js\",\n * sourceRoot : \"\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AA,AB;;ABCDE;\"\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n */\nfunction BasicSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sources = util.getArg(sourceMap, 'sources');\n // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n // requires the array) to play nice here.\n var names = util.getArg(sourceMap, 'names', []);\n var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n var mappings = util.getArg(sourceMap, 'mappings');\n var file = util.getArg(sourceMap, 'file', null);\n\n // Once again, Sass deviates from the spec and supplies the version as a\n // string rather than a number, so we use loose equality checking here.\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n sources = sources\n .map(String)\n // Some source maps produce relative source paths like \"./foo.js\" instead of\n // \"foo.js\". Normalize these first so that future comparisons will succeed.\n // See bugzil.la/1090768.\n .map(util.normalize)\n // Always ensure that absolute sources are internally stored relative to\n // the source root, if the source root is absolute. Not doing this would\n // be particularly problematic when the source root is a prefix of the\n // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n .map(function (source) {\n return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n ? util.relative(sourceRoot, source)\n : source;\n });\n\n // Pass `true` below to allow duplicate names and sources. While source maps\n // are intended to be compressed and deduplicated, the TypeScript compiler\n // sometimes generates source maps with duplicates in them. See Github issue\n // #72 and bugzil.la/889492.\n this._names = ArraySet.fromArray(names.map(String), true);\n this._sources = ArraySet.fromArray(sources, true);\n\n this.sourceRoot = sourceRoot;\n this.sourcesContent = sourcesContent;\n this._mappings = mappings;\n this.file = file;\n}\n\nBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n/**\n * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n *\n * @param SourceMapGenerator aSourceMap\n * The source map that will be consumed.\n * @returns BasicSourceMapConsumer\n */\nBasicSourceMapConsumer.fromSourceMap =\n function SourceMapConsumer_fromSourceMap(aSourceMap) {\n var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n smc.sourceRoot = aSourceMap._sourceRoot;\n smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n smc.sourceRoot);\n smc.file = aSourceMap._file;\n\n // Because we are modifying the entries (by converting string sources and\n // names to indices into the sources and names ArraySets), we have to make\n // a copy of the entry or else bad things happen. Shared mutable state\n // strikes again! See github issue #191.\n\n var generatedMappings = aSourceMap._mappings.toArray().slice();\n var destGeneratedMappings = smc.__generatedMappings = [];\n var destOriginalMappings = smc.__originalMappings = [];\n\n for (var i = 0, length = generatedMappings.length; i < length; i++) {\n var srcMapping = generatedMappings[i];\n var destMapping = new Mapping;\n destMapping.generatedLine = srcMapping.generatedLine;\n destMapping.generatedColumn = srcMapping.generatedColumn;\n\n if (srcMapping.source) {\n destMapping.source = sources.indexOf(srcMapping.source);\n destMapping.originalLine = srcMapping.originalLine;\n destMapping.originalColumn = srcMapping.originalColumn;\n\n if (srcMapping.name) {\n destMapping.name = names.indexOf(srcMapping.name);\n }\n\n destOriginalMappings.push(destMapping);\n }\n\n destGeneratedMappings.push(destMapping);\n }\n\n quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n return smc;\n };\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nBasicSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n get: function () {\n return this._sources.toArray().map(function (s) {\n return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s;\n }, this);\n }\n});\n\n/**\n * Provide the JIT with a nice shape / hidden class.\n */\nfunction Mapping() {\n this.generatedLine = 0;\n this.generatedColumn = 0;\n this.source = null;\n this.originalLine = null;\n this.originalColumn = null;\n this.name = null;\n}\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nBasicSourceMapConsumer.prototype._parseMappings =\n function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n var generatedLine = 1;\n var previousGeneratedColumn = 0;\n var previousOriginalLine = 0;\n var previousOriginalColumn = 0;\n var previousSource = 0;\n var previousName = 0;\n var length = aStr.length;\n var index = 0;\n var cachedSegments = {};\n var temp = {};\n var originalMappings = [];\n var generatedMappings = [];\n var mapping, str, segment, end, value;\n\n while (index < length) {\n if (aStr.charAt(index) === ';') {\n generatedLine++;\n index++;\n previousGeneratedColumn = 0;\n }\n else if (aStr.charAt(index) === ',') {\n index++;\n }\n else {\n mapping = new Mapping();\n mapping.generatedLine = generatedLine;\n\n // Because each offset is encoded relative to the previous one,\n // many segments often have the same encoding. We can exploit this\n // fact by caching the parsed variable length fields of each segment,\n // allowing us to avoid a second parse if we encounter the same\n // segment again.\n for (end = index; end < length; end++) {\n if (this._charIsMappingSeparator(aStr, end)) {\n break;\n }\n }\n str = aStr.slice(index, end);\n\n segment = cachedSegments[str];\n if (segment) {\n index += str.length;\n } else {\n segment = [];\n while (index < end) {\n base64VLQ.decode(aStr, index, temp);\n value = temp.value;\n index = temp.rest;\n segment.push(value);\n }\n\n if (segment.length === 2) {\n throw new Error('Found a source, but no line and column');\n }\n\n if (segment.length === 3) {\n throw new Error('Found a source and line, but no column');\n }\n\n cachedSegments[str] = segment;\n }\n\n // Generated column.\n mapping.generatedColumn = previousGeneratedColumn + segment[0];\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (segment.length > 1) {\n // Original source.\n mapping.source = previousSource + segment[1];\n previousSource += segment[1];\n\n // Original line.\n mapping.originalLine = previousOriginalLine + segment[2];\n previousOriginalLine = mapping.originalLine;\n // Lines are stored 0-based\n mapping.originalLine += 1;\n\n // Original column.\n mapping.originalColumn = previousOriginalColumn + segment[3];\n previousOriginalColumn = mapping.originalColumn;\n\n if (segment.length > 4) {\n // Original name.\n mapping.name = previousName + segment[4];\n previousName += segment[4];\n }\n }\n\n generatedMappings.push(mapping);\n if (typeof mapping.originalLine === 'number') {\n originalMappings.push(mapping);\n }\n }\n }\n\n quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n this.__generatedMappings = generatedMappings;\n\n quickSort(originalMappings, util.compareByOriginalPositions);\n this.__originalMappings = originalMappings;\n };\n\n/**\n * Find the mapping that best matches the hypothetical \"needle\" mapping that\n * we are searching for in the given \"haystack\" of mappings.\n */\nBasicSourceMapConsumer.prototype._findMapping =\n function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n aColumnName, aComparator, aBias) {\n // To return the position we are searching for, we must first find the\n // mapping for the given position and then return the opposite position it\n // points to. Because the mappings are sorted, we can use binary search to\n // find the best mapping.\n\n if (aNeedle[aLineName] <= 0) {\n throw new TypeError('Line must be greater than or equal to 1, got '\n + aNeedle[aLineName]);\n }\n if (aNeedle[aColumnName] < 0) {\n throw new TypeError('Column must be greater than or equal to 0, got '\n + aNeedle[aColumnName]);\n }\n\n return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n };\n\n/**\n * Compute the last column for each generated mapping. The last column is\n * inclusive.\n */\nBasicSourceMapConsumer.prototype.computeColumnSpans =\n function SourceMapConsumer_computeColumnSpans() {\n for (var index = 0; index < this._generatedMappings.length; ++index) {\n var mapping = this._generatedMappings[index];\n\n // Mappings do not contain a field for the last generated columnt. We\n // can come up with an optimistic estimate, however, by assuming that\n // mappings are contiguous (i.e. given two consecutive mappings, the\n // first mapping ends where the second one starts).\n if (index + 1 < this._generatedMappings.length) {\n var nextMapping = this._generatedMappings[index + 1];\n\n if (mapping.generatedLine === nextMapping.generatedLine) {\n mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n continue;\n }\n }\n\n // The last mapping for each line spans the entire line.\n mapping.lastGeneratedColumn = Infinity;\n }\n };\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nBasicSourceMapConsumer.prototype.originalPositionFor =\n function SourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._generatedMappings,\n \"generatedLine\",\n \"generatedColumn\",\n util.compareByGeneratedPositionsDeflated,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._generatedMappings[index];\n\n if (mapping.generatedLine === needle.generatedLine) {\n var source = util.getArg(mapping, 'source', null);\n if (source !== null) {\n source = this._sources.at(source);\n if (this.sourceRoot != null) {\n source = util.join(this.sourceRoot, source);\n }\n }\n var name = util.getArg(mapping, 'name', null);\n if (name !== null) {\n name = this._names.at(name);\n }\n return {\n source: source,\n line: util.getArg(mapping, 'originalLine', null),\n column: util.getArg(mapping, 'originalColumn', null),\n name: name\n };\n }\n }\n\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n function BasicSourceMapConsumer_hasContentsOfAllSources() {\n if (!this.sourcesContent) {\n return false;\n }\n return this.sourcesContent.length >= this._sources.size() &&\n !this.sourcesContent.some(function (sc) { return sc == null; });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nBasicSourceMapConsumer.prototype.sourceContentFor =\n function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n if (!this.sourcesContent) {\n return null;\n }\n\n if (this.sourceRoot != null) {\n aSource = util.relative(this.sourceRoot, aSource);\n }\n\n if (this._sources.has(aSource)) {\n return this.sourcesContent[this._sources.indexOf(aSource)];\n }\n\n var url;\n if (this.sourceRoot != null\n && (url = util.urlParse(this.sourceRoot))) {\n // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n // many users. We can help them out when they expect file:// URIs to\n // behave like it would if they were running a local HTTP server. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n if (url.scheme == \"file\"\n && this._sources.has(fileUriAbsPath)) {\n return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n }\n\n if ((!url.path || url.path == \"/\")\n && this._sources.has(\"/\" + aSource)) {\n return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n }\n }\n\n // This function is used recursively from\n // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n // don't want to throw if we can't find the source - we just want to\n // return null, so we provide a flag to exit gracefully.\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n * closest element that is smaller than or greater than the one we are\n * searching for, respectively, if the exact element cannot be found.\n * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nBasicSourceMapConsumer.prototype.generatedPositionFor =\n function SourceMapConsumer_generatedPositionFor(aArgs) {\n var source = util.getArg(aArgs, 'source');\n if (this.sourceRoot != null) {\n source = util.relative(this.sourceRoot, source);\n }\n if (!this._sources.has(source)) {\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n }\n source = this._sources.indexOf(source);\n\n var needle = {\n source: source,\n originalLine: util.getArg(aArgs, 'line'),\n originalColumn: util.getArg(aArgs, 'column')\n };\n\n var index = this._findMapping(\n needle,\n this._originalMappings,\n \"originalLine\",\n \"originalColumn\",\n util.compareByOriginalPositions,\n util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n );\n\n if (index >= 0) {\n var mapping = this._originalMappings[index];\n\n if (mapping.source === needle.source) {\n return {\n line: util.getArg(mapping, 'generatedLine', null),\n column: util.getArg(mapping, 'generatedColumn', null),\n lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n };\n }\n }\n\n return {\n line: null,\n column: null,\n lastColumn: null\n };\n };\n\nexports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n/**\n * An IndexedSourceMapConsumer instance represents a parsed source map which\n * we can query for information. It differs from BasicSourceMapConsumer in\n * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n * input.\n *\n * The only parameter is a raw source map (either as a JSON string, or already\n * parsed to an object). According to the spec for indexed source maps, they\n * have the following attributes:\n *\n * - version: Which version of the source map spec this map is following.\n * - file: Optional. The generated file this source map is associated with.\n * - sections: A list of section definitions.\n *\n * Each value under the \"sections\" field has two fields:\n * - offset: The offset into the original specified at which this section\n * begins to apply, defined as an object with a \"line\" and \"column\"\n * field.\n * - map: A source map definition. This source map could also be indexed,\n * but doesn't have to be.\n *\n * Instead of the \"map\" field, it's also possible to have a \"url\" field\n * specifying a URL to retrieve a source map from, but that's currently\n * unsupported.\n *\n * Here's an example source map, taken from the source map spec[0], but\n * modified to omit a section which uses the \"url\" field.\n *\n * {\n * version : 3,\n * file: \"app.js\",\n * sections: [{\n * offset: {line:100, column:10},\n * map: {\n * version : 3,\n * file: \"section.js\",\n * sources: [\"foo.js\", \"bar.js\"],\n * names: [\"src\", \"maps\", \"are\", \"fun\"],\n * mappings: \"AAAA,E;;ABCDE;\"\n * }\n * }],\n * }\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n */\nfunction IndexedSourceMapConsumer(aSourceMap) {\n var sourceMap = aSourceMap;\n if (typeof aSourceMap === 'string') {\n sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n }\n\n var version = util.getArg(sourceMap, 'version');\n var sections = util.getArg(sourceMap, 'sections');\n\n if (version != this._version) {\n throw new Error('Unsupported version: ' + version);\n }\n\n this._sources = new ArraySet();\n this._names = new ArraySet();\n\n var lastOffset = {\n line: -1,\n column: 0\n };\n this._sections = sections.map(function (s) {\n if (s.url) {\n // The url field will require support for asynchronicity.\n // See https://github.com/mozilla/source-map/issues/16\n throw new Error('Support for url field in sections not implemented.');\n }\n var offset = util.getArg(s, 'offset');\n var offsetLine = util.getArg(offset, 'line');\n var offsetColumn = util.getArg(offset, 'column');\n\n if (offsetLine < lastOffset.line ||\n (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n throw new Error('Section offsets must be ordered and non-overlapping.');\n }\n lastOffset = offset;\n\n return {\n generatedOffset: {\n // The offset fields are 0-based, but we use 1-based indices when\n // encoding/decoding from VLQ.\n generatedLine: offsetLine + 1,\n generatedColumn: offsetColumn + 1\n },\n consumer: new SourceMapConsumer(util.getArg(s, 'map'))\n }\n });\n}\n\nIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nIndexedSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n get: function () {\n var sources = [];\n for (var i = 0; i < this._sections.length; i++) {\n for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n sources.push(this._sections[i].consumer.sources[j]);\n }\n }\n return sources;\n }\n});\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n * - line: The line number in the generated source.\n * - column: The column number in the generated source.\n *\n * and an object is returned with the following properties:\n *\n * - source: The original source file, or null.\n * - line: The line number in the original source, or null.\n * - column: The column number in the original source, or null.\n * - name: The original identifier, or null.\n */\nIndexedSourceMapConsumer.prototype.originalPositionFor =\n function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n var needle = {\n generatedLine: util.getArg(aArgs, 'line'),\n generatedColumn: util.getArg(aArgs, 'column')\n };\n\n // Find the section containing the generated position we're trying to map\n // to an original position.\n var sectionIndex = binarySearch.search(needle, this._sections,\n function(needle, section) {\n var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n if (cmp) {\n return cmp;\n }\n\n return (needle.generatedColumn -\n section.generatedOffset.generatedColumn);\n });\n var section = this._sections[sectionIndex];\n\n if (!section) {\n return {\n source: null,\n line: null,\n column: null,\n name: null\n };\n }\n\n return section.consumer.originalPositionFor({\n line: needle.generatedLine -\n (section.generatedOffset.generatedLine - 1),\n column: needle.generatedColumn -\n (section.generatedOffset.generatedLine === needle.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n bias: aArgs.bias\n });\n };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n return this._sections.every(function (s) {\n return s.consumer.hasContentsOfAllSources();\n });\n };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nIndexedSourceMapConsumer.prototype.sourceContentFor =\n function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n var content = section.consumer.sourceContentFor(aSource, true);\n if (content) {\n return content;\n }\n }\n if (nullOnMissing) {\n return null;\n }\n else {\n throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n }\n };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n * - source: The filename of the original source.\n * - line: The line number in the original source.\n * - column: The column number in the original source.\n *\n * and an object is returned with the following properties:\n *\n * - line: The line number in the generated source, or null.\n * - column: The column number in the generated source, or null.\n */\nIndexedSourceMapConsumer.prototype.generatedPositionFor =\n function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n\n // Only consider this section if the requested source is in the list of\n // sources of the consumer.\n if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) {\n continue;\n }\n var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n if (generatedPosition) {\n var ret = {\n line: generatedPosition.line +\n (section.generatedOffset.generatedLine - 1),\n column: generatedPosition.column +\n (section.generatedOffset.generatedLine === generatedPosition.line\n ? section.generatedOffset.generatedColumn - 1\n : 0)\n };\n return ret;\n }\n }\n\n return {\n line: null,\n column: null\n };\n };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nIndexedSourceMapConsumer.prototype._parseMappings =\n function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n this.__generatedMappings = [];\n this.__originalMappings = [];\n for (var i = 0; i < this._sections.length; i++) {\n var section = this._sections[i];\n var sectionMappings = section.consumer._generatedMappings;\n for (var j = 0; j < sectionMappings.length; j++) {\n var mapping = sectionMappings[j];\n\n var source = section.consumer._sources.at(mapping.source);\n if (section.consumer.sourceRoot !== null) {\n source = util.join(section.consumer.sourceRoot, source);\n }\n this._sources.add(source);\n source = this._sources.indexOf(source);\n\n var name = section.consumer._names.at(mapping.name);\n this._names.add(name);\n name = this._names.indexOf(name);\n\n // The mappings coming from the consumer for the section have\n // generated positions relative to the start of the section, so we\n // need to offset them to be relative to the start of the concatenated\n // generated file.\n var adjustedMapping = {\n source: source,\n generatedLine: mapping.generatedLine +\n (section.generatedOffset.generatedLine - 1),\n generatedColumn: mapping.generatedColumn +\n (section.generatedOffset.generatedLine === mapping.generatedLine\n ? section.generatedOffset.generatedColumn - 1\n : 0),\n originalLine: mapping.originalLine,\n originalColumn: mapping.originalColumn,\n name: name\n };\n\n this.__generatedMappings.push(adjustedMapping);\n if (typeof adjustedMapping.originalLine === 'number') {\n this.__originalMappings.push(adjustedMapping);\n }\n }\n }\n\n quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n quickSort(this.__originalMappings, util.compareByOriginalPositions);\n };\n\nexports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-consumer.js?");
79-
80-/***/ }),
81-
82-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-generator.js":
83-/*!**********************************************************************************************!*\
84- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-generator.js ***!
85- \**********************************************************************************************/
86-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
87-
88-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar base64VLQ = __webpack_require__(/*! ./base64-vlq */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/base64-vlq.js\");\nvar util = __webpack_require__(/*! ./util */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js\");\nvar ArraySet = (__webpack_require__(/*! ./array-set */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/array-set.js\").ArraySet);\nvar MappingList = (__webpack_require__(/*! ./mapping-list */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/mapping-list.js\").MappingList);\n\n/**\n * An instance of the SourceMapGenerator represents a source map which is\n * being built incrementally. You may pass an object with the following\n * properties:\n *\n * - file: The filename of the generated source.\n * - sourceRoot: A root for all relative URLs in this source map.\n */\nfunction SourceMapGenerator(aArgs) {\n if (!aArgs) {\n aArgs = {};\n }\n this._file = util.getArg(aArgs, 'file', null);\n this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n this._skipValidation = util.getArg(aArgs, 'skipValidation', false);\n this._sources = new ArraySet();\n this._names = new ArraySet();\n this._mappings = new MappingList();\n this._sourcesContents = null;\n}\n\nSourceMapGenerator.prototype._version = 3;\n\n/**\n * Creates a new SourceMapGenerator based on a SourceMapConsumer\n *\n * @param aSourceMapConsumer The SourceMap.\n */\nSourceMapGenerator.fromSourceMap =\n function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n var sourceRoot = aSourceMapConsumer.sourceRoot;\n var generator = new SourceMapGenerator({\n file: aSourceMapConsumer.file,\n sourceRoot: sourceRoot\n });\n aSourceMapConsumer.eachMapping(function (mapping) {\n var newMapping = {\n generated: {\n line: mapping.generatedLine,\n column: mapping.generatedColumn\n }\n };\n\n if (mapping.source != null) {\n newMapping.source = mapping.source;\n if (sourceRoot != null) {\n newMapping.source = util.relative(sourceRoot, newMapping.source);\n }\n\n newMapping.original = {\n line: mapping.originalLine,\n column: mapping.originalColumn\n };\n\n if (mapping.name != null) {\n newMapping.name = mapping.name;\n }\n }\n\n generator.addMapping(newMapping);\n });\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n generator.setSourceContent(sourceFile, content);\n }\n });\n return generator;\n };\n\n/**\n * Add a single mapping from original source line and column to the generated\n * source's line and column for this source map being created. The mapping\n * object should have the following properties:\n *\n * - generated: An object with the generated line and column positions.\n * - original: An object with the original line and column positions.\n * - source: The original source file (relative to the sourceRoot).\n * - name: An optional original token name for this mapping.\n */\nSourceMapGenerator.prototype.addMapping =\n function SourceMapGenerator_addMapping(aArgs) {\n var generated = util.getArg(aArgs, 'generated');\n var original = util.getArg(aArgs, 'original', null);\n var source = util.getArg(aArgs, 'source', null);\n var name = util.getArg(aArgs, 'name', null);\n\n if (!this._skipValidation) {\n this._validateMapping(generated, original, source, name);\n }\n\n if (source != null) {\n source = String(source);\n if (!this._sources.has(source)) {\n this._sources.add(source);\n }\n }\n\n if (name != null) {\n name = String(name);\n if (!this._names.has(name)) {\n this._names.add(name);\n }\n }\n\n this._mappings.add({\n generatedLine: generated.line,\n generatedColumn: generated.column,\n originalLine: original != null && original.line,\n originalColumn: original != null && original.column,\n source: source,\n name: name\n });\n };\n\n/**\n * Set the source content for a source file.\n */\nSourceMapGenerator.prototype.setSourceContent =\n function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n var source = aSourceFile;\n if (this._sourceRoot != null) {\n source = util.relative(this._sourceRoot, source);\n }\n\n if (aSourceContent != null) {\n // Add the source content to the _sourcesContents map.\n // Create a new _sourcesContents map if the property is null.\n if (!this._sourcesContents) {\n this._sourcesContents = Object.create(null);\n }\n this._sourcesContents[util.toSetString(source)] = aSourceContent;\n } else if (this._sourcesContents) {\n // Remove the source file from the _sourcesContents map.\n // If the _sourcesContents map is empty, set the property to null.\n delete this._sourcesContents[util.toSetString(source)];\n if (Object.keys(this._sourcesContents).length === 0) {\n this._sourcesContents = null;\n }\n }\n };\n\n/**\n * Applies the mappings of a sub-source-map for a specific source file to the\n * source map being generated. Each mapping to the supplied source file is\n * rewritten using the supplied source map. Note: The resolution for the\n * resulting mappings is the minimium of this map and the supplied map.\n *\n * @param aSourceMapConsumer The source map to be applied.\n * @param aSourceFile Optional. The filename of the source file.\n * If omitted, SourceMapConsumer's file property will be used.\n * @param aSourceMapPath Optional. The dirname of the path to the source map\n * to be applied. If relative, it is relative to the SourceMapConsumer.\n * This parameter is needed when the two source maps aren't in the same\n * directory, and the source map to be applied contains relative source\n * paths. If so, those relative source paths need to be rewritten\n * relative to the SourceMapGenerator.\n */\nSourceMapGenerator.prototype.applySourceMap =\n function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {\n var sourceFile = aSourceFile;\n // If aSourceFile is omitted, we will use the file property of the SourceMap\n if (aSourceFile == null) {\n if (aSourceMapConsumer.file == null) {\n throw new Error(\n 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +\n 'or the source map\\'s \"file\" property. Both were omitted.'\n );\n }\n sourceFile = aSourceMapConsumer.file;\n }\n var sourceRoot = this._sourceRoot;\n // Make \"sourceFile\" relative if an absolute Url is passed.\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n // Applying the SourceMap can add and remove items from the sources and\n // the names array.\n var newSources = new ArraySet();\n var newNames = new ArraySet();\n\n // Find mappings for the \"sourceFile\"\n this._mappings.unsortedForEach(function (mapping) {\n if (mapping.source === sourceFile && mapping.originalLine != null) {\n // Check if it can be mapped by the source map, then update the mapping.\n var original = aSourceMapConsumer.originalPositionFor({\n line: mapping.originalLine,\n column: mapping.originalColumn\n });\n if (original.source != null) {\n // Copy mapping\n mapping.source = original.source;\n if (aSourceMapPath != null) {\n mapping.source = util.join(aSourceMapPath, mapping.source)\n }\n if (sourceRoot != null) {\n mapping.source = util.relative(sourceRoot, mapping.source);\n }\n mapping.originalLine = original.line;\n mapping.originalColumn = original.column;\n if (original.name != null) {\n mapping.name = original.name;\n }\n }\n }\n\n var source = mapping.source;\n if (source != null && !newSources.has(source)) {\n newSources.add(source);\n }\n\n var name = mapping.name;\n if (name != null && !newNames.has(name)) {\n newNames.add(name);\n }\n\n }, this);\n this._sources = newSources;\n this._names = newNames;\n\n // Copy sourcesContents of applied map.\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aSourceMapPath != null) {\n sourceFile = util.join(aSourceMapPath, sourceFile);\n }\n if (sourceRoot != null) {\n sourceFile = util.relative(sourceRoot, sourceFile);\n }\n this.setSourceContent(sourceFile, content);\n }\n }, this);\n };\n\n/**\n * A mapping can have one of the three levels of data:\n *\n * 1. Just the generated position.\n * 2. The Generated position, original position, and original source.\n * 3. Generated and original position, original source, as well as a name\n * token.\n *\n * To maintain consistency, we validate that any new mapping being added falls\n * in to one of these categories.\n */\nSourceMapGenerator.prototype._validateMapping =\n function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n aName) {\n // When aOriginal is truthy but has empty values for .line and .column,\n // it is most likely a programmer error. In this case we throw a very\n // specific error message to try to guide them the right way.\n // For example: https://github.com/Polymer/polymer-bundler/pull/519\n if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {\n throw new Error(\n 'original.line and original.column are not numbers -- you probably meant to omit ' +\n 'the original mapping entirely and only map the generated position. If so, pass ' +\n 'null for the original mapping instead of an object with empty or null values.'\n );\n }\n\n if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aGenerated.line > 0 && aGenerated.column >= 0\n && !aOriginal && !aSource && !aName) {\n // Case 1.\n return;\n }\n else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n && aGenerated.line > 0 && aGenerated.column >= 0\n && aOriginal.line > 0 && aOriginal.column >= 0\n && aSource) {\n // Cases 2 and 3.\n return;\n }\n else {\n throw new Error('Invalid mapping: ' + JSON.stringify({\n generated: aGenerated,\n source: aSource,\n original: aOriginal,\n name: aName\n }));\n }\n };\n\n/**\n * Serialize the accumulated mappings in to the stream of base 64 VLQs\n * specified by the source map format.\n */\nSourceMapGenerator.prototype._serializeMappings =\n function SourceMapGenerator_serializeMappings() {\n var previousGeneratedColumn = 0;\n var previousGeneratedLine = 1;\n var previousOriginalColumn = 0;\n var previousOriginalLine = 0;\n var previousName = 0;\n var previousSource = 0;\n var result = '';\n var next;\n var mapping;\n var nameIdx;\n var sourceIdx;\n\n var mappings = this._mappings.toArray();\n for (var i = 0, len = mappings.length; i < len; i++) {\n mapping = mappings[i];\n next = ''\n\n if (mapping.generatedLine !== previousGeneratedLine) {\n previousGeneratedColumn = 0;\n while (mapping.generatedLine !== previousGeneratedLine) {\n next += ';';\n previousGeneratedLine++;\n }\n }\n else {\n if (i > 0) {\n if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n continue;\n }\n next += ',';\n }\n }\n\n next += base64VLQ.encode(mapping.generatedColumn\n - previousGeneratedColumn);\n previousGeneratedColumn = mapping.generatedColumn;\n\n if (mapping.source != null) {\n sourceIdx = this._sources.indexOf(mapping.source);\n next += base64VLQ.encode(sourceIdx - previousSource);\n previousSource = sourceIdx;\n\n // lines are stored 0-based in SourceMap spec version 3\n next += base64VLQ.encode(mapping.originalLine - 1\n - previousOriginalLine);\n previousOriginalLine = mapping.originalLine - 1;\n\n next += base64VLQ.encode(mapping.originalColumn\n - previousOriginalColumn);\n previousOriginalColumn = mapping.originalColumn;\n\n if (mapping.name != null) {\n nameIdx = this._names.indexOf(mapping.name);\n next += base64VLQ.encode(nameIdx - previousName);\n previousName = nameIdx;\n }\n }\n\n result += next;\n }\n\n return result;\n };\n\nSourceMapGenerator.prototype._generateSourcesContent =\n function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n return aSources.map(function (source) {\n if (!this._sourcesContents) {\n return null;\n }\n if (aSourceRoot != null) {\n source = util.relative(aSourceRoot, source);\n }\n var key = util.toSetString(source);\n return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n ? this._sourcesContents[key]\n : null;\n }, this);\n };\n\n/**\n * Externalize the source map.\n */\nSourceMapGenerator.prototype.toJSON =\n function SourceMapGenerator_toJSON() {\n var map = {\n version: this._version,\n sources: this._sources.toArray(),\n names: this._names.toArray(),\n mappings: this._serializeMappings()\n };\n if (this._file != null) {\n map.file = this._file;\n }\n if (this._sourceRoot != null) {\n map.sourceRoot = this._sourceRoot;\n }\n if (this._sourcesContents) {\n map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n }\n\n return map;\n };\n\n/**\n * Render the source map being generated to a string.\n */\nSourceMapGenerator.prototype.toString =\n function SourceMapGenerator_toString() {\n return JSON.stringify(this.toJSON());\n };\n\nexports.SourceMapGenerator = SourceMapGenerator;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-generator.js?");
89-
90-/***/ }),
91-
92-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/source-node.js":
93-/*!*************************************************************************************!*\
94- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/source-node.js ***!
95- \*************************************************************************************/
96-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
97-
98-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar SourceMapGenerator = (__webpack_require__(/*! ./source-map-generator */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-generator.js\").SourceMapGenerator);\nvar util = __webpack_require__(/*! ./util */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js\");\n\n// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n// operating systems these days (capturing the result).\nvar REGEX_NEWLINE = /(\\r?\\n)/;\n\n// Newline character code for charCodeAt() comparisons\nvar NEWLINE_CODE = 10;\n\n// Private symbol for identifying `SourceNode`s when multiple versions of\n// the source-map library are loaded. This MUST NOT CHANGE across\n// versions!\nvar isSourceNode = \"$$$isSourceNode$$$\";\n\n/**\n * SourceNodes provide a way to abstract over interpolating/concatenating\n * snippets of generated JavaScript source code while maintaining the line and\n * column information associated with the original source code.\n *\n * @param aLine The original line number.\n * @param aColumn The original column number.\n * @param aSource The original source's filename.\n * @param aChunks Optional. An array of strings which are snippets of\n * generated JS, or other SourceNodes.\n * @param aName The original identifier.\n */\nfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n this.children = [];\n this.sourceContents = {};\n this.line = aLine == null ? null : aLine;\n this.column = aColumn == null ? null : aColumn;\n this.source = aSource == null ? null : aSource;\n this.name = aName == null ? null : aName;\n this[isSourceNode] = true;\n if (aChunks != null) this.add(aChunks);\n}\n\n/**\n * Creates a SourceNode from generated code and a SourceMapConsumer.\n *\n * @param aGeneratedCode The generated code\n * @param aSourceMapConsumer The SourceMap for the generated code\n * @param aRelativePath Optional. The path that relative sources in the\n * SourceMapConsumer should be relative to.\n */\nSourceNode.fromStringWithSourceMap =\n function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n // The SourceNode we want to fill with the generated code\n // and the SourceMap\n var node = new SourceNode();\n\n // All even indices of this array are one line of the generated code,\n // while all odd indices are the newlines between two adjacent lines\n // (since `REGEX_NEWLINE` captures its match).\n // Processed fragments are accessed by calling `shiftNextLine`.\n var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n var remainingLinesIndex = 0;\n var shiftNextLine = function() {\n var lineContents = getNextLine();\n // The last line of a file might not have a newline.\n var newLine = getNextLine() || \"\";\n return lineContents + newLine;\n\n function getNextLine() {\n return remainingLinesIndex < remainingLines.length ?\n remainingLines[remainingLinesIndex++] : undefined;\n }\n };\n\n // We need to remember the position of \"remainingLines\"\n var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n // The generate SourceNodes we need a code range.\n // To extract it current and last mapping is used.\n // Here we store the last mapping.\n var lastMapping = null;\n\n aSourceMapConsumer.eachMapping(function (mapping) {\n if (lastMapping !== null) {\n // We add the code from \"lastMapping\" to \"mapping\":\n // First check if there is a new line in between.\n if (lastGeneratedLine < mapping.generatedLine) {\n // Associate first line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n lastGeneratedLine++;\n lastGeneratedColumn = 0;\n // The remaining code is added without mapping\n } else {\n // There is no new line in between.\n // Associate the code between \"lastGeneratedColumn\" and\n // \"mapping.generatedColumn\" with \"lastMapping\"\n var nextLine = remainingLines[remainingLinesIndex];\n var code = nextLine.substr(0, mapping.generatedColumn -\n lastGeneratedColumn);\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n lastGeneratedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n addMappingWithCode(lastMapping, code);\n // No more remaining code, continue\n lastMapping = mapping;\n return;\n }\n }\n // We add the generated code until the first mapping\n // to the SourceNode without any mapping.\n // Each line is added as separate string.\n while (lastGeneratedLine < mapping.generatedLine) {\n node.add(shiftNextLine());\n lastGeneratedLine++;\n }\n if (lastGeneratedColumn < mapping.generatedColumn) {\n var nextLine = remainingLines[remainingLinesIndex];\n node.add(nextLine.substr(0, mapping.generatedColumn));\n remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n lastGeneratedColumn = mapping.generatedColumn;\n }\n lastMapping = mapping;\n }, this);\n // We have processed all mappings.\n if (remainingLinesIndex < remainingLines.length) {\n if (lastMapping) {\n // Associate the remaining code in the current line with \"lastMapping\"\n addMappingWithCode(lastMapping, shiftNextLine());\n }\n // and add the remaining lines without any mapping\n node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n }\n\n // Copy sourcesContent into SourceNode\n aSourceMapConsumer.sources.forEach(function (sourceFile) {\n var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n if (content != null) {\n if (aRelativePath != null) {\n sourceFile = util.join(aRelativePath, sourceFile);\n }\n node.setSourceContent(sourceFile, content);\n }\n });\n\n return node;\n\n function addMappingWithCode(mapping, code) {\n if (mapping === null || mapping.source === undefined) {\n node.add(code);\n } else {\n var source = aRelativePath\n ? util.join(aRelativePath, mapping.source)\n : mapping.source;\n node.add(new SourceNode(mapping.originalLine,\n mapping.originalColumn,\n source,\n code,\n mapping.name));\n }\n }\n };\n\n/**\n * Add a chunk of generated JS to this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.add = function SourceNode_add(aChunk) {\n if (Array.isArray(aChunk)) {\n aChunk.forEach(function (chunk) {\n this.add(chunk);\n }, this);\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n if (aChunk) {\n this.children.push(aChunk);\n }\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Add a chunk of generated JS to the beginning of this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n * SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n if (Array.isArray(aChunk)) {\n for (var i = aChunk.length-1; i >= 0; i--) {\n this.prepend(aChunk[i]);\n }\n }\n else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n this.children.unshift(aChunk);\n }\n else {\n throw new TypeError(\n \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n );\n }\n return this;\n};\n\n/**\n * Walk over the tree of JS snippets in this node and its children. The\n * walking function is called once for each snippet of JS and is passed that\n * snippet and the its original associated source's line/column location.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n var chunk;\n for (var i = 0, len = this.children.length; i < len; i++) {\n chunk = this.children[i];\n if (chunk[isSourceNode]) {\n chunk.walk(aFn);\n }\n else {\n if (chunk !== '') {\n aFn(chunk, { source: this.source,\n line: this.line,\n column: this.column,\n name: this.name });\n }\n }\n }\n};\n\n/**\n * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n * each of `this.children`.\n *\n * @param aSep The separator.\n */\nSourceNode.prototype.join = function SourceNode_join(aSep) {\n var newChildren;\n var i;\n var len = this.children.length;\n if (len > 0) {\n newChildren = [];\n for (i = 0; i < len-1; i++) {\n newChildren.push(this.children[i]);\n newChildren.push(aSep);\n }\n newChildren.push(this.children[i]);\n this.children = newChildren;\n }\n return this;\n};\n\n/**\n * Call String.prototype.replace on the very right-most source snippet. Useful\n * for trimming whitespace from the end of a source node, etc.\n *\n * @param aPattern The pattern to replace.\n * @param aReplacement The thing to replace the pattern with.\n */\nSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n var lastChild = this.children[this.children.length - 1];\n if (lastChild[isSourceNode]) {\n lastChild.replaceRight(aPattern, aReplacement);\n }\n else if (typeof lastChild === 'string') {\n this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n }\n else {\n this.children.push(''.replace(aPattern, aReplacement));\n }\n return this;\n};\n\n/**\n * Set the source content for a source file. This will be added to the SourceMapGenerator\n * in the sourcesContent field.\n *\n * @param aSourceFile The filename of the source file\n * @param aSourceContent The content of the source file\n */\nSourceNode.prototype.setSourceContent =\n function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n };\n\n/**\n * Walk over the tree of SourceNodes. The walking function is called for each\n * source file content and is passed the filename and source content.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walkSourceContents =\n function SourceNode_walkSourceContents(aFn) {\n for (var i = 0, len = this.children.length; i < len; i++) {\n if (this.children[i][isSourceNode]) {\n this.children[i].walkSourceContents(aFn);\n }\n }\n\n var sources = Object.keys(this.sourceContents);\n for (var i = 0, len = sources.length; i < len; i++) {\n aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n }\n };\n\n/**\n * Return the string representation of this source node. Walks over the tree\n * and concatenates all the various snippets together to one string.\n */\nSourceNode.prototype.toString = function SourceNode_toString() {\n var str = \"\";\n this.walk(function (chunk) {\n str += chunk;\n });\n return str;\n};\n\n/**\n * Returns the string representation of this source node along with a source\n * map.\n */\nSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n var generated = {\n code: \"\",\n line: 1,\n column: 0\n };\n var map = new SourceMapGenerator(aArgs);\n var sourceMappingActive = false;\n var lastOriginalSource = null;\n var lastOriginalLine = null;\n var lastOriginalColumn = null;\n var lastOriginalName = null;\n this.walk(function (chunk, original) {\n generated.code += chunk;\n if (original.source !== null\n && original.line !== null\n && original.column !== null) {\n if(lastOriginalSource !== original.source\n || lastOriginalLine !== original.line\n || lastOriginalColumn !== original.column\n || lastOriginalName !== original.name) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n lastOriginalSource = original.source;\n lastOriginalLine = original.line;\n lastOriginalColumn = original.column;\n lastOriginalName = original.name;\n sourceMappingActive = true;\n } else if (sourceMappingActive) {\n map.addMapping({\n generated: {\n line: generated.line,\n column: generated.column\n }\n });\n lastOriginalSource = null;\n sourceMappingActive = false;\n }\n for (var idx = 0, length = chunk.length; idx < length; idx++) {\n if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n generated.line++;\n generated.column = 0;\n // Mappings end at eol\n if (idx + 1 === length) {\n lastOriginalSource = null;\n sourceMappingActive = false;\n } else if (sourceMappingActive) {\n map.addMapping({\n source: original.source,\n original: {\n line: original.line,\n column: original.column\n },\n generated: {\n line: generated.line,\n column: generated.column\n },\n name: original.name\n });\n }\n } else {\n generated.column++;\n }\n }\n });\n this.walkSourceContents(function (sourceFile, sourceContent) {\n map.setSourceContent(sourceFile, sourceContent);\n });\n\n return { code: generated.code, map: map };\n};\n\nexports.SourceNode = SourceNode;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/source-node.js?");
99-
100-/***/ }),
101-
102-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js":
103-/*!******************************************************************************!*\
104- !*** ../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js ***!
105- \******************************************************************************/
106-/***/ ((__unused_webpack_module, exports) => {
107-
108-eval("/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n if (aName in aArgs) {\n return aArgs[aName];\n } else if (arguments.length === 3) {\n return aDefaultValue;\n } else {\n throw new Error('\"' + aName + '\" is a required argument.');\n }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.]*)(?::(\\d+))?(\\S*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n var match = aUrl.match(urlRegexp);\n if (!match) {\n return null;\n }\n return {\n scheme: match[1],\n auth: match[2],\n host: match[3],\n port: match[4],\n path: match[5]\n };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n var url = '';\n if (aParsedUrl.scheme) {\n url += aParsedUrl.scheme + ':';\n }\n url += '//';\n if (aParsedUrl.auth) {\n url += aParsedUrl.auth + '@';\n }\n if (aParsedUrl.host) {\n url += aParsedUrl.host;\n }\n if (aParsedUrl.port) {\n url += \":\" + aParsedUrl.port\n }\n if (aParsedUrl.path) {\n url += aParsedUrl.path;\n }\n return url;\n}\nexports.urlGenerate = urlGenerate;\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '<dir>/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nfunction normalize(aPath) {\n var path = aPath;\n var url = urlParse(aPath);\n if (url) {\n if (!url.path) {\n return aPath;\n }\n path = url.path;\n }\n var isAbsolute = exports.isAbsolute(path);\n\n var parts = path.split(/\\/+/);\n for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n part = parts[i];\n if (part === '.') {\n parts.splice(i, 1);\n } else if (part === '..') {\n up++;\n } else if (up > 0) {\n if (part === '') {\n // The first part is blank if the path is absolute. Trying to go\n // above the root is a no-op. Therefore we can remove all '..' parts\n // directly after the root.\n parts.splice(i + 1, up);\n up = 0;\n } else {\n parts.splice(i, 2);\n up--;\n }\n }\n }\n path = parts.join('/');\n\n if (path === '') {\n path = isAbsolute ? '/' : '.';\n }\n\n if (url) {\n url.path = path;\n return urlGenerate(url);\n }\n return path;\n}\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n * scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n * first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n * is updated with the result and aRoot is returned. Otherwise the result\n * is returned.\n * - If aPath is absolute, the result is aPath.\n * - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n if (aPath === \"\") {\n aPath = \".\";\n }\n var aPathUrl = urlParse(aPath);\n var aRootUrl = urlParse(aRoot);\n if (aRootUrl) {\n aRoot = aRootUrl.path || '/';\n }\n\n // `join(foo, '//www.example.org')`\n if (aPathUrl && !aPathUrl.scheme) {\n if (aRootUrl) {\n aPathUrl.scheme = aRootUrl.scheme;\n }\n return urlGenerate(aPathUrl);\n }\n\n if (aPathUrl || aPath.match(dataUrlRegexp)) {\n return aPath;\n }\n\n // `join('http://', 'www.example.com')`\n if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n aRootUrl.host = aPath;\n return urlGenerate(aRootUrl);\n }\n\n var joined = aPath.charAt(0) === '/'\n ? aPath\n : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n if (aRootUrl) {\n aRootUrl.path = joined;\n return urlGenerate(aRootUrl);\n }\n return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n if (aRoot === \"\") {\n aRoot = \".\";\n }\n\n aRoot = aRoot.replace(/\\/$/, '');\n\n // It is possible for the path to be above the root. In this case, simply\n // checking whether the root is a prefix of the path won't work. Instead, we\n // need to remove components from the root one by one, until either we find\n // a prefix that fits, or we run out of components to remove.\n var level = 0;\n while (aPath.indexOf(aRoot + '/') !== 0) {\n var index = aRoot.lastIndexOf(\"/\");\n if (index < 0) {\n return aPath;\n }\n\n // If the only part of the root that is left is the scheme (i.e. http://,\n // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n // have exhausted all components, so the path is not relative to the root.\n aRoot = aRoot.slice(0, index);\n if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n return aPath;\n }\n\n ++level;\n }\n\n // Make sure we add a \"../\" for each component we removed from the root.\n return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n var obj = Object.create(null);\n return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n if (isProtoString(aStr)) {\n return '$' + aStr;\n }\n\n return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n if (isProtoString(aStr)) {\n return aStr.slice(1);\n }\n\n return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n if (!s) {\n return false;\n }\n\n var length = s.length;\n\n if (length < 9 /* \"__proto__\".length */) {\n return false;\n }\n\n if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||\n s.charCodeAt(length - 2) !== 95 /* '_' */ ||\n s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n s.charCodeAt(length - 8) !== 95 /* '_' */ ||\n s.charCodeAt(length - 9) !== 95 /* '_' */) {\n return false;\n }\n\n for (var i = length - 10; i >= 0; i--) {\n if (s.charCodeAt(i) !== 36 /* '$' */) {\n return false;\n }\n }\n\n return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n var cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0 || onlyCompareOriginal) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0 || onlyCompareGenerated) {\n return cmp;\n }\n\n cmp = mappingA.source - mappingB.source;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return mappingA.name - mappingB.name;\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction strcmp(aStr1, aStr2) {\n if (aStr1 === aStr2) {\n return 0;\n }\n\n if (aStr1 > aStr2) {\n return 1;\n }\n\n return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n var cmp = mappingA.generatedLine - mappingB.generatedLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = strcmp(mappingA.source, mappingB.source);\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalLine - mappingB.originalLine;\n if (cmp !== 0) {\n return cmp;\n }\n\n cmp = mappingA.originalColumn - mappingB.originalColumn;\n if (cmp !== 0) {\n return cmp;\n }\n\n return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/lib/util.js?");
109-
110-/***/ }),
111-
112-/***/ "../../../../node_modules/uglify-js/node_modules/source-map/source-map.js":
113-/*!********************************************************************************!*\
114- !*** ../../../../node_modules/uglify-js/node_modules/source-map/source-map.js ***!
115- \********************************************************************************/
116-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
117-
118-eval("/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = __webpack_require__(/*! ./lib/source-map-generator */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-generator.js\").SourceMapGenerator;\nexports.SourceMapConsumer = __webpack_require__(/*! ./lib/source-map-consumer */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/source-map-consumer.js\").SourceMapConsumer;\nexports.SourceNode = __webpack_require__(/*! ./lib/source-node */ \"../../../../node_modules/uglify-js/node_modules/source-map/lib/source-node.js\").SourceNode;\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/node_modules/source-map/source-map.js?");
119-
120-/***/ }),
121-
122-/***/ "../../../../node_modules/uglify-js/tools/node.js":
123-/*!********************************************************!*\
124- !*** ../../../../node_modules/uglify-js/tools/node.js ***!
125- \********************************************************/
126-/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
127-
128-eval("// workaround for tty output truncation upon process.exit()\n[process.stdout, process.stderr].forEach(function(stream){\n if (stream._handle && stream._handle.setBlocking)\n stream._handle.setBlocking(true);\n});\n\nvar path = __webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'path'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));\nvar fs = __webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'fs'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()));\n\nvar UglifyJS = exports;\nvar FILES = UglifyJS.FILES = [\n \"../lib/utils.js\",\n \"../lib/ast.js\",\n \"../lib/parse.js\",\n \"../lib/transform.js\",\n \"../lib/scope.js\",\n \"../lib/output.js\",\n \"../lib/compress.js\",\n \"../lib/sourcemap.js\",\n \"../lib/mozilla-ast.js\",\n \"../lib/propmangle.js\",\n \"./exports.js\",\n].map(function(file){\n return /*require.resolve*/(__webpack_require__(\"../../../../node_modules/uglify-js/tools sync recursive\").resolve(file));\n});\n\nnew Function(\"MOZ_SourceMap\", \"exports\", FILES.map(function(file){\n return fs.readFileSync(file, \"utf8\");\n}).join(\"\\n\\n\"))(\n __webpack_require__(/*! source-map */ \"../../../../node_modules/uglify-js/node_modules/source-map/source-map.js\"),\n UglifyJS\n);\n\nUglifyJS.AST_Node.warn_function = function(txt) {\n console.error(\"WARN: %s\", txt);\n};\n\nfunction read_source_map(code) {\n var match = /\\n\\/\\/# sourceMappingURL=data:application\\/json(;.*?)?;base64,(.*)/.exec(code);\n if (!match) {\n UglifyJS.AST_Node.warn(\"inline source map not found\");\n return null;\n }\n return JSON.parse(new Buffer(match[2], \"base64\"));\n}\n\nUglifyJS.minify = function(files, options) {\n options = UglifyJS.defaults(options, {\n compress : {},\n fromString : false,\n inSourceMap : null,\n mangle : {},\n mangleProperties : false,\n nameCache : null,\n outFileName : null,\n output : null,\n outSourceMap : null,\n parse : {},\n sourceMapInline : false,\n sourceMapUrl : null,\n sourceRoot : null,\n spidermonkey : false,\n warnings : false,\n });\n UglifyJS.base54.reset();\n\n var inMap = options.inSourceMap;\n if (typeof inMap == \"string\" && inMap != \"inline\") {\n inMap = JSON.parse(fs.readFileSync(inMap, \"utf8\"));\n }\n\n // 1. parse\n var toplevel = null,\n sourcesContent = {};\n\n if (options.spidermonkey) {\n if (inMap == \"inline\") {\n throw new Error(\"inline source map only works with built-in parser\");\n }\n toplevel = UglifyJS.AST_Node.from_mozilla_ast(files);\n } else {\n function addFile(file, fileUrl) {\n var code = options.fromString\n ? file\n : fs.readFileSync(file, \"utf8\");\n if (inMap == \"inline\") {\n inMap = read_source_map(code);\n }\n sourcesContent[fileUrl] = code;\n toplevel = UglifyJS.parse(code, {\n filename: fileUrl,\n toplevel: toplevel,\n bare_returns: options.parse ? options.parse.bare_returns : undefined\n });\n }\n if (!options.fromString) {\n files = UglifyJS.simple_glob(files);\n if (inMap == \"inline\" && files.length > 1) {\n throw new Error(\"inline source map only works with singular input\");\n }\n }\n [].concat(files).forEach(function (files, i) {\n if (typeof files === 'string') {\n addFile(files, options.fromString ? i : files);\n } else {\n for (var fileUrl in files) {\n addFile(files[fileUrl], fileUrl);\n }\n }\n });\n }\n if (options.wrap) {\n toplevel = toplevel.wrap_commonjs(options.wrap, options.exportAll);\n }\n\n // 2. compress\n if (options.compress) {\n var compress = { warnings: options.warnings };\n UglifyJS.merge(compress, options.compress);\n toplevel.figure_out_scope(options.mangle);\n var sq = UglifyJS.Compressor(compress);\n toplevel = sq.compress(toplevel);\n }\n\n // 3. mangle properties\n if (options.mangleProperties || options.nameCache) {\n options.mangleProperties.cache = UglifyJS.readNameCache(options.nameCache, \"props\");\n toplevel = UglifyJS.mangle_properties(toplevel, options.mangleProperties);\n UglifyJS.writeNameCache(options.nameCache, \"props\", options.mangleProperties.cache);\n }\n\n // 4. mangle\n if (options.mangle) {\n toplevel.figure_out_scope(options.mangle);\n toplevel.compute_char_frequency(options.mangle);\n toplevel.mangle_names(options.mangle);\n }\n\n // 5. output\n var output = { max_line_len: 32000 };\n if (options.outSourceMap || options.sourceMapInline) {\n output.source_map = UglifyJS.SourceMap({\n // prefer outFileName, otherwise use outSourceMap without .map suffix\n file: options.outFileName || (typeof options.outSourceMap === 'string' ? options.outSourceMap.replace(/\\.map$/i, '') : null),\n orig: inMap,\n root: options.sourceRoot\n });\n if (options.sourceMapIncludeSources) {\n for (var file in sourcesContent) {\n if (sourcesContent.hasOwnProperty(file)) {\n output.source_map.get().setSourceContent(file, sourcesContent[file]);\n }\n }\n }\n\n }\n if (options.output) {\n UglifyJS.merge(output, options.output);\n }\n var stream = UglifyJS.OutputStream(output);\n toplevel.print(stream);\n\n\n var source_map = output.source_map;\n if (source_map) {\n source_map = source_map + \"\";\n }\n\n var mappingUrlPrefix = \"\\n//# sourceMappingURL=\";\n if (options.sourceMapInline) {\n stream += mappingUrlPrefix + \"data:application/json;charset=utf-8;base64,\" + new Buffer(source_map).toString(\"base64\");\n } else if (options.outSourceMap && typeof options.outSourceMap === \"string\" && options.sourceMapUrl !== false) {\n stream += mappingUrlPrefix + (typeof options.sourceMapUrl === \"string\" ? options.sourceMapUrl : options.outSourceMap);\n }\n\n return {\n code : stream + \"\",\n map : source_map\n };\n};\n\n// UglifyJS.describe_ast = function() {\n// function doitem(ctor) {\n// var sub = {};\n// ctor.SUBCLASSES.forEach(function(ctor){\n// sub[ctor.TYPE] = doitem(ctor);\n// });\n// var ret = {};\n// if (ctor.SELF_PROPS.length > 0) ret.props = ctor.SELF_PROPS;\n// if (ctor.SUBCLASSES.length > 0) ret.sub = sub;\n// return ret;\n// }\n// return doitem(UglifyJS.AST_Node).sub;\n// }\n\nUglifyJS.describe_ast = function() {\n var out = UglifyJS.OutputStream({ beautify: true });\n function doitem(ctor) {\n out.print(\"AST_\" + ctor.TYPE);\n var props = ctor.SELF_PROPS.filter(function(prop){\n return !/^\\$/.test(prop);\n });\n if (props.length > 0) {\n out.space();\n out.with_parens(function(){\n props.forEach(function(prop, i){\n if (i) out.space();\n out.print(prop);\n });\n });\n }\n if (ctor.documentation) {\n out.space();\n out.print_string(ctor.documentation);\n }\n if (ctor.SUBCLASSES.length > 0) {\n out.space();\n out.with_block(function(){\n ctor.SUBCLASSES.forEach(function(ctor, i){\n out.indent();\n doitem(ctor);\n out.newline();\n });\n });\n }\n };\n doitem(UglifyJS.AST_Node);\n return out + \"\";\n};\n\nfunction readReservedFile(filename, reserved) {\n if (!reserved) {\n reserved = { vars: [], props: [] };\n }\n var data = fs.readFileSync(filename, \"utf8\");\n data = JSON.parse(data);\n if (data.vars) {\n data.vars.forEach(function(name){\n UglifyJS.push_uniq(reserved.vars, name);\n });\n }\n if (data.props) {\n data.props.forEach(function(name){\n UglifyJS.push_uniq(reserved.props, name);\n });\n }\n return reserved;\n}\n\nUglifyJS.readReservedFile = readReservedFile;\n\nUglifyJS.readDefaultReservedFile = function(reserved) {\n return readReservedFile(/*require.resolve*/(/*! ./domprops.json */ \"../../../../node_modules/uglify-js/tools/domprops.json\"), reserved);\n};\n\nUglifyJS.readNameCache = function(filename, key) {\n var cache = null;\n if (filename) {\n try {\n var cache = fs.readFileSync(filename, \"utf8\");\n cache = JSON.parse(cache)[key];\n if (!cache) throw \"init\";\n cache.props = UglifyJS.Dictionary.fromObject(cache.props);\n } catch(ex) {\n cache = {\n cname: -1,\n props: new UglifyJS.Dictionary()\n };\n }\n }\n return cache;\n};\n\nUglifyJS.writeNameCache = function(filename, key, cache) {\n if (filename) {\n var data;\n try {\n data = fs.readFileSync(filename, \"utf8\");\n data = JSON.parse(data);\n } catch(ex) {\n data = {};\n }\n data[key] = {\n cname: cache.cname,\n props: cache.props.toObject()\n };\n fs.writeFileSync(filename, JSON.stringify(data, null, 2), \"utf8\");\n }\n};\n\n// A file glob function that only supports \"*\" and \"?\" wildcards in the basename.\n// Example: \"foo/bar/*baz??.*.js\"\n// Argument `glob` may be a string or an array of strings.\n// Returns an array of strings. Garbage in, garbage out.\nUglifyJS.simple_glob = function simple_glob(glob) {\n if (Array.isArray(glob)) {\n return [].concat.apply([], glob.map(simple_glob));\n }\n if (glob.match(/\\*|\\?/)) {\n var dir = path.dirname(glob);\n try {\n var entries = fs.readdirSync(dir);\n } catch (ex) {}\n if (entries) {\n var pattern = \"^\" + path.basename(glob)\n .replace(/[.+^$[\\]\\\\(){}]/g, \"\\\\$&\")\n .replace(/\\*/g, \"[^/\\\\\\\\]*\")\n .replace(/\\?/g, \"[^/\\\\\\\\]\") + \"$\";\n var mod = process.platform === \"win32\" ? \"i\" : \"\";\n var rx = new RegExp(pattern, mod);\n var results = entries.filter(function(name) {\n return rx.test(name);\n }).map(function(name) {\n return path.join(dir, name);\n });\n if (results.length) return results;\n }\n }\n return [ glob ];\n};\n\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/tools/node.js?");
129-
130-/***/ }),
131-
132-/***/ "../../../../node_modules/uglify-js/tools sync recursive":
133-/*!******************************************************!*\
134- !*** ../../../../node_modules/uglify-js/tools/ sync ***!
135- \******************************************************/
136-/***/ ((module) => {
137-
138-eval("function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = \"../../../../node_modules/uglify-js/tools sync recursive\";\nmodule.exports = webpackEmptyContext;\n\n//# sourceURL=webpack://my-webpack-project/../../../../node_modules/uglify-js/tools/_sync?");
139-
140-/***/ }),
141-
14212 /***/ "../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":
14313 /*!***********************************************************************!*\
14414 !*** ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js ***!
14515 \***********************************************************************/
14616 /***/ (function(module) {
14717
148-eval("(function (global, factory) {\n true ? module.exports = factory() :\n 0;\n})(this, (function () { 'use strict';\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n * 6. Query, including \"?\", optional.\n * 7. Hash, including \"#\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?(\\?[^#]*)?(#.*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may include \"/\", guaranteed.\n * 3. Query, including \"?\", optional.\n * 4. Hash, including \"#\", optional.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/#?]*)?)?(\\/?[^#?]*)(\\?[^#]*)?(#.*)?/i;\n var UrlType;\n (function (UrlType) {\n UrlType[UrlType[\"Empty\"] = 1] = \"Empty\";\n UrlType[UrlType[\"Hash\"] = 2] = \"Hash\";\n UrlType[UrlType[\"Query\"] = 3] = \"Query\";\n UrlType[UrlType[\"RelativePath\"] = 4] = \"RelativePath\";\n UrlType[UrlType[\"AbsolutePath\"] = 5] = \"AbsolutePath\";\n UrlType[UrlType[\"SchemeRelative\"] = 6] = \"SchemeRelative\";\n UrlType[UrlType[\"Absolute\"] = 7] = \"Absolute\";\n })(UrlType || (UrlType = {}));\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function isRelative(input) {\n return /^[.?#]/.test(input);\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');\n }\n function makeUrl(scheme, user, host, port, path, query, hash) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n query,\n hash,\n type: UrlType.Absolute,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n url.type = UrlType.SchemeRelative;\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n url.type = UrlType.AbsolutePath;\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.type = input\n ? input.startsWith('?')\n ? UrlType.Query\n : input.startsWith('#')\n ? UrlType.Hash\n : UrlType.RelativePath\n : UrlType.Empty;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n normalizePath(base, base.type);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url, type) {\n const rel = type <= UrlType.RelativePath;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (rel) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n let inputType = url.type;\n if (base && inputType !== UrlType.Absolute) {\n const baseUrl = parseUrl(base);\n const baseType = baseUrl.type;\n switch (inputType) {\n case UrlType.Empty:\n url.hash = baseUrl.hash;\n // fall through\n case UrlType.Hash:\n url.query = baseUrl.query;\n // fall through\n case UrlType.Query:\n case UrlType.RelativePath:\n mergePaths(url, baseUrl);\n // fall through\n case UrlType.AbsolutePath:\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n // fall through\n case UrlType.SchemeRelative:\n // The input doesn't have a schema at least, so we need to copy at least that over.\n url.scheme = baseUrl.scheme;\n }\n if (baseType > inputType)\n inputType = baseType;\n }\n normalizePath(url, inputType);\n const queryHash = url.query + url.hash;\n switch (inputType) {\n // This is impossible, because of the empty checks at the start of the function.\n // case UrlType.Empty:\n case UrlType.Hash:\n case UrlType.Query:\n return queryHash;\n case UrlType.RelativePath: {\n // The first char is always a \"/\", and we need it to be relative.\n const path = url.path.slice(1);\n if (!path)\n return queryHash || '.';\n if (isRelative(base || input) && !isRelative(path)) {\n // If base started with a leading \".\", or there is no base and input started with a \".\",\n // then we need to ensure that the relative path starts with a \".\". We don't know if\n // relative starts with a \"..\", though, so check before prepending.\n return './' + path + queryHash;\n }\n return path + queryHash;\n }\n case UrlType.AbsolutePath:\n return url.path + queryHash;\n default:\n return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;\n }\n }\n\n return resolve;\n\n}));\n//# sourceMappingURL=resolve-uri.umd.js.map\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js?");
18+eval("(function (global, factory) {\n true ? module.exports = factory() :\n 0;\n})(this, (function () { 'use strict';\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n * 6. Query, including \"?\", optional.\n * 7. Hash, including \"#\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?(\\?[^#]*)?(#.*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may include \"/\", guaranteed.\n * 3. Query, including \"?\", optional.\n * 4. Hash, including \"#\", optional.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/#?]*)?)?(\\/?[^#?]*)(\\?[^#]*)?(#.*)?/i;\n var UrlType;\n (function (UrlType) {\n UrlType[UrlType[\"Empty\"] = 1] = \"Empty\";\n UrlType[UrlType[\"Hash\"] = 2] = \"Hash\";\n UrlType[UrlType[\"Query\"] = 3] = \"Query\";\n UrlType[UrlType[\"RelativePath\"] = 4] = \"RelativePath\";\n UrlType[UrlType[\"AbsolutePath\"] = 5] = \"AbsolutePath\";\n UrlType[UrlType[\"SchemeRelative\"] = 6] = \"SchemeRelative\";\n UrlType[UrlType[\"Absolute\"] = 7] = \"Absolute\";\n })(UrlType || (UrlType = {}));\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function isRelative(input) {\n return /^[.?#]/.test(input);\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');\n }\n function makeUrl(scheme, user, host, port, path, query, hash) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n query,\n hash,\n type: UrlType.Absolute,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n url.type = UrlType.SchemeRelative;\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n url.type = UrlType.AbsolutePath;\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.type = input\n ? input.startsWith('?')\n ? UrlType.Query\n : input.startsWith('#')\n ? UrlType.Hash\n : UrlType.RelativePath\n : UrlType.Empty;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n normalizePath(base, base.type);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url, type) {\n const rel = type <= UrlType.RelativePath;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (rel) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n let inputType = url.type;\n if (base && inputType !== UrlType.Absolute) {\n const baseUrl = parseUrl(base);\n const baseType = baseUrl.type;\n switch (inputType) {\n case UrlType.Empty:\n url.hash = baseUrl.hash;\n // fall through\n case UrlType.Hash:\n url.query = baseUrl.query;\n // fall through\n case UrlType.Query:\n case UrlType.RelativePath:\n mergePaths(url, baseUrl);\n // fall through\n case UrlType.AbsolutePath:\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n // fall through\n case UrlType.SchemeRelative:\n // The input doesn't have a schema at least, so we need to copy at least that over.\n url.scheme = baseUrl.scheme;\n }\n if (baseType > inputType)\n inputType = baseType;\n }\n normalizePath(url, inputType);\n const queryHash = url.query + url.hash;\n switch (inputType) {\n // This is impossible, because of the empty checks at the start of the function.\n // case UrlType.Empty:\n case UrlType.Hash:\n case UrlType.Query:\n return queryHash;\n case UrlType.RelativePath: {\n // The first char is always a \"/\", and we need it to be relative.\n const path = url.path.slice(1);\n if (!path)\n return queryHash || '.';\n if (isRelative(base || input) && !isRelative(path)) {\n // If base started with a leading \".\", or there is no base and input started with a \".\",\n // then we need to ensure that the relative path starts with a \".\". We don't know if\n // relative starts with a \"..\", though, so check before prepending.\n return './' + path + queryHash;\n }\n return path + queryHash;\n }\n case UrlType.AbsolutePath:\n return url.path + queryHash;\n default:\n return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;\n }\n }\n\n return resolve;\n\n}));\n//# sourceMappingURL=resolve-uri.umd.js.map\n\n\n//# sourceURL=webpack://v/../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js?");
14919
15020 /***/ }),
15121
@@ -155,7 +25,7 @@ eval("(function (global, factory) {\n true ? module.exports = factory() :\n
15525 \*********************************************************************/
15626 /***/ (function(__unused_webpack_module, exports) {
15727
158-eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInteger = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n charToInteger[c] = i;\n intToChar[i] = c;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let line = [];\n let sorted = true;\n let lastCol = 0;\n for (let i = 0; i < mappings.length;) {\n const c = mappings.charCodeAt(i);\n if (c === comma) {\n i++;\n }\n else if (c === semicolon) {\n state[0] = lastCol = 0;\n if (!sorted)\n sort(line);\n sorted = true;\n decoded.push(line);\n line = [];\n i++;\n }\n else {\n i = decodeInteger(mappings, i, state, 0); // generatedCodeColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (!hasMoreSegments(mappings, i)) {\n line.push([col]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 1); // sourceFileIndex\n i = decodeInteger(mappings, i, state, 2); // sourceCodeLine\n i = decodeInteger(mappings, i, state, 3); // sourceCodeColumn\n if (!hasMoreSegments(mappings, i)) {\n line.push([col, state[1], state[2], state[3]]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 4); // nameIndex\n line.push([col, state[1], state[2], state[3], state[4]]);\n }\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n return decoded;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInteger[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreSegments(mappings, i) {\n if (i >= mappings.length)\n return false;\n const c = mappings.charCodeAt(i);\n if (c === comma || c === semicolon)\n return false;\n return true;\n }\n function sort(line) {\n line.sort(sortComparator$1);\n }\n function sortComparator$1(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n let buf = new Uint8Array(1024);\n let pos = 0;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n buf = reserve(buf, pos, 1);\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n buf = reserve(buf, pos, 36);\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // generatedCodeColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourceFileIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceCodeLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceCodeColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // nameIndex\n }\n }\n return td.decode(buf.subarray(0, pos));\n }\n function reserve(buf, pos, count) {\n if (buf.length > pos + count)\n return buf;\n const swap = new Uint8Array(buf.length * 2);\n swap.set(buf);\n return swap;\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may inclue \"/\", guaranteed.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/]*)?)?(\\/?.*)/i;\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path);\n }\n function makeUrl(scheme, user, host, port, path) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n relativePath: false,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.relativePath = true;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n // If we're not a relative path, then we're an absolute path, and it doesn't matter what base is.\n if (!url.relativePath)\n return;\n normalizePath(base);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n // If the base path is absolute, then our path is now absolute too.\n url.relativePath = base.relativePath;\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url) {\n const { relativePath } = url;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (relativePath) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve$1(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n // If we have a base, and the input isn't already an absolute URL, then we need to merge.\n if (base && !url.scheme) {\n const baseUrl = parseUrl(base);\n url.scheme = baseUrl.scheme;\n // If there's no host, then we were just a path.\n if (!url.host) {\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n }\n mergePaths(url, baseUrl);\n }\n normalizePath(url);\n // If the input (and base, if there was one) are both relative, then we need to output a relative.\n if (url.relativePath) {\n // The first char is always a \"/\".\n const path = url.path.slice(1);\n if (!path)\n return '.';\n // If base started with a leading \".\", or there is no base and input started with a \".\", then we\n // need to ensure that the relative path starts with a \".\". We don't know if relative starts\n // with a \"..\", though, so check before prepending.\n const keepRelative = (base || input).startsWith('.');\n return !keepRelative || path.startsWith('.') ? path : './' + path;\n }\n // If there's no host (and no scheme/user/port), then we need to output an absolute path.\n if (!url.scheme && !url.host)\n return url.path;\n // We're outputting either an absolute URL, or a protocol relative one.\n return `${url.scheme}//${url.user}${url.host}${url.port}${url.path}`;\n }\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolve$1(input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN$1 = 0;\n const SOURCES_INDEX$1 = 1;\n const SOURCE_LINE$1 = 2;\n const SOURCE_COLUMN$1 = 3;\n const NAMES_INDEX$1 = 4;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN$1] < line[j - 1][COLUMN$1]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN$1] - b[COLUMN$1];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN$1] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; i++, index++) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; i--, index--) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN$1] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n const { sections } = parsed;\n let i = 0;\n for (; i < sections.length - 1; i++) {\n const no = sections[i + 1].offset;\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, no.line, no.column);\n }\n if (sections.length > 0) {\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, Infinity, Infinity);\n }\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return presortedDecodedMap(joined);\n };\n function addSection(section, mapUrl, mappings, sources, sourcesContent, names, stopLine, stopColumn) {\n const map = AnyMap(section.map, mapUrl);\n const { line: lineOffset, column: columnOffset } = section.offset;\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = decodedMappings(map);\n const { resolvedSources } = map;\n append(sources, resolvedSources);\n append(sourcesContent, map.sourcesContent || fillSourcesContent(resolvedSources.length));\n append(names, map.names);\n // If this section jumps forwards several lines, we need to add lines to the output mappings catch up.\n for (let i = mappings.length; i <= lineOffset; i++)\n mappings.push([]);\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range.\n const stopI = stopLine - lineOffset;\n const len = Math.min(decoded.length, stopI + 1);\n for (let i = 0; i < len; i++) {\n const line = decoded[i];\n // On the 0th loop, the line will already exist due to a previous section, or the line catch up\n // loop above.\n const out = i === 0 ? mappings[lineOffset] : (mappings[lineOffset + i] = []);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN$1];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (i === stopI && column >= stopColumn)\n break;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX$1];\n const sourceLine = seg[SOURCE_LINE$1];\n const sourceColumn = seg[SOURCE_COLUMN$1];\n if (seg.length === 4) {\n out.push([column, sourcesIndex, sourceLine, sourceColumn]);\n continue;\n }\n out.push([column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX$1]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n // Sourcemaps don't need to have sourcesContent, and if they don't, we need to create an array of\n // equal length to the sources. This is because the sources and sourcesContent are paired arrays,\n // where `sourcesContent[i]` is the content of the `sources[i]` file. If we didn't, then joined\n // sourcemap would desynchronize the sources/contents.\n function fillSourcesContent(len) {\n const sourcesContent = [];\n for (let i = 0; i < len; i++)\n sourcesContent[i] = null;\n return sourcesContent;\n }\n\n const INVALID_ORIGINAL_MAPPING = Object.freeze({\n source: null,\n line: null,\n column: null,\n name: null,\n });\n Object.freeze({\n line: null,\n column: null,\n });\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n let decodedMappings;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n let originalPositionFor;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n let presortedDecodedMap;\n class TraceMap {\n constructor(map, mapUrl) {\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n const isString = typeof map === 'string';\n if (!isString && map.constructor === TraceMap)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n if (sourceRoot || mapUrl) {\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n }\n else {\n this.resolvedSources = sources.map((s) => s || '');\n }\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n }\n }\n (() => {\n decodedMappings = (map) => {\n return (map._decoded || (map._decoded = decode(map._encoded)));\n };\n originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return INVALID_ORIGINAL_MAPPING;\n const segment = traceSegmentInternal(decoded[line], map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (segment == null)\n return INVALID_ORIGINAL_MAPPING;\n if (segment.length == 1)\n return INVALID_ORIGINAL_MAPPING;\n const { names, resolvedSources } = map;\n return {\n source: resolvedSources[segment[SOURCES_INDEX$1]],\n line: segment[SOURCE_LINE$1] + 1,\n column: segment[SOURCE_COLUMN$1],\n name: segment.length === 5 ? names[segment[NAMES_INDEX$1]] : null,\n };\n };\n presortedDecodedMap = (map, mapUrl) => {\n const clone = Object.assign({}, map);\n clone.mappings = [];\n const tracer = new TraceMap(clone, mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n })();\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return null;\n return segments[index];\n }\n\n /**\n * Gets the index associated with `key` in the backing array, if it is already present.\n */\n let get;\n /**\n * Puts `key` into the backing array, if it is not already present. Returns\n * the index of the `key` in the backing array.\n */\n let put;\n /**\n * SetArray acts like a `Set` (allowing only one occurrence of a string `key`), but provides the\n * index of the `key` in the backing array.\n *\n * This is designed to allow synchronizing a second array with the contents of the backing array,\n * like how in a sourcemap `sourcesContent[i]` is the source content associated with `source[i]`,\n * and there are never duplicates.\n */\n class SetArray {\n constructor() {\n this._indexes = { __proto__: null };\n this.array = [];\n }\n }\n (() => {\n get = (strarr, key) => strarr._indexes[key];\n put = (strarr, key) => {\n // The key may or may not be present. If it is present, it's a number.\n const index = get(strarr, key);\n if (index !== undefined)\n return index;\n const { array, _indexes: indexes } = strarr;\n return (indexes[key] = array.push(key) - 1);\n };\n })();\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n\n const NO_NAME = -1;\n /**\n * Same as `addMapping`, but will only add the mapping if it generates useful information in the\n * resulting map. This only works correctly if mappings are added **in order**, meaning you should\n * not add a mapping with a lower generated line/column than one that came before.\n */\n let maybeAddMapping;\n /**\n * Adds/removes the content of the source file to the source map.\n */\n let setSourceContent;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toDecodedMap;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toEncodedMap;\n // This split declaration is only so that terser can elminiate the static initialization block.\n let addSegmentInternal;\n /**\n * Provides the state to generate a sourcemap.\n */\n class GenMapping {\n constructor({ file, sourceRoot } = {}) {\n this._names = new SetArray();\n this._sources = new SetArray();\n this._sourcesContent = [];\n this._mappings = [];\n this.file = file;\n this.sourceRoot = sourceRoot;\n }\n }\n (() => {\n maybeAddMapping = (map, mapping) => {\n return addMappingInternal(true, map, mapping);\n };\n setSourceContent = (map, source, content) => {\n const { _sources: sources, _sourcesContent: sourcesContent } = map;\n sourcesContent[put(sources, source)] = content;\n };\n toDecodedMap = (map) => {\n const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n removeEmptyFinalLines(mappings);\n return {\n version: 3,\n file: file || undefined,\n names: names.array,\n sourceRoot: sourceRoot || undefined,\n sources: sources.array,\n sourcesContent,\n mappings,\n };\n };\n toEncodedMap = (map) => {\n const decoded = toDecodedMap(map);\n return Object.assign(Object.assign({}, decoded), { mappings: encode(decoded.mappings) });\n };\n // Internal helpers\n addSegmentInternal = (skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name) => {\n const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n const line = getLine(mappings, genLine);\n const index = getColumnIndex(line, genColumn);\n if (!source) {\n if (skipable && skipSourceless(line, index))\n return;\n return insert(line, index, [genColumn]);\n }\n const sourcesIndex = put(sources, source);\n const namesIndex = name ? put(names, name) : NO_NAME;\n if (sourcesIndex === sourcesContent.length)\n sourcesContent[sourcesIndex] = null;\n if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {\n return;\n }\n return insert(line, index, name\n ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]\n : [genColumn, sourcesIndex, sourceLine, sourceColumn]);\n };\n })();\n function getLine(mappings, index) {\n for (let i = mappings.length; i <= index; i++) {\n mappings[i] = [];\n }\n return mappings[index];\n }\n function getColumnIndex(line, genColumn) {\n let index = line.length;\n for (let i = index - 1; i >= 0; index = i--) {\n const current = line[i];\n if (genColumn >= current[COLUMN])\n break;\n }\n return index;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n function removeEmptyFinalLines(mappings) {\n const { length } = mappings;\n let len = length;\n for (let i = len - 1; i >= 0; len = i, i--) {\n if (mappings[i].length > 0)\n break;\n }\n if (len < length)\n mappings.length = len;\n }\n function skipSourceless(line, index) {\n // The start of a line is already sourceless, so adding a sourceless segment to the beginning\n // doesn't generate any useful information.\n if (index === 0)\n return true;\n const prev = line[index - 1];\n // If the previous segment is also sourceless, then adding another sourceless segment doesn't\n // genrate any new information. Else, this segment will end the source/named segment and point to\n // a sourceless position, which is useful.\n return prev.length === 1;\n }\n function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) {\n // A source/named segment at the start of a line gives position at that genColumn\n if (index === 0)\n return false;\n const prev = line[index - 1];\n // If the previous segment is sourceless, then we're transitioning to a source.\n if (prev.length === 1)\n return false;\n // If the previous segment maps to the exact same source position, then this segment doesn't\n // provide any new position information.\n return (sourcesIndex === prev[SOURCES_INDEX] &&\n sourceLine === prev[SOURCE_LINE] &&\n sourceColumn === prev[SOURCE_COLUMN] &&\n namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME));\n }\n function addMappingInternal(skipable, map, mapping) {\n const { generated, source, original, name } = mapping;\n if (!source) {\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null);\n }\n const s = source;\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, s, original.line - 1, original.column, name);\n }\n\n class SourceMapConsumer {\n constructor(map, mapUrl) {\n const trace = (this._map = new AnyMap(map, mapUrl));\n this.file = trace.file;\n this.names = trace.names;\n this.sourceRoot = trace.sourceRoot;\n this.sources = trace.resolvedSources;\n this.sourcesContent = trace.sourcesContent;\n }\n originalPositionFor(needle) {\n return originalPositionFor(this._map, needle);\n }\n destroy() {\n // noop.\n }\n }\n class SourceMapGenerator {\n constructor(opts) {\n this._map = new GenMapping(opts);\n }\n addMapping(mapping) {\n maybeAddMapping(this._map, mapping);\n }\n setSourceContent(source, content) {\n setSourceContent(this._map, source, content);\n }\n toJSON() {\n return toEncodedMap(this._map);\n }\n toDecodedMap() {\n return toDecodedMap(this._map);\n }\n }\n\n exports.SourceMapConsumer = SourceMapConsumer;\n exports.SourceMapGenerator = SourceMapGenerator;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=source-map.umd.js.map\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@jridgewell/source-map/dist/source-map.umd.js?");
28+eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInteger = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n charToInteger[c] = i;\n intToChar[i] = c;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let line = [];\n let sorted = true;\n let lastCol = 0;\n for (let i = 0; i < mappings.length;) {\n const c = mappings.charCodeAt(i);\n if (c === comma) {\n i++;\n }\n else if (c === semicolon) {\n state[0] = lastCol = 0;\n if (!sorted)\n sort(line);\n sorted = true;\n decoded.push(line);\n line = [];\n i++;\n }\n else {\n i = decodeInteger(mappings, i, state, 0); // generatedCodeColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (!hasMoreSegments(mappings, i)) {\n line.push([col]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 1); // sourceFileIndex\n i = decodeInteger(mappings, i, state, 2); // sourceCodeLine\n i = decodeInteger(mappings, i, state, 3); // sourceCodeColumn\n if (!hasMoreSegments(mappings, i)) {\n line.push([col, state[1], state[2], state[3]]);\n continue;\n }\n i = decodeInteger(mappings, i, state, 4); // nameIndex\n line.push([col, state[1], state[2], state[3], state[4]]);\n }\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n return decoded;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInteger[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreSegments(mappings, i) {\n if (i >= mappings.length)\n return false;\n const c = mappings.charCodeAt(i);\n if (c === comma || c === semicolon)\n return false;\n return true;\n }\n function sort(line) {\n line.sort(sortComparator$1);\n }\n function sortComparator$1(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n let buf = new Uint8Array(1024);\n let pos = 0;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n buf = reserve(buf, pos, 1);\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n buf = reserve(buf, pos, 36);\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // generatedCodeColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourceFileIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceCodeLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceCodeColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // nameIndex\n }\n }\n return td.decode(buf.subarray(0, pos));\n }\n function reserve(buf, pos, count) {\n if (buf.length > pos + count)\n return buf;\n const swap = new Uint8Array(buf.length * 2);\n swap.set(buf);\n return swap;\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n // Matches the scheme of a URL, eg \"http://\"\n const schemeRegex = /^[\\w+.-]+:\\/\\//;\n /**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n */\n const urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?/;\n /**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may inclue \"/\", guaranteed.\n */\n const fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/]*)?)?(\\/?.*)/i;\n function isAbsoluteUrl(input) {\n return schemeRegex.test(input);\n }\n function isSchemeRelativeUrl(input) {\n return input.startsWith('//');\n }\n function isAbsolutePath(input) {\n return input.startsWith('/');\n }\n function isFileUrl(input) {\n return input.startsWith('file:');\n }\n function parseAbsoluteUrl(input) {\n const match = urlRegex.exec(input);\n return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/');\n }\n function parseFileUrl(input) {\n const match = fileRegex.exec(input);\n const path = match[2];\n return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path);\n }\n function makeUrl(scheme, user, host, port, path) {\n return {\n scheme,\n user,\n host,\n port,\n path,\n relativePath: false,\n };\n }\n function parseUrl(input) {\n if (isSchemeRelativeUrl(input)) {\n const url = parseAbsoluteUrl('http:' + input);\n url.scheme = '';\n return url;\n }\n if (isAbsolutePath(input)) {\n const url = parseAbsoluteUrl('http://foo.com' + input);\n url.scheme = '';\n url.host = '';\n return url;\n }\n if (isFileUrl(input))\n return parseFileUrl(input);\n if (isAbsoluteUrl(input))\n return parseAbsoluteUrl(input);\n const url = parseAbsoluteUrl('http://foo.com/' + input);\n url.scheme = '';\n url.host = '';\n url.relativePath = true;\n return url;\n }\n function stripPathFilename(path) {\n // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n // paths. It's not a file, so we can't strip it.\n if (path.endsWith('/..'))\n return path;\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n function mergePaths(url, base) {\n // If we're not a relative path, then we're an absolute path, and it doesn't matter what base is.\n if (!url.relativePath)\n return;\n normalizePath(base);\n // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n // path).\n if (url.path === '/') {\n url.path = base.path;\n }\n else {\n // Resolution happens relative to the base path's directory, not the file.\n url.path = stripPathFilename(base.path) + url.path;\n }\n // If the base path is absolute, then our path is now absolute too.\n url.relativePath = base.relativePath;\n }\n /**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\n function normalizePath(url) {\n const { relativePath } = url;\n const pieces = url.path.split('/');\n // We need to preserve the first piece always, so that we output a leading slash. The item at\n // pieces[0] is an empty string.\n let pointer = 1;\n // Positive is the number of real directories we've output, used for popping a parent directory.\n // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n let positive = 0;\n // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n // real directory, we won't need to append, unless the other conditions happen again.\n let addTrailingSlash = false;\n for (let i = 1; i < pieces.length; i++) {\n const piece = pieces[i];\n // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n if (!piece) {\n addTrailingSlash = true;\n continue;\n }\n // If we encounter a real directory, then we don't need to append anymore.\n addTrailingSlash = false;\n // A current directory, which we can always drop.\n if (piece === '.')\n continue;\n // A parent directory, we need to see if there are any real directories we can pop. Else, we\n // have an excess of parents, and we'll need to keep the \"..\".\n if (piece === '..') {\n if (positive) {\n addTrailingSlash = true;\n positive--;\n pointer--;\n }\n else if (relativePath) {\n // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n pieces[pointer++] = piece;\n }\n continue;\n }\n // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n // any popped or dropped directories.\n pieces[pointer++] = piece;\n positive++;\n }\n let path = '';\n for (let i = 1; i < pointer; i++) {\n path += '/' + pieces[i];\n }\n if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n path += '/';\n }\n url.path = path;\n }\n /**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\n function resolve$1(input, base) {\n if (!input && !base)\n return '';\n const url = parseUrl(input);\n // If we have a base, and the input isn't already an absolute URL, then we need to merge.\n if (base && !url.scheme) {\n const baseUrl = parseUrl(base);\n url.scheme = baseUrl.scheme;\n // If there's no host, then we were just a path.\n if (!url.host) {\n // The host, user, and port are joined, you can't copy one without the others.\n url.user = baseUrl.user;\n url.host = baseUrl.host;\n url.port = baseUrl.port;\n }\n mergePaths(url, baseUrl);\n }\n normalizePath(url);\n // If the input (and base, if there was one) are both relative, then we need to output a relative.\n if (url.relativePath) {\n // The first char is always a \"/\".\n const path = url.path.slice(1);\n if (!path)\n return '.';\n // If base started with a leading \".\", or there is no base and input started with a \".\", then we\n // need to ensure that the relative path starts with a \".\". We don't know if relative starts\n // with a \"..\", though, so check before prepending.\n const keepRelative = (base || input).startsWith('.');\n return !keepRelative || path.startsWith('.') ? path : './' + path;\n }\n // If there's no host (and no scheme/user/port), then we need to output an absolute path.\n if (!url.scheme && !url.host)\n return url.path;\n // We're outputting either an absolute URL, or a protocol relative one.\n return `${url.scheme}//${url.user}${url.host}${url.port}${url.path}`;\n }\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolve$1(input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN$1 = 0;\n const SOURCES_INDEX$1 = 1;\n const SOURCE_LINE$1 = 2;\n const SOURCE_COLUMN$1 = 3;\n const NAMES_INDEX$1 = 4;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN$1] < line[j - 1][COLUMN$1]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN$1] - b[COLUMN$1];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN$1] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; i++, index++) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; i--, index--) {\n if (haystack[i][COLUMN$1] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN$1] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n const { sections } = parsed;\n let i = 0;\n for (; i < sections.length - 1; i++) {\n const no = sections[i + 1].offset;\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, no.line, no.column);\n }\n if (sections.length > 0) {\n addSection(sections[i], mapUrl, mappings, sources, sourcesContent, names, Infinity, Infinity);\n }\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return presortedDecodedMap(joined);\n };\n function addSection(section, mapUrl, mappings, sources, sourcesContent, names, stopLine, stopColumn) {\n const map = AnyMap(section.map, mapUrl);\n const { line: lineOffset, column: columnOffset } = section.offset;\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = decodedMappings(map);\n const { resolvedSources } = map;\n append(sources, resolvedSources);\n append(sourcesContent, map.sourcesContent || fillSourcesContent(resolvedSources.length));\n append(names, map.names);\n // If this section jumps forwards several lines, we need to add lines to the output mappings catch up.\n for (let i = mappings.length; i <= lineOffset; i++)\n mappings.push([]);\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range.\n const stopI = stopLine - lineOffset;\n const len = Math.min(decoded.length, stopI + 1);\n for (let i = 0; i < len; i++) {\n const line = decoded[i];\n // On the 0th loop, the line will already exist due to a previous section, or the line catch up\n // loop above.\n const out = i === 0 ? mappings[lineOffset] : (mappings[lineOffset + i] = []);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN$1];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (i === stopI && column >= stopColumn)\n break;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX$1];\n const sourceLine = seg[SOURCE_LINE$1];\n const sourceColumn = seg[SOURCE_COLUMN$1];\n if (seg.length === 4) {\n out.push([column, sourcesIndex, sourceLine, sourceColumn]);\n continue;\n }\n out.push([column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX$1]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n // Sourcemaps don't need to have sourcesContent, and if they don't, we need to create an array of\n // equal length to the sources. This is because the sources and sourcesContent are paired arrays,\n // where `sourcesContent[i]` is the content of the `sources[i]` file. If we didn't, then joined\n // sourcemap would desynchronize the sources/contents.\n function fillSourcesContent(len) {\n const sourcesContent = [];\n for (let i = 0; i < len; i++)\n sourcesContent[i] = null;\n return sourcesContent;\n }\n\n const INVALID_ORIGINAL_MAPPING = Object.freeze({\n source: null,\n line: null,\n column: null,\n name: null,\n });\n Object.freeze({\n line: null,\n column: null,\n });\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n let decodedMappings;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n let originalPositionFor;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n let presortedDecodedMap;\n class TraceMap {\n constructor(map, mapUrl) {\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n const isString = typeof map === 'string';\n if (!isString && map.constructor === TraceMap)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n if (sourceRoot || mapUrl) {\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n }\n else {\n this.resolvedSources = sources.map((s) => s || '');\n }\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n }\n }\n (() => {\n decodedMappings = (map) => {\n return (map._decoded || (map._decoded = decode(map._encoded)));\n };\n originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return INVALID_ORIGINAL_MAPPING;\n const segment = traceSegmentInternal(decoded[line], map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (segment == null)\n return INVALID_ORIGINAL_MAPPING;\n if (segment.length == 1)\n return INVALID_ORIGINAL_MAPPING;\n const { names, resolvedSources } = map;\n return {\n source: resolvedSources[segment[SOURCES_INDEX$1]],\n line: segment[SOURCE_LINE$1] + 1,\n column: segment[SOURCE_COLUMN$1],\n name: segment.length === 5 ? names[segment[NAMES_INDEX$1]] : null,\n };\n };\n presortedDecodedMap = (map, mapUrl) => {\n const clone = Object.assign({}, map);\n clone.mappings = [];\n const tracer = new TraceMap(clone, mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n })();\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return null;\n return segments[index];\n }\n\n /**\n * Gets the index associated with `key` in the backing array, if it is already present.\n */\n let get;\n /**\n * Puts `key` into the backing array, if it is not already present. Returns\n * the index of the `key` in the backing array.\n */\n let put;\n /**\n * SetArray acts like a `Set` (allowing only one occurrence of a string `key`), but provides the\n * index of the `key` in the backing array.\n *\n * This is designed to allow synchronizing a second array with the contents of the backing array,\n * like how in a sourcemap `sourcesContent[i]` is the source content associated with `source[i]`,\n * and there are never duplicates.\n */\n class SetArray {\n constructor() {\n this._indexes = { __proto__: null };\n this.array = [];\n }\n }\n (() => {\n get = (strarr, key) => strarr._indexes[key];\n put = (strarr, key) => {\n // The key may or may not be present. If it is present, it's a number.\n const index = get(strarr, key);\n if (index !== undefined)\n return index;\n const { array, _indexes: indexes } = strarr;\n return (indexes[key] = array.push(key) - 1);\n };\n })();\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n\n const NO_NAME = -1;\n /**\n * Same as `addMapping`, but will only add the mapping if it generates useful information in the\n * resulting map. This only works correctly if mappings are added **in order**, meaning you should\n * not add a mapping with a lower generated line/column than one that came before.\n */\n let maybeAddMapping;\n /**\n * Adds/removes the content of the source file to the source map.\n */\n let setSourceContent;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toDecodedMap;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n let toEncodedMap;\n // This split declaration is only so that terser can elminiate the static initialization block.\n let addSegmentInternal;\n /**\n * Provides the state to generate a sourcemap.\n */\n class GenMapping {\n constructor({ file, sourceRoot } = {}) {\n this._names = new SetArray();\n this._sources = new SetArray();\n this._sourcesContent = [];\n this._mappings = [];\n this.file = file;\n this.sourceRoot = sourceRoot;\n }\n }\n (() => {\n maybeAddMapping = (map, mapping) => {\n return addMappingInternal(true, map, mapping);\n };\n setSourceContent = (map, source, content) => {\n const { _sources: sources, _sourcesContent: sourcesContent } = map;\n sourcesContent[put(sources, source)] = content;\n };\n toDecodedMap = (map) => {\n const { file, sourceRoot, _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n removeEmptyFinalLines(mappings);\n return {\n version: 3,\n file: file || undefined,\n names: names.array,\n sourceRoot: sourceRoot || undefined,\n sources: sources.array,\n sourcesContent,\n mappings,\n };\n };\n toEncodedMap = (map) => {\n const decoded = toDecodedMap(map);\n return Object.assign(Object.assign({}, decoded), { mappings: encode(decoded.mappings) });\n };\n // Internal helpers\n addSegmentInternal = (skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name) => {\n const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = map;\n const line = getLine(mappings, genLine);\n const index = getColumnIndex(line, genColumn);\n if (!source) {\n if (skipable && skipSourceless(line, index))\n return;\n return insert(line, index, [genColumn]);\n }\n const sourcesIndex = put(sources, source);\n const namesIndex = name ? put(names, name) : NO_NAME;\n if (sourcesIndex === sourcesContent.length)\n sourcesContent[sourcesIndex] = null;\n if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {\n return;\n }\n return insert(line, index, name\n ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]\n : [genColumn, sourcesIndex, sourceLine, sourceColumn]);\n };\n })();\n function getLine(mappings, index) {\n for (let i = mappings.length; i <= index; i++) {\n mappings[i] = [];\n }\n return mappings[index];\n }\n function getColumnIndex(line, genColumn) {\n let index = line.length;\n for (let i = index - 1; i >= 0; index = i--) {\n const current = line[i];\n if (genColumn >= current[COLUMN])\n break;\n }\n return index;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n function removeEmptyFinalLines(mappings) {\n const { length } = mappings;\n let len = length;\n for (let i = len - 1; i >= 0; len = i, i--) {\n if (mappings[i].length > 0)\n break;\n }\n if (len < length)\n mappings.length = len;\n }\n function skipSourceless(line, index) {\n // The start of a line is already sourceless, so adding a sourceless segment to the beginning\n // doesn't generate any useful information.\n if (index === 0)\n return true;\n const prev = line[index - 1];\n // If the previous segment is also sourceless, then adding another sourceless segment doesn't\n // genrate any new information. Else, this segment will end the source/named segment and point to\n // a sourceless position, which is useful.\n return prev.length === 1;\n }\n function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) {\n // A source/named segment at the start of a line gives position at that genColumn\n if (index === 0)\n return false;\n const prev = line[index - 1];\n // If the previous segment is sourceless, then we're transitioning to a source.\n if (prev.length === 1)\n return false;\n // If the previous segment maps to the exact same source position, then this segment doesn't\n // provide any new position information.\n return (sourcesIndex === prev[SOURCES_INDEX] &&\n sourceLine === prev[SOURCE_LINE] &&\n sourceColumn === prev[SOURCE_COLUMN] &&\n namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME));\n }\n function addMappingInternal(skipable, map, mapping) {\n const { generated, source, original, name } = mapping;\n if (!source) {\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null);\n }\n const s = source;\n return addSegmentInternal(skipable, map, generated.line - 1, generated.column, s, original.line - 1, original.column, name);\n }\n\n class SourceMapConsumer {\n constructor(map, mapUrl) {\n const trace = (this._map = new AnyMap(map, mapUrl));\n this.file = trace.file;\n this.names = trace.names;\n this.sourceRoot = trace.sourceRoot;\n this.sources = trace.resolvedSources;\n this.sourcesContent = trace.sourcesContent;\n }\n originalPositionFor(needle) {\n return originalPositionFor(this._map, needle);\n }\n destroy() {\n // noop.\n }\n }\n class SourceMapGenerator {\n constructor(opts) {\n this._map = new GenMapping(opts);\n }\n addMapping(mapping) {\n maybeAddMapping(this._map, mapping);\n }\n setSourceContent(source, content) {\n setSourceContent(this._map, source, content);\n }\n toJSON() {\n return toEncodedMap(this._map);\n }\n toDecodedMap() {\n return toDecodedMap(this._map);\n }\n }\n\n exports.SourceMapConsumer = SourceMapConsumer;\n exports.SourceMapGenerator = SourceMapGenerator;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=source-map.umd.js.map\n\n\n//# sourceURL=webpack://v/../node_modules/@jridgewell/source-map/dist/source-map.umd.js?");
15929
16030 /***/ }),
16131
@@ -165,7 +35,7 @@ eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(
16535 \*******************************************************************************/
16636 /***/ (function(__unused_webpack_module, exports) {
16737
168-eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInt = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n intToChar[i] = c;\n charToInt[c] = i;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? /* #__PURE__ */ new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let index = 0;\n do {\n const semi = indexOf(mappings, index);\n const line = [];\n let sorted = true;\n let lastCol = 0;\n state[0] = 0;\n for (let i = index; i < semi; i++) {\n let seg;\n i = decodeInteger(mappings, i, state, 0); // genColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 1); // sourcesIndex\n i = decodeInteger(mappings, i, state, 2); // sourceLine\n i = decodeInteger(mappings, i, state, 3); // sourceColumn\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 4); // namesIndex\n seg = [col, state[1], state[2], state[3], state[4]];\n }\n else {\n seg = [col, state[1], state[2], state[3]];\n }\n }\n else {\n seg = [col];\n }\n line.push(seg);\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n index = semi + 1;\n } while (index <= mappings.length);\n return decoded;\n }\n function indexOf(mappings, index) {\n const idx = mappings.indexOf(';', index);\n return idx === -1 ? mappings.length : idx;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInt[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreVlq(mappings, i, length) {\n if (i >= length)\n return false;\n return mappings.charCodeAt(i) !== comma;\n }\n function sort(line) {\n line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n const bufLength = 1024 * 16;\n const subLength = bufLength - 36;\n const buf = new Uint8Array(bufLength);\n const sub = buf.subarray(0, subLength);\n let pos = 0;\n let out = '';\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n if (pos === bufLength) {\n out += td.decode(buf);\n pos = 0;\n }\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n if (pos > subLength) {\n out += td.decode(sub);\n buf.copyWithin(0, subLength, pos);\n pos -= subLength;\n }\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // genColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex\n }\n }\n return out + td.decode(buf.subarray(0, pos));\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n exports.decode = decode;\n exports.encode = encode;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=sourcemap-codec.umd.js.map\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js?");
38+eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(this, (function (exports) { 'use strict';\n\n const comma = ','.charCodeAt(0);\n const semicolon = ';'.charCodeAt(0);\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n const intToChar = new Uint8Array(64); // 64 possible chars.\n const charToInt = new Uint8Array(128); // z is 122 in ASCII\n for (let i = 0; i < chars.length; i++) {\n const c = chars.charCodeAt(i);\n intToChar[i] = c;\n charToInt[c] = i;\n }\n // Provide a fallback for older environments.\n const td = typeof TextDecoder !== 'undefined'\n ? /* #__PURE__ */ new TextDecoder()\n : typeof Buffer !== 'undefined'\n ? {\n decode(buf) {\n const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);\n return out.toString();\n },\n }\n : {\n decode(buf) {\n let out = '';\n for (let i = 0; i < buf.length; i++) {\n out += String.fromCharCode(buf[i]);\n }\n return out;\n },\n };\n function decode(mappings) {\n const state = new Int32Array(5);\n const decoded = [];\n let index = 0;\n do {\n const semi = indexOf(mappings, index);\n const line = [];\n let sorted = true;\n let lastCol = 0;\n state[0] = 0;\n for (let i = index; i < semi; i++) {\n let seg;\n i = decodeInteger(mappings, i, state, 0); // genColumn\n const col = state[0];\n if (col < lastCol)\n sorted = false;\n lastCol = col;\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 1); // sourcesIndex\n i = decodeInteger(mappings, i, state, 2); // sourceLine\n i = decodeInteger(mappings, i, state, 3); // sourceColumn\n if (hasMoreVlq(mappings, i, semi)) {\n i = decodeInteger(mappings, i, state, 4); // namesIndex\n seg = [col, state[1], state[2], state[3], state[4]];\n }\n else {\n seg = [col, state[1], state[2], state[3]];\n }\n }\n else {\n seg = [col];\n }\n line.push(seg);\n }\n if (!sorted)\n sort(line);\n decoded.push(line);\n index = semi + 1;\n } while (index <= mappings.length);\n return decoded;\n }\n function indexOf(mappings, index) {\n const idx = mappings.indexOf(';', index);\n return idx === -1 ? mappings.length : idx;\n }\n function decodeInteger(mappings, pos, state, j) {\n let value = 0;\n let shift = 0;\n let integer = 0;\n do {\n const c = mappings.charCodeAt(pos++);\n integer = charToInt[c];\n value |= (integer & 31) << shift;\n shift += 5;\n } while (integer & 32);\n const shouldNegate = value & 1;\n value >>>= 1;\n if (shouldNegate) {\n value = -0x80000000 | -value;\n }\n state[j] += value;\n return pos;\n }\n function hasMoreVlq(mappings, i, length) {\n if (i >= length)\n return false;\n return mappings.charCodeAt(i) !== comma;\n }\n function sort(line) {\n line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[0] - b[0];\n }\n function encode(decoded) {\n const state = new Int32Array(5);\n const bufLength = 1024 * 16;\n const subLength = bufLength - 36;\n const buf = new Uint8Array(bufLength);\n const sub = buf.subarray(0, subLength);\n let pos = 0;\n let out = '';\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n if (i > 0) {\n if (pos === bufLength) {\n out += td.decode(buf);\n pos = 0;\n }\n buf[pos++] = semicolon;\n }\n if (line.length === 0)\n continue;\n state[0] = 0;\n for (let j = 0; j < line.length; j++) {\n const segment = line[j];\n // We can push up to 5 ints, each int can take at most 7 chars, and we\n // may push a comma.\n if (pos > subLength) {\n out += td.decode(sub);\n buf.copyWithin(0, subLength, pos);\n pos -= subLength;\n }\n if (j > 0)\n buf[pos++] = comma;\n pos = encodeInteger(buf, pos, state, segment, 0); // genColumn\n if (segment.length === 1)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex\n pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine\n pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn\n if (segment.length === 4)\n continue;\n pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex\n }\n }\n return out + td.decode(buf.subarray(0, pos));\n }\n function encodeInteger(buf, pos, state, segment, j) {\n const next = segment[j];\n let num = next - state[j];\n state[j] = next;\n num = num < 0 ? (-num << 1) | 1 : num << 1;\n do {\n let clamped = num & 0b011111;\n num >>>= 5;\n if (num > 0)\n clamped |= 0b100000;\n buf[pos++] = intToChar[clamped];\n } while (num > 0);\n return pos;\n }\n\n exports.decode = decode;\n exports.encode = encode;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=sourcemap-codec.umd.js.map\n\n\n//# sourceURL=webpack://v/../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js?");
16939
17040 /***/ }),
17141
@@ -175,7 +45,7 @@ eval("(function (global, factory) {\n true ? factory(exports) :\n 0;\n})(
17545 \***************************************************************************/
17646 /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
17747
178-eval("(function (global, factory) {\n true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ \"../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js\"), __webpack_require__(/*! @jridgewell/resolve-uri */ \"../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js\")) :\n 0;\n})(this, (function (exports, sourcemapCodec, resolveUri) { 'use strict';\n\n function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n var resolveUri__default = /*#__PURE__*/_interopDefaultLegacy(resolveUri);\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolveUri__default[\"default\"](input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n const REV_GENERATED_LINE = 1;\n const REV_GENERATED_COLUMN = 2;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN] < line[j - 1][COLUMN]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN] - b[COLUMN];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; index = i++) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; index = i--) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n // Rebuilds the original source files, with mappings that are ordered by source line/column instead\n // of generated line/column.\n function buildBySources(decoded, memos) {\n const sources = memos.map(buildNullArray);\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n if (seg.length === 1)\n continue;\n const sourceIndex = seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n const originalSource = sources[sourceIndex];\n const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));\n const memo = memos[sourceIndex];\n // The binary search either found a match, or it found the left-index just before where the\n // segment should go. Either way, we want to insert after that. And there may be multiple\n // generated segments associated with an original location, so there may need to move several\n // indexes before we find where we need to insert.\n const index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));\n insert(originalLine, (memo.lastIndex = index + 1), [sourceColumn, i, seg[COLUMN]]);\n }\n }\n return sources;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n // Null arrays allow us to use ordered index keys without actually allocating contiguous memory like\n // a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.\n // Numeric properties on objects are magically sorted in ascending order by the engine regardless of\n // the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending\n // order when iterating with for-in.\n function buildNullArray() {\n return { __proto__: null };\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, 0, 0, Infinity, Infinity);\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return exports.presortedDecodedMap(joined);\n };\n function recurse(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n const { sections } = input;\n for (let i = 0; i < sections.length; i++) {\n const { map, offset } = sections[i];\n let sl = stopLine;\n let sc = stopColumn;\n if (i + 1 < sections.length) {\n const nextOffset = sections[i + 1].offset;\n sl = Math.min(stopLine, lineOffset + nextOffset.line);\n if (sl === stopLine) {\n sc = Math.min(stopColumn, columnOffset + nextOffset.column);\n }\n else if (sl < stopLine) {\n sc = columnOffset + nextOffset.column;\n }\n }\n addSection(map, mapUrl, mappings, sources, sourcesContent, names, lineOffset + offset.line, columnOffset + offset.column, sl, sc);\n }\n }\n function addSection(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n if ('sections' in input)\n return recurse(...arguments);\n const map = new TraceMap(input, mapUrl);\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = exports.decodedMappings(map);\n const { resolvedSources, sourcesContent: contents } = map;\n append(sources, resolvedSources);\n append(names, map.names);\n if (contents)\n append(sourcesContent, contents);\n else\n for (let i = 0; i < resolvedSources.length; i++)\n sourcesContent.push(null);\n for (let i = 0; i < decoded.length; i++) {\n const lineI = lineOffset + i;\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range. But it may not have any columns that overstep, so we\n // still need to check that we don't overstep lines, too.\n if (lineI > stopLine)\n return;\n // The out line may already exist in mappings (if we're continuing the line started by a\n // previous section). Or, we may have jumped ahead several lines to start this section.\n const out = getLine(mappings, lineI);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (lineI === stopLine && column >= stopColumn)\n return;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n out.push(seg.length === 4\n ? [column, sourcesIndex, sourceLine, sourceColumn]\n : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n function getLine(arr, index) {\n for (let i = arr.length; i <= index; i++)\n arr[i] = [];\n return arr[index];\n }\n\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the encoded (VLQ string) form of the SourceMap's mappings field.\n */\n exports.encodedMappings = void 0;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n exports.decodedMappings = void 0;\n /**\n * A low-level API to find the segment associated with a generated line/column (think, from a\n * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.\n */\n exports.traceSegment = void 0;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n exports.originalPositionFor = void 0;\n /**\n * Finds the generated line/column position of the provided source/line/column source position.\n */\n exports.generatedPositionFor = void 0;\n /**\n * Finds all generated line/column positions of the provided source/line/column source position.\n */\n exports.allGeneratedPositionsFor = void 0;\n /**\n * Iterates each mapping in generated position order.\n */\n exports.eachMapping = void 0;\n /**\n * Retrieves the source content for a particular source, if its found. Returns null if not.\n */\n exports.sourceContentFor = void 0;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n exports.presortedDecodedMap = void 0;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.decodedMap = void 0;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.encodedMap = void 0;\n class TraceMap {\n constructor(map, mapUrl) {\n const isString = typeof map === 'string';\n if (!isString && map._decodedMemo)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n }\n }\n (() => {\n exports.encodedMappings = (map) => {\n var _a;\n return ((_a = map._encoded) !== null && _a !== void 0 ? _a : (map._encoded = sourcemapCodec.encode(map._decoded)));\n };\n exports.decodedMappings = (map) => {\n return (map._decoded || (map._decoded = sourcemapCodec.decode(map._encoded)));\n };\n exports.traceSegment = (map, line, column) => {\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return null;\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, GREATEST_LOWER_BOUND);\n return index === -1 ? null : segments[index];\n };\n exports.originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return OMapping(null, null, null, null);\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (index === -1)\n return OMapping(null, null, null, null);\n const segment = segments[index];\n if (segment.length === 1)\n return OMapping(null, null, null, null);\n const { names, resolvedSources } = map;\n return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);\n };\n exports.allGeneratedPositionsFor = (map, { source, line, column, bias }) => {\n // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.\n return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);\n };\n exports.generatedPositionFor = (map, { source, line, column, bias }) => {\n return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);\n };\n exports.eachMapping = (map, cb) => {\n const decoded = exports.decodedMappings(map);\n const { names, resolvedSources } = map;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const generatedLine = i + 1;\n const generatedColumn = seg[0];\n let source = null;\n let originalLine = null;\n let originalColumn = null;\n let name = null;\n if (seg.length !== 1) {\n source = resolvedSources[seg[1]];\n originalLine = seg[2] + 1;\n originalColumn = seg[3];\n }\n if (seg.length === 5)\n name = names[seg[4]];\n cb({\n generatedLine,\n generatedColumn,\n source,\n originalLine,\n originalColumn,\n name,\n });\n }\n }\n };\n exports.sourceContentFor = (map, source) => {\n const { sources, resolvedSources, sourcesContent } = map;\n if (sourcesContent == null)\n return null;\n let index = sources.indexOf(source);\n if (index === -1)\n index = resolvedSources.indexOf(source);\n return index === -1 ? null : sourcesContent[index];\n };\n exports.presortedDecodedMap = (map, mapUrl) => {\n const tracer = new TraceMap(clone(map, []), mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n exports.decodedMap = (map) => {\n return clone(map, exports.decodedMappings(map));\n };\n exports.encodedMap = (map) => {\n return clone(map, exports.encodedMappings(map));\n };\n function generatedPosition(map, source, line, column, bias, all) {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const { sources, resolvedSources } = map;\n let sourceIndex = sources.indexOf(source);\n if (sourceIndex === -1)\n sourceIndex = resolvedSources.indexOf(source);\n if (sourceIndex === -1)\n return all ? [] : GMapping(null, null);\n const generated = (map._bySources || (map._bySources = buildBySources(exports.decodedMappings(map), (map._bySourceMemos = sources.map(memoizedState)))));\n const segments = generated[sourceIndex][line];\n if (segments == null)\n return all ? [] : GMapping(null, null);\n const memo = map._bySourceMemos[sourceIndex];\n if (all)\n return sliceGeneratedPositions(segments, memo, line, column, bias);\n const index = traceSegmentInternal(segments, memo, line, column, bias);\n if (index === -1)\n return GMapping(null, null);\n const segment = segments[index];\n return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);\n }\n })();\n function clone(map, mappings) {\n return {\n version: map.version,\n file: map.file,\n names: map.names,\n sourceRoot: map.sourceRoot,\n sources: map.sources,\n sourcesContent: map.sourcesContent,\n mappings,\n };\n }\n function OMapping(source, line, column, name) {\n return { source, line, column, name };\n }\n function GMapping(line, column) {\n return { line, column };\n }\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return -1;\n return index;\n }\n function sliceGeneratedPositions(segments, memo, line, column, bias) {\n let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);\n // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in\n // insertion order) segment that matched. Even if we did respect the bias when tracing, we would\n // still need to call `lowerBound()` to find the first segment, which is slower than just looking\n // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the\n // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to\n // match LEAST_UPPER_BOUND.\n if (!found && bias === LEAST_UPPER_BOUND)\n min++;\n if (min === -1 || min === segments.length)\n return [];\n // We may have found the segment that started at an earlier column. If this is the case, then we\n // need to slice all generated segments that match _that_ column, because all such segments span\n // to our desired column.\n const matchedColumn = found ? column : segments[min][COLUMN];\n // The binary search is not guaranteed to find the lower bound when a match wasn't found.\n if (!found)\n min = lowerBound(segments, matchedColumn, min);\n const max = upperBound(segments, matchedColumn, min);\n const result = [];\n for (; min <= max; min++) {\n const segment = segments[min];\n result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));\n }\n return result;\n }\n\n exports.AnyMap = AnyMap;\n exports.GREATEST_LOWER_BOUND = GREATEST_LOWER_BOUND;\n exports.LEAST_UPPER_BOUND = LEAST_UPPER_BOUND;\n exports.TraceMap = TraceMap;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=trace-mapping.umd.js.map\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js?");
48+eval("(function (global, factory) {\n true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ \"../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js\"), __webpack_require__(/*! @jridgewell/resolve-uri */ \"../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js\")) :\n 0;\n})(this, (function (exports, sourcemapCodec, resolveUri) { 'use strict';\n\n function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n var resolveUri__default = /*#__PURE__*/_interopDefaultLegacy(resolveUri);\n\n function resolve(input, base) {\n // The base is always treated as a directory, if it's not empty.\n // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n if (base && !base.endsWith('/'))\n base += '/';\n return resolveUri__default[\"default\"](input, base);\n }\n\n /**\n * Removes everything after the last \"/\", but leaves the slash.\n */\n function stripFilename(path) {\n if (!path)\n return '';\n const index = path.lastIndexOf('/');\n return path.slice(0, index + 1);\n }\n\n const COLUMN = 0;\n const SOURCES_INDEX = 1;\n const SOURCE_LINE = 2;\n const SOURCE_COLUMN = 3;\n const NAMES_INDEX = 4;\n const REV_GENERATED_LINE = 1;\n const REV_GENERATED_COLUMN = 2;\n\n function maybeSort(mappings, owned) {\n const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n if (unsortedIndex === mappings.length)\n return mappings;\n // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n // not, we do not want to modify the consumer's input array.\n if (!owned)\n mappings = mappings.slice();\n for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n mappings[i] = sortSegments(mappings[i], owned);\n }\n return mappings;\n }\n function nextUnsortedSegmentLine(mappings, start) {\n for (let i = start; i < mappings.length; i++) {\n if (!isSorted(mappings[i]))\n return i;\n }\n return mappings.length;\n }\n function isSorted(line) {\n for (let j = 1; j < line.length; j++) {\n if (line[j][COLUMN] < line[j - 1][COLUMN]) {\n return false;\n }\n }\n return true;\n }\n function sortSegments(line, owned) {\n if (!owned)\n line = line.slice();\n return line.sort(sortComparator);\n }\n function sortComparator(a, b) {\n return a[COLUMN] - b[COLUMN];\n }\n\n let found = false;\n /**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\n function binarySearch(haystack, needle, low, high) {\n while (low <= high) {\n const mid = low + ((high - low) >> 1);\n const cmp = haystack[mid][COLUMN] - needle;\n if (cmp === 0) {\n found = true;\n return mid;\n }\n if (cmp < 0) {\n low = mid + 1;\n }\n else {\n high = mid - 1;\n }\n }\n found = false;\n return low - 1;\n }\n function upperBound(haystack, needle, index) {\n for (let i = index + 1; i < haystack.length; index = i++) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function lowerBound(haystack, needle, index) {\n for (let i = index - 1; i >= 0; index = i--) {\n if (haystack[i][COLUMN] !== needle)\n break;\n }\n return index;\n }\n function memoizedState() {\n return {\n lastKey: -1,\n lastNeedle: -1,\n lastIndex: -1,\n };\n }\n /**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\n function memoizedBinarySearch(haystack, needle, state, key) {\n const { lastKey, lastNeedle, lastIndex } = state;\n let low = 0;\n let high = haystack.length - 1;\n if (key === lastKey) {\n if (needle === lastNeedle) {\n found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;\n return lastIndex;\n }\n if (needle >= lastNeedle) {\n // lastIndex may be -1 if the previous needle was not found.\n low = lastIndex === -1 ? 0 : lastIndex;\n }\n else {\n high = lastIndex;\n }\n }\n state.lastKey = key;\n state.lastNeedle = needle;\n return (state.lastIndex = binarySearch(haystack, needle, low, high));\n }\n\n // Rebuilds the original source files, with mappings that are ordered by source line/column instead\n // of generated line/column.\n function buildBySources(decoded, memos) {\n const sources = memos.map(buildNullArray);\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n if (seg.length === 1)\n continue;\n const sourceIndex = seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n const originalSource = sources[sourceIndex];\n const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));\n const memo = memos[sourceIndex];\n // The binary search either found a match, or it found the left-index just before where the\n // segment should go. Either way, we want to insert after that. And there may be multiple\n // generated segments associated with an original location, so there may need to move several\n // indexes before we find where we need to insert.\n const index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));\n insert(originalLine, (memo.lastIndex = index + 1), [sourceColumn, i, seg[COLUMN]]);\n }\n }\n return sources;\n }\n function insert(array, index, value) {\n for (let i = array.length; i > index; i--) {\n array[i] = array[i - 1];\n }\n array[index] = value;\n }\n // Null arrays allow us to use ordered index keys without actually allocating contiguous memory like\n // a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.\n // Numeric properties on objects are magically sorted in ascending order by the engine regardless of\n // the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending\n // order when iterating with for-in.\n function buildNullArray() {\n return { __proto__: null };\n }\n\n const AnyMap = function (map, mapUrl) {\n const parsed = typeof map === 'string' ? JSON.parse(map) : map;\n if (!('sections' in parsed))\n return new TraceMap(parsed, mapUrl);\n const mappings = [];\n const sources = [];\n const sourcesContent = [];\n const names = [];\n recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, 0, 0, Infinity, Infinity);\n const joined = {\n version: 3,\n file: parsed.file,\n names,\n sources,\n sourcesContent,\n mappings,\n };\n return exports.presortedDecodedMap(joined);\n };\n function recurse(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n const { sections } = input;\n for (let i = 0; i < sections.length; i++) {\n const { map, offset } = sections[i];\n let sl = stopLine;\n let sc = stopColumn;\n if (i + 1 < sections.length) {\n const nextOffset = sections[i + 1].offset;\n sl = Math.min(stopLine, lineOffset + nextOffset.line);\n if (sl === stopLine) {\n sc = Math.min(stopColumn, columnOffset + nextOffset.column);\n }\n else if (sl < stopLine) {\n sc = columnOffset + nextOffset.column;\n }\n }\n addSection(map, mapUrl, mappings, sources, sourcesContent, names, lineOffset + offset.line, columnOffset + offset.column, sl, sc);\n }\n }\n function addSection(input, mapUrl, mappings, sources, sourcesContent, names, lineOffset, columnOffset, stopLine, stopColumn) {\n if ('sections' in input)\n return recurse(...arguments);\n const map = new TraceMap(input, mapUrl);\n const sourcesOffset = sources.length;\n const namesOffset = names.length;\n const decoded = exports.decodedMappings(map);\n const { resolvedSources, sourcesContent: contents } = map;\n append(sources, resolvedSources);\n append(names, map.names);\n if (contents)\n append(sourcesContent, contents);\n else\n for (let i = 0; i < resolvedSources.length; i++)\n sourcesContent.push(null);\n for (let i = 0; i < decoded.length; i++) {\n const lineI = lineOffset + i;\n // We can only add so many lines before we step into the range that the next section's map\n // controls. When we get to the last line, then we'll start checking the segments to see if\n // they've crossed into the column range. But it may not have any columns that overstep, so we\n // still need to check that we don't overstep lines, too.\n if (lineI > stopLine)\n return;\n // The out line may already exist in mappings (if we're continuing the line started by a\n // previous section). Or, we may have jumped ahead several lines to start this section.\n const out = getLine(mappings, lineI);\n // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the\n // map can be multiple lines), it doesn't.\n const cOffset = i === 0 ? columnOffset : 0;\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const column = cOffset + seg[COLUMN];\n // If this segment steps into the column range that the next section's map controls, we need\n // to stop early.\n if (lineI === stopLine && column >= stopColumn)\n return;\n if (seg.length === 1) {\n out.push([column]);\n continue;\n }\n const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];\n const sourceLine = seg[SOURCE_LINE];\n const sourceColumn = seg[SOURCE_COLUMN];\n out.push(seg.length === 4\n ? [column, sourcesIndex, sourceLine, sourceColumn]\n : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);\n }\n }\n }\n function append(arr, other) {\n for (let i = 0; i < other.length; i++)\n arr.push(other[i]);\n }\n function getLine(arr, index) {\n for (let i = arr.length; i <= index; i++)\n arr[i] = [];\n return arr[index];\n }\n\n const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\n const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\n const LEAST_UPPER_BOUND = -1;\n const GREATEST_LOWER_BOUND = 1;\n /**\n * Returns the encoded (VLQ string) form of the SourceMap's mappings field.\n */\n exports.encodedMappings = void 0;\n /**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\n exports.decodedMappings = void 0;\n /**\n * A low-level API to find the segment associated with a generated line/column (think, from a\n * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.\n */\n exports.traceSegment = void 0;\n /**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\n exports.originalPositionFor = void 0;\n /**\n * Finds the generated line/column position of the provided source/line/column source position.\n */\n exports.generatedPositionFor = void 0;\n /**\n * Finds all generated line/column positions of the provided source/line/column source position.\n */\n exports.allGeneratedPositionsFor = void 0;\n /**\n * Iterates each mapping in generated position order.\n */\n exports.eachMapping = void 0;\n /**\n * Retrieves the source content for a particular source, if its found. Returns null if not.\n */\n exports.sourceContentFor = void 0;\n /**\n * A helper that skips sorting of the input map's mappings array, which can be expensive for larger\n * maps.\n */\n exports.presortedDecodedMap = void 0;\n /**\n * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.decodedMap = void 0;\n /**\n * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects\n * a sourcemap, or to JSON.stringify.\n */\n exports.encodedMap = void 0;\n class TraceMap {\n constructor(map, mapUrl) {\n const isString = typeof map === 'string';\n if (!isString && map._decodedMemo)\n return map;\n const parsed = (isString ? JSON.parse(map) : map);\n const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n this.version = version;\n this.file = file;\n this.names = names;\n this.sourceRoot = sourceRoot;\n this.sources = sources;\n this.sourcesContent = sourcesContent;\n const from = resolve(sourceRoot || '', stripFilename(mapUrl));\n this.resolvedSources = sources.map((s) => resolve(s || '', from));\n const { mappings } = parsed;\n if (typeof mappings === 'string') {\n this._encoded = mappings;\n this._decoded = undefined;\n }\n else {\n this._encoded = undefined;\n this._decoded = maybeSort(mappings, isString);\n }\n this._decodedMemo = memoizedState();\n this._bySources = undefined;\n this._bySourceMemos = undefined;\n }\n }\n (() => {\n exports.encodedMappings = (map) => {\n var _a;\n return ((_a = map._encoded) !== null && _a !== void 0 ? _a : (map._encoded = sourcemapCodec.encode(map._decoded)));\n };\n exports.decodedMappings = (map) => {\n return (map._decoded || (map._decoded = sourcemapCodec.decode(map._encoded)));\n };\n exports.traceSegment = (map, line, column) => {\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return null;\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, GREATEST_LOWER_BOUND);\n return index === -1 ? null : segments[index];\n };\n exports.originalPositionFor = (map, { line, column, bias }) => {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const decoded = exports.decodedMappings(map);\n // It's common for parent source maps to have pointers to lines that have no\n // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n if (line >= decoded.length)\n return OMapping(null, null, null, null);\n const segments = decoded[line];\n const index = traceSegmentInternal(segments, map._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n if (index === -1)\n return OMapping(null, null, null, null);\n const segment = segments[index];\n if (segment.length === 1)\n return OMapping(null, null, null, null);\n const { names, resolvedSources } = map;\n return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);\n };\n exports.allGeneratedPositionsFor = (map, { source, line, column, bias }) => {\n // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.\n return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);\n };\n exports.generatedPositionFor = (map, { source, line, column, bias }) => {\n return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);\n };\n exports.eachMapping = (map, cb) => {\n const decoded = exports.decodedMappings(map);\n const { names, resolvedSources } = map;\n for (let i = 0; i < decoded.length; i++) {\n const line = decoded[i];\n for (let j = 0; j < line.length; j++) {\n const seg = line[j];\n const generatedLine = i + 1;\n const generatedColumn = seg[0];\n let source = null;\n let originalLine = null;\n let originalColumn = null;\n let name = null;\n if (seg.length !== 1) {\n source = resolvedSources[seg[1]];\n originalLine = seg[2] + 1;\n originalColumn = seg[3];\n }\n if (seg.length === 5)\n name = names[seg[4]];\n cb({\n generatedLine,\n generatedColumn,\n source,\n originalLine,\n originalColumn,\n name,\n });\n }\n }\n };\n exports.sourceContentFor = (map, source) => {\n const { sources, resolvedSources, sourcesContent } = map;\n if (sourcesContent == null)\n return null;\n let index = sources.indexOf(source);\n if (index === -1)\n index = resolvedSources.indexOf(source);\n return index === -1 ? null : sourcesContent[index];\n };\n exports.presortedDecodedMap = (map, mapUrl) => {\n const tracer = new TraceMap(clone(map, []), mapUrl);\n tracer._decoded = map.mappings;\n return tracer;\n };\n exports.decodedMap = (map) => {\n return clone(map, exports.decodedMappings(map));\n };\n exports.encodedMap = (map) => {\n return clone(map, exports.encodedMappings(map));\n };\n function generatedPosition(map, source, line, column, bias, all) {\n line--;\n if (line < 0)\n throw new Error(LINE_GTR_ZERO);\n if (column < 0)\n throw new Error(COL_GTR_EQ_ZERO);\n const { sources, resolvedSources } = map;\n let sourceIndex = sources.indexOf(source);\n if (sourceIndex === -1)\n sourceIndex = resolvedSources.indexOf(source);\n if (sourceIndex === -1)\n return all ? [] : GMapping(null, null);\n const generated = (map._bySources || (map._bySources = buildBySources(exports.decodedMappings(map), (map._bySourceMemos = sources.map(memoizedState)))));\n const segments = generated[sourceIndex][line];\n if (segments == null)\n return all ? [] : GMapping(null, null);\n const memo = map._bySourceMemos[sourceIndex];\n if (all)\n return sliceGeneratedPositions(segments, memo, line, column, bias);\n const index = traceSegmentInternal(segments, memo, line, column, bias);\n if (index === -1)\n return GMapping(null, null);\n const segment = segments[index];\n return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);\n }\n })();\n function clone(map, mappings) {\n return {\n version: map.version,\n file: map.file,\n names: map.names,\n sourceRoot: map.sourceRoot,\n sources: map.sources,\n sourcesContent: map.sourcesContent,\n mappings,\n };\n }\n function OMapping(source, line, column, name) {\n return { source, line, column, name };\n }\n function GMapping(line, column) {\n return { line, column };\n }\n function traceSegmentInternal(segments, memo, line, column, bias) {\n let index = memoizedBinarySearch(segments, column, memo, line);\n if (found) {\n index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n }\n else if (bias === LEAST_UPPER_BOUND)\n index++;\n if (index === -1 || index === segments.length)\n return -1;\n return index;\n }\n function sliceGeneratedPositions(segments, memo, line, column, bias) {\n let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);\n // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in\n // insertion order) segment that matched. Even if we did respect the bias when tracing, we would\n // still need to call `lowerBound()` to find the first segment, which is slower than just looking\n // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the\n // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to\n // match LEAST_UPPER_BOUND.\n if (!found && bias === LEAST_UPPER_BOUND)\n min++;\n if (min === -1 || min === segments.length)\n return [];\n // We may have found the segment that started at an earlier column. If this is the case, then we\n // need to slice all generated segments that match _that_ column, because all such segments span\n // to our desired column.\n const matchedColumn = found ? column : segments[min][COLUMN];\n // The binary search is not guaranteed to find the lower bound when a match wasn't found.\n if (!found)\n min = lowerBound(segments, matchedColumn, min);\n const max = upperBound(segments, matchedColumn, min);\n const result = [];\n for (; min <= max; min++) {\n const segment = segments[min];\n result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));\n }\n return result;\n }\n\n exports.AnyMap = AnyMap;\n exports.GREATEST_LOWER_BOUND = GREATEST_LOWER_BOUND;\n exports.LEAST_UPPER_BOUND = LEAST_UPPER_BOUND;\n exports.TraceMap = TraceMap;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=trace-mapping.umd.js.map\n\n\n//# sourceURL=webpack://v/../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js?");
17949
18050 /***/ }),
18151
@@ -185,7 +55,7 @@ eval("(function (global, factory) {\n true ? factory(exports, __webpack_requ
18555 \***********************************************/
18656 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
18757
188-eval("var __dirname = \"/\";\n(()=>{var e={840:e=>{\"use strict\";function _interpolate(e,r,n){const t=e.match(/(.?\\${*[\\w]*(?::-)?[\\w]*}*)/g)||[];return t.reduce((function(e,o,s){const c=/(.?)\\${*([\\w]*(?::-)?[\\w]*)?}*/g.exec(o);if(!c||c.length===0){return e}const i=c[1];let a,_;if(i===\"\\\\\"){_=c[0];a=_.replace(\"\\\\$\",\"$\")}else{const o=c[2].split(\":-\");const p=o[0];_=c[0].substring(i.length);a=Object.prototype.hasOwnProperty.call(r,p)?r[p]:n.parsed[p]||o[1]||\"\";if(o.length>1&&a){const r=t[s+1];t[s+1]=\"\";e=e.replace(r,\"\")}a=_interpolate(a,r,n)}return e.replace(_,a)}),e)}function expand(e){const r=e.ignoreProcessEnv?{}:process.env;for(const n in e.parsed){const t=Object.prototype.hasOwnProperty.call(r,n)?r[n]:e.parsed[n];e.parsed[n]=_interpolate(t,r,e)}for(const n in e.parsed){r[n]=e.parsed[n]}return e}e.exports.j=expand},358:(e,r,n)=>{var t;const o=n(147);const s=n(17);const c=n(37);function log(e){console.log(`[dotenv][DEBUG] ${e}`)}const i=\"\\n\";const a=/^\\s*([\\w.-]+)\\s*=\\s*(.*)?\\s*$/;const _=/\\\\n/g;const p=/\\r\\n|\\n|\\r/;function parse(e,r){const n=Boolean(r&&r.debug);const t={};e.toString().split(p).forEach((function(e,r){const o=e.match(a);if(o!=null){const e=o[1];let r=o[2]||\"\";const n=r.length-1;const s=r[0]==='\"'&&r[n]==='\"';const c=r[0]===\"'\"&&r[n]===\"'\";if(c||s){r=r.substring(1,n);if(s){r=r.replace(_,i)}}else{r=r.trim()}t[e]=r}else if(n){log(`did not match key and value when parsing line ${r+1}: ${e}`)}}));return t}function resolveHome(e){return e[0]===\"~\"?s.join(c.homedir(),e.slice(1)):e}function config(e){let r=s.resolve(process.cwd(),\".env\");let n=\"utf8\";let t=false;if(e){if(e.path!=null){r=resolveHome(e.path)}if(e.encoding!=null){n=e.encoding}if(e.debug!=null){t=true}}try{const e=parse(o.readFileSync(r,{encoding:n}),{debug:t});Object.keys(e).forEach((function(r){if(!Object.prototype.hasOwnProperty.call(process.env,r)){process.env[r]=e[r]}else if(t){log(`\"${r}\" is already defined in \\`process.env\\` and will not be overwritten`)}}));return{parsed:e}}catch(e){return{error:e}}}t=config;e.exports.Q=parse},147:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'fs'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))},37:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'os'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))},17:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'path'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))}};var r={};function __nccwpck_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={exports:{}};var s=true;try{e[n](o,o.exports,__nccwpck_require__);s=false}finally{if(s)delete r[n]}return o.exports}(()=>{__nccwpck_require__.n=e=>{var r=e&&e.__esModule?()=>e[\"default\"]:()=>e;__nccwpck_require__.d(r,{a:r});return r}})();(()=>{__nccwpck_require__.d=(e,r)=>{for(var n in r){if(__nccwpck_require__.o(r,n)&&!__nccwpck_require__.o(e,n)){Object.defineProperty(e,n,{enumerable:true,get:r[n]})}}}})();(()=>{__nccwpck_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(e,\"__esModule\",{value:true})}})();if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var n={};(()=>{\"use strict\";__nccwpck_require__.r(n);__nccwpck_require__.d(n,{processEnv:()=>processEnv,loadEnvConfig:()=>loadEnvConfig});var e=__nccwpck_require__(147);var r=__nccwpck_require__.n(e);var t=__nccwpck_require__(17);var o=__nccwpck_require__.n(t);var s=__nccwpck_require__(358);var c=__nccwpck_require__(840);let i=undefined;let a=undefined;let _=[];let p=[];function replaceProcessEnv(e){Object.keys(process.env).forEach((r=>{if(e[r]===undefined||e[r]===\"\"){delete process.env[r]}}));Object.entries(e).forEach((([e,r])=>{process.env[e]=r}))}function processEnv(e,r,n=console,o=false){var a;if(!i){i=Object.assign({},process.env)}if(!o&&(process.env.__NEXT_PROCESSED_ENV||e.length===0)){return process.env}process.env.__NEXT_PROCESSED_ENV=\"true\";const _=Object.assign({},i);const l={};for(const o of e){try{let e={};e.parsed=s.Q(o.contents);e=(0,c.j)(e);if(e.parsed&&!p.some((e=>e.contents===o.contents&&e.path===o.path))){n.info(`Loaded env from ${t.join(r||\"\",o.path)}`)}for(const r of Object.keys(e.parsed||{})){if(typeof l[r]===\"undefined\"&&typeof _[r]===\"undefined\"){l[r]=(a=e.parsed)===null||a===void 0?void 0:a[r]}}}catch(e){n.error(`Failed to load env from ${t.join(r||\"\",o.path)}`,e)}}return Object.assign(process.env,l)}function loadEnvConfig(r,n,o=console,s=false){if(!i){i=Object.assign({},process.env)}if(a&&!s){return{combinedEnv:a,loadedEnvFiles:_}}replaceProcessEnv(i);p=_;_=[];const c=\"development\"===\"test\";const l=c?\"test\":n?\"development\":\"production\";const u=[`.env.${l}.local`,l!==\"test\"&&`.env.local`,`.env.${l}`,\".env\"].filter(Boolean);for(const n of u){const s=t.join(r,n);try{const r=e.statSync(s);if(!r.isFile()){continue}const t=e.readFileSync(s,\"utf8\");_.push({path:n,contents:t})}catch(e){if(e.code!==\"ENOENT\"){o.error(`Failed to load env from ${n}`,e)}}}a=processEnv(_,r,o,s);return{combinedEnv:a,loadedEnvFiles:_}}})();module.exports=n})();\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@next/env/dist/index.js?");
58+eval("var __dirname = \"/\";\n(()=>{var e={840:e=>{\"use strict\";function _interpolate(e,r,n){const t=e.match(/(.?\\${*[\\w]*(?::-)?[\\w]*}*)/g)||[];return t.reduce((function(e,o,s){const c=/(.?)\\${*([\\w]*(?::-)?[\\w]*)?}*/g.exec(o);if(!c||c.length===0){return e}const i=c[1];let a,_;if(i===\"\\\\\"){_=c[0];a=_.replace(\"\\\\$\",\"$\")}else{const o=c[2].split(\":-\");const p=o[0];_=c[0].substring(i.length);a=Object.prototype.hasOwnProperty.call(r,p)?r[p]:n.parsed[p]||o[1]||\"\";if(o.length>1&&a){const r=t[s+1];t[s+1]=\"\";e=e.replace(r,\"\")}a=_interpolate(a,r,n)}return e.replace(_,a)}),e)}function expand(e){const r=e.ignoreProcessEnv?{}:process.env;for(const n in e.parsed){const t=Object.prototype.hasOwnProperty.call(r,n)?r[n]:e.parsed[n];e.parsed[n]=_interpolate(t,r,e)}for(const n in e.parsed){r[n]=e.parsed[n]}return e}e.exports.j=expand},358:(e,r,n)=>{var t;const o=n(147);const s=n(17);const c=n(37);function log(e){console.log(`[dotenv][DEBUG] ${e}`)}const i=\"\\n\";const a=/^\\s*([\\w.-]+)\\s*=\\s*(.*)?\\s*$/;const _=/\\\\n/g;const p=/\\r\\n|\\n|\\r/;function parse(e,r){const n=Boolean(r&&r.debug);const t={};e.toString().split(p).forEach((function(e,r){const o=e.match(a);if(o!=null){const e=o[1];let r=o[2]||\"\";const n=r.length-1;const s=r[0]==='\"'&&r[n]==='\"';const c=r[0]===\"'\"&&r[n]===\"'\";if(c||s){r=r.substring(1,n);if(s){r=r.replace(_,i)}}else{r=r.trim()}t[e]=r}else if(n){log(`did not match key and value when parsing line ${r+1}: ${e}`)}}));return t}function resolveHome(e){return e[0]===\"~\"?s.join(c.homedir(),e.slice(1)):e}function config(e){let r=s.resolve(process.cwd(),\".env\");let n=\"utf8\";let t=false;if(e){if(e.path!=null){r=resolveHome(e.path)}if(e.encoding!=null){n=e.encoding}if(e.debug!=null){t=true}}try{const e=parse(o.readFileSync(r,{encoding:n}),{debug:t});Object.keys(e).forEach((function(r){if(!Object.prototype.hasOwnProperty.call(process.env,r)){process.env[r]=e[r]}else if(t){log(`\"${r}\" is already defined in \\`process.env\\` and will not be overwritten`)}}));return{parsed:e}}catch(e){return{error:e}}}t=config;e.exports.Q=parse},147:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'fs'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))},37:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'os'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))},17:e=>{\"use strict\";e.exports=__webpack_require__(Object(function webpackMissingModule() { var e = new Error(\"Cannot find module 'path'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()))}};var r={};function __nccwpck_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={exports:{}};var s=true;try{e[n](o,o.exports,__nccwpck_require__);s=false}finally{if(s)delete r[n]}return o.exports}(()=>{__nccwpck_require__.n=e=>{var r=e&&e.__esModule?()=>e[\"default\"]:()=>e;__nccwpck_require__.d(r,{a:r});return r}})();(()=>{__nccwpck_require__.d=(e,r)=>{for(var n in r){if(__nccwpck_require__.o(r,n)&&!__nccwpck_require__.o(e,n)){Object.defineProperty(e,n,{enumerable:true,get:r[n]})}}}})();(()=>{__nccwpck_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!==\"undefined\"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"})}Object.defineProperty(e,\"__esModule\",{value:true})}})();if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var n={};(()=>{\"use strict\";__nccwpck_require__.r(n);__nccwpck_require__.d(n,{processEnv:()=>processEnv,loadEnvConfig:()=>loadEnvConfig});var e=__nccwpck_require__(147);var r=__nccwpck_require__.n(e);var t=__nccwpck_require__(17);var o=__nccwpck_require__.n(t);var s=__nccwpck_require__(358);var c=__nccwpck_require__(840);let i=undefined;let a=undefined;let _=[];let p=[];function replaceProcessEnv(e){Object.keys(process.env).forEach((r=>{if(e[r]===undefined||e[r]===\"\"){delete process.env[r]}}));Object.entries(e).forEach((([e,r])=>{process.env[e]=r}))}function processEnv(e,r,n=console,o=false){var a;if(!i){i=Object.assign({},process.env)}if(!o&&(process.env.__NEXT_PROCESSED_ENV||e.length===0)){return process.env}process.env.__NEXT_PROCESSED_ENV=\"true\";const _=Object.assign({},i);const l={};for(const o of e){try{let e={};e.parsed=s.Q(o.contents);e=(0,c.j)(e);if(e.parsed&&!p.some((e=>e.contents===o.contents&&e.path===o.path))){n.info(`Loaded env from ${t.join(r||\"\",o.path)}`)}for(const r of Object.keys(e.parsed||{})){if(typeof l[r]===\"undefined\"&&typeof _[r]===\"undefined\"){l[r]=(a=e.parsed)===null||a===void 0?void 0:a[r]}}}catch(e){n.error(`Failed to load env from ${t.join(r||\"\",o.path)}`,e)}}return Object.assign(process.env,l)}function loadEnvConfig(r,n,o=console,s=false){if(!i){i=Object.assign({},process.env)}if(a&&!s){return{combinedEnv:a,loadedEnvFiles:_}}replaceProcessEnv(i);p=_;_=[];const c=\"development\"===\"test\";const l=c?\"test\":n?\"development\":\"production\";const u=[`.env.${l}.local`,l!==\"test\"&&`.env.local`,`.env.${l}`,\".env\"].filter(Boolean);for(const n of u){const s=t.join(r,n);try{const r=e.statSync(s);if(!r.isFile()){continue}const t=e.readFileSync(s,\"utf8\");_.push({path:n,contents:t})}catch(e){if(e.code!==\"ENOENT\"){o.error(`Failed to load env from ${n}`,e)}}}a=processEnv(_,r,o,s);return{combinedEnv:a,loadedEnvFiles:_}}})();module.exports=n})();\n\n//# sourceURL=webpack://v/../node_modules/@next/env/dist/index.js?");
18959
19060 /***/ }),
19161
@@ -196,7 +66,7 @@ eval("var __dirname = \"/\";\n(()=>{var e={840:e=>{\"use strict\";function _inte
19666 /***/ ((__unused_webpack_module, exports) => {
19767
19868 "use strict";
199-eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _asyncToGenerator;\n }\n}));\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction _asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@swc/helpers/lib/_async_to_generator.js?");
69+eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _asyncToGenerator;\n }\n}));\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nfunction _asyncToGenerator(fn) {\n return function() {\n var self = this, args = arguments;\n return new Promise(function(resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}\n\n\n//# sourceURL=webpack://v/../node_modules/@swc/helpers/lib/_async_to_generator.js?");
20070
20171 /***/ }),
20272
@@ -207,7 +77,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
20777 /***/ ((__unused_webpack_module, exports) => {
20878
20979 "use strict";
210-eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _extends;\n }\n}));\nfunction extends_() {\n extends_ = Object.assign || function(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i];\n for(var key in source){\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return extends_.apply(this, arguments);\n}\nfunction _extends() {\n return extends_.apply(this, arguments);\n}\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@swc/helpers/lib/_extends.js?");
80+eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _extends;\n }\n}));\nfunction extends_() {\n extends_ = Object.assign || function(target) {\n for(var i = 1; i < arguments.length; i++){\n var source = arguments[i];\n for(var key in source){\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return extends_.apply(this, arguments);\n}\nfunction _extends() {\n return extends_.apply(this, arguments);\n}\n\n\n//# sourceURL=webpack://v/../node_modules/@swc/helpers/lib/_extends.js?");
21181
21282 /***/ }),
21383
@@ -218,7 +88,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
21888 /***/ ((__unused_webpack_module, exports) => {
21989
22090 "use strict";
221-eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _interopRequireDefault;\n }\n}));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@swc/helpers/lib/_interop_require_default.js?");
91+eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _interopRequireDefault;\n }\n}));\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\n\n//# sourceURL=webpack://v/../node_modules/@swc/helpers/lib/_interop_require_default.js?");
22292
22393 /***/ }),
22494
@@ -229,7 +99,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
22999 /***/ ((__unused_webpack_module, exports) => {
230100
231101 "use strict";
232-eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _interopRequireWildcard;\n }\n}));\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for(var key in obj){\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@swc/helpers/lib/_interop_require_wildcard.js?");
102+eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _interopRequireWildcard;\n }\n}));\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") {\n return {\n default: obj\n };\n }\n var cache = _getRequireWildcardCache(nodeInterop);\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for(var key in obj){\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n newObj.default = obj;\n if (cache) {\n cache.set(obj, newObj);\n }\n return newObj;\n}\n\n\n//# sourceURL=webpack://v/../node_modules/@swc/helpers/lib/_interop_require_wildcard.js?");
233103
234104 /***/ }),
235105
@@ -240,7 +110,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
240110 /***/ ((__unused_webpack_module, exports) => {
241111
242112 "use strict";
243-eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _objectWithoutPropertiesLoose;\n }\n}));\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@swc/helpers/lib/_object_without_properties_loose.js?");
113+eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"default\", ({\n enumerable: true,\n get: function() {\n return _objectWithoutPropertiesLoose;\n }\n}));\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for(i = 0; i < sourceKeys.length; i++){\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\n\n\n//# sourceURL=webpack://v/../node_modules/@swc/helpers/lib/_object_without_properties_loose.js?");
244114
245115 /***/ }),
246116
@@ -251,7 +121,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));
251121 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
252122
253123 "use strict";
254-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"cloneNode\": () => (/* binding */ cloneNode)\n/* harmony export */ });\nfunction cloneNode(n) {\n return Object.assign({}, n);\n}\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/clone.js?");
124+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"cloneNode\": () => (/* binding */ cloneNode)\n/* harmony export */ });\nfunction cloneNode(n) {\n return Object.assign({}, n);\n}\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/clone.js?");
255125
256126 /***/ }),
257127
@@ -262,7 +132,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
262132 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
263133
264134 "use strict";
265-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertData),\n/* harmony export */ \"assertElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobalType),\n/* harmony export */ \"assertHasLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.assertHasLoc),\n/* harmony export */ \"assertIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertMemory),\n/* harmony export */ \"assertModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSignature),\n/* harmony export */ \"assertStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.binaryModule),\n/* harmony export */ \"blockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callInstruction),\n/* harmony export */ \"cloneNode\": () => (/* reexport safe */ _clone__WEBPACK_IMPORTED_MODULE_5__.cloneNode),\n/* harmony export */ \"data\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.data),\n/* harmony export */ \"elem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.elem),\n/* harmony export */ \"floatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.floatLiteral),\n/* harmony export */ \"func\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.func),\n/* harmony export */ \"funcImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.funcImportDescr),\n/* harmony export */ \"funcParam\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.funcParam),\n/* harmony export */ \"functionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.functionNameMetadata),\n/* harmony export */ \"getEndBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndBlockByteOffset),\n/* harmony export */ \"getEndByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndByteOffset),\n/* harmony export */ \"getEndOfSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndOfSection),\n/* harmony export */ \"getFunctionBeginingByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getFunctionBeginingByteOffset),\n/* harmony export */ \"getSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadata),\n/* harmony export */ \"getSectionMetadatas\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadatas),\n/* harmony export */ \"getStartBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartBlockByteOffset),\n/* harmony export */ \"getStartByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartByteOffset),\n/* harmony export */ \"getUniqueNameGenerator\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getUniqueNameGenerator),\n/* harmony export */ \"global\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.global),\n/* harmony export */ \"globalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.globalType),\n/* harmony export */ \"identifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.identifier),\n/* harmony export */ \"ifInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.indexInFuncSection),\n/* harmony export */ \"indexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.indexLiteral),\n/* harmony export */ \"instr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.instr),\n/* harmony export */ \"instruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.instruction),\n/* harmony export */ \"internalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalGoto),\n/* harmony export */ \"isAnonymous\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.isAnonymous),\n/* harmony export */ \"isBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallInstruction),\n/* harmony export */ \"isData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isData),\n/* harmony export */ \"isElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isElem),\n/* harmony export */ \"isExpression\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstr),\n/* harmony export */ \"isInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isMemory),\n/* harmony export */ \"isModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModule),\n/* harmony export */ \"isModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSignature),\n/* harmony export */ \"isStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.leadingComment),\n/* harmony export */ \"limit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.limit),\n/* harmony export */ \"localNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.loopInstruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.memIndexLiteral),\n/* harmony export */ \"memory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.memory),\n/* harmony export */ \"module\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.module),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* reexport safe */ _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__.moduleContextFromModuleAST),\n/* harmony export */ \"moduleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.numberLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.objectInstruction),\n/* harmony export */ \"orderedInsertNode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.orderedInsertNode),\n/* harmony export */ \"producerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.program),\n/* harmony export */ \"quoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.sectionMetadata),\n/* harmony export */ \"shiftLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftLoc),\n/* harmony export */ \"shiftSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftSection),\n/* harmony export */ \"signature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.signature),\n/* harmony export */ \"signatureForOpcode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.signatureForOpcode),\n/* harmony export */ \"signatures\": () => (/* reexport safe */ _signatures__WEBPACK_IMPORTED_MODULE_3__.signatures),\n/* harmony export */ \"sortSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.sortSectionMetadata),\n/* harmony export */ \"start\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.start),\n/* harmony export */ \"stringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.stringLiteral),\n/* harmony export */ \"table\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.table),\n/* harmony export */ \"traverse\": () => (/* reexport safe */ _traverse__WEBPACK_IMPORTED_MODULE_2__.traverse),\n/* harmony export */ \"typeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.valtypeLiteral),\n/* harmony export */ \"withLoc\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withLoc),\n/* harmony export */ \"withRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withRaw)\n/* harmony export */ });\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./nodes */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\n/* harmony import */ var _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node-helpers.js */ \"../node_modules/@webassemblyjs/ast/esm/node-helpers.js\");\n/* harmony import */ var _traverse__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./traverse */ \"../node_modules/@webassemblyjs/ast/esm/traverse.js\");\n/* harmony import */ var _signatures__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./signatures */ \"../node_modules/@webassemblyjs/ast/esm/signatures.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils */ \"../node_modules/@webassemblyjs/ast/esm/utils.js\");\n/* harmony import */ var _clone__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./clone */ \"../node_modules/@webassemblyjs/ast/esm/clone.js\");\n/* harmony import */ var _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./transform/ast-module-to-module-context */ \"../node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js\");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/index.js?");
135+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertData),\n/* harmony export */ \"assertElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertGlobalType),\n/* harmony export */ \"assertHasLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.assertHasLoc),\n/* harmony export */ \"assertIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertMemory),\n/* harmony export */ \"assertModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertSignature),\n/* harmony export */ \"assertStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.binaryModule),\n/* harmony export */ \"blockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.callInstruction),\n/* harmony export */ \"cloneNode\": () => (/* reexport safe */ _clone__WEBPACK_IMPORTED_MODULE_5__.cloneNode),\n/* harmony export */ \"data\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.data),\n/* harmony export */ \"elem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.elem),\n/* harmony export */ \"floatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.floatLiteral),\n/* harmony export */ \"func\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.func),\n/* harmony export */ \"funcImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.funcImportDescr),\n/* harmony export */ \"funcParam\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.funcParam),\n/* harmony export */ \"functionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.functionNameMetadata),\n/* harmony export */ \"getEndBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndBlockByteOffset),\n/* harmony export */ \"getEndByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndByteOffset),\n/* harmony export */ \"getEndOfSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getEndOfSection),\n/* harmony export */ \"getFunctionBeginingByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getFunctionBeginingByteOffset),\n/* harmony export */ \"getSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadata),\n/* harmony export */ \"getSectionMetadatas\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getSectionMetadatas),\n/* harmony export */ \"getStartBlockByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartBlockByteOffset),\n/* harmony export */ \"getStartByteOffset\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getStartByteOffset),\n/* harmony export */ \"getUniqueNameGenerator\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.getUniqueNameGenerator),\n/* harmony export */ \"global\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.global),\n/* harmony export */ \"globalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.globalType),\n/* harmony export */ \"identifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.identifier),\n/* harmony export */ \"ifInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.indexInFuncSection),\n/* harmony export */ \"indexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.indexLiteral),\n/* harmony export */ \"instr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.instr),\n/* harmony export */ \"instruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.instruction),\n/* harmony export */ \"internalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.internalGoto),\n/* harmony export */ \"isAnonymous\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.isAnonymous),\n/* harmony export */ \"isBinaryModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isCallInstruction),\n/* harmony export */ \"isData\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isData),\n/* harmony export */ \"isElem\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isElem),\n/* harmony export */ \"isExpression\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstr),\n/* harmony export */ \"isInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isMemory),\n/* harmony export */ \"isModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModule),\n/* harmony export */ \"isModuleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isSignature),\n/* harmony export */ \"isStart\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.leadingComment),\n/* harmony export */ \"limit\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.limit),\n/* harmony export */ \"localNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.loopInstruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.memIndexLiteral),\n/* harmony export */ \"memory\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.memory),\n/* harmony export */ \"module\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.module),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* reexport safe */ _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__.moduleContextFromModuleAST),\n/* harmony export */ \"moduleExport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.numberLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.objectInstruction),\n/* harmony export */ \"orderedInsertNode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.orderedInsertNode),\n/* harmony export */ \"producerMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.program),\n/* harmony export */ \"quoteModule\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.sectionMetadata),\n/* harmony export */ \"shiftLoc\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftLoc),\n/* harmony export */ \"shiftSection\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.shiftSection),\n/* harmony export */ \"signature\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.signature),\n/* harmony export */ \"signatureForOpcode\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.signatureForOpcode),\n/* harmony export */ \"signatures\": () => (/* reexport safe */ _signatures__WEBPACK_IMPORTED_MODULE_3__.signatures),\n/* harmony export */ \"sortSectionMetadata\": () => (/* reexport safe */ _utils__WEBPACK_IMPORTED_MODULE_4__.sortSectionMetadata),\n/* harmony export */ \"start\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.start),\n/* harmony export */ \"stringLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.stringLiteral),\n/* harmony export */ \"table\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.table),\n/* harmony export */ \"traverse\": () => (/* reexport safe */ _traverse__WEBPACK_IMPORTED_MODULE_2__.traverse),\n/* harmony export */ \"typeInstruction\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* reexport safe */ _nodes__WEBPACK_IMPORTED_MODULE_0__.valtypeLiteral),\n/* harmony export */ \"withLoc\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withLoc),\n/* harmony export */ \"withRaw\": () => (/* reexport safe */ _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__.withRaw)\n/* harmony export */ });\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./nodes */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\n/* harmony import */ var _node_helpers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node-helpers.js */ \"../node_modules/@webassemblyjs/ast/esm/node-helpers.js\");\n/* harmony import */ var _traverse__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./traverse */ \"../node_modules/@webassemblyjs/ast/esm/traverse.js\");\n/* harmony import */ var _signatures__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./signatures */ \"../node_modules/@webassemblyjs/ast/esm/signatures.js\");\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils */ \"../node_modules/@webassemblyjs/ast/esm/utils.js\");\n/* harmony import */ var _clone__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./clone */ \"../node_modules/@webassemblyjs/ast/esm/clone.js\");\n/* harmony import */ var _transform_ast_module_to_module_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./transform/ast-module-to-module-context */ \"../node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js\");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/index.js?");
266136
267137 /***/ }),
268138
@@ -273,7 +143,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
273143 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
274144
275145 "use strict";
276-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"funcParam\": () => (/* binding */ funcParam),\n/* harmony export */ \"indexLiteral\": () => (/* binding */ indexLiteral),\n/* harmony export */ \"instruction\": () => (/* binding */ instruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* binding */ memIndexLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* binding */ numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* binding */ objectInstruction),\n/* harmony export */ \"withLoc\": () => (/* binding */ withLoc),\n/* harmony export */ \"withRaw\": () => (/* binding */ withRaw)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/helper-numbers */ \"../node_modules/@webassemblyjs/helper-numbers/esm/index.js\");\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nodes */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\n\n\nfunction numberLiteralFromRaw(rawValue) {\n var instructionType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"i32\";\n var original = rawValue; // Remove numeric separators _\n\n if (typeof rawValue === \"string\") {\n rawValue = rawValue.replace(/_/g, \"\");\n }\n\n if (typeof rawValue === \"number\") {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)(rawValue, String(original));\n } else {\n switch (instructionType) {\n case \"i32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32I)(rawValue), String(original));\n }\n\n case \"u32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parseU32)(rawValue), String(original));\n }\n\n case \"i64\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.longNumberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64I)(rawValue), String(original));\n }\n\n case \"f32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n // f64\n\n default:\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n }\n }\n}\nfunction instruction(id) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var namedArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, undefined, args, namedArgs);\n}\nfunction objectInstruction(id, object) {\n var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var namedArgs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, object, args, namedArgs);\n}\n/**\n * Decorators\n */\n\nfunction withLoc(n, end, start) {\n var loc = {\n start: start,\n end: end\n };\n n.loc = loc;\n return n;\n}\nfunction withRaw(n, raw) {\n n.raw = raw;\n return n;\n}\nfunction funcParam(valtype, id) {\n return {\n id: id,\n valtype: valtype\n };\n}\nfunction indexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\nfunction memIndexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/node-helpers.js?");
146+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"funcParam\": () => (/* binding */ funcParam),\n/* harmony export */ \"indexLiteral\": () => (/* binding */ indexLiteral),\n/* harmony export */ \"instruction\": () => (/* binding */ instruction),\n/* harmony export */ \"memIndexLiteral\": () => (/* binding */ memIndexLiteral),\n/* harmony export */ \"numberLiteralFromRaw\": () => (/* binding */ numberLiteralFromRaw),\n/* harmony export */ \"objectInstruction\": () => (/* binding */ objectInstruction),\n/* harmony export */ \"withLoc\": () => (/* binding */ withLoc),\n/* harmony export */ \"withRaw\": () => (/* binding */ withRaw)\n/* harmony export */ });\n/* harmony import */ var _webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @webassemblyjs/helper-numbers */ \"../node_modules/@webassemblyjs/helper-numbers/esm/index.js\");\n/* harmony import */ var _nodes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./nodes */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\n\n\nfunction numberLiteralFromRaw(rawValue) {\n var instructionType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"i32\";\n var original = rawValue; // Remove numeric separators _\n\n if (typeof rawValue === \"string\") {\n rawValue = rawValue.replace(/_/g, \"\");\n }\n\n if (typeof rawValue === \"number\") {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)(rawValue, String(original));\n } else {\n switch (instructionType) {\n case \"i32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32I)(rawValue), String(original));\n }\n\n case \"u32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.numberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parseU32)(rawValue), String(original));\n }\n\n case \"i64\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.longNumberLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64I)(rawValue), String(original));\n }\n\n case \"f32\":\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse32F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n // f64\n\n default:\n {\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.floatLiteral)((0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.parse64F)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isNanLiteral)(rawValue), (0,_webassemblyjs_helper_numbers__WEBPACK_IMPORTED_MODULE_0__.isInfLiteral)(rawValue), String(original));\n }\n }\n }\n}\nfunction instruction(id) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var namedArgs = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, undefined, args, namedArgs);\n}\nfunction objectInstruction(id, object) {\n var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var namedArgs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n return (0,_nodes__WEBPACK_IMPORTED_MODULE_1__.instr)(id, object, args, namedArgs);\n}\n/**\n * Decorators\n */\n\nfunction withLoc(n, end, start) {\n var loc = {\n start: start,\n end: end\n };\n n.loc = loc;\n return n;\n}\nfunction withRaw(n, raw) {\n n.raw = raw;\n return n;\n}\nfunction funcParam(valtype, id) {\n return {\n id: id,\n valtype: valtype\n };\n}\nfunction indexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\nfunction memIndexLiteral(value) {\n // $FlowIgnore\n var x = numberLiteralFromRaw(value, \"u32\");\n return x;\n}\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/node-helpers.js?");
277147
278148 /***/ }),
279149
@@ -284,7 +154,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
284154 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
285155
286156 "use strict";
287-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"createPath\": () => (/* binding */ createPath)\n/* harmony export */ });\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction findParent(_ref, cb) {\n var parentPath = _ref.parentPath;\n\n if (parentPath == null) {\n throw new Error(\"node is root\");\n }\n\n var currentPath = parentPath;\n\n while (cb(currentPath) !== false) {\n // Hit the root node, stop\n // $FlowIgnore\n if (currentPath.parentPath == null) {\n return null;\n } // $FlowIgnore\n\n\n currentPath = currentPath.parentPath;\n }\n\n return currentPath.node;\n}\n\nfunction insertBefore(context, newNode) {\n return insert(context, newNode);\n}\n\nfunction insertAfter(context, newNode) {\n return insert(context, newNode, 1);\n}\n\nfunction insert(_ref2, newNode) {\n var node = _ref2.node,\n inList = _ref2.inList,\n parentPath = _ref2.parentPath,\n parentKey = _ref2.parentKey;\n var indexOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n if (!inList) {\n throw new Error('inList' + \" error: \" + (\"insert can only be used for nodes that are within lists\" || 0));\n }\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentList = parentPath.node[parentKey];\n var indexInList = parentList.findIndex(function (n) {\n return n === node;\n });\n parentList.splice(indexInList + indexOffset, 0, newNode);\n}\n\nfunction remove(_ref3) {\n var node = _ref3.node,\n parentKey = _ref3.parentKey,\n parentPath = _ref3.parentPath;\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentNode = parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[parentKey];\n\n if (Array.isArray(parentProperty)) {\n // $FlowIgnore\n parentNode[parentKey] = parentProperty.filter(function (n) {\n return n !== node;\n });\n } else {\n // $FlowIgnore\n delete parentNode[parentKey];\n }\n\n node._deleted = true;\n}\n\nfunction stop(context) {\n context.shouldStop = true;\n}\n\nfunction replaceWith(context, newNode) {\n // $FlowIgnore\n var parentNode = context.parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[context.parentKey];\n\n if (Array.isArray(parentProperty)) {\n var indexInList = parentProperty.findIndex(function (n) {\n return n === context.node;\n });\n parentProperty.splice(indexInList, 1, newNode);\n } else {\n // $FlowIgnore\n parentNode[context.parentKey] = newNode;\n }\n\n context.node._deleted = true;\n context.node = newNode;\n} // bind the context to the first argument of node operations\n\n\nfunction bindNodeOperations(operations, context) {\n var keys = Object.keys(operations);\n var boundOperations = {};\n keys.forEach(function (key) {\n boundOperations[key] = operations[key].bind(null, context);\n });\n return boundOperations;\n}\n\nfunction createPathOperations(context) {\n // $FlowIgnore\n return bindNodeOperations({\n findParent: findParent,\n replaceWith: replaceWith,\n remove: remove,\n insertBefore: insertBefore,\n insertAfter: insertAfter,\n stop: stop\n }, context);\n}\n\nfunction createPath(context) {\n var path = _extends({}, context); // $FlowIgnore\n\n\n Object.assign(path, createPathOperations(path)); // $FlowIgnore\n\n return path;\n}\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/node-path.js?");
157+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"createPath\": () => (/* binding */ createPath)\n/* harmony export */ });\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction findParent(_ref, cb) {\n var parentPath = _ref.parentPath;\n\n if (parentPath == null) {\n throw new Error(\"node is root\");\n }\n\n var currentPath = parentPath;\n\n while (cb(currentPath) !== false) {\n // Hit the root node, stop\n // $FlowIgnore\n if (currentPath.parentPath == null) {\n return null;\n } // $FlowIgnore\n\n\n currentPath = currentPath.parentPath;\n }\n\n return currentPath.node;\n}\n\nfunction insertBefore(context, newNode) {\n return insert(context, newNode);\n}\n\nfunction insertAfter(context, newNode) {\n return insert(context, newNode, 1);\n}\n\nfunction insert(_ref2, newNode) {\n var node = _ref2.node,\n inList = _ref2.inList,\n parentPath = _ref2.parentPath,\n parentKey = _ref2.parentKey;\n var indexOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n if (!inList) {\n throw new Error('inList' + \" error: \" + (\"insert can only be used for nodes that are within lists\" || 0));\n }\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentList = parentPath.node[parentKey];\n var indexInList = parentList.findIndex(function (n) {\n return n === node;\n });\n parentList.splice(indexInList + indexOffset, 0, newNode);\n}\n\nfunction remove(_ref3) {\n var node = _ref3.node,\n parentKey = _ref3.parentKey,\n parentPath = _ref3.parentPath;\n\n if (!(parentPath != null)) {\n throw new Error('parentPath != null' + \" error: \" + (\"Can not remove root node\" || 0));\n }\n\n // $FlowIgnore\n var parentNode = parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[parentKey];\n\n if (Array.isArray(parentProperty)) {\n // $FlowIgnore\n parentNode[parentKey] = parentProperty.filter(function (n) {\n return n !== node;\n });\n } else {\n // $FlowIgnore\n delete parentNode[parentKey];\n }\n\n node._deleted = true;\n}\n\nfunction stop(context) {\n context.shouldStop = true;\n}\n\nfunction replaceWith(context, newNode) {\n // $FlowIgnore\n var parentNode = context.parentPath.node; // $FlowIgnore\n\n var parentProperty = parentNode[context.parentKey];\n\n if (Array.isArray(parentProperty)) {\n var indexInList = parentProperty.findIndex(function (n) {\n return n === context.node;\n });\n parentProperty.splice(indexInList, 1, newNode);\n } else {\n // $FlowIgnore\n parentNode[context.parentKey] = newNode;\n }\n\n context.node._deleted = true;\n context.node = newNode;\n} // bind the context to the first argument of node operations\n\n\nfunction bindNodeOperations(operations, context) {\n var keys = Object.keys(operations);\n var boundOperations = {};\n keys.forEach(function (key) {\n boundOperations[key] = operations[key].bind(null, context);\n });\n return boundOperations;\n}\n\nfunction createPathOperations(context) {\n // $FlowIgnore\n return bindNodeOperations({\n findParent: findParent,\n replaceWith: replaceWith,\n remove: remove,\n insertBefore: insertBefore,\n insertAfter: insertAfter,\n stop: stop\n }, context);\n}\n\nfunction createPath(context) {\n var path = _extends({}, context); // $FlowIgnore\n\n\n Object.assign(path, createPathOperations(path)); // $FlowIgnore\n\n return path;\n}\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/node-path.js?");
288158
289159 /***/ }),
290160
@@ -295,7 +165,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
295165 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
296166
297167 "use strict";
298-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* binding */ assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* binding */ assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* binding */ assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* binding */ assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* binding */ assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* binding */ assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* binding */ assertData),\n/* harmony export */ \"assertElem\": () => (/* binding */ assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* binding */ assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* binding */ assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* binding */ assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* binding */ assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* binding */ assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* binding */ assertGlobalType),\n/* harmony export */ \"assertIdentifier\": () => (/* binding */ assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* binding */ assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* binding */ assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* binding */ assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* binding */ assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* binding */ assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* binding */ assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* binding */ assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* binding */ assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* binding */ assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* binding */ assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* binding */ assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* binding */ assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* binding */ assertMemory),\n/* harmony export */ \"assertModule\": () => (/* binding */ assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* binding */ assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* binding */ assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* binding */ assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* binding */ assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* binding */ assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* binding */ assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* binding */ assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* binding */ assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* binding */ assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* binding */ assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* binding */ assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* binding */ assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* binding */ assertSignature),\n/* harmony export */ \"assertStart\": () => (/* binding */ assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* binding */ assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* binding */ assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* binding */ assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* binding */ assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* binding */ binaryModule),\n/* harmony export */ \"blockComment\": () => (/* binding */ blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* binding */ blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* binding */ byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* binding */ callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* binding */ callInstruction),\n/* harmony export */ \"data\": () => (/* binding */ data),\n/* harmony export */ \"elem\": () => (/* binding */ elem),\n/* harmony export */ \"floatLiteral\": () => (/* binding */ floatLiteral),\n/* harmony export */ \"func\": () => (/* binding */ func),\n/* harmony export */ \"funcImportDescr\": () => (/* binding */ funcImportDescr),\n/* harmony export */ \"functionNameMetadata\": () => (/* binding */ functionNameMetadata),\n/* harmony export */ \"global\": () => (/* binding */ global),\n/* harmony export */ \"globalType\": () => (/* binding */ globalType),\n/* harmony export */ \"identifier\": () => (/* binding */ identifier),\n/* harmony export */ \"ifInstruction\": () => (/* binding */ ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* binding */ indexInFuncSection),\n/* harmony export */ \"instr\": () => (/* binding */ instr),\n/* harmony export */ \"internalBrUnless\": () => (/* binding */ internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* binding */ internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* binding */ internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* binding */ internalGoto),\n/* harmony export */ \"isBinaryModule\": () => (/* binding */ isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* binding */ isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* binding */ isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* binding */ isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* binding */ isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* binding */ isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* binding */ isCallInstruction),\n/* harmony export */ \"isData\": () => (/* binding */ isData),\n/* harmony export */ \"isElem\": () => (/* binding */ isElem),\n/* harmony export */ \"isExpression\": () => (/* binding */ isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* binding */ isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* binding */ isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* binding */ isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* binding */ isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* binding */ isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* binding */ isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* binding */ isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* binding */ isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* binding */ isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* binding */ isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* binding */ isInstr),\n/* harmony export */ \"isInstruction\": () => (/* binding */ isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* binding */ isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* binding */ isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* binding */ isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* binding */ isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* binding */ isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* binding */ isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* binding */ isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* binding */ isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* binding */ isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* binding */ isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* binding */ isMemory),\n/* harmony export */ \"isModule\": () => (/* binding */ isModule),\n/* harmony export */ \"isModuleExport\": () => (/* binding */ isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* binding */ isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* binding */ isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* binding */ isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* binding */ isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* binding */ isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* binding */ isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* binding */ isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* binding */ isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* binding */ isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* binding */ isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* binding */ isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* binding */ isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* binding */ isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* binding */ isSignature),\n/* harmony export */ \"isStart\": () => (/* binding */ isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* binding */ isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* binding */ isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* binding */ isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* binding */ isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* binding */ leadingComment),\n/* harmony export */ \"limit\": () => (/* binding */ limit),\n/* harmony export */ \"localNameMetadata\": () => (/* binding */ localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* binding */ longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* binding */ loopInstruction),\n/* harmony export */ \"memory\": () => (/* binding */ memory),\n/* harmony export */ \"module\": () => (/* binding */ module),\n/* harmony export */ \"moduleExport\": () => (/* binding */ moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* binding */ moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* binding */ moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* binding */ moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* binding */ moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* binding */ nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* binding */ numberLiteral),\n/* harmony export */ \"producerMetadata\": () => (/* binding */ producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* binding */ producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* binding */ producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* binding */ program),\n/* harmony export */ \"quoteModule\": () => (/* binding */ quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* binding */ sectionMetadata),\n/* harmony export */ \"signature\": () => (/* binding */ signature),\n/* harmony export */ \"start\": () => (/* binding */ start),\n/* harmony export */ \"stringLiteral\": () => (/* binding */ stringLiteral),\n/* harmony export */ \"table\": () => (/* binding */ table),\n/* harmony export */ \"typeInstruction\": () => (/* binding */ typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* binding */ unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* binding */ valtypeLiteral)\n/* harmony export */ });\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n// THIS FILE IS AUTOGENERATED\n// see scripts/generateNodeUtils.js\nfunction isTypeOf(t) {\n return function (n) {\n return n.type === t;\n };\n}\n\nfunction assertTypeOf(t) {\n return function (n) {\n return function () {\n if (!(n.type === t)) {\n throw new Error('n.type === t' + \" error: \" + ( false || \"unknown\"));\n }\n }();\n };\n}\n\nfunction module(id, fields, metadata) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(fields) === \"object\" && typeof fields.length !== \"undefined\")) {\n throw new Error('typeof fields === \"object\" && typeof fields.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Module\",\n id: id,\n fields: fields\n };\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction moduleMetadata(sections, functionNames, localNames, producers) {\n if (!(_typeof(sections) === \"object\" && typeof sections.length !== \"undefined\")) {\n throw new Error('typeof sections === \"object\" && typeof sections.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (functionNames !== null && functionNames !== undefined) {\n if (!(_typeof(functionNames) === \"object\" && typeof functionNames.length !== \"undefined\")) {\n throw new Error('typeof functionNames === \"object\" && typeof functionNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (localNames !== null && localNames !== undefined) {\n if (!(_typeof(localNames) === \"object\" && typeof localNames.length !== \"undefined\")) {\n throw new Error('typeof localNames === \"object\" && typeof localNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (producers !== null && producers !== undefined) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"ModuleMetadata\",\n sections: sections\n };\n\n if (typeof functionNames !== \"undefined\" && functionNames.length > 0) {\n node.functionNames = functionNames;\n }\n\n if (typeof localNames !== \"undefined\" && localNames.length > 0) {\n node.localNames = localNames;\n }\n\n if (typeof producers !== \"undefined\" && producers.length > 0) {\n node.producers = producers;\n }\n\n return node;\n}\nfunction moduleNameMetadata(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"ModuleNameMetadata\",\n value: value\n };\n return node;\n}\nfunction functionNameMetadata(value, index) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof index === \"number\")) {\n throw new Error('typeof index === \"number\"' + \" error: \" + (\"Argument index must be of type number, given: \" + _typeof(index) || 0));\n }\n\n var node = {\n type: \"FunctionNameMetadata\",\n value: value,\n index: index\n };\n return node;\n}\nfunction localNameMetadata(value, localIndex, functionIndex) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof localIndex === \"number\")) {\n throw new Error('typeof localIndex === \"number\"' + \" error: \" + (\"Argument localIndex must be of type number, given: \" + _typeof(localIndex) || 0));\n }\n\n if (!(typeof functionIndex === \"number\")) {\n throw new Error('typeof functionIndex === \"number\"' + \" error: \" + (\"Argument functionIndex must be of type number, given: \" + _typeof(functionIndex) || 0));\n }\n\n var node = {\n type: \"LocalNameMetadata\",\n value: value,\n localIndex: localIndex,\n functionIndex: functionIndex\n };\n return node;\n}\nfunction binaryModule(id, blob) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(blob) === \"object\" && typeof blob.length !== \"undefined\")) {\n throw new Error('typeof blob === \"object\" && typeof blob.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BinaryModule\",\n id: id,\n blob: blob\n };\n return node;\n}\nfunction quoteModule(id, string) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(string) === \"object\" && typeof string.length !== \"undefined\")) {\n throw new Error('typeof string === \"object\" && typeof string.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"QuoteModule\",\n id: id,\n string: string\n };\n return node;\n}\nfunction sectionMetadata(section, startOffset, size, vectorOfSize) {\n if (!(typeof startOffset === \"number\")) {\n throw new Error('typeof startOffset === \"number\"' + \" error: \" + (\"Argument startOffset must be of type number, given: \" + _typeof(startOffset) || 0));\n }\n\n var node = {\n type: \"SectionMetadata\",\n section: section,\n startOffset: startOffset,\n size: size,\n vectorOfSize: vectorOfSize\n };\n return node;\n}\nfunction producersSectionMetadata(producers) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducersSectionMetadata\",\n producers: producers\n };\n return node;\n}\nfunction producerMetadata(language, processedBy, sdk) {\n if (!(_typeof(language) === \"object\" && typeof language.length !== \"undefined\")) {\n throw new Error('typeof language === \"object\" && typeof language.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(processedBy) === \"object\" && typeof processedBy.length !== \"undefined\")) {\n throw new Error('typeof processedBy === \"object\" && typeof processedBy.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(sdk) === \"object\" && typeof sdk.length !== \"undefined\")) {\n throw new Error('typeof sdk === \"object\" && typeof sdk.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducerMetadata\",\n language: language,\n processedBy: processedBy,\n sdk: sdk\n };\n return node;\n}\nfunction producerMetadataVersionedName(name, version) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n if (!(typeof version === \"string\")) {\n throw new Error('typeof version === \"string\"' + \" error: \" + (\"Argument version must be of type string, given: \" + _typeof(version) || 0));\n }\n\n var node = {\n type: \"ProducerMetadataVersionedName\",\n name: name,\n version: version\n };\n return node;\n}\nfunction loopInstruction(label, resulttype, instr) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"LoopInstruction\",\n id: \"loop\",\n label: label,\n resulttype: resulttype,\n instr: instr\n };\n return node;\n}\nfunction instr(id, object, args, namedArgs) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n\n if (!(_typeof(args) === \"object\" && typeof args.length !== \"undefined\")) {\n throw new Error('typeof args === \"object\" && typeof args.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Instr\",\n id: id,\n args: args\n };\n\n if (typeof object !== \"undefined\") {\n node.object = object;\n }\n\n if (typeof namedArgs !== \"undefined\" && Object.keys(namedArgs).length !== 0) {\n node.namedArgs = namedArgs;\n }\n\n return node;\n}\nfunction ifInstruction(testLabel, test, result, consequent, alternate) {\n if (!(_typeof(test) === \"object\" && typeof test.length !== \"undefined\")) {\n throw new Error('typeof test === \"object\" && typeof test.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(consequent) === \"object\" && typeof consequent.length !== \"undefined\")) {\n throw new Error('typeof consequent === \"object\" && typeof consequent.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(alternate) === \"object\" && typeof alternate.length !== \"undefined\")) {\n throw new Error('typeof alternate === \"object\" && typeof alternate.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"IfInstruction\",\n id: \"if\",\n testLabel: testLabel,\n test: test,\n result: result,\n consequent: consequent,\n alternate: alternate\n };\n return node;\n}\nfunction stringLiteral(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"StringLiteral\",\n value: value\n };\n return node;\n}\nfunction numberLiteral(value, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"NumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction longNumberLiteral(value, raw) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"LongNumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction floatLiteral(value, nan, inf, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (nan !== null && nan !== undefined) {\n if (!(typeof nan === \"boolean\")) {\n throw new Error('typeof nan === \"boolean\"' + \" error: \" + (\"Argument nan must be of type boolean, given: \" + _typeof(nan) || 0));\n }\n }\n\n if (inf !== null && inf !== undefined) {\n if (!(typeof inf === \"boolean\")) {\n throw new Error('typeof inf === \"boolean\"' + \" error: \" + (\"Argument inf must be of type boolean, given: \" + _typeof(inf) || 0));\n }\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"FloatLiteral\",\n value: value,\n raw: raw\n };\n\n if (nan === true) {\n node.nan = true;\n }\n\n if (inf === true) {\n node.inf = true;\n }\n\n return node;\n}\nfunction elem(table, offset, funcs) {\n if (!(_typeof(offset) === \"object\" && typeof offset.length !== \"undefined\")) {\n throw new Error('typeof offset === \"object\" && typeof offset.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(funcs) === \"object\" && typeof funcs.length !== \"undefined\")) {\n throw new Error('typeof funcs === \"object\" && typeof funcs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Elem\",\n table: table,\n offset: offset,\n funcs: funcs\n };\n return node;\n}\nfunction indexInFuncSection(index) {\n var node = {\n type: \"IndexInFuncSection\",\n index: index\n };\n return node;\n}\nfunction valtypeLiteral(name) {\n var node = {\n type: \"ValtypeLiteral\",\n name: name\n };\n return node;\n}\nfunction typeInstruction(id, functype) {\n var node = {\n type: \"TypeInstruction\",\n id: id,\n functype: functype\n };\n return node;\n}\nfunction start(index) {\n var node = {\n type: \"Start\",\n index: index\n };\n return node;\n}\nfunction globalType(valtype, mutability) {\n var node = {\n type: \"GlobalType\",\n valtype: valtype,\n mutability: mutability\n };\n return node;\n}\nfunction leadingComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"LeadingComment\",\n value: value\n };\n return node;\n}\nfunction blockComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"BlockComment\",\n value: value\n };\n return node;\n}\nfunction data(memoryIndex, offset, init) {\n var node = {\n type: \"Data\",\n memoryIndex: memoryIndex,\n offset: offset,\n init: init\n };\n return node;\n}\nfunction global(globalType, init, name) {\n if (!(_typeof(init) === \"object\" && typeof init.length !== \"undefined\")) {\n throw new Error('typeof init === \"object\" && typeof init.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Global\",\n globalType: globalType,\n init: init,\n name: name\n };\n return node;\n}\nfunction table(elementType, limits, name, elements) {\n if (!(limits.type === \"Limit\")) {\n throw new Error('limits.type === \"Limit\"' + \" error: \" + (\"Argument limits must be of type Limit, given: \" + limits.type || 0));\n }\n\n if (elements !== null && elements !== undefined) {\n if (!(_typeof(elements) === \"object\" && typeof elements.length !== \"undefined\")) {\n throw new Error('typeof elements === \"object\" && typeof elements.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"Table\",\n elementType: elementType,\n limits: limits,\n name: name\n };\n\n if (typeof elements !== \"undefined\" && elements.length > 0) {\n node.elements = elements;\n }\n\n return node;\n}\nfunction memory(limits, id) {\n var node = {\n type: \"Memory\",\n limits: limits,\n id: id\n };\n return node;\n}\nfunction funcImportDescr(id, signature) {\n var node = {\n type: \"FuncImportDescr\",\n id: id,\n signature: signature\n };\n return node;\n}\nfunction moduleImport(module, name, descr) {\n if (!(typeof module === \"string\")) {\n throw new Error('typeof module === \"string\"' + \" error: \" + (\"Argument module must be of type string, given: \" + _typeof(module) || 0));\n }\n\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleImport\",\n module: module,\n name: name,\n descr: descr\n };\n return node;\n}\nfunction moduleExportDescr(exportType, id) {\n var node = {\n type: \"ModuleExportDescr\",\n exportType: exportType,\n id: id\n };\n return node;\n}\nfunction moduleExport(name, descr) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleExport\",\n name: name,\n descr: descr\n };\n return node;\n}\nfunction limit(min, max, shared) {\n if (!(typeof min === \"number\")) {\n throw new Error('typeof min === \"number\"' + \" error: \" + (\"Argument min must be of type number, given: \" + _typeof(min) || 0));\n }\n\n if (max !== null && max !== undefined) {\n if (!(typeof max === \"number\")) {\n throw new Error('typeof max === \"number\"' + \" error: \" + (\"Argument max must be of type number, given: \" + _typeof(max) || 0));\n }\n }\n\n if (shared !== null && shared !== undefined) {\n if (!(typeof shared === \"boolean\")) {\n throw new Error('typeof shared === \"boolean\"' + \" error: \" + (\"Argument shared must be of type boolean, given: \" + _typeof(shared) || 0));\n }\n }\n\n var node = {\n type: \"Limit\",\n min: min\n };\n\n if (typeof max !== \"undefined\") {\n node.max = max;\n }\n\n if (shared === true) {\n node.shared = true;\n }\n\n return node;\n}\nfunction signature(params, results) {\n if (!(_typeof(params) === \"object\" && typeof params.length !== \"undefined\")) {\n throw new Error('typeof params === \"object\" && typeof params.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(results) === \"object\" && typeof results.length !== \"undefined\")) {\n throw new Error('typeof results === \"object\" && typeof results.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Signature\",\n params: params,\n results: results\n };\n return node;\n}\nfunction program(body) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Program\",\n body: body\n };\n return node;\n}\nfunction identifier(value, raw) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (raw !== null && raw !== undefined) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n }\n\n var node = {\n type: \"Identifier\",\n value: value\n };\n\n if (typeof raw !== \"undefined\") {\n node.raw = raw;\n }\n\n return node;\n}\nfunction blockInstruction(label, instr, result) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BlockInstruction\",\n id: \"block\",\n label: label,\n instr: instr,\n result: result\n };\n return node;\n}\nfunction callInstruction(index, instrArgs, numeric) {\n if (instrArgs !== null && instrArgs !== undefined) {\n if (!(_typeof(instrArgs) === \"object\" && typeof instrArgs.length !== \"undefined\")) {\n throw new Error('typeof instrArgs === \"object\" && typeof instrArgs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallInstruction\",\n id: \"call\",\n index: index\n };\n\n if (typeof instrArgs !== \"undefined\" && instrArgs.length > 0) {\n node.instrArgs = instrArgs;\n }\n\n if (typeof numeric !== \"undefined\") {\n node.numeric = numeric;\n }\n\n return node;\n}\nfunction callIndirectInstruction(signature, intrs) {\n if (intrs !== null && intrs !== undefined) {\n if (!(_typeof(intrs) === \"object\" && typeof intrs.length !== \"undefined\")) {\n throw new Error('typeof intrs === \"object\" && typeof intrs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallIndirectInstruction\",\n id: \"call_indirect\",\n signature: signature\n };\n\n if (typeof intrs !== \"undefined\" && intrs.length > 0) {\n node.intrs = intrs;\n }\n\n return node;\n}\nfunction byteArray(values) {\n if (!(_typeof(values) === \"object\" && typeof values.length !== \"undefined\")) {\n throw new Error('typeof values === \"object\" && typeof values.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ByteArray\",\n values: values\n };\n return node;\n}\nfunction func(name, signature, body, isExternal, metadata) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (isExternal !== null && isExternal !== undefined) {\n if (!(typeof isExternal === \"boolean\")) {\n throw new Error('typeof isExternal === \"boolean\"' + \" error: \" + (\"Argument isExternal must be of type boolean, given: \" + _typeof(isExternal) || 0));\n }\n }\n\n var node = {\n type: \"Func\",\n name: name,\n signature: signature,\n body: body\n };\n\n if (isExternal === true) {\n node.isExternal = true;\n }\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction internalBrUnless(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalBrUnless\",\n target: target\n };\n return node;\n}\nfunction internalGoto(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalGoto\",\n target: target\n };\n return node;\n}\nfunction internalCallExtern(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalCallExtern\",\n target: target\n };\n return node;\n}\nfunction internalEndAndReturn() {\n var node = {\n type: \"InternalEndAndReturn\"\n };\n return node;\n}\nvar isModule = isTypeOf(\"Module\");\nvar isModuleMetadata = isTypeOf(\"ModuleMetadata\");\nvar isModuleNameMetadata = isTypeOf(\"ModuleNameMetadata\");\nvar isFunctionNameMetadata = isTypeOf(\"FunctionNameMetadata\");\nvar isLocalNameMetadata = isTypeOf(\"LocalNameMetadata\");\nvar isBinaryModule = isTypeOf(\"BinaryModule\");\nvar isQuoteModule = isTypeOf(\"QuoteModule\");\nvar isSectionMetadata = isTypeOf(\"SectionMetadata\");\nvar isProducersSectionMetadata = isTypeOf(\"ProducersSectionMetadata\");\nvar isProducerMetadata = isTypeOf(\"ProducerMetadata\");\nvar isProducerMetadataVersionedName = isTypeOf(\"ProducerMetadataVersionedName\");\nvar isLoopInstruction = isTypeOf(\"LoopInstruction\");\nvar isInstr = isTypeOf(\"Instr\");\nvar isIfInstruction = isTypeOf(\"IfInstruction\");\nvar isStringLiteral = isTypeOf(\"StringLiteral\");\nvar isNumberLiteral = isTypeOf(\"NumberLiteral\");\nvar isLongNumberLiteral = isTypeOf(\"LongNumberLiteral\");\nvar isFloatLiteral = isTypeOf(\"FloatLiteral\");\nvar isElem = isTypeOf(\"Elem\");\nvar isIndexInFuncSection = isTypeOf(\"IndexInFuncSection\");\nvar isValtypeLiteral = isTypeOf(\"ValtypeLiteral\");\nvar isTypeInstruction = isTypeOf(\"TypeInstruction\");\nvar isStart = isTypeOf(\"Start\");\nvar isGlobalType = isTypeOf(\"GlobalType\");\nvar isLeadingComment = isTypeOf(\"LeadingComment\");\nvar isBlockComment = isTypeOf(\"BlockComment\");\nvar isData = isTypeOf(\"Data\");\nvar isGlobal = isTypeOf(\"Global\");\nvar isTable = isTypeOf(\"Table\");\nvar isMemory = isTypeOf(\"Memory\");\nvar isFuncImportDescr = isTypeOf(\"FuncImportDescr\");\nvar isModuleImport = isTypeOf(\"ModuleImport\");\nvar isModuleExportDescr = isTypeOf(\"ModuleExportDescr\");\nvar isModuleExport = isTypeOf(\"ModuleExport\");\nvar isLimit = isTypeOf(\"Limit\");\nvar isSignature = isTypeOf(\"Signature\");\nvar isProgram = isTypeOf(\"Program\");\nvar isIdentifier = isTypeOf(\"Identifier\");\nvar isBlockInstruction = isTypeOf(\"BlockInstruction\");\nvar isCallInstruction = isTypeOf(\"CallInstruction\");\nvar isCallIndirectInstruction = isTypeOf(\"CallIndirectInstruction\");\nvar isByteArray = isTypeOf(\"ByteArray\");\nvar isFunc = isTypeOf(\"Func\");\nvar isInternalBrUnless = isTypeOf(\"InternalBrUnless\");\nvar isInternalGoto = isTypeOf(\"InternalGoto\");\nvar isInternalCallExtern = isTypeOf(\"InternalCallExtern\");\nvar isInternalEndAndReturn = isTypeOf(\"InternalEndAndReturn\");\nvar isNode = function isNode(node) {\n return isModule(node) || isModuleMetadata(node) || isModuleNameMetadata(node) || isFunctionNameMetadata(node) || isLocalNameMetadata(node) || isBinaryModule(node) || isQuoteModule(node) || isSectionMetadata(node) || isProducersSectionMetadata(node) || isProducerMetadata(node) || isProducerMetadataVersionedName(node) || isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isElem(node) || isIndexInFuncSection(node) || isValtypeLiteral(node) || isTypeInstruction(node) || isStart(node) || isGlobalType(node) || isLeadingComment(node) || isBlockComment(node) || isData(node) || isGlobal(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node) || isModuleImport(node) || isModuleExportDescr(node) || isModuleExport(node) || isLimit(node) || isSignature(node) || isProgram(node) || isIdentifier(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node) || isByteArray(node) || isFunc(node) || isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar isBlock = function isBlock(node) {\n return isLoopInstruction(node) || isBlockInstruction(node) || isFunc(node);\n};\nvar isInstruction = function isInstruction(node) {\n return isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isTypeInstruction(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node);\n};\nvar isExpression = function isExpression(node) {\n return isInstr(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isValtypeLiteral(node) || isIdentifier(node);\n};\nvar isNumericLiteral = function isNumericLiteral(node) {\n return isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node);\n};\nvar isImportDescr = function isImportDescr(node) {\n return isGlobalType(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node);\n};\nvar isIntrinsic = function isIntrinsic(node) {\n return isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar assertModule = assertTypeOf(\"Module\");\nvar assertModuleMetadata = assertTypeOf(\"ModuleMetadata\");\nvar assertModuleNameMetadata = assertTypeOf(\"ModuleNameMetadata\");\nvar assertFunctionNameMetadata = assertTypeOf(\"FunctionNameMetadata\");\nvar assertLocalNameMetadata = assertTypeOf(\"LocalNameMetadata\");\nvar assertBinaryModule = assertTypeOf(\"BinaryModule\");\nvar assertQuoteModule = assertTypeOf(\"QuoteModule\");\nvar assertSectionMetadata = assertTypeOf(\"SectionMetadata\");\nvar assertProducersSectionMetadata = assertTypeOf(\"ProducersSectionMetadata\");\nvar assertProducerMetadata = assertTypeOf(\"ProducerMetadata\");\nvar assertProducerMetadataVersionedName = assertTypeOf(\"ProducerMetadataVersionedName\");\nvar assertLoopInstruction = assertTypeOf(\"LoopInstruction\");\nvar assertInstr = assertTypeOf(\"Instr\");\nvar assertIfInstruction = assertTypeOf(\"IfInstruction\");\nvar assertStringLiteral = assertTypeOf(\"StringLiteral\");\nvar assertNumberLiteral = assertTypeOf(\"NumberLiteral\");\nvar assertLongNumberLiteral = assertTypeOf(\"LongNumberLiteral\");\nvar assertFloatLiteral = assertTypeOf(\"FloatLiteral\");\nvar assertElem = assertTypeOf(\"Elem\");\nvar assertIndexInFuncSection = assertTypeOf(\"IndexInFuncSection\");\nvar assertValtypeLiteral = assertTypeOf(\"ValtypeLiteral\");\nvar assertTypeInstruction = assertTypeOf(\"TypeInstruction\");\nvar assertStart = assertTypeOf(\"Start\");\nvar assertGlobalType = assertTypeOf(\"GlobalType\");\nvar assertLeadingComment = assertTypeOf(\"LeadingComment\");\nvar assertBlockComment = assertTypeOf(\"BlockComment\");\nvar assertData = assertTypeOf(\"Data\");\nvar assertGlobal = assertTypeOf(\"Global\");\nvar assertTable = assertTypeOf(\"Table\");\nvar assertMemory = assertTypeOf(\"Memory\");\nvar assertFuncImportDescr = assertTypeOf(\"FuncImportDescr\");\nvar assertModuleImport = assertTypeOf(\"ModuleImport\");\nvar assertModuleExportDescr = assertTypeOf(\"ModuleExportDescr\");\nvar assertModuleExport = assertTypeOf(\"ModuleExport\");\nvar assertLimit = assertTypeOf(\"Limit\");\nvar assertSignature = assertTypeOf(\"Signature\");\nvar assertProgram = assertTypeOf(\"Program\");\nvar assertIdentifier = assertTypeOf(\"Identifier\");\nvar assertBlockInstruction = assertTypeOf(\"BlockInstruction\");\nvar assertCallInstruction = assertTypeOf(\"CallInstruction\");\nvar assertCallIndirectInstruction = assertTypeOf(\"CallIndirectInstruction\");\nvar assertByteArray = assertTypeOf(\"ByteArray\");\nvar assertFunc = assertTypeOf(\"Func\");\nvar assertInternalBrUnless = assertTypeOf(\"InternalBrUnless\");\nvar assertInternalGoto = assertTypeOf(\"InternalGoto\");\nvar assertInternalCallExtern = assertTypeOf(\"InternalCallExtern\");\nvar assertInternalEndAndReturn = assertTypeOf(\"InternalEndAndReturn\");\nvar unionTypesMap = {\n Module: [\"Node\"],\n ModuleMetadata: [\"Node\"],\n ModuleNameMetadata: [\"Node\"],\n FunctionNameMetadata: [\"Node\"],\n LocalNameMetadata: [\"Node\"],\n BinaryModule: [\"Node\"],\n QuoteModule: [\"Node\"],\n SectionMetadata: [\"Node\"],\n ProducersSectionMetadata: [\"Node\"],\n ProducerMetadata: [\"Node\"],\n ProducerMetadataVersionedName: [\"Node\"],\n LoopInstruction: [\"Node\", \"Block\", \"Instruction\"],\n Instr: [\"Node\", \"Expression\", \"Instruction\"],\n IfInstruction: [\"Node\", \"Instruction\"],\n StringLiteral: [\"Node\", \"Expression\"],\n NumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n LongNumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n FloatLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n Elem: [\"Node\"],\n IndexInFuncSection: [\"Node\"],\n ValtypeLiteral: [\"Node\", \"Expression\"],\n TypeInstruction: [\"Node\", \"Instruction\"],\n Start: [\"Node\"],\n GlobalType: [\"Node\", \"ImportDescr\"],\n LeadingComment: [\"Node\"],\n BlockComment: [\"Node\"],\n Data: [\"Node\"],\n Global: [\"Node\"],\n Table: [\"Node\", \"ImportDescr\"],\n Memory: [\"Node\", \"ImportDescr\"],\n FuncImportDescr: [\"Node\", \"ImportDescr\"],\n ModuleImport: [\"Node\"],\n ModuleExportDescr: [\"Node\"],\n ModuleExport: [\"Node\"],\n Limit: [\"Node\"],\n Signature: [\"Node\"],\n Program: [\"Node\"],\n Identifier: [\"Node\", \"Expression\"],\n BlockInstruction: [\"Node\", \"Block\", \"Instruction\"],\n CallInstruction: [\"Node\", \"Instruction\"],\n CallIndirectInstruction: [\"Node\", \"Instruction\"],\n ByteArray: [\"Node\"],\n Func: [\"Node\", \"Block\"],\n InternalBrUnless: [\"Node\", \"Intrinsic\"],\n InternalGoto: [\"Node\", \"Intrinsic\"],\n InternalCallExtern: [\"Node\", \"Intrinsic\"],\n InternalEndAndReturn: [\"Node\", \"Intrinsic\"]\n};\nvar nodeAndUnionTypes = [\"Module\", \"ModuleMetadata\", \"ModuleNameMetadata\", \"FunctionNameMetadata\", \"LocalNameMetadata\", \"BinaryModule\", \"QuoteModule\", \"SectionMetadata\", \"ProducersSectionMetadata\", \"ProducerMetadata\", \"ProducerMetadataVersionedName\", \"LoopInstruction\", \"Instr\", \"IfInstruction\", \"StringLiteral\", \"NumberLiteral\", \"LongNumberLiteral\", \"FloatLiteral\", \"Elem\", \"IndexInFuncSection\", \"ValtypeLiteral\", \"TypeInstruction\", \"Start\", \"GlobalType\", \"LeadingComment\", \"BlockComment\", \"Data\", \"Global\", \"Table\", \"Memory\", \"FuncImportDescr\", \"ModuleImport\", \"ModuleExportDescr\", \"ModuleExport\", \"Limit\", \"Signature\", \"Program\", \"Identifier\", \"BlockInstruction\", \"CallInstruction\", \"CallIndirectInstruction\", \"ByteArray\", \"Func\", \"InternalBrUnless\", \"InternalGoto\", \"InternalCallExtern\", \"InternalEndAndReturn\", \"Node\", \"Block\", \"Instruction\", \"Expression\", \"NumericLiteral\", \"ImportDescr\", \"Intrinsic\"];\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/nodes.js?");
168+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"assertBinaryModule\": () => (/* binding */ assertBinaryModule),\n/* harmony export */ \"assertBlockComment\": () => (/* binding */ assertBlockComment),\n/* harmony export */ \"assertBlockInstruction\": () => (/* binding */ assertBlockInstruction),\n/* harmony export */ \"assertByteArray\": () => (/* binding */ assertByteArray),\n/* harmony export */ \"assertCallIndirectInstruction\": () => (/* binding */ assertCallIndirectInstruction),\n/* harmony export */ \"assertCallInstruction\": () => (/* binding */ assertCallInstruction),\n/* harmony export */ \"assertData\": () => (/* binding */ assertData),\n/* harmony export */ \"assertElem\": () => (/* binding */ assertElem),\n/* harmony export */ \"assertFloatLiteral\": () => (/* binding */ assertFloatLiteral),\n/* harmony export */ \"assertFunc\": () => (/* binding */ assertFunc),\n/* harmony export */ \"assertFuncImportDescr\": () => (/* binding */ assertFuncImportDescr),\n/* harmony export */ \"assertFunctionNameMetadata\": () => (/* binding */ assertFunctionNameMetadata),\n/* harmony export */ \"assertGlobal\": () => (/* binding */ assertGlobal),\n/* harmony export */ \"assertGlobalType\": () => (/* binding */ assertGlobalType),\n/* harmony export */ \"assertIdentifier\": () => (/* binding */ assertIdentifier),\n/* harmony export */ \"assertIfInstruction\": () => (/* binding */ assertIfInstruction),\n/* harmony export */ \"assertIndexInFuncSection\": () => (/* binding */ assertIndexInFuncSection),\n/* harmony export */ \"assertInstr\": () => (/* binding */ assertInstr),\n/* harmony export */ \"assertInternalBrUnless\": () => (/* binding */ assertInternalBrUnless),\n/* harmony export */ \"assertInternalCallExtern\": () => (/* binding */ assertInternalCallExtern),\n/* harmony export */ \"assertInternalEndAndReturn\": () => (/* binding */ assertInternalEndAndReturn),\n/* harmony export */ \"assertInternalGoto\": () => (/* binding */ assertInternalGoto),\n/* harmony export */ \"assertLeadingComment\": () => (/* binding */ assertLeadingComment),\n/* harmony export */ \"assertLimit\": () => (/* binding */ assertLimit),\n/* harmony export */ \"assertLocalNameMetadata\": () => (/* binding */ assertLocalNameMetadata),\n/* harmony export */ \"assertLongNumberLiteral\": () => (/* binding */ assertLongNumberLiteral),\n/* harmony export */ \"assertLoopInstruction\": () => (/* binding */ assertLoopInstruction),\n/* harmony export */ \"assertMemory\": () => (/* binding */ assertMemory),\n/* harmony export */ \"assertModule\": () => (/* binding */ assertModule),\n/* harmony export */ \"assertModuleExport\": () => (/* binding */ assertModuleExport),\n/* harmony export */ \"assertModuleExportDescr\": () => (/* binding */ assertModuleExportDescr),\n/* harmony export */ \"assertModuleImport\": () => (/* binding */ assertModuleImport),\n/* harmony export */ \"assertModuleMetadata\": () => (/* binding */ assertModuleMetadata),\n/* harmony export */ \"assertModuleNameMetadata\": () => (/* binding */ assertModuleNameMetadata),\n/* harmony export */ \"assertNumberLiteral\": () => (/* binding */ assertNumberLiteral),\n/* harmony export */ \"assertProducerMetadata\": () => (/* binding */ assertProducerMetadata),\n/* harmony export */ \"assertProducerMetadataVersionedName\": () => (/* binding */ assertProducerMetadataVersionedName),\n/* harmony export */ \"assertProducersSectionMetadata\": () => (/* binding */ assertProducersSectionMetadata),\n/* harmony export */ \"assertProgram\": () => (/* binding */ assertProgram),\n/* harmony export */ \"assertQuoteModule\": () => (/* binding */ assertQuoteModule),\n/* harmony export */ \"assertSectionMetadata\": () => (/* binding */ assertSectionMetadata),\n/* harmony export */ \"assertSignature\": () => (/* binding */ assertSignature),\n/* harmony export */ \"assertStart\": () => (/* binding */ assertStart),\n/* harmony export */ \"assertStringLiteral\": () => (/* binding */ assertStringLiteral),\n/* harmony export */ \"assertTable\": () => (/* binding */ assertTable),\n/* harmony export */ \"assertTypeInstruction\": () => (/* binding */ assertTypeInstruction),\n/* harmony export */ \"assertValtypeLiteral\": () => (/* binding */ assertValtypeLiteral),\n/* harmony export */ \"binaryModule\": () => (/* binding */ binaryModule),\n/* harmony export */ \"blockComment\": () => (/* binding */ blockComment),\n/* harmony export */ \"blockInstruction\": () => (/* binding */ blockInstruction),\n/* harmony export */ \"byteArray\": () => (/* binding */ byteArray),\n/* harmony export */ \"callIndirectInstruction\": () => (/* binding */ callIndirectInstruction),\n/* harmony export */ \"callInstruction\": () => (/* binding */ callInstruction),\n/* harmony export */ \"data\": () => (/* binding */ data),\n/* harmony export */ \"elem\": () => (/* binding */ elem),\n/* harmony export */ \"floatLiteral\": () => (/* binding */ floatLiteral),\n/* harmony export */ \"func\": () => (/* binding */ func),\n/* harmony export */ \"funcImportDescr\": () => (/* binding */ funcImportDescr),\n/* harmony export */ \"functionNameMetadata\": () => (/* binding */ functionNameMetadata),\n/* harmony export */ \"global\": () => (/* binding */ global),\n/* harmony export */ \"globalType\": () => (/* binding */ globalType),\n/* harmony export */ \"identifier\": () => (/* binding */ identifier),\n/* harmony export */ \"ifInstruction\": () => (/* binding */ ifInstruction),\n/* harmony export */ \"indexInFuncSection\": () => (/* binding */ indexInFuncSection),\n/* harmony export */ \"instr\": () => (/* binding */ instr),\n/* harmony export */ \"internalBrUnless\": () => (/* binding */ internalBrUnless),\n/* harmony export */ \"internalCallExtern\": () => (/* binding */ internalCallExtern),\n/* harmony export */ \"internalEndAndReturn\": () => (/* binding */ internalEndAndReturn),\n/* harmony export */ \"internalGoto\": () => (/* binding */ internalGoto),\n/* harmony export */ \"isBinaryModule\": () => (/* binding */ isBinaryModule),\n/* harmony export */ \"isBlock\": () => (/* binding */ isBlock),\n/* harmony export */ \"isBlockComment\": () => (/* binding */ isBlockComment),\n/* harmony export */ \"isBlockInstruction\": () => (/* binding */ isBlockInstruction),\n/* harmony export */ \"isByteArray\": () => (/* binding */ isByteArray),\n/* harmony export */ \"isCallIndirectInstruction\": () => (/* binding */ isCallIndirectInstruction),\n/* harmony export */ \"isCallInstruction\": () => (/* binding */ isCallInstruction),\n/* harmony export */ \"isData\": () => (/* binding */ isData),\n/* harmony export */ \"isElem\": () => (/* binding */ isElem),\n/* harmony export */ \"isExpression\": () => (/* binding */ isExpression),\n/* harmony export */ \"isFloatLiteral\": () => (/* binding */ isFloatLiteral),\n/* harmony export */ \"isFunc\": () => (/* binding */ isFunc),\n/* harmony export */ \"isFuncImportDescr\": () => (/* binding */ isFuncImportDescr),\n/* harmony export */ \"isFunctionNameMetadata\": () => (/* binding */ isFunctionNameMetadata),\n/* harmony export */ \"isGlobal\": () => (/* binding */ isGlobal),\n/* harmony export */ \"isGlobalType\": () => (/* binding */ isGlobalType),\n/* harmony export */ \"isIdentifier\": () => (/* binding */ isIdentifier),\n/* harmony export */ \"isIfInstruction\": () => (/* binding */ isIfInstruction),\n/* harmony export */ \"isImportDescr\": () => (/* binding */ isImportDescr),\n/* harmony export */ \"isIndexInFuncSection\": () => (/* binding */ isIndexInFuncSection),\n/* harmony export */ \"isInstr\": () => (/* binding */ isInstr),\n/* harmony export */ \"isInstruction\": () => (/* binding */ isInstruction),\n/* harmony export */ \"isInternalBrUnless\": () => (/* binding */ isInternalBrUnless),\n/* harmony export */ \"isInternalCallExtern\": () => (/* binding */ isInternalCallExtern),\n/* harmony export */ \"isInternalEndAndReturn\": () => (/* binding */ isInternalEndAndReturn),\n/* harmony export */ \"isInternalGoto\": () => (/* binding */ isInternalGoto),\n/* harmony export */ \"isIntrinsic\": () => (/* binding */ isIntrinsic),\n/* harmony export */ \"isLeadingComment\": () => (/* binding */ isLeadingComment),\n/* harmony export */ \"isLimit\": () => (/* binding */ isLimit),\n/* harmony export */ \"isLocalNameMetadata\": () => (/* binding */ isLocalNameMetadata),\n/* harmony export */ \"isLongNumberLiteral\": () => (/* binding */ isLongNumberLiteral),\n/* harmony export */ \"isLoopInstruction\": () => (/* binding */ isLoopInstruction),\n/* harmony export */ \"isMemory\": () => (/* binding */ isMemory),\n/* harmony export */ \"isModule\": () => (/* binding */ isModule),\n/* harmony export */ \"isModuleExport\": () => (/* binding */ isModuleExport),\n/* harmony export */ \"isModuleExportDescr\": () => (/* binding */ isModuleExportDescr),\n/* harmony export */ \"isModuleImport\": () => (/* binding */ isModuleImport),\n/* harmony export */ \"isModuleMetadata\": () => (/* binding */ isModuleMetadata),\n/* harmony export */ \"isModuleNameMetadata\": () => (/* binding */ isModuleNameMetadata),\n/* harmony export */ \"isNode\": () => (/* binding */ isNode),\n/* harmony export */ \"isNumberLiteral\": () => (/* binding */ isNumberLiteral),\n/* harmony export */ \"isNumericLiteral\": () => (/* binding */ isNumericLiteral),\n/* harmony export */ \"isProducerMetadata\": () => (/* binding */ isProducerMetadata),\n/* harmony export */ \"isProducerMetadataVersionedName\": () => (/* binding */ isProducerMetadataVersionedName),\n/* harmony export */ \"isProducersSectionMetadata\": () => (/* binding */ isProducersSectionMetadata),\n/* harmony export */ \"isProgram\": () => (/* binding */ isProgram),\n/* harmony export */ \"isQuoteModule\": () => (/* binding */ isQuoteModule),\n/* harmony export */ \"isSectionMetadata\": () => (/* binding */ isSectionMetadata),\n/* harmony export */ \"isSignature\": () => (/* binding */ isSignature),\n/* harmony export */ \"isStart\": () => (/* binding */ isStart),\n/* harmony export */ \"isStringLiteral\": () => (/* binding */ isStringLiteral),\n/* harmony export */ \"isTable\": () => (/* binding */ isTable),\n/* harmony export */ \"isTypeInstruction\": () => (/* binding */ isTypeInstruction),\n/* harmony export */ \"isValtypeLiteral\": () => (/* binding */ isValtypeLiteral),\n/* harmony export */ \"leadingComment\": () => (/* binding */ leadingComment),\n/* harmony export */ \"limit\": () => (/* binding */ limit),\n/* harmony export */ \"localNameMetadata\": () => (/* binding */ localNameMetadata),\n/* harmony export */ \"longNumberLiteral\": () => (/* binding */ longNumberLiteral),\n/* harmony export */ \"loopInstruction\": () => (/* binding */ loopInstruction),\n/* harmony export */ \"memory\": () => (/* binding */ memory),\n/* harmony export */ \"module\": () => (/* binding */ module),\n/* harmony export */ \"moduleExport\": () => (/* binding */ moduleExport),\n/* harmony export */ \"moduleExportDescr\": () => (/* binding */ moduleExportDescr),\n/* harmony export */ \"moduleImport\": () => (/* binding */ moduleImport),\n/* harmony export */ \"moduleMetadata\": () => (/* binding */ moduleMetadata),\n/* harmony export */ \"moduleNameMetadata\": () => (/* binding */ moduleNameMetadata),\n/* harmony export */ \"nodeAndUnionTypes\": () => (/* binding */ nodeAndUnionTypes),\n/* harmony export */ \"numberLiteral\": () => (/* binding */ numberLiteral),\n/* harmony export */ \"producerMetadata\": () => (/* binding */ producerMetadata),\n/* harmony export */ \"producerMetadataVersionedName\": () => (/* binding */ producerMetadataVersionedName),\n/* harmony export */ \"producersSectionMetadata\": () => (/* binding */ producersSectionMetadata),\n/* harmony export */ \"program\": () => (/* binding */ program),\n/* harmony export */ \"quoteModule\": () => (/* binding */ quoteModule),\n/* harmony export */ \"sectionMetadata\": () => (/* binding */ sectionMetadata),\n/* harmony export */ \"signature\": () => (/* binding */ signature),\n/* harmony export */ \"start\": () => (/* binding */ start),\n/* harmony export */ \"stringLiteral\": () => (/* binding */ stringLiteral),\n/* harmony export */ \"table\": () => (/* binding */ table),\n/* harmony export */ \"typeInstruction\": () => (/* binding */ typeInstruction),\n/* harmony export */ \"unionTypesMap\": () => (/* binding */ unionTypesMap),\n/* harmony export */ \"valtypeLiteral\": () => (/* binding */ valtypeLiteral)\n/* harmony export */ });\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n// THIS FILE IS AUTOGENERATED\n// see scripts/generateNodeUtils.js\nfunction isTypeOf(t) {\n return function (n) {\n return n.type === t;\n };\n}\n\nfunction assertTypeOf(t) {\n return function (n) {\n return function () {\n if (!(n.type === t)) {\n throw new Error('n.type === t' + \" error: \" + ( false || \"unknown\"));\n }\n }();\n };\n}\n\nfunction module(id, fields, metadata) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(fields) === \"object\" && typeof fields.length !== \"undefined\")) {\n throw new Error('typeof fields === \"object\" && typeof fields.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Module\",\n id: id,\n fields: fields\n };\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction moduleMetadata(sections, functionNames, localNames, producers) {\n if (!(_typeof(sections) === \"object\" && typeof sections.length !== \"undefined\")) {\n throw new Error('typeof sections === \"object\" && typeof sections.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (functionNames !== null && functionNames !== undefined) {\n if (!(_typeof(functionNames) === \"object\" && typeof functionNames.length !== \"undefined\")) {\n throw new Error('typeof functionNames === \"object\" && typeof functionNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (localNames !== null && localNames !== undefined) {\n if (!(_typeof(localNames) === \"object\" && typeof localNames.length !== \"undefined\")) {\n throw new Error('typeof localNames === \"object\" && typeof localNames.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n if (producers !== null && producers !== undefined) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"ModuleMetadata\",\n sections: sections\n };\n\n if (typeof functionNames !== \"undefined\" && functionNames.length > 0) {\n node.functionNames = functionNames;\n }\n\n if (typeof localNames !== \"undefined\" && localNames.length > 0) {\n node.localNames = localNames;\n }\n\n if (typeof producers !== \"undefined\" && producers.length > 0) {\n node.producers = producers;\n }\n\n return node;\n}\nfunction moduleNameMetadata(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"ModuleNameMetadata\",\n value: value\n };\n return node;\n}\nfunction functionNameMetadata(value, index) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof index === \"number\")) {\n throw new Error('typeof index === \"number\"' + \" error: \" + (\"Argument index must be of type number, given: \" + _typeof(index) || 0));\n }\n\n var node = {\n type: \"FunctionNameMetadata\",\n value: value,\n index: index\n };\n return node;\n}\nfunction localNameMetadata(value, localIndex, functionIndex) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof localIndex === \"number\")) {\n throw new Error('typeof localIndex === \"number\"' + \" error: \" + (\"Argument localIndex must be of type number, given: \" + _typeof(localIndex) || 0));\n }\n\n if (!(typeof functionIndex === \"number\")) {\n throw new Error('typeof functionIndex === \"number\"' + \" error: \" + (\"Argument functionIndex must be of type number, given: \" + _typeof(functionIndex) || 0));\n }\n\n var node = {\n type: \"LocalNameMetadata\",\n value: value,\n localIndex: localIndex,\n functionIndex: functionIndex\n };\n return node;\n}\nfunction binaryModule(id, blob) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(blob) === \"object\" && typeof blob.length !== \"undefined\")) {\n throw new Error('typeof blob === \"object\" && typeof blob.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BinaryModule\",\n id: id,\n blob: blob\n };\n return node;\n}\nfunction quoteModule(id, string) {\n if (id !== null && id !== undefined) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n }\n\n if (!(_typeof(string) === \"object\" && typeof string.length !== \"undefined\")) {\n throw new Error('typeof string === \"object\" && typeof string.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"QuoteModule\",\n id: id,\n string: string\n };\n return node;\n}\nfunction sectionMetadata(section, startOffset, size, vectorOfSize) {\n if (!(typeof startOffset === \"number\")) {\n throw new Error('typeof startOffset === \"number\"' + \" error: \" + (\"Argument startOffset must be of type number, given: \" + _typeof(startOffset) || 0));\n }\n\n var node = {\n type: \"SectionMetadata\",\n section: section,\n startOffset: startOffset,\n size: size,\n vectorOfSize: vectorOfSize\n };\n return node;\n}\nfunction producersSectionMetadata(producers) {\n if (!(_typeof(producers) === \"object\" && typeof producers.length !== \"undefined\")) {\n throw new Error('typeof producers === \"object\" && typeof producers.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducersSectionMetadata\",\n producers: producers\n };\n return node;\n}\nfunction producerMetadata(language, processedBy, sdk) {\n if (!(_typeof(language) === \"object\" && typeof language.length !== \"undefined\")) {\n throw new Error('typeof language === \"object\" && typeof language.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(processedBy) === \"object\" && typeof processedBy.length !== \"undefined\")) {\n throw new Error('typeof processedBy === \"object\" && typeof processedBy.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(sdk) === \"object\" && typeof sdk.length !== \"undefined\")) {\n throw new Error('typeof sdk === \"object\" && typeof sdk.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ProducerMetadata\",\n language: language,\n processedBy: processedBy,\n sdk: sdk\n };\n return node;\n}\nfunction producerMetadataVersionedName(name, version) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n if (!(typeof version === \"string\")) {\n throw new Error('typeof version === \"string\"' + \" error: \" + (\"Argument version must be of type string, given: \" + _typeof(version) || 0));\n }\n\n var node = {\n type: \"ProducerMetadataVersionedName\",\n name: name,\n version: version\n };\n return node;\n}\nfunction loopInstruction(label, resulttype, instr) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"LoopInstruction\",\n id: \"loop\",\n label: label,\n resulttype: resulttype,\n instr: instr\n };\n return node;\n}\nfunction instr(id, object, args, namedArgs) {\n if (!(typeof id === \"string\")) {\n throw new Error('typeof id === \"string\"' + \" error: \" + (\"Argument id must be of type string, given: \" + _typeof(id) || 0));\n }\n\n if (!(_typeof(args) === \"object\" && typeof args.length !== \"undefined\")) {\n throw new Error('typeof args === \"object\" && typeof args.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Instr\",\n id: id,\n args: args\n };\n\n if (typeof object !== \"undefined\") {\n node.object = object;\n }\n\n if (typeof namedArgs !== \"undefined\" && Object.keys(namedArgs).length !== 0) {\n node.namedArgs = namedArgs;\n }\n\n return node;\n}\nfunction ifInstruction(testLabel, test, result, consequent, alternate) {\n if (!(_typeof(test) === \"object\" && typeof test.length !== \"undefined\")) {\n throw new Error('typeof test === \"object\" && typeof test.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(consequent) === \"object\" && typeof consequent.length !== \"undefined\")) {\n throw new Error('typeof consequent === \"object\" && typeof consequent.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(alternate) === \"object\" && typeof alternate.length !== \"undefined\")) {\n throw new Error('typeof alternate === \"object\" && typeof alternate.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"IfInstruction\",\n id: \"if\",\n testLabel: testLabel,\n test: test,\n result: result,\n consequent: consequent,\n alternate: alternate\n };\n return node;\n}\nfunction stringLiteral(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"StringLiteral\",\n value: value\n };\n return node;\n}\nfunction numberLiteral(value, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"NumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction longNumberLiteral(value, raw) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"LongNumberLiteral\",\n value: value,\n raw: raw\n };\n return node;\n}\nfunction floatLiteral(value, nan, inf, raw) {\n if (!(typeof value === \"number\")) {\n throw new Error('typeof value === \"number\"' + \" error: \" + (\"Argument value must be of type number, given: \" + _typeof(value) || 0));\n }\n\n if (nan !== null && nan !== undefined) {\n if (!(typeof nan === \"boolean\")) {\n throw new Error('typeof nan === \"boolean\"' + \" error: \" + (\"Argument nan must be of type boolean, given: \" + _typeof(nan) || 0));\n }\n }\n\n if (inf !== null && inf !== undefined) {\n if (!(typeof inf === \"boolean\")) {\n throw new Error('typeof inf === \"boolean\"' + \" error: \" + (\"Argument inf must be of type boolean, given: \" + _typeof(inf) || 0));\n }\n }\n\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n\n var node = {\n type: \"FloatLiteral\",\n value: value,\n raw: raw\n };\n\n if (nan === true) {\n node.nan = true;\n }\n\n if (inf === true) {\n node.inf = true;\n }\n\n return node;\n}\nfunction elem(table, offset, funcs) {\n if (!(_typeof(offset) === \"object\" && typeof offset.length !== \"undefined\")) {\n throw new Error('typeof offset === \"object\" && typeof offset.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(funcs) === \"object\" && typeof funcs.length !== \"undefined\")) {\n throw new Error('typeof funcs === \"object\" && typeof funcs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Elem\",\n table: table,\n offset: offset,\n funcs: funcs\n };\n return node;\n}\nfunction indexInFuncSection(index) {\n var node = {\n type: \"IndexInFuncSection\",\n index: index\n };\n return node;\n}\nfunction valtypeLiteral(name) {\n var node = {\n type: \"ValtypeLiteral\",\n name: name\n };\n return node;\n}\nfunction typeInstruction(id, functype) {\n var node = {\n type: \"TypeInstruction\",\n id: id,\n functype: functype\n };\n return node;\n}\nfunction start(index) {\n var node = {\n type: \"Start\",\n index: index\n };\n return node;\n}\nfunction globalType(valtype, mutability) {\n var node = {\n type: \"GlobalType\",\n valtype: valtype,\n mutability: mutability\n };\n return node;\n}\nfunction leadingComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"LeadingComment\",\n value: value\n };\n return node;\n}\nfunction blockComment(value) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n var node = {\n type: \"BlockComment\",\n value: value\n };\n return node;\n}\nfunction data(memoryIndex, offset, init) {\n var node = {\n type: \"Data\",\n memoryIndex: memoryIndex,\n offset: offset,\n init: init\n };\n return node;\n}\nfunction global(globalType, init, name) {\n if (!(_typeof(init) === \"object\" && typeof init.length !== \"undefined\")) {\n throw new Error('typeof init === \"object\" && typeof init.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Global\",\n globalType: globalType,\n init: init,\n name: name\n };\n return node;\n}\nfunction table(elementType, limits, name, elements) {\n if (!(limits.type === \"Limit\")) {\n throw new Error('limits.type === \"Limit\"' + \" error: \" + (\"Argument limits must be of type Limit, given: \" + limits.type || 0));\n }\n\n if (elements !== null && elements !== undefined) {\n if (!(_typeof(elements) === \"object\" && typeof elements.length !== \"undefined\")) {\n throw new Error('typeof elements === \"object\" && typeof elements.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"Table\",\n elementType: elementType,\n limits: limits,\n name: name\n };\n\n if (typeof elements !== \"undefined\" && elements.length > 0) {\n node.elements = elements;\n }\n\n return node;\n}\nfunction memory(limits, id) {\n var node = {\n type: \"Memory\",\n limits: limits,\n id: id\n };\n return node;\n}\nfunction funcImportDescr(id, signature) {\n var node = {\n type: \"FuncImportDescr\",\n id: id,\n signature: signature\n };\n return node;\n}\nfunction moduleImport(module, name, descr) {\n if (!(typeof module === \"string\")) {\n throw new Error('typeof module === \"string\"' + \" error: \" + (\"Argument module must be of type string, given: \" + _typeof(module) || 0));\n }\n\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleImport\",\n module: module,\n name: name,\n descr: descr\n };\n return node;\n}\nfunction moduleExportDescr(exportType, id) {\n var node = {\n type: \"ModuleExportDescr\",\n exportType: exportType,\n id: id\n };\n return node;\n}\nfunction moduleExport(name, descr) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + (\"Argument name must be of type string, given: \" + _typeof(name) || 0));\n }\n\n var node = {\n type: \"ModuleExport\",\n name: name,\n descr: descr\n };\n return node;\n}\nfunction limit(min, max, shared) {\n if (!(typeof min === \"number\")) {\n throw new Error('typeof min === \"number\"' + \" error: \" + (\"Argument min must be of type number, given: \" + _typeof(min) || 0));\n }\n\n if (max !== null && max !== undefined) {\n if (!(typeof max === \"number\")) {\n throw new Error('typeof max === \"number\"' + \" error: \" + (\"Argument max must be of type number, given: \" + _typeof(max) || 0));\n }\n }\n\n if (shared !== null && shared !== undefined) {\n if (!(typeof shared === \"boolean\")) {\n throw new Error('typeof shared === \"boolean\"' + \" error: \" + (\"Argument shared must be of type boolean, given: \" + _typeof(shared) || 0));\n }\n }\n\n var node = {\n type: \"Limit\",\n min: min\n };\n\n if (typeof max !== \"undefined\") {\n node.max = max;\n }\n\n if (shared === true) {\n node.shared = true;\n }\n\n return node;\n}\nfunction signature(params, results) {\n if (!(_typeof(params) === \"object\" && typeof params.length !== \"undefined\")) {\n throw new Error('typeof params === \"object\" && typeof params.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (!(_typeof(results) === \"object\" && typeof results.length !== \"undefined\")) {\n throw new Error('typeof results === \"object\" && typeof results.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Signature\",\n params: params,\n results: results\n };\n return node;\n}\nfunction program(body) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"Program\",\n body: body\n };\n return node;\n}\nfunction identifier(value, raw) {\n if (!(typeof value === \"string\")) {\n throw new Error('typeof value === \"string\"' + \" error: \" + (\"Argument value must be of type string, given: \" + _typeof(value) || 0));\n }\n\n if (raw !== null && raw !== undefined) {\n if (!(typeof raw === \"string\")) {\n throw new Error('typeof raw === \"string\"' + \" error: \" + (\"Argument raw must be of type string, given: \" + _typeof(raw) || 0));\n }\n }\n\n var node = {\n type: \"Identifier\",\n value: value\n };\n\n if (typeof raw !== \"undefined\") {\n node.raw = raw;\n }\n\n return node;\n}\nfunction blockInstruction(label, instr, result) {\n if (!(_typeof(instr) === \"object\" && typeof instr.length !== \"undefined\")) {\n throw new Error('typeof instr === \"object\" && typeof instr.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"BlockInstruction\",\n id: \"block\",\n label: label,\n instr: instr,\n result: result\n };\n return node;\n}\nfunction callInstruction(index, instrArgs, numeric) {\n if (instrArgs !== null && instrArgs !== undefined) {\n if (!(_typeof(instrArgs) === \"object\" && typeof instrArgs.length !== \"undefined\")) {\n throw new Error('typeof instrArgs === \"object\" && typeof instrArgs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallInstruction\",\n id: \"call\",\n index: index\n };\n\n if (typeof instrArgs !== \"undefined\" && instrArgs.length > 0) {\n node.instrArgs = instrArgs;\n }\n\n if (typeof numeric !== \"undefined\") {\n node.numeric = numeric;\n }\n\n return node;\n}\nfunction callIndirectInstruction(signature, intrs) {\n if (intrs !== null && intrs !== undefined) {\n if (!(_typeof(intrs) === \"object\" && typeof intrs.length !== \"undefined\")) {\n throw new Error('typeof intrs === \"object\" && typeof intrs.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n }\n\n var node = {\n type: \"CallIndirectInstruction\",\n id: \"call_indirect\",\n signature: signature\n };\n\n if (typeof intrs !== \"undefined\" && intrs.length > 0) {\n node.intrs = intrs;\n }\n\n return node;\n}\nfunction byteArray(values) {\n if (!(_typeof(values) === \"object\" && typeof values.length !== \"undefined\")) {\n throw new Error('typeof values === \"object\" && typeof values.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n var node = {\n type: \"ByteArray\",\n values: values\n };\n return node;\n}\nfunction func(name, signature, body, isExternal, metadata) {\n if (!(_typeof(body) === \"object\" && typeof body.length !== \"undefined\")) {\n throw new Error('typeof body === \"object\" && typeof body.length !== \"undefined\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n if (isExternal !== null && isExternal !== undefined) {\n if (!(typeof isExternal === \"boolean\")) {\n throw new Error('typeof isExternal === \"boolean\"' + \" error: \" + (\"Argument isExternal must be of type boolean, given: \" + _typeof(isExternal) || 0));\n }\n }\n\n var node = {\n type: \"Func\",\n name: name,\n signature: signature,\n body: body\n };\n\n if (isExternal === true) {\n node.isExternal = true;\n }\n\n if (typeof metadata !== \"undefined\") {\n node.metadata = metadata;\n }\n\n return node;\n}\nfunction internalBrUnless(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalBrUnless\",\n target: target\n };\n return node;\n}\nfunction internalGoto(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalGoto\",\n target: target\n };\n return node;\n}\nfunction internalCallExtern(target) {\n if (!(typeof target === \"number\")) {\n throw new Error('typeof target === \"number\"' + \" error: \" + (\"Argument target must be of type number, given: \" + _typeof(target) || 0));\n }\n\n var node = {\n type: \"InternalCallExtern\",\n target: target\n };\n return node;\n}\nfunction internalEndAndReturn() {\n var node = {\n type: \"InternalEndAndReturn\"\n };\n return node;\n}\nvar isModule = isTypeOf(\"Module\");\nvar isModuleMetadata = isTypeOf(\"ModuleMetadata\");\nvar isModuleNameMetadata = isTypeOf(\"ModuleNameMetadata\");\nvar isFunctionNameMetadata = isTypeOf(\"FunctionNameMetadata\");\nvar isLocalNameMetadata = isTypeOf(\"LocalNameMetadata\");\nvar isBinaryModule = isTypeOf(\"BinaryModule\");\nvar isQuoteModule = isTypeOf(\"QuoteModule\");\nvar isSectionMetadata = isTypeOf(\"SectionMetadata\");\nvar isProducersSectionMetadata = isTypeOf(\"ProducersSectionMetadata\");\nvar isProducerMetadata = isTypeOf(\"ProducerMetadata\");\nvar isProducerMetadataVersionedName = isTypeOf(\"ProducerMetadataVersionedName\");\nvar isLoopInstruction = isTypeOf(\"LoopInstruction\");\nvar isInstr = isTypeOf(\"Instr\");\nvar isIfInstruction = isTypeOf(\"IfInstruction\");\nvar isStringLiteral = isTypeOf(\"StringLiteral\");\nvar isNumberLiteral = isTypeOf(\"NumberLiteral\");\nvar isLongNumberLiteral = isTypeOf(\"LongNumberLiteral\");\nvar isFloatLiteral = isTypeOf(\"FloatLiteral\");\nvar isElem = isTypeOf(\"Elem\");\nvar isIndexInFuncSection = isTypeOf(\"IndexInFuncSection\");\nvar isValtypeLiteral = isTypeOf(\"ValtypeLiteral\");\nvar isTypeInstruction = isTypeOf(\"TypeInstruction\");\nvar isStart = isTypeOf(\"Start\");\nvar isGlobalType = isTypeOf(\"GlobalType\");\nvar isLeadingComment = isTypeOf(\"LeadingComment\");\nvar isBlockComment = isTypeOf(\"BlockComment\");\nvar isData = isTypeOf(\"Data\");\nvar isGlobal = isTypeOf(\"Global\");\nvar isTable = isTypeOf(\"Table\");\nvar isMemory = isTypeOf(\"Memory\");\nvar isFuncImportDescr = isTypeOf(\"FuncImportDescr\");\nvar isModuleImport = isTypeOf(\"ModuleImport\");\nvar isModuleExportDescr = isTypeOf(\"ModuleExportDescr\");\nvar isModuleExport = isTypeOf(\"ModuleExport\");\nvar isLimit = isTypeOf(\"Limit\");\nvar isSignature = isTypeOf(\"Signature\");\nvar isProgram = isTypeOf(\"Program\");\nvar isIdentifier = isTypeOf(\"Identifier\");\nvar isBlockInstruction = isTypeOf(\"BlockInstruction\");\nvar isCallInstruction = isTypeOf(\"CallInstruction\");\nvar isCallIndirectInstruction = isTypeOf(\"CallIndirectInstruction\");\nvar isByteArray = isTypeOf(\"ByteArray\");\nvar isFunc = isTypeOf(\"Func\");\nvar isInternalBrUnless = isTypeOf(\"InternalBrUnless\");\nvar isInternalGoto = isTypeOf(\"InternalGoto\");\nvar isInternalCallExtern = isTypeOf(\"InternalCallExtern\");\nvar isInternalEndAndReturn = isTypeOf(\"InternalEndAndReturn\");\nvar isNode = function isNode(node) {\n return isModule(node) || isModuleMetadata(node) || isModuleNameMetadata(node) || isFunctionNameMetadata(node) || isLocalNameMetadata(node) || isBinaryModule(node) || isQuoteModule(node) || isSectionMetadata(node) || isProducersSectionMetadata(node) || isProducerMetadata(node) || isProducerMetadataVersionedName(node) || isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isElem(node) || isIndexInFuncSection(node) || isValtypeLiteral(node) || isTypeInstruction(node) || isStart(node) || isGlobalType(node) || isLeadingComment(node) || isBlockComment(node) || isData(node) || isGlobal(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node) || isModuleImport(node) || isModuleExportDescr(node) || isModuleExport(node) || isLimit(node) || isSignature(node) || isProgram(node) || isIdentifier(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node) || isByteArray(node) || isFunc(node) || isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar isBlock = function isBlock(node) {\n return isLoopInstruction(node) || isBlockInstruction(node) || isFunc(node);\n};\nvar isInstruction = function isInstruction(node) {\n return isLoopInstruction(node) || isInstr(node) || isIfInstruction(node) || isTypeInstruction(node) || isBlockInstruction(node) || isCallInstruction(node) || isCallIndirectInstruction(node);\n};\nvar isExpression = function isExpression(node) {\n return isInstr(node) || isStringLiteral(node) || isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node) || isValtypeLiteral(node) || isIdentifier(node);\n};\nvar isNumericLiteral = function isNumericLiteral(node) {\n return isNumberLiteral(node) || isLongNumberLiteral(node) || isFloatLiteral(node);\n};\nvar isImportDescr = function isImportDescr(node) {\n return isGlobalType(node) || isTable(node) || isMemory(node) || isFuncImportDescr(node);\n};\nvar isIntrinsic = function isIntrinsic(node) {\n return isInternalBrUnless(node) || isInternalGoto(node) || isInternalCallExtern(node) || isInternalEndAndReturn(node);\n};\nvar assertModule = assertTypeOf(\"Module\");\nvar assertModuleMetadata = assertTypeOf(\"ModuleMetadata\");\nvar assertModuleNameMetadata = assertTypeOf(\"ModuleNameMetadata\");\nvar assertFunctionNameMetadata = assertTypeOf(\"FunctionNameMetadata\");\nvar assertLocalNameMetadata = assertTypeOf(\"LocalNameMetadata\");\nvar assertBinaryModule = assertTypeOf(\"BinaryModule\");\nvar assertQuoteModule = assertTypeOf(\"QuoteModule\");\nvar assertSectionMetadata = assertTypeOf(\"SectionMetadata\");\nvar assertProducersSectionMetadata = assertTypeOf(\"ProducersSectionMetadata\");\nvar assertProducerMetadata = assertTypeOf(\"ProducerMetadata\");\nvar assertProducerMetadataVersionedName = assertTypeOf(\"ProducerMetadataVersionedName\");\nvar assertLoopInstruction = assertTypeOf(\"LoopInstruction\");\nvar assertInstr = assertTypeOf(\"Instr\");\nvar assertIfInstruction = assertTypeOf(\"IfInstruction\");\nvar assertStringLiteral = assertTypeOf(\"StringLiteral\");\nvar assertNumberLiteral = assertTypeOf(\"NumberLiteral\");\nvar assertLongNumberLiteral = assertTypeOf(\"LongNumberLiteral\");\nvar assertFloatLiteral = assertTypeOf(\"FloatLiteral\");\nvar assertElem = assertTypeOf(\"Elem\");\nvar assertIndexInFuncSection = assertTypeOf(\"IndexInFuncSection\");\nvar assertValtypeLiteral = assertTypeOf(\"ValtypeLiteral\");\nvar assertTypeInstruction = assertTypeOf(\"TypeInstruction\");\nvar assertStart = assertTypeOf(\"Start\");\nvar assertGlobalType = assertTypeOf(\"GlobalType\");\nvar assertLeadingComment = assertTypeOf(\"LeadingComment\");\nvar assertBlockComment = assertTypeOf(\"BlockComment\");\nvar assertData = assertTypeOf(\"Data\");\nvar assertGlobal = assertTypeOf(\"Global\");\nvar assertTable = assertTypeOf(\"Table\");\nvar assertMemory = assertTypeOf(\"Memory\");\nvar assertFuncImportDescr = assertTypeOf(\"FuncImportDescr\");\nvar assertModuleImport = assertTypeOf(\"ModuleImport\");\nvar assertModuleExportDescr = assertTypeOf(\"ModuleExportDescr\");\nvar assertModuleExport = assertTypeOf(\"ModuleExport\");\nvar assertLimit = assertTypeOf(\"Limit\");\nvar assertSignature = assertTypeOf(\"Signature\");\nvar assertProgram = assertTypeOf(\"Program\");\nvar assertIdentifier = assertTypeOf(\"Identifier\");\nvar assertBlockInstruction = assertTypeOf(\"BlockInstruction\");\nvar assertCallInstruction = assertTypeOf(\"CallInstruction\");\nvar assertCallIndirectInstruction = assertTypeOf(\"CallIndirectInstruction\");\nvar assertByteArray = assertTypeOf(\"ByteArray\");\nvar assertFunc = assertTypeOf(\"Func\");\nvar assertInternalBrUnless = assertTypeOf(\"InternalBrUnless\");\nvar assertInternalGoto = assertTypeOf(\"InternalGoto\");\nvar assertInternalCallExtern = assertTypeOf(\"InternalCallExtern\");\nvar assertInternalEndAndReturn = assertTypeOf(\"InternalEndAndReturn\");\nvar unionTypesMap = {\n Module: [\"Node\"],\n ModuleMetadata: [\"Node\"],\n ModuleNameMetadata: [\"Node\"],\n FunctionNameMetadata: [\"Node\"],\n LocalNameMetadata: [\"Node\"],\n BinaryModule: [\"Node\"],\n QuoteModule: [\"Node\"],\n SectionMetadata: [\"Node\"],\n ProducersSectionMetadata: [\"Node\"],\n ProducerMetadata: [\"Node\"],\n ProducerMetadataVersionedName: [\"Node\"],\n LoopInstruction: [\"Node\", \"Block\", \"Instruction\"],\n Instr: [\"Node\", \"Expression\", \"Instruction\"],\n IfInstruction: [\"Node\", \"Instruction\"],\n StringLiteral: [\"Node\", \"Expression\"],\n NumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n LongNumberLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n FloatLiteral: [\"Node\", \"NumericLiteral\", \"Expression\"],\n Elem: [\"Node\"],\n IndexInFuncSection: [\"Node\"],\n ValtypeLiteral: [\"Node\", \"Expression\"],\n TypeInstruction: [\"Node\", \"Instruction\"],\n Start: [\"Node\"],\n GlobalType: [\"Node\", \"ImportDescr\"],\n LeadingComment: [\"Node\"],\n BlockComment: [\"Node\"],\n Data: [\"Node\"],\n Global: [\"Node\"],\n Table: [\"Node\", \"ImportDescr\"],\n Memory: [\"Node\", \"ImportDescr\"],\n FuncImportDescr: [\"Node\", \"ImportDescr\"],\n ModuleImport: [\"Node\"],\n ModuleExportDescr: [\"Node\"],\n ModuleExport: [\"Node\"],\n Limit: [\"Node\"],\n Signature: [\"Node\"],\n Program: [\"Node\"],\n Identifier: [\"Node\", \"Expression\"],\n BlockInstruction: [\"Node\", \"Block\", \"Instruction\"],\n CallInstruction: [\"Node\", \"Instruction\"],\n CallIndirectInstruction: [\"Node\", \"Instruction\"],\n ByteArray: [\"Node\"],\n Func: [\"Node\", \"Block\"],\n InternalBrUnless: [\"Node\", \"Intrinsic\"],\n InternalGoto: [\"Node\", \"Intrinsic\"],\n InternalCallExtern: [\"Node\", \"Intrinsic\"],\n InternalEndAndReturn: [\"Node\", \"Intrinsic\"]\n};\nvar nodeAndUnionTypes = [\"Module\", \"ModuleMetadata\", \"ModuleNameMetadata\", \"FunctionNameMetadata\", \"LocalNameMetadata\", \"BinaryModule\", \"QuoteModule\", \"SectionMetadata\", \"ProducersSectionMetadata\", \"ProducerMetadata\", \"ProducerMetadataVersionedName\", \"LoopInstruction\", \"Instr\", \"IfInstruction\", \"StringLiteral\", \"NumberLiteral\", \"LongNumberLiteral\", \"FloatLiteral\", \"Elem\", \"IndexInFuncSection\", \"ValtypeLiteral\", \"TypeInstruction\", \"Start\", \"GlobalType\", \"LeadingComment\", \"BlockComment\", \"Data\", \"Global\", \"Table\", \"Memory\", \"FuncImportDescr\", \"ModuleImport\", \"ModuleExportDescr\", \"ModuleExport\", \"Limit\", \"Signature\", \"Program\", \"Identifier\", \"BlockInstruction\", \"CallInstruction\", \"CallIndirectInstruction\", \"ByteArray\", \"Func\", \"InternalBrUnless\", \"InternalGoto\", \"InternalCallExtern\", \"InternalEndAndReturn\", \"Node\", \"Block\", \"Instruction\", \"Expression\", \"NumericLiteral\", \"ImportDescr\", \"Intrinsic\"];\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/nodes.js?");
299169
300170 /***/ }),
301171
@@ -306,7 +176,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
306176 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
307177
308178 "use strict";
309-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"signatures\": () => (/* binding */ signatures)\n/* harmony export */ });\nfunction sign(input, output) {\n return [input, output];\n}\n\nvar u32 = \"u32\";\nvar i32 = \"i32\";\nvar i64 = \"i64\";\nvar f32 = \"f32\";\nvar f64 = \"f64\";\n\nvar vector = function vector(t) {\n var vecType = [t]; // $FlowIgnore\n\n vecType.vector = true;\n return vecType;\n};\n\nvar controlInstructions = {\n unreachable: sign([], []),\n nop: sign([], []),\n // block ?\n // loop ?\n // if ?\n // if else ?\n br: sign([u32], []),\n br_if: sign([u32], []),\n br_table: sign(vector(u32), []),\n return: sign([], []),\n call: sign([u32], []),\n call_indirect: sign([u32], [])\n};\nvar parametricInstructions = {\n drop: sign([], []),\n select: sign([], [])\n};\nvar variableInstructions = {\n get_local: sign([u32], []),\n set_local: sign([u32], []),\n tee_local: sign([u32], []),\n get_global: sign([u32], []),\n set_global: sign([u32], [])\n};\nvar memoryInstructions = {\n \"i32.load\": sign([u32, u32], [i32]),\n \"i64.load\": sign([u32, u32], []),\n \"f32.load\": sign([u32, u32], []),\n \"f64.load\": sign([u32, u32], []),\n \"i32.load8_s\": sign([u32, u32], [i32]),\n \"i32.load8_u\": sign([u32, u32], [i32]),\n \"i32.load16_s\": sign([u32, u32], [i32]),\n \"i32.load16_u\": sign([u32, u32], [i32]),\n \"i64.load8_s\": sign([u32, u32], [i64]),\n \"i64.load8_u\": sign([u32, u32], [i64]),\n \"i64.load16_s\": sign([u32, u32], [i64]),\n \"i64.load16_u\": sign([u32, u32], [i64]),\n \"i64.load32_s\": sign([u32, u32], [i64]),\n \"i64.load32_u\": sign([u32, u32], [i64]),\n \"i32.store\": sign([u32, u32], []),\n \"i64.store\": sign([u32, u32], []),\n \"f32.store\": sign([u32, u32], []),\n \"f64.store\": sign([u32, u32], []),\n \"i32.store8\": sign([u32, u32], []),\n \"i32.store16\": sign([u32, u32], []),\n \"i64.store8\": sign([u32, u32], []),\n \"i64.store16\": sign([u32, u32], []),\n \"i64.store32\": sign([u32, u32], []),\n current_memory: sign([], []),\n grow_memory: sign([], [])\n};\nvar numericInstructions = {\n \"i32.const\": sign([i32], [i32]),\n \"i64.const\": sign([i64], [i64]),\n \"f32.const\": sign([f32], [f32]),\n \"f64.const\": sign([f64], [f64]),\n \"i32.eqz\": sign([i32], [i32]),\n \"i32.eq\": sign([i32, i32], [i32]),\n \"i32.ne\": sign([i32, i32], [i32]),\n \"i32.lt_s\": sign([i32, i32], [i32]),\n \"i32.lt_u\": sign([i32, i32], [i32]),\n \"i32.gt_s\": sign([i32, i32], [i32]),\n \"i32.gt_u\": sign([i32, i32], [i32]),\n \"i32.le_s\": sign([i32, i32], [i32]),\n \"i32.le_u\": sign([i32, i32], [i32]),\n \"i32.ge_s\": sign([i32, i32], [i32]),\n \"i32.ge_u\": sign([i32, i32], [i32]),\n \"i64.eqz\": sign([i64], [i64]),\n \"i64.eq\": sign([i64, i64], [i32]),\n \"i64.ne\": sign([i64, i64], [i32]),\n \"i64.lt_s\": sign([i64, i64], [i32]),\n \"i64.lt_u\": sign([i64, i64], [i32]),\n \"i64.gt_s\": sign([i64, i64], [i32]),\n \"i64.gt_u\": sign([i64, i64], [i32]),\n \"i64.le_s\": sign([i64, i64], [i32]),\n \"i64.le_u\": sign([i64, i64], [i32]),\n \"i64.ge_s\": sign([i64, i64], [i32]),\n \"i64.ge_u\": sign([i64, i64], [i32]),\n \"f32.eq\": sign([f32, f32], [i32]),\n \"f32.ne\": sign([f32, f32], [i32]),\n \"f32.lt\": sign([f32, f32], [i32]),\n \"f32.gt\": sign([f32, f32], [i32]),\n \"f32.le\": sign([f32, f32], [i32]),\n \"f32.ge\": sign([f32, f32], [i32]),\n \"f64.eq\": sign([f64, f64], [i32]),\n \"f64.ne\": sign([f64, f64], [i32]),\n \"f64.lt\": sign([f64, f64], [i32]),\n \"f64.gt\": sign([f64, f64], [i32]),\n \"f64.le\": sign([f64, f64], [i32]),\n \"f64.ge\": sign([f64, f64], [i32]),\n \"i32.clz\": sign([i32], [i32]),\n \"i32.ctz\": sign([i32], [i32]),\n \"i32.popcnt\": sign([i32], [i32]),\n \"i32.add\": sign([i32, i32], [i32]),\n \"i32.sub\": sign([i32, i32], [i32]),\n \"i32.mul\": sign([i32, i32], [i32]),\n \"i32.div_s\": sign([i32, i32], [i32]),\n \"i32.div_u\": sign([i32, i32], [i32]),\n \"i32.rem_s\": sign([i32, i32], [i32]),\n \"i32.rem_u\": sign([i32, i32], [i32]),\n \"i32.and\": sign([i32, i32], [i32]),\n \"i32.or\": sign([i32, i32], [i32]),\n \"i32.xor\": sign([i32, i32], [i32]),\n \"i32.shl\": sign([i32, i32], [i32]),\n \"i32.shr_s\": sign([i32, i32], [i32]),\n \"i32.shr_u\": sign([i32, i32], [i32]),\n \"i32.rotl\": sign([i32, i32], [i32]),\n \"i32.rotr\": sign([i32, i32], [i32]),\n \"i64.clz\": sign([i64], [i64]),\n \"i64.ctz\": sign([i64], [i64]),\n \"i64.popcnt\": sign([i64], [i64]),\n \"i64.add\": sign([i64, i64], [i64]),\n \"i64.sub\": sign([i64, i64], [i64]),\n \"i64.mul\": sign([i64, i64], [i64]),\n \"i64.div_s\": sign([i64, i64], [i64]),\n \"i64.div_u\": sign([i64, i64], [i64]),\n \"i64.rem_s\": sign([i64, i64], [i64]),\n \"i64.rem_u\": sign([i64, i64], [i64]),\n \"i64.and\": sign([i64, i64], [i64]),\n \"i64.or\": sign([i64, i64], [i64]),\n \"i64.xor\": sign([i64, i64], [i64]),\n \"i64.shl\": sign([i64, i64], [i64]),\n \"i64.shr_s\": sign([i64, i64], [i64]),\n \"i64.shr_u\": sign([i64, i64], [i64]),\n \"i64.rotl\": sign([i64, i64], [i64]),\n \"i64.rotr\": sign([i64, i64], [i64]),\n \"f32.abs\": sign([f32], [f32]),\n \"f32.neg\": sign([f32], [f32]),\n \"f32.ceil\": sign([f32], [f32]),\n \"f32.floor\": sign([f32], [f32]),\n \"f32.trunc\": sign([f32], [f32]),\n \"f32.nearest\": sign([f32], [f32]),\n \"f32.sqrt\": sign([f32], [f32]),\n \"f32.add\": sign([f32, f32], [f32]),\n \"f32.sub\": sign([f32, f32], [f32]),\n \"f32.mul\": sign([f32, f32], [f32]),\n \"f32.div\": sign([f32, f32], [f32]),\n \"f32.min\": sign([f32, f32], [f32]),\n \"f32.max\": sign([f32, f32], [f32]),\n \"f32.copysign\": sign([f32, f32], [f32]),\n \"f64.abs\": sign([f64], [f64]),\n \"f64.neg\": sign([f64], [f64]),\n \"f64.ceil\": sign([f64], [f64]),\n \"f64.floor\": sign([f64], [f64]),\n \"f64.trunc\": sign([f64], [f64]),\n \"f64.nearest\": sign([f64], [f64]),\n \"f64.sqrt\": sign([f64], [f64]),\n \"f64.add\": sign([f64, f64], [f64]),\n \"f64.sub\": sign([f64, f64], [f64]),\n \"f64.mul\": sign([f64, f64], [f64]),\n \"f64.div\": sign([f64, f64], [f64]),\n \"f64.min\": sign([f64, f64], [f64]),\n \"f64.max\": sign([f64, f64], [f64]),\n \"f64.copysign\": sign([f64, f64], [f64]),\n \"i32.wrap/i64\": sign([i64], [i32]),\n \"i32.trunc_s/f32\": sign([f32], [i32]),\n \"i32.trunc_u/f32\": sign([f32], [i32]),\n \"i32.trunc_s/f64\": sign([f32], [i32]),\n \"i32.trunc_u/f64\": sign([f64], [i32]),\n \"i64.extend_s/i32\": sign([i32], [i64]),\n \"i64.extend_u/i32\": sign([i32], [i64]),\n \"i64.trunc_s/f32\": sign([f32], [i64]),\n \"i64.trunc_u/f32\": sign([f32], [i64]),\n \"i64.trunc_s/f64\": sign([f64], [i64]),\n \"i64.trunc_u/f64\": sign([f64], [i64]),\n \"f32.convert_s/i32\": sign([i32], [f32]),\n \"f32.convert_u/i32\": sign([i32], [f32]),\n \"f32.convert_s/i64\": sign([i64], [f32]),\n \"f32.convert_u/i64\": sign([i64], [f32]),\n \"f32.demote/f64\": sign([f64], [f32]),\n \"f64.convert_s/i32\": sign([i32], [f64]),\n \"f64.convert_u/i32\": sign([i32], [f64]),\n \"f64.convert_s/i64\": sign([i64], [f64]),\n \"f64.convert_u/i64\": sign([i64], [f64]),\n \"f64.promote/f32\": sign([f32], [f64]),\n \"i32.reinterpret/f32\": sign([f32], [i32]),\n \"i64.reinterpret/f64\": sign([f64], [i64]),\n \"f32.reinterpret/i32\": sign([i32], [f32]),\n \"f64.reinterpret/i64\": sign([i64], [f64])\n};\nvar signatures = Object.assign({}, controlInstructions, parametricInstructions, variableInstructions, memoryInstructions, numericInstructions);\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/signatures.js?");
179+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"signatures\": () => (/* binding */ signatures)\n/* harmony export */ });\nfunction sign(input, output) {\n return [input, output];\n}\n\nvar u32 = \"u32\";\nvar i32 = \"i32\";\nvar i64 = \"i64\";\nvar f32 = \"f32\";\nvar f64 = \"f64\";\n\nvar vector = function vector(t) {\n var vecType = [t]; // $FlowIgnore\n\n vecType.vector = true;\n return vecType;\n};\n\nvar controlInstructions = {\n unreachable: sign([], []),\n nop: sign([], []),\n // block ?\n // loop ?\n // if ?\n // if else ?\n br: sign([u32], []),\n br_if: sign([u32], []),\n br_table: sign(vector(u32), []),\n return: sign([], []),\n call: sign([u32], []),\n call_indirect: sign([u32], [])\n};\nvar parametricInstructions = {\n drop: sign([], []),\n select: sign([], [])\n};\nvar variableInstructions = {\n get_local: sign([u32], []),\n set_local: sign([u32], []),\n tee_local: sign([u32], []),\n get_global: sign([u32], []),\n set_global: sign([u32], [])\n};\nvar memoryInstructions = {\n \"i32.load\": sign([u32, u32], [i32]),\n \"i64.load\": sign([u32, u32], []),\n \"f32.load\": sign([u32, u32], []),\n \"f64.load\": sign([u32, u32], []),\n \"i32.load8_s\": sign([u32, u32], [i32]),\n \"i32.load8_u\": sign([u32, u32], [i32]),\n \"i32.load16_s\": sign([u32, u32], [i32]),\n \"i32.load16_u\": sign([u32, u32], [i32]),\n \"i64.load8_s\": sign([u32, u32], [i64]),\n \"i64.load8_u\": sign([u32, u32], [i64]),\n \"i64.load16_s\": sign([u32, u32], [i64]),\n \"i64.load16_u\": sign([u32, u32], [i64]),\n \"i64.load32_s\": sign([u32, u32], [i64]),\n \"i64.load32_u\": sign([u32, u32], [i64]),\n \"i32.store\": sign([u32, u32], []),\n \"i64.store\": sign([u32, u32], []),\n \"f32.store\": sign([u32, u32], []),\n \"f64.store\": sign([u32, u32], []),\n \"i32.store8\": sign([u32, u32], []),\n \"i32.store16\": sign([u32, u32], []),\n \"i64.store8\": sign([u32, u32], []),\n \"i64.store16\": sign([u32, u32], []),\n \"i64.store32\": sign([u32, u32], []),\n current_memory: sign([], []),\n grow_memory: sign([], [])\n};\nvar numericInstructions = {\n \"i32.const\": sign([i32], [i32]),\n \"i64.const\": sign([i64], [i64]),\n \"f32.const\": sign([f32], [f32]),\n \"f64.const\": sign([f64], [f64]),\n \"i32.eqz\": sign([i32], [i32]),\n \"i32.eq\": sign([i32, i32], [i32]),\n \"i32.ne\": sign([i32, i32], [i32]),\n \"i32.lt_s\": sign([i32, i32], [i32]),\n \"i32.lt_u\": sign([i32, i32], [i32]),\n \"i32.gt_s\": sign([i32, i32], [i32]),\n \"i32.gt_u\": sign([i32, i32], [i32]),\n \"i32.le_s\": sign([i32, i32], [i32]),\n \"i32.le_u\": sign([i32, i32], [i32]),\n \"i32.ge_s\": sign([i32, i32], [i32]),\n \"i32.ge_u\": sign([i32, i32], [i32]),\n \"i64.eqz\": sign([i64], [i64]),\n \"i64.eq\": sign([i64, i64], [i32]),\n \"i64.ne\": sign([i64, i64], [i32]),\n \"i64.lt_s\": sign([i64, i64], [i32]),\n \"i64.lt_u\": sign([i64, i64], [i32]),\n \"i64.gt_s\": sign([i64, i64], [i32]),\n \"i64.gt_u\": sign([i64, i64], [i32]),\n \"i64.le_s\": sign([i64, i64], [i32]),\n \"i64.le_u\": sign([i64, i64], [i32]),\n \"i64.ge_s\": sign([i64, i64], [i32]),\n \"i64.ge_u\": sign([i64, i64], [i32]),\n \"f32.eq\": sign([f32, f32], [i32]),\n \"f32.ne\": sign([f32, f32], [i32]),\n \"f32.lt\": sign([f32, f32], [i32]),\n \"f32.gt\": sign([f32, f32], [i32]),\n \"f32.le\": sign([f32, f32], [i32]),\n \"f32.ge\": sign([f32, f32], [i32]),\n \"f64.eq\": sign([f64, f64], [i32]),\n \"f64.ne\": sign([f64, f64], [i32]),\n \"f64.lt\": sign([f64, f64], [i32]),\n \"f64.gt\": sign([f64, f64], [i32]),\n \"f64.le\": sign([f64, f64], [i32]),\n \"f64.ge\": sign([f64, f64], [i32]),\n \"i32.clz\": sign([i32], [i32]),\n \"i32.ctz\": sign([i32], [i32]),\n \"i32.popcnt\": sign([i32], [i32]),\n \"i32.add\": sign([i32, i32], [i32]),\n \"i32.sub\": sign([i32, i32], [i32]),\n \"i32.mul\": sign([i32, i32], [i32]),\n \"i32.div_s\": sign([i32, i32], [i32]),\n \"i32.div_u\": sign([i32, i32], [i32]),\n \"i32.rem_s\": sign([i32, i32], [i32]),\n \"i32.rem_u\": sign([i32, i32], [i32]),\n \"i32.and\": sign([i32, i32], [i32]),\n \"i32.or\": sign([i32, i32], [i32]),\n \"i32.xor\": sign([i32, i32], [i32]),\n \"i32.shl\": sign([i32, i32], [i32]),\n \"i32.shr_s\": sign([i32, i32], [i32]),\n \"i32.shr_u\": sign([i32, i32], [i32]),\n \"i32.rotl\": sign([i32, i32], [i32]),\n \"i32.rotr\": sign([i32, i32], [i32]),\n \"i64.clz\": sign([i64], [i64]),\n \"i64.ctz\": sign([i64], [i64]),\n \"i64.popcnt\": sign([i64], [i64]),\n \"i64.add\": sign([i64, i64], [i64]),\n \"i64.sub\": sign([i64, i64], [i64]),\n \"i64.mul\": sign([i64, i64], [i64]),\n \"i64.div_s\": sign([i64, i64], [i64]),\n \"i64.div_u\": sign([i64, i64], [i64]),\n \"i64.rem_s\": sign([i64, i64], [i64]),\n \"i64.rem_u\": sign([i64, i64], [i64]),\n \"i64.and\": sign([i64, i64], [i64]),\n \"i64.or\": sign([i64, i64], [i64]),\n \"i64.xor\": sign([i64, i64], [i64]),\n \"i64.shl\": sign([i64, i64], [i64]),\n \"i64.shr_s\": sign([i64, i64], [i64]),\n \"i64.shr_u\": sign([i64, i64], [i64]),\n \"i64.rotl\": sign([i64, i64], [i64]),\n \"i64.rotr\": sign([i64, i64], [i64]),\n \"f32.abs\": sign([f32], [f32]),\n \"f32.neg\": sign([f32], [f32]),\n \"f32.ceil\": sign([f32], [f32]),\n \"f32.floor\": sign([f32], [f32]),\n \"f32.trunc\": sign([f32], [f32]),\n \"f32.nearest\": sign([f32], [f32]),\n \"f32.sqrt\": sign([f32], [f32]),\n \"f32.add\": sign([f32, f32], [f32]),\n \"f32.sub\": sign([f32, f32], [f32]),\n \"f32.mul\": sign([f32, f32], [f32]),\n \"f32.div\": sign([f32, f32], [f32]),\n \"f32.min\": sign([f32, f32], [f32]),\n \"f32.max\": sign([f32, f32], [f32]),\n \"f32.copysign\": sign([f32, f32], [f32]),\n \"f64.abs\": sign([f64], [f64]),\n \"f64.neg\": sign([f64], [f64]),\n \"f64.ceil\": sign([f64], [f64]),\n \"f64.floor\": sign([f64], [f64]),\n \"f64.trunc\": sign([f64], [f64]),\n \"f64.nearest\": sign([f64], [f64]),\n \"f64.sqrt\": sign([f64], [f64]),\n \"f64.add\": sign([f64, f64], [f64]),\n \"f64.sub\": sign([f64, f64], [f64]),\n \"f64.mul\": sign([f64, f64], [f64]),\n \"f64.div\": sign([f64, f64], [f64]),\n \"f64.min\": sign([f64, f64], [f64]),\n \"f64.max\": sign([f64, f64], [f64]),\n \"f64.copysign\": sign([f64, f64], [f64]),\n \"i32.wrap/i64\": sign([i64], [i32]),\n \"i32.trunc_s/f32\": sign([f32], [i32]),\n \"i32.trunc_u/f32\": sign([f32], [i32]),\n \"i32.trunc_s/f64\": sign([f32], [i32]),\n \"i32.trunc_u/f64\": sign([f64], [i32]),\n \"i64.extend_s/i32\": sign([i32], [i64]),\n \"i64.extend_u/i32\": sign([i32], [i64]),\n \"i64.trunc_s/f32\": sign([f32], [i64]),\n \"i64.trunc_u/f32\": sign([f32], [i64]),\n \"i64.trunc_s/f64\": sign([f64], [i64]),\n \"i64.trunc_u/f64\": sign([f64], [i64]),\n \"f32.convert_s/i32\": sign([i32], [f32]),\n \"f32.convert_u/i32\": sign([i32], [f32]),\n \"f32.convert_s/i64\": sign([i64], [f32]),\n \"f32.convert_u/i64\": sign([i64], [f32]),\n \"f32.demote/f64\": sign([f64], [f32]),\n \"f64.convert_s/i32\": sign([i32], [f64]),\n \"f64.convert_u/i32\": sign([i32], [f64]),\n \"f64.convert_s/i64\": sign([i64], [f64]),\n \"f64.convert_u/i64\": sign([i64], [f64]),\n \"f64.promote/f32\": sign([f32], [f64]),\n \"i32.reinterpret/f32\": sign([f32], [i32]),\n \"i64.reinterpret/f64\": sign([f64], [i64]),\n \"f32.reinterpret/i32\": sign([i32], [f32]),\n \"f64.reinterpret/i64\": sign([i64], [f64])\n};\nvar signatures = Object.assign({}, controlInstructions, parametricInstructions, variableInstructions, memoryInstructions, numericInstructions);\n\n//# sourceURL=webpack://v/../node_modules/@webassemblyjs/ast/esm/signatures.js?");
310180
311181 /***/ }),
312182
@@ -317,7 +187,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
317187 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
318188
319189 "use strict";
320-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ModuleContext\": () => (/* binding */ ModuleContext),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* binding */ moduleContextFromModuleAST)\n/* harmony export */ });\n/* harmony import */ var _nodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../nodes.js */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n// TODO(sven): add flow in here\n\nfunction moduleContextFromModuleAST(m) {\n var moduleContext = new ModuleContext();\n\n if (!(m.type === \"Module\")) {\n throw new Error('m.type === \"Module\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n m.fields.forEach(function (field) {\n switch (field.type) {\n case \"Start\":\n {\n moduleContext.setStart(field.index);\n break;\n }\n\n case \"TypeInstruction\":\n {\n moduleContext.addType(field);\n break;\n }\n\n case \"Func\":\n {\n moduleContext.addFunction(field);\n break;\n }\n\n case \"Global\":\n {\n moduleContext.defineGlobal(field);\n break;\n }\n\n case \"ModuleImport\":\n {\n switch (field.descr.type) {\n case \"GlobalType\":\n {\n moduleContext.importGlobal(field.descr.valtype, field.descr.mutability);\n break;\n }\n\n case \"Memory\":\n {\n moduleContext.addMemory(field.descr.limits.min, field.descr.limits.max);\n break;\n }\n\n case \"FuncImportDescr\":\n {\n moduleContext.importFunction(field.descr);\n break;\n }\n\n case \"Table\":\n {\n // FIXME(sven): not implemented yet\n break;\n }\n\n default:\n throw new Error(\"Unsupported ModuleImport of type \" + JSON.stringify(field.descr.type));\n }\n\n break;\n }\n\n case \"Memory\":\n {\n moduleContext.addMemory(field.limits.min, field.limits.max);\n break;\n }\n }\n });\n return moduleContext;\n}\n/**\n * Module context for type checking\n */\n\nvar ModuleContext =\n/*#__PURE__*/\nfunction () {\n function ModuleContext() {\n _classCallCheck(this, ModuleContext);\n\n this.funcs = [];\n this.funcsOffsetByIdentifier = [];\n this.types = [];\n this.globals = [];\n this.globalsOffsetByIdentifier = [];\n this.mems = []; // Current stack frame\n\n this.locals = [];\n this.labels = [];\n this.return = [];\n this.debugName = \"unknown\";\n this.start = null;\n }\n /**\n * Set start segment\n */\n\n\n _createClass(ModuleContext, [{\n key: \"setStart\",\n value: function setStart(index) {\n this.start = index.value;\n }\n /**\n * Get start function\n */\n\n }, {\n key: \"getStart\",\n value: function getStart() {\n return this.start;\n }\n /**\n * Reset the active stack frame\n */\n\n }, {\n key: \"newContext\",\n value: function newContext(debugName, expectedResult) {\n this.locals = [];\n this.labels = [expectedResult];\n this.return = expectedResult;\n this.debugName = debugName;\n }\n /**\n * Functions\n */\n\n }, {\n key: \"addFunction\",\n value: function addFunction(func\n /*: Func*/\n ) {\n // eslint-disable-next-line prefer-const\n var _ref = func.signature || {},\n _ref$params = _ref.params,\n args = _ref$params === void 0 ? [] : _ref$params,\n _ref$results = _ref.results,\n result = _ref$results === void 0 ? [] : _ref$results;\n\n args = args.map(function (arg) {\n return arg.valtype;\n });\n this.funcs.push({\n args: args,\n result: result\n });\n\n if (typeof func.name !== \"undefined\") {\n this.funcsOffsetByIdentifier[func.name.value] = this.funcs.length - 1;\n }\n }\n }, {\n key: \"importFunction\",\n value: function importFunction(funcimport) {\n if ((0,_nodes_js__WEBPACK_IMPORTED_MODULE_0__.isSignature)(funcimport.signature)) {\n // eslint-disable-next-line prefer-const\n var _funcimport$signature = funcimport.signature,\n args = _funcimport$signature.params,\n result = _funcimport$signature.results;\n args = args.map(function (arg) {\n return arg.valtype;\n });\n this.funcs.push({\n args: args,\n result: result\n });\n } else {\n if (!(0,_nodes_js__WEBPACK_IMPORTED_MODULE_0__.isNumberLiteral)(funcimport.signature)) {\n throw new Error('isNumberLiteral(funcimport.signature)' + \" error: \" + ( false || \"unknown\"));\n }\n\n var typeId = funcimport.signature.value;\n\n if (!this.hasType(typeId)) {\n throw new Error('this.hasType(typeId)' + \" error: \" + ( false || \"unknown\"));\n }\n\n var signature = this.getType(typeId);\n this.funcs.push({\n args: signature.params.map(function (arg) {\n return arg.valtype;\n }),\n result: signature.results\n });\n }\n\n if (typeof funcimport.id !== \"undefined\") {\n // imports are first, we can assume their index in the array\n this.funcsOffsetByIdentifier[funcimport.id.value] = this.funcs.length - 1;\n }\n }\n }, {\n key: \"hasFunction\",\n value: function hasFunction(index) {\n return typeof this.getFunction(index) !== \"undefined\";\n }\n }, {\n key: \"getFunction\",\n value: function getFunction(index) {\n if (typeof index !== \"number\") {\n throw new Error(\"getFunction only supported for number index\");\n }\n\n return this.funcs[index];\n }\n }, {\n key: \"getFunctionOffsetByIdentifier\",\n value: function getFunctionOffsetByIdentifier(name) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n return this.funcsOffsetByIdentifier[name];\n }\n /**\n * Labels\n */\n\n }, {\n key: \"addLabel\",\n value: function addLabel(result) {\n this.labels.unshift(result);\n }\n }, {\n key: \"hasLabel\",\n value: function hasLabel(index) {\n return this.labels.length > index && index >= 0;\n }\n }, {\n key: \"getLabel\",\n value: function getLabel(index) {\n return this.labels[index];\n }\n }, {\n key: \"popLabel\",\n value: function popLabel() {\n this.labels.shift();\n }\n /**\n * Locals\n */\n\n }, {\n key: \"hasLocal\",\n value: function hasLocal(index) {\n return typeof this.getLocal(index) !== \"undefined\";\n }\n }, {\n key: \"getLocal\",\n value: function getLocal(index) {\n return this.locals[index];\n }\n }, {\n key: \"addLocal\",\n value: function addLocal(type) {\n this.locals.push(type);\n }\n /**\n * Types\n */\n\n }, {\n key: \"addType\",\n value: function addType(type) {\n if (!(type.functype.type === \"Signature\")) {\n throw new Error('type.functype.type === \"Signature\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n this.types.push(type.functype);\n }\n }, {\n key: \"hasType\",\n value: function hasType(index) {\n return this.types[index] !== undefined;\n }\n }, {\n key: \"getType\",\n value: function getType(index) {\n return this.types[index];\n }\n /**\n * Globals\n */\n\n }, {\n key: \"hasGlobal\",\n value: function hasGlobal(index) {\n return this.globals.length > index && index >= 0;\n }\n }, {\n key: \"getGlobal\",\n value: function getGlobal(index) {\n return this.globals[index].type;\n }\n }, {\n key: \"getGlobalOffsetByIdentifier\",\n value: function getGlobalOffsetByIdentifier(name) {\n if (!(typeof name === \"string\")) {\n throw new Error('typeof name === \"string\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n return this.globalsOffsetByIdentifier[name];\n }\n }, {\n key: \"defineGlobal\",\n value: function defineGlobal(global\n /*: Global*/\n ) {\n var type = global.globalType.valtype;\n var mutability = global.globalType.mutability;\n this.globals.push({\n type: type,\n mutability: mutability\n });\n\n if (typeof global.name !== \"undefined\") {\n this.globalsOffsetByIdentifier[global.name.value] = this.globals.length - 1;\n }\n }\n }, {\n key: \"importGlobal\",\n value: function importGlobal(type, mutability) {\n this.globals.push({\n type: type,\n mutability: mutability\n });\n }\n }, {\n key: \"isMutableGlobal\",\n value: function isMutableGlobal(index) {\n return this.globals[index].mutability === \"var\";\n }\n }, {\n key: \"isImmutableGlobal\",\n value: function isImmutableGlobal(index) {\n return this.globals[index].mutability === \"const\";\n }\n /**\n * Memories\n */\n\n }, {\n key: \"hasMemory\",\n value: function hasMemory(index) {\n return this.mems.length > index && index >= 0;\n }\n }, {\n key: \"addMemory\",\n value: function addMemory(min, max) {\n this.mems.push({\n min: min,\n max: max\n });\n }\n }, {\n key: \"getMemory\",\n value: function getMemory(index) {\n return this.mems[index];\n }\n }]);\n\n return ModuleContext;\n}();\n\n//# sourceURL=webpack://my-webpack-project/../node_modules/@webassemblyjs/ast/esm/transform/ast-module-to-module-context/index.js?");
190+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ModuleContext\": () => (/* binding */ ModuleContext),\n/* harmony export */ \"moduleContextFromModuleAST\": () => (/* binding */ moduleContextFromModuleAST)\n/* harmony export */ });\n/* harmony import */ var _nodes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../nodes.js */ \"../node_modules/@webassemblyjs/ast/esm/nodes.js\");\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n// TODO(sven): add flow in here\n\nfunction moduleContextFromModuleAST(m) {\n var moduleContext = new ModuleContext();\n\n if (!(m.type === \"Module\")) {\n throw new Error('m.type === \"Module\"' + \" error: \" + ( false || \"unknown\"));\n }\n\n m.fields.forEach(function (field) {\n switch (field.type) {\n case \"Start\":\n {\n moduleContext.setStart(field.index);\n break;\n }\n\n case \"TypeInstruction\":\n {\n moduleContext.addType(field);\n break;\n }\n\n case \"Func\":\n {\n moduleContext.addFunction(field);\n break;\n }\n\n case \"Global\":\n {\n moduleContext.defineGlobal(field);\n break;\n }\n\n case \"ModuleImport\":\n {\n switch (field.descr.type) {\n case \"GlobalType\":\n {\n moduleContext.importGlobal(field.descr.valtype, field.descr.mutability);\n break;\n }\n\n case \"Memory\":\n {\n moduleContext.addMemory(field.descr.limits.min, field.descr.limits.max);\n break;\n

Part of diff was cut off due to size limit. Use your local client to view the full diff.