Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

fix: ship core-js-free PDF.js build for Chrome Web Store review

Barack Sokullu29b7be011c08
diff --git a/scripts/build-zip.mjs b/scripts/build-zip.mjs
index 95f538298..6da03264f 100644
--- a/scripts/build-zip.mjs
+++ b/scripts/build-zip.mjs
@@ -133,12 +133,21 @@ export function assertStoreSafeFlagLicenseEntries(entries, label) {
}
const STORE_REVIEWED_JAVASCRIPT_PATHS = [
+ 'vendor/pdfjs/compat.mjs',
+ 'vendor/pdfjs/index.mjs',
'vendor/pdfjs/pdf.mjs',
'vendor/pdfjs/pdf.worker.mjs',
+ 'vendor/pdfjs/worker.mjs',
'src/providers/manager.js',
];
const STORE_REJECTION_PATTERNS = [
+ {
+ // core-js's Object.create fallback for old IE (shipped in the PDF.js legacy
+ // build); Chrome Web Store rejected it as obfuscated code.
+ pattern: /\bActiveXObject\b|\bNullProtoObjectVia(?:ActiveX|IFrame)\b/,
+ reason: 'core-js Internet Explorer ActiveX/iframe fallback',
+ },
{
pattern: /\bLT\s*\+\s*SCRIPT\s*\+\s*GT\s*\+\s*content\s*\+\s*LT\s*\+\s*['"]\/['"]\s*\+\s*SCRIPT\s*\+\s*GT\b/,
reason: 'split PDF.js <script> construction',
diff --git a/src/chrome/manifest.json b/src/chrome/manifest.json
index fc7ed6bde..7666b53fd 100644
--- a/src/chrome/manifest.json
+++ b/src/chrome/manifest.json
@@ -170,7 +170,7 @@
},
"web_accessible_resources": [
{
- "resources": ["src/content/autoconsent-runtime.js", "vendor/autoconsent/autoconsent.esm.js", "vendor/pdfjs/pdf.mjs", "vendor/pdfjs/pdf.worker.mjs", "skills/*"],
+ "resources": ["src/content/autoconsent-runtime.js", "vendor/autoconsent/autoconsent.esm.js", "vendor/pdfjs/index.mjs", "vendor/pdfjs/worker.mjs", "vendor/pdfjs/compat.mjs", "vendor/pdfjs/pdf.mjs", "vendor/pdfjs/pdf.worker.mjs", "skills/*"],
"matches": ["<all_urls>"]
}
]
diff --git a/src/chrome/src/offscreen/pdf-extraction-host.js b/src/chrome/src/offscreen/pdf-extraction-host.js
index 6287eb1bc..f4ffa7cf4 100644
--- a/src/chrome/src/offscreen/pdf-extraction-host.js
+++ b/src/chrome/src/offscreen/pdf-extraction-host.js
@@ -15,9 +15,9 @@ let pdfjsPromise = null;
function getPdfjs() {
if (!pdfjsPromise) {
- pdfjsPromise = import(chrome.runtime.getURL('vendor/pdfjs/pdf.mjs')).then((pdfjs) => {
+ pdfjsPromise = import(chrome.runtime.getURL('vendor/pdfjs/index.mjs')).then((pdfjs) => {
pdfjs.GlobalWorkerOptions.workerSrc =
- chrome.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ chrome.runtime.getURL('vendor/pdfjs/worker.mjs');
return pdfjs;
});
// The offscreen document outlives any single read, so never memoize a
diff --git a/src/chrome/src/ui/emergency-pdf.js b/src/chrome/src/ui/emergency-pdf.js
index 8025044cf..ccd255c88 100644
--- a/src/chrome/src/ui/emergency-pdf.js
+++ b/src/chrome/src/ui/emergency-pdf.js
@@ -240,8 +240,8 @@ async function initialize() {
elements['document-source'].href = sourceUrl;
elements['document-source'].hidden = false;
}
- const pdfjs = await import(runtimeApi.runtime.getURL('vendor/pdfjs/pdf.mjs'));
- pdfjs.GlobalWorkerOptions.workerSrc = runtimeApi.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ const pdfjs = await import(runtimeApi.runtime.getURL('vendor/pdfjs/index.mjs'));
+ pdfjs.GlobalWorkerOptions.workerSrc = runtimeApi.runtime.getURL('vendor/pdfjs/worker.mjs');
pdf = await pdfjs.getDocument({ data: new Uint8Array(await file.arrayBuffer()), verbosity: 0 }).promise;
enableControls();
await renderPage();
diff --git a/src/chrome/src/ui/pdf-handler.js b/src/chrome/src/ui/pdf-handler.js
index f75922592..38adecdd1 100644
--- a/src/chrome/src/ui/pdf-handler.js
+++ b/src/chrome/src/ui/pdf-handler.js
@@ -718,8 +718,8 @@ async function initialize() {
unreadableMessage: 'Chrome PDF stream could not be read safely.',
});
- state.pdfjs = await import(api.runtime.getURL('vendor/pdfjs/pdf.mjs'));
- state.pdfjs.GlobalWorkerOptions.workerSrc = api.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ state.pdfjs = await import(api.runtime.getURL('vendor/pdfjs/index.mjs'));
+ state.pdfjs.GlobalWorkerOptions.workerSrc = api.runtime.getURL('vendor/pdfjs/worker.mjs');
state.pdf = await state.pdfjs.getDocument({ data: bytes, verbosity: 0 }).promise;
if (state.pdf.numPages > MAX_PDF_PAGES) {
throw new Error(`This PDF has more than ${MAX_PDF_PAGES} pages, so Chrome's native viewer will be used.`);
diff --git a/src/chrome/vendor/pdfjs/README.md b/src/chrome/vendor/pdfjs/README.md
index beb3d7d58..d40f055a2 100644
--- a/src/chrome/vendor/pdfjs/README.md
+++ b/src/chrome/vendor/pdfjs/README.md
@@ -9,25 +9,28 @@ binary and parse it with pdfjs in the shared offscreen document.
## Source
- Package: `pdfjs-dist` v5.7.284
-- Files: `legacy/build/pdf.mjs` + `legacy/build/pdf.worker.mjs`
+- Upstream files: `build/pdf.mjs` + `build/pdf.worker.mjs` (the modern build),
+ byte-identical to the npm package
- Origin: <https://github.com/mozilla/pdf.js>
- Upstream license: Apache-2.0 (see `LICENSE` in this folder)
-## Store-review patch
+## Files we add
-The upstream legacy files split the strings `<script>`, `</script>`, and
-`javascript:` across constants in an old `core-js` null-prototype fallback.
-Chrome Web Store classifies that string splitting as obfuscation. Our vendored
-copies spell those strings directly; the resulting values and fallback logic
-are unchanged.
+- `compat.mjs`: feature-detected polyfills for the few recent JavaScript
+ methods the modern build calls without a fallback (`Map`/`WeakMap`
+ `getOrInsertComputed`, `Math.sumPrecise`, `Uint8Array` base64/hex,
+ `Response.prototype.bytes`). Each one is installed only when the browser
+ lacks it.
+- `index.mjs`: page entry point. Loads `compat.mjs`, then re-exports `pdf.mjs`.
+- `worker.mjs`: worker entry point. Loads `compat.mjs`, then re-exports
+ `pdf.worker.mjs`, so the PDF.js worker gets the same polyfills.
-## Why the legacy build
+## Why the modern build
-The legacy build targets older JS runtimes than the default modern
-build. MV3 service workers support modern JS but the legacy bundle's
-extra polyfills cost ~50 KB and remove a class of "this API isn't in
-service workers" surprises (e.g. URL.createObjectURL behaves
-differently in the worker context). Worth the size for the resilience.
+The legacy build bundles `core-js`, including old Internet Explorer fallbacks
+(an ActiveX/iframe `document.write` path) that Chrome Web Store review rejects
+as obfuscated code. The modern build contains no `core-js` at all. With
+`compat.mjs`, PDF reading works on Chrome 128+ and Firefox 140+.
## How it's loaded
@@ -36,14 +39,14 @@ PDF read. PDF.js must run in an extension page because the Chrome MV3 service
worker rejects dynamic `import()`:
```js
-const pdfjs = await import(chrome.runtime.getURL('vendor/pdfjs/pdf.mjs'));
+const pdfjs = await import(chrome.runtime.getURL('vendor/pdfjs/index.mjs'));
```
The worker URL is resolved the same way:
```js
pdfjs.GlobalWorkerOptions.workerSrc =
- chrome.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ chrome.runtime.getURL('vendor/pdfjs/worker.mjs');
```
The Agent's `read_pdf` facade ensures the shared offscreen document, waits for
@@ -52,7 +55,7 @@ options. The host accepts requests only from the extension's background
service worker and only fetches `http:`, `https:`, or `file:` URLs. For Claude
passthrough, it encodes the same fetched bytes before PDF.js transfers the
buffer to its worker, so text extraction and the document attachment cannot
-diverge. Both PDF.js files are listed in `manifest.json`'s
+diverge. The PDF.js entry points and modules are listed in `manifest.json`'s
`web_accessible_resources`, so `chrome.runtime.getURL` returns a fetchable URL
without loading the multi-megabyte modules during ordinary service-worker
startup.
@@ -60,10 +63,12 @@ startup.
## Updating
1. `npm pack pdfjs-dist@latest` (in any scratch directory).
-2. `tar xzf pdfjs-dist-*.tgz package/legacy/build/pdf.mjs
- package/legacy/build/pdf.worker.mjs package/LICENSE`
+2. `tar xzf pdfjs-dist-*.tgz package/build/pdf.mjs
+ package/build/pdf.worker.mjs package/LICENSE`
3. Move them over `pdf.mjs`, `pdf.worker.mjs`, `LICENSE` here.
-4. Reapply the store-review patch described above to both JavaScript files.
+4. Do not edit the upstream files. If the new version calls another recent
+ built-in without a fallback, add a feature-detected polyfill to
+ `compat.mjs` instead.
5. Update the version line at the top of this README.
6. Smoke-test by opening a real PDF tab in the loaded extension and
running a `read_pdf` from the side panel.
diff --git a/src/chrome/vendor/pdfjs/compat.mjs b/src/chrome/vendor/pdfjs/compat.mjs
new file mode 100644
index 000000000..4b7ca58dc
--- /dev/null
+++ b/src/chrome/vendor/pdfjs/compat.mjs
@@ -0,0 +1,147 @@
+/*
+ * Feature-detected polyfills for the few recent JavaScript methods that the
+ * modern PDF.js build (pdf.mjs, pdf.worker.mjs) calls without a fallback.
+ *
+ * Upstream ships two builds. The legacy build bundles core-js, whose old
+ * Internet Explorer fallbacks Chrome Web Store review rejects as obfuscated
+ * code. The modern build has no polyfills at all and assumes the newest
+ * browsers. We ship the modern build and fill only these gaps, which keeps
+ * PDF reading working on Chrome 128+ and Firefox 140+:
+ *
+ * Map/WeakMap.prototype.getOrInsert(Computed) Chrome 145, Firefox 144
+ * Math.sumPrecise Chrome 147, Firefox 137
+ * Uint8Array.fromBase64, toBase64, toHex Chrome 140, Firefox 133
+ * Response.prototype.bytes Chrome 132, Firefox 128
+ *
+ * Each method is installed only when the browser lacks it. index.mjs loads
+ * this file before pdf.mjs in the page, and worker.mjs loads it before
+ * pdf.worker.mjs in the PDF.js worker, because the two realms do not share
+ * built-ins.
+ */
+
+function defineMissing(target, name, value) {
+ if (name in target) return;
+ Object.defineProperty(target, name, {
+ value,
+ writable: true,
+ enumerable: false,
+ configurable: true,
+ });
+}
+
+for (const Collection of [Map, WeakMap]) {
+ defineMissing(Collection.prototype, 'getOrInsert', function getOrInsert(key, value) {
+ if (!this.has(key)) this.set(key, value);
+ return this.get(key);
+ });
+
+ defineMissing(Collection.prototype, 'getOrInsertComputed', function getOrInsertComputed(key, callback) {
+ if (typeof callback !== 'function') {
+ throw new TypeError('getOrInsertComputed requires a callback function');
+ }
+ if (this.has(key)) return this.get(key);
+ const value = callback(key);
+ this.set(key, value);
+ return value;
+ });
+}
+
+// Exactly rounded sum built from Shewchuk's non-overlapping partials, the
+// same algorithm as Python's math.fsum. Intermediate overflow (finite inputs
+// whose running sum exceeds Number.MAX_VALUE) is not handled; PDF.js only
+// sums byte and glyph lengths.
+defineMissing(Math, 'sumPrecise', function sumPrecise(items) {
+ const partials = [];
+ let nonFinite = 0;
+ let allNegativeZero = true;
+
+ for (const value of items) {
+ if (typeof value !== 'number') {
+ throw new TypeError('Math.sumPrecise expects an iterable of numbers');
+ }
+ if (!Object.is(value, -0)) allNegativeZero = false;
+ if (!Number.isFinite(value)) {
+ // NaN, or +Infinity together with -Infinity, makes the result NaN.
+ nonFinite = nonFinite === 0 || nonFinite === value ? value : NaN;
+ continue;
+ }
+ if (nonFinite !== 0) continue;
+
+ let x = value;
+ let kept = 0;
+ for (let i = 0; i < partials.length; i++) {
+ let y = partials[i];
+ if (Math.abs(x) < Math.abs(y)) [x, y] = [y, x];
+ const hi = x + y;
+ const lo = y - (hi - x);
+ if (lo !== 0) partials[kept++] = lo;
+ x = hi;
+ }
+ partials.length = kept;
+ partials.push(x);
+ }
+
+ if (nonFinite !== 0) return nonFinite;
+ if (allNegativeZero) return -0;
+
+ let n = partials.length;
+ let hi = 0;
+ if (n > 0) {
+ hi = partials[--n];
+ let lo = 0;
+ while (n > 0) {
+ const x = hi;
+ const y = partials[--n];
+ hi = x + y;
+ lo = y - (hi - x);
+ if (lo !== 0) break;
+ }
+ // Correct round-half-even when the remaining partials tip the result
+ // over a rounding boundary.
+ if (n > 0 && ((lo < 0 && partials[n - 1] < 0) || (lo > 0 && partials[n - 1] > 0))) {
+ const doubled = lo * 2;
+ const rounded = hi + doubled;
+ if (doubled === rounded - hi) hi = rounded;
+ }
+ }
+ return hi;
+});
+
+// String.fromCharCode.apply has an argument-count limit, so encode in slices.
+const BASE64_SLICE_BYTES = 0x8000;
+
+defineMissing(Uint8Array.prototype, 'toBase64', function toBase64(options = {}) {
+ let binary = '';
+ for (let i = 0; i < this.length; i += BASE64_SLICE_BYTES) {
+ binary += String.fromCharCode.apply(null, this.subarray(i, i + BASE64_SLICE_BYTES));
+ }
+ let base64 = btoa(binary);
+ if (options.alphabet === 'base64url') base64 = base64.replace(/\+/g, '-').replace(/\//g, '_');
+ if (options.omitPadding) base64 = base64.replace(/=+$/, '');
+ return base64;
+});
+
+defineMissing(Uint8Array, 'fromBase64', function fromBase64(string, options = {}) {
+ if (typeof string !== 'string') {
+ throw new TypeError('Uint8Array.fromBase64 expects a string');
+ }
+ const base64 = options.alphabet === 'base64url'
+ ? string.replace(/-/g, '+').replace(/_/g, '/')
+ : string;
+ const binary = atob(base64);
+ const bytes = new Uint8Array(binary.length);
+ for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
+ return bytes;
+});
+
+defineMissing(Uint8Array.prototype, 'toHex', function toHex() {
+ let hex = '';
+ for (const byte of this) hex += byte.toString(16).padStart(2, '0');
+ return hex;
+});
+
+if (typeof Response === 'function') {
+ defineMissing(Response.prototype, 'bytes', async function bytes() {
+ return new Uint8Array(await this.arrayBuffer());
+ });
+}
diff --git a/src/chrome/vendor/pdfjs/index.mjs b/src/chrome/vendor/pdfjs/index.mjs
new file mode 100644
index 000000000..ea4186a1e
--- /dev/null
+++ b/src/chrome/vendor/pdfjs/index.mjs
@@ -0,0 +1,5 @@
+// Page-side entry point for PDF.js. Import this instead of pdf.mjs so the
+// polyfills in compat.mjs are installed before PDF.js evaluates.
+import './compat.mjs';
+
+export * from './pdf.mjs';
diff --git a/src/chrome/vendor/pdfjs/pdf.mjs b/src/chrome/vendor/pdfjs/pdf.mjs
index 904577c26..3b08593dd 100644
--- a/src/chrome/vendor/pdfjs/pdf.mjs
+++ b/src/chrome/vendor/pdfjs/pdf.mjs
@@ -24,6312 +24,8 @@
* pdfjsVersion = 5.7.284
* pdfjsBuild = 7e5b36c2d
*/
-/******/ var __webpack_modules__ = ({
-
-/***/ 9306
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var tryToString = __webpack_require__(6823);
-
-var $TypeError = TypeError;
-
-// `Assert: IsCallable(argument) is true`
-module.exports = function (argument) {
- if (isCallable(argument)) return argument;
- throw new $TypeError(tryToString(argument) + ' is not a function');
-};
-
-
-/***/ },
-
-/***/ 3506
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPossiblePrototype = __webpack_require__(3925);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
-};
-
-
-/***/ },
-
-/***/ 7080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4402).has);
-
-// Perform ? RequireInternalSlot(M, [[SetData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 3463
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (typeof argument == 'string') return argument;
- throw new $TypeError('Argument is not a string');
-};
-
-
-/***/ },
-
-/***/ 4328
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var WeakMapHelpers = __webpack_require__(4995);
-
-var weakmap = new WeakMapHelpers.WeakMap();
-var set = WeakMapHelpers.set;
-var remove = WeakMapHelpers.remove;
-
-module.exports = function (key) {
- set(weakmap, key, 1);
- remove(weakmap, key);
- return key;
-};
-
-
-/***/ },
-
-/***/ 6557
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4995).has);
-
-// Perform ? RequireInternalSlot(M, [[WeakMapData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 6469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-var create = __webpack_require__(2360);
-var defineProperty = (__webpack_require__(4913).f);
-
-var UNSCOPABLES = wellKnownSymbol('unscopables');
-var ArrayPrototype = Array.prototype;
-
-// Array.prototype[@@unscopables]
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-if (ArrayPrototype[UNSCOPABLES] === undefined) {
- defineProperty(ArrayPrototype, UNSCOPABLES, {
- configurable: true,
- value: create(null)
- });
-}
-
-// add a key to Array.prototype[@@unscopables]
-module.exports = function (key) {
- ArrayPrototype[UNSCOPABLES][key] = true;
-};
-
-
-/***/ },
-
-/***/ 679
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPrototypeOf = __webpack_require__(1625);
-
-var $TypeError = TypeError;
-
-module.exports = function (it, Prototype) {
- if (isPrototypeOf(Prototype, it)) return it;
- throw new $TypeError('Incorrect invocation');
-};
-
-
-/***/ },
-
-/***/ 3972
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (argument === undefined || isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object or undefined');
-};
-
-
-/***/ },
-
-/***/ 8551
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-// `Assert: Type(argument) is Object`
-module.exports = function (argument) {
- if (isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object');
-};
-
-
-/***/ },
-
-/***/ 4154
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $TypeError = TypeError;
-
-// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
-// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
-module.exports = function (argument) {
- if (classof(argument) === 'Uint8Array') return argument;
- throw new $TypeError('Argument is not an Uint8Array');
-};
-
-
-/***/ },
-
-/***/ 7811
-(module) {
-
-
-// eslint-disable-next-line es/no-typed-arrays -- safe
-module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
-
-
-/***/ },
-
-/***/ 7394
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThisAccessor = __webpack_require__(6706);
-var classof = __webpack_require__(2195);
-
-var ArrayBuffer = globalThis.ArrayBuffer;
-var TypeError = globalThis.TypeError;
-
-// Includes
-// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
-// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
-module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
- if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
- return O.byteLength;
-};
-
-
-/***/ },
-
-/***/ 3238
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var arrayBufferByteLength = __webpack_require__(7394);
-
-var DataView = globalThis.DataView;
-
-module.exports = function (O) {
- if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
- try {
- // eslint-disable-next-line no-new -- thrower
- new DataView(O);
- return false;
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 5169
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isDetached = __webpack_require__(3238);
-
-var $TypeError = TypeError;
-
-module.exports = function (it) {
- if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5636
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var uncurryThisAccessor = __webpack_require__(6706);
-var toIndex = __webpack_require__(7696);
-var notDetached = __webpack_require__(5169);
-var arrayBufferByteLength = __webpack_require__(7394);
-var detachTransferable = __webpack_require__(4483);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var ArrayBuffer = globalThis.ArrayBuffer;
-var DataView = globalThis.DataView;
-var max = Math.max;
-var min = Math.min;
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-var DataViewPrototype = DataView.prototype;
-var slice = uncurryThis(ArrayBufferPrototype.slice);
-var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
-var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
-var getInt8 = uncurryThis(DataViewPrototype.getInt8);
-var setInt8 = uncurryThis(DataViewPrototype.setInt8);
-
-module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
- var byteLength = arrayBufferByteLength(arrayBuffer);
- var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
- var fixedLength = !isResizable || !isResizable(arrayBuffer);
- var newBuffer;
- notDetached(arrayBuffer);
- if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
- if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
- }
- if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
- newBuffer = slice(arrayBuffer, 0, newByteLength);
- } else {
- var options = preserveResizability && !fixedLength && maxByteLength
- ? { maxByteLength: max(newByteLength, maxByteLength(arrayBuffer)) }
- : undefined;
- newBuffer = new ArrayBuffer(newByteLength, options);
- var a = new DataView(arrayBuffer);
- var b = new DataView(newBuffer);
- var copyLength = min(newByteLength, byteLength);
- for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
- }
- if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
- return newBuffer;
-};
-
-
-/***/ },
-
-/***/ 4644
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var hasOwn = __webpack_require__(9297);
-var classof = __webpack_require__(6955);
-var tryToString = __webpack_require__(6823);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isPrototypeOf = __webpack_require__(1625);
-var getPrototypeOf = __webpack_require__(2787);
-var setPrototypeOf = __webpack_require__(2967);
-var wellKnownSymbol = __webpack_require__(608);
-var uid = __webpack_require__(3392);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var Int8Array = globalThis.Int8Array;
-var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
-var Uint8ClampedArray = globalThis.Uint8ClampedArray;
-var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
-var TypedArray = Int8Array && getPrototypeOf(Int8Array);
-var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
-var ObjectPrototype = Object.prototype;
-var TypeError = globalThis.TypeError;
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
-var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
-// Fixing native typed arrays in Opera Presto crashes the browser, see #595
-var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
-var TYPED_ARRAY_TAG_REQUIRED = false;
-var NAME, Constructor, Prototype;
-
-var TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
-};
-
-var BigIntArrayConstructorsList = {
- BigInt64Array: 8,
- BigUint64Array: 8
-};
-
-var isView = function isView(it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return klass === 'DataView'
- || hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var getTypedArrayConstructor = function (it) {
- var proto = getPrototypeOf(it);
- if (!isObject(proto)) return;
- var state = getInternalState(proto);
- return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
-};
-
-var isTypedArray = function (it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var aTypedArray = function (it) {
- if (isTypedArray(it)) return it;
- throw new TypeError('Target is not a typed array');
-};
-
-var aTypedArrayConstructor = function (C) {
- if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
- throw new TypeError(tryToString(C) + ' is not a typed array constructor');
-};
-
-var exportTypedArrayMethod = function (KEY, property, forced, options) {
- if (!DESCRIPTORS) return;
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
- delete TypedArrayConstructor.prototype[KEY];
- } catch (error) {
- // old WebKit bug - some methods are non-configurable
- try {
- TypedArrayConstructor.prototype[KEY] = property;
- } catch (error2) { /* empty */ }
- }
- }
- if (!TypedArrayPrototype[KEY] || forced) {
- defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
- : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
- }
-};
-
-var exportTypedArrayStaticMethod = function (KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (!DESCRIPTORS) return;
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
- delete TypedArrayConstructor[KEY];
- } catch (error) { /* empty */ }
- }
- if (!TypedArray[KEY] || forced) {
- // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
- try {
- return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
- } catch (error) { /* empty */ }
- } else return;
- }
- for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
- defineBuiltIn(TypedArrayConstructor, KEY, property);
- }
- }
-};
-
-for (NAME in TypedArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
- else NATIVE_ARRAY_BUFFER_VIEWS = false;
-}
-
-for (NAME in BigIntArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
-}
-
-// WebKit bug - typed arrays constructors prototype is Object.prototype
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
- // eslint-disable-next-line no-shadow -- safe
- TypedArray = function TypedArray() {
- throw new TypeError('Incorrect invocation');
- };
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
- }
-}
-
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
- TypedArrayPrototype = TypedArray.prototype;
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
- }
-}
-
-// WebKit bug - one more object in Uint8ClampedArray prototype chain
-if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
- setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
-}
-
-if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
- TYPED_ARRAY_TAG_REQUIRED = true;
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
- configurable: true,
- get: function () {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
- }
- });
- for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
- createNonEnumerableProperty(globalThis[NAME].prototype, TYPED_ARRAY_TAG, NAME);
- }
-}
-
-module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
- aTypedArray: aTypedArray,
- aTypedArrayConstructor: aTypedArrayConstructor,
- exportTypedArrayMethod: exportTypedArrayMethod,
- exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
- getTypedArrayConstructor: getTypedArrayConstructor,
- isView: isView,
- isTypedArray: isTypedArray,
- TypedArray: TypedArray,
- TypedArrayPrototype: TypedArrayPrototype
-};
-
-
-/***/ },
-
-/***/ 5370
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var lengthOfArrayLike = __webpack_require__(6198);
-
-module.exports = function (Constructor, list, $length) {
- var index = 0;
- var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
- var result = new Constructor(length);
- while (length > index) result[index] = list[index++];
- return result;
-};
-
-
-/***/ },
-
-/***/ 9617
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIndexedObject = __webpack_require__(5397);
-var toAbsoluteIndex = __webpack_require__(5610);
-var lengthOfArrayLike = __webpack_require__(6198);
-
-// `Array.prototype.{ indexOf, includes }` methods implementation
-var createMethod = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIndexedObject($this);
- var length = lengthOfArrayLike(O);
- if (length === 0) return !IS_INCLUDES && -1;
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare -- NaN check
- if (IS_INCLUDES && el !== el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare -- NaN check
- if (value !== value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) {
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
-};
-
-module.exports = {
- // `Array.prototype.includes` method
- // https://tc39.es/ecma262/#sec-array.prototype.includes
- includes: createMethod(true),
- // `Array.prototype.indexOf` method
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
- indexOf: createMethod(false)
-};
-
-
-/***/ },
-
-/***/ 4527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var isArray = __webpack_require__(4376);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Safari < 13 does not throw an error in this case
-var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
- // makes no sense without proper strict mode support
- if (this !== undefined) return true;
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).length = 1;
- } catch (error) {
- return error instanceof TypeError;
- }
-}();
-
-module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
- throw new $TypeError('Cannot set read only .length');
- } return O.length = length;
-} : function (O, length) {
- return O.length = length;
-};
-
-
-/***/ },
-
-/***/ 7680
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis([].slice);
-
-
-/***/ },
-
-/***/ 2804
-(module) {
-
-
-var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
-var base64Alphabet = commonAlphabet + '+/';
-var base64UrlAlphabet = commonAlphabet + '-_';
-
-var inverse = function (characters) {
- // TODO: use `Object.create(null)` in `core-js@4`
- var result = {};
- var index = 0;
- for (; index < 64; index++) result[characters.charAt(index)] = index;
- return result;
-};
-
-module.exports = {
- i2c: base64Alphabet,
- c2i: inverse(base64Alphabet),
- i2cUrl: base64UrlAlphabet,
- c2iUrl: inverse(base64UrlAlphabet)
-};
-
-
-/***/ },
-
-/***/ 6319
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var anObject = __webpack_require__(8551);
-var iteratorClose = __webpack_require__(9539);
-
-// call something on iterator step with safe closing on error
-module.exports = function (iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- } catch (error) {
- iteratorClose(iterator, 'throw', error);
- }
-};
-
-
-/***/ },
-
-/***/ 2195
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var toString = uncurryThis({}.toString);
-var stringSlice = uncurryThis(''.slice);
-
-module.exports = function (it) {
- return stringSlice(toString(it), 8, -1);
-};
-
-
-/***/ },
-
-/***/ 6955
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
-var isCallable = __webpack_require__(4901);
-var classofRaw = __webpack_require__(2195);
-var wellKnownSymbol = __webpack_require__(608);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var $Object = Object;
-
-// ES3 wrong here
-var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
-
-// fallback for IE11 Script Access Denied error
-var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
-};
-
-// getting tag from ES6+ `Object.prototype.toString`
-module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
-};
-
-
-/***/ },
-
-/***/ 7740
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var ownKeys = __webpack_require__(5031);
-var getOwnPropertyDescriptorModule = __webpack_require__(7347);
-var definePropertyModule = __webpack_require__(4913);
-
-module.exports = function (target, source, exceptions) {
- var keys = ownKeys(source);
- var defineProperty = definePropertyModule.f;
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- }
-};
-
-
-/***/ },
-
-/***/ 2211
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
- return Object.getPrototypeOf(new F()) !== F.prototype;
-});
-
-
-/***/ },
-
-/***/ 2529
-(module) {
-
-
-// `CreateIterResultObject` abstract operation
-// https://tc39.es/ecma262/#sec-createiterresultobject
-module.exports = function (value, done) {
- return { value: value, done: done };
-};
-
-
-/***/ },
-
-/***/ 6699
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-
-/***/ },
-
-/***/ 6980
-(module) {
-
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-
-/***/ },
-
-/***/ 4659
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = function (object, key, value) {
- if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
- else object[key] = value;
-};
-
-
-/***/ },
-
-/***/ 2106
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var makeBuiltIn = __webpack_require__(283);
-var defineProperty = __webpack_require__(4913);
-
-module.exports = function (target, name, descriptor) {
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
- return defineProperty.f(target, name, descriptor);
-};
-
-
-/***/ },
-
-/***/ 6840
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var definePropertyModule = __webpack_require__(4913);
-var makeBuiltIn = __webpack_require__(283);
-var defineGlobalProperty = __webpack_require__(9433);
-
-module.exports = function (O, key, value, options) {
- if (!options) options = {};
- var simple = options.enumerable;
- var name = options.name !== undefined ? options.name : key;
- if (isCallable(value)) makeBuiltIn(value, name, options);
- if (options.global) {
- if (simple) O[key] = value;
- else defineGlobalProperty(key, value);
- } else {
- try {
- if (!options.unsafe) delete O[key];
- else if (O[key]) simple = true;
- } catch (error) { /* empty */ }
- if (simple) O[key] = value;
- else definePropertyModule.f(O, key, {
- value: value,
- enumerable: false,
- configurable: !options.nonConfigurable,
- writable: !options.nonWritable
- });
- } return O;
-};
-
-
-/***/ },
-
-/***/ 6279
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-
-module.exports = function (target, src, options) {
- for (var key in src) defineBuiltIn(target, key, src[key], options);
- return target;
-};
-
-
-/***/ },
-
-/***/ 9433
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-
-module.exports = function (key, value) {
- try {
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
- } catch (error) {
- globalThis[key] = value;
- } return value;
-};
-
-
-/***/ },
-
-/***/ 3724
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-// Detect IE8's incomplete defineProperty implementation
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
-});
-
-
-/***/ },
-
-/***/ 4483
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getBuiltInNodeModule = __webpack_require__(9429);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var $ArrayBuffer = globalThis.ArrayBuffer;
-var $MessageChannel = globalThis.MessageChannel;
-var detach = false;
-var WorkerThreads, channel, buffer, $detach;
-
-if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- detach = function (transferable) {
- structuredClone(transferable, { transfer: [transferable] });
- };
-} else if ($ArrayBuffer) try {
- if (!$MessageChannel) {
- WorkerThreads = getBuiltInNodeModule('worker_threads');
- if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
- }
-
- if ($MessageChannel) {
- channel = new $MessageChannel();
- buffer = new $ArrayBuffer(2);
-
- $detach = function (transferable) {
- channel.port1.postMessage(null, [transferable]);
- };
-
- if (buffer.byteLength === 2) {
- $detach(buffer);
- if (buffer.byteLength === 0) detach = $detach;
- }
- }
-} catch (error) { /* empty */ }
-
-module.exports = detach;
-
-
-/***/ },
-
-/***/ 4055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-
-var document = globalThis.document;
-// typeof document.createElement is 'object' in old IE
-var EXISTS = isObject(document) && isObject(document.createElement);
-
-module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
-};
-
-
-/***/ },
-
-/***/ 6837
-(module) {
-
-
-var $TypeError = TypeError;
-var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
-
-module.exports = function (it) {
- if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5002
-(module) {
-
-
-module.exports = {
- IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
- DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
- HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
- WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
- InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
- NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
- NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
- NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
- NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
- InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
- InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
- SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
- InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
- NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
- InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
- ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
- TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
- SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
- NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
- AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
- URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
- QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
- TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
- InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
- DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
-};
-
-
-/***/ },
-
-/***/ 8727
-(module) {
-
-
-// IE8- don't enum bug keys
-module.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
-];
-
-
-/***/ },
-
-/***/ 6193
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ENVIRONMENT = __webpack_require__(4215);
-
-module.exports = ENVIRONMENT === 'NODE';
-
-
-/***/ },
-
-/***/ 2839
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-var navigator = globalThis.navigator;
-var userAgent = navigator && navigator.userAgent;
-
-module.exports = userAgent ? String(userAgent) : '';
-
-
-/***/ },
-
-/***/ 9519
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-
-var process = globalThis.process;
-var Deno = globalThis.Deno;
-var versions = process && process.versions || Deno && Deno.version;
-var v8 = versions && versions.v8;
-var match, version;
-
-if (v8) {
- match = v8.split('.');
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
- // but their correct versions are not interesting for us
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-}
-
-// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-// so check `userAgent` even if `.v8` exists, but 0
-if (!version && userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = +match[1];
- }
-}
-
-module.exports = version;
-
-
-/***/ },
-
-/***/ 4215
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global Bun, Deno -- detection */
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-var classof = __webpack_require__(2195);
-
-var userAgentStartsWith = function (string) {
- return userAgent.slice(0, string.length) === string;
-};
-
-module.exports = (function () {
- if (userAgentStartsWith('Bun/')) return 'BUN';
- if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
- if (userAgentStartsWith('Deno/')) return 'DENO';
- if (userAgentStartsWith('Node.js/')) return 'NODE';
- if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
- if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
- if (classof(globalThis.process) === 'process') return 'NODE';
- if (globalThis.window && globalThis.document) return 'BROWSER';
- return 'REST';
-})();
-
-
-/***/ },
-
-/***/ 8574
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var $Error = Error;
-var replace = uncurryThis(''.replace);
-
-var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
-// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
-var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
-var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
-
-module.exports = function (stack, dropEntries) {
- if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
- while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
- } return stack;
-};
-
-
-/***/ },
-
-/***/ 6518
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineGlobalProperty = __webpack_require__(9433);
-var copyConstructorProperties = __webpack_require__(7740);
-var isForced = __webpack_require__(2796);
-
-/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
-*/
-module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = globalThis;
- } else if (STATIC) {
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
- } else {
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- defineBuiltIn(target, key, sourceProperty, options);
- }
-};
-
-
-/***/ },
-
-/***/ 9039
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 8745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var apply = FunctionPrototype.apply;
-var call = FunctionPrototype.call;
-
-// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
-module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
-});
-
-
-/***/ },
-
-/***/ 6080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(7476);
-var aCallable = __webpack_require__(9306);
-var NATIVE_BIND = __webpack_require__(616);
-
-var bind = uncurryThis(uncurryThis.bind);
-
-// optional / simple context binding
-module.exports = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 616
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = function () { /* empty */ }.bind();
- // eslint-disable-next-line no-prototype-builtins -- safe
- return typeof test != 'function' || test.hasOwnProperty('prototype');
-});
-
-
-/***/ },
-
-/***/ 9565
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var call = Function.prototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-module.exports = NATIVE_BIND ? call.bind(call) : function () {
- return call.apply(call, arguments);
-};
-
-
-/***/ },
-
-/***/ 350
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var hasOwn = __webpack_require__(9297);
-
-var FunctionPrototype = Function.prototype;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
-
-var EXISTS = hasOwn(FunctionPrototype, 'name');
-// additional protection from minified / mangled / dropped function names
-var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
-var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
-
-module.exports = {
- EXISTS: EXISTS,
- PROPER: PROPER,
- CONFIGURABLE: CONFIGURABLE
-};
-
-
-/***/ },
-
-/***/ 6706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var aCallable = __webpack_require__(9306);
-
-module.exports = function (object, key, method) {
- try {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) { /* empty */ }
-};
-
-
-/***/ },
-
-/***/ 7476
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classofRaw = __webpack_require__(2195);
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
-};
-
-
-/***/ },
-
-/***/ 9504
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var call = FunctionPrototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
-
-module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
- return function () {
- return call.apply(fn, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 944
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (options) {
- var alphabet = options && options.alphabet;
- if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
- throw new $TypeError('Incorrect `alphabet` option');
-};
-
-
-/***/ },
-
-/***/ 9429
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var IS_NODE = __webpack_require__(6193);
-
-module.exports = function (name) {
- if (IS_NODE) {
- try {
- return globalThis.process.getBuiltinModule(name);
- } catch (error) { /* empty */ }
- try {
- // eslint-disable-next-line no-new-func -- safe
- return Function('return require("' + name + '")')();
- } catch (error) { /* empty */ }
- }
-};
-
-
-/***/ },
-
-/***/ 7751
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var aFunction = function (argument) {
- return isCallable(argument) ? argument : undefined;
-};
-
-module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
-};
-
-
-/***/ },
-
-/***/ 1767
-(module) {
-
-
-// `GetIteratorDirect(obj)` abstract operation
-// https://tc39.es/ecma262/#sec-getiteratordirect
-module.exports = function (obj) {
- return {
- iterator: obj,
- next: obj.next,
- done: false
- };
-};
-
-
-/***/ },
-
-/***/ 8646
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorMethod = __webpack_require__(851);
-
-module.exports = function (obj, stringHandling) {
- if (!stringHandling || typeof obj !== 'string') anObject(obj);
- var method = getIteratorMethod(obj);
- return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
-};
-
-
-/***/ },
-
-/***/ 851
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-var getMethod = __webpack_require__(5966);
-var isNullOrUndefined = __webpack_require__(4117);
-var Iterators = __webpack_require__(6269);
-var wellKnownSymbol = __webpack_require__(608);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = function (it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
- || getMethod(it, '@@iterator')
- || Iterators[classof(it)];
-};
-
-
-/***/ },
-
-/***/ 81
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var getIteratorMethod = __webpack_require__(851);
-
-var $TypeError = TypeError;
-
-module.exports = function (argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + ' is not iterable');
-};
-
-
-/***/ },
-
-/***/ 5966
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var isNullOrUndefined = __webpack_require__(4117);
-
-// `GetMethod` abstract operation
-// https://tc39.es/ecma262/#sec-getmethod
-module.exports = function (V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? undefined : aCallable(func);
-};
-
-
-/***/ },
-
-/***/ 3789
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var call = __webpack_require__(9565);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var getIteratorDirect = __webpack_require__(1767);
-
-var INVALID_SIZE = 'Invalid size';
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var max = Math.max;
-
-var SetRecord = function (set, intSize) {
- this.set = set;
- this.size = max(intSize, 0);
- this.has = aCallable(set.has);
- this.keys = aCallable(set.keys);
-};
-
-SetRecord.prototype = {
- getIterator: function () {
- return getIteratorDirect(anObject(call(this.keys, this.set)));
- },
- includes: function (it) {
- return call(this.has, this.set, it);
- }
-};
-
-// `GetSetRecord` abstract operation
-// https://tc39.es/proposal-set-methods/#sec-getsetrecord
-module.exports = function (obj) {
- anObject(obj);
- var numSize = +obj.size;
- // NOTE: If size is undefined, then numSize will be NaN
- // eslint-disable-next-line no-self-compare -- NaN check
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
- var intSize = toIntegerOrInfinity(numSize);
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
- return new SetRecord(obj, intSize);
-};
-
-
-/***/ },
-
-/***/ 4576
-(module) {
-
-
-var check = function (it) {
- return it && it.Math === Math && it;
-};
-
-// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-module.exports =
- // eslint-disable-next-line es/no-global-this -- safe
- check(typeof globalThis == 'object' && globalThis) ||
- check(typeof window == 'object' && window) ||
- // eslint-disable-next-line no-restricted-globals -- safe
- check(typeof self == 'object' && self) ||
- check(typeof global == 'object' && global) ||
- check(typeof this == 'object' && this) ||
- // eslint-disable-next-line no-new-func -- fallback
- (function () { return this; })() || Function('return this')();
-
-
-/***/ },
-
-/***/ 9297
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var toObject = __webpack_require__(8981);
-
-var hasOwnProperty = uncurryThis({}.hasOwnProperty);
-
-// `HasOwnProperty` abstract operation
-// https://tc39.es/ecma262/#sec-hasownproperty
-// eslint-disable-next-line es/no-object-hasown -- safe
-module.exports = Object.hasOwn || function hasOwn(it, key) {
- return hasOwnProperty(toObject(it), key);
-};
-
-
-/***/ },
-
-/***/ 421
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-module.exports = getBuiltIn('document', 'documentElement');
-
-
-/***/ },
-
-/***/ 5917
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-var createElement = __webpack_require__(4055);
-
-// Thanks to IE8 for its funny defineProperty
-module.exports = !DESCRIPTORS && !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () { return 7; }
- }).a !== 7;
-});
-
-
-/***/ },
-
-/***/ 7055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var classof = __webpack_require__(2195);
-
-var $Object = Object;
-var split = uncurryThis(''.split);
-
-// fallback for non-array-like ES3 and non-enumerable old V8 strings
-module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins -- safe
- return !$Object('z').propertyIsEnumerable(0);
-}) ? function (it) {
- return classof(it) === 'String' ? split(it, '') : $Object(it);
-} : $Object;
-
-
-/***/ },
-
-/***/ 3167
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var setPrototypeOf = __webpack_require__(2967);
-
-// makes subclassing work correct for wrapped built-ins
-module.exports = function ($this, dummy, Wrapper) {
- var NewTarget, NewTargetPrototype;
- if (
- // it can work only with native `setPrototypeOf`
- setPrototypeOf &&
- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
- isCallable(NewTarget = dummy.constructor) &&
- NewTarget !== Wrapper &&
- isObject(NewTargetPrototype = NewTarget.prototype) &&
- NewTargetPrototype !== Wrapper.prototype
- ) setPrototypeOf($this, NewTargetPrototype);
- return $this;
-};
-
-
-/***/ },
-
-/***/ 3706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var isCallable = __webpack_require__(4901);
-var store = __webpack_require__(7629);
-
-var functionToString = uncurryThis(Function.toString);
-
-// this helper broken in `[email protected]`, so we can't use `shared` helper
-if (!isCallable(store.inspectSource)) {
- store.inspectSource = function (it) {
- return functionToString(it);
- };
-}
-
-module.exports = store.inspectSource;
-
-
-/***/ },
-
-/***/ 1181
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_WEAK_MAP = __webpack_require__(8622);
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var hasOwn = __webpack_require__(9297);
-var shared = __webpack_require__(7629);
-var sharedKey = __webpack_require__(6119);
-var hiddenKeys = __webpack_require__(421);
-
-var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-var TypeError = globalThis.TypeError;
-var WeakMap = globalThis.WeakMap;
-var set, get, has;
-
-var enforce = function (it) {
- return has(it) ? get(it) : set(it, {});
-};
-
-var getterFor = function (TYPE) {
- return function (it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
- } return state;
- };
-};
-
-if (NATIVE_WEAK_MAP || shared.state) {
- var store = shared.state || (shared.state = new WeakMap());
- /* eslint-disable no-self-assign -- prototype methods protection */
- store.get = store.get;
- store.has = store.has;
- store.set = store.set;
- /* eslint-enable no-self-assign -- prototype methods protection */
- set = function (it, metadata) {
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- store.set(it, metadata);
- return metadata;
- };
- get = function (it) {
- return store.get(it) || {};
- };
- has = function (it) {
- return store.has(it);
- };
-} else {
- var STATE = sharedKey('state');
- hiddenKeys[STATE] = true;
- set = function (it, metadata) {
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- createNonEnumerableProperty(it, STATE, metadata);
- return metadata;
- };
- get = function (it) {
- return hasOwn(it, STATE) ? it[STATE] : {};
- };
- has = function (it) {
- return hasOwn(it, STATE);
- };
-}
-
-module.exports = {
- set: set,
- get: get,
- has: has,
- enforce: enforce,
- getterFor: getterFor
-};
-
-
-/***/ },
-
-/***/ 4209
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-var Iterators = __webpack_require__(6269);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var ArrayPrototype = Array.prototype;
-
-// check on default Array iterator
-module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
-};
-
-
-/***/ },
-
-/***/ 4376
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(2195);
-
-// `IsArray` abstract operation
-// https://tc39.es/ecma262/#sec-isarray
-// eslint-disable-next-line es/no-array-isarray -- safe
-module.exports = Array.isArray || function isArray(argument) {
- return classof(argument) === 'Array';
-};
-
-
-/***/ },
-
-/***/ 1108
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-module.exports = function (it) {
- var klass = classof(it);
- return klass === 'BigInt64Array' || klass === 'BigUint64Array';
-};
-
-
-/***/ },
-
-/***/ 4901
-(module) {
-
-
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
-var documentAll = typeof document == 'object' && document.all;
-
-// `IsCallable` abstract operation
-// https://tc39.es/ecma262/#sec-iscallable
-// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
-module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
- return typeof argument == 'function' || argument === documentAll;
-} : function (argument) {
- return typeof argument == 'function';
-};
-
-
-/***/ },
-
-/***/ 2796
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-
-var replacement = /#|\.prototype\./;
-
-var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value === POLYFILL ? true
- : value === NATIVE ? false
- : isCallable(detection) ? fails(detection)
- : !!detection;
-};
-
-var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
-};
-
-var data = isForced.data = {};
-var NATIVE = isForced.NATIVE = 'N';
-var POLYFILL = isForced.POLYFILL = 'P';
-
-module.exports = isForced;
-
-
-/***/ },
-
-/***/ 4117
-(module) {
-
-
-// we can't use just `it == null` since of `document.all` special case
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
-module.exports = function (it) {
- return it === null || it === undefined;
-};
-
-
-/***/ },
-
-/***/ 34
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-
-module.exports = function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it);
-};
-
-
-/***/ },
-
-/***/ 3925
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-module.exports = function (argument) {
- return isObject(argument) || argument === null;
-};
-
-
-/***/ },
-
-/***/ 6395
-(module) {
-
-
-module.exports = false;
-
-
-/***/ },
-
-/***/ 5810
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-var getInternalState = (__webpack_require__(1181).get);
-
-module.exports = function isRawJSON(O) {
- if (!isObject(O)) return false;
- var state = getInternalState(O);
- return !!state && state.type === 'RawJSON';
-};
-
-
-/***/ },
-
-/***/ 757
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var isCallable = __webpack_require__(4901);
-var isPrototypeOf = __webpack_require__(1625);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var $Object = Object;
-
-module.exports = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- var $Symbol = getBuiltIn('Symbol');
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
-};
-
-
-/***/ },
-
-/***/ 507
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-
-module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
- var next = record.next;
- var step, result;
- while (!(step = call(next, iterator)).done) {
- result = fn(step.value);
- if (result !== undefined) return result;
- }
-};
-
-
-/***/ },
-
-/***/ 2652
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var bind = __webpack_require__(6080);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var isArrayIteratorMethod = __webpack_require__(4209);
-var lengthOfArrayLike = __webpack_require__(6198);
-var isPrototypeOf = __webpack_require__(1625);
-var getIterator = __webpack_require__(81);
-var getIteratorMethod = __webpack_require__(851);
-var iteratorClose = __webpack_require__(9539);
-
-var $TypeError = TypeError;
-
-var Result = function (stopped, result) {
- this.stopped = stopped;
- this.result = result;
-};
-
-var ResultPrototype = Result.prototype;
-
-module.exports = function (iterable, unboundFunction, options) {
- var that = options && options.that;
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
- var IS_RECORD = !!(options && options.IS_RECORD);
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
- var INTERRUPTED = !!(options && options.INTERRUPTED);
- var fn = bind(unboundFunction, that);
- var iterator, iterFn, index, length, result, next, step;
-
- var stop = function (condition) {
- var $iterator = iterator;
- iterator = undefined;
- if ($iterator) iteratorClose($iterator, 'normal');
- return new Result(true, condition);
- };
-
- var callFn = function (value) {
- if (AS_ENTRIES) {
- anObject(value);
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
- } return INTERRUPTED ? fn(value, stop) : fn(value);
- };
-
- if (IS_RECORD) {
- iterator = iterable.iterator;
- } else if (IS_ITERATOR) {
- iterator = iterable;
- } else {
- iterFn = getIteratorMethod(iterable);
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
- // optimisation for array iterators
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
- result = callFn(iterable[index]);
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
- }
- iterator = getIterator(iterable, iterFn);
- }
-
- next = IS_RECORD ? iterable.next : iterator.next;
- while (!(step = call(next, iterator)).done) {
- // `IteratorValue` errors should propagate without closing the iterator
- var value = step.value;
- try {
- result = callFn(value);
- } catch (error) {
- if (iterator) iteratorClose(iterator, 'throw', error);
- else throw error;
- }
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
-};
-
-
-/***/ },
-
-/***/ 1385
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var iteratorClose = __webpack_require__(9539);
-
-module.exports = function (iters, kind, value) {
- for (var i = iters.length - 1; i >= 0; i--) {
- if (iters[i] === undefined) continue;
- try {
- value = iteratorClose(iters[i].iterator, kind, value);
- } catch (error) {
- kind = 'throw';
- value = error;
- }
- }
- if (kind === 'throw') throw value;
- return value;
-};
-
-
-/***/ },
-
-/***/ 9539
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getMethod = __webpack_require__(5966);
-
-module.exports = function (iterator, kind, value) {
- var innerResult, innerError;
- anObject(iterator);
- try {
- innerResult = getMethod(iterator, 'return');
- if (!innerResult) {
- if (kind === 'throw') throw value;
- return value;
- }
- innerResult = call(innerResult, iterator);
- } catch (error) {
- innerError = true;
- innerResult = error;
- }
- if (kind === 'throw') throw value;
- if (innerError) throw innerResult;
- anObject(innerResult);
- return value;
-};
-
-
-/***/ },
-
-/***/ 9462
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var create = __webpack_require__(2360);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIns = __webpack_require__(6279);
-var wellKnownSymbol = __webpack_require__(608);
-var InternalStateModule = __webpack_require__(1181);
-var getMethod = __webpack_require__(5966);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var createIterResultObject = __webpack_require__(2529);
-var iteratorClose = __webpack_require__(9539);
-var iteratorCloseAll = __webpack_require__(1385);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var ITERATOR_HELPER = 'IteratorHelper';
-var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
-var NORMAL = 'normal';
-var THROW = 'throw';
-var setInternalState = InternalStateModule.set;
-
-var createIteratorProxyPrototype = function (IS_ITERATOR) {
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
-
- return defineBuiltIns(create(IteratorPrototype), {
- next: function next() {
- var state = getInternalState(this);
- // for simplification:
- // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
- // for `%IteratorHelperPrototype%.next` - just a value
- if (IS_ITERATOR) return state.nextHandler();
- if (state.done) return createIterResultObject(undefined, true);
- try {
- var result = state.nextHandler();
- return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
- } catch (error) {
- state.done = true;
- throw error;
- }
- },
- 'return': function () {
- var state = getInternalState(this);
- var iterator = state.iterator;
- var done = state.done;
- state.done = true;
- if (IS_ITERATOR) {
- var returnMethod = getMethod(iterator, 'return');
- return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
- }
- if (done) return createIterResultObject(undefined, true);
- if (state.inner) try {
- iteratorClose(state.inner.iterator, NORMAL);
- } catch (error) {
- return iteratorClose(iterator, THROW, error);
- }
- if (state.openIters) try {
- iteratorCloseAll(state.openIters, NORMAL);
- } catch (error) {
- if (iterator) return iteratorClose(iterator, THROW, error);
- throw error;
- }
- if (iterator) iteratorClose(iterator, NORMAL);
- return createIterResultObject(undefined, true);
- }
- });
-};
-
-var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
-var IteratorHelperPrototype = createIteratorProxyPrototype(false);
-
-createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
-
-module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
- var IteratorProxy = function Iterator(record, state) {
- if (state) {
- state.iterator = record.iterator;
- state.next = record.next;
- } else state = record;
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
- state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
- state.nextHandler = nextHandler;
- state.counter = 0;
- state.done = false;
- setInternalState(this, state);
- };
-
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
-
- return IteratorProxy;
-};
-
-
-/***/ },
-
-/***/ 684
-(module) {
-
-
-// Should throw an error on invalid iterator
-// https://issues.chromium.org/issues/336839115
-module.exports = function (methodName, argument) {
- // eslint-disable-next-line es/no-iterator -- required for testing
- var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
- if (method) try {
- method.call({ next: null }, argument).next();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 4549
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// https://github.com/tc39/ecma262/pull/3467
-module.exports = function (METHOD_NAME, ExpectedError) {
- var Iterator = globalThis.Iterator;
- var IteratorPrototype = Iterator && Iterator.prototype;
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
-
- var CLOSED = false;
-
- if (method) try {
- method.call({
- next: function () { return { done: true }; },
- 'return': function () { CLOSED = true; }
- }, -1);
- } catch (error) {
- // https://bugs.webkit.org/show_bug.cgi?id=291195
- if (!(error instanceof ExpectedError)) CLOSED = false;
- }
-
- if (!CLOSED) return method;
-};
-
-
-/***/ },
-
-/***/ 7657
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var create = __webpack_require__(2360);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltIn = __webpack_require__(6840);
-var wellKnownSymbol = __webpack_require__(608);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var BUGGY_SAFARI_ITERATORS = false;
-
-// `%IteratorPrototype%` object
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
-var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
-
-/* eslint-disable es/no-array-prototype-keys -- safe */
-if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
-}
-
-var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
- var test = {};
- // FF44- legacy iterators case
- return IteratorPrototype[ITERATOR].call(test) !== test;
-});
-
-if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
-else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
-
-// `%IteratorPrototype%[@@iterator]()` method
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-if (!isCallable(IteratorPrototype[ITERATOR])) {
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
- return this;
- });
-}
-
-module.exports = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
-};
-
-
-/***/ },
-
-/***/ 6269
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 6198
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toLength = __webpack_require__(8014);
-
-// `LengthOfArrayLike` abstract operation
-// https://tc39.es/ecma262/#sec-lengthofarraylike
-module.exports = function (obj) {
- return toLength(obj.length);
-};
-
-
-/***/ },
-
-/***/ 283
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var hasOwn = __webpack_require__(9297);
-var DESCRIPTORS = __webpack_require__(3724);
-var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
-var inspectSource = __webpack_require__(3706);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var $String = String;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var stringSlice = uncurryThis(''.slice);
-var replace = uncurryThis(''.replace);
-var join = uncurryThis([].join);
-
-var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
-});
-
-var TEMPLATE = String(String).split('String');
-
-var makeBuiltIn = module.exports = function (value, name, options) {
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
- }
- if (options && options.getter) name = 'get ' + name;
- if (options && options.setter) name = 'set ' + name;
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
- else value.name = name;
- }
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
- defineProperty(value, 'length', { value: options.arity });
- }
- try {
- if (options && hasOwn(options, 'constructor') && options.constructor) {
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
- } else if (value.prototype) value.prototype = undefined;
- } catch (error) { /* empty */ }
- var state = enforceInternalState(value);
- if (!hasOwn(state, 'source')) {
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
- } return value;
-};
-
-// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
-// eslint-disable-next-line no-extend-native -- required
-Function.prototype.toString = makeBuiltIn(function toString() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
-}, 'toString');
-
-
-/***/ },
-
-/***/ 2248
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-map -- safe
-var MapPrototype = Map.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-map -- safe
- Map: Map,
- set: uncurryThis(MapPrototype.set),
- get: uncurryThis(MapPrototype.get),
- has: uncurryThis(MapPrototype.has),
- remove: uncurryThis(MapPrototype['delete']),
- proto: MapPrototype
-};
-
-
-/***/ },
-
-/***/ 741
-(module) {
-
-
-var ceil = Math.ceil;
-var floor = Math.floor;
-
-// `Math.trunc` method
-// https://tc39.es/ecma262/#sec-math.trunc
-// eslint-disable-next-line es/no-math-trunc -- safe
-module.exports = Math.trunc || function trunc(x) {
- var n = +x;
- return (n > 0 ? floor : ceil)(n);
-};
-
-
-/***/ },
-
-/***/ 7819
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-json -- safe */
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- var unsafeInt = '9007199254740993';
- // eslint-disable-next-line es/no-json-rawjson -- feature detection
- var raw = JSON.rawJSON(unsafeInt);
- // eslint-disable-next-line es/no-json-israwjson -- feature detection
- return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
-});
-
-
-/***/ },
-
-/***/ 6043
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-
-var $TypeError = TypeError;
-
-var PromiseCapability = function (C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aCallable(resolve);
- this.reject = aCallable(reject);
-};
-
-// `NewPromiseCapability` abstract operation
-// https://tc39.es/ecma262/#sec-newpromisecapability
-module.exports.f = function (C) {
- return new PromiseCapability(C);
-};
-
-
-/***/ },
-
-/***/ 2603
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toString = __webpack_require__(655);
-
-module.exports = function (argument, $default) {
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
-};
-
-
-/***/ },
-
-/***/ 4149
-(module) {
-
-
-var $RangeError = RangeError;
-
-module.exports = function (it) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (it === it) return it;
- throw new $RangeError('NaN is not allowed');
-};
-
-
-/***/ },
-
-/***/ 2360
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global ActiveXObject -- old IE, WSH */
-var anObject = __webpack_require__(8551);
-var definePropertiesModule = __webpack_require__(6801);
-var enumBugKeys = __webpack_require__(8727);
-var hiddenKeys = __webpack_require__(421);
-var html = __webpack_require__(397);
-var documentCreateElement = __webpack_require__(4055);
-var sharedKey = __webpack_require__(6119);
-
-var PROTOTYPE = 'prototype';
-var IE_PROTO = sharedKey('IE_PROTO');
-
-var EmptyConstructor = function () { /* empty */ };
-
-var scriptTag = function (content) {
- return '<script>' + content + '</script>';
-};
-
-// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
-var NullProtoObjectViaActiveX = function (activeXDocument) {
- activeXDocument.write(scriptTag(''));
- activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- // eslint-disable-next-line no-useless-assignment -- avoid memory leak
- activeXDocument = null;
- return temp;
-};
-
-// Create object with fake `null` prototype: use iframe Object with cleared prototype
-var NullProtoObjectViaIFrame = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = documentCreateElement('iframe');
- var JS = 'javascript:';
- var iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- // https://github.com/zloirock/core-js/issues/475
- iframe.src = String(JS);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(scriptTag('document.F=Object'));
- iframeDocument.close();
- return iframeDocument.F;
-};
-
-// Check for document.domain and active x support
-// No need to use active x approach when document.domain is not set
-// see https://github.com/es-shims/es5-shim/issues/150
-// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
-// avoid IE GC bug
-var activeXDocument;
-var NullProtoObject = function () {
- try {
- activeXDocument = new ActiveXObject('htmlfile');
- } catch (error) { /* ignore */ }
- NullProtoObject = typeof document != 'undefined'
- ? document.domain && activeXDocument
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
- : NullProtoObjectViaIFrame()
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
- var length = enumBugKeys.length;
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
- return NullProtoObject();
-};
-
-hiddenKeys[IE_PROTO] = true;
-
-// `Object.create` method
-// https://tc39.es/ecma262/#sec-object.create
-// eslint-disable-next-line es/no-object-create -- safe
-module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject(O);
- result = new EmptyConstructor();
- EmptyConstructor[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = NullProtoObject();
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
-};
-
-
-/***/ },
-
-/***/ 6801
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var definePropertyModule = __webpack_require__(4913);
-var anObject = __webpack_require__(8551);
-var toIndexedObject = __webpack_require__(5397);
-var objectKeys = __webpack_require__(1072);
-
-// `Object.defineProperties` method
-// https://tc39.es/ecma262/#sec-object.defineproperties
-// eslint-disable-next-line es/no-object-defineproperties -- safe
-exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var props = toIndexedObject(Properties);
- var keys = objectKeys(Properties);
- var length = keys.length;
- var index = 0;
- var key;
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
- return O;
-};
-
-
-/***/ },
-
-/***/ 4913
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var anObject = __webpack_require__(8551);
-var toPropertyKey = __webpack_require__(6969);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var $defineProperty = Object.defineProperty;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var ENUMERABLE = 'enumerable';
-var CONFIGURABLE = 'configurable';
-var WRITABLE = 'writable';
-
-// `Object.defineProperty` method
-// https://tc39.es/ecma262/#sec-object.defineproperty
-exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
- var current = $getOwnPropertyDescriptor(O, P);
- if (current && current[WRITABLE]) {
- O[P] = Attributes.value;
- Attributes = {
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
- writable: false
- };
- }
- } return $defineProperty(O, P, Attributes);
-} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-
-/***/ },
-
-/***/ 7347
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var call = __webpack_require__(9565);
-var propertyIsEnumerableModule = __webpack_require__(8773);
-var createPropertyDescriptor = __webpack_require__(6980);
-var toIndexedObject = __webpack_require__(5397);
-var toPropertyKey = __webpack_require__(6969);
-var hasOwn = __webpack_require__(9297);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// `Object.getOwnPropertyDescriptor` method
-// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPropertyKey(P);
- if (IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) { /* empty */ }
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
-};
-
-
-/***/ },
-
-/***/ 8480
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-var hiddenKeys = enumBugKeys.concat('length', 'prototype');
-
-// `Object.getOwnPropertyNames` method
-// https://tc39.es/ecma262/#sec-object.getownpropertynames
-// eslint-disable-next-line es/no-object-getownpropertynames -- safe
-exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return internalObjectKeys(O, hiddenKeys);
-};
-
-
-/***/ },
-
-/***/ 3717
-(__unused_webpack_module, exports) {
-
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
-exports.f = Object.getOwnPropertySymbols;
-
-
-/***/ },
-
-/***/ 2787
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var isCallable = __webpack_require__(4901);
-var toObject = __webpack_require__(8981);
-var sharedKey = __webpack_require__(6119);
-var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);
-
-var IE_PROTO = sharedKey('IE_PROTO');
-var $Object = Object;
-var ObjectPrototype = $Object.prototype;
-
-// `Object.getPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.getprototypeof
-// eslint-disable-next-line es/no-object-getprototypeof -- safe
-module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- if (isCallable(constructor) && object instanceof constructor) {
- return constructor.prototype;
- } return object instanceof $Object ? ObjectPrototype : null;
-};
-
-
-/***/ },
-
-/***/ 1625
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis({}.isPrototypeOf);
-
-
-/***/ },
-
-/***/ 1828
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-var toIndexedObject = __webpack_require__(5397);
-var indexOf = (__webpack_require__(9617).indexOf);
-var hiddenKeys = __webpack_require__(421);
-
-var push = uncurryThis([].push);
-
-module.exports = function (object, names) {
- var O = toIndexedObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
- ~indexOf(result, key) || push(result, key);
- }
- return result;
-};
-
-
-/***/ },
-
-/***/ 1072
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-// `Object.keys` method
-// https://tc39.es/ecma262/#sec-object.keys
-// eslint-disable-next-line es/no-object-keys -- safe
-module.exports = Object.keys || function keys(O) {
- return internalObjectKeys(O, enumBugKeys);
-};
-
-
-/***/ },
-
-/***/ 8773
-(__unused_webpack_module, exports) {
-
-
-var $propertyIsEnumerable = {}.propertyIsEnumerable;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Nashorn ~ JDK8 bug
-var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
-
-// `Object.prototype.propertyIsEnumerable` method implementation
-// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
-} : $propertyIsEnumerable;
-
-
-/***/ },
-
-/***/ 2967
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable no-proto -- safe */
-var uncurryThisAccessor = __webpack_require__(6706);
-var isObject = __webpack_require__(34);
-var requireObjectCoercible = __webpack_require__(7750);
-var aPossiblePrototype = __webpack_require__(3506);
-
-// `Object.setPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.setprototypeof
-// Works with __proto__ only. Old v8 can't work with null proto objects.
-// eslint-disable-next-line es/no-object-setprototypeof -- safe
-module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
- setter(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- requireObjectCoercible(O);
- aPossiblePrototype(proto);
- if (!isObject(O)) return O;
- if (CORRECT_SETTER) setter(O, proto);
- else O.__proto__ = proto;
- return O;
- };
-}() : undefined);
-
-
-/***/ },
-
-/***/ 4270
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-
-var $TypeError = TypeError;
-
-// `OrdinaryToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-module.exports = function (input, pref) {
- var fn, val;
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw new $TypeError("Can't convert object to primitive value");
-};
-
-
-/***/ },
-
-/***/ 5031
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var getOwnPropertyNamesModule = __webpack_require__(8480);
-var getOwnPropertySymbolsModule = __webpack_require__(3717);
-var anObject = __webpack_require__(8551);
-
-var concat = uncurryThis([].concat);
-
-// all object keys, includes non-enumerable and symbols
-module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
-};
-
-
-/***/ },
-
-/***/ 8235
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-
-var $SyntaxError = SyntaxError;
-var $parseInt = parseInt;
-var fromCharCode = String.fromCharCode;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-
-var codePoints = {
- '\\"': '"',
- '\\\\': '\\',
- '\\/': '/',
- '\\b': '\b',
- '\\f': '\f',
- '\\n': '\n',
- '\\r': '\r',
- '\\t': '\t'
-};
-
-var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
-// eslint-disable-next-line regexp/no-control-character -- safe
-var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
-
-module.exports = function (source, i) {
- var unterminated = true;
- var value = '';
- while (i < source.length) {
- var chr = at(source, i);
- if (chr === '\\') {
- var twoChars = slice(source, i, i + 2);
- if (hasOwn(codePoints, twoChars)) {
- value += codePoints[twoChars];
- i += 2;
- } else if (twoChars === '\\u') {
- i += 2;
- var fourHexDigits = slice(source, i, i + 4);
- if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
- value += fromCharCode($parseInt(fourHexDigits, 16));
- i += 4;
- } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
- } else if (chr === '"') {
- unterminated = false;
- i++;
- break;
- } else {
- if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
- value += chr;
- i++;
- }
- }
- if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
- return { value: value, end: i };
-};
-
-
-/***/ },
-
-/***/ 1103
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return { error: false, value: exec() };
- } catch (error) {
- return { error: true, value: error };
- }
-};
-
-
-/***/ },
-
-/***/ 7750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isNullOrUndefined = __webpack_require__(4117);
-
-var $TypeError = TypeError;
-
-// `RequireObjectCoercible` abstract operation
-// https://tc39.es/ecma262/#sec-requireobjectcoercible
-module.exports = function (it) {
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 9286
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var SetHelpers = __webpack_require__(4402);
-var iterate = __webpack_require__(8469);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-
-module.exports = function (set) {
- var result = new Set();
- iterate(set, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 3440
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-module.exports = function difference(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = clone(O);
- if (size(result) <= otherRec.size) iterateSet(result, function (e) {
- if (otherRec.includes(e)) remove(result, e);
- });
- else iterateSimple(otherRec.getIterator(), function (e) {
- if (has(result, e)) remove(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4402
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-set -- safe
-var SetPrototype = Set.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-set -- safe
- Set: Set,
- add: uncurryThis(SetPrototype.add),
- has: uncurryThis(SetPrototype.has),
- remove: uncurryThis(SetPrototype['delete']),
- proto: SetPrototype
-};
-
-
-/***/ },
-
-/***/ 8750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-module.exports = function intersection(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = new Set();
-
- if (size(O) > otherRec.size) {
- iterateSimple(otherRec.getIterator(), function (e) {
- if (has(O, e)) add(result, e);
- });
- } else {
- iterateSet(O, function (e) {
- if (otherRec.includes(e)) add(result, e);
- });
- }
-
- return result;
-};
-
-
-/***/ },
-
-/***/ 4449
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-module.exports = function isDisjointFrom(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
- if (otherRec.includes(e)) return false;
- }, true) !== false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 3838
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var size = __webpack_require__(5170);
-var iterate = __webpack_require__(8469);
-var getSetRecord = __webpack_require__(3789);
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-module.exports = function isSubsetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) > otherRec.size) return false;
- return iterate(O, function (e) {
- if (!otherRec.includes(e)) return false;
- }, true) !== false;
-};
-
-
-/***/ },
-
-/***/ 8527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-module.exports = function isSupersetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) < otherRec.size) return false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (!has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 8469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var iterateSimple = __webpack_require__(507);
-var SetHelpers = __webpack_require__(4402);
-
-var Set = SetHelpers.Set;
-var SetPrototype = SetHelpers.proto;
-var forEach = uncurryThis(SetPrototype.forEach);
-var keys = uncurryThis(SetPrototype.keys);
-var next = keys(new Set()).next;
-
-module.exports = function (set, fn, interruptible) {
- return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
-};
-
-
-/***/ },
-
-/***/ 4916
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-var createSetLike = function (size) {
- return {
- size: size,
- has: function () {
- return false;
- },
- keys: function () {
- return {
- next: function () {
- return { done: true };
- }
- };
- }
- };
-};
-
-var createSetLikeWithInfinitySize = function (size) {
- return {
- size: size,
- has: function () {
- return true;
- },
- keys: function () {
- throw new Error('e');
- }
- };
-};
-
-module.exports = function (name, callback) {
- var Set = getBuiltIn('Set');
- try {
- new Set()[name](createSetLike(0));
- try {
- // late spec change, early WebKit ~ Safari 17 implementation does not pass it
- // https://github.com/tc39/proposal-set-methods/pull/88
- // also covered engines with
- // https://bugs.webkit.org/show_bug.cgi?id=272679
- new Set()[name](createSetLike(-1));
- return false;
- } catch (error2) {
- if (!callback) return true;
- // early V8 implementation bug
- // https://issues.chromium.org/issues/351332634
- try {
- new Set()[name](createSetLikeWithInfinitySize(-Infinity));
- return false;
- } catch (error) {
- var set = new Set([1, 2]);
- return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
- }
- }
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 9835
-(module) {
-
-
-// Should get iterator record of a set-like object before cloning this
-// https://bugs.webkit.org/show_bug.cgi?id=289430
-module.exports = function (METHOD_NAME) {
- try {
- // eslint-disable-next-line es/no-set -- needed for test
- var baseSet = new Set();
- var setLike = {
- size: 0,
- has: function () { return true; },
- keys: function () {
- // eslint-disable-next-line es/no-object-defineproperty -- needed for test
- return Object.defineProperty({}, 'next', {
- get: function () {
- baseSet.clear();
- baseSet.add(4);
- return function () {
- return { done: true };
- };
- }
- });
- }
- };
- var result = baseSet[METHOD_NAME](setLike);
-
- return result.size === 1 && result.values().next().value === 4;
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 5170
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThisAccessor = __webpack_require__(6706);
-var SetHelpers = __webpack_require__(4402);
-
-module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
- return set.size;
-};
-
-
-/***/ },
-
-/***/ 3650
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-module.exports = function symmetricDifference(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (e) {
- if (has(O, e)) remove(result, e);
- else add(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4204
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var add = (__webpack_require__(4402).add);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-module.exports = function union(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 6119
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var shared = __webpack_require__(5745);
-var uid = __webpack_require__(3392);
-
-var keys = shared('keys');
-
-module.exports = function (key) {
- return keys[key] || (keys[key] = uid(key));
-};
-
-
-/***/ },
-
-/***/ 7629
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var IS_PURE = __webpack_require__(6395);
-var globalThis = __webpack_require__(4576);
-var defineGlobalProperty = __webpack_require__(9433);
-
-var SHARED = '__core-js_shared__';
-var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
-
-(store.versions || (store.versions = [])).push({
- version: '3.49.0',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
- source: 'https://github.com/zloirock/core-js'
-});
-
-
-/***/ },
-
-/***/ 5745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var store = __webpack_require__(7629);
-
-module.exports = function (key, value) {
- return store[key] || (store[key] = value || {});
-};
-
-
-/***/ },
-
-/***/ 1548
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var fails = __webpack_require__(9039);
-var V8 = __webpack_require__(9519);
-var ENVIRONMENT = __webpack_require__(4215);
-
-var structuredClone = globalThis.structuredClone;
-
-module.exports = !!structuredClone && !fails(function () {
- // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
- // https://github.com/zloirock/core-js/issues/679
- if ((ENVIRONMENT === 'DENO' && V8 > 92) || (ENVIRONMENT === 'NODE' && V8 > 94) || (ENVIRONMENT === 'BROWSER' && V8 > 97)) return false;
- var buffer = new ArrayBuffer(8);
- var clone = structuredClone(buffer, { transfer: [buffer] });
- return buffer.byteLength !== 0 || clone.byteLength !== 8;
-});
-
-
-/***/ },
-
-/***/ 4495
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var V8_VERSION = __webpack_require__(9519);
-var fails = __webpack_require__(9039);
-var globalThis = __webpack_require__(4576);
-
-var $String = globalThis.String;
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- var symbol = Symbol('symbol detection');
- // Chrome 38 Symbol has incorrect toString conversion
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
- // of course, fail.
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
-});
-
-
-/***/ },
-
-/***/ 5610
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var max = Math.max;
-var min = Math.min;
-
-// Helper for a popular repeating case of the spec:
-// Let integer be ? ToInteger(index).
-// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-module.exports = function (index, length) {
- var integer = toIntegerOrInfinity(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
-};
-
-
-/***/ },
-
-/***/ 5854
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-
-var $TypeError = TypeError;
-
-// `ToBigInt` abstract operation
-// https://tc39.es/ecma262/#sec-tobigint
-module.exports = function (argument) {
- var prim = toPrimitive(argument, 'number');
- if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
- // eslint-disable-next-line es/no-bigint -- safe
- return BigInt(prim);
-};
-
-
-/***/ },
-
-/***/ 7696
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toLength = __webpack_require__(8014);
-
-var $RangeError = RangeError;
-
-// `ToIndex` abstract operation
-// https://tc39.es/ecma262/#sec-toindex
-module.exports = function (it) {
- if (it === undefined) return 0;
- var number = toIntegerOrInfinity(it);
- var length = toLength(number);
- if (number !== length) throw new $RangeError('Wrong length or index');
- return length;
-};
-
-
-/***/ },
-
-/***/ 5397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-// toObject with fallback for non-array-like ES3 strings
-var IndexedObject = __webpack_require__(7055);
-var requireObjectCoercible = __webpack_require__(7750);
-
-module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
-};
-
-
-/***/ },
-
-/***/ 1291
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var trunc = __webpack_require__(741);
-
-// `ToIntegerOrInfinity` abstract operation
-// https://tc39.es/ecma262/#sec-tointegerorinfinity
-module.exports = function (argument) {
- var number = +argument;
- // eslint-disable-next-line no-self-compare -- NaN check
- return number !== number || number === 0 ? 0 : trunc(number);
-};
-
-
-/***/ },
-
-/***/ 8014
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var min = Math.min;
-
-// `ToLength` abstract operation
-// https://tc39.es/ecma262/#sec-tolength
-module.exports = function (argument) {
- var len = toIntegerOrInfinity(argument);
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
-};
-
-
-/***/ },
-
-/***/ 8981
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var requireObjectCoercible = __webpack_require__(7750);
-
-var $Object = Object;
-
-// `ToObject` abstract operation
-// https://tc39.es/ecma262/#sec-toobject
-module.exports = function (argument) {
- return $Object(requireObjectCoercible(argument));
-};
-
-
-/***/ },
-
-/***/ 9590
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var $RangeError = RangeError;
-
-module.exports = function (it) {
- var result = toIntegerOrInfinity(it);
- if (result < 0) throw new $RangeError("The argument can't be less than 0");
- return result;
-};
-
-
-/***/ },
-
-/***/ 2777
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isObject = __webpack_require__(34);
-var isSymbol = __webpack_require__(757);
-var getMethod = __webpack_require__(5966);
-var ordinaryToPrimitive = __webpack_require__(4270);
-var wellKnownSymbol = __webpack_require__(608);
-
-var $TypeError = TypeError;
-var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
-
-// `ToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-toprimitive
-module.exports = function (input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
- var result;
- if (exoticToPrim) {
- if (pref === undefined) pref = 'default';
- result = call(exoticToPrim, input, pref);
- if (!isObject(result) || isSymbol(result)) return result;
- throw new $TypeError("Can't convert object to primitive value");
- }
- if (pref === undefined) pref = 'number';
- return ordinaryToPrimitive(input, pref);
-};
-
-
-/***/ },
-
-/***/ 6969
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-var isSymbol = __webpack_require__(757);
-
-// `ToPropertyKey` abstract operation
-// https://tc39.es/ecma262/#sec-topropertykey
-module.exports = function (argument) {
- var key = toPrimitive(argument, 'string');
- return isSymbol(key) ? key : key + '';
-};
-
-
-/***/ },
-
-/***/ 2140
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var test = {};
-// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
-test[TO_STRING_TAG] = 'z';
-
-module.exports = String(test) === '[object z]';
-
-
-/***/ },
-
-/***/ 655
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $String = String;
-
-module.exports = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
-};
-
-
-/***/ },
-
-/***/ 6823
-(module) {
-
-
-var $String = String;
-
-module.exports = function (argument) {
- try {
- return $String(argument);
- } catch (error) {
- return 'Object';
- }
-};
-
-
-/***/ },
-
-/***/ 3392
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var id = 0;
-var postfix = Math.random();
-var toString = uncurryThis(1.1.toString);
-
-module.exports = function (key) {
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
-};
-
-
-/***/ },
-
-/***/ 9143
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var aString = __webpack_require__(3463);
-var hasOwn = __webpack_require__(9297);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-var notDetached = __webpack_require__(5169);
-
-var base64Alphabet = base64Map.c2i;
-var base64UrlAlphabet = base64Map.c2iUrl;
-
-var SyntaxError = globalThis.SyntaxError;
-var TypeError = globalThis.TypeError;
-var at = uncurryThis(''.charAt);
-
-var skipAsciiWhitespace = function (string, index) {
- var length = string.length;
- for (;index < length; index++) {
- var chr = at(string, index);
- if (chr !== ' ' && chr !== '\t' && chr !== '\n' && chr !== '\f' && chr !== '\r') break;
- } return index;
-};
-
-var decodeBase64Chunk = function (chunk, alphabet, throwOnExtraBits) {
- var chunkLength = chunk.length;
-
- if (chunkLength < 4) {
- chunk += chunkLength === 2 ? 'AA' : 'A';
- }
-
- var triplet = (alphabet[at(chunk, 0)] << 18)
- + (alphabet[at(chunk, 1)] << 12)
- + (alphabet[at(chunk, 2)] << 6)
- + alphabet[at(chunk, 3)];
-
- var chunkBytes = [
- (triplet >> 16) & 255,
- (triplet >> 8) & 255,
- triplet & 255
- ];
-
- if (chunkLength === 2) {
- if (throwOnExtraBits && chunkBytes[1] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0]];
- }
-
- if (chunkLength === 3) {
- if (throwOnExtraBits && chunkBytes[2] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0], chunkBytes[1]];
- }
-
- return chunkBytes;
-};
-
-var writeBytes = function (bytes, elements, written) {
- var elementsLength = elements.length;
- for (var index = 0; index < elementsLength; index++) {
- bytes[written + index] = elements[index];
- }
- return written + elementsLength;
-};
-
-/* eslint-disable max-statements, max-depth -- TODO */
-module.exports = function (string, options, into, maxLength) {
- aString(string);
- anObjectOrUndefined(options);
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var lastChunkHandling = options ? options.lastChunkHandling : undefined;
-
- if (lastChunkHandling === undefined) lastChunkHandling = 'loose';
-
- if (lastChunkHandling !== 'loose' && lastChunkHandling !== 'strict' && lastChunkHandling !== 'stop-before-partial') {
- throw new TypeError('Incorrect `lastChunkHandling` option');
- }
-
- if (into) notDetached(into.buffer);
-
- var stringLength = string.length;
- var bytes = into || [];
- var written = 0;
- var read = 0;
- var chunk = '';
- var index = 0;
-
- if (maxLength) while (true) {
- index = skipAsciiWhitespace(string, index);
- if (index === stringLength) {
- if (chunk.length > 0) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- if (lastChunkHandling === 'loose') {
- if (chunk.length === 1) {
- throw new SyntaxError('Malformed padding: exactly one additional character');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- } else {
- throw new SyntaxError('Missing padding');
- }
- }
- read = stringLength;
- break;
- }
- var chr = at(string, index);
- ++index;
- if (chr === '=') {
- if (chunk.length < 2) {
- throw new SyntaxError('Padding is too early');
- }
- index = skipAsciiWhitespace(string, index);
- if (chunk.length === 2) {
- if (index === stringLength) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- throw new SyntaxError('Malformed padding: only one =');
- }
- if (at(string, index) === '=') {
- ++index;
- index = skipAsciiWhitespace(string, index);
- }
- }
- if (index < stringLength) {
- throw new SyntaxError('Unexpected character after padding');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === 'strict'), written);
- read = stringLength;
- break;
- }
- if (!hasOwn(alphabet, chr)) {
- throw new SyntaxError('Unexpected character');
- }
- var remainingBytes = maxLength - written;
- if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) {
- // special case: we can fit exactly the number of bytes currently represented by chunk, so we were just checking for `=`
- break;
- }
-
- chunk += chr;
- if (chunk.length === 4) {
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- chunk = '';
- read = index;
- if (written === maxLength) {
- break;
- }
- }
- }
-
- return { bytes: bytes, read: read, written: written };
-};
-
-
-/***/ },
-
-/***/ 2303
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-
-var Uint8Array = globalThis.Uint8Array;
-var SyntaxError = globalThis.SyntaxError;
-var min = Math.min;
-var stringMatch = uncurryThis(''.match);
-
-module.exports = function (string, into) {
- var stringLength = string.length;
- if (stringLength % 2 !== 0) throw new SyntaxError('String should be an even number of characters');
- var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
- var bytes = into || new Uint8Array(maxLength);
- var segments = stringMatch(string, /.{2}/g);
- var written = 0;
- for (; written < maxLength; written++) {
- var result = +('0x' + segments[written] + '0');
- // eslint-disable-next-line no-self-compare -- NaN check
- if (result !== result) {
- throw new SyntaxError('String should only contain hex characters');
- }
- bytes[written] = result >> 4;
- }
- return { bytes: bytes, read: written << 1 };
-};
-
-
-/***/ },
-
-/***/ 7416
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var wellKnownSymbol = __webpack_require__(608);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = !fails(function () {
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
- var url = new URL('b?a=1&b=2&c=3', 'https://a');
- var params = url.searchParams;
- var params2 = new URLSearchParams('a=1&a=2&b=3');
- var result = '';
- url.pathname = 'c%20d';
- params.forEach(function (value, key) {
- params['delete']('b');
- result += key + value;
- });
- params2['delete']('a', 2);
- // `undefined` case is a Chromium 117 bug
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
- params2['delete']('b', undefined);
- return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
- || (!params.size && (IS_PURE || !DESCRIPTORS))
- || !params.sort
- || url.href !== 'https://a/c%20d?a=1&c=3'
- || params.get('c') !== '3'
- || String(new URLSearchParams('?a=1')) !== 'a=1'
- || !params[ITERATOR]
- // throws in Edge
- || new URL('https://a@b').username !== 'a'
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
- // not punycoded in Edge
- || new URL('https://тест').host !== 'xn--e1aybc'
- // not escaped in Chrome 62-
- || new URL('https://a#б').hash !== '#%D0%B1'
- // fails in Chrome 66-
- || result !== 'a1c3'
- // throws in Safari
- || new URL('https://x', undefined).host !== 'x';
-});
-
-
-/***/ },
-
-/***/ 7040
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-module.exports = NATIVE_SYMBOL &&
- !Symbol.sham &&
- typeof Symbol.iterator == 'symbol';
-
-
-/***/ },
-
-/***/ 8686
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-
-// V8 ~ Chrome 36-
-// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-module.exports = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
- value: 42,
- writable: false
- }).prototype !== 42;
-});
-
-
-/***/ },
-
-/***/ 2812
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (passed, required) {
- if (passed < required) throw new $TypeError('Not enough arguments');
- return passed;
-};
-
-
-/***/ },
-
-/***/ 8622
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var WeakMap = globalThis.WeakMap;
-
-module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
-
-
-/***/ },
-
-/***/ 4995
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-weak-map -- safe
-var WeakMapPrototype = WeakMap.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-weak-map -- safe
- WeakMap: WeakMap,
- set: uncurryThis(WeakMapPrototype.set),
- get: uncurryThis(WeakMapPrototype.get),
- has: uncurryThis(WeakMapPrototype.has),
- remove: uncurryThis(WeakMapPrototype['delete'])
-};
-
-
-/***/ },
-
-/***/ 608
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var shared = __webpack_require__(5745);
-var hasOwn = __webpack_require__(9297);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var Symbol = globalThis.Symbol;
-var WellKnownSymbolsStore = shared('wks');
-var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
-
-module.exports = function (name) {
- if (!hasOwn(WellKnownSymbolsStore, name)) {
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
- ? Symbol[name]
- : createWellKnownSymbol('Symbol.' + name);
- } return WellKnownSymbolsStore[name];
-};
-
-
-/***/ },
-
-/***/ 6573
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isDetached = __webpack_require__(3238);
-
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-
-// `ArrayBuffer.prototype.detached` getter
-// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
-if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
- defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
- configurable: true,
- get: function detached() {
- return isDetached(this);
- }
- });
-}
-
-
-/***/ },
-
-/***/ 7936
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transferToFixedLength` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transferToFixedLength: function transferToFixedLength() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, false);
- }
-});
-
-
-/***/ },
-
-/***/ 8100
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transfer` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transfer: function transfer() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, true);
- }
-});
-
-
-/***/ },
-
-/***/ 4423
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $includes = (__webpack_require__(9617).includes);
-var fails = __webpack_require__(9039);
-var addToUnscopables = __webpack_require__(6469);
-
-// FF99+ bug
-var BROKEN_ON_SPARSE = fails(function () {
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
- return !Array(1).includes();
-});
-
-// Safari 26.4- bug
-var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
- return [, 1].includes(undefined, 1);
-});
-
-// `Array.prototype.includes` method
-// https://tc39.es/ecma262/#sec-array.prototype.includes
-$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
-});
-
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-addToUnscopables('includes');
-
-
-/***/ },
-
-/***/ 4114
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var toObject = __webpack_require__(8981);
-var lengthOfArrayLike = __webpack_require__(6198);
-var setArrayLength = __webpack_require__(4527);
-var doesNotExceedSafeInteger = __webpack_require__(6837);
-var fails = __webpack_require__(9039);
-
-var INCORRECT_TO_LENGTH = fails(function () {
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
-});
-
-// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
-// https://bugs.chromium.org/p/v8/issues/detail?id=12681
-var properErrorOnNonWritableLength = function () {
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).push();
- } catch (error) {
- return error instanceof TypeError;
- }
-};
-
-var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
-
-// `Array.prototype.push` method
-// https://tc39.es/ecma262/#sec-array.prototype.push
-$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- push: function push(item) {
- var O = toObject(this);
- var len = lengthOfArrayLike(O);
- var argCount = arguments.length;
- doesNotExceedSafeInteger(len + argCount);
- for (var i = 0; i < argCount; i++) {
- O[len] = arguments[i];
- len++;
- }
- setArrayLength(O, len);
- return len;
- }
-});
-
-
-/***/ },
-
-/***/ 8111
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var anInstance = __webpack_require__(679);
-var anObject = __webpack_require__(8551);
-var isCallable = __webpack_require__(4901);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var hasOwn = __webpack_require__(9297);
-var wellKnownSymbol = __webpack_require__(608);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var CONSTRUCTOR = 'constructor';
-var ITERATOR = 'Iterator';
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-
-var $TypeError = TypeError;
-var NativeIterator = globalThis[ITERATOR];
-
-// FF56- have non-standard global helper `Iterator`
-var FORCED = IS_PURE
- || !isCallable(NativeIterator)
- || NativeIterator.prototype !== IteratorPrototype
- // FF44- non-standard `Iterator` passes previous tests
- || !fails(function () { NativeIterator({}); });
-
-var IteratorConstructor = function Iterator() {
- anInstance(this, IteratorPrototype);
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
-};
-
-var defineIteratorPrototypeAccessor = function (key, value) {
- if (DESCRIPTORS) {
- defineBuiltInAccessor(IteratorPrototype, key, {
- configurable: true,
- get: function () {
- return value;
- },
- set: function (replacement) {
- anObject(this);
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
- if (hasOwn(this, key)) this[key] = replacement;
- else createProperty(this, key, replacement);
- }
- });
- } else IteratorPrototype[key] = value;
-};
-
-if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
-
-if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
-}
-
-IteratorConstructor.prototype = IteratorPrototype;
-
-// `Iterator` constructor
-// https://tc39.es/ecma262/#sec-iterator
-$({ global: true, constructor: true, forced: FORCED }, {
- Iterator: IteratorConstructor
-});
-
-
-/***/ },
-
-/***/ 9314
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var notANaN = __webpack_require__(4149);
-var toPositiveInteger = __webpack_require__(9590);
-var iteratorClose = __webpack_require__(9539);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('drop', 0);
-var dropWithoutClosingOnEarlyError = !IS_PURE && !DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('drop', RangeError);
-
-var FORCED = IS_PURE || DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR || dropWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var next = this.next;
- var result, done;
- while (this.remaining) {
- this.remaining--;
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- }
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (!done) return result.value;
-});
-
-// `Iterator.prototype.drop` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.drop
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- drop: function drop(limit) {
- anObject(this);
- var remaining;
- try {
- remaining = toPositiveInteger(notANaN(+limit));
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (dropWithoutClosingOnEarlyError) return call(dropWithoutClosingOnEarlyError, this, remaining);
-
- return new IteratorProxy(getIteratorDirect(this), {
- remaining: remaining
- });
- }
-});
-
-
-/***/ },
-
-/***/ 1148
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('every', TypeError);
-
-// `Iterator.prototype.every` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.every
-$({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
- every: function every(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (everyWithoutClosingOnEarlyError) return call(everyWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return !iterate(record, function (value, stop) {
- if (!predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 2489
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var IS_PURE = __webpack_require__(6395);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
-var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
-
-var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var predicate = this.predicate;
- var next = this.next;
- var result, done, value;
- while (true) {
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- value = result.value;
- if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
- }
-});
-
-// `Iterator.prototype.filter` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.filter
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- filter: function filter(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
-
- return new IteratorProxy(getIteratorDirect(this), {
- predicate: predicate
- });
- }
-});
-
-
-/***/ },
-
-/***/ 116
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
-
-// `Iterator.prototype.find` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.find
-$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
- find: function find(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop(value);
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
- }
-});
-
-
-/***/ },
-
-/***/ 531
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorFlattenable = __webpack_require__(8646);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var IS_PURE = __webpack_require__(6395);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-// Should not throw an error for an iterator without `return` method. Fixed in Safari 26.2
-// https://bugs.webkit.org/show_bug.cgi?id=297532
-function throwsOnIteratorWithoutReturn() {
- try {
- // eslint-disable-next-line es/no-map, es/no-iterator, es/no-iterator-prototype-flatmap -- required for testing
- var it = Iterator.prototype.flatMap.call(new Map([[4, 5]]).entries(), function (v) { return v; });
- it.next();
- it['return']();
- } catch (error) {
- return true;
- }
-}
-
-var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE
- && !iteratorHelperThrowsOnInvalidIterator('flatMap', function () { /* empty */ });
-var flatMapWithoutClosingOnEarlyError = !IS_PURE && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('flatMap', TypeError);
-
-var FORCED = IS_PURE || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError
- || throwsOnIteratorWithoutReturn();
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var mapper = this.mapper;
- var result, inner;
-
- while (true) {
- if (inner = this.inner) try {
- result = anObject(call(inner.next, inner.iterator));
- if (!result.done) return result.value;
- this.inner = null;
- } catch (error) { iteratorClose(iterator, 'throw', error); }
-
- result = anObject(call(this.next, iterator));
-
- if (this.done = !!result.done) return;
-
- try {
- this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
- } catch (error) { iteratorClose(iterator, 'throw', error); }
- }
-});
-
-// `Iterator.prototype.flatMap` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- flatMap: function flatMap(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (flatMapWithoutClosingOnEarlyError) return call(flatMapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper,
- inner: null
- });
- }
-});
-
-
-/***/ },
-
-/***/ 7588
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
-
-// `Iterator.prototype.forEach` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
-$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
- forEach: function forEach(fn) {
- anObject(this);
- try {
- aCallable(fn);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- iterate(record, function (value) {
- fn(value, counter++);
- }, { IS_RECORD: true });
- }
-});
-
-
-/***/ },
-
-/***/ 1701
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
-var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
-
-var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
-});
-
-// `Iterator.prototype.map` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.map
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- map: function map(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper
- });
- }
-});
-
-
-/***/ },
-
-/***/ 3579
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
-
-// `Iterator.prototype.some` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.some
-$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
- some: function some(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 4972
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var notANaN = __webpack_require__(4149);
-var toPositiveInteger = __webpack_require__(9590);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('take', 1);
-var takeWithoutClosingOnEarlyError = !IS_PURE && !TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('take', RangeError);
-
-var FORCED = IS_PURE || TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR || takeWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- if (!this.remaining--) {
- this.done = true;
- return iteratorClose(iterator, 'normal', undefined);
- }
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return result.value;
-});
-
-// `Iterator.prototype.take` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.take
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- take: function take(limit) {
- anObject(this);
- var remaining;
- try {
- remaining = toPositiveInteger(notANaN(+limit));
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (takeWithoutClosingOnEarlyError) return call(takeWithoutClosingOnEarlyError, this, remaining);
-
- return new IteratorProxy(getIteratorDirect(this), {
- remaining: remaining
- });
- }
-});
-
-
-/***/ },
-
-/***/ 9112
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var isArray = __webpack_require__(4376);
-var hasOwn = __webpack_require__(9297);
-var toString = __webpack_require__(655);
-var lengthOfArrayLike = __webpack_require__(6198);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var parseJSONString = __webpack_require__(8235);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-var JSON = globalThis.JSON;
-var Number = globalThis.Number;
-var SyntaxError = globalThis.SyntaxError;
-var nativeParse = JSON && JSON.parse;
-var enumerableOwnProperties = getBuiltIn('Object', 'keys');
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-var push = uncurryThis([].push);
-
-var IS_DIGIT = /^\d$/;
-var IS_NON_ZERO_DIGIT = /^[1-9]$/;
-var IS_NUMBER_START = /^[\d-]$/;
-var IS_WHITESPACE = /^[\t\n\r ]$/;
-
-var PRIMITIVE = 0;
-var OBJECT = 1;
-
-var $parse = function (source, reviver) {
- source = toString(source);
- var context = new Context(source, 0, '');
- var root = context.parse();
- var value = root.value;
- var endIndex = context.skip(IS_WHITESPACE, root.end);
- if (endIndex < source.length) {
- throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex);
- }
- return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value;
-};
-
-var internalize = function (holder, name, reviver, node) {
- var val = holder[name];
- var unmodified = node && val === node.value;
- var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {};
- var elementRecordsLen, keys, len, i, P;
- if (isObject(val)) {
- var nodeIsArray = isArray(val);
- var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {};
- if (nodeIsArray) {
- elementRecordsLen = nodes.length;
- len = lengthOfArrayLike(val);
- for (i = 0; i < len; i++) {
- internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined));
- }
- } else {
- keys = enumerableOwnProperties(val);
- len = lengthOfArrayLike(keys);
- for (i = 0; i < len; i++) {
- P = keys[i];
- internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined));
- }
- }
- }
- return call(reviver, holder, name, val, context);
-};
-
-var internalizeProperty = function (object, key, value) {
- if (DESCRIPTORS) {
- var descriptor = getOwnPropertyDescriptor(object, key);
- if (descriptor && !descriptor.configurable) return;
- }
- if (value === undefined) delete object[key];
- else createProperty(object, key, value);
-};
-
-var Node = function (value, end, source, nodes) {
- this.value = value;
- this.end = end;
- this.source = source;
- this.nodes = nodes;
-};
-
-var Context = function (source, index) {
- this.source = source;
- this.index = index;
-};
-
-// https://www.json.org/json-en.html
-Context.prototype = {
- fork: function (nextIndex) {
- return new Context(this.source, nextIndex);
- },
- parse: function () {
- var source = this.source;
- var i = this.skip(IS_WHITESPACE, this.index);
- var fork = this.fork(i);
- var chr = at(source, i);
- if (exec(IS_NUMBER_START, chr)) return fork.number();
- switch (chr) {
- case '{':
- return fork.object();
- case '[':
- return fork.array();
- case '"':
- return fork.string();
- case 't':
- return fork.keyword(true);
- case 'f':
- return fork.keyword(false);
- case 'n':
- return fork.keyword(null);
- } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
- },
- node: function (type, value, start, end, nodes) {
- return new Node(value, end, type ? null : slice(this.source, start, end), nodes);
- },
- object: function () {
- var source = this.source;
- var i = this.index + 1;
- var expectKeypair = false;
- var object = {};
- var nodes = {};
- var closed = false;
- while (i < source.length) {
- i = this.until(['"', '}'], i);
- if (at(source, i) === '}' && !expectKeypair) {
- i++;
- closed = true;
- break;
- }
- // Parsing the key
- var result = this.fork(i).string();
- var key = result.value;
- i = result.end;
- i = this.until([':'], i) + 1;
- // Parsing value
- i = this.skip(IS_WHITESPACE, i);
- result = this.fork(i).parse();
- createProperty(nodes, key, result);
- createProperty(object, key, result.value);
- i = this.until([',', '}'], result.end);
- var chr = at(source, i);
- if (chr === ',') {
- expectKeypair = true;
- i++;
- } else if (chr === '}') {
- i++;
- closed = true;
- break;
- }
- }
- if (!closed) throw new SyntaxError('Unterminated object at: ' + i);
- return this.node(OBJECT, object, this.index, i, nodes);
- },
- array: function () {
- var source = this.source;
- var i = this.index + 1;
- var expectElement = false;
- var array = [];
- var nodes = [];
- var closed = false;
- while (i < source.length) {
- i = this.skip(IS_WHITESPACE, i);
- if (at(source, i) === ']' && !expectElement) {
- i++;
- closed = true;
- break;
- }
- var result = this.fork(i).parse();
- push(nodes, result);
- push(array, result.value);
- i = this.until([',', ']'], result.end);
- if (at(source, i) === ',') {
- expectElement = true;
- i++;
- } else if (at(source, i) === ']') {
- i++;
- closed = true;
- break;
- }
- }
- if (!closed) throw new SyntaxError('Unterminated array at: ' + i);
- return this.node(OBJECT, array, this.index, i, nodes);
- },
- string: function () {
- var index = this.index;
- var parsed = parseJSONString(this.source, this.index + 1);
- return this.node(PRIMITIVE, parsed.value, index, parsed.end);
- },
- number: function () {
- var source = this.source;
- var startIndex = this.index;
- var i = startIndex;
- if (at(source, i) === '-') i++;
- if (at(source, i) === '0') i++;
- else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, i + 1);
- else throw new SyntaxError('Failed to parse number at: ' + i);
- if (at(source, i) === '.') {
- var fractionStartIndex = i + 1;
- i = this.skip(IS_DIGIT, fractionStartIndex);
- if (fractionStartIndex === i) throw new SyntaxError("Failed to parse number's fraction at: " + i);
- }
- if (at(source, i) === 'e' || at(source, i) === 'E') {
- i++;
- if (at(source, i) === '+' || at(source, i) === '-') i++;
- var exponentStartIndex = i;
- i = this.skip(IS_DIGIT, i);
- if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i);
- }
- return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i);
- },
- keyword: function (value) {
- var keyword = '' + value;
- var index = this.index;
- var endIndex = index + keyword.length;
- if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index);
- return this.node(PRIMITIVE, value, index, endIndex);
- },
- skip: function (regex, i) {
- var source = this.source;
- for (; i < source.length; i++) if (!exec(regex, at(source, i))) break;
- return i;
- },
- until: function (array, i) {
- i = this.skip(IS_WHITESPACE, i);
- var chr = at(this.source, i);
- for (var j = 0; j < array.length; j++) if (array[j] === chr) return i;
- throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
- }
-};
-
-var NO_SOURCE_SUPPORT = fails(function () {
- var unsafeInt = '9007199254740993';
- var source;
- nativeParse(unsafeInt, function (key, value, context) {
- source = context.source;
- });
- return source !== unsafeInt;
-});
-
-var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () {
- // Safari 9 bug
- return 1 / nativeParse('-0 \t') !== -Infinity;
-});
-
-// `JSON.parse` method
-// https://tc39.es/ecma262/#sec-json.parse
-// https://github.com/tc39/proposal-json-parse-with-source
-$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
- parse: function parse(text, reviver) {
- return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver);
- }
-});
-
-
-/***/ },
-
-/***/ 3110
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var apply = __webpack_require__(8745);
-var call = __webpack_require__(9565);
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isArray = __webpack_require__(4376);
-var isCallable = __webpack_require__(4901);
-var isRawJSON = __webpack_require__(5810);
-var isSymbol = __webpack_require__(757);
-var classof = __webpack_require__(2195);
-var toString = __webpack_require__(655);
-var arraySlice = __webpack_require__(7680);
-var parseJSONString = __webpack_require__(8235);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var NATIVE_RAW_JSON = __webpack_require__(7819);
-
-var $String = String;
-var $stringify = getBuiltIn('JSON', 'stringify');
-var exec = uncurryThis(/./.exec);
-var charAt = uncurryThis(''.charAt);
-var charCodeAt = uncurryThis(''.charCodeAt);
-var replace = uncurryThis(''.replace);
-var slice = uncurryThis(''.slice);
-var push = uncurryThis([].push);
-var numberToString = uncurryThis(1.1.toString);
-
-var surrogates = /[\uD800-\uDFFF]/g;
-var leadingSurrogates = /^[\uD800-\uDBFF]$/;
-var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
-
-var MARK = uid();
-var MARK_LENGTH = MARK.length;
-
-var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
- var symbol = getBuiltIn('Symbol')('stringify detection');
- // MS Edge converts symbol values to JSON as {}
- return $stringify([symbol]) !== '[null]'
- // WebKit converts symbol values to JSON as null
- || $stringify({ a: symbol }) !== '{}'
- // V8 throws on boxed symbols
- || $stringify(Object(symbol)) !== '{}';
-});
-
-// https://github.com/tc39/proposal-well-formed-stringify
-var ILL_FORMED_UNICODE = fails(function () {
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
- || $stringify('\uDEAD') !== '"\\udead"';
-});
-
-var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
- var args = arraySlice(arguments);
- var $replacer = getReplacerFunction(replacer);
- if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
- args[1] = function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
- if (!isSymbol(value)) return value;
- };
- return apply($stringify, null, args);
-} : $stringify;
-
-var fixIllFormedJSON = function (match, offset, string) {
- var prev = charAt(string, offset - 1);
- var next = charAt(string, offset + 1);
- if (
- (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
- (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
- ) {
- return '\\u' + numberToString(charCodeAt(match, 0), 16);
- } return match;
-};
-
-var getReplacerFunction = function (replacer) {
- if (isCallable(replacer)) return replacer;
- if (!isArray(replacer)) return;
- var rawLength = replacer.length;
- var keys = [];
- for (var i = 0; i < rawLength; i++) {
- var element = replacer[i];
- if (typeof element == 'string') push(keys, element);
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
- }
- var keysLength = keys.length;
- var root = true;
- return function (key, value) {
- if (root) {
- root = false;
- return value;
- }
- if (isArray(this)) return value;
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
- };
-};
-
-// `JSON.stringify` method
-// https://tc39.es/ecma262/#sec-json.stringify
-// https://github.com/tc39/proposal-json-parse-with-source
-if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
- stringify: function stringify(text, replacer, space) {
- var replacerFunction = getReplacerFunction(replacer);
- var rawStrings = [];
-
- var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
- return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
- }, space);
-
- if (typeof json != 'string') return json;
-
- if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
-
- if (NATIVE_RAW_JSON) return json;
-
- var result = '';
- var length = json.length;
-
- for (var i = 0; i < length; i++) {
- var chr = charAt(json, i);
- if (chr === '"') {
- var end = parseJSONString(json, ++i).end - 1;
- var string = slice(json, i, end);
- result += slice(string, 0, MARK_LENGTH) === MARK
- ? rawStrings[slice(string, MARK_LENGTH)]
- : '"' + string + '"';
- i = end;
- } else result += chr;
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 2731
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- var hasKey = has(this, key);
- aCallable(callbackfn);
- if (hasKey) return get(this, key);
- // CanonicalizeKeyedCollectionKey
- if (key === 0 && 1 / key === -Infinity) key = 0;
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 5367
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3068
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-// based on Shewchuk's algorithm for exactly floating point addition
-// adapted from https://github.com/tc39/proposal-math-sum/blob/3513d58323a1ae25560e8700aa5294500c6c9287/polyfill/polyfill.mjs
-var $ = __webpack_require__(6518);
-var uncurryThis = __webpack_require__(9504);
-var iterate = __webpack_require__(2652);
-
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var $Infinity = Infinity;
-var $NaN = NaN;
-var abs = Math.abs;
-var pow = Math.pow;
-var push = uncurryThis([].push);
-
-var POW_2_1023 = pow(2, 1023);
-var MAX_SAFE_INTEGER = pow(2, 53) - 1; // 2 ** 53 - 1 === 9007199254740991
-var MAX_DOUBLE = Number.MAX_VALUE; // 2 ** 1024 - 2 ** (1023 - 52) === 1.79769313486231570815e+308
-var MAX_ULP = pow(2, 971); // 2 ** (1023 - 52) === 1.99584030953471981166e+292
-
-var NOT_A_NUMBER = {};
-var MINUS_INFINITY = {};
-var PLUS_INFINITY = {};
-var MINUS_ZERO = {};
-var FINITE = {};
-
-// prerequisite: abs(x) >= abs(y)
-var twosum = function (x, y) {
- var hi = x + y;
- var lo = y - (hi - x);
- return { hi: hi, lo: lo };
-};
-
-// `Math.sumPrecise` method
-// https://tc39.es/ecma262/#sec-math.sumprecise
-$({ target: 'Math', stat: true }, {
- // eslint-disable-next-line max-statements -- ok
- sumPrecise: function sumPrecise(items) {
- var numbers = [];
- var count = 0;
- var state = MINUS_ZERO;
-
- iterate(items, function (n) {
- if (++count > MAX_SAFE_INTEGER) throw new $RangeError('Maximum allowed index exceeded');
- if (typeof n != 'number') throw new $TypeError('Value is not a number');
- if (state !== NOT_A_NUMBER) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (n !== n) state = NOT_A_NUMBER;
- else if (n === $Infinity) state = state === MINUS_INFINITY ? NOT_A_NUMBER : PLUS_INFINITY;
- else if (n === -$Infinity) state = state === PLUS_INFINITY ? NOT_A_NUMBER : MINUS_INFINITY;
- else if ((n !== 0 || (1 / n) === $Infinity) && (state === MINUS_ZERO || state === FINITE)) {
- state = FINITE;
- push(numbers, n);
- }
- }
- });
-
- switch (state) {
- case NOT_A_NUMBER: return $NaN;
- case MINUS_INFINITY: return -$Infinity;
- case PLUS_INFINITY: return $Infinity;
- case MINUS_ZERO: return -0;
- }
-
- var partials = [];
- var overflow = 0; // conceptually 2 ** 1024 times this value; the final partial is biased by this amount
- var x, y, sum, hi, lo, tmp;
-
- for (var i = 0; i < numbers.length; i++) {
- x = numbers[i];
- var actuallyUsedPartials = 0;
- for (var j = 0; j < partials.length; j++) {
- y = partials[j];
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- if (abs(hi) === $Infinity) {
- var sign = hi === $Infinity ? 1 : -1;
- overflow += sign;
-
- x = (x - (sign * POW_2_1023)) - (sign * POW_2_1023);
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- }
- if (lo !== 0) partials[actuallyUsedPartials++] = lo;
- x = hi;
- }
- partials.length = actuallyUsedPartials;
- if (x !== 0) push(partials, x);
- }
-
- // compute the exact sum of partials, stopping once we lose precision
- var n = partials.length - 1;
- hi = 0;
- lo = 0;
-
- if (overflow !== 0) {
- var next = n >= 0 ? partials[n] : 0;
- n--;
- if (abs(overflow) > 1 || (overflow > 0 && next > 0) || (overflow < 0 && next < 0)) {
- return overflow > 0 ? $Infinity : -$Infinity;
- }
- // here we actually have to do the arithmetic
- // drop a factor of 2 so we can do it without overflow
- // assert(abs(overflow) === 1)
- sum = twosum(overflow * POW_2_1023, next / 2);
- hi = sum.hi;
- lo = sum.lo;
- lo *= 2;
- if (abs(2 * hi) === $Infinity) {
- // rounding to the maximum value
- if (hi > 0) {
- return (hi === POW_2_1023 && lo === -(MAX_ULP / 2) && n >= 0 && partials[n] < 0) ? MAX_DOUBLE : $Infinity;
- } return (hi === -POW_2_1023 && lo === (MAX_ULP / 2) && n >= 0 && partials[n] > 0) ? -MAX_DOUBLE : -$Infinity;
- }
-
- if (lo !== 0) {
- partials[++n] = lo;
- lo = 0;
- }
-
- hi *= 2;
- }
-
- while (n >= 0) {
- sum = twosum(hi, partials[n--]);
- hi = sum.hi;
- lo = sum.lo;
- if (lo !== 0) break;
- }
-
- if (n >= 0 && ((lo < 0 && partials[n] < 0) || (lo > 0 && partials[n] > 0))) {
- y = lo * 2;
- x = hi + y;
- if (y === x - hi) hi = x;
- }
-
- return hi;
- }
-});
-
-
-/***/ },
-
-/***/ 1689
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var apply = __webpack_require__(8745);
-var slice = __webpack_require__(7680);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-var aCallable = __webpack_require__(9306);
-var perform = __webpack_require__(1103);
-
-var Promise = globalThis.Promise;
-
-var ACCEPT_ARGUMENTS = false;
-// Avoiding the use of polyfills of the previous iteration of this proposal
-// that does not accept arguments of the callback
-var FORCED = !Promise || !Promise['try'] || perform(function () {
- Promise['try'](function (argument) {
- ACCEPT_ARGUMENTS = argument === 8;
- }, 8);
-}).error || !ACCEPT_ARGUMENTS;
-
-// `Promise.try` method
-// https://tc39.es/ecma262/#sec-promise.try
-$({ target: 'Promise', stat: true, forced: FORCED }, {
- 'try': function (callbackfn /* , ...args */) {
- var args = arguments.length > 1 ? slice(arguments, 1) : [];
- var promiseCapability = newPromiseCapabilityModule.f(this);
- var result = perform(function () {
- return apply(aCallable(callbackfn), undefined, args);
- });
- (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
- return promiseCapability.promise;
- }
-});
-
-
-/***/ },
-
-/***/ 4628
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-
-// `Promise.withResolvers` method
-// https://tc39.es/ecma262/#sec-promise.withResolvers
-$({ target: 'Promise', stat: true }, {
- withResolvers: function withResolvers() {
- var promiseCapability = newPromiseCapabilityModule.f(this);
- return {
- promise: promiseCapability.promise,
- resolve: promiseCapability.resolve,
- reject: promiseCapability.reject
- };
- }
-});
-
-
-/***/ },
-
-/***/ 7642
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var difference = __webpack_require__(3440);
-var fails = __webpack_require__(9039);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike('difference', function (result) {
- return result.size === 0;
-});
-
-var FORCED = SET_LIKE_INCORRECT_BEHAVIOR || fails(function () {
- // https://bugs.webkit.org/show_bug.cgi?id=288595
- var setLike = {
- size: 1,
- has: function () { return true; },
- keys: function () {
- var index = 0;
- return {
- next: function () {
- var done = index++ > 1;
- if (baseSet.has(1)) baseSet.clear();
- return { done: done, value: 2 };
- }
- };
- }
- };
- // eslint-disable-next-line es/no-set -- testing
- var baseSet = new Set([1, 2, 3, 4]);
- // eslint-disable-next-line es/no-set-prototype-difference -- testing
- return baseSet.difference(setLike).size !== 3;
-});
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- difference: difference
-});
-
-
-/***/ },
-
-/***/ 8004
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var fails = __webpack_require__(9039);
-var intersection = __webpack_require__(8750);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
- return result.size === 2 && result.has(1) && result.has(2);
-}) || fails(function () {
- // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
-});
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- intersection: intersection
-});
-
-
-/***/ },
-
-/***/ 3853
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isDisjointFrom = __webpack_require__(4449);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
- return !result;
-});
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isDisjointFrom: isDisjointFrom
-});
-
-
-/***/ },
-
-/***/ 5876
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSubsetOf = __webpack_require__(3838);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
- return result;
-});
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSubsetOf: isSubsetOf
-});
-
-
-/***/ },
-
-/***/ 2475
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSupersetOf = __webpack_require__(8527);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
- return !result;
-});
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSupersetOf: isSupersetOf
-});
-
-
-/***/ },
-
-/***/ 5024
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var symmetricDifference = __webpack_require__(3650);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('symmetricDifference') || !setMethodGetKeysBeforeCloning('symmetricDifference');
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- symmetricDifference: symmetricDifference
-});
-
-
-/***/ },
-
-/***/ 1698
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var union = __webpack_require__(4204);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- union: union
-});
-
-
-/***/ },
-
-/***/ 9577
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ArrayBufferViewCore = __webpack_require__(4644);
-var isBigIntArray = __webpack_require__(1108);
-var lengthOfArrayLike = __webpack_require__(6198);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toBigInt = __webpack_require__(5854);
-
-var aTypedArray = ArrayBufferViewCore.aTypedArray;
-var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
-var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
-
-var $RangeError = RangeError;
-
-var PROPER_ORDER = function () {
- try {
- // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
- } catch (error) {
- // some early implementations, like WebKit, does not follow the final semantic
- // https://github.com/tc39/proposal-change-array-by-copy/pull/86
- return error === 8;
- }
-}();
-
-// Bug in WebKit. It should truncate a negative fractional index to zero, but instead throws an error
-var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
- try {
- // eslint-disable-next-line es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](-0.5, 1);
- } catch (error) {
- return true;
- }
-}();
-
-// `%TypedArray%.prototype.with` method
-// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
-exportTypedArrayMethod('with', { 'with': function (index, value) {
- var O = aTypedArray(this);
- var len = lengthOfArrayLike(O);
- var relativeIndex = toIntegerOrInfinity(index);
- var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
- var numericValue = isBigIntArray(O) ? toBigInt(value) : +value;
- if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
- var A = new (getTypedArrayConstructor(O))(len);
- var k = 0;
- for (; k < len; k++) A[k] = k === actualIndex ? numericValue : O[k];
- return A;
-} }['with'], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
-
-
-/***/ },
-
-/***/ 5213
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var arrayFromConstructorAndList = __webpack_require__(5370);
-var $fromBase64 = __webpack_require__(9143);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.fromBase64 || !function () {
- // Webkit not throw an error on odd length string
- try {
- Uint8Array.fromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- Uint8Array.fromBase64('', null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.fromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.frombase64
-if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- fromBase64: function fromBase64(string /* , options */) {
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, null, 0x1FFFFFFFFFFFFF);
- return arrayFromConstructorAndList(Uint8Array, result.bytes);
- }
-});
-
-
-/***/ },
-
-/***/ 6632
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var $fromBase64 = __webpack_require__(9143);
-var anUint8Array = __webpack_require__(4154);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.setFromBase64 || !function () {
- var target = new Uint8Array([255, 255, 255, 255, 255]);
- try {
- target.setFromBase64('', null);
- return;
- } catch (error) { /* empty */ }
- // Webkit not throw an error on odd length string
- try {
- target.setFromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- target.setFromBase64('MjYyZg===');
- } catch (error) {
- return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
- }
-}();
-
-// `Uint8Array.prototype.setFromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfrombase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- setFromBase64: function setFromBase64(string /* , options */) {
- anUint8Array(this);
-
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, this, this.length);
-
- return { read: result.read, written: result.written };
- }
-});
-
-
-/***/ },
-
-/***/ 4226
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var aString = __webpack_require__(3463);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var $fromHex = __webpack_require__(2303);
-
-// Should not throw an error on length-tracking views over ResizableArrayBuffer
-// https://issues.chromium.org/issues/454630441
-function throwsOnLengthTrackingView() {
- try {
- // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- required for testing
- var rab = new ArrayBuffer(16, { maxByteLength: 1024 });
- // eslint-disable-next-line es/no-uint8array-prototype-setfromhex, es/no-typed-arrays -- required for testing
- new Uint8Array(rab).setFromHex('cafed00d');
- } catch (error) {
- return true;
- }
-}
-
-// `Uint8Array.prototype.setFromHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfromhex
-if (globalThis.Uint8Array) $({ target: 'Uint8Array', proto: true, forced: throwsOnLengthTrackingView() }, {
- setFromHex: function setFromHex(string) {
- anUint8Array(this);
- aString(string);
- notDetached(this.buffer);
- var read = $fromHex(string, this).read;
- return { read: read, written: read / 2 };
- }
-});
-
-
-/***/ },
-
-/***/ 9486
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-
-var base64Alphabet = base64Map.i2c;
-var base64UrlAlphabet = base64Map.i2cUrl;
-
-var charAt = uncurryThis(''.charAt);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toBase64 || !function () {
- try {
- var target = new Uint8Array();
- target.toBase64(null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.prototype.toBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tobase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toBase64: function toBase64(/* options */) {
- var array = anUint8Array(this);
- var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var omitPadding = !!options && !!options.omitPadding;
- notDetached(this.buffer);
-
- var result = '';
- var i = 0;
- var length = array.length;
- var triplet;
-
- var at = function (shift) {
- return charAt(alphabet, (triplet >> (6 * shift)) & 63);
- };
-
- for (; i + 2 < length; i += 3) {
- triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
- result += at(3) + at(2) + at(1) + at(0);
- }
- if (i + 2 === length) {
- triplet = (array[i] << 16) + (array[i + 1] << 8);
- result += at(3) + at(2) + at(1) + (omitPadding ? '' : '=');
- } else if (i + 1 === length) {
- triplet = array[i] << 16;
- result += at(3) + at(2) + (omitPadding ? '' : '==');
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 456
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-
-var numberToString = uncurryThis(1.1.toString);
-var join = uncurryThis([].join);
-var $Array = Array;
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toHex || !(function () {
- try {
- var target = new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]);
- return target.toHex() === 'ffffffffffffffff';
- } catch (error) {
- return false;
- }
-})();
-
-// `Uint8Array.prototype.toHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tohex
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toHex: function toHex() {
- anUint8Array(this);
- notDetached(this.buffer);
- var result = $Array(this.length);
- for (var i = 0, length = this.length; i < length; i++) {
- var hex = numberToString(this[i], 16);
- result[i] = hex.length === 1 ? '0' + hex : hex;
- }
- return join(result, '');
- }
-});
-
-
-/***/ },
-
-/***/ 9452
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var aWeakMap = __webpack_require__(6557);
-var aWeakKey = __webpack_require__(4328);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-var FORCED = IS_PURE || !function () {
- try {
- // eslint-disable-next-line es/no-weak-map, no-throw-literal -- testing
- if (WeakMap.prototype.getOrInsertComputed) new WeakMap().getOrInsertComputed(1, function () { throw 1; });
- } catch (error) {
- // FF144 Nightly - Beta 3 bug
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1988369
- return error instanceof TypeError;
- }
-}();
-
-// `WeakMap.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsertcomputed
-$({ target: 'WeakMap', proto: true, real: true, forced: FORCED }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- if (!IS_PURE) aWeakMap(this);
- aWeakKey(key);
- aCallable(callbackfn);
- if (has(this, key)) return get(this, key);
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 8454
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-// `WeakMap.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsert
-$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 4979
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var getBuiltIn = __webpack_require__(7751);
-var createPropertyDescriptor = __webpack_require__(6980);
-var defineProperty = (__webpack_require__(4913).f);
-var hasOwn = __webpack_require__(9297);
-var anInstance = __webpack_require__(679);
-var inheritIfRequired = __webpack_require__(3167);
-var normalizeStringArgument = __webpack_require__(2603);
-var DOMExceptionConstants = __webpack_require__(5002);
-var clearErrorStack = __webpack_require__(8574);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var DOM_EXCEPTION = 'DOMException';
-var Error = getBuiltIn('Error');
-var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
-
-var $DOMException = function DOMException() {
- anInstance(this, DOMExceptionPrototype);
- var argumentsLength = arguments.length;
- var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
- var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
- var that = new NativeDOMException(message, name);
- var error = new Error(message);
- error.name = DOM_EXCEPTION;
- defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
- inheritIfRequired(that, this, $DOMException);
- return that;
-};
-
-var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
-
-var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
-var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
-
-// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
-// https://github.com/Jarred-Sumner/bun/issues/399
-var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
-
-var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
-
-// `DOMException` constructor patch for `.stack` where it's required
-// https://webidl.spec.whatwg.org/#es-DOMException-specialness
-$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
- DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
-});
-
-var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
-var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
-
-if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
- if (!IS_PURE) {
- defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
- }
-
- for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
- var constant = DOMExceptionConstants[key];
- var constantName = constant.s;
- if (!hasOwn(PolyfilledDOMException, constantName)) {
- defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
- }
- }
-}
-
-
-/***/ },
-
-/***/ 4603
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var append = uncurryThis(URLSearchParamsPrototype.append);
-var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-var push = uncurryThis([].push);
-var params = new $URLSearchParams('a=1&a=2&b=3');
-
-params['delete']('a', 1);
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-params['delete']('b', undefined);
-
-if (params + '' !== 'a=2') {
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $delete(this, name);
- var entries = [];
- forEach(this, function (v, k) { // also validates `this`
- push(entries, { key: k, value: v });
- });
- validateArgumentsLength(length, 1);
- var key = toString(name);
- var value = toString($value);
- var index = 0;
- var entriesLength = entries.length;
- var entry;
- while (index < entriesLength) {
- entry = entries[index];
- $delete(this, entry.key);
- index++;
- }
- index = 0;
- while (index < entriesLength) {
- entry = entries[index++];
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
- }
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 7566
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
-var $has = uncurryThis(URLSearchParamsPrototype.has);
-var params = new $URLSearchParams('a=1');
-
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-if (params.has('a', 2) || !params.has('a', undefined)) {
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $has(this, name);
- var values = getAll(this, name); // also validates `this`
- validateArgumentsLength(length, 1);
- var value = toString($value);
- var index = 0;
- while (index < values.length) {
- if (values[index++] === value) return true;
- } return false;
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 8721
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var uncurryThis = __webpack_require__(9504);
-var defineBuiltInAccessor = __webpack_require__(2106);
-
-var URLSearchParamsPrototype = URLSearchParams.prototype;
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-
-// `URLSearchParams.prototype.size` getter
-// https://github.com/whatwg/url/pull/734
-if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
- get: function size() {
- var count = 0;
- forEach(this, function () { count++; });
- return count;
- },
- configurable: true,
- enumerable: true
- });
-}
-
-
-/***/ },
-
-/***/ 5781
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var validateArgumentsLength = __webpack_require__(2812);
-var toString = __webpack_require__(655);
-var USE_NATIVE_URL = __webpack_require__(7416);
-
-var URL = getBuiltIn('URL');
-
-// `URL.parse` method
-// https://url.spec.whatwg.org/#dom-url-parse
-$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
- parse: function parse(url) {
- var length = validateArgumentsLength(arguments.length, 1);
- var urlString = toString(url);
- var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
- try {
- return new URL(urlString, base);
- } catch (error) {
- return null;
- }
- }
-});
-
-
-/***/ }
-
-/******/ });
-/************************************************************************/
-/******/ // The module cache
-/******/ var __webpack_module_cache__ = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/ // Check if module is in cache
-/******/ var cachedModule = __webpack_module_cache__[moduleId];
-/******/ if (cachedModule !== undefined) {
-/******/ return cachedModule.exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = __webpack_module_cache__[moduleId] = {
-/******/ // no module.id needed
-/******/ // no module.loaded needed
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
@@ -6351,46 +47,7 @@ $({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
/******/
/************************************************************************/
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
-var es_array_includes = __webpack_require__(4423);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
-var es_array_push = __webpack_require__(4114);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js
-var es_array_buffer_detached = __webpack_require__(6573);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js
-var es_array_buffer_transfer = __webpack_require__(8100);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js
-var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
-var es_map_get_or_insert = __webpack_require__(5367);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert-computed.js
-var es_map_get_or_insert_computed = __webpack_require__(2731);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js
-var es_typed_array_with = __webpack_require__(9577);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-base64.js
-var es_uint8_array_set_from_base64 = __webpack_require__(6632);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-hex.js
-var es_uint8_array_set_from_hex = __webpack_require__(4226);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-base64.js
-var es_uint8_array_to_base64 = __webpack_require__(9486);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-hex.js
-var es_uint8_array_to_hex = __webpack_require__(456);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.parse.js
-var web_url_parse = __webpack_require__(5781);
;// ./src/shared/util.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser");
const BBOX_INIT = [Infinity, Infinity, -Infinity, -Infinity];
const F32_BBOX_INIT = new Float32Array(BBOX_INIT);
@@ -7245,56 +902,13 @@ function _isValidExplicitDest(validRef, validName, dest) {
const makeArr = () => [];
const makeMap = () => new Map();
const makeObj = () => Object.create(null);
-if (typeof Blob.prototype.bytes !== "function") {
- Blob.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof Response.prototype.bytes !== "function") {
- Response.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof AbortSignal.any !== "function") {
- AbortSignal.any = function (iterable) {
- const ac = new AbortController();
- const {
- signal
- } = ac;
- for (const s of iterable) {
- if (s.aborted) {
- ac.abort(s.reason);
- return signal;
- }
- }
- for (const s of iterable) {
- s.addEventListener("abort", () => {
- ac.abort(s.reason);
- }, {
- signal
- });
- }
- return signal;
- };
-}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
-var es_iterator_constructor = __webpack_require__(8111);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
-var es_iterator_map = __webpack_require__(1701);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
-var web_url_search_params_delete = __webpack_require__(4603);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
-var web_url_search_params_has = __webpack_require__(7566);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
-var web_url_search_params_size = __webpack_require__(8721);
;// ./src/shared/math_clamp.js
function MathClamp(v, min, max) {
return Math.min(Math.max(v, min), max);
}
;// ./src/display/xfa_text.js
-
class XfaText {
static textContent(xfa) {
const items = [];
@@ -7339,7 +953,6 @@ class XfaText {
;// ./src/display/xfa_layer.js
-
class XfaLayer {
static setupStorage(html, id, element, storage, intent) {
const storedData = storage.getValue(id, {
@@ -7552,24 +1165,6 @@ class XfaLayer {
;// ./src/display/display_utils.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const SVG_NS = "http://www.w3.org/2000/svg";
class PixelsPerInch {
@@ -8257,40 +1852,6 @@ function makePathFromDrawOPS(data) {
return path;
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.take.js
-var es_iterator_take = __webpack_require__(4972);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js
-var es_promise_with_resolvers = __webpack_require__(4628);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
-var es_set_difference_v2 = __webpack_require__(7642);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
-var es_set_intersection_v2 = __webpack_require__(8004);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
-var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
-var es_set_is_subset_of_v2 = __webpack_require__(5876);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
-var es_set_is_superset_of_v2 = __webpack_require__(2475);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
-var es_set_symmetric_difference_v2 = __webpack_require__(5024);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
-var es_set_union_v2 = __webpack_require__(1698);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert.js
-var es_weak_map_get_or_insert = __webpack_require__(8454);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert-computed.js
-var es_weak_map_get_or_insert_computed = __webpack_require__(9452);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js
-var web_dom_exception_stack = __webpack_require__(4979);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
-var es_iterator_some = __webpack_require__(3579);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
-var es_json_stringify = __webpack_require__(3110);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.drop.js
-var es_iterator_drop = __webpack_require__(9314);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
-var es_iterator_every = __webpack_require__(1148);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.parse.js
-var es_json_parse = __webpack_require__(9112);
;// ./src/display/editor/toolbar.js
class EditorToolbar {
@@ -8595,28 +2156,6 @@ class FloatingToolbar {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function bindEvents(obj, element, names) {
for (const name of names) {
element.addEventListener(name, obj[name].bind(obj));
@@ -11478,8 +5017,6 @@ class TouchManager {
-
-
class AnnotationEditor {
#accessibilityData = null;
#allResizerDivs = null;
@@ -13140,14 +6677,6 @@ class FakeEditor extends AnnotationEditor {
}
;// ./src/shared/murmurhash3.js
-
-
-
-
-
-
-
-
const SEED = 0xc3d2e1f0;
const MASK_HIGH = 0xffff0000;
const MASK_LOW = 0xffff;
@@ -13244,21 +6773,6 @@ class MurmurHash3_64 {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const SerializableEmpty = Object.freeze({
map: null,
hash: "",
@@ -13512,32 +7026,9 @@ class PrintAnnotationStorage extends AnnotationStorage {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
-var es_iterator_for_each = __webpack_require__(7588);
;// ./src/display/canvas_dependency_tracker.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const FORCED_DEPENDENCY_LABEL = "__forcedDependency";
const {
floor,
@@ -14272,15 +7763,6 @@ class CanvasImagesTracker {
;// ./src/display/font_loader.js
-
-
-
-
-
-
-
-
-
class FontLoader {
#systemFonts = new Set();
constructor({
@@ -14658,15 +8140,6 @@ class PATTERN_INFO {
;// ./src/display/obj_bin_transform_display.js
-
-
-
-
-
-
-
-
-
class CssFontInfo {
#buffer;
#decoder = new TextDecoder();
@@ -14983,21 +8456,6 @@ class FontPathInfo {
;// ./src/display/api_utils.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function getUrlProp(val) {
if (val instanceof URL) {
return val;
@@ -15088,12 +8546,8 @@ class LoopbackPort {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.try.js
-var es_promise_try = __webpack_require__(1689);
;// ./src/shared/message_handler.js
-
-
const CallbackKind = {
DATA: 1,
ERROR: 2
@@ -15498,14 +8952,6 @@ class MessageHandler {
;// ./src/display/binary_data_factory.js
-
-
-
-
-
-
-
-
class BaseBinaryDataFactory {
#errorStr = Object.freeze({
cMapUrl: "CMap",
@@ -15620,15 +9066,9 @@ class DOMCanvasFactory extends BaseCanvasFactory {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
-var es_iterator_filter = __webpack_require__(2489);
;// ./src/display/filter_factory.js
-
-
-
-
class BaseFilterFactory {
addFilter(maps) {
return "none";
@@ -15959,62 +9399,16 @@ class DOMFilterFactory extends BaseFilterFactory {
#getRGB(color) {
this.#defs.style.color = color;
return getRGB(getComputedStyle(this.#defs).getPropertyValue("color"));
- }
-}
-
-;// ./src/display/node_utils.js
-
-
-
-
-
-
-
+ }
+}
+;// ./src/display/node_utils.js
if (isNodeJS) {
- let canvas;
- try {
- const require = process.getBuiltinModule("module").createRequire(import.meta.url);
- try {
- canvas = require("@napi-rs/canvas");
- } catch (ex) {
- warn(`Cannot load "@napi-rs/canvas" package: "${ex}".`);
- }
- } catch (ex) {
- warn(`Cannot access the \`require\` function: "${ex}".`);
- }
- if (!globalThis.DOMMatrix) {
- if (canvas?.DOMMatrix) {
- globalThis.DOMMatrix = canvas.DOMMatrix;
- } else {
- warn("Cannot polyfill `DOMMatrix`, rendering may be broken.");
- }
- }
- if (!globalThis.ImageData) {
- if (canvas?.ImageData) {
- globalThis.ImageData = canvas.ImageData;
- } else {
- warn("Cannot polyfill `ImageData`, rendering may be broken.");
- }
- }
- if (!globalThis.Path2D) {
- if (canvas?.Path2D) {
- globalThis.Path2D = canvas.Path2D;
- } else {
- warn("Cannot polyfill `Path2D`, rendering may be broken.");
- }
- }
- if (!globalThis.navigator?.language) {
- globalThis.navigator = {
- language: "en-US",
- platform: "",
- userAgent: ""
- };
- }
+ warn("Please use the `legacy` build in Node.js environments.");
}
async function node_utils_fetchData(url) {
const fs = process.getBuiltinModule("fs/promises");
@@ -16036,10 +9430,6 @@ class NodeBinaryDataFactory extends BaseBinaryDataFactory {
}
;// ./src/display/webgpu.js
-
-
-
-
const MESH_WGSL = `
struct Uniforms {
offsetX : f32,
@@ -16249,13 +9639,6 @@ function drawMeshWithGPU(posData, colData, vertexCount, context, backgroundColor
-
-
-
-
-
-
-
const PathType = {
FILL: "Fill",
STROKE: "Stroke",
@@ -16866,10 +10249,6 @@ class TilingPattern {
/* unused harmony import specifier */ var image_utils_ImageKind;
/* unused harmony import specifier */ var image_utils_FeatureTest;
-
-
-
-
function convertToRGBA(params) {
switch (params.kind) {
case image_utils_ImageKind.GRAYSCALE_1BPP:
@@ -16984,17 +10363,6 @@ function grayToRGBA(src, dest) {
-
-
-
-
-
-
-
-
-
-
-
const MIN_FONT_SIZE = 16;
const MAX_FONT_SIZE = 100;
const EXECUTION_TIME = 15;
@@ -19322,14 +12690,6 @@ for (const op in OPS) {
;// ./src/shared/base_pdf_stream.js
-
-
-
-
-
-
-
-
class BasePDFStream {
#PDFStreamReader = null;
#PDFStreamRangeReader = null;
@@ -19418,8 +12778,6 @@ class BasePDFStreamRangeReader {
;// ./src/display/content_disposition.js
-
-
function getFilenameFromContentDispositionHeader(contentDisposition) {
let needsEncodingFixup = true;
let tmp = toParamRegExp("filename\\*", "i").exec(contentDisposition);
@@ -19553,8 +12911,6 @@ function getFilenameFromContentDispositionHeader(contentDisposition) {
-
-
function createHeaders(isHttp, httpHeaders) {
const headers = new Headers();
if (!isHttp || !httpHeaders || typeof httpHeaders !== "object") {
@@ -19629,15 +12985,6 @@ function ensureResponseOrigin(rangeOrigin, origin) {
-
-
-
-
-
-
-
-
-
function fetchUrl(url, headers, withCredentials, abortController) {
return fetch(url, {
method: "GET",
@@ -19778,24 +13125,10 @@ class PDFFetchStreamRangeReader extends BasePDFStreamRangeReader {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
-var es_iterator_find = __webpack_require__(116);
;// ./src/display/transport_stream.js
-
-
-
-
-
-
-
-
-
-
-
-
function transport_stream_getArrayBuffer(val) {
return val instanceof Uint8Array && val.byteLength === val.buffer.byteLength ? val.buffer : new Uint8Array(val).buffer;
}
@@ -20010,12 +13343,6 @@ class PDFDataTransportStreamRangeReader extends BasePDFStreamRangeReader {
-
-
-
-
-
-
const OK_RESPONSE = 200;
const PARTIAL_CONTENT_RESPONSE = 206;
function network_getArrayBuffer(val) {
@@ -20310,7 +13637,6 @@ class PDFNetworkStreamRangeReader extends BasePDFStreamRangeReader {
-
function getReadableStream(url, opts = null) {
const fs = process.getBuiltinModule("fs");
const {
@@ -20482,8 +13808,6 @@ class Metadata {
;// ./src/display/optional_content_config.js
-
-
const INTERNAL = Symbol("INTERNAL");
class OptionalContentGroup {
#isDisplay = false;
@@ -20747,23 +14071,6 @@ class OptionalContentConfig {
;// ./src/display/pages_mapper.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class PagesMapper {
#pageNumberToId = null;
#prevPageNumbers = null;
@@ -20992,9 +14299,6 @@ class PagesMapper {
}
;// ./src/display/pdf_objects.js
-
-
-
const INITIAL_DATA = Symbol("INITIAL_DATA");
const dataObj = () => ({
...Promise.withResolvers(),
@@ -21056,19 +14360,6 @@ class PDFObjects {
;// ./src/display/text_layer.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const MAX_TEXT_DIVS_TO_RENDER = 100000;
const DEFAULT_FONT_SIZE = 30;
class TextLayer {
@@ -21449,35 +14740,6 @@ class TextLayer {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -23246,8 +16508,6 @@ class InternalRenderTask {
const version = "5.7.284";
const build = "7e5b36c2d";
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.sum-precise.js
-var es_math_sum_precise = __webpack_require__(3068);
;// ./src/display/editor/color_picker.js
@@ -23571,12 +16831,8 @@ class BasicColorPicker {
hideDropdown() {}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.flat-map.js
-var es_iterator_flat_map = __webpack_require__(531);
;// ./src/shared/scripting_utils.js
-
-
function makeColorComp(n) {
return Math.floor(MathClamp(n, 0, 1) * 255).toString(16).padStart(2, "0");
}
@@ -23676,22 +16932,6 @@ class DOMSVGFactory extends BaseSVGFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const annotation_layer_DEFAULT_FONT_SIZE = 9;
const GetElementsByNameSet = new WeakSet();
@@ -27090,11 +20330,6 @@ class AnnotationLayer {
-
-
-
-
-
const EOL_PATTERN = /\r\n?|\n/g;
class FreeTextEditor extends AnnotationEditor {
#content = "";
@@ -27733,10 +20968,6 @@ class FreeTextEditor extends AnnotationEditor {
;// ./src/display/editor/drawers/outline.js
-
-
-
-
class Outline {
static PRECISION = 1e-4;
toSVGPath() {
@@ -27807,11 +21038,6 @@ class Outline {
;// ./src/display/editor/drawers/freedraw.js
-
-
-
-
-
class FreeDrawOutliner {
#box;
#bottom = [];
@@ -28177,18 +21403,6 @@ class FreeDrawOutline extends Outline {
-
-
-
-
-
-
-
-
-
-
-
-
class HighlightOutliner {
#box;
#firstPoint;
@@ -28456,13 +21670,6 @@ class FreeHighlightOutline extends FreeDrawOutline {
-
-
-
-
-
-
-
class HighlightEditor extends AnnotationEditor {
#anchorNode = null;
#anchorOffset = 0;
@@ -29331,14 +22538,6 @@ class HighlightEditor extends AnnotationEditor {
-
-
-
-
-
-
-
-
class DrawingOptions {
#svgProperties = Object.create(null);
updateProperty(name, value) {
@@ -30002,13 +23201,6 @@ class DrawingEditor extends AnnotationEditor {
-
-
-
-
-
-
-
class InkDrawOutliner {
#last = new Float64Array(6);
#line;
@@ -30674,10 +23866,6 @@ class InkDrawOutline extends Outline {
-
-
-
-
class InkDrawingOptions extends DrawingOptions {
constructor(viewerParameters) {
super();
@@ -30938,25 +24126,11 @@ class ContourDrawOutline extends InkDrawOutline {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.from-base64.js
-var es_uint8_array_from_base64 = __webpack_require__(5213);
;// ./src/display/editor/drawers/signaturedraw.js
-
-
-
-
-
-
-
-
-
-
-
-
const BASE_HEADER_LENGTH = 8;
const POINTS_PROPERTIES_NUMBER = 3;
class SignatureExtractor {
@@ -31577,11 +24751,6 @@ class SignatureExtractor {
-
-
-
-
-
class SignatureOptions extends DrawingOptions {
constructor() {
super();
@@ -31946,12 +25115,6 @@ class SignatureEditor extends DrawingEditor {
-
-
-
-
-
-
class StampEditor extends AnnotationEditor {
#bitmap = null;
#bitmapId = null;
@@ -32650,16 +25813,6 @@ class StampEditor extends AnnotationEditor {
-
-
-
-
-
-
-
-
-
-
class AnnotationEditorLayer {
#accessibilityManager;
#allowClick = false;
@@ -33409,8 +26562,6 @@ class AnnotationEditorLayer {
;// ./src/display/draw_layer.js
-
-
class DrawLayer {
#parent = null;
#mapping = new Map();
@@ -33608,8 +26759,6 @@ class DrawLayer {
;// ./src/display/text_layer_images.js
-
-
function percentage(value) {
return `${(value * 100).toFixed(2)}%`;
}
@@ -33799,4 +26948,4 @@ globalThis.pdfjsLib = {
export { AbortException, AnnotationEditorLayer, AnnotationEditorParamsType, AnnotationEditorType, AnnotationEditorUIManager, AnnotationLayer, AnnotationMode, AnnotationType, CSSConstants, ColorPicker, DOMSVGFactory, DrawLayer, FeatureTest, GlobalWorkerOptions, ImageKind, InvalidPDFException, MathClamp, OPS, OutputScale, PDFDataRangeTransport, PDFDateString, PDFWorker, PasswordResponses, PermissionFlag, PixelsPerInch, RenderingCancelledException, ResponseException, SignatureExtractor, SupportedImageMimeTypes, TextLayer, TextLayerImages, TouchManager, Util, VerbosityLevel, XfaLayer, applyOpacity, build, createValidAbsoluteUrl, fetchData, findContrastColor, getDocument, getFilenameFromUrl, getPdfFilenameFromUrl, getRGB, getRGBA, getUuid, getXfaPageViewport, isDataScheme, isPdfFile, isValidExplicitDest, makeArr, makeMap, makeObj, noContextMenu, normalizeUnicode, renderRichText, setLayerDimensions, shadow, stopEvent, updateUrlHash, version };
-//# sourceMappingURL=pdf.mjs.map
+//# sourceMappingURL=pdf.mjs.map
\ No newline at end of file
diff --git a/src/chrome/vendor/pdfjs/pdf.worker.mjs b/src/chrome/vendor/pdfjs/pdf.worker.mjs
index 9ff4644c7..7d85fb9b1 100644
--- a/src/chrome/vendor/pdfjs/pdf.worker.mjs
+++ b/src/chrome/vendor/pdfjs/pdf.worker.mjs
@@ -24,5796 +24,8 @@
* pdfjsVersion = 5.7.284
* pdfjsBuild = 7e5b36c2d
*/
-/******/ var __webpack_modules__ = ({
-
-/***/ 9306
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var tryToString = __webpack_require__(6823);
-
-var $TypeError = TypeError;
-
-// `Assert: IsCallable(argument) is true`
-module.exports = function (argument) {
- if (isCallable(argument)) return argument;
- throw new $TypeError(tryToString(argument) + ' is not a function');
-};
-
-
-/***/ },
-
-/***/ 3506
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPossiblePrototype = __webpack_require__(3925);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
-};
-
-
-/***/ },
-
-/***/ 7080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4402).has);
-
-// Perform ? RequireInternalSlot(M, [[SetData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 3463
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (typeof argument == 'string') return argument;
- throw new $TypeError('Argument is not a string');
-};
-
-
-/***/ },
-
-/***/ 4328
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var WeakMapHelpers = __webpack_require__(4995);
-
-var weakmap = new WeakMapHelpers.WeakMap();
-var set = WeakMapHelpers.set;
-var remove = WeakMapHelpers.remove;
-
-module.exports = function (key) {
- set(weakmap, key, 1);
- remove(weakmap, key);
- return key;
-};
-
-
-/***/ },
-
-/***/ 6557
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4995).has);
-
-// Perform ? RequireInternalSlot(M, [[WeakMapData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 6469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-var create = __webpack_require__(2360);
-var defineProperty = (__webpack_require__(4913).f);
-
-var UNSCOPABLES = wellKnownSymbol('unscopables');
-var ArrayPrototype = Array.prototype;
-
-// Array.prototype[@@unscopables]
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-if (ArrayPrototype[UNSCOPABLES] === undefined) {
- defineProperty(ArrayPrototype, UNSCOPABLES, {
- configurable: true,
- value: create(null)
- });
-}
-
-// add a key to Array.prototype[@@unscopables]
-module.exports = function (key) {
- ArrayPrototype[UNSCOPABLES][key] = true;
-};
-
-
-/***/ },
-
-/***/ 679
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPrototypeOf = __webpack_require__(1625);
-
-var $TypeError = TypeError;
-
-module.exports = function (it, Prototype) {
- if (isPrototypeOf(Prototype, it)) return it;
- throw new $TypeError('Incorrect invocation');
-};
-
-
-/***/ },
-
-/***/ 3972
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (argument === undefined || isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object or undefined');
-};
-
-
-/***/ },
-
-/***/ 8551
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-// `Assert: Type(argument) is Object`
-module.exports = function (argument) {
- if (isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object');
-};
-
-
-/***/ },
-
-/***/ 4154
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $TypeError = TypeError;
-
-// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
-// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
-module.exports = function (argument) {
- if (classof(argument) === 'Uint8Array') return argument;
- throw new $TypeError('Argument is not an Uint8Array');
-};
-
-
-/***/ },
-
-/***/ 7811
-(module) {
-
-
-// eslint-disable-next-line es/no-typed-arrays -- safe
-module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
-
-
-/***/ },
-
-/***/ 7394
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThisAccessor = __webpack_require__(6706);
-var classof = __webpack_require__(2195);
-
-var ArrayBuffer = globalThis.ArrayBuffer;
-var TypeError = globalThis.TypeError;
-
-// Includes
-// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
-// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
-module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
- if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
- return O.byteLength;
-};
-
-
-/***/ },
-
-/***/ 3238
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var arrayBufferByteLength = __webpack_require__(7394);
-
-var DataView = globalThis.DataView;
-
-module.exports = function (O) {
- if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
- try {
- // eslint-disable-next-line no-new -- thrower
- new DataView(O);
- return false;
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 5169
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isDetached = __webpack_require__(3238);
-
-var $TypeError = TypeError;
-
-module.exports = function (it) {
- if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5636
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var uncurryThisAccessor = __webpack_require__(6706);
-var toIndex = __webpack_require__(7696);
-var notDetached = __webpack_require__(5169);
-var arrayBufferByteLength = __webpack_require__(7394);
-var detachTransferable = __webpack_require__(4483);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var ArrayBuffer = globalThis.ArrayBuffer;
-var DataView = globalThis.DataView;
-var max = Math.max;
-var min = Math.min;
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-var DataViewPrototype = DataView.prototype;
-var slice = uncurryThis(ArrayBufferPrototype.slice);
-var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
-var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
-var getInt8 = uncurryThis(DataViewPrototype.getInt8);
-var setInt8 = uncurryThis(DataViewPrototype.setInt8);
-
-module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
- var byteLength = arrayBufferByteLength(arrayBuffer);
- var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
- var fixedLength = !isResizable || !isResizable(arrayBuffer);
- var newBuffer;
- notDetached(arrayBuffer);
- if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
- if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
- }
- if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
- newBuffer = slice(arrayBuffer, 0, newByteLength);
- } else {
- var options = preserveResizability && !fixedLength && maxByteLength
- ? { maxByteLength: max(newByteLength, maxByteLength(arrayBuffer)) }
- : undefined;
- newBuffer = new ArrayBuffer(newByteLength, options);
- var a = new DataView(arrayBuffer);
- var b = new DataView(newBuffer);
- var copyLength = min(newByteLength, byteLength);
- for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
- }
- if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
- return newBuffer;
-};
-
-
-/***/ },
-
-/***/ 4644
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var hasOwn = __webpack_require__(9297);
-var classof = __webpack_require__(6955);
-var tryToString = __webpack_require__(6823);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isPrototypeOf = __webpack_require__(1625);
-var getPrototypeOf = __webpack_require__(2787);
-var setPrototypeOf = __webpack_require__(2967);
-var wellKnownSymbol = __webpack_require__(8227);
-var uid = __webpack_require__(3392);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var Int8Array = globalThis.Int8Array;
-var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
-var Uint8ClampedArray = globalThis.Uint8ClampedArray;
-var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
-var TypedArray = Int8Array && getPrototypeOf(Int8Array);
-var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
-var ObjectPrototype = Object.prototype;
-var TypeError = globalThis.TypeError;
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
-var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
-// Fixing native typed arrays in Opera Presto crashes the browser, see #595
-var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
-var TYPED_ARRAY_TAG_REQUIRED = false;
-var NAME, Constructor, Prototype;
-
-var TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
-};
-
-var BigIntArrayConstructorsList = {
- BigInt64Array: 8,
- BigUint64Array: 8
-};
-
-var isView = function isView(it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return klass === 'DataView'
- || hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var getTypedArrayConstructor = function (it) {
- var proto = getPrototypeOf(it);
- if (!isObject(proto)) return;
- var state = getInternalState(proto);
- return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
-};
-
-var isTypedArray = function (it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var aTypedArray = function (it) {
- if (isTypedArray(it)) return it;
- throw new TypeError('Target is not a typed array');
-};
-
-var aTypedArrayConstructor = function (C) {
- if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
- throw new TypeError(tryToString(C) + ' is not a typed array constructor');
-};
-
-var exportTypedArrayMethod = function (KEY, property, forced, options) {
- if (!DESCRIPTORS) return;
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
- delete TypedArrayConstructor.prototype[KEY];
- } catch (error) {
- // old WebKit bug - some methods are non-configurable
- try {
- TypedArrayConstructor.prototype[KEY] = property;
- } catch (error2) { /* empty */ }
- }
- }
- if (!TypedArrayPrototype[KEY] || forced) {
- defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
- : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
- }
-};
-
-var exportTypedArrayStaticMethod = function (KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (!DESCRIPTORS) return;
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
- delete TypedArrayConstructor[KEY];
- } catch (error) { /* empty */ }
- }
- if (!TypedArray[KEY] || forced) {
- // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
- try {
- return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
- } catch (error) { /* empty */ }
- } else return;
- }
- for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
- defineBuiltIn(TypedArrayConstructor, KEY, property);
- }
- }
-};
-
-for (NAME in TypedArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
- else NATIVE_ARRAY_BUFFER_VIEWS = false;
-}
-
-for (NAME in BigIntArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
-}
-
-// WebKit bug - typed arrays constructors prototype is Object.prototype
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
- // eslint-disable-next-line no-shadow -- safe
- TypedArray = function TypedArray() {
- throw new TypeError('Incorrect invocation');
- };
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
- }
-}
-
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
- TypedArrayPrototype = TypedArray.prototype;
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
- }
-}
-
-// WebKit bug - one more object in Uint8ClampedArray prototype chain
-if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
- setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
-}
-
-if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
- TYPED_ARRAY_TAG_REQUIRED = true;
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
- configurable: true,
- get: function () {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
- }
- });
- for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
- createNonEnumerableProperty(globalThis[NAME].prototype, TYPED_ARRAY_TAG, NAME);
- }
-}
-
-module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
- aTypedArray: aTypedArray,
- aTypedArrayConstructor: aTypedArrayConstructor,
- exportTypedArrayMethod: exportTypedArrayMethod,
- exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
- getTypedArrayConstructor: getTypedArrayConstructor,
- isView: isView,
- isTypedArray: isTypedArray,
- TypedArray: TypedArray,
- TypedArrayPrototype: TypedArrayPrototype
-};
-
-
-/***/ },
-
-/***/ 5370
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var lengthOfArrayLike = __webpack_require__(6198);
-
-module.exports = function (Constructor, list, $length) {
- var index = 0;
- var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
- var result = new Constructor(length);
- while (length > index) result[index] = list[index++];
- return result;
-};
-
-
-/***/ },
-
-/***/ 9617
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIndexedObject = __webpack_require__(5397);
-var toAbsoluteIndex = __webpack_require__(5610);
-var lengthOfArrayLike = __webpack_require__(6198);
-
-// `Array.prototype.{ indexOf, includes }` methods implementation
-var createMethod = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIndexedObject($this);
- var length = lengthOfArrayLike(O);
- if (length === 0) return !IS_INCLUDES && -1;
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare -- NaN check
- if (IS_INCLUDES && el !== el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare -- NaN check
- if (value !== value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) {
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
-};
-
-module.exports = {
- // `Array.prototype.includes` method
- // https://tc39.es/ecma262/#sec-array.prototype.includes
- includes: createMethod(true),
- // `Array.prototype.indexOf` method
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
- indexOf: createMethod(false)
-};
-
-
-/***/ },
-
-/***/ 4527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var isArray = __webpack_require__(4376);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Safari < 13 does not throw an error in this case
-var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
- // makes no sense without proper strict mode support
- if (this !== undefined) return true;
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).length = 1;
- } catch (error) {
- return error instanceof TypeError;
- }
-}();
-
-module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
- throw new $TypeError('Cannot set read only .length');
- } return O.length = length;
-} : function (O, length) {
- return O.length = length;
-};
-
-
-/***/ },
-
-/***/ 7680
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis([].slice);
-
-
-/***/ },
-
-/***/ 2804
-(module) {
-
-
-var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
-var base64Alphabet = commonAlphabet + '+/';
-var base64UrlAlphabet = commonAlphabet + '-_';
-
-var inverse = function (characters) {
- // TODO: use `Object.create(null)` in `core-js@4`
- var result = {};
- var index = 0;
- for (; index < 64; index++) result[characters.charAt(index)] = index;
- return result;
-};
-
-module.exports = {
- i2c: base64Alphabet,
- c2i: inverse(base64Alphabet),
- i2cUrl: base64UrlAlphabet,
- c2iUrl: inverse(base64UrlAlphabet)
-};
-
-
-/***/ },
-
-/***/ 6319
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var anObject = __webpack_require__(8551);
-var iteratorClose = __webpack_require__(9539);
-
-// call something on iterator step with safe closing on error
-module.exports = function (iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- } catch (error) {
- iteratorClose(iterator, 'throw', error);
- }
-};
-
-
-/***/ },
-
-/***/ 2195
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var toString = uncurryThis({}.toString);
-var stringSlice = uncurryThis(''.slice);
-
-module.exports = function (it) {
- return stringSlice(toString(it), 8, -1);
-};
-
-
-/***/ },
-
-/***/ 6955
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
-var isCallable = __webpack_require__(4901);
-var classofRaw = __webpack_require__(2195);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var $Object = Object;
-
-// ES3 wrong here
-var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
-
-// fallback for IE11 Script Access Denied error
-var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
-};
-
-// getting tag from ES6+ `Object.prototype.toString`
-module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
-};
-
-
-/***/ },
-
-/***/ 7740
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var ownKeys = __webpack_require__(5031);
-var getOwnPropertyDescriptorModule = __webpack_require__(7347);
-var definePropertyModule = __webpack_require__(4913);
-
-module.exports = function (target, source, exceptions) {
- var keys = ownKeys(source);
- var defineProperty = definePropertyModule.f;
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- }
-};
-
-
-/***/ },
-
-/***/ 2211
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
- return Object.getPrototypeOf(new F()) !== F.prototype;
-});
-
-
-/***/ },
-
-/***/ 2529
-(module) {
-
-
-// `CreateIterResultObject` abstract operation
-// https://tc39.es/ecma262/#sec-createiterresultobject
-module.exports = function (value, done) {
- return { value: value, done: done };
-};
-
-
-/***/ },
-
-/***/ 6699
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-
-/***/ },
-
-/***/ 6980
-(module) {
-
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-
-/***/ },
-
-/***/ 4659
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = function (object, key, value) {
- if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
- else object[key] = value;
-};
-
-
-/***/ },
-
-/***/ 2106
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var makeBuiltIn = __webpack_require__(283);
-var defineProperty = __webpack_require__(4913);
-
-module.exports = function (target, name, descriptor) {
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
- return defineProperty.f(target, name, descriptor);
-};
-
-
-/***/ },
-
-/***/ 6840
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var definePropertyModule = __webpack_require__(4913);
-var makeBuiltIn = __webpack_require__(283);
-var defineGlobalProperty = __webpack_require__(9433);
-
-module.exports = function (O, key, value, options) {
- if (!options) options = {};
- var simple = options.enumerable;
- var name = options.name !== undefined ? options.name : key;
- if (isCallable(value)) makeBuiltIn(value, name, options);
- if (options.global) {
- if (simple) O[key] = value;
- else defineGlobalProperty(key, value);
- } else {
- try {
- if (!options.unsafe) delete O[key];
- else if (O[key]) simple = true;
- } catch (error) { /* empty */ }
- if (simple) O[key] = value;
- else definePropertyModule.f(O, key, {
- value: value,
- enumerable: false,
- configurable: !options.nonConfigurable,
- writable: !options.nonWritable
- });
- } return O;
-};
-
-
-/***/ },
-
-/***/ 6279
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-
-module.exports = function (target, src, options) {
- for (var key in src) defineBuiltIn(target, key, src[key], options);
- return target;
-};
-
-
-/***/ },
-
-/***/ 9433
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-
-module.exports = function (key, value) {
- try {
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
- } catch (error) {
- globalThis[key] = value;
- } return value;
-};
-
-
-/***/ },
-
-/***/ 3724
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-// Detect IE8's incomplete defineProperty implementation
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
-});
-
-
-/***/ },
-
-/***/ 4483
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getBuiltInNodeModule = __webpack_require__(9429);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var $ArrayBuffer = globalThis.ArrayBuffer;
-var $MessageChannel = globalThis.MessageChannel;
-var detach = false;
-var WorkerThreads, channel, buffer, $detach;
-
-if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- detach = function (transferable) {
- structuredClone(transferable, { transfer: [transferable] });
- };
-} else if ($ArrayBuffer) try {
- if (!$MessageChannel) {
- WorkerThreads = getBuiltInNodeModule('worker_threads');
- if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
- }
-
- if ($MessageChannel) {
- channel = new $MessageChannel();
- buffer = new $ArrayBuffer(2);
-
- $detach = function (transferable) {
- channel.port1.postMessage(null, [transferable]);
- };
-
- if (buffer.byteLength === 2) {
- $detach(buffer);
- if (buffer.byteLength === 0) detach = $detach;
- }
- }
-} catch (error) { /* empty */ }
-
-module.exports = detach;
-
-
-/***/ },
-
-/***/ 4055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-
-var document = globalThis.document;
-// typeof document.createElement is 'object' in old IE
-var EXISTS = isObject(document) && isObject(document.createElement);
-
-module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
-};
-
-
-/***/ },
-
-/***/ 6837
-(module) {
-
-
-var $TypeError = TypeError;
-var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
-
-module.exports = function (it) {
- if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
- return it;
-};
-
-
-/***/ },
-
-/***/ 8727
-(module) {
-
-
-// IE8- don't enum bug keys
-module.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
-];
-
-
-/***/ },
-
-/***/ 6193
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ENVIRONMENT = __webpack_require__(4215);
-
-module.exports = ENVIRONMENT === 'NODE';
-
-
-/***/ },
-
-/***/ 2839
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-var navigator = globalThis.navigator;
-var userAgent = navigator && navigator.userAgent;
-
-module.exports = userAgent ? String(userAgent) : '';
-
-
-/***/ },
-
-/***/ 9519
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-
-var process = globalThis.process;
-var Deno = globalThis.Deno;
-var versions = process && process.versions || Deno && Deno.version;
-var v8 = versions && versions.v8;
-var match, version;
-
-if (v8) {
- match = v8.split('.');
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
- // but their correct versions are not interesting for us
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-}
-
-// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-// so check `userAgent` even if `.v8` exists, but 0
-if (!version && userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = +match[1];
- }
-}
-
-module.exports = version;
-
-
-/***/ },
-
-/***/ 4215
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global Bun, Deno -- detection */
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-var classof = __webpack_require__(2195);
-
-var userAgentStartsWith = function (string) {
- return userAgent.slice(0, string.length) === string;
-};
-
-module.exports = (function () {
- if (userAgentStartsWith('Bun/')) return 'BUN';
- if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
- if (userAgentStartsWith('Deno/')) return 'DENO';
- if (userAgentStartsWith('Node.js/')) return 'NODE';
- if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
- if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
- if (classof(globalThis.process) === 'process') return 'NODE';
- if (globalThis.window && globalThis.document) return 'BROWSER';
- return 'REST';
-})();
-
-
-/***/ },
-
-/***/ 6518
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineGlobalProperty = __webpack_require__(9433);
-var copyConstructorProperties = __webpack_require__(7740);
-var isForced = __webpack_require__(2796);
-
-/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
-*/
-module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = globalThis;
- } else if (STATIC) {
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
- } else {
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- defineBuiltIn(target, key, sourceProperty, options);
- }
-};
-
-
-/***/ },
-
-/***/ 9039
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 8745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var apply = FunctionPrototype.apply;
-var call = FunctionPrototype.call;
-
-// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
-module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
-});
-
-
-/***/ },
-
-/***/ 6080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(7476);
-var aCallable = __webpack_require__(9306);
-var NATIVE_BIND = __webpack_require__(616);
-
-var bind = uncurryThis(uncurryThis.bind);
-
-// optional / simple context binding
-module.exports = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 616
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = function () { /* empty */ }.bind();
- // eslint-disable-next-line no-prototype-builtins -- safe
- return typeof test != 'function' || test.hasOwnProperty('prototype');
-});
-
-
-/***/ },
-
-/***/ 9565
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var call = Function.prototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-module.exports = NATIVE_BIND ? call.bind(call) : function () {
- return call.apply(call, arguments);
-};
-
-
-/***/ },
-
-/***/ 350
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var hasOwn = __webpack_require__(9297);
-
-var FunctionPrototype = Function.prototype;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
-
-var EXISTS = hasOwn(FunctionPrototype, 'name');
-// additional protection from minified / mangled / dropped function names
-var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
-var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
-
-module.exports = {
- EXISTS: EXISTS,
- PROPER: PROPER,
- CONFIGURABLE: CONFIGURABLE
-};
-
-
-/***/ },
-
-/***/ 6706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var aCallable = __webpack_require__(9306);
-
-module.exports = function (object, key, method) {
- try {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) { /* empty */ }
-};
-
-
-/***/ },
-
-/***/ 7476
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classofRaw = __webpack_require__(2195);
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
-};
-
-
-/***/ },
-
-/***/ 9504
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var call = FunctionPrototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
-
-module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
- return function () {
- return call.apply(fn, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 944
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (options) {
- var alphabet = options && options.alphabet;
- if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
- throw new $TypeError('Incorrect `alphabet` option');
-};
-
-
-/***/ },
-
-/***/ 9429
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var IS_NODE = __webpack_require__(6193);
-
-module.exports = function (name) {
- if (IS_NODE) {
- try {
- return globalThis.process.getBuiltinModule(name);
- } catch (error) { /* empty */ }
- try {
- // eslint-disable-next-line no-new-func -- safe
- return Function('return require("' + name + '")')();
- } catch (error) { /* empty */ }
- }
-};
-
-
-/***/ },
-
-/***/ 7751
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var aFunction = function (argument) {
- return isCallable(argument) ? argument : undefined;
-};
-
-module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
-};
-
-
-/***/ },
-
-/***/ 1767
-(module) {
-
-
-// `GetIteratorDirect(obj)` abstract operation
-// https://tc39.es/ecma262/#sec-getiteratordirect
-module.exports = function (obj) {
- return {
- iterator: obj,
- next: obj.next,
- done: false
- };
-};
-
-
-/***/ },
-
-/***/ 8646
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorMethod = __webpack_require__(851);
-
-module.exports = function (obj, stringHandling) {
- if (!stringHandling || typeof obj !== 'string') anObject(obj);
- var method = getIteratorMethod(obj);
- return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
-};
-
-
-/***/ },
-
-/***/ 851
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-var getMethod = __webpack_require__(5966);
-var isNullOrUndefined = __webpack_require__(4117);
-var Iterators = __webpack_require__(6269);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = function (it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
- || getMethod(it, '@@iterator')
- || Iterators[classof(it)];
-};
-
-
-/***/ },
-
-/***/ 81
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var getIteratorMethod = __webpack_require__(851);
-
-var $TypeError = TypeError;
-
-module.exports = function (argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + ' is not iterable');
-};
-
-
-/***/ },
-
-/***/ 5966
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var isNullOrUndefined = __webpack_require__(4117);
-
-// `GetMethod` abstract operation
-// https://tc39.es/ecma262/#sec-getmethod
-module.exports = function (V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? undefined : aCallable(func);
-};
-
-
-/***/ },
-
-/***/ 3789
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var call = __webpack_require__(9565);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var getIteratorDirect = __webpack_require__(1767);
-
-var INVALID_SIZE = 'Invalid size';
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var max = Math.max;
-
-var SetRecord = function (set, intSize) {
- this.set = set;
- this.size = max(intSize, 0);
- this.has = aCallable(set.has);
- this.keys = aCallable(set.keys);
-};
-
-SetRecord.prototype = {
- getIterator: function () {
- return getIteratorDirect(anObject(call(this.keys, this.set)));
- },
- includes: function (it) {
- return call(this.has, this.set, it);
- }
-};
-
-// `GetSetRecord` abstract operation
-// https://tc39.es/proposal-set-methods/#sec-getsetrecord
-module.exports = function (obj) {
- anObject(obj);
- var numSize = +obj.size;
- // NOTE: If size is undefined, then numSize will be NaN
- // eslint-disable-next-line no-self-compare -- NaN check
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
- var intSize = toIntegerOrInfinity(numSize);
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
- return new SetRecord(obj, intSize);
-};
-
-
-/***/ },
-
-/***/ 4576
-(module) {
-
-
-var check = function (it) {
- return it && it.Math === Math && it;
-};
-
-// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-module.exports =
- // eslint-disable-next-line es/no-global-this -- safe
- check(typeof globalThis == 'object' && globalThis) ||
- check(typeof window == 'object' && window) ||
- // eslint-disable-next-line no-restricted-globals -- safe
- check(typeof self == 'object' && self) ||
- check(typeof global == 'object' && global) ||
- check(typeof this == 'object' && this) ||
- // eslint-disable-next-line no-new-func -- fallback
- (function () { return this; })() || Function('return this')();
-
-
-/***/ },
-
-/***/ 9297
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var toObject = __webpack_require__(8981);
-
-var hasOwnProperty = uncurryThis({}.hasOwnProperty);
-
-// `HasOwnProperty` abstract operation
-// https://tc39.es/ecma262/#sec-hasownproperty
-// eslint-disable-next-line es/no-object-hasown -- safe
-module.exports = Object.hasOwn || function hasOwn(it, key) {
- return hasOwnProperty(toObject(it), key);
-};
-
-
-/***/ },
-
-/***/ 421
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-module.exports = getBuiltIn('document', 'documentElement');
-
-
-/***/ },
-
-/***/ 5917
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-var createElement = __webpack_require__(4055);
-
-// Thanks to IE8 for its funny defineProperty
-module.exports = !DESCRIPTORS && !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () { return 7; }
- }).a !== 7;
-});
-
-
-/***/ },
-
-/***/ 7055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var classof = __webpack_require__(2195);
-
-var $Object = Object;
-var split = uncurryThis(''.split);
-
-// fallback for non-array-like ES3 and non-enumerable old V8 strings
-module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins -- safe
- return !$Object('z').propertyIsEnumerable(0);
-}) ? function (it) {
- return classof(it) === 'String' ? split(it, '') : $Object(it);
-} : $Object;
-
-
-/***/ },
-
-/***/ 3706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var isCallable = __webpack_require__(4901);
-var store = __webpack_require__(7629);
-
-var functionToString = uncurryThis(Function.toString);
-
-// this helper broken in `[email protected]`, so we can't use `shared` helper
-if (!isCallable(store.inspectSource)) {
- store.inspectSource = function (it) {
- return functionToString(it);
- };
-}
-
-module.exports = store.inspectSource;
-
-
-/***/ },
-
-/***/ 1181
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_WEAK_MAP = __webpack_require__(8622);
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var hasOwn = __webpack_require__(9297);
-var shared = __webpack_require__(7629);
-var sharedKey = __webpack_require__(6119);
-var hiddenKeys = __webpack_require__(421);
-
-var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-var TypeError = globalThis.TypeError;
-var WeakMap = globalThis.WeakMap;
-var set, get, has;
-
-var enforce = function (it) {
- return has(it) ? get(it) : set(it, {});
-};
-
-var getterFor = function (TYPE) {
- return function (it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
- } return state;
- };
-};
-
-if (NATIVE_WEAK_MAP || shared.state) {
- var store = shared.state || (shared.state = new WeakMap());
- /* eslint-disable no-self-assign -- prototype methods protection */
- store.get = store.get;
- store.has = store.has;
- store.set = store.set;
- /* eslint-enable no-self-assign -- prototype methods protection */
- set = function (it, metadata) {
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- store.set(it, metadata);
- return metadata;
- };
- get = function (it) {
- return store.get(it) || {};
- };
- has = function (it) {
- return store.has(it);
- };
-} else {
- var STATE = sharedKey('state');
- hiddenKeys[STATE] = true;
- set = function (it, metadata) {
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- createNonEnumerableProperty(it, STATE, metadata);
- return metadata;
- };
- get = function (it) {
- return hasOwn(it, STATE) ? it[STATE] : {};
- };
- has = function (it) {
- return hasOwn(it, STATE);
- };
-}
-
-module.exports = {
- set: set,
- get: get,
- has: has,
- enforce: enforce,
- getterFor: getterFor
-};
-
-
-/***/ },
-
-/***/ 4209
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-var Iterators = __webpack_require__(6269);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var ArrayPrototype = Array.prototype;
-
-// check on default Array iterator
-module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
-};
-
-
-/***/ },
-
-/***/ 4376
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(2195);
-
-// `IsArray` abstract operation
-// https://tc39.es/ecma262/#sec-isarray
-// eslint-disable-next-line es/no-array-isarray -- safe
-module.exports = Array.isArray || function isArray(argument) {
- return classof(argument) === 'Array';
-};
-
-
-/***/ },
-
-/***/ 1108
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-module.exports = function (it) {
- var klass = classof(it);
- return klass === 'BigInt64Array' || klass === 'BigUint64Array';
-};
-
-
-/***/ },
-
-/***/ 4901
-(module) {
-
-
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
-var documentAll = typeof document == 'object' && document.all;
-
-// `IsCallable` abstract operation
-// https://tc39.es/ecma262/#sec-iscallable
-// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
-module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
- return typeof argument == 'function' || argument === documentAll;
-} : function (argument) {
- return typeof argument == 'function';
-};
-
-
-/***/ },
-
-/***/ 2796
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-
-var replacement = /#|\.prototype\./;
-
-var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value === POLYFILL ? true
- : value === NATIVE ? false
- : isCallable(detection) ? fails(detection)
- : !!detection;
-};
-
-var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
-};
-
-var data = isForced.data = {};
-var NATIVE = isForced.NATIVE = 'N';
-var POLYFILL = isForced.POLYFILL = 'P';
-
-module.exports = isForced;
-
-
-/***/ },
-
-/***/ 4117
-(module) {
-
-
-// we can't use just `it == null` since of `document.all` special case
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
-module.exports = function (it) {
- return it === null || it === undefined;
-};
-
-
-/***/ },
-
-/***/ 34
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-
-module.exports = function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it);
-};
-
-
-/***/ },
-
-/***/ 3925
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-module.exports = function (argument) {
- return isObject(argument) || argument === null;
-};
-
-
-/***/ },
-
-/***/ 6395
-(module) {
-
-
-module.exports = false;
-
-
-/***/ },
-
-/***/ 5810
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-var getInternalState = (__webpack_require__(1181).get);
-
-module.exports = function isRawJSON(O) {
- if (!isObject(O)) return false;
- var state = getInternalState(O);
- return !!state && state.type === 'RawJSON';
-};
-
-
-/***/ },
-
-/***/ 757
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var isCallable = __webpack_require__(4901);
-var isPrototypeOf = __webpack_require__(1625);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var $Object = Object;
-
-module.exports = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- var $Symbol = getBuiltIn('Symbol');
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
-};
-
-
-/***/ },
-
-/***/ 507
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-
-module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
- var next = record.next;
- var step, result;
- while (!(step = call(next, iterator)).done) {
- result = fn(step.value);
- if (result !== undefined) return result;
- }
-};
-
-
-/***/ },
-
-/***/ 2652
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var bind = __webpack_require__(6080);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var isArrayIteratorMethod = __webpack_require__(4209);
-var lengthOfArrayLike = __webpack_require__(6198);
-var isPrototypeOf = __webpack_require__(1625);
-var getIterator = __webpack_require__(81);
-var getIteratorMethod = __webpack_require__(851);
-var iteratorClose = __webpack_require__(9539);
-
-var $TypeError = TypeError;
-
-var Result = function (stopped, result) {
- this.stopped = stopped;
- this.result = result;
-};
-
-var ResultPrototype = Result.prototype;
-
-module.exports = function (iterable, unboundFunction, options) {
- var that = options && options.that;
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
- var IS_RECORD = !!(options && options.IS_RECORD);
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
- var INTERRUPTED = !!(options && options.INTERRUPTED);
- var fn = bind(unboundFunction, that);
- var iterator, iterFn, index, length, result, next, step;
-
- var stop = function (condition) {
- var $iterator = iterator;
- iterator = undefined;
- if ($iterator) iteratorClose($iterator, 'normal');
- return new Result(true, condition);
- };
-
- var callFn = function (value) {
- if (AS_ENTRIES) {
- anObject(value);
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
- } return INTERRUPTED ? fn(value, stop) : fn(value);
- };
-
- if (IS_RECORD) {
- iterator = iterable.iterator;
- } else if (IS_ITERATOR) {
- iterator = iterable;
- } else {
- iterFn = getIteratorMethod(iterable);
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
- // optimisation for array iterators
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
- result = callFn(iterable[index]);
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
- }
- iterator = getIterator(iterable, iterFn);
- }
-
- next = IS_RECORD ? iterable.next : iterator.next;
- while (!(step = call(next, iterator)).done) {
- // `IteratorValue` errors should propagate without closing the iterator
- var value = step.value;
- try {
- result = callFn(value);
- } catch (error) {
- if (iterator) iteratorClose(iterator, 'throw', error);
- else throw error;
- }
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
-};
-
-
-/***/ },
-
-/***/ 1385
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var iteratorClose = __webpack_require__(9539);
-
-module.exports = function (iters, kind, value) {
- for (var i = iters.length - 1; i >= 0; i--) {
- if (iters[i] === undefined) continue;
- try {
- value = iteratorClose(iters[i].iterator, kind, value);
- } catch (error) {
- kind = 'throw';
- value = error;
- }
- }
- if (kind === 'throw') throw value;
- return value;
-};
-
-
-/***/ },
-
-/***/ 9539
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getMethod = __webpack_require__(5966);
-
-module.exports = function (iterator, kind, value) {
- var innerResult, innerError;
- anObject(iterator);
- try {
- innerResult = getMethod(iterator, 'return');
- if (!innerResult) {
- if (kind === 'throw') throw value;
- return value;
- }
- innerResult = call(innerResult, iterator);
- } catch (error) {
- innerError = true;
- innerResult = error;
- }
- if (kind === 'throw') throw value;
- if (innerError) throw innerResult;
- anObject(innerResult);
- return value;
-};
-
-
-/***/ },
-
-/***/ 9462
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var create = __webpack_require__(2360);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIns = __webpack_require__(6279);
-var wellKnownSymbol = __webpack_require__(8227);
-var InternalStateModule = __webpack_require__(1181);
-var getMethod = __webpack_require__(5966);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var createIterResultObject = __webpack_require__(2529);
-var iteratorClose = __webpack_require__(9539);
-var iteratorCloseAll = __webpack_require__(1385);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var ITERATOR_HELPER = 'IteratorHelper';
-var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
-var NORMAL = 'normal';
-var THROW = 'throw';
-var setInternalState = InternalStateModule.set;
-
-var createIteratorProxyPrototype = function (IS_ITERATOR) {
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
-
- return defineBuiltIns(create(IteratorPrototype), {
- next: function next() {
- var state = getInternalState(this);
- // for simplification:
- // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
- // for `%IteratorHelperPrototype%.next` - just a value
- if (IS_ITERATOR) return state.nextHandler();
- if (state.done) return createIterResultObject(undefined, true);
- try {
- var result = state.nextHandler();
- return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
- } catch (error) {
- state.done = true;
- throw error;
- }
- },
- 'return': function () {
- var state = getInternalState(this);
- var iterator = state.iterator;
- var done = state.done;
- state.done = true;
- if (IS_ITERATOR) {
- var returnMethod = getMethod(iterator, 'return');
- return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
- }
- if (done) return createIterResultObject(undefined, true);
- if (state.inner) try {
- iteratorClose(state.inner.iterator, NORMAL);
- } catch (error) {
- return iteratorClose(iterator, THROW, error);
- }
- if (state.openIters) try {
- iteratorCloseAll(state.openIters, NORMAL);
- } catch (error) {
- if (iterator) return iteratorClose(iterator, THROW, error);
- throw error;
- }
- if (iterator) iteratorClose(iterator, NORMAL);
- return createIterResultObject(undefined, true);
- }
- });
-};
-
-var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
-var IteratorHelperPrototype = createIteratorProxyPrototype(false);
-
-createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
-
-module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
- var IteratorProxy = function Iterator(record, state) {
- if (state) {
- state.iterator = record.iterator;
- state.next = record.next;
- } else state = record;
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
- state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
- state.nextHandler = nextHandler;
- state.counter = 0;
- state.done = false;
- setInternalState(this, state);
- };
-
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
-
- return IteratorProxy;
-};
-
-
-/***/ },
-
-/***/ 684
-(module) {
-
-
-// Should throw an error on invalid iterator
-// https://issues.chromium.org/issues/336839115
-module.exports = function (methodName, argument) {
- // eslint-disable-next-line es/no-iterator -- required for testing
- var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
- if (method) try {
- method.call({ next: null }, argument).next();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 4549
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// https://github.com/tc39/ecma262/pull/3467
-module.exports = function (METHOD_NAME, ExpectedError) {
- var Iterator = globalThis.Iterator;
- var IteratorPrototype = Iterator && Iterator.prototype;
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
-
- var CLOSED = false;
-
- if (method) try {
- method.call({
- next: function () { return { done: true }; },
- 'return': function () { CLOSED = true; }
- }, -1);
- } catch (error) {
- // https://bugs.webkit.org/show_bug.cgi?id=291195
- if (!(error instanceof ExpectedError)) CLOSED = false;
- }
-
- if (!CLOSED) return method;
-};
-
-
-/***/ },
-
-/***/ 7657
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var create = __webpack_require__(2360);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltIn = __webpack_require__(6840);
-var wellKnownSymbol = __webpack_require__(8227);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var BUGGY_SAFARI_ITERATORS = false;
-
-// `%IteratorPrototype%` object
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
-var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
-
-/* eslint-disable es/no-array-prototype-keys -- safe */
-if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
-}
-
-var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
- var test = {};
- // FF44- legacy iterators case
- return IteratorPrototype[ITERATOR].call(test) !== test;
-});
-
-if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
-else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
-
-// `%IteratorPrototype%[@@iterator]()` method
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-if (!isCallable(IteratorPrototype[ITERATOR])) {
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
- return this;
- });
-}
-
-module.exports = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
-};
-
-
-/***/ },
-
-/***/ 6269
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 6198
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toLength = __webpack_require__(8014);
-
-// `LengthOfArrayLike` abstract operation
-// https://tc39.es/ecma262/#sec-lengthofarraylike
-module.exports = function (obj) {
- return toLength(obj.length);
-};
-
-
-/***/ },
-
-/***/ 283
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var hasOwn = __webpack_require__(9297);
-var DESCRIPTORS = __webpack_require__(3724);
-var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
-var inspectSource = __webpack_require__(3706);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var $String = String;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var stringSlice = uncurryThis(''.slice);
-var replace = uncurryThis(''.replace);
-var join = uncurryThis([].join);
-
-var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
-});
-
-var TEMPLATE = String(String).split('String');
-
-var makeBuiltIn = module.exports = function (value, name, options) {
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
- }
- if (options && options.getter) name = 'get ' + name;
- if (options && options.setter) name = 'set ' + name;
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
- else value.name = name;
- }
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
- defineProperty(value, 'length', { value: options.arity });
- }
- try {
- if (options && hasOwn(options, 'constructor') && options.constructor) {
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
- } else if (value.prototype) value.prototype = undefined;
- } catch (error) { /* empty */ }
- var state = enforceInternalState(value);
- if (!hasOwn(state, 'source')) {
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
- } return value;
-};
-
-// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
-// eslint-disable-next-line no-extend-native -- required
-Function.prototype.toString = makeBuiltIn(function toString() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
-}, 'toString');
-
-
-/***/ },
-
-/***/ 2248
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-map -- safe
-var MapPrototype = Map.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-map -- safe
- Map: Map,
- set: uncurryThis(MapPrototype.set),
- get: uncurryThis(MapPrototype.get),
- has: uncurryThis(MapPrototype.has),
- remove: uncurryThis(MapPrototype['delete']),
- proto: MapPrototype
-};
-
-
-/***/ },
-
-/***/ 741
-(module) {
-
-
-var ceil = Math.ceil;
-var floor = Math.floor;
-
-// `Math.trunc` method
-// https://tc39.es/ecma262/#sec-math.trunc
-// eslint-disable-next-line es/no-math-trunc -- safe
-module.exports = Math.trunc || function trunc(x) {
- var n = +x;
- return (n > 0 ? floor : ceil)(n);
-};
-
-
-/***/ },
-
-/***/ 7819
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-json -- safe */
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- var unsafeInt = '9007199254740993';
- // eslint-disable-next-line es/no-json-rawjson -- feature detection
- var raw = JSON.rawJSON(unsafeInt);
- // eslint-disable-next-line es/no-json-israwjson -- feature detection
- return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
-});
-
-
-/***/ },
-
-/***/ 6043
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-
-var $TypeError = TypeError;
-
-var PromiseCapability = function (C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aCallable(resolve);
- this.reject = aCallable(reject);
-};
-
-// `NewPromiseCapability` abstract operation
-// https://tc39.es/ecma262/#sec-newpromisecapability
-module.exports.f = function (C) {
- return new PromiseCapability(C);
-};
-
-
-/***/ },
-
-/***/ 2360
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global ActiveXObject -- old IE, WSH */
-var anObject = __webpack_require__(8551);
-var definePropertiesModule = __webpack_require__(6801);
-var enumBugKeys = __webpack_require__(8727);
-var hiddenKeys = __webpack_require__(421);
-var html = __webpack_require__(397);
-var documentCreateElement = __webpack_require__(4055);
-var sharedKey = __webpack_require__(6119);
-
-var PROTOTYPE = 'prototype';
-var IE_PROTO = sharedKey('IE_PROTO');
-
-var EmptyConstructor = function () { /* empty */ };
-
-var scriptTag = function (content) {
- return '<script>' + content + '</script>';
-};
-
-// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
-var NullProtoObjectViaActiveX = function (activeXDocument) {
- activeXDocument.write(scriptTag(''));
- activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- // eslint-disable-next-line no-useless-assignment -- avoid memory leak
- activeXDocument = null;
- return temp;
-};
-
-// Create object with fake `null` prototype: use iframe Object with cleared prototype
-var NullProtoObjectViaIFrame = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = documentCreateElement('iframe');
- var JS = 'javascript:';
- var iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- // https://github.com/zloirock/core-js/issues/475
- iframe.src = String(JS);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(scriptTag('document.F=Object'));
- iframeDocument.close();
- return iframeDocument.F;
-};
-
-// Check for document.domain and active x support
-// No need to use active x approach when document.domain is not set
-// see https://github.com/es-shims/es5-shim/issues/150
-// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
-// avoid IE GC bug
-var activeXDocument;
-var NullProtoObject = function () {
- try {
- activeXDocument = new ActiveXObject('htmlfile');
- } catch (error) { /* ignore */ }
- NullProtoObject = typeof document != 'undefined'
- ? document.domain && activeXDocument
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
- : NullProtoObjectViaIFrame()
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
- var length = enumBugKeys.length;
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
- return NullProtoObject();
-};
-
-hiddenKeys[IE_PROTO] = true;
-
-// `Object.create` method
-// https://tc39.es/ecma262/#sec-object.create
-// eslint-disable-next-line es/no-object-create -- safe
-module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject(O);
- result = new EmptyConstructor();
- EmptyConstructor[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = NullProtoObject();
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
-};
-
-
-/***/ },
-
-/***/ 6801
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var definePropertyModule = __webpack_require__(4913);
-var anObject = __webpack_require__(8551);
-var toIndexedObject = __webpack_require__(5397);
-var objectKeys = __webpack_require__(1072);
-
-// `Object.defineProperties` method
-// https://tc39.es/ecma262/#sec-object.defineproperties
-// eslint-disable-next-line es/no-object-defineproperties -- safe
-exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var props = toIndexedObject(Properties);
- var keys = objectKeys(Properties);
- var length = keys.length;
- var index = 0;
- var key;
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
- return O;
-};
-
-
-/***/ },
-
-/***/ 4913
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var anObject = __webpack_require__(8551);
-var toPropertyKey = __webpack_require__(6969);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var $defineProperty = Object.defineProperty;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var ENUMERABLE = 'enumerable';
-var CONFIGURABLE = 'configurable';
-var WRITABLE = 'writable';
-
-// `Object.defineProperty` method
-// https://tc39.es/ecma262/#sec-object.defineproperty
-exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
- var current = $getOwnPropertyDescriptor(O, P);
- if (current && current[WRITABLE]) {
- O[P] = Attributes.value;
- Attributes = {
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
- writable: false
- };
- }
- } return $defineProperty(O, P, Attributes);
-} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-
-/***/ },
-
-/***/ 7347
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var call = __webpack_require__(9565);
-var propertyIsEnumerableModule = __webpack_require__(8773);
-var createPropertyDescriptor = __webpack_require__(6980);
-var toIndexedObject = __webpack_require__(5397);
-var toPropertyKey = __webpack_require__(6969);
-var hasOwn = __webpack_require__(9297);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// `Object.getOwnPropertyDescriptor` method
-// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPropertyKey(P);
- if (IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) { /* empty */ }
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
-};
-
-
-/***/ },
-
-/***/ 8480
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-var hiddenKeys = enumBugKeys.concat('length', 'prototype');
-
-// `Object.getOwnPropertyNames` method
-// https://tc39.es/ecma262/#sec-object.getownpropertynames
-// eslint-disable-next-line es/no-object-getownpropertynames -- safe
-exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return internalObjectKeys(O, hiddenKeys);
-};
-
-
-/***/ },
-
-/***/ 3717
-(__unused_webpack_module, exports) {
-
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
-exports.f = Object.getOwnPropertySymbols;
-
-
-/***/ },
-
-/***/ 2787
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var isCallable = __webpack_require__(4901);
-var toObject = __webpack_require__(8981);
-var sharedKey = __webpack_require__(6119);
-var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);
-
-var IE_PROTO = sharedKey('IE_PROTO');
-var $Object = Object;
-var ObjectPrototype = $Object.prototype;
-
-// `Object.getPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.getprototypeof
-// eslint-disable-next-line es/no-object-getprototypeof -- safe
-module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- if (isCallable(constructor) && object instanceof constructor) {
- return constructor.prototype;
- } return object instanceof $Object ? ObjectPrototype : null;
-};
-
-
-/***/ },
-
-/***/ 1625
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis({}.isPrototypeOf);
-
-
-/***/ },
-
-/***/ 1828
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-var toIndexedObject = __webpack_require__(5397);
-var indexOf = (__webpack_require__(9617).indexOf);
-var hiddenKeys = __webpack_require__(421);
-
-var push = uncurryThis([].push);
-
-module.exports = function (object, names) {
- var O = toIndexedObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
- ~indexOf(result, key) || push(result, key);
- }
- return result;
-};
-
-
-/***/ },
-
-/***/ 1072
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-// `Object.keys` method
-// https://tc39.es/ecma262/#sec-object.keys
-// eslint-disable-next-line es/no-object-keys -- safe
-module.exports = Object.keys || function keys(O) {
- return internalObjectKeys(O, enumBugKeys);
-};
-
-
-/***/ },
-
-/***/ 8773
-(__unused_webpack_module, exports) {
-
-
-var $propertyIsEnumerable = {}.propertyIsEnumerable;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Nashorn ~ JDK8 bug
-var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
-
-// `Object.prototype.propertyIsEnumerable` method implementation
-// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
-} : $propertyIsEnumerable;
-
-
-/***/ },
-
-/***/ 2967
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable no-proto -- safe */
-var uncurryThisAccessor = __webpack_require__(6706);
-var isObject = __webpack_require__(34);
-var requireObjectCoercible = __webpack_require__(7750);
-var aPossiblePrototype = __webpack_require__(3506);
-
-// `Object.setPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.setprototypeof
-// Works with __proto__ only. Old v8 can't work with null proto objects.
-// eslint-disable-next-line es/no-object-setprototypeof -- safe
-module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
- setter(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- requireObjectCoercible(O);
- aPossiblePrototype(proto);
- if (!isObject(O)) return O;
- if (CORRECT_SETTER) setter(O, proto);
- else O.__proto__ = proto;
- return O;
- };
-}() : undefined);
-
-
-/***/ },
-
-/***/ 4270
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-
-var $TypeError = TypeError;
-
-// `OrdinaryToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-module.exports = function (input, pref) {
- var fn, val;
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw new $TypeError("Can't convert object to primitive value");
-};
-
-
-/***/ },
-
-/***/ 5031
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var getOwnPropertyNamesModule = __webpack_require__(8480);
-var getOwnPropertySymbolsModule = __webpack_require__(3717);
-var anObject = __webpack_require__(8551);
-
-var concat = uncurryThis([].concat);
-
-// all object keys, includes non-enumerable and symbols
-module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
-};
-
-
-/***/ },
-
-/***/ 8235
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-
-var $SyntaxError = SyntaxError;
-var $parseInt = parseInt;
-var fromCharCode = String.fromCharCode;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-
-var codePoints = {
- '\\"': '"',
- '\\\\': '\\',
- '\\/': '/',
- '\\b': '\b',
- '\\f': '\f',
- '\\n': '\n',
- '\\r': '\r',
- '\\t': '\t'
-};
-
-var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
-// eslint-disable-next-line regexp/no-control-character -- safe
-var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
-
-module.exports = function (source, i) {
- var unterminated = true;
- var value = '';
- while (i < source.length) {
- var chr = at(source, i);
- if (chr === '\\') {
- var twoChars = slice(source, i, i + 2);
- if (hasOwn(codePoints, twoChars)) {
- value += codePoints[twoChars];
- i += 2;
- } else if (twoChars === '\\u') {
- i += 2;
- var fourHexDigits = slice(source, i, i + 4);
- if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
- value += fromCharCode($parseInt(fourHexDigits, 16));
- i += 4;
- } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
- } else if (chr === '"') {
- unterminated = false;
- i++;
- break;
- } else {
- if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
- value += chr;
- i++;
- }
- }
- if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
- return { value: value, end: i };
-};
-
-
-/***/ },
-
-/***/ 1103
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return { error: false, value: exec() };
- } catch (error) {
- return { error: true, value: error };
- }
-};
-
-
-/***/ },
-
-/***/ 7750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isNullOrUndefined = __webpack_require__(4117);
-
-var $TypeError = TypeError;
-
-// `RequireObjectCoercible` abstract operation
-// https://tc39.es/ecma262/#sec-requireobjectcoercible
-module.exports = function (it) {
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 9286
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var SetHelpers = __webpack_require__(4402);
-var iterate = __webpack_require__(8469);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-
-module.exports = function (set) {
- var result = new Set();
- iterate(set, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 3440
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-module.exports = function difference(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = clone(O);
- if (size(result) <= otherRec.size) iterateSet(result, function (e) {
- if (otherRec.includes(e)) remove(result, e);
- });
- else iterateSimple(otherRec.getIterator(), function (e) {
- if (has(result, e)) remove(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4402
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-set -- safe
-var SetPrototype = Set.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-set -- safe
- Set: Set,
- add: uncurryThis(SetPrototype.add),
- has: uncurryThis(SetPrototype.has),
- remove: uncurryThis(SetPrototype['delete']),
- proto: SetPrototype
-};
-
-
-/***/ },
-
-/***/ 8750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-module.exports = function intersection(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = new Set();
-
- if (size(O) > otherRec.size) {
- iterateSimple(otherRec.getIterator(), function (e) {
- if (has(O, e)) add(result, e);
- });
- } else {
- iterateSet(O, function (e) {
- if (otherRec.includes(e)) add(result, e);
- });
- }
-
- return result;
-};
-
-
-/***/ },
-
-/***/ 4449
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-module.exports = function isDisjointFrom(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
- if (otherRec.includes(e)) return false;
- }, true) !== false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 3838
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var size = __webpack_require__(5170);
-var iterate = __webpack_require__(8469);
-var getSetRecord = __webpack_require__(3789);
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-module.exports = function isSubsetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) > otherRec.size) return false;
- return iterate(O, function (e) {
- if (!otherRec.includes(e)) return false;
- }, true) !== false;
-};
-
-
-/***/ },
-
-/***/ 8527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-module.exports = function isSupersetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) < otherRec.size) return false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (!has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 8469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var iterateSimple = __webpack_require__(507);
-var SetHelpers = __webpack_require__(4402);
-
-var Set = SetHelpers.Set;
-var SetPrototype = SetHelpers.proto;
-var forEach = uncurryThis(SetPrototype.forEach);
-var keys = uncurryThis(SetPrototype.keys);
-var next = keys(new Set()).next;
-
-module.exports = function (set, fn, interruptible) {
- return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
-};
-
-
-/***/ },
-
-/***/ 4916
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-var createSetLike = function (size) {
- return {
- size: size,
- has: function () {
- return false;
- },
- keys: function () {
- return {
- next: function () {
- return { done: true };
- }
- };
- }
- };
-};
-
-var createSetLikeWithInfinitySize = function (size) {
- return {
- size: size,
- has: function () {
- return true;
- },
- keys: function () {
- throw new Error('e');
- }
- };
-};
-
-module.exports = function (name, callback) {
- var Set = getBuiltIn('Set');
- try {
- new Set()[name](createSetLike(0));
- try {
- // late spec change, early WebKit ~ Safari 17 implementation does not pass it
- // https://github.com/tc39/proposal-set-methods/pull/88
- // also covered engines with
- // https://bugs.webkit.org/show_bug.cgi?id=272679
- new Set()[name](createSetLike(-1));
- return false;
- } catch (error2) {
- if (!callback) return true;
- // early V8 implementation bug
- // https://issues.chromium.org/issues/351332634
- try {
- new Set()[name](createSetLikeWithInfinitySize(-Infinity));
- return false;
- } catch (error) {
- var set = new Set([1, 2]);
- return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
- }
- }
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 9835
-(module) {
-
-
-// Should get iterator record of a set-like object before cloning this
-// https://bugs.webkit.org/show_bug.cgi?id=289430
-module.exports = function (METHOD_NAME) {
- try {
- // eslint-disable-next-line es/no-set -- needed for test
- var baseSet = new Set();
- var setLike = {
- size: 0,
- has: function () { return true; },
- keys: function () {
- // eslint-disable-next-line es/no-object-defineproperty -- needed for test
- return Object.defineProperty({}, 'next', {
- get: function () {
- baseSet.clear();
- baseSet.add(4);
- return function () {
- return { done: true };
- };
- }
- });
- }
- };
- var result = baseSet[METHOD_NAME](setLike);
-
- return result.size === 1 && result.values().next().value === 4;
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 5170
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThisAccessor = __webpack_require__(6706);
-var SetHelpers = __webpack_require__(4402);
-
-module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
- return set.size;
-};
-
-
-/***/ },
-
-/***/ 3650
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-module.exports = function symmetricDifference(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (e) {
- if (has(O, e)) remove(result, e);
- else add(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4204
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var add = (__webpack_require__(4402).add);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-module.exports = function union(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 6119
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var shared = __webpack_require__(5745);
-var uid = __webpack_require__(3392);
-
-var keys = shared('keys');
-
-module.exports = function (key) {
- return keys[key] || (keys[key] = uid(key));
-};
-
-
-/***/ },
-
-/***/ 7629
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var IS_PURE = __webpack_require__(6395);
-var globalThis = __webpack_require__(4576);
-var defineGlobalProperty = __webpack_require__(9433);
-
-var SHARED = '__core-js_shared__';
-var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
-
-(store.versions || (store.versions = [])).push({
- version: '3.49.0',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
- source: 'https://github.com/zloirock/core-js'
-});
-
-
-/***/ },
-
-/***/ 5745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var store = __webpack_require__(7629);
-
-module.exports = function (key, value) {
- return store[key] || (store[key] = value || {});
-};
-
-
-/***/ },
-
-/***/ 1548
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var fails = __webpack_require__(9039);
-var V8 = __webpack_require__(9519);
-var ENVIRONMENT = __webpack_require__(4215);
-
-var structuredClone = globalThis.structuredClone;
-
-module.exports = !!structuredClone && !fails(function () {
- // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
- // https://github.com/zloirock/core-js/issues/679
- if ((ENVIRONMENT === 'DENO' && V8 > 92) || (ENVIRONMENT === 'NODE' && V8 > 94) || (ENVIRONMENT === 'BROWSER' && V8 > 97)) return false;
- var buffer = new ArrayBuffer(8);
- var clone = structuredClone(buffer, { transfer: [buffer] });
- return buffer.byteLength !== 0 || clone.byteLength !== 8;
-});
-
-
-/***/ },
-
-/***/ 4495
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var V8_VERSION = __webpack_require__(9519);
-var fails = __webpack_require__(9039);
-var globalThis = __webpack_require__(4576);
-
-var $String = globalThis.String;
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- var symbol = Symbol('symbol detection');
- // Chrome 38 Symbol has incorrect toString conversion
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
- // of course, fail.
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
-});
-
-
-/***/ },
-
-/***/ 5610
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var max = Math.max;
-var min = Math.min;
-
-// Helper for a popular repeating case of the spec:
-// Let integer be ? ToInteger(index).
-// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-module.exports = function (index, length) {
- var integer = toIntegerOrInfinity(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
-};
-
-
-/***/ },
-
-/***/ 5854
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-
-var $TypeError = TypeError;
-
-// `ToBigInt` abstract operation
-// https://tc39.es/ecma262/#sec-tobigint
-module.exports = function (argument) {
- var prim = toPrimitive(argument, 'number');
- if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
- // eslint-disable-next-line es/no-bigint -- safe
- return BigInt(prim);
-};
-
-
-/***/ },
-
-/***/ 7696
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toLength = __webpack_require__(8014);
-
-var $RangeError = RangeError;
-
-// `ToIndex` abstract operation
-// https://tc39.es/ecma262/#sec-toindex
-module.exports = function (it) {
- if (it === undefined) return 0;
- var number = toIntegerOrInfinity(it);
- var length = toLength(number);
- if (number !== length) throw new $RangeError('Wrong length or index');
- return length;
-};
-
-
-/***/ },
-
-/***/ 5397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-// toObject with fallback for non-array-like ES3 strings
-var IndexedObject = __webpack_require__(7055);
-var requireObjectCoercible = __webpack_require__(7750);
-
-module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
-};
-
-
-/***/ },
-
-/***/ 1291
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var trunc = __webpack_require__(741);
-
-// `ToIntegerOrInfinity` abstract operation
-// https://tc39.es/ecma262/#sec-tointegerorinfinity
-module.exports = function (argument) {
- var number = +argument;
- // eslint-disable-next-line no-self-compare -- NaN check
- return number !== number || number === 0 ? 0 : trunc(number);
-};
-
-
-/***/ },
-
-/***/ 8014
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var min = Math.min;
-
-// `ToLength` abstract operation
-// https://tc39.es/ecma262/#sec-tolength
-module.exports = function (argument) {
- var len = toIntegerOrInfinity(argument);
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
-};
-
-
-/***/ },
-
-/***/ 8981
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var requireObjectCoercible = __webpack_require__(7750);
-
-var $Object = Object;
-
-// `ToObject` abstract operation
-// https://tc39.es/ecma262/#sec-toobject
-module.exports = function (argument) {
- return $Object(requireObjectCoercible(argument));
-};
-
-
-/***/ },
-
-/***/ 2777
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isObject = __webpack_require__(34);
-var isSymbol = __webpack_require__(757);
-var getMethod = __webpack_require__(5966);
-var ordinaryToPrimitive = __webpack_require__(4270);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var $TypeError = TypeError;
-var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
-
-// `ToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-toprimitive
-module.exports = function (input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
- var result;
- if (exoticToPrim) {
- if (pref === undefined) pref = 'default';
- result = call(exoticToPrim, input, pref);
- if (!isObject(result) || isSymbol(result)) return result;
- throw new $TypeError("Can't convert object to primitive value");
- }
- if (pref === undefined) pref = 'number';
- return ordinaryToPrimitive(input, pref);
-};
-
-
-/***/ },
-
-/***/ 6969
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-var isSymbol = __webpack_require__(757);
-
-// `ToPropertyKey` abstract operation
-// https://tc39.es/ecma262/#sec-topropertykey
-module.exports = function (argument) {
- var key = toPrimitive(argument, 'string');
- return isSymbol(key) ? key : key + '';
-};
-
-
-/***/ },
-
-/***/ 2140
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var test = {};
-// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
-test[TO_STRING_TAG] = 'z';
-
-module.exports = String(test) === '[object z]';
-
-
-/***/ },
-
-/***/ 655
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $String = String;
-
-module.exports = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
-};
-
-
-/***/ },
-
-/***/ 6823
-(module) {
-
-
-var $String = String;
-
-module.exports = function (argument) {
- try {
- return $String(argument);
- } catch (error) {
- return 'Object';
- }
-};
-
-
-/***/ },
-
-/***/ 3392
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var id = 0;
-var postfix = Math.random();
-var toString = uncurryThis(1.1.toString);
-
-module.exports = function (key) {
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
-};
-
-
-/***/ },
-
-/***/ 9143
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var aString = __webpack_require__(3463);
-var hasOwn = __webpack_require__(9297);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-var notDetached = __webpack_require__(5169);
-
-var base64Alphabet = base64Map.c2i;
-var base64UrlAlphabet = base64Map.c2iUrl;
-
-var SyntaxError = globalThis.SyntaxError;
-var TypeError = globalThis.TypeError;
-var at = uncurryThis(''.charAt);
-
-var skipAsciiWhitespace = function (string, index) {
- var length = string.length;
- for (;index < length; index++) {
- var chr = at(string, index);
- if (chr !== ' ' && chr !== '\t' && chr !== '\n' && chr !== '\f' && chr !== '\r') break;
- } return index;
-};
-
-var decodeBase64Chunk = function (chunk, alphabet, throwOnExtraBits) {
- var chunkLength = chunk.length;
-
- if (chunkLength < 4) {
- chunk += chunkLength === 2 ? 'AA' : 'A';
- }
-
- var triplet = (alphabet[at(chunk, 0)] << 18)
- + (alphabet[at(chunk, 1)] << 12)
- + (alphabet[at(chunk, 2)] << 6)
- + alphabet[at(chunk, 3)];
-
- var chunkBytes = [
- (triplet >> 16) & 255,
- (triplet >> 8) & 255,
- triplet & 255
- ];
-
- if (chunkLength === 2) {
- if (throwOnExtraBits && chunkBytes[1] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0]];
- }
-
- if (chunkLength === 3) {
- if (throwOnExtraBits && chunkBytes[2] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0], chunkBytes[1]];
- }
-
- return chunkBytes;
-};
-
-var writeBytes = function (bytes, elements, written) {
- var elementsLength = elements.length;
- for (var index = 0; index < elementsLength; index++) {
- bytes[written + index] = elements[index];
- }
- return written + elementsLength;
-};
-
-/* eslint-disable max-statements, max-depth -- TODO */
-module.exports = function (string, options, into, maxLength) {
- aString(string);
- anObjectOrUndefined(options);
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var lastChunkHandling = options ? options.lastChunkHandling : undefined;
-
- if (lastChunkHandling === undefined) lastChunkHandling = 'loose';
-
- if (lastChunkHandling !== 'loose' && lastChunkHandling !== 'strict' && lastChunkHandling !== 'stop-before-partial') {
- throw new TypeError('Incorrect `lastChunkHandling` option');
- }
-
- if (into) notDetached(into.buffer);
-
- var stringLength = string.length;
- var bytes = into || [];
- var written = 0;
- var read = 0;
- var chunk = '';
- var index = 0;
-
- if (maxLength) while (true) {
- index = skipAsciiWhitespace(string, index);
- if (index === stringLength) {
- if (chunk.length > 0) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- if (lastChunkHandling === 'loose') {
- if (chunk.length === 1) {
- throw new SyntaxError('Malformed padding: exactly one additional character');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- } else {
- throw new SyntaxError('Missing padding');
- }
- }
- read = stringLength;
- break;
- }
- var chr = at(string, index);
- ++index;
- if (chr === '=') {
- if (chunk.length < 2) {
- throw new SyntaxError('Padding is too early');
- }
- index = skipAsciiWhitespace(string, index);
- if (chunk.length === 2) {
- if (index === stringLength) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- throw new SyntaxError('Malformed padding: only one =');
- }
- if (at(string, index) === '=') {
- ++index;
- index = skipAsciiWhitespace(string, index);
- }
- }
- if (index < stringLength) {
- throw new SyntaxError('Unexpected character after padding');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === 'strict'), written);
- read = stringLength;
- break;
- }
- if (!hasOwn(alphabet, chr)) {
- throw new SyntaxError('Unexpected character');
- }
- var remainingBytes = maxLength - written;
- if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) {
- // special case: we can fit exactly the number of bytes currently represented by chunk, so we were just checking for `=`
- break;
- }
-
- chunk += chr;
- if (chunk.length === 4) {
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- chunk = '';
- read = index;
- if (written === maxLength) {
- break;
- }
- }
- }
-
- return { bytes: bytes, read: read, written: written };
-};
-
-
-/***/ },
-
-/***/ 2303
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-
-var Uint8Array = globalThis.Uint8Array;
-var SyntaxError = globalThis.SyntaxError;
-var min = Math.min;
-var stringMatch = uncurryThis(''.match);
-
-module.exports = function (string, into) {
- var stringLength = string.length;
- if (stringLength % 2 !== 0) throw new SyntaxError('String should be an even number of characters');
- var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
- var bytes = into || new Uint8Array(maxLength);
- var segments = stringMatch(string, /.{2}/g);
- var written = 0;
- for (; written < maxLength; written++) {
- var result = +('0x' + segments[written] + '0');
- // eslint-disable-next-line no-self-compare -- NaN check
- if (result !== result) {
- throw new SyntaxError('String should only contain hex characters');
- }
- bytes[written] = result >> 4;
- }
- return { bytes: bytes, read: written << 1 };
-};
-
-
-/***/ },
-
-/***/ 7416
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var wellKnownSymbol = __webpack_require__(8227);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = !fails(function () {
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
- var url = new URL('b?a=1&b=2&c=3', 'https://a');
- var params = url.searchParams;
- var params2 = new URLSearchParams('a=1&a=2&b=3');
- var result = '';
- url.pathname = 'c%20d';
- params.forEach(function (value, key) {
- params['delete']('b');
- result += key + value;
- });
- params2['delete']('a', 2);
- // `undefined` case is a Chromium 117 bug
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
- params2['delete']('b', undefined);
- return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
- || (!params.size && (IS_PURE || !DESCRIPTORS))
- || !params.sort
- || url.href !== 'https://a/c%20d?a=1&c=3'
- || params.get('c') !== '3'
- || String(new URLSearchParams('?a=1')) !== 'a=1'
- || !params[ITERATOR]
- // throws in Edge
- || new URL('https://a@b').username !== 'a'
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
- // not punycoded in Edge
- || new URL('https://тест').host !== 'xn--e1aybc'
- // not escaped in Chrome 62-
- || new URL('https://a#б').hash !== '#%D0%B1'
- // fails in Chrome 66-
- || result !== 'a1c3'
- // throws in Safari
- || new URL('https://x', undefined).host !== 'x';
-});
-
-
-/***/ },
-
-/***/ 7040
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-module.exports = NATIVE_SYMBOL &&
- !Symbol.sham &&
- typeof Symbol.iterator == 'symbol';
-
-
-/***/ },
-
-/***/ 8686
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-
-// V8 ~ Chrome 36-
-// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-module.exports = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
- value: 42,
- writable: false
- }).prototype !== 42;
-});
-
-
-/***/ },
-
-/***/ 2812
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (passed, required) {
- if (passed < required) throw new $TypeError('Not enough arguments');
- return passed;
-};
-
-
-/***/ },
-
-/***/ 8622
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var WeakMap = globalThis.WeakMap;
-
-module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
-
-
-/***/ },
-
-/***/ 4995
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-weak-map -- safe
-var WeakMapPrototype = WeakMap.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-weak-map -- safe
- WeakMap: WeakMap,
- set: uncurryThis(WeakMapPrototype.set),
- get: uncurryThis(WeakMapPrototype.get),
- has: uncurryThis(WeakMapPrototype.has),
- remove: uncurryThis(WeakMapPrototype['delete'])
-};
-
-
-/***/ },
-
-/***/ 8227
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var shared = __webpack_require__(5745);
-var hasOwn = __webpack_require__(9297);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var Symbol = globalThis.Symbol;
-var WellKnownSymbolsStore = shared('wks');
-var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
-
-module.exports = function (name) {
- if (!hasOwn(WellKnownSymbolsStore, name)) {
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
- ? Symbol[name]
- : createWellKnownSymbol('Symbol.' + name);
- } return WellKnownSymbolsStore[name];
-};
-
-
-/***/ },
-
-/***/ 6573
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isDetached = __webpack_require__(3238);
-
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-
-// `ArrayBuffer.prototype.detached` getter
-// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
-if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
- defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
- configurable: true,
- get: function detached() {
- return isDetached(this);
- }
- });
-}
-
-
-/***/ },
-
-/***/ 7936
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transferToFixedLength` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transferToFixedLength: function transferToFixedLength() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, false);
- }
-});
-
-
-/***/ },
-
-/***/ 8100
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transfer` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transfer: function transfer() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, true);
- }
-});
-
-
-/***/ },
-
-/***/ 4423
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $includes = (__webpack_require__(9617).includes);
-var fails = __webpack_require__(9039);
-var addToUnscopables = __webpack_require__(6469);
-
-// FF99+ bug
-var BROKEN_ON_SPARSE = fails(function () {
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
- return !Array(1).includes();
-});
-
-// Safari 26.4- bug
-var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
- return [, 1].includes(undefined, 1);
-});
-
-// `Array.prototype.includes` method
-// https://tc39.es/ecma262/#sec-array.prototype.includes
-$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
-});
-
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-addToUnscopables('includes');
-
-
-/***/ },
-
-/***/ 4114
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var toObject = __webpack_require__(8981);
-var lengthOfArrayLike = __webpack_require__(6198);
-var setArrayLength = __webpack_require__(4527);
-var doesNotExceedSafeInteger = __webpack_require__(6837);
-var fails = __webpack_require__(9039);
-
-var INCORRECT_TO_LENGTH = fails(function () {
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
-});
-
-// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
-// https://bugs.chromium.org/p/v8/issues/detail?id=12681
-var properErrorOnNonWritableLength = function () {
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).push();
- } catch (error) {
- return error instanceof TypeError;
- }
-};
-
-var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
-
-// `Array.prototype.push` method
-// https://tc39.es/ecma262/#sec-array.prototype.push
-$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- push: function push(item) {
- var O = toObject(this);
- var len = lengthOfArrayLike(O);
- var argCount = arguments.length;
- doesNotExceedSafeInteger(len + argCount);
- for (var i = 0; i < argCount; i++) {
- O[len] = arguments[i];
- len++;
- }
- setArrayLength(O, len);
- return len;
- }
-});
-
-
-/***/ },
-
-/***/ 8111
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var anInstance = __webpack_require__(679);
-var anObject = __webpack_require__(8551);
-var isCallable = __webpack_require__(4901);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var hasOwn = __webpack_require__(9297);
-var wellKnownSymbol = __webpack_require__(8227);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var CONSTRUCTOR = 'constructor';
-var ITERATOR = 'Iterator';
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-
-var $TypeError = TypeError;
-var NativeIterator = globalThis[ITERATOR];
-
-// FF56- have non-standard global helper `Iterator`
-var FORCED = IS_PURE
- || !isCallable(NativeIterator)
- || NativeIterator.prototype !== IteratorPrototype
- // FF44- non-standard `Iterator` passes previous tests
- || !fails(function () { NativeIterator({}); });
-
-var IteratorConstructor = function Iterator() {
- anInstance(this, IteratorPrototype);
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
-};
-
-var defineIteratorPrototypeAccessor = function (key, value) {
- if (DESCRIPTORS) {
- defineBuiltInAccessor(IteratorPrototype, key, {
- configurable: true,
- get: function () {
- return value;
- },
- set: function (replacement) {
- anObject(this);
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
- if (hasOwn(this, key)) this[key] = replacement;
- else createProperty(this, key, replacement);
- }
- });
- } else IteratorPrototype[key] = value;
-};
-
-if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
-
-if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
-}
-
-IteratorConstructor.prototype = IteratorPrototype;
-
-// `Iterator` constructor
-// https://tc39.es/ecma262/#sec-iterator
-$({ global: true, constructor: true, forced: FORCED }, {
- Iterator: IteratorConstructor
-});
-
-
-/***/ },
-
-/***/ 1148
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('every', TypeError);
-
-// `Iterator.prototype.every` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.every
-$({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
- every: function every(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (everyWithoutClosingOnEarlyError) return call(everyWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return !iterate(record, function (value, stop) {
- if (!predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 2489
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var IS_PURE = __webpack_require__(6395);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
-var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
-
-var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var predicate = this.predicate;
- var next = this.next;
- var result, done, value;
- while (true) {
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- value = result.value;
- if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
- }
-});
-
-// `Iterator.prototype.filter` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.filter
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- filter: function filter(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
-
- return new IteratorProxy(getIteratorDirect(this), {
- predicate: predicate
- });
- }
-});
-
-
-/***/ },
-
-/***/ 116
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
-
-// `Iterator.prototype.find` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.find
-$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
- find: function find(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop(value);
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
- }
-});
-
-
-/***/ },
-
-/***/ 531
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorFlattenable = __webpack_require__(8646);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var IS_PURE = __webpack_require__(6395);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-// Should not throw an error for an iterator without `return` method. Fixed in Safari 26.2
-// https://bugs.webkit.org/show_bug.cgi?id=297532
-function throwsOnIteratorWithoutReturn() {
- try {
- // eslint-disable-next-line es/no-map, es/no-iterator, es/no-iterator-prototype-flatmap -- required for testing
- var it = Iterator.prototype.flatMap.call(new Map([[4, 5]]).entries(), function (v) { return v; });
- it.next();
- it['return']();
- } catch (error) {
- return true;
- }
-}
-
-var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE
- && !iteratorHelperThrowsOnInvalidIterator('flatMap', function () { /* empty */ });
-var flatMapWithoutClosingOnEarlyError = !IS_PURE && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('flatMap', TypeError);
-
-var FORCED = IS_PURE || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError
- || throwsOnIteratorWithoutReturn();
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var mapper = this.mapper;
- var result, inner;
-
- while (true) {
- if (inner = this.inner) try {
- result = anObject(call(inner.next, inner.iterator));
- if (!result.done) return result.value;
- this.inner = null;
- } catch (error) { iteratorClose(iterator, 'throw', error); }
-
- result = anObject(call(this.next, iterator));
-
- if (this.done = !!result.done) return;
-
- try {
- this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
- } catch (error) { iteratorClose(iterator, 'throw', error); }
- }
-});
-
-// `Iterator.prototype.flatMap` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- flatMap: function flatMap(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (flatMapWithoutClosingOnEarlyError) return call(flatMapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper,
- inner: null
- });
- }
-});
-
-
-/***/ },
-
-/***/ 7588
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
-
-// `Iterator.prototype.forEach` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
-$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
- forEach: function forEach(fn) {
- anObject(this);
- try {
- aCallable(fn);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- iterate(record, function (value) {
- fn(value, counter++);
- }, { IS_RECORD: true });
- }
-});
-
-
-/***/ },
-
-/***/ 1701
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
-var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
-
-var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
-});
-
-// `Iterator.prototype.map` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.map
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- map: function map(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper
- });
- }
-});
-
-
-/***/ },
-
-/***/ 3579
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
-
-// `Iterator.prototype.some` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.some
-$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
- some: function some(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 1806
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var anObject = __webpack_require__(8551);
-var createProperty = __webpack_require__(4659);
-var iterate = __webpack_require__(2652);
-var getIteratorDirect = __webpack_require__(1767);
-
-// `Iterator.prototype.toArray` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.toarray
-$({ target: 'Iterator', proto: true, real: true }, {
- toArray: function toArray() {
- var result = [];
- var index = 0;
- iterate(getIteratorDirect(anObject(this)), function (element) {
- createProperty(result, index++, element);
- }, { IS_RECORD: true });
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 3110
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var apply = __webpack_require__(8745);
-var call = __webpack_require__(9565);
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isArray = __webpack_require__(4376);
-var isCallable = __webpack_require__(4901);
-var isRawJSON = __webpack_require__(5810);
-var isSymbol = __webpack_require__(757);
-var classof = __webpack_require__(2195);
-var toString = __webpack_require__(655);
-var arraySlice = __webpack_require__(7680);
-var parseJSONString = __webpack_require__(8235);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var NATIVE_RAW_JSON = __webpack_require__(7819);
-
-var $String = String;
-var $stringify = getBuiltIn('JSON', 'stringify');
-var exec = uncurryThis(/./.exec);
-var charAt = uncurryThis(''.charAt);
-var charCodeAt = uncurryThis(''.charCodeAt);
-var replace = uncurryThis(''.replace);
-var slice = uncurryThis(''.slice);
-var push = uncurryThis([].push);
-var numberToString = uncurryThis(1.1.toString);
-
-var surrogates = /[\uD800-\uDFFF]/g;
-var leadingSurrogates = /^[\uD800-\uDBFF]$/;
-var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
-
-var MARK = uid();
-var MARK_LENGTH = MARK.length;
-
-var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
- var symbol = getBuiltIn('Symbol')('stringify detection');
- // MS Edge converts symbol values to JSON as {}
- return $stringify([symbol]) !== '[null]'
- // WebKit converts symbol values to JSON as null
- || $stringify({ a: symbol }) !== '{}'
- // V8 throws on boxed symbols
- || $stringify(Object(symbol)) !== '{}';
-});
-
-// https://github.com/tc39/proposal-well-formed-stringify
-var ILL_FORMED_UNICODE = fails(function () {
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
- || $stringify('\uDEAD') !== '"\\udead"';
-});
-
-var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
- var args = arraySlice(arguments);
- var $replacer = getReplacerFunction(replacer);
- if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
- args[1] = function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
- if (!isSymbol(value)) return value;
- };
- return apply($stringify, null, args);
-} : $stringify;
-
-var fixIllFormedJSON = function (match, offset, string) {
- var prev = charAt(string, offset - 1);
- var next = charAt(string, offset + 1);
- if (
- (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
- (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
- ) {
- return '\\u' + numberToString(charCodeAt(match, 0), 16);
- } return match;
-};
-
-var getReplacerFunction = function (replacer) {
- if (isCallable(replacer)) return replacer;
- if (!isArray(replacer)) return;
- var rawLength = replacer.length;
- var keys = [];
- for (var i = 0; i < rawLength; i++) {
- var element = replacer[i];
- if (typeof element == 'string') push(keys, element);
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
- }
- var keysLength = keys.length;
- var root = true;
- return function (key, value) {
- if (root) {
- root = false;
- return value;
- }
- if (isArray(this)) return value;
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
- };
-};
-
-// `JSON.stringify` method
-// https://tc39.es/ecma262/#sec-json.stringify
-// https://github.com/tc39/proposal-json-parse-with-source
-if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
- stringify: function stringify(text, replacer, space) {
- var replacerFunction = getReplacerFunction(replacer);
- var rawStrings = [];
-
- var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
- return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
- }, space);
-
- if (typeof json != 'string') return json;
-
- if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
-
- if (NATIVE_RAW_JSON) return json;
-
- var result = '';
- var length = json.length;
-
- for (var i = 0; i < length; i++) {
- var chr = charAt(json, i);
- if (chr === '"') {
- var end = parseJSONString(json, ++i).end - 1;
- var string = slice(json, i, end);
- result += slice(string, 0, MARK_LENGTH) === MARK
- ? rawStrings[slice(string, MARK_LENGTH)]
- : '"' + string + '"';
- i = end;
- } else result += chr;
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 2731
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- var hasKey = has(this, key);
- aCallable(callbackfn);
- if (hasKey) return get(this, key);
- // CanonicalizeKeyedCollectionKey
- if (key === 0 && 1 / key === -Infinity) key = 0;
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 5367
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3068
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-// based on Shewchuk's algorithm for exactly floating point addition
-// adapted from https://github.com/tc39/proposal-math-sum/blob/3513d58323a1ae25560e8700aa5294500c6c9287/polyfill/polyfill.mjs
-var $ = __webpack_require__(6518);
-var uncurryThis = __webpack_require__(9504);
-var iterate = __webpack_require__(2652);
-
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var $Infinity = Infinity;
-var $NaN = NaN;
-var abs = Math.abs;
-var pow = Math.pow;
-var push = uncurryThis([].push);
-
-var POW_2_1023 = pow(2, 1023);
-var MAX_SAFE_INTEGER = pow(2, 53) - 1; // 2 ** 53 - 1 === 9007199254740991
-var MAX_DOUBLE = Number.MAX_VALUE; // 2 ** 1024 - 2 ** (1023 - 52) === 1.79769313486231570815e+308
-var MAX_ULP = pow(2, 971); // 2 ** (1023 - 52) === 1.99584030953471981166e+292
-
-var NOT_A_NUMBER = {};
-var MINUS_INFINITY = {};
-var PLUS_INFINITY = {};
-var MINUS_ZERO = {};
-var FINITE = {};
-
-// prerequisite: abs(x) >= abs(y)
-var twosum = function (x, y) {
- var hi = x + y;
- var lo = y - (hi - x);
- return { hi: hi, lo: lo };
-};
-
-// `Math.sumPrecise` method
-// https://tc39.es/ecma262/#sec-math.sumprecise
-$({ target: 'Math', stat: true }, {
- // eslint-disable-next-line max-statements -- ok
- sumPrecise: function sumPrecise(items) {
- var numbers = [];
- var count = 0;
- var state = MINUS_ZERO;
-
- iterate(items, function (n) {
- if (++count > MAX_SAFE_INTEGER) throw new $RangeError('Maximum allowed index exceeded');
- if (typeof n != 'number') throw new $TypeError('Value is not a number');
- if (state !== NOT_A_NUMBER) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (n !== n) state = NOT_A_NUMBER;
- else if (n === $Infinity) state = state === MINUS_INFINITY ? NOT_A_NUMBER : PLUS_INFINITY;
- else if (n === -$Infinity) state = state === PLUS_INFINITY ? NOT_A_NUMBER : MINUS_INFINITY;
- else if ((n !== 0 || (1 / n) === $Infinity) && (state === MINUS_ZERO || state === FINITE)) {
- state = FINITE;
- push(numbers, n);
- }
- }
- });
-
- switch (state) {
- case NOT_A_NUMBER: return $NaN;
- case MINUS_INFINITY: return -$Infinity;
- case PLUS_INFINITY: return $Infinity;
- case MINUS_ZERO: return -0;
- }
-
- var partials = [];
- var overflow = 0; // conceptually 2 ** 1024 times this value; the final partial is biased by this amount
- var x, y, sum, hi, lo, tmp;
-
- for (var i = 0; i < numbers.length; i++) {
- x = numbers[i];
- var actuallyUsedPartials = 0;
- for (var j = 0; j < partials.length; j++) {
- y = partials[j];
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- if (abs(hi) === $Infinity) {
- var sign = hi === $Infinity ? 1 : -1;
- overflow += sign;
-
- x = (x - (sign * POW_2_1023)) - (sign * POW_2_1023);
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- }
- if (lo !== 0) partials[actuallyUsedPartials++] = lo;
- x = hi;
- }
- partials.length = actuallyUsedPartials;
- if (x !== 0) push(partials, x);
- }
-
- // compute the exact sum of partials, stopping once we lose precision
- var n = partials.length - 1;
- hi = 0;
- lo = 0;
-
- if (overflow !== 0) {
- var next = n >= 0 ? partials[n] : 0;
- n--;
- if (abs(overflow) > 1 || (overflow > 0 && next > 0) || (overflow < 0 && next < 0)) {
- return overflow > 0 ? $Infinity : -$Infinity;
- }
- // here we actually have to do the arithmetic
- // drop a factor of 2 so we can do it without overflow
- // assert(abs(overflow) === 1)
- sum = twosum(overflow * POW_2_1023, next / 2);
- hi = sum.hi;
- lo = sum.lo;
- lo *= 2;
- if (abs(2 * hi) === $Infinity) {
- // rounding to the maximum value
- if (hi > 0) {
- return (hi === POW_2_1023 && lo === -(MAX_ULP / 2) && n >= 0 && partials[n] < 0) ? MAX_DOUBLE : $Infinity;
- } return (hi === -POW_2_1023 && lo === (MAX_ULP / 2) && n >= 0 && partials[n] > 0) ? -MAX_DOUBLE : -$Infinity;
- }
-
- if (lo !== 0) {
- partials[++n] = lo;
- lo = 0;
- }
-
- hi *= 2;
- }
-
- while (n >= 0) {
- sum = twosum(hi, partials[n--]);
- hi = sum.hi;
- lo = sum.lo;
- if (lo !== 0) break;
- }
-
- if (n >= 0 && ((lo < 0 && partials[n] < 0) || (lo > 0 && partials[n] > 0))) {
- y = lo * 2;
- x = hi + y;
- if (y === x - hi) hi = x;
- }
-
- return hi;
- }
-});
-
-
-/***/ },
-
-/***/ 1689
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var apply = __webpack_require__(8745);
-var slice = __webpack_require__(7680);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-var aCallable = __webpack_require__(9306);
-var perform = __webpack_require__(1103);
-
-var Promise = globalThis.Promise;
-
-var ACCEPT_ARGUMENTS = false;
-// Avoiding the use of polyfills of the previous iteration of this proposal
-// that does not accept arguments of the callback
-var FORCED = !Promise || !Promise['try'] || perform(function () {
- Promise['try'](function (argument) {
- ACCEPT_ARGUMENTS = argument === 8;
- }, 8);
-}).error || !ACCEPT_ARGUMENTS;
-
-// `Promise.try` method
-// https://tc39.es/ecma262/#sec-promise.try
-$({ target: 'Promise', stat: true, forced: FORCED }, {
- 'try': function (callbackfn /* , ...args */) {
- var args = arguments.length > 1 ? slice(arguments, 1) : [];
- var promiseCapability = newPromiseCapabilityModule.f(this);
- var result = perform(function () {
- return apply(aCallable(callbackfn), undefined, args);
- });
- (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
- return promiseCapability.promise;
- }
-});
-
-
-/***/ },
-
-/***/ 4628
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-
-// `Promise.withResolvers` method
-// https://tc39.es/ecma262/#sec-promise.withResolvers
-$({ target: 'Promise', stat: true }, {
- withResolvers: function withResolvers() {
- var promiseCapability = newPromiseCapabilityModule.f(this);
- return {
- promise: promiseCapability.promise,
- resolve: promiseCapability.resolve,
- reject: promiseCapability.reject
- };
- }
-});
-
-
-/***/ },
-
-/***/ 7642
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var difference = __webpack_require__(3440);
-var fails = __webpack_require__(9039);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike('difference', function (result) {
- return result.size === 0;
-});
-
-var FORCED = SET_LIKE_INCORRECT_BEHAVIOR || fails(function () {
- // https://bugs.webkit.org/show_bug.cgi?id=288595
- var setLike = {
- size: 1,
- has: function () { return true; },
- keys: function () {
- var index = 0;
- return {
- next: function () {
- var done = index++ > 1;
- if (baseSet.has(1)) baseSet.clear();
- return { done: done, value: 2 };
- }
- };
- }
- };
- // eslint-disable-next-line es/no-set -- testing
- var baseSet = new Set([1, 2, 3, 4]);
- // eslint-disable-next-line es/no-set-prototype-difference -- testing
- return baseSet.difference(setLike).size !== 3;
-});
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- difference: difference
-});
-
-
-/***/ },
-
-/***/ 8004
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var fails = __webpack_require__(9039);
-var intersection = __webpack_require__(8750);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
- return result.size === 2 && result.has(1) && result.has(2);
-}) || fails(function () {
- // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
-});
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- intersection: intersection
-});
-
-
-/***/ },
-
-/***/ 3853
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isDisjointFrom = __webpack_require__(4449);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
- return !result;
-});
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isDisjointFrom: isDisjointFrom
-});
-
-
-/***/ },
-
-/***/ 5876
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSubsetOf = __webpack_require__(3838);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
- return result;
-});
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSubsetOf: isSubsetOf
-});
-
-
-/***/ },
-
-/***/ 2475
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSupersetOf = __webpack_require__(8527);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
- return !result;
-});
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSupersetOf: isSupersetOf
-});
-
-
-/***/ },
-
-/***/ 5024
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var symmetricDifference = __webpack_require__(3650);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('symmetricDifference') || !setMethodGetKeysBeforeCloning('symmetricDifference');
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- symmetricDifference: symmetricDifference
-});
-
-
-/***/ },
-
-/***/ 1698
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var union = __webpack_require__(4204);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- union: union
-});
-
-
-/***/ },
-
-/***/ 9577
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ArrayBufferViewCore = __webpack_require__(4644);
-var isBigIntArray = __webpack_require__(1108);
-var lengthOfArrayLike = __webpack_require__(6198);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toBigInt = __webpack_require__(5854);
-
-var aTypedArray = ArrayBufferViewCore.aTypedArray;
-var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
-var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
-
-var $RangeError = RangeError;
-
-var PROPER_ORDER = function () {
- try {
- // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
- } catch (error) {
- // some early implementations, like WebKit, does not follow the final semantic
- // https://github.com/tc39/proposal-change-array-by-copy/pull/86
- return error === 8;
- }
-}();
-
-// Bug in WebKit. It should truncate a negative fractional index to zero, but instead throws an error
-var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
- try {
- // eslint-disable-next-line es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](-0.5, 1);
- } catch (error) {
- return true;
- }
-}();
-
-// `%TypedArray%.prototype.with` method
-// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
-exportTypedArrayMethod('with', { 'with': function (index, value) {
- var O = aTypedArray(this);
- var len = lengthOfArrayLike(O);
- var relativeIndex = toIntegerOrInfinity(index);
- var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
- var numericValue = isBigIntArray(O) ? toBigInt(value) : +value;
- if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
- var A = new (getTypedArrayConstructor(O))(len);
- var k = 0;
- for (; k < len; k++) A[k] = k === actualIndex ? numericValue : O[k];
- return A;
-} }['with'], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
-
-
-/***/ },
-
-/***/ 5213
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var arrayFromConstructorAndList = __webpack_require__(5370);
-var $fromBase64 = __webpack_require__(9143);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.fromBase64 || !function () {
- // Webkit not throw an error on odd length string
- try {
- Uint8Array.fromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- Uint8Array.fromBase64('', null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.fromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.frombase64
-if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- fromBase64: function fromBase64(string /* , options */) {
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, null, 0x1FFFFFFFFFFFFF);
- return arrayFromConstructorAndList(Uint8Array, result.bytes);
- }
-});
-
-
-/***/ },
-
-/***/ 6632
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var $fromBase64 = __webpack_require__(9143);
-var anUint8Array = __webpack_require__(4154);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.setFromBase64 || !function () {
- var target = new Uint8Array([255, 255, 255, 255, 255]);
- try {
- target.setFromBase64('', null);
- return;
- } catch (error) { /* empty */ }
- // Webkit not throw an error on odd length string
- try {
- target.setFromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- target.setFromBase64('MjYyZg===');
- } catch (error) {
- return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
- }
-}();
-
-// `Uint8Array.prototype.setFromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfrombase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- setFromBase64: function setFromBase64(string /* , options */) {
- anUint8Array(this);
-
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, this, this.length);
-
- return { read: result.read, written: result.written };
- }
-});
-
-
-/***/ },
-
-/***/ 4226
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var aString = __webpack_require__(3463);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var $fromHex = __webpack_require__(2303);
-
-// Should not throw an error on length-tracking views over ResizableArrayBuffer
-// https://issues.chromium.org/issues/454630441
-function throwsOnLengthTrackingView() {
- try {
- // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- required for testing
- var rab = new ArrayBuffer(16, { maxByteLength: 1024 });
- // eslint-disable-next-line es/no-uint8array-prototype-setfromhex, es/no-typed-arrays -- required for testing
- new Uint8Array(rab).setFromHex('cafed00d');
- } catch (error) {
- return true;
- }
-}
-
-// `Uint8Array.prototype.setFromHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfromhex
-if (globalThis.Uint8Array) $({ target: 'Uint8Array', proto: true, forced: throwsOnLengthTrackingView() }, {
- setFromHex: function setFromHex(string) {
- anUint8Array(this);
- aString(string);
- notDetached(this.buffer);
- var read = $fromHex(string, this).read;
- return { read: read, written: read / 2 };
- }
-});
-
-
-/***/ },
-
-/***/ 9486
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-
-var base64Alphabet = base64Map.i2c;
-var base64UrlAlphabet = base64Map.i2cUrl;
-
-var charAt = uncurryThis(''.charAt);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toBase64 || !function () {
- try {
- var target = new Uint8Array();
- target.toBase64(null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.prototype.toBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tobase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toBase64: function toBase64(/* options */) {
- var array = anUint8Array(this);
- var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var omitPadding = !!options && !!options.omitPadding;
- notDetached(this.buffer);
-
- var result = '';
- var i = 0;
- var length = array.length;
- var triplet;
-
- var at = function (shift) {
- return charAt(alphabet, (triplet >> (6 * shift)) & 63);
- };
-
- for (; i + 2 < length; i += 3) {
- triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
- result += at(3) + at(2) + at(1) + at(0);
- }
- if (i + 2 === length) {
- triplet = (array[i] << 16) + (array[i + 1] << 8);
- result += at(3) + at(2) + at(1) + (omitPadding ? '' : '=');
- } else if (i + 1 === length) {
- triplet = array[i] << 16;
- result += at(3) + at(2) + (omitPadding ? '' : '==');
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 456
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-
-var numberToString = uncurryThis(1.1.toString);
-var join = uncurryThis([].join);
-var $Array = Array;
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toHex || !(function () {
- try {
- var target = new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]);
- return target.toHex() === 'ffffffffffffffff';
- } catch (error) {
- return false;
- }
-})();
-
-// `Uint8Array.prototype.toHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tohex
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toHex: function toHex() {
- anUint8Array(this);
- notDetached(this.buffer);
- var result = $Array(this.length);
- for (var i = 0, length = this.length; i < length; i++) {
- var hex = numberToString(this[i], 16);
- result[i] = hex.length === 1 ? '0' + hex : hex;
- }
- return join(result, '');
- }
-});
-
-
-/***/ },
-
-/***/ 9452
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var aWeakMap = __webpack_require__(6557);
-var aWeakKey = __webpack_require__(4328);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-var FORCED = IS_PURE || !function () {
- try {
- // eslint-disable-next-line es/no-weak-map, no-throw-literal -- testing
- if (WeakMap.prototype.getOrInsertComputed) new WeakMap().getOrInsertComputed(1, function () { throw 1; });
- } catch (error) {
- // FF144 Nightly - Beta 3 bug
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1988369
- return error instanceof TypeError;
- }
-}();
-
-// `WeakMap.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsertcomputed
-$({ target: 'WeakMap', proto: true, real: true, forced: FORCED }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- if (!IS_PURE) aWeakMap(this);
- aWeakKey(key);
- aCallable(callbackfn);
- if (has(this, key)) return get(this, key);
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 8454
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-// `WeakMap.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsert
-$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3611
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var DESCRIPTORS = __webpack_require__(3724);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var INCORRECT_VALUE = globalThis.self !== globalThis;
-
-// `self` getter
-// https://html.spec.whatwg.org/multipage/window-object.html#dom-self
-try {
- if (DESCRIPTORS) {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- var descriptor = Object.getOwnPropertyDescriptor(globalThis, 'self');
- // some engines have `self`, but with incorrect descriptor
- // https://github.com/denoland/deno/issues/15765
- if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {
- defineBuiltInAccessor(globalThis, 'self', {
- get: function self() {
- return globalThis;
- },
- set: function self(value) {
- if (this !== globalThis) throw new $TypeError('Illegal invocation');
- defineProperty(globalThis, 'self', {
- value: value,
- writable: true,
- configurable: true,
- enumerable: true
- });
- },
- configurable: true,
- enumerable: true
- });
- }
- } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {
- self: globalThis
- });
-} catch (error) { /* empty */ }
-
-
-/***/ },
-
-/***/ 4603
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var append = uncurryThis(URLSearchParamsPrototype.append);
-var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-var push = uncurryThis([].push);
-var params = new $URLSearchParams('a=1&a=2&b=3');
-
-params['delete']('a', 1);
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-params['delete']('b', undefined);
-
-if (params + '' !== 'a=2') {
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $delete(this, name);
- var entries = [];
- forEach(this, function (v, k) { // also validates `this`
- push(entries, { key: k, value: v });
- });
- validateArgumentsLength(length, 1);
- var key = toString(name);
- var value = toString($value);
- var index = 0;
- var entriesLength = entries.length;
- var entry;
- while (index < entriesLength) {
- entry = entries[index];
- $delete(this, entry.key);
- index++;
- }
- index = 0;
- while (index < entriesLength) {
- entry = entries[index++];
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
- }
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 7566
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
-var $has = uncurryThis(URLSearchParamsPrototype.has);
-var params = new $URLSearchParams('a=1');
-
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-if (params.has('a', 2) || !params.has('a', undefined)) {
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $has(this, name);
- var values = getAll(this, name); // also validates `this`
- validateArgumentsLength(length, 1);
- var value = toString($value);
- var index = 0;
- while (index < values.length) {
- if (values[index++] === value) return true;
- } return false;
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 8721
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var uncurryThis = __webpack_require__(9504);
-var defineBuiltInAccessor = __webpack_require__(2106);
-
-var URLSearchParamsPrototype = URLSearchParams.prototype;
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-
-// `URLSearchParams.prototype.size` getter
-// https://github.com/whatwg/url/pull/734
-if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
- get: function size() {
- var count = 0;
- forEach(this, function () { count++; });
- return count;
- },
- configurable: true,
- enumerable: true
- });
-}
-
-
-/***/ },
-
-/***/ 5781
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var validateArgumentsLength = __webpack_require__(2812);
-var toString = __webpack_require__(655);
-var USE_NATIVE_URL = __webpack_require__(7416);
-
-var URL = getBuiltIn('URL');
-
-// `URL.parse` method
-// https://url.spec.whatwg.org/#dom-url-parse
-$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
- parse: function parse(url) {
- var length = validateArgumentsLength(arguments.length, 1);
- var urlString = toString(url);
- var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
- try {
- return new URL(urlString, base);
- } catch (error) {
- return null;
- }
- }
-});
-
-
-/***/ }
-
-/******/ });
-/************************************************************************/
-/******/ // The module cache
-/******/ var __webpack_module_cache__ = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/ // Check if module is in cache
-/******/ var cachedModule = __webpack_module_cache__[moduleId];
-/******/ if (cachedModule !== undefined) {
-/******/ return cachedModule.exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = __webpack_module_cache__[moduleId] = {
-/******/ // no module.id needed
-/******/ // no module.loaded needed
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
@@ -5835,72 +47,7 @@ $({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
/******/
/************************************************************************/
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
-var es_array_push = __webpack_require__(4114);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js
-var es_array_buffer_detached = __webpack_require__(6573);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js
-var es_array_buffer_transfer = __webpack_require__(8100);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js
-var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
-var es_iterator_constructor = __webpack_require__(8111);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
-var es_iterator_filter = __webpack_require__(2489);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
-var es_iterator_map = __webpack_require__(1701);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
-var es_iterator_some = __webpack_require__(3579);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
-var es_map_get_or_insert = __webpack_require__(5367);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert-computed.js
-var es_map_get_or_insert_computed = __webpack_require__(2731);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js
-var es_promise_with_resolvers = __webpack_require__(4628);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
-var es_set_difference_v2 = __webpack_require__(7642);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
-var es_set_intersection_v2 = __webpack_require__(8004);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
-var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
-var es_set_is_subset_of_v2 = __webpack_require__(5876);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
-var es_set_is_superset_of_v2 = __webpack_require__(2475);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
-var es_set_symmetric_difference_v2 = __webpack_require__(5024);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
-var es_set_union_v2 = __webpack_require__(1698);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js
-var es_typed_array_with = __webpack_require__(9577);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-base64.js
-var es_uint8_array_set_from_base64 = __webpack_require__(6632);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-hex.js
-var es_uint8_array_set_from_hex = __webpack_require__(4226);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-base64.js
-var es_uint8_array_to_base64 = __webpack_require__(9486);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-hex.js
-var es_uint8_array_to_hex = __webpack_require__(456);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.self.js
-var web_self = __webpack_require__(3611);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
-var es_array_includes = __webpack_require__(4423);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.parse.js
-var web_url_parse = __webpack_require__(5781);
;// ./src/shared/util.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser");
const BBOX_INIT = [Infinity, Infinity, -Infinity, -Infinity];
const F32_BBOX_INIT = new Float32Array(BBOX_INIT);
@@ -6755,53 +902,9 @@ function _isValidExplicitDest(validRef, validName, dest) {
const makeArr = () => [];
const makeMap = () => new Map();
const makeObj = () => Object.create(null);
-if (typeof Blob.prototype.bytes !== "function") {
- Blob.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof Response.prototype.bytes !== "function") {
- Response.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof AbortSignal.any !== "function") {
- AbortSignal.any = function (iterable) {
- const ac = new AbortController();
- const {
- signal
- } = ac;
- for (const s of iterable) {
- if (s.aborted) {
- ac.abort(s.reason);
- return signal;
- }
- }
- for (const s of iterable) {
- s.addEventListener("abort", () => {
- ac.abort(s.reason);
- }, {
- signal
- });
- }
- return signal;
- };
-}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
-var es_iterator_every = __webpack_require__(1148);
;// ./src/core/primitives.js
-
-
-
-
-
-
-
-
-
-
const CIRCULAR_REF = Symbol("CIRCULAR_REF");
const EOF = Symbol("EOF");
let CmdCache = Object.create(null);
@@ -7183,27 +1286,6 @@ class BaseStream {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const PDF_VERSION_REGEXP = /^[1-9]\.\d$/;
const MAX_INT_32 = 2 ** 31 - 1;
const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0];
@@ -7669,21 +1751,7 @@ function getSizeInBytes(x) {
return Math.ceil(Math.ceil(Math.log2(1 + x)) / 8);
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
-var web_url_search_params_delete = __webpack_require__(4603);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
-var web_url_search_params_has = __webpack_require__(7566);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
-var web_url_search_params_size = __webpack_require__(8721);
;// ./external/qcms/qcms_utils.js
-
-
-
-
-
-
-
-
class QCMS {
static #memoryArray = null;
static _memory = null;
@@ -7747,17 +1815,6 @@ function make_cssRGB(ptr) {
;// ./external/qcms/qcms.js
-
-
-
-
-
-
-
-
-
-
-
const DataType = Object.freeze({
RGB8: 0,
"0": "RGB8",
@@ -7966,14 +2023,6 @@ function MathClamp(v, min, max) {
-
-
-
-
-
-
-
-
function resizeRgbImage(src, dest, w1, h1, w2, h2, alpha01) {
const COMPONENTS = 3;
alpha01 = alpha01 !== 1 ? 0 : alpha01;
@@ -8671,14 +2720,6 @@ class LabCS extends ColorSpace {
-
-
-
-
-
-
-
-
function fetchSync(url) {
const xhr = new XMLHttpRequest();
xhr.open("GET", url, false);
@@ -8813,14 +2854,6 @@ class CmykICCBasedCS extends IccColorSpace {
;// ./src/core/stream.js
-
-
-
-
-
-
-
-
class Stream extends BaseStream {
constructor(arrayBuffer, start, length, dict) {
super();
@@ -8894,26 +2927,6 @@ class NullStream extends Stream {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class ChunkedStream extends Stream {
progressiveDataLength = 0;
@@ -9321,10 +3334,6 @@ class ChunkedStreamManager {
;// ./src/shared/image_utils.js
-
-
-
-
function convertToRGBA(params) {
switch (params.kind) {
case ImageKind.GRAYSCALE_1BPP:
@@ -9437,14 +3446,6 @@ function grayToRGBA(src, dest) {
-
-
-
-
-
-
-
-
const MIN_IMAGE_DIM = 2048;
const MAX_IMAGE_DIM = 32768;
const MAX_ERROR = 128;
@@ -9815,18 +3816,6 @@ class ImageResizer {
}
;// ./external/jbig2/jbig2.js
-
-
-
-
-
-
-
-
-
-
-
-
async function JBig2(moduleArg = {}) {
var moduleRtn;
var Module = moduleArg;
@@ -10131,8 +4120,6 @@ async function JBig2(moduleArg = {}) {
-
-
class Jbig2Error extends BaseException {
constructor(msg) {
super(msg, "Jbig2Error");
@@ -10256,17 +4243,6 @@ class JBig2CCITTFaxImage {
;// ./src/core/decode_stream.js
-
-
-
-
-
-
-
-
-
-
-
const emptyBuffer = new Uint8Array(0);
class DecodeStream extends BaseStream {
constructor(maybeMinBufferLength) {
@@ -10694,15 +4670,6 @@ class ColorSpaceUtils {
-
-
-
-
-
-
-
-
-
class JpegError extends BaseException {
constructor(msg) {
super(msg, "JpegError");
@@ -11823,10 +5790,6 @@ class JpegImage {
-
-
-
-
class JpegStream extends DecodeStream {
static #isImageDecoderSupported = FeatureTest.isImageDecoderSupported;
constructor(stream, maybeLength, params) {
@@ -11957,18 +5920,6 @@ class JpegStream extends DecodeStream {
}
;// ./external/openjpeg/openjpeg.js
-
-
-
-
-
-
-
-
-
-
-
-
async function OpenJPEG(moduleArg = {}) {
var moduleRtn;
var Module = moduleArg;
@@ -12524,11 +6475,6 @@ async function OpenJPEG(moduleArg = {}) {
-
-
-
-
-
class JpxError extends BaseException {
constructor(msg) {
super(msg, "JpxError");
@@ -12675,22 +6621,6 @@ class JpxImage {
;// ./src/core/operator_list.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function addState(parentState, pattern, checkFn, iterateFn, processFn) {
let state = parentState;
for (let i = 0, ii = pattern.length - 1; i < ii; i++) {
@@ -13317,15 +7247,6 @@ class CheckedOperatorList extends OperatorList {
-
-
-
-
-
-
-
-
-
const ShadingType = {
FUNCTION_BASED: 1,
AXIAL: 2,
@@ -14276,23 +8197,9 @@ function getTilingPatternIR(operatorList, dict, color, needsIsolation = true) {
return ["TilingPattern", color, operatorList, matrix, bbox, xstep, ystep, paintType, tilingType, needsIsolation];
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
-var es_iterator_find = __webpack_require__(116);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.sum-precise.js
-var es_math_sum_precise = __webpack_require__(3068);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
-var es_iterator_for_each = __webpack_require__(7588);
;// ./src/core/binary_cmap.js
-
-
-
-
-
-
-
-
function hexToInt(a, size) {
let n = 0;
for (let i = 0; i <= size; i++) {
@@ -14542,14 +8449,6 @@ class BinaryCMapReader {
;// ./src/core/ascii_85_stream.js
-
-
-
-
-
-
-
-
class Ascii85Stream extends DecodeStream {
#input = new Uint8Array(5);
constructor(str, maybeLength) {
@@ -14662,11 +8561,6 @@ class AsciiHexStream extends DecodeStream {
}
;// ./external/brotli/decode.js
-
-
-
-
-
let Options;
let makeBrotliDecode = () => {
const MAX_HUFFMAN_TABLE_SIZE = Int32Array.from([256, 402, 436, 468, 500, 534, 566, 598, 630, 662, 694, 726, 758, 790, 822, 854, 886, 920, 952, 984, 1016, 1048, 1080]);
@@ -16600,14 +10494,6 @@ let BrotliDecode = makeBrotliDecode();
-
-
-
-
-
-
-
-
class BrotliStream extends DecodeStream {
#isAsync = true;
constructor(stream, maybeLength) {
@@ -16704,14 +10590,6 @@ class CCITTFaxStream extends DecodeStream {
-
-
-
-
-
-
-
-
const codeLenCodeMap = new Int32Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]);
const lengthDecode = new Int32Array([0x00003, 0x00004, 0x00005, 0x00006, 0x00007, 0x00008, 0x00009, 0x0000a, 0x1000b, 0x1000d, 0x1000f, 0x10011, 0x20013, 0x20017, 0x2001b, 0x2001f, 0x30023, 0x3002b, 0x30033, 0x3003b, 0x40043, 0x40053, 0x40063, 0x40073, 0x50083, 0x500a3, 0x500c3, 0x500e3, 0x00102, 0x00102, 0x00102]);
const distDecode = new Int32Array([0x00001, 0x00002, 0x00003, 0x00004, 0x10005, 0x10007, 0x20009, 0x2000d, 0x30011, 0x30019, 0x40021, 0x40031, 0x50041, 0x50061, 0x60081, 0x600c1, 0x70101, 0x70181, 0x80201, 0x80301, 0x90401, 0x90601, 0xa0801, 0xa0c01, 0xb1001, 0xb1801, 0xc2001, 0xc3001, 0xd4001, 0xd6001]);
@@ -17078,14 +10956,6 @@ class JpxStream extends DecodeStream {
;// ./src/core/lzw_stream.js
-
-
-
-
-
-
-
-
class LZWStream extends DecodeStream {
constructor(str, maybeLength, earlyChange) {
super(maybeLength);
@@ -17204,14 +11074,6 @@ class LZWStream extends DecodeStream {
-
-
-
-
-
-
-
-
class PredictorStream extends DecodeStream {
constructor(str, maybeLength, params) {
super(maybeLength);
@@ -17440,17 +11302,6 @@ class RunLengthStream extends DecodeStream {
-
-
-
-
-
-
-
-
-
-
-
@@ -18501,10 +12352,6 @@ class Linearization {
-
-
-
-
const BUILT_IN_CMAPS = ["Adobe-GB1-UCS2", "Adobe-CNS1-UCS2", "Adobe-Japan1-UCS2", "Adobe-Korea1-UCS2", "78-EUC-H", "78-EUC-V", "78-H", "78-RKSJ-H", "78-RKSJ-V", "78-V", "78ms-RKSJ-H", "78ms-RKSJ-V", "83pv-RKSJ-H", "90ms-RKSJ-H", "90ms-RKSJ-V", "90msp-RKSJ-H", "90msp-RKSJ-V", "90pv-RKSJ-H", "90pv-RKSJ-V", "Add-H", "Add-RKSJ-H", "Add-RKSJ-V", "Add-V", "Adobe-CNS1-0", "Adobe-CNS1-1", "Adobe-CNS1-2", "Adobe-CNS1-3", "Adobe-CNS1-4", "Adobe-CNS1-5", "Adobe-CNS1-6", "Adobe-GB1-0", "Adobe-GB1-1", "Adobe-GB1-2", "Adobe-GB1-3", "Adobe-GB1-4", "Adobe-GB1-5", "Adobe-Japan1-0", "Adobe-Japan1-1", "Adobe-Japan1-2", "Adobe-Japan1-3", "Adobe-Japan1-4", "Adobe-Japan1-5", "Adobe-Japan1-6", "Adobe-Korea1-0", "Adobe-Korea1-1", "Adobe-Korea1-2", "B5-H", "B5-V", "B5pc-H", "B5pc-V", "CNS-EUC-H", "CNS-EUC-V", "CNS1-H", "CNS1-V", "CNS2-H", "CNS2-V", "ETHK-B5-H", "ETHK-B5-V", "ETen-B5-H", "ETen-B5-V", "ETenms-B5-H", "ETenms-B5-V", "EUC-H", "EUC-V", "Ext-H", "Ext-RKSJ-H", "Ext-RKSJ-V", "Ext-V", "GB-EUC-H", "GB-EUC-V", "GB-H", "GB-V", "GBK-EUC-H", "GBK-EUC-V", "GBK2K-H", "GBK2K-V", "GBKp-EUC-H", "GBKp-EUC-V", "GBT-EUC-H", "GBT-EUC-V", "GBT-H", "GBT-V", "GBTpc-EUC-H", "GBTpc-EUC-V", "GBpc-EUC-H", "GBpc-EUC-V", "H", "HKdla-B5-H", "HKdla-B5-V", "HKdlb-B5-H", "HKdlb-B5-V", "HKgccs-B5-H", "HKgccs-B5-V", "HKm314-B5-H", "HKm314-B5-V", "HKm471-B5-H", "HKm471-B5-V", "HKscs-B5-H", "HKscs-B5-V", "Hankaku", "Hiragana", "KSC-EUC-H", "KSC-EUC-V", "KSC-H", "KSC-Johab-H", "KSC-Johab-V", "KSC-V", "KSCms-UHC-H", "KSCms-UHC-HW-H", "KSCms-UHC-HW-V", "KSCms-UHC-V", "KSCpc-EUC-H", "KSCpc-EUC-V", "Katakana", "NWP-H", "NWP-V", "RKSJ-H", "RKSJ-V", "Roman", "UniCNS-UCS2-H", "UniCNS-UCS2-V", "UniCNS-UTF16-H", "UniCNS-UTF16-V", "UniCNS-UTF32-H", "UniCNS-UTF32-V", "UniCNS-UTF8-H", "UniCNS-UTF8-V", "UniGB-UCS2-H", "UniGB-UCS2-V", "UniGB-UTF16-H", "UniGB-UTF16-V", "UniGB-UTF32-H", "UniGB-UTF32-V", "UniGB-UTF8-H", "UniGB-UTF8-V", "UniJIS-UCS2-H", "UniJIS-UCS2-HW-H", "UniJIS-UCS2-HW-V", "UniJIS-UCS2-V", "UniJIS-UTF16-H", "UniJIS-UTF16-V", "UniJIS-UTF32-H", "UniJIS-UTF32-V", "UniJIS-UTF8-H", "UniJIS-UTF8-V", "UniJIS2004-UTF16-H", "UniJIS2004-UTF16-V", "UniJIS2004-UTF32-H", "UniJIS2004-UTF32-V", "UniJIS2004-UTF8-H", "UniJIS2004-UTF8-V", "UniJISPro-UCS2-HW-V", "UniJISPro-UCS2-V", "UniJISPro-UTF8-V", "UniJISX0213-UTF32-H", "UniJISX0213-UTF32-V", "UniJISX02132004-UTF32-H", "UniJISX02132004-UTF32-V", "UniKS-UCS2-H", "UniKS-UCS2-V", "UniKS-UTF16-H", "UniKS-UTF16-V", "UniKS-UTF32-H", "UniKS-UTF32-V", "UniKS-UTF8-H", "UniKS-UTF8-V", "V", "WP-Symbol"];
const MAX_MAP_RANGE = 2 ** 24 - 1;
class CMap {
@@ -18979,15 +12826,6 @@ class PATTERN_INFO {
;// ./src/core/obj_bin_transform_core.js
-
-
-
-
-
-
-
-
-
function compileCssFontInfo(info) {
const encoder = new TextEncoder();
const encodedStrings = {};
@@ -23807,8 +17645,6 @@ const getDingbatsGlyphsUnicode = getLookupTableFactory(function (t) {
;// ./src/core/unicode.js
-
-
const getSpecialPUASymbols = getLookupTableFactory(function (t) {
t[63721] = 0x00a9;
t[63193] = 0x00a9;
@@ -23918,15 +17754,6 @@ function clearUnicodeCaches() {
-
-
-
-
-
-
-
-
-
const SEAC_ANALYSIS_ENABLED = true;
const FontFlags = {
FixedPitch: 1,
@@ -24174,8 +18001,6 @@ function compileType3Glyph({
return [OPS.rawFillPath, [new Float32Array(pathBuf)], new Float32Array([0, 0, width, height])];
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.to-array.js
-var es_iterator_to_array = __webpack_require__(1806);
;// ./src/core/charsets.js
const ISOAdobeCharset = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron"];
const ExpertCharset = [".notdef", "space", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"];
@@ -24185,15 +18010,6 @@ const ExpertSubsetCharset = [".notdef", "space", "dollaroldstyle", "dollarsuperi
-
-
-
-
-
-
-
-
-
const MAX_SUBR_NESTING = 10;
const CFFStandardStrings = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall", "001.000", "001.001", "001.002", "001.003", "Black", "Bold", "Book", "Light", "Medium", "Regular", "Roman", "Semibold"];
const NUM_STANDARD_CFF_STRINGS = 391;
@@ -26770,22 +20586,6 @@ class CFFFont {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function getFloat214(view, offset) {
@@ -30619,18 +24419,6 @@ const getFontBasicMetrics = getLookupTableFactory(function (t) {
});
;// ./src/core/glyf.js
-
-
-
-
-
-
-
-
-
-
-
-
const ON_CURVE_POINT = 1 << 0;
const X_SHORT_VECTOR = 1 << 1;
const Y_SHORT_VECTOR = 1 << 2;
@@ -31160,17 +24948,6 @@ class CompositeGlyph {
;// ./src/core/opentype_file_builder.js
-
-
-
-
-
-
-
-
-
-
-
const OTF_HEADER_SIZE = 12;
const OTF_TABLE_ENTRY_SIZE = 16;
class OpenTypeFileBuilder {
@@ -31250,17 +25027,6 @@ class OpenTypeFileBuilder {
-
-
-
-
-
-
-
-
-
-
-
const HINTING_ENABLED = false;
const COMMAND_MAP = {
hstem: [1],
@@ -31825,7 +25591,6 @@ class Type1Parser {
-
function findBlock(streamBytes, signature, startIndex) {
const streamBytesLength = streamBytes.length;
const signatureLength = signature.length;
@@ -32115,31 +25880,6 @@ class Type1Font {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const PRIVATE_USE_AREAS = [[0xe000, 0xf8ff], [0x100000, 0x10fffd]];
const PDF_GLYPH_SPACE_UNITS = 1000;
const EXPORT_DATA_PROPERTIES = ["ascent", "bbox", "black", "bold", "cssFontInfo", "data", "defaultVMetrics", "defaultWidth", "descent", "disableFontFace", "fallbackName", "fontExtraProperties", "fontMatrix", "isInvalidPDFjsFont", "isType3Font", "italic", "loadedName", "mimetype", "missingFile", "name", "remeasure", "systemFontInfo", "vertical"];
@@ -34938,9 +28678,6 @@ const SegoeuiRegularMetrics = {
-
-
-
const getXFAFontMap = getLookupTableFactory(function (t) {
t["MyriadPro-Regular"] = t["PdfJS-Fallback-Regular"] = {
name: "LiberationSans-Regular",
@@ -35294,16 +29031,6 @@ class lexer_Lexer {
;// ./src/core/postscript/ast.js
-
-
-
-
-
-
-
-
-
-
const PS_VALUE_TYPE = {
numeric: 0,
boolean: 1,
@@ -36165,13 +29892,6 @@ class PSStackToTree {
-
-
-
-
-
-
-
const OP = {
ARG: 0,
CONST: 1,
@@ -36948,17 +30668,6 @@ function buildPostScriptJsFunction(source, domain, range, forceInterpreter = fal
;// ./src/core/postscript/wasm_compiler.js
-
-
-
-
-
-
-
-
-
-
-
const wasm_compiler_OP = {
if: 0x04,
else: 0x05,
@@ -37737,15 +31446,6 @@ function buildPostScriptWasmFunction(source, domain, range) {
;// ./src/core/image_utils.js
-
-
-
-
-
-
-
-
-
class BaseLocalCache {
constructor(options) {
this._onlyRefs = options?.onlyRefs === true;
@@ -38000,13 +31700,6 @@ class GlobalImageCache {
-
-
-
-
-
-
-
const FunctionType = {
SAMPLED: 0,
EXPONENTIAL_INTERPOLATION: 2,
@@ -38521,18 +32214,6 @@ function bidi(str, startLevel = -1, vertical = false) {
-
-
-
-
-
-
-
-
-
-
-
-
const NORMAL = {
style: "normal",
weight: "normal"
@@ -38821,14 +32502,6 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont
}
;// ./src/shared/murmurhash3.js
-
-
-
-
-
-
-
-
const SEED = 0xc3d2e1f0;
const MASK_HIGH = 0xffff0000;
const MASK_LOW = 0xffff;
@@ -38933,14 +32606,6 @@ class MurmurHash3_64 {
-
-
-
-
-
-
-
-
class PDFImage {
constructor({
xref,
@@ -39783,31 +33448,6 @@ class PDFImage {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -43994,13 +37634,6 @@ class EvaluatorPreprocessor {
-
-
-
-
-
-
-
class DefaultAppearanceEvaluator extends EvaluatorPreprocessor {
constructor(str) {
super(new StringStream(str));
@@ -44381,8 +38014,6 @@ class FakeUnicodeFont {
;// ./src/shared/scripting_utils.js
/* unused harmony import specifier */ var scripting_utils_MathClamp;
-
-
function makeColorComp(n) {
return Math.floor(scripting_utils_MathClamp(n, 0, 1) * 255).toString(16).padStart(2, "0");
}
@@ -44443,14 +38074,9 @@ class ColorConverters {
const DateFormats = ["m/d", "m/d/yy", "mm/dd/yy", "mm/yy", "d-mmm", "d-mmm-yy", "dd-mmm-yy", "yy-mm-dd", "mmm-yy", "mmmm-yy", "mmm d, yyyy", "mmmm d, yyyy", "m/d/yy h:MM tt", "m/d/yy HH:MM"];
const TimeFormats = ["HH:MM", "h:MM tt", "HH:MM:ss", "h:MM:ss tt"];
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
-var es_json_stringify = __webpack_require__(3110);
;// ./src/core/name_number_tree.js
-
-
-
class NameOrNumberTree {
constructor(root, xref, type) {
this.root = root;
@@ -44660,9 +38286,6 @@ class FileSpec {
;// ./src/core/xml_parser.js
-
-
-
const XMLParserErrorCode = {
NoError: 0,
EndOfDocument: -1,
@@ -45079,12 +38702,6 @@ class SimpleXMLParser extends XMLParserBase {
;// ./src/core/metadata_parser.js
-
-
-
-
-
-
class MetadataParser {
constructor(data) {
data = this._repair(data);
@@ -45187,9 +38804,6 @@ class MetadataParser {
-
-
-
const MAX_DEPTH = 40;
const StructElementType = {
PAGE_CONTENT: 1,
@@ -46038,24 +39652,6 @@ class StructTreePage {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -47577,7 +41173,6 @@ class Catalog {
-
function mayHaveChildren(value) {
return value instanceof Ref || value instanceof Dict || value instanceof BaseStream || Array.isArray(value);
}
@@ -47752,10 +41347,6 @@ const $toString = Symbol();
const $toStyle = Symbol();
const $uid = Symbol("uid");
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.flat-map.js
-var es_iterator_flat_map = __webpack_require__(531);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.from-base64.js
-var es_uint8_array_from_base64 = __webpack_require__(5213);
;// ./src/core/xfa/namespaces.js
const $buildXFAObject = Symbol();
const NamespaceIds = {
@@ -47824,11 +41415,6 @@ const NamespaceIds = {
;// ./src/core/xfa/utils.js
-
-
-
-
-
const dimConverters = {
pt: x => x,
cm: x => x / 2.54 * 72,
@@ -48028,19 +41614,6 @@ class HTMLResult {
-
-
-
-
-
-
-
-
-
-
-
-
-
class FontFinder {
constructor(pdfFonts) {
this.fonts = new Map();
@@ -48186,9 +41759,6 @@ function fonts_getMetrics(xfaFont, real = false) {
;// ./src/core/xfa/text.js
-
-
-
const WIDTH_FACTOR = 1.02;
class FontInfo {
constructor(xfaFont, margin, lineHeight, fontFinder) {
@@ -48393,21 +41963,9 @@ class TextMeasure {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert.js
-var es_weak_map_get_or_insert = __webpack_require__(8454);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert-computed.js
-var es_weak_map_get_or_insert_computed = __webpack_require__(9452);
;// ./src/core/xfa/som.js
-
-
-
-
-
-
-
-
const namePattern = /^[^.[]+/;
const indexPattern = /^[^\]]+/;
const operators = {
@@ -48641,20 +42199,6 @@ function createDataNode(root, container, expr) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const _applyPrototype = Symbol();
const _attributes = Symbol();
const _attributeNames = Symbol();
@@ -49462,11 +43006,6 @@ class Option10 extends IntegerObject {
-
-
-
-
-
function measureToString(m) {
if (typeof m === "string") {
return "0px";
@@ -49968,8 +43507,6 @@ function fixURL(str) {
-
-
function createLine(node, children) {
return {
name: "div",
@@ -50246,33 +43783,6 @@ function checkDimensions(node, space) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const TEMPLATE_NS_ID = NamespaceIds.template.id;
const SVG_NS = "http://www.w3.org/2000/svg";
const MAX_ATTEMPTS_FOR_LRTB_LAYOUT = 2;
@@ -55122,11 +48632,6 @@ class TemplateNamespace {
-
-
-
-
-
const bind_NS_DATASETS = NamespaceIds.datasets.id;
function createText(content) {
const node = new Text({});
@@ -55543,7 +49048,6 @@ class Binder {
;// ./src/core/xfa/data.js
-
class DataHandler {
constructor(root, data) {
this.data = data;
@@ -55597,15 +49101,6 @@ class DataHandler {
-
-
-
-
-
-
-
-
-
const CONFIG_NS_ID = NamespaceIds.config.id;
class Acrobat extends XFAObject {
constructor(attributes) {
@@ -57560,19 +51055,6 @@ class XdpNamespace {
-
-
-
-
-
-
-
-
-
-
-
-
-
const XHTML_NS_ID = NamespaceIds.xhtml.id;
const $richText = Symbol();
const VALID_STYLES = new Set(["color", "font", "font-family", "font-size", "font-stretch", "font-style", "font-weight", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "letter-spacing", "line-height", "orphans", "page-break-after", "page-break-before", "page-break-inside", "tab-interval", "tab-stop", "text-align", "text-decoration", "text-indent", "vertical-align", "widows", "kerning-mode", "xfa-font-horizontal-scale", "xfa-font-vertical-scale", "xfa-spacerun", "xfa-tab-stops"]);
@@ -58008,12 +51490,6 @@ class UnknownNamespace {
-
-
-
-
-
-
class Root extends XFAObject {
constructor(ids) {
super(-1, "root", Object.create(null));
@@ -58174,16 +51650,6 @@ class Builder {
-
-
-
-
-
-
-
-
-
-
class XFAParser extends XMLParserBase {
constructor(rootNameSpace = null, richText = false) {
super();
@@ -58315,12 +51781,6 @@ class XFAParser extends XMLParserBase {
-
-
-
-
-
-
class XFAFactory {
constructor(data) {
try {
@@ -58466,24 +51926,6 @@ class XFAFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -62072,14 +55514,6 @@ class FileAttachmentAnnotation extends MarkupAnnotation {
;// ./src/core/calculate_md5.js
-
-
-
-
-
-
-
-
const PARAMS = {
get r() {
return shadow(this, "r", new Uint8Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]));
@@ -62159,8 +55593,6 @@ function calculateMD5(data, offset, length) {
-
-
function decodeString(str) {
try {
return stringToUTF8String(str);
@@ -62212,7 +55644,6 @@ class DatasetReader {
}
;// ./src/core/intersector.js
-
class SingleIntersector {
#annotation;
minX = Infinity;
@@ -62375,14 +55806,6 @@ class Intersector {
;// ./src/core/calculate_sha_other.js
-
-
-
-
-
-
-
-
class Word64 {
constructor(highInteger, lowInteger) {
this.high = highInteger | 0;
@@ -62650,14 +56073,6 @@ function calculateSHA384(data, offset, length) {
;// ./src/core/calculate_sha256.js
-
-
-
-
-
-
-
-
const calculate_sha256_PARAMS = {
get k() {
return shadow(this, "k", [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2]);
@@ -62802,18 +56217,6 @@ class DecryptStream extends DecodeStream {
-
-
-
-
-
-
-
-
-
-
-
-
class ARCFourCipher {
a = 0;
b = 0;
@@ -63590,24 +56993,6 @@ class CipherTransformFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -64370,29 +57755,6 @@ class XRef {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -65973,12 +59335,8 @@ class NetworkPdfManager extends BasePdfManager {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.try.js
-var es_promise_try = __webpack_require__(1689);
;// ./src/shared/message_handler.js
-
-
const CallbackKind = {
DATA: 1,
ERROR: 2
@@ -66388,18 +59746,6 @@ class MessageHandler {
-
-
-
-
-
-
-
-
-
-
-
-
async function writeObject(ref, obj, buffer, {
encrypt = null,
encryptRef = null
@@ -66808,21 +60154,6 @@ async function incrementalUpdate({
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -68903,14 +62234,6 @@ class PDFEditor {
;// ./src/shared/base_pdf_stream.js
-
-
-
-
-
-
-
-
class BasePDFStream {
#PDFStreamReader = null;
#PDFStreamRangeReader = null;
@@ -69086,30 +62409,6 @@ class PDFWorkerStreamRangeReader extends BasePDFStreamRangeReader {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class WorkerTask {
constructor(name) {
this.name = name;
@@ -69831,4 +63130,4 @@ globalThis.pdfjsWorker = {
export { WorkerMessageHandler };
-//# sourceMappingURL=pdf.worker.mjs.map
+//# sourceMappingURL=pdf.worker.mjs.map
\ No newline at end of file
diff --git a/src/chrome/vendor/pdfjs/worker.mjs b/src/chrome/vendor/pdfjs/worker.mjs
new file mode 100644
index 000000000..c9aed9d33
--- /dev/null
+++ b/src/chrome/vendor/pdfjs/worker.mjs
@@ -0,0 +1,8 @@
+// Worker entry point for PDF.js. Use this URL as GlobalWorkerOptions.workerSrc
+// so the PDF.js worker gets the same compat.mjs polyfills as the page.
+// pdf.worker.mjs starts listening for messages as soon as it evaluates; the
+// re-export serves PDF.js's main-thread fallback, which imports workerSrc and
+// reads WorkerMessageHandler from it when a real worker cannot start.
+import './compat.mjs';
+
+export * from './pdf.worker.mjs';
diff --git a/src/firefox/manifest.json b/src/firefox/manifest.json
index c3fe6ec8b..232df42e4 100644
--- a/src/firefox/manifest.json
+++ b/src/firefox/manifest.json
@@ -155,6 +155,9 @@
"web_accessible_resources": [
"src/content/autoconsent-runtime.js",
"vendor/autoconsent/autoconsent.esm.js",
+ "vendor/pdfjs/index.mjs",
+ "vendor/pdfjs/worker.mjs",
+ "vendor/pdfjs/compat.mjs",
"vendor/pdfjs/pdf.mjs",
"vendor/pdfjs/pdf.worker.mjs",
"src/agent/social-media-downloader.js",
diff --git a/src/firefox/src/agent/pdf-tools.js b/src/firefox/src/agent/pdf-tools.js
index 13899a77a..9b77e55a4 100644
--- a/src/firefox/src/agent/pdf-tools.js
+++ b/src/firefox/src/agent/pdf-tools.js
@@ -77,17 +77,17 @@ export function isPdfHandlerTabUrl(value, runtime = globalThis.browser?.runtime
}
/**
- * Lazy-load pdfjs only on first PDF read. The legacy bundle is ~1 MB
- * and the worker is ~2.3 MB; we don't want to pay that startup cost
+ * Lazy-load pdfjs only on first PDF read. The bundle is ~0.8 MB
+ * and the worker is ~2.2 MB; we don't want to pay that startup cost
* for users who never open a PDF.
*/
async function getPdfjs() {
if (pdfjsModule) return pdfjsModule;
- pdfjsModule = await import(browser.runtime.getURL('vendor/pdfjs/pdf.mjs'));
+ pdfjsModule = await import(browser.runtime.getURL('vendor/pdfjs/index.mjs'));
// Worker URL must be set BEFORE the first getDocument() call. We resolve
// it via runtime.getURL so it works at any extension-id deploy target.
pdfjsModule.GlobalWorkerOptions.workerSrc =
- browser.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ browser.runtime.getURL('vendor/pdfjs/worker.mjs');
return pdfjsModule;
}
diff --git a/src/firefox/src/ui/emergency-pdf.js b/src/firefox/src/ui/emergency-pdf.js
index 8025044cf..ccd255c88 100644
--- a/src/firefox/src/ui/emergency-pdf.js
+++ b/src/firefox/src/ui/emergency-pdf.js
@@ -240,8 +240,8 @@ async function initialize() {
elements['document-source'].href = sourceUrl;
elements['document-source'].hidden = false;
}
- const pdfjs = await import(runtimeApi.runtime.getURL('vendor/pdfjs/pdf.mjs'));
- pdfjs.GlobalWorkerOptions.workerSrc = runtimeApi.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ const pdfjs = await import(runtimeApi.runtime.getURL('vendor/pdfjs/index.mjs'));
+ pdfjs.GlobalWorkerOptions.workerSrc = runtimeApi.runtime.getURL('vendor/pdfjs/worker.mjs');
pdf = await pdfjs.getDocument({ data: new Uint8Array(await file.arrayBuffer()), verbosity: 0 }).promise;
enableControls();
await renderPage();
diff --git a/src/firefox/src/ui/pdf-handler.js b/src/firefox/src/ui/pdf-handler.js
index 997e1543e..95a58864b 100644
--- a/src/firefox/src/ui/pdf-handler.js
+++ b/src/firefox/src/ui/pdf-handler.js
@@ -715,8 +715,8 @@ async function initialize() {
const bytes = await loadPdfBytes(streamInfo);
if (!bytes.length) throw new Error('Firefox returned an empty PDF stream.');
- state.pdfjs = await import(api.runtime.getURL('vendor/pdfjs/pdf.mjs'));
- state.pdfjs.GlobalWorkerOptions.workerSrc = api.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ state.pdfjs = await import(api.runtime.getURL('vendor/pdfjs/index.mjs'));
+ state.pdfjs.GlobalWorkerOptions.workerSrc = api.runtime.getURL('vendor/pdfjs/worker.mjs');
state.pdf = await state.pdfjs.getDocument({ data: bytes, verbosity: 0 }).promise;
if (state.pdf.numPages > MAX_PDF_PAGES) {
throw new Error(`This PDF has more than ${MAX_PDF_PAGES} pages, so Firefox's native viewer will be used.`);
diff --git a/src/firefox/vendor/pdfjs/README.md b/src/firefox/vendor/pdfjs/README.md
index d6ee4fe09..958113256 100644
--- a/src/firefox/vendor/pdfjs/README.md
+++ b/src/firefox/vendor/pdfjs/README.md
@@ -9,51 +9,56 @@ parse it with pdfjs in the background page.
## Source
- Package: `pdfjs-dist` v5.7.284
-- Files: `legacy/build/pdf.mjs` + `legacy/build/pdf.worker.mjs`
+- Upstream files: `build/pdf.mjs` + `build/pdf.worker.mjs` (the modern build),
+ byte-identical to the npm package
- Origin: <https://github.com/mozilla/pdf.js>
- Upstream license: Apache-2.0 (see `LICENSE` in this folder)
-## Store-review patch
+## Files we add
-The upstream legacy files split the strings `<script>`, `</script>`, and
-`javascript:` across constants in an old `core-js` null-prototype fallback.
-Chrome Web Store classifies that string splitting as obfuscation. Our vendored
-copies spell those strings directly; the resulting values and fallback logic
-are unchanged.
+- `compat.mjs`: feature-detected polyfills for the few recent JavaScript
+ methods the modern build calls without a fallback (`Map`/`WeakMap`
+ `getOrInsertComputed`, `Math.sumPrecise`, `Uint8Array` base64/hex,
+ `Response.prototype.bytes`). Each one is installed only when the browser
+ lacks it.
+- `index.mjs`: page entry point. Loads `compat.mjs`, then re-exports `pdf.mjs`.
+- `worker.mjs`: worker entry point. Loads `compat.mjs`, then re-exports
+ `pdf.worker.mjs`, so the PDF.js worker gets the same polyfills.
-## Why the legacy build
+## Why the modern build
-The legacy build targets older JS runtimes than the default modern
-build. The MV2 background page in Firefox supports modern JS but the
-legacy bundle's polyfills smooth over surprises in extension contexts
-(URL.createObjectURL etc.). Worth the size for the resilience and to
-keep parity with the Chrome extension build.
+The legacy build bundles `core-js`, including old Internet Explorer fallbacks
+(an ActiveX/iframe `document.write` path) that Chrome Web Store review rejects
+as obfuscated code. The modern build contains no `core-js` at all. With
+`compat.mjs`, PDF reading works on Chrome 128+ and Firefox 140+.
## How it's loaded
`pdf-tools.js` does a lazy dynamic import on the first PDF read:
```js
-const pdfjs = await import(browser.runtime.getURL('vendor/pdfjs/pdf.mjs'));
+const pdfjs = await import(browser.runtime.getURL('vendor/pdfjs/index.mjs'));
```
The worker URL is resolved the same way:
```js
pdfjs.GlobalWorkerOptions.workerSrc =
- browser.runtime.getURL('vendor/pdfjs/pdf.worker.mjs');
+ browser.runtime.getURL('vendor/pdfjs/worker.mjs');
```
-Both files are listed in `manifest.json`'s `web_accessible_resources`
-so `browser.runtime.getURL` returns a fetchable URL.
+The PDF.js entry points and modules are listed in `manifest.json`'s
+`web_accessible_resources` so `browser.runtime.getURL` returns a fetchable URL.
## Updating
1. `npm pack pdfjs-dist@latest` (in any scratch directory).
-2. `tar xzf pdfjs-dist-*.tgz package/legacy/build/pdf.mjs
- package/legacy/build/pdf.worker.mjs package/LICENSE`
+2. `tar xzf pdfjs-dist-*.tgz package/build/pdf.mjs
+ package/build/pdf.worker.mjs package/LICENSE`
3. Move them over `pdf.mjs`, `pdf.worker.mjs`, `LICENSE` here.
-4. Reapply the store-review patch described above to both JavaScript files.
+4. Do not edit the upstream files. If the new version calls another recent
+ built-in without a fallback, add a feature-detected polyfill to
+ `compat.mjs` instead.
5. Update the version line at the top of this README.
6. Smoke-test by opening a real PDF tab in the loaded extension and
running a `read_pdf` from the side panel.
diff --git a/src/firefox/vendor/pdfjs/compat.mjs b/src/firefox/vendor/pdfjs/compat.mjs
new file mode 100644
index 000000000..4b7ca58dc
--- /dev/null
+++ b/src/firefox/vendor/pdfjs/compat.mjs
@@ -0,0 +1,147 @@
+/*
+ * Feature-detected polyfills for the few recent JavaScript methods that the
+ * modern PDF.js build (pdf.mjs, pdf.worker.mjs) calls without a fallback.
+ *
+ * Upstream ships two builds. The legacy build bundles core-js, whose old
+ * Internet Explorer fallbacks Chrome Web Store review rejects as obfuscated
+ * code. The modern build has no polyfills at all and assumes the newest
+ * browsers. We ship the modern build and fill only these gaps, which keeps
+ * PDF reading working on Chrome 128+ and Firefox 140+:
+ *
+ * Map/WeakMap.prototype.getOrInsert(Computed) Chrome 145, Firefox 144
+ * Math.sumPrecise Chrome 147, Firefox 137
+ * Uint8Array.fromBase64, toBase64, toHex Chrome 140, Firefox 133
+ * Response.prototype.bytes Chrome 132, Firefox 128
+ *
+ * Each method is installed only when the browser lacks it. index.mjs loads
+ * this file before pdf.mjs in the page, and worker.mjs loads it before
+ * pdf.worker.mjs in the PDF.js worker, because the two realms do not share
+ * built-ins.
+ */
+
+function defineMissing(target, name, value) {
+ if (name in target) return;
+ Object.defineProperty(target, name, {
+ value,
+ writable: true,
+ enumerable: false,
+ configurable: true,
+ });
+}
+
+for (const Collection of [Map, WeakMap]) {
+ defineMissing(Collection.prototype, 'getOrInsert', function getOrInsert(key, value) {
+ if (!this.has(key)) this.set(key, value);
+ return this.get(key);
+ });
+
+ defineMissing(Collection.prototype, 'getOrInsertComputed', function getOrInsertComputed(key, callback) {
+ if (typeof callback !== 'function') {
+ throw new TypeError('getOrInsertComputed requires a callback function');
+ }
+ if (this.has(key)) return this.get(key);
+ const value = callback(key);
+ this.set(key, value);
+ return value;
+ });
+}
+
+// Exactly rounded sum built from Shewchuk's non-overlapping partials, the
+// same algorithm as Python's math.fsum. Intermediate overflow (finite inputs
+// whose running sum exceeds Number.MAX_VALUE) is not handled; PDF.js only
+// sums byte and glyph lengths.
+defineMissing(Math, 'sumPrecise', function sumPrecise(items) {
+ const partials = [];
+ let nonFinite = 0;
+ let allNegativeZero = true;
+
+ for (const value of items) {
+ if (typeof value !== 'number') {
+ throw new TypeError('Math.sumPrecise expects an iterable of numbers');
+ }
+ if (!Object.is(value, -0)) allNegativeZero = false;
+ if (!Number.isFinite(value)) {
+ // NaN, or +Infinity together with -Infinity, makes the result NaN.
+ nonFinite = nonFinite === 0 || nonFinite === value ? value : NaN;
+ continue;
+ }
+ if (nonFinite !== 0) continue;
+
+ let x = value;
+ let kept = 0;
+ for (let i = 0; i < partials.length; i++) {
+ let y = partials[i];
+ if (Math.abs(x) < Math.abs(y)) [x, y] = [y, x];
+ const hi = x + y;
+ const lo = y - (hi - x);
+ if (lo !== 0) partials[kept++] = lo;
+ x = hi;
+ }
+ partials.length = kept;
+ partials.push(x);
+ }
+
+ if (nonFinite !== 0) return nonFinite;
+ if (allNegativeZero) return -0;
+
+ let n = partials.length;
+ let hi = 0;
+ if (n > 0) {
+ hi = partials[--n];
+ let lo = 0;
+ while (n > 0) {
+ const x = hi;
+ const y = partials[--n];
+ hi = x + y;
+ lo = y - (hi - x);
+ if (lo !== 0) break;
+ }
+ // Correct round-half-even when the remaining partials tip the result
+ // over a rounding boundary.
+ if (n > 0 && ((lo < 0 && partials[n - 1] < 0) || (lo > 0 && partials[n - 1] > 0))) {
+ const doubled = lo * 2;
+ const rounded = hi + doubled;
+ if (doubled === rounded - hi) hi = rounded;
+ }
+ }
+ return hi;
+});
+
+// String.fromCharCode.apply has an argument-count limit, so encode in slices.
+const BASE64_SLICE_BYTES = 0x8000;
+
+defineMissing(Uint8Array.prototype, 'toBase64', function toBase64(options = {}) {
+ let binary = '';
+ for (let i = 0; i < this.length; i += BASE64_SLICE_BYTES) {
+ binary += String.fromCharCode.apply(null, this.subarray(i, i + BASE64_SLICE_BYTES));
+ }
+ let base64 = btoa(binary);
+ if (options.alphabet === 'base64url') base64 = base64.replace(/\+/g, '-').replace(/\//g, '_');
+ if (options.omitPadding) base64 = base64.replace(/=+$/, '');
+ return base64;
+});
+
+defineMissing(Uint8Array, 'fromBase64', function fromBase64(string, options = {}) {
+ if (typeof string !== 'string') {
+ throw new TypeError('Uint8Array.fromBase64 expects a string');
+ }
+ const base64 = options.alphabet === 'base64url'
+ ? string.replace(/-/g, '+').replace(/_/g, '/')
+ : string;
+ const binary = atob(base64);
+ const bytes = new Uint8Array(binary.length);
+ for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
+ return bytes;
+});
+
+defineMissing(Uint8Array.prototype, 'toHex', function toHex() {
+ let hex = '';
+ for (const byte of this) hex += byte.toString(16).padStart(2, '0');
+ return hex;
+});
+
+if (typeof Response === 'function') {
+ defineMissing(Response.prototype, 'bytes', async function bytes() {
+ return new Uint8Array(await this.arrayBuffer());
+ });
+}
diff --git a/src/firefox/vendor/pdfjs/index.mjs b/src/firefox/vendor/pdfjs/index.mjs
new file mode 100644
index 000000000..ea4186a1e
--- /dev/null
+++ b/src/firefox/vendor/pdfjs/index.mjs
@@ -0,0 +1,5 @@
+// Page-side entry point for PDF.js. Import this instead of pdf.mjs so the
+// polyfills in compat.mjs are installed before PDF.js evaluates.
+import './compat.mjs';
+
+export * from './pdf.mjs';
diff --git a/src/firefox/vendor/pdfjs/pdf.mjs b/src/firefox/vendor/pdfjs/pdf.mjs
index 904577c26..3b08593dd 100644
--- a/src/firefox/vendor/pdfjs/pdf.mjs
+++ b/src/firefox/vendor/pdfjs/pdf.mjs
@@ -24,6312 +24,8 @@
* pdfjsVersion = 5.7.284
* pdfjsBuild = 7e5b36c2d
*/
-/******/ var __webpack_modules__ = ({
-
-/***/ 9306
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var tryToString = __webpack_require__(6823);
-
-var $TypeError = TypeError;
-
-// `Assert: IsCallable(argument) is true`
-module.exports = function (argument) {
- if (isCallable(argument)) return argument;
- throw new $TypeError(tryToString(argument) + ' is not a function');
-};
-
-
-/***/ },
-
-/***/ 3506
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPossiblePrototype = __webpack_require__(3925);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
-};
-
-
-/***/ },
-
-/***/ 7080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4402).has);
-
-// Perform ? RequireInternalSlot(M, [[SetData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 3463
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (typeof argument == 'string') return argument;
- throw new $TypeError('Argument is not a string');
-};
-
-
-/***/ },
-
-/***/ 4328
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var WeakMapHelpers = __webpack_require__(4995);
-
-var weakmap = new WeakMapHelpers.WeakMap();
-var set = WeakMapHelpers.set;
-var remove = WeakMapHelpers.remove;
-
-module.exports = function (key) {
- set(weakmap, key, 1);
- remove(weakmap, key);
- return key;
-};
-
-
-/***/ },
-
-/***/ 6557
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4995).has);
-
-// Perform ? RequireInternalSlot(M, [[WeakMapData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 6469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-var create = __webpack_require__(2360);
-var defineProperty = (__webpack_require__(4913).f);
-
-var UNSCOPABLES = wellKnownSymbol('unscopables');
-var ArrayPrototype = Array.prototype;
-
-// Array.prototype[@@unscopables]
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-if (ArrayPrototype[UNSCOPABLES] === undefined) {
- defineProperty(ArrayPrototype, UNSCOPABLES, {
- configurable: true,
- value: create(null)
- });
-}
-
-// add a key to Array.prototype[@@unscopables]
-module.exports = function (key) {
- ArrayPrototype[UNSCOPABLES][key] = true;
-};
-
-
-/***/ },
-
-/***/ 679
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPrototypeOf = __webpack_require__(1625);
-
-var $TypeError = TypeError;
-
-module.exports = function (it, Prototype) {
- if (isPrototypeOf(Prototype, it)) return it;
- throw new $TypeError('Incorrect invocation');
-};
-
-
-/***/ },
-
-/***/ 3972
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (argument === undefined || isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object or undefined');
-};
-
-
-/***/ },
-
-/***/ 8551
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-// `Assert: Type(argument) is Object`
-module.exports = function (argument) {
- if (isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object');
-};
-
-
-/***/ },
-
-/***/ 4154
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $TypeError = TypeError;
-
-// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
-// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
-module.exports = function (argument) {
- if (classof(argument) === 'Uint8Array') return argument;
- throw new $TypeError('Argument is not an Uint8Array');
-};
-
-
-/***/ },
-
-/***/ 7811
-(module) {
-
-
-// eslint-disable-next-line es/no-typed-arrays -- safe
-module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
-
-
-/***/ },
-
-/***/ 7394
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThisAccessor = __webpack_require__(6706);
-var classof = __webpack_require__(2195);
-
-var ArrayBuffer = globalThis.ArrayBuffer;
-var TypeError = globalThis.TypeError;
-
-// Includes
-// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
-// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
-module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
- if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
- return O.byteLength;
-};
-
-
-/***/ },
-
-/***/ 3238
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var arrayBufferByteLength = __webpack_require__(7394);
-
-var DataView = globalThis.DataView;
-
-module.exports = function (O) {
- if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
- try {
- // eslint-disable-next-line no-new -- thrower
- new DataView(O);
- return false;
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 5169
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isDetached = __webpack_require__(3238);
-
-var $TypeError = TypeError;
-
-module.exports = function (it) {
- if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5636
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var uncurryThisAccessor = __webpack_require__(6706);
-var toIndex = __webpack_require__(7696);
-var notDetached = __webpack_require__(5169);
-var arrayBufferByteLength = __webpack_require__(7394);
-var detachTransferable = __webpack_require__(4483);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var ArrayBuffer = globalThis.ArrayBuffer;
-var DataView = globalThis.DataView;
-var max = Math.max;
-var min = Math.min;
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-var DataViewPrototype = DataView.prototype;
-var slice = uncurryThis(ArrayBufferPrototype.slice);
-var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
-var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
-var getInt8 = uncurryThis(DataViewPrototype.getInt8);
-var setInt8 = uncurryThis(DataViewPrototype.setInt8);
-
-module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
- var byteLength = arrayBufferByteLength(arrayBuffer);
- var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
- var fixedLength = !isResizable || !isResizable(arrayBuffer);
- var newBuffer;
- notDetached(arrayBuffer);
- if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
- if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
- }
- if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
- newBuffer = slice(arrayBuffer, 0, newByteLength);
- } else {
- var options = preserveResizability && !fixedLength && maxByteLength
- ? { maxByteLength: max(newByteLength, maxByteLength(arrayBuffer)) }
- : undefined;
- newBuffer = new ArrayBuffer(newByteLength, options);
- var a = new DataView(arrayBuffer);
- var b = new DataView(newBuffer);
- var copyLength = min(newByteLength, byteLength);
- for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
- }
- if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
- return newBuffer;
-};
-
-
-/***/ },
-
-/***/ 4644
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var hasOwn = __webpack_require__(9297);
-var classof = __webpack_require__(6955);
-var tryToString = __webpack_require__(6823);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isPrototypeOf = __webpack_require__(1625);
-var getPrototypeOf = __webpack_require__(2787);
-var setPrototypeOf = __webpack_require__(2967);
-var wellKnownSymbol = __webpack_require__(608);
-var uid = __webpack_require__(3392);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var Int8Array = globalThis.Int8Array;
-var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
-var Uint8ClampedArray = globalThis.Uint8ClampedArray;
-var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
-var TypedArray = Int8Array && getPrototypeOf(Int8Array);
-var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
-var ObjectPrototype = Object.prototype;
-var TypeError = globalThis.TypeError;
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
-var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
-// Fixing native typed arrays in Opera Presto crashes the browser, see #595
-var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
-var TYPED_ARRAY_TAG_REQUIRED = false;
-var NAME, Constructor, Prototype;
-
-var TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
-};
-
-var BigIntArrayConstructorsList = {
- BigInt64Array: 8,
- BigUint64Array: 8
-};
-
-var isView = function isView(it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return klass === 'DataView'
- || hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var getTypedArrayConstructor = function (it) {
- var proto = getPrototypeOf(it);
- if (!isObject(proto)) return;
- var state = getInternalState(proto);
- return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
-};
-
-var isTypedArray = function (it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var aTypedArray = function (it) {
- if (isTypedArray(it)) return it;
- throw new TypeError('Target is not a typed array');
-};
-
-var aTypedArrayConstructor = function (C) {
- if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
- throw new TypeError(tryToString(C) + ' is not a typed array constructor');
-};
-
-var exportTypedArrayMethod = function (KEY, property, forced, options) {
- if (!DESCRIPTORS) return;
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
- delete TypedArrayConstructor.prototype[KEY];
- } catch (error) {
- // old WebKit bug - some methods are non-configurable
- try {
- TypedArrayConstructor.prototype[KEY] = property;
- } catch (error2) { /* empty */ }
- }
- }
- if (!TypedArrayPrototype[KEY] || forced) {
- defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
- : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
- }
-};
-
-var exportTypedArrayStaticMethod = function (KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (!DESCRIPTORS) return;
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
- delete TypedArrayConstructor[KEY];
- } catch (error) { /* empty */ }
- }
- if (!TypedArray[KEY] || forced) {
- // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
- try {
- return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
- } catch (error) { /* empty */ }
- } else return;
- }
- for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
- defineBuiltIn(TypedArrayConstructor, KEY, property);
- }
- }
-};
-
-for (NAME in TypedArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
- else NATIVE_ARRAY_BUFFER_VIEWS = false;
-}
-
-for (NAME in BigIntArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
-}
-
-// WebKit bug - typed arrays constructors prototype is Object.prototype
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
- // eslint-disable-next-line no-shadow -- safe
- TypedArray = function TypedArray() {
- throw new TypeError('Incorrect invocation');
- };
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
- }
-}
-
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
- TypedArrayPrototype = TypedArray.prototype;
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
- }
-}
-
-// WebKit bug - one more object in Uint8ClampedArray prototype chain
-if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
- setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
-}
-
-if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
- TYPED_ARRAY_TAG_REQUIRED = true;
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
- configurable: true,
- get: function () {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
- }
- });
- for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
- createNonEnumerableProperty(globalThis[NAME].prototype, TYPED_ARRAY_TAG, NAME);
- }
-}
-
-module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
- aTypedArray: aTypedArray,
- aTypedArrayConstructor: aTypedArrayConstructor,
- exportTypedArrayMethod: exportTypedArrayMethod,
- exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
- getTypedArrayConstructor: getTypedArrayConstructor,
- isView: isView,
- isTypedArray: isTypedArray,
- TypedArray: TypedArray,
- TypedArrayPrototype: TypedArrayPrototype
-};
-
-
-/***/ },
-
-/***/ 5370
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var lengthOfArrayLike = __webpack_require__(6198);
-
-module.exports = function (Constructor, list, $length) {
- var index = 0;
- var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
- var result = new Constructor(length);
- while (length > index) result[index] = list[index++];
- return result;
-};
-
-
-/***/ },
-
-/***/ 9617
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIndexedObject = __webpack_require__(5397);
-var toAbsoluteIndex = __webpack_require__(5610);
-var lengthOfArrayLike = __webpack_require__(6198);
-
-// `Array.prototype.{ indexOf, includes }` methods implementation
-var createMethod = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIndexedObject($this);
- var length = lengthOfArrayLike(O);
- if (length === 0) return !IS_INCLUDES && -1;
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare -- NaN check
- if (IS_INCLUDES && el !== el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare -- NaN check
- if (value !== value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) {
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
-};
-
-module.exports = {
- // `Array.prototype.includes` method
- // https://tc39.es/ecma262/#sec-array.prototype.includes
- includes: createMethod(true),
- // `Array.prototype.indexOf` method
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
- indexOf: createMethod(false)
-};
-
-
-/***/ },
-
-/***/ 4527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var isArray = __webpack_require__(4376);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Safari < 13 does not throw an error in this case
-var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
- // makes no sense without proper strict mode support
- if (this !== undefined) return true;
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).length = 1;
- } catch (error) {
- return error instanceof TypeError;
- }
-}();
-
-module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
- throw new $TypeError('Cannot set read only .length');
- } return O.length = length;
-} : function (O, length) {
- return O.length = length;
-};
-
-
-/***/ },
-
-/***/ 7680
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis([].slice);
-
-
-/***/ },
-
-/***/ 2804
-(module) {
-
-
-var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
-var base64Alphabet = commonAlphabet + '+/';
-var base64UrlAlphabet = commonAlphabet + '-_';
-
-var inverse = function (characters) {
- // TODO: use `Object.create(null)` in `core-js@4`
- var result = {};
- var index = 0;
- for (; index < 64; index++) result[characters.charAt(index)] = index;
- return result;
-};
-
-module.exports = {
- i2c: base64Alphabet,
- c2i: inverse(base64Alphabet),
- i2cUrl: base64UrlAlphabet,
- c2iUrl: inverse(base64UrlAlphabet)
-};
-
-
-/***/ },
-
-/***/ 6319
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var anObject = __webpack_require__(8551);
-var iteratorClose = __webpack_require__(9539);
-
-// call something on iterator step with safe closing on error
-module.exports = function (iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- } catch (error) {
- iteratorClose(iterator, 'throw', error);
- }
-};
-
-
-/***/ },
-
-/***/ 2195
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var toString = uncurryThis({}.toString);
-var stringSlice = uncurryThis(''.slice);
-
-module.exports = function (it) {
- return stringSlice(toString(it), 8, -1);
-};
-
-
-/***/ },
-
-/***/ 6955
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
-var isCallable = __webpack_require__(4901);
-var classofRaw = __webpack_require__(2195);
-var wellKnownSymbol = __webpack_require__(608);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var $Object = Object;
-
-// ES3 wrong here
-var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
-
-// fallback for IE11 Script Access Denied error
-var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
-};
-
-// getting tag from ES6+ `Object.prototype.toString`
-module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
-};
-
-
-/***/ },
-
-/***/ 7740
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var ownKeys = __webpack_require__(5031);
-var getOwnPropertyDescriptorModule = __webpack_require__(7347);
-var definePropertyModule = __webpack_require__(4913);
-
-module.exports = function (target, source, exceptions) {
- var keys = ownKeys(source);
- var defineProperty = definePropertyModule.f;
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- }
-};
-
-
-/***/ },
-
-/***/ 2211
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
- return Object.getPrototypeOf(new F()) !== F.prototype;
-});
-
-
-/***/ },
-
-/***/ 2529
-(module) {
-
-
-// `CreateIterResultObject` abstract operation
-// https://tc39.es/ecma262/#sec-createiterresultobject
-module.exports = function (value, done) {
- return { value: value, done: done };
-};
-
-
-/***/ },
-
-/***/ 6699
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-
-/***/ },
-
-/***/ 6980
-(module) {
-
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-
-/***/ },
-
-/***/ 4659
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = function (object, key, value) {
- if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
- else object[key] = value;
-};
-
-
-/***/ },
-
-/***/ 2106
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var makeBuiltIn = __webpack_require__(283);
-var defineProperty = __webpack_require__(4913);
-
-module.exports = function (target, name, descriptor) {
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
- return defineProperty.f(target, name, descriptor);
-};
-
-
-/***/ },
-
-/***/ 6840
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var definePropertyModule = __webpack_require__(4913);
-var makeBuiltIn = __webpack_require__(283);
-var defineGlobalProperty = __webpack_require__(9433);
-
-module.exports = function (O, key, value, options) {
- if (!options) options = {};
- var simple = options.enumerable;
- var name = options.name !== undefined ? options.name : key;
- if (isCallable(value)) makeBuiltIn(value, name, options);
- if (options.global) {
- if (simple) O[key] = value;
- else defineGlobalProperty(key, value);
- } else {
- try {
- if (!options.unsafe) delete O[key];
- else if (O[key]) simple = true;
- } catch (error) { /* empty */ }
- if (simple) O[key] = value;
- else definePropertyModule.f(O, key, {
- value: value,
- enumerable: false,
- configurable: !options.nonConfigurable,
- writable: !options.nonWritable
- });
- } return O;
-};
-
-
-/***/ },
-
-/***/ 6279
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-
-module.exports = function (target, src, options) {
- for (var key in src) defineBuiltIn(target, key, src[key], options);
- return target;
-};
-
-
-/***/ },
-
-/***/ 9433
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-
-module.exports = function (key, value) {
- try {
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
- } catch (error) {
- globalThis[key] = value;
- } return value;
-};
-
-
-/***/ },
-
-/***/ 3724
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-// Detect IE8's incomplete defineProperty implementation
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
-});
-
-
-/***/ },
-
-/***/ 4483
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getBuiltInNodeModule = __webpack_require__(9429);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var $ArrayBuffer = globalThis.ArrayBuffer;
-var $MessageChannel = globalThis.MessageChannel;
-var detach = false;
-var WorkerThreads, channel, buffer, $detach;
-
-if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- detach = function (transferable) {
- structuredClone(transferable, { transfer: [transferable] });
- };
-} else if ($ArrayBuffer) try {
- if (!$MessageChannel) {
- WorkerThreads = getBuiltInNodeModule('worker_threads');
- if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
- }
-
- if ($MessageChannel) {
- channel = new $MessageChannel();
- buffer = new $ArrayBuffer(2);
-
- $detach = function (transferable) {
- channel.port1.postMessage(null, [transferable]);
- };
-
- if (buffer.byteLength === 2) {
- $detach(buffer);
- if (buffer.byteLength === 0) detach = $detach;
- }
- }
-} catch (error) { /* empty */ }
-
-module.exports = detach;
-
-
-/***/ },
-
-/***/ 4055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-
-var document = globalThis.document;
-// typeof document.createElement is 'object' in old IE
-var EXISTS = isObject(document) && isObject(document.createElement);
-
-module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
-};
-
-
-/***/ },
-
-/***/ 6837
-(module) {
-
-
-var $TypeError = TypeError;
-var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
-
-module.exports = function (it) {
- if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5002
-(module) {
-
-
-module.exports = {
- IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
- DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
- HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
- WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
- InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
- NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
- NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
- NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
- NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
- InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
- InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
- SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
- InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
- NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
- InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
- ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
- TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
- SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
- NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
- AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
- URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
- QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
- TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
- InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
- DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
-};
-
-
-/***/ },
-
-/***/ 8727
-(module) {
-
-
-// IE8- don't enum bug keys
-module.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
-];
-
-
-/***/ },
-
-/***/ 6193
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ENVIRONMENT = __webpack_require__(4215);
-
-module.exports = ENVIRONMENT === 'NODE';
-
-
-/***/ },
-
-/***/ 2839
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-var navigator = globalThis.navigator;
-var userAgent = navigator && navigator.userAgent;
-
-module.exports = userAgent ? String(userAgent) : '';
-
-
-/***/ },
-
-/***/ 9519
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-
-var process = globalThis.process;
-var Deno = globalThis.Deno;
-var versions = process && process.versions || Deno && Deno.version;
-var v8 = versions && versions.v8;
-var match, version;
-
-if (v8) {
- match = v8.split('.');
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
- // but their correct versions are not interesting for us
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-}
-
-// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-// so check `userAgent` even if `.v8` exists, but 0
-if (!version && userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = +match[1];
- }
-}
-
-module.exports = version;
-
-
-/***/ },
-
-/***/ 4215
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global Bun, Deno -- detection */
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-var classof = __webpack_require__(2195);
-
-var userAgentStartsWith = function (string) {
- return userAgent.slice(0, string.length) === string;
-};
-
-module.exports = (function () {
- if (userAgentStartsWith('Bun/')) return 'BUN';
- if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
- if (userAgentStartsWith('Deno/')) return 'DENO';
- if (userAgentStartsWith('Node.js/')) return 'NODE';
- if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
- if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
- if (classof(globalThis.process) === 'process') return 'NODE';
- if (globalThis.window && globalThis.document) return 'BROWSER';
- return 'REST';
-})();
-
-
-/***/ },
-
-/***/ 8574
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var $Error = Error;
-var replace = uncurryThis(''.replace);
-
-var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
-// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe
-var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
-var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
-
-module.exports = function (stack, dropEntries) {
- if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
- while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
- } return stack;
-};
-
-
-/***/ },
-
-/***/ 6518
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineGlobalProperty = __webpack_require__(9433);
-var copyConstructorProperties = __webpack_require__(7740);
-var isForced = __webpack_require__(2796);
-
-/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
-*/
-module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = globalThis;
- } else if (STATIC) {
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
- } else {
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- defineBuiltIn(target, key, sourceProperty, options);
- }
-};
-
-
-/***/ },
-
-/***/ 9039
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 8745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var apply = FunctionPrototype.apply;
-var call = FunctionPrototype.call;
-
-// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
-module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
-});
-
-
-/***/ },
-
-/***/ 6080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(7476);
-var aCallable = __webpack_require__(9306);
-var NATIVE_BIND = __webpack_require__(616);
-
-var bind = uncurryThis(uncurryThis.bind);
-
-// optional / simple context binding
-module.exports = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 616
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = function () { /* empty */ }.bind();
- // eslint-disable-next-line no-prototype-builtins -- safe
- return typeof test != 'function' || test.hasOwnProperty('prototype');
-});
-
-
-/***/ },
-
-/***/ 9565
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var call = Function.prototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-module.exports = NATIVE_BIND ? call.bind(call) : function () {
- return call.apply(call, arguments);
-};
-
-
-/***/ },
-
-/***/ 350
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var hasOwn = __webpack_require__(9297);
-
-var FunctionPrototype = Function.prototype;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
-
-var EXISTS = hasOwn(FunctionPrototype, 'name');
-// additional protection from minified / mangled / dropped function names
-var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
-var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
-
-module.exports = {
- EXISTS: EXISTS,
- PROPER: PROPER,
- CONFIGURABLE: CONFIGURABLE
-};
-
-
-/***/ },
-
-/***/ 6706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var aCallable = __webpack_require__(9306);
-
-module.exports = function (object, key, method) {
- try {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) { /* empty */ }
-};
-
-
-/***/ },
-
-/***/ 7476
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classofRaw = __webpack_require__(2195);
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
-};
-
-
-/***/ },
-
-/***/ 9504
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var call = FunctionPrototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
-
-module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
- return function () {
- return call.apply(fn, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 944
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (options) {
- var alphabet = options && options.alphabet;
- if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
- throw new $TypeError('Incorrect `alphabet` option');
-};
-
-
-/***/ },
-
-/***/ 9429
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var IS_NODE = __webpack_require__(6193);
-
-module.exports = function (name) {
- if (IS_NODE) {
- try {
- return globalThis.process.getBuiltinModule(name);
- } catch (error) { /* empty */ }
- try {
- // eslint-disable-next-line no-new-func -- safe
- return Function('return require("' + name + '")')();
- } catch (error) { /* empty */ }
- }
-};
-
-
-/***/ },
-
-/***/ 7751
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var aFunction = function (argument) {
- return isCallable(argument) ? argument : undefined;
-};
-
-module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
-};
-
-
-/***/ },
-
-/***/ 1767
-(module) {
-
-
-// `GetIteratorDirect(obj)` abstract operation
-// https://tc39.es/ecma262/#sec-getiteratordirect
-module.exports = function (obj) {
- return {
- iterator: obj,
- next: obj.next,
- done: false
- };
-};
-
-
-/***/ },
-
-/***/ 8646
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorMethod = __webpack_require__(851);
-
-module.exports = function (obj, stringHandling) {
- if (!stringHandling || typeof obj !== 'string') anObject(obj);
- var method = getIteratorMethod(obj);
- return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
-};
-
-
-/***/ },
-
-/***/ 851
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-var getMethod = __webpack_require__(5966);
-var isNullOrUndefined = __webpack_require__(4117);
-var Iterators = __webpack_require__(6269);
-var wellKnownSymbol = __webpack_require__(608);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = function (it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
- || getMethod(it, '@@iterator')
- || Iterators[classof(it)];
-};
-
-
-/***/ },
-
-/***/ 81
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var getIteratorMethod = __webpack_require__(851);
-
-var $TypeError = TypeError;
-
-module.exports = function (argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + ' is not iterable');
-};
-
-
-/***/ },
-
-/***/ 5966
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var isNullOrUndefined = __webpack_require__(4117);
-
-// `GetMethod` abstract operation
-// https://tc39.es/ecma262/#sec-getmethod
-module.exports = function (V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? undefined : aCallable(func);
-};
-
-
-/***/ },
-
-/***/ 3789
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var call = __webpack_require__(9565);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var getIteratorDirect = __webpack_require__(1767);
-
-var INVALID_SIZE = 'Invalid size';
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var max = Math.max;
-
-var SetRecord = function (set, intSize) {
- this.set = set;
- this.size = max(intSize, 0);
- this.has = aCallable(set.has);
- this.keys = aCallable(set.keys);
-};
-
-SetRecord.prototype = {
- getIterator: function () {
- return getIteratorDirect(anObject(call(this.keys, this.set)));
- },
- includes: function (it) {
- return call(this.has, this.set, it);
- }
-};
-
-// `GetSetRecord` abstract operation
-// https://tc39.es/proposal-set-methods/#sec-getsetrecord
-module.exports = function (obj) {
- anObject(obj);
- var numSize = +obj.size;
- // NOTE: If size is undefined, then numSize will be NaN
- // eslint-disable-next-line no-self-compare -- NaN check
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
- var intSize = toIntegerOrInfinity(numSize);
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
- return new SetRecord(obj, intSize);
-};
-
-
-/***/ },
-
-/***/ 4576
-(module) {
-
-
-var check = function (it) {
- return it && it.Math === Math && it;
-};
-
-// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-module.exports =
- // eslint-disable-next-line es/no-global-this -- safe
- check(typeof globalThis == 'object' && globalThis) ||
- check(typeof window == 'object' && window) ||
- // eslint-disable-next-line no-restricted-globals -- safe
- check(typeof self == 'object' && self) ||
- check(typeof global == 'object' && global) ||
- check(typeof this == 'object' && this) ||
- // eslint-disable-next-line no-new-func -- fallback
- (function () { return this; })() || Function('return this')();
-
-
-/***/ },
-
-/***/ 9297
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var toObject = __webpack_require__(8981);
-
-var hasOwnProperty = uncurryThis({}.hasOwnProperty);
-
-// `HasOwnProperty` abstract operation
-// https://tc39.es/ecma262/#sec-hasownproperty
-// eslint-disable-next-line es/no-object-hasown -- safe
-module.exports = Object.hasOwn || function hasOwn(it, key) {
- return hasOwnProperty(toObject(it), key);
-};
-
-
-/***/ },
-
-/***/ 421
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-module.exports = getBuiltIn('document', 'documentElement');
-
-
-/***/ },
-
-/***/ 5917
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-var createElement = __webpack_require__(4055);
-
-// Thanks to IE8 for its funny defineProperty
-module.exports = !DESCRIPTORS && !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () { return 7; }
- }).a !== 7;
-});
-
-
-/***/ },
-
-/***/ 7055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var classof = __webpack_require__(2195);
-
-var $Object = Object;
-var split = uncurryThis(''.split);
-
-// fallback for non-array-like ES3 and non-enumerable old V8 strings
-module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins -- safe
- return !$Object('z').propertyIsEnumerable(0);
-}) ? function (it) {
- return classof(it) === 'String' ? split(it, '') : $Object(it);
-} : $Object;
-
-
-/***/ },
-
-/***/ 3167
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var setPrototypeOf = __webpack_require__(2967);
-
-// makes subclassing work correct for wrapped built-ins
-module.exports = function ($this, dummy, Wrapper) {
- var NewTarget, NewTargetPrototype;
- if (
- // it can work only with native `setPrototypeOf`
- setPrototypeOf &&
- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
- isCallable(NewTarget = dummy.constructor) &&
- NewTarget !== Wrapper &&
- isObject(NewTargetPrototype = NewTarget.prototype) &&
- NewTargetPrototype !== Wrapper.prototype
- ) setPrototypeOf($this, NewTargetPrototype);
- return $this;
-};
-
-
-/***/ },
-
-/***/ 3706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var isCallable = __webpack_require__(4901);
-var store = __webpack_require__(7629);
-
-var functionToString = uncurryThis(Function.toString);
-
-// this helper broken in `[email protected]`, so we can't use `shared` helper
-if (!isCallable(store.inspectSource)) {
- store.inspectSource = function (it) {
- return functionToString(it);
- };
-}
-
-module.exports = store.inspectSource;
-
-
-/***/ },
-
-/***/ 1181
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_WEAK_MAP = __webpack_require__(8622);
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var hasOwn = __webpack_require__(9297);
-var shared = __webpack_require__(7629);
-var sharedKey = __webpack_require__(6119);
-var hiddenKeys = __webpack_require__(421);
-
-var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-var TypeError = globalThis.TypeError;
-var WeakMap = globalThis.WeakMap;
-var set, get, has;
-
-var enforce = function (it) {
- return has(it) ? get(it) : set(it, {});
-};
-
-var getterFor = function (TYPE) {
- return function (it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
- } return state;
- };
-};
-
-if (NATIVE_WEAK_MAP || shared.state) {
- var store = shared.state || (shared.state = new WeakMap());
- /* eslint-disable no-self-assign -- prototype methods protection */
- store.get = store.get;
- store.has = store.has;
- store.set = store.set;
- /* eslint-enable no-self-assign -- prototype methods protection */
- set = function (it, metadata) {
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- store.set(it, metadata);
- return metadata;
- };
- get = function (it) {
- return store.get(it) || {};
- };
- has = function (it) {
- return store.has(it);
- };
-} else {
- var STATE = sharedKey('state');
- hiddenKeys[STATE] = true;
- set = function (it, metadata) {
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- createNonEnumerableProperty(it, STATE, metadata);
- return metadata;
- };
- get = function (it) {
- return hasOwn(it, STATE) ? it[STATE] : {};
- };
- has = function (it) {
- return hasOwn(it, STATE);
- };
-}
-
-module.exports = {
- set: set,
- get: get,
- has: has,
- enforce: enforce,
- getterFor: getterFor
-};
-
-
-/***/ },
-
-/***/ 4209
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-var Iterators = __webpack_require__(6269);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var ArrayPrototype = Array.prototype;
-
-// check on default Array iterator
-module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
-};
-
-
-/***/ },
-
-/***/ 4376
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(2195);
-
-// `IsArray` abstract operation
-// https://tc39.es/ecma262/#sec-isarray
-// eslint-disable-next-line es/no-array-isarray -- safe
-module.exports = Array.isArray || function isArray(argument) {
- return classof(argument) === 'Array';
-};
-
-
-/***/ },
-
-/***/ 1108
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-module.exports = function (it) {
- var klass = classof(it);
- return klass === 'BigInt64Array' || klass === 'BigUint64Array';
-};
-
-
-/***/ },
-
-/***/ 4901
-(module) {
-
-
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
-var documentAll = typeof document == 'object' && document.all;
-
-// `IsCallable` abstract operation
-// https://tc39.es/ecma262/#sec-iscallable
-// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
-module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
- return typeof argument == 'function' || argument === documentAll;
-} : function (argument) {
- return typeof argument == 'function';
-};
-
-
-/***/ },
-
-/***/ 2796
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-
-var replacement = /#|\.prototype\./;
-
-var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value === POLYFILL ? true
- : value === NATIVE ? false
- : isCallable(detection) ? fails(detection)
- : !!detection;
-};
-
-var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
-};
-
-var data = isForced.data = {};
-var NATIVE = isForced.NATIVE = 'N';
-var POLYFILL = isForced.POLYFILL = 'P';
-
-module.exports = isForced;
-
-
-/***/ },
-
-/***/ 4117
-(module) {
-
-
-// we can't use just `it == null` since of `document.all` special case
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
-module.exports = function (it) {
- return it === null || it === undefined;
-};
-
-
-/***/ },
-
-/***/ 34
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-
-module.exports = function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it);
-};
-
-
-/***/ },
-
-/***/ 3925
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-module.exports = function (argument) {
- return isObject(argument) || argument === null;
-};
-
-
-/***/ },
-
-/***/ 6395
-(module) {
-
-
-module.exports = false;
-
-
-/***/ },
-
-/***/ 5810
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-var getInternalState = (__webpack_require__(1181).get);
-
-module.exports = function isRawJSON(O) {
- if (!isObject(O)) return false;
- var state = getInternalState(O);
- return !!state && state.type === 'RawJSON';
-};
-
-
-/***/ },
-
-/***/ 757
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var isCallable = __webpack_require__(4901);
-var isPrototypeOf = __webpack_require__(1625);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var $Object = Object;
-
-module.exports = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- var $Symbol = getBuiltIn('Symbol');
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
-};
-
-
-/***/ },
-
-/***/ 507
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-
-module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
- var next = record.next;
- var step, result;
- while (!(step = call(next, iterator)).done) {
- result = fn(step.value);
- if (result !== undefined) return result;
- }
-};
-
-
-/***/ },
-
-/***/ 2652
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var bind = __webpack_require__(6080);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var isArrayIteratorMethod = __webpack_require__(4209);
-var lengthOfArrayLike = __webpack_require__(6198);
-var isPrototypeOf = __webpack_require__(1625);
-var getIterator = __webpack_require__(81);
-var getIteratorMethod = __webpack_require__(851);
-var iteratorClose = __webpack_require__(9539);
-
-var $TypeError = TypeError;
-
-var Result = function (stopped, result) {
- this.stopped = stopped;
- this.result = result;
-};
-
-var ResultPrototype = Result.prototype;
-
-module.exports = function (iterable, unboundFunction, options) {
- var that = options && options.that;
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
- var IS_RECORD = !!(options && options.IS_RECORD);
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
- var INTERRUPTED = !!(options && options.INTERRUPTED);
- var fn = bind(unboundFunction, that);
- var iterator, iterFn, index, length, result, next, step;
-
- var stop = function (condition) {
- var $iterator = iterator;
- iterator = undefined;
- if ($iterator) iteratorClose($iterator, 'normal');
- return new Result(true, condition);
- };
-
- var callFn = function (value) {
- if (AS_ENTRIES) {
- anObject(value);
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
- } return INTERRUPTED ? fn(value, stop) : fn(value);
- };
-
- if (IS_RECORD) {
- iterator = iterable.iterator;
- } else if (IS_ITERATOR) {
- iterator = iterable;
- } else {
- iterFn = getIteratorMethod(iterable);
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
- // optimisation for array iterators
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
- result = callFn(iterable[index]);
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
- }
- iterator = getIterator(iterable, iterFn);
- }
-
- next = IS_RECORD ? iterable.next : iterator.next;
- while (!(step = call(next, iterator)).done) {
- // `IteratorValue` errors should propagate without closing the iterator
- var value = step.value;
- try {
- result = callFn(value);
- } catch (error) {
- if (iterator) iteratorClose(iterator, 'throw', error);
- else throw error;
- }
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
-};
-
-
-/***/ },
-
-/***/ 1385
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var iteratorClose = __webpack_require__(9539);
-
-module.exports = function (iters, kind, value) {
- for (var i = iters.length - 1; i >= 0; i--) {
- if (iters[i] === undefined) continue;
- try {
- value = iteratorClose(iters[i].iterator, kind, value);
- } catch (error) {
- kind = 'throw';
- value = error;
- }
- }
- if (kind === 'throw') throw value;
- return value;
-};
-
-
-/***/ },
-
-/***/ 9539
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getMethod = __webpack_require__(5966);
-
-module.exports = function (iterator, kind, value) {
- var innerResult, innerError;
- anObject(iterator);
- try {
- innerResult = getMethod(iterator, 'return');
- if (!innerResult) {
- if (kind === 'throw') throw value;
- return value;
- }
- innerResult = call(innerResult, iterator);
- } catch (error) {
- innerError = true;
- innerResult = error;
- }
- if (kind === 'throw') throw value;
- if (innerError) throw innerResult;
- anObject(innerResult);
- return value;
-};
-
-
-/***/ },
-
-/***/ 9462
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var create = __webpack_require__(2360);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIns = __webpack_require__(6279);
-var wellKnownSymbol = __webpack_require__(608);
-var InternalStateModule = __webpack_require__(1181);
-var getMethod = __webpack_require__(5966);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var createIterResultObject = __webpack_require__(2529);
-var iteratorClose = __webpack_require__(9539);
-var iteratorCloseAll = __webpack_require__(1385);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var ITERATOR_HELPER = 'IteratorHelper';
-var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
-var NORMAL = 'normal';
-var THROW = 'throw';
-var setInternalState = InternalStateModule.set;
-
-var createIteratorProxyPrototype = function (IS_ITERATOR) {
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
-
- return defineBuiltIns(create(IteratorPrototype), {
- next: function next() {
- var state = getInternalState(this);
- // for simplification:
- // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
- // for `%IteratorHelperPrototype%.next` - just a value
- if (IS_ITERATOR) return state.nextHandler();
- if (state.done) return createIterResultObject(undefined, true);
- try {
- var result = state.nextHandler();
- return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
- } catch (error) {
- state.done = true;
- throw error;
- }
- },
- 'return': function () {
- var state = getInternalState(this);
- var iterator = state.iterator;
- var done = state.done;
- state.done = true;
- if (IS_ITERATOR) {
- var returnMethod = getMethod(iterator, 'return');
- return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
- }
- if (done) return createIterResultObject(undefined, true);
- if (state.inner) try {
- iteratorClose(state.inner.iterator, NORMAL);
- } catch (error) {
- return iteratorClose(iterator, THROW, error);
- }
- if (state.openIters) try {
- iteratorCloseAll(state.openIters, NORMAL);
- } catch (error) {
- if (iterator) return iteratorClose(iterator, THROW, error);
- throw error;
- }
- if (iterator) iteratorClose(iterator, NORMAL);
- return createIterResultObject(undefined, true);
- }
- });
-};
-
-var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
-var IteratorHelperPrototype = createIteratorProxyPrototype(false);
-
-createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
-
-module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
- var IteratorProxy = function Iterator(record, state) {
- if (state) {
- state.iterator = record.iterator;
- state.next = record.next;
- } else state = record;
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
- state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
- state.nextHandler = nextHandler;
- state.counter = 0;
- state.done = false;
- setInternalState(this, state);
- };
-
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
-
- return IteratorProxy;
-};
-
-
-/***/ },
-
-/***/ 684
-(module) {
-
-
-// Should throw an error on invalid iterator
-// https://issues.chromium.org/issues/336839115
-module.exports = function (methodName, argument) {
- // eslint-disable-next-line es/no-iterator -- required for testing
- var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
- if (method) try {
- method.call({ next: null }, argument).next();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 4549
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// https://github.com/tc39/ecma262/pull/3467
-module.exports = function (METHOD_NAME, ExpectedError) {
- var Iterator = globalThis.Iterator;
- var IteratorPrototype = Iterator && Iterator.prototype;
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
-
- var CLOSED = false;
-
- if (method) try {
- method.call({
- next: function () { return { done: true }; },
- 'return': function () { CLOSED = true; }
- }, -1);
- } catch (error) {
- // https://bugs.webkit.org/show_bug.cgi?id=291195
- if (!(error instanceof ExpectedError)) CLOSED = false;
- }
-
- if (!CLOSED) return method;
-};
-
-
-/***/ },
-
-/***/ 7657
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var create = __webpack_require__(2360);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltIn = __webpack_require__(6840);
-var wellKnownSymbol = __webpack_require__(608);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var BUGGY_SAFARI_ITERATORS = false;
-
-// `%IteratorPrototype%` object
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
-var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
-
-/* eslint-disable es/no-array-prototype-keys -- safe */
-if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
-}
-
-var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
- var test = {};
- // FF44- legacy iterators case
- return IteratorPrototype[ITERATOR].call(test) !== test;
-});
-
-if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
-else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
-
-// `%IteratorPrototype%[@@iterator]()` method
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-if (!isCallable(IteratorPrototype[ITERATOR])) {
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
- return this;
- });
-}
-
-module.exports = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
-};
-
-
-/***/ },
-
-/***/ 6269
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 6198
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toLength = __webpack_require__(8014);
-
-// `LengthOfArrayLike` abstract operation
-// https://tc39.es/ecma262/#sec-lengthofarraylike
-module.exports = function (obj) {
- return toLength(obj.length);
-};
-
-
-/***/ },
-
-/***/ 283
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var hasOwn = __webpack_require__(9297);
-var DESCRIPTORS = __webpack_require__(3724);
-var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
-var inspectSource = __webpack_require__(3706);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var $String = String;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var stringSlice = uncurryThis(''.slice);
-var replace = uncurryThis(''.replace);
-var join = uncurryThis([].join);
-
-var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
-});
-
-var TEMPLATE = String(String).split('String');
-
-var makeBuiltIn = module.exports = function (value, name, options) {
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
- }
- if (options && options.getter) name = 'get ' + name;
- if (options && options.setter) name = 'set ' + name;
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
- else value.name = name;
- }
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
- defineProperty(value, 'length', { value: options.arity });
- }
- try {
- if (options && hasOwn(options, 'constructor') && options.constructor) {
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
- } else if (value.prototype) value.prototype = undefined;
- } catch (error) { /* empty */ }
- var state = enforceInternalState(value);
- if (!hasOwn(state, 'source')) {
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
- } return value;
-};
-
-// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
-// eslint-disable-next-line no-extend-native -- required
-Function.prototype.toString = makeBuiltIn(function toString() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
-}, 'toString');
-
-
-/***/ },
-
-/***/ 2248
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-map -- safe
-var MapPrototype = Map.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-map -- safe
- Map: Map,
- set: uncurryThis(MapPrototype.set),
- get: uncurryThis(MapPrototype.get),
- has: uncurryThis(MapPrototype.has),
- remove: uncurryThis(MapPrototype['delete']),
- proto: MapPrototype
-};
-
-
-/***/ },
-
-/***/ 741
-(module) {
-
-
-var ceil = Math.ceil;
-var floor = Math.floor;
-
-// `Math.trunc` method
-// https://tc39.es/ecma262/#sec-math.trunc
-// eslint-disable-next-line es/no-math-trunc -- safe
-module.exports = Math.trunc || function trunc(x) {
- var n = +x;
- return (n > 0 ? floor : ceil)(n);
-};
-
-
-/***/ },
-
-/***/ 7819
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-json -- safe */
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- var unsafeInt = '9007199254740993';
- // eslint-disable-next-line es/no-json-rawjson -- feature detection
- var raw = JSON.rawJSON(unsafeInt);
- // eslint-disable-next-line es/no-json-israwjson -- feature detection
- return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
-});
-
-
-/***/ },
-
-/***/ 6043
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-
-var $TypeError = TypeError;
-
-var PromiseCapability = function (C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aCallable(resolve);
- this.reject = aCallable(reject);
-};
-
-// `NewPromiseCapability` abstract operation
-// https://tc39.es/ecma262/#sec-newpromisecapability
-module.exports.f = function (C) {
- return new PromiseCapability(C);
-};
-
-
-/***/ },
-
-/***/ 2603
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toString = __webpack_require__(655);
-
-module.exports = function (argument, $default) {
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);
-};
-
-
-/***/ },
-
-/***/ 4149
-(module) {
-
-
-var $RangeError = RangeError;
-
-module.exports = function (it) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (it === it) return it;
- throw new $RangeError('NaN is not allowed');
-};
-
-
-/***/ },
-
-/***/ 2360
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global ActiveXObject -- old IE, WSH */
-var anObject = __webpack_require__(8551);
-var definePropertiesModule = __webpack_require__(6801);
-var enumBugKeys = __webpack_require__(8727);
-var hiddenKeys = __webpack_require__(421);
-var html = __webpack_require__(397);
-var documentCreateElement = __webpack_require__(4055);
-var sharedKey = __webpack_require__(6119);
-
-var PROTOTYPE = 'prototype';
-var IE_PROTO = sharedKey('IE_PROTO');
-
-var EmptyConstructor = function () { /* empty */ };
-
-var scriptTag = function (content) {
- return '<script>' + content + '</script>';
-};
-
-// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
-var NullProtoObjectViaActiveX = function (activeXDocument) {
- activeXDocument.write(scriptTag(''));
- activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- // eslint-disable-next-line no-useless-assignment -- avoid memory leak
- activeXDocument = null;
- return temp;
-};
-
-// Create object with fake `null` prototype: use iframe Object with cleared prototype
-var NullProtoObjectViaIFrame = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = documentCreateElement('iframe');
- var JS = 'javascript:';
- var iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- // https://github.com/zloirock/core-js/issues/475
- iframe.src = String(JS);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(scriptTag('document.F=Object'));
- iframeDocument.close();
- return iframeDocument.F;
-};
-
-// Check for document.domain and active x support
-// No need to use active x approach when document.domain is not set
-// see https://github.com/es-shims/es5-shim/issues/150
-// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
-// avoid IE GC bug
-var activeXDocument;
-var NullProtoObject = function () {
- try {
- activeXDocument = new ActiveXObject('htmlfile');
- } catch (error) { /* ignore */ }
- NullProtoObject = typeof document != 'undefined'
- ? document.domain && activeXDocument
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
- : NullProtoObjectViaIFrame()
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
- var length = enumBugKeys.length;
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
- return NullProtoObject();
-};
-
-hiddenKeys[IE_PROTO] = true;
-
-// `Object.create` method
-// https://tc39.es/ecma262/#sec-object.create
-// eslint-disable-next-line es/no-object-create -- safe
-module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject(O);
- result = new EmptyConstructor();
- EmptyConstructor[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = NullProtoObject();
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
-};
-
-
-/***/ },
-
-/***/ 6801
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var definePropertyModule = __webpack_require__(4913);
-var anObject = __webpack_require__(8551);
-var toIndexedObject = __webpack_require__(5397);
-var objectKeys = __webpack_require__(1072);
-
-// `Object.defineProperties` method
-// https://tc39.es/ecma262/#sec-object.defineproperties
-// eslint-disable-next-line es/no-object-defineproperties -- safe
-exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var props = toIndexedObject(Properties);
- var keys = objectKeys(Properties);
- var length = keys.length;
- var index = 0;
- var key;
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
- return O;
-};
-
-
-/***/ },
-
-/***/ 4913
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var anObject = __webpack_require__(8551);
-var toPropertyKey = __webpack_require__(6969);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var $defineProperty = Object.defineProperty;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var ENUMERABLE = 'enumerable';
-var CONFIGURABLE = 'configurable';
-var WRITABLE = 'writable';
-
-// `Object.defineProperty` method
-// https://tc39.es/ecma262/#sec-object.defineproperty
-exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
- var current = $getOwnPropertyDescriptor(O, P);
- if (current && current[WRITABLE]) {
- O[P] = Attributes.value;
- Attributes = {
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
- writable: false
- };
- }
- } return $defineProperty(O, P, Attributes);
-} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-
-/***/ },
-
-/***/ 7347
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var call = __webpack_require__(9565);
-var propertyIsEnumerableModule = __webpack_require__(8773);
-var createPropertyDescriptor = __webpack_require__(6980);
-var toIndexedObject = __webpack_require__(5397);
-var toPropertyKey = __webpack_require__(6969);
-var hasOwn = __webpack_require__(9297);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// `Object.getOwnPropertyDescriptor` method
-// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPropertyKey(P);
- if (IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) { /* empty */ }
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
-};
-
-
-/***/ },
-
-/***/ 8480
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-var hiddenKeys = enumBugKeys.concat('length', 'prototype');
-
-// `Object.getOwnPropertyNames` method
-// https://tc39.es/ecma262/#sec-object.getownpropertynames
-// eslint-disable-next-line es/no-object-getownpropertynames -- safe
-exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return internalObjectKeys(O, hiddenKeys);
-};
-
-
-/***/ },
-
-/***/ 3717
-(__unused_webpack_module, exports) {
-
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
-exports.f = Object.getOwnPropertySymbols;
-
-
-/***/ },
-
-/***/ 2787
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var isCallable = __webpack_require__(4901);
-var toObject = __webpack_require__(8981);
-var sharedKey = __webpack_require__(6119);
-var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);
-
-var IE_PROTO = sharedKey('IE_PROTO');
-var $Object = Object;
-var ObjectPrototype = $Object.prototype;
-
-// `Object.getPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.getprototypeof
-// eslint-disable-next-line es/no-object-getprototypeof -- safe
-module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- if (isCallable(constructor) && object instanceof constructor) {
- return constructor.prototype;
- } return object instanceof $Object ? ObjectPrototype : null;
-};
-
-
-/***/ },
-
-/***/ 1625
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis({}.isPrototypeOf);
-
-
-/***/ },
-
-/***/ 1828
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-var toIndexedObject = __webpack_require__(5397);
-var indexOf = (__webpack_require__(9617).indexOf);
-var hiddenKeys = __webpack_require__(421);
-
-var push = uncurryThis([].push);
-
-module.exports = function (object, names) {
- var O = toIndexedObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
- ~indexOf(result, key) || push(result, key);
- }
- return result;
-};
-
-
-/***/ },
-
-/***/ 1072
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-// `Object.keys` method
-// https://tc39.es/ecma262/#sec-object.keys
-// eslint-disable-next-line es/no-object-keys -- safe
-module.exports = Object.keys || function keys(O) {
- return internalObjectKeys(O, enumBugKeys);
-};
-
-
-/***/ },
-
-/***/ 8773
-(__unused_webpack_module, exports) {
-
-
-var $propertyIsEnumerable = {}.propertyIsEnumerable;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Nashorn ~ JDK8 bug
-var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
-
-// `Object.prototype.propertyIsEnumerable` method implementation
-// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
-} : $propertyIsEnumerable;
-
-
-/***/ },
-
-/***/ 2967
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable no-proto -- safe */
-var uncurryThisAccessor = __webpack_require__(6706);
-var isObject = __webpack_require__(34);
-var requireObjectCoercible = __webpack_require__(7750);
-var aPossiblePrototype = __webpack_require__(3506);
-
-// `Object.setPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.setprototypeof
-// Works with __proto__ only. Old v8 can't work with null proto objects.
-// eslint-disable-next-line es/no-object-setprototypeof -- safe
-module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
- setter(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- requireObjectCoercible(O);
- aPossiblePrototype(proto);
- if (!isObject(O)) return O;
- if (CORRECT_SETTER) setter(O, proto);
- else O.__proto__ = proto;
- return O;
- };
-}() : undefined);
-
-
-/***/ },
-
-/***/ 4270
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-
-var $TypeError = TypeError;
-
-// `OrdinaryToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-module.exports = function (input, pref) {
- var fn, val;
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw new $TypeError("Can't convert object to primitive value");
-};
-
-
-/***/ },
-
-/***/ 5031
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var getOwnPropertyNamesModule = __webpack_require__(8480);
-var getOwnPropertySymbolsModule = __webpack_require__(3717);
-var anObject = __webpack_require__(8551);
-
-var concat = uncurryThis([].concat);
-
-// all object keys, includes non-enumerable and symbols
-module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
-};
-
-
-/***/ },
-
-/***/ 8235
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-
-var $SyntaxError = SyntaxError;
-var $parseInt = parseInt;
-var fromCharCode = String.fromCharCode;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-
-var codePoints = {
- '\\"': '"',
- '\\\\': '\\',
- '\\/': '/',
- '\\b': '\b',
- '\\f': '\f',
- '\\n': '\n',
- '\\r': '\r',
- '\\t': '\t'
-};
-
-var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
-// eslint-disable-next-line regexp/no-control-character -- safe
-var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
-
-module.exports = function (source, i) {
- var unterminated = true;
- var value = '';
- while (i < source.length) {
- var chr = at(source, i);
- if (chr === '\\') {
- var twoChars = slice(source, i, i + 2);
- if (hasOwn(codePoints, twoChars)) {
- value += codePoints[twoChars];
- i += 2;
- } else if (twoChars === '\\u') {
- i += 2;
- var fourHexDigits = slice(source, i, i + 4);
- if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
- value += fromCharCode($parseInt(fourHexDigits, 16));
- i += 4;
- } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
- } else if (chr === '"') {
- unterminated = false;
- i++;
- break;
- } else {
- if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
- value += chr;
- i++;
- }
- }
- if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
- return { value: value, end: i };
-};
-
-
-/***/ },
-
-/***/ 1103
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return { error: false, value: exec() };
- } catch (error) {
- return { error: true, value: error };
- }
-};
-
-
-/***/ },
-
-/***/ 7750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isNullOrUndefined = __webpack_require__(4117);
-
-var $TypeError = TypeError;
-
-// `RequireObjectCoercible` abstract operation
-// https://tc39.es/ecma262/#sec-requireobjectcoercible
-module.exports = function (it) {
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 9286
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var SetHelpers = __webpack_require__(4402);
-var iterate = __webpack_require__(8469);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-
-module.exports = function (set) {
- var result = new Set();
- iterate(set, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 3440
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-module.exports = function difference(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = clone(O);
- if (size(result) <= otherRec.size) iterateSet(result, function (e) {
- if (otherRec.includes(e)) remove(result, e);
- });
- else iterateSimple(otherRec.getIterator(), function (e) {
- if (has(result, e)) remove(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4402
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-set -- safe
-var SetPrototype = Set.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-set -- safe
- Set: Set,
- add: uncurryThis(SetPrototype.add),
- has: uncurryThis(SetPrototype.has),
- remove: uncurryThis(SetPrototype['delete']),
- proto: SetPrototype
-};
-
-
-/***/ },
-
-/***/ 8750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-module.exports = function intersection(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = new Set();
-
- if (size(O) > otherRec.size) {
- iterateSimple(otherRec.getIterator(), function (e) {
- if (has(O, e)) add(result, e);
- });
- } else {
- iterateSet(O, function (e) {
- if (otherRec.includes(e)) add(result, e);
- });
- }
-
- return result;
-};
-
-
-/***/ },
-
-/***/ 4449
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-module.exports = function isDisjointFrom(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
- if (otherRec.includes(e)) return false;
- }, true) !== false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 3838
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var size = __webpack_require__(5170);
-var iterate = __webpack_require__(8469);
-var getSetRecord = __webpack_require__(3789);
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-module.exports = function isSubsetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) > otherRec.size) return false;
- return iterate(O, function (e) {
- if (!otherRec.includes(e)) return false;
- }, true) !== false;
-};
-
-
-/***/ },
-
-/***/ 8527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-module.exports = function isSupersetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) < otherRec.size) return false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (!has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 8469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var iterateSimple = __webpack_require__(507);
-var SetHelpers = __webpack_require__(4402);
-
-var Set = SetHelpers.Set;
-var SetPrototype = SetHelpers.proto;
-var forEach = uncurryThis(SetPrototype.forEach);
-var keys = uncurryThis(SetPrototype.keys);
-var next = keys(new Set()).next;
-
-module.exports = function (set, fn, interruptible) {
- return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
-};
-
-
-/***/ },
-
-/***/ 4916
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-var createSetLike = function (size) {
- return {
- size: size,
- has: function () {
- return false;
- },
- keys: function () {
- return {
- next: function () {
- return { done: true };
- }
- };
- }
- };
-};
-
-var createSetLikeWithInfinitySize = function (size) {
- return {
- size: size,
- has: function () {
- return true;
- },
- keys: function () {
- throw new Error('e');
- }
- };
-};
-
-module.exports = function (name, callback) {
- var Set = getBuiltIn('Set');
- try {
- new Set()[name](createSetLike(0));
- try {
- // late spec change, early WebKit ~ Safari 17 implementation does not pass it
- // https://github.com/tc39/proposal-set-methods/pull/88
- // also covered engines with
- // https://bugs.webkit.org/show_bug.cgi?id=272679
- new Set()[name](createSetLike(-1));
- return false;
- } catch (error2) {
- if (!callback) return true;
- // early V8 implementation bug
- // https://issues.chromium.org/issues/351332634
- try {
- new Set()[name](createSetLikeWithInfinitySize(-Infinity));
- return false;
- } catch (error) {
- var set = new Set([1, 2]);
- return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
- }
- }
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 9835
-(module) {
-
-
-// Should get iterator record of a set-like object before cloning this
-// https://bugs.webkit.org/show_bug.cgi?id=289430
-module.exports = function (METHOD_NAME) {
- try {
- // eslint-disable-next-line es/no-set -- needed for test
- var baseSet = new Set();
- var setLike = {
- size: 0,
- has: function () { return true; },
- keys: function () {
- // eslint-disable-next-line es/no-object-defineproperty -- needed for test
- return Object.defineProperty({}, 'next', {
- get: function () {
- baseSet.clear();
- baseSet.add(4);
- return function () {
- return { done: true };
- };
- }
- });
- }
- };
- var result = baseSet[METHOD_NAME](setLike);
-
- return result.size === 1 && result.values().next().value === 4;
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 5170
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThisAccessor = __webpack_require__(6706);
-var SetHelpers = __webpack_require__(4402);
-
-module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
- return set.size;
-};
-
-
-/***/ },
-
-/***/ 3650
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-module.exports = function symmetricDifference(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (e) {
- if (has(O, e)) remove(result, e);
- else add(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4204
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var add = (__webpack_require__(4402).add);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-module.exports = function union(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 6119
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var shared = __webpack_require__(5745);
-var uid = __webpack_require__(3392);
-
-var keys = shared('keys');
-
-module.exports = function (key) {
- return keys[key] || (keys[key] = uid(key));
-};
-
-
-/***/ },
-
-/***/ 7629
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var IS_PURE = __webpack_require__(6395);
-var globalThis = __webpack_require__(4576);
-var defineGlobalProperty = __webpack_require__(9433);
-
-var SHARED = '__core-js_shared__';
-var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
-
-(store.versions || (store.versions = [])).push({
- version: '3.49.0',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
- source: 'https://github.com/zloirock/core-js'
-});
-
-
-/***/ },
-
-/***/ 5745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var store = __webpack_require__(7629);
-
-module.exports = function (key, value) {
- return store[key] || (store[key] = value || {});
-};
-
-
-/***/ },
-
-/***/ 1548
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var fails = __webpack_require__(9039);
-var V8 = __webpack_require__(9519);
-var ENVIRONMENT = __webpack_require__(4215);
-
-var structuredClone = globalThis.structuredClone;
-
-module.exports = !!structuredClone && !fails(function () {
- // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
- // https://github.com/zloirock/core-js/issues/679
- if ((ENVIRONMENT === 'DENO' && V8 > 92) || (ENVIRONMENT === 'NODE' && V8 > 94) || (ENVIRONMENT === 'BROWSER' && V8 > 97)) return false;
- var buffer = new ArrayBuffer(8);
- var clone = structuredClone(buffer, { transfer: [buffer] });
- return buffer.byteLength !== 0 || clone.byteLength !== 8;
-});
-
-
-/***/ },
-
-/***/ 4495
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var V8_VERSION = __webpack_require__(9519);
-var fails = __webpack_require__(9039);
-var globalThis = __webpack_require__(4576);
-
-var $String = globalThis.String;
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- var symbol = Symbol('symbol detection');
- // Chrome 38 Symbol has incorrect toString conversion
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
- // of course, fail.
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
-});
-
-
-/***/ },
-
-/***/ 5610
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var max = Math.max;
-var min = Math.min;
-
-// Helper for a popular repeating case of the spec:
-// Let integer be ? ToInteger(index).
-// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-module.exports = function (index, length) {
- var integer = toIntegerOrInfinity(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
-};
-
-
-/***/ },
-
-/***/ 5854
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-
-var $TypeError = TypeError;
-
-// `ToBigInt` abstract operation
-// https://tc39.es/ecma262/#sec-tobigint
-module.exports = function (argument) {
- var prim = toPrimitive(argument, 'number');
- if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
- // eslint-disable-next-line es/no-bigint -- safe
- return BigInt(prim);
-};
-
-
-/***/ },
-
-/***/ 7696
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toLength = __webpack_require__(8014);
-
-var $RangeError = RangeError;
-
-// `ToIndex` abstract operation
-// https://tc39.es/ecma262/#sec-toindex
-module.exports = function (it) {
- if (it === undefined) return 0;
- var number = toIntegerOrInfinity(it);
- var length = toLength(number);
- if (number !== length) throw new $RangeError('Wrong length or index');
- return length;
-};
-
-
-/***/ },
-
-/***/ 5397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-// toObject with fallback for non-array-like ES3 strings
-var IndexedObject = __webpack_require__(7055);
-var requireObjectCoercible = __webpack_require__(7750);
-
-module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
-};
-
-
-/***/ },
-
-/***/ 1291
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var trunc = __webpack_require__(741);
-
-// `ToIntegerOrInfinity` abstract operation
-// https://tc39.es/ecma262/#sec-tointegerorinfinity
-module.exports = function (argument) {
- var number = +argument;
- // eslint-disable-next-line no-self-compare -- NaN check
- return number !== number || number === 0 ? 0 : trunc(number);
-};
-
-
-/***/ },
-
-/***/ 8014
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var min = Math.min;
-
-// `ToLength` abstract operation
-// https://tc39.es/ecma262/#sec-tolength
-module.exports = function (argument) {
- var len = toIntegerOrInfinity(argument);
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
-};
-
-
-/***/ },
-
-/***/ 8981
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var requireObjectCoercible = __webpack_require__(7750);
-
-var $Object = Object;
-
-// `ToObject` abstract operation
-// https://tc39.es/ecma262/#sec-toobject
-module.exports = function (argument) {
- return $Object(requireObjectCoercible(argument));
-};
-
-
-/***/ },
-
-/***/ 9590
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var $RangeError = RangeError;
-
-module.exports = function (it) {
- var result = toIntegerOrInfinity(it);
- if (result < 0) throw new $RangeError("The argument can't be less than 0");
- return result;
-};
-
-
-/***/ },
-
-/***/ 2777
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isObject = __webpack_require__(34);
-var isSymbol = __webpack_require__(757);
-var getMethod = __webpack_require__(5966);
-var ordinaryToPrimitive = __webpack_require__(4270);
-var wellKnownSymbol = __webpack_require__(608);
-
-var $TypeError = TypeError;
-var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
-
-// `ToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-toprimitive
-module.exports = function (input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
- var result;
- if (exoticToPrim) {
- if (pref === undefined) pref = 'default';
- result = call(exoticToPrim, input, pref);
- if (!isObject(result) || isSymbol(result)) return result;
- throw new $TypeError("Can't convert object to primitive value");
- }
- if (pref === undefined) pref = 'number';
- return ordinaryToPrimitive(input, pref);
-};
-
-
-/***/ },
-
-/***/ 6969
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-var isSymbol = __webpack_require__(757);
-
-// `ToPropertyKey` abstract operation
-// https://tc39.es/ecma262/#sec-topropertykey
-module.exports = function (argument) {
- var key = toPrimitive(argument, 'string');
- return isSymbol(key) ? key : key + '';
-};
-
-
-/***/ },
-
-/***/ 2140
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(608);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var test = {};
-// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
-test[TO_STRING_TAG] = 'z';
-
-module.exports = String(test) === '[object z]';
-
-
-/***/ },
-
-/***/ 655
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $String = String;
-
-module.exports = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
-};
-
-
-/***/ },
-
-/***/ 6823
-(module) {
-
-
-var $String = String;
-
-module.exports = function (argument) {
- try {
- return $String(argument);
- } catch (error) {
- return 'Object';
- }
-};
-
-
-/***/ },
-
-/***/ 3392
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var id = 0;
-var postfix = Math.random();
-var toString = uncurryThis(1.1.toString);
-
-module.exports = function (key) {
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
-};
-
-
-/***/ },
-
-/***/ 9143
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var aString = __webpack_require__(3463);
-var hasOwn = __webpack_require__(9297);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-var notDetached = __webpack_require__(5169);
-
-var base64Alphabet = base64Map.c2i;
-var base64UrlAlphabet = base64Map.c2iUrl;
-
-var SyntaxError = globalThis.SyntaxError;
-var TypeError = globalThis.TypeError;
-var at = uncurryThis(''.charAt);
-
-var skipAsciiWhitespace = function (string, index) {
- var length = string.length;
- for (;index < length; index++) {
- var chr = at(string, index);
- if (chr !== ' ' && chr !== '\t' && chr !== '\n' && chr !== '\f' && chr !== '\r') break;
- } return index;
-};
-
-var decodeBase64Chunk = function (chunk, alphabet, throwOnExtraBits) {
- var chunkLength = chunk.length;
-
- if (chunkLength < 4) {
- chunk += chunkLength === 2 ? 'AA' : 'A';
- }
-
- var triplet = (alphabet[at(chunk, 0)] << 18)
- + (alphabet[at(chunk, 1)] << 12)
- + (alphabet[at(chunk, 2)] << 6)
- + alphabet[at(chunk, 3)];
-
- var chunkBytes = [
- (triplet >> 16) & 255,
- (triplet >> 8) & 255,
- triplet & 255
- ];
-
- if (chunkLength === 2) {
- if (throwOnExtraBits && chunkBytes[1] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0]];
- }
-
- if (chunkLength === 3) {
- if (throwOnExtraBits && chunkBytes[2] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0], chunkBytes[1]];
- }
-
- return chunkBytes;
-};
-
-var writeBytes = function (bytes, elements, written) {
- var elementsLength = elements.length;
- for (var index = 0; index < elementsLength; index++) {
- bytes[written + index] = elements[index];
- }
- return written + elementsLength;
-};
-
-/* eslint-disable max-statements, max-depth -- TODO */
-module.exports = function (string, options, into, maxLength) {
- aString(string);
- anObjectOrUndefined(options);
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var lastChunkHandling = options ? options.lastChunkHandling : undefined;
-
- if (lastChunkHandling === undefined) lastChunkHandling = 'loose';
-
- if (lastChunkHandling !== 'loose' && lastChunkHandling !== 'strict' && lastChunkHandling !== 'stop-before-partial') {
- throw new TypeError('Incorrect `lastChunkHandling` option');
- }
-
- if (into) notDetached(into.buffer);
-
- var stringLength = string.length;
- var bytes = into || [];
- var written = 0;
- var read = 0;
- var chunk = '';
- var index = 0;
-
- if (maxLength) while (true) {
- index = skipAsciiWhitespace(string, index);
- if (index === stringLength) {
- if (chunk.length > 0) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- if (lastChunkHandling === 'loose') {
- if (chunk.length === 1) {
- throw new SyntaxError('Malformed padding: exactly one additional character');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- } else {
- throw new SyntaxError('Missing padding');
- }
- }
- read = stringLength;
- break;
- }
- var chr = at(string, index);
- ++index;
- if (chr === '=') {
- if (chunk.length < 2) {
- throw new SyntaxError('Padding is too early');
- }
- index = skipAsciiWhitespace(string, index);
- if (chunk.length === 2) {
- if (index === stringLength) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- throw new SyntaxError('Malformed padding: only one =');
- }
- if (at(string, index) === '=') {
- ++index;
- index = skipAsciiWhitespace(string, index);
- }
- }
- if (index < stringLength) {
- throw new SyntaxError('Unexpected character after padding');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === 'strict'), written);
- read = stringLength;
- break;
- }
- if (!hasOwn(alphabet, chr)) {
- throw new SyntaxError('Unexpected character');
- }
- var remainingBytes = maxLength - written;
- if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) {
- // special case: we can fit exactly the number of bytes currently represented by chunk, so we were just checking for `=`
- break;
- }
-
- chunk += chr;
- if (chunk.length === 4) {
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- chunk = '';
- read = index;
- if (written === maxLength) {
- break;
- }
- }
- }
-
- return { bytes: bytes, read: read, written: written };
-};
-
-
-/***/ },
-
-/***/ 2303
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-
-var Uint8Array = globalThis.Uint8Array;
-var SyntaxError = globalThis.SyntaxError;
-var min = Math.min;
-var stringMatch = uncurryThis(''.match);
-
-module.exports = function (string, into) {
- var stringLength = string.length;
- if (stringLength % 2 !== 0) throw new SyntaxError('String should be an even number of characters');
- var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
- var bytes = into || new Uint8Array(maxLength);
- var segments = stringMatch(string, /.{2}/g);
- var written = 0;
- for (; written < maxLength; written++) {
- var result = +('0x' + segments[written] + '0');
- // eslint-disable-next-line no-self-compare -- NaN check
- if (result !== result) {
- throw new SyntaxError('String should only contain hex characters');
- }
- bytes[written] = result >> 4;
- }
- return { bytes: bytes, read: written << 1 };
-};
-
-
-/***/ },
-
-/***/ 7416
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var wellKnownSymbol = __webpack_require__(608);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = !fails(function () {
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
- var url = new URL('b?a=1&b=2&c=3', 'https://a');
- var params = url.searchParams;
- var params2 = new URLSearchParams('a=1&a=2&b=3');
- var result = '';
- url.pathname = 'c%20d';
- params.forEach(function (value, key) {
- params['delete']('b');
- result += key + value;
- });
- params2['delete']('a', 2);
- // `undefined` case is a Chromium 117 bug
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
- params2['delete']('b', undefined);
- return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
- || (!params.size && (IS_PURE || !DESCRIPTORS))
- || !params.sort
- || url.href !== 'https://a/c%20d?a=1&c=3'
- || params.get('c') !== '3'
- || String(new URLSearchParams('?a=1')) !== 'a=1'
- || !params[ITERATOR]
- // throws in Edge
- || new URL('https://a@b').username !== 'a'
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
- // not punycoded in Edge
- || new URL('https://тест').host !== 'xn--e1aybc'
- // not escaped in Chrome 62-
- || new URL('https://a#б').hash !== '#%D0%B1'
- // fails in Chrome 66-
- || result !== 'a1c3'
- // throws in Safari
- || new URL('https://x', undefined).host !== 'x';
-});
-
-
-/***/ },
-
-/***/ 7040
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-module.exports = NATIVE_SYMBOL &&
- !Symbol.sham &&
- typeof Symbol.iterator == 'symbol';
-
-
-/***/ },
-
-/***/ 8686
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-
-// V8 ~ Chrome 36-
-// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-module.exports = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
- value: 42,
- writable: false
- }).prototype !== 42;
-});
-
-
-/***/ },
-
-/***/ 2812
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (passed, required) {
- if (passed < required) throw new $TypeError('Not enough arguments');
- return passed;
-};
-
-
-/***/ },
-
-/***/ 8622
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var WeakMap = globalThis.WeakMap;
-
-module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
-
-
-/***/ },
-
-/***/ 4995
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-weak-map -- safe
-var WeakMapPrototype = WeakMap.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-weak-map -- safe
- WeakMap: WeakMap,
- set: uncurryThis(WeakMapPrototype.set),
- get: uncurryThis(WeakMapPrototype.get),
- has: uncurryThis(WeakMapPrototype.has),
- remove: uncurryThis(WeakMapPrototype['delete'])
-};
-
-
-/***/ },
-
-/***/ 608
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var shared = __webpack_require__(5745);
-var hasOwn = __webpack_require__(9297);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var Symbol = globalThis.Symbol;
-var WellKnownSymbolsStore = shared('wks');
-var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
-
-module.exports = function (name) {
- if (!hasOwn(WellKnownSymbolsStore, name)) {
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
- ? Symbol[name]
- : createWellKnownSymbol('Symbol.' + name);
- } return WellKnownSymbolsStore[name];
-};
-
-
-/***/ },
-
-/***/ 6573
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isDetached = __webpack_require__(3238);
-
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-
-// `ArrayBuffer.prototype.detached` getter
-// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
-if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
- defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
- configurable: true,
- get: function detached() {
- return isDetached(this);
- }
- });
-}
-
-
-/***/ },
-
-/***/ 7936
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transferToFixedLength` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transferToFixedLength: function transferToFixedLength() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, false);
- }
-});
-
-
-/***/ },
-
-/***/ 8100
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transfer` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transfer: function transfer() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, true);
- }
-});
-
-
-/***/ },
-
-/***/ 4423
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $includes = (__webpack_require__(9617).includes);
-var fails = __webpack_require__(9039);
-var addToUnscopables = __webpack_require__(6469);
-
-// FF99+ bug
-var BROKEN_ON_SPARSE = fails(function () {
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
- return !Array(1).includes();
-});
-
-// Safari 26.4- bug
-var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
- return [, 1].includes(undefined, 1);
-});
-
-// `Array.prototype.includes` method
-// https://tc39.es/ecma262/#sec-array.prototype.includes
-$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
-});
-
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-addToUnscopables('includes');
-
-
-/***/ },
-
-/***/ 4114
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var toObject = __webpack_require__(8981);
-var lengthOfArrayLike = __webpack_require__(6198);
-var setArrayLength = __webpack_require__(4527);
-var doesNotExceedSafeInteger = __webpack_require__(6837);
-var fails = __webpack_require__(9039);
-
-var INCORRECT_TO_LENGTH = fails(function () {
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
-});
-
-// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
-// https://bugs.chromium.org/p/v8/issues/detail?id=12681
-var properErrorOnNonWritableLength = function () {
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).push();
- } catch (error) {
- return error instanceof TypeError;
- }
-};
-
-var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
-
-// `Array.prototype.push` method
-// https://tc39.es/ecma262/#sec-array.prototype.push
-$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- push: function push(item) {
- var O = toObject(this);
- var len = lengthOfArrayLike(O);
- var argCount = arguments.length;
- doesNotExceedSafeInteger(len + argCount);
- for (var i = 0; i < argCount; i++) {
- O[len] = arguments[i];
- len++;
- }
- setArrayLength(O, len);
- return len;
- }
-});
-
-
-/***/ },
-
-/***/ 8111
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var anInstance = __webpack_require__(679);
-var anObject = __webpack_require__(8551);
-var isCallable = __webpack_require__(4901);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var hasOwn = __webpack_require__(9297);
-var wellKnownSymbol = __webpack_require__(608);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var CONSTRUCTOR = 'constructor';
-var ITERATOR = 'Iterator';
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-
-var $TypeError = TypeError;
-var NativeIterator = globalThis[ITERATOR];
-
-// FF56- have non-standard global helper `Iterator`
-var FORCED = IS_PURE
- || !isCallable(NativeIterator)
- || NativeIterator.prototype !== IteratorPrototype
- // FF44- non-standard `Iterator` passes previous tests
- || !fails(function () { NativeIterator({}); });
-
-var IteratorConstructor = function Iterator() {
- anInstance(this, IteratorPrototype);
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
-};
-
-var defineIteratorPrototypeAccessor = function (key, value) {
- if (DESCRIPTORS) {
- defineBuiltInAccessor(IteratorPrototype, key, {
- configurable: true,
- get: function () {
- return value;
- },
- set: function (replacement) {
- anObject(this);
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
- if (hasOwn(this, key)) this[key] = replacement;
- else createProperty(this, key, replacement);
- }
- });
- } else IteratorPrototype[key] = value;
-};
-
-if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
-
-if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
-}
-
-IteratorConstructor.prototype = IteratorPrototype;
-
-// `Iterator` constructor
-// https://tc39.es/ecma262/#sec-iterator
-$({ global: true, constructor: true, forced: FORCED }, {
- Iterator: IteratorConstructor
-});
-
-
-/***/ },
-
-/***/ 9314
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var notANaN = __webpack_require__(4149);
-var toPositiveInteger = __webpack_require__(9590);
-var iteratorClose = __webpack_require__(9539);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('drop', 0);
-var dropWithoutClosingOnEarlyError = !IS_PURE && !DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('drop', RangeError);
-
-var FORCED = IS_PURE || DROP_WITHOUT_THROWING_ON_INVALID_ITERATOR || dropWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var next = this.next;
- var result, done;
- while (this.remaining) {
- this.remaining--;
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- }
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (!done) return result.value;
-});
-
-// `Iterator.prototype.drop` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.drop
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- drop: function drop(limit) {
- anObject(this);
- var remaining;
- try {
- remaining = toPositiveInteger(notANaN(+limit));
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (dropWithoutClosingOnEarlyError) return call(dropWithoutClosingOnEarlyError, this, remaining);
-
- return new IteratorProxy(getIteratorDirect(this), {
- remaining: remaining
- });
- }
-});
-
-
-/***/ },
-
-/***/ 1148
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('every', TypeError);
-
-// `Iterator.prototype.every` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.every
-$({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
- every: function every(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (everyWithoutClosingOnEarlyError) return call(everyWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return !iterate(record, function (value, stop) {
- if (!predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 2489
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var IS_PURE = __webpack_require__(6395);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
-var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
-
-var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var predicate = this.predicate;
- var next = this.next;
- var result, done, value;
- while (true) {
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- value = result.value;
- if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
- }
-});
-
-// `Iterator.prototype.filter` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.filter
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- filter: function filter(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
-
- return new IteratorProxy(getIteratorDirect(this), {
- predicate: predicate
- });
- }
-});
-
-
-/***/ },
-
-/***/ 116
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
-
-// `Iterator.prototype.find` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.find
-$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
- find: function find(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop(value);
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
- }
-});
-
-
-/***/ },
-
-/***/ 531
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorFlattenable = __webpack_require__(8646);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var IS_PURE = __webpack_require__(6395);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-// Should not throw an error for an iterator without `return` method. Fixed in Safari 26.2
-// https://bugs.webkit.org/show_bug.cgi?id=297532
-function throwsOnIteratorWithoutReturn() {
- try {
- // eslint-disable-next-line es/no-map, es/no-iterator, es/no-iterator-prototype-flatmap -- required for testing
- var it = Iterator.prototype.flatMap.call(new Map([[4, 5]]).entries(), function (v) { return v; });
- it.next();
- it['return']();
- } catch (error) {
- return true;
- }
-}
-
-var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE
- && !iteratorHelperThrowsOnInvalidIterator('flatMap', function () { /* empty */ });
-var flatMapWithoutClosingOnEarlyError = !IS_PURE && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('flatMap', TypeError);
-
-var FORCED = IS_PURE || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError
- || throwsOnIteratorWithoutReturn();
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var mapper = this.mapper;
- var result, inner;
-
- while (true) {
- if (inner = this.inner) try {
- result = anObject(call(inner.next, inner.iterator));
- if (!result.done) return result.value;
- this.inner = null;
- } catch (error) { iteratorClose(iterator, 'throw', error); }
-
- result = anObject(call(this.next, iterator));
-
- if (this.done = !!result.done) return;
-
- try {
- this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
- } catch (error) { iteratorClose(iterator, 'throw', error); }
- }
-});
-
-// `Iterator.prototype.flatMap` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- flatMap: function flatMap(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (flatMapWithoutClosingOnEarlyError) return call(flatMapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper,
- inner: null
- });
- }
-});
-
-
-/***/ },
-
-/***/ 7588
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
-
-// `Iterator.prototype.forEach` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
-$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
- forEach: function forEach(fn) {
- anObject(this);
- try {
- aCallable(fn);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- iterate(record, function (value) {
- fn(value, counter++);
- }, { IS_RECORD: true });
- }
-});
-
-
-/***/ },
-
-/***/ 1701
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
-var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
-
-var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
-});
-
-// `Iterator.prototype.map` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.map
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- map: function map(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper
- });
- }
-});
-
-
-/***/ },
-
-/***/ 3579
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
-
-// `Iterator.prototype.some` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.some
-$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
- some: function some(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 4972
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var notANaN = __webpack_require__(4149);
-var toPositiveInteger = __webpack_require__(9590);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('take', 1);
-var takeWithoutClosingOnEarlyError = !IS_PURE && !TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('take', RangeError);
-
-var FORCED = IS_PURE || TAKE_WITHOUT_THROWING_ON_INVALID_ITERATOR || takeWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- if (!this.remaining--) {
- this.done = true;
- return iteratorClose(iterator, 'normal', undefined);
- }
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return result.value;
-});
-
-// `Iterator.prototype.take` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.take
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- take: function take(limit) {
- anObject(this);
- var remaining;
- try {
- remaining = toPositiveInteger(notANaN(+limit));
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (takeWithoutClosingOnEarlyError) return call(takeWithoutClosingOnEarlyError, this, remaining);
-
- return new IteratorProxy(getIteratorDirect(this), {
- remaining: remaining
- });
- }
-});
-
-
-/***/ },
-
-/***/ 9112
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var isArray = __webpack_require__(4376);
-var hasOwn = __webpack_require__(9297);
-var toString = __webpack_require__(655);
-var lengthOfArrayLike = __webpack_require__(6198);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var parseJSONString = __webpack_require__(8235);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-var JSON = globalThis.JSON;
-var Number = globalThis.Number;
-var SyntaxError = globalThis.SyntaxError;
-var nativeParse = JSON && JSON.parse;
-var enumerableOwnProperties = getBuiltIn('Object', 'keys');
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-var push = uncurryThis([].push);
-
-var IS_DIGIT = /^\d$/;
-var IS_NON_ZERO_DIGIT = /^[1-9]$/;
-var IS_NUMBER_START = /^[\d-]$/;
-var IS_WHITESPACE = /^[\t\n\r ]$/;
-
-var PRIMITIVE = 0;
-var OBJECT = 1;
-
-var $parse = function (source, reviver) {
- source = toString(source);
- var context = new Context(source, 0, '');
- var root = context.parse();
- var value = root.value;
- var endIndex = context.skip(IS_WHITESPACE, root.end);
- if (endIndex < source.length) {
- throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex);
- }
- return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value;
-};
-
-var internalize = function (holder, name, reviver, node) {
- var val = holder[name];
- var unmodified = node && val === node.value;
- var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {};
- var elementRecordsLen, keys, len, i, P;
- if (isObject(val)) {
- var nodeIsArray = isArray(val);
- var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {};
- if (nodeIsArray) {
- elementRecordsLen = nodes.length;
- len = lengthOfArrayLike(val);
- for (i = 0; i < len; i++) {
- internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined));
- }
- } else {
- keys = enumerableOwnProperties(val);
- len = lengthOfArrayLike(keys);
- for (i = 0; i < len; i++) {
- P = keys[i];
- internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined));
- }
- }
- }
- return call(reviver, holder, name, val, context);
-};
-
-var internalizeProperty = function (object, key, value) {
- if (DESCRIPTORS) {
- var descriptor = getOwnPropertyDescriptor(object, key);
- if (descriptor && !descriptor.configurable) return;
- }
- if (value === undefined) delete object[key];
- else createProperty(object, key, value);
-};
-
-var Node = function (value, end, source, nodes) {
- this.value = value;
- this.end = end;
- this.source = source;
- this.nodes = nodes;
-};
-
-var Context = function (source, index) {
- this.source = source;
- this.index = index;
-};
-
-// https://www.json.org/json-en.html
-Context.prototype = {
- fork: function (nextIndex) {
- return new Context(this.source, nextIndex);
- },
- parse: function () {
- var source = this.source;
- var i = this.skip(IS_WHITESPACE, this.index);
- var fork = this.fork(i);
- var chr = at(source, i);
- if (exec(IS_NUMBER_START, chr)) return fork.number();
- switch (chr) {
- case '{':
- return fork.object();
- case '[':
- return fork.array();
- case '"':
- return fork.string();
- case 't':
- return fork.keyword(true);
- case 'f':
- return fork.keyword(false);
- case 'n':
- return fork.keyword(null);
- } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
- },
- node: function (type, value, start, end, nodes) {
- return new Node(value, end, type ? null : slice(this.source, start, end), nodes);
- },
- object: function () {
- var source = this.source;
- var i = this.index + 1;
- var expectKeypair = false;
- var object = {};
- var nodes = {};
- var closed = false;
- while (i < source.length) {
- i = this.until(['"', '}'], i);
- if (at(source, i) === '}' && !expectKeypair) {
- i++;
- closed = true;
- break;
- }
- // Parsing the key
- var result = this.fork(i).string();
- var key = result.value;
- i = result.end;
- i = this.until([':'], i) + 1;
- // Parsing value
- i = this.skip(IS_WHITESPACE, i);
- result = this.fork(i).parse();
- createProperty(nodes, key, result);
- createProperty(object, key, result.value);
- i = this.until([',', '}'], result.end);
- var chr = at(source, i);
- if (chr === ',') {
- expectKeypair = true;
- i++;
- } else if (chr === '}') {
- i++;
- closed = true;
- break;
- }
- }
- if (!closed) throw new SyntaxError('Unterminated object at: ' + i);
- return this.node(OBJECT, object, this.index, i, nodes);
- },
- array: function () {
- var source = this.source;
- var i = this.index + 1;
- var expectElement = false;
- var array = [];
- var nodes = [];
- var closed = false;
- while (i < source.length) {
- i = this.skip(IS_WHITESPACE, i);
- if (at(source, i) === ']' && !expectElement) {
- i++;
- closed = true;
- break;
- }
- var result = this.fork(i).parse();
- push(nodes, result);
- push(array, result.value);
- i = this.until([',', ']'], result.end);
- if (at(source, i) === ',') {
- expectElement = true;
- i++;
- } else if (at(source, i) === ']') {
- i++;
- closed = true;
- break;
- }
- }
- if (!closed) throw new SyntaxError('Unterminated array at: ' + i);
- return this.node(OBJECT, array, this.index, i, nodes);
- },
- string: function () {
- var index = this.index;
- var parsed = parseJSONString(this.source, this.index + 1);
- return this.node(PRIMITIVE, parsed.value, index, parsed.end);
- },
- number: function () {
- var source = this.source;
- var startIndex = this.index;
- var i = startIndex;
- if (at(source, i) === '-') i++;
- if (at(source, i) === '0') i++;
- else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, i + 1);
- else throw new SyntaxError('Failed to parse number at: ' + i);
- if (at(source, i) === '.') {
- var fractionStartIndex = i + 1;
- i = this.skip(IS_DIGIT, fractionStartIndex);
- if (fractionStartIndex === i) throw new SyntaxError("Failed to parse number's fraction at: " + i);
- }
- if (at(source, i) === 'e' || at(source, i) === 'E') {
- i++;
- if (at(source, i) === '+' || at(source, i) === '-') i++;
- var exponentStartIndex = i;
- i = this.skip(IS_DIGIT, i);
- if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i);
- }
- return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i);
- },
- keyword: function (value) {
- var keyword = '' + value;
- var index = this.index;
- var endIndex = index + keyword.length;
- if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index);
- return this.node(PRIMITIVE, value, index, endIndex);
- },
- skip: function (regex, i) {
- var source = this.source;
- for (; i < source.length; i++) if (!exec(regex, at(source, i))) break;
- return i;
- },
- until: function (array, i) {
- i = this.skip(IS_WHITESPACE, i);
- var chr = at(this.source, i);
- for (var j = 0; j < array.length; j++) if (array[j] === chr) return i;
- throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i);
- }
-};
-
-var NO_SOURCE_SUPPORT = fails(function () {
- var unsafeInt = '9007199254740993';
- var source;
- nativeParse(unsafeInt, function (key, value, context) {
- source = context.source;
- });
- return source !== unsafeInt;
-});
-
-var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () {
- // Safari 9 bug
- return 1 / nativeParse('-0 \t') !== -Infinity;
-});
-
-// `JSON.parse` method
-// https://tc39.es/ecma262/#sec-json.parse
-// https://github.com/tc39/proposal-json-parse-with-source
-$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, {
- parse: function parse(text, reviver) {
- return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver);
- }
-});
-
-
-/***/ },
-
-/***/ 3110
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var apply = __webpack_require__(8745);
-var call = __webpack_require__(9565);
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isArray = __webpack_require__(4376);
-var isCallable = __webpack_require__(4901);
-var isRawJSON = __webpack_require__(5810);
-var isSymbol = __webpack_require__(757);
-var classof = __webpack_require__(2195);
-var toString = __webpack_require__(655);
-var arraySlice = __webpack_require__(7680);
-var parseJSONString = __webpack_require__(8235);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var NATIVE_RAW_JSON = __webpack_require__(7819);
-
-var $String = String;
-var $stringify = getBuiltIn('JSON', 'stringify');
-var exec = uncurryThis(/./.exec);
-var charAt = uncurryThis(''.charAt);
-var charCodeAt = uncurryThis(''.charCodeAt);
-var replace = uncurryThis(''.replace);
-var slice = uncurryThis(''.slice);
-var push = uncurryThis([].push);
-var numberToString = uncurryThis(1.1.toString);
-
-var surrogates = /[\uD800-\uDFFF]/g;
-var leadingSurrogates = /^[\uD800-\uDBFF]$/;
-var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
-
-var MARK = uid();
-var MARK_LENGTH = MARK.length;
-
-var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
- var symbol = getBuiltIn('Symbol')('stringify detection');
- // MS Edge converts symbol values to JSON as {}
- return $stringify([symbol]) !== '[null]'
- // WebKit converts symbol values to JSON as null
- || $stringify({ a: symbol }) !== '{}'
- // V8 throws on boxed symbols
- || $stringify(Object(symbol)) !== '{}';
-});
-
-// https://github.com/tc39/proposal-well-formed-stringify
-var ILL_FORMED_UNICODE = fails(function () {
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
- || $stringify('\uDEAD') !== '"\\udead"';
-});
-
-var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
- var args = arraySlice(arguments);
- var $replacer = getReplacerFunction(replacer);
- if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
- args[1] = function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
- if (!isSymbol(value)) return value;
- };
- return apply($stringify, null, args);
-} : $stringify;
-
-var fixIllFormedJSON = function (match, offset, string) {
- var prev = charAt(string, offset - 1);
- var next = charAt(string, offset + 1);
- if (
- (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
- (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
- ) {
- return '\\u' + numberToString(charCodeAt(match, 0), 16);
- } return match;
-};
-
-var getReplacerFunction = function (replacer) {
- if (isCallable(replacer)) return replacer;
- if (!isArray(replacer)) return;
- var rawLength = replacer.length;
- var keys = [];
- for (var i = 0; i < rawLength; i++) {
- var element = replacer[i];
- if (typeof element == 'string') push(keys, element);
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
- }
- var keysLength = keys.length;
- var root = true;
- return function (key, value) {
- if (root) {
- root = false;
- return value;
- }
- if (isArray(this)) return value;
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
- };
-};
-
-// `JSON.stringify` method
-// https://tc39.es/ecma262/#sec-json.stringify
-// https://github.com/tc39/proposal-json-parse-with-source
-if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
- stringify: function stringify(text, replacer, space) {
- var replacerFunction = getReplacerFunction(replacer);
- var rawStrings = [];
-
- var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
- return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
- }, space);
-
- if (typeof json != 'string') return json;
-
- if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
-
- if (NATIVE_RAW_JSON) return json;
-
- var result = '';
- var length = json.length;
-
- for (var i = 0; i < length; i++) {
- var chr = charAt(json, i);
- if (chr === '"') {
- var end = parseJSONString(json, ++i).end - 1;
- var string = slice(json, i, end);
- result += slice(string, 0, MARK_LENGTH) === MARK
- ? rawStrings[slice(string, MARK_LENGTH)]
- : '"' + string + '"';
- i = end;
- } else result += chr;
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 2731
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- var hasKey = has(this, key);
- aCallable(callbackfn);
- if (hasKey) return get(this, key);
- // CanonicalizeKeyedCollectionKey
- if (key === 0 && 1 / key === -Infinity) key = 0;
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 5367
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3068
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-// based on Shewchuk's algorithm for exactly floating point addition
-// adapted from https://github.com/tc39/proposal-math-sum/blob/3513d58323a1ae25560e8700aa5294500c6c9287/polyfill/polyfill.mjs
-var $ = __webpack_require__(6518);
-var uncurryThis = __webpack_require__(9504);
-var iterate = __webpack_require__(2652);
-
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var $Infinity = Infinity;
-var $NaN = NaN;
-var abs = Math.abs;
-var pow = Math.pow;
-var push = uncurryThis([].push);
-
-var POW_2_1023 = pow(2, 1023);
-var MAX_SAFE_INTEGER = pow(2, 53) - 1; // 2 ** 53 - 1 === 9007199254740991
-var MAX_DOUBLE = Number.MAX_VALUE; // 2 ** 1024 - 2 ** (1023 - 52) === 1.79769313486231570815e+308
-var MAX_ULP = pow(2, 971); // 2 ** (1023 - 52) === 1.99584030953471981166e+292
-
-var NOT_A_NUMBER = {};
-var MINUS_INFINITY = {};
-var PLUS_INFINITY = {};
-var MINUS_ZERO = {};
-var FINITE = {};
-
-// prerequisite: abs(x) >= abs(y)
-var twosum = function (x, y) {
- var hi = x + y;
- var lo = y - (hi - x);
- return { hi: hi, lo: lo };
-};
-
-// `Math.sumPrecise` method
-// https://tc39.es/ecma262/#sec-math.sumprecise
-$({ target: 'Math', stat: true }, {
- // eslint-disable-next-line max-statements -- ok
- sumPrecise: function sumPrecise(items) {
- var numbers = [];
- var count = 0;
- var state = MINUS_ZERO;
-
- iterate(items, function (n) {
- if (++count > MAX_SAFE_INTEGER) throw new $RangeError('Maximum allowed index exceeded');
- if (typeof n != 'number') throw new $TypeError('Value is not a number');
- if (state !== NOT_A_NUMBER) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (n !== n) state = NOT_A_NUMBER;
- else if (n === $Infinity) state = state === MINUS_INFINITY ? NOT_A_NUMBER : PLUS_INFINITY;
- else if (n === -$Infinity) state = state === PLUS_INFINITY ? NOT_A_NUMBER : MINUS_INFINITY;
- else if ((n !== 0 || (1 / n) === $Infinity) && (state === MINUS_ZERO || state === FINITE)) {
- state = FINITE;
- push(numbers, n);
- }
- }
- });
-
- switch (state) {
- case NOT_A_NUMBER: return $NaN;
- case MINUS_INFINITY: return -$Infinity;
- case PLUS_INFINITY: return $Infinity;
- case MINUS_ZERO: return -0;
- }
-
- var partials = [];
- var overflow = 0; // conceptually 2 ** 1024 times this value; the final partial is biased by this amount
- var x, y, sum, hi, lo, tmp;
-
- for (var i = 0; i < numbers.length; i++) {
- x = numbers[i];
- var actuallyUsedPartials = 0;
- for (var j = 0; j < partials.length; j++) {
- y = partials[j];
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- if (abs(hi) === $Infinity) {
- var sign = hi === $Infinity ? 1 : -1;
- overflow += sign;
-
- x = (x - (sign * POW_2_1023)) - (sign * POW_2_1023);
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- }
- if (lo !== 0) partials[actuallyUsedPartials++] = lo;
- x = hi;
- }
- partials.length = actuallyUsedPartials;
- if (x !== 0) push(partials, x);
- }
-
- // compute the exact sum of partials, stopping once we lose precision
- var n = partials.length - 1;
- hi = 0;
- lo = 0;
-
- if (overflow !== 0) {
- var next = n >= 0 ? partials[n] : 0;
- n--;
- if (abs(overflow) > 1 || (overflow > 0 && next > 0) || (overflow < 0 && next < 0)) {
- return overflow > 0 ? $Infinity : -$Infinity;
- }
- // here we actually have to do the arithmetic
- // drop a factor of 2 so we can do it without overflow
- // assert(abs(overflow) === 1)
- sum = twosum(overflow * POW_2_1023, next / 2);
- hi = sum.hi;
- lo = sum.lo;
- lo *= 2;
- if (abs(2 * hi) === $Infinity) {
- // rounding to the maximum value
- if (hi > 0) {
- return (hi === POW_2_1023 && lo === -(MAX_ULP / 2) && n >= 0 && partials[n] < 0) ? MAX_DOUBLE : $Infinity;
- } return (hi === -POW_2_1023 && lo === (MAX_ULP / 2) && n >= 0 && partials[n] > 0) ? -MAX_DOUBLE : -$Infinity;
- }
-
- if (lo !== 0) {
- partials[++n] = lo;
- lo = 0;
- }
-
- hi *= 2;
- }
-
- while (n >= 0) {
- sum = twosum(hi, partials[n--]);
- hi = sum.hi;
- lo = sum.lo;
- if (lo !== 0) break;
- }
-
- if (n >= 0 && ((lo < 0 && partials[n] < 0) || (lo > 0 && partials[n] > 0))) {
- y = lo * 2;
- x = hi + y;
- if (y === x - hi) hi = x;
- }
-
- return hi;
- }
-});
-
-
-/***/ },
-
-/***/ 1689
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var apply = __webpack_require__(8745);
-var slice = __webpack_require__(7680);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-var aCallable = __webpack_require__(9306);
-var perform = __webpack_require__(1103);
-
-var Promise = globalThis.Promise;
-
-var ACCEPT_ARGUMENTS = false;
-// Avoiding the use of polyfills of the previous iteration of this proposal
-// that does not accept arguments of the callback
-var FORCED = !Promise || !Promise['try'] || perform(function () {
- Promise['try'](function (argument) {
- ACCEPT_ARGUMENTS = argument === 8;
- }, 8);
-}).error || !ACCEPT_ARGUMENTS;
-
-// `Promise.try` method
-// https://tc39.es/ecma262/#sec-promise.try
-$({ target: 'Promise', stat: true, forced: FORCED }, {
- 'try': function (callbackfn /* , ...args */) {
- var args = arguments.length > 1 ? slice(arguments, 1) : [];
- var promiseCapability = newPromiseCapabilityModule.f(this);
- var result = perform(function () {
- return apply(aCallable(callbackfn), undefined, args);
- });
- (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
- return promiseCapability.promise;
- }
-});
-
-
-/***/ },
-
-/***/ 4628
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-
-// `Promise.withResolvers` method
-// https://tc39.es/ecma262/#sec-promise.withResolvers
-$({ target: 'Promise', stat: true }, {
- withResolvers: function withResolvers() {
- var promiseCapability = newPromiseCapabilityModule.f(this);
- return {
- promise: promiseCapability.promise,
- resolve: promiseCapability.resolve,
- reject: promiseCapability.reject
- };
- }
-});
-
-
-/***/ },
-
-/***/ 7642
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var difference = __webpack_require__(3440);
-var fails = __webpack_require__(9039);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike('difference', function (result) {
- return result.size === 0;
-});
-
-var FORCED = SET_LIKE_INCORRECT_BEHAVIOR || fails(function () {
- // https://bugs.webkit.org/show_bug.cgi?id=288595
- var setLike = {
- size: 1,
- has: function () { return true; },
- keys: function () {
- var index = 0;
- return {
- next: function () {
- var done = index++ > 1;
- if (baseSet.has(1)) baseSet.clear();
- return { done: done, value: 2 };
- }
- };
- }
- };
- // eslint-disable-next-line es/no-set -- testing
- var baseSet = new Set([1, 2, 3, 4]);
- // eslint-disable-next-line es/no-set-prototype-difference -- testing
- return baseSet.difference(setLike).size !== 3;
-});
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- difference: difference
-});
-
-
-/***/ },
-
-/***/ 8004
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var fails = __webpack_require__(9039);
-var intersection = __webpack_require__(8750);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
- return result.size === 2 && result.has(1) && result.has(2);
-}) || fails(function () {
- // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
-});
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- intersection: intersection
-});
-
-
-/***/ },
-
-/***/ 3853
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isDisjointFrom = __webpack_require__(4449);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
- return !result;
-});
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isDisjointFrom: isDisjointFrom
-});
-
-
-/***/ },
-
-/***/ 5876
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSubsetOf = __webpack_require__(3838);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
- return result;
-});
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSubsetOf: isSubsetOf
-});
-
-
-/***/ },
-
-/***/ 2475
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSupersetOf = __webpack_require__(8527);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
- return !result;
-});
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSupersetOf: isSupersetOf
-});
-
-
-/***/ },
-
-/***/ 5024
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var symmetricDifference = __webpack_require__(3650);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('symmetricDifference') || !setMethodGetKeysBeforeCloning('symmetricDifference');
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- symmetricDifference: symmetricDifference
-});
-
-
-/***/ },
-
-/***/ 1698
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var union = __webpack_require__(4204);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- union: union
-});
-
-
-/***/ },
-
-/***/ 9577
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ArrayBufferViewCore = __webpack_require__(4644);
-var isBigIntArray = __webpack_require__(1108);
-var lengthOfArrayLike = __webpack_require__(6198);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toBigInt = __webpack_require__(5854);
-
-var aTypedArray = ArrayBufferViewCore.aTypedArray;
-var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
-var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
-
-var $RangeError = RangeError;
-
-var PROPER_ORDER = function () {
- try {
- // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
- } catch (error) {
- // some early implementations, like WebKit, does not follow the final semantic
- // https://github.com/tc39/proposal-change-array-by-copy/pull/86
- return error === 8;
- }
-}();
-
-// Bug in WebKit. It should truncate a negative fractional index to zero, but instead throws an error
-var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
- try {
- // eslint-disable-next-line es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](-0.5, 1);
- } catch (error) {
- return true;
- }
-}();
-
-// `%TypedArray%.prototype.with` method
-// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
-exportTypedArrayMethod('with', { 'with': function (index, value) {
- var O = aTypedArray(this);
- var len = lengthOfArrayLike(O);
- var relativeIndex = toIntegerOrInfinity(index);
- var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
- var numericValue = isBigIntArray(O) ? toBigInt(value) : +value;
- if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
- var A = new (getTypedArrayConstructor(O))(len);
- var k = 0;
- for (; k < len; k++) A[k] = k === actualIndex ? numericValue : O[k];
- return A;
-} }['with'], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
-
-
-/***/ },
-
-/***/ 5213
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var arrayFromConstructorAndList = __webpack_require__(5370);
-var $fromBase64 = __webpack_require__(9143);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.fromBase64 || !function () {
- // Webkit not throw an error on odd length string
- try {
- Uint8Array.fromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- Uint8Array.fromBase64('', null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.fromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.frombase64
-if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- fromBase64: function fromBase64(string /* , options */) {
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, null, 0x1FFFFFFFFFFFFF);
- return arrayFromConstructorAndList(Uint8Array, result.bytes);
- }
-});
-
-
-/***/ },
-
-/***/ 6632
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var $fromBase64 = __webpack_require__(9143);
-var anUint8Array = __webpack_require__(4154);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.setFromBase64 || !function () {
- var target = new Uint8Array([255, 255, 255, 255, 255]);
- try {
- target.setFromBase64('', null);
- return;
- } catch (error) { /* empty */ }
- // Webkit not throw an error on odd length string
- try {
- target.setFromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- target.setFromBase64('MjYyZg===');
- } catch (error) {
- return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
- }
-}();
-
-// `Uint8Array.prototype.setFromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfrombase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- setFromBase64: function setFromBase64(string /* , options */) {
- anUint8Array(this);
-
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, this, this.length);
-
- return { read: result.read, written: result.written };
- }
-});
-
-
-/***/ },
-
-/***/ 4226
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var aString = __webpack_require__(3463);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var $fromHex = __webpack_require__(2303);
-
-// Should not throw an error on length-tracking views over ResizableArrayBuffer
-// https://issues.chromium.org/issues/454630441
-function throwsOnLengthTrackingView() {
- try {
- // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- required for testing
- var rab = new ArrayBuffer(16, { maxByteLength: 1024 });
- // eslint-disable-next-line es/no-uint8array-prototype-setfromhex, es/no-typed-arrays -- required for testing
- new Uint8Array(rab).setFromHex('cafed00d');
- } catch (error) {
- return true;
- }
-}
-
-// `Uint8Array.prototype.setFromHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfromhex
-if (globalThis.Uint8Array) $({ target: 'Uint8Array', proto: true, forced: throwsOnLengthTrackingView() }, {
- setFromHex: function setFromHex(string) {
- anUint8Array(this);
- aString(string);
- notDetached(this.buffer);
- var read = $fromHex(string, this).read;
- return { read: read, written: read / 2 };
- }
-});
-
-
-/***/ },
-
-/***/ 9486
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-
-var base64Alphabet = base64Map.i2c;
-var base64UrlAlphabet = base64Map.i2cUrl;
-
-var charAt = uncurryThis(''.charAt);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toBase64 || !function () {
- try {
- var target = new Uint8Array();
- target.toBase64(null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.prototype.toBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tobase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toBase64: function toBase64(/* options */) {
- var array = anUint8Array(this);
- var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var omitPadding = !!options && !!options.omitPadding;
- notDetached(this.buffer);
-
- var result = '';
- var i = 0;
- var length = array.length;
- var triplet;
-
- var at = function (shift) {
- return charAt(alphabet, (triplet >> (6 * shift)) & 63);
- };
-
- for (; i + 2 < length; i += 3) {
- triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
- result += at(3) + at(2) + at(1) + at(0);
- }
- if (i + 2 === length) {
- triplet = (array[i] << 16) + (array[i + 1] << 8);
- result += at(3) + at(2) + at(1) + (omitPadding ? '' : '=');
- } else if (i + 1 === length) {
- triplet = array[i] << 16;
- result += at(3) + at(2) + (omitPadding ? '' : '==');
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 456
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-
-var numberToString = uncurryThis(1.1.toString);
-var join = uncurryThis([].join);
-var $Array = Array;
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toHex || !(function () {
- try {
- var target = new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]);
- return target.toHex() === 'ffffffffffffffff';
- } catch (error) {
- return false;
- }
-})();
-
-// `Uint8Array.prototype.toHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tohex
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toHex: function toHex() {
- anUint8Array(this);
- notDetached(this.buffer);
- var result = $Array(this.length);
- for (var i = 0, length = this.length; i < length; i++) {
- var hex = numberToString(this[i], 16);
- result[i] = hex.length === 1 ? '0' + hex : hex;
- }
- return join(result, '');
- }
-});
-
-
-/***/ },
-
-/***/ 9452
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var aWeakMap = __webpack_require__(6557);
-var aWeakKey = __webpack_require__(4328);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-var FORCED = IS_PURE || !function () {
- try {
- // eslint-disable-next-line es/no-weak-map, no-throw-literal -- testing
- if (WeakMap.prototype.getOrInsertComputed) new WeakMap().getOrInsertComputed(1, function () { throw 1; });
- } catch (error) {
- // FF144 Nightly - Beta 3 bug
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1988369
- return error instanceof TypeError;
- }
-}();
-
-// `WeakMap.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsertcomputed
-$({ target: 'WeakMap', proto: true, real: true, forced: FORCED }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- if (!IS_PURE) aWeakMap(this);
- aWeakKey(key);
- aCallable(callbackfn);
- if (has(this, key)) return get(this, key);
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 8454
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-// `WeakMap.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsert
-$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 4979
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var getBuiltIn = __webpack_require__(7751);
-var createPropertyDescriptor = __webpack_require__(6980);
-var defineProperty = (__webpack_require__(4913).f);
-var hasOwn = __webpack_require__(9297);
-var anInstance = __webpack_require__(679);
-var inheritIfRequired = __webpack_require__(3167);
-var normalizeStringArgument = __webpack_require__(2603);
-var DOMExceptionConstants = __webpack_require__(5002);
-var clearErrorStack = __webpack_require__(8574);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var DOM_EXCEPTION = 'DOMException';
-var Error = getBuiltIn('Error');
-var NativeDOMException = getBuiltIn(DOM_EXCEPTION);
-
-var $DOMException = function DOMException() {
- anInstance(this, DOMExceptionPrototype);
- var argumentsLength = arguments.length;
- var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);
- var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
- var that = new NativeDOMException(message, name);
- var error = new Error(message);
- error.name = DOM_EXCEPTION;
- defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));
- inheritIfRequired(that, this, $DOMException);
- return that;
-};
-
-var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
-
-var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);
-var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis, DOM_EXCEPTION);
-
-// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it
-// https://github.com/Jarred-Sumner/bun/issues/399
-var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);
-
-var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
-
-// `DOMException` constructor patch for `.stack` where it's required
-// https://webidl.spec.whatwg.org/#es-DOMException-specialness
-$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic
- DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException
-});
-
-var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);
-var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
-
-if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
- if (!IS_PURE) {
- defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));
- }
-
- for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {
- var constant = DOMExceptionConstants[key];
- var constantName = constant.s;
- if (!hasOwn(PolyfilledDOMException, constantName)) {
- defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));
- }
- }
-}
-
-
-/***/ },
-
-/***/ 4603
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var append = uncurryThis(URLSearchParamsPrototype.append);
-var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-var push = uncurryThis([].push);
-var params = new $URLSearchParams('a=1&a=2&b=3');
-
-params['delete']('a', 1);
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-params['delete']('b', undefined);
-
-if (params + '' !== 'a=2') {
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $delete(this, name);
- var entries = [];
- forEach(this, function (v, k) { // also validates `this`
- push(entries, { key: k, value: v });
- });
- validateArgumentsLength(length, 1);
- var key = toString(name);
- var value = toString($value);
- var index = 0;
- var entriesLength = entries.length;
- var entry;
- while (index < entriesLength) {
- entry = entries[index];
- $delete(this, entry.key);
- index++;
- }
- index = 0;
- while (index < entriesLength) {
- entry = entries[index++];
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
- }
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 7566
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
-var $has = uncurryThis(URLSearchParamsPrototype.has);
-var params = new $URLSearchParams('a=1');
-
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-if (params.has('a', 2) || !params.has('a', undefined)) {
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $has(this, name);
- var values = getAll(this, name); // also validates `this`
- validateArgumentsLength(length, 1);
- var value = toString($value);
- var index = 0;
- while (index < values.length) {
- if (values[index++] === value) return true;
- } return false;
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 8721
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var uncurryThis = __webpack_require__(9504);
-var defineBuiltInAccessor = __webpack_require__(2106);
-
-var URLSearchParamsPrototype = URLSearchParams.prototype;
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-
-// `URLSearchParams.prototype.size` getter
-// https://github.com/whatwg/url/pull/734
-if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
- get: function size() {
- var count = 0;
- forEach(this, function () { count++; });
- return count;
- },
- configurable: true,
- enumerable: true
- });
-}
-
-
-/***/ },
-
-/***/ 5781
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var validateArgumentsLength = __webpack_require__(2812);
-var toString = __webpack_require__(655);
-var USE_NATIVE_URL = __webpack_require__(7416);
-
-var URL = getBuiltIn('URL');
-
-// `URL.parse` method
-// https://url.spec.whatwg.org/#dom-url-parse
-$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
- parse: function parse(url) {
- var length = validateArgumentsLength(arguments.length, 1);
- var urlString = toString(url);
- var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
- try {
- return new URL(urlString, base);
- } catch (error) {
- return null;
- }
- }
-});
-
-
-/***/ }
-
-/******/ });
-/************************************************************************/
-/******/ // The module cache
-/******/ var __webpack_module_cache__ = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/ // Check if module is in cache
-/******/ var cachedModule = __webpack_module_cache__[moduleId];
-/******/ if (cachedModule !== undefined) {
-/******/ return cachedModule.exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = __webpack_module_cache__[moduleId] = {
-/******/ // no module.id needed
-/******/ // no module.loaded needed
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
@@ -6351,46 +47,7 @@ $({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
/******/
/************************************************************************/
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
-var es_array_includes = __webpack_require__(4423);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
-var es_array_push = __webpack_require__(4114);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js
-var es_array_buffer_detached = __webpack_require__(6573);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js
-var es_array_buffer_transfer = __webpack_require__(8100);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js
-var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
-var es_map_get_or_insert = __webpack_require__(5367);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert-computed.js
-var es_map_get_or_insert_computed = __webpack_require__(2731);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js
-var es_typed_array_with = __webpack_require__(9577);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-base64.js
-var es_uint8_array_set_from_base64 = __webpack_require__(6632);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-hex.js
-var es_uint8_array_set_from_hex = __webpack_require__(4226);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-base64.js
-var es_uint8_array_to_base64 = __webpack_require__(9486);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-hex.js
-var es_uint8_array_to_hex = __webpack_require__(456);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.parse.js
-var web_url_parse = __webpack_require__(5781);
;// ./src/shared/util.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser");
const BBOX_INIT = [Infinity, Infinity, -Infinity, -Infinity];
const F32_BBOX_INIT = new Float32Array(BBOX_INIT);
@@ -7245,56 +902,13 @@ function _isValidExplicitDest(validRef, validName, dest) {
const makeArr = () => [];
const makeMap = () => new Map();
const makeObj = () => Object.create(null);
-if (typeof Blob.prototype.bytes !== "function") {
- Blob.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof Response.prototype.bytes !== "function") {
- Response.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof AbortSignal.any !== "function") {
- AbortSignal.any = function (iterable) {
- const ac = new AbortController();
- const {
- signal
- } = ac;
- for (const s of iterable) {
- if (s.aborted) {
- ac.abort(s.reason);
- return signal;
- }
- }
- for (const s of iterable) {
- s.addEventListener("abort", () => {
- ac.abort(s.reason);
- }, {
- signal
- });
- }
- return signal;
- };
-}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
-var es_iterator_constructor = __webpack_require__(8111);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
-var es_iterator_map = __webpack_require__(1701);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
-var web_url_search_params_delete = __webpack_require__(4603);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
-var web_url_search_params_has = __webpack_require__(7566);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
-var web_url_search_params_size = __webpack_require__(8721);
;// ./src/shared/math_clamp.js
function MathClamp(v, min, max) {
return Math.min(Math.max(v, min), max);
}
;// ./src/display/xfa_text.js
-
class XfaText {
static textContent(xfa) {
const items = [];
@@ -7339,7 +953,6 @@ class XfaText {
;// ./src/display/xfa_layer.js
-
class XfaLayer {
static setupStorage(html, id, element, storage, intent) {
const storedData = storage.getValue(id, {
@@ -7552,24 +1165,6 @@ class XfaLayer {
;// ./src/display/display_utils.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const SVG_NS = "http://www.w3.org/2000/svg";
class PixelsPerInch {
@@ -8257,40 +1852,6 @@ function makePathFromDrawOPS(data) {
return path;
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.take.js
-var es_iterator_take = __webpack_require__(4972);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js
-var es_promise_with_resolvers = __webpack_require__(4628);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
-var es_set_difference_v2 = __webpack_require__(7642);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
-var es_set_intersection_v2 = __webpack_require__(8004);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
-var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
-var es_set_is_subset_of_v2 = __webpack_require__(5876);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
-var es_set_is_superset_of_v2 = __webpack_require__(2475);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
-var es_set_symmetric_difference_v2 = __webpack_require__(5024);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
-var es_set_union_v2 = __webpack_require__(1698);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert.js
-var es_weak_map_get_or_insert = __webpack_require__(8454);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert-computed.js
-var es_weak_map_get_or_insert_computed = __webpack_require__(9452);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js
-var web_dom_exception_stack = __webpack_require__(4979);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
-var es_iterator_some = __webpack_require__(3579);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
-var es_json_stringify = __webpack_require__(3110);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.drop.js
-var es_iterator_drop = __webpack_require__(9314);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
-var es_iterator_every = __webpack_require__(1148);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.parse.js
-var es_json_parse = __webpack_require__(9112);
;// ./src/display/editor/toolbar.js
class EditorToolbar {
@@ -8595,28 +2156,6 @@ class FloatingToolbar {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function bindEvents(obj, element, names) {
for (const name of names) {
element.addEventListener(name, obj[name].bind(obj));
@@ -11478,8 +5017,6 @@ class TouchManager {
-
-
class AnnotationEditor {
#accessibilityData = null;
#allResizerDivs = null;
@@ -13140,14 +6677,6 @@ class FakeEditor extends AnnotationEditor {
}
;// ./src/shared/murmurhash3.js
-
-
-
-
-
-
-
-
const SEED = 0xc3d2e1f0;
const MASK_HIGH = 0xffff0000;
const MASK_LOW = 0xffff;
@@ -13244,21 +6773,6 @@ class MurmurHash3_64 {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const SerializableEmpty = Object.freeze({
map: null,
hash: "",
@@ -13512,32 +7026,9 @@ class PrintAnnotationStorage extends AnnotationStorage {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
-var es_iterator_for_each = __webpack_require__(7588);
;// ./src/display/canvas_dependency_tracker.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const FORCED_DEPENDENCY_LABEL = "__forcedDependency";
const {
floor,
@@ -14272,15 +7763,6 @@ class CanvasImagesTracker {
;// ./src/display/font_loader.js
-
-
-
-
-
-
-
-
-
class FontLoader {
#systemFonts = new Set();
constructor({
@@ -14658,15 +8140,6 @@ class PATTERN_INFO {
;// ./src/display/obj_bin_transform_display.js
-
-
-
-
-
-
-
-
-
class CssFontInfo {
#buffer;
#decoder = new TextDecoder();
@@ -14983,21 +8456,6 @@ class FontPathInfo {
;// ./src/display/api_utils.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function getUrlProp(val) {
if (val instanceof URL) {
return val;
@@ -15088,12 +8546,8 @@ class LoopbackPort {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.try.js
-var es_promise_try = __webpack_require__(1689);
;// ./src/shared/message_handler.js
-
-
const CallbackKind = {
DATA: 1,
ERROR: 2
@@ -15498,14 +8952,6 @@ class MessageHandler {
;// ./src/display/binary_data_factory.js
-
-
-
-
-
-
-
-
class BaseBinaryDataFactory {
#errorStr = Object.freeze({
cMapUrl: "CMap",
@@ -15620,15 +9066,9 @@ class DOMCanvasFactory extends BaseCanvasFactory {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
-var es_iterator_filter = __webpack_require__(2489);
;// ./src/display/filter_factory.js
-
-
-
-
class BaseFilterFactory {
addFilter(maps) {
return "none";
@@ -15959,62 +9399,16 @@ class DOMFilterFactory extends BaseFilterFactory {
#getRGB(color) {
this.#defs.style.color = color;
return getRGB(getComputedStyle(this.#defs).getPropertyValue("color"));
- }
-}
-
-;// ./src/display/node_utils.js
-
-
-
-
-
-
-
+ }
+}
+;// ./src/display/node_utils.js
if (isNodeJS) {
- let canvas;
- try {
- const require = process.getBuiltinModule("module").createRequire(import.meta.url);
- try {
- canvas = require("@napi-rs/canvas");
- } catch (ex) {
- warn(`Cannot load "@napi-rs/canvas" package: "${ex}".`);
- }
- } catch (ex) {
- warn(`Cannot access the \`require\` function: "${ex}".`);
- }
- if (!globalThis.DOMMatrix) {
- if (canvas?.DOMMatrix) {
- globalThis.DOMMatrix = canvas.DOMMatrix;
- } else {
- warn("Cannot polyfill `DOMMatrix`, rendering may be broken.");
- }
- }
- if (!globalThis.ImageData) {
- if (canvas?.ImageData) {
- globalThis.ImageData = canvas.ImageData;
- } else {
- warn("Cannot polyfill `ImageData`, rendering may be broken.");
- }
- }
- if (!globalThis.Path2D) {
- if (canvas?.Path2D) {
- globalThis.Path2D = canvas.Path2D;
- } else {
- warn("Cannot polyfill `Path2D`, rendering may be broken.");
- }
- }
- if (!globalThis.navigator?.language) {
- globalThis.navigator = {
- language: "en-US",
- platform: "",
- userAgent: ""
- };
- }
+ warn("Please use the `legacy` build in Node.js environments.");
}
async function node_utils_fetchData(url) {
const fs = process.getBuiltinModule("fs/promises");
@@ -16036,10 +9430,6 @@ class NodeBinaryDataFactory extends BaseBinaryDataFactory {
}
;// ./src/display/webgpu.js
-
-
-
-
const MESH_WGSL = `
struct Uniforms {
offsetX : f32,
@@ -16249,13 +9639,6 @@ function drawMeshWithGPU(posData, colData, vertexCount, context, backgroundColor
-
-
-
-
-
-
-
const PathType = {
FILL: "Fill",
STROKE: "Stroke",
@@ -16866,10 +10249,6 @@ class TilingPattern {
/* unused harmony import specifier */ var image_utils_ImageKind;
/* unused harmony import specifier */ var image_utils_FeatureTest;
-
-
-
-
function convertToRGBA(params) {
switch (params.kind) {
case image_utils_ImageKind.GRAYSCALE_1BPP:
@@ -16984,17 +10363,6 @@ function grayToRGBA(src, dest) {
-
-
-
-
-
-
-
-
-
-
-
const MIN_FONT_SIZE = 16;
const MAX_FONT_SIZE = 100;
const EXECUTION_TIME = 15;
@@ -19322,14 +12690,6 @@ for (const op in OPS) {
;// ./src/shared/base_pdf_stream.js
-
-
-
-
-
-
-
-
class BasePDFStream {
#PDFStreamReader = null;
#PDFStreamRangeReader = null;
@@ -19418,8 +12778,6 @@ class BasePDFStreamRangeReader {
;// ./src/display/content_disposition.js
-
-
function getFilenameFromContentDispositionHeader(contentDisposition) {
let needsEncodingFixup = true;
let tmp = toParamRegExp("filename\\*", "i").exec(contentDisposition);
@@ -19553,8 +12911,6 @@ function getFilenameFromContentDispositionHeader(contentDisposition) {
-
-
function createHeaders(isHttp, httpHeaders) {
const headers = new Headers();
if (!isHttp || !httpHeaders || typeof httpHeaders !== "object") {
@@ -19629,15 +12985,6 @@ function ensureResponseOrigin(rangeOrigin, origin) {
-
-
-
-
-
-
-
-
-
function fetchUrl(url, headers, withCredentials, abortController) {
return fetch(url, {
method: "GET",
@@ -19778,24 +13125,10 @@ class PDFFetchStreamRangeReader extends BasePDFStreamRangeReader {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
-var es_iterator_find = __webpack_require__(116);
;// ./src/display/transport_stream.js
-
-
-
-
-
-
-
-
-
-
-
-
function transport_stream_getArrayBuffer(val) {
return val instanceof Uint8Array && val.byteLength === val.buffer.byteLength ? val.buffer : new Uint8Array(val).buffer;
}
@@ -20010,12 +13343,6 @@ class PDFDataTransportStreamRangeReader extends BasePDFStreamRangeReader {
-
-
-
-
-
-
const OK_RESPONSE = 200;
const PARTIAL_CONTENT_RESPONSE = 206;
function network_getArrayBuffer(val) {
@@ -20310,7 +13637,6 @@ class PDFNetworkStreamRangeReader extends BasePDFStreamRangeReader {
-
function getReadableStream(url, opts = null) {
const fs = process.getBuiltinModule("fs");
const {
@@ -20482,8 +13808,6 @@ class Metadata {
;// ./src/display/optional_content_config.js
-
-
const INTERNAL = Symbol("INTERNAL");
class OptionalContentGroup {
#isDisplay = false;
@@ -20747,23 +14071,6 @@ class OptionalContentConfig {
;// ./src/display/pages_mapper.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class PagesMapper {
#pageNumberToId = null;
#prevPageNumbers = null;
@@ -20992,9 +14299,6 @@ class PagesMapper {
}
;// ./src/display/pdf_objects.js
-
-
-
const INITIAL_DATA = Symbol("INITIAL_DATA");
const dataObj = () => ({
...Promise.withResolvers(),
@@ -21056,19 +14360,6 @@ class PDFObjects {
;// ./src/display/text_layer.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const MAX_TEXT_DIVS_TO_RENDER = 100000;
const DEFAULT_FONT_SIZE = 30;
class TextLayer {
@@ -21449,35 +14740,6 @@ class TextLayer {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -23246,8 +16508,6 @@ class InternalRenderTask {
const version = "5.7.284";
const build = "7e5b36c2d";
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.sum-precise.js
-var es_math_sum_precise = __webpack_require__(3068);
;// ./src/display/editor/color_picker.js
@@ -23571,12 +16831,8 @@ class BasicColorPicker {
hideDropdown() {}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.flat-map.js
-var es_iterator_flat_map = __webpack_require__(531);
;// ./src/shared/scripting_utils.js
-
-
function makeColorComp(n) {
return Math.floor(MathClamp(n, 0, 1) * 255).toString(16).padStart(2, "0");
}
@@ -23676,22 +16932,6 @@ class DOMSVGFactory extends BaseSVGFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const annotation_layer_DEFAULT_FONT_SIZE = 9;
const GetElementsByNameSet = new WeakSet();
@@ -27090,11 +20330,6 @@ class AnnotationLayer {
-
-
-
-
-
const EOL_PATTERN = /\r\n?|\n/g;
class FreeTextEditor extends AnnotationEditor {
#content = "";
@@ -27733,10 +20968,6 @@ class FreeTextEditor extends AnnotationEditor {
;// ./src/display/editor/drawers/outline.js
-
-
-
-
class Outline {
static PRECISION = 1e-4;
toSVGPath() {
@@ -27807,11 +21038,6 @@ class Outline {
;// ./src/display/editor/drawers/freedraw.js
-
-
-
-
-
class FreeDrawOutliner {
#box;
#bottom = [];
@@ -28177,18 +21403,6 @@ class FreeDrawOutline extends Outline {
-
-
-
-
-
-
-
-
-
-
-
-
class HighlightOutliner {
#box;
#firstPoint;
@@ -28456,13 +21670,6 @@ class FreeHighlightOutline extends FreeDrawOutline {
-
-
-
-
-
-
-
class HighlightEditor extends AnnotationEditor {
#anchorNode = null;
#anchorOffset = 0;
@@ -29331,14 +22538,6 @@ class HighlightEditor extends AnnotationEditor {
-
-
-
-
-
-
-
-
class DrawingOptions {
#svgProperties = Object.create(null);
updateProperty(name, value) {
@@ -30002,13 +23201,6 @@ class DrawingEditor extends AnnotationEditor {
-
-
-
-
-
-
-
class InkDrawOutliner {
#last = new Float64Array(6);
#line;
@@ -30674,10 +23866,6 @@ class InkDrawOutline extends Outline {
-
-
-
-
class InkDrawingOptions extends DrawingOptions {
constructor(viewerParameters) {
super();
@@ -30938,25 +24126,11 @@ class ContourDrawOutline extends InkDrawOutline {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.from-base64.js
-var es_uint8_array_from_base64 = __webpack_require__(5213);
;// ./src/display/editor/drawers/signaturedraw.js
-
-
-
-
-
-
-
-
-
-
-
-
const BASE_HEADER_LENGTH = 8;
const POINTS_PROPERTIES_NUMBER = 3;
class SignatureExtractor {
@@ -31577,11 +24751,6 @@ class SignatureExtractor {
-
-
-
-
-
class SignatureOptions extends DrawingOptions {
constructor() {
super();
@@ -31946,12 +25115,6 @@ class SignatureEditor extends DrawingEditor {
-
-
-
-
-
-
class StampEditor extends AnnotationEditor {
#bitmap = null;
#bitmapId = null;
@@ -32650,16 +25813,6 @@ class StampEditor extends AnnotationEditor {
-
-
-
-
-
-
-
-
-
-
class AnnotationEditorLayer {
#accessibilityManager;
#allowClick = false;
@@ -33409,8 +26562,6 @@ class AnnotationEditorLayer {
;// ./src/display/draw_layer.js
-
-
class DrawLayer {
#parent = null;
#mapping = new Map();
@@ -33608,8 +26759,6 @@ class DrawLayer {
;// ./src/display/text_layer_images.js
-
-
function percentage(value) {
return `${(value * 100).toFixed(2)}%`;
}
@@ -33799,4 +26948,4 @@ globalThis.pdfjsLib = {
export { AbortException, AnnotationEditorLayer, AnnotationEditorParamsType, AnnotationEditorType, AnnotationEditorUIManager, AnnotationLayer, AnnotationMode, AnnotationType, CSSConstants, ColorPicker, DOMSVGFactory, DrawLayer, FeatureTest, GlobalWorkerOptions, ImageKind, InvalidPDFException, MathClamp, OPS, OutputScale, PDFDataRangeTransport, PDFDateString, PDFWorker, PasswordResponses, PermissionFlag, PixelsPerInch, RenderingCancelledException, ResponseException, SignatureExtractor, SupportedImageMimeTypes, TextLayer, TextLayerImages, TouchManager, Util, VerbosityLevel, XfaLayer, applyOpacity, build, createValidAbsoluteUrl, fetchData, findContrastColor, getDocument, getFilenameFromUrl, getPdfFilenameFromUrl, getRGB, getRGBA, getUuid, getXfaPageViewport, isDataScheme, isPdfFile, isValidExplicitDest, makeArr, makeMap, makeObj, noContextMenu, normalizeUnicode, renderRichText, setLayerDimensions, shadow, stopEvent, updateUrlHash, version };
-//# sourceMappingURL=pdf.mjs.map
+//# sourceMappingURL=pdf.mjs.map
\ No newline at end of file
diff --git a/src/firefox/vendor/pdfjs/pdf.worker.mjs b/src/firefox/vendor/pdfjs/pdf.worker.mjs
index 9ff4644c7..7d85fb9b1 100644
--- a/src/firefox/vendor/pdfjs/pdf.worker.mjs
+++ b/src/firefox/vendor/pdfjs/pdf.worker.mjs
@@ -24,5796 +24,8 @@
* pdfjsVersion = 5.7.284
* pdfjsBuild = 7e5b36c2d
*/
-/******/ var __webpack_modules__ = ({
-
-/***/ 9306
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var tryToString = __webpack_require__(6823);
-
-var $TypeError = TypeError;
-
-// `Assert: IsCallable(argument) is true`
-module.exports = function (argument) {
- if (isCallable(argument)) return argument;
- throw new $TypeError(tryToString(argument) + ' is not a function');
-};
-
-
-/***/ },
-
-/***/ 3506
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPossiblePrototype = __webpack_require__(3925);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (isPossiblePrototype(argument)) return argument;
- throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
-};
-
-
-/***/ },
-
-/***/ 7080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4402).has);
-
-// Perform ? RequireInternalSlot(M, [[SetData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 3463
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (typeof argument == 'string') return argument;
- throw new $TypeError('Argument is not a string');
-};
-
-
-/***/ },
-
-/***/ 4328
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var WeakMapHelpers = __webpack_require__(4995);
-
-var weakmap = new WeakMapHelpers.WeakMap();
-var set = WeakMapHelpers.set;
-var remove = WeakMapHelpers.remove;
-
-module.exports = function (key) {
- set(weakmap, key, 1);
- remove(weakmap, key);
- return key;
-};
-
-
-/***/ },
-
-/***/ 6557
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var has = (__webpack_require__(4995).has);
-
-// Perform ? RequireInternalSlot(M, [[WeakMapData]])
-module.exports = function (it) {
- has(it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 6469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-var create = __webpack_require__(2360);
-var defineProperty = (__webpack_require__(4913).f);
-
-var UNSCOPABLES = wellKnownSymbol('unscopables');
-var ArrayPrototype = Array.prototype;
-
-// Array.prototype[@@unscopables]
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-if (ArrayPrototype[UNSCOPABLES] === undefined) {
- defineProperty(ArrayPrototype, UNSCOPABLES, {
- configurable: true,
- value: create(null)
- });
-}
-
-// add a key to Array.prototype[@@unscopables]
-module.exports = function (key) {
- ArrayPrototype[UNSCOPABLES][key] = true;
-};
-
-
-/***/ },
-
-/***/ 679
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isPrototypeOf = __webpack_require__(1625);
-
-var $TypeError = TypeError;
-
-module.exports = function (it, Prototype) {
- if (isPrototypeOf(Prototype, it)) return it;
- throw new $TypeError('Incorrect invocation');
-};
-
-
-/***/ },
-
-/***/ 3972
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-module.exports = function (argument) {
- if (argument === undefined || isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object or undefined');
-};
-
-
-/***/ },
-
-/***/ 8551
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-var $String = String;
-var $TypeError = TypeError;
-
-// `Assert: Type(argument) is Object`
-module.exports = function (argument) {
- if (isObject(argument)) return argument;
- throw new $TypeError($String(argument) + ' is not an object');
-};
-
-
-/***/ },
-
-/***/ 4154
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $TypeError = TypeError;
-
-// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])
-// If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception
-module.exports = function (argument) {
- if (classof(argument) === 'Uint8Array') return argument;
- throw new $TypeError('Argument is not an Uint8Array');
-};
-
-
-/***/ },
-
-/***/ 7811
-(module) {
-
-
-// eslint-disable-next-line es/no-typed-arrays -- safe
-module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
-
-
-/***/ },
-
-/***/ 7394
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThisAccessor = __webpack_require__(6706);
-var classof = __webpack_require__(2195);
-
-var ArrayBuffer = globalThis.ArrayBuffer;
-var TypeError = globalThis.TypeError;
-
-// Includes
-// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).
-// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.
-module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {
- if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected');
- return O.byteLength;
-};
-
-
-/***/ },
-
-/***/ 3238
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var arrayBufferByteLength = __webpack_require__(7394);
-
-var DataView = globalThis.DataView;
-
-module.exports = function (O) {
- if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
- try {
- // eslint-disable-next-line no-new -- thrower
- new DataView(O);
- return false;
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 5169
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isDetached = __webpack_require__(3238);
-
-var $TypeError = TypeError;
-
-module.exports = function (it) {
- if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
- return it;
-};
-
-
-/***/ },
-
-/***/ 5636
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var uncurryThisAccessor = __webpack_require__(6706);
-var toIndex = __webpack_require__(7696);
-var notDetached = __webpack_require__(5169);
-var arrayBufferByteLength = __webpack_require__(7394);
-var detachTransferable = __webpack_require__(4483);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var ArrayBuffer = globalThis.ArrayBuffer;
-var DataView = globalThis.DataView;
-var max = Math.max;
-var min = Math.min;
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-var DataViewPrototype = DataView.prototype;
-var slice = uncurryThis(ArrayBufferPrototype.slice);
-var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');
-var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');
-var getInt8 = uncurryThis(DataViewPrototype.getInt8);
-var setInt8 = uncurryThis(DataViewPrototype.setInt8);
-
-module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {
- var byteLength = arrayBufferByteLength(arrayBuffer);
- var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);
- var fixedLength = !isResizable || !isResizable(arrayBuffer);
- var newBuffer;
- notDetached(arrayBuffer);
- if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });
- if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;
- }
- if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {
- newBuffer = slice(arrayBuffer, 0, newByteLength);
- } else {
- var options = preserveResizability && !fixedLength && maxByteLength
- ? { maxByteLength: max(newByteLength, maxByteLength(arrayBuffer)) }
- : undefined;
- newBuffer = new ArrayBuffer(newByteLength, options);
- var a = new DataView(arrayBuffer);
- var b = new DataView(newBuffer);
- var copyLength = min(newByteLength, byteLength);
- for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));
- }
- if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);
- return newBuffer;
-};
-
-
-/***/ },
-
-/***/ 4644
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_ARRAY_BUFFER = __webpack_require__(7811);
-var DESCRIPTORS = __webpack_require__(3724);
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var hasOwn = __webpack_require__(9297);
-var classof = __webpack_require__(6955);
-var tryToString = __webpack_require__(6823);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isPrototypeOf = __webpack_require__(1625);
-var getPrototypeOf = __webpack_require__(2787);
-var setPrototypeOf = __webpack_require__(2967);
-var wellKnownSymbol = __webpack_require__(8227);
-var uid = __webpack_require__(3392);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var Int8Array = globalThis.Int8Array;
-var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
-var Uint8ClampedArray = globalThis.Uint8ClampedArray;
-var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
-var TypedArray = Int8Array && getPrototypeOf(Int8Array);
-var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
-var ObjectPrototype = Object.prototype;
-var TypeError = globalThis.TypeError;
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
-var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
-// Fixing native typed arrays in Opera Presto crashes the browser, see #595
-var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(globalThis.opera) !== 'Opera';
-var TYPED_ARRAY_TAG_REQUIRED = false;
-var NAME, Constructor, Prototype;
-
-var TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
-};
-
-var BigIntArrayConstructorsList = {
- BigInt64Array: 8,
- BigUint64Array: 8
-};
-
-var isView = function isView(it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return klass === 'DataView'
- || hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var getTypedArrayConstructor = function (it) {
- var proto = getPrototypeOf(it);
- if (!isObject(proto)) return;
- var state = getInternalState(proto);
- return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);
-};
-
-var isTypedArray = function (it) {
- if (!isObject(it)) return false;
- var klass = classof(it);
- return hasOwn(TypedArrayConstructorsList, klass)
- || hasOwn(BigIntArrayConstructorsList, klass);
-};
-
-var aTypedArray = function (it) {
- if (isTypedArray(it)) return it;
- throw new TypeError('Target is not a typed array');
-};
-
-var aTypedArrayConstructor = function (C) {
- if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;
- throw new TypeError(tryToString(C) + ' is not a typed array constructor');
-};
-
-var exportTypedArrayMethod = function (KEY, property, forced, options) {
- if (!DESCRIPTORS) return;
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {
- delete TypedArrayConstructor.prototype[KEY];
- } catch (error) {
- // old WebKit bug - some methods are non-configurable
- try {
- TypedArrayConstructor.prototype[KEY] = property;
- } catch (error2) { /* empty */ }
- }
- }
- if (!TypedArrayPrototype[KEY] || forced) {
- defineBuiltIn(TypedArrayPrototype, KEY, forced ? property
- : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
- }
-};
-
-var exportTypedArrayStaticMethod = function (KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (!DESCRIPTORS) return;
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {
- delete TypedArrayConstructor[KEY];
- } catch (error) { /* empty */ }
- }
- if (!TypedArray[KEY] || forced) {
- // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
- try {
- return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
- } catch (error) { /* empty */ }
- } else return;
- }
- for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = globalThis[ARRAY];
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
- defineBuiltIn(TypedArrayConstructor, KEY, property);
- }
- }
-};
-
-for (NAME in TypedArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
- else NATIVE_ARRAY_BUFFER_VIEWS = false;
-}
-
-for (NAME in BigIntArrayConstructorsList) {
- Constructor = globalThis[NAME];
- Prototype = Constructor && Constructor.prototype;
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
-}
-
-// WebKit bug - typed arrays constructors prototype is Object.prototype
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
- // eslint-disable-next-line no-shadow -- safe
- TypedArray = function TypedArray() {
- throw new TypeError('Incorrect invocation');
- };
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME], TypedArray);
- }
-}
-
-if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
- TypedArrayPrototype = TypedArray.prototype;
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (globalThis[NAME]) setPrototypeOf(globalThis[NAME].prototype, TypedArrayPrototype);
- }
-}
-
-// WebKit bug - one more object in Uint8ClampedArray prototype chain
-if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
- setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
-}
-
-if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {
- TYPED_ARRAY_TAG_REQUIRED = true;
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {
- configurable: true,
- get: function () {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
- }
- });
- for (NAME in TypedArrayConstructorsList) if (globalThis[NAME]) {
- createNonEnumerableProperty(globalThis[NAME].prototype, TYPED_ARRAY_TAG, NAME);
- }
-}
-
-module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
- aTypedArray: aTypedArray,
- aTypedArrayConstructor: aTypedArrayConstructor,
- exportTypedArrayMethod: exportTypedArrayMethod,
- exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
- getTypedArrayConstructor: getTypedArrayConstructor,
- isView: isView,
- isTypedArray: isTypedArray,
- TypedArray: TypedArray,
- TypedArrayPrototype: TypedArrayPrototype
-};
-
-
-/***/ },
-
-/***/ 5370
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var lengthOfArrayLike = __webpack_require__(6198);
-
-module.exports = function (Constructor, list, $length) {
- var index = 0;
- var length = arguments.length > 2 ? $length : lengthOfArrayLike(list);
- var result = new Constructor(length);
- while (length > index) result[index] = list[index++];
- return result;
-};
-
-
-/***/ },
-
-/***/ 9617
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIndexedObject = __webpack_require__(5397);
-var toAbsoluteIndex = __webpack_require__(5610);
-var lengthOfArrayLike = __webpack_require__(6198);
-
-// `Array.prototype.{ indexOf, includes }` methods implementation
-var createMethod = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIndexedObject($this);
- var length = lengthOfArrayLike(O);
- if (length === 0) return !IS_INCLUDES && -1;
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare -- NaN check
- if (IS_INCLUDES && el !== el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare -- NaN check
- if (value !== value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) {
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
-};
-
-module.exports = {
- // `Array.prototype.includes` method
- // https://tc39.es/ecma262/#sec-array.prototype.includes
- includes: createMethod(true),
- // `Array.prototype.indexOf` method
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
- indexOf: createMethod(false)
-};
-
-
-/***/ },
-
-/***/ 4527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var isArray = __webpack_require__(4376);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Safari < 13 does not throw an error in this case
-var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
- // makes no sense without proper strict mode support
- if (this !== undefined) return true;
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).length = 1;
- } catch (error) {
- return error instanceof TypeError;
- }
-}();
-
-module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
- throw new $TypeError('Cannot set read only .length');
- } return O.length = length;
-} : function (O, length) {
- return O.length = length;
-};
-
-
-/***/ },
-
-/***/ 7680
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis([].slice);
-
-
-/***/ },
-
-/***/ 2804
-(module) {
-
-
-var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
-var base64Alphabet = commonAlphabet + '+/';
-var base64UrlAlphabet = commonAlphabet + '-_';
-
-var inverse = function (characters) {
- // TODO: use `Object.create(null)` in `core-js@4`
- var result = {};
- var index = 0;
- for (; index < 64; index++) result[characters.charAt(index)] = index;
- return result;
-};
-
-module.exports = {
- i2c: base64Alphabet,
- c2i: inverse(base64Alphabet),
- i2cUrl: base64UrlAlphabet,
- c2iUrl: inverse(base64UrlAlphabet)
-};
-
-
-/***/ },
-
-/***/ 6319
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var anObject = __webpack_require__(8551);
-var iteratorClose = __webpack_require__(9539);
-
-// call something on iterator step with safe closing on error
-module.exports = function (iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- } catch (error) {
- iteratorClose(iterator, 'throw', error);
- }
-};
-
-
-/***/ },
-
-/***/ 2195
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var toString = uncurryThis({}.toString);
-var stringSlice = uncurryThis(''.slice);
-
-module.exports = function (it) {
- return stringSlice(toString(it), 8, -1);
-};
-
-
-/***/ },
-
-/***/ 6955
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
-var isCallable = __webpack_require__(4901);
-var classofRaw = __webpack_require__(2195);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var $Object = Object;
-
-// ES3 wrong here
-var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
-
-// fallback for IE11 Script Access Denied error
-var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
-};
-
-// getting tag from ES6+ `Object.prototype.toString`
-module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
-};
-
-
-/***/ },
-
-/***/ 7740
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var ownKeys = __webpack_require__(5031);
-var getOwnPropertyDescriptorModule = __webpack_require__(7347);
-var definePropertyModule = __webpack_require__(4913);
-
-module.exports = function (target, source, exceptions) {
- var keys = ownKeys(source);
- var defineProperty = definePropertyModule.f;
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- }
-};
-
-
-/***/ },
-
-/***/ 2211
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
- return Object.getPrototypeOf(new F()) !== F.prototype;
-});
-
-
-/***/ },
-
-/***/ 2529
-(module) {
-
-
-// `CreateIterResultObject` abstract operation
-// https://tc39.es/ecma262/#sec-createiterresultobject
-module.exports = function (value, done) {
- return { value: value, done: done };
-};
-
-
-/***/ },
-
-/***/ 6699
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
-} : function (object, key, value) {
- object[key] = value;
- return object;
-};
-
-
-/***/ },
-
-/***/ 6980
-(module) {
-
-
-module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
-};
-
-
-/***/ },
-
-/***/ 4659
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var definePropertyModule = __webpack_require__(4913);
-var createPropertyDescriptor = __webpack_require__(6980);
-
-module.exports = function (object, key, value) {
- if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
- else object[key] = value;
-};
-
-
-/***/ },
-
-/***/ 2106
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var makeBuiltIn = __webpack_require__(283);
-var defineProperty = __webpack_require__(4913);
-
-module.exports = function (target, name, descriptor) {
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
- return defineProperty.f(target, name, descriptor);
-};
-
-
-/***/ },
-
-/***/ 6840
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-var definePropertyModule = __webpack_require__(4913);
-var makeBuiltIn = __webpack_require__(283);
-var defineGlobalProperty = __webpack_require__(9433);
-
-module.exports = function (O, key, value, options) {
- if (!options) options = {};
- var simple = options.enumerable;
- var name = options.name !== undefined ? options.name : key;
- if (isCallable(value)) makeBuiltIn(value, name, options);
- if (options.global) {
- if (simple) O[key] = value;
- else defineGlobalProperty(key, value);
- } else {
- try {
- if (!options.unsafe) delete O[key];
- else if (O[key]) simple = true;
- } catch (error) { /* empty */ }
- if (simple) O[key] = value;
- else definePropertyModule.f(O, key, {
- value: value,
- enumerable: false,
- configurable: !options.nonConfigurable,
- writable: !options.nonWritable
- });
- } return O;
-};
-
-
-/***/ },
-
-/***/ 6279
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-
-module.exports = function (target, src, options) {
- for (var key in src) defineBuiltIn(target, key, src[key], options);
- return target;
-};
-
-
-/***/ },
-
-/***/ 9433
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-
-module.exports = function (key, value) {
- try {
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
- } catch (error) {
- globalThis[key] = value;
- } return value;
-};
-
-
-/***/ },
-
-/***/ 3724
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-// Detect IE8's incomplete defineProperty implementation
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
-});
-
-
-/***/ },
-
-/***/ 4483
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getBuiltInNodeModule = __webpack_require__(9429);
-var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548);
-
-var structuredClone = globalThis.structuredClone;
-var $ArrayBuffer = globalThis.ArrayBuffer;
-var $MessageChannel = globalThis.MessageChannel;
-var detach = false;
-var WorkerThreads, channel, buffer, $detach;
-
-if (PROPER_STRUCTURED_CLONE_TRANSFER) {
- detach = function (transferable) {
- structuredClone(transferable, { transfer: [transferable] });
- };
-} else if ($ArrayBuffer) try {
- if (!$MessageChannel) {
- WorkerThreads = getBuiltInNodeModule('worker_threads');
- if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel;
- }
-
- if ($MessageChannel) {
- channel = new $MessageChannel();
- buffer = new $ArrayBuffer(2);
-
- $detach = function (transferable) {
- channel.port1.postMessage(null, [transferable]);
- };
-
- if (buffer.byteLength === 2) {
- $detach(buffer);
- if (buffer.byteLength === 0) detach = $detach;
- }
- }
-} catch (error) { /* empty */ }
-
-module.exports = detach;
-
-
-/***/ },
-
-/***/ 4055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-
-var document = globalThis.document;
-// typeof document.createElement is 'object' in old IE
-var EXISTS = isObject(document) && isObject(document.createElement);
-
-module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
-};
-
-
-/***/ },
-
-/***/ 6837
-(module) {
-
-
-var $TypeError = TypeError;
-var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
-
-module.exports = function (it) {
- if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
- return it;
-};
-
-
-/***/ },
-
-/***/ 8727
-(module) {
-
-
-// IE8- don't enum bug keys
-module.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
-];
-
-
-/***/ },
-
-/***/ 6193
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ENVIRONMENT = __webpack_require__(4215);
-
-module.exports = ENVIRONMENT === 'NODE';
-
-
-/***/ },
-
-/***/ 2839
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-var navigator = globalThis.navigator;
-var userAgent = navigator && navigator.userAgent;
-
-module.exports = userAgent ? String(userAgent) : '';
-
-
-/***/ },
-
-/***/ 9519
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-
-var process = globalThis.process;
-var Deno = globalThis.Deno;
-var versions = process && process.versions || Deno && Deno.version;
-var v8 = versions && versions.v8;
-var match, version;
-
-if (v8) {
- match = v8.split('.');
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
- // but their correct versions are not interesting for us
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
-}
-
-// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
-// so check `userAgent` even if `.v8` exists, but 0
-if (!version && userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = +match[1];
- }
-}
-
-module.exports = version;
-
-
-/***/ },
-
-/***/ 4215
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global Bun, Deno -- detection */
-var globalThis = __webpack_require__(4576);
-var userAgent = __webpack_require__(2839);
-var classof = __webpack_require__(2195);
-
-var userAgentStartsWith = function (string) {
- return userAgent.slice(0, string.length) === string;
-};
-
-module.exports = (function () {
- if (userAgentStartsWith('Bun/')) return 'BUN';
- if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
- if (userAgentStartsWith('Deno/')) return 'DENO';
- if (userAgentStartsWith('Node.js/')) return 'NODE';
- if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';
- if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';
- if (classof(globalThis.process) === 'process') return 'NODE';
- if (globalThis.window && globalThis.document) return 'BROWSER';
- return 'REST';
-})();
-
-
-/***/ },
-
-/***/ 6518
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIn = __webpack_require__(6840);
-var defineGlobalProperty = __webpack_require__(9433);
-var copyConstructorProperties = __webpack_require__(7740);
-var isForced = __webpack_require__(2796);
-
-/*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.dontCallGetSet - prevent calling a getter on target
- options.name - the .name of the function if it does not match the key
-*/
-module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = globalThis;
- } else if (STATIC) {
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
- } else {
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.dontCallGetSet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty == typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- defineBuiltIn(target, key, sourceProperty, options);
- }
-};
-
-
-/***/ },
-
-/***/ 9039
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 8745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var apply = FunctionPrototype.apply;
-var call = FunctionPrototype.call;
-
-// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
-module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
- return call.apply(apply, arguments);
-});
-
-
-/***/ },
-
-/***/ 6080
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(7476);
-var aCallable = __webpack_require__(9306);
-var NATIVE_BIND = __webpack_require__(616);
-
-var bind = uncurryThis(uncurryThis.bind);
-
-// optional / simple context binding
-module.exports = function (fn, that) {
- aCallable(fn);
- return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {
- return fn.apply(that, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 616
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
- var test = function () { /* empty */ }.bind();
- // eslint-disable-next-line no-prototype-builtins -- safe
- return typeof test != 'function' || test.hasOwnProperty('prototype');
-});
-
-
-/***/ },
-
-/***/ 9565
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var call = Function.prototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-module.exports = NATIVE_BIND ? call.bind(call) : function () {
- return call.apply(call, arguments);
-};
-
-
-/***/ },
-
-/***/ 350
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var hasOwn = __webpack_require__(9297);
-
-var FunctionPrototype = Function.prototype;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
-
-var EXISTS = hasOwn(FunctionPrototype, 'name');
-// additional protection from minified / mangled / dropped function names
-var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
-var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
-
-module.exports = {
- EXISTS: EXISTS,
- PROPER: PROPER,
- CONFIGURABLE: CONFIGURABLE
-};
-
-
-/***/ },
-
-/***/ 6706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var aCallable = __webpack_require__(9306);
-
-module.exports = function (object, key, method) {
- try {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
- } catch (error) { /* empty */ }
-};
-
-
-/***/ },
-
-/***/ 7476
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classofRaw = __webpack_require__(2195);
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = function (fn) {
- // Nashorn bug:
- // https://github.com/zloirock/core-js/issues/1128
- // https://github.com/zloirock/core-js/issues/1130
- if (classofRaw(fn) === 'Function') return uncurryThis(fn);
-};
-
-
-/***/ },
-
-/***/ 9504
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_BIND = __webpack_require__(616);
-
-var FunctionPrototype = Function.prototype;
-var call = FunctionPrototype.call;
-// eslint-disable-next-line es/no-function-prototype-bind -- safe
-var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
-
-module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
- return function () {
- return call.apply(fn, arguments);
- };
-};
-
-
-/***/ },
-
-/***/ 944
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (options) {
- var alphabet = options && options.alphabet;
- if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
- throw new $TypeError('Incorrect `alphabet` option');
-};
-
-
-/***/ },
-
-/***/ 9429
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var IS_NODE = __webpack_require__(6193);
-
-module.exports = function (name) {
- if (IS_NODE) {
- try {
- return globalThis.process.getBuiltinModule(name);
- } catch (error) { /* empty */ }
- try {
- // eslint-disable-next-line no-new-func -- safe
- return Function('return require("' + name + '")')();
- } catch (error) { /* empty */ }
- }
-};
-
-
-/***/ },
-
-/***/ 7751
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var aFunction = function (argument) {
- return isCallable(argument) ? argument : undefined;
-};
-
-module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
-};
-
-
-/***/ },
-
-/***/ 1767
-(module) {
-
-
-// `GetIteratorDirect(obj)` abstract operation
-// https://tc39.es/ecma262/#sec-getiteratordirect
-module.exports = function (obj) {
- return {
- iterator: obj,
- next: obj.next,
- done: false
- };
-};
-
-
-/***/ },
-
-/***/ 8646
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorMethod = __webpack_require__(851);
-
-module.exports = function (obj, stringHandling) {
- if (!stringHandling || typeof obj !== 'string') anObject(obj);
- var method = getIteratorMethod(obj);
- return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
-};
-
-
-/***/ },
-
-/***/ 851
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-var getMethod = __webpack_require__(5966);
-var isNullOrUndefined = __webpack_require__(4117);
-var Iterators = __webpack_require__(6269);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = function (it) {
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
- || getMethod(it, '@@iterator')
- || Iterators[classof(it)];
-};
-
-
-/***/ },
-
-/***/ 81
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var getIteratorMethod = __webpack_require__(851);
-
-var $TypeError = TypeError;
-
-module.exports = function (argument, usingIterator) {
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
- if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
- throw new $TypeError(tryToString(argument) + ' is not iterable');
-};
-
-
-/***/ },
-
-/***/ 5966
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var isNullOrUndefined = __webpack_require__(4117);
-
-// `GetMethod` abstract operation
-// https://tc39.es/ecma262/#sec-getmethod
-module.exports = function (V, P) {
- var func = V[P];
- return isNullOrUndefined(func) ? undefined : aCallable(func);
-};
-
-
-/***/ },
-
-/***/ 3789
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var call = __webpack_require__(9565);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var getIteratorDirect = __webpack_require__(1767);
-
-var INVALID_SIZE = 'Invalid size';
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var max = Math.max;
-
-var SetRecord = function (set, intSize) {
- this.set = set;
- this.size = max(intSize, 0);
- this.has = aCallable(set.has);
- this.keys = aCallable(set.keys);
-};
-
-SetRecord.prototype = {
- getIterator: function () {
- return getIteratorDirect(anObject(call(this.keys, this.set)));
- },
- includes: function (it) {
- return call(this.has, this.set, it);
- }
-};
-
-// `GetSetRecord` abstract operation
-// https://tc39.es/proposal-set-methods/#sec-getsetrecord
-module.exports = function (obj) {
- anObject(obj);
- var numSize = +obj.size;
- // NOTE: If size is undefined, then numSize will be NaN
- // eslint-disable-next-line no-self-compare -- NaN check
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
- var intSize = toIntegerOrInfinity(numSize);
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
- return new SetRecord(obj, intSize);
-};
-
-
-/***/ },
-
-/***/ 4576
-(module) {
-
-
-var check = function (it) {
- return it && it.Math === Math && it;
-};
-
-// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
-module.exports =
- // eslint-disable-next-line es/no-global-this -- safe
- check(typeof globalThis == 'object' && globalThis) ||
- check(typeof window == 'object' && window) ||
- // eslint-disable-next-line no-restricted-globals -- safe
- check(typeof self == 'object' && self) ||
- check(typeof global == 'object' && global) ||
- check(typeof this == 'object' && this) ||
- // eslint-disable-next-line no-new-func -- fallback
- (function () { return this; })() || Function('return this')();
-
-
-/***/ },
-
-/***/ 9297
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var toObject = __webpack_require__(8981);
-
-var hasOwnProperty = uncurryThis({}.hasOwnProperty);
-
-// `HasOwnProperty` abstract operation
-// https://tc39.es/ecma262/#sec-hasownproperty
-// eslint-disable-next-line es/no-object-hasown -- safe
-module.exports = Object.hasOwn || function hasOwn(it, key) {
- return hasOwnProperty(toObject(it), key);
-};
-
-
-/***/ },
-
-/***/ 421
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-module.exports = getBuiltIn('document', 'documentElement');
-
-
-/***/ },
-
-/***/ 5917
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-var createElement = __webpack_require__(4055);
-
-// Thanks to IE8 for its funny defineProperty
-module.exports = !DESCRIPTORS && !fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () { return 7; }
- }).a !== 7;
-});
-
-
-/***/ },
-
-/***/ 7055
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var classof = __webpack_require__(2195);
-
-var $Object = Object;
-var split = uncurryThis(''.split);
-
-// fallback for non-array-like ES3 and non-enumerable old V8 strings
-module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins -- safe
- return !$Object('z').propertyIsEnumerable(0);
-}) ? function (it) {
- return classof(it) === 'String' ? split(it, '') : $Object(it);
-} : $Object;
-
-
-/***/ },
-
-/***/ 3706
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var isCallable = __webpack_require__(4901);
-var store = __webpack_require__(7629);
-
-var functionToString = uncurryThis(Function.toString);
-
-// this helper broken in `[email protected]`, so we can't use `shared` helper
-if (!isCallable(store.inspectSource)) {
- store.inspectSource = function (it) {
- return functionToString(it);
- };
-}
-
-module.exports = store.inspectSource;
-
-
-/***/ },
-
-/***/ 1181
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var NATIVE_WEAK_MAP = __webpack_require__(8622);
-var globalThis = __webpack_require__(4576);
-var isObject = __webpack_require__(34);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var hasOwn = __webpack_require__(9297);
-var shared = __webpack_require__(7629);
-var sharedKey = __webpack_require__(6119);
-var hiddenKeys = __webpack_require__(421);
-
-var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
-var TypeError = globalThis.TypeError;
-var WeakMap = globalThis.WeakMap;
-var set, get, has;
-
-var enforce = function (it) {
- return has(it) ? get(it) : set(it, {});
-};
-
-var getterFor = function (TYPE) {
- return function (it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
- } return state;
- };
-};
-
-if (NATIVE_WEAK_MAP || shared.state) {
- var store = shared.state || (shared.state = new WeakMap());
- /* eslint-disable no-self-assign -- prototype methods protection */
- store.get = store.get;
- store.has = store.has;
- store.set = store.set;
- /* eslint-enable no-self-assign -- prototype methods protection */
- set = function (it, metadata) {
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- store.set(it, metadata);
- return metadata;
- };
- get = function (it) {
- return store.get(it) || {};
- };
- has = function (it) {
- return store.has(it);
- };
-} else {
- var STATE = sharedKey('state');
- hiddenKeys[STATE] = true;
- set = function (it, metadata) {
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
- metadata.facade = it;
- createNonEnumerableProperty(it, STATE, metadata);
- return metadata;
- };
- get = function (it) {
- return hasOwn(it, STATE) ? it[STATE] : {};
- };
- has = function (it) {
- return hasOwn(it, STATE);
- };
-}
-
-module.exports = {
- set: set,
- get: get,
- has: has,
- enforce: enforce,
- getterFor: getterFor
-};
-
-
-/***/ },
-
-/***/ 4209
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-var Iterators = __webpack_require__(6269);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var ArrayPrototype = Array.prototype;
-
-// check on default Array iterator
-module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
-};
-
-
-/***/ },
-
-/***/ 4376
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(2195);
-
-// `IsArray` abstract operation
-// https://tc39.es/ecma262/#sec-isarray
-// eslint-disable-next-line es/no-array-isarray -- safe
-module.exports = Array.isArray || function isArray(argument) {
- return classof(argument) === 'Array';
-};
-
-
-/***/ },
-
-/***/ 1108
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-module.exports = function (it) {
- var klass = classof(it);
- return klass === 'BigInt64Array' || klass === 'BigUint64Array';
-};
-
-
-/***/ },
-
-/***/ 4901
-(module) {
-
-
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
-var documentAll = typeof document == 'object' && document.all;
-
-// `IsCallable` abstract operation
-// https://tc39.es/ecma262/#sec-iscallable
-// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
-module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
- return typeof argument == 'function' || argument === documentAll;
-} : function (argument) {
- return typeof argument == 'function';
-};
-
-
-/***/ },
-
-/***/ 2796
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-
-var replacement = /#|\.prototype\./;
-
-var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value === POLYFILL ? true
- : value === NATIVE ? false
- : isCallable(detection) ? fails(detection)
- : !!detection;
-};
-
-var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
-};
-
-var data = isForced.data = {};
-var NATIVE = isForced.NATIVE = 'N';
-var POLYFILL = isForced.POLYFILL = 'P';
-
-module.exports = isForced;
-
-
-/***/ },
-
-/***/ 4117
-(module) {
-
-
-// we can't use just `it == null` since of `document.all` special case
-// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
-module.exports = function (it) {
- return it === null || it === undefined;
-};
-
-
-/***/ },
-
-/***/ 34
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isCallable = __webpack_require__(4901);
-
-module.exports = function (it) {
- return typeof it == 'object' ? it !== null : isCallable(it);
-};
-
-
-/***/ },
-
-/***/ 3925
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-
-module.exports = function (argument) {
- return isObject(argument) || argument === null;
-};
-
-
-/***/ },
-
-/***/ 6395
-(module) {
-
-
-module.exports = false;
-
-
-/***/ },
-
-/***/ 5810
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isObject = __webpack_require__(34);
-var getInternalState = (__webpack_require__(1181).get);
-
-module.exports = function isRawJSON(O) {
- if (!isObject(O)) return false;
- var state = getInternalState(O);
- return !!state && state.type === 'RawJSON';
-};
-
-
-/***/ },
-
-/***/ 757
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var isCallable = __webpack_require__(4901);
-var isPrototypeOf = __webpack_require__(1625);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var $Object = Object;
-
-module.exports = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
-} : function (it) {
- var $Symbol = getBuiltIn('Symbol');
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
-};
-
-
-/***/ },
-
-/***/ 507
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-
-module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
- var next = record.next;
- var step, result;
- while (!(step = call(next, iterator)).done) {
- result = fn(step.value);
- if (result !== undefined) return result;
- }
-};
-
-
-/***/ },
-
-/***/ 2652
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var bind = __webpack_require__(6080);
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var tryToString = __webpack_require__(6823);
-var isArrayIteratorMethod = __webpack_require__(4209);
-var lengthOfArrayLike = __webpack_require__(6198);
-var isPrototypeOf = __webpack_require__(1625);
-var getIterator = __webpack_require__(81);
-var getIteratorMethod = __webpack_require__(851);
-var iteratorClose = __webpack_require__(9539);
-
-var $TypeError = TypeError;
-
-var Result = function (stopped, result) {
- this.stopped = stopped;
- this.result = result;
-};
-
-var ResultPrototype = Result.prototype;
-
-module.exports = function (iterable, unboundFunction, options) {
- var that = options && options.that;
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
- var IS_RECORD = !!(options && options.IS_RECORD);
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
- var INTERRUPTED = !!(options && options.INTERRUPTED);
- var fn = bind(unboundFunction, that);
- var iterator, iterFn, index, length, result, next, step;
-
- var stop = function (condition) {
- var $iterator = iterator;
- iterator = undefined;
- if ($iterator) iteratorClose($iterator, 'normal');
- return new Result(true, condition);
- };
-
- var callFn = function (value) {
- if (AS_ENTRIES) {
- anObject(value);
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
- } return INTERRUPTED ? fn(value, stop) : fn(value);
- };
-
- if (IS_RECORD) {
- iterator = iterable.iterator;
- } else if (IS_ITERATOR) {
- iterator = iterable;
- } else {
- iterFn = getIteratorMethod(iterable);
- if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
- // optimisation for array iterators
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
- result = callFn(iterable[index]);
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
- }
- iterator = getIterator(iterable, iterFn);
- }
-
- next = IS_RECORD ? iterable.next : iterator.next;
- while (!(step = call(next, iterator)).done) {
- // `IteratorValue` errors should propagate without closing the iterator
- var value = step.value;
- try {
- result = callFn(value);
- } catch (error) {
- if (iterator) iteratorClose(iterator, 'throw', error);
- else throw error;
- }
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
- } return new Result(false);
-};
-
-
-/***/ },
-
-/***/ 1385
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var iteratorClose = __webpack_require__(9539);
-
-module.exports = function (iters, kind, value) {
- for (var i = iters.length - 1; i >= 0; i--) {
- if (iters[i] === undefined) continue;
- try {
- value = iteratorClose(iters[i].iterator, kind, value);
- } catch (error) {
- kind = 'throw';
- value = error;
- }
- }
- if (kind === 'throw') throw value;
- return value;
-};
-
-
-/***/ },
-
-/***/ 9539
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var anObject = __webpack_require__(8551);
-var getMethod = __webpack_require__(5966);
-
-module.exports = function (iterator, kind, value) {
- var innerResult, innerError;
- anObject(iterator);
- try {
- innerResult = getMethod(iterator, 'return');
- if (!innerResult) {
- if (kind === 'throw') throw value;
- return value;
- }
- innerResult = call(innerResult, iterator);
- } catch (error) {
- innerError = true;
- innerResult = error;
- }
- if (kind === 'throw') throw value;
- if (innerError) throw innerResult;
- anObject(innerResult);
- return value;
-};
-
-
-/***/ },
-
-/***/ 9462
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var create = __webpack_require__(2360);
-var createNonEnumerableProperty = __webpack_require__(6699);
-var defineBuiltIns = __webpack_require__(6279);
-var wellKnownSymbol = __webpack_require__(8227);
-var InternalStateModule = __webpack_require__(1181);
-var getMethod = __webpack_require__(5966);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var createIterResultObject = __webpack_require__(2529);
-var iteratorClose = __webpack_require__(9539);
-var iteratorCloseAll = __webpack_require__(1385);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var ITERATOR_HELPER = 'IteratorHelper';
-var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
-var NORMAL = 'normal';
-var THROW = 'throw';
-var setInternalState = InternalStateModule.set;
-
-var createIteratorProxyPrototype = function (IS_ITERATOR) {
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
-
- return defineBuiltIns(create(IteratorPrototype), {
- next: function next() {
- var state = getInternalState(this);
- // for simplification:
- // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
- // for `%IteratorHelperPrototype%.next` - just a value
- if (IS_ITERATOR) return state.nextHandler();
- if (state.done) return createIterResultObject(undefined, true);
- try {
- var result = state.nextHandler();
- return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
- } catch (error) {
- state.done = true;
- throw error;
- }
- },
- 'return': function () {
- var state = getInternalState(this);
- var iterator = state.iterator;
- var done = state.done;
- state.done = true;
- if (IS_ITERATOR) {
- var returnMethod = getMethod(iterator, 'return');
- return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
- }
- if (done) return createIterResultObject(undefined, true);
- if (state.inner) try {
- iteratorClose(state.inner.iterator, NORMAL);
- } catch (error) {
- return iteratorClose(iterator, THROW, error);
- }
- if (state.openIters) try {
- iteratorCloseAll(state.openIters, NORMAL);
- } catch (error) {
- if (iterator) return iteratorClose(iterator, THROW, error);
- throw error;
- }
- if (iterator) iteratorClose(iterator, NORMAL);
- return createIterResultObject(undefined, true);
- }
- });
-};
-
-var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
-var IteratorHelperPrototype = createIteratorProxyPrototype(false);
-
-createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
-
-module.exports = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
- var IteratorProxy = function Iterator(record, state) {
- if (state) {
- state.iterator = record.iterator;
- state.next = record.next;
- } else state = record;
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
- state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
- state.nextHandler = nextHandler;
- state.counter = 0;
- state.done = false;
- setInternalState(this, state);
- };
-
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
-
- return IteratorProxy;
-};
-
-
-/***/ },
-
-/***/ 684
-(module) {
-
-
-// Should throw an error on invalid iterator
-// https://issues.chromium.org/issues/336839115
-module.exports = function (methodName, argument) {
- // eslint-disable-next-line es/no-iterator -- required for testing
- var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
- if (method) try {
- method.call({ next: null }, argument).next();
- } catch (error) {
- return true;
- }
-};
-
-
-/***/ },
-
-/***/ 4549
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-
-// https://github.com/tc39/ecma262/pull/3467
-module.exports = function (METHOD_NAME, ExpectedError) {
- var Iterator = globalThis.Iterator;
- var IteratorPrototype = Iterator && Iterator.prototype;
- var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
-
- var CLOSED = false;
-
- if (method) try {
- method.call({
- next: function () { return { done: true }; },
- 'return': function () { CLOSED = true; }
- }, -1);
- } catch (error) {
- // https://bugs.webkit.org/show_bug.cgi?id=291195
- if (!(error instanceof ExpectedError)) CLOSED = false;
- }
-
- if (!CLOSED) return method;
-};
-
-
-/***/ },
-
-/***/ 7657
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-var create = __webpack_require__(2360);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltIn = __webpack_require__(6840);
-var wellKnownSymbol = __webpack_require__(8227);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-var BUGGY_SAFARI_ITERATORS = false;
-
-// `%IteratorPrototype%` object
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
-var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
-
-/* eslint-disable es/no-array-prototype-keys -- safe */
-if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
-}
-
-var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
- var test = {};
- // FF44- legacy iterators case
- return IteratorPrototype[ITERATOR].call(test) !== test;
-});
-
-if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
-else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
-
-// `%IteratorPrototype%[@@iterator]()` method
-// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
-if (!isCallable(IteratorPrototype[ITERATOR])) {
- defineBuiltIn(IteratorPrototype, ITERATOR, function () {
- return this;
- });
-}
-
-module.exports = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
-};
-
-
-/***/ },
-
-/***/ 6269
-(module) {
-
-
-module.exports = {};
-
-
-/***/ },
-
-/***/ 6198
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toLength = __webpack_require__(8014);
-
-// `LengthOfArrayLike` abstract operation
-// https://tc39.es/ecma262/#sec-lengthofarraylike
-module.exports = function (obj) {
- return toLength(obj.length);
-};
-
-
-/***/ },
-
-/***/ 283
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isCallable = __webpack_require__(4901);
-var hasOwn = __webpack_require__(9297);
-var DESCRIPTORS = __webpack_require__(3724);
-var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
-var inspectSource = __webpack_require__(3706);
-var InternalStateModule = __webpack_require__(1181);
-
-var enforceInternalState = InternalStateModule.enforce;
-var getInternalState = InternalStateModule.get;
-var $String = String;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var stringSlice = uncurryThis(''.slice);
-var replace = uncurryThis(''.replace);
-var join = uncurryThis([].join);
-
-var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
-});
-
-var TEMPLATE = String(String).split('String');
-
-var makeBuiltIn = module.exports = function (value, name, options) {
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
- }
- if (options && options.getter) name = 'get ' + name;
- if (options && options.setter) name = 'set ' + name;
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
- else value.name = name;
- }
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
- defineProperty(value, 'length', { value: options.arity });
- }
- try {
- if (options && hasOwn(options, 'constructor') && options.constructor) {
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
- } else if (value.prototype) value.prototype = undefined;
- } catch (error) { /* empty */ }
- var state = enforceInternalState(value);
- if (!hasOwn(state, 'source')) {
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
- } return value;
-};
-
-// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
-// eslint-disable-next-line no-extend-native -- required
-Function.prototype.toString = makeBuiltIn(function toString() {
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
-}, 'toString');
-
-
-/***/ },
-
-/***/ 2248
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-map -- safe
-var MapPrototype = Map.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-map -- safe
- Map: Map,
- set: uncurryThis(MapPrototype.set),
- get: uncurryThis(MapPrototype.get),
- has: uncurryThis(MapPrototype.has),
- remove: uncurryThis(MapPrototype['delete']),
- proto: MapPrototype
-};
-
-
-/***/ },
-
-/***/ 741
-(module) {
-
-
-var ceil = Math.ceil;
-var floor = Math.floor;
-
-// `Math.trunc` method
-// https://tc39.es/ecma262/#sec-math.trunc
-// eslint-disable-next-line es/no-math-trunc -- safe
-module.exports = Math.trunc || function trunc(x) {
- var n = +x;
- return (n > 0 ? floor : ceil)(n);
-};
-
-
-/***/ },
-
-/***/ 7819
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-json -- safe */
-var fails = __webpack_require__(9039);
-
-module.exports = !fails(function () {
- var unsafeInt = '9007199254740993';
- // eslint-disable-next-line es/no-json-rawjson -- feature detection
- var raw = JSON.rawJSON(unsafeInt);
- // eslint-disable-next-line es/no-json-israwjson -- feature detection
- return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
-});
-
-
-/***/ },
-
-/***/ 6043
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aCallable = __webpack_require__(9306);
-
-var $TypeError = TypeError;
-
-var PromiseCapability = function (C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aCallable(resolve);
- this.reject = aCallable(reject);
-};
-
-// `NewPromiseCapability` abstract operation
-// https://tc39.es/ecma262/#sec-newpromisecapability
-module.exports.f = function (C) {
- return new PromiseCapability(C);
-};
-
-
-/***/ },
-
-/***/ 2360
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* global ActiveXObject -- old IE, WSH */
-var anObject = __webpack_require__(8551);
-var definePropertiesModule = __webpack_require__(6801);
-var enumBugKeys = __webpack_require__(8727);
-var hiddenKeys = __webpack_require__(421);
-var html = __webpack_require__(397);
-var documentCreateElement = __webpack_require__(4055);
-var sharedKey = __webpack_require__(6119);
-
-var PROTOTYPE = 'prototype';
-var IE_PROTO = sharedKey('IE_PROTO');
-
-var EmptyConstructor = function () { /* empty */ };
-
-var scriptTag = function (content) {
- return '<script>' + content + '</script>';
-};
-
-// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
-var NullProtoObjectViaActiveX = function (activeXDocument) {
- activeXDocument.write(scriptTag(''));
- activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- // eslint-disable-next-line no-useless-assignment -- avoid memory leak
- activeXDocument = null;
- return temp;
-};
-
-// Create object with fake `null` prototype: use iframe Object with cleared prototype
-var NullProtoObjectViaIFrame = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = documentCreateElement('iframe');
- var JS = 'javascript:';
- var iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- // https://github.com/zloirock/core-js/issues/475
- iframe.src = String(JS);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(scriptTag('document.F=Object'));
- iframeDocument.close();
- return iframeDocument.F;
-};
-
-// Check for document.domain and active x support
-// No need to use active x approach when document.domain is not set
-// see https://github.com/es-shims/es5-shim/issues/150
-// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
-// avoid IE GC bug
-var activeXDocument;
-var NullProtoObject = function () {
- try {
- activeXDocument = new ActiveXObject('htmlfile');
- } catch (error) { /* ignore */ }
- NullProtoObject = typeof document != 'undefined'
- ? document.domain && activeXDocument
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
- : NullProtoObjectViaIFrame()
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
- var length = enumBugKeys.length;
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
- return NullProtoObject();
-};
-
-hiddenKeys[IE_PROTO] = true;
-
-// `Object.create` method
-// https://tc39.es/ecma262/#sec-object.create
-// eslint-disable-next-line es/no-object-create -- safe
-module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject(O);
- result = new EmptyConstructor();
- EmptyConstructor[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = NullProtoObject();
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
-};
-
-
-/***/ },
-
-/***/ 6801
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var definePropertyModule = __webpack_require__(4913);
-var anObject = __webpack_require__(8551);
-var toIndexedObject = __webpack_require__(5397);
-var objectKeys = __webpack_require__(1072);
-
-// `Object.defineProperties` method
-// https://tc39.es/ecma262/#sec-object.defineproperties
-// eslint-disable-next-line es/no-object-defineproperties -- safe
-exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var props = toIndexedObject(Properties);
- var keys = objectKeys(Properties);
- var length = keys.length;
- var index = 0;
- var key;
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
- return O;
-};
-
-
-/***/ },
-
-/***/ 4913
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
-var anObject = __webpack_require__(8551);
-var toPropertyKey = __webpack_require__(6969);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var $defineProperty = Object.defineProperty;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-var ENUMERABLE = 'enumerable';
-var CONFIGURABLE = 'configurable';
-var WRITABLE = 'writable';
-
-// `Object.defineProperty` method
-// https://tc39.es/ecma262/#sec-object.defineproperty
-exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
- var current = $getOwnPropertyDescriptor(O, P);
- if (current && current[WRITABLE]) {
- O[P] = Attributes.value;
- Attributes = {
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
- writable: false
- };
- }
- } return $defineProperty(O, P, Attributes);
-} : $defineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPropertyKey(P);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return $defineProperty(O, P, Attributes);
- } catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
-};
-
-
-/***/ },
-
-/***/ 7347
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var call = __webpack_require__(9565);
-var propertyIsEnumerableModule = __webpack_require__(8773);
-var createPropertyDescriptor = __webpack_require__(6980);
-var toIndexedObject = __webpack_require__(5397);
-var toPropertyKey = __webpack_require__(6969);
-var hasOwn = __webpack_require__(9297);
-var IE8_DOM_DEFINE = __webpack_require__(5917);
-
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// `Object.getOwnPropertyDescriptor` method
-// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
-exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPropertyKey(P);
- if (IE8_DOM_DEFINE) try {
- return $getOwnPropertyDescriptor(O, P);
- } catch (error) { /* empty */ }
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
-};
-
-
-/***/ },
-
-/***/ 8480
-(__unused_webpack_module, exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-var hiddenKeys = enumBugKeys.concat('length', 'prototype');
-
-// `Object.getOwnPropertyNames` method
-// https://tc39.es/ecma262/#sec-object.getownpropertynames
-// eslint-disable-next-line es/no-object-getownpropertynames -- safe
-exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return internalObjectKeys(O, hiddenKeys);
-};
-
-
-/***/ },
-
-/***/ 3717
-(__unused_webpack_module, exports) {
-
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
-exports.f = Object.getOwnPropertySymbols;
-
-
-/***/ },
-
-/***/ 2787
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var hasOwn = __webpack_require__(9297);
-var isCallable = __webpack_require__(4901);
-var toObject = __webpack_require__(8981);
-var sharedKey = __webpack_require__(6119);
-var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);
-
-var IE_PROTO = sharedKey('IE_PROTO');
-var $Object = Object;
-var ObjectPrototype = $Object.prototype;
-
-// `Object.getPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.getprototypeof
-// eslint-disable-next-line es/no-object-getprototypeof -- safe
-module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
- var object = toObject(O);
- if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
- var constructor = object.constructor;
- if (isCallable(constructor) && object instanceof constructor) {
- return constructor.prototype;
- } return object instanceof $Object ? ObjectPrototype : null;
-};
-
-
-/***/ },
-
-/***/ 1625
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-module.exports = uncurryThis({}.isPrototypeOf);
-
-
-/***/ },
-
-/***/ 1828
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-var toIndexedObject = __webpack_require__(5397);
-var indexOf = (__webpack_require__(9617).indexOf);
-var hiddenKeys = __webpack_require__(421);
-
-var push = uncurryThis([].push);
-
-module.exports = function (object, names) {
- var O = toIndexedObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
- ~indexOf(result, key) || push(result, key);
- }
- return result;
-};
-
-
-/***/ },
-
-/***/ 1072
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var internalObjectKeys = __webpack_require__(1828);
-var enumBugKeys = __webpack_require__(8727);
-
-// `Object.keys` method
-// https://tc39.es/ecma262/#sec-object.keys
-// eslint-disable-next-line es/no-object-keys -- safe
-module.exports = Object.keys || function keys(O) {
- return internalObjectKeys(O, enumBugKeys);
-};
-
-
-/***/ },
-
-/***/ 8773
-(__unused_webpack_module, exports) {
-
-
-var $propertyIsEnumerable = {}.propertyIsEnumerable;
-// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
-var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
-
-// Nashorn ~ JDK8 bug
-var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
-
-// `Object.prototype.propertyIsEnumerable` method implementation
-// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
-exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
-} : $propertyIsEnumerable;
-
-
-/***/ },
-
-/***/ 2967
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable no-proto -- safe */
-var uncurryThisAccessor = __webpack_require__(6706);
-var isObject = __webpack_require__(34);
-var requireObjectCoercible = __webpack_require__(7750);
-var aPossiblePrototype = __webpack_require__(3506);
-
-// `Object.setPrototypeOf` method
-// https://tc39.es/ecma262/#sec-object.setprototypeof
-// Works with __proto__ only. Old v8 can't work with null proto objects.
-// eslint-disable-next-line es/no-object-setprototypeof -- safe
-module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
- setter(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- requireObjectCoercible(O);
- aPossiblePrototype(proto);
- if (!isObject(O)) return O;
- if (CORRECT_SETTER) setter(O, proto);
- else O.__proto__ = proto;
- return O;
- };
-}() : undefined);
-
-
-/***/ },
-
-/***/ 4270
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isCallable = __webpack_require__(4901);
-var isObject = __webpack_require__(34);
-
-var $TypeError = TypeError;
-
-// `OrdinaryToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-ordinarytoprimitive
-module.exports = function (input, pref) {
- var fn, val;
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
- throw new $TypeError("Can't convert object to primitive value");
-};
-
-
-/***/ },
-
-/***/ 5031
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-var uncurryThis = __webpack_require__(9504);
-var getOwnPropertyNamesModule = __webpack_require__(8480);
-var getOwnPropertySymbolsModule = __webpack_require__(3717);
-var anObject = __webpack_require__(8551);
-
-var concat = uncurryThis([].concat);
-
-// all object keys, includes non-enumerable and symbols
-module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
-};
-
-
-/***/ },
-
-/***/ 8235
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var hasOwn = __webpack_require__(9297);
-
-var $SyntaxError = SyntaxError;
-var $parseInt = parseInt;
-var fromCharCode = String.fromCharCode;
-var at = uncurryThis(''.charAt);
-var slice = uncurryThis(''.slice);
-var exec = uncurryThis(/./.exec);
-
-var codePoints = {
- '\\"': '"',
- '\\\\': '\\',
- '\\/': '/',
- '\\b': '\b',
- '\\f': '\f',
- '\\n': '\n',
- '\\r': '\r',
- '\\t': '\t'
-};
-
-var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
-// eslint-disable-next-line regexp/no-control-character -- safe
-var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
-
-module.exports = function (source, i) {
- var unterminated = true;
- var value = '';
- while (i < source.length) {
- var chr = at(source, i);
- if (chr === '\\') {
- var twoChars = slice(source, i, i + 2);
- if (hasOwn(codePoints, twoChars)) {
- value += codePoints[twoChars];
- i += 2;
- } else if (twoChars === '\\u') {
- i += 2;
- var fourHexDigits = slice(source, i, i + 4);
- if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i);
- value += fromCharCode($parseInt(fourHexDigits, 16));
- i += 4;
- } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"');
- } else if (chr === '"') {
- unterminated = false;
- i++;
- break;
- } else {
- if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i);
- value += chr;
- i++;
- }
- }
- if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i);
- return { value: value, end: i };
-};
-
-
-/***/ },
-
-/***/ 1103
-(module) {
-
-
-module.exports = function (exec) {
- try {
- return { error: false, value: exec() };
- } catch (error) {
- return { error: true, value: error };
- }
-};
-
-
-/***/ },
-
-/***/ 7750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var isNullOrUndefined = __webpack_require__(4117);
-
-var $TypeError = TypeError;
-
-// `RequireObjectCoercible` abstract operation
-// https://tc39.es/ecma262/#sec-requireobjectcoercible
-module.exports = function (it) {
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
- return it;
-};
-
-
-/***/ },
-
-/***/ 9286
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var SetHelpers = __webpack_require__(4402);
-var iterate = __webpack_require__(8469);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-
-module.exports = function (set) {
- var result = new Set();
- iterate(set, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 3440
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-module.exports = function difference(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = clone(O);
- if (size(result) <= otherRec.size) iterateSet(result, function (e) {
- if (otherRec.includes(e)) remove(result, e);
- });
- else iterateSimple(otherRec.getIterator(), function (e) {
- if (has(result, e)) remove(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4402
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-set -- safe
-var SetPrototype = Set.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-set -- safe
- Set: Set,
- add: uncurryThis(SetPrototype.add),
- has: uncurryThis(SetPrototype.has),
- remove: uncurryThis(SetPrototype['delete']),
- proto: SetPrototype
-};
-
-
-/***/ },
-
-/***/ 8750
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-
-var Set = SetHelpers.Set;
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-module.exports = function intersection(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- var result = new Set();
-
- if (size(O) > otherRec.size) {
- iterateSimple(otherRec.getIterator(), function (e) {
- if (has(O, e)) add(result, e);
- });
- } else {
- iterateSet(O, function (e) {
- if (otherRec.includes(e)) add(result, e);
- });
- }
-
- return result;
-};
-
-
-/***/ },
-
-/***/ 4449
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSet = __webpack_require__(8469);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-module.exports = function isDisjointFrom(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
- if (otherRec.includes(e)) return false;
- }, true) !== false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 3838
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var size = __webpack_require__(5170);
-var iterate = __webpack_require__(8469);
-var getSetRecord = __webpack_require__(3789);
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-module.exports = function isSubsetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) > otherRec.size) return false;
- return iterate(O, function (e) {
- if (!otherRec.includes(e)) return false;
- }, true) !== false;
-};
-
-
-/***/ },
-
-/***/ 8527
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var has = (__webpack_require__(4402).has);
-var size = __webpack_require__(5170);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-var iteratorClose = __webpack_require__(9539);
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-module.exports = function isSupersetOf(other) {
- var O = aSet(this);
- var otherRec = getSetRecord(other);
- if (size(O) < otherRec.size) return false;
- var iterator = otherRec.getIterator();
- return iterateSimple(iterator, function (e) {
- if (!has(O, e)) return iteratorClose(iterator.iterator, 'normal', false);
- }) !== false;
-};
-
-
-/***/ },
-
-/***/ 8469
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-var iterateSimple = __webpack_require__(507);
-var SetHelpers = __webpack_require__(4402);
-
-var Set = SetHelpers.Set;
-var SetPrototype = SetHelpers.proto;
-var forEach = uncurryThis(SetPrototype.forEach);
-var keys = uncurryThis(SetPrototype.keys);
-var next = keys(new Set()).next;
-
-module.exports = function (set, fn, interruptible) {
- return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
-};
-
-
-/***/ },
-
-/***/ 4916
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var getBuiltIn = __webpack_require__(7751);
-
-var createSetLike = function (size) {
- return {
- size: size,
- has: function () {
- return false;
- },
- keys: function () {
- return {
- next: function () {
- return { done: true };
- }
- };
- }
- };
-};
-
-var createSetLikeWithInfinitySize = function (size) {
- return {
- size: size,
- has: function () {
- return true;
- },
- keys: function () {
- throw new Error('e');
- }
- };
-};
-
-module.exports = function (name, callback) {
- var Set = getBuiltIn('Set');
- try {
- new Set()[name](createSetLike(0));
- try {
- // late spec change, early WebKit ~ Safari 17 implementation does not pass it
- // https://github.com/tc39/proposal-set-methods/pull/88
- // also covered engines with
- // https://bugs.webkit.org/show_bug.cgi?id=272679
- new Set()[name](createSetLike(-1));
- return false;
- } catch (error2) {
- if (!callback) return true;
- // early V8 implementation bug
- // https://issues.chromium.org/issues/351332634
- try {
- new Set()[name](createSetLikeWithInfinitySize(-Infinity));
- return false;
- } catch (error) {
- var set = new Set([1, 2]);
- return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
- }
- }
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 9835
-(module) {
-
-
-// Should get iterator record of a set-like object before cloning this
-// https://bugs.webkit.org/show_bug.cgi?id=289430
-module.exports = function (METHOD_NAME) {
- try {
- // eslint-disable-next-line es/no-set -- needed for test
- var baseSet = new Set();
- var setLike = {
- size: 0,
- has: function () { return true; },
- keys: function () {
- // eslint-disable-next-line es/no-object-defineproperty -- needed for test
- return Object.defineProperty({}, 'next', {
- get: function () {
- baseSet.clear();
- baseSet.add(4);
- return function () {
- return { done: true };
- };
- }
- });
- }
- };
- var result = baseSet[METHOD_NAME](setLike);
-
- return result.size === 1 && result.values().next().value === 4;
- } catch (error) {
- return false;
- }
-};
-
-
-/***/ },
-
-/***/ 5170
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThisAccessor = __webpack_require__(6706);
-var SetHelpers = __webpack_require__(4402);
-
-module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
- return set.size;
-};
-
-
-/***/ },
-
-/***/ 3650
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var SetHelpers = __webpack_require__(4402);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-var add = SetHelpers.add;
-var has = SetHelpers.has;
-var remove = SetHelpers.remove;
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-module.exports = function symmetricDifference(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (e) {
- if (has(O, e)) remove(result, e);
- else add(result, e);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 4204
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var aSet = __webpack_require__(7080);
-var add = (__webpack_require__(4402).add);
-var clone = __webpack_require__(9286);
-var getSetRecord = __webpack_require__(3789);
-var iterateSimple = __webpack_require__(507);
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-module.exports = function union(other) {
- var O = aSet(this);
- var keysIter = getSetRecord(other).getIterator();
- var result = clone(O);
- iterateSimple(keysIter, function (it) {
- add(result, it);
- });
- return result;
-};
-
-
-/***/ },
-
-/***/ 6119
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var shared = __webpack_require__(5745);
-var uid = __webpack_require__(3392);
-
-var keys = shared('keys');
-
-module.exports = function (key) {
- return keys[key] || (keys[key] = uid(key));
-};
-
-
-/***/ },
-
-/***/ 7629
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var IS_PURE = __webpack_require__(6395);
-var globalThis = __webpack_require__(4576);
-var defineGlobalProperty = __webpack_require__(9433);
-
-var SHARED = '__core-js_shared__';
-var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
-
-(store.versions || (store.versions = [])).push({
- version: '3.49.0',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
- license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
- source: 'https://github.com/zloirock/core-js'
-});
-
-
-/***/ },
-
-/***/ 5745
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var store = __webpack_require__(7629);
-
-module.exports = function (key, value) {
- return store[key] || (store[key] = value || {});
-};
-
-
-/***/ },
-
-/***/ 1548
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var fails = __webpack_require__(9039);
-var V8 = __webpack_require__(9519);
-var ENVIRONMENT = __webpack_require__(4215);
-
-var structuredClone = globalThis.structuredClone;
-
-module.exports = !!structuredClone && !fails(function () {
- // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation
- // https://github.com/zloirock/core-js/issues/679
- if ((ENVIRONMENT === 'DENO' && V8 > 92) || (ENVIRONMENT === 'NODE' && V8 > 94) || (ENVIRONMENT === 'BROWSER' && V8 > 97)) return false;
- var buffer = new ArrayBuffer(8);
- var clone = structuredClone(buffer, { transfer: [buffer] });
- return buffer.byteLength !== 0 || clone.byteLength !== 8;
-});
-
-
-/***/ },
-
-/***/ 4495
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var V8_VERSION = __webpack_require__(9519);
-var fails = __webpack_require__(9039);
-var globalThis = __webpack_require__(4576);
-
-var $String = globalThis.String;
-
-// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
-module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- var symbol = Symbol('symbol detection');
- // Chrome 38 Symbol has incorrect toString conversion
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
- // of course, fail.
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
-});
-
-
-/***/ },
-
-/***/ 5610
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var max = Math.max;
-var min = Math.min;
-
-// Helper for a popular repeating case of the spec:
-// Let integer be ? ToInteger(index).
-// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
-module.exports = function (index, length) {
- var integer = toIntegerOrInfinity(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
-};
-
-
-/***/ },
-
-/***/ 5854
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-
-var $TypeError = TypeError;
-
-// `ToBigInt` abstract operation
-// https://tc39.es/ecma262/#sec-tobigint
-module.exports = function (argument) {
- var prim = toPrimitive(argument, 'number');
- if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint");
- // eslint-disable-next-line es/no-bigint -- safe
- return BigInt(prim);
-};
-
-
-/***/ },
-
-/***/ 7696
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toLength = __webpack_require__(8014);
-
-var $RangeError = RangeError;
-
-// `ToIndex` abstract operation
-// https://tc39.es/ecma262/#sec-toindex
-module.exports = function (it) {
- if (it === undefined) return 0;
- var number = toIntegerOrInfinity(it);
- var length = toLength(number);
- if (number !== length) throw new $RangeError('Wrong length or index');
- return length;
-};
-
-
-/***/ },
-
-/***/ 5397
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-// toObject with fallback for non-array-like ES3 strings
-var IndexedObject = __webpack_require__(7055);
-var requireObjectCoercible = __webpack_require__(7750);
-
-module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
-};
-
-
-/***/ },
-
-/***/ 1291
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var trunc = __webpack_require__(741);
-
-// `ToIntegerOrInfinity` abstract operation
-// https://tc39.es/ecma262/#sec-tointegerorinfinity
-module.exports = function (argument) {
- var number = +argument;
- // eslint-disable-next-line no-self-compare -- NaN check
- return number !== number || number === 0 ? 0 : trunc(number);
-};
-
-
-/***/ },
-
-/***/ 8014
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toIntegerOrInfinity = __webpack_require__(1291);
-
-var min = Math.min;
-
-// `ToLength` abstract operation
-// https://tc39.es/ecma262/#sec-tolength
-module.exports = function (argument) {
- var len = toIntegerOrInfinity(argument);
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
-};
-
-
-/***/ },
-
-/***/ 8981
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var requireObjectCoercible = __webpack_require__(7750);
-
-var $Object = Object;
-
-// `ToObject` abstract operation
-// https://tc39.es/ecma262/#sec-toobject
-module.exports = function (argument) {
- return $Object(requireObjectCoercible(argument));
-};
-
-
-/***/ },
-
-/***/ 2777
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var call = __webpack_require__(9565);
-var isObject = __webpack_require__(34);
-var isSymbol = __webpack_require__(757);
-var getMethod = __webpack_require__(5966);
-var ordinaryToPrimitive = __webpack_require__(4270);
-var wellKnownSymbol = __webpack_require__(8227);
-
-var $TypeError = TypeError;
-var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
-
-// `ToPrimitive` abstract operation
-// https://tc39.es/ecma262/#sec-toprimitive
-module.exports = function (input, pref) {
- if (!isObject(input) || isSymbol(input)) return input;
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
- var result;
- if (exoticToPrim) {
- if (pref === undefined) pref = 'default';
- result = call(exoticToPrim, input, pref);
- if (!isObject(result) || isSymbol(result)) return result;
- throw new $TypeError("Can't convert object to primitive value");
- }
- if (pref === undefined) pref = 'number';
- return ordinaryToPrimitive(input, pref);
-};
-
-
-/***/ },
-
-/***/ 6969
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var toPrimitive = __webpack_require__(2777);
-var isSymbol = __webpack_require__(757);
-
-// `ToPropertyKey` abstract operation
-// https://tc39.es/ecma262/#sec-topropertykey
-module.exports = function (argument) {
- var key = toPrimitive(argument, 'string');
- return isSymbol(key) ? key : key + '';
-};
-
-
-/***/ },
-
-/***/ 2140
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var wellKnownSymbol = __webpack_require__(8227);
-
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-var test = {};
-// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
-test[TO_STRING_TAG] = 'z';
-
-module.exports = String(test) === '[object z]';
-
-
-/***/ },
-
-/***/ 655
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var classof = __webpack_require__(6955);
-
-var $String = String;
-
-module.exports = function (argument) {
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
- return $String(argument);
-};
-
-
-/***/ },
-
-/***/ 6823
-(module) {
-
-
-var $String = String;
-
-module.exports = function (argument) {
- try {
- return $String(argument);
- } catch (error) {
- return 'Object';
- }
-};
-
-
-/***/ },
-
-/***/ 3392
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-var id = 0;
-var postfix = Math.random();
-var toString = uncurryThis(1.1.toString);
-
-module.exports = function (key) {
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
-};
-
-
-/***/ },
-
-/***/ 9143
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var aString = __webpack_require__(3463);
-var hasOwn = __webpack_require__(9297);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-var notDetached = __webpack_require__(5169);
-
-var base64Alphabet = base64Map.c2i;
-var base64UrlAlphabet = base64Map.c2iUrl;
-
-var SyntaxError = globalThis.SyntaxError;
-var TypeError = globalThis.TypeError;
-var at = uncurryThis(''.charAt);
-
-var skipAsciiWhitespace = function (string, index) {
- var length = string.length;
- for (;index < length; index++) {
- var chr = at(string, index);
- if (chr !== ' ' && chr !== '\t' && chr !== '\n' && chr !== '\f' && chr !== '\r') break;
- } return index;
-};
-
-var decodeBase64Chunk = function (chunk, alphabet, throwOnExtraBits) {
- var chunkLength = chunk.length;
-
- if (chunkLength < 4) {
- chunk += chunkLength === 2 ? 'AA' : 'A';
- }
-
- var triplet = (alphabet[at(chunk, 0)] << 18)
- + (alphabet[at(chunk, 1)] << 12)
- + (alphabet[at(chunk, 2)] << 6)
- + alphabet[at(chunk, 3)];
-
- var chunkBytes = [
- (triplet >> 16) & 255,
- (triplet >> 8) & 255,
- triplet & 255
- ];
-
- if (chunkLength === 2) {
- if (throwOnExtraBits && chunkBytes[1] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0]];
- }
-
- if (chunkLength === 3) {
- if (throwOnExtraBits && chunkBytes[2] !== 0) {
- throw new SyntaxError('Extra bits');
- }
- return [chunkBytes[0], chunkBytes[1]];
- }
-
- return chunkBytes;
-};
-
-var writeBytes = function (bytes, elements, written) {
- var elementsLength = elements.length;
- for (var index = 0; index < elementsLength; index++) {
- bytes[written + index] = elements[index];
- }
- return written + elementsLength;
-};
-
-/* eslint-disable max-statements, max-depth -- TODO */
-module.exports = function (string, options, into, maxLength) {
- aString(string);
- anObjectOrUndefined(options);
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var lastChunkHandling = options ? options.lastChunkHandling : undefined;
-
- if (lastChunkHandling === undefined) lastChunkHandling = 'loose';
-
- if (lastChunkHandling !== 'loose' && lastChunkHandling !== 'strict' && lastChunkHandling !== 'stop-before-partial') {
- throw new TypeError('Incorrect `lastChunkHandling` option');
- }
-
- if (into) notDetached(into.buffer);
-
- var stringLength = string.length;
- var bytes = into || [];
- var written = 0;
- var read = 0;
- var chunk = '';
- var index = 0;
-
- if (maxLength) while (true) {
- index = skipAsciiWhitespace(string, index);
- if (index === stringLength) {
- if (chunk.length > 0) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- if (lastChunkHandling === 'loose') {
- if (chunk.length === 1) {
- throw new SyntaxError('Malformed padding: exactly one additional character');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- } else {
- throw new SyntaxError('Missing padding');
- }
- }
- read = stringLength;
- break;
- }
- var chr = at(string, index);
- ++index;
- if (chr === '=') {
- if (chunk.length < 2) {
- throw new SyntaxError('Padding is too early');
- }
- index = skipAsciiWhitespace(string, index);
- if (chunk.length === 2) {
- if (index === stringLength) {
- if (lastChunkHandling === 'stop-before-partial') {
- break;
- }
- throw new SyntaxError('Malformed padding: only one =');
- }
- if (at(string, index) === '=') {
- ++index;
- index = skipAsciiWhitespace(string, index);
- }
- }
- if (index < stringLength) {
- throw new SyntaxError('Unexpected character after padding');
- }
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === 'strict'), written);
- read = stringLength;
- break;
- }
- if (!hasOwn(alphabet, chr)) {
- throw new SyntaxError('Unexpected character');
- }
- var remainingBytes = maxLength - written;
- if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) {
- // special case: we can fit exactly the number of bytes currently represented by chunk, so we were just checking for `=`
- break;
- }
-
- chunk += chr;
- if (chunk.length === 4) {
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
- chunk = '';
- read = index;
- if (written === maxLength) {
- break;
- }
- }
- }
-
- return { bytes: bytes, read: read, written: written };
-};
-
-
-/***/ },
-
-/***/ 2303
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-
-var Uint8Array = globalThis.Uint8Array;
-var SyntaxError = globalThis.SyntaxError;
-var min = Math.min;
-var stringMatch = uncurryThis(''.match);
-
-module.exports = function (string, into) {
- var stringLength = string.length;
- if (stringLength % 2 !== 0) throw new SyntaxError('String should be an even number of characters');
- var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
- var bytes = into || new Uint8Array(maxLength);
- var segments = stringMatch(string, /.{2}/g);
- var written = 0;
- for (; written < maxLength; written++) {
- var result = +('0x' + segments[written] + '0');
- // eslint-disable-next-line no-self-compare -- NaN check
- if (result !== result) {
- throw new SyntaxError('String should only contain hex characters');
- }
- bytes[written] = result >> 4;
- }
- return { bytes: bytes, read: written << 1 };
-};
-
-
-/***/ },
-
-/***/ 7416
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var fails = __webpack_require__(9039);
-var wellKnownSymbol = __webpack_require__(8227);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var ITERATOR = wellKnownSymbol('iterator');
-
-module.exports = !fails(function () {
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
- var url = new URL('b?a=1&b=2&c=3', 'https://a');
- var params = url.searchParams;
- var params2 = new URLSearchParams('a=1&a=2&b=3');
- var result = '';
- url.pathname = 'c%20d';
- params.forEach(function (value, key) {
- params['delete']('b');
- result += key + value;
- });
- params2['delete']('a', 2);
- // `undefined` case is a Chromium 117 bug
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
- params2['delete']('b', undefined);
- return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
- || (!params.size && (IS_PURE || !DESCRIPTORS))
- || !params.sort
- || url.href !== 'https://a/c%20d?a=1&c=3'
- || params.get('c') !== '3'
- || String(new URLSearchParams('?a=1')) !== 'a=1'
- || !params[ITERATOR]
- // throws in Edge
- || new URL('https://a@b').username !== 'a'
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
- // not punycoded in Edge
- || new URL('https://тест').host !== 'xn--e1aybc'
- // not escaped in Chrome 62-
- || new URL('https://a#б').hash !== '#%D0%B1'
- // fails in Chrome 66-
- || result !== 'a1c3'
- // throws in Safari
- || new URL('https://x', undefined).host !== 'x';
-});
-
-
-/***/ },
-
-/***/ 7040
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-/* eslint-disable es/no-symbol -- required for testing */
-var NATIVE_SYMBOL = __webpack_require__(4495);
-
-module.exports = NATIVE_SYMBOL &&
- !Symbol.sham &&
- typeof Symbol.iterator == 'symbol';
-
-
-/***/ },
-
-/***/ 8686
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var fails = __webpack_require__(9039);
-
-// V8 ~ Chrome 36-
-// https://bugs.chromium.org/p/v8/issues/detail?id=3334
-module.exports = DESCRIPTORS && fails(function () {
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
- value: 42,
- writable: false
- }).prototype !== 42;
-});
-
-
-/***/ },
-
-/***/ 2812
-(module) {
-
-
-var $TypeError = TypeError;
-
-module.exports = function (passed, required) {
- if (passed < required) throw new $TypeError('Not enough arguments');
- return passed;
-};
-
-
-/***/ },
-
-/***/ 8622
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var isCallable = __webpack_require__(4901);
-
-var WeakMap = globalThis.WeakMap;
-
-module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
-
-
-/***/ },
-
-/***/ 4995
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var uncurryThis = __webpack_require__(9504);
-
-// eslint-disable-next-line es/no-weak-map -- safe
-var WeakMapPrototype = WeakMap.prototype;
-
-module.exports = {
- // eslint-disable-next-line es/no-weak-map -- safe
- WeakMap: WeakMap,
- set: uncurryThis(WeakMapPrototype.set),
- get: uncurryThis(WeakMapPrototype.get),
- has: uncurryThis(WeakMapPrototype.has),
- remove: uncurryThis(WeakMapPrototype['delete'])
-};
-
-
-/***/ },
-
-/***/ 8227
-(module, __unused_webpack_exports, __webpack_require__) {
-
-
-var globalThis = __webpack_require__(4576);
-var shared = __webpack_require__(5745);
-var hasOwn = __webpack_require__(9297);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var USE_SYMBOL_AS_UID = __webpack_require__(7040);
-
-var Symbol = globalThis.Symbol;
-var WellKnownSymbolsStore = shared('wks');
-var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
-
-module.exports = function (name) {
- if (!hasOwn(WellKnownSymbolsStore, name)) {
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
- ? Symbol[name]
- : createWellKnownSymbol('Symbol.' + name);
- } return WellKnownSymbolsStore[name];
-};
-
-
-/***/ },
-
-/***/ 6573
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var isDetached = __webpack_require__(3238);
-
-var ArrayBufferPrototype = ArrayBuffer.prototype;
-
-// `ArrayBuffer.prototype.detached` getter
-// https://tc39.es/ecma262/#sec-get-arraybuffer.prototype.detached
-if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) {
- defineBuiltInAccessor(ArrayBufferPrototype, 'detached', {
- configurable: true,
- get: function detached() {
- return isDetached(this);
- }
- });
-}
-
-
-/***/ },
-
-/***/ 7936
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transferToFixedLength` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfertofixedlength
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transferToFixedLength: function transferToFixedLength() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, false);
- }
-});
-
-
-/***/ },
-
-/***/ 8100
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $transfer = __webpack_require__(5636);
-
-// `ArrayBuffer.prototype.transfer` method
-// https://tc39.es/ecma262/#sec-arraybuffer.prototype.transfer
-if ($transfer) $({ target: 'ArrayBuffer', proto: true }, {
- transfer: function transfer() {
- return $transfer(this, arguments.length ? arguments[0] : undefined, true);
- }
-});
-
-
-/***/ },
-
-/***/ 4423
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var $includes = (__webpack_require__(9617).includes);
-var fails = __webpack_require__(9039);
-var addToUnscopables = __webpack_require__(6469);
-
-// FF99+ bug
-var BROKEN_ON_SPARSE = fails(function () {
- // eslint-disable-next-line es/no-array-prototype-includes -- detection
- return !Array(1).includes();
-});
-
-// Safari 26.4- bug
-var BROKEN_ON_SPARSE_WITH_FROM_INDEX = fails(function () {
- // eslint-disable-next-line no-sparse-arrays, es/no-array-prototype-includes -- detection
- return [, 1].includes(undefined, 1);
-});
-
-// `Array.prototype.includes` method
-// https://tc39.es/ecma262/#sec-array.prototype.includes
-$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE || BROKEN_ON_SPARSE_WITH_FROM_INDEX }, {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
-});
-
-// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
-addToUnscopables('includes');
-
-
-/***/ },
-
-/***/ 4114
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var toObject = __webpack_require__(8981);
-var lengthOfArrayLike = __webpack_require__(6198);
-var setArrayLength = __webpack_require__(4527);
-var doesNotExceedSafeInteger = __webpack_require__(6837);
-var fails = __webpack_require__(9039);
-
-var INCORRECT_TO_LENGTH = fails(function () {
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
-});
-
-// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
-// https://bugs.chromium.org/p/v8/issues/detail?id=12681
-var properErrorOnNonWritableLength = function () {
- try {
- // eslint-disable-next-line es/no-object-defineproperty -- safe
- Object.defineProperty([], 'length', { writable: false }).push();
- } catch (error) {
- return error instanceof TypeError;
- }
-};
-
-var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
-
-// `Array.prototype.push` method
-// https://tc39.es/ecma262/#sec-array.prototype.push
-$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars -- required for `.length`
- push: function push(item) {
- var O = toObject(this);
- var len = lengthOfArrayLike(O);
- var argCount = arguments.length;
- doesNotExceedSafeInteger(len + argCount);
- for (var i = 0; i < argCount; i++) {
- O[len] = arguments[i];
- len++;
- }
- setArrayLength(O, len);
- return len;
- }
-});
-
-
-/***/ },
-
-/***/ 8111
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var anInstance = __webpack_require__(679);
-var anObject = __webpack_require__(8551);
-var isCallable = __webpack_require__(4901);
-var getPrototypeOf = __webpack_require__(2787);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var createProperty = __webpack_require__(4659);
-var fails = __webpack_require__(9039);
-var hasOwn = __webpack_require__(9297);
-var wellKnownSymbol = __webpack_require__(8227);
-var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);
-var DESCRIPTORS = __webpack_require__(3724);
-var IS_PURE = __webpack_require__(6395);
-
-var CONSTRUCTOR = 'constructor';
-var ITERATOR = 'Iterator';
-var TO_STRING_TAG = wellKnownSymbol('toStringTag');
-
-var $TypeError = TypeError;
-var NativeIterator = globalThis[ITERATOR];
-
-// FF56- have non-standard global helper `Iterator`
-var FORCED = IS_PURE
- || !isCallable(NativeIterator)
- || NativeIterator.prototype !== IteratorPrototype
- // FF44- non-standard `Iterator` passes previous tests
- || !fails(function () { NativeIterator({}); });
-
-var IteratorConstructor = function Iterator() {
- anInstance(this, IteratorPrototype);
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
-};
-
-var defineIteratorPrototypeAccessor = function (key, value) {
- if (DESCRIPTORS) {
- defineBuiltInAccessor(IteratorPrototype, key, {
- configurable: true,
- get: function () {
- return value;
- },
- set: function (replacement) {
- anObject(this);
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
- if (hasOwn(this, key)) this[key] = replacement;
- else createProperty(this, key, replacement);
- }
- });
- } else IteratorPrototype[key] = value;
-};
-
-if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
-
-if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
-}
-
-IteratorConstructor.prototype = IteratorPrototype;
-
-// `Iterator` constructor
-// https://tc39.es/ecma262/#sec-iterator
-$({ global: true, constructor: true, forced: FORCED }, {
- Iterator: IteratorConstructor
-});
-
-
-/***/ },
-
-/***/ 1148
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var everyWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('every', TypeError);
-
-// `Iterator.prototype.every` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.every
-$({ target: 'Iterator', proto: true, real: true, forced: everyWithoutClosingOnEarlyError }, {
- every: function every(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (everyWithoutClosingOnEarlyError) return call(everyWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return !iterate(record, function (value, stop) {
- if (!predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 2489
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var IS_PURE = __webpack_require__(6395);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('filter', function () { /* empty */ });
-var filterWithoutClosingOnEarlyError = !IS_PURE && !FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('filter', TypeError);
-
-var FORCED = IS_PURE || FILTER_WITHOUT_THROWING_ON_INVALID_ITERATOR || filterWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var predicate = this.predicate;
- var next = this.next;
- var result, done, value;
- while (true) {
- result = anObject(call(next, iterator));
- done = this.done = !!result.done;
- if (done) return;
- value = result.value;
- if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
- }
-});
-
-// `Iterator.prototype.filter` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.filter
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- filter: function filter(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (filterWithoutClosingOnEarlyError) return call(filterWithoutClosingOnEarlyError, this, predicate);
-
- return new IteratorProxy(getIteratorDirect(this), {
- predicate: predicate
- });
- }
-});
-
-
-/***/ },
-
-/***/ 116
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var findWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('find', TypeError);
-
-// `Iterator.prototype.find` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.find
-$({ target: 'Iterator', proto: true, real: true, forced: findWithoutClosingOnEarlyError }, {
- find: function find(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (findWithoutClosingOnEarlyError) return call(findWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop(value);
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
- }
-});
-
-
-/***/ },
-
-/***/ 531
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var getIteratorFlattenable = __webpack_require__(8646);
-var createIteratorProxy = __webpack_require__(9462);
-var iteratorClose = __webpack_require__(9539);
-var IS_PURE = __webpack_require__(6395);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-// Should not throw an error for an iterator without `return` method. Fixed in Safari 26.2
-// https://bugs.webkit.org/show_bug.cgi?id=297532
-function throwsOnIteratorWithoutReturn() {
- try {
- // eslint-disable-next-line es/no-map, es/no-iterator, es/no-iterator-prototype-flatmap -- required for testing
- var it = Iterator.prototype.flatMap.call(new Map([[4, 5]]).entries(), function (v) { return v; });
- it.next();
- it['return']();
- } catch (error) {
- return true;
- }
-}
-
-var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE
- && !iteratorHelperThrowsOnInvalidIterator('flatMap', function () { /* empty */ });
-var flatMapWithoutClosingOnEarlyError = !IS_PURE && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('flatMap', TypeError);
-
-var FORCED = IS_PURE || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError
- || throwsOnIteratorWithoutReturn();
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var mapper = this.mapper;
- var result, inner;
-
- while (true) {
- if (inner = this.inner) try {
- result = anObject(call(inner.next, inner.iterator));
- if (!result.done) return result.value;
- this.inner = null;
- } catch (error) { iteratorClose(iterator, 'throw', error); }
-
- result = anObject(call(this.next, iterator));
-
- if (this.done = !!result.done) return;
-
- try {
- this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
- } catch (error) { iteratorClose(iterator, 'throw', error); }
- }
-});
-
-// `Iterator.prototype.flatMap` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.flatmap
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- flatMap: function flatMap(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (flatMapWithoutClosingOnEarlyError) return call(flatMapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper,
- inner: null
- });
- }
-});
-
-
-/***/ },
-
-/***/ 7588
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var forEachWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('forEach', TypeError);
-
-// `Iterator.prototype.forEach` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.foreach
-$({ target: 'Iterator', proto: true, real: true, forced: forEachWithoutClosingOnEarlyError }, {
- forEach: function forEach(fn) {
- anObject(this);
- try {
- aCallable(fn);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (forEachWithoutClosingOnEarlyError) return call(forEachWithoutClosingOnEarlyError, this, fn);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- iterate(record, function (value) {
- fn(value, counter++);
- }, { IS_RECORD: true });
- }
-});
-
-
-/***/ },
-
-/***/ 1701
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var createIteratorProxy = __webpack_require__(9462);
-var callWithSafeIterationClosing = __webpack_require__(6319);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperThrowsOnInvalidIterator = __webpack_require__(684);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-var IS_PURE = __webpack_require__(6395);
-
-var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE && !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
-var mapWithoutClosingOnEarlyError = !IS_PURE && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
- && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
-
-var FORCED = IS_PURE || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
-
-var IteratorProxy = createIteratorProxy(function () {
- var iterator = this.iterator;
- var result = anObject(call(this.next, iterator));
- var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
-});
-
-// `Iterator.prototype.map` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.map
-$({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
- map: function map(mapper) {
- anObject(this);
- try {
- aCallable(mapper);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
-
- return new IteratorProxy(getIteratorDirect(this), {
- mapper: mapper
- });
- }
-});
-
-
-/***/ },
-
-/***/ 3579
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var call = __webpack_require__(9565);
-var iterate = __webpack_require__(2652);
-var aCallable = __webpack_require__(9306);
-var anObject = __webpack_require__(8551);
-var getIteratorDirect = __webpack_require__(1767);
-var iteratorClose = __webpack_require__(9539);
-var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__(4549);
-
-var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
-
-// `Iterator.prototype.some` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.some
-$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
- some: function some(predicate) {
- anObject(this);
- try {
- aCallable(predicate);
- } catch (error) {
- iteratorClose(this, 'throw', error);
- }
-
- if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
-
- var record = getIteratorDirect(this);
- var counter = 0;
- return iterate(record, function (value, stop) {
- if (predicate(value, counter++)) return stop();
- }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
- }
-});
-
-
-/***/ },
-
-/***/ 1806
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var anObject = __webpack_require__(8551);
-var createProperty = __webpack_require__(4659);
-var iterate = __webpack_require__(2652);
-var getIteratorDirect = __webpack_require__(1767);
-
-// `Iterator.prototype.toArray` method
-// https://tc39.es/ecma262/#sec-iterator.prototype.toarray
-$({ target: 'Iterator', proto: true, real: true }, {
- toArray: function toArray() {
- var result = [];
- var index = 0;
- iterate(getIteratorDirect(anObject(this)), function (element) {
- createProperty(result, index++, element);
- }, { IS_RECORD: true });
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 3110
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var apply = __webpack_require__(8745);
-var call = __webpack_require__(9565);
-var uncurryThis = __webpack_require__(9504);
-var fails = __webpack_require__(9039);
-var isArray = __webpack_require__(4376);
-var isCallable = __webpack_require__(4901);
-var isRawJSON = __webpack_require__(5810);
-var isSymbol = __webpack_require__(757);
-var classof = __webpack_require__(2195);
-var toString = __webpack_require__(655);
-var arraySlice = __webpack_require__(7680);
-var parseJSONString = __webpack_require__(8235);
-var uid = __webpack_require__(3392);
-var NATIVE_SYMBOL = __webpack_require__(4495);
-var NATIVE_RAW_JSON = __webpack_require__(7819);
-
-var $String = String;
-var $stringify = getBuiltIn('JSON', 'stringify');
-var exec = uncurryThis(/./.exec);
-var charAt = uncurryThis(''.charAt);
-var charCodeAt = uncurryThis(''.charCodeAt);
-var replace = uncurryThis(''.replace);
-var slice = uncurryThis(''.slice);
-var push = uncurryThis([].push);
-var numberToString = uncurryThis(1.1.toString);
-
-var surrogates = /[\uD800-\uDFFF]/g;
-var leadingSurrogates = /^[\uD800-\uDBFF]$/;
-var trailingSurrogates = /^[\uDC00-\uDFFF]$/;
-
-var MARK = uid();
-var MARK_LENGTH = MARK.length;
-
-var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
- var symbol = getBuiltIn('Symbol')('stringify detection');
- // MS Edge converts symbol values to JSON as {}
- return $stringify([symbol]) !== '[null]'
- // WebKit converts symbol values to JSON as null
- || $stringify({ a: symbol }) !== '{}'
- // V8 throws on boxed symbols
- || $stringify(Object(symbol)) !== '{}';
-});
-
-// https://github.com/tc39/proposal-well-formed-stringify
-var ILL_FORMED_UNICODE = fails(function () {
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
- || $stringify('\uDEAD') !== '"\\udead"';
-});
-
-var stringifyWithProperSymbolsConversion = WRONG_SYMBOLS_CONVERSION ? function (it, replacer) {
- var args = arraySlice(arguments);
- var $replacer = getReplacerFunction(replacer);
- if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
- args[1] = function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
- if (!isSymbol(value)) return value;
- };
- return apply($stringify, null, args);
-} : $stringify;
-
-var fixIllFormedJSON = function (match, offset, string) {
- var prev = charAt(string, offset - 1);
- var next = charAt(string, offset + 1);
- if (
- (exec(leadingSurrogates, match) && !exec(trailingSurrogates, next)) ||
- (exec(trailingSurrogates, match) && !exec(leadingSurrogates, prev))
- ) {
- return '\\u' + numberToString(charCodeAt(match, 0), 16);
- } return match;
-};
-
-var getReplacerFunction = function (replacer) {
- if (isCallable(replacer)) return replacer;
- if (!isArray(replacer)) return;
- var rawLength = replacer.length;
- var keys = [];
- for (var i = 0; i < rawLength; i++) {
- var element = replacer[i];
- if (typeof element == 'string') push(keys, element);
- else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
- }
- var keysLength = keys.length;
- var root = true;
- return function (key, value) {
- if (root) {
- root = false;
- return value;
- }
- if (isArray(this)) return value;
- for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
- };
-};
-
-// `JSON.stringify` method
-// https://tc39.es/ecma262/#sec-json.stringify
-// https://github.com/tc39/proposal-json-parse-with-source
-if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE || !NATIVE_RAW_JSON }, {
- stringify: function stringify(text, replacer, space) {
- var replacerFunction = getReplacerFunction(replacer);
- var rawStrings = [];
-
- var json = stringifyWithProperSymbolsConversion(text, function (key, value) {
- // some old implementations (like WebKit) could pass numbers as keys
- var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value;
- return !NATIVE_RAW_JSON && isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v;
- }, space);
-
- if (typeof json != 'string') return json;
-
- if (ILL_FORMED_UNICODE) json = replace(json, surrogates, fixIllFormedJSON);
-
- if (NATIVE_RAW_JSON) return json;
-
- var result = '';
- var length = json.length;
-
- for (var i = 0; i < length; i++) {
- var chr = charAt(json, i);
- if (chr === '"') {
- var end = parseJSONString(json, ++i).end - 1;
- var string = slice(json, i, end);
- result += slice(string, 0, MARK_LENGTH) === MARK
- ? rawStrings[slice(string, MARK_LENGTH)]
- : '"' + string + '"';
- i = end;
- } else result += chr;
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 2731
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- var hasKey = has(this, key);
- aCallable(callbackfn);
- if (hasKey) return get(this, key);
- // CanonicalizeKeyedCollectionKey
- if (key === 0 && 1 / key === -Infinity) key = 0;
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 5367
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var MapHelpers = __webpack_require__(2248);
-var IS_PURE = __webpack_require__(6395);
-
-var get = MapHelpers.get;
-var has = MapHelpers.has;
-var set = MapHelpers.set;
-
-// `Map.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-map.prototype.getorinsert
-$({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3068
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-// based on Shewchuk's algorithm for exactly floating point addition
-// adapted from https://github.com/tc39/proposal-math-sum/blob/3513d58323a1ae25560e8700aa5294500c6c9287/polyfill/polyfill.mjs
-var $ = __webpack_require__(6518);
-var uncurryThis = __webpack_require__(9504);
-var iterate = __webpack_require__(2652);
-
-var $RangeError = RangeError;
-var $TypeError = TypeError;
-var $Infinity = Infinity;
-var $NaN = NaN;
-var abs = Math.abs;
-var pow = Math.pow;
-var push = uncurryThis([].push);
-
-var POW_2_1023 = pow(2, 1023);
-var MAX_SAFE_INTEGER = pow(2, 53) - 1; // 2 ** 53 - 1 === 9007199254740991
-var MAX_DOUBLE = Number.MAX_VALUE; // 2 ** 1024 - 2 ** (1023 - 52) === 1.79769313486231570815e+308
-var MAX_ULP = pow(2, 971); // 2 ** (1023 - 52) === 1.99584030953471981166e+292
-
-var NOT_A_NUMBER = {};
-var MINUS_INFINITY = {};
-var PLUS_INFINITY = {};
-var MINUS_ZERO = {};
-var FINITE = {};
-
-// prerequisite: abs(x) >= abs(y)
-var twosum = function (x, y) {
- var hi = x + y;
- var lo = y - (hi - x);
- return { hi: hi, lo: lo };
-};
-
-// `Math.sumPrecise` method
-// https://tc39.es/ecma262/#sec-math.sumprecise
-$({ target: 'Math', stat: true }, {
- // eslint-disable-next-line max-statements -- ok
- sumPrecise: function sumPrecise(items) {
- var numbers = [];
- var count = 0;
- var state = MINUS_ZERO;
-
- iterate(items, function (n) {
- if (++count > MAX_SAFE_INTEGER) throw new $RangeError('Maximum allowed index exceeded');
- if (typeof n != 'number') throw new $TypeError('Value is not a number');
- if (state !== NOT_A_NUMBER) {
- // eslint-disable-next-line no-self-compare -- NaN check
- if (n !== n) state = NOT_A_NUMBER;
- else if (n === $Infinity) state = state === MINUS_INFINITY ? NOT_A_NUMBER : PLUS_INFINITY;
- else if (n === -$Infinity) state = state === PLUS_INFINITY ? NOT_A_NUMBER : MINUS_INFINITY;
- else if ((n !== 0 || (1 / n) === $Infinity) && (state === MINUS_ZERO || state === FINITE)) {
- state = FINITE;
- push(numbers, n);
- }
- }
- });
-
- switch (state) {
- case NOT_A_NUMBER: return $NaN;
- case MINUS_INFINITY: return -$Infinity;
- case PLUS_INFINITY: return $Infinity;
- case MINUS_ZERO: return -0;
- }
-
- var partials = [];
- var overflow = 0; // conceptually 2 ** 1024 times this value; the final partial is biased by this amount
- var x, y, sum, hi, lo, tmp;
-
- for (var i = 0; i < numbers.length; i++) {
- x = numbers[i];
- var actuallyUsedPartials = 0;
- for (var j = 0; j < partials.length; j++) {
- y = partials[j];
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- if (abs(hi) === $Infinity) {
- var sign = hi === $Infinity ? 1 : -1;
- overflow += sign;
-
- x = (x - (sign * POW_2_1023)) - (sign * POW_2_1023);
- if (abs(x) < abs(y)) {
- tmp = x;
- x = y;
- y = tmp;
- }
- sum = twosum(x, y);
- hi = sum.hi;
- lo = sum.lo;
- }
- if (lo !== 0) partials[actuallyUsedPartials++] = lo;
- x = hi;
- }
- partials.length = actuallyUsedPartials;
- if (x !== 0) push(partials, x);
- }
-
- // compute the exact sum of partials, stopping once we lose precision
- var n = partials.length - 1;
- hi = 0;
- lo = 0;
-
- if (overflow !== 0) {
- var next = n >= 0 ? partials[n] : 0;
- n--;
- if (abs(overflow) > 1 || (overflow > 0 && next > 0) || (overflow < 0 && next < 0)) {
- return overflow > 0 ? $Infinity : -$Infinity;
- }
- // here we actually have to do the arithmetic
- // drop a factor of 2 so we can do it without overflow
- // assert(abs(overflow) === 1)
- sum = twosum(overflow * POW_2_1023, next / 2);
- hi = sum.hi;
- lo = sum.lo;
- lo *= 2;
- if (abs(2 * hi) === $Infinity) {
- // rounding to the maximum value
- if (hi > 0) {
- return (hi === POW_2_1023 && lo === -(MAX_ULP / 2) && n >= 0 && partials[n] < 0) ? MAX_DOUBLE : $Infinity;
- } return (hi === -POW_2_1023 && lo === (MAX_ULP / 2) && n >= 0 && partials[n] > 0) ? -MAX_DOUBLE : -$Infinity;
- }
-
- if (lo !== 0) {
- partials[++n] = lo;
- lo = 0;
- }
-
- hi *= 2;
- }
-
- while (n >= 0) {
- sum = twosum(hi, partials[n--]);
- hi = sum.hi;
- lo = sum.lo;
- if (lo !== 0) break;
- }
-
- if (n >= 0 && ((lo < 0 && partials[n] < 0) || (lo > 0 && partials[n] > 0))) {
- y = lo * 2;
- x = hi + y;
- if (y === x - hi) hi = x;
- }
-
- return hi;
- }
-});
-
-
-/***/ },
-
-/***/ 1689
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var apply = __webpack_require__(8745);
-var slice = __webpack_require__(7680);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-var aCallable = __webpack_require__(9306);
-var perform = __webpack_require__(1103);
-
-var Promise = globalThis.Promise;
-
-var ACCEPT_ARGUMENTS = false;
-// Avoiding the use of polyfills of the previous iteration of this proposal
-// that does not accept arguments of the callback
-var FORCED = !Promise || !Promise['try'] || perform(function () {
- Promise['try'](function (argument) {
- ACCEPT_ARGUMENTS = argument === 8;
- }, 8);
-}).error || !ACCEPT_ARGUMENTS;
-
-// `Promise.try` method
-// https://tc39.es/ecma262/#sec-promise.try
-$({ target: 'Promise', stat: true, forced: FORCED }, {
- 'try': function (callbackfn /* , ...args */) {
- var args = arguments.length > 1 ? slice(arguments, 1) : [];
- var promiseCapability = newPromiseCapabilityModule.f(this);
- var result = perform(function () {
- return apply(aCallable(callbackfn), undefined, args);
- });
- (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
- return promiseCapability.promise;
- }
-});
-
-
-/***/ },
-
-/***/ 4628
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var newPromiseCapabilityModule = __webpack_require__(6043);
-
-// `Promise.withResolvers` method
-// https://tc39.es/ecma262/#sec-promise.withResolvers
-$({ target: 'Promise', stat: true }, {
- withResolvers: function withResolvers() {
- var promiseCapability = newPromiseCapabilityModule.f(this);
- return {
- promise: promiseCapability.promise,
- resolve: promiseCapability.resolve,
- reject: promiseCapability.reject
- };
- }
-});
-
-
-/***/ },
-
-/***/ 7642
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var difference = __webpack_require__(3440);
-var fails = __webpack_require__(9039);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike('difference', function (result) {
- return result.size === 0;
-});
-
-var FORCED = SET_LIKE_INCORRECT_BEHAVIOR || fails(function () {
- // https://bugs.webkit.org/show_bug.cgi?id=288595
- var setLike = {
- size: 1,
- has: function () { return true; },
- keys: function () {
- var index = 0;
- return {
- next: function () {
- var done = index++ > 1;
- if (baseSet.has(1)) baseSet.clear();
- return { done: done, value: 2 };
- }
- };
- }
- };
- // eslint-disable-next-line es/no-set -- testing
- var baseSet = new Set([1, 2, 3, 4]);
- // eslint-disable-next-line es/no-set-prototype-difference -- testing
- return baseSet.difference(setLike).size !== 3;
-});
-
-// `Set.prototype.difference` method
-// https://tc39.es/ecma262/#sec-set.prototype.difference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- difference: difference
-});
-
-
-/***/ },
-
-/***/ 8004
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var fails = __webpack_require__(9039);
-var intersection = __webpack_require__(8750);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
- return result.size === 2 && result.has(1) && result.has(2);
-}) || fails(function () {
- // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
-});
-
-// `Set.prototype.intersection` method
-// https://tc39.es/ecma262/#sec-set.prototype.intersection
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- intersection: intersection
-});
-
-
-/***/ },
-
-/***/ 3853
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isDisjointFrom = __webpack_require__(4449);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
- return !result;
-});
-
-// `Set.prototype.isDisjointFrom` method
-// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isDisjointFrom: isDisjointFrom
-});
-
-
-/***/ },
-
-/***/ 5876
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSubsetOf = __webpack_require__(3838);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
- return result;
-});
-
-// `Set.prototype.isSubsetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSubsetOf: isSubsetOf
-});
-
-
-/***/ },
-
-/***/ 2475
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var isSupersetOf = __webpack_require__(8527);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
- return !result;
-});
-
-// `Set.prototype.isSupersetOf` method
-// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
-$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
- isSupersetOf: isSupersetOf
-});
-
-
-/***/ },
-
-/***/ 5024
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var symmetricDifference = __webpack_require__(3650);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('symmetricDifference') || !setMethodGetKeysBeforeCloning('symmetricDifference');
-
-// `Set.prototype.symmetricDifference` method
-// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- symmetricDifference: symmetricDifference
-});
-
-
-/***/ },
-
-/***/ 1698
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var union = __webpack_require__(4204);
-var setMethodGetKeysBeforeCloning = __webpack_require__(9835);
-var setMethodAcceptSetLike = __webpack_require__(4916);
-
-var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
-
-// `Set.prototype.union` method
-// https://tc39.es/ecma262/#sec-set.prototype.union
-$({ target: 'Set', proto: true, real: true, forced: FORCED }, {
- union: union
-});
-
-
-/***/ },
-
-/***/ 9577
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var ArrayBufferViewCore = __webpack_require__(4644);
-var isBigIntArray = __webpack_require__(1108);
-var lengthOfArrayLike = __webpack_require__(6198);
-var toIntegerOrInfinity = __webpack_require__(1291);
-var toBigInt = __webpack_require__(5854);
-
-var aTypedArray = ArrayBufferViewCore.aTypedArray;
-var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
-var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
-
-var $RangeError = RangeError;
-
-var PROPER_ORDER = function () {
- try {
- // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });
- } catch (error) {
- // some early implementations, like WebKit, does not follow the final semantic
- // https://github.com/tc39/proposal-change-array-by-copy/pull/86
- return error === 8;
- }
-}();
-
-// Bug in WebKit. It should truncate a negative fractional index to zero, but instead throws an error
-var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function () {
- try {
- // eslint-disable-next-line es/no-typed-arrays, es/no-array-prototype-with -- required for testing
- new Int8Array(1)['with'](-0.5, 1);
- } catch (error) {
- return true;
- }
-}();
-
-// `%TypedArray%.prototype.with` method
-// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with
-exportTypedArrayMethod('with', { 'with': function (index, value) {
- var O = aTypedArray(this);
- var len = lengthOfArrayLike(O);
- var relativeIndex = toIntegerOrInfinity(index);
- var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
- var numericValue = isBigIntArray(O) ? toBigInt(value) : +value;
- if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');
- var A = new (getTypedArrayConstructor(O))(len);
- var k = 0;
- for (; k < len; k++) A[k] = k === actualIndex ? numericValue : O[k];
- return A;
-} }['with'], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
-
-
-/***/ },
-
-/***/ 5213
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var arrayFromConstructorAndList = __webpack_require__(5370);
-var $fromBase64 = __webpack_require__(9143);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.fromBase64 || !function () {
- // Webkit not throw an error on odd length string
- try {
- Uint8Array.fromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- Uint8Array.fromBase64('', null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.fromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.frombase64
-if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- fromBase64: function fromBase64(string /* , options */) {
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, null, 0x1FFFFFFFFFFFFF);
- return arrayFromConstructorAndList(Uint8Array, result.bytes);
- }
-});
-
-
-/***/ },
-
-/***/ 6632
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var $fromBase64 = __webpack_require__(9143);
-var anUint8Array = __webpack_require__(4154);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.setFromBase64 || !function () {
- var target = new Uint8Array([255, 255, 255, 255, 255]);
- try {
- target.setFromBase64('', null);
- return;
- } catch (error) { /* empty */ }
- // Webkit not throw an error on odd length string
- try {
- target.setFromBase64('a');
- return;
- } catch (error) { /* empty */ }
- try {
- target.setFromBase64('MjYyZg===');
- } catch (error) {
- return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
- }
-}();
-
-// `Uint8Array.prototype.setFromBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfrombase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- setFromBase64: function setFromBase64(string /* , options */) {
- anUint8Array(this);
-
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : undefined, this, this.length);
-
- return { read: result.read, written: result.written };
- }
-});
-
-
-/***/ },
-
-/***/ 4226
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var aString = __webpack_require__(3463);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var $fromHex = __webpack_require__(2303);
-
-// Should not throw an error on length-tracking views over ResizableArrayBuffer
-// https://issues.chromium.org/issues/454630441
-function throwsOnLengthTrackingView() {
- try {
- // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- required for testing
- var rab = new ArrayBuffer(16, { maxByteLength: 1024 });
- // eslint-disable-next-line es/no-uint8array-prototype-setfromhex, es/no-typed-arrays -- required for testing
- new Uint8Array(rab).setFromHex('cafed00d');
- } catch (error) {
- return true;
- }
-}
-
-// `Uint8Array.prototype.setFromHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.setfromhex
-if (globalThis.Uint8Array) $({ target: 'Uint8Array', proto: true, forced: throwsOnLengthTrackingView() }, {
- setFromHex: function setFromHex(string) {
- anUint8Array(this);
- aString(string);
- notDetached(this.buffer);
- var read = $fromHex(string, this).read;
- return { read: read, written: read / 2 };
- }
-});
-
-
-/***/ },
-
-/***/ 9486
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anObjectOrUndefined = __webpack_require__(3972);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-var base64Map = __webpack_require__(2804);
-var getAlphabetOption = __webpack_require__(944);
-
-var base64Alphabet = base64Map.i2c;
-var base64UrlAlphabet = base64Map.i2cUrl;
-
-var charAt = uncurryThis(''.charAt);
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toBase64 || !function () {
- try {
- var target = new Uint8Array();
- target.toBase64(null);
- } catch (error) {
- return true;
- }
-}();
-
-// `Uint8Array.prototype.toBase64` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tobase64
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toBase64: function toBase64(/* options */) {
- var array = anUint8Array(this);
- var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined;
- var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet;
- var omitPadding = !!options && !!options.omitPadding;
- notDetached(this.buffer);
-
- var result = '';
- var i = 0;
- var length = array.length;
- var triplet;
-
- var at = function (shift) {
- return charAt(alphabet, (triplet >> (6 * shift)) & 63);
- };
-
- for (; i + 2 < length; i += 3) {
- triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
- result += at(3) + at(2) + at(1) + at(0);
- }
- if (i + 2 === length) {
- triplet = (array[i] << 16) + (array[i + 1] << 8);
- result += at(3) + at(2) + at(1) + (omitPadding ? '' : '=');
- } else if (i + 1 === length) {
- triplet = array[i] << 16;
- result += at(3) + at(2) + (omitPadding ? '' : '==');
- }
-
- return result;
- }
-});
-
-
-/***/ },
-
-/***/ 456
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var uncurryThis = __webpack_require__(9504);
-var anUint8Array = __webpack_require__(4154);
-var notDetached = __webpack_require__(5169);
-
-var numberToString = uncurryThis(1.1.toString);
-var join = uncurryThis([].join);
-var $Array = Array;
-
-var Uint8Array = globalThis.Uint8Array;
-
-var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array || !Uint8Array.prototype.toHex || !(function () {
- try {
- var target = new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255]);
- return target.toHex() === 'ffffffffffffffff';
- } catch (error) {
- return false;
- }
-})();
-
-// `Uint8Array.prototype.toHex` method
-// https://tc39.es/ecma262/#sec-uint8array.prototype.tohex
-if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS }, {
- toHex: function toHex() {
- anUint8Array(this);
- notDetached(this.buffer);
- var result = $Array(this.length);
- for (var i = 0, length = this.length; i < length; i++) {
- var hex = numberToString(this[i], 16);
- result[i] = hex.length === 1 ? '0' + hex : hex;
- }
- return join(result, '');
- }
-});
-
-
-/***/ },
-
-/***/ 9452
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var aCallable = __webpack_require__(9306);
-var aWeakMap = __webpack_require__(6557);
-var aWeakKey = __webpack_require__(4328);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-var FORCED = IS_PURE || !function () {
- try {
- // eslint-disable-next-line es/no-weak-map, no-throw-literal -- testing
- if (WeakMap.prototype.getOrInsertComputed) new WeakMap().getOrInsertComputed(1, function () { throw 1; });
- } catch (error) {
- // FF144 Nightly - Beta 3 bug
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1988369
- return error instanceof TypeError;
- }
-}();
-
-// `WeakMap.prototype.getOrInsertComputed` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsertcomputed
-$({ target: 'WeakMap', proto: true, real: true, forced: FORCED }, {
- getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
- if (!IS_PURE) aWeakMap(this);
- aWeakKey(key);
- aCallable(callbackfn);
- if (has(this, key)) return get(this, key);
- var value = callbackfn(key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 8454
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var WeakMapHelpers = __webpack_require__(4995);
-var IS_PURE = __webpack_require__(6395);
-
-var get = WeakMapHelpers.get;
-var has = WeakMapHelpers.has;
-var set = WeakMapHelpers.set;
-
-// `WeakMap.prototype.getOrInsert` method
-// https://tc39.es/ecma262/#sec-weakmap.prototype.getorinsert
-$({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- getOrInsert: function getOrInsert(key, value) {
- if (has(this, key)) return get(this, key);
- set(this, key, value);
- return value;
- }
-});
-
-
-/***/ },
-
-/***/ 3611
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var globalThis = __webpack_require__(4576);
-var defineBuiltInAccessor = __webpack_require__(2106);
-var DESCRIPTORS = __webpack_require__(3724);
-
-var $TypeError = TypeError;
-// eslint-disable-next-line es/no-object-defineproperty -- safe
-var defineProperty = Object.defineProperty;
-var INCORRECT_VALUE = globalThis.self !== globalThis;
-
-// `self` getter
-// https://html.spec.whatwg.org/multipage/window-object.html#dom-self
-try {
- if (DESCRIPTORS) {
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
- var descriptor = Object.getOwnPropertyDescriptor(globalThis, 'self');
- // some engines have `self`, but with incorrect descriptor
- // https://github.com/denoland/deno/issues/15765
- if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) {
- defineBuiltInAccessor(globalThis, 'self', {
- get: function self() {
- return globalThis;
- },
- set: function self(value) {
- if (this !== globalThis) throw new $TypeError('Illegal invocation');
- defineProperty(globalThis, 'self', {
- value: value,
- writable: true,
- configurable: true,
- enumerable: true
- });
- },
- configurable: true,
- enumerable: true
- });
- }
- } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, {
- self: globalThis
- });
-} catch (error) { /* empty */ }
-
-
-/***/ },
-
-/***/ 4603
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var append = uncurryThis(URLSearchParamsPrototype.append);
-var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-var push = uncurryThis([].push);
-var params = new $URLSearchParams('a=1&a=2&b=3');
-
-params['delete']('a', 1);
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-params['delete']('b', undefined);
-
-if (params + '' !== 'a=2') {
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $delete(this, name);
- var entries = [];
- forEach(this, function (v, k) { // also validates `this`
- push(entries, { key: k, value: v });
- });
- validateArgumentsLength(length, 1);
- var key = toString(name);
- var value = toString($value);
- var index = 0;
- var entriesLength = entries.length;
- var entry;
- while (index < entriesLength) {
- entry = entries[index];
- $delete(this, entry.key);
- index++;
- }
- index = 0;
- while (index < entriesLength) {
- entry = entries[index++];
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
- }
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 7566
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var defineBuiltIn = __webpack_require__(6840);
-var uncurryThis = __webpack_require__(9504);
-var toString = __webpack_require__(655);
-var validateArgumentsLength = __webpack_require__(2812);
-
-var $URLSearchParams = URLSearchParams;
-var URLSearchParamsPrototype = $URLSearchParams.prototype;
-var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
-var $has = uncurryThis(URLSearchParamsPrototype.has);
-var params = new $URLSearchParams('a=1');
-
-// `undefined` case is a Chromium 117 bug
-// https://bugs.chromium.org/p/v8/issues/detail?id=14222
-if (params.has('a', 2) || !params.has('a', undefined)) {
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
- var length = arguments.length;
- var $value = length < 2 ? undefined : arguments[1];
- if (length && $value === undefined) return $has(this, name);
- var values = getAll(this, name); // also validates `this`
- validateArgumentsLength(length, 1);
- var value = toString($value);
- var index = 0;
- while (index < values.length) {
- if (values[index++] === value) return true;
- } return false;
- }, { enumerable: true, unsafe: true });
-}
-
-
-/***/ },
-
-/***/ 8721
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var DESCRIPTORS = __webpack_require__(3724);
-var uncurryThis = __webpack_require__(9504);
-var defineBuiltInAccessor = __webpack_require__(2106);
-
-var URLSearchParamsPrototype = URLSearchParams.prototype;
-var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
-
-// `URLSearchParams.prototype.size` getter
-// https://github.com/whatwg/url/pull/734
-if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
- get: function size() {
- var count = 0;
- forEach(this, function () { count++; });
- return count;
- },
- configurable: true,
- enumerable: true
- });
-}
-
-
-/***/ },
-
-/***/ 5781
-(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
-
-
-var $ = __webpack_require__(6518);
-var getBuiltIn = __webpack_require__(7751);
-var validateArgumentsLength = __webpack_require__(2812);
-var toString = __webpack_require__(655);
-var USE_NATIVE_URL = __webpack_require__(7416);
-
-var URL = getBuiltIn('URL');
-
-// `URL.parse` method
-// https://url.spec.whatwg.org/#dom-url-parse
-$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
- parse: function parse(url) {
- var length = validateArgumentsLength(arguments.length, 1);
- var urlString = toString(url);
- var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
- try {
- return new URL(urlString, base);
- } catch (error) {
- return null;
- }
- }
-});
-
-
-/***/ }
-
-/******/ });
-/************************************************************************/
-/******/ // The module cache
-/******/ var __webpack_module_cache__ = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/ // Check if module is in cache
-/******/ var cachedModule = __webpack_module_cache__[moduleId];
-/******/ if (cachedModule !== undefined) {
-/******/ return cachedModule.exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = __webpack_module_cache__[moduleId] = {
-/******/ // no module.id needed
-/******/ // no module.loaded needed
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/define property getters */
@@ -5835,72 +47,7 @@ $({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
/******/
/************************************************************************/
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
-var es_array_push = __webpack_require__(4114);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js
-var es_array_buffer_detached = __webpack_require__(6573);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js
-var es_array_buffer_transfer = __webpack_require__(8100);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js
-var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
-var es_iterator_constructor = __webpack_require__(8111);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
-var es_iterator_filter = __webpack_require__(2489);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
-var es_iterator_map = __webpack_require__(1701);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
-var es_iterator_some = __webpack_require__(3579);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
-var es_map_get_or_insert = __webpack_require__(5367);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert-computed.js
-var es_map_get_or_insert_computed = __webpack_require__(2731);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js
-var es_promise_with_resolvers = __webpack_require__(4628);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
-var es_set_difference_v2 = __webpack_require__(7642);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
-var es_set_intersection_v2 = __webpack_require__(8004);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
-var es_set_is_disjoint_from_v2 = __webpack_require__(3853);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
-var es_set_is_subset_of_v2 = __webpack_require__(5876);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
-var es_set_is_superset_of_v2 = __webpack_require__(2475);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
-var es_set_symmetric_difference_v2 = __webpack_require__(5024);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
-var es_set_union_v2 = __webpack_require__(1698);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js
-var es_typed_array_with = __webpack_require__(9577);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-base64.js
-var es_uint8_array_set_from_base64 = __webpack_require__(6632);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.set-from-hex.js
-var es_uint8_array_set_from_hex = __webpack_require__(4226);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-base64.js
-var es_uint8_array_to_base64 = __webpack_require__(9486);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.to-hex.js
-var es_uint8_array_to_hex = __webpack_require__(456);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.self.js
-var web_self = __webpack_require__(3611);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
-var es_array_includes = __webpack_require__(4423);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.parse.js
-var web_url_parse = __webpack_require__(5781);
;// ./src/shared/util.js
-
-
-
-
-
-
-
-
-
-
-
-
-
const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser");
const BBOX_INIT = [Infinity, Infinity, -Infinity, -Infinity];
const F32_BBOX_INIT = new Float32Array(BBOX_INIT);
@@ -6755,53 +902,9 @@ function _isValidExplicitDest(validRef, validName, dest) {
const makeArr = () => [];
const makeMap = () => new Map();
const makeObj = () => Object.create(null);
-if (typeof Blob.prototype.bytes !== "function") {
- Blob.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof Response.prototype.bytes !== "function") {
- Response.prototype.bytes = async function () {
- return new Uint8Array(await this.arrayBuffer());
- };
-}
-if (typeof AbortSignal.any !== "function") {
- AbortSignal.any = function (iterable) {
- const ac = new AbortController();
- const {
- signal
- } = ac;
- for (const s of iterable) {
- if (s.aborted) {
- ac.abort(s.reason);
- return signal;
- }
- }
- for (const s of iterable) {
- s.addEventListener("abort", () => {
- ac.abort(s.reason);
- }, {
- signal
- });
- }
- return signal;
- };
-}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.every.js
-var es_iterator_every = __webpack_require__(1148);
;// ./src/core/primitives.js
-
-
-
-
-
-
-
-
-
-
const CIRCULAR_REF = Symbol("CIRCULAR_REF");
const EOF = Symbol("EOF");
let CmdCache = Object.create(null);
@@ -7183,27 +1286,6 @@ class BaseStream {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const PDF_VERSION_REGEXP = /^[1-9]\.\d$/;
const MAX_INT_32 = 2 ** 31 - 1;
const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0];
@@ -7669,21 +1751,7 @@ function getSizeInBytes(x) {
return Math.ceil(Math.ceil(Math.log2(1 + x)) / 8);
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
-var web_url_search_params_delete = __webpack_require__(4603);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
-var web_url_search_params_has = __webpack_require__(7566);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
-var web_url_search_params_size = __webpack_require__(8721);
;// ./external/qcms/qcms_utils.js
-
-
-
-
-
-
-
-
class QCMS {
static #memoryArray = null;
static _memory = null;
@@ -7747,17 +1815,6 @@ function make_cssRGB(ptr) {
;// ./external/qcms/qcms.js
-
-
-
-
-
-
-
-
-
-
-
const DataType = Object.freeze({
RGB8: 0,
"0": "RGB8",
@@ -7966,14 +2023,6 @@ function MathClamp(v, min, max) {
-
-
-
-
-
-
-
-
function resizeRgbImage(src, dest, w1, h1, w2, h2, alpha01) {
const COMPONENTS = 3;
alpha01 = alpha01 !== 1 ? 0 : alpha01;
@@ -8671,14 +2720,6 @@ class LabCS extends ColorSpace {
-
-
-
-
-
-
-
-
function fetchSync(url) {
const xhr = new XMLHttpRequest();
xhr.open("GET", url, false);
@@ -8813,14 +2854,6 @@ class CmykICCBasedCS extends IccColorSpace {
;// ./src/core/stream.js
-
-
-
-
-
-
-
-
class Stream extends BaseStream {
constructor(arrayBuffer, start, length, dict) {
super();
@@ -8894,26 +2927,6 @@ class NullStream extends Stream {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class ChunkedStream extends Stream {
progressiveDataLength = 0;
@@ -9321,10 +3334,6 @@ class ChunkedStreamManager {
;// ./src/shared/image_utils.js
-
-
-
-
function convertToRGBA(params) {
switch (params.kind) {
case ImageKind.GRAYSCALE_1BPP:
@@ -9437,14 +3446,6 @@ function grayToRGBA(src, dest) {
-
-
-
-
-
-
-
-
const MIN_IMAGE_DIM = 2048;
const MAX_IMAGE_DIM = 32768;
const MAX_ERROR = 128;
@@ -9815,18 +3816,6 @@ class ImageResizer {
}
;// ./external/jbig2/jbig2.js
-
-
-
-
-
-
-
-
-
-
-
-
async function JBig2(moduleArg = {}) {
var moduleRtn;
var Module = moduleArg;
@@ -10131,8 +4120,6 @@ async function JBig2(moduleArg = {}) {
-
-
class Jbig2Error extends BaseException {
constructor(msg) {
super(msg, "Jbig2Error");
@@ -10256,17 +4243,6 @@ class JBig2CCITTFaxImage {
;// ./src/core/decode_stream.js
-
-
-
-
-
-
-
-
-
-
-
const emptyBuffer = new Uint8Array(0);
class DecodeStream extends BaseStream {
constructor(maybeMinBufferLength) {
@@ -10694,15 +4670,6 @@ class ColorSpaceUtils {
-
-
-
-
-
-
-
-
-
class JpegError extends BaseException {
constructor(msg) {
super(msg, "JpegError");
@@ -11823,10 +5790,6 @@ class JpegImage {
-
-
-
-
class JpegStream extends DecodeStream {
static #isImageDecoderSupported = FeatureTest.isImageDecoderSupported;
constructor(stream, maybeLength, params) {
@@ -11957,18 +5920,6 @@ class JpegStream extends DecodeStream {
}
;// ./external/openjpeg/openjpeg.js
-
-
-
-
-
-
-
-
-
-
-
-
async function OpenJPEG(moduleArg = {}) {
var moduleRtn;
var Module = moduleArg;
@@ -12524,11 +6475,6 @@ async function OpenJPEG(moduleArg = {}) {
-
-
-
-
-
class JpxError extends BaseException {
constructor(msg) {
super(msg, "JpxError");
@@ -12675,22 +6621,6 @@ class JpxImage {
;// ./src/core/operator_list.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function addState(parentState, pattern, checkFn, iterateFn, processFn) {
let state = parentState;
for (let i = 0, ii = pattern.length - 1; i < ii; i++) {
@@ -13317,15 +7247,6 @@ class CheckedOperatorList extends OperatorList {
-
-
-
-
-
-
-
-
-
const ShadingType = {
FUNCTION_BASED: 1,
AXIAL: 2,
@@ -14276,23 +8197,9 @@ function getTilingPatternIR(operatorList, dict, color, needsIsolation = true) {
return ["TilingPattern", color, operatorList, matrix, bbox, xstep, ystep, paintType, tilingType, needsIsolation];
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.find.js
-var es_iterator_find = __webpack_require__(116);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.math.sum-precise.js
-var es_math_sum_precise = __webpack_require__(3068);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
-var es_iterator_for_each = __webpack_require__(7588);
;// ./src/core/binary_cmap.js
-
-
-
-
-
-
-
-
function hexToInt(a, size) {
let n = 0;
for (let i = 0; i <= size; i++) {
@@ -14542,14 +8449,6 @@ class BinaryCMapReader {
;// ./src/core/ascii_85_stream.js
-
-
-
-
-
-
-
-
class Ascii85Stream extends DecodeStream {
#input = new Uint8Array(5);
constructor(str, maybeLength) {
@@ -14662,11 +8561,6 @@ class AsciiHexStream extends DecodeStream {
}
;// ./external/brotli/decode.js
-
-
-
-
-
let Options;
let makeBrotliDecode = () => {
const MAX_HUFFMAN_TABLE_SIZE = Int32Array.from([256, 402, 436, 468, 500, 534, 566, 598, 630, 662, 694, 726, 758, 790, 822, 854, 886, 920, 952, 984, 1016, 1048, 1080]);
@@ -16600,14 +10494,6 @@ let BrotliDecode = makeBrotliDecode();
-
-
-
-
-
-
-
-
class BrotliStream extends DecodeStream {
#isAsync = true;
constructor(stream, maybeLength) {
@@ -16704,14 +10590,6 @@ class CCITTFaxStream extends DecodeStream {
-
-
-
-
-
-
-
-
const codeLenCodeMap = new Int32Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]);
const lengthDecode = new Int32Array([0x00003, 0x00004, 0x00005, 0x00006, 0x00007, 0x00008, 0x00009, 0x0000a, 0x1000b, 0x1000d, 0x1000f, 0x10011, 0x20013, 0x20017, 0x2001b, 0x2001f, 0x30023, 0x3002b, 0x30033, 0x3003b, 0x40043, 0x40053, 0x40063, 0x40073, 0x50083, 0x500a3, 0x500c3, 0x500e3, 0x00102, 0x00102, 0x00102]);
const distDecode = new Int32Array([0x00001, 0x00002, 0x00003, 0x00004, 0x10005, 0x10007, 0x20009, 0x2000d, 0x30011, 0x30019, 0x40021, 0x40031, 0x50041, 0x50061, 0x60081, 0x600c1, 0x70101, 0x70181, 0x80201, 0x80301, 0x90401, 0x90601, 0xa0801, 0xa0c01, 0xb1001, 0xb1801, 0xc2001, 0xc3001, 0xd4001, 0xd6001]);
@@ -17078,14 +10956,6 @@ class JpxStream extends DecodeStream {
;// ./src/core/lzw_stream.js
-
-
-
-
-
-
-
-
class LZWStream extends DecodeStream {
constructor(str, maybeLength, earlyChange) {
super(maybeLength);
@@ -17204,14 +11074,6 @@ class LZWStream extends DecodeStream {
-
-
-
-
-
-
-
-
class PredictorStream extends DecodeStream {
constructor(str, maybeLength, params) {
super(maybeLength);
@@ -17440,17 +11302,6 @@ class RunLengthStream extends DecodeStream {
-
-
-
-
-
-
-
-
-
-
-
@@ -18501,10 +12352,6 @@ class Linearization {
-
-
-
-
const BUILT_IN_CMAPS = ["Adobe-GB1-UCS2", "Adobe-CNS1-UCS2", "Adobe-Japan1-UCS2", "Adobe-Korea1-UCS2", "78-EUC-H", "78-EUC-V", "78-H", "78-RKSJ-H", "78-RKSJ-V", "78-V", "78ms-RKSJ-H", "78ms-RKSJ-V", "83pv-RKSJ-H", "90ms-RKSJ-H", "90ms-RKSJ-V", "90msp-RKSJ-H", "90msp-RKSJ-V", "90pv-RKSJ-H", "90pv-RKSJ-V", "Add-H", "Add-RKSJ-H", "Add-RKSJ-V", "Add-V", "Adobe-CNS1-0", "Adobe-CNS1-1", "Adobe-CNS1-2", "Adobe-CNS1-3", "Adobe-CNS1-4", "Adobe-CNS1-5", "Adobe-CNS1-6", "Adobe-GB1-0", "Adobe-GB1-1", "Adobe-GB1-2", "Adobe-GB1-3", "Adobe-GB1-4", "Adobe-GB1-5", "Adobe-Japan1-0", "Adobe-Japan1-1", "Adobe-Japan1-2", "Adobe-Japan1-3", "Adobe-Japan1-4", "Adobe-Japan1-5", "Adobe-Japan1-6", "Adobe-Korea1-0", "Adobe-Korea1-1", "Adobe-Korea1-2", "B5-H", "B5-V", "B5pc-H", "B5pc-V", "CNS-EUC-H", "CNS-EUC-V", "CNS1-H", "CNS1-V", "CNS2-H", "CNS2-V", "ETHK-B5-H", "ETHK-B5-V", "ETen-B5-H", "ETen-B5-V", "ETenms-B5-H", "ETenms-B5-V", "EUC-H", "EUC-V", "Ext-H", "Ext-RKSJ-H", "Ext-RKSJ-V", "Ext-V", "GB-EUC-H", "GB-EUC-V", "GB-H", "GB-V", "GBK-EUC-H", "GBK-EUC-V", "GBK2K-H", "GBK2K-V", "GBKp-EUC-H", "GBKp-EUC-V", "GBT-EUC-H", "GBT-EUC-V", "GBT-H", "GBT-V", "GBTpc-EUC-H", "GBTpc-EUC-V", "GBpc-EUC-H", "GBpc-EUC-V", "H", "HKdla-B5-H", "HKdla-B5-V", "HKdlb-B5-H", "HKdlb-B5-V", "HKgccs-B5-H", "HKgccs-B5-V", "HKm314-B5-H", "HKm314-B5-V", "HKm471-B5-H", "HKm471-B5-V", "HKscs-B5-H", "HKscs-B5-V", "Hankaku", "Hiragana", "KSC-EUC-H", "KSC-EUC-V", "KSC-H", "KSC-Johab-H", "KSC-Johab-V", "KSC-V", "KSCms-UHC-H", "KSCms-UHC-HW-H", "KSCms-UHC-HW-V", "KSCms-UHC-V", "KSCpc-EUC-H", "KSCpc-EUC-V", "Katakana", "NWP-H", "NWP-V", "RKSJ-H", "RKSJ-V", "Roman", "UniCNS-UCS2-H", "UniCNS-UCS2-V", "UniCNS-UTF16-H", "UniCNS-UTF16-V", "UniCNS-UTF32-H", "UniCNS-UTF32-V", "UniCNS-UTF8-H", "UniCNS-UTF8-V", "UniGB-UCS2-H", "UniGB-UCS2-V", "UniGB-UTF16-H", "UniGB-UTF16-V", "UniGB-UTF32-H", "UniGB-UTF32-V", "UniGB-UTF8-H", "UniGB-UTF8-V", "UniJIS-UCS2-H", "UniJIS-UCS2-HW-H", "UniJIS-UCS2-HW-V", "UniJIS-UCS2-V", "UniJIS-UTF16-H", "UniJIS-UTF16-V", "UniJIS-UTF32-H", "UniJIS-UTF32-V", "UniJIS-UTF8-H", "UniJIS-UTF8-V", "UniJIS2004-UTF16-H", "UniJIS2004-UTF16-V", "UniJIS2004-UTF32-H", "UniJIS2004-UTF32-V", "UniJIS2004-UTF8-H", "UniJIS2004-UTF8-V", "UniJISPro-UCS2-HW-V", "UniJISPro-UCS2-V", "UniJISPro-UTF8-V", "UniJISX0213-UTF32-H", "UniJISX0213-UTF32-V", "UniJISX02132004-UTF32-H", "UniJISX02132004-UTF32-V", "UniKS-UCS2-H", "UniKS-UCS2-V", "UniKS-UTF16-H", "UniKS-UTF16-V", "UniKS-UTF32-H", "UniKS-UTF32-V", "UniKS-UTF8-H", "UniKS-UTF8-V", "V", "WP-Symbol"];
const MAX_MAP_RANGE = 2 ** 24 - 1;
class CMap {
@@ -18979,15 +12826,6 @@ class PATTERN_INFO {
;// ./src/core/obj_bin_transform_core.js
-
-
-
-
-
-
-
-
-
function compileCssFontInfo(info) {
const encoder = new TextEncoder();
const encodedStrings = {};
@@ -23807,8 +17645,6 @@ const getDingbatsGlyphsUnicode = getLookupTableFactory(function (t) {
;// ./src/core/unicode.js
-
-
const getSpecialPUASymbols = getLookupTableFactory(function (t) {
t[63721] = 0x00a9;
t[63193] = 0x00a9;
@@ -23918,15 +17754,6 @@ function clearUnicodeCaches() {
-
-
-
-
-
-
-
-
-
const SEAC_ANALYSIS_ENABLED = true;
const FontFlags = {
FixedPitch: 1,
@@ -24174,8 +18001,6 @@ function compileType3Glyph({
return [OPS.rawFillPath, [new Float32Array(pathBuf)], new Float32Array([0, 0, width, height])];
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.to-array.js
-var es_iterator_to_array = __webpack_require__(1806);
;// ./src/core/charsets.js
const ISOAdobeCharset = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron"];
const ExpertCharset = [".notdef", "space", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"];
@@ -24185,15 +18010,6 @@ const ExpertSubsetCharset = [".notdef", "space", "dollaroldstyle", "dollarsuperi
-
-
-
-
-
-
-
-
-
const MAX_SUBR_NESTING = 10;
const CFFStandardStrings = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall", "001.000", "001.001", "001.002", "001.003", "Black", "Bold", "Book", "Light", "Medium", "Regular", "Roman", "Semibold"];
const NUM_STANDARD_CFF_STRINGS = 391;
@@ -26770,22 +20586,6 @@ class CFFFont {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
function getFloat214(view, offset) {
@@ -30619,18 +24419,6 @@ const getFontBasicMetrics = getLookupTableFactory(function (t) {
});
;// ./src/core/glyf.js
-
-
-
-
-
-
-
-
-
-
-
-
const ON_CURVE_POINT = 1 << 0;
const X_SHORT_VECTOR = 1 << 1;
const Y_SHORT_VECTOR = 1 << 2;
@@ -31160,17 +24948,6 @@ class CompositeGlyph {
;// ./src/core/opentype_file_builder.js
-
-
-
-
-
-
-
-
-
-
-
const OTF_HEADER_SIZE = 12;
const OTF_TABLE_ENTRY_SIZE = 16;
class OpenTypeFileBuilder {
@@ -31250,17 +25027,6 @@ class OpenTypeFileBuilder {
-
-
-
-
-
-
-
-
-
-
-
const HINTING_ENABLED = false;
const COMMAND_MAP = {
hstem: [1],
@@ -31825,7 +25591,6 @@ class Type1Parser {
-
function findBlock(streamBytes, signature, startIndex) {
const streamBytesLength = streamBytes.length;
const signatureLength = signature.length;
@@ -32115,31 +25880,6 @@ class Type1Font {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const PRIVATE_USE_AREAS = [[0xe000, 0xf8ff], [0x100000, 0x10fffd]];
const PDF_GLYPH_SPACE_UNITS = 1000;
const EXPORT_DATA_PROPERTIES = ["ascent", "bbox", "black", "bold", "cssFontInfo", "data", "defaultVMetrics", "defaultWidth", "descent", "disableFontFace", "fallbackName", "fontExtraProperties", "fontMatrix", "isInvalidPDFjsFont", "isType3Font", "italic", "loadedName", "mimetype", "missingFile", "name", "remeasure", "systemFontInfo", "vertical"];
@@ -34938,9 +28678,6 @@ const SegoeuiRegularMetrics = {
-
-
-
const getXFAFontMap = getLookupTableFactory(function (t) {
t["MyriadPro-Regular"] = t["PdfJS-Fallback-Regular"] = {
name: "LiberationSans-Regular",
@@ -35294,16 +29031,6 @@ class lexer_Lexer {
;// ./src/core/postscript/ast.js
-
-
-
-
-
-
-
-
-
-
const PS_VALUE_TYPE = {
numeric: 0,
boolean: 1,
@@ -36165,13 +29892,6 @@ class PSStackToTree {
-
-
-
-
-
-
-
const OP = {
ARG: 0,
CONST: 1,
@@ -36948,17 +30668,6 @@ function buildPostScriptJsFunction(source, domain, range, forceInterpreter = fal
;// ./src/core/postscript/wasm_compiler.js
-
-
-
-
-
-
-
-
-
-
-
const wasm_compiler_OP = {
if: 0x04,
else: 0x05,
@@ -37737,15 +31446,6 @@ function buildPostScriptWasmFunction(source, domain, range) {
;// ./src/core/image_utils.js
-
-
-
-
-
-
-
-
-
class BaseLocalCache {
constructor(options) {
this._onlyRefs = options?.onlyRefs === true;
@@ -38000,13 +31700,6 @@ class GlobalImageCache {
-
-
-
-
-
-
-
const FunctionType = {
SAMPLED: 0,
EXPONENTIAL_INTERPOLATION: 2,
@@ -38521,18 +32214,6 @@ function bidi(str, startLevel = -1, vertical = false) {
-
-
-
-
-
-
-
-
-
-
-
-
const NORMAL = {
style: "normal",
weight: "normal"
@@ -38821,14 +32502,6 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont
}
;// ./src/shared/murmurhash3.js
-
-
-
-
-
-
-
-
const SEED = 0xc3d2e1f0;
const MASK_HIGH = 0xffff0000;
const MASK_LOW = 0xffff;
@@ -38933,14 +32606,6 @@ class MurmurHash3_64 {
-
-
-
-
-
-
-
-
class PDFImage {
constructor({
xref,
@@ -39783,31 +33448,6 @@ class PDFImage {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -43994,13 +37634,6 @@ class EvaluatorPreprocessor {
-
-
-
-
-
-
-
class DefaultAppearanceEvaluator extends EvaluatorPreprocessor {
constructor(str) {
super(new StringStream(str));
@@ -44381,8 +38014,6 @@ class FakeUnicodeFont {
;// ./src/shared/scripting_utils.js
/* unused harmony import specifier */ var scripting_utils_MathClamp;
-
-
function makeColorComp(n) {
return Math.floor(scripting_utils_MathClamp(n, 0, 1) * 255).toString(16).padStart(2, "0");
}
@@ -44443,14 +38074,9 @@ class ColorConverters {
const DateFormats = ["m/d", "m/d/yy", "mm/dd/yy", "mm/yy", "d-mmm", "d-mmm-yy", "dd-mmm-yy", "yy-mm-dd", "mmm-yy", "mmmm-yy", "mmm d, yyyy", "mmmm d, yyyy", "m/d/yy h:MM tt", "m/d/yy HH:MM"];
const TimeFormats = ["HH:MM", "h:MM tt", "HH:MM:ss", "h:MM:ss tt"];
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
-var es_json_stringify = __webpack_require__(3110);
;// ./src/core/name_number_tree.js
-
-
-
class NameOrNumberTree {
constructor(root, xref, type) {
this.root = root;
@@ -44660,9 +38286,6 @@ class FileSpec {
;// ./src/core/xml_parser.js
-
-
-
const XMLParserErrorCode = {
NoError: 0,
EndOfDocument: -1,
@@ -45079,12 +38702,6 @@ class SimpleXMLParser extends XMLParserBase {
;// ./src/core/metadata_parser.js
-
-
-
-
-
-
class MetadataParser {
constructor(data) {
data = this._repair(data);
@@ -45187,9 +38804,6 @@ class MetadataParser {
-
-
-
const MAX_DEPTH = 40;
const StructElementType = {
PAGE_CONTENT: 1,
@@ -46038,24 +39652,6 @@ class StructTreePage {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -47577,7 +41173,6 @@ class Catalog {
-
function mayHaveChildren(value) {
return value instanceof Ref || value instanceof Dict || value instanceof BaseStream || Array.isArray(value);
}
@@ -47752,10 +41347,6 @@ const $toString = Symbol();
const $toStyle = Symbol();
const $uid = Symbol("uid");
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.flat-map.js
-var es_iterator_flat_map = __webpack_require__(531);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.uint8-array.from-base64.js
-var es_uint8_array_from_base64 = __webpack_require__(5213);
;// ./src/core/xfa/namespaces.js
const $buildXFAObject = Symbol();
const NamespaceIds = {
@@ -47824,11 +41415,6 @@ const NamespaceIds = {
;// ./src/core/xfa/utils.js
-
-
-
-
-
const dimConverters = {
pt: x => x,
cm: x => x / 2.54 * 72,
@@ -48028,19 +41614,6 @@ class HTMLResult {
-
-
-
-
-
-
-
-
-
-
-
-
-
class FontFinder {
constructor(pdfFonts) {
this.fonts = new Map();
@@ -48186,9 +41759,6 @@ function fonts_getMetrics(xfaFont, real = false) {
;// ./src/core/xfa/text.js
-
-
-
const WIDTH_FACTOR = 1.02;
class FontInfo {
constructor(xfaFont, margin, lineHeight, fontFinder) {
@@ -48393,21 +41963,9 @@ class TextMeasure {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert.js
-var es_weak_map_get_or_insert = __webpack_require__(8454);
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.get-or-insert-computed.js
-var es_weak_map_get_or_insert_computed = __webpack_require__(9452);
;// ./src/core/xfa/som.js
-
-
-
-
-
-
-
-
const namePattern = /^[^.[]+/;
const indexPattern = /^[^\]]+/;
const operators = {
@@ -48641,20 +42199,6 @@ function createDataNode(root, container, expr) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const _applyPrototype = Symbol();
const _attributes = Symbol();
const _attributeNames = Symbol();
@@ -49462,11 +43006,6 @@ class Option10 extends IntegerObject {
-
-
-
-
-
function measureToString(m) {
if (typeof m === "string") {
return "0px";
@@ -49968,8 +43507,6 @@ function fixURL(str) {
-
-
function createLine(node, children) {
return {
name: "div",
@@ -50246,33 +43783,6 @@ function checkDimensions(node, space) {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
const TEMPLATE_NS_ID = NamespaceIds.template.id;
const SVG_NS = "http://www.w3.org/2000/svg";
const MAX_ATTEMPTS_FOR_LRTB_LAYOUT = 2;
@@ -55122,11 +48632,6 @@ class TemplateNamespace {
-
-
-
-
-
const bind_NS_DATASETS = NamespaceIds.datasets.id;
function createText(content) {
const node = new Text({});
@@ -55543,7 +49048,6 @@ class Binder {
;// ./src/core/xfa/data.js
-
class DataHandler {
constructor(root, data) {
this.data = data;
@@ -55597,15 +49101,6 @@ class DataHandler {
-
-
-
-
-
-
-
-
-
const CONFIG_NS_ID = NamespaceIds.config.id;
class Acrobat extends XFAObject {
constructor(attributes) {
@@ -57560,19 +51055,6 @@ class XdpNamespace {
-
-
-
-
-
-
-
-
-
-
-
-
-
const XHTML_NS_ID = NamespaceIds.xhtml.id;
const $richText = Symbol();
const VALID_STYLES = new Set(["color", "font", "font-family", "font-size", "font-stretch", "font-style", "font-weight", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "letter-spacing", "line-height", "orphans", "page-break-after", "page-break-before", "page-break-inside", "tab-interval", "tab-stop", "text-align", "text-decoration", "text-indent", "vertical-align", "widows", "kerning-mode", "xfa-font-horizontal-scale", "xfa-font-vertical-scale", "xfa-spacerun", "xfa-tab-stops"]);
@@ -58008,12 +51490,6 @@ class UnknownNamespace {
-
-
-
-
-
-
class Root extends XFAObject {
constructor(ids) {
super(-1, "root", Object.create(null));
@@ -58174,16 +51650,6 @@ class Builder {
-
-
-
-
-
-
-
-
-
-
class XFAParser extends XMLParserBase {
constructor(rootNameSpace = null, richText = false) {
super();
@@ -58315,12 +51781,6 @@ class XFAParser extends XMLParserBase {
-
-
-
-
-
-
class XFAFactory {
constructor(data) {
try {
@@ -58466,24 +51926,6 @@ class XFAFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -62072,14 +55514,6 @@ class FileAttachmentAnnotation extends MarkupAnnotation {
;// ./src/core/calculate_md5.js
-
-
-
-
-
-
-
-
const PARAMS = {
get r() {
return shadow(this, "r", new Uint8Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]));
@@ -62159,8 +55593,6 @@ function calculateMD5(data, offset, length) {
-
-
function decodeString(str) {
try {
return stringToUTF8String(str);
@@ -62212,7 +55644,6 @@ class DatasetReader {
}
;// ./src/core/intersector.js
-
class SingleIntersector {
#annotation;
minX = Infinity;
@@ -62375,14 +55806,6 @@ class Intersector {
;// ./src/core/calculate_sha_other.js
-
-
-
-
-
-
-
-
class Word64 {
constructor(highInteger, lowInteger) {
this.high = highInteger | 0;
@@ -62650,14 +56073,6 @@ function calculateSHA384(data, offset, length) {
;// ./src/core/calculate_sha256.js
-
-
-
-
-
-
-
-
const calculate_sha256_PARAMS = {
get k() {
return shadow(this, "k", [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2]);
@@ -62802,18 +56217,6 @@ class DecryptStream extends DecodeStream {
-
-
-
-
-
-
-
-
-
-
-
-
class ARCFourCipher {
a = 0;
b = 0;
@@ -63590,24 +56993,6 @@ class CipherTransformFactory {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -64370,29 +57755,6 @@ class XRef {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -65973,12 +59335,8 @@ class NetworkPdfManager extends BasePdfManager {
}
}
-// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.try.js
-var es_promise_try = __webpack_require__(1689);
;// ./src/shared/message_handler.js
-
-
const CallbackKind = {
DATA: 1,
ERROR: 2
@@ -66388,18 +59746,6 @@ class MessageHandler {
-
-
-
-
-
-
-
-
-
-
-
-
async function writeObject(ref, obj, buffer, {
encrypt = null,
encryptRef = null
@@ -66808,21 +60154,6 @@ async function incrementalUpdate({
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -68903,14 +62234,6 @@ class PDFEditor {
;// ./src/shared/base_pdf_stream.js
-
-
-
-
-
-
-
-
class BasePDFStream {
#PDFStreamReader = null;
#PDFStreamRangeReader = null;
@@ -69086,30 +62409,6 @@ class PDFWorkerStreamRangeReader extends BasePDFStreamRangeReader {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
class WorkerTask {
constructor(name) {
this.name = name;
@@ -69831,4 +63130,4 @@ globalThis.pdfjsWorker = {
export { WorkerMessageHandler };
-//# sourceMappingURL=pdf.worker.mjs.map
+//# sourceMappingURL=pdf.worker.mjs.map
\ No newline at end of file
diff --git a/src/firefox/vendor/pdfjs/worker.mjs b/src/firefox/vendor/pdfjs/worker.mjs
new file mode 100644
index 000000000..c9aed9d33
--- /dev/null
+++ b/src/firefox/vendor/pdfjs/worker.mjs
@@ -0,0 +1,8 @@
+// Worker entry point for PDF.js. Use this URL as GlobalWorkerOptions.workerSrc
+// so the PDF.js worker gets the same compat.mjs polyfills as the page.
+// pdf.worker.mjs starts listening for messages as soon as it evaluates; the
+// re-export serves PDF.js's main-thread fallback, which imports workerSrc and
+// reads WorkerMessageHandler from it when a real worker cannot start.
+import './compat.mjs';
+
+export * from './pdf.worker.mjs';
diff --git a/test/pdf-read.mjs b/test/pdf-read.mjs
index 32742a4a4..93e535a89 100644
--- a/test/pdf-read.mjs
+++ b/test/pdf-read.mjs
@@ -1,6 +1,7 @@
#!/usr/bin/env node
import assert from 'node:assert/strict';
+import { execFileSync } from 'node:child_process';
import { readFile } from 'node:fs/promises';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
@@ -10,6 +11,113 @@ const pdfExtractionModulePath = path.join(root, 'src', 'chrome', 'src', 'agent',
const pdfToolsModulePath = path.join(root, 'src', 'chrome', 'src', 'agent', 'pdf-tools.js');
const pdfExtractionHostPath = path.join(root, 'src', 'chrome', 'src', 'offscreen', 'pdf-extraction-host.js');
const offscreenHtmlPath = path.join(root, 'src', 'chrome', 'src', 'offscreen', 'offscreen.html');
+const pdfjsVendorPath = path.join(root, 'src', 'chrome', 'vendor', 'pdfjs');
+
+function buildSinglePagePdf(text) {
+ const contents = `BT /F1 24 Tf 72 720 Td (${text}) Tj ET`;
+ const objects = [
+ '<< /Type /Catalog /Pages 2 0 R >>',
+ '<< /Type /Pages /Kids [3 0 R] /Count 1 >>',
+ '<< /Type /Page /Parent 2 0 R /MediaBox [0 0 612 792] /Resources << /Font << /F1 4 0 R >> >> /Contents 5 0 R >>',
+ '<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>',
+ `<< /Length ${contents.length} >>\nstream\n${contents}\nendstream`,
+ ];
+ let pdf = '%PDF-1.4\n';
+ const offsets = objects.map((body, index) => {
+ const offset = pdf.length;
+ pdf += `${index + 1} 0 obj\n${body}\nendobj\n`;
+ return offset;
+ });
+ const xrefOffset = pdf.length;
+ pdf += `xref\n0 ${objects.length + 1}\n0000000000 65535 f \n`;
+ for (const offset of offsets) pdf += `${String(offset).padStart(10, '0')} 00000 n \n`;
+ pdf += `trailer\n<< /Size ${objects.length + 1} /Root 1 0 R >>\nstartxref\n${xrefOffset}\n%%EOF\n`;
+ return new TextEncoder().encode(pdf);
+}
+
+async function testVendoredPdfjsExtractsTextThroughCompatEntryPoints() {
+ // The modern build builds one DOMMatrix while it evaluates. Node has none,
+ // and text extraction never renders, so an empty stand-in is enough.
+ const hadDomMatrix = 'DOMMatrix' in globalThis;
+ if (!hadDomMatrix) globalThis.DOMMatrix = class DOMMatrix {};
+ let pdfjs;
+ try {
+ pdfjs = await import(pathToFileURL(path.join(pdfjsVendorPath, 'index.mjs')).href);
+ } finally {
+ if (!hadDomMatrix) delete globalThis.DOMMatrix;
+ }
+ // Node runs PDF.js's main-thread fallback, which imports workerSrc and reads
+ // WorkerMessageHandler from it, so this also covers worker.mjs's re-export.
+ pdfjs.GlobalWorkerOptions.workerSrc = pathToFileURL(path.join(pdfjsVendorPath, 'worker.mjs')).href;
+ const { extractPdfTextFromBytes } = await import(pathToFileURL(pdfExtractionModulePath).href);
+
+ const result = await extractPdfTextFromBytes(pdfjs, buildSinglePagePdf('Hello from WebBrain'));
+ assert.equal(result.success, true);
+ assert.equal(result.totalPages, 1);
+ assert.deepEqual(result.pages, ['Hello from WebBrain']);
+}
+
+async function testPdfjsCompatFillsMissingBuiltIns() {
+ // Delete the built-ins in a fresh Node process so the polyfills themselves
+ // run, whatever this Node version already ships.
+ const compatUrl = pathToFileURL(path.join(pdfjsVendorPath, 'compat.mjs')).href;
+ const script = `
+ import assert from 'node:assert/strict';
+ for (const Collection of [Map, WeakMap]) {
+ delete Collection.prototype.getOrInsert;
+ delete Collection.prototype.getOrInsertComputed;
+ }
+ delete Math.sumPrecise;
+ delete Uint8Array.fromBase64;
+ delete Uint8Array.prototype.toBase64;
+ delete Uint8Array.prototype.toHex;
+ delete Response.prototype.bytes;
+ const existing = function getOrInsert() { return 'existing'; };
+ Map.prototype.getOrInsert = existing;
+ await import(${JSON.stringify(compatUrl)});
+
+ assert.equal(Map.prototype.getOrInsert, existing, 'compat must not replace a method the browser has');
+ assert.equal(Object.getOwnPropertyDescriptor(Math, 'sumPrecise').enumerable, false);
+
+ const counts = new Map([['seen', 1]]);
+ let calls = 0;
+ assert.equal(counts.getOrInsertComputed('seen', () => { calls++; return 2; }), 1);
+ assert.equal(counts.getOrInsertComputed('new', (key) => { calls++; return key.length; }), 3);
+ assert.equal(calls, 1);
+ assert.throws(() => counts.getOrInsertComputed('x', null), TypeError);
+ const key = {};
+ const weak = new WeakMap();
+ assert.equal(weak.getOrInsert(key, 'first'), 'first');
+ assert.equal(weak.getOrInsert(key, 'second'), 'first');
+ assert.equal(weak.getOrInsertComputed({}, () => 'computed'), 'computed');
+
+ assert.equal(Math.sumPrecise([0.1, 0.2, 0.3]), 0.6);
+ assert.equal(Math.sumPrecise([1e20, 0.1, -1e20]), 0.1);
+ assert.equal(Math.sumPrecise([1e100, 1, -1e100, 1e-100, 1e50, -1, -1e50]), 1e-100);
+ assert.equal(Math.sumPrecise(new Set([1, 2, 3])), 6);
+ assert.ok(Object.is(Math.sumPrecise([]), -0));
+ assert.ok(Object.is(Math.sumPrecise([-0, -0]), -0));
+ assert.ok(Object.is(Math.sumPrecise([-0, 0]), 0));
+ assert.equal(Math.sumPrecise([Infinity, 1]), Infinity);
+ assert.ok(Number.isNaN(Math.sumPrecise([Infinity, -Infinity])));
+ assert.ok(Number.isNaN(Math.sumPrecise([NaN, 1])));
+ assert.throws(() => Math.sumPrecise([1, '2']), TypeError);
+
+ const hello = new TextEncoder().encode('Hello');
+ assert.equal(hello.toBase64(), 'SGVsbG8=');
+ assert.deepEqual(Uint8Array.fromBase64('SGVsbG8='), hello);
+ const urlSafe = Uint8Array.from([251, 255]);
+ assert.equal(urlSafe.toBase64(), '+/8=');
+ assert.equal(urlSafe.toBase64({ alphabet: 'base64url', omitPadding: true }), '-_8');
+ assert.deepEqual(Uint8Array.fromBase64('-_8', { alphabet: 'base64url' }), urlSafe);
+ const large = Uint8Array.from({ length: 100003 }, (_, i) => (i * 31) % 256);
+ assert.deepEqual(Uint8Array.fromBase64(large.toBase64()), large);
+ assert.equal(Uint8Array.from([0, 1, 254, 255]).toHex(), '0001feff');
+
+ assert.deepEqual(await new Response('abc').bytes(), Uint8Array.from([97, 98, 99]));
+ `;
+ execFileSync(process.execPath, ['--input-type=module', '--eval', script], { stdio: 'pipe' });
+}
async function testMv3PdfExtractionUsesTheSharedOffscreenHost() {
const pdfTools = await readFile(pdfToolsModulePath, 'utf8');
@@ -20,10 +128,11 @@ async function testMv3PdfExtractionUsesTheSharedOffscreenHost() {
assert.match(pdfTools, /type: PDF_EXTRACTION_MESSAGE/);
assert.doesNotMatch(
pdfTools,
- /import\(chrome\.runtime\.getURL\('vendor\/pdfjs\/pdf\.mjs'\)\)/,
+ /import\(chrome\.runtime\.getURL\('vendor\/pdfjs\//,
'MV3 service workers reject dynamic import() at runtime',
);
- assert.match(host, /import\(chrome\.runtime\.getURL\('vendor\/pdfjs\/pdf\.mjs'\)\)/);
+ assert.match(host, /import\(chrome\.runtime\.getURL\('vendor\/pdfjs\/index\.mjs'\)\)/);
+ assert.match(host, /chrome\.runtime\.getURL\('vendor\/pdfjs\/worker\.mjs'\)/);
assert.match(host, /extractPdfTextFromBytes/);
assert.match(host, /isTrustedPdfExtractionSender\(sender\)/);
assert.match(offscreenHtml, /<script type="module" src="pdf-extraction-host\.js"><\/script>/);
@@ -231,6 +340,8 @@ const tests = [
['PDF extraction rejects unsafe URLs and untrusted senders', testPdfUrlAndSenderBoundaries],
['PDF extraction preserves bounded page metadata and truncation', testPdfExtractionPreservesBoundedPageMetadataAndTruncation],
['PDF facade waits for host readiness and reuses Claude bytes', testPdfFacadeRequestsOffscreenExtractionAndPreservesClaudeBytes],
+ ['Vendored PDF.js extracts text through the compat entry points', testVendoredPdfjsExtractsTextThroughCompatEntryPoints],
+ ['PDF.js compat fills missing built-ins without replacing native ones', testPdfjsCompatFillsMissingBuiltIns],
];
let failed = 0;
diff --git a/test/run.js b/test/run.js
index be4f97ed0..d6744f6fa 100644
--- a/test/run.js
+++ b/test/run.js
@@ -24260,17 +24260,36 @@ test('build-zip rejects store-obscuring JavaScript constructions', () => {
),
/inline image fixture contains long inline base64 media payload/,
);
+ assert.throws(
+ () => assertStoreReviewableJavaScript(
+ "var NullProtoObjectViaActiveX = function (activeXDocument) {};\nnew ActiveXObject('htmlfile');",
+ 'core-js fixture',
+ ),
+ /core-js fixture contains core-js Internet Explorer ActiveX\/iframe fallback/,
+ );
});
test('vendored PDF.js and multimodal probes remain store-reviewable in both builds', () => {
- const pdfFiles = ['pdf.mjs', 'pdf.worker.mjs'];
+ const pdfFiles = ['compat.mjs', 'index.mjs', 'pdf.mjs', 'pdf.worker.mjs', 'worker.mjs'];
for (const browser of ['chrome', 'firefox']) {
for (const filename of pdfFiles) {
const relativePath = `src/${browser}/vendor/pdfjs/${filename}`;
const source = fs.readFileSync(path.join(ROOT, relativePath), 'utf8');
assert.doesNotThrow(() => assertStoreReviewableJavaScript(source, relativePath));
- assert.match(source, /return '<script>' \+ content \+ '<\/script>';/);
- assert.match(source, /var JS = 'javascript:';/);
+ if (filename.startsWith('pdf.')) {
+ // The modern PDF.js build ships no core-js; compat.mjs fills the gaps.
+ assert.doesNotMatch(source, /core-js|__webpack_require__\(\d+\)/, `${relativePath} must not bundle core-js`);
+ assert.match(source, /^ \* pdfjsVersion = 5\.7\.284$/m);
+ }
+ }
+
+ const pdfjsDir = `src/${browser}/vendor/pdfjs`;
+ assert.match(fs.readFileSync(path.join(ROOT, pdfjsDir, 'index.mjs'), 'utf8'), /^import '\.\/compat\.mjs';\n\nexport \* from '\.\/pdf\.mjs';$/m);
+ assert.match(fs.readFileSync(path.join(ROOT, pdfjsDir, 'worker.mjs'), 'utf8'), /^import '\.\/compat\.mjs';\n\nexport \* from '\.\/pdf\.worker\.mjs';$/m);
+ const manifest = JSON.parse(fs.readFileSync(path.join(ROOT, `src/${browser}/manifest.json`), 'utf8'));
+ const accessible = manifest.web_accessible_resources.flatMap(entry => (typeof entry === 'string' ? [entry] : entry.resources));
+ for (const filename of pdfFiles) {
+ assert.ok(accessible.includes(`vendor/pdfjs/${filename}`), `${browser} manifest must expose vendor/pdfjs/${filename}`);
}
const managerPath = `src/${browser}/src/providers/manager.js`;