aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules_dev/node/assert.js.map
blob: 9d2ab9dc167a648f01316118b7ede06adb8b0bec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  "version": 3,
  "sources": ["src/js/node/assert.js", "src/js/node/assert.js", "src/js/node/assert.js"],
  "sourcesContent": [
    "// Hardcoded module \"node:assert\"\nvar { Bun } = import.meta.primordials;\nvar isDeepEqual = Bun.deepEquals;\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf,\n  __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __markAsModule = target => __defProp(target, \"__esModule\", { value: !0 });\nvar __commonJS = (cb, mod) =>\n  function () {\n    return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n  };\nvar __reExport = (target, module2, desc) => {\n    if ((module2 && typeof module2 == \"object\") || typeof module2 == \"function\")\n      for (let key of __getOwnPropNames(module2))\n        !__hasOwnProp.call(target, key) &&\n          key !== \"default\" &&\n          __defProp(target, key, {\n            get: () => module2[key],\n            enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable,\n          });\n    return target;\n  },\n  __toModule = module2 =>\n    __reExport(\n      __markAsModule(\n        __defProp(\n          module2 != null ? __create(__getProtoOf(module2)) : {},\n          \"default\",\n          module2 && module2.__esModule && \"default\" in module2\n            ? { get: () => module2.default, enumerable: !0 }\n            : { value: module2, enumerable: !0 },\n        ),\n      ),\n      module2,\n    );\n\nvar require = path => import.meta.require(path);\n\n// assert/build/internal/errors.js\nvar require_errors = __commonJS({\n  \"assert/build/internal/errors.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    var codes = {},\n      assert,\n      util;\n    function createErrorType(code, message, Base) {\n      Base || (Base = Error);\n      function getMessage(arg1, arg2, arg3) {\n        return typeof message == \"string\" ? message : message(arg1, arg2, arg3);\n      }\n      var NodeError = /* @__PURE__ */ (function (_Base) {\n        _inherits(NodeError2, _Base);\n        function NodeError2(arg1, arg2, arg3) {\n          var _this;\n          return (\n            _classCallCheck(this, NodeError2),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(NodeError2).call(this, getMessage(arg1, arg2, arg3)),\n            )),\n            (_this.code = code),\n            _this\n          );\n        }\n        return NodeError2;\n      })(Base);\n      codes[code] = NodeError;\n    }\n    function oneOf(expected, thing) {\n      if (Array.isArray(expected)) {\n        var len = expected.length;\n        return (\n          (expected = expected.map(function (i) {\n            return String(i);\n          })),\n          len > 2\n            ? \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(\", \"), \", or \") + expected[len - 1]\n            : len === 2\n            ? \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1])\n            : \"of \".concat(thing, \" \").concat(expected[0])\n        );\n      } else return \"of \".concat(thing, \" \").concat(String(expected));\n    }\n    function startsWith(str, search, pos) {\n      return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n    }\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function includes(str, search, start) {\n      return (\n        typeof start != \"number\" && (start = 0),\n        start + search.length > str.length ? !1 : str.indexOf(search, start) !== -1\n      );\n    }\n    createErrorType(\"ERR_AMBIGUOUS_ARGUMENT\", 'The \"%s\" argument is ambiguous. %s', TypeError);\n    createErrorType(\n      \"ERR_INVALID_ARG_TYPE\",\n      function (name, expected, actual) {\n        assert === void 0 && (assert = require_assert()), assert(typeof name == \"string\", \"'name' must be a string\");\n        var determiner;\n        typeof expected == \"string\" && startsWith(expected, \"not \")\n          ? ((determiner = \"must not be\"), (expected = expected.replace(/^not /, \"\")))\n          : (determiner = \"must be\");\n        var msg;\n        if (endsWith(name, \" argument\"))\n          msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        else {\n          var type = includes(name, \".\") ? \"property\" : \"argument\";\n          msg = 'The \"'.concat(name, '\" ').concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        }\n        return (msg += \". Received type \".concat(_typeof(actual))), msg;\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_ARG_VALUE\",\n      function (name, value) {\n        var reason = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : \"is invalid\";\n        util === void 0 && (util = require(\"util\"));\n        var inspected = util.inspect(value);\n        return (\n          inspected.length > 128 && (inspected = \"\".concat(inspected.slice(0, 128), \"...\")),\n          \"The argument '\".concat(name, \"' \").concat(reason, \". Received \").concat(inspected)\n        );\n      },\n      TypeError,\n      RangeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_RETURN_VALUE\",\n      function (input, name, value) {\n        var type;\n        return (\n          value && value.constructor && value.constructor.name\n            ? (type = \"instance of \".concat(value.constructor.name))\n            : (type = \"type \".concat(_typeof(value))),\n          \"Expected \".concat(input, ' to be returned from the \"').concat(name, '\"') +\n            \" function but got \".concat(type, \".\")\n        );\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_MISSING_ARGS\",\n      function () {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n          args[_key] = arguments[_key];\n        assert === void 0 && (assert = require_assert()),\n          assert(args.length > 0, \"At least one arg needs to be specified\");\n        var msg = \"The \",\n          len = args.length;\n        switch (\n          ((args = args.map(function (a) {\n            return '\"'.concat(a, '\"');\n          })),\n          len)\n        ) {\n          case 1:\n            msg += \"\".concat(args[0], \" argument\");\n            break;\n          case 2:\n            msg += \"\".concat(args[0], \" and \").concat(args[1], \" arguments\");\n            break;\n          default:\n            (msg += args.slice(0, len - 1).join(\", \")), (msg += \", and \".concat(args[len - 1], \" arguments\"));\n            break;\n        }\n        return \"\".concat(msg, \" must be specified\");\n      },\n      TypeError,\n    );\n    module2.exports.codes = codes;\n  },\n});\n\n// assert/build/internal/assert/assertion_error.js\nvar require_assertion_error = __commonJS({\n  \"assert/build/internal/assert/assertion_error.js\"(exports, module2) {\n    \"use strict\";\n    function _objectSpread(target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i] != null ? arguments[i] : {},\n          ownKeys = Object.keys(source);\n        typeof Object.getOwnPropertySymbols == \"function\" &&\n          (ownKeys = ownKeys.concat(\n            Object.getOwnPropertySymbols(source).filter(function (sym) {\n              return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n            }),\n          )),\n          ownKeys.forEach(function (key) {\n            _defineProperty(target, key, source[key]);\n          });\n      }\n      return target;\n    }\n    function _defineProperty(obj, key, value) {\n      return (\n        key in obj\n          ? Object.defineProperty(obj, key, {\n              value,\n              enumerable: !0,\n              configurable: !0,\n              writable: !0,\n            })\n          : (obj[key] = value),\n        obj\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        (descriptor.enumerable = descriptor.enumerable || !1),\n          (descriptor.configurable = !0),\n          \"value\" in descriptor && (descriptor.writable = !0),\n          Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n    function _createClass(Constructor, protoProps, staticProps) {\n      return (\n        protoProps && _defineProperties(Constructor.prototype, protoProps),\n        staticProps && _defineProperties(Constructor, staticProps),\n        Constructor\n      );\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _wrapNativeSuper(Class) {\n      var _cache = typeof Map == \"function\" ? new Map() : void 0;\n      return (\n        (_wrapNativeSuper = function (Class2) {\n          if (Class2 === null || !_isNativeFunction(Class2)) return Class2;\n          if (typeof Class2 != \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n          if (typeof _cache != \"undefined\") {\n            if (_cache.has(Class2)) return _cache.get(Class2);\n            _cache.set(Class2, Wrapper);\n          }\n          function Wrapper() {\n            return _construct(Class2, arguments, _getPrototypeOf(this).constructor);\n          }\n          return (\n            (Wrapper.prototype = Object.create(Class2.prototype, {\n              constructor: {\n                value: Wrapper,\n                enumerable: !1,\n                writable: !0,\n                configurable: !0,\n              },\n            })),\n            _setPrototypeOf(Wrapper, Class2)\n          );\n        }),\n        _wrapNativeSuper(Class)\n      );\n    }\n    function isNativeReflectConstruct() {\n      if (typeof Reflect == \"undefined\" || !Reflect.construct || Reflect.construct.sham) return !1;\n      if (typeof Proxy == \"function\") return !0;\n      try {\n        return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0;\n      } catch {\n        return !1;\n      }\n    }\n    function _construct(Parent, args, Class) {\n      return (\n        isNativeReflectConstruct()\n          ? (_construct = Reflect.construct)\n          : (_construct = function (Parent2, args2, Class2) {\n              var a = [null];\n              a.push.apply(a, args2);\n              var Constructor = Function.bind.apply(Parent2, a),\n                instance = new Constructor();\n              return Class2 && _setPrototypeOf(instance, Class2.prototype), instance;\n            }),\n        _construct.apply(null, arguments)\n      );\n    }\n    function _isNativeFunction(fn) {\n      return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    var _require = require(\"util\"),\n      inspect = _require.inspect,\n      _require2 = require_errors(),\n      ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE;\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function repeat(str, count) {\n      if (((count = Math.floor(count)), str.length == 0 || count == 0)) return \"\";\n      var maxCount = str.length * count;\n      for (count = Math.floor(Math.log(count) / Math.log(2)); count; ) (str += str), count--;\n      return (str += str.substring(0, maxCount - str.length)), str;\n    }\n    var blue = \"\",\n      green = \"\",\n      red = \"\",\n      white = \"\",\n      kReadableOperator = {\n        deepStrictEqual: \"Expected values to be strictly deep-equal:\",\n        strictEqual: \"Expected values to be strictly equal:\",\n        strictEqualObject: 'Expected \"actual\" to be reference-equal to \"expected\":',\n        deepEqual: \"Expected values to be loosely deep-equal:\",\n        equal: \"Expected values to be loosely equal:\",\n        notDeepStrictEqual: 'Expected \"actual\" not to be strictly deep-equal to:',\n        notStrictEqual: 'Expected \"actual\" to be strictly unequal to:',\n        notStrictEqualObject: 'Expected \"actual\" not to be reference-equal to \"expected\":',\n        notDeepEqual: 'Expected \"actual\" not to be loosely deep-equal to:',\n        notEqual: 'Expected \"actual\" to be loosely unequal to:',\n        notIdentical: \"Values identical but not reference-equal:\",\n      },\n      kMaxShortLength = 10;\n    function copyError(source) {\n      var keys = Object.keys(source),\n        target = Object.create(Object.getPrototypeOf(source));\n      return (\n        keys.forEach(function (key) {\n          target[key] = source[key];\n        }),\n        Object.defineProperty(target, \"message\", {\n          value: source.message,\n        }),\n        target\n      );\n    }\n    function inspectValue(val) {\n      return inspect(val, {\n        compact: !1,\n        customInspect: !1,\n        depth: 1e3,\n        maxArrayLength: 1 / 0,\n        showHidden: !1,\n        breakLength: 1 / 0,\n        showProxy: !1,\n        sorted: !0,\n        getters: !0,\n      });\n    }\n    function createErrDiff(actual, expected, operator) {\n      var other = \"\",\n        res = \"\",\n        lastPos = 0,\n        end = \"\",\n        skipped = !1,\n        actualInspected = inspectValue(actual),\n        actualLines = actualInspected.split(`\n`),\n        expectedLines = inspectValue(expected).split(`\n`),\n        i = 0,\n        indicator = \"\";\n      if (\n        (operator === \"strictEqual\" &&\n          _typeof(actual) === \"object\" &&\n          _typeof(expected) === \"object\" &&\n          actual !== null &&\n          expected !== null &&\n          (operator = \"strictEqualObject\"),\n        actualLines.length === 1 && expectedLines.length === 1 && actualLines[0] !== expectedLines[0])\n      ) {\n        var inputLength = actualLines[0].length + expectedLines[0].length;\n        if (inputLength <= kMaxShortLength) {\n          if (\n            (_typeof(actual) !== \"object\" || actual === null) &&\n            (_typeof(expected) !== \"object\" || expected === null) &&\n            (actual !== 0 || expected !== 0)\n          )\n            return (\n              \"\".concat(\n                kReadableOperator[operator],\n                `\n\n`,\n              ) +\n              \"\".concat(actualLines[0], \" !== \").concat(\n                expectedLines[0],\n                `\n`,\n              )\n            );\n        } else if (operator !== \"strictEqualObject\") {\n          var maxLength = process.stderr && process.stderr.isTTY ? process.stderr.columns : 80;\n          if (inputLength < maxLength) {\n            for (; actualLines[0][i] === expectedLines[0][i]; ) i++;\n            i > 2 &&\n              ((indicator = `\n  `.concat(repeat(\" \", i), \"^\")),\n              (i = 0));\n          }\n        }\n      }\n      for (\n        var a = actualLines[actualLines.length - 1], b = expectedLines[expectedLines.length - 1];\n        a === b &&\n        (i++ < 2\n          ? (end = `\n  `\n              .concat(a)\n              .concat(end))\n          : (other = a),\n        actualLines.pop(),\n        expectedLines.pop(),\n        !(actualLines.length === 0 || expectedLines.length === 0));\n\n      )\n        (a = actualLines[actualLines.length - 1]), (b = expectedLines[expectedLines.length - 1]);\n      var maxLines = Math.max(actualLines.length, expectedLines.length);\n      if (maxLines === 0) {\n        var _actualLines = actualInspected.split(`\n`);\n        if (_actualLines.length > 30)\n          for (_actualLines[26] = \"\".concat(blue, \"...\").concat(white); _actualLines.length > 27; ) _actualLines.pop();\n        return \"\"\n          .concat(\n            kReadableOperator.notIdentical,\n            `\n\n`,\n          )\n          .concat(\n            _actualLines.join(`\n`),\n            `\n`,\n          );\n      }\n      i > 3 &&\n        ((end = `\n`\n          .concat(blue, \"...\")\n          .concat(white)\n          .concat(end)),\n        (skipped = !0)),\n        other !== \"\" &&\n          ((end = `\n  `\n            .concat(other)\n            .concat(end)),\n          (other = \"\"));\n      var printedLines = 0,\n        msg =\n          kReadableOperator[operator] +\n          `\n`\n            .concat(green, \"+ actual\")\n            .concat(white, \" \")\n            .concat(red, \"- expected\")\n            .concat(white),\n        skippedMsg = \" \".concat(blue, \"...\").concat(white, \" Lines skipped\");\n      for (i = 0; i < maxLines; i++) {\n        var cur = i - lastPos;\n        if (actualLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(expectedLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(expectedLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (other += `\n`\n              .concat(red, \"-\")\n              .concat(white, \" \")\n              .concat(expectedLines[i])),\n            printedLines++;\n        else if (expectedLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(actualLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(actualLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (res += `\n`\n              .concat(green, \"+\")\n              .concat(white, \" \")\n              .concat(actualLines[i])),\n            printedLines++;\n        else {\n          var expectedLine = expectedLines[i],\n            actualLine = actualLines[i],\n            divergingLines =\n              actualLine !== expectedLine && (!endsWith(actualLine, \",\") || actualLine.slice(0, -1) !== expectedLine);\n          divergingLines &&\n            endsWith(expectedLine, \",\") &&\n            expectedLine.slice(0, -1) === actualLine &&\n            ((divergingLines = !1), (actualLine += \",\")),\n            divergingLines\n              ? (cur > 1 &&\n                  i > 2 &&\n                  (cur > 4\n                    ? ((res += `\n`\n                        .concat(blue, \"...\")\n                        .concat(white)),\n                      (skipped = !0))\n                    : cur > 3 &&\n                      ((res += `\n  `.concat(actualLines[i - 2])),\n                      printedLines++),\n                  (res += `\n  `.concat(actualLines[i - 1])),\n                  printedLines++),\n                (lastPos = i),\n                (res += `\n`\n                  .concat(green, \"+\")\n                  .concat(white, \" \")\n                  .concat(actualLine)),\n                (other += `\n`\n                  .concat(red, \"-\")\n                  .concat(white, \" \")\n                  .concat(expectedLine)),\n                (printedLines += 2))\n              : ((res += other),\n                (other = \"\"),\n                (cur === 1 || i === 0) &&\n                  ((res += `\n  `.concat(actualLine)),\n                  printedLines++));\n        }\n        if (printedLines > 20 && i < maxLines - 2)\n          return (\n            \"\"\n              .concat(msg)\n              .concat(\n                skippedMsg,\n                `\n`,\n              )\n              .concat(\n                res,\n                `\n`,\n              )\n              .concat(blue, \"...\")\n              .concat(white)\n              .concat(\n                other,\n                `\n`,\n              ) + \"\".concat(blue, \"...\").concat(white)\n          );\n      }\n      return \"\"\n        .concat(msg)\n        .concat(\n          skipped ? skippedMsg : \"\",\n          `\n`,\n        )\n        .concat(res)\n        .concat(other)\n        .concat(end)\n        .concat(indicator);\n    }\n    var AssertionError = /* @__PURE__ */ (function (_Error) {\n      _inherits(AssertionError2, _Error);\n      function AssertionError2(options) {\n        var _this;\n        if ((_classCallCheck(this, AssertionError2), _typeof(options) !== \"object\" || options === null))\n          throw new ERR_INVALID_ARG_TYPE(\"options\", \"Object\", options);\n        var message = options.message,\n          operator = options.operator,\n          stackStartFn = options.stackStartFn,\n          actual = options.actual,\n          expected = options.expected,\n          limit = Error.stackTraceLimit;\n        if (((Error.stackTraceLimit = 0), message != null))\n          _this = _possibleConstructorReturn(this, _getPrototypeOf(AssertionError2).call(this, String(message)));\n        else if (\n          (process.stderr &&\n            process.stderr.isTTY &&\n            (process.stderr && process.stderr.getColorDepth && process.stderr.getColorDepth() !== 1\n              ? ((blue = \"\u001B[34m\"), (green = \"\u001B[32m\"), (white = \"\u001B[39m\"), (red = \"\u001B[31m\"))\n              : ((blue = \"\"), (green = \"\"), (white = \"\"), (red = \"\"))),\n          _typeof(actual) === \"object\" &&\n            actual !== null &&\n            _typeof(expected) === \"object\" &&\n            expected !== null &&\n            \"stack\" in actual &&\n            actual instanceof Error &&\n            \"stack\" in expected &&\n            expected instanceof Error &&\n            ((actual = copyError(actual)), (expected = copyError(expected))),\n          operator === \"deepStrictEqual\" || operator === \"strictEqual\")\n        )\n          _this = _possibleConstructorReturn(\n            this,\n            _getPrototypeOf(AssertionError2).call(this, createErrDiff(actual, expected, operator)),\n          );\n        else if (operator === \"notDeepStrictEqual\" || operator === \"notStrictEqual\") {\n          var base = kReadableOperator[operator],\n            res = inspectValue(actual).split(`\n`);\n          if (\n            (operator === \"notStrictEqual\" &&\n              _typeof(actual) === \"object\" &&\n              actual !== null &&\n              (base = kReadableOperator.notStrictEqualObject),\n            res.length > 30)\n          )\n            for (res[26] = \"\".concat(blue, \"...\").concat(white); res.length > 27; ) res.pop();\n          res.length === 1\n            ? (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(this, \"\".concat(base, \" \").concat(res[0])),\n              ))\n            : (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(\n                  this,\n                  \"\"\n                    .concat(\n                      base,\n                      `\n\n`,\n                    )\n                    .concat(\n                      res.join(`\n`),\n                      `\n`,\n                    ),\n                ),\n              ));\n        } else {\n          var _res = inspectValue(actual),\n            other = \"\",\n            knownOperators = kReadableOperator[operator];\n          operator === \"notDeepEqual\" || operator === \"notEqual\"\n            ? ((_res = \"\"\n                .concat(\n                  kReadableOperator[operator],\n                  `\n\n`,\n                )\n                .concat(_res)),\n              _res.length > 1024 && (_res = \"\".concat(_res.slice(0, 1021), \"...\")))\n            : ((other = \"\".concat(inspectValue(expected))),\n              _res.length > 512 && (_res = \"\".concat(_res.slice(0, 509), \"...\")),\n              other.length > 512 && (other = \"\".concat(other.slice(0, 509), \"...\")),\n              operator === \"deepEqual\" || operator === \"equal\"\n                ? (_res = \"\"\n                    .concat(\n                      knownOperators,\n                      `\n\n`,\n                    )\n                    .concat(\n                      _res,\n                      `\n\nshould equal\n\n`,\n                    ))\n                : (other = \" \".concat(operator, \" \").concat(other))),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(AssertionError2).call(this, \"\".concat(_res).concat(other)),\n            ));\n        }\n        return (\n          (Error.stackTraceLimit = limit),\n          (_this.generatedMessage = !message),\n          Object.defineProperty(_assertThisInitialized(_this), \"name\", {\n            value: \"AssertionError [ERR_ASSERTION]\",\n            enumerable: !1,\n            writable: !0,\n            configurable: !0,\n          }),\n          (_this.code = \"ERR_ASSERTION\"),\n          (_this.actual = actual),\n          (_this.expected = expected),\n          (_this.operator = operator),\n          Error.captureStackTrace && Error.captureStackTrace(_assertThisInitialized(_this), stackStartFn),\n          _this.stack,\n          (_this.name = \"AssertionError\"),\n          _possibleConstructorReturn(_this)\n        );\n      }\n      return (\n        _createClass(AssertionError2, [\n          {\n            key: \"toString\",\n            value: function () {\n              return \"\".concat(this.name, \" [\").concat(this.code, \"]: \").concat(this.message);\n            },\n          },\n          {\n            key: inspect.custom,\n            value: function (recurseTimes, ctx) {\n              return inspect(\n                this,\n                _objectSpread({}, ctx, {\n                  customInspect: !1,\n                  depth: 0,\n                }),\n              );\n            },\n          },\n        ]),\n        AssertionError2\n      );\n    })(_wrapNativeSuper(Error));\n    module2.exports = AssertionError;\n  },\n});\n\n// assert/build/assert.js\nvar require_assert = __commonJS({\n  \"assert/build/assert.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    var _require = require_errors(),\n      _require$codes = _require.codes,\n      ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT,\n      ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n      ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE,\n      ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE,\n      ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n      AssertionError = require_assertion_error(),\n      _require2 = require(\"util\"),\n      inspect = _require2.inspect,\n      _require$types = require(\"util\").types,\n      isPromise = _require$types.isPromise,\n      isRegExp = _require$types.isRegExp,\n      objectAssign = Object.assign,\n      objectIs = Object.is,\n      errorCache = new Map();\n\n    var warned = !1,\n      assert = (module2.exports = ok),\n      NO_EXCEPTION_SENTINEL = {};\n    function innerFail(obj) {\n      throw obj.message instanceof Error ? obj.message : new AssertionError(obj);\n    }\n    function fail(actual, expected, message, operator, stackStartFn) {\n      var argsLen = arguments.length,\n        internalMessage;\n      if (argsLen === 0) internalMessage = \"Failed\";\n      else if (argsLen === 1) (message = actual), (actual = void 0);\n      else {\n        if (warned === !1) {\n          warned = !0;\n          var warn = process.emitWarning ? process.emitWarning : console.warn.bind(console);\n          warn(\n            \"assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.\",\n            \"DeprecationWarning\",\n            \"DEP0094\",\n          );\n        }\n        argsLen === 2 && (operator = \"!=\");\n      }\n      if (message instanceof Error) throw message;\n      var errArgs = {\n        actual,\n        expected,\n        operator: operator === void 0 ? \"fail\" : operator,\n        stackStartFn: stackStartFn || fail,\n      };\n      message !== void 0 && (errArgs.message = message);\n      var err = new AssertionError(errArgs);\n      throw (internalMessage && ((err.message = internalMessage), (err.generatedMessage = !0)), err);\n    }\n    assert.fail = fail;\n    assert.AssertionError = AssertionError;\n    function innerOk(fn, argLen, value, message) {\n      if (!value) {\n        var generatedMessage = !1;\n        if (argLen === 0) (generatedMessage = !0), (message = \"No value argument passed to `assert.ok()`\");\n        else if (message instanceof Error) throw message;\n        var err = new AssertionError({\n          actual: value,\n          expected: !0,\n          message,\n          operator: \"==\",\n          stackStartFn: fn,\n        });\n        throw ((err.generatedMessage = generatedMessage), err);\n      }\n    }\n    function ok() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n        args[_key] = arguments[_key];\n      innerOk.apply(void 0, [ok, args.length].concat(args));\n    }\n    assert.ok = ok;\n    assert.equal = function equal(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual != expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"==\",\n          stackStartFn: equal,\n        });\n    };\n    assert.notEqual = function notEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual == expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"!=\",\n          stackStartFn: notEqual,\n        });\n    };\n    assert.deepEqual = function deepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepEqual\",\n          stackStartFn: deepEqual,\n        });\n    };\n    assert.notDeepEqual = function notDeepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepEqual\",\n          stackStartFn: notDeepEqual,\n        });\n    };\n    assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepStrictEqual\",\n          stackStartFn: deepStrictEqual,\n        });\n    };\n    assert.notDeepStrictEqual = notDeepStrictEqual;\n    function notDeepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepStrictEqual\",\n          stackStartFn: notDeepStrictEqual,\n        });\n    }\n    assert.strictEqual = function strictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"strictEqual\",\n          stackStartFn: strictEqual,\n        });\n    };\n    assert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notStrictEqual\",\n          stackStartFn: notStrictEqual,\n        });\n    };\n    assert.match = function match(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      if (!isRegExp(expected)) throw new ERR_INVALID_ARG_TYPE(\"expected\", \"RegExp\", expected);\n      expected.test(actual) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"match\",\n          stackStartFn: match,\n        });\n    };\n    var Comparison = function Comparison2(obj, keys, actual) {\n      var _this = this;\n      _classCallCheck(this, Comparison2),\n        keys.forEach(function (key) {\n          key in obj &&\n            (actual !== void 0 && typeof actual[key] == \"string\" && isRegExp(obj[key]) && obj[key].test(actual[key])\n              ? (_this[key] = actual[key])\n              : (_this[key] = obj[key]));\n        });\n    };\n    function compareExceptionKey(actual, expected, key, message, keys, fn) {\n      if (!(key in actual) || !isDeepEqual(actual[key], expected[key], true)) {\n        if (!message) {\n          var a = new Comparison(actual, keys),\n            b = new Comparison(expected, keys, actual),\n            err = new AssertionError({\n              actual: a,\n              expected: b,\n              operator: \"deepStrictEqual\",\n              stackStartFn: fn,\n            });\n          throw ((err.actual = actual), (err.expected = expected), (err.operator = fn.name), err);\n        }\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: fn.name,\n          stackStartFn: fn,\n        });\n      }\n    }\n    function expectedException(actual, expected, msg, fn) {\n      if (typeof expected != \"function\") {\n        if (isRegExp(expected)) return expected.test(actual);\n        if (arguments.length === 2) throw new ERR_INVALID_ARG_TYPE(\"expected\", [\"Function\", \"RegExp\"], expected);\n        if (_typeof(actual) !== \"object\" || actual === null) {\n          var err = new AssertionError({\n            actual,\n            expected,\n            message: msg,\n            operator: \"deepStrictEqual\",\n            stackStartFn: fn,\n          });\n          throw ((err.operator = fn.name), err);\n        }\n        var keys = Object.keys(expected);\n        if (expected instanceof Error) keys.push(\"name\", \"message\");\n        else if (keys.length === 0) throw new ERR_INVALID_ARG_VALUE(\"error\", expected, \"may not be an empty object\");\n        return (\n          keys.forEach(function (key) {\n            return (\n              (typeof actual[key] == \"string\" && isRegExp(expected[key]) && expected[key].test(actual[key])) ||\n              compareExceptionKey(actual, expected, key, msg, keys, fn)\n            );\n          }),\n          !0\n        );\n      }\n      return expected.prototype !== void 0 && actual instanceof expected\n        ? !0\n        : Error.isPrototypeOf(expected)\n        ? !1\n        : expected.call({}, actual) === !0;\n    }\n    function getActual(fn) {\n      if (typeof fn != \"function\") throw new ERR_INVALID_ARG_TYPE(\"fn\", \"Function\", fn);\n      try {\n        fn();\n      } catch (e) {\n        return e;\n      }\n      return NO_EXCEPTION_SENTINEL;\n    }\n    function checkIsPromise(obj) {\n      return (\n        isPromise(obj) ||\n        (obj !== null && _typeof(obj) === \"object\" && typeof obj.then == \"function\" && typeof obj.catch == \"function\")\n      );\n    }\n    function waitForActual(promiseFn) {\n      return Promise.resolve().then(function () {\n        var resultPromise;\n        if (typeof promiseFn == \"function\") {\n          if (((resultPromise = promiseFn()), !checkIsPromise(resultPromise)))\n            throw new ERR_INVALID_RETURN_VALUE(\"instance of Promise\", \"promiseFn\", resultPromise);\n        } else if (checkIsPromise(promiseFn)) resultPromise = promiseFn;\n        else throw new ERR_INVALID_ARG_TYPE(\"promiseFn\", [\"Function\", \"Promise\"], promiseFn);\n        return Promise.resolve()\n          .then(function () {\n            return resultPromise;\n          })\n          .then(function () {\n            return NO_EXCEPTION_SENTINEL;\n          })\n          .catch(function (e) {\n            return e;\n          });\n      });\n    }\n    function expectsError(stackStartFn, actual, error, message) {\n      if (typeof error == \"string\") {\n        if (arguments.length === 4)\n          throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n        if (_typeof(actual) === \"object\" && actual !== null) {\n          if (actual.message === error)\n            throw new ERR_AMBIGUOUS_ARGUMENT(\n              \"error/message\",\n              'The error message \"'.concat(actual.message, '\" is identical to the message.'),\n            );\n        } else if (actual === error)\n          throw new ERR_AMBIGUOUS_ARGUMENT(\n            \"error/message\",\n            'The error \"'.concat(actual, '\" is identical to the message.'),\n          );\n        (message = error), (error = void 0);\n      } else if (error != null && _typeof(error) !== \"object\" && typeof error != \"function\")\n        throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n      if (actual === NO_EXCEPTION_SENTINEL) {\n        var details = \"\";\n        error && error.name && (details += \" (\".concat(error.name, \")\")),\n          (details += message ? \": \".concat(message) : \".\");\n        var fnType = stackStartFn.name === \"rejects\" ? \"rejection\" : \"exception\";\n        innerFail({\n          actual: void 0,\n          expected: error,\n          operator: stackStartFn.name,\n          message: \"Missing expected \".concat(fnType).concat(details),\n          stackStartFn,\n        });\n      }\n      if (error && !expectedException(actual, error, message, stackStartFn)) throw actual;\n    }\n    function expectsNoError(stackStartFn, actual, error, message) {\n      if (actual !== NO_EXCEPTION_SENTINEL) {\n        if (\n          (typeof error == \"string\" && ((message = error), (error = void 0)),\n          !error || expectedException(actual, error))\n        ) {\n          var details = message ? \": \".concat(message) : \".\",\n            fnType = stackStartFn.name === \"doesNotReject\" ? \"rejection\" : \"exception\";\n          innerFail({\n            actual,\n            expected: error,\n            operator: stackStartFn.name,\n            message:\n              \"Got unwanted \".concat(fnType).concat(\n                details,\n                `\n`,\n              ) + 'Actual message: \"'.concat(actual && actual.message, '\"'),\n            stackStartFn,\n          });\n        }\n        throw actual;\n      }\n    }\n    assert.throws = function throws(promiseFn) {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++)\n        args[_key2 - 1] = arguments[_key2];\n      expectsError.apply(void 0, [throws, getActual(promiseFn)].concat(args));\n    };\n    assert.rejects = function rejects(promiseFn) {\n      for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++)\n        args[_key3 - 1] = arguments[_key3];\n      return waitForActual(promiseFn).then(function (result) {\n        return expectsError.apply(void 0, [rejects, result].concat(args));\n      });\n    };\n    assert.doesNotThrow = function doesNotThrow(fn) {\n      for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++)\n        args[_key4 - 1] = arguments[_key4];\n      expectsNoError.apply(void 0, [doesNotThrow, getActual(fn)].concat(args));\n    };\n    assert.doesNotReject = function doesNotReject(fn) {\n      for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++)\n        args[_key5 - 1] = arguments[_key5];\n      return waitForActual(fn).then(function (result) {\n        return expectsNoError.apply(void 0, [doesNotReject, result].concat(args));\n      });\n    };\n    assert.ifError = function ifError(err) {\n      if (err != null) {\n        var message = \"ifError got unwanted exception: \";\n        _typeof(err) === \"object\" && typeof err.message == \"string\"\n          ? err.message.length === 0 && err.constructor\n            ? (message += err.constructor.name)\n            : (message += err.message)\n          : (message += inspect(err));\n        var newErr = new AssertionError({\n            actual: err,\n            expected: null,\n            operator: \"ifError\",\n            message,\n            stackStartFn: ifError,\n          }),\n          origStack = err.stack;\n        if (typeof origStack == \"string\") {\n          var tmp2 = origStack.split(`\n`);\n          tmp2.shift();\n          for (\n            var tmp1 = newErr.stack.split(`\n`),\n              i = 0;\n            i < tmp2.length;\n            i++\n          ) {\n            var pos = tmp1.indexOf(tmp2[i]);\n            if (pos !== -1) {\n              tmp1 = tmp1.slice(0, pos);\n              break;\n            }\n          }\n          newErr.stack = \"\"\n            .concat(\n              tmp1.join(`\n`),\n              `\n`,\n            )\n            .concat(\n              tmp2.join(`\n`),\n            );\n        }\n        throw newErr;\n      }\n    };\n    function strict() {\n      for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++)\n        args[_key6] = arguments[_key6];\n      innerOk.apply(void 0, [strict, args.length].concat(args));\n    }\n    assert.strict = objectAssign(strict, assert, {\n      equal: assert.strictEqual,\n      deepEqual: assert.deepStrictEqual,\n      notEqual: assert.notStrictEqual,\n      notDeepEqual: assert.notDeepStrictEqual,\n    });\n    assert.strict.strict = assert.strict;\n  },\n});\nvar assert_module = require_assert();\n\nfunction CallTracker() {\n  throw new Error(\"CallTracker is not supported yet\");\n}\n\nassert_module[Symbol.for(\"CommonJS\")] = 0;\nassert_module[\"CallTracker\"] = CallTracker;\nexport var {\n  AssertionError,\n  assert,\n  deepEqual,\n  deepStrictEqual,\n  doesNotReject,\n  doesNotThrow,\n  equal,\n  fail,\n  ifError,\n  notDeepEqual,\n  notDeepStrictEqual,\n  notEqual,\n  notStrictEqual,\n  ok,\n  rejects,\n  strict,\n  strictEqual,\n  throws,\n} = assert_module;\nexport default assert_module;\n",
  "// Hardcoded module \"node:assert\"\nvar { Bun } = import.meta.primordials;\nvar isDeepEqual = Bun.deepEquals;\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf,\n  __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __markAsModule = target => __defProp(target, \"__esModule\", { value: !0 });\nvar __commonJS = (cb, mod) =>\n  function () {\n    return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n  };\nvar __reExport = (target, module2, desc) => {\n    if ((module2 && typeof module2 == \"object\") || typeof module2 == \"function\")\n      for (let key of __getOwnPropNames(module2))\n        !__hasOwnProp.call(target, key) &&\n          key !== \"default\" &&\n          __defProp(target, key, {\n            get: () => module2[key],\n            enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable,\n          });\n    return target;\n  },\n  __toModule = module2 =>\n    __reExport(\n      __markAsModule(\n        __defProp(\n          module2 != null ? __create(__getProtoOf(module2)) : {},\n          \"default\",\n          module2 && module2.__esModule && \"default\" in module2\n            ? { get: () => module2.default, enumerable: !0 }\n            : { value: module2, enumerable: !0 },\n        ),\n      ),\n      module2,\n    );\n\nvar require = path => import.meta.require(path);\n\n// assert/build/internal/errors.js\nvar require_errors = __commonJS({\n  \"assert/build/internal/errors.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    var codes = {},\n      assert,\n      util;\n    function createErrorType(code, message, Base) {\n      Base || (Base = Error);\n      function getMessage(arg1, arg2, arg3) {\n        return typeof message == \"string\" ? message : message(arg1, arg2, arg3);\n      }\n      var NodeError = /* @__PURE__ */ (function (_Base) {\n        _inherits(NodeError2, _Base);\n        function NodeError2(arg1, arg2, arg3) {\n          var _this;\n          return (\n            _classCallCheck(this, NodeError2),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(NodeError2).call(this, getMessage(arg1, arg2, arg3)),\n            )),\n            (_this.code = code),\n            _this\n          );\n        }\n        return NodeError2;\n      })(Base);\n      codes[code] = NodeError;\n    }\n    function oneOf(expected, thing) {\n      if (Array.isArray(expected)) {\n        var len = expected.length;\n        return (\n          (expected = expected.map(function (i) {\n            return String(i);\n          })),\n          len > 2\n            ? \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(\", \"), \", or \") + expected[len - 1]\n            : len === 2\n            ? \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1])\n            : \"of \".concat(thing, \" \").concat(expected[0])\n        );\n      } else return \"of \".concat(thing, \" \").concat(String(expected));\n    }\n    function startsWith(str, search, pos) {\n      return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n    }\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function includes(str, search, start) {\n      return (\n        typeof start != \"number\" && (start = 0),\n        start + search.length > str.length ? !1 : str.indexOf(search, start) !== -1\n      );\n    }\n    createErrorType(\"ERR_AMBIGUOUS_ARGUMENT\", 'The \"%s\" argument is ambiguous. %s', TypeError);\n    createErrorType(\n      \"ERR_INVALID_ARG_TYPE\",\n      function (name, expected, actual) {\n        assert === void 0 && (assert = require_assert()), assert(typeof name == \"string\", \"'name' must be a string\");\n        var determiner;\n        typeof expected == \"string\" && startsWith(expected, \"not \")\n          ? ((determiner = \"must not be\"), (expected = expected.replace(/^not /, \"\")))\n          : (determiner = \"must be\");\n        var msg;\n        if (endsWith(name, \" argument\"))\n          msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        else {\n          var type = includes(name, \".\") ? \"property\" : \"argument\";\n          msg = 'The \"'.concat(name, '\" ').concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        }\n        return (msg += \". Received type \".concat(_typeof(actual))), msg;\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_ARG_VALUE\",\n      function (name, value) {\n        var reason = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : \"is invalid\";\n        util === void 0 && (util = require(\"util\"));\n        var inspected = util.inspect(value);\n        return (\n          inspected.length > 128 && (inspected = \"\".concat(inspected.slice(0, 128), \"...\")),\n          \"The argument '\".concat(name, \"' \").concat(reason, \". Received \").concat(inspected)\n        );\n      },\n      TypeError,\n      RangeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_RETURN_VALUE\",\n      function (input, name, value) {\n        var type;\n        return (\n          value && value.constructor && value.constructor.name\n            ? (type = \"instance of \".concat(value.constructor.name))\n            : (type = \"type \".concat(_typeof(value))),\n          \"Expected \".concat(input, ' to be returned from the \"').concat(name, '\"') +\n            \" function but got \".concat(type, \".\")\n        );\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_MISSING_ARGS\",\n      function () {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n          args[_key] = arguments[_key];\n        assert === void 0 && (assert = require_assert()),\n          assert(args.length > 0, \"At least one arg needs to be specified\");\n        var msg = \"The \",\n          len = args.length;\n        switch (\n          ((args = args.map(function (a) {\n            return '\"'.concat(a, '\"');\n          })),\n          len)\n        ) {\n          case 1:\n            msg += \"\".concat(args[0], \" argument\");\n            break;\n          case 2:\n            msg += \"\".concat(args[0], \" and \").concat(args[1], \" arguments\");\n            break;\n          default:\n            (msg += args.slice(0, len - 1).join(\", \")), (msg += \", and \".concat(args[len - 1], \" arguments\"));\n            break;\n        }\n        return \"\".concat(msg, \" must be specified\");\n      },\n      TypeError,\n    );\n    module2.exports.codes = codes;\n  },\n});\n\n// assert/build/internal/assert/assertion_error.js\nvar require_assertion_error = __commonJS({\n  \"assert/build/internal/assert/assertion_error.js\"(exports, module2) {\n    \"use strict\";\n    function _objectSpread(target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i] != null ? arguments[i] : {},\n          ownKeys = Object.keys(source);\n        typeof Object.getOwnPropertySymbols == \"function\" &&\n          (ownKeys = ownKeys.concat(\n            Object.getOwnPropertySymbols(source).filter(function (sym) {\n              return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n            }),\n          )),\n          ownKeys.forEach(function (key) {\n            _defineProperty(target, key, source[key]);\n          });\n      }\n      return target;\n    }\n    function _defineProperty(obj, key, value) {\n      return (\n        key in obj\n          ? Object.defineProperty(obj, key, {\n              value,\n              enumerable: !0,\n              configurable: !0,\n              writable: !0,\n            })\n          : (obj[key] = value),\n        obj\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        (descriptor.enumerable = descriptor.enumerable || !1),\n          (descriptor.configurable = !0),\n          \"value\" in descriptor && (descriptor.writable = !0),\n          Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n    function _createClass(Constructor, protoProps, staticProps) {\n      return (\n        protoProps && _defineProperties(Constructor.prototype, protoProps),\n        staticProps && _defineProperties(Constructor, staticProps),\n        Constructor\n      );\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _wrapNativeSuper(Class) {\n      var _cache = typeof Map == \"function\" ? new Map() : void 0;\n      return (\n        (_wrapNativeSuper = function (Class2) {\n          if (Class2 === null || !_isNativeFunction(Class2)) return Class2;\n          if (typeof Class2 != \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n          if (typeof _cache != \"undefined\") {\n            if (_cache.has(Class2)) return _cache.get(Class2);\n            _cache.set(Class2, Wrapper);\n          }\n          function Wrapper() {\n            return _construct(Class2, arguments, _getPrototypeOf(this).constructor);\n          }\n          return (\n            (Wrapper.prototype = Object.create(Class2.prototype, {\n              constructor: {\n                value: Wrapper,\n                enumerable: !1,\n                writable: !0,\n                configurable: !0,\n              },\n            })),\n            _setPrototypeOf(Wrapper, Class2)\n          );\n        }),\n        _wrapNativeSuper(Class)\n      );\n    }\n    function isNativeReflectConstruct() {\n      if (typeof Reflect == \"undefined\" || !Reflect.construct || Reflect.construct.sham) return !1;\n      if (typeof Proxy == \"function\") return !0;\n      try {\n        return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0;\n      } catch {\n        return !1;\n      }\n    }\n    function _construct(Parent, args, Class) {\n      return (\n        isNativeReflectConstruct()\n          ? (_construct = Reflect.construct)\n          : (_construct = function (Parent2, args2, Class2) {\n              var a = [null];\n              a.push.apply(a, args2);\n              var Constructor = Function.bind.apply(Parent2, a),\n                instance = new Constructor();\n              return Class2 && _setPrototypeOf(instance, Class2.prototype), instance;\n            }),\n        _construct.apply(null, arguments)\n      );\n    }\n    function _isNativeFunction(fn) {\n      return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    var _require = require(\"util\"),\n      inspect = _require.inspect,\n      _require2 = require_errors(),\n      ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE;\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function repeat(str, count) {\n      if (((count = Math.floor(count)), str.length == 0 || count == 0)) return \"\";\n      var maxCount = str.length * count;\n      for (count = Math.floor(Math.log(count) / Math.log(2)); count; ) (str += str), count--;\n      return (str += str.substring(0, maxCount - str.length)), str;\n    }\n    var blue = \"\",\n      green = \"\",\n      red = \"\",\n      white = \"\",\n      kReadableOperator = {\n        deepStrictEqual: \"Expected values to be strictly deep-equal:\",\n        strictEqual: \"Expected values to be strictly equal:\",\n        strictEqualObject: 'Expected \"actual\" to be reference-equal to \"expected\":',\n        deepEqual: \"Expected values to be loosely deep-equal:\",\n        equal: \"Expected values to be loosely equal:\",\n        notDeepStrictEqual: 'Expected \"actual\" not to be strictly deep-equal to:',\n        notStrictEqual: 'Expected \"actual\" to be strictly unequal to:',\n        notStrictEqualObject: 'Expected \"actual\" not to be reference-equal to \"expected\":',\n        notDeepEqual: 'Expected \"actual\" not to be loosely deep-equal to:',\n        notEqual: 'Expected \"actual\" to be loosely unequal to:',\n        notIdentical: \"Values identical but not reference-equal:\",\n      },\n      kMaxShortLength = 10;\n    function copyError(source) {\n      var keys = Object.keys(source),\n        target = Object.create(Object.getPrototypeOf(source));\n      return (\n        keys.forEach(function (key) {\n          target[key] = source[key];\n        }),\n        Object.defineProperty(target, \"message\", {\n          value: source.message,\n        }),\n        target\n      );\n    }\n    function inspectValue(val) {\n      return inspect(val, {\n        compact: !1,\n        customInspect: !1,\n        depth: 1e3,\n        maxArrayLength: 1 / 0,\n        showHidden: !1,\n        breakLength: 1 / 0,\n        showProxy: !1,\n        sorted: !0,\n        getters: !0,\n      });\n    }\n    function createErrDiff(actual, expected, operator) {\n      var other = \"\",\n        res = \"\",\n        lastPos = 0,\n        end = \"\",\n        skipped = !1,\n        actualInspected = inspectValue(actual),\n        actualLines = actualInspected.split(`\n`),\n        expectedLines = inspectValue(expected).split(`\n`),\n        i = 0,\n        indicator = \"\";\n      if (\n        (operator === \"strictEqual\" &&\n          _typeof(actual) === \"object\" &&\n          _typeof(expected) === \"object\" &&\n          actual !== null &&\n          expected !== null &&\n          (operator = \"strictEqualObject\"),\n        actualLines.length === 1 && expectedLines.length === 1 && actualLines[0] !== expectedLines[0])\n      ) {\n        var inputLength = actualLines[0].length + expectedLines[0].length;\n        if (inputLength <= kMaxShortLength) {\n          if (\n            (_typeof(actual) !== \"object\" || actual === null) &&\n            (_typeof(expected) !== \"object\" || expected === null) &&\n            (actual !== 0 || expected !== 0)\n          )\n            return (\n              \"\".concat(\n                kReadableOperator[operator],\n                `\n\n`,\n              ) +\n              \"\".concat(actualLines[0], \" !== \").concat(\n                expectedLines[0],\n                `\n`,\n              )\n            );\n        } else if (operator !== \"strictEqualObject\") {\n          var maxLength = process.stderr && process.stderr.isTTY ? process.stderr.columns : 80;\n          if (inputLength < maxLength) {\n            for (; actualLines[0][i] === expectedLines[0][i]; ) i++;\n            i > 2 &&\n              ((indicator = `\n  `.concat(repeat(\" \", i), \"^\")),\n              (i = 0));\n          }\n        }\n      }\n      for (\n        var a = actualLines[actualLines.length - 1], b = expectedLines[expectedLines.length - 1];\n        a === b &&\n        (i++ < 2\n          ? (end = `\n  `\n              .concat(a)\n              .concat(end))\n          : (other = a),\n        actualLines.pop(),\n        expectedLines.pop(),\n        !(actualLines.length === 0 || expectedLines.length === 0));\n\n      )\n        (a = actualLines[actualLines.length - 1]), (b = expectedLines[expectedLines.length - 1]);\n      var maxLines = Math.max(actualLines.length, expectedLines.length);\n      if (maxLines === 0) {\n        var _actualLines = actualInspected.split(`\n`);\n        if (_actualLines.length > 30)\n          for (_actualLines[26] = \"\".concat(blue, \"...\").concat(white); _actualLines.length > 27; ) _actualLines.pop();\n        return \"\"\n          .concat(\n            kReadableOperator.notIdentical,\n            `\n\n`,\n          )\n          .concat(\n            _actualLines.join(`\n`),\n            `\n`,\n          );\n      }\n      i > 3 &&\n        ((end = `\n`\n          .concat(blue, \"...\")\n          .concat(white)\n          .concat(end)),\n        (skipped = !0)),\n        other !== \"\" &&\n          ((end = `\n  `\n            .concat(other)\n            .concat(end)),\n          (other = \"\"));\n      var printedLines = 0,\n        msg =\n          kReadableOperator[operator] +\n          `\n`\n            .concat(green, \"+ actual\")\n            .concat(white, \" \")\n            .concat(red, \"- expected\")\n            .concat(white),\n        skippedMsg = \" \".concat(blue, \"...\").concat(white, \" Lines skipped\");\n      for (i = 0; i < maxLines; i++) {\n        var cur = i - lastPos;\n        if (actualLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(expectedLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(expectedLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (other += `\n`\n              .concat(red, \"-\")\n              .concat(white, \" \")\n              .concat(expectedLines[i])),\n            printedLines++;\n        else if (expectedLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(actualLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(actualLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (res += `\n`\n              .concat(green, \"+\")\n              .concat(white, \" \")\n              .concat(actualLines[i])),\n            printedLines++;\n        else {\n          var expectedLine = expectedLines[i],\n            actualLine = actualLines[i],\n            divergingLines =\n              actualLine !== expectedLine && (!endsWith(actualLine, \",\") || actualLine.slice(0, -1) !== expectedLine);\n          divergingLines &&\n            endsWith(expectedLine, \",\") &&\n            expectedLine.slice(0, -1) === actualLine &&\n            ((divergingLines = !1), (actualLine += \",\")),\n            divergingLines\n              ? (cur > 1 &&\n                  i > 2 &&\n                  (cur > 4\n                    ? ((res += `\n`\n                        .concat(blue, \"...\")\n                        .concat(white)),\n                      (skipped = !0))\n                    : cur > 3 &&\n                      ((res += `\n  `.concat(actualLines[i - 2])),\n                      printedLines++),\n                  (res += `\n  `.concat(actualLines[i - 1])),\n                  printedLines++),\n                (lastPos = i),\n                (res += `\n`\n                  .concat(green, \"+\")\n                  .concat(white, \" \")\n                  .concat(actualLine)),\n                (other += `\n`\n                  .concat(red, \"-\")\n                  .concat(white, \" \")\n                  .concat(expectedLine)),\n                (printedLines += 2))\n              : ((res += other),\n                (other = \"\"),\n                (cur === 1 || i === 0) &&\n                  ((res += `\n  `.concat(actualLine)),\n                  printedLines++));\n        }\n        if (printedLines > 20 && i < maxLines - 2)\n          return (\n            \"\"\n              .concat(msg)\n              .concat(\n                skippedMsg,\n                `\n`,\n              )\n              .concat(\n                res,\n                `\n`,\n              )\n              .concat(blue, \"...\")\n              .concat(white)\n              .concat(\n                other,\n                `\n`,\n              ) + \"\".concat(blue, \"...\").concat(white)\n          );\n      }\n      return \"\"\n        .concat(msg)\n        .concat(\n          skipped ? skippedMsg : \"\",\n          `\n`,\n        )\n        .concat(res)\n        .concat(other)\n        .concat(end)\n        .concat(indicator);\n    }\n    var AssertionError = /* @__PURE__ */ (function (_Error) {\n      _inherits(AssertionError2, _Error);\n      function AssertionError2(options) {\n        var _this;\n        if ((_classCallCheck(this, AssertionError2), _typeof(options) !== \"object\" || options === null))\n          throw new ERR_INVALID_ARG_TYPE(\"options\", \"Object\", options);\n        var message = options.message,\n          operator = options.operator,\n          stackStartFn = options.stackStartFn,\n          actual = options.actual,\n          expected = options.expected,\n          limit = Error.stackTraceLimit;\n        if (((Error.stackTraceLimit = 0), message != null))\n          _this = _possibleConstructorReturn(this, _getPrototypeOf(AssertionError2).call(this, String(message)));\n        else if (\n          (process.stderr &&\n            process.stderr.isTTY &&\n            (process.stderr && process.stderr.getColorDepth && process.stderr.getColorDepth() !== 1\n              ? ((blue = \"\u001B[34m\"), (green = \"\u001B[32m\"), (white = \"\u001B[39m\"), (red = \"\u001B[31m\"))\n              : ((blue = \"\"), (green = \"\"), (white = \"\"), (red = \"\"))),\n          _typeof(actual) === \"object\" &&\n            actual !== null &&\n            _typeof(expected) === \"object\" &&\n            expected !== null &&\n            \"stack\" in actual &&\n            actual instanceof Error &&\n            \"stack\" in expected &&\n            expected instanceof Error &&\n            ((actual = copyError(actual)), (expected = copyError(expected))),\n          operator === \"deepStrictEqual\" || operator === \"strictEqual\")\n        )\n          _this = _possibleConstructorReturn(\n            this,\n            _getPrototypeOf(AssertionError2).call(this, createErrDiff(actual, expected, operator)),\n          );\n        else if (operator === \"notDeepStrictEqual\" || operator === \"notStrictEqual\") {\n          var base = kReadableOperator[operator],\n            res = inspectValue(actual).split(`\n`);\n          if (\n            (operator === \"notStrictEqual\" &&\n              _typeof(actual) === \"object\" &&\n              actual !== null &&\n              (base = kReadableOperator.notStrictEqualObject),\n            res.length > 30)\n          )\n            for (res[26] = \"\".concat(blue, \"...\").concat(white); res.length > 27; ) res.pop();\n          res.length === 1\n            ? (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(this, \"\".concat(base, \" \").concat(res[0])),\n              ))\n            : (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(\n                  this,\n                  \"\"\n                    .concat(\n                      base,\n                      `\n\n`,\n                    )\n                    .concat(\n                      res.join(`\n`),\n                      `\n`,\n                    ),\n                ),\n              ));\n        } else {\n          var _res = inspectValue(actual),\n            other = \"\",\n            knownOperators = kReadableOperator[operator];\n          operator === \"notDeepEqual\" || operator === \"notEqual\"\n            ? ((_res = \"\"\n                .concat(\n                  kReadableOperator[operator],\n                  `\n\n`,\n                )\n                .concat(_res)),\n              _res.length > 1024 && (_res = \"\".concat(_res.slice(0, 1021), \"...\")))\n            : ((other = \"\".concat(inspectValue(expected))),\n              _res.length > 512 && (_res = \"\".concat(_res.slice(0, 509), \"...\")),\n              other.length > 512 && (other = \"\".concat(other.slice(0, 509), \"...\")),\n              operator === \"deepEqual\" || operator === \"equal\"\n                ? (_res = \"\"\n                    .concat(\n                      knownOperators,\n                      `\n\n`,\n                    )\n                    .concat(\n                      _res,\n                      `\n\nshould equal\n\n`,\n                    ))\n                : (other = \" \".concat(operator, \" \").concat(other))),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(AssertionError2).call(this, \"\".concat(_res).concat(other)),\n            ));\n        }\n        return (\n          (Error.stackTraceLimit = limit),\n          (_this.generatedMessage = !message),\n          Object.defineProperty(_assertThisInitialized(_this), \"name\", {\n            value: \"AssertionError [ERR_ASSERTION]\",\n            enumerable: !1,\n            writable: !0,\n            configurable: !0,\n          }),\n          (_this.code = \"ERR_ASSERTION\"),\n          (_this.actual = actual),\n          (_this.expected = expected),\n          (_this.operator = operator),\n          Error.captureStackTrace && Error.captureStackTrace(_assertThisInitialized(_this), stackStartFn),\n          _this.stack,\n          (_this.name = \"AssertionError\"),\n          _possibleConstructorReturn(_this)\n        );\n      }\n      return (\n        _createClass(AssertionError2, [\n          {\n            key: \"toString\",\n            value: function () {\n              return \"\".concat(this.name, \" [\").concat(this.code, \"]: \").concat(this.message);\n            },\n          },\n          {\n            key: inspect.custom,\n            value: function (recurseTimes, ctx) {\n              return inspect(\n                this,\n                _objectSpread({}, ctx, {\n                  customInspect: !1,\n                  depth: 0,\n                }),\n              );\n            },\n          },\n        ]),\n        AssertionError2\n      );\n    })(_wrapNativeSuper(Error));\n    module2.exports = AssertionError;\n  },\n});\n\n// assert/build/assert.js\nvar require_assert = __commonJS({\n  \"assert/build/assert.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    var _require = require_errors(),\n      _require$codes = _require.codes,\n      ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT,\n      ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n      ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE,\n      ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE,\n      ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n      AssertionError = require_assertion_error(),\n      _require2 = require(\"util\"),\n      inspect = _require2.inspect,\n      _require$types = require(\"util\").types,\n      isPromise = _require$types.isPromise,\n      isRegExp = _require$types.isRegExp,\n      objectAssign = Object.assign,\n      objectIs = Object.is,\n      errorCache = new Map();\n\n    var warned = !1,\n      assert = (module2.exports = ok),\n      NO_EXCEPTION_SENTINEL = {};\n    function innerFail(obj) {\n      throw obj.message instanceof Error ? obj.message : new AssertionError(obj);\n    }\n    function fail(actual, expected, message, operator, stackStartFn) {\n      var argsLen = arguments.length,\n        internalMessage;\n      if (argsLen === 0) internalMessage = \"Failed\";\n      else if (argsLen === 1) (message = actual), (actual = void 0);\n      else {\n        if (warned === !1) {\n          warned = !0;\n          var warn = process.emitWarning ? process.emitWarning : console.warn.bind(console);\n          warn(\n            \"assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.\",\n            \"DeprecationWarning\",\n            \"DEP0094\",\n          );\n        }\n        argsLen === 2 && (operator = \"!=\");\n      }\n      if (message instanceof Error) throw message;\n      var errArgs = {\n        actual,\n        expected,\n        operator: operator === void 0 ? \"fail\" : operator,\n        stackStartFn: stackStartFn || fail,\n      };\n      message !== void 0 && (errArgs.message = message);\n      var err = new AssertionError(errArgs);\n      throw (internalMessage && ((err.message = internalMessage), (err.generatedMessage = !0)), err);\n    }\n    assert.fail = fail;\n    assert.AssertionError = AssertionError;\n    function innerOk(fn, argLen, value, message) {\n      if (!value) {\n        var generatedMessage = !1;\n        if (argLen === 0) (generatedMessage = !0), (message = \"No value argument passed to `assert.ok()`\");\n        else if (message instanceof Error) throw message;\n        var err = new AssertionError({\n          actual: value,\n          expected: !0,\n          message,\n          operator: \"==\",\n          stackStartFn: fn,\n        });\n        throw ((err.generatedMessage = generatedMessage), err);\n      }\n    }\n    function ok() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n        args[_key] = arguments[_key];\n      innerOk.apply(void 0, [ok, args.length].concat(args));\n    }\n    assert.ok = ok;\n    assert.equal = function equal(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual != expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"==\",\n          stackStartFn: equal,\n        });\n    };\n    assert.notEqual = function notEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual == expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"!=\",\n          stackStartFn: notEqual,\n        });\n    };\n    assert.deepEqual = function deepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepEqual\",\n          stackStartFn: deepEqual,\n        });\n    };\n    assert.notDeepEqual = function notDeepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepEqual\",\n          stackStartFn: notDeepEqual,\n        });\n    };\n    assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepStrictEqual\",\n          stackStartFn: deepStrictEqual,\n        });\n    };\n    assert.notDeepStrictEqual = notDeepStrictEqual;\n    function notDeepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepStrictEqual\",\n          stackStartFn: notDeepStrictEqual,\n        });\n    }\n    assert.strictEqual = function strictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"strictEqual\",\n          stackStartFn: strictEqual,\n        });\n    };\n    assert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notStrictEqual\",\n          stackStartFn: notStrictEqual,\n        });\n    };\n    assert.match = function match(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      if (!isRegExp(expected)) throw new ERR_INVALID_ARG_TYPE(\"expected\", \"RegExp\", expected);\n      expected.test(actual) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"match\",\n          stackStartFn: match,\n        });\n    };\n    var Comparison = function Comparison2(obj, keys, actual) {\n      var _this = this;\n      _classCallCheck(this, Comparison2),\n        keys.forEach(function (key) {\n          key in obj &&\n            (actual !== void 0 && typeof actual[key] == \"string\" && isRegExp(obj[key]) && obj[key].test(actual[key])\n              ? (_this[key] = actual[key])\n              : (_this[key] = obj[key]));\n        });\n    };\n    function compareExceptionKey(actual, expected, key, message, keys, fn) {\n      if (!(key in actual) || !isDeepEqual(actual[key], expected[key], true)) {\n        if (!message) {\n          var a = new Comparison(actual, keys),\n            b = new Comparison(expected, keys, actual),\n            err = new AssertionError({\n              actual: a,\n              expected: b,\n              operator: \"deepStrictEqual\",\n              stackStartFn: fn,\n            });\n          throw ((err.actual = actual), (err.expected = expected), (err.operator = fn.name), err);\n        }\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: fn.name,\n          stackStartFn: fn,\n        });\n      }\n    }\n    function expectedException(actual, expected, msg, fn) {\n      if (typeof expected != \"function\") {\n        if (isRegExp(expected)) return expected.test(actual);\n        if (arguments.length === 2) throw new ERR_INVALID_ARG_TYPE(\"expected\", [\"Function\", \"RegExp\"], expected);\n        if (_typeof(actual) !== \"object\" || actual === null) {\n          var err = new AssertionError({\n            actual,\n            expected,\n            message: msg,\n            operator: \"deepStrictEqual\",\n            stackStartFn: fn,\n          });\n          throw ((err.operator = fn.name), err);\n        }\n        var keys = Object.keys(expected);\n        if (expected instanceof Error) keys.push(\"name\", \"message\");\n        else if (keys.length === 0) throw new ERR_INVALID_ARG_VALUE(\"error\", expected, \"may not be an empty object\");\n        return (\n          keys.forEach(function (key) {\n            return (\n              (typeof actual[key] == \"string\" && isRegExp(expected[key]) && expected[key].test(actual[key])) ||\n              compareExceptionKey(actual, expected, key, msg, keys, fn)\n            );\n          }),\n          !0\n        );\n      }\n      return expected.prototype !== void 0 && actual instanceof expected\n        ? !0\n        : Error.isPrototypeOf(expected)\n        ? !1\n        : expected.call({}, actual) === !0;\n    }\n    function getActual(fn) {\n      if (typeof fn != \"function\") throw new ERR_INVALID_ARG_TYPE(\"fn\", \"Function\", fn);\n      try {\n        fn();\n      } catch (e) {\n        return e;\n      }\n      return NO_EXCEPTION_SENTINEL;\n    }\n    function checkIsPromise(obj) {\n      return (\n        isPromise(obj) ||\n        (obj !== null && _typeof(obj) === \"object\" && typeof obj.then == \"function\" && typeof obj.catch == \"function\")\n      );\n    }\n    function waitForActual(promiseFn) {\n      return Promise.resolve().then(function () {\n        var resultPromise;\n        if (typeof promiseFn == \"function\") {\n          if (((resultPromise = promiseFn()), !checkIsPromise(resultPromise)))\n            throw new ERR_INVALID_RETURN_VALUE(\"instance of Promise\", \"promiseFn\", resultPromise);\n        } else if (checkIsPromise(promiseFn)) resultPromise = promiseFn;\n        else throw new ERR_INVALID_ARG_TYPE(\"promiseFn\", [\"Function\", \"Promise\"], promiseFn);\n        return Promise.resolve()\n          .then(function () {\n            return resultPromise;\n          })\n          .then(function () {\n            return NO_EXCEPTION_SENTINEL;\n          })\n          .catch(function (e) {\n            return e;\n          });\n      });\n    }\n    function expectsError(stackStartFn, actual, error, message) {\n      if (typeof error == \"string\") {\n        if (arguments.length === 4)\n          throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n        if (_typeof(actual) === \"object\" && actual !== null) {\n          if (actual.message === error)\n            throw new ERR_AMBIGUOUS_ARGUMENT(\n              \"error/message\",\n              'The error message \"'.concat(actual.message, '\" is identical to the message.'),\n            );\n        } else if (actual === error)\n          throw new ERR_AMBIGUOUS_ARGUMENT(\n            \"error/message\",\n            'The error \"'.concat(actual, '\" is identical to the message.'),\n          );\n        (message = error), (error = void 0);\n      } else if (error != null && _typeof(error) !== \"object\" && typeof error != \"function\")\n        throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n      if (actual === NO_EXCEPTION_SENTINEL) {\n        var details = \"\";\n        error && error.name && (details += \" (\".concat(error.name, \")\")),\n          (details += message ? \": \".concat(message) : \".\");\n        var fnType = stackStartFn.name === \"rejects\" ? \"rejection\" : \"exception\";\n        innerFail({\n          actual: void 0,\n          expected: error,\n          operator: stackStartFn.name,\n          message: \"Missing expected \".concat(fnType).concat(details),\n          stackStartFn,\n        });\n      }\n      if (error && !expectedException(actual, error, message, stackStartFn)) throw actual;\n    }\n    function expectsNoError(stackStartFn, actual, error, message) {\n      if (actual !== NO_EXCEPTION_SENTINEL) {\n        if (\n          (typeof error == \"string\" && ((message = error), (error = void 0)),\n          !error || expectedException(actual, error))\n        ) {\n          var details = message ? \": \".concat(message) : \".\",\n            fnType = stackStartFn.name === \"doesNotReject\" ? \"rejection\" : \"exception\";\n          innerFail({\n            actual,\n            expected: error,\n            operator: stackStartFn.name,\n            message:\n              \"Got unwanted \".concat(fnType).concat(\n                details,\n                `\n`,\n              ) + 'Actual message: \"'.concat(actual && actual.message, '\"'),\n            stackStartFn,\n          });\n        }\n        throw actual;\n      }\n    }\n    assert.throws = function throws(promiseFn) {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++)\n        args[_key2 - 1] = arguments[_key2];\n      expectsError.apply(void 0, [throws, getActual(promiseFn)].concat(args));\n    };\n    assert.rejects = function rejects(promiseFn) {\n      for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++)\n        args[_key3 - 1] = arguments[_key3];\n      return waitForActual(promiseFn).then(function (result) {\n        return expectsError.apply(void 0, [rejects, result].concat(args));\n      });\n    };\n    assert.doesNotThrow = function doesNotThrow(fn) {\n      for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++)\n        args[_key4 - 1] = arguments[_key4];\n      expectsNoError.apply(void 0, [doesNotThrow, getActual(fn)].concat(args));\n    };\n    assert.doesNotReject = function doesNotReject(fn) {\n      for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++)\n        args[_key5 - 1] = arguments[_key5];\n      return waitForActual(fn).then(function (result) {\n        return expectsNoError.apply(void 0, [doesNotReject, result].concat(args));\n      });\n    };\n    assert.ifError = function ifError(err) {\n      if (err != null) {\n        var message = \"ifError got unwanted exception: \";\n        _typeof(err) === \"object\" && typeof err.message == \"string\"\n          ? err.message.length === 0 && err.constructor\n            ? (message += err.constructor.name)\n            : (message += err.message)\n          : (message += inspect(err));\n        var newErr = new AssertionError({\n            actual: err,\n            expected: null,\n            operator: \"ifError\",\n            message,\n            stackStartFn: ifError,\n          }),\n          origStack = err.stack;\n        if (typeof origStack == \"string\") {\n          var tmp2 = origStack.split(`\n`);\n          tmp2.shift();\n          for (\n            var tmp1 = newErr.stack.split(`\n`),\n              i = 0;\n            i < tmp2.length;\n            i++\n          ) {\n            var pos = tmp1.indexOf(tmp2[i]);\n            if (pos !== -1) {\n              tmp1 = tmp1.slice(0, pos);\n              break;\n            }\n          }\n          newErr.stack = \"\"\n            .concat(\n              tmp1.join(`\n`),\n              `\n`,\n            )\n            .concat(\n              tmp2.join(`\n`),\n            );\n        }\n        throw newErr;\n      }\n    };\n    function strict() {\n      for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++)\n        args[_key6] = arguments[_key6];\n      innerOk.apply(void 0, [strict, args.length].concat(args));\n    }\n    assert.strict = objectAssign(strict, assert, {\n      equal: assert.strictEqual,\n      deepEqual: assert.deepStrictEqual,\n      notEqual: assert.notStrictEqual,\n      notDeepEqual: assert.notDeepStrictEqual,\n    });\n    assert.strict.strict = assert.strict;\n  },\n});\nvar assert_module = require_assert();\n\nfunction CallTracker() {\n  throw new Error(\"CallTracker is not supported yet\");\n}\n\nassert_module[Symbol.for(\"CommonJS\")] = 0;\nassert_module[\"CallTracker\"] = CallTracker;\nexport var {\n  AssertionError,\n  assert,\n  deepEqual,\n  deepStrictEqual,\n  doesNotReject,\n  doesNotThrow,\n  equal,\n  fail,\n  ifError,\n  notDeepEqual,\n  notDeepStrictEqual,\n  notEqual,\n  notStrictEqual,\n  ok,\n  rejects,\n  strict,\n  strictEqual,\n  throws,\n} = assert_module;\nexport default assert_module;\n",
  "// Hardcoded module \"node:assert\"\nvar { Bun } = import.meta.primordials;\nvar isDeepEqual = Bun.deepEquals;\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf,\n  __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __markAsModule = target => __defProp(target, \"__esModule\", { value: !0 });\nvar __commonJS = (cb, mod) =>\n  function () {\n    return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n  };\nvar __reExport = (target, module2, desc) => {\n    if ((module2 && typeof module2 == \"object\") || typeof module2 == \"function\")\n      for (let key of __getOwnPropNames(module2))\n        !__hasOwnProp.call(target, key) &&\n          key !== \"default\" &&\n          __defProp(target, key, {\n            get: () => module2[key],\n            enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable,\n          });\n    return target;\n  },\n  __toModule = module2 =>\n    __reExport(\n      __markAsModule(\n        __defProp(\n          module2 != null ? __create(__getProtoOf(module2)) : {},\n          \"default\",\n          module2 && module2.__esModule && \"default\" in module2\n            ? { get: () => module2.default, enumerable: !0 }\n            : { value: module2, enumerable: !0 },\n        ),\n      ),\n      module2,\n    );\n\nvar require = path => import.meta.require(path);\n\n// assert/build/internal/errors.js\nvar require_errors = __commonJS({\n  \"assert/build/internal/errors.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    var codes = {},\n      assert,\n      util;\n    function createErrorType(code, message, Base) {\n      Base || (Base = Error);\n      function getMessage(arg1, arg2, arg3) {\n        return typeof message == \"string\" ? message : message(arg1, arg2, arg3);\n      }\n      var NodeError = /* @__PURE__ */ (function (_Base) {\n        _inherits(NodeError2, _Base);\n        function NodeError2(arg1, arg2, arg3) {\n          var _this;\n          return (\n            _classCallCheck(this, NodeError2),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(NodeError2).call(this, getMessage(arg1, arg2, arg3)),\n            )),\n            (_this.code = code),\n            _this\n          );\n        }\n        return NodeError2;\n      })(Base);\n      codes[code] = NodeError;\n    }\n    function oneOf(expected, thing) {\n      if (Array.isArray(expected)) {\n        var len = expected.length;\n        return (\n          (expected = expected.map(function (i) {\n            return String(i);\n          })),\n          len > 2\n            ? \"one of \".concat(thing, \" \").concat(expected.slice(0, len - 1).join(\", \"), \", or \") + expected[len - 1]\n            : len === 2\n            ? \"one of \".concat(thing, \" \").concat(expected[0], \" or \").concat(expected[1])\n            : \"of \".concat(thing, \" \").concat(expected[0])\n        );\n      } else return \"of \".concat(thing, \" \").concat(String(expected));\n    }\n    function startsWith(str, search, pos) {\n      return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;\n    }\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function includes(str, search, start) {\n      return (\n        typeof start != \"number\" && (start = 0),\n        start + search.length > str.length ? !1 : str.indexOf(search, start) !== -1\n      );\n    }\n    createErrorType(\"ERR_AMBIGUOUS_ARGUMENT\", 'The \"%s\" argument is ambiguous. %s', TypeError);\n    createErrorType(\n      \"ERR_INVALID_ARG_TYPE\",\n      function (name, expected, actual) {\n        assert === void 0 && (assert = require_assert()), assert(typeof name == \"string\", \"'name' must be a string\");\n        var determiner;\n        typeof expected == \"string\" && startsWith(expected, \"not \")\n          ? ((determiner = \"must not be\"), (expected = expected.replace(/^not /, \"\")))\n          : (determiner = \"must be\");\n        var msg;\n        if (endsWith(name, \" argument\"))\n          msg = \"The \".concat(name, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        else {\n          var type = includes(name, \".\") ? \"property\" : \"argument\";\n          msg = 'The \"'.concat(name, '\" ').concat(type, \" \").concat(determiner, \" \").concat(oneOf(expected, \"type\"));\n        }\n        return (msg += \". Received type \".concat(_typeof(actual))), msg;\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_ARG_VALUE\",\n      function (name, value) {\n        var reason = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : \"is invalid\";\n        util === void 0 && (util = require(\"util\"));\n        var inspected = util.inspect(value);\n        return (\n          inspected.length > 128 && (inspected = \"\".concat(inspected.slice(0, 128), \"...\")),\n          \"The argument '\".concat(name, \"' \").concat(reason, \". Received \").concat(inspected)\n        );\n      },\n      TypeError,\n      RangeError,\n    );\n    createErrorType(\n      \"ERR_INVALID_RETURN_VALUE\",\n      function (input, name, value) {\n        var type;\n        return (\n          value && value.constructor && value.constructor.name\n            ? (type = \"instance of \".concat(value.constructor.name))\n            : (type = \"type \".concat(_typeof(value))),\n          \"Expected \".concat(input, ' to be returned from the \"').concat(name, '\"') +\n            \" function but got \".concat(type, \".\")\n        );\n      },\n      TypeError,\n    );\n    createErrorType(\n      \"ERR_MISSING_ARGS\",\n      function () {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n          args[_key] = arguments[_key];\n        assert === void 0 && (assert = require_assert()),\n          assert(args.length > 0, \"At least one arg needs to be specified\");\n        var msg = \"The \",\n          len = args.length;\n        switch (\n          ((args = args.map(function (a) {\n            return '\"'.concat(a, '\"');\n          })),\n          len)\n        ) {\n          case 1:\n            msg += \"\".concat(args[0], \" argument\");\n            break;\n          case 2:\n            msg += \"\".concat(args[0], \" and \").concat(args[1], \" arguments\");\n            break;\n          default:\n            (msg += args.slice(0, len - 1).join(\", \")), (msg += \", and \".concat(args[len - 1], \" arguments\"));\n            break;\n        }\n        return \"\".concat(msg, \" must be specified\");\n      },\n      TypeError,\n    );\n    module2.exports.codes = codes;\n  },\n});\n\n// assert/build/internal/assert/assertion_error.js\nvar require_assertion_error = __commonJS({\n  \"assert/build/internal/assert/assertion_error.js\"(exports, module2) {\n    \"use strict\";\n    function _objectSpread(target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i] != null ? arguments[i] : {},\n          ownKeys = Object.keys(source);\n        typeof Object.getOwnPropertySymbols == \"function\" &&\n          (ownKeys = ownKeys.concat(\n            Object.getOwnPropertySymbols(source).filter(function (sym) {\n              return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n            }),\n          )),\n          ownKeys.forEach(function (key) {\n            _defineProperty(target, key, source[key]);\n          });\n      }\n      return target;\n    }\n    function _defineProperty(obj, key, value) {\n      return (\n        key in obj\n          ? Object.defineProperty(obj, key, {\n              value,\n              enumerable: !0,\n              configurable: !0,\n              writable: !0,\n            })\n          : (obj[key] = value),\n        obj\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    function _defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        (descriptor.enumerable = descriptor.enumerable || !1),\n          (descriptor.configurable = !0),\n          \"value\" in descriptor && (descriptor.writable = !0),\n          Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n    function _createClass(Constructor, protoProps, staticProps) {\n      return (\n        protoProps && _defineProperties(Constructor.prototype, protoProps),\n        staticProps && _defineProperties(Constructor, staticProps),\n        Constructor\n      );\n    }\n    function _possibleConstructorReturn(self, call) {\n      return call && (_typeof(call) === \"object\" || typeof call == \"function\") ? call : _assertThisInitialized(self);\n    }\n    function _assertThisInitialized(self) {\n      if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return self;\n    }\n    function _inherits(subClass, superClass) {\n      if (typeof superClass != \"function\" && superClass !== null)\n        throw new TypeError(\"Super expression must either be null or a function\");\n      (subClass.prototype = Object.create(superClass && superClass.prototype, {\n        constructor: { value: subClass, writable: !0, configurable: !0 },\n      })),\n        superClass && _setPrototypeOf(subClass, superClass);\n    }\n    function _wrapNativeSuper(Class) {\n      var _cache = typeof Map == \"function\" ? new Map() : void 0;\n      return (\n        (_wrapNativeSuper = function (Class2) {\n          if (Class2 === null || !_isNativeFunction(Class2)) return Class2;\n          if (typeof Class2 != \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n          if (typeof _cache != \"undefined\") {\n            if (_cache.has(Class2)) return _cache.get(Class2);\n            _cache.set(Class2, Wrapper);\n          }\n          function Wrapper() {\n            return _construct(Class2, arguments, _getPrototypeOf(this).constructor);\n          }\n          return (\n            (Wrapper.prototype = Object.create(Class2.prototype, {\n              constructor: {\n                value: Wrapper,\n                enumerable: !1,\n                writable: !0,\n                configurable: !0,\n              },\n            })),\n            _setPrototypeOf(Wrapper, Class2)\n          );\n        }),\n        _wrapNativeSuper(Class)\n      );\n    }\n    function isNativeReflectConstruct() {\n      if (typeof Reflect == \"undefined\" || !Reflect.construct || Reflect.construct.sham) return !1;\n      if (typeof Proxy == \"function\") return !0;\n      try {\n        return Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0;\n      } catch {\n        return !1;\n      }\n    }\n    function _construct(Parent, args, Class) {\n      return (\n        isNativeReflectConstruct()\n          ? (_construct = Reflect.construct)\n          : (_construct = function (Parent2, args2, Class2) {\n              var a = [null];\n              a.push.apply(a, args2);\n              var Constructor = Function.bind.apply(Parent2, a),\n                instance = new Constructor();\n              return Class2 && _setPrototypeOf(instance, Class2.prototype), instance;\n            }),\n        _construct.apply(null, arguments)\n      );\n    }\n    function _isNativeFunction(fn) {\n      return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n    }\n    function _setPrototypeOf(o, p) {\n      return (\n        (_setPrototypeOf =\n          Object.setPrototypeOf ||\n          function (o2, p2) {\n            return (o2.__proto__ = p2), o2;\n          }),\n        _setPrototypeOf(o, p)\n      );\n    }\n    function _getPrototypeOf(o) {\n      return (\n        (_getPrototypeOf = Object.setPrototypeOf\n          ? Object.getPrototypeOf\n          : function (o2) {\n              return o2.__proto__ || Object.getPrototypeOf(o2);\n            }),\n        _getPrototypeOf(o)\n      );\n    }\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    var _require = require(\"util\"),\n      inspect = _require.inspect,\n      _require2 = require_errors(),\n      ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE;\n    function endsWith(str, search, this_len) {\n      return (\n        (this_len === void 0 || this_len > str.length) && (this_len = str.length),\n        str.substring(this_len - search.length, this_len) === search\n      );\n    }\n    function repeat(str, count) {\n      if (((count = Math.floor(count)), str.length == 0 || count == 0)) return \"\";\n      var maxCount = str.length * count;\n      for (count = Math.floor(Math.log(count) / Math.log(2)); count; ) (str += str), count--;\n      return (str += str.substring(0, maxCount - str.length)), str;\n    }\n    var blue = \"\",\n      green = \"\",\n      red = \"\",\n      white = \"\",\n      kReadableOperator = {\n        deepStrictEqual: \"Expected values to be strictly deep-equal:\",\n        strictEqual: \"Expected values to be strictly equal:\",\n        strictEqualObject: 'Expected \"actual\" to be reference-equal to \"expected\":',\n        deepEqual: \"Expected values to be loosely deep-equal:\",\n        equal: \"Expected values to be loosely equal:\",\n        notDeepStrictEqual: 'Expected \"actual\" not to be strictly deep-equal to:',\n        notStrictEqual: 'Expected \"actual\" to be strictly unequal to:',\n        notStrictEqualObject: 'Expected \"actual\" not to be reference-equal to \"expected\":',\n        notDeepEqual: 'Expected \"actual\" not to be loosely deep-equal to:',\n        notEqual: 'Expected \"actual\" to be loosely unequal to:',\n        notIdentical: \"Values identical but not reference-equal:\",\n      },\n      kMaxShortLength = 10;\n    function copyError(source) {\n      var keys = Object.keys(source),\n        target = Object.create(Object.getPrototypeOf(source));\n      return (\n        keys.forEach(function (key) {\n          target[key] = source[key];\n        }),\n        Object.defineProperty(target, \"message\", {\n          value: source.message,\n        }),\n        target\n      );\n    }\n    function inspectValue(val) {\n      return inspect(val, {\n        compact: !1,\n        customInspect: !1,\n        depth: 1e3,\n        maxArrayLength: 1 / 0,\n        showHidden: !1,\n        breakLength: 1 / 0,\n        showProxy: !1,\n        sorted: !0,\n        getters: !0,\n      });\n    }\n    function createErrDiff(actual, expected, operator) {\n      var other = \"\",\n        res = \"\",\n        lastPos = 0,\n        end = \"\",\n        skipped = !1,\n        actualInspected = inspectValue(actual),\n        actualLines = actualInspected.split(`\n`),\n        expectedLines = inspectValue(expected).split(`\n`),\n        i = 0,\n        indicator = \"\";\n      if (\n        (operator === \"strictEqual\" &&\n          _typeof(actual) === \"object\" &&\n          _typeof(expected) === \"object\" &&\n          actual !== null &&\n          expected !== null &&\n          (operator = \"strictEqualObject\"),\n        actualLines.length === 1 && expectedLines.length === 1 && actualLines[0] !== expectedLines[0])\n      ) {\n        var inputLength = actualLines[0].length + expectedLines[0].length;\n        if (inputLength <= kMaxShortLength) {\n          if (\n            (_typeof(actual) !== \"object\" || actual === null) &&\n            (_typeof(expected) !== \"object\" || expected === null) &&\n            (actual !== 0 || expected !== 0)\n          )\n            return (\n              \"\".concat(\n                kReadableOperator[operator],\n                `\n\n`,\n              ) +\n              \"\".concat(actualLines[0], \" !== \").concat(\n                expectedLines[0],\n                `\n`,\n              )\n            );\n        } else if (operator !== \"strictEqualObject\") {\n          var maxLength = process.stderr && process.stderr.isTTY ? process.stderr.columns : 80;\n          if (inputLength < maxLength) {\n            for (; actualLines[0][i] === expectedLines[0][i]; ) i++;\n            i > 2 &&\n              ((indicator = `\n  `.concat(repeat(\" \", i), \"^\")),\n              (i = 0));\n          }\n        }\n      }\n      for (\n        var a = actualLines[actualLines.length - 1], b = expectedLines[expectedLines.length - 1];\n        a === b &&\n        (i++ < 2\n          ? (end = `\n  `\n              .concat(a)\n              .concat(end))\n          : (other = a),\n        actualLines.pop(),\n        expectedLines.pop(),\n        !(actualLines.length === 0 || expectedLines.length === 0));\n\n      )\n        (a = actualLines[actualLines.length - 1]), (b = expectedLines[expectedLines.length - 1]);\n      var maxLines = Math.max(actualLines.length, expectedLines.length);\n      if (maxLines === 0) {\n        var _actualLines = actualInspected.split(`\n`);\n        if (_actualLines.length > 30)\n          for (_actualLines[26] = \"\".concat(blue, \"...\").concat(white); _actualLines.length > 27; ) _actualLines.pop();\n        return \"\"\n          .concat(\n            kReadableOperator.notIdentical,\n            `\n\n`,\n          )\n          .concat(\n            _actualLines.join(`\n`),\n            `\n`,\n          );\n      }\n      i > 3 &&\n        ((end = `\n`\n          .concat(blue, \"...\")\n          .concat(white)\n          .concat(end)),\n        (skipped = !0)),\n        other !== \"\" &&\n          ((end = `\n  `\n            .concat(other)\n            .concat(end)),\n          (other = \"\"));\n      var printedLines = 0,\n        msg =\n          kReadableOperator[operator] +\n          `\n`\n            .concat(green, \"+ actual\")\n            .concat(white, \" \")\n            .concat(red, \"- expected\")\n            .concat(white),\n        skippedMsg = \" \".concat(blue, \"...\").concat(white, \" Lines skipped\");\n      for (i = 0; i < maxLines; i++) {\n        var cur = i - lastPos;\n        if (actualLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(expectedLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(expectedLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (other += `\n`\n              .concat(red, \"-\")\n              .concat(white, \" \")\n              .concat(expectedLines[i])),\n            printedLines++;\n        else if (expectedLines.length < i + 1)\n          cur > 1 &&\n            i > 2 &&\n            (cur > 4\n              ? ((res += `\n`\n                  .concat(blue, \"...\")\n                  .concat(white)),\n                (skipped = !0))\n              : cur > 3 &&\n                ((res += `\n  `.concat(actualLines[i - 2])),\n                printedLines++),\n            (res += `\n  `.concat(actualLines[i - 1])),\n            printedLines++),\n            (lastPos = i),\n            (res += `\n`\n              .concat(green, \"+\")\n              .concat(white, \" \")\n              .concat(actualLines[i])),\n            printedLines++;\n        else {\n          var expectedLine = expectedLines[i],\n            actualLine = actualLines[i],\n            divergingLines =\n              actualLine !== expectedLine && (!endsWith(actualLine, \",\") || actualLine.slice(0, -1) !== expectedLine);\n          divergingLines &&\n            endsWith(expectedLine, \",\") &&\n            expectedLine.slice(0, -1) === actualLine &&\n            ((divergingLines = !1), (actualLine += \",\")),\n            divergingLines\n              ? (cur > 1 &&\n                  i > 2 &&\n                  (cur > 4\n                    ? ((res += `\n`\n                        .concat(blue, \"...\")\n                        .concat(white)),\n                      (skipped = !0))\n                    : cur > 3 &&\n                      ((res += `\n  `.concat(actualLines[i - 2])),\n                      printedLines++),\n                  (res += `\n  `.concat(actualLines[i - 1])),\n                  printedLines++),\n                (lastPos = i),\n                (res += `\n`\n                  .concat(green, \"+\")\n                  .concat(white, \" \")\n                  .concat(actualLine)),\n                (other += `\n`\n                  .concat(red, \"-\")\n                  .concat(white, \" \")\n                  .concat(expectedLine)),\n                (printedLines += 2))\n              : ((res += other),\n                (other = \"\"),\n                (cur === 1 || i === 0) &&\n                  ((res += `\n  `.concat(actualLine)),\n                  printedLines++));\n        }\n        if (printedLines > 20 && i < maxLines - 2)\n          return (\n            \"\"\n              .concat(msg)\n              .concat(\n                skippedMsg,\n                `\n`,\n              )\n              .concat(\n                res,\n                `\n`,\n              )\n              .concat(blue, \"...\")\n              .concat(white)\n              .concat(\n                other,\n                `\n`,\n              ) + \"\".concat(blue, \"...\").concat(white)\n          );\n      }\n      return \"\"\n        .concat(msg)\n        .concat(\n          skipped ? skippedMsg : \"\",\n          `\n`,\n        )\n        .concat(res)\n        .concat(other)\n        .concat(end)\n        .concat(indicator);\n    }\n    var AssertionError = /* @__PURE__ */ (function (_Error) {\n      _inherits(AssertionError2, _Error);\n      function AssertionError2(options) {\n        var _this;\n        if ((_classCallCheck(this, AssertionError2), _typeof(options) !== \"object\" || options === null))\n          throw new ERR_INVALID_ARG_TYPE(\"options\", \"Object\", options);\n        var message = options.message,\n          operator = options.operator,\n          stackStartFn = options.stackStartFn,\n          actual = options.actual,\n          expected = options.expected,\n          limit = Error.stackTraceLimit;\n        if (((Error.stackTraceLimit = 0), message != null))\n          _this = _possibleConstructorReturn(this, _getPrototypeOf(AssertionError2).call(this, String(message)));\n        else if (\n          (process.stderr &&\n            process.stderr.isTTY &&\n            (process.stderr && process.stderr.getColorDepth && process.stderr.getColorDepth() !== 1\n              ? ((blue = \"\u001B[34m\"), (green = \"\u001B[32m\"), (white = \"\u001B[39m\"), (red = \"\u001B[31m\"))\n              : ((blue = \"\"), (green = \"\"), (white = \"\"), (red = \"\"))),\n          _typeof(actual) === \"object\" &&\n            actual !== null &&\n            _typeof(expected) === \"object\" &&\n            expected !== null &&\n            \"stack\" in actual &&\n            actual instanceof Error &&\n            \"stack\" in expected &&\n            expected instanceof Error &&\n            ((actual = copyError(actual)), (expected = copyError(expected))),\n          operator === \"deepStrictEqual\" || operator === \"strictEqual\")\n        )\n          _this = _possibleConstructorReturn(\n            this,\n            _getPrototypeOf(AssertionError2).call(this, createErrDiff(actual, expected, operator)),\n          );\n        else if (operator === \"notDeepStrictEqual\" || operator === \"notStrictEqual\") {\n          var base = kReadableOperator[operator],\n            res = inspectValue(actual).split(`\n`);\n          if (\n            (operator === \"notStrictEqual\" &&\n              _typeof(actual) === \"object\" &&\n              actual !== null &&\n              (base = kReadableOperator.notStrictEqualObject),\n            res.length > 30)\n          )\n            for (res[26] = \"\".concat(blue, \"...\").concat(white); res.length > 27; ) res.pop();\n          res.length === 1\n            ? (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(this, \"\".concat(base, \" \").concat(res[0])),\n              ))\n            : (_this = _possibleConstructorReturn(\n                this,\n                _getPrototypeOf(AssertionError2).call(\n                  this,\n                  \"\"\n                    .concat(\n                      base,\n                      `\n\n`,\n                    )\n                    .concat(\n                      res.join(`\n`),\n                      `\n`,\n                    ),\n                ),\n              ));\n        } else {\n          var _res = inspectValue(actual),\n            other = \"\",\n            knownOperators = kReadableOperator[operator];\n          operator === \"notDeepEqual\" || operator === \"notEqual\"\n            ? ((_res = \"\"\n                .concat(\n                  kReadableOperator[operator],\n                  `\n\n`,\n                )\n                .concat(_res)),\n              _res.length > 1024 && (_res = \"\".concat(_res.slice(0, 1021), \"...\")))\n            : ((other = \"\".concat(inspectValue(expected))),\n              _res.length > 512 && (_res = \"\".concat(_res.slice(0, 509), \"...\")),\n              other.length > 512 && (other = \"\".concat(other.slice(0, 509), \"...\")),\n              operator === \"deepEqual\" || operator === \"equal\"\n                ? (_res = \"\"\n                    .concat(\n                      knownOperators,\n                      `\n\n`,\n                    )\n                    .concat(\n                      _res,\n                      `\n\nshould equal\n\n`,\n                    ))\n                : (other = \" \".concat(operator, \" \").concat(other))),\n            (_this = _possibleConstructorReturn(\n              this,\n              _getPrototypeOf(AssertionError2).call(this, \"\".concat(_res).concat(other)),\n            ));\n        }\n        return (\n          (Error.stackTraceLimit = limit),\n          (_this.generatedMessage = !message),\n          Object.defineProperty(_assertThisInitialized(_this), \"name\", {\n            value: \"AssertionError [ERR_ASSERTION]\",\n            enumerable: !1,\n            writable: !0,\n            configurable: !0,\n          }),\n          (_this.code = \"ERR_ASSERTION\"),\n          (_this.actual = actual),\n          (_this.expected = expected),\n          (_this.operator = operator),\n          Error.captureStackTrace && Error.captureStackTrace(_assertThisInitialized(_this), stackStartFn),\n          _this.stack,\n          (_this.name = \"AssertionError\"),\n          _possibleConstructorReturn(_this)\n        );\n      }\n      return (\n        _createClass(AssertionError2, [\n          {\n            key: \"toString\",\n            value: function () {\n              return \"\".concat(this.name, \" [\").concat(this.code, \"]: \").concat(this.message);\n            },\n          },\n          {\n            key: inspect.custom,\n            value: function (recurseTimes, ctx) {\n              return inspect(\n                this,\n                _objectSpread({}, ctx, {\n                  customInspect: !1,\n                  depth: 0,\n                }),\n              );\n            },\n          },\n        ]),\n        AssertionError2\n      );\n    })(_wrapNativeSuper(Error));\n    module2.exports = AssertionError;\n  },\n});\n\n// assert/build/assert.js\nvar require_assert = __commonJS({\n  \"assert/build/assert.js\"(exports, module2) {\n    \"use strict\";\n    function _typeof(obj) {\n      return (\n        typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\"\n          ? (_typeof = function (obj2) {\n              return typeof obj2;\n            })\n          : (_typeof = function (obj2) {\n              return obj2 && typeof Symbol == \"function\" && obj2.constructor === Symbol && obj2 !== Symbol.prototype\n                ? \"symbol\"\n                : typeof obj2;\n            }),\n        _typeof(obj)\n      );\n    }\n    function _classCallCheck(instance, Constructor) {\n      if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n    }\n    var _require = require_errors(),\n      _require$codes = _require.codes,\n      ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT,\n      ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,\n      ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE,\n      ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE,\n      ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,\n      AssertionError = require_assertion_error(),\n      _require2 = require(\"util\"),\n      inspect = _require2.inspect,\n      _require$types = require(\"util\").types,\n      isPromise = _require$types.isPromise,\n      isRegExp = _require$types.isRegExp,\n      objectAssign = Object.assign,\n      objectIs = Object.is,\n      errorCache = new Map();\n\n    var warned = !1,\n      assert = (module2.exports = ok),\n      NO_EXCEPTION_SENTINEL = {};\n    function innerFail(obj) {\n      throw obj.message instanceof Error ? obj.message : new AssertionError(obj);\n    }\n    function fail(actual, expected, message, operator, stackStartFn) {\n      var argsLen = arguments.length,\n        internalMessage;\n      if (argsLen === 0) internalMessage = \"Failed\";\n      else if (argsLen === 1) (message = actual), (actual = void 0);\n      else {\n        if (warned === !1) {\n          warned = !0;\n          var warn = process.emitWarning ? process.emitWarning : console.warn.bind(console);\n          warn(\n            \"assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.\",\n            \"DeprecationWarning\",\n            \"DEP0094\",\n          );\n        }\n        argsLen === 2 && (operator = \"!=\");\n      }\n      if (message instanceof Error) throw message;\n      var errArgs = {\n        actual,\n        expected,\n        operator: operator === void 0 ? \"fail\" : operator,\n        stackStartFn: stackStartFn || fail,\n      };\n      message !== void 0 && (errArgs.message = message);\n      var err = new AssertionError(errArgs);\n      throw (internalMessage && ((err.message = internalMessage), (err.generatedMessage = !0)), err);\n    }\n    assert.fail = fail;\n    assert.AssertionError = AssertionError;\n    function innerOk(fn, argLen, value, message) {\n      if (!value) {\n        var generatedMessage = !1;\n        if (argLen === 0) (generatedMessage = !0), (message = \"No value argument passed to `assert.ok()`\");\n        else if (message instanceof Error) throw message;\n        var err = new AssertionError({\n          actual: value,\n          expected: !0,\n          message,\n          operator: \"==\",\n          stackStartFn: fn,\n        });\n        throw ((err.generatedMessage = generatedMessage), err);\n      }\n    }\n    function ok() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)\n        args[_key] = arguments[_key];\n      innerOk.apply(void 0, [ok, args.length].concat(args));\n    }\n    assert.ok = ok;\n    assert.equal = function equal(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual != expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"==\",\n          stackStartFn: equal,\n        });\n    };\n    assert.notEqual = function notEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      actual == expected &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"!=\",\n          stackStartFn: notEqual,\n        });\n    };\n    assert.deepEqual = function deepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepEqual\",\n          stackStartFn: deepEqual,\n        });\n    };\n    assert.notDeepEqual = function notDeepEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      isDeepEqual(actual, expected, false) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepEqual\",\n          stackStartFn: notDeepEqual,\n        });\n    };\n    assert.deepStrictEqual = function deepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"deepStrictEqual\",\n          stackStartFn: deepStrictEqual,\n        });\n    };\n    assert.notDeepStrictEqual = notDeepStrictEqual;\n    function notDeepStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n\n      isDeepEqual(actual, expected, true) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notDeepStrictEqual\",\n          stackStartFn: notDeepStrictEqual,\n        });\n    }\n    assert.strictEqual = function strictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"strictEqual\",\n          stackStartFn: strictEqual,\n        });\n    };\n    assert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      objectIs(actual, expected) &&\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"notStrictEqual\",\n          stackStartFn: notStrictEqual,\n        });\n    };\n    assert.match = function match(actual, expected, message) {\n      if (arguments.length < 2) throw new ERR_MISSING_ARGS(\"actual\", \"expected\");\n      if (!isRegExp(expected)) throw new ERR_INVALID_ARG_TYPE(\"expected\", \"RegExp\", expected);\n      expected.test(actual) ||\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: \"match\",\n          stackStartFn: match,\n        });\n    };\n    var Comparison = function Comparison2(obj, keys, actual) {\n      var _this = this;\n      _classCallCheck(this, Comparison2),\n        keys.forEach(function (key) {\n          key in obj &&\n            (actual !== void 0 && typeof actual[key] == \"string\" && isRegExp(obj[key]) && obj[key].test(actual[key])\n              ? (_this[key] = actual[key])\n              : (_this[key] = obj[key]));\n        });\n    };\n    function compareExceptionKey(actual, expected, key, message, keys, fn) {\n      if (!(key in actual) || !isDeepEqual(actual[key], expected[key], true)) {\n        if (!message) {\n          var a = new Comparison(actual, keys),\n            b = new Comparison(expected, keys, actual),\n            err = new AssertionError({\n              actual: a,\n              expected: b,\n              operator: \"deepStrictEqual\",\n              stackStartFn: fn,\n            });\n          throw ((err.actual = actual), (err.expected = expected), (err.operator = fn.name), err);\n        }\n        innerFail({\n          actual,\n          expected,\n          message,\n          operator: fn.name,\n          stackStartFn: fn,\n        });\n      }\n    }\n    function expectedException(actual, expected, msg, fn) {\n      if (typeof expected != \"function\") {\n        if (isRegExp(expected)) return expected.test(actual);\n        if (arguments.length === 2) throw new ERR_INVALID_ARG_TYPE(\"expected\", [\"Function\", \"RegExp\"], expected);\n        if (_typeof(actual) !== \"object\" || actual === null) {\n          var err = new AssertionError({\n            actual,\n            expected,\n            message: msg,\n            operator: \"deepStrictEqual\",\n            stackStartFn: fn,\n          });\n          throw ((err.operator = fn.name), err);\n        }\n        var keys = Object.keys(expected);\n        if (expected instanceof Error) keys.push(\"name\", \"message\");\n        else if (keys.length === 0) throw new ERR_INVALID_ARG_VALUE(\"error\", expected, \"may not be an empty object\");\n        return (\n          keys.forEach(function (key) {\n            return (\n              (typeof actual[key] == \"string\" && isRegExp(expected[key]) && expected[key].test(actual[key])) ||\n              compareExceptionKey(actual, expected, key, msg, keys, fn)\n            );\n          }),\n          !0\n        );\n      }\n      return expected.prototype !== void 0 && actual instanceof expected\n        ? !0\n        : Error.isPrototypeOf(expected)\n        ? !1\n        : expected.call({}, actual) === !0;\n    }\n    function getActual(fn) {\n      if (typeof fn != \"function\") throw new ERR_INVALID_ARG_TYPE(\"fn\", \"Function\", fn);\n      try {\n        fn();\n      } catch (e) {\n        return e;\n      }\n      return NO_EXCEPTION_SENTINEL;\n    }\n    function checkIsPromise(obj) {\n      return (\n        isPromise(obj) ||\n        (obj !== null && _typeof(obj) === \"object\" && typeof obj.then == \"function\" && typeof obj.catch == \"function\")\n      );\n    }\n    function waitForActual(promiseFn) {\n      return Promise.resolve().then(function () {\n        var resultPromise;\n        if (typeof promiseFn == \"function\") {\n          if (((resultPromise = promiseFn()), !checkIsPromise(resultPromise)))\n            throw new ERR_INVALID_RETURN_VALUE(\"instance of Promise\", \"promiseFn\", resultPromise);\n        } else if (checkIsPromise(promiseFn)) resultPromise = promiseFn;\n        else throw new ERR_INVALID_ARG_TYPE(\"promiseFn\", [\"Function\", \"Promise\"], promiseFn);\n        return Promise.resolve()\n          .then(function () {\n            return resultPromise;\n          })\n          .then(function () {\n            return NO_EXCEPTION_SENTINEL;\n          })\n          .catch(function (e) {\n            return e;\n          });\n      });\n    }\n    function expectsError(stackStartFn, actual, error, message) {\n      if (typeof error == \"string\") {\n        if (arguments.length === 4)\n          throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n        if (_typeof(actual) === \"object\" && actual !== null) {\n          if (actual.message === error)\n            throw new ERR_AMBIGUOUS_ARGUMENT(\n              \"error/message\",\n              'The error message \"'.concat(actual.message, '\" is identical to the message.'),\n            );\n        } else if (actual === error)\n          throw new ERR_AMBIGUOUS_ARGUMENT(\n            \"error/message\",\n            'The error \"'.concat(actual, '\" is identical to the message.'),\n          );\n        (message = error), (error = void 0);\n      } else if (error != null && _typeof(error) !== \"object\" && typeof error != \"function\")\n        throw new ERR_INVALID_ARG_TYPE(\"error\", [\"Object\", \"Error\", \"Function\", \"RegExp\"], error);\n      if (actual === NO_EXCEPTION_SENTINEL) {\n        var details = \"\";\n        error && error.name && (details += \" (\".concat(error.name, \")\")),\n          (details += message ? \": \".concat(message) : \".\");\n        var fnType = stackStartFn.name === \"rejects\" ? \"rejection\" : \"exception\";\n        innerFail({\n          actual: void 0,\n          expected: error,\n          operator: stackStartFn.name,\n          message: \"Missing expected \".concat(fnType).concat(details),\n          stackStartFn,\n        });\n      }\n      if (error && !expectedException(actual, error, message, stackStartFn)) throw actual;\n    }\n    function expectsNoError(stackStartFn, actual, error, message) {\n      if (actual !== NO_EXCEPTION_SENTINEL) {\n        if (\n          (typeof error == \"string\" && ((message = error), (error = void 0)),\n          !error || expectedException(actual, error))\n        ) {\n          var details = message ? \": \".concat(message) : \".\",\n            fnType = stackStartFn.name === \"doesNotReject\" ? \"rejection\" : \"exception\";\n          innerFail({\n            actual,\n            expected: error,\n            operator: stackStartFn.name,\n            message:\n              \"Got unwanted \".concat(fnType).concat(\n                details,\n                `\n`,\n              ) + 'Actual message: \"'.concat(actual && actual.message, '\"'),\n            stackStartFn,\n          });\n        }\n        throw actual;\n      }\n    }\n    assert.throws = function throws(promiseFn) {\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++)\n        args[_key2 - 1] = arguments[_key2];\n      expectsError.apply(void 0, [throws, getActual(promiseFn)].concat(args));\n    };\n    assert.rejects = function rejects(promiseFn) {\n      for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++)\n        args[_key3 - 1] = arguments[_key3];\n      return waitForActual(promiseFn).then(function (result) {\n        return expectsError.apply(void 0, [rejects, result].concat(args));\n      });\n    };\n    assert.doesNotThrow = function doesNotThrow(fn) {\n      for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++)\n        args[_key4 - 1] = arguments[_key4];\n      expectsNoError.apply(void 0, [doesNotThrow, getActual(fn)].concat(args));\n    };\n    assert.doesNotReject = function doesNotReject(fn) {\n      for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++)\n        args[_key5 - 1] = arguments[_key5];\n      return waitForActual(fn).then(function (result) {\n        return expectsNoError.apply(void 0, [doesNotReject, result].concat(args));\n      });\n    };\n    assert.ifError = function ifError(err) {\n      if (err != null) {\n        var message = \"ifError got unwanted exception: \";\n        _typeof(err) === \"object\" && typeof err.message == \"string\"\n          ? err.message.length === 0 && err.constructor\n            ? (message += err.constructor.name)\n            : (message += err.message)\n          : (message += inspect(err));\n        var newErr = new AssertionError({\n            actual: err,\n            expected: null,\n            operator: \"ifError\",\n            message,\n            stackStartFn: ifError,\n          }),\n          origStack = err.stack;\n        if (typeof origStack == \"string\") {\n          var tmp2 = origStack.split(`\n`);\n          tmp2.shift();\n          for (\n            var tmp1 = newErr.stack.split(`\n`),\n              i = 0;\n            i < tmp2.length;\n            i++\n          ) {\n            var pos = tmp1.indexOf(tmp2[i]);\n            if (pos !== -1) {\n              tmp1 = tmp1.slice(0, pos);\n              break;\n            }\n          }\n          newErr.stack = \"\"\n            .concat(\n              tmp1.join(`\n`),\n              `\n`,\n            )\n            .concat(\n              tmp2.join(`\n`),\n            );\n        }\n        throw newErr;\n      }\n    };\n    function strict() {\n      for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++)\n        args[_key6] = arguments[_key6];\n      innerOk.apply(void 0, [strict, args.length].concat(args));\n    }\n    assert.strict = objectAssign(strict, assert, {\n      equal: assert.strictEqual,\n      deepEqual: assert.deepStrictEqual,\n      notEqual: assert.notStrictEqual,\n      notDeepEqual: assert.notDeepStrictEqual,\n    });\n    assert.strict.strict = assert.strict;\n  },\n});\nvar assert_module = require_assert();\n\nfunction CallTracker() {\n  throw new Error(\"CallTracker is not supported yet\");\n}\n\nassert_module[Symbol.for(\"CommonJS\")] = 0;\nassert_module[\"CallTracker\"] = CallTracker;\nexport var {\n  AssertionError,\n  assert,\n  deepEqual,\n  deepStrictEqual,\n  doesNotReject,\n  doesNotThrow,\n  equal,\n  fail,\n  ifError,\n  notDeepEqual,\n  notDeepStrictEqual,\n  notEqual,\n  notStrictEqual,\n  ok,\n  rejects,\n  strict,\n  strictEqual,\n  throws,\n} = assert_module;\nexport default assert_module;\n"
  ],
  "mappings": ";;A//////DAuwCA,IAAS,sBAAW,GAAG;AACrB,QAAM,IAAI,MAAM,kCAAkC;AAAA,KAvwC9C,QAAQ,YAAY,aACtB,cAAc,IAAI;",
  "debugId": "2D8E8643C1F8FAB464756e2164756e21",
  "names": []
}