@vercel/ncc
Advanced tools
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface ArrayBufferConstructor { | ||
| new (): ArrayBuffer; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface ArrayBuffer { | ||
| /** | ||
| * If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength) | ||
| */ | ||
| get maxByteLength(): number; | ||
| /** | ||
| * Returns true if this ArrayBuffer can be resized. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable) | ||
| */ | ||
| get resizable(): boolean; | ||
| /** | ||
| * Resizes the ArrayBuffer to the specified size (in bytes). | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize) | ||
| */ | ||
| resize(newByteLength?: number): void; | ||
| /** | ||
| * Returns a boolean indicating whether or not this buffer has been detached (transferred). | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached) | ||
| */ | ||
| get detached(): boolean; | ||
| /** | ||
| * Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer) | ||
| */ | ||
| transfer(newByteLength?: number): ArrayBuffer; | ||
| /** | ||
| * Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength) | ||
| */ | ||
| transferToFixedLength(newByteLength?: number): ArrayBuffer; | ||
| } | ||
| interface ArrayBufferConstructor { | ||
| new (byteLength: number, options?: { maxByteLength?: number; }): ArrayBuffer; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface MapConstructor { | ||
| /** | ||
| * Groups members of an iterable according to the return value of the passed callback. | ||
| * @param items An iterable. | ||
| * @param keySelector A callback which will be invoked for each item in items. | ||
| */ | ||
| groupBy<K, T>( | ||
| items: Iterable<T>, | ||
| keySelector: (item: T, index: number) => K, | ||
| ): Map<K, T[]>; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| /// <reference lib="es2023" /> | ||
| /// <reference lib="es2024.arraybuffer" /> | ||
| /// <reference lib="es2024.collection" /> | ||
| /// <reference lib="es2024.object" /> | ||
| /// <reference lib="es2024.promise" /> | ||
| /// <reference lib="es2024.regexp" /> | ||
| /// <reference lib="es2024.sharedmemory" /> | ||
| /// <reference lib="es2024.string" /> |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| /// <reference lib="es2024" /> | ||
| /// <reference lib="dom" /> | ||
| /// <reference lib="webworker.importscripts" /> | ||
| /// <reference lib="scripthost" /> | ||
| /// <reference lib="dom.iterable" /> | ||
| /// <reference lib="dom.asynciterable" /> |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface ObjectConstructor { | ||
| /** | ||
| * Groups members of an iterable according to the return value of the passed callback. | ||
| * @param items An iterable. | ||
| * @param keySelector A callback which will be invoked for each item in items. | ||
| */ | ||
| groupBy<K extends PropertyKey, T>( | ||
| items: Iterable<T>, | ||
| keySelector: (item: T, index: number) => K, | ||
| ): Partial<Record<K, T[]>>; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface PromiseWithResolvers<T> { | ||
| promise: Promise<T>; | ||
| resolve: (value: T | PromiseLike<T>) => void; | ||
| reject: (reason?: any) => void; | ||
| } | ||
| interface PromiseConstructor { | ||
| /** | ||
| * Creates a new Promise and returns it in an object, along with its resolve and reject functions. | ||
| * @returns An object with the properties `promise`, `resolve`, and `reject`. | ||
| * | ||
| * ```ts | ||
| * const { promise, resolve, reject } = Promise.withResolvers<T>(); | ||
| * ``` | ||
| */ | ||
| withResolvers<T>(): PromiseWithResolvers<T>; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface RegExp { | ||
| /** | ||
| * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression. | ||
| * Default is false. Read-only. | ||
| */ | ||
| readonly unicodeSets: boolean; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| /// <reference lib="es2020.bigint" /> | ||
| interface Atomics { | ||
| /** | ||
| * A non-blocking, asynchronous version of wait which is usable on the main thread. | ||
| * Waits asynchronously on a shared memory location and returns a Promise | ||
| * @param typedArray A shared Int32Array or BigInt64Array. | ||
| * @param index The position in the typedArray to wait on. | ||
| * @param value The expected value to test. | ||
| * @param [timeout] The expected value to test. | ||
| */ | ||
| waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; | ||
| /** | ||
| * A non-blocking, asynchronous version of wait which is usable on the main thread. | ||
| * Waits asynchronously on a shared memory location and returns a Promise | ||
| * @param typedArray A shared Int32Array or BigInt64Array. | ||
| * @param index The position in the typedArray to wait on. | ||
| * @param value The expected value to test. | ||
| * @param [timeout] The expected value to test. | ||
| */ | ||
| waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; | ||
| } | ||
| interface SharedArrayBuffer { | ||
| /** | ||
| * Returns true if this SharedArrayBuffer can be grown. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable) | ||
| */ | ||
| get growable(): boolean; | ||
| /** | ||
| * If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/maxByteLength) | ||
| */ | ||
| get maxByteLength(): number; | ||
| /** | ||
| * Grows the SharedArrayBuffer to the specified size (in bytes). | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow) | ||
| */ | ||
| grow(newByteLength?: number): void; | ||
| } | ||
| interface SharedArrayBufferConstructor { | ||
| new (byteLength: number, options?: { maxByteLength?: number; }): SharedArrayBuffer; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface String { | ||
| /** | ||
| * Returns true if all leading surrogates and trailing surrogates appear paired and in order. | ||
| */ | ||
| isWellFormed(): boolean; | ||
| /** | ||
| * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). | ||
| */ | ||
| toWellFormed(): string; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface ErrorConstructor { | ||
| /** | ||
| * Indicates whether the argument provided is a built-in Error instance or not. | ||
| */ | ||
| isError(error: unknown): error is Error; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| /// <reference lib="es2015.symbol" /> | ||
| /// <reference lib="es2015.iterable" /> | ||
| /** | ||
| * A typed array of 16-bit float values. The contents are initialized to 0. If the requested number | ||
| * of bytes could not be allocated an exception is raised. | ||
| */ | ||
| interface Float16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> { | ||
| /** | ||
| * The size in bytes of each element in the array. | ||
| */ | ||
| readonly BYTES_PER_ELEMENT: number; | ||
| /** | ||
| * The ArrayBuffer instance referenced by the array. | ||
| */ | ||
| readonly buffer: TArrayBuffer; | ||
| /** | ||
| * The length in bytes of the array. | ||
| */ | ||
| readonly byteLength: number; | ||
| /** | ||
| * The offset in bytes of the array. | ||
| */ | ||
| readonly byteOffset: number; | ||
| /** | ||
| * Returns the item located at the specified index. | ||
| * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. | ||
| */ | ||
| at(index: number): number | undefined; | ||
| /** | ||
| * Returns the this object after copying a section of the array identified by start and end | ||
| * to the same array starting at position target | ||
| * @param target If target is negative, it is treated as length+target where length is the | ||
| * length of the array. | ||
| * @param start If start is negative, it is treated as length+start. If end is negative, it | ||
| * is treated as length+end. | ||
| * @param end If not specified, length of the this object is used as its default value. | ||
| */ | ||
| copyWithin(target: number, start: number, end?: number): this; | ||
| /** | ||
| * Determines whether all the members of an array satisfy the specified test. | ||
| * @param predicate A function that accepts up to three arguments. The every method calls | ||
| * the predicate function for each element in the array until the predicate returns a value | ||
| * which is coercible to the Boolean value false, or until the end of the array. | ||
| * @param thisArg An object to which the this keyword can refer in the predicate function. | ||
| * If thisArg is omitted, undefined is used as the this value. | ||
| */ | ||
| every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; | ||
| /** | ||
| * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array | ||
| * @param value value to fill array section with | ||
| * @param start index to start filling the array at. If start is negative, it is treated as | ||
| * length+start where length is the length of the array. | ||
| * @param end index to stop filling the array at. If end is negative, it is treated as | ||
| * length+end. | ||
| */ | ||
| fill(value: number, start?: number, end?: number): this; | ||
| /** | ||
| * Returns the elements of an array that meet the condition specified in a callback function. | ||
| * @param predicate A function that accepts up to three arguments. The filter method calls | ||
| * the predicate function one time for each element in the array. | ||
| * @param thisArg An object to which the this keyword can refer in the predicate function. | ||
| * If thisArg is omitted, undefined is used as the this value. | ||
| */ | ||
| filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Returns the value of the first element in the array where predicate is true, and undefined | ||
| * otherwise. | ||
| * @param predicate find calls predicate once for each element of the array, in ascending | ||
| * order, until it finds one where predicate returns true. If such an element is found, find | ||
| * immediately returns that element value. Otherwise, find returns undefined. | ||
| * @param thisArg If provided, it will be used as the this value for each invocation of | ||
| * predicate. If it is not provided, undefined is used instead. | ||
| */ | ||
| find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined; | ||
| /** | ||
| * Returns the index of the first element in the array where predicate is true, and -1 | ||
| * otherwise. | ||
| * @param predicate find calls predicate once for each element of the array, in ascending | ||
| * order, until it finds one where predicate returns true. If such an element is found, | ||
| * findIndex immediately returns that element index. Otherwise, findIndex returns -1. | ||
| * @param thisArg If provided, it will be used as the this value for each invocation of | ||
| * predicate. If it is not provided, undefined is used instead. | ||
| */ | ||
| findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number; | ||
| /** | ||
| * Returns the value of the last element in the array where predicate is true, and undefined | ||
| * otherwise. | ||
| * @param predicate findLast calls predicate once for each element of the array, in descending | ||
| * order, until it finds one where predicate returns true. If such an element is found, findLast | ||
| * immediately returns that element value. Otherwise, findLast returns undefined. | ||
| * @param thisArg If provided, it will be used as the this value for each invocation of | ||
| * predicate. If it is not provided, undefined is used instead. | ||
| */ | ||
| findLast<S extends number>( | ||
| predicate: ( | ||
| value: number, | ||
| index: number, | ||
| array: this, | ||
| ) => value is S, | ||
| thisArg?: any, | ||
| ): S | undefined; | ||
| findLast( | ||
| predicate: ( | ||
| value: number, | ||
| index: number, | ||
| array: this, | ||
| ) => unknown, | ||
| thisArg?: any, | ||
| ): number | undefined; | ||
| /** | ||
| * Returns the index of the last element in the array where predicate is true, and -1 | ||
| * otherwise. | ||
| * @param predicate findLastIndex calls predicate once for each element of the array, in descending | ||
| * order, until it finds one where predicate returns true. If such an element is found, | ||
| * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1. | ||
| * @param thisArg If provided, it will be used as the this value for each invocation of | ||
| * predicate. If it is not provided, undefined is used instead. | ||
| */ | ||
| findLastIndex( | ||
| predicate: ( | ||
| value: number, | ||
| index: number, | ||
| array: this, | ||
| ) => unknown, | ||
| thisArg?: any, | ||
| ): number; | ||
| /** | ||
| * Performs the specified action for each element in an array. | ||
| * @param callbackfn A function that accepts up to three arguments. forEach calls the | ||
| * callbackfn function one time for each element in the array. | ||
| * @param thisArg An object to which the this keyword can refer in the callbackfn function. | ||
| * If thisArg is omitted, undefined is used as the this value. | ||
| */ | ||
| forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void; | ||
| /** | ||
| * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| * @param searchElement The element to search for. | ||
| * @param fromIndex The position in this array at which to begin searching for searchElement. | ||
| */ | ||
| includes(searchElement: number, fromIndex?: number): boolean; | ||
| /** | ||
| * Returns the index of the first occurrence of a value in an array. | ||
| * @param searchElement The value to locate in the array. | ||
| * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the | ||
| * search starts at index 0. | ||
| */ | ||
| indexOf(searchElement: number, fromIndex?: number): number; | ||
| /** | ||
| * Adds all the elements of an array separated by the specified separator string. | ||
| * @param separator A string used to separate one element of an array from the next in the | ||
| * resulting String. If omitted, the array elements are separated with a comma. | ||
| */ | ||
| join(separator?: string): string; | ||
| /** | ||
| * Returns the index of the last occurrence of a value in an array. | ||
| * @param searchElement The value to locate in the array. | ||
| * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the | ||
| * search starts at index 0. | ||
| */ | ||
| lastIndexOf(searchElement: number, fromIndex?: number): number; | ||
| /** | ||
| * The length of the array. | ||
| */ | ||
| readonly length: number; | ||
| /** | ||
| * Calls a defined callback function on each element of an array, and returns an array that | ||
| * contains the results. | ||
| * @param callbackfn A function that accepts up to three arguments. The map method calls the | ||
| * callbackfn function one time for each element in the array. | ||
| * @param thisArg An object to which the this keyword can refer in the callbackfn function. | ||
| * If thisArg is omitted, undefined is used as the this value. | ||
| */ | ||
| map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Calls the specified callback function for all the elements in an array. The return value of | ||
| * the callback function is the accumulated result, and is provided as an argument in the next | ||
| * call to the callback function. | ||
| * @param callbackfn A function that accepts up to four arguments. The reduce method calls the | ||
| * callbackfn function one time for each element in the array. | ||
| * @param initialValue If initialValue is specified, it is used as the initial value to start | ||
| * the accumulation. The first call to the callbackfn function provides this value as an argument | ||
| * instead of an array value. | ||
| */ | ||
| reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; | ||
| reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; | ||
| /** | ||
| * Calls the specified callback function for all the elements in an array. The return value of | ||
| * the callback function is the accumulated result, and is provided as an argument in the next | ||
| * call to the callback function. | ||
| * @param callbackfn A function that accepts up to four arguments. The reduce method calls the | ||
| * callbackfn function one time for each element in the array. | ||
| * @param initialValue If initialValue is specified, it is used as the initial value to start | ||
| * the accumulation. The first call to the callbackfn function provides this value as an argument | ||
| * instead of an array value. | ||
| */ | ||
| reduce<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; | ||
| /** | ||
| * Calls the specified callback function for all the elements in an array, in descending order. | ||
| * The return value of the callback function is the accumulated result, and is provided as an | ||
| * argument in the next call to the callback function. | ||
| * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls | ||
| * the callbackfn function one time for each element in the array. | ||
| * @param initialValue If initialValue is specified, it is used as the initial value to start | ||
| * the accumulation. The first call to the callbackfn function provides this value as an | ||
| * argument instead of an array value. | ||
| */ | ||
| reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number; | ||
| reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number, initialValue: number): number; | ||
| /** | ||
| * Calls the specified callback function for all the elements in an array, in descending order. | ||
| * The return value of the callback function is the accumulated result, and is provided as an | ||
| * argument in the next call to the callback function. | ||
| * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls | ||
| * the callbackfn function one time for each element in the array. | ||
| * @param initialValue If initialValue is specified, it is used as the initial value to start | ||
| * the accumulation. The first call to the callbackfn function provides this value as an argument | ||
| * instead of an array value. | ||
| */ | ||
| reduceRight<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U, initialValue: U): U; | ||
| /** | ||
| * Reverses the elements in an Array. | ||
| */ | ||
| reverse(): this; | ||
| /** | ||
| * Sets a value or an array of values. | ||
| * @param array A typed or untyped array of values to set. | ||
| * @param offset The index in the current array at which the values are to be written. | ||
| */ | ||
| set(array: ArrayLike<number>, offset?: number): void; | ||
| /** | ||
| * Returns a section of an array. | ||
| * @param start The beginning of the specified portion of the array. | ||
| * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'. | ||
| */ | ||
| slice(start?: number, end?: number): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Determines whether the specified callback function returns true for any element of an array. | ||
| * @param predicate A function that accepts up to three arguments. The some method calls | ||
| * the predicate function for each element in the array until the predicate returns a value | ||
| * which is coercible to the Boolean value true, or until the end of the array. | ||
| * @param thisArg An object to which the this keyword can refer in the predicate function. | ||
| * If thisArg is omitted, undefined is used as the this value. | ||
| */ | ||
| some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean; | ||
| /** | ||
| * Sorts an array. | ||
| * @param compareFn Function used to determine the order of the elements. It is expected to return | ||
| * a negative value if first argument is less than second argument, zero if they're equal and a positive | ||
| * value otherwise. If omitted, the elements are sorted in ascending order. | ||
| * ```ts | ||
| * [11,2,22,1].sort((a, b) => a - b) | ||
| * ``` | ||
| */ | ||
| sort(compareFn?: (a: number, b: number) => number): this; | ||
| /** | ||
| * Gets a new Float16Array view of the ArrayBuffer store for this array, referencing the elements | ||
| * at begin, inclusive, up to end, exclusive. | ||
| * @param begin The index of the beginning of the array. | ||
| * @param end The index of the end of the array. | ||
| */ | ||
| subarray(begin?: number, end?: number): Float16Array<TArrayBuffer>; | ||
| /** | ||
| * Converts a number to a string by using the current locale. | ||
| */ | ||
| toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| /** | ||
| * Copies the array and returns the copy with the elements in reverse order. | ||
| */ | ||
| toReversed(): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Copies and sorts the array. | ||
| * @param compareFn Function used to determine the order of the elements. It is expected to return | ||
| * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive | ||
| * value otherwise. If omitted, the elements are sorted in ascending order. | ||
| * ```ts | ||
| * const myNums = Float16Array.from([11.25, 2, -22.5, 1]); | ||
| * myNums.toSorted((a, b) => a - b) // Float16Array(4) [-22.5, 1, 2, 11.5] | ||
| * ``` | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Returns a string representation of an array. | ||
| */ | ||
| toString(): string; | ||
| /** Returns the primitive value of the specified object. */ | ||
| valueOf(): this; | ||
| /** | ||
| * Copies the array and inserts the given number at the provided index. | ||
| * @param index The index of the value to overwrite. If the index is | ||
| * negative, then it replaces from the end of the array. | ||
| * @param value The value to insert into the copied array. | ||
| * @returns A copy of the original array with the inserted value. | ||
| */ | ||
| with(index: number, value: number): Float16Array<ArrayBuffer>; | ||
| [index: number]: number; | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
| * Returns an array of key, value pairs for every entry in the array | ||
| */ | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
| * Returns an list of keys in the array | ||
| */ | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
| * Returns an list of values in the array | ||
| */ | ||
| values(): ArrayIterator<number>; | ||
| readonly [Symbol.toStringTag]: "Float16Array"; | ||
| } | ||
| interface Float16ArrayConstructor { | ||
| readonly prototype: Float16Array<ArrayBufferLike>; | ||
| new (length?: number): Float16Array<ArrayBuffer>; | ||
| new (array: ArrayLike<number> | Iterable<number>): Float16Array<ArrayBuffer>; | ||
| new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float16Array<TArrayBuffer>; | ||
| new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float16Array<ArrayBuffer>; | ||
| new (array: ArrayLike<number> | ArrayBuffer): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * The size in bytes of each element in the array. | ||
| */ | ||
| readonly BYTES_PER_ELEMENT: number; | ||
| /** | ||
| * Returns a new array from a set of elements. | ||
| * @param items A set of elements to include in the new array object. | ||
| */ | ||
| of(...items: number[]): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| */ | ||
| from(arrayLike: ArrayLike<number>): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Float16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float16Array<ArrayBuffer>; | ||
| } | ||
| declare var Float16Array: Float16ArrayConstructor; | ||
| interface Math { | ||
| /** | ||
| * Returns the nearest half precision float representation of a number. | ||
| * @param x A numeric expression. | ||
| */ | ||
| f16round(x: number): number; | ||
| } | ||
| interface DataView<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
| * Gets the Float16 value at the specified byte offset from the start of the view. There is | ||
| * no alignment constraint; multi-byte values may be fetched from any offset. | ||
| * @param byteOffset The place in the buffer at which the value should be retrieved. | ||
| * @param littleEndian If false or undefined, a big-endian value should be read. | ||
| */ | ||
| getFloat16(byteOffset: number, littleEndian?: boolean): number; | ||
| /** | ||
| * Stores an Float16 value at the specified byte offset from the start of the view. | ||
| * @param byteOffset The place in the buffer at which the value should be set. | ||
| * @param value The value to set. | ||
| * @param littleEndian If false or undefined, a big-endian value should be written. | ||
| */ | ||
| setFloat16(byteOffset: number, value: number, littleEndian?: boolean): void; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface Atomics { | ||
| /** | ||
| * Performs a finite-time microwait by signaling to the operating system or | ||
| * CPU that the current executing code is in a spin-wait loop. | ||
| */ | ||
| pause(n?: number): void; | ||
| } |
+48
-55
@@ -76,24 +76,2 @@ arg | ||
| concat-map | ||
| MIT | ||
| This software is released under the MIT license: | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| this software and associated documentation files (the "Software"), to deal in | ||
| the Software without restriction, including without limitation the rights to | ||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
| the Software, and to permit persons to whom the Software is furnished to do so, | ||
| subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
| FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
| IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
| CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| fs.realpath | ||
@@ -270,46 +248,61 @@ ISC | ||
| path-is-absolute | ||
| MIT | ||
| The MIT License (MIT) | ||
| rimraf | ||
| BlueOak-1.0.0 | ||
| # Blue Oak Model License | ||
| Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) | ||
| Version 1.0.0 | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| ## Purpose | ||
| The above copyright notice and this permission notice shall be included in | ||
| all copies or substantial portions of the Software. | ||
| This license gives everyone as much permission to work with | ||
| this software as possible, while protecting contributors | ||
| from liability. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| THE SOFTWARE. | ||
| ## Acceptance | ||
| In order to receive this license, you must agree to its | ||
| rules. The rules of this license are both obligations | ||
| under that agreement and conditions to your license. | ||
| You must not do anything with this software that triggers | ||
| a rule that you cannot or will not follow. | ||
| rimraf | ||
| ISC | ||
| The ISC License | ||
| ## Copyright | ||
| Copyright (c) Isaac Z. Schlueter and Contributors | ||
| Each contributor licenses you to do everything with this | ||
| software that would otherwise infringe that contributor's | ||
| copyright in it. | ||
| Permission to use, copy, modify, and/or distribute this software for any | ||
| purpose with or without fee is hereby granted, provided that the above | ||
| copyright notice and this permission notice appear in all copies. | ||
| ## Notices | ||
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
| IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| You must ensure that everyone who gets a copy of | ||
| any part of this software from you, with or without | ||
| changes, also gets the text of this license or a link to | ||
| <https://blueoakcouncil.org/license/1.0.0>. | ||
| ## Excuse | ||
| If anyone notifies you in writing that you have not | ||
| complied with [Notices](#notices), you can keep your | ||
| license by taking all practical steps to comply within 30 | ||
| days after the notice. If you do not do so, your license | ||
| ends immediately. | ||
| ## Patent | ||
| Each contributor licenses you to do everything with this | ||
| software that would otherwise infringe any patent claims | ||
| they can license or become able to license. | ||
| ## Reliability | ||
| No contributor can revoke this license. | ||
| ## No Liability | ||
| ***As far as the law allows, this software comes as is, | ||
| without any warranty or condition, and no contributor | ||
| will be liable to anyone for any damages related to this | ||
| software or this license, under any kind of legal claim.*** | ||
| tiny-each-async | ||
@@ -316,0 +309,0 @@ MIT |
@@ -1,1 +0,1 @@ | ||
| (()=>{var e={975:e=>{e.exports=function(e){this.cacheable&&this.cacheable();if(typeof e==="string"&&/^#!/.test(e)){e=e.replace(/^#![^\n\r]*[\r\n]/,"")}return e}},957:(e,r,_)=>{e.exports=_(975)}};var r={};function __webpack_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var i=true;try{e[_](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[_]}return a.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(957);module.exports=_})(); | ||
| (()=>{var e={500:e=>{e.exports=function(e){this.cacheable&&this.cacheable();if(typeof e==="string"&&/^#!/.test(e)){e=e.replace(/^#![^\n\r]*[\r\n]/,"")}return e}},957:(e,r,_)=>{e.exports=_(500)}};var r={};function __webpack_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var i=true;try{e[_](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[_]}return a.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(957);module.exports=_})(); |
@@ -113,5 +113,5 @@ /*! ***************************************************************************** | ||
| /** | ||
| * Adds a callback to be invoked either before static initializers are run (when | ||
| * decorating a `static` element), or before instance initializers are run (when | ||
| * decorating a non-`static` element). | ||
| * Adds a callback to be invoked either after static methods are defined but before | ||
| * static initializers are run (when decorating a `static` element), or before instance | ||
| * initializers are run (when decorating a non-`static` element). | ||
| * | ||
@@ -180,5 +180,5 @@ * @example | ||
| /** | ||
| * Adds a callback to be invoked either before static initializers are run (when | ||
| * decorating a `static` element), or before instance initializers are run (when | ||
| * decorating a non-`static` element). | ||
| * Adds a callback to be invoked either after static methods are defined but before | ||
| * static initializers are run (when decorating a `static` element), or before instance | ||
| * initializers are run (when decorating a non-`static` element). | ||
| */ | ||
@@ -228,5 +228,5 @@ addInitializer(initializer: (this: This) => void): void; | ||
| /** | ||
| * Adds a callback to be invoked either before static initializers are run (when | ||
| * decorating a `static` element), or before instance initializers are run (when | ||
| * decorating a non-`static` element). | ||
| * Adds a callback to be invoked either after static methods are defined but before | ||
| * static initializers are run (when decorating a `static` element), or before instance | ||
| * initializers are run (when decorating a non-`static` element). | ||
| */ | ||
@@ -285,5 +285,4 @@ addInitializer(initializer: (this: This) => void): void; | ||
| /** | ||
| * Adds a callback to be invoked either before static initializers are run (when | ||
| * decorating a `static` element), or before instance initializers are run (when | ||
| * decorating a non-`static` element). | ||
| * Adds a callback to be invoked immediately after the auto `accessor` being | ||
| * decorated is initialized (regardless if the `accessor` is `static` or not). | ||
| */ | ||
@@ -383,5 +382,4 @@ addInitializer(initializer: (this: This) => void): void; | ||
| /** | ||
| * Adds a callback to be invoked either before static initializers are run (when | ||
| * decorating a `static` element), or before instance initializers are run (when | ||
| * decorating a non-`static` element). | ||
| * Adds a callback to be invoked immediately after the field being decorated | ||
| * is initialized (regardless if the field is `static` or not). | ||
| */ | ||
@@ -388,0 +386,0 @@ addInitializer(initializer: (this: This) => void): void; |
@@ -23,9 +23,8 @@ /*! ***************************************************************************** | ||
| interface AbortSignal { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ | ||
| any(signals: Iterable<AbortSignal>): AbortSignal; | ||
| } | ||
| interface AudioParam { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */ | ||
| /** | ||
| * The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) | ||
| */ | ||
| setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam; | ||
@@ -38,5 +37,13 @@ } | ||
| interface BaseAudioContext { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */ | ||
| /** | ||
| * The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general **infinite impulse response** (IIR) filter which can be configured to serve as various types of filter. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) | ||
| */ | ||
| createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */ | ||
| /** | ||
| * The `createPeriodicWave()` method of the BaseAudioContext interface is used to create a PeriodicWave. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) | ||
| */ | ||
| createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave; | ||
@@ -79,3 +86,7 @@ } | ||
| interface Cache { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ | ||
| /** | ||
| * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) | ||
| */ | ||
| addAll(requests: Iterable<RequestInfo>): Promise<void>; | ||
@@ -94,2 +105,17 @@ } | ||
| interface CookieStoreManager { | ||
| /** | ||
| * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe) | ||
| */ | ||
| subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>; | ||
| /** | ||
| * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe) | ||
| */ | ||
| unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>; | ||
| } | ||
| interface CustomStateSet extends Set<string> { | ||
@@ -183,3 +209,3 @@ } | ||
| /** | ||
| * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. | ||
| * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store. | ||
| * | ||
@@ -193,6 +219,4 @@ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) | ||
| /** | ||
| * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException. | ||
| * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain. | ||
| * | ||
| * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex) | ||
@@ -203,2 +227,6 @@ */ | ||
| interface ImageTrackList { | ||
| [Symbol.iterator](): ArrayIterator<ImageTrack>; | ||
| } | ||
| interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> { | ||
@@ -208,3 +236,7 @@ } | ||
| interface MIDIOutput { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */ | ||
| /** | ||
| * The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) | ||
| */ | ||
| send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void; | ||
@@ -246,2 +278,3 @@ } | ||
| /** | ||
| * The **`requestMediaKeySystemAccess()`** method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream. | ||
| * Available only in secure contexts. | ||
@@ -252,3 +285,7 @@ * | ||
| requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) */ | ||
| /** | ||
| * The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) | ||
| */ | ||
| vibrate(pattern: Iterable<number>): boolean; | ||
@@ -286,3 +323,7 @@ } | ||
| interface RTCRtpTransceiver { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */ | ||
| /** | ||
| * The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding _received_ data, in order of decreasing preference. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) | ||
| */ | ||
| setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void; | ||
@@ -342,13 +383,29 @@ } | ||
| interface SubtleCrypto { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */ | ||
| /** | ||
| * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) | ||
| */ | ||
| deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */ | ||
| generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>; | ||
| /** | ||
| * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms). | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) | ||
| */ | ||
| generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>; | ||
| generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>; | ||
| generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>; | ||
| generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */ | ||
| /** | ||
| * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) | ||
| */ | ||
| importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>; | ||
| importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */ | ||
| /** | ||
| * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) | ||
| */ | ||
| unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
@@ -383,4 +440,11 @@ } | ||
| interface ViewTransitionTypeSet extends Set<string> { | ||
| } | ||
| interface WEBGL_draw_buffers { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ | ||
| /** | ||
| * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) | ||
| */ | ||
| drawBuffersWEBGL(buffers: Iterable<GLenum>): void; | ||
@@ -390,10 +454,26 @@ } | ||
| interface WEBGL_multi_draw { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */ | ||
| multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */ | ||
| multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */ | ||
| multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */ | ||
| multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) | ||
| */ | ||
| multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) | ||
| */ | ||
| multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) | ||
| */ | ||
| multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) | ||
| */ | ||
| multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void; | ||
| } | ||
@@ -413,3 +493,3 @@ | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */ | ||
| getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null; | ||
| getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */ | ||
@@ -464,3 +544,3 @@ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void; | ||
| uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
| uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void; | ||
@@ -467,0 +547,0 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ |
@@ -563,36 +563,36 @@ /*! ***************************************************************************** | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string; | ||
| } |
@@ -199,2 +199,3 @@ /*! ***************************************************************************** | ||
| [Symbol.iterator](): SetIterator<T>; | ||
| /** | ||
@@ -204,2 +205,3 @@ * Returns an iterable of [v,v] pairs for every value `v` in the set. | ||
| entries(): SetIterator<[T, T]>; | ||
| /** | ||
@@ -275,4 +277,5 @@ * Despite its name, returns an iterable of the values in the set. | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -282,2 +285,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -287,2 +291,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -295,15 +300,22 @@ * Returns an list of values in the array | ||
| interface Int8ArrayConstructor { | ||
| new (elements: Iterable<number>): Int8Array; | ||
| new (elements: Iterable<number>): Int8Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Int8Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int8Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -313,2 +325,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -318,2 +331,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -326,15 +340,22 @@ * Returns an list of values in the array | ||
| interface Uint8ArrayConstructor { | ||
| new (elements: Iterable<number>): Uint8Array; | ||
| new (elements: Iterable<number>): Uint8Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Uint8Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -357,14 +378,20 @@ * Returns an array of key, value pairs for every entry in the array | ||
| interface Uint8ClampedArrayConstructor { | ||
| new (elements: Iterable<number>): Uint8ClampedArray; | ||
| new (elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint8ClampedArray; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>; | ||
| } | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
@@ -388,15 +415,22 @@ /** | ||
| interface Int16ArrayConstructor { | ||
| new (elements: Iterable<number>): Int16Array; | ||
| new (elements: Iterable<number>): Int16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Int16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int16Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>; | ||
| } | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -406,2 +440,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -411,2 +446,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -419,15 +455,22 @@ * Returns an list of values in the array | ||
| interface Uint16ArrayConstructor { | ||
| new (elements: Iterable<number>): Uint16Array; | ||
| new (elements: Iterable<number>): Uint16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Uint16Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint16Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>; | ||
| } | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -437,2 +480,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -442,2 +486,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -450,15 +495,22 @@ * Returns an list of values in the array | ||
| interface Int32ArrayConstructor { | ||
| new (elements: Iterable<number>): Int32Array; | ||
| new (elements: Iterable<number>): Int32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Int32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Int32Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>; | ||
| } | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -468,2 +520,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -473,2 +526,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -481,15 +535,22 @@ * Returns an list of values in the array | ||
| interface Uint32ArrayConstructor { | ||
| new (elements: Iterable<number>): Uint32Array; | ||
| new (elements: Iterable<number>): Uint32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Uint32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Uint32Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>; | ||
| } | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -499,2 +560,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -504,2 +566,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -512,15 +575,22 @@ * Returns an list of values in the array | ||
| interface Float32ArrayConstructor { | ||
| new (elements: Iterable<number>): Float32Array; | ||
| new (elements: Iterable<number>): Float32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Float32Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float32Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>; | ||
| } | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| [Symbol.iterator](): ArrayIterator<number>; | ||
| /** | ||
@@ -530,2 +600,3 @@ * Returns an array of key, value pairs for every entry in the array | ||
| entries(): ArrayIterator<[number, number]>; | ||
| /** | ||
@@ -535,2 +606,3 @@ * Returns an list of keys in the array | ||
| keys(): ArrayIterator<number>; | ||
| /** | ||
@@ -543,11 +615,17 @@ * Returns an list of values in the array | ||
| interface Float64ArrayConstructor { | ||
| new (elements: Iterable<number>): Float64Array; | ||
| new (elements: Iterable<number>): Float64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<number>): Float64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: Iterable<number>, mapfn?: (v: number, k: number) => number, thisArg?: any): Float64Array; | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>; | ||
| } |
@@ -272,42 +272,42 @@ /*! ***************************************************************************** | ||
| interface ArrayBuffer { | ||
| readonly [Symbol.toStringTag]: string; | ||
| readonly [Symbol.toStringTag]: "ArrayBuffer"; | ||
| } | ||
| interface DataView { | ||
| interface DataView<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: string; | ||
| } | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Int8Array"; | ||
| } | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Uint8Array"; | ||
| } | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Uint8ClampedArray"; | ||
| } | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Int16Array"; | ||
| } | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Uint16Array"; | ||
| } | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Int32Array"; | ||
| } | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Uint32Array"; | ||
| } | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Float32Array"; | ||
| } | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| readonly [Symbol.toStringTag]: "Float64Array"; | ||
@@ -314,0 +314,0 @@ } |
@@ -37,3 +37,3 @@ /*! ***************************************************************************** | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -47,3 +47,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -57,3 +57,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -67,3 +67,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -77,3 +77,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -87,3 +87,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -97,3 +97,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -107,3 +107,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -117,3 +117,3 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -120,0 +120,0 @@ * Determines whether an array includes a certain element, returning true or false as appropriate. |
@@ -25,3 +25,3 @@ /*! ***************************************************************************** | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales) | ||
| * | ||
@@ -28,0 +28,0 @@ * @param locale A list of String values for which to get the canonical locale names |
@@ -20,7 +20,8 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2016" /> | ||
| /// <reference lib="es2017.arraybuffer" /> | ||
| /// <reference lib="es2017.date" /> | ||
| /// <reference lib="es2017.intl" /> | ||
| /// <reference lib="es2017.object" /> | ||
| /// <reference lib="es2017.sharedmemory" /> | ||
| /// <reference lib="es2017.string" /> | ||
| /// <reference lib="es2017.intl" /> | ||
| /// <reference lib="es2017.typedarrays" /> | ||
| /// <reference lib="es2017.date" /> |
@@ -31,4 +31,3 @@ /*! ***************************************************************************** | ||
| */ | ||
| slice(begin: number, end?: number): SharedArrayBuffer; | ||
| readonly [Symbol.species]: SharedArrayBuffer; | ||
| slice(begin?: number, end?: number): SharedArrayBuffer; | ||
| readonly [Symbol.toStringTag]: "SharedArrayBuffer"; | ||
@@ -39,3 +38,4 @@ } | ||
| readonly prototype: SharedArrayBuffer; | ||
| new (byteLength: number): SharedArrayBuffer; | ||
| new (byteLength?: number): SharedArrayBuffer; | ||
| readonly [Symbol.species]: SharedArrayBufferConstructor; | ||
| } | ||
@@ -54,3 +54,3 @@ declare var SharedArrayBuffer: SharedArrayBufferConstructor; | ||
| */ | ||
| add(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| add(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -62,3 +62,3 @@ /** | ||
| */ | ||
| and(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| and(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -70,3 +70,3 @@ /** | ||
| */ | ||
| compareExchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, expectedValue: number, replacementValue: number): number; | ||
| compareExchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, expectedValue: number, replacementValue: number): number; | ||
@@ -78,3 +78,3 @@ /** | ||
| */ | ||
| exchange(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| exchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -92,3 +92,3 @@ /** | ||
| */ | ||
| load(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number): number; | ||
| load(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number): number; | ||
@@ -100,3 +100,3 @@ /** | ||
| */ | ||
| or(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| or(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -107,3 +107,3 @@ /** | ||
| */ | ||
| store(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| store(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -115,3 +115,3 @@ /** | ||
| */ | ||
| sub(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| sub(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -124,3 +124,3 @@ /** | ||
| */ | ||
| wait(typedArray: Int32Array, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; | ||
| wait(typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out"; | ||
@@ -130,7 +130,7 @@ /** | ||
| * number of agents that were awoken. | ||
| * @param typedArray A shared Int32Array. | ||
| * @param typedArray A shared Int32Array<ArrayBufferLike>. | ||
| * @param index The position in the typedArray to wake up on. | ||
| * @param count The number of sleeping agents to notify. Defaults to +Infinity. | ||
| */ | ||
| notify(typedArray: Int32Array, index: number, count?: number): number; | ||
| notify(typedArray: Int32Array<ArrayBufferLike>, index: number, count?: number): number; | ||
@@ -142,3 +142,3 @@ /** | ||
| */ | ||
| xor(typedArray: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array, index: number, value: number): number; | ||
| xor(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number; | ||
@@ -145,0 +145,0 @@ readonly [Symbol.toStringTag]: "Atomics"; |
@@ -20,35 +20,35 @@ /*! ***************************************************************************** | ||
| interface Int8ArrayConstructor { | ||
| new (): Int8Array; | ||
| new (): Int8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8ArrayConstructor { | ||
| new (): Uint8Array; | ||
| new (): Uint8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8ClampedArrayConstructor { | ||
| new (): Uint8ClampedArray; | ||
| new (): Uint8ClampedArray<ArrayBuffer>; | ||
| } | ||
| interface Int16ArrayConstructor { | ||
| new (): Int16Array; | ||
| new (): Int16Array<ArrayBuffer>; | ||
| } | ||
| interface Uint16ArrayConstructor { | ||
| new (): Uint16Array; | ||
| new (): Uint16Array<ArrayBuffer>; | ||
| } | ||
| interface Int32ArrayConstructor { | ||
| new (): Int32Array; | ||
| new (): Int32Array<ArrayBuffer>; | ||
| } | ||
| interface Uint32ArrayConstructor { | ||
| new (): Uint32Array; | ||
| new (): Uint32Array<ArrayBuffer>; | ||
| } | ||
| interface Float32ArrayConstructor { | ||
| new (): Float32Array; | ||
| new (): Float32Array<ArrayBuffer>; | ||
| } | ||
| interface Float64ArrayConstructor { | ||
| new (): Float64Array; | ||
| new (): Float64Array<ArrayBuffer>; | ||
| } |
@@ -23,3 +23,3 @@ /*! ***************************************************************************** | ||
| /** | ||
| * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}. | ||
| * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}. | ||
| */ | ||
@@ -150,3 +150,3 @@ localeMatcher?: string; | ||
| */ | ||
| interface BigInt64Array { | ||
| interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> { | ||
| /** The size in bytes of each element in the array. */ | ||
@@ -156,3 +156,3 @@ readonly BYTES_PER_ELEMENT: number; | ||
| /** The ArrayBuffer instance referenced by the array. */ | ||
| readonly buffer: ArrayBufferLike; | ||
| readonly buffer: TArrayBuffer; | ||
@@ -187,3 +187,3 @@ /** The length in bytes of the array. */ | ||
| */ | ||
| every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; | ||
| every(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean; | ||
@@ -207,3 +207,3 @@ /** | ||
| */ | ||
| filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array; | ||
| filter(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => any, thisArg?: any): BigInt64Array<ArrayBuffer>; | ||
@@ -219,3 +219,3 @@ /** | ||
| */ | ||
| find(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): bigint | undefined; | ||
| find(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined; | ||
@@ -231,3 +231,3 @@ /** | ||
| */ | ||
| findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): number; | ||
| findIndex(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): number; | ||
@@ -241,3 +241,3 @@ /** | ||
| */ | ||
| forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array) => void, thisArg?: any): void; | ||
| forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => void, thisArg?: any): void; | ||
@@ -288,3 +288,3 @@ /** | ||
| */ | ||
| map(callbackfn: (value: bigint, index: number, array: BigInt64Array) => bigint, thisArg?: any): BigInt64Array; | ||
| map(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>; | ||
@@ -301,3 +301,3 @@ /** | ||
| */ | ||
| reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; | ||
| reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint; | ||
@@ -314,3 +314,3 @@ /** | ||
| */ | ||
| reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; | ||
| reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U; | ||
@@ -327,3 +327,3 @@ /** | ||
| */ | ||
| reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array) => bigint): bigint; | ||
| reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint; | ||
@@ -340,3 +340,3 @@ /** | ||
| */ | ||
| reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array) => U, initialValue: U): U; | ||
| reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U; | ||
@@ -358,3 +358,3 @@ /** Reverses the elements in the array. */ | ||
| */ | ||
| slice(start?: number, end?: number): BigInt64Array; | ||
| slice(start?: number, end?: number): BigInt64Array<ArrayBuffer>; | ||
@@ -369,3 +369,3 @@ /** | ||
| */ | ||
| some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean; | ||
| some(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean; | ||
@@ -384,3 +384,3 @@ /** | ||
| */ | ||
| subarray(begin?: number, end?: number): BigInt64Array; | ||
| subarray(begin?: number, end?: number): BigInt64Array<TArrayBuffer>; | ||
@@ -394,3 +394,3 @@ /** Converts the array to a string by using the current locale. */ | ||
| /** Returns the primitive value of the specified object. */ | ||
| valueOf(): BigInt64Array; | ||
| valueOf(): BigInt64Array<TArrayBuffer>; | ||
@@ -406,8 +406,9 @@ /** Yields each value in the array. */ | ||
| } | ||
| interface BigInt64ArrayConstructor { | ||
| readonly prototype: BigInt64Array; | ||
| new (length?: number): BigInt64Array; | ||
| new (array: Iterable<bigint>): BigInt64Array; | ||
| new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigInt64Array; | ||
| readonly prototype: BigInt64Array<ArrayBufferLike>; | ||
| new (length?: number): BigInt64Array<ArrayBuffer>; | ||
| new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>; | ||
| new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>; | ||
| new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<ArrayBuffer>; | ||
| new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>; | ||
@@ -421,14 +422,32 @@ /** The size in bytes of each element in the array. */ | ||
| */ | ||
| of(...items: bigint[]): BigInt64Array; | ||
| of(...items: bigint[]): BigInt64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| */ | ||
| from(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: ArrayLike<bigint>): BigInt64Array; | ||
| from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array; | ||
| from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<bigint>): BigInt64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>; | ||
| } | ||
| declare var BigInt64Array: BigInt64ArrayConstructor; | ||
@@ -440,3 +459,3 @@ | ||
| */ | ||
| interface BigUint64Array { | ||
| interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> { | ||
| /** The size in bytes of each element in the array. */ | ||
@@ -446,3 +465,3 @@ readonly BYTES_PER_ELEMENT: number; | ||
| /** The ArrayBuffer instance referenced by the array. */ | ||
| readonly buffer: ArrayBufferLike; | ||
| readonly buffer: TArrayBuffer; | ||
@@ -477,3 +496,3 @@ /** The length in bytes of the array. */ | ||
| */ | ||
| every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; | ||
| every(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean; | ||
@@ -497,3 +516,3 @@ /** | ||
| */ | ||
| filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array; | ||
| filter(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => any, thisArg?: any): BigUint64Array<ArrayBuffer>; | ||
@@ -509,3 +528,3 @@ /** | ||
| */ | ||
| find(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): bigint | undefined; | ||
| find(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined; | ||
@@ -521,3 +540,3 @@ /** | ||
| */ | ||
| findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): number; | ||
| findIndex(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): number; | ||
@@ -531,3 +550,3 @@ /** | ||
| */ | ||
| forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array) => void, thisArg?: any): void; | ||
| forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => void, thisArg?: any): void; | ||
@@ -578,3 +597,3 @@ /** | ||
| */ | ||
| map(callbackfn: (value: bigint, index: number, array: BigUint64Array) => bigint, thisArg?: any): BigUint64Array; | ||
| map(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>; | ||
@@ -591,3 +610,3 @@ /** | ||
| */ | ||
| reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; | ||
| reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint; | ||
@@ -604,3 +623,3 @@ /** | ||
| */ | ||
| reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; | ||
| reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U; | ||
@@ -617,3 +636,3 @@ /** | ||
| */ | ||
| reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array) => bigint): bigint; | ||
| reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint; | ||
@@ -630,3 +649,3 @@ /** | ||
| */ | ||
| reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array) => U, initialValue: U): U; | ||
| reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U; | ||
@@ -648,3 +667,3 @@ /** Reverses the elements in the array. */ | ||
| */ | ||
| slice(start?: number, end?: number): BigUint64Array; | ||
| slice(start?: number, end?: number): BigUint64Array<ArrayBuffer>; | ||
@@ -659,3 +678,3 @@ /** | ||
| */ | ||
| some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean; | ||
| some(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean; | ||
@@ -674,3 +693,3 @@ /** | ||
| */ | ||
| subarray(begin?: number, end?: number): BigUint64Array; | ||
| subarray(begin?: number, end?: number): BigUint64Array<TArrayBuffer>; | ||
@@ -684,3 +703,3 @@ /** Converts the array to a string by using the current locale. */ | ||
| /** Returns the primitive value of the specified object. */ | ||
| valueOf(): BigUint64Array; | ||
| valueOf(): BigUint64Array<TArrayBuffer>; | ||
@@ -696,8 +715,9 @@ /** Yields each value in the array. */ | ||
| } | ||
| interface BigUint64ArrayConstructor { | ||
| readonly prototype: BigUint64Array; | ||
| new (length?: number): BigUint64Array; | ||
| new (array: Iterable<bigint>): BigUint64Array; | ||
| new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): BigUint64Array; | ||
| readonly prototype: BigUint64Array<ArrayBufferLike>; | ||
| new (length?: number): BigUint64Array<ArrayBuffer>; | ||
| new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>; | ||
| new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>; | ||
| new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<ArrayBuffer>; | ||
| new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>; | ||
@@ -711,17 +731,35 @@ /** The size in bytes of each element in the array. */ | ||
| */ | ||
| of(...items: bigint[]): BigUint64Array; | ||
| of(...items: bigint[]): BigUint64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like or iterable object to convert to an array. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| */ | ||
| from(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param arrayLike An array-like object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from(arrayLike: ArrayLike<bigint>): BigUint64Array; | ||
| from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array; | ||
| from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| */ | ||
| from(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>; | ||
| /** | ||
| * Creates an array from an array-like or iterable object. | ||
| * @param elements An iterable object to convert to an array. | ||
| * @param mapfn A mapping function to call on every element of the array. | ||
| * @param thisArg Value of 'this' used to invoke the mapfn. | ||
| */ | ||
| from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>; | ||
| } | ||
| declare var BigUint64Array: BigUint64ArrayConstructor; | ||
| interface DataView { | ||
| interface DataView<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -728,0 +766,0 @@ * Gets the BigInt64 value at the specified byte offset from the start of the view. There is |
@@ -26,3 +26,3 @@ /*! ***************************************************************************** | ||
| * | ||
| * See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). | ||
| * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). | ||
| */ | ||
@@ -34,3 +34,3 @@ type UnicodeBCP47LocaleIdentifier = string; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters). | ||
| */ | ||
@@ -62,3 +62,3 @@ type RelativeTimeFormatUnit = | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). | ||
| */ | ||
@@ -85,3 +85,3 @@ type RelativeTimeFormatUnitSingular = | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| */ | ||
@@ -93,3 +93,3 @@ type RelativeTimeFormatNumeric = "always" | "auto"; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| */ | ||
@@ -101,3 +101,3 @@ type RelativeTimeFormatStyle = "long" | "short" | "narrow"; | ||
| * | ||
| * See [MDN - Intl - locales argument](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). | ||
| * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). | ||
| */ | ||
@@ -110,3 +110,3 @@ type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters). | ||
| */ | ||
@@ -127,3 +127,3 @@ interface RelativeTimeFormatOptions { | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description). | ||
| */ | ||
@@ -141,3 +141,3 @@ interface ResolvedRelativeTimeFormatOptions { | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts). | ||
| */ | ||
@@ -178,3 +178,3 @@ type RelativeTimeFormatPart = | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format). | ||
| */ | ||
@@ -192,3 +192,3 @@ format(value: number, unit: RelativeTimeFormatUnit): string; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts). | ||
| */ | ||
@@ -200,3 +200,3 @@ formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[]; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions). | ||
| */ | ||
@@ -210,18 +210,18 @@ resolvedOptions(): ResolvedRelativeTimeFormatOptions; | ||
| * | ||
| * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility). | ||
| * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility). | ||
| */ | ||
| const RelativeTimeFormat: { | ||
| /** | ||
| * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects | ||
| * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects | ||
| * | ||
| * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings. | ||
| * For the general form and interpretation of the locales argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) | ||
| * with some or all of options of `RelativeTimeFormatOptions`. | ||
| * | ||
| * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object. | ||
| * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). | ||
| */ | ||
@@ -240,5 +240,5 @@ new ( | ||
| * For the general form and interpretation of the locales argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters) | ||
| * with some or all of options of the formatting. | ||
@@ -250,3 +250,3 @@ * | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf). | ||
| */ | ||
@@ -354,3 +354,3 @@ supportedLocalesOf( | ||
| /** | ||
| * Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) | ||
| * Constructor creates [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) | ||
| * objects | ||
@@ -360,9 +360,9 @@ * | ||
| * For the general form and interpretation of the locales argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale. | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale. | ||
| * | ||
| * @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object. | ||
| * @returns [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale). | ||
| */ | ||
@@ -408,3 +408,3 @@ const Locale: { | ||
| * Receives a code and returns a string based on the locale and options provided when instantiating | ||
| * [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) | ||
| * [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) | ||
| * | ||
@@ -420,3 +420,3 @@ * @param code The `code` to provide depends on the `type` passed to display name during creation: | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of). | ||
| */ | ||
@@ -426,5 +426,5 @@ of(code: string): string | undefined; | ||
| * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current | ||
| * [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object. | ||
| * [`Intl/DisplayNames`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions). | ||
| */ | ||
@@ -435,6 +435,6 @@ resolvedOptions(): ResolvedDisplayNamesOptions; | ||
| /** | ||
| * The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) | ||
| * The [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) | ||
| * object enables the consistent translation of language, region and script display names. | ||
| * | ||
| * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). | ||
| * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility). | ||
| */ | ||
@@ -446,3 +446,3 @@ const DisplayNames: { | ||
| * @param locales A string with a BCP 47 language tag, or an array of such strings. | ||
| * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) | ||
| * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) | ||
| * page. | ||
@@ -452,3 +452,3 @@ * | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames). | ||
| */ | ||
@@ -461,3 +461,3 @@ new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames; | ||
| * @param locales A string with a BCP 47 language tag, or an array of such strings. | ||
| * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) | ||
| * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) | ||
| * page. | ||
@@ -469,3 +469,3 @@ * | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf). | ||
| */ | ||
@@ -472,0 +472,0 @@ supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[]; |
@@ -19,2 +19,4 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2020.bigint" /> | ||
| interface Atomics { | ||
@@ -26,3 +28,3 @@ /** | ||
| */ | ||
| add(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| add(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -34,3 +36,3 @@ /** | ||
| */ | ||
| and(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| and(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -42,3 +44,3 @@ /** | ||
| */ | ||
| compareExchange(typedArray: BigInt64Array | BigUint64Array, index: number, expectedValue: bigint, replacementValue: bigint): bigint; | ||
| compareExchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, expectedValue: bigint, replacementValue: bigint): bigint; | ||
@@ -50,3 +52,3 @@ /** | ||
| */ | ||
| exchange(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| exchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -57,3 +59,3 @@ /** | ||
| */ | ||
| load(typedArray: BigInt64Array | BigUint64Array, index: number): bigint; | ||
| load(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number): bigint; | ||
@@ -65,3 +67,3 @@ /** | ||
| */ | ||
| or(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| or(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -72,3 +74,3 @@ /** | ||
| */ | ||
| store(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| store(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -80,3 +82,3 @@ /** | ||
| */ | ||
| sub(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| sub(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
@@ -89,3 +91,3 @@ /** | ||
| */ | ||
| wait(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; | ||
| wait(typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out"; | ||
@@ -99,3 +101,3 @@ /** | ||
| */ | ||
| notify(typedArray: BigInt64Array, index: number, count?: number): number; | ||
| notify(typedArray: BigInt64Array<ArrayBufferLike>, index: number, count?: number): number; | ||
@@ -107,3 +109,3 @@ /** | ||
| */ | ||
| xor(typedArray: BigInt64Array | BigUint64Array, index: number, value: bigint): bigint; | ||
| xor(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint; | ||
| } |
@@ -19,2 +19,4 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2015.iterable" /> | ||
| /// <reference lib="es2020.intl" /> | ||
| /// <reference lib="es2020.symbol.wellknown" /> | ||
@@ -21,0 +23,0 @@ |
@@ -53,3 +53,3 @@ /*! ***************************************************************************** | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| */ | ||
@@ -61,3 +61,3 @@ type ListFormatLocaleMatcher = "lookup" | "best fit"; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| */ | ||
@@ -69,3 +69,3 @@ type ListFormatType = "conjunction" | "disjunction" | "unit"; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| */ | ||
@@ -77,3 +77,3 @@ type ListFormatStyle = "long" | "short" | "narrow"; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters). | ||
| */ | ||
@@ -99,3 +99,3 @@ interface ListFormatOptions { | ||
| * | ||
| * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array). | ||
| * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array). | ||
| * | ||
@@ -106,3 +106,3 @@ * @throws `TypeError` if `list` includes something other than the possible values. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format). | ||
| */ | ||
@@ -114,3 +114,3 @@ format(list: Iterable<string>): string; | ||
| * | ||
| * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale. | ||
| * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale. | ||
| * | ||
@@ -121,3 +121,3 @@ * @throws `TypeError` if `list` includes something other than the possible values. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts). | ||
| */ | ||
@@ -131,3 +131,3 @@ formatToParts(list: Iterable<string>): { type: "element" | "literal"; value: string; }[]; | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions). | ||
| */ | ||
@@ -141,3 +141,3 @@ resolvedOptions(): ResolvedListFormatOptions; | ||
| /** | ||
| * Creates [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that | ||
| * Creates [Intl.ListFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that | ||
| * enable language-sensitive list formatting. | ||
@@ -147,10 +147,10 @@ * | ||
| * For the general form and interpretation of the `locales` argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters) | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters) | ||
| * with some or all options of `ListFormatOptions`. | ||
| * | ||
| * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object. | ||
| * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). | ||
| */ | ||
@@ -165,5 +165,5 @@ new (locales?: LocalesArgument, options?: ListFormatOptions): ListFormat; | ||
| * For the general form and interpretation of the `locales` argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters). | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters). | ||
| * with some or all possible options. | ||
@@ -174,3 +174,3 @@ * | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf). | ||
| */ | ||
@@ -177,0 +177,0 @@ supportedLocalesOf(locales: LocalesArgument, options?: Pick<ListFormatOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[]; |
@@ -19,2 +19,4 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2015.symbol.wellknown" /> | ||
| interface WeakRef<T extends WeakKey> { | ||
@@ -21,0 +23,0 @@ readonly [Symbol.toStringTag]: "WeakRef"; |
@@ -35,3 +35,3 @@ /*! ***************************************************************************** | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -44,3 +44,3 @@ * Returns the item located at the specified index. | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -53,3 +53,3 @@ * Returns the item located at the specified index. | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -62,3 +62,3 @@ * Returns the item located at the specified index. | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -71,3 +71,3 @@ * Returns the item located at the specified index. | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -80,3 +80,3 @@ * Returns the item located at the specified index. | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -89,3 +89,3 @@ * Returns the item located at the specified index. | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -98,3 +98,3 @@ * Returns the item located at the specified index. | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -107,3 +107,3 @@ * Returns the item located at the specified index. | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -116,3 +116,3 @@ * Returns the item located at the specified index. | ||
| interface BigInt64Array { | ||
| interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -125,3 +125,3 @@ * Returns the item located at the specified index. | ||
| interface BigUint64Array { | ||
| interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -128,0 +128,0 @@ * Returns the item located at the specified index. |
@@ -24,4 +24,3 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2022.object" /> | ||
| /// <reference lib="es2022.sharedmemory" /> | ||
| /// <reference lib="es2022.regexp" /> | ||
| /// <reference lib="es2022.string" /> | ||
| /// <reference lib="es2022.regexp" /> |
@@ -19,2 +19,4 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2021.promise" /> | ||
| interface ErrorOptions { | ||
@@ -21,0 +23,0 @@ cause?: unknown; |
@@ -23,3 +23,3 @@ /*! ***************************************************************************** | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) | ||
| */ | ||
@@ -33,2 +33,7 @@ interface SegmenterOptions { | ||
| /** | ||
| * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) | ||
| */ | ||
| interface Segmenter { | ||
@@ -38,2 +43,4 @@ /** | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment) | ||
| * | ||
| * @param input - The text to be segmented as a `string`. | ||
@@ -44,2 +51,7 @@ * | ||
| segment(input: string): Segments; | ||
| /** | ||
| * The `resolvedOptions()` method of `Intl.Segmenter` instances returns a new object with properties reflecting the options computed during initialization of this `Segmenter` object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/resolvedOptions) | ||
| */ | ||
| resolvedOptions(): ResolvedSegmenterOptions; | ||
@@ -57,2 +69,7 @@ } | ||
| /** | ||
| * A `Segments` object is an iterable collection of the segments of a text string. It is returned by a call to the `segment()` method of an `Intl.Segmenter` object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments) | ||
| */ | ||
| interface Segments { | ||
@@ -62,5 +79,7 @@ /** | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments/containing) | ||
| * | ||
| * @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`. | ||
| */ | ||
| containing(codeUnitIndex?: number): SegmentData; | ||
| containing(codeUnitIndex?: number): SegmentData | undefined; | ||
@@ -85,2 +104,7 @@ /** Returns an iterator to iterate over the segments. */ | ||
| /** | ||
| * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter) | ||
| */ | ||
| const Segmenter: { | ||
@@ -94,10 +118,10 @@ prototype: Segmenter; | ||
| * For the general form and interpretation of the `locales` argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options - An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) | ||
| * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters) | ||
| * with some or all options of `SegmenterOptions`. | ||
| * | ||
| * @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object. | ||
| * @returns [Intl.Segmenter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter). | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter). | ||
| */ | ||
@@ -111,8 +135,8 @@ new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter; | ||
| * For the general form and interpretation of the `locales` argument, | ||
| * see the [`Intl` page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation). | ||
| * | ||
| * @param options An [object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters). | ||
| * @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters). | ||
| * with some or all possible options. | ||
| * | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf) | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf) | ||
| */ | ||
@@ -124,3 +148,3 @@ supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[]; | ||
| * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation. | ||
| * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) | ||
| * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) | ||
| * | ||
@@ -127,0 +151,0 @@ * @param key A string indicating the category of values to return. |
@@ -52,3 +52,3 @@ /*! ***************************************************************************** | ||
| * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive | ||
| * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. | ||
| * value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order. | ||
| * ```ts | ||
@@ -131,3 +131,3 @@ * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22] | ||
| * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive | ||
| * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. | ||
| * value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order. | ||
| * ```ts | ||
@@ -168,3 +168,3 @@ * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22] | ||
| interface Int8Array { | ||
| interface Int8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -183,3 +183,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Int8Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -189,3 +189,3 @@ thisArg?: any, | ||
| findLast( | ||
| predicate: (value: number, index: number, array: Int8Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -204,3 +204,3 @@ ): number | undefined; | ||
| findLastIndex( | ||
| predicate: (value: number, index: number, array: Int8Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -212,3 +212,3 @@ ): number; | ||
| */ | ||
| toReversed(): Int8Array; | ||
| toReversed(): Int8Array<ArrayBuffer>; | ||
@@ -225,3 +225,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int8Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int8Array<ArrayBuffer>; | ||
@@ -235,6 +235,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Int8Array; | ||
| with(index: number, value: number): Int8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8Array { | ||
| interface Uint8Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -253,3 +253,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Uint8Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -259,3 +259,3 @@ thisArg?: any, | ||
| findLast( | ||
| predicate: (value: number, index: number, array: Uint8Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -274,3 +274,3 @@ ): number | undefined; | ||
| findLastIndex( | ||
| predicate: (value: number, index: number, array: Uint8Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -282,3 +282,3 @@ ): number; | ||
| */ | ||
| toReversed(): Uint8Array; | ||
| toReversed(): Uint8Array<ArrayBuffer>; | ||
@@ -295,3 +295,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint8Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint8Array<ArrayBuffer>; | ||
@@ -305,6 +305,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Uint8Array; | ||
| with(index: number, value: number): Uint8Array<ArrayBuffer>; | ||
| } | ||
| interface Uint8ClampedArray { | ||
| interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -323,3 +323,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Uint8ClampedArray, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -332,3 +332,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint8ClampedArray, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -351,3 +351,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint8ClampedArray, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -360,3 +360,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): Uint8ClampedArray; | ||
| toReversed(): Uint8ClampedArray<ArrayBuffer>; | ||
@@ -373,3 +373,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray<ArrayBuffer>; | ||
@@ -383,6 +383,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Uint8ClampedArray; | ||
| with(index: number, value: number): Uint8ClampedArray<ArrayBuffer>; | ||
| } | ||
| interface Int16Array { | ||
| interface Int16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -401,3 +401,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Int16Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -407,3 +407,3 @@ thisArg?: any, | ||
| findLast( | ||
| predicate: (value: number, index: number, array: Int16Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -422,3 +422,3 @@ ): number | undefined; | ||
| findLastIndex( | ||
| predicate: (value: number, index: number, array: Int16Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -430,3 +430,3 @@ ): number; | ||
| */ | ||
| toReversed(): Int16Array; | ||
| toReversed(): Int16Array<ArrayBuffer>; | ||
@@ -443,3 +443,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int16Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int16Array<ArrayBuffer>; | ||
@@ -453,6 +453,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Int16Array; | ||
| with(index: number, value: number): Int16Array<ArrayBuffer>; | ||
| } | ||
| interface Uint16Array { | ||
| interface Uint16Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -471,3 +471,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Uint16Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -480,3 +480,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint16Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -499,3 +499,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint16Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -508,3 +508,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): Uint16Array; | ||
| toReversed(): Uint16Array<ArrayBuffer>; | ||
@@ -521,3 +521,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint16Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint16Array<ArrayBuffer>; | ||
@@ -531,6 +531,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Uint16Array; | ||
| with(index: number, value: number): Uint16Array<ArrayBuffer>; | ||
| } | ||
| interface Int32Array { | ||
| interface Int32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -549,3 +549,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Int32Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -555,3 +555,3 @@ thisArg?: any, | ||
| findLast( | ||
| predicate: (value: number, index: number, array: Int32Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -570,3 +570,3 @@ ): number | undefined; | ||
| findLastIndex( | ||
| predicate: (value: number, index: number, array: Int32Array) => unknown, | ||
| predicate: (value: number, index: number, array: this) => unknown, | ||
| thisArg?: any, | ||
@@ -578,3 +578,3 @@ ): number; | ||
| */ | ||
| toReversed(): Int32Array; | ||
| toReversed(): Int32Array<ArrayBuffer>; | ||
@@ -591,3 +591,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int32Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Int32Array<ArrayBuffer>; | ||
@@ -601,6 +601,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Int32Array; | ||
| with(index: number, value: number): Int32Array<ArrayBuffer>; | ||
| } | ||
| interface Uint32Array { | ||
| interface Uint32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -619,3 +619,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Uint32Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -628,3 +628,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint32Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -647,3 +647,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Uint32Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -656,3 +656,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): Uint32Array; | ||
| toReversed(): Uint32Array<ArrayBuffer>; | ||
@@ -669,3 +669,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint32Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Uint32Array<ArrayBuffer>; | ||
@@ -679,6 +679,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Uint32Array; | ||
| with(index: number, value: number): Uint32Array<ArrayBuffer>; | ||
| } | ||
| interface Float32Array { | ||
| interface Float32Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -697,3 +697,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Float32Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -706,3 +706,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Float32Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -725,3 +725,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Float32Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -734,3 +734,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): Float32Array; | ||
| toReversed(): Float32Array<ArrayBuffer>; | ||
@@ -747,3 +747,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Float32Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Float32Array<ArrayBuffer>; | ||
@@ -757,6 +757,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Float32Array; | ||
| with(index: number, value: number): Float32Array<ArrayBuffer>; | ||
| } | ||
| interface Float64Array { | ||
| interface Float64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -775,3 +775,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: Float64Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -784,3 +784,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Float64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -803,3 +803,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: Float64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -812,3 +812,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): Float64Array; | ||
| toReversed(): Float64Array<ArrayBuffer>; | ||
@@ -825,3 +825,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: number, b: number) => number): Float64Array; | ||
| toSorted(compareFn?: (a: number, b: number) => number): Float64Array<ArrayBuffer>; | ||
@@ -835,6 +835,6 @@ /** | ||
| */ | ||
| with(index: number, value: number): Float64Array; | ||
| with(index: number, value: number): Float64Array<ArrayBuffer>; | ||
| } | ||
| interface BigInt64Array { | ||
| interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -853,3 +853,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: BigInt64Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -862,3 +862,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: BigInt64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -881,3 +881,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: BigInt64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -890,3 +890,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): BigInt64Array; | ||
| toReversed(): BigInt64Array<ArrayBuffer>; | ||
@@ -903,3 +903,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array; | ||
| toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array<ArrayBuffer>; | ||
@@ -913,6 +913,6 @@ /** | ||
| */ | ||
| with(index: number, value: bigint): BigInt64Array; | ||
| with(index: number, value: bigint): BigInt64Array<ArrayBuffer>; | ||
| } | ||
| interface BigUint64Array { | ||
| interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> { | ||
| /** | ||
@@ -931,3 +931,3 @@ * Returns the value of the last element in the array where predicate is true, and undefined | ||
| index: number, | ||
| array: BigUint64Array, | ||
| array: this, | ||
| ) => value is S, | ||
@@ -940,3 +940,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: BigUint64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -959,3 +959,3 @@ thisArg?: any, | ||
| index: number, | ||
| array: BigUint64Array, | ||
| array: this, | ||
| ) => unknown, | ||
@@ -968,3 +968,3 @@ thisArg?: any, | ||
| */ | ||
| toReversed(): BigUint64Array; | ||
| toReversed(): BigUint64Array<ArrayBuffer>; | ||
@@ -981,3 +981,3 @@ /** | ||
| */ | ||
| toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array; | ||
| toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array<ArrayBuffer>; | ||
@@ -991,3 +991,3 @@ /** | ||
| */ | ||
| with(index: number, value: bigint): BigUint64Array; | ||
| with(index: number, value: bigint): BigUint64Array<ArrayBuffer>; | ||
| } |
@@ -34,3 +34,3 @@ /*! ***************************************************************************** | ||
| */ | ||
| fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>; | ||
| fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>; | ||
| } |
@@ -19,13 +19,3 @@ /*! ***************************************************************************** | ||
| interface MapConstructor { | ||
| /** | ||
| * Groups members of an iterable according to the return value of the passed callback. | ||
| * @param items An iterable. | ||
| * @param keySelector A callback which will be invoked for each item in items. | ||
| */ | ||
| groupBy<K, T>( | ||
| items: Iterable<T>, | ||
| keySelector: (item: T, index: number) => K, | ||
| ): Map<K, T[]>; | ||
| } | ||
| /// <reference lib="es2024.collection" /> | ||
@@ -32,0 +22,0 @@ interface ReadonlySetLike<T> { |
@@ -19,12 +19,12 @@ /*! ***************************************************************************** | ||
| /// <reference lib="es2023" /> | ||
| /// <reference lib="es2024" /> | ||
| /// <reference lib="esnext.intl" /> | ||
| /// <reference lib="esnext.decorators" /> | ||
| /// <reference lib="esnext.disposable" /> | ||
| /// <reference lib="esnext.promise" /> | ||
| /// <reference lib="esnext.object" /> | ||
| /// <reference lib="esnext.collection" /> | ||
| /// <reference lib="esnext.array" /> | ||
| /// <reference lib="esnext.regexp" /> | ||
| /// <reference lib="esnext.string" /> | ||
| /// <reference lib="esnext.iterator" /> | ||
| /// <reference lib="esnext.promise" /> | ||
| /// <reference lib="esnext.float16" /> | ||
| /// <reference lib="esnext.error" /> | ||
| /// <reference lib="esnext.sharedmemory" /> |
@@ -104,3 +104,3 @@ /*! ***************************************************************************** | ||
| * Performs the specified action for each element in the iterator. | ||
| * @param callbackfn A function that accepts up to two arguments. forEach calls the callbackfn function one time for each element in the iterator. | ||
| * @param callbackfn A function that accepts up to two arguments. forEach calls the callbackfn function one time for each element in the iterator. | ||
| */ | ||
@@ -107,0 +107,0 @@ forEach(callbackfn: (value: T, index: number) => void): void; |
@@ -19,18 +19,17 @@ /*! ***************************************************************************** | ||
| interface PromiseWithResolvers<T> { | ||
| promise: Promise<T>; | ||
| resolve: (value: T | PromiseLike<T>) => void; | ||
| reject: (reason?: any) => void; | ||
| } | ||
| interface PromiseConstructor { | ||
| /** | ||
| * Creates a new Promise and returns it in an object, along with its resolve and reject functions. | ||
| * @returns An object with the properties `promise`, `resolve`, and `reject`. | ||
| * Takes a callback of any kind (returns or throws, synchronously or asynchronously) and wraps its result | ||
| * in a Promise. | ||
| * | ||
| * ```ts | ||
| * const { promise, resolve, reject } = Promise.withResolvers<T>(); | ||
| * ``` | ||
| * @param callbackFn A function that is called synchronously. It can do anything: either return | ||
| * a value, throw an error, or return a promise. | ||
| * @param args Additional arguments, that will be passed to the callback. | ||
| * | ||
| * @returns A Promise that is: | ||
| * - Already fulfilled, if the callback synchronously returns a value. | ||
| * - Already rejected, if the callback synchronously throws an error. | ||
| * - Asynchronously fulfilled or rejected, if the callback returns a promise. | ||
| */ | ||
| withResolvers<T>(): PromiseWithResolvers<T>; | ||
| try<T, U extends unknown[]>(callbackFn: (...args: U) => T | PromiseLike<T>, ...args: U): Promise<Awaited<T>>; | ||
| } |
@@ -23,7 +23,2 @@ /*! ***************************************************************************** | ||
| interface AbortSignal { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */ | ||
| any(signals: Iterable<AbortSignal>): AbortSignal; | ||
| } | ||
| interface CSSNumericArray { | ||
@@ -51,3 +46,7 @@ [Symbol.iterator](): ArrayIterator<CSSNumericValue>; | ||
| interface Cache { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */ | ||
| /** | ||
| * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) | ||
| */ | ||
| addAll(requests: Iterable<RequestInfo>): Promise<void>; | ||
@@ -66,2 +65,17 @@ } | ||
| interface CookieStoreManager { | ||
| /** | ||
| * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe) | ||
| */ | ||
| subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>; | ||
| /** | ||
| * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe) | ||
| */ | ||
| unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>; | ||
| } | ||
| interface DOMStringList { | ||
@@ -108,3 +122,3 @@ [Symbol.iterator](): ArrayIterator<string>; | ||
| /** | ||
| * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. | ||
| * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store. | ||
| * | ||
@@ -118,6 +132,4 @@ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction) | ||
| /** | ||
| * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException. | ||
| * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain. | ||
| * | ||
| * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex) | ||
@@ -128,2 +140,6 @@ */ | ||
| interface ImageTrackList { | ||
| [Symbol.iterator](): ArrayIterator<ImageTrack>; | ||
| } | ||
| interface MessageEvent<T = any> { | ||
@@ -146,13 +162,29 @@ /** @deprecated */ | ||
| interface SubtleCrypto { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */ | ||
| /** | ||
| * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) | ||
| */ | ||
| deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */ | ||
| generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>; | ||
| /** | ||
| * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms). | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) | ||
| */ | ||
| generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>; | ||
| generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>; | ||
| generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>; | ||
| generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */ | ||
| /** | ||
| * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) | ||
| */ | ||
| importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>; | ||
| importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */ | ||
| /** | ||
| * The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) | ||
| */ | ||
| unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>; | ||
@@ -176,3 +208,7 @@ } | ||
| interface WEBGL_draw_buffers { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */ | ||
| /** | ||
| * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) | ||
| */ | ||
| drawBuffersWEBGL(buffers: Iterable<GLenum>): void; | ||
@@ -182,10 +218,26 @@ } | ||
| interface WEBGL_multi_draw { | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */ | ||
| multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */ | ||
| multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */ | ||
| multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */ | ||
| multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) | ||
| */ | ||
| multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) | ||
| */ | ||
| multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) | ||
| */ | ||
| multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void; | ||
| /** | ||
| * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data. | ||
| * | ||
| * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) | ||
| */ | ||
| multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void; | ||
| } | ||
@@ -205,3 +257,3 @@ | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */ | ||
| getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null; | ||
| getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */ | ||
@@ -256,3 +308,3 @@ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void; | ||
| uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void; | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ | ||
| /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */ | ||
| uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void; | ||
@@ -259,0 +311,0 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */ |
@@ -1,1 +0,1 @@ | ||
| (()=>{var e={296:e=>{var r=Object.prototype.toString;var n=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},599:(e,r,n)=>{e=n.nmd(e);var t=n(927).SourceMapConsumer;var o=n(928);var i;try{i=n(896);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(296);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var d=[];var h=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(d);d.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){return r?"":"/"}))}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r}));function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(h);h.push((function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}}));function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<anonymous>")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var a=i.test(globalProcessVersion())?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||"Error";var t=e.message||"";var o=n+": "+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push("\n at "+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join("")}function getErrorSource(e){var r=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,"utf8")}catch(e){a=""}}if(a){var u=a.split(/(?:\r\n|\r|\n)/)[t-1];if(u){return n+":"+t+"\n"+u+"\n"+new Array(o).join(" ")+"^"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);var n=globalProcessStderr();if(n&&n._handle&&n._handle.setBlocking){n._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);globalProcessExit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r==="uncaughtException"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=d.slice(0);var _=h.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if(["node","browser","auto"].indexOf(c)===-1){throw new Error("environment "+c+" was unknown. Available options are {auto, browser, node}")}}if(r.retrieveFile){if(r.overrideRetrieveFile){d.length=0}d.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){h.length=0}h.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,"module");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,"worker_threads");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){d.length=0;h.length=0;d=S.slice(0);h=_.slice(0);v=handlerExec(h);m=handlerExec(d)}},517:(e,r,n)=>{var t=n(297);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t<o;t++){n.add(e[t],r)}return n};ArraySet.prototype.size=function ArraySet_size(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,r){var n=i?e:t.toSetString(e);var a=i?this.has(e):o.call(this._set,n);var u=this._array.length;if(!a||r){this._array.push(e)}if(!a){if(i){this._set.set(e,u)}else{this._set[n]=u}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var r=t.toSetString(e);return o.call(this._set,r)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(i){var r=this._set.get(e);if(r>=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};r.C=ArraySet},818:(e,r,n)=>{var t=n(158);var o=5;var i=1<<o;var a=i-1;var u=i;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var r=(e&1)===1;var n=e>>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<<l);l+=o}while(c);n.value=fromVLQSigned(s);n.rest=r}},158:(e,r)=>{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e<n.length){return n[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function(e){var r=65;var n=90;var t=97;var o=122;var i=48;var a=57;var u=43;var s=47;var l=26;var c=52;if(r<=e&&e<=n){return e-r}if(t<=e&&e<=o){return e-t+l}if(i<=e&&e<=a){return e-i+c}if(e==u){return 62}if(e==s){return 63}return-1}},197:(e,r)=>{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n<o.length?n:-1}else{return u}}else{if(u-e>1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},24:(e,r,n)=>{var t=n(297);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.P=MappingList},299:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n<t){var o=randomIntInRange(n,t);var i=n-1;swap(e,o,t);var a=e[t];for(var u=n;u<t;u++){if(r(e[u],a)<=0){i+=1;swap(e,i,u)}}swap(e,i+1,u);var s=i+1;doQuickSort(e,r,n,s-1);doQuickSort(e,r,s+1,t)}}r.g=function(e,r){doQuickSort(e,r,0,e.length-1)}},684:(e,r,n)=>{var t;var o=n(297);var i=n(197);var a=n(517).C;var u=n(818);var s=n(299).g;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sources");var u=o.getArg(n,"names",[]);var s=o.getArg(n,"sourceRoot",null);var l=o.getArg(n,"sourcesContent",null);var c=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n<this._absoluteSources.length;++n){if(this._absoluteSources[n]==e){return n}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,r){var n=Object.create(BasicSourceMapConsumer.prototype);var t=n._names=a.fromArray(e._names.toArray(),true);var i=n._sources=a.fromArray(e._sources.toArray(),true);n.sourceRoot=e._sourceRoot;n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot);n.file=e._file;n._sourceMapURL=r;n._absoluteSources=n._sources.toArray().map((function(e){return o.computeSourceURL(n.sourceRoot,e,r)}));var u=e._mappings.toArray().slice();var l=n.__generatedMappings=[];var c=n.__originalMappings=[];for(var p=0,f=u.length;p<f;p++){var g=u[p];var d=new Mapping;d.generatedLine=g.generatedLine;d.generatedColumn=g.generatedColumn;if(g.source){d.source=i.indexOf(g.source);d.originalLine=g.originalLine;d.originalColumn=g.originalColumn;if(g.name){d.name=t.indexOf(g.name)}c.push(d)}l.push(d)}s(n.__originalMappings,o.compareByOriginalPositions);return n};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){var n=1;var t=0;var i=0;var a=0;var l=0;var c=0;var p=e.length;var f=0;var g={};var d={};var h=[];var m=[];var v,S,_,C,y;while(f<p){if(e.charAt(f)===";"){n++;f++;t=0}else if(e.charAt(f)===","){f++}else{v=new Mapping;v.generatedLine=n;for(C=f;C<p;C++){if(this._charIsMappingSeparator(e,C)){break}}S=e.slice(f,C);_=g[S];if(_){f+=S.length}else{_=[];while(f<C){u.decode(e,f,d);y=d.value;f=d.rest;_.push(y)}if(_.length===2){throw new Error("Found a source, but no line and column")}if(_.length===3){throw new Error("Found a source and line, but no column")}g[S]=_}v.generatedColumn=t+_[0];t=v.generatedColumn;if(_.length>1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){h.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(h,o.compareByOriginalPositions);this.__originalMappings=h};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositionsDeflated,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,"name",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t<u.line||t===u.line&&i<u.column){throw new Error("Section offsets must be ordered and non-overlapping.")}u=n;return{generatedOffset:{generatedLine:t+1,generatedColumn:i+1},consumer:new SourceMapConsumer(o.getArg(e,"map"),r)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var r=0;r<this._sections.length;r++){for(var n=0;n<this._sections[r].consumer.sources.length;n++){e.push(this._sections[r].consumer.sources[n])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=i.search(r,this._sections,(function(e,r){var n=e.generatedLine-r.generatedOffset.generatedLine;if(n){return n}return e.generatedColumn-r.generatedOffset.generatedColumn}));var t=this._sections[n];if(!t){return{source:null,line:null,column:null,name:null}}return t.consumer.originalPositionFor({line:r.generatedLine-(t.generatedOffset.generatedLine-1),column:r.generatedColumn-(t.generatedOffset.generatedLine===r.generatedLine?t.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,r){for(var n=0;n<this._sections.length;n++){var t=this._sections[n];var o=t.consumer.sourceContentFor(e,true);if(o){return o}}if(r){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(o.getArg(e,"source"))===-1){continue}var t=n.consumer.generatedPositionFor(e);if(t){var i={line:t.line+(n.generatedOffset.generatedLine-1),column:t.column+(n.generatedOffset.generatedLine===t.line?n.generatedOffset.generatedColumn-1:0)};return i}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,r){this.__generatedMappings=[];this.__originalMappings=[];for(var n=0;n<this._sections.length;n++){var t=this._sections[n];var i=t.consumer._generatedMappings;for(var a=0;a<i.length;a++){var u=i[a];var l=t.consumer._sources.at(u.source);l=o.computeSourceURL(t.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var c=null;if(u.name){c=t.consumer._names.at(u.name);this._names.add(c);c=this._names.indexOf(c)}var p={source:l,generatedLine:u.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(t.generatedOffset.generatedLine===u.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:c};this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}s(this.__generatedMappings,o.compareByGeneratedPositionsDeflated);s(this.__originalMappings,o.compareByOriginalPositions)};t=IndexedSourceMapConsumer},163:(e,r,n)=>{var t=n(818);var o=n(297);var i=n(517).C;var a=n(24).P;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s="";var l;var c;var p;var f;var g=this._mappings.toArray();for(var d=0,h=g.length;d<h;d++){c=g[d];l="";if(c.generatedLine!==r){e=0;while(c.generatedLine!==r){l+=";";r++}}else{if(d>0){if(!o.compareByGeneratedPositionsInflated(c,g[d-1])){continue}l+=","}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.x=SourceMapGenerator},565:(e,r,n)=>{var t;var o=n(163).x;var i=n(297);var a=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u<o.length?o[u++]:undefined}};var s=1,l=0;var c=null;r.eachMapping((function(e){if(c!==null){if(s<e.generatedLine){addMappingWithCode(c,shiftNextLine());s++;l=0}else{var r=o[u]||"";var n=r.substr(0,e.generatedColumn-l);o[u]=r.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(c,n);c=e;return}}while(s<e.generatedLine){t.add(shiftNextLine());s++}if(l<e.generatedColumn){var r=o[u]||"";t.add(r.substr(0,e.generatedColumn));o[u]=r.substr(e.generatedColumn);l=e.generatedColumn}c=e}),this);if(u<o.length){if(c){addMappingWithCode(c,shiftNextLine())}t.add(o.splice(u).join(""))}r.sources.forEach((function(e){var o=r.sourceContentFor(e);if(o!=null){if(n!=null){e=i.join(n,e)}t.setSourceContent(e,o)}}));return t;function addMappingWithCode(e,r){if(e===null||e.source===undefined){t.add(r)}else{var o=n?i.join(n,e.source):e.source;t.add(new SourceNode(e.originalLine,e.originalColumn,o,r,e.name))}}};SourceNode.prototype.add=function SourceNode_add(e){if(Array.isArray(e)){e.forEach((function(e){this.add(e)}),this)}else if(e[s]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var r=e.length-1;r>=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n<t;n++){r=this.children[n];if(r[s]){r.walk(e)}else{if(r!==""){e(r,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var r;var n;var t=this.children.length;if(t>0){r=[];for(n=0;n<t-1;n++){r.push(this.children[n]);r.push(e)}r.push(this.children[n]);this.children=r}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,r){var n=this.children[this.children.length-1];if(n[s]){n.replaceRight(e,r)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(e,r)}else{this.children.push("".replace(e,r))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,r){this.sourceContents[i.toSetString(e)]=r};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var r=0,n=this.children.length;r<n;r++){if(this.children[r][s]){this.children[r].walkSourceContents(e)}}var t=Object.keys(this.sourceContents);for(var r=0,n=t.length;r<n;r++){e(i.fromSetString(t[r]),this.sourceContents[t[r]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk((function(r){e+=r}));return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var r={code:"",line:1,column:0};var n=new o(e);var t=false;var i=null;var a=null;var s=null;var l=null;this.walk((function(e,o){r.code+=e;if(o.source!==null&&o.line!==null&&o.column!==null){if(i!==o.source||a!==o.line||s!==o.column||l!==o.name){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}i=o.source;a=o.line;s=o.column;l=o.name;t=true}else if(t){n.addMapping({generated:{line:r.line,column:r.column}});i=null;t=false}for(var c=0,p=e.length;c<p;c++){if(e.charCodeAt(c)===u){r.line++;r.column=0;if(c+1===p){i=null;t=false}else if(t){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}}else{r.column++}}}));this.walkSourceContents((function(e,r){n.setSourceContent(e,r)}));return{code:r.code,map:n}};t=SourceNode},297:(e,r)=>{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var t=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a==="."){i.splice(s,1)}else if(a===".."){u++}else if(u>0){if(a===""){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},927:(e,r,n)=>{n(163).x;r.SourceMapConsumer=n(684).SourceMapConsumer;n(565)},896:e=>{"use strict";e.exports=require("fs")},928:e=>{"use strict";e.exports=require("path")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var n={};__webpack_require__(599).install();module.exports=n})(); | ||
| (()=>{var e={351:e=>{var r=Object.prototype.toString;var n=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},765:(e,r,n)=>{e=n.nmd(e);var t=n(258).SourceMapConsumer;var o=n(928);var i;try{i=n(896);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(351);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var d=[];var h=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(d);d.push(function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,function(e,r){return r?"":"/"})}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r});function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(h);h.push(function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}});function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach(function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}})}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<anonymous>")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]});r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var a=i.test(globalProcessVersion())?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||"Error";var t=e.message||"";var o=n+": "+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push("\n at "+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join("")}function getErrorSource(e){var r=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,"utf8")}catch(e){a=""}}if(a){var u=a.split(/(?:\r\n|\r|\n)/)[t-1];if(u){return n+":"+t+"\n"+u+"\n"+new Array(o).join(" ")+"^"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);var n=globalProcessStderr();if(n&&n._handle&&n._handle.setBlocking){n._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);globalProcessExit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r==="uncaughtException"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=d.slice(0);var _=h.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if(["node","browser","auto"].indexOf(c)===-1){throw new Error("environment "+c+" was unknown. Available options are {auto, browser, node}")}}if(r.retrieveFile){if(r.overrideRetrieveFile){d.length=0}d.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){h.length=0}h.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,"module");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,"worker_threads");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){d.length=0;h.length=0;d=S.slice(0);h=_.slice(0);v=handlerExec(h);m=handlerExec(d)}},22:(e,r,n)=>{var t=n(892);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t<o;t++){n.add(e[t],r)}return n};ArraySet.prototype.size=function ArraySet_size(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,r){var n=i?e:t.toSetString(e);var a=i?this.has(e):o.call(this._set,n);var u=this._array.length;if(!a||r){this._array.push(e)}if(!a){if(i){this._set.set(e,u)}else{this._set[n]=u}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var r=t.toSetString(e);return o.call(this._set,r)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(i){var r=this._set.get(e);if(r>=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};r.C=ArraySet},71:(e,r,n)=>{var t=n(955);var o=5;var i=1<<o;var a=i-1;var u=i;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var r=(e&1)===1;var n=e>>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<<l);l+=o}while(c);n.value=fromVLQSigned(s);n.rest=r}},955:(e,r)=>{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e<n.length){return n[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function(e){var r=65;var n=90;var t=97;var o=122;var i=48;var a=57;var u=43;var s=47;var l=26;var c=52;if(r<=e&&e<=n){return e-r}if(t<=e&&e<=o){return e-t+l}if(i<=e&&e<=a){return e-i+c}if(e==u){return 62}if(e==s){return 63}return-1}},630:(e,r)=>{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n<o.length?n:-1}else{return u}}else{if(u-e>1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},557:(e,r,n)=>{var t=n(892);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.P=MappingList},294:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n<t){var o=randomIntInRange(n,t);var i=n-1;swap(e,o,t);var a=e[t];for(var u=n;u<t;u++){if(r(e[u],a)<=0){i+=1;swap(e,i,u)}}swap(e,i+1,u);var s=i+1;doQuickSort(e,r,n,s-1);doQuickSort(e,r,s+1,t)}}r.g=function(e,r){doQuickSort(e,r,0,e.length-1)}},835:(e,r,n)=>{var t;var o=n(892);var i=n(630);var a=n(22).C;var u=n(71);var s=n(294).g;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map(function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}},this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sources");var u=o.getArg(n,"names",[]);var s=o.getArg(n,"sourceRoot",null);var l=o.getArg(n,"sourcesContent",null);var c=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map(function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e});this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map(function(e){return o.computeSourceURL(s,e,r)});this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n<this._absoluteSources.length;++n){if(this._absoluteSources[n]==e){return n}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,r){var n=Object.create(BasicSourceMapConsumer.prototype);var t=n._names=a.fromArray(e._names.toArray(),true);var i=n._sources=a.fromArray(e._sources.toArray(),true);n.sourceRoot=e._sourceRoot;n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot);n.file=e._file;n._sourceMapURL=r;n._absoluteSources=n._sources.toArray().map(function(e){return o.computeSourceURL(n.sourceRoot,e,r)});var u=e._mappings.toArray().slice();var l=n.__generatedMappings=[];var c=n.__originalMappings=[];for(var p=0,f=u.length;p<f;p++){var g=u[p];var d=new Mapping;d.generatedLine=g.generatedLine;d.generatedColumn=g.generatedColumn;if(g.source){d.source=i.indexOf(g.source);d.originalLine=g.originalLine;d.originalColumn=g.originalColumn;if(g.name){d.name=t.indexOf(g.name)}c.push(d)}l.push(d)}s(n.__originalMappings,o.compareByOriginalPositions);return n};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){var n=1;var t=0;var i=0;var a=0;var l=0;var c=0;var p=e.length;var f=0;var g={};var d={};var h=[];var m=[];var v,S,_,C,y;while(f<p){if(e.charAt(f)===";"){n++;f++;t=0}else if(e.charAt(f)===","){f++}else{v=new Mapping;v.generatedLine=n;for(C=f;C<p;C++){if(this._charIsMappingSeparator(e,C)){break}}S=e.slice(f,C);_=g[S];if(_){f+=S.length}else{_=[];while(f<C){u.decode(e,f,d);y=d.value;f=d.rest;_.push(y)}if(_.length===2){throw new Error("Found a source, but no line and column")}if(_.length===3){throw new Error("Found a source and line, but no column")}g[S]=_}v.generatedColumn=t+_[0];t=v.generatedColumn;if(_.length>1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){h.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(h,o.compareByOriginalPositions);this.__originalMappings=h};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositionsDeflated,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,"name",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null})};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map(function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t<u.line||t===u.line&&i<u.column){throw new Error("Section offsets must be ordered and non-overlapping.")}u=n;return{generatedOffset:{generatedLine:t+1,generatedColumn:i+1},consumer:new SourceMapConsumer(o.getArg(e,"map"),r)}})}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var r=0;r<this._sections.length;r++){for(var n=0;n<this._sections[r].consumer.sources.length;n++){e.push(this._sections[r].consumer.sources[n])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var r={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")};var n=i.search(r,this._sections,function(e,r){var n=e.generatedLine-r.generatedOffset.generatedLine;if(n){return n}return e.generatedColumn-r.generatedOffset.generatedColumn});var t=this._sections[n];if(!t){return{source:null,line:null,column:null,name:null}}return t.consumer.originalPositionFor({line:r.generatedLine-(t.generatedOffset.generatedLine-1),column:r.generatedColumn-(t.generatedOffset.generatedLine===r.generatedLine?t.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,r){for(var n=0;n<this._sections.length;n++){var t=this._sections[n];var o=t.consumer.sourceContentFor(e,true);if(o){return o}}if(r){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(o.getArg(e,"source"))===-1){continue}var t=n.consumer.generatedPositionFor(e);if(t){var i={line:t.line+(n.generatedOffset.generatedLine-1),column:t.column+(n.generatedOffset.generatedLine===t.line?n.generatedOffset.generatedColumn-1:0)};return i}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,r){this.__generatedMappings=[];this.__originalMappings=[];for(var n=0;n<this._sections.length;n++){var t=this._sections[n];var i=t.consumer._generatedMappings;for(var a=0;a<i.length;a++){var u=i[a];var l=t.consumer._sources.at(u.source);l=o.computeSourceURL(t.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var c=null;if(u.name){c=t.consumer._names.at(u.name);this._names.add(c);c=this._names.indexOf(c)}var p={source:l,generatedLine:u.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(t.generatedOffset.generatedLine===u.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:c};this.__generatedMappings.push(p);if(typeof p.originalLine==="number"){this.__originalMappings.push(p)}}}s(this.__generatedMappings,o.compareByGeneratedPositionsDeflated);s(this.__originalMappings,o.compareByOriginalPositions)};t=IndexedSourceMapConsumer},702:(e,r,n)=>{var t=n(71);var o=n(892);var i=n(22).C;var a=n(557).P;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)});e.sources.forEach(function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}});return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach(function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}},this);this._sources=u;this._names=s;e.sources.forEach(function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}},this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s="";var l;var c;var p;var f;var g=this._mappings.toArray();for(var d=0,h=g.length;d<h;d++){c=g[d];l="";if(c.generatedLine!==r){e=0;while(c.generatedLine!==r){l+=";";r++}}else{if(d>0){if(!o.compareByGeneratedPositionsInflated(c,g[d-1])){continue}l+=","}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map(function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.x=SourceMapGenerator},274:(e,r,n)=>{var t;var o=n(702).x;var i=n(892);var a=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u<o.length?o[u++]:undefined}};var s=1,l=0;var c=null;r.eachMapping(function(e){if(c!==null){if(s<e.generatedLine){addMappingWithCode(c,shiftNextLine());s++;l=0}else{var r=o[u]||"";var n=r.substr(0,e.generatedColumn-l);o[u]=r.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(c,n);c=e;return}}while(s<e.generatedLine){t.add(shiftNextLine());s++}if(l<e.generatedColumn){var r=o[u]||"";t.add(r.substr(0,e.generatedColumn));o[u]=r.substr(e.generatedColumn);l=e.generatedColumn}c=e},this);if(u<o.length){if(c){addMappingWithCode(c,shiftNextLine())}t.add(o.splice(u).join(""))}r.sources.forEach(function(e){var o=r.sourceContentFor(e);if(o!=null){if(n!=null){e=i.join(n,e)}t.setSourceContent(e,o)}});return t;function addMappingWithCode(e,r){if(e===null||e.source===undefined){t.add(r)}else{var o=n?i.join(n,e.source):e.source;t.add(new SourceNode(e.originalLine,e.originalColumn,o,r,e.name))}}};SourceNode.prototype.add=function SourceNode_add(e){if(Array.isArray(e)){e.forEach(function(e){this.add(e)},this)}else if(e[s]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var r=e.length-1;r>=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n<t;n++){r=this.children[n];if(r[s]){r.walk(e)}else{if(r!==""){e(r,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var r;var n;var t=this.children.length;if(t>0){r=[];for(n=0;n<t-1;n++){r.push(this.children[n]);r.push(e)}r.push(this.children[n]);this.children=r}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,r){var n=this.children[this.children.length-1];if(n[s]){n.replaceRight(e,r)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(e,r)}else{this.children.push("".replace(e,r))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,r){this.sourceContents[i.toSetString(e)]=r};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var r=0,n=this.children.length;r<n;r++){if(this.children[r][s]){this.children[r].walkSourceContents(e)}}var t=Object.keys(this.sourceContents);for(var r=0,n=t.length;r<n;r++){e(i.fromSetString(t[r]),this.sourceContents[t[r]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk(function(r){e+=r});return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var r={code:"",line:1,column:0};var n=new o(e);var t=false;var i=null;var a=null;var s=null;var l=null;this.walk(function(e,o){r.code+=e;if(o.source!==null&&o.line!==null&&o.column!==null){if(i!==o.source||a!==o.line||s!==o.column||l!==o.name){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}i=o.source;a=o.line;s=o.column;l=o.name;t=true}else if(t){n.addMapping({generated:{line:r.line,column:r.column}});i=null;t=false}for(var c=0,p=e.length;c<p;c++){if(e.charCodeAt(c)===u){r.line++;r.column=0;if(c+1===p){i=null;t=false}else if(t){n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:r.line,column:r.column},name:o.name})}}else{r.column++}}});this.walkSourceContents(function(e,r){n.setSourceContent(e,r)});return{code:r.code,map:n}};t=SourceNode},892:(e,r)=>{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var t=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a==="."){i.splice(s,1)}else if(a===".."){u++}else if(u>0){if(a===""){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},258:(e,r,n)=>{n(702).x;r.SourceMapConsumer=n(835).SourceMapConsumer;n(274)},896:e=>{"use strict";e.exports=require("fs")},928:e=>{"use strict";e.exports=require("path")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var n={};__webpack_require__(765).install();module.exports=n})(); |
+20
-11
| { | ||
| "name": "@vercel/ncc", | ||
| "description": "Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.", | ||
| "version": "0.38.4", | ||
| "repository": "vercel/ncc", | ||
| "version": "0.43.0", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/vercel/ncc.git" | ||
| }, | ||
| "license": "MIT", | ||
| "main": "./dist/ncc/index.js", | ||
| "bin": { | ||
| "ncc": "./dist/ncc/cli.js" | ||
| "ncc": "dist/ncc/cli.js" | ||
| }, | ||
@@ -26,6 +29,7 @@ "files": [ | ||
| "@ffmpeg-installer/ffmpeg": "^1.0.17", | ||
| "@google-cloud/bigquery": "^5.7.0", | ||
| "@google-cloud/bigquery": "^8.3.1", | ||
| "@google-cloud/firestore": "^6.7.0", | ||
| "@sentry/node": "^7.66.0", | ||
| "@slack/web-api": "^6.9.0", | ||
| "@types/node": "^25.9.0", | ||
| "@vercel/webpack-asset-relocator-loader": "1.7.3", | ||
@@ -35,3 +39,3 @@ "analytics-node": "^6.2.0", | ||
| "arg": "^5.0.2", | ||
| "auth0": "^2.14.0", | ||
| "auth0": "^4.37.0", | ||
| "axios": "^1.7.7", | ||
@@ -41,3 +45,3 @@ "azure-storage": "^2.10.2", | ||
| "bytes": "^3.1.2", | ||
| "canvas": "3.0.0-rc2", | ||
| "canvas": "^3.2.1", | ||
| "chromeless": "^1.5.2", | ||
@@ -78,4 +82,4 @@ "consolidate": "^0.16.0", | ||
| "mysql": "^2.16.0", | ||
| "node-gyp": "^9.4.0", | ||
| "npm": "^6.13.4", | ||
| "nan": "^2.27.0", | ||
| "node-gyp": "^12.3.0", | ||
| "oracledb": "^6.1.0", | ||
@@ -92,2 +96,4 @@ "passport": "^0.6.0", | ||
| "request": "^2.88.0", | ||
| "resolve": "^1.22.12", | ||
| "rimraf": "^6.1.3", | ||
| "rxjs": "^7.8.1", | ||
@@ -105,3 +111,3 @@ "saslprep": "^1.0.2", | ||
| "tiny-json-http": "^7.5.1", | ||
| "ts-loader": "^9.4.4", | ||
| "ts-loader": "^9.5.7", | ||
| "tsconfig-paths": "^4.2.0", | ||
@@ -111,3 +117,3 @@ "tsconfig-paths-webpack-plugin": "^4.1.0", | ||
| "typescript": "^5.2.2", | ||
| "vm2": "^3.9.19", | ||
| "vm2": "^3.10.3", | ||
| "vue": "^2.5.17", | ||
@@ -119,3 +125,6 @@ "vue-server-renderer": "^2.5.17", | ||
| }, | ||
| "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
| "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| } | ||
| } |
+1
-1
| # ncc | ||
| [](https://github.com/vercel/ncc/actions?workflow=CI) | ||
| [](https://github.com/vercel/ncc/actions/workflows/ci.yml) | ||
@@ -5,0 +5,0 @@ Simple CLI for compiling a Node.js module into a single file, |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface Atomics { | ||
| /** | ||
| * A non-blocking, asynchronous version of wait which is usable on the main thread. | ||
| * Waits asynchronously on a shared memory location and returns a Promise | ||
| * @param typedArray A shared Int32Array or BigInt64Array. | ||
| * @param index The position in the typedArray to wait on. | ||
| * @param value The expected value to test. | ||
| * @param [timeout] The expected value to test. | ||
| */ | ||
| waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; | ||
| /** | ||
| * A non-blocking, asynchronous version of wait which is usable on the main thread. | ||
| * Waits asynchronously on a shared memory location and returns a Promise | ||
| * @param typedArray A shared Int32Array or BigInt64Array. | ||
| * @param index The position in the typedArray to wait on. | ||
| * @param value The expected value to test. | ||
| * @param [timeout] The expected value to test. | ||
| */ | ||
| waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false; value: "not-equal" | "timed-out"; } | { async: true; value: Promise<"ok" | "timed-out">; }; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface ObjectConstructor { | ||
| /** | ||
| * Groups members of an iterable according to the return value of the passed callback. | ||
| * @param items An iterable. | ||
| * @param keySelector A callback which will be invoked for each item in items. | ||
| */ | ||
| groupBy<K extends PropertyKey, T>( | ||
| items: Iterable<T>, | ||
| keySelector: (item: T, index: number) => K, | ||
| ): Partial<Record<K, T[]>>; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface RegExp { | ||
| /** | ||
| * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression. | ||
| * Default is false. Read-only. | ||
| */ | ||
| readonly unicodeSets: boolean; | ||
| } |
| /*! ***************************************************************************** | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| 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 | ||
| THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
| WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
| MERCHANTABLITY OR NON-INFRINGEMENT. | ||
| See the Apache Version 2.0 License for specific language governing permissions | ||
| and limitations under the License. | ||
| ***************************************************************************** */ | ||
| /// <reference no-default-lib="true"/> | ||
| interface String { | ||
| /** | ||
| * Returns true if all leading surrogates and trailing surrogates appear paired and in order. | ||
| */ | ||
| isWellFormed(): boolean; | ||
| /** | ||
| * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD). | ||
| */ | ||
| toWellFormed(): string; | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Mixed license
LicensePackage contains multiple licenses.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Mixed license
LicensePackage contains multiple licenses.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
18621668
12.48%136
7.09%77595
20.76%92
3.37%73
8.96%19
58.33%