vite-plugin-cdn-next 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +0 -2
  2. package/dist/chunk-CV5YU5BM.mjs +1 -0
  3. package/dist/chunk-IGKNUOHW.mjs +1 -0
  4. package/dist/chunk-W6W74VIG.mjs +1 -0
  5. package/dist/index.js +1 -5
  6. package/dist/index.mjs +1 -2
  7. package/dist/resolve.js +0 -1
  8. package/dist/resolve.mjs +1 -2
  9. package/dist/resolver/bootcdn.js +0 -1
  10. package/dist/resolver/bootcdn.mjs +1 -2
  11. package/dist/resolver/cdnjs.js +0 -1
  12. package/dist/resolver/cdnjs.mjs +1 -2
  13. package/dist/resolver/jsdelivr.js +0 -1
  14. package/dist/resolver/jsdelivr.mjs +1 -2
  15. package/dist/resolver/unpkg.js +0 -1
  16. package/dist/resolver/unpkg.mjs +1 -2
  17. package/dist/scanner.js +1 -5
  18. package/dist/scanner.mjs +1 -2
  19. package/package.json +16 -14
  20. package/dist/chunk-44E5HB7F.mjs +0 -2
  21. package/dist/chunk-44E5HB7F.mjs.map +0 -1
  22. package/dist/chunk-D44BBBSZ.mjs +0 -2
  23. package/dist/chunk-D44BBBSZ.mjs.map +0 -1
  24. package/dist/chunk-EKMT5YZN.mjs +0 -5
  25. package/dist/chunk-EKMT5YZN.mjs.map +0 -1
  26. package/dist/chunk-ULCZGLAT.mjs +0 -2
  27. package/dist/chunk-ULCZGLAT.mjs.map +0 -1
  28. package/dist/index.js.map +0 -1
  29. package/dist/index.mjs.map +0 -1
  30. package/dist/resolve.js.map +0 -1
  31. package/dist/resolve.mjs.map +0 -1
  32. package/dist/resolver/bootcdn.js.map +0 -1
  33. package/dist/resolver/bootcdn.mjs.map +0 -1
  34. package/dist/resolver/cdnjs.js.map +0 -1
  35. package/dist/resolver/cdnjs.mjs.map +0 -1
  36. package/dist/resolver/jsdelivr.js.map +0 -1
  37. package/dist/resolver/jsdelivr.mjs.map +0 -1
  38. package/dist/resolver/unpkg.js.map +0 -1
  39. package/dist/resolver/unpkg.mjs.map +0 -1
  40. package/dist/scanner.js.map +0 -1
  41. package/dist/scanner.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js","../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js","../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js","../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js","../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js","../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js","../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js","../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js","../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js","../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js","../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js","../node_modules/.pnpm/functions-have-names@1.2.3/node_modules/functions-have-names/index.js","../node_modules/.pnpm/set-function-name@2.0.2/node_modules/set-function-name/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isPropertyKey.js","../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/records/property-descriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsAccessorDescriptor.js","../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js","../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js","../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js","../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js","../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js","../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js","../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js","../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js","../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isPrimitive.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsExtensible.js","../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsCallable.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/ToBoolean.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isObject.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/ToPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/SameValue.js","../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/IsArray.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/DefineOwnProperty.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/fromPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/FromPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsDataDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsGenericDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/5/Type.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/Type.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/ValidateAndApplyPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/OrdinaryDefineOwnProperty.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/CreateDataProperty.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2023/FromPropertyDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2023/IsDataDescriptor.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2023/SameValue.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2023/CreateMethodProperty.js","../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js","../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isLeadingSurrogate.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/isTrailingSurrogate.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/UTF16SurrogatePairToCodePoint.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/CodePointAt.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isFinite.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isInteger.js","../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/constants/maxSafeInteger.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/AdvanceStringIndex.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/CreateIterResultObject.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/Get.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IteratorComplete.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IteratorValue.js","../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js","../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/applyBind.js","../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/PromiseResolve.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/AsyncFromSyncIteratorContinuation.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IsArray.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/Call.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/GetV.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/GetMethod.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/records/iterator-record.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IteratorNext.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/forEach.js","../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js","../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js","../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js","../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js","../node_modules/.pnpm/internal-slot@1.1.0/node_modules/internal-slot/index.js","../node_modules/.pnpm/has-proto@1.2.0/node_modules/has-proto/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/OrdinaryObjectCreate.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/CreateAsyncFromSyncIterator.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/GetIteratorFromMethod.js","../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js","../node_modules/.pnpm/is-string@1.1.1/node_modules/is-string/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/helpers/getIteratorMethod.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/GetIterator.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IteratorStep.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/IteratorToList.js","../node_modules/.pnpm/set-proto@1.0.0/node_modules/set-proto/Reflect.setPrototypeOf.js","../node_modules/.pnpm/set-proto@1.0.0/node_modules/set-proto/Object.setPrototypeOf.js","../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/set.js","../node_modules/.pnpm/set-proto@1.0.0/node_modules/set-proto/index.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/OrdinaryGetPrototypeOf.js","../node_modules/.pnpm/es-abstract@1.23.9/node_modules/es-abstract/2024/OrdinarySetPrototypeOf.js","../node_modules/.pnpm/es-aggregate-error@1.0.13/node_modules/es-aggregate-error/implementation.js","../node_modules/.pnpm/es-aggregate-error@1.0.13/node_modules/es-aggregate-error/polyfill.js","../node_modules/.pnpm/globalthis@1.0.4/node_modules/globalthis/implementation.js","../node_modules/.pnpm/globalthis@1.0.4/node_modules/globalthis/polyfill.js","../node_modules/.pnpm/globalthis@1.0.4/node_modules/globalthis/shim.js","../node_modules/.pnpm/globalthis@1.0.4/node_modules/globalthis/index.js","../node_modules/.pnpm/es-aggregate-error@1.0.13/node_modules/es-aggregate-error/shim.js","../node_modules/.pnpm/es-aggregate-error@1.0.13/node_modules/es-aggregate-error/index.js","../src/scanner.ts","../src/transform.ts","../src/shared.ts"],"sourcesContent":["'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n","'use strict';\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n","'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n","'use strict';\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n","'use strict';\n\n/** @type {import('.')} */\nvar $gOPD = require('./gOPD');\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = require('define-data-property');\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = require('has-property-descriptors')();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","'use strict';\n\nvar functionsHaveNames = function functionsHaveNames() {\n\treturn typeof function f() {}.name === 'string';\n};\n\nvar gOPD = Object.getOwnPropertyDescriptor;\nif (gOPD) {\n\ttry {\n\t\tgOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\tgOPD = null;\n\t}\n}\n\nfunctionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {\n\tif (!functionsHaveNames() || !gOPD) {\n\t\treturn false;\n\t}\n\tvar desc = gOPD(function () {}, 'name');\n\treturn !!desc && !!desc.configurable;\n};\n\nvar $bind = Function.prototype.bind;\n\nfunctionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {\n\treturn functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';\n};\n\nmodule.exports = functionsHaveNames;\n","'use strict';\n\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar functionsHaveConfigurableNames = require('functions-have-names').functionsHaveConfigurableNames();\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionName(fn, name) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\tif (!loose || functionsHaveConfigurableNames) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'name', name);\n\t\t}\n\t}\n\treturn fn;\n};\n","'use strict';\n\nmodule.exports = function isPropertyKey(argument) {\n\treturn typeof argument === 'string' || typeof argument === 'symbol';\n};\n","'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar hasOwn = require('hasown');\n\nvar allowed = {\n\t__proto__: null,\n\t'[[Configurable]]': true,\n\t'[[Enumerable]]': true,\n\t'[[Get]]': true,\n\t'[[Set]]': true,\n\t'[[Value]]': true,\n\t'[[Writable]]': true\n};\n\n// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n\nmodule.exports = function isPropertyDescriptor(Desc) {\n\tif (!Desc || typeof Desc !== 'object') {\n\t\treturn false;\n\t}\n\n\tfor (var key in Desc) { // eslint-disable-line\n\t\tif (hasOwn(Desc, key) && !allowed[key]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tvar isData = hasOwn(Desc, '[[Value]]') || hasOwn(Desc, '[[Writable]]');\n\tvar IsAccessor = hasOwn(Desc, '[[Get]]') || hasOwn(Desc, '[[Set]]');\n\tif (isData && IsAccessor) {\n\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t}\n\treturn true;\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar hasOwn = require('hasown');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.1\n\nmodule.exports = function IsAccessorDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\tif (!hasOwn(Desc, '[[Get]]') && !hasOwn(Desc, '[[Set]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Object;\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Error;\n","'use strict';\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n","'use strict';\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n","'use strict';\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n","'use strict';\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n","'use strict';\n\n/** @type {import('./abs')} */\nmodule.exports = Math.abs;\n","'use strict';\n\n/** @type {import('./floor')} */\nmodule.exports = Math.floor;\n","'use strict';\n\n/** @type {import('./max')} */\nmodule.exports = Math.max;\n","'use strict';\n\n/** @type {import('./min')} */\nmodule.exports = Math.min;\n","'use strict';\n\n/** @type {import('./pow')} */\nmodule.exports = Math.pow;\n","'use strict';\n\n/** @type {import('./round')} */\nmodule.exports = Math.round;\n","'use strict';\n\n/** @type {import('./isNaN')} */\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n","'use strict';\n\nvar $isNaN = require('./isNaN');\n\n/** @type {import('./sign')} */\nmodule.exports = function sign(number) {\n\tif ($isNaN(number) || number === 0) {\n\t\treturn number;\n\t}\n\treturn number < 0 ? -1 : +1;\n};\n","'use strict';\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/** @type {import('./Reflect.getPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;\n","'use strict';\n\nvar $Object = require('es-object-atoms');\n\n/** @type {import('./Object.getPrototypeOf')} */\nmodule.exports = $Object.getPrototypeOf || null;\n","'use strict';\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n","'use strict';\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n","'use strict';\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n","'use strict';\n\nvar bind = require('function-bind');\n\nvar $apply = require('./functionApply');\nvar $call = require('./functionCall');\nvar $reflectApply = require('./reflectApply');\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n","'use strict';\n\nvar bind = require('function-bind');\nvar $TypeError = require('es-errors/type');\n\nvar $call = require('./functionCall');\nvar $actualApply = require('./actualApply');\n\n/** @type {import('.')} */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n","'use strict';\n\nvar callBind = require('call-bind-apply-helpers');\nvar gOPD = require('gopd');\n\nvar hasProtoAccessor;\ntry {\n\t// eslint-disable-next-line no-extra-parens, no-proto\n\thasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\n// eslint-disable-next-line no-extra-parens\nvar desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n","'use strict';\n\nvar reflectGetProto = require('./Reflect.getPrototypeOf');\nvar originalGetProto = require('./Object.getPrototypeOf');\n\nvar getDunderProto = require('dunder-proto/get');\n\n/** @type {import('.')} */\nmodule.exports = reflectGetProto\n\t? function getProto(O) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\treturn reflectGetProto(O);\n\t}\n\t: originalGetProto\n\t\t? function getProto(O) {\n\t\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\t\tthrow new TypeError('getProto: not an object');\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\treturn originalGetProto(O);\n\t\t}\n\t\t: getDunderProto\n\t\t\t? function getProto(O) {\n\t\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\t\treturn getDunderProto(O);\n\t\t\t}\n\t\t\t: null;\n","'use strict';\n\nvar undefined;\n\nvar $Object = require('es-object-atoms');\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar abs = require('math-intrinsics/abs');\nvar floor = require('math-intrinsics/floor');\nvar max = require('math-intrinsics/max');\nvar min = require('math-intrinsics/min');\nvar pow = require('math-intrinsics/pow');\nvar round = require('math-intrinsics/round');\nvar sign = require('math-intrinsics/sign');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = require('gopd');\nvar $defineProperty = require('es-define-property');\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = require('get-proto');\nvar $ObjectGPO = require('get-proto/Object.getPrototypeOf');\nvar $ReflectGPO = require('get-proto/Reflect.getPrototypeOf');\n\nvar $apply = require('call-bind-apply-helpers/functionApply');\nvar $call = require('call-bind-apply-helpers/functionCall');\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $preventExtensions = GetIntrinsic('%Object.preventExtensions%', true);\nvar $isExtensible = GetIntrinsic('%Object.isExtensible%', true);\n\nvar isPrimitive = require('../helpers/isPrimitive');\n\n// https://262.ecma-international.org/6.0/#sec-isextensible-o\n\nmodule.exports = $preventExtensions\n\t? function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj) && $isExtensible(obj);\n\t}\n\t: function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj);\n\t};\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar objectClass = '[object Object]';\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar ddaClass = '[object HTMLAllCollection]'; // IE 11\nvar ddaClass2 = '[object HTML document.all class]';\nvar ddaClass3 = '[object HTMLCollection]'; // IE 9-10\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\nvar isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\nvar isDDA = function isDocumentDotAll() { return false; };\nif (typeof document === 'object') {\n\t// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n\tvar all = document.all;\n\tif (toStr.call(all) === toStr.call(document.all)) {\n\t\tisDDA = function isDocumentDotAll(value) {\n\t\t\t/* globals document: false */\n\t\t\t// in IE 6-8, typeof document.all is \"object\" and it's truthy\n\t\t\tif ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {\n\t\t\t\ttry {\n\t\t\t\t\tvar str = toStr.call(value);\n\t\t\t\t\treturn (\n\t\t\t\t\t\tstr === ddaClass\n\t\t\t\t\t\t|| str === ddaClass2\n\t\t\t\t\t\t|| str === ddaClass3 // opera 12.16\n\t\t\t\t\t\t|| str === objectClass // IE 6-8\n\t\t\t\t\t) && value('') == null; // eslint-disable-line eqeqeq\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n}\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value) && tryFunctionObject(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\tif (strClass !== fnClass && strClass !== genClass && !(/^\\[object HTML/).test(strClass)) { return false; }\n\t\treturn tryFunctionObject(value);\n\t};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.2\n\nmodule.exports = function ToBoolean(value) { return !!value; };\n","'use strict';\n\nmodule.exports = function isObject(x) {\n\treturn !!x && (typeof x === 'function' || typeof x === 'object');\n};\n","'use strict';\n\nvar hasOwn = require('hasown');\n\nvar $TypeError = require('es-errors/type');\n\nvar IsCallable = require('./IsCallable');\nvar ToBoolean = require('./ToBoolean');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.5\n\nmodule.exports = function ToPropertyDescriptor(Obj) {\n\tif (!isObject(Obj)) {\n\t\tthrow new $TypeError('ToPropertyDescriptor requires an object');\n\t}\n\n\tvar desc = {};\n\tif (hasOwn(Obj, 'enumerable')) {\n\t\tdesc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n\t}\n\tif (hasOwn(Obj, 'configurable')) {\n\t\tdesc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n\t}\n\tif (hasOwn(Obj, 'value')) {\n\t\tdesc['[[Value]]'] = Obj.value;\n\t}\n\tif (hasOwn(Obj, 'writable')) {\n\t\tdesc['[[Writable]]'] = ToBoolean(Obj.writable);\n\t}\n\tif (hasOwn(Obj, 'get')) {\n\t\tvar getter = Obj.get;\n\t\tif (typeof getter !== 'undefined' && !IsCallable(getter)) {\n\t\t\tthrow new $TypeError('getter must be a function');\n\t\t}\n\t\tdesc['[[Get]]'] = getter;\n\t}\n\tif (hasOwn(Obj, 'set')) {\n\t\tvar setter = Obj.set;\n\t\tif (typeof setter !== 'undefined' && !IsCallable(setter)) {\n\t\t\tthrow new $TypeError('setter must be a function');\n\t\t}\n\t\tdesc['[[Set]]'] = setter;\n\t}\n\n\tif ((hasOwn(desc, '[[Get]]') || hasOwn(desc, '[[Set]]')) && (hasOwn(desc, '[[Value]]') || hasOwn(desc, '[[Writable]]'))) {\n\t\tthrow new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n\t}\n\treturn desc;\n};\n","'use strict';\n\nvar $isNaN = require('math-intrinsics/isNaN');\n\n// http://262.ecma-international.org/5.1/#sec-9.12\n\nmodule.exports = function SameValue(x, y) {\n\tif (x === y) { // 0 === -0, but they are not identical.\n\t\tif (x === 0) { return 1 / x === 1 / y; }\n\t\treturn true;\n\t}\n\treturn $isNaN(x) && $isNaN(y);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBindBasic = require('call-bind-apply-helpers');\n\n/** @type {(thisArg: string, searchString: string, position?: number) => number} */\nvar $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);\n\n/** @type {import('.')} */\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\t// eslint-disable-next-line no-extra-parens\n\tvar intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBindBasic([intrinsic]);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bound')('Object.prototype.toString');\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\nvar hasPropertyDescriptors = require('has-property-descriptors');\n\nvar $defineProperty = require('es-define-property');\n\nvar hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();\n\n// eslint-disable-next-line global-require\nvar isArray = hasArrayLengthDefineBug && require('../helpers/IsArray');\n\nvar callBound = require('call-bound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n// eslint-disable-next-line max-params\nmodule.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n\tif (!$defineProperty) {\n\t\tif (!IsDataDescriptor(desc)) {\n\t\t\t// ES3 does not support getters/setters\n\t\t\treturn false;\n\t\t}\n\t\tif (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// fallback for ES3\n\t\tif (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n\t\t\t// a non-enumerable existing property\n\t\t\treturn false;\n\t\t}\n\n\t\t// property does not exist at all, or exists but is enumerable\n\t\tvar V = desc['[[Value]]'];\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO[P] = V; // will use [[Define]]\n\t\treturn SameValue(O[P], V);\n\t}\n\tif (\n\t\thasArrayLengthDefineBug\n\t\t&& P === 'length'\n\t\t&& '[[Value]]' in desc\n\t\t&& isArray(O)\n\t\t&& O.length !== desc['[[Value]]']\n\t) {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO.length = desc['[[Value]]'];\n\t\treturn O.length === desc['[[Value]]'];\n\t}\n\n\t$defineProperty(O, P, FromPropertyDescriptor(desc));\n\treturn true;\n};\n","'use strict';\n\nvar isPropertyDescriptor = require('./records/property-descriptor');\n\nmodule.exports = function isFullyPopulatedPropertyDescriptor(ES, Desc) {\n\treturn isPropertyDescriptor(Desc)\n\t\t&& '[[Enumerable]]' in Desc\n\t\t&& '[[Configurable]]' in Desc\n\t\t&& (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));\n};\n","'use strict';\n\nmodule.exports = function fromPropertyDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn Desc;\n\t}\n\tvar obj = {};\n\tif ('[[Value]]' in Desc) {\n\t\tobj.value = Desc['[[Value]]'];\n\t}\n\tif ('[[Writable]]' in Desc) {\n\t\tobj.writable = !!Desc['[[Writable]]'];\n\t}\n\tif ('[[Get]]' in Desc) {\n\t\tobj.get = Desc['[[Get]]'];\n\t}\n\tif ('[[Set]]' in Desc) {\n\t\tobj.set = Desc['[[Set]]'];\n\t}\n\tif ('[[Enumerable]]' in Desc) {\n\t\tobj.enumerable = !!Desc['[[Enumerable]]'];\n\t}\n\tif ('[[Configurable]]' in Desc) {\n\t\tobj.configurable = !!Desc['[[Configurable]]'];\n\t}\n\treturn obj;\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\nvar fromPropertyDescriptor = require('../helpers/fromPropertyDescriptor');\n\n// https://262.ecma-international.org/6.0/#sec-frompropertydescriptor\n\nmodule.exports = function FromPropertyDescriptor(Desc) {\n\tif (typeof Desc !== 'undefined' && !isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\treturn fromPropertyDescriptor(Desc);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar hasOwn = require('hasown');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.2\n\nmodule.exports = function IsDataDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\tif (!hasOwn(Desc, '[[Value]]') && !hasOwn(Desc, '[[Writable]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\n// https://262.ecma-international.org/6.0/#sec-isgenericdescriptor\n\nmodule.exports = function IsGenericDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\tif (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) {\n\t\treturn true;\n\t}\n\n\treturn false;\n};\n","'use strict';\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nmodule.exports = function Type(x) {\n\tif (x === null) {\n\t\treturn 'Null';\n\t}\n\tif (typeof x === 'undefined') {\n\t\treturn 'Undefined';\n\t}\n\tif (isObject(x)) {\n\t\treturn 'Object';\n\t}\n\tif (typeof x === 'number') {\n\t\treturn 'Number';\n\t}\n\tif (typeof x === 'boolean') {\n\t\treturn 'Boolean';\n\t}\n\tif (typeof x === 'string') {\n\t\treturn 'String';\n\t}\n};\n","'use strict';\n\nvar ES5Type = require('../5/Type');\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nmodule.exports = function Type(x) {\n\tif (typeof x === 'symbol') {\n\t\treturn 'Symbol';\n\t}\n\tif (typeof x === 'bigint') {\n\t\treturn 'BigInt';\n\t}\n\treturn ES5Type(x);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\nvar isFullyPopulatedPropertyDescriptor = require('../helpers/isFullyPopulatedPropertyDescriptor');\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsGenericDescriptor = require('./IsGenericDescriptor');\nvar isPropertyKey = require('../helpers/isPropertyKey');\nvar SameValue = require('./SameValue');\nvar Type = require('./Type');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/13.0/#sec-validateandapplypropertydescriptor\n\n// see https://github.com/tc39/ecma262/pull/2468 for ES2022 changes\n\n// eslint-disable-next-line max-lines-per-function, max-statements\nmodule.exports = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) {\n\tvar oType = Type(O);\n\tif (typeof O !== 'undefined' && !isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: O must be undefined or an Object');\n\t}\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P must be a Property Key');\n\t}\n\tif (typeof extensible !== 'boolean') {\n\t\tthrow new $TypeError('Assertion failed: extensible must be a Boolean');\n\t}\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n\t}\n\tif (typeof current !== 'undefined' && !isPropertyDescriptor(current)) {\n\t\tthrow new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined');\n\t}\n\n\tif (typeof current === 'undefined') { // step 2\n\t\tif (!extensible) {\n\t\t\treturn false; // step 2.a\n\t\t}\n\t\tif (oType === 'Undefined') {\n\t\t\treturn true; // step 2.b\n\t\t}\n\t\tif (IsAccessorDescriptor(Desc)) { // step 2.c\n\t\t\treturn DefineOwnProperty(\n\t\t\t\tIsDataDescriptor,\n\t\t\t\tSameValue,\n\t\t\t\tFromPropertyDescriptor,\n\t\t\t\tO,\n\t\t\t\tP,\n\t\t\t\tDesc\n\t\t\t);\n\t\t}\n\t\t// step 2.d\n\t\treturn DefineOwnProperty(\n\t\t\tIsDataDescriptor,\n\t\t\tSameValue,\n\t\t\tFromPropertyDescriptor,\n\t\t\tO,\n\t\t\tP,\n\t\t\t{\n\t\t\t\t'[[Configurable]]': !!Desc['[[Configurable]]'],\n\t\t\t\t'[[Enumerable]]': !!Desc['[[Enumerable]]'],\n\t\t\t\t'[[Value]]': Desc['[[Value]]'],\n\t\t\t\t'[[Writable]]': !!Desc['[[Writable]]']\n\t\t\t}\n\t\t);\n\t}\n\n\t// 3. Assert: current is a fully populated Property Descriptor.\n\tif (\n\t\t!isFullyPopulatedPropertyDescriptor(\n\t\t\t{\n\t\t\t\tIsAccessorDescriptor: IsAccessorDescriptor,\n\t\t\t\tIsDataDescriptor: IsDataDescriptor\n\t\t\t},\n\t\t\tcurrent\n\t\t)\n\t) {\n\t\tthrow new $TypeError('`current`, when present, must be a fully populated and valid Property Descriptor');\n\t}\n\n\t// 4. If every field in Desc is absent, return true.\n\t// this can't really match the assertion that it's a Property Descriptor in our JS implementation\n\n\t// 5. If current.[[Configurable]] is false, then\n\tif (!current['[[Configurable]]']) {\n\t\tif ('[[Configurable]]' in Desc && Desc['[[Configurable]]']) {\n\t\t\t// step 5.a\n\t\t\treturn false;\n\t\t}\n\t\tif ('[[Enumerable]]' in Desc && !SameValue(Desc['[[Enumerable]]'], current['[[Enumerable]]'])) {\n\t\t\t// step 5.b\n\t\t\treturn false;\n\t\t}\n\t\tif (!IsGenericDescriptor(Desc) && !SameValue(IsAccessorDescriptor(Desc), IsAccessorDescriptor(current))) {\n\t\t\t// step 5.c\n\t\t\treturn false;\n\t\t}\n\t\tif (IsAccessorDescriptor(current)) { // step 5.d\n\t\t\tif ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else if (!current['[[Writable]]']) { // step 5.e\n\t\t\tif ('[[Writable]]' in Desc && Desc['[[Writable]]']) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}\n\n\t// 6. If O is not undefined, then\n\tif (oType !== 'Undefined') {\n\t\tvar configurable;\n\t\tvar enumerable;\n\t\tif (IsDataDescriptor(current) && IsAccessorDescriptor(Desc)) { // step 6.a\n\t\t\tconfigurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n\t\t\tenumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n\t\t\t// Replace the property named P of object O with an accessor property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n\t\t\treturn DefineOwnProperty(\n\t\t\t\tIsDataDescriptor,\n\t\t\t\tSameValue,\n\t\t\t\tFromPropertyDescriptor,\n\t\t\t\tO,\n\t\t\t\tP,\n\t\t\t\t{\n\t\t\t\t\t'[[Configurable]]': !!configurable,\n\t\t\t\t\t'[[Enumerable]]': !!enumerable,\n\t\t\t\t\t'[[Get]]': ('[[Get]]' in Desc ? Desc : current)['[[Get]]'],\n\t\t\t\t\t'[[Set]]': ('[[Set]]' in Desc ? Desc : current)['[[Set]]']\n\t\t\t\t}\n\t\t\t);\n\t\t} else if (IsAccessorDescriptor(current) && IsDataDescriptor(Desc)) {\n\t\t\tconfigurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n\t\t\tenumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n\t\t\t// i. Replace the property named P of object O with a data property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n\t\t\treturn DefineOwnProperty(\n\t\t\t\tIsDataDescriptor,\n\t\t\t\tSameValue,\n\t\t\t\tFromPropertyDescriptor,\n\t\t\t\tO,\n\t\t\t\tP,\n\t\t\t\t{\n\t\t\t\t\t'[[Configurable]]': !!configurable,\n\t\t\t\t\t'[[Enumerable]]': !!enumerable,\n\t\t\t\t\t'[[Value]]': ('[[Value]]' in Desc ? Desc : current)['[[Value]]'],\n\t\t\t\t\t'[[Writable]]': !!('[[Writable]]' in Desc ? Desc : current)['[[Writable]]']\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\t// For each field of Desc that is present, set the corresponding attribute of the property named P of object O to the value of the field.\n\t\treturn DefineOwnProperty(\n\t\t\tIsDataDescriptor,\n\t\t\tSameValue,\n\t\t\tFromPropertyDescriptor,\n\t\t\tO,\n\t\t\tP,\n\t\t\tDesc\n\t\t);\n\t}\n\n\treturn true; // step 7\n};\n","'use strict';\n\nvar $gOPD = require('gopd');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsExtensible = require('./IsExtensible');\nvar isPropertyKey = require('../helpers/isPropertyKey');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar SameValue = require('./SameValue');\nvar ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty\n\nmodule.exports = function OrdinaryDefineOwnProperty(O, P, Desc) {\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: O must be an Object');\n\t}\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P must be a Property Key');\n\t}\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n\t}\n\tif (!$gOPD) {\n\t\t// ES3/IE 8 fallback\n\t\tif (IsAccessorDescriptor(Desc)) {\n\t\t\tthrow new $SyntaxError('This environment does not support accessor property descriptors.');\n\t\t}\n\t\tvar creatingNormalDataProperty = !(P in O)\n\t\t\t&& Desc['[[Writable]]']\n\t\t\t&& Desc['[[Enumerable]]']\n\t\t\t&& Desc['[[Configurable]]']\n\t\t\t&& '[[Value]]' in Desc;\n\t\tvar settingExistingDataProperty = (P in O)\n\t\t\t&& (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]'])\n\t\t\t&& (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]'])\n\t\t\t&& (!('[[Writable]]' in Desc) || Desc['[[Writable]]'])\n\t\t\t&& '[[Value]]' in Desc;\n\t\tif (creatingNormalDataProperty || settingExistingDataProperty) {\n\t\t\tO[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign\n\t\t\treturn SameValue(O[P], Desc['[[Value]]']);\n\t\t}\n\t\tthrow new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties');\n\t}\n\tvar desc = $gOPD(O, P);\n\tvar current = desc && ToPropertyDescriptor(desc);\n\tvar extensible = IsExtensible(O);\n\treturn ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar isPropertyKey = require('../helpers/isPropertyKey');\nvar OrdinaryDefineOwnProperty = require('./OrdinaryDefineOwnProperty');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-createdataproperty\n\nmodule.exports = function CreateDataProperty(O, P, V) {\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key');\n\t}\n\tvar newDesc = {\n\t\t'[[Configurable]]': true,\n\t\t'[[Enumerable]]': true,\n\t\t'[[Value]]': V,\n\t\t'[[Writable]]': true\n\t};\n\treturn OrdinaryDefineOwnProperty(O, P, newDesc);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar CreateDataProperty = require('./CreateDataProperty');\n\nvar isObject = require('../helpers/isObject');\nvar isPropertyKey = require('../helpers/isPropertyKey');\n\n// // https://262.ecma-international.org/14.0/#sec-createdatapropertyorthrow\n\nmodule.exports = function CreateDataPropertyOrThrow(O, P, V) {\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key');\n\t}\n\tvar success = CreateDataProperty(O, P, V);\n\tif (!success) {\n\t\tthrow new $TypeError('unable to create data property');\n\t}\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\nvar fromPropertyDescriptor = require('../helpers/fromPropertyDescriptor');\n\n// https://262.ecma-international.org/6.0/#sec-frompropertydescriptor\n\nmodule.exports = function FromPropertyDescriptor(Desc) {\n\tif (typeof Desc !== 'undefined' && !isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\treturn fromPropertyDescriptor(Desc);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar hasOwn = require('hasown');\n\nvar isPropertyDescriptor = require('../helpers/records/property-descriptor');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.2\n\nmodule.exports = function IsDataDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tif (!isPropertyDescriptor(Desc)) {\n\t\tthrow new $TypeError('Assertion failed: `Desc` must be a Property Descriptor');\n\t}\n\n\tif (!hasOwn(Desc, '[[Value]]') && !hasOwn(Desc, '[[Writable]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar $isNaN = require('math-intrinsics/isNaN');\n\n// http://262.ecma-international.org/5.1/#sec-9.12\n\nmodule.exports = function SameValue(x, y) {\n\tif (x === y) { // 0 === -0, but they are not identical.\n\t\tif (x === 0) { return 1 / x === 1 / y; }\n\t\treturn true;\n\t}\n\treturn $isNaN(x) && $isNaN(y);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar isPropertyKey = require('../helpers/isPropertyKey');\nvar SameValue = require('./SameValue');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-createmethodproperty\n\nmodule.exports = function CreateMethodProperty(O, P, V) {\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key');\n\t}\n\n\tvar newDesc = {\n\t\t'[[Configurable]]': true,\n\t\t'[[Enumerable]]': false,\n\t\t'[[Value]]': V,\n\t\t'[[Writable]]': true\n\t};\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\tnewDesc\n\t);\n};\n","module.exports = require('util').inspect;\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nvar quotes = {\n __proto__: null,\n 'double': '\"',\n single: \"'\"\n};\nvar quoteREs = {\n __proto__: null,\n 'double': /([\"\\\\])/g,\n single: /(['\\\\])/g\n};\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof global !== 'undefined' && obj === global)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var style = opts.quoteStyle || defaultStyle;\n var quoteChar = quotes[style];\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '&quot;');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n var quoteRE = quoteREs[opts.quoteStyle || 'single'];\n quoteRE.lastIndex = 0;\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, quoteRE, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nmodule.exports = function isLeadingSurrogate(charCode) {\n\treturn typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF;\n};\n","'use strict';\n\nmodule.exports = function isTrailingSurrogate(charCode) {\n\treturn typeof charCode === 'number' && charCode >= 0xDC00 && charCode <= 0xDFFF;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = require('es-errors/type');\nvar $fromCharCode = GetIntrinsic('%String.fromCharCode%');\n\nvar isLeadingSurrogate = require('../helpers/isLeadingSurrogate');\nvar isTrailingSurrogate = require('../helpers/isTrailingSurrogate');\n\n// https://262.ecma-international.org/12.0/#sec-utf16decodesurrogatepair\n\nmodule.exports = function UTF16SurrogatePairToCodePoint(lead, trail) {\n\tif (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {\n\t\tthrow new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');\n\t}\n\t// var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n\treturn $fromCharCode(lead) + $fromCharCode(trail);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar callBound = require('call-bound');\nvar isLeadingSurrogate = require('../helpers/isLeadingSurrogate');\nvar isTrailingSurrogate = require('../helpers/isTrailingSurrogate');\n\nvar UTF16SurrogatePairToCodePoint = require('./UTF16SurrogatePairToCodePoint');\n\nvar $charAt = callBound('String.prototype.charAt');\nvar $charCodeAt = callBound('String.prototype.charCodeAt');\n\n// https://262.ecma-international.org/12.0/#sec-codepointat\n\nmodule.exports = function CodePointAt(string, position) {\n\tif (typeof string !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `string` must be a String');\n\t}\n\tvar size = string.length;\n\tif (position < 0 || position >= size) {\n\t\tthrow new $TypeError('Assertion failed: `position` must be >= 0, and < the length of `string`');\n\t}\n\tvar first = $charCodeAt(string, position);\n\tvar cp = $charAt(string, position);\n\tvar firstIsLeading = isLeadingSurrogate(first);\n\tvar firstIsTrailing = isTrailingSurrogate(first);\n\tif (!firstIsLeading && !firstIsTrailing) {\n\t\treturn {\n\t\t\t'[[CodePoint]]': cp,\n\t\t\t'[[CodeUnitCount]]': 1,\n\t\t\t'[[IsUnpairedSurrogate]]': false\n\t\t};\n\t}\n\tif (firstIsTrailing || (position + 1 === size)) {\n\t\treturn {\n\t\t\t'[[CodePoint]]': cp,\n\t\t\t'[[CodeUnitCount]]': 1,\n\t\t\t'[[IsUnpairedSurrogate]]': true\n\t\t};\n\t}\n\tvar second = $charCodeAt(string, position + 1);\n\tif (!isTrailingSurrogate(second)) {\n\t\treturn {\n\t\t\t'[[CodePoint]]': cp,\n\t\t\t'[[CodeUnitCount]]': 1,\n\t\t\t'[[IsUnpairedSurrogate]]': true\n\t\t};\n\t}\n\n\treturn {\n\t\t'[[CodePoint]]': UTF16SurrogatePairToCodePoint(first, second),\n\t\t'[[CodeUnitCount]]': 2,\n\t\t'[[IsUnpairedSurrogate]]': false\n\t};\n};\n","'use strict';\n\nvar $isNaN = require('./isNaN');\n\n/** @type {import('./isFinite')} */\nmodule.exports = function isFinite(x) {\n\treturn (typeof x === 'number' || typeof x === 'bigint')\n && !$isNaN(x)\n && x !== Infinity\n && x !== -Infinity;\n};\n\n","'use strict';\n\nvar $abs = require('./abs');\nvar $floor = require('./floor');\n\nvar $isNaN = require('./isNaN');\nvar $isFinite = require('./isFinite');\n\n/** @type {import('./isInteger')} */\nmodule.exports = function isInteger(argument) {\n\tif (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) {\n\t\treturn false;\n\t}\n\tvar absValue = $abs(argument);\n\treturn $floor(absValue) === absValue;\n};\n","'use strict';\n\n/** @type {import('./maxSafeInteger')} */\n// eslint-disable-next-line no-extra-parens\nmodule.exports = /** @type {import('./maxSafeInteger')} */ (Number.MAX_SAFE_INTEGER) || 9007199254740991; // Math.pow(2, 53) - 1;\n","'use strict';\n\nvar CodePointAt = require('./CodePointAt');\n\nvar $TypeError = require('es-errors/type');\nvar isInteger = require('math-intrinsics/isInteger');\nvar MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');\n\n// https://262.ecma-international.org/12.0/#sec-advancestringindex\n\nmodule.exports = function AdvanceStringIndex(S, index, unicode) {\n\tif (typeof S !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `S` must be a String');\n\t}\n\tif (!isInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) {\n\t\tthrow new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53');\n\t}\n\tif (typeof unicode !== 'boolean') {\n\t\tthrow new $TypeError('Assertion failed: `unicode` must be a Boolean');\n\t}\n\tif (!unicode) {\n\t\treturn index + 1;\n\t}\n\tvar length = S.length;\n\tif ((index + 1) >= length) {\n\t\treturn index + 1;\n\t}\n\tvar cp = CodePointAt(S, index);\n\treturn index + cp['[[CodeUnitCount]]'];\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\n// https://262.ecma-international.org/6.0/#sec-createiterresultobject\n\nmodule.exports = function CreateIterResultObject(value, done) {\n\tif (typeof done !== 'boolean') {\n\t\tthrow new $TypeError('Assertion failed: Type(done) is not Boolean');\n\t}\n\treturn {\n\t\tvalue: value,\n\t\tdone: done\n\t};\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar inspect = require('object-inspect');\n\nvar isObject = require('../helpers/isObject');\nvar isPropertyKey = require('../helpers/isPropertyKey');\n\n// https://262.ecma-international.org/6.0/#sec-get-o-p\n\nmodule.exports = function Get(O, P) {\n\t// 7.3.1.1\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\t// 7.3.1.2\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));\n\t}\n\t// 7.3.1.3\n\treturn O[P];\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar Get = require('./Get');\nvar ToBoolean = require('./ToBoolean');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-iteratorcomplete\n\nmodule.exports = function IteratorComplete(iterResult) {\n\tif (!isObject(iterResult)) {\n\t\tthrow new $TypeError('Assertion failed: Type(iterResult) is not Object');\n\t}\n\treturn ToBoolean(Get(iterResult, 'done'));\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar Get = require('./Get');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-iteratorvalue\n\nmodule.exports = function IteratorValue(iterResult) {\n\tif (!isObject(iterResult)) {\n\t\tthrow new $TypeError('Assertion failed: Type(iterResult) is not Object');\n\t}\n\treturn Get(iterResult, 'value');\n};\n\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar $apply = require('./functionApply');\nvar actualApply = require('./actualApply');\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n","'use strict';\n\nvar setFunctionLength = require('set-function-length');\n\nvar $defineProperty = require('es-define-property');\n\nvar callBindBasic = require('call-bind-apply-helpers');\nvar applyBind = require('call-bind-apply-helpers/applyBind');\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBind = require('call-bind');\nvar $SyntaxError = require('es-errors/syntax');\n\nvar $resolve = GetIntrinsic('%Promise.resolve%', true);\nvar $PromiseResolve = $resolve && callBind($resolve);\n\n// https://262.ecma-international.org/9.0/#sec-promise-resolve\n\nmodule.exports = function PromiseResolve(C, x) {\n\tif (!$PromiseResolve) {\n\t\tthrow new $SyntaxError('This environment does not support Promises.');\n\t}\n\treturn $PromiseResolve(C, x);\n};\n\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $Promise = GetIntrinsic('%Promise%', true);\n\nvar callBound = require('call-bound');\n\nvar CreateIterResultObject = require('./CreateIterResultObject');\nvar IteratorComplete = require('./IteratorComplete');\nvar IteratorValue = require('./IteratorValue');\nvar PromiseResolve = require('./PromiseResolve');\n\nvar isObject = require('../helpers/isObject');\n\nvar $then = callBound('Promise.prototype.then', true);\n\n// https://262.ecma-international.org/10.0/#sec-asyncfromsynciteratorcontinuation\n\nmodule.exports = function AsyncFromSyncIteratorContinuation(result) {\n\tif (!isObject(result)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\n\tif (arguments.length > 1) {\n\t\tthrow new $SyntaxError('although AsyncFromSyncIteratorContinuation should take a second argument, it is not used in this implementation');\n\t}\n\n\tif (!$Promise) {\n\t\tthrow new $SyntaxError('This environment does not support Promises.');\n\t}\n\n\treturn new $Promise(function (resolve) {\n\t\tvar done = IteratorComplete(result); // step 2\n\t\tvar value = IteratorValue(result); // step 4\n\t\tvar valueWrapper = PromiseResolve($Promise, value); // step 6\n\n\t\t// eslint-disable-next-line no-shadow\n\t\tvar onFulfilled = function (value) { // steps 8-9\n\t\t\treturn CreateIterResultObject(value, done); // step 8.a\n\t\t};\n\t\tresolve($then(valueWrapper, onFulfilled)); // step 11\n\t}); // step 12\n};\n","'use strict';\n\n// https://262.ecma-international.org/6.0/#sec-isarray\nmodule.exports = require('../helpers/IsArray');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\n\nvar $TypeError = require('es-errors/type');\n\nvar IsArray = require('./IsArray');\n\nvar $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('Function.prototype.apply');\n\n// https://262.ecma-international.org/6.0/#sec-call\n\nmodule.exports = function Call(F, V) {\n\tvar argumentsList = arguments.length > 2 ? arguments[2] : [];\n\tif (!IsArray(argumentsList)) {\n\t\tthrow new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n\t}\n\treturn $apply(F, V, argumentsList);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar inspect = require('object-inspect');\n\nvar isPropertyKey = require('../helpers/isPropertyKey');\n// var ToObject = require('./ToObject');\n\n// https://262.ecma-international.org/6.0/#sec-getv\n\nmodule.exports = function GetV(V, P) {\n\t// 7.3.2.1\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));\n\t}\n\n\t// 7.3.2.2-3\n\t// var O = ToObject(V);\n\n\t// 7.3.2.4\n\treturn V[P];\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar GetV = require('./GetV');\nvar IsCallable = require('./IsCallable');\nvar isPropertyKey = require('../helpers/isPropertyKey');\n\nvar inspect = require('object-inspect');\n\n// https://262.ecma-international.org/6.0/#sec-getmethod\n\nmodule.exports = function GetMethod(O, P) {\n\t// 7.3.9.1\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key');\n\t}\n\n\t// 7.3.9.2\n\tvar func = GetV(O, P);\n\n\t// 7.3.9.4\n\tif (func == null) {\n\t\treturn void 0;\n\t}\n\n\t// 7.3.9.5\n\tif (!IsCallable(func)) {\n\t\tthrow new $TypeError(inspect(P) + ' is not a function: ' + inspect(func));\n\t}\n\n\t// 7.3.9.6\n\treturn func;\n};\n","'use strict';\n\nvar hasOwn = require('hasown');\n\nmodule.exports = function isIteratorRecord(value) {\n\treturn !!value\n\t\t&& typeof value === 'object'\n\t\t&& hasOwn(value, '[[Iterator]]')\n\t\t&& hasOwn(value, '[[NextMethod]]')\n\t\t&& hasOwn(value, '[[Done]]')\n\t\t&& typeof value['[[Done]]'] === 'boolean';\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar Call = require('./Call');\n\nvar isObject = require('../helpers/isObject');\nvar isIteratorRecord = require('../helpers/records/iterator-record');\n\n// https://262.ecma-international.org/15.0/#sec-iteratornext\n\nmodule.exports = function IteratorNext(iteratorRecord) {\n\tif (!isIteratorRecord(iteratorRecord)) {\n\t\tthrow new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1\n\t}\n\n\tvar result;\n\tif (arguments.length < 2) { // step 1\n\t\tresult = Call(iteratorRecord['[[NextMethod]]'], iteratorRecord['[[Iterator]]']); // step 1.a\n\t} else { // step 2\n\t\tresult = Call(iteratorRecord['[[NextMethod]]'], iteratorRecord['[[Iterator]]'], [arguments[1]]); // step 2.a\n\t}\n\n\tif (!isObject(result)) {\n\t\tthrow new $TypeError('iterator next must return an object'); // step 3\n\t}\n\treturn result; // step 4\n};\n","'use strict';\n\nmodule.exports = function forEach(array, callback) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tcallback(array[i], i, array); // eslint-disable-line callback-return\n\t}\n};\n","'use strict';\n\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\n\n/*\n* This function traverses the list returning the node corresponding to the given key.\n*\n* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.\n* By doing so, all the recently used nodes can be accessed relatively quickly.\n*/\n/** @type {import('./list.d.ts').listGetNode} */\n// eslint-disable-next-line consistent-return\nvar listGetNode = function (list, key, isDelete) {\n\t/** @type {typeof list | NonNullable<(typeof list)['next']>} */\n\tvar prev = list;\n\t/** @type {(typeof list)['next']} */\n\tvar curr;\n\t// eslint-disable-next-line eqeqeq\n\tfor (; (curr = prev.next) != null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tif (!isDelete) {\n\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\tcurr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t}\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\n/** @type {import('./list.d.ts').listGet} */\nvar listGet = function (objects, key) {\n\tif (!objects) {\n\t\treturn void undefined;\n\t}\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\n/** @type {import('./list.d.ts').listSet} */\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t});\n\t}\n};\n/** @type {import('./list.d.ts').listHas} */\nvar listHas = function (objects, key) {\n\tif (!objects) {\n\t\treturn false;\n\t}\n\treturn !!listGetNode(objects, key);\n};\n/** @type {import('./list.d.ts').listDelete} */\n// eslint-disable-next-line consistent-return\nvar listDelete = function (objects, key) {\n\tif (objects) {\n\t\treturn listGetNode(objects, key, true);\n\t}\n};\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannelList() {\n\t/** @typedef {ReturnType<typeof getSideChannelList>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tvar root = $o && $o.next;\n\t\t\tvar deletedNode = listDelete($o, key);\n\t\t\tif (deletedNode && root && root === deletedNode) {\n\t\t\t\t$o = void undefined;\n\t\t\t}\n\t\t\treturn !!deletedNode;\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn listGet($o, key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn listHas($o, key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$o) {\n\t\t\t\t// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head\n\t\t\t\t$o = {\n\t\t\t\t\tnext: void undefined\n\t\t\t\t};\n\t\t\t}\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\tlistSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = require('es-errors/type');\nvar $Map = GetIntrinsic('%Map%', true);\n\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */\nvar $mapGet = callBound('Map.prototype.get', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */\nvar $mapSet = callBound('Map.prototype.set', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapHas = callBound('Map.prototype.has', true);\n/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */\nvar $mapDelete = callBound('Map.prototype.delete', true);\n/** @type {<K, V>(thisArg: Map<K, V>) => number} */\nvar $mapSize = callBound('Map.prototype.size', true);\n\n/** @type {import('.')} */\nmodule.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {\n\t/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */\n\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t/** @type {Map<K, V> | undefined} */ var $m;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\tif ($m) {\n\t\t\t\tvar result = $mapDelete($m, key);\n\t\t\t\tif ($mapSize($m) === 0) {\n\t\t\t\t\t$m = void undefined;\n\t\t\t\t}\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($m) {\n\t\t\t\treturn $mapGet($m, key);\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($m) {\n\t\t\t\treturn $mapHas($m, key);\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$m) {\n\t\t\t\t// @ts-expect-error TS can't handle narrowing a variable inside a closure\n\t\t\t\t$m = new $Map();\n\t\t\t}\n\t\t\t$mapSet($m, key, value);\n\t\t}\n\t};\n\n\t// @ts-expect-error TODO: figure out why TS is erroring here\n\treturn channel;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar inspect = require('object-inspect');\nvar getSideChannelMap = require('side-channel-map');\n\nvar $TypeError = require('es-errors/type');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\n\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */\nvar $weakMapDelete = callBound('WeakMap.prototype.delete', true);\n\n/** @type {import('.')} */\nmodule.exports = $WeakMap\n\t? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {\n\t\t/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */\n\t\t/** @typedef {Parameters<Channel['get']>[0]} K */\n\t\t/** @typedef {Parameters<Channel['set']>[1]} V */\n\n\t\t/** @type {WeakMap<K & object, V> | undefined} */ var $wm;\n\t\t/** @type {Channel | undefined} */ var $m;\n\n\t\t/** @type {Channel} */\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\t'delete': function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapDelete($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $m['delete'](key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tget: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn $m && $m.get(key);\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn !!$m && $m.has(key);\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if (getSideChannelMap) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = getSideChannelMap();\n\t\t\t\t\t}\n\t\t\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t\t\t/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t// @ts-expect-error TODO: figure out why this is erroring\n\t\treturn channel;\n\t}\n\t: getSideChannelMap;\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar inspect = require('object-inspect');\nvar getSideChannelList = require('side-channel-list');\nvar getSideChannelMap = require('side-channel-map');\nvar getSideChannelWeakMap = require('side-channel-weakmap');\n\nvar makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;\n\n/** @type {import('.')} */\nmodule.exports = function getSideChannel() {\n\t/** @typedef {ReturnType<typeof getSideChannel>} Channel */\n\n\t/** @type {Channel | undefined} */ var $channelData;\n\n\t/** @type {Channel} */\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\t'delete': function (key) {\n\t\t\treturn !!$channelData && $channelData['delete'](key);\n\t\t},\n\t\tget: function (key) {\n\t\t\treturn $channelData && $channelData.get(key);\n\t\t},\n\t\thas: function (key) {\n\t\t\treturn !!$channelData && $channelData.has(key);\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif (!$channelData) {\n\t\t\t\t$channelData = makeChannel();\n\t\t\t}\n\n\t\t\t$channelData.set(key, value);\n\t\t}\n\t};\n\t// @ts-expect-error TODO: figure out why this is erroring\n\treturn channel;\n};\n","'use strict';\n\n/** @typedef {`$${import('.').InternalSlot}`} SaltedInternalSlot */\n/** @typedef {{ [k in SaltedInternalSlot]?: unknown }} SlotsObject */\n\nvar hasOwn = require('hasown');\n/** @type {import('side-channel').Channel<object, SlotsObject>} */\nvar channel = require('side-channel')();\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nvar SLOT = {\n\tassert: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tchannel.assert(O);\n\t\tif (!SLOT.has(O, slot)) {\n\t\t\tthrow new $TypeError('`' + slot + '` is not present on `O`');\n\t\t}\n\t},\n\tget: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\t// eslint-disable-next-line no-extra-parens\n\t\treturn slots && slots[/** @type {SaltedInternalSlot} */ ('$' + slot)];\n\t},\n\thas: function (O, slot) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\t// eslint-disable-next-line no-extra-parens\n\t\treturn !!slots && hasOwn(slots, /** @type {SaltedInternalSlot} */ ('$' + slot));\n\t},\n\tset: function (O, slot, V) {\n\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\tthrow new $TypeError('`O` is not an object');\n\t\t}\n\t\tif (typeof slot !== 'string') {\n\t\t\tthrow new $TypeError('`slot` must be a string');\n\t\t}\n\t\tvar slots = channel.get(O);\n\t\tif (!slots) {\n\t\t\tslots = {};\n\t\t\tchannel.set(O, slots);\n\t\t}\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tslots[/** @type {SaltedInternalSlot} */ ('$' + slot)] = V;\n\t}\n};\n\nif (Object.freeze) {\n\tObject.freeze(SLOT);\n}\n\nmodule.exports = SLOT;\n","'use strict';\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\n// @ts-expect-error: TS errors on an inherited property for some reason\nvar result = { __proto__: test }.foo === test.foo\n\t&& !(test instanceof Object);\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\treturn result;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $ObjectCreate = GetIntrinsic('%Object.create%', true);\nvar $TypeError = require('es-errors/type');\nvar $SyntaxError = require('es-errors/syntax');\n\nvar IsArray = require('./IsArray');\n\nvar forEach = require('../helpers/forEach');\nvar isObject = require('../helpers/isObject');\n\nvar SLOT = require('internal-slot');\n\nvar hasProto = require('has-proto')();\n\n// https://262.ecma-international.org/11.0/#sec-objectcreate\n\nmodule.exports = function OrdinaryObjectCreate(proto) {\n\tif (proto !== null && !isObject(proto)) {\n\t\tthrow new $TypeError('Assertion failed: `proto` must be null or an object');\n\t}\n\tvar additionalInternalSlotsList = arguments.length < 2 ? [] : arguments[1];\n\tif (!IsArray(additionalInternalSlotsList)) {\n\t\tthrow new $TypeError('Assertion failed: `additionalInternalSlotsList` must be an Array');\n\t}\n\n\t// var internalSlotsList = ['[[Prototype]]', '[[Extensible]]']; // step 1\n\t// internalSlotsList.push(...additionalInternalSlotsList); // step 2\n\t// var O = MakeBasicObject(internalSlotsList); // step 3\n\t// setProto(O, proto); // step 4\n\t// return O; // step 5\n\n\tvar O;\n\tif ($ObjectCreate) {\n\t\tO = $ObjectCreate(proto);\n\t} else if (hasProto) {\n\t\tO = { __proto__: proto };\n\t} else {\n\t\tif (proto === null) {\n\t\t\tthrow new $SyntaxError('native Object.create support is required to create null objects');\n\t\t}\n\t\tvar T = function T() {};\n\t\tT.prototype = proto;\n\t\tO = new T();\n\t}\n\n\tif (additionalInternalSlotsList.length > 0) {\n\t\tforEach(additionalInternalSlotsList, function (slot) {\n\t\t\tSLOT.set(O, slot, void undefined);\n\t\t});\n\t}\n\n\treturn O;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $Promise = GetIntrinsic('%Promise%', true);\n\nvar AsyncFromSyncIteratorContinuation = require('./AsyncFromSyncIteratorContinuation');\nvar Call = require('./Call');\nvar CreateIterResultObject = require('./CreateIterResultObject');\nvar Get = require('./Get');\nvar GetMethod = require('./GetMethod');\nvar IteratorNext = require('./IteratorNext');\nvar OrdinaryObjectCreate = require('./OrdinaryObjectCreate');\n\nvar isObject = require('../helpers/isObject');\nvar isIteratorRecord = require('../helpers/records/iterator-record');\n\nvar SLOT = require('internal-slot');\n\nvar $AsyncFromSyncIteratorPrototype = GetIntrinsic('%AsyncFromSyncIteratorPrototype%', true) || {\n\tnext: function next(value) {\n\t\tif (!$Promise) {\n\t\t\tthrow new $SyntaxError('This environment does not support Promises.');\n\t\t}\n\n\t\tvar O = this; // step 1\n\n\t\tSLOT.assert(O, '[[SyncIteratorRecord]]'); // step 2\n\n\t\tvar argsLength = arguments.length;\n\n\t\treturn new $Promise(function (resolve) { // step 3\n\t\t\tvar syncIteratorRecord = SLOT.get(O, '[[SyncIteratorRecord]]'); // step 4\n\t\t\tvar result;\n\t\t\tif (argsLength > 0) {\n\t\t\t\tresult = IteratorNext(syncIteratorRecord, value); // step 5.a\n\t\t\t} else { // step 6\n\t\t\t\tresult = IteratorNext(syncIteratorRecord);// step 6.a\n\t\t\t}\n\t\t\tresolve(AsyncFromSyncIteratorContinuation(result)); // step 8\n\t\t});\n\t},\n\t'return': function () {\n\t\tif (!$Promise) {\n\t\t\tthrow new $SyntaxError('This environment does not support Promises.');\n\t\t}\n\n\t\tvar O = this; // step 1\n\n\t\tSLOT.assert(O, '[[SyncIteratorRecord]]'); // step 2\n\n\t\tvar valueIsPresent = arguments.length > 0;\n\t\tvar value = valueIsPresent ? arguments[0] : void undefined;\n\n\t\treturn new $Promise(function (resolve, reject) { // step 3\n\t\t\tvar syncIterator = SLOT.get(O, '[[SyncIteratorRecord]]')['[[Iterator]]']; // step 4\n\t\t\tvar iteratorReturn = GetMethod(syncIterator, 'return'); // step 5\n\n\t\t\tif (typeof iteratorReturn === 'undefined') { // step 7\n\t\t\t\tvar iterResult = CreateIterResultObject(value, true); // step 7.a\n\t\t\t\tCall(resolve, undefined, [iterResult]); // step 7.b\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar result;\n\t\t\tif (valueIsPresent) { // step 8\n\t\t\t\tresult = Call(iteratorReturn, syncIterator, [value]); // step 8.a\n\t\t\t} else { // step 9\n\t\t\t\tresult = Call(iteratorReturn, syncIterator); // step 9.a\n\t\t\t}\n\t\t\tif (!isObject(result)) { // step 11\n\t\t\t\tCall(reject, undefined, [new $TypeError('Iterator `return` method returned a non-object value.')]); // step 11.a\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresolve(AsyncFromSyncIteratorContinuation(result)); // step 12\n\t\t});\n\t},\n\t'throw': function () {\n\t\tif (!$Promise) {\n\t\t\tthrow new $SyntaxError('This environment does not support Promises.');\n\t\t}\n\n\t\tvar O = this; // step 1\n\n\t\tSLOT.assert(O, '[[SyncIteratorRecord]]'); // step 2\n\n\t\tvar valueIsPresent = arguments.length > 0;\n\t\tvar value = valueIsPresent ? arguments[0] : void undefined;\n\n\t\treturn new $Promise(function (resolve, reject) { // step 3\n\t\t\tvar syncIterator = SLOT.get(O, '[[SyncIteratorRecord]]')['[[Iterator]]']; // step 4\n\n\t\t\tvar throwMethod = GetMethod(syncIterator, 'throw'); // step 5\n\n\t\t\tif (typeof throwMethod === 'undefined') { // step 7\n\t\t\t\tCall(reject, undefined, [value]); // step 7.a\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar result;\n\t\t\tif (valueIsPresent) { // step 8\n\t\t\t\tresult = Call(throwMethod, syncIterator, [value]); // step 8.a\n\t\t\t} else { // step 9\n\t\t\t\tresult = Call(throwMethod, syncIterator); // step 9.a\n\t\t\t}\n\t\t\tif (!isObject(result)) { // step 11\n\t\t\t\tCall(reject, undefined, [new $TypeError('Iterator `throw` method returned a non-object value.')]); // step 11.a\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresolve(AsyncFromSyncIteratorContinuation(result/* , promiseCapability */)); // step 12\n\t\t});\n\t}\n};\n\n// https://262.ecma-international.org/15.0/#sec-createasyncfromsynciterator\n\nmodule.exports = function CreateAsyncFromSyncIterator(syncIteratorRecord) {\n\tif (!isIteratorRecord(syncIteratorRecord)) {\n\t\tthrow new $TypeError('Assertion failed: `syncIteratorRecord` must be an Iterator Record');\n\t}\n\n\t// var asyncIterator = OrdinaryObjectCreate(%AsyncFromSyncIteratorPrototype%, « [[SyncIteratorRecord]] »); // step 1\n\tvar asyncIterator = OrdinaryObjectCreate($AsyncFromSyncIteratorPrototype);\n\n\tSLOT.set(asyncIterator, '[[SyncIteratorRecord]]', syncIteratorRecord); // step 2\n\n\tvar nextMethod = Get(asyncIterator, 'next'); // step 3\n\n\treturn { // steps 3-4\n\t\t'[[Iterator]]': asyncIterator,\n\t\t'[[NextMethod]]': nextMethod,\n\t\t'[[Done]]': false\n\t};\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar Call = require('./Call');\nvar Get = require('./Get');\nvar IsCallable = require('./IsCallable');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/15.0/#sec-getiteratorfrommethod\n\nmodule.exports = function GetIteratorFromMethod(obj, method) {\n\tif (!IsCallable(method)) {\n\t\tthrow new $TypeError('method must be a function');\n\t}\n\n\tvar iterator = Call(method, obj); // step 1\n\tif (!isObject(iterator)) {\n\t\tthrow new $TypeError('iterator must return an object'); // step 2\n\t}\n\n\tvar nextMethod = Get(iterator, 'next'); // step 3\n\treturn { // steps 4-5\n\t\t'[[Iterator]]': iterator,\n\t\t'[[NextMethod]]': nextMethod,\n\t\t'[[Done]]': false\n\t};\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nvar callBound = require('call-bound');\n\n/** @type {(receiver: ThisParameterType<typeof String.prototype.valueOf>, ...args: Parameters<typeof String.prototype.valueOf>) => ReturnType<typeof String.prototype.valueOf>} */\nvar $strValueOf = callBound('String.prototype.valueOf');\n\n/** @type {import('.')} */\nvar tryStringObject = function tryStringObject(value) {\n\ttry {\n\t\t$strValueOf(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n/** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */\nvar $toString = callBound('Object.prototype.toString');\nvar strClass = '[object String]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\n/** @type {import('.')} */\nmodule.exports = function isString(value) {\n\tif (typeof value === 'string') {\n\t\treturn true;\n\t}\n\tif (!value || typeof value !== 'object') {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryStringObject(value) : $toString(value) === strClass;\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols')();\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\nvar isString = require('is-string');\n\nvar $iterator = GetIntrinsic('%Symbol.iterator%', true);\nvar $stringSlice = callBound('String.prototype.slice');\nvar $String = GetIntrinsic('%String%');\n\nmodule.exports = function getIteratorMethod(ES, iterable) {\n\tvar usingIterator;\n\tif (hasSymbols) {\n\t\tusingIterator = ES.GetMethod(iterable, $iterator);\n\t} else if (ES.IsArray(iterable)) {\n\t\tusingIterator = function () {\n\t\t\tvar i = -1;\n\t\t\tvar arr = this; // eslint-disable-line no-invalid-this\n\t\t\treturn {\n\t\t\t\tnext: function () {\n\t\t\t\t\ti += 1;\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: i >= arr.length,\n\t\t\t\t\t\tvalue: arr[i]\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t} else if (isString(iterable)) {\n\t\tusingIterator = function () {\n\t\t\tvar i = 0;\n\t\t\treturn {\n\t\t\t\tnext: function () {\n\t\t\t\t\tvar nextIndex = ES.AdvanceStringIndex($String(iterable), i, true);\n\t\t\t\t\tvar value = $stringSlice(iterable, i, nextIndex);\n\t\t\t\t\ti = nextIndex;\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdone: nextIndex > iterable.length,\n\t\t\t\t\t\tvalue: value\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t}\n\treturn usingIterator;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = require('es-errors/type');\nvar $asyncIterator = GetIntrinsic('%Symbol.asyncIterator%', true);\n\nvar inspect = require('object-inspect');\nvar hasSymbols = require('has-symbols')();\n\nvar AdvanceStringIndex = require('./AdvanceStringIndex');\nvar CreateAsyncFromSyncIterator = require('./CreateAsyncFromSyncIterator');\nvar GetIteratorFromMethod = require('./GetIteratorFromMethod');\nvar GetMethod = require('./GetMethod');\nvar IsArray = require('./IsArray');\n\nvar ES = {\n\tAdvanceStringIndex: AdvanceStringIndex,\n\tGetMethod: GetMethod,\n\tIsArray: IsArray\n};\n\nvar getIteratorMethod = require('../helpers/getIteratorMethod');\n\n// https://262.ecma-international.org/14.0/#sec-getiterator\n\nmodule.exports = function GetIterator(obj, kind) {\n\tif (kind !== 'SYNC' && kind !== 'ASYNC') {\n\t\tthrow new $TypeError(\"Assertion failed: `kind` must be one of 'sync' or 'async', got \" + inspect(kind));\n\t}\n\n\tvar method;\n\tif (kind === 'ASYNC') { // step 1\n\t\tif (hasSymbols && $asyncIterator) {\n\t\t\tmethod = GetMethod(obj, $asyncIterator); // step 1.a\n\t\t}\n\t}\n\tif (typeof method === 'undefined') { // step 1.b\n\t\t// var syncMethod = GetMethod(obj, $iterator); // step 1.b.i\n\t\tvar syncMethod = getIteratorMethod(ES, obj);\n\t\tif (kind === 'ASYNC') {\n\t\t\tif (typeof syncMethod === 'undefined') {\n\t\t\t\tthrow new $TypeError('iterator method is `undefined`'); // step 1.b.ii\n\t\t\t}\n\t\t\tvar syncIteratorRecord = GetIteratorFromMethod(obj, syncMethod); // step 1.b.iii\n\t\t\treturn CreateAsyncFromSyncIterator(syncIteratorRecord); // step 1.b.iv\n\t\t}\n\t\tmethod = syncMethod; // step 2, kind of\n\t}\n\n\tif (typeof method === 'undefined') {\n\t\tthrow new $TypeError('iterator method is `undefined`'); // step 3\n\t}\n\treturn GetIteratorFromMethod(obj, method); // step 4\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar IteratorComplete = require('./IteratorComplete');\nvar IteratorNext = require('./IteratorNext');\n\nvar isIteratorRecord = require('../helpers/records/iterator-record');\n\n// https://262.ecma-international.org/15.0/#sec-iteratorstep\n\nmodule.exports = function IteratorStep(iteratorRecord) {\n\tif (!isIteratorRecord(iteratorRecord)) {\n\t\tthrow new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1\n\t}\n\n\tvar result = IteratorNext(iteratorRecord); // step 1\n\tvar done = IteratorComplete(result); // step 2\n\treturn done === true ? false : result; // steps 3-4\n};\n\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar callBound = require('call-bound');\n\nvar $arrayPush = callBound('Array.prototype.push');\n\nvar IteratorStep = require('./IteratorStep');\nvar IteratorValue = require('./IteratorValue');\n\nvar isIteratorRecord = require('../helpers/records/iterator-record');\n\n// https://262.ecma-international.org/15.0/#sec-iteratortolist\n\nmodule.exports = function IteratorToList(iteratorRecord) {\n\tif (!isIteratorRecord(iteratorRecord)) {\n\t\tthrow new $TypeError('Assertion failed: `iteratorRecord` must be an Iterator Record'); // step 1\n\t}\n\n\tvar values = []; // step 1\n\tvar next = true; // step 2\n\twhile (next) { // step 3\n\t\tnext = IteratorStep(iteratorRecord); // step 3.a\n\t\tif (next) {\n\t\t\tvar nextValue = IteratorValue(next); // step 3.b.i\n\t\t\t$arrayPush(values, nextValue); // step 3.b.ii\n\t\t}\n\t}\n\treturn values; // step 4\n};\n","'use strict';\n\n/** @type {import('./Reflect.setPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.setPrototypeOf) || null;\n","'use strict';\n\nvar $Object = require('es-object-atoms');\n\n/** @type {import('./Object.setPrototypeOf')} */\nmodule.exports = $Object.setPrototypeOf || null;\n","'use strict';\n\nvar callBind = require('call-bind-apply-helpers');\nvar gOPD = require('gopd');\nvar $TypeError = require('es-errors/type');\n\n/** @type {{ __proto__?: object | null }} */\nvar obj = {};\ntry {\n\tobj.__proto__ = null; // eslint-disable-line no-proto\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\nvar hasProtoMutator = !('toString' in obj);\n\n// eslint-disable-next-line no-extra-parens\nvar desc = gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\n/** @type {import('./set')} */\nmodule.exports = hasProtoMutator && (\n// eslint-disable-next-line no-extra-parens\n\t(!!desc && typeof desc.set === 'function' && /** @type {import('./set')} */ (callBind([desc.set])))\n\t|| /** @type {import('./set')} */ function setDunder(object, proto) {\n\t\t// this is node v0.10 or older, which doesn't have Object.setPrototypeOf and has undeniable __proto__\n\t\tif (object == null) { // eslint-disable-line eqeqeq\n\t\t\tthrow new $TypeError('set Object.prototype.__proto__ called on null or undefined');\n\t\t}\n\t\t// eslint-disable-next-line no-proto, no-param-reassign, no-extra-parens\n\t\t/** @type {{ __proto__?: object | null }} */ (object).__proto__ = proto;\n\t\treturn proto;\n\t}\n);\n","'use strict';\n\nvar reflectSetProto = require('./Reflect.setPrototypeOf');\nvar originalSetProto = require('./Object.setPrototypeOf');\n\nvar setDunderProto = require('dunder-proto/set');\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = reflectSetProto\n\t? function setProto(O, proto) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\tif (reflectSetProto(O, proto)) {\n\t\t\treturn O;\n\t\t}\n\t\tthrow new $TypeError('Reflect.setPrototypeOf: failed to set [[Prototype]]');\n\t}\n\t: originalSetProto || (\n\t\tsetDunderProto ? function setProto(O, proto) {\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\tsetDunderProto(O, proto);\n\t\t\treturn O;\n\t\t} : null\n\t);\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar $getProto = require('get-proto');\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof\n\nmodule.exports = function OrdinaryGetPrototypeOf(O) {\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: O must be an Object');\n\t}\n\tif (!$getProto) {\n\t\tthrow new $TypeError('This environment does not support fetching prototypes.');\n\t}\n\treturn $getProto(O);\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar $setProto = require('set-proto');\n\nvar OrdinaryGetPrototypeOf = require('./OrdinaryGetPrototypeOf');\n\nvar isObject = require('../helpers/isObject');\n\n// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof\n\nmodule.exports = function OrdinarySetPrototypeOf(O, V) {\n\tif (V !== null && !isObject(V)) {\n\t\tthrow new $TypeError('Assertion failed: V must be Object or Null');\n\t}\n\t/*\n\tvar extensible = IsExtensible(O);\n\tvar current = OrdinaryGetPrototypeOf(O);\n\tif (SameValue(V, current)) {\n\t\treturn true;\n\t}\n\tif (!extensible) {\n\t\treturn false;\n\t}\n\t*/\n\ttry {\n\t\t$setProto(O, V);\n\t} catch (e) {\n\t\treturn false;\n\t}\n\treturn OrdinaryGetPrototypeOf(O) === V;\n\t/*\n\tvar p = V;\n\tvar done = false;\n\twhile (!done) {\n\t\tif (p === null) {\n\t\t\tdone = true;\n\t\t} else if (SameValue(p, O)) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tif (wat) {\n\t\t\t\tdone = true;\n\t\t\t} else {\n\t\t\t\tp = p.[[Prototype]];\n\t\t\t}\n\t\t}\n\t}\n\tO.[[Prototype]] = V;\n\treturn true;\n\t*/\n};\n","'use strict';\n\nvar CreateDataPropertyOrThrow = require('es-abstract/2024/CreateDataPropertyOrThrow');\nvar CreateMethodProperty = require('es-abstract/2023/CreateMethodProperty');\nvar GetIterator = require('es-abstract/2024/GetIterator');\nvar hasPropertyDescriptors = require('has-property-descriptors')();\nvar IteratorToList = require('es-abstract/2024/IteratorToList');\nvar OrdinarySetPrototypeOf = require('es-abstract/2024/OrdinarySetPrototypeOf');\n\nvar $Error = require('es-errors');\n\n// eslint-disable-next-line func-style\nfunction AggregateError(errors, message) {\n\tvar error = new $Error(message);\n\tOrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define\n\tdelete error.constructor;\n\n\tvar errorsList = IteratorToList(GetIterator(errors, 'SYNC'));\n\tCreateDataPropertyOrThrow(error, 'errors', errorsList);\n\n\treturn error;\n}\nif (hasPropertyDescriptors) {\n\tObject.defineProperty(AggregateError, 'prototype', { writable: false });\n}\nvar proto = AggregateError.prototype;\n\nif (\n\t!CreateMethodProperty(proto, 'constructor', AggregateError)\n\t|| !CreateMethodProperty(proto, 'message', '')\n\t|| !CreateMethodProperty(proto, 'name', 'AggregateError')\n) {\n\tthrow new $Error('unable to install AggregateError.prototype properties; please report this!');\n}\n\nOrdinarySetPrototypeOf(AggregateError.prototype, Error.prototype);\n\nmodule.exports = AggregateError;\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn typeof AggregateError === 'function' ? AggregateError : implementation;\n};\n","'use strict';\n\nmodule.exports = global;\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\tif (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {\n\t\treturn implementation;\n\t}\n\treturn global;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar gOPD = require('gopd');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimGlobal() {\n\tvar polyfill = getPolyfill();\n\tif (define.supportsDescriptors) {\n\t\tvar descriptor = gOPD(polyfill, 'globalThis');\n\t\tif (\n\t\t\t!descriptor\n\t\t\t|| (\n\t\t\t\tdescriptor.configurable\n\t\t\t\t&& (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill)\n\t\t\t)\n\t\t) {\n\t\t\tObject.defineProperty(polyfill, 'globalThis', {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: false,\n\t\t\t\tvalue: polyfill,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t}\n\t} else if (typeof globalThis !== 'object' || globalThis !== polyfill) {\n\t\tpolyfill.globalThis = polyfill;\n\t}\n\treturn polyfill;\n};\n","'use strict';\n\nvar defineProperties = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\n\nvar getGlobal = function () { return polyfill; };\n\ndefineProperties(getGlobal, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = getGlobal;\n","'use strict';\n\nvar define = require('define-properties');\nvar globalThis = require('globalthis')();\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimAggregateError() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tglobalThis,\n\t\t{ AggregateError: polyfill },\n\t\t{\n\t\t\tAggregateError: function testAggregateError() {\n\t\t\t\treturn globalThis.AggregateError !== polyfill;\n\t\t\t}\n\t\t}\n\t);\n\treturn polyfill;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar define = require('define-properties');\nvar setFunctionName = require('set-function-name');\nvar defineDataProperty = require('define-data-property');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\nvar bound = setFunctionName(bind.call(polyfill), polyfill.name, true);\n\ndefineDataProperty(bound, 'prototype', polyfill.prototype, true, true, true, true);\n\ndefine(bound, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = bound;\n","import fsp from 'fs/promises'\r\nimport url from 'url'\r\nimport module from 'module'\r\nimport path from 'path'\r\nimport worker_threads from 'worker_threads'\r\nimport type { MessagePort } from 'worker_threads'\r\nimport { tryScanGlobalName } from './transform'\r\nimport { MAX_CONCURRENT, _import, createConcurrentQueue, is, len, lookup } from './shared'\r\nimport type { IIFEModuleInfo, IModule, Module, ModuleInfo, TrackModule } from './interface'\r\n\r\n// TODO\r\n// https://github.com/nodejs/node/issues/43304\r\n// I'm not sure what's happened on Node Js. It can work well with javascript file. :(\r\n// If we upgrade CI and local development versions it can be solved.(Maybe)\r\n// Don't forget remove it.\r\n\r\n// tsup provide shims for different platforms but the cjs shims full of noise.\r\n// https://github.com/egoist/tsup/blob/dev/assets/cjs_shims.js\r\n// We only need node shims.(Patch it)\r\n\r\nconst _require = module.createRequire(import.meta.url)\r\nconst ___filename = url.fileURLToPath(import.meta.url)\r\n\r\ninterface WorkerData {\r\n scannerModule: IModule[]\r\n workerPort: MessagePort\r\n internalThread: boolean\r\n defaultWd: string\r\n}\r\n\r\ninterface ScannerModule {\r\n modules: Array<TrackModule>\r\n}\r\n\r\ninterface ThreadMessage {\r\n bindings: Map<string, ModuleInfo>\r\n failedModules: Map<string, string>\r\n id: number\r\n error: Error | AggregateError\r\n}\r\n\r\nfunction createWorkerThreads(scannerModule: ScannerModule, defaultWd: string) {\r\n const { port1: mainPort, port2: workerPort } = new worker_threads.MessageChannel()\r\n const worker = new worker_threads.Worker(___filename, {\r\n workerData: {\r\n workerPort,\r\n internalThread: true,\r\n scannerModule: scannerModule.modules,\r\n defaultWd\r\n },\r\n transferList: [workerPort],\r\n execArgv: []\r\n })\r\n const id = 0\r\n worker.unref()\r\n const runSync = () => {\r\n const sharedBuffer = new SharedArrayBuffer(4)\r\n const sharedBufferView = new Int32Array(sharedBuffer)\r\n worker.postMessage({ sharedBuffer, id })\r\n const status = Atomics.wait(sharedBufferView, 0, 0)\r\n if (status !== 'ok' && status !== 'not-equal') {\r\n throw new Error('Internal error: Atomics.wait() failed: ' + status)\r\n }\r\n const { message }: { message: ThreadMessage } = worker_threads.receiveMessageOnPort(mainPort)\r\n if (message.id !== id) {\r\n throw new Error(`Internal error: Expected id ${id} but got id ${message.id}`)\r\n }\r\n if (message.error) throw message.error\r\n const { bindings, failedModules } = message\r\n return { dependencies: bindings, failedModules }\r\n }\r\n return runSync()\r\n}\r\n\r\nexport function serializationExportsFields(moduleName: string, aliases = []) {\r\n return aliases.filter((v) => v !== '.').map((v) => path.posix.join(moduleName, v))\r\n}\r\n\r\nexport function getPackageExports(modulePath: string): Promise<Set<string>>\r\nexport function getPackageExports(module: Module, defaultWd: string): Promise<Set<string>>\r\nexport async function getPackageExports(...argvs: [string | Module, string?]) {\r\n let pkg: Record<string, unknown>\r\n switch (len(argvs)) {\r\n case 1: {\r\n const modulePath = argvs[0]\r\n if (typeof modulePath !== 'string') throw new Error('Invalid type')\r\n pkg = await _import(url.pathToFileURL(modulePath))\r\n break\r\n }\r\n case 2: {\r\n const [module, defaultWd] = argvs\r\n if (typeof module !== 'object') throw new Error('Invalid type')\r\n const modulePath = _require.resolve(module.name, { paths: [defaultWd] })\r\n pkg = await _import(url.pathToFileURL(modulePath))\r\n break\r\n }\r\n }\r\n const keys = Object.keys(pkg)\r\n if (keys.includes('default') && len(keys) !== 1) {\r\n const pos = keys.findIndex((k) => k === 'default')\r\n keys.splice(pos, 1)\r\n keys.push(...Object.keys(pkg.default))\r\n }\r\n const bindings = new Set(keys.filter((v) => v !== '__esModule'))\r\n return bindings\r\n}\r\n\r\nasync function tryResolveModule(\r\n module: IModule,\r\n dependenciesMap: Map<string, ModuleInfo>,\r\n failedModules: Map<string, string>,\r\n defaultWd: string\r\n) {\r\n // 从模块对象中解构出模块名称、相对路径、别名等信息\r\n const { name: moduleName, relativeModule, aliases, ...rest } = module\r\n try {\r\n // 解析模块的完整路径\r\n const modulePath = _require.resolve(moduleName, { paths: [defaultWd] })\r\n // 查找package.json文件路径\r\n const packageJsonPath = lookup(modulePath, 'package.json')\r\n // 读取并解析package.json内容\r\n const str = await fsp.readFile(packageJsonPath, 'utf8')\r\n const packageJSON: IIFEModuleInfo = JSON.parse(str)\r\n let { version, name, unpkg, jsdelivr } = packageJSON\r\n // 如果version, name为空,则从上级目录中的package.json中读取对应的信息\r\n if (!version || !name) {\r\n const parentPackageJsonPath = lookup(path.dirname(packageJsonPath), 'package.json')\r\n const parentStr = await fsp.readFile(parentPackageJsonPath, 'utf8')\r\n const parentPackageJSON = JSON.parse(parentStr)\r\n version = version || parentPackageJSON.version\r\n name = name || parentPackageJSON.name\r\n unpkg = unpkg || parentPackageJSON.unpkg\r\n jsdelivr = jsdelivr || parentPackageJSON.jsdelivr\r\n }\r\n const meta: ModuleInfo = Object.create(null)\r\n // 大多数包都有jsdelivr或unpkg字段\r\n // 但有一小部分没有,所以我们需要接受用户自定义\r\n const iifeRelativePath = relativeModule || jsdelivr || unpkg\r\n if (!iifeRelativePath) throw new Error('try resolve file failed.')\r\n if (rest.global) {\r\n // 如果是全局模块,只需要基本信息\r\n Object.assign(meta, {\r\n name,\r\n version,\r\n relativeModule: iifeRelativePath,\r\n aliases: serializationExportsFields(name, aliases),\r\n ...rest\r\n })\r\n } else {\r\n // 如果不是全局模块,需要读取IIFE文件内容\r\n const iifeFilePath = lookup(packageJsonPath, iifeRelativePath)\r\n const code = await fsp.readFile(iifeFilePath, 'utf8')\r\n Object.assign(meta, {\r\n name,\r\n version,\r\n code,\r\n relativeModule: iifeRelativePath,\r\n aliases: serializationExportsFields(name, aliases),\r\n ...rest\r\n })\r\n }\r\n // 获取包的导出内容\r\n const bindings = await getPackageExports(modulePath)\r\n dependenciesMap.set(name, { ...meta, bindings })\r\n } catch (error) {\r\n // 错误处理:格式化错误信息\r\n const message = (() => {\r\n if (error instanceof Error) {\r\n if ('code' in error) {\r\n if (error.code === 'MODULE_NOT_FOUND') return \"can't find module.\"\r\n }\r\n return error.message\r\n }\r\n return error\r\n })()\r\n failedModules.set(moduleName, message)\r\n }\r\n}\r\n\r\nfunction startSyncThreads() {\r\n if (!worker_threads.workerData.internalThread) return\r\n const { workerPort, scannerModule, defaultWd } = worker_threads.workerData as WorkerData\r\n const { parentPort } = worker_threads\r\n const dependenciesMap: Map<string, ModuleInfo> = new Map()\r\n const failedModules: Map<string, string> = new Map()\r\n parentPort?.on('message', (msg) => {\r\n ;(async () => {\r\n const { id, sharedBuffer } = msg\r\n const sharedBufferView = new Int32Array(sharedBuffer)\r\n try {\r\n const bindings: Map<string, ModuleInfo> = new Map()\r\n const queue = createConcurrentQueue(MAX_CONCURRENT)\r\n for (const module of scannerModule) {\r\n queue.enqueue(() => tryResolveModule(module, dependenciesMap, failedModules, defaultWd))\r\n }\r\n await queue.wait()\r\n for (const module of scannerModule) {\r\n const { name } = module\r\n if (dependenciesMap.has(name)) {\r\n const { code, ...rest } = dependenciesMap.get(name)\r\n if (!code) {\r\n bindings.set(name, rest)\r\n continue\r\n }\r\n const globalName = await tryScanGlobalName(code)\r\n if (!globalName) {\r\n failedModules.set(name, 'try resolve global name failed.')\r\n } else {\r\n bindings.set(name, { ...rest, global: globalName })\r\n }\r\n }\r\n }\r\n dependenciesMap.clear()\r\n workerPort.postMessage({ bindings, id, failedModules })\r\n } catch (error) {\r\n workerPort.postMessage({ error, id })\r\n }\r\n Atomics.add(sharedBufferView, 0, 1)\r\n Atomics.notify(sharedBufferView, 0, Infinity)\r\n })()\r\n })\r\n}\r\n\r\nif (worker_threads.workerData?.internalThread) {\r\n startSyncThreads()\r\n}\r\n\r\nclass Scanner {\r\n modules: Array<IModule | string>\r\n dependencies: Map<string, ModuleInfo>\r\n failedModules: Map<string, string>\r\n private defaultWd: string\r\n constructor(modules: Array<IModule | string>) {\r\n this.modules = modules\r\n this.dependencies = new Map()\r\n this.failedModules = new Map()\r\n this.defaultWd = process.cwd()\r\n }\r\n\r\n public setDefaultWd(defaultWd) {\r\n this.defaultWd = defaultWd\r\n }\r\n\r\n public scanAllDependencies() {\r\n // we won't throw any exceptions inside this task.\r\n const res = createWorkerThreads(this.serialization(this.modules), this.defaultWd)\r\n this.dependencies = res.dependencies\r\n this.failedModules = res.failedModules\r\n }\r\n\r\n private serialization(input: Array<IModule | string>) {\r\n is(Array.isArray(input), 'vite-plugin-cdn2: option module must be array')\r\n const modules: Array<IModule> = []\r\n const bucket = new Set<string>()\r\n for (const module of input) {\r\n if (typeof module === 'string') {\r\n if (bucket.has(module) || !module) continue\r\n modules.push({ name: module })\r\n bucket.add(module)\r\n continue\r\n }\r\n if (!module.name || bucket.has(module.name)) continue\r\n modules.push(module)\r\n bucket.add(module.name)\r\n }\r\n return { modules }\r\n }\r\n}\r\n\r\nexport function createScanner(modules: Array<IModule | string>) {\r\n return new Scanner(modules)\r\n}\r\n","import { parse as babelParse, transform as babelTransform, types as t, traverse } from '@babel/core'\r\nimport type { NodePath, PluginTarget, Visitor } from '@babel/core'\r\nimport { len } from './shared'\r\nimport type { ModuleInfo } from './interface'\r\n\r\nexport interface TransformWithBabelOptions {\r\n dependency: Record<string, ModuleInfo>\r\n dependencyWithAlias: Record<string, string>\r\n}\r\n\r\nfunction isTopLevelCalled(p: NodePath) {\r\n return t.isProgram(p.parent) || t.isExportDefaultDeclaration(p.parent) || t.isExportNamedDeclaration(p.parent)\r\n}\r\n\r\nfunction externalGlobals(options: TransformWithBabelOptions): PluginTarget {\r\n return function () {\r\n const { dependency, dependencyWithAlias } = options\r\n const references: Map<string, string> = new Map()\r\n const declarations: Map<string, NodePath<t.Declaration | t.Node>> = new Map()\r\n \r\n const scanImportDeclarationAndRecord = (path: NodePath<t.ImportDeclaration>) => {\r\n const aliase = dependencyWithAlias[path.node.source.value]\r\n const { global: globalName } = dependency[aliase]\r\n for (const specifier of path.node.specifiers) {\r\n switch (specifier.type) {\r\n case 'ImportDefaultSpecifier':\r\n case 'ImportNamespaceSpecifier':\r\n references.set(specifier.local.name, `${globalName}.${specifier.type}.${aliase}`)\r\n break\r\n case 'ImportSpecifier':\r\n if (specifier.imported.type === 'Identifier') {\r\n references.set(specifier.local.name, `${globalName}.${specifier.imported.name}.${aliase}`)\r\n }\r\n }\r\n }\r\n }\r\n\r\n const overWriteExportNamedDeclaration = (path: NodePath<t.ExportNamedDeclaration>) => {\r\n const nodes: Array<t.VariableDeclarator | t.ObjectExpression | t.MemberExpression | t.Identifier> = []\r\n const natives: Array<t.ExportSpecifier> = []\r\n const hasBindings = path.node.source\r\n const aliase = hasBindings ? dependencyWithAlias[path.node.source.value] : ''\r\n const globalName = hasBindings && aliase ? dependency[aliase].global : ''\r\n const bindings: Set<string> = hasBindings && aliase ? dependency[aliase].bindings : new Set()\r\n \r\n const scanNamedExportsWithSource = (l: t.Identifier, e: t.Identifier, specifier: t.ExportSpecifier) => {\r\n if (!bindings.size) return\r\n if (l.name === 'default' && l.name !== e.name) {\r\n const memberExpression = (p) => t.memberExpression(t.identifier(globalName), t.identifier(p))\r\n const objectExpression = [...bindings.keys()].map(p => t.objectProperty(t.identifier(p), memberExpression(p)))\r\n const node = t.variableDeclarator(t.identifier(e.name), t.objectExpression(objectExpression))\r\n nodes.push(node)\r\n return\r\n }\r\n if (e.name === 'default' && l.name !== e.name) {\r\n const node = t.memberExpression(t.identifier(globalName), t.identifier(l.name))\r\n nodes.push(node)\r\n return\r\n }\r\n if (l.name === e.name) {\r\n if (l.name === 'default') {\r\n const memberExpression = (p) => t.memberExpression(t.identifier(globalName), t.identifier(p))\r\n const objectExpression = [...bindings.keys()].map(p => t.objectProperty(t.identifier(p), memberExpression(p)))\r\n const node = t.objectExpression(objectExpression)\r\n nodes.push(node) \r\n return\r\n }\r\n if (bindings.has(l.name)) {\r\n const memberExpression = t.memberExpression(t.identifier(globalName), t.identifier(l.name))\r\n const node = t.variableDeclarator(t.identifier(l.name), memberExpression)\r\n nodes.push(node)\r\n return\r\n }\r\n }\r\n natives.push(specifier)\r\n }\r\n \r\n const scanNamedExportsWithoutSource = (l: t.Identifier, e: t.Identifier, specifier: t.ExportSpecifier) => {\r\n if (references.has(l.name)) {\r\n const [o, p, a] = references.get(l.name).split('.')\r\n const memberExpression = (() => {\r\n if (p === 'ImportNamespaceSpecifier') {\r\n const memberExpression = (p) => t.memberExpression(t.identifier(o), t.identifier(p))\r\n return t.objectExpression([...dependency[a].bindings.keys()].map(p => t.objectProperty(t.identifier(p), memberExpression(p))))\r\n }\r\n return t.memberExpression(t.identifier(o), t.identifier(p))\r\n })()\r\n if (e.name === 'default') {\r\n nodes.push(memberExpression)\r\n } else {\r\n nodes.push(t.variableDeclarator(t.identifier(l.name), memberExpression))\r\n }\r\n return \r\n }\r\n natives.push(specifier)\r\n }\r\n \r\n for (const specifier of path.node.specifiers) {\r\n if (specifier.type === 'ExportSpecifier') {\r\n const { local, exported } = specifier\r\n if (exported.type !== 'Identifier') continue\r\n if (hasBindings) {\r\n scanNamedExportsWithSource(local, exported, specifier)\r\n } else {\r\n scanNamedExportsWithoutSource(local, exported, specifier)\r\n }\r\n }\r\n if (specifier.type === 'ExportNamespaceSpecifier') {\r\n const e = specifier.exported\r\n if (e.name === 'default') {\r\n const memberExpression = (p) => t.memberExpression(t.identifier(globalName), t.identifier(p))\r\n const objectExpression = [...bindings.keys()].map(p => t.objectProperty(t.identifier(p), memberExpression(p)))\r\n const node = t.objectExpression(objectExpression)\r\n nodes.push(node)\r\n } else {\r\n const memberExpression = (p) => t.memberExpression(t.identifier(globalName), t.identifier(p))\r\n const objectExpression = [...bindings.keys()].map(p => t.objectProperty(t.identifier(p), memberExpression(p)))\r\n const node = t.variableDeclarator(t.identifier(e.name), t.objectExpression(objectExpression))\r\n nodes.push(node)\r\n }\r\n }\r\n }\r\n \r\n // export { default } from 'module'\r\n // export {default as A } from 'module'\r\n // export { B as default } from 'module'\r\n // export { A , B } from 'module'\r\n // export * as default from 'module'\r\n // export * as xx from 'module'\r\n const variableDeclaratorNodes = nodes.filter((node): node is t.VariableDeclarator => node.type === 'VariableDeclarator')\r\n const objectOrMemberExpression = nodes.filter((node): node is t.ObjectExpression | t.MemberExpression => node.type !== 'VariableDeclarator')\r\n if (len(objectOrMemberExpression)) {\r\n const exportDefaultDeclaration = t.exportDefaultDeclaration(objectOrMemberExpression[0])\r\n if (len(variableDeclaratorNodes) || len(natives)) {\r\n path.insertAfter(exportDefaultDeclaration)\r\n } else {\r\n path.replaceWith(exportDefaultDeclaration)\r\n }\r\n }\r\n if (len(variableDeclaratorNodes)) {\r\n const variableDeclaration = t.variableDeclaration('var', variableDeclaratorNodes)\r\n if (len(natives)) {\r\n const exportNamedDeclaration = t.exportNamedDeclaration(null, natives)\r\n path.replaceWith(exportNamedDeclaration)\r\n path.insertAfter(t.exportNamedDeclaration(variableDeclaration, []))\r\n } else {\r\n path.replaceWith(t.exportNamedDeclaration(variableDeclaration, []))\r\n }\r\n }\r\n }\r\n\r\n const overWriteExportAllDeclaration = (path: NodePath<t.ExportAllDeclaration>) => {\r\n const nodes: Array<t.ExportSpecifier> = []\r\n const aliase = dependencyWithAlias[path.node.source.value]\r\n const { bindings } = dependency[aliase]\r\n bindings.forEach((binding) => {\r\n const identifier = t.identifier(binding)\r\n const node = t.exportSpecifier(identifier, identifier)\r\n nodes.push(node)\r\n })\r\n if (len(nodes)) {\r\n const exportNamedDeclaration = t.exportNamedDeclaration(null, nodes, t.stringLiteral(path.node.source.value))\r\n path.replaceWith(exportNamedDeclaration)\r\n }\r\n }\r\n\r\n const eraseDuplicatedVariableDeclaration = (paths: NodePath<t.Node> | NodePath<t.Node>[], declarations: Map<string, NodePath<t.Declaration | t.Node>>) => {\r\n if (!Array.isArray(paths)) return\r\n const traverseNode = (path: NodePath<t.Node> | Array<NodePath<t.Node>>) => {\r\n if (Array.isArray(path)) return\r\n if (t.isVariableDeclarator(path.node)) {\r\n if (t.isObjectPattern(path.node.id) || t.isArrayPattern(path.node.id)) {\r\n traverseNode(path.get('id'))\r\n }\r\n if (t.isRestElement(path.node.id)) {\r\n traverseNode(path.get('id.argument'))\r\n }\r\n if (t.isIdentifier(path.node.id)) {\r\n const def = path.node.id.name\r\n if (declarations.has(def)) {\r\n const p = declarations.get(def)\r\n p.remove()\r\n }\r\n declarations.set(def, path)\r\n return\r\n }\r\n }\r\n if (t.isObjectPattern(path.node)) {\r\n for (const prop of path.get('properties') as Array<NodePath<t.Node>>) {\r\n traverseNode(prop)\r\n }\r\n }\r\n if (t.isArrayPattern(path.node)) {\r\n for (const element of path.get('elements') as Array<NodePath<t.Node>>) {\r\n traverseNode(element)\r\n }\r\n }\r\n }\r\n for (const path of paths) {\r\n traverseNode(path)\r\n }\r\n }\r\n\r\n return {\r\n visitor: <Visitor>{\r\n ImportDeclaration: {\r\n enter: (path) => {\r\n if (dependencyWithAlias[path.node.source.value]) scanImportDeclarationAndRecord(path)\r\n },\r\n exit: (path) => {\r\n if (dependencyWithAlias[path.node.source.value]) {\r\n path.remove()\r\n path.skip()\r\n }\r\n }\r\n },\r\n ExportDeclaration: {\r\n enter: (path) => {\r\n switch (path.node.type) {\r\n case 'ExportDefaultDeclaration':\r\n // Only process identifier \r\n if (t.isIdentifier(path.node.declaration) && references.has(path.node.declaration.name)) {\r\n // eslint-disable-next-line no-unused-vars\r\n const [_, __, a] = references.get(path.node.declaration.name).split('.')\r\n const { global: globalName } = dependency[a]\r\n const id = `__external__${globalName}__`\r\n const variableDeclaration = t.variableDeclaration('var', [t.variableDeclarator(t.identifier(id), t.identifier(globalName))])\r\n path.insertBefore(variableDeclaration)\r\n path.replaceWith(t.exportDefaultDeclaration(t.identifier(id)))\r\n }\r\n break\r\n case 'ExportNamedDeclaration':\r\n if (dependencyWithAlias[path.node.source?.value] || !path.node.declaration) {\r\n overWriteExportNamedDeclaration(path as NodePath<t.ExportNamedDeclaration>)\r\n }\r\n break\r\n case 'ExportAllDeclaration':\r\n if (dependencyWithAlias[path.node.source.value]) {\r\n overWriteExportAllDeclaration(path as NodePath<t.ExportAllDeclaration>)\r\n }\r\n }\r\n }\r\n },\r\n Declaration: (path) => {\r\n if (!isTopLevelCalled(path)) return\r\n if (t.isClassDeclaration(path.node) || t.isFunctionDeclaration(path.node)) {\r\n const def = path.node.id?.name\r\n if (!def) return \r\n if (declarations.has(def)) {\r\n const p = declarations.get(def)\r\n p.remove()\r\n }\r\n declarations.set(def, path)\r\n }\r\n if (t.isVariableDeclaration(path.node)) {\r\n eraseDuplicatedVariableDeclaration(path.get('declarations'), declarations)\r\n }\r\n },\r\n Identifier: (path) => {\r\n if (t.isReferenced(path.node, path.parent) && references.has(path.node.name)) {\r\n if (!path.scope.hasBinding(path.node.name)) {\r\n const [o, p] = references.get(path.node.name).split('.')\r\n if (p === 'ImportNamespaceSpecifier' || p === 'ImportDefaultSpecifier') {\r\n path.node.name = o\r\n } else {\r\n path.node.name = [o, p].join('.')\r\n }\r\n path.skip()\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport async function transformWithBabel(code: string, options: TransformWithBabelOptions) {\r\n const result = await babelTransform(code,\r\n { babelrc: false,\r\n configFile: false,\r\n sourceMaps: true,\r\n plugins: [[externalGlobals(options)]]\r\n })\r\n return {\r\n code: result.code,\r\n map: result.map\r\n }\r\n}\r\n\r\nexport async function tryScanGlobalName(code: string) {\r\n const ast = await babelParse(code, { babelrc: false, configFile: false })\r\n const { body } = ast.program\r\n if (!len(body)) return\r\n const node = body[0]\r\n // iife only return the first \r\n // @ts-ignore\r\n if (t.isVariableDeclaration(node)) {\r\n const identifier = node.declarations[0].id\r\n if (t.isIdentifier(identifier)) return identifier.name\r\n }\r\n let globalName = ''\r\n let regName = ''\r\n // umd\r\n // @ts-ignore\r\n traverse(ast, {\r\n ExpressionStatement: (path) => {\r\n if (t.isCallExpression(path.node.expression)) {\r\n if (t.isFunctionExpression(path.node.expression.callee)) {\r\n const params = path.node.expression.callee.params\r\n if (len(params) && params[0].type === 'Identifier' && !regName) regName = params[0].name\r\n }\r\n }\r\n },\r\n AssignmentExpression: (path) => {\r\n if (globalName) return path.skip()\r\n const op = path.get('left')\r\n if (op.node.type === 'MemberExpression') {\r\n const { start, end } = op.node.object\r\n if (new RegExp(regName || 'global', 'i').test(code.slice(start, end)) && t.isIdentifier(op.node.property)) {\r\n if (!globalName) globalName = op.node.property.name\r\n }\r\n }\r\n }\r\n })\r\n return globalName\r\n}\r\n","import path from 'path'\nimport fs from 'fs'\nimport os from 'os'\nimport process from 'process'\nimport MagicString from 'magic-string'\nimport AggregateError from 'es-aggregate-error'\nimport { ModuleInfo } from './interface'\n\nexport function lookup(entry: string, target: string): string {\n const dir = path.dirname(entry)\n const targetFile = path.join(dir, target)\n if (fs.existsSync(targetFile)) return targetFile\n return lookup(dir, target)\n}\n\nexport function len<T extends ArrayLike<unknown>>(source: T) {\n return source.length\n}\n\nexport function isSupportThreads(): [boolean, string] {\n const [major, minor] = process.versions.node.split('.')\n if (+major < 12 || (+major === 12 && +minor < 17) || (+major === 13 && +minor < 13)) {\n return [false, `${major}.${minor}`]\n }\n return [true, `${major}.${minor}`]\n}\n\nexport function is(condit: boolean, message: string) {\n if (!condit) {\n throw new Error(message)\n }\n}\n\n// TODO\n// If we find the correct dynamic import handing it should be removed.\nexport const _import = new Function('specifier', 'return import(specifier)')\n\nexport function transformCJSRequire(code: string, extenrals: Record<string, ModuleInfo>) {\n const s = new MagicString(code)\n for (const externalModule in extenrals) {\n const reg = new RegExp(`require\\\\(([\"'\\`])\\\\s*${externalModule}\\\\s*(\\\\1)\\\\)`, 'g')\n s.replace(reg, extenrals[externalModule].global)\n }\n return { code: s.toString(), map: s.generateMap() }\n}\n\nexport const MAX_CONCURRENT = (() => {\n // https://github.com/nodejs/node/issues/19022\n const cpus = os.cpus() || { length: 1 }\n return Math.max(1, cpus.length - 1)\n})()\n\nclass Queue {\n maxConcurrent: number\n queue: Array<() => Promise<void>>\n running: number\n errors: Error[]\n constructor(maxConcurrent: number) {\n this.maxConcurrent = maxConcurrent\n this.queue = []\n this.running = 0\n this.errors = []\n }\n\n enqueue(task: () => Promise<void>) {\n this.queue.push(task)\n this.run()\n }\n\n async run() {\n while (this.running < this.maxConcurrent && this.queue.length) {\n const task = this.queue.shift()\n this.running++\n try {\n await task?.()\n } catch (err) {\n this.errors.push(err)\n } finally {\n this.running--\n this.run()\n }\n }\n }\n\n async wait() {\n while (this.running) {\n await new Promise((resolve) => setTimeout(resolve, 0))\n }\n if (len(this.errors)) {\n throw new AggregateError(this.errors, 'failed')\n }\n }\n}\n\nexport function createConcurrentQueue(max: number) {\n return new Queue(max)\n}\n"],"mappings":"gEAAA,IAAAA,GAAAC,EAAA,CAAAC,GAAAC,KAAA,cAAAC,IAIA,IAAIC,GAAgB,kDAChBC,GAAQ,OAAO,UAAU,SACzBC,GAAM,KAAK,IACXC,GAAW,oBAEXC,GAAW,SAAkBC,EAAGC,EAAG,CAGnC,QAFIC,EAAM,CAAC,EAEFC,EAAI,EAAGA,EAAIH,EAAE,OAAQG,GAAK,EAC/BD,EAAIC,CAAC,EAAIH,EAAEG,CAAC,EAEhB,QAASC,EAAI,EAAGA,EAAIH,EAAE,OAAQG,GAAK,EAC/BF,EAAIE,EAAIJ,EAAE,MAAM,EAAIC,EAAEG,CAAC,EAG3B,OAAOF,CACX,EAEIG,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AC9D,OAAO,IAAID,GAAQC,CAAO,CAC5B","names":["require_implementation","__commonJSMin","exports","module","init_esm_shims","ERROR_MESSAGE","toStr","max","funcType","concatty","a","b","arr","i","j","slicy","arrLike","offset","joiny","joiner","str","that","target","args","bound","binder","result","boundLength","boundArgs","Empty","require_function_bind","__commonJSMin","exports","module","init_esm_shims","implementation","require_isArguments","__commonJSMin","exports","module","init_esm_shims","toStr","value","str","isArgs","require_implementation","__commonJSMin","exports","module","init_esm_shims","keysShim","has","toStr","isArgs","isEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","o","ctor","excludedKeys","hasAutomationEqualityBug","k","equalsConstructorPrototypeIfNotBuggy","object","isObject","isFunction","isArguments","isString","theKeys","skipProto","i","j","name","skipConstructor","require_object_keys","__commonJSMin","exports","module","init_esm_shims","slice","isArgs","origKeys","keysShim","o","originalKeys","keysWorksWithArguments","args","object","require_es_define_property","__commonJSMin","exports","module","init_esm_shims","$defineProperty","require_syntax","__commonJSMin","exports","module","init_esm_shims","require_type","__commonJSMin","exports","module","init_esm_shims","require_gOPD","__commonJSMin","exports","module","init_esm_shims","require_gopd","__commonJSMin","exports","module","init_esm_shims","$gOPD","require_define_data_property","__commonJSMin","exports","module","init_esm_shims","$defineProperty","$SyntaxError","$TypeError","gopd","obj","property","value","nonEnumerable","nonWritable","nonConfigurable","loose","desc","require_has_property_descriptors","__commonJSMin","exports","module","init_esm_shims","$defineProperty","hasPropertyDescriptors","require_define_properties","__commonJSMin","exports","module","init_esm_shims","keys","hasSymbols","toStr","concat","defineDataProperty","isFunction","fn","supportsDescriptors","defineProperty","object","name","value","predicate","defineProperties","map","predicates","props","i","require_functions_have_names","__commonJSMin","exports","module","init_esm_shims","functionsHaveNames","gOPD","desc","$bind","require_set_function_name","__commonJSMin","exports","module","init_esm_shims","define","hasDescriptors","functionsHaveConfigurableNames","$TypeError","fn","name","loose","require_isPropertyKey","__commonJSMin","exports","module","init_esm_shims","argument","require_hasown","__commonJSMin","exports","module","init_esm_shims","call","$hasOwn","bind","require_property_descriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","hasOwn","allowed","Desc","key","isData","IsAccessor","require_IsAccessorDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","hasOwn","isPropertyDescriptor","Desc","require_es_object_atoms","__commonJSMin","exports","module","init_esm_shims","require_es_errors","__commonJSMin","exports","module","init_esm_shims","require_eval","__commonJSMin","exports","module","init_esm_shims","require_range","__commonJSMin","exports","module","init_esm_shims","require_ref","__commonJSMin","exports","module","init_esm_shims","require_uri","__commonJSMin","exports","module","init_esm_shims","require_abs","__commonJSMin","exports","module","init_esm_shims","require_floor","__commonJSMin","exports","module","init_esm_shims","require_max","__commonJSMin","exports","module","init_esm_shims","require_min","__commonJSMin","exports","module","init_esm_shims","require_pow","__commonJSMin","exports","module","init_esm_shims","require_round","__commonJSMin","exports","module","init_esm_shims","require_isNaN","__commonJSMin","exports","module","init_esm_shims","a","require_sign","__commonJSMin","exports","module","init_esm_shims","$isNaN","number","require_shams","__commonJSMin","exports","module","init_esm_shims","obj","sym","symObj","symVal","_","syms","descriptor","require_has_symbols","__commonJSMin","exports","module","init_esm_shims","origSymbol","hasSymbolSham","require_Reflect_getPrototypeOf","__commonJSMin","exports","module","init_esm_shims","require_Object_getPrototypeOf","__commonJSMin","exports","module","init_esm_shims","$Object","require_functionCall","__commonJSMin","exports","module","init_esm_shims","require_functionApply","__commonJSMin","exports","module","init_esm_shims","require_reflectApply","__commonJSMin","exports","module","init_esm_shims","require_actualApply","__commonJSMin","exports","module","init_esm_shims","bind","$apply","$call","$reflectApply","require_call_bind_apply_helpers","__commonJSMin","exports","module","init_esm_shims","bind","$TypeError","$call","$actualApply","args","require_get","__commonJSMin","exports","module","init_esm_shims","callBind","gOPD","hasProtoAccessor","e","desc","$Object","$getPrototypeOf","value","require_get_proto","__commonJSMin","exports","module","init_esm_shims","reflectGetProto","originalGetProto","getDunderProto","O","require_get_intrinsic","__commonJSMin","exports","module","init_esm_shims","undefined","$Object","$Error","$EvalError","$RangeError","$ReferenceError","$SyntaxError","$TypeError","$URIError","abs","floor","max","min","pow","round","sign","$Function","getEvalledConstructor","expressionSyntax","$gOPD","$defineProperty","throwTypeError","ThrowTypeError","hasSymbols","getProto","$ObjectGPO","$ReflectGPO","$apply","$call","needsEval","TypedArray","INTRINSICS","e","errorProto","doEval","name","value","fn","gen","LEGACY_ALIASES","bind","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","stringToPath","string","first","last","result","match","number","quote","subString","getBaseIntrinsic","allowMissing","intrinsicName","alias","parts","intrinsicBaseName","intrinsic","intrinsicRealName","skipFurtherCaching","i","isOwn","part","desc","require_isPrimitive","__commonJSMin","exports","module","init_esm_shims","value","require_IsExtensible","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$preventExtensions","$isExtensible","isPrimitive","obj","require_is_callable","__commonJSMin","exports","module","init_esm_shims","fnToStr","reflectApply","badArrayLike","isCallableMarker","_","constructorRegex","isES6ClassFn","value","fnStr","tryFunctionObject","toStr","objectClass","fnClass","genClass","ddaClass","ddaClass2","ddaClass3","hasToStringTag","isIE68","isDDA","all","str","e","strClass","require_IsCallable","__commonJSMin","exports","module","init_esm_shims","require_ToBoolean","__commonJSMin","exports","module","init_esm_shims","value","require_isObject","__commonJSMin","exports","module","init_esm_shims","x","require_ToPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","hasOwn","$TypeError","IsCallable","ToBoolean","isObject","Obj","desc","getter","setter","require_SameValue","__commonJSMin","exports","module","init_esm_shims","$isNaN","x","y","require_call_bound","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","callBindBasic","$indexOf","name","allowMissing","intrinsic","require_IsArray","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$Array","toStr","argument","require_DefineOwnProperty","__commonJSMin","exports","module","init_esm_shims","hasPropertyDescriptors","$defineProperty","hasArrayLengthDefineBug","isArray","callBound","$isEnumerable","IsDataDescriptor","SameValue","FromPropertyDescriptor","O","P","desc","V","require_isFullyPopulatedPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","isPropertyDescriptor","ES","Desc","require_fromPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","Desc","obj","require_FromPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","isPropertyDescriptor","fromPropertyDescriptor","Desc","require_IsDataDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","hasOwn","isPropertyDescriptor","Desc","require_IsGenericDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","IsAccessorDescriptor","IsDataDescriptor","isPropertyDescriptor","Desc","require_Type","__commonJSMin","exports","module","init_esm_shims","isObject","x","require_Type","__commonJSMin","exports","module","init_esm_shims","ES5Type","x","require_ValidateAndApplyPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","DefineOwnProperty","isFullyPopulatedPropertyDescriptor","isPropertyDescriptor","FromPropertyDescriptor","IsAccessorDescriptor","IsDataDescriptor","IsGenericDescriptor","isPropertyKey","SameValue","Type","isObject","O","P","extensible","Desc","current","oType","configurable","enumerable","require_OrdinaryDefineOwnProperty","__commonJSMin","exports","module","init_esm_shims","$gOPD","$SyntaxError","$TypeError","isPropertyDescriptor","IsAccessorDescriptor","IsExtensible","isPropertyKey","ToPropertyDescriptor","SameValue","ValidateAndApplyPropertyDescriptor","isObject","O","P","Desc","creatingNormalDataProperty","settingExistingDataProperty","desc","current","extensible","require_CreateDataProperty","__commonJSMin","exports","module","init_esm_shims","$TypeError","isPropertyKey","OrdinaryDefineOwnProperty","isObject","O","P","V","newDesc","require_CreateDataPropertyOrThrow","__commonJSMin","exports","module","init_esm_shims","$TypeError","CreateDataProperty","isObject","isPropertyKey","O","P","V","success","require_FromPropertyDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","isPropertyDescriptor","fromPropertyDescriptor","Desc","require_IsDataDescriptor","__commonJSMin","exports","module","init_esm_shims","$TypeError","hasOwn","isPropertyDescriptor","Desc","require_SameValue","__commonJSMin","exports","module","init_esm_shims","$isNaN","x","y","require_CreateMethodProperty","__commonJSMin","exports","module","init_esm_shims","$TypeError","DefineOwnProperty","FromPropertyDescriptor","IsDataDescriptor","isPropertyKey","SameValue","isObject","O","P","V","newDesc","require_util_inspect","__commonJSMin","exports","module","init_esm_shims","require_object_inspect","__commonJSMin","exports","module","init_esm_shims","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","hasWeakMap","weakMapHas","hasWeakSet","weakSetHas","hasWeakRef","weakRefDeref","booleanValueOf","objectToString","functionToString","$match","$slice","$replace","$toUpperCase","$toLowerCase","$test","$concat","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","num","str","sepRegex","int","intStr","dec","utilInspect","inspectCustom","inspectSymbol","isSymbol","quotes","quoteREs","inspect_","obj","options","depth","seen","opts","has","customInspect","numericSeparator","inspectString","bigIntStr","maxDepth","isArray","indent","getIndent","indexOf","inspect","value","from","noIndent","newOpts","isRegExp","name","nameOf","keys","arrObjKeys","symString","markBoxed","isElement","s","attrs","i","wrapQuotes","quote","xs","singleLineValues","indentedJoin","isError","parts","isMap","mapParts","key","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","ys","isPlainObject","protoTag","stringTag","toStr","constructorTag","tag","defaultStyle","style","quoteChar","hasOwn","f","m","x","l","remaining","trailer","quoteRE","lowbyte","c","n","type","size","entries","joinedEntries","baseIndent","lineJoiner","isArr","syms","symMap","k","j","require_isLeadingSurrogate","__commonJSMin","exports","module","init_esm_shims","charCode","require_isTrailingSurrogate","__commonJSMin","exports","module","init_esm_shims","charCode","require_UTF16SurrogatePairToCodePoint","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$TypeError","$fromCharCode","isLeadingSurrogate","isTrailingSurrogate","lead","trail","require_CodePointAt","__commonJSMin","exports","module","init_esm_shims","$TypeError","callBound","isLeadingSurrogate","isTrailingSurrogate","UTF16SurrogatePairToCodePoint","$charAt","$charCodeAt","string","position","size","first","cp","firstIsLeading","firstIsTrailing","second","require_isFinite","__commonJSMin","exports","module","init_esm_shims","$isNaN","x","require_isInteger","__commonJSMin","exports","module","init_esm_shims","$abs","$floor","$isNaN","$isFinite","argument","absValue","require_maxSafeInteger","__commonJSMin","exports","module","init_esm_shims","require_AdvanceStringIndex","__commonJSMin","exports","module","init_esm_shims","CodePointAt","$TypeError","isInteger","MAX_SAFE_INTEGER","S","index","unicode","length","cp","require_CreateIterResultObject","__commonJSMin","exports","module","init_esm_shims","$TypeError","value","done","require_Get","__commonJSMin","exports","module","init_esm_shims","$TypeError","inspect","isObject","isPropertyKey","O","P","require_IteratorComplete","__commonJSMin","exports","module","init_esm_shims","$TypeError","Get","ToBoolean","isObject","iterResult","require_IteratorValue","__commonJSMin","exports","module","init_esm_shims","$TypeError","Get","isObject","iterResult","require_set_function_length","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","define","hasDescriptors","gOPD","$TypeError","$floor","fn","length","loose","functionLengthIsConfigurable","functionLengthIsWritable","desc","require_applyBind","__commonJSMin","exports","module","init_esm_shims","bind","$apply","actualApply","require_call_bind","__commonJSMin","exports","module","init_esm_shims","setFunctionLength","$defineProperty","callBindBasic","applyBind","originalFunction","func","adjustedLength","require_PromiseResolve","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","callBind","$SyntaxError","$resolve","$PromiseResolve","C","x","require_AsyncFromSyncIteratorContinuation","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$SyntaxError","$TypeError","$Promise","callBound","CreateIterResultObject","IteratorComplete","IteratorValue","PromiseResolve","isObject","$then","result","resolve","done","value","valueWrapper","onFulfilled","require_IsArray","__commonJSMin","exports","module","init_esm_shims","require_Call","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","callBound","$TypeError","IsArray","$apply","F","V","argumentsList","require_GetV","__commonJSMin","exports","module","init_esm_shims","$TypeError","inspect","isPropertyKey","V","P","require_GetMethod","__commonJSMin","exports","module","init_esm_shims","$TypeError","GetV","IsCallable","isPropertyKey","inspect","O","P","func","require_iterator_record","__commonJSMin","exports","module","init_esm_shims","hasOwn","value","require_IteratorNext","__commonJSMin","exports","module","init_esm_shims","$TypeError","Call","isObject","isIteratorRecord","iteratorRecord","result","require_forEach","__commonJSMin","exports","module","init_esm_shims","array","callback","i","require_side_channel_list","__commonJSMin","exports","module","init_esm_shims","inspect","$TypeError","listGetNode","list","key","isDelete","prev","curr","listGet","objects","node","listSet","value","listHas","listDelete","$o","channel","root","deletedNode","require_side_channel_map","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","callBound","inspect","$TypeError","$Map","$mapGet","$mapSet","$mapHas","$mapDelete","$mapSize","$m","channel","key","result","value","require_side_channel_weakmap","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","callBound","inspect","getSideChannelMap","$TypeError","$WeakMap","$weakMapGet","$weakMapSet","$weakMapHas","$weakMapDelete","$wm","$m","channel","key","value","require_side_channel","__commonJSMin","exports","module","init_esm_shims","$TypeError","inspect","getSideChannelList","getSideChannelMap","getSideChannelWeakMap","makeChannel","$channelData","channel","key","value","require_internal_slot","__commonJSMin","exports","module","init_esm_shims","hasOwn","channel","$TypeError","SLOT","O","slot","slots","V","require_has_proto","__commonJSMin","exports","module","init_esm_shims","test","result","require_OrdinaryObjectCreate","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$ObjectCreate","$TypeError","$SyntaxError","IsArray","forEach","isObject","SLOT","hasProto","proto","additionalInternalSlotsList","O","T","slot","require_CreateAsyncFromSyncIterator","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$SyntaxError","$TypeError","$Promise","AsyncFromSyncIteratorContinuation","Call","CreateIterResultObject","Get","GetMethod","IteratorNext","OrdinaryObjectCreate","isObject","isIteratorRecord","SLOT","$AsyncFromSyncIteratorPrototype","value","O","argsLength","resolve","syncIteratorRecord","result","valueIsPresent","reject","syncIterator","iteratorReturn","iterResult","throwMethod","asyncIterator","nextMethod","require_GetIteratorFromMethod","__commonJSMin","exports","module","init_esm_shims","$TypeError","Call","Get","IsCallable","isObject","obj","method","iterator","nextMethod","require_shams","__commonJSMin","exports","module","init_esm_shims","hasSymbols","require_is_string","__commonJSMin","exports","module","init_esm_shims","callBound","$strValueOf","tryStringObject","value","$toString","strClass","hasToStringTag","require_getIteratorMethod","__commonJSMin","exports","module","init_esm_shims","hasSymbols","GetIntrinsic","callBound","isString","$iterator","$stringSlice","$String","ES","iterable","usingIterator","i","arr","nextIndex","value","require_GetIterator","__commonJSMin","exports","module","init_esm_shims","GetIntrinsic","$TypeError","$asyncIterator","inspect","hasSymbols","AdvanceStringIndex","CreateAsyncFromSyncIterator","GetIteratorFromMethod","GetMethod","IsArray","ES","getIteratorMethod","obj","kind","method","syncMethod","syncIteratorRecord","require_IteratorStep","__commonJSMin","exports","module","init_esm_shims","$TypeError","IteratorComplete","IteratorNext","isIteratorRecord","iteratorRecord","result","done","require_IteratorToList","__commonJSMin","exports","module","init_esm_shims","$TypeError","callBound","$arrayPush","IteratorStep","IteratorValue","isIteratorRecord","iteratorRecord","values","next","nextValue","require_Reflect_setPrototypeOf","__commonJSMin","exports","module","init_esm_shims","require_Object_setPrototypeOf","__commonJSMin","exports","module","init_esm_shims","$Object","require_set","__commonJSMin","exports","module","init_esm_shims","callBind","gOPD","$TypeError","obj","e","hasProtoMutator","desc","object","proto","require_set_proto","__commonJSMin","exports","module","init_esm_shims","reflectSetProto","originalSetProto","setDunderProto","$TypeError","O","proto","require_OrdinaryGetPrototypeOf","__commonJSMin","exports","module","init_esm_shims","$TypeError","$getProto","isObject","O","require_OrdinarySetPrototypeOf","__commonJSMin","exports","module","init_esm_shims","$TypeError","$setProto","OrdinaryGetPrototypeOf","isObject","O","V","require_implementation","__commonJSMin","exports","module","init_esm_shims","CreateDataPropertyOrThrow","CreateMethodProperty","GetIterator","hasPropertyDescriptors","IteratorToList","OrdinarySetPrototypeOf","$Error","AggregateError","errors","message","error","proto","errorsList","require_polyfill","__commonJSMin","exports","module","init_esm_shims","implementation","require_implementation","__commonJSMin","exports","module","init_esm_shims","require_polyfill","__commonJSMin","exports","module","init_esm_shims","implementation","require_shim","__commonJSMin","exports","module","init_esm_shims","define","gOPD","getPolyfill","polyfill","descriptor","require_globalthis","__commonJSMin","exports","module","init_esm_shims","defineProperties","implementation","getPolyfill","shim","polyfill","getGlobal","require_shim","__commonJSMin","exports","module","init_esm_shims","define","globalThis","getPolyfill","polyfill","require_es_aggregate_error","__commonJSMin","exports","module","init_esm_shims","bind","define","setFunctionName","defineDataProperty","implementation","getPolyfill","shim","polyfill","bound","init_esm_shims","fsp","url","module","path","worker_threads","init_esm_shims","babelParse","babelTransform","t","traverse","init_esm_shims","import_es_aggregate_error","path","fs","os","process","MagicString","lookup","entry","target","dir","targetFile","len","source","isSupportThreads","major","minor","is","condit","message","_import","transformCJSRequire","code","extenrals","s","externalModule","reg","MAX_CONCURRENT","cpus","Queue","maxConcurrent","task","err","resolve","AggregateError","createConcurrentQueue","max","isTopLevelCalled","p","t","externalGlobals","options","dependency","dependencyWithAlias","references","declarations","scanImportDeclarationAndRecord","path","aliase","globalName","specifier","overWriteExportNamedDeclaration","nodes","natives","hasBindings","bindings","scanNamedExportsWithSource","l","e","memberExpression","objectExpression","node","scanNamedExportsWithoutSource","o","a","local","exported","variableDeclaratorNodes","objectOrMemberExpression","len","exportDefaultDeclaration","variableDeclaration","exportNamedDeclaration","overWriteExportAllDeclaration","binding","identifier","eraseDuplicatedVariableDeclaration","paths","traverseNode","def","prop","element","_","__","id","transformWithBabel","code","result","babelTransform","tryScanGlobalName","ast","babelParse","body","regName","traverse","params","op","start","end","_require","module","___filename","url","createWorkerThreads","scannerModule","defaultWd","mainPort","workerPort","worker_threads","worker","id","sharedBuffer","sharedBufferView","status","message","bindings","failedModules","serializationExportsFields","moduleName","aliases","v","path","getPackageExports","argvs","pkg","len","modulePath","_import","keys","pos","k","tryResolveModule","dependenciesMap","relativeModule","rest","packageJsonPath","lookup","str","fsp","packageJSON","version","name","unpkg","jsdelivr","parentPackageJsonPath","parentStr","parentPackageJSON","meta","iifeRelativePath","iifeFilePath","code","error","startSyncThreads","parentPort","msg","queue","createConcurrentQueue","MAX_CONCURRENT","globalName","tryScanGlobalName","Scanner","modules","res","input","is","bucket","createScanner"]}