summaryrefslogtreecommitdiff
path: root/node_modules/@ampproject
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@ampproject')
-rw-r--r--node_modules/@ampproject/remapping/LICENSE202
-rw-r--r--node_modules/@ampproject/remapping/README.md218
-rw-r--r--node_modules/@ampproject/remapping/dist/remapping.mjs197
-rw-r--r--node_modules/@ampproject/remapping/dist/remapping.mjs.map1
-rw-r--r--node_modules/@ampproject/remapping/dist/remapping.umd.js202
-rw-r--r--node_modules/@ampproject/remapping/dist/remapping.umd.js.map1
-rw-r--r--node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts14
-rw-r--r--node_modules/@ampproject/remapping/dist/types/remapping.d.ts20
-rw-r--r--node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts45
-rw-r--r--node_modules/@ampproject/remapping/dist/types/source-map.d.ts18
-rw-r--r--node_modules/@ampproject/remapping/dist/types/types.d.ts15
-rw-r--r--node_modules/@ampproject/remapping/package.json75
12 files changed, 0 insertions, 1008 deletions
diff --git a/node_modules/@ampproject/remapping/LICENSE b/node_modules/@ampproject/remapping/LICENSE
deleted file mode 100644
index d6456956..00000000
--- a/node_modules/@ampproject/remapping/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/node_modules/@ampproject/remapping/README.md b/node_modules/@ampproject/remapping/README.md
deleted file mode 100644
index 1463c9f6..00000000
--- a/node_modules/@ampproject/remapping/README.md
+++ /dev/null
@@ -1,218 +0,0 @@
-# @ampproject/remapping
-
-> Remap sequential sourcemaps through transformations to point at the original source code
-
-Remapping allows you to take the sourcemaps generated through transforming your code and "remap"
-them to the original source locations. Think "my minified code, transformed with babel and bundled
-with webpack", all pointing to the correct location in your original source code.
-
-With remapping, none of your source code transformations need to be aware of the input's sourcemap,
-they only need to generate an output sourcemap. This greatly simplifies building custom
-transformations (think a find-and-replace).
-
-## Installation
-
-```sh
-npm install @ampproject/remapping
-```
-
-## Usage
-
-```typescript
-function remapping(
- map: SourceMap | SourceMap[],
- loader: (file: string, ctx: LoaderContext) => (SourceMap | null | undefined),
- options?: { excludeContent: boolean, decodedMappings: boolean }
-): SourceMap;
-
-// LoaderContext gives the loader the importing sourcemap, tree depth, the ability to override the
-// "source" location (where child sources are resolved relative to, or the location of original
-// source), and the ability to override the "content" of an original source for inclusion in the
-// output sourcemap.
-type LoaderContext = {
- readonly importer: string;
- readonly depth: number;
- source: string;
- content: string | null | undefined;
-}
-```
-
-`remapping` takes the final output sourcemap, and a `loader` function. For every source file pointer
-in the sourcemap, the `loader` will be called with the resolved path. If the path itself represents
-a transformed file (it has a sourcmap associated with it), then the `loader` should return that
-sourcemap. If not, the path will be treated as an original, untransformed source code.
-
-```js
-// Babel transformed "helloworld.js" into "transformed.js"
-const transformedMap = JSON.stringify({
- file: 'transformed.js',
- // 1st column of 2nd line of output file translates into the 1st source
- // file, line 3, column 2
- mappings: ';CAEE',
- sources: ['helloworld.js'],
- version: 3,
-});
-
-// Uglify minified "transformed.js" into "transformed.min.js"
-const minifiedTransformedMap = JSON.stringify({
- file: 'transformed.min.js',
- // 0th column of 1st line of output file translates into the 1st source
- // file, line 2, column 1.
- mappings: 'AACC',
- names: [],
- sources: ['transformed.js'],
- version: 3,
-});
-
-const remapped = remapping(
- minifiedTransformedMap,
- (file, ctx) => {
-
- // The "transformed.js" file is an transformed file.
- if (file === 'transformed.js') {
- // The root importer is empty.
- console.assert(ctx.importer === '');
- // The depth in the sourcemap tree we're currently loading.
- // The root `minifiedTransformedMap` is depth 0, and its source children are depth 1, etc.
- console.assert(ctx.depth === 1);
-
- return transformedMap;
- }
-
- // Loader will be called to load transformedMap's source file pointers as well.
- console.assert(file === 'helloworld.js');
- // `transformed.js`'s sourcemap points into `helloworld.js`.
- console.assert(ctx.importer === 'transformed.js');
- // This is a source child of `transformed`, which is a source child of `minifiedTransformedMap`.
- console.assert(ctx.depth === 2);
- return null;
- }
-);
-
-console.log(remapped);
-// {
-// file: 'transpiled.min.js',
-// mappings: 'AAEE',
-// sources: ['helloworld.js'],
-// version: 3,
-// };
-```
-
-In this example, `loader` will be called twice:
-
-1. `"transformed.js"`, the first source file pointer in the `minifiedTransformedMap`. We return the
- associated sourcemap for it (its a transformed file, after all) so that sourcemap locations can
- be traced through it into the source files it represents.
-2. `"helloworld.js"`, our original, unmodified source code. This file does not have a sourcemap, so
- we return `null`.
-
-The `remapped` sourcemap now points from `transformed.min.js` into locations in `helloworld.js`. If
-you were to read the `mappings`, it says "0th column of the first line output line points to the 1st
-column of the 2nd line of the file `helloworld.js`".
-
-### Multiple transformations of a file
-
-As a convenience, if you have multiple single-source transformations of a file, you may pass an
-array of sourcemap files in the order of most-recent transformation sourcemap first. Note that this
-changes the `importer` and `depth` of each call to our loader. So our above example could have been
-written as:
-
-```js
-const remapped = remapping(
- [minifiedTransformedMap, transformedMap],
- () => null
-);
-
-console.log(remapped);
-// {
-// file: 'transpiled.min.js',
-// mappings: 'AAEE',
-// sources: ['helloworld.js'],
-// version: 3,
-// };
-```
-
-### Advanced control of the loading graph
-
-#### `source`
-
-The `source` property can overridden to any value to change the location of the current load. Eg,
-for an original source file, it allows us to change the location to the original source regardless
-of what the sourcemap source entry says. And for transformed files, it allows us to change the
-relative resolving location for child sources of the loaded sourcemap.
-
-```js
-const remapped = remapping(
- minifiedTransformedMap,
- (file, ctx) => {
-
- if (file === 'transformed.js') {
- // We pretend the transformed.js file actually exists in the 'src/' directory. When the nested
- // source files are loaded, they will now be relative to `src/`.
- ctx.source = 'src/transformed.js';
- return transformedMap;
- }
-
- console.assert(file === 'src/helloworld.js');
- // We could futher change the source of this original file, eg, to be inside a nested directory
- // itself. This will be reflected in the remapped sourcemap.
- ctx.source = 'src/nested/transformed.js';
- return null;
- }
-);
-
-console.log(remapped);
-// {
-// …,
-// sources: ['src/nested/helloworld.js'],
-// };
-```
-
-
-#### `content`
-
-The `content` property can be overridden when we encounter an original source file. Eg, this allows
-you to manually provide the source content of the original file regardless of whether the
-`sourcesContent` field is present in the parent sourcemap. It can also be set to `null` to remove
-the source content.
-
-```js
-const remapped = remapping(
- minifiedTransformedMap,
- (file, ctx) => {
-
- if (file === 'transformed.js') {
- // transformedMap does not include a `sourcesContent` field, so usually the remapped sourcemap
- // would not include any `sourcesContent` values.
- return transformedMap;
- }
-
- console.assert(file === 'helloworld.js');
- // We can read the file to provide the source content.
- ctx.content = fs.readFileSync(file, 'utf8');
- return null;
- }
-);
-
-console.log(remapped);
-// {
-// …,
-// sourcesContent: [
-// 'console.log("Hello world!")',
-// ],
-// };
-```
-
-### Options
-
-#### excludeContent
-
-By default, `excludeContent` is `false`. Passing `{ excludeContent: true }` will exclude the
-`sourcesContent` field from the returned sourcemap. This is mainly useful when you want to reduce
-the size out the sourcemap.
-
-#### decodedMappings
-
-By default, `decodedMappings` is `false`. Passing `{ decodedMappings: true }` will leave the
-`mappings` field in a [decoded state](https://github.com/rich-harris/sourcemap-codec) instead of
-encoding into a VLQ string.
diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs b/node_modules/@ampproject/remapping/dist/remapping.mjs
deleted file mode 100644
index f3875999..00000000
--- a/node_modules/@ampproject/remapping/dist/remapping.mjs
+++ /dev/null
@@ -1,197 +0,0 @@
-import { decodedMappings, traceSegment, TraceMap } from '@jridgewell/trace-mapping';
-import { GenMapping, maybeAddSegment, setSourceContent, setIgnore, toDecodedMap, toEncodedMap } from '@jridgewell/gen-mapping';
-
-const SOURCELESS_MAPPING = /* #__PURE__ */ SegmentObject('', -1, -1, '', null, false);
-const EMPTY_SOURCES = [];
-function SegmentObject(source, line, column, name, content, ignore) {
- return { source, line, column, name, content, ignore };
-}
-function Source(map, sources, source, content, ignore) {
- return {
- map,
- sources,
- source,
- content,
- ignore,
- };
-}
-/**
- * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes
- * (which may themselves be SourceMapTrees).
- */
-function MapSource(map, sources) {
- return Source(map, sources, '', null, false);
-}
-/**
- * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive
- * segment tracing ends at the `OriginalSource`.
- */
-function OriginalSource(source, content, ignore) {
- return Source(null, EMPTY_SOURCES, source, content, ignore);
-}
-/**
- * traceMappings is only called on the root level SourceMapTree, and begins the process of
- * resolving each mapping in terms of the original source files.
- */
-function traceMappings(tree) {
- // TODO: Eventually support sourceRoot, which has to be removed because the sources are already
- // fully resolved. We'll need to make sources relative to the sourceRoot before adding them.
- const gen = new GenMapping({ file: tree.map.file });
- const { sources: rootSources, map } = tree;
- const rootNames = map.names;
- const rootMappings = decodedMappings(map);
- for (let i = 0; i < rootMappings.length; i++) {
- const segments = rootMappings[i];
- for (let j = 0; j < segments.length; j++) {
- const segment = segments[j];
- const genCol = segment[0];
- let traced = SOURCELESS_MAPPING;
- // 1-length segments only move the current generated column, there's no source information
- // to gather from it.
- if (segment.length !== 1) {
- const source = rootSources[segment[1]];
- traced = originalPositionFor(source, segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : '');
- // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a
- // respective segment into an original source.
- if (traced == null)
- continue;
- }
- const { column, line, name, content, source, ignore } = traced;
- maybeAddSegment(gen, i, genCol, source, line, column, name);
- if (source && content != null)
- setSourceContent(gen, source, content);
- if (ignore)
- setIgnore(gen, source, true);
- }
- }
- return gen;
-}
-/**
- * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own
- * child SourceMapTrees, until we find the original source map.
- */
-function originalPositionFor(source, line, column, name) {
- if (!source.map) {
- return SegmentObject(source.source, line, column, name, source.content, source.ignore);
- }
- const segment = traceSegment(source.map, line, column);
- // If we couldn't find a segment, then this doesn't exist in the sourcemap.
- if (segment == null)
- return null;
- // 1-length segments only move the current generated column, there's no source information
- // to gather from it.
- if (segment.length === 1)
- return SOURCELESS_MAPPING;
- return originalPositionFor(source.sources[segment[1]], segment[2], segment[3], segment.length === 5 ? source.map.names[segment[4]] : name);
-}
-
-function asArray(value) {
- if (Array.isArray(value))
- return value;
- return [value];
-}
-/**
- * Recursively builds a tree structure out of sourcemap files, with each node
- * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of
- * `OriginalSource`s and `SourceMapTree`s.
- *
- * Every sourcemap is composed of a collection of source files and mappings
- * into locations of those source files. When we generate a `SourceMapTree` for
- * the sourcemap, we attempt to load each source file's own sourcemap. If it
- * does not have an associated sourcemap, it is considered an original,
- * unmodified source file.
- */
-function buildSourceMapTree(input, loader) {
- const maps = asArray(input).map((m) => new TraceMap(m, ''));
- const map = maps.pop();
- for (let i = 0; i < maps.length; i++) {
- if (maps[i].sources.length > 1) {
- throw new Error(`Transformation map ${i} must have exactly one source file.\n` +
- 'Did you specify these with the most recent transformation maps first?');
- }
- }
- let tree = build(map, loader, '', 0);
- for (let i = maps.length - 1; i >= 0; i--) {
- tree = MapSource(maps[i], [tree]);
- }
- return tree;
-}
-function build(map, loader, importer, importerDepth) {
- const { resolvedSources, sourcesContent, ignoreList } = map;
- const depth = importerDepth + 1;
- const children = resolvedSources.map((sourceFile, i) => {
- // The loading context gives the loader more information about why this file is being loaded
- // (eg, from which importer). It also allows the loader to override the location of the loaded
- // sourcemap/original source, or to override the content in the sourcesContent field if it's
- // an unmodified source file.
- const ctx = {
- importer,
- depth,
- source: sourceFile || '',
- content: undefined,
- ignore: undefined,
- };
- // Use the provided loader callback to retrieve the file's sourcemap.
- // TODO: We should eventually support async loading of sourcemap files.
- const sourceMap = loader(ctx.source, ctx);
- const { source, content, ignore } = ctx;
- // If there is a sourcemap, then we need to recurse into it to load its source files.
- if (sourceMap)
- return build(new TraceMap(sourceMap, source), loader, source, depth);
- // Else, it's an unmodified source file.
- // The contents of this unmodified source file can be overridden via the loader context,
- // allowing it to be explicitly null or a string. If it remains undefined, we fall back to
- // the importing sourcemap's `sourcesContent` field.
- const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null;
- const ignored = ignore !== undefined ? ignore : ignoreList ? ignoreList.includes(i) : false;
- return OriginalSource(source, sourceContent, ignored);
- });
- return MapSource(map, children);
-}
-
-/**
- * A SourceMap v3 compatible sourcemap, which only includes fields that were
- * provided to it.
- */
-class SourceMap {
- constructor(map, options) {
- const out = options.decodedMappings ? toDecodedMap(map) : toEncodedMap(map);
- this.version = out.version; // SourceMap spec says this should be first.
- this.file = out.file;
- this.mappings = out.mappings;
- this.names = out.names;
- this.ignoreList = out.ignoreList;
- this.sourceRoot = out.sourceRoot;
- this.sources = out.sources;
- if (!options.excludeContent) {
- this.sourcesContent = out.sourcesContent;
- }
- }
- toString() {
- return JSON.stringify(this);
- }
-}
-
-/**
- * Traces through all the mappings in the root sourcemap, through the sources
- * (and their sourcemaps), all the way back to the original source location.
- *
- * `loader` will be called every time we encounter a source file. If it returns
- * a sourcemap, we will recurse into that sourcemap to continue the trace. If
- * it returns a falsey value, that source file is treated as an original,
- * unmodified source file.
- *
- * Pass `excludeContent` to exclude any self-containing source file content
- * from the output sourcemap.
- *
- * Pass `decodedMappings` to receive a SourceMap with decoded (instead of
- * VLQ encoded) mappings.
- */
-function remapping(input, loader, options) {
- const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false };
- const tree = buildSourceMapTree(input, loader);
- return new SourceMap(traceMappings(tree), opts);
-}
-
-export { remapping as default };
-//# sourceMappingURL=remapping.mjs.map
diff --git a/node_modules/@ampproject/remapping/dist/remapping.mjs.map b/node_modules/@ampproject/remapping/dist/remapping.mjs.map
deleted file mode 100644
index 0eb007bf..00000000
--- a/node_modules/@ampproject/remapping/dist/remapping.mjs.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"remapping.mjs","sources":["../src/source-map-tree.ts","../src/build-source-map-tree.ts","../src/source-map.ts","../src/remapping.ts"],"sourcesContent":["import { GenMapping, maybeAddSegment, setIgnore, setSourceContent } from '@jridgewell/gen-mapping';\nimport { traceSegment, decodedMappings } from '@jridgewell/trace-mapping';\n\nimport type { TraceMap } from '@jridgewell/trace-mapping';\n\nexport type SourceMapSegmentObject = {\n column: number;\n line: number;\n name: string;\n source: string;\n content: string | null;\n ignore: boolean;\n};\n\nexport type OriginalSource = {\n map: null;\n sources: Sources[];\n source: string;\n content: string | null;\n ignore: boolean;\n};\n\nexport type MapSource = {\n map: TraceMap;\n sources: Sources[];\n source: string;\n content: null;\n ignore: false;\n};\n\nexport type Sources = OriginalSource | MapSource;\n\nconst SOURCELESS_MAPPING = /* #__PURE__ */ SegmentObject('', -1, -1, '', null, false);\nconst EMPTY_SOURCES: Sources[] = [];\n\nfunction SegmentObject(\n source: string,\n line: number,\n column: number,\n name: string,\n content: string | null,\n ignore: boolean\n): SourceMapSegmentObject {\n return { source, line, column, name, content, ignore };\n}\n\nfunction Source(\n map: TraceMap,\n sources: Sources[],\n source: '',\n content: null,\n ignore: false\n): MapSource;\nfunction Source(\n map: null,\n sources: Sources[],\n source: string,\n content: string | null,\n ignore: boolean\n): OriginalSource;\nfunction Source(\n map: TraceMap | null,\n sources: Sources[],\n source: string | '',\n content: string | null,\n ignore: boolean\n): Sources {\n return {\n map,\n sources,\n source,\n content,\n ignore,\n } as any;\n}\n\n/**\n * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes\n * (which may themselves be SourceMapTrees).\n */\nexport function MapSource(map: TraceMap, sources: Sources[]): MapSource {\n return Source(map, sources, '', null, false);\n}\n\n/**\n * A \"leaf\" node in the sourcemap tree, representing an original, unmodified source file. Recursive\n * segment tracing ends at the `OriginalSource`.\n */\nexport function OriginalSource(\n source: string,\n content: string | null,\n ignore: boolean\n): OriginalSource {\n return Source(null, EMPTY_SOURCES, source, content, ignore);\n}\n\n/**\n * traceMappings is only called on the root level SourceMapTree, and begins the process of\n * resolving each mapping in terms of the original source files.\n */\nexport function traceMappings(tree: MapSource): GenMapping {\n // TODO: Eventually support sourceRoot, which has to be removed because the sources are already\n // fully resolved. We'll need to make sources relative to the sourceRoot before adding them.\n const gen = new GenMapping({ file: tree.map.file });\n const { sources: rootSources, map } = tree;\n const rootNames = map.names;\n const rootMappings = decodedMappings(map);\n\n for (let i = 0; i < rootMappings.length; i++) {\n const segments = rootMappings[i];\n\n for (let j = 0; j < segments.length; j++) {\n const segment = segments[j];\n const genCol = segment[0];\n let traced: SourceMapSegmentObject | null = SOURCELESS_MAPPING;\n\n // 1-length segments only move the current generated column, there's no source information\n // to gather from it.\n if (segment.length !== 1) {\n const source = rootSources[segment[1]];\n traced = originalPositionFor(\n source,\n segment[2],\n segment[3],\n segment.length === 5 ? rootNames[segment[4]] : ''\n );\n\n // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a\n // respective segment into an original source.\n if (traced == null) continue;\n }\n\n const { column, line, name, content, source, ignore } = traced;\n\n maybeAddSegment(gen, i, genCol, source, line, column, name);\n if (source && content != null) setSourceContent(gen, source, content);\n if (ignore) setIgnore(gen, source, true);\n }\n }\n\n return gen;\n}\n\n/**\n * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own\n * child SourceMapTrees, until we find the original source map.\n */\nexport function originalPositionFor(\n source: Sources,\n line: number,\n column: number,\n name: string\n): SourceMapSegmentObject | null {\n if (!source.map) {\n return SegmentObject(source.source, line, column, name, source.content, source.ignore);\n }\n\n const segment = traceSegment(source.map, line, column);\n\n // If we couldn't find a segment, then this doesn't exist in the sourcemap.\n if (segment == null) return null;\n // 1-length segments only move the current generated column, there's no source information\n // to gather from it.\n if (segment.length === 1) return SOURCELESS_MAPPING;\n\n return originalPositionFor(\n source.sources[segment[1]],\n segment[2],\n segment[3],\n segment.length === 5 ? source.map.names[segment[4]] : name\n );\n}\n","import { TraceMap } from '@jridgewell/trace-mapping';\n\nimport { OriginalSource, MapSource } from './source-map-tree';\n\nimport type { Sources, MapSource as MapSourceType } from './source-map-tree';\nimport type { SourceMapInput, SourceMapLoader, LoaderContext } from './types';\n\nfunction asArray<T>(value: T | T[]): T[] {\n if (Array.isArray(value)) return value;\n return [value];\n}\n\n/**\n * Recursively builds a tree structure out of sourcemap files, with each node\n * being either an `OriginalSource` \"leaf\" or a `SourceMapTree` composed of\n * `OriginalSource`s and `SourceMapTree`s.\n *\n * Every sourcemap is composed of a collection of source files and mappings\n * into locations of those source files. When we generate a `SourceMapTree` for\n * the sourcemap, we attempt to load each source file's own sourcemap. If it\n * does not have an associated sourcemap, it is considered an original,\n * unmodified source file.\n */\nexport default function buildSourceMapTree(\n input: SourceMapInput | SourceMapInput[],\n loader: SourceMapLoader\n): MapSourceType {\n const maps = asArray(input).map((m) => new TraceMap(m, ''));\n const map = maps.pop()!;\n\n for (let i = 0; i < maps.length; i++) {\n if (maps[i].sources.length > 1) {\n throw new Error(\n `Transformation map ${i} must have exactly one source file.\\n` +\n 'Did you specify these with the most recent transformation maps first?'\n );\n }\n }\n\n let tree = build(map, loader, '', 0);\n for (let i = maps.length - 1; i >= 0; i--) {\n tree = MapSource(maps[i], [tree]);\n }\n return tree;\n}\n\nfunction build(\n map: TraceMap,\n loader: SourceMapLoader,\n importer: string,\n importerDepth: number\n): MapSourceType {\n const { resolvedSources, sourcesContent, ignoreList } = map;\n\n const depth = importerDepth + 1;\n const children = resolvedSources.map((sourceFile: string | null, i: number): Sources => {\n // The loading context gives the loader more information about why this file is being loaded\n // (eg, from which importer). It also allows the loader to override the location of the loaded\n // sourcemap/original source, or to override the content in the sourcesContent field if it's\n // an unmodified source file.\n const ctx: LoaderContext = {\n importer,\n depth,\n source: sourceFile || '',\n content: undefined,\n ignore: undefined,\n };\n\n // Use the provided loader callback to retrieve the file's sourcemap.\n // TODO: We should eventually support async loading of sourcemap files.\n const sourceMap = loader(ctx.source, ctx);\n\n const { source, content, ignore } = ctx;\n\n // If there is a sourcemap, then we need to recurse into it to load its source files.\n if (sourceMap) return build(new TraceMap(sourceMap, source), loader, source, depth);\n\n // Else, it's an unmodified source file.\n // The contents of this unmodified source file can be overridden via the loader context,\n // allowing it to be explicitly null or a string. If it remains undefined, we fall back to\n // the importing sourcemap's `sourcesContent` field.\n const sourceContent =\n content !== undefined ? content : sourcesContent ? sourcesContent[i] : null;\n const ignored = ignore !== undefined ? ignore : ignoreList ? ignoreList.includes(i) : false;\n return OriginalSource(source, sourceContent, ignored);\n });\n\n return MapSource(map, children);\n}\n","import { toDecodedMap, toEncodedMap } from '@jridgewell/gen-mapping';\n\nimport type { GenMapping } from '@jridgewell/gen-mapping';\nimport type { DecodedSourceMap, EncodedSourceMap, Options } from './types';\n\n/**\n * A SourceMap v3 compatible sourcemap, which only includes fields that were\n * provided to it.\n */\nexport default class SourceMap {\n declare file?: string | null;\n declare mappings: EncodedSourceMap['mappings'] | DecodedSourceMap['mappings'];\n declare sourceRoot?: string;\n declare names: string[];\n declare sources: (string | null)[];\n declare sourcesContent?: (string | null)[];\n declare version: 3;\n declare ignoreList: number[] | undefined;\n\n constructor(map: GenMapping, options: Options) {\n const out = options.decodedMappings ? toDecodedMap(map) : toEncodedMap(map);\n this.version = out.version; // SourceMap spec says this should be first.\n this.file = out.file;\n this.mappings = out.mappings as SourceMap['mappings'];\n this.names = out.names as SourceMap['names'];\n this.ignoreList = out.ignoreList as SourceMap['ignoreList'];\n this.sourceRoot = out.sourceRoot;\n\n this.sources = out.sources as SourceMap['sources'];\n if (!options.excludeContent) {\n this.sourcesContent = out.sourcesContent as SourceMap['sourcesContent'];\n }\n }\n\n toString(): string {\n return JSON.stringify(this);\n }\n}\n","import buildSourceMapTree from './build-source-map-tree';\nimport { traceMappings } from './source-map-tree';\nimport SourceMap from './source-map';\n\nimport type { SourceMapInput, SourceMapLoader, Options } from './types';\nexport type {\n SourceMapSegment,\n EncodedSourceMap,\n EncodedSourceMap as RawSourceMap,\n DecodedSourceMap,\n SourceMapInput,\n SourceMapLoader,\n LoaderContext,\n Options,\n} from './types';\nexport type { SourceMap };\n\n/**\n * Traces through all the mappings in the root sourcemap, through the sources\n * (and their sourcemaps), all the way back to the original source location.\n *\n * `loader` will be called every time we encounter a source file. If it returns\n * a sourcemap, we will recurse into that sourcemap to continue the trace. If\n * it returns a falsey value, that source file is treated as an original,\n * unmodified source file.\n *\n * Pass `excludeContent` to exclude any self-containing source file content\n * from the output sourcemap.\n *\n * Pass `decodedMappings` to receive a SourceMap with decoded (instead of\n * VLQ encoded) mappings.\n */\nexport default function remapping(\n input: SourceMapInput | SourceMapInput[],\n loader: SourceMapLoader,\n options?: boolean | Options\n): SourceMap {\n const opts =\n typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false };\n const tree = buildSourceMapTree(input, loader);\n return new SourceMap(traceMappings(tree), opts);\n}\n"],"names":[],"mappings":";;;AAgCA,MAAM,kBAAkB,mBAAmB,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;AACtF,MAAM,aAAa,GAAc,EAAE,CAAC;AAEpC,SAAS,aAAa,CACpB,MAAc,EACd,IAAY,EACZ,MAAc,EACd,IAAY,EACZ,OAAsB,EACtB,MAAe,EAAA;AAEf,IAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;AACzD,CAAC;AAgBD,SAAS,MAA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AAcG;AACqB,SAAA,SAAS,CAC/B,KAAwC,EACxC,MAAuB,EACvB,OAA2B,EAAA;IAE3B,MAAM,IAAI,GACR,OAAO,OAAO,KAAK,QAAQ,GAAG,OAAO,GAAG,EAAE,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;IAChG,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/C,OAAO,IAAI,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;AAClD;;;;"} \ No newline at end of file
diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js b/node_modules/@ampproject/remapping/dist/remapping.umd.js
deleted file mode 100644
index 6b7b3bb5..00000000
--- a/node_modules/@ampproject/remapping/dist/remapping.umd.js
+++ /dev/null
@@ -1,202 +0,0 @@
-(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@jridgewell/trace-mapping'), require('@jridgewell/gen-mapping')) :
- typeof define === 'function' && define.amd ? define(['@jridgewell/trace-mapping', '@jridgewell/gen-mapping'], factory) :
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.remapping = factory(global.traceMapping, global.genMapping));
-})(this, (function (traceMapping, genMapping) { 'use strict';
-
- const SOURCELESS_MAPPING = /* #__PURE__ */ SegmentObject('', -1, -1, '', null, false);
- const EMPTY_SOURCES = [];
- function SegmentObject(source, line, column, name, content, ignore) {
- return { source, line, column, name, content, ignore };
- }
- function Source(map, sources, source, content, ignore) {
- return {
- map,
- sources,
- source,
- content,
- ignore,
- };
- }
- /**
- * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes
- * (which may themselves be SourceMapTrees).
- */
- function MapSource(map, sources) {
- return Source(map, sources, '', null, false);
- }
- /**
- * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive
- * segment tracing ends at the `OriginalSource`.
- */
- function OriginalSource(source, content, ignore) {
- return Source(null, EMPTY_SOURCES, source, content, ignore);
- }
- /**
- * traceMappings is only called on the root level SourceMapTree, and begins the process of
- * resolving each mapping in terms of the original source files.
- */
- function traceMappings(tree) {
- // TODO: Eventually support sourceRoot, which has to be removed because the sources are already
- // fully resolved. We'll need to make sources relative to the sourceRoot before adding them.
- const gen = new genMapping.GenMapping({ file: tree.map.file });
- const { sources: rootSources, map } = tree;
- const rootNames = map.names;
- const rootMappings = traceMapping.decodedMappings(map);
- for (let i = 0; i < rootMappings.length; i++) {
- const segments = rootMappings[i];
- for (let j = 0; j < segments.length; j++) {
- const segment = segments[j];
- const genCol = segment[0];
- let traced = SOURCELESS_MAPPING;
- // 1-length segments only move the current generated column, there's no source information
- // to gather from it.
- if (segment.length !== 1) {
- const source = rootSources[segment[1]];
- traced = originalPositionFor(source, segment[2], segment[3], segment.length === 5 ? rootNames[segment[4]] : '');
- // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a
- // respective segment into an original source.
- if (traced == null)
- continue;
- }
- const { column, line, name, content, source, ignore } = traced;
- genMapping.maybeAddSegment(gen, i, genCol, source, line, column, name);
- if (source && content != null)
- genMapping.setSourceContent(gen, source, content);
- if (ignore)
- genMapping.setIgnore(gen, source, true);
- }
- }
- return gen;
- }
- /**
- * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own
- * child SourceMapTrees, until we find the original source map.
- */
- function originalPositionFor(source, line, column, name) {
- if (!source.map) {
- return SegmentObject(source.source, line, column, name, source.content, source.ignore);
- }
- const segment = traceMapping.traceSegment(source.map, line, column);
- // If we couldn't find a segment, then this doesn't exist in the sourcemap.
- if (segment == null)
- return null;
- // 1-length segments only move the current generated column, there's no source information
- // to gather from it.
- if (segment.length === 1)
- return SOURCELESS_MAPPING;
- return originalPositionFor(source.sources[segment[1]], segment[2], segment[3], segment.length === 5 ? source.map.names[segment[4]] : name);
- }
-
- function asArray(value) {
- if (Array.isArray(value))
- return value;
- return [value];
- }
- /**
- * Recursively builds a tree structure out of sourcemap files, with each node
- * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of
- * `OriginalSource`s and `SourceMapTree`s.
- *
- * Every sourcemap is composed of a collection of source files and mappings
- * into locations of those source files. When we generate a `SourceMapTree` for
- * the sourcemap, we attempt to load each source file's own sourcemap. If it
- * does not have an associated sourcemap, it is considered an original,
- * unmodified source file.
- */
- function buildSourceMapTree(input, loader) {
- const maps = asArray(input).map((m) => new traceMapping.TraceMap(m, ''));
- const map = maps.pop();
- for (let i = 0; i < maps.length; i++) {
- if (maps[i].sources.length > 1) {
- throw new Error(`Transformation map ${i} must have exactly one source file.\n` +
- 'Did you specify these with the most recent transformation maps first?');
- }
- }
- let tree = build(map, loader, '', 0);
- for (let i = maps.length - 1; i >= 0; i--) {
- tree = MapSource(maps[i], [tree]);
- }
- return tree;
- }
- function build(map, loader, importer, importerDepth) {
- const { resolvedSources, sourcesContent, ignoreList } = map;
- const depth = importerDepth + 1;
- const children = resolvedSources.map((sourceFile, i) => {
- // The loading context gives the loader more information about why this file is being loaded
- // (eg, from which importer). It also allows the loader to override the location of the loaded
- // sourcemap/original source, or to override the content in the sourcesContent field if it's
- // an unmodified source file.
- const ctx = {
- importer,
- depth,
- source: sourceFile || '',
- content: undefined,
- ignore: undefined,
- };
- // Use the provided loader callback to retrieve the file's sourcemap.
- // TODO: We should eventually support async loading of sourcemap files.
- const sourceMap = loader(ctx.source, ctx);
- const { source, content, ignore } = ctx;
- // If there is a sourcemap, then we need to recurse into it to load its source files.
- if (sourceMap)
- return build(new traceMapping.TraceMap(sourceMap, source), loader, source, depth);
- // Else, it's an unmodified source file.
- // The contents of this unmodified source file can be overridden via the loader context,
- // allowing it to be explicitly null or a string. If it remains undefined, we fall back to
- // the importing sourcemap's `sourcesContent` field.
- const sourceContent = content !== undefined ? content : sourcesContent ? sourcesContent[i] : null;
- const ignored = ignore !== undefined ? ignore : ignoreList ? ignoreList.includes(i) : false;
- return OriginalSource(source, sourceContent, ignored);
- });
- return MapSource(map, children);
- }
-
- /**
- * A SourceMap v3 compatible sourcemap, which only includes fields that were
- * provided to it.
- */
- class SourceMap {
- constructor(map, options) {
- const out = options.decodedMappings ? genMapping.toDecodedMap(map) : genMapping.toEncodedMap(map);
- this.version = out.version; // SourceMap spec says this should be first.
- this.file = out.file;
- this.mappings = out.mappings;
- this.names = out.names;
- this.ignoreList = out.ignoreList;
- this.sourceRoot = out.sourceRoot;
- this.sources = out.sources;
- if (!options.excludeContent) {
- this.sourcesContent = out.sourcesContent;
- }
- }
- toString() {
- return JSON.stringify(this);
- }
- }
-
- /**
- * Traces through all the mappings in the root sourcemap, through the sources
- * (and their sourcemaps), all the way back to the original source location.
- *
- * `loader` will be called every time we encounter a source file. If it returns
- * a sourcemap, we will recurse into that sourcemap to continue the trace. If
- * it returns a falsey value, that source file is treated as an original,
- * unmodified source file.
- *
- * Pass `excludeContent` to exclude any self-containing source file content
- * from the output sourcemap.
- *
- * Pass `decodedMappings` to receive a SourceMap with decoded (instead of
- * VLQ encoded) mappings.
- */
- function remapping(input, loader, options) {
- const opts = typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false };
- const tree = buildSourceMapTree(input, loader);
- return new SourceMap(traceMappings(tree), opts);
- }
-
- return remapping;
-
-}));
-//# sourceMappingURL=remapping.umd.js.map
diff --git a/node_modules/@ampproject/remapping/dist/remapping.umd.js.map b/node_modules/@ampproject/remapping/dist/remapping.umd.js.map
deleted file mode 100644
index d3f0f87d..00000000
--- a/node_modules/@ampproject/remapping/dist/remapping.umd.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"remapping.umd.js","sources":["../src/source-map-tree.ts","../src/build-source-map-tree.ts","../src/source-map.ts","../src/remapping.ts"],"sourcesContent":["import { GenMapping, maybeAddSegment, setIgnore, setSourceContent } from '@jridgewell/gen-mapping';\nimport { traceSegment, decodedMappings } from '@jridgewell/trace-mapping';\n\nimport type { TraceMap } from '@jridgewell/trace-mapping';\n\nexport type SourceMapSegmentObject = {\n column: number;\n line: number;\n name: string;\n source: string;\n content: string | null;\n ignore: boolean;\n};\n\nexport type OriginalSource = {\n map: null;\n sources: Sources[];\n source: string;\n content: string | null;\n ignore: boolean;\n};\n\nexport type MapSource = {\n map: TraceMap;\n sources: Sources[];\n source: string;\n content: null;\n ignore: false;\n};\n\nexport type Sources = OriginalSource | MapSource;\n\nconst SOURCELESS_MAPPING = /* #__PURE__ */ SegmentObject('', -1, -1, '', null, false);\nconst EMPTY_SOURCES: Sources[] = [];\n\nfunction SegmentObject(\n source: string,\n line: number,\n column: number,\n name: string,\n content: string | null,\n ignore: boolean\n): SourceMapSegmentObject {\n return { source, line, column, name, content, ignore };\n}\n\nfunction Source(\n map: TraceMap,\n sources: Sources[],\n source: '',\n content: null,\n ignore: false\n): MapSource;\nfunction Source(\n map: null,\n sources: Sources[],\n source: string,\n content: string | null,\n ignore: boolean\n): OriginalSource;\nfunction Source(\n map: TraceMap | null,\n sources: Sources[],\n source: string | '',\n content: string | null,\n ignore: boolean\n): Sources {\n return {\n map,\n sources,\n source,\n content,\n ignore,\n } as any;\n}\n\n/**\n * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes\n * (which may themselves be SourceMapTrees).\n */\nexport function MapSource(map: TraceMap, sources: Sources[]): MapSource {\n return Source(map, sources, '', null, false);\n}\n\n/**\n * A \"leaf\" node in the sourcemap tree, representing an original, unmodified source file. Recursive\n * segment tracing ends at the `OriginalSource`.\n */\nexport function OriginalSource(\n source: string,\n content: string | null,\n ignore: boolean\n): OriginalSource {\n return Source(null, EMPTY_SOURCES, source, content, ignore);\n}\n\n/**\n * traceMappings is only called on the root level SourceMapTree, and begins the process of\n * resolving each mapping in terms of the original source files.\n */\nexport function traceMappings(tree: MapSource): GenMapping {\n // TODO: Eventually support sourceRoot, which has to be removed because the sources are already\n // fully resolved. We'll need to make sources relative to the sourceRoot before adding them.\n const gen = new GenMapping({ file: tree.map.file });\n const { sources: rootSources, map } = tree;\n const rootNames = map.names;\n const rootMappings = decodedMappings(map);\n\n for (let i = 0; i < rootMappings.length; i++) {\n const segments = rootMappings[i];\n\n for (let j = 0; j < segments.length; j++) {\n const segment = segments[j];\n const genCol = segment[0];\n let traced: SourceMapSegmentObject | null = SOURCELESS_MAPPING;\n\n // 1-length segments only move the current generated column, there's no source information\n // to gather from it.\n if (segment.length !== 1) {\n const source = rootSources[segment[1]];\n traced = originalPositionFor(\n source,\n segment[2],\n segment[3],\n segment.length === 5 ? rootNames[segment[4]] : ''\n );\n\n // If the trace is invalid, then the trace ran into a sourcemap that doesn't contain a\n // respective segment into an original source.\n if (traced == null) continue;\n }\n\n const { column, line, name, content, source, ignore } = traced;\n\n maybeAddSegment(gen, i, genCol, source, line, column, name);\n if (source && content != null) setSourceContent(gen, source, content);\n if (ignore) setIgnore(gen, source, true);\n }\n }\n\n return gen;\n}\n\n/**\n * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own\n * child SourceMapTrees, until we find the original source map.\n */\nexport function originalPositionFor(\n source: Sources,\n line: number,\n column: number,\n name: string\n): SourceMapSegmentObject | null {\n if (!source.map) {\n return SegmentObject(source.source, line, column, name, source.content, source.ignore);\n }\n\n const segment = traceSegment(source.map, line, column);\n\n // If we couldn't find a segment, then this doesn't exist in the sourcemap.\n if (segment == null) return null;\n // 1-length segments only move the current generated column, there's no source information\n // to gather from it.\n if (segment.length === 1) return SOURCELESS_MAPPING;\n\n return originalPositionFor(\n source.sources[segment[1]],\n segment[2],\n segment[3],\n segment.length === 5 ? source.map.names[segment[4]] : name\n );\n}\n","import { TraceMap } from '@jridgewell/trace-mapping';\n\nimport { OriginalSource, MapSource } from './source-map-tree';\n\nimport type { Sources, MapSource as MapSourceType } from './source-map-tree';\nimport type { SourceMapInput, SourceMapLoader, LoaderContext } from './types';\n\nfunction asArray<T>(value: T | T[]): T[] {\n if (Array.isArray(value)) return value;\n return [value];\n}\n\n/**\n * Recursively builds a tree structure out of sourcemap files, with each node\n * being either an `OriginalSource` \"leaf\" or a `SourceMapTree` composed of\n * `OriginalSource`s and `SourceMapTree`s.\n *\n * Every sourcemap is composed of a collection of source files and mappings\n * into locations of those source files. When we generate a `SourceMapTree` for\n * the sourcemap, we attempt to load each source file's own sourcemap. If it\n * does not have an associated sourcemap, it is considered an original,\n * unmodified source file.\n */\nexport default function buildSourceMapTree(\n input: SourceMapInput | SourceMapInput[],\n loader: SourceMapLoader\n): MapSourceType {\n const maps = asArray(input).map((m) => new TraceMap(m, ''));\n const map = maps.pop()!;\n\n for (let i = 0; i < maps.length; i++) {\n if (maps[i].sources.length > 1) {\n throw new Error(\n `Transformation map ${i} must have exactly one source file.\\n` +\n 'Did you specify these with the most recent transformation maps first?'\n );\n }\n }\n\n let tree = build(map, loader, '', 0);\n for (let i = maps.length - 1; i >= 0; i--) {\n tree = MapSource(maps[i], [tree]);\n }\n return tree;\n}\n\nfunction build(\n map: TraceMap,\n loader: SourceMapLoader,\n importer: string,\n importerDepth: number\n): MapSourceType {\n const { resolvedSources, sourcesContent, ignoreList } = map;\n\n const depth = importerDepth + 1;\n const children = resolvedSources.map((sourceFile: string | null, i: number): Sources => {\n // The loading context gives the loader more information about why this file is being loaded\n // (eg, from which importer). It also allows the loader to override the location of the loaded\n // sourcemap/original source, or to override the content in the sourcesContent field if it's\n // an unmodified source file.\n const ctx: LoaderContext = {\n importer,\n depth,\n source: sourceFile || '',\n content: undefined,\n ignore: undefined,\n };\n\n // Use the provided loader callback to retrieve the file's sourcemap.\n // TODO: We should eventually support async loading of sourcemap files.\n const sourceMap = loader(ctx.source, ctx);\n\n const { source, content, ignore } = ctx;\n\n // If there is a sourcemap, then we need to recurse into it to load its source files.\n if (sourceMap) return build(new TraceMap(sourceMap, source), loader, source, depth);\n\n // Else, it's an unmodified source file.\n // The contents of this unmodified source file can be overridden via the loader context,\n // allowing it to be explicitly null or a string. If it remains undefined, we fall back to\n // the importing sourcemap's `sourcesContent` field.\n const sourceContent =\n content !== undefined ? content : sourcesContent ? sourcesContent[i] : null;\n const ignored = ignore !== undefined ? ignore : ignoreList ? ignoreList.includes(i) : false;\n return OriginalSource(source, sourceContent, ignored);\n });\n\n return MapSource(map, children);\n}\n","import { toDecodedMap, toEncodedMap } from '@jridgewell/gen-mapping';\n\nimport type { GenMapping } from '@jridgewell/gen-mapping';\nimport type { DecodedSourceMap, EncodedSourceMap, Options } from './types';\n\n/**\n * A SourceMap v3 compatible sourcemap, which only includes fields that were\n * provided to it.\n */\nexport default class SourceMap {\n declare file?: string | null;\n declare mappings: EncodedSourceMap['mappings'] | DecodedSourceMap['mappings'];\n declare sourceRoot?: string;\n declare names: string[];\n declare sources: (string | null)[];\n declare sourcesContent?: (string | null)[];\n declare version: 3;\n declare ignoreList: number[] | undefined;\n\n constructor(map: GenMapping, options: Options) {\n const out = options.decodedMappings ? toDecodedMap(map) : toEncodedMap(map);\n this.version = out.version; // SourceMap spec says this should be first.\n this.file = out.file;\n this.mappings = out.mappings as SourceMap['mappings'];\n this.names = out.names as SourceMap['names'];\n this.ignoreList = out.ignoreList as SourceMap['ignoreList'];\n this.sourceRoot = out.sourceRoot;\n\n this.sources = out.sources as SourceMap['sources'];\n if (!options.excludeContent) {\n this.sourcesContent = out.sourcesContent as SourceMap['sourcesContent'];\n }\n }\n\n toString(): string {\n return JSON.stringify(this);\n }\n}\n","import buildSourceMapTree from './build-source-map-tree';\nimport { traceMappings } from './source-map-tree';\nimport SourceMap from './source-map';\n\nimport type { SourceMapInput, SourceMapLoader, Options } from './types';\nexport type {\n SourceMapSegment,\n EncodedSourceMap,\n EncodedSourceMap as RawSourceMap,\n DecodedSourceMap,\n SourceMapInput,\n SourceMapLoader,\n LoaderContext,\n Options,\n} from './types';\nexport type { SourceMap };\n\n/**\n * Traces through all the mappings in the root sourcemap, through the sources\n * (and their sourcemaps), all the way back to the original source location.\n *\n * `loader` will be called every time we encounter a source file. If it returns\n * a sourcemap, we will recurse into that sourcemap to continue the trace. If\n * it returns a falsey value, that source file is treated as an original,\n * unmodified source file.\n *\n * Pass `excludeContent` to exclude any self-containing source file content\n * from the output sourcemap.\n *\n * Pass `decodedMappings` to receive a SourceMap with decoded (instead of\n * VLQ encoded) mappings.\n */\nexport default function remapping(\n input: SourceMapInput | SourceMapInput[],\n loader: SourceMapLoader,\n options?: boolean | Options\n): SourceMap {\n const opts =\n typeof options === 'object' ? options : { excludeContent: !!options, decodedMappings: false };\n const tree = buildSourceMapTree(input, loader);\n return new SourceMap(traceMappings(tree), opts);\n}\n"],"names":["GenMapping","decodedMappings","maybeAddSegment","setSourceContent","setIgnore","traceSegment","TraceMap","toDecodedMap","toEncodedMap"],"mappings":";;;;;;IAgCA,MAAM,kBAAkB,mBAAmB,aAAa,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IACtF,MAAM,aAAa,GAAc,EAAE,CAAC;IAEpC,SAAS,aAAa,CACpB,MAAc,EACd,IAAY,EACZ,MAAc,EACd,IAAY,EACZ,OAAsB,EACtB,MAAe,EAAA;IAEf,IAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACzD,CAAC;IAgBD,SAAS,MAAM,CACb,GAAoB,EACpB,OAAkB,EAClB,MAAmB,EACnB,OAAsB,EACtB,MAAe,EAAA;QAEf,OAAO;YACL,GAAG;YACH,OAAO;YACP,MAAM;YACN,OAAO;YACP,MAAM;SACA,CAAC;IACX,CAAC;IAED;;;IAGG;IACa,SAAA,SAAS,CAAC,GAAa,EAAE,OAAkB,EAAA;IACzD,IAAA,OAAO,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;IAC/C,CAAC;IAED;;;IAGG;aACa,cAAc,CAC5B,MAAc,EACd,OAAsB,EACtB,MAAe,EAAA;IAEf,IAAA,OAAO,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CA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/types/build-source-map-tree.d.ts
deleted file mode 100644
index f87fceab..00000000
--- a/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type { MapSource as MapSourceType } from './source-map-tree';
-import type { SourceMapInput, SourceMapLoader } from './types';
-/**
- * Recursively builds a tree structure out of sourcemap files, with each node
- * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of
- * `OriginalSource`s and `SourceMapTree`s.
- *
- * Every sourcemap is composed of a collection of source files and mappings
- * into locations of those source files. When we generate a `SourceMapTree` for
- * the sourcemap, we attempt to load each source file's own sourcemap. If it
- * does not have an associated sourcemap, it is considered an original,
- * unmodified source file.
- */
-export default function buildSourceMapTree(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader): MapSourceType;
diff --git a/node_modules/@ampproject/remapping/dist/types/remapping.d.ts b/node_modules/@ampproject/remapping/dist/types/remapping.d.ts
deleted file mode 100644
index 771fe307..00000000
--- a/node_modules/@ampproject/remapping/dist/types/remapping.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import SourceMap from './source-map';
-import type { SourceMapInput, SourceMapLoader, Options } from './types';
-export type { SourceMapSegment, EncodedSourceMap, EncodedSourceMap as RawSourceMap, DecodedSourceMap, SourceMapInput, SourceMapLoader, LoaderContext, Options, } from './types';
-export type { SourceMap };
-/**
- * Traces through all the mappings in the root sourcemap, through the sources
- * (and their sourcemaps), all the way back to the original source location.
- *
- * `loader` will be called every time we encounter a source file. If it returns
- * a sourcemap, we will recurse into that sourcemap to continue the trace. If
- * it returns a falsey value, that source file is treated as an original,
- * unmodified source file.
- *
- * Pass `excludeContent` to exclude any self-containing source file content
- * from the output sourcemap.
- *
- * Pass `decodedMappings` to receive a SourceMap with decoded (instead of
- * VLQ encoded) mappings.
- */
-export default function remapping(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader, options?: boolean | Options): SourceMap;
diff --git a/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts
deleted file mode 100644
index 935bc698..00000000
--- a/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import { GenMapping } from '@jridgewell/gen-mapping';
-import type { TraceMap } from '@jridgewell/trace-mapping';
-export declare type SourceMapSegmentObject = {
- column: number;
- line: number;
- name: string;
- source: string;
- content: string | null;
- ignore: boolean;
-};
-export declare type OriginalSource = {
- map: null;
- sources: Sources[];
- source: string;
- content: string | null;
- ignore: boolean;
-};
-export declare type MapSource = {
- map: TraceMap;
- sources: Sources[];
- source: string;
- content: null;
- ignore: false;
-};
-export declare type Sources = OriginalSource | MapSource;
-/**
- * MapSource represents a single sourcemap, with the ability to trace mappings into its child nodes
- * (which may themselves be SourceMapTrees).
- */
-export declare function MapSource(map: TraceMap, sources: Sources[]): MapSource;
-/**
- * A "leaf" node in the sourcemap tree, representing an original, unmodified source file. Recursive
- * segment tracing ends at the `OriginalSource`.
- */
-export declare function OriginalSource(source: string, content: string | null, ignore: boolean): OriginalSource;
-/**
- * traceMappings is only called on the root level SourceMapTree, and begins the process of
- * resolving each mapping in terms of the original source files.
- */
-export declare function traceMappings(tree: MapSource): GenMapping;
-/**
- * originalPositionFor is only called on children SourceMapTrees. It recurses down into its own
- * child SourceMapTrees, until we find the original source map.
- */
-export declare function originalPositionFor(source: Sources, line: number, column: number, name: string): SourceMapSegmentObject | null;
diff --git a/node_modules/@ampproject/remapping/dist/types/source-map.d.ts b/node_modules/@ampproject/remapping/dist/types/source-map.d.ts
deleted file mode 100644
index cbd7f0af..00000000
--- a/node_modules/@ampproject/remapping/dist/types/source-map.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import type { GenMapping } from '@jridgewell/gen-mapping';
-import type { DecodedSourceMap, EncodedSourceMap, Options } from './types';
-/**
- * A SourceMap v3 compatible sourcemap, which only includes fields that were
- * provided to it.
- */
-export default class SourceMap {
- file?: string | null;
- mappings: EncodedSourceMap['mappings'] | DecodedSourceMap['mappings'];
- sourceRoot?: string;
- names: string[];
- sources: (string | null)[];
- sourcesContent?: (string | null)[];
- version: 3;
- ignoreList: number[] | undefined;
- constructor(map: GenMapping, options: Options);
- toString(): string;
-}
diff --git a/node_modules/@ampproject/remapping/dist/types/types.d.ts b/node_modules/@ampproject/remapping/dist/types/types.d.ts
deleted file mode 100644
index 4d78c4bc..00000000
--- a/node_modules/@ampproject/remapping/dist/types/types.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { SourceMapInput } from '@jridgewell/trace-mapping';
-export type { SourceMapSegment, DecodedSourceMap, EncodedSourceMap, } from '@jridgewell/trace-mapping';
-export type { SourceMapInput };
-export declare type LoaderContext = {
- readonly importer: string;
- readonly depth: number;
- source: string;
- content: string | null | undefined;
- ignore: boolean | undefined;
-};
-export declare type SourceMapLoader = (file: string, ctx: LoaderContext) => SourceMapInput | null | undefined | void;
-export declare type Options = {
- excludeContent?: boolean;
- decodedMappings?: boolean;
-};
diff --git a/node_modules/@ampproject/remapping/package.json b/node_modules/@ampproject/remapping/package.json
deleted file mode 100644
index 091224c6..00000000
--- a/node_modules/@ampproject/remapping/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "name": "@ampproject/remapping",
- "version": "2.3.0",
- "description": "Remap sequential sourcemaps through transformations to point at the original source code",
- "keywords": [
- "source",
- "map",
- "remap"
- ],
- "main": "dist/remapping.umd.js",
- "module": "dist/remapping.mjs",
- "types": "dist/types/remapping.d.ts",
- "exports": {
- ".": [
- {
- "types": "./dist/types/remapping.d.ts",
- "browser": "./dist/remapping.umd.js",
- "require": "./dist/remapping.umd.js",
- "import": "./dist/remapping.mjs"
- },
- "./dist/remapping.umd.js"
- ],
- "./package.json": "./package.json"
- },
- "files": [
- "dist"
- ],
- "author": "Justin Ridgewell <jridgewell@google.com>",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/ampproject/remapping.git"
- },
- "license": "Apache-2.0",
- "engines": {
- "node": ">=6.0.0"
- },
- "scripts": {
- "build": "run-s -n build:*",
- "build:rollup": "rollup -c rollup.config.js",
- "build:ts": "tsc --project tsconfig.build.json",
- "lint": "run-s -n lint:*",
- "lint:prettier": "npm run test:lint:prettier -- --write",
- "lint:ts": "npm run test:lint:ts -- --fix",
- "prebuild": "rm -rf dist",
- "prepublishOnly": "npm run preversion",
- "preversion": "run-s test build",
- "test": "run-s -n test:lint test:only",
- "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
- "test:lint": "run-s -n test:lint:*",
- "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
- "test:lint:ts": "eslint '{src,test}/**/*.ts'",
- "test:only": "jest --coverage",
- "test:watch": "jest --coverage --watch"
- },
- "devDependencies": {
- "@rollup/plugin-typescript": "8.3.2",
- "@types/jest": "27.4.1",
- "@typescript-eslint/eslint-plugin": "5.20.0",
- "@typescript-eslint/parser": "5.20.0",
- "eslint": "8.14.0",
- "eslint-config-prettier": "8.5.0",
- "jest": "27.5.1",
- "jest-config": "27.5.1",
- "npm-run-all": "4.1.5",
- "prettier": "2.6.2",
- "rollup": "2.70.2",
- "ts-jest": "27.1.4",
- "tslib": "2.4.0",
- "typescript": "4.6.3"
- },
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.24"
- }
-}