@xwiki/cristal-realtime 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/index.js +1424 -1435
  3. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -18303,54 +18303,6 @@ var require_text = __commonJS({
18303
18303
  }
18304
18304
  });
18305
18305
 
18306
- // ../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
18307
- var require_es_object_atoms = __commonJS({
18308
- "../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports3, module3) {
18309
- "use strict";
18310
- module3.exports = Object;
18311
- }
18312
- });
18313
-
18314
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
18315
- var require_es_errors = __commonJS({
18316
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports3, module3) {
18317
- "use strict";
18318
- module3.exports = Error;
18319
- }
18320
- });
18321
-
18322
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
18323
- var require_eval = __commonJS({
18324
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports3, module3) {
18325
- "use strict";
18326
- module3.exports = EvalError;
18327
- }
18328
- });
18329
-
18330
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
18331
- var require_range = __commonJS({
18332
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports3, module3) {
18333
- "use strict";
18334
- module3.exports = RangeError;
18335
- }
18336
- });
18337
-
18338
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
18339
- var require_ref = __commonJS({
18340
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports3, module3) {
18341
- "use strict";
18342
- module3.exports = ReferenceError;
18343
- }
18344
- });
18345
-
18346
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
18347
- var require_syntax = __commonJS({
18348
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports3, module3) {
18349
- "use strict";
18350
- module3.exports = SyntaxError;
18351
- }
18352
- });
18353
-
18354
18306
  // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
18355
18307
  var require_type = __commonJS({
18356
18308
  "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports3, module3) {
@@ -18359,1573 +18311,1610 @@ var require_type = __commonJS({
18359
18311
  }
18360
18312
  });
18361
18313
 
18362
- // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
18363
- var require_uri = __commonJS({
18364
- "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports3, module3) {
18365
- "use strict";
18366
- module3.exports = URIError;
18367
- }
18368
- });
18369
-
18370
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
18371
- var require_abs = __commonJS({
18372
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports3, module3) {
18373
- "use strict";
18374
- module3.exports = Math.abs;
18375
- }
18376
- });
18377
-
18378
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
18379
- var require_floor = __commonJS({
18380
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports3, module3) {
18381
- "use strict";
18382
- module3.exports = Math.floor;
18383
- }
18384
- });
18385
-
18386
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
18387
- var require_max = __commonJS({
18388
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports3, module3) {
18389
- "use strict";
18390
- module3.exports = Math.max;
18391
- }
18392
- });
18393
-
18394
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
18395
- var require_min = __commonJS({
18396
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports3, module3) {
18397
- "use strict";
18398
- module3.exports = Math.min;
18399
- }
18400
- });
18401
-
18402
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
18403
- var require_pow = __commonJS({
18404
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports3, module3) {
18405
- "use strict";
18406
- module3.exports = Math.pow;
18407
- }
18408
- });
18409
-
18410
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
18411
- var require_round = __commonJS({
18412
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports3, module3) {
18413
- "use strict";
18414
- module3.exports = Math.round;
18415
- }
18416
- });
18417
-
18418
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
18419
- var require_isNaN = __commonJS({
18420
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports3, module3) {
18421
- "use strict";
18422
- module3.exports = Number.isNaN || function isNaN4(a) {
18423
- return a !== a;
18424
- };
18314
+ // ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js
18315
+ var require_util_inspect = __commonJS({
18316
+ "../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js"(exports3, module3) {
18317
+ module3.exports = require("util").inspect;
18425
18318
  }
18426
18319
  });
18427
18320
 
18428
- // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
18429
- var require_sign = __commonJS({
18430
- "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports3, module3) {
18431
- "use strict";
18432
- var $isNaN = require_isNaN();
18433
- module3.exports = function sign(number) {
18434
- if ($isNaN(number) || number === 0) {
18435
- return number;
18321
+ // ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js
18322
+ var require_object_inspect = __commonJS({
18323
+ "../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js"(exports3, module3) {
18324
+ var hasMap = typeof Map === "function" && Map.prototype;
18325
+ var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
18326
+ var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
18327
+ var mapForEach = hasMap && Map.prototype.forEach;
18328
+ var hasSet = typeof Set === "function" && Set.prototype;
18329
+ var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
18330
+ var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
18331
+ var setForEach = hasSet && Set.prototype.forEach;
18332
+ var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
18333
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
18334
+ var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
18335
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
18336
+ var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
18337
+ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
18338
+ var booleanValueOf = Boolean.prototype.valueOf;
18339
+ var objectToString = Object.prototype.toString;
18340
+ var functionToString = Function.prototype.toString;
18341
+ var $match = String.prototype.match;
18342
+ var $slice = String.prototype.slice;
18343
+ var $replace = String.prototype.replace;
18344
+ var $toUpperCase = String.prototype.toUpperCase;
18345
+ var $toLowerCase = String.prototype.toLowerCase;
18346
+ var $test = RegExp.prototype.test;
18347
+ var $concat = Array.prototype.concat;
18348
+ var $join = Array.prototype.join;
18349
+ var $arrSlice = Array.prototype.slice;
18350
+ var $floor = Math.floor;
18351
+ var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
18352
+ var gOPS = Object.getOwnPropertySymbols;
18353
+ var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
18354
+ var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
18355
+ var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
18356
+ var isEnumerable = Object.prototype.propertyIsEnumerable;
18357
+ var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
18358
+ return O.__proto__;
18359
+ } : null);
18360
+ function addNumericSeparator(num, str) {
18361
+ if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
18362
+ return str;
18436
18363
  }
18437
- return number < 0 ? -1 : 1;
18438
- };
18439
- }
18440
- });
18441
-
18442
- // ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
18443
- var require_gOPD = __commonJS({
18444
- "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports3, module3) {
18445
- "use strict";
18446
- module3.exports = Object.getOwnPropertyDescriptor;
18447
- }
18448
- });
18449
-
18450
- // ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
18451
- var require_gopd = __commonJS({
18452
- "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports3, module3) {
18453
- "use strict";
18454
- var $gOPD = require_gOPD();
18455
- if ($gOPD) {
18456
- try {
18457
- $gOPD([], "length");
18458
- } catch (e) {
18459
- $gOPD = null;
18364
+ var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
18365
+ if (typeof num === "number") {
18366
+ var int = num < 0 ? -$floor(-num) : $floor(num);
18367
+ if (int !== num) {
18368
+ var intStr = String(int);
18369
+ var dec = $slice.call(str, intStr.length + 1);
18370
+ return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
18371
+ }
18460
18372
  }
18373
+ return $replace.call(str, sepRegex, "$&_");
18461
18374
  }
18462
- module3.exports = $gOPD;
18463
- }
18464
- });
18465
-
18466
- // ../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
18467
- var require_es_define_property = __commonJS({
18468
- "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports3, module3) {
18469
- "use strict";
18470
- var $defineProperty = Object.defineProperty || false;
18471
- if ($defineProperty) {
18472
- try {
18473
- $defineProperty({}, "a", { value: 1 });
18474
- } catch (e) {
18475
- $defineProperty = false;
18375
+ var utilInspect = require_util_inspect();
18376
+ var inspectCustom = utilInspect.custom;
18377
+ var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
18378
+ var quotes = {
18379
+ __proto__: null,
18380
+ "double": '"',
18381
+ single: "'"
18382
+ };
18383
+ var quoteREs = {
18384
+ __proto__: null,
18385
+ "double": /(["\\])/g,
18386
+ single: /(['\\])/g
18387
+ };
18388
+ module3.exports = function inspect_(obj, options, depth, seen) {
18389
+ var opts = options || {};
18390
+ if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
18391
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
18476
18392
  }
18477
- }
18478
- module3.exports = $defineProperty;
18479
- }
18480
- });
18481
-
18482
- // ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
18483
- var require_shams = __commonJS({
18484
- "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports3, module3) {
18485
- "use strict";
18486
- module3.exports = function hasSymbols() {
18487
- if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
18488
- return false;
18393
+ if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
18394
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
18489
18395
  }
18490
- if (typeof Symbol.iterator === "symbol") {
18491
- return true;
18396
+ var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
18397
+ if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
18398
+ throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
18492
18399
  }
18493
- var obj = {};
18494
- var sym = Symbol("test");
18495
- var symObj = Object(sym);
18496
- if (typeof sym === "string") {
18497
- return false;
18400
+ if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
18401
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
18498
18402
  }
18499
- if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
18500
- return false;
18403
+ if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
18404
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
18501
18405
  }
18502
- if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
18503
- return false;
18406
+ var numericSeparator = opts.numericSeparator;
18407
+ if (typeof obj === "undefined") {
18408
+ return "undefined";
18504
18409
  }
18505
- var symVal = 42;
18506
- obj[sym] = symVal;
18507
- for (var _ in obj) {
18508
- return false;
18410
+ if (obj === null) {
18411
+ return "null";
18509
18412
  }
18510
- if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
18511
- return false;
18413
+ if (typeof obj === "boolean") {
18414
+ return obj ? "true" : "false";
18512
18415
  }
18513
- if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
18514
- return false;
18416
+ if (typeof obj === "string") {
18417
+ return inspectString(obj, opts);
18515
18418
  }
18516
- var syms = Object.getOwnPropertySymbols(obj);
18517
- if (syms.length !== 1 || syms[0] !== sym) {
18518
- return false;
18419
+ if (typeof obj === "number") {
18420
+ if (obj === 0) {
18421
+ return Infinity / obj > 0 ? "0" : "-0";
18422
+ }
18423
+ var str = String(obj);
18424
+ return numericSeparator ? addNumericSeparator(obj, str) : str;
18519
18425
  }
18520
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
18521
- return false;
18426
+ if (typeof obj === "bigint") {
18427
+ var bigIntStr = String(obj) + "n";
18428
+ return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
18522
18429
  }
18523
- if (typeof Object.getOwnPropertyDescriptor === "function") {
18524
- var descriptor = (
18525
- /** @type {PropertyDescriptor} */
18526
- Object.getOwnPropertyDescriptor(obj, sym)
18527
- );
18528
- if (descriptor.value !== symVal || descriptor.enumerable !== true) {
18529
- return false;
18530
- }
18430
+ var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
18431
+ if (typeof depth === "undefined") {
18432
+ depth = 0;
18531
18433
  }
18532
- return true;
18533
- };
18534
- }
18535
- });
18536
-
18537
- // ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
18538
- var require_has_symbols = __commonJS({
18539
- "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports3, module3) {
18540
- "use strict";
18541
- var origSymbol = typeof Symbol !== "undefined" && Symbol;
18542
- var hasSymbolSham = require_shams();
18543
- module3.exports = function hasNativeSymbols() {
18544
- if (typeof origSymbol !== "function") {
18545
- return false;
18434
+ if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
18435
+ return isArray2(obj) ? "[Array]" : "[Object]";
18546
18436
  }
18547
- if (typeof Symbol !== "function") {
18548
- return false;
18437
+ var indent = getIndent(opts, depth);
18438
+ if (typeof seen === "undefined") {
18439
+ seen = [];
18440
+ } else if (indexOf(seen, obj) >= 0) {
18441
+ return "[Circular]";
18549
18442
  }
18550
- if (typeof origSymbol("foo") !== "symbol") {
18551
- return false;
18443
+ function inspect(value, from3, noIndent) {
18444
+ if (from3) {
18445
+ seen = $arrSlice.call(seen);
18446
+ seen.push(from3);
18447
+ }
18448
+ if (noIndent) {
18449
+ var newOpts = {
18450
+ depth: opts.depth
18451
+ };
18452
+ if (has(opts, "quoteStyle")) {
18453
+ newOpts.quoteStyle = opts.quoteStyle;
18454
+ }
18455
+ return inspect_(value, newOpts, depth + 1, seen);
18456
+ }
18457
+ return inspect_(value, opts, depth + 1, seen);
18552
18458
  }
18553
- if (typeof Symbol("bar") !== "symbol") {
18554
- return false;
18459
+ if (typeof obj === "function" && !isRegExp(obj)) {
18460
+ var name2 = nameOf(obj);
18461
+ var keys3 = arrObjKeys(obj, inspect);
18462
+ return "[Function" + (name2 ? ": " + name2 : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
18555
18463
  }
18556
- return hasSymbolSham();
18557
- };
18558
- }
18559
- });
18560
-
18561
- // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
18562
- var require_Reflect_getPrototypeOf = __commonJS({
18563
- "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports3, module3) {
18564
- "use strict";
18565
- module3.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
18566
- }
18567
- });
18568
-
18569
- // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
18570
- var require_Object_getPrototypeOf = __commonJS({
18571
- "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports3, module3) {
18572
- "use strict";
18573
- var $Object = require_es_object_atoms();
18574
- module3.exports = $Object.getPrototypeOf || null;
18575
- }
18576
- });
18577
-
18578
- // ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
18579
- var require_implementation = __commonJS({
18580
- "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports3, module3) {
18581
- "use strict";
18582
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
18583
- var toStr = Object.prototype.toString;
18584
- var max4 = Math.max;
18585
- var funcType = "[object Function]";
18586
- var concatty = function concatty2(a, b) {
18587
- var arr = [];
18588
- for (var i = 0; i < a.length; i += 1) {
18589
- arr[i] = a[i];
18464
+ if (isSymbol(obj)) {
18465
+ var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
18466
+ return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
18590
18467
  }
18591
- for (var j = 0; j < b.length; j += 1) {
18592
- arr[j + a.length] = b[j];
18468
+ if (isElement(obj)) {
18469
+ var s = "<" + $toLowerCase.call(String(obj.nodeName));
18470
+ var attrs = obj.attributes || [];
18471
+ for (var i = 0; i < attrs.length; i++) {
18472
+ s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
18473
+ }
18474
+ s += ">";
18475
+ if (obj.childNodes && obj.childNodes.length) {
18476
+ s += "...";
18477
+ }
18478
+ s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
18479
+ return s;
18593
18480
  }
18594
- return arr;
18595
- };
18596
- var slicy = function slicy2(arrLike, offset) {
18597
- var arr = [];
18598
- for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
18599
- arr[j] = arrLike[i];
18481
+ if (isArray2(obj)) {
18482
+ if (obj.length === 0) {
18483
+ return "[]";
18484
+ }
18485
+ var xs = arrObjKeys(obj, inspect);
18486
+ if (indent && !singleLineValues(xs)) {
18487
+ return "[" + indentedJoin(xs, indent) + "]";
18488
+ }
18489
+ return "[ " + $join.call(xs, ", ") + " ]";
18600
18490
  }
18601
- return arr;
18602
- };
18603
- var joiny = function(arr, joiner) {
18604
- var str = "";
18605
- for (var i = 0; i < arr.length; i += 1) {
18606
- str += arr[i];
18607
- if (i + 1 < arr.length) {
18608
- str += joiner;
18491
+ if (isError(obj)) {
18492
+ var parts = arrObjKeys(obj, inspect);
18493
+ if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
18494
+ return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
18495
+ }
18496
+ if (parts.length === 0) {
18497
+ return "[" + String(obj) + "]";
18609
18498
  }
18499
+ return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
18610
18500
  }
18611
- return str;
18612
- };
18613
- module3.exports = function bind(that) {
18614
- var target = this;
18615
- if (typeof target !== "function" || toStr.apply(target) !== funcType) {
18616
- throw new TypeError(ERROR_MESSAGE + target);
18501
+ if (typeof obj === "object" && customInspect) {
18502
+ if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
18503
+ return utilInspect(obj, { depth: maxDepth - depth });
18504
+ } else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
18505
+ return obj.inspect();
18506
+ }
18617
18507
  }
18618
- var args2 = slicy(arguments, 1);
18619
- var bound;
18620
- var binder = function() {
18621
- if (this instanceof bound) {
18622
- var result = target.apply(
18623
- this,
18624
- concatty(args2, arguments)
18625
- );
18626
- if (Object(result) === result) {
18627
- return result;
18628
- }
18629
- return this;
18508
+ if (isMap(obj)) {
18509
+ var mapParts = [];
18510
+ if (mapForEach) {
18511
+ mapForEach.call(obj, function(value, key) {
18512
+ mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
18513
+ });
18630
18514
  }
18631
- return target.apply(
18632
- that,
18633
- concatty(args2, arguments)
18634
- );
18635
- };
18636
- var boundLength = max4(0, target.length - args2.length);
18637
- var boundArgs = [];
18638
- for (var i = 0; i < boundLength; i++) {
18639
- boundArgs[i] = "$" + i;
18515
+ return collectionOf("Map", mapSize.call(obj), mapParts, indent);
18640
18516
  }
18641
- bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
18642
- if (target.prototype) {
18643
- var Empty = function Empty2() {
18644
- };
18645
- Empty.prototype = target.prototype;
18646
- bound.prototype = new Empty();
18647
- Empty.prototype = null;
18517
+ if (isSet(obj)) {
18518
+ var setParts = [];
18519
+ if (setForEach) {
18520
+ setForEach.call(obj, function(value) {
18521
+ setParts.push(inspect(value, obj));
18522
+ });
18523
+ }
18524
+ return collectionOf("Set", setSize.call(obj), setParts, indent);
18648
18525
  }
18649
- return bound;
18650
- };
18651
- }
18652
- });
18653
-
18654
- // ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
18655
- var require_function_bind = __commonJS({
18656
- "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports3, module3) {
18657
- "use strict";
18658
- var implementation = require_implementation();
18659
- module3.exports = Function.prototype.bind || implementation;
18660
- }
18661
- });
18662
-
18663
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js
18664
- var require_functionCall = __commonJS({
18665
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports3, module3) {
18666
- "use strict";
18667
- module3.exports = Function.prototype.call;
18668
- }
18669
- });
18670
-
18671
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js
18672
- var require_functionApply = __commonJS({
18673
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports3, module3) {
18674
- "use strict";
18675
- module3.exports = Function.prototype.apply;
18676
- }
18677
- });
18678
-
18679
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js
18680
- var require_reflectApply = __commonJS({
18681
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports3, module3) {
18682
- "use strict";
18683
- module3.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
18684
- }
18685
- });
18686
-
18687
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js
18688
- var require_actualApply = __commonJS({
18689
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports3, module3) {
18690
- "use strict";
18691
- var bind = require_function_bind();
18692
- var $apply = require_functionApply();
18693
- var $call = require_functionCall();
18694
- var $reflectApply = require_reflectApply();
18695
- module3.exports = $reflectApply || bind.call($call, $apply);
18696
- }
18697
- });
18698
-
18699
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js
18700
- var require_call_bind_apply_helpers = __commonJS({
18701
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports3, module3) {
18702
- "use strict";
18703
- var bind = require_function_bind();
18704
- var $TypeError = require_type();
18705
- var $call = require_functionCall();
18706
- var $actualApply = require_actualApply();
18707
- module3.exports = function callBindBasic(args2) {
18708
- if (args2.length < 1 || typeof args2[0] !== "function") {
18709
- throw new $TypeError("a function is required");
18526
+ if (isWeakMap(obj)) {
18527
+ return weakCollectionOf("WeakMap");
18710
18528
  }
18711
- return $actualApply(bind, $call, args2);
18529
+ if (isWeakSet(obj)) {
18530
+ return weakCollectionOf("WeakSet");
18531
+ }
18532
+ if (isWeakRef(obj)) {
18533
+ return weakCollectionOf("WeakRef");
18534
+ }
18535
+ if (isNumber(obj)) {
18536
+ return markBoxed(inspect(Number(obj)));
18537
+ }
18538
+ if (isBigInt(obj)) {
18539
+ return markBoxed(inspect(bigIntValueOf.call(obj)));
18540
+ }
18541
+ if (isBoolean(obj)) {
18542
+ return markBoxed(booleanValueOf.call(obj));
18543
+ }
18544
+ if (isString(obj)) {
18545
+ return markBoxed(inspect(String(obj)));
18546
+ }
18547
+ if (typeof window !== "undefined" && obj === window) {
18548
+ return "{ [object Window] }";
18549
+ }
18550
+ if (typeof globalThis !== "undefined" && obj === globalThis || typeof global !== "undefined" && obj === global) {
18551
+ return "{ [object globalThis] }";
18552
+ }
18553
+ if (!isDate(obj) && !isRegExp(obj)) {
18554
+ var ys = arrObjKeys(obj, inspect);
18555
+ var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
18556
+ var protoTag = obj instanceof Object ? "" : "null prototype";
18557
+ var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
18558
+ var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
18559
+ var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
18560
+ if (ys.length === 0) {
18561
+ return tag + "{}";
18562
+ }
18563
+ if (indent) {
18564
+ return tag + "{" + indentedJoin(ys, indent) + "}";
18565
+ }
18566
+ return tag + "{ " + $join.call(ys, ", ") + " }";
18567
+ }
18568
+ return String(obj);
18712
18569
  };
18713
- }
18714
- });
18715
-
18716
- // ../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
18717
- var require_get = __commonJS({
18718
- "../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports3, module3) {
18719
- "use strict";
18720
- var callBind = require_call_bind_apply_helpers();
18721
- var gOPD = require_gopd();
18722
- var hasProtoAccessor;
18723
- try {
18724
- hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
18725
- [].__proto__ === Array.prototype;
18726
- } catch (e) {
18727
- if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
18728
- throw e;
18570
+ function wrapQuotes(s, defaultStyle, opts) {
18571
+ var style = opts.quoteStyle || defaultStyle;
18572
+ var quoteChar = quotes[style];
18573
+ return quoteChar + s + quoteChar;
18574
+ }
18575
+ function quote(s) {
18576
+ return $replace.call(String(s), /"/g, "&quot;");
18577
+ }
18578
+ function isArray2(obj) {
18579
+ return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18580
+ }
18581
+ function isDate(obj) {
18582
+ return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18583
+ }
18584
+ function isRegExp(obj) {
18585
+ return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18586
+ }
18587
+ function isError(obj) {
18588
+ return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18589
+ }
18590
+ function isString(obj) {
18591
+ return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18592
+ }
18593
+ function isNumber(obj) {
18594
+ return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18595
+ }
18596
+ function isBoolean(obj) {
18597
+ return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
18598
+ }
18599
+ function isSymbol(obj) {
18600
+ if (hasShammedSymbols) {
18601
+ return obj && typeof obj === "object" && obj instanceof Symbol;
18602
+ }
18603
+ if (typeof obj === "symbol") {
18604
+ return true;
18729
18605
  }
18606
+ if (!obj || typeof obj !== "object" || !symToString) {
18607
+ return false;
18608
+ }
18609
+ try {
18610
+ symToString.call(obj);
18611
+ return true;
18612
+ } catch (e) {
18613
+ }
18614
+ return false;
18730
18615
  }
18731
- var desc = !!hasProtoAccessor && gOPD && gOPD(
18732
- Object.prototype,
18733
- /** @type {keyof typeof Object.prototype} */
18734
- "__proto__"
18735
- );
18736
- var $Object = Object;
18737
- var $getPrototypeOf = $Object.getPrototypeOf;
18738
- module3.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
18739
- /** @type {import('./get')} */
18740
- function getDunder(value) {
18741
- return $getPrototypeOf(value == null ? value : $Object(value));
18616
+ function isBigInt(obj) {
18617
+ if (!obj || typeof obj !== "object" || !bigIntValueOf) {
18618
+ return false;
18742
18619
  }
18743
- ) : false;
18744
- }
18745
- });
18746
-
18747
- // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
18748
- var require_get_proto = __commonJS({
18749
- "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports3, module3) {
18750
- "use strict";
18751
- var reflectGetProto = require_Reflect_getPrototypeOf();
18752
- var originalGetProto = require_Object_getPrototypeOf();
18753
- var getDunderProto = require_get();
18754
- module3.exports = reflectGetProto ? function getProto(O) {
18755
- return reflectGetProto(O);
18756
- } : originalGetProto ? function getProto(O) {
18757
- if (!O || typeof O !== "object" && typeof O !== "function") {
18758
- throw new TypeError("getProto: not an object");
18620
+ try {
18621
+ bigIntValueOf.call(obj);
18622
+ return true;
18623
+ } catch (e) {
18624
+ }
18625
+ return false;
18626
+ }
18627
+ var hasOwn = Object.prototype.hasOwnProperty || function(key) {
18628
+ return key in this;
18629
+ };
18630
+ function has(obj, key) {
18631
+ return hasOwn.call(obj, key);
18632
+ }
18633
+ function toStr(obj) {
18634
+ return objectToString.call(obj);
18635
+ }
18636
+ function nameOf(f) {
18637
+ if (f.name) {
18638
+ return f.name;
18639
+ }
18640
+ var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
18641
+ if (m) {
18642
+ return m[1];
18643
+ }
18644
+ return null;
18645
+ }
18646
+ function indexOf(xs, x) {
18647
+ if (xs.indexOf) {
18648
+ return xs.indexOf(x);
18649
+ }
18650
+ for (var i = 0, l = xs.length; i < l; i++) {
18651
+ if (xs[i] === x) {
18652
+ return i;
18653
+ }
18654
+ }
18655
+ return -1;
18656
+ }
18657
+ function isMap(x) {
18658
+ if (!mapSize || !x || typeof x !== "object") {
18659
+ return false;
18660
+ }
18661
+ try {
18662
+ mapSize.call(x);
18663
+ try {
18664
+ setSize.call(x);
18665
+ } catch (s) {
18666
+ return true;
18667
+ }
18668
+ return x instanceof Map;
18669
+ } catch (e) {
18670
+ }
18671
+ return false;
18672
+ }
18673
+ function isWeakMap(x) {
18674
+ if (!weakMapHas || !x || typeof x !== "object") {
18675
+ return false;
18676
+ }
18677
+ try {
18678
+ weakMapHas.call(x, weakMapHas);
18679
+ try {
18680
+ weakSetHas.call(x, weakSetHas);
18681
+ } catch (s) {
18682
+ return true;
18683
+ }
18684
+ return x instanceof WeakMap;
18685
+ } catch (e) {
18686
+ }
18687
+ return false;
18688
+ }
18689
+ function isWeakRef(x) {
18690
+ if (!weakRefDeref || !x || typeof x !== "object") {
18691
+ return false;
18759
18692
  }
18760
- return originalGetProto(O);
18761
- } : getDunderProto ? function getProto(O) {
18762
- return getDunderProto(O);
18763
- } : null;
18764
- }
18765
- });
18766
-
18767
- // ../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
18768
- var require_hasown = __commonJS({
18769
- "../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports3, module3) {
18770
- "use strict";
18771
- var call = Function.prototype.call;
18772
- var $hasOwn = Object.prototype.hasOwnProperty;
18773
- var bind = require_function_bind();
18774
- module3.exports = bind.call(call, $hasOwn);
18775
- }
18776
- });
18777
-
18778
- // ../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js
18779
- var require_get_intrinsic = __commonJS({
18780
- "../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js"(exports3, module3) {
18781
- "use strict";
18782
- var undefined2;
18783
- var $Object = require_es_object_atoms();
18784
- var $Error = require_es_errors();
18785
- var $EvalError = require_eval();
18786
- var $RangeError = require_range();
18787
- var $ReferenceError = require_ref();
18788
- var $SyntaxError = require_syntax();
18789
- var $TypeError = require_type();
18790
- var $URIError = require_uri();
18791
- var abs2 = require_abs();
18792
- var floor4 = require_floor();
18793
- var max4 = require_max();
18794
- var min4 = require_min();
18795
- var pow = require_pow();
18796
- var round = require_round();
18797
- var sign = require_sign();
18798
- var $Function = Function;
18799
- var getEvalledConstructor = function(expressionSyntax) {
18800
18693
  try {
18801
- return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
18694
+ weakRefDeref.call(x);
18695
+ return true;
18802
18696
  } catch (e) {
18803
18697
  }
18804
- };
18805
- var $gOPD = require_gopd();
18806
- var $defineProperty = require_es_define_property();
18807
- var throwTypeError = function() {
18808
- throw new $TypeError();
18809
- };
18810
- var ThrowTypeError = $gOPD ? function() {
18698
+ return false;
18699
+ }
18700
+ function isSet(x) {
18701
+ if (!setSize || !x || typeof x !== "object") {
18702
+ return false;
18703
+ }
18811
18704
  try {
18812
- arguments.callee;
18813
- return throwTypeError;
18814
- } catch (calleeThrows) {
18705
+ setSize.call(x);
18815
18706
  try {
18816
- return $gOPD(arguments, "callee").get;
18817
- } catch (gOPDthrows) {
18818
- return throwTypeError;
18707
+ mapSize.call(x);
18708
+ } catch (m) {
18709
+ return true;
18819
18710
  }
18711
+ return x instanceof Set;
18712
+ } catch (e) {
18713
+ }
18714
+ return false;
18715
+ }
18716
+ function isWeakSet(x) {
18717
+ if (!weakSetHas || !x || typeof x !== "object") {
18718
+ return false;
18820
18719
  }
18821
- }() : throwTypeError;
18822
- var hasSymbols = require_has_symbols()();
18823
- var getProto = require_get_proto();
18824
- var $ObjectGPO = require_Object_getPrototypeOf();
18825
- var $ReflectGPO = require_Reflect_getPrototypeOf();
18826
- var $apply = require_functionApply();
18827
- var $call = require_functionCall();
18828
- var needsEval = {};
18829
- var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
18830
- var INTRINSICS = {
18831
- __proto__: null,
18832
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
18833
- "%Array%": Array,
18834
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
18835
- "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
18836
- "%AsyncFromSyncIteratorPrototype%": undefined2,
18837
- "%AsyncFunction%": needsEval,
18838
- "%AsyncGenerator%": needsEval,
18839
- "%AsyncGeneratorFunction%": needsEval,
18840
- "%AsyncIteratorPrototype%": needsEval,
18841
- "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
18842
- "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
18843
- "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
18844
- "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
18845
- "%Boolean%": Boolean,
18846
- "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
18847
- "%Date%": Date,
18848
- "%decodeURI%": decodeURI,
18849
- "%decodeURIComponent%": decodeURIComponent,
18850
- "%encodeURI%": encodeURI,
18851
- "%encodeURIComponent%": encodeURIComponent,
18852
- "%Error%": $Error,
18853
- "%eval%": eval,
18854
- // eslint-disable-line no-eval
18855
- "%EvalError%": $EvalError,
18856
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
18857
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
18858
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
18859
- "%Function%": $Function,
18860
- "%GeneratorFunction%": needsEval,
18861
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
18862
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
18863
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
18864
- "%isFinite%": isFinite,
18865
- "%isNaN%": isNaN,
18866
- "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
18867
- "%JSON%": typeof JSON === "object" ? JSON : undefined2,
18868
- "%Map%": typeof Map === "undefined" ? undefined2 : Map,
18869
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
18870
- "%Math%": Math,
18871
- "%Number%": Number,
18872
- "%Object%": $Object,
18873
- "%Object.getOwnPropertyDescriptor%": $gOPD,
18874
- "%parseFloat%": parseFloat,
18875
- "%parseInt%": parseInt,
18876
- "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
18877
- "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
18878
- "%RangeError%": $RangeError,
18879
- "%ReferenceError%": $ReferenceError,
18880
- "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
18881
- "%RegExp%": RegExp,
18882
- "%Set%": typeof Set === "undefined" ? undefined2 : Set,
18883
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
18884
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
18885
- "%String%": String,
18886
- "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
18887
- "%Symbol%": hasSymbols ? Symbol : undefined2,
18888
- "%SyntaxError%": $SyntaxError,
18889
- "%ThrowTypeError%": ThrowTypeError,
18890
- "%TypedArray%": TypedArray,
18891
- "%TypeError%": $TypeError,
18892
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
18893
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
18894
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
18895
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
18896
- "%URIError%": $URIError,
18897
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
18898
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
18899
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
18900
- "%Function.prototype.call%": $call,
18901
- "%Function.prototype.apply%": $apply,
18902
- "%Object.defineProperty%": $defineProperty,
18903
- "%Object.getPrototypeOf%": $ObjectGPO,
18904
- "%Math.abs%": abs2,
18905
- "%Math.floor%": floor4,
18906
- "%Math.max%": max4,
18907
- "%Math.min%": min4,
18908
- "%Math.pow%": pow,
18909
- "%Math.round%": round,
18910
- "%Math.sign%": sign,
18911
- "%Reflect.getPrototypeOf%": $ReflectGPO
18912
- };
18913
- if (getProto) {
18914
18720
  try {
18915
- null.error;
18721
+ weakSetHas.call(x, weakSetHas);
18722
+ try {
18723
+ weakMapHas.call(x, weakMapHas);
18724
+ } catch (s) {
18725
+ return true;
18726
+ }
18727
+ return x instanceof WeakSet;
18916
18728
  } catch (e) {
18917
- errorProto = getProto(getProto(e));
18918
- INTRINSICS["%Error.prototype%"] = errorProto;
18919
18729
  }
18730
+ return false;
18920
18731
  }
18921
- var errorProto;
18922
- var doEval = function doEval2(name2) {
18923
- var value;
18924
- if (name2 === "%AsyncFunction%") {
18925
- value = getEvalledConstructor("async function () {}");
18926
- } else if (name2 === "%GeneratorFunction%") {
18927
- value = getEvalledConstructor("function* () {}");
18928
- } else if (name2 === "%AsyncGeneratorFunction%") {
18929
- value = getEvalledConstructor("async function* () {}");
18930
- } else if (name2 === "%AsyncGenerator%") {
18931
- var fn = doEval2("%AsyncGeneratorFunction%");
18932
- if (fn) {
18933
- value = fn.prototype;
18934
- }
18935
- } else if (name2 === "%AsyncIteratorPrototype%") {
18936
- var gen = doEval2("%AsyncGenerator%");
18937
- if (gen && getProto) {
18938
- value = getProto(gen.prototype);
18939
- }
18732
+ function isElement(x) {
18733
+ if (!x || typeof x !== "object") {
18734
+ return false;
18940
18735
  }
18941
- INTRINSICS[name2] = value;
18942
- return value;
18943
- };
18944
- var LEGACY_ALIASES = {
18945
- __proto__: null,
18946
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
18947
- "%ArrayPrototype%": ["Array", "prototype"],
18948
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
18949
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
18950
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
18951
- "%ArrayProto_values%": ["Array", "prototype", "values"],
18952
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
18953
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
18954
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
18955
- "%BooleanPrototype%": ["Boolean", "prototype"],
18956
- "%DataViewPrototype%": ["DataView", "prototype"],
18957
- "%DatePrototype%": ["Date", "prototype"],
18958
- "%ErrorPrototype%": ["Error", "prototype"],
18959
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
18960
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
18961
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
18962
- "%FunctionPrototype%": ["Function", "prototype"],
18963
- "%Generator%": ["GeneratorFunction", "prototype"],
18964
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
18965
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
18966
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
18967
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
18968
- "%JSONParse%": ["JSON", "parse"],
18969
- "%JSONStringify%": ["JSON", "stringify"],
18970
- "%MapPrototype%": ["Map", "prototype"],
18971
- "%NumberPrototype%": ["Number", "prototype"],
18972
- "%ObjectPrototype%": ["Object", "prototype"],
18973
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
18974
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
18975
- "%PromisePrototype%": ["Promise", "prototype"],
18976
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
18977
- "%Promise_all%": ["Promise", "all"],
18978
- "%Promise_reject%": ["Promise", "reject"],
18979
- "%Promise_resolve%": ["Promise", "resolve"],
18980
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
18981
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
18982
- "%RegExpPrototype%": ["RegExp", "prototype"],
18983
- "%SetPrototype%": ["Set", "prototype"],
18984
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
18985
- "%StringPrototype%": ["String", "prototype"],
18986
- "%SymbolPrototype%": ["Symbol", "prototype"],
18987
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
18988
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
18989
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
18990
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
18991
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
18992
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
18993
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
18994
- "%URIErrorPrototype%": ["URIError", "prototype"],
18995
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
18996
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
18997
- };
18998
- var bind = require_function_bind();
18999
- var hasOwn = require_hasown();
19000
- var $concat = bind.call($call, Array.prototype.concat);
19001
- var $spliceApply = bind.call($apply, Array.prototype.splice);
19002
- var $replace = bind.call($call, String.prototype.replace);
19003
- var $strSlice = bind.call($call, String.prototype.slice);
19004
- var $exec = bind.call($call, RegExp.prototype.exec);
19005
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
19006
- var reEscapeChar = /\\(\\)?/g;
19007
- var stringToPath = function stringToPath2(string) {
19008
- var first = $strSlice(string, 0, 1);
19009
- var last2 = $strSlice(string, -1);
19010
- if (first === "%" && last2 !== "%") {
19011
- throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
19012
- } else if (last2 === "%" && first !== "%") {
19013
- throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
18736
+ if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
18737
+ return true;
19014
18738
  }
19015
- var result = [];
19016
- $replace(string, rePropName, function(match, number, quote, subString) {
19017
- result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
19018
- });
19019
- return result;
19020
- };
19021
- var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
19022
- var intrinsicName = name2;
19023
- var alias;
19024
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
19025
- alias = LEGACY_ALIASES[intrinsicName];
19026
- intrinsicName = "%" + alias[0] + "%";
18739
+ return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
18740
+ }
18741
+ function inspectString(str, opts) {
18742
+ if (str.length > opts.maxStringLength) {
18743
+ var remaining = str.length - opts.maxStringLength;
18744
+ var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
18745
+ return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
18746
+ }
18747
+ var quoteRE = quoteREs[opts.quoteStyle || "single"];
18748
+ quoteRE.lastIndex = 0;
18749
+ var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
18750
+ return wrapQuotes(s, "single", opts);
18751
+ }
18752
+ function lowbyte(c) {
18753
+ var n = c.charCodeAt(0);
18754
+ var x = {
18755
+ 8: "b",
18756
+ 9: "t",
18757
+ 10: "n",
18758
+ 12: "f",
18759
+ 13: "r"
18760
+ }[n];
18761
+ if (x) {
18762
+ return "\\" + x;
19027
18763
  }
19028
- if (hasOwn(INTRINSICS, intrinsicName)) {
19029
- var value = INTRINSICS[intrinsicName];
19030
- if (value === needsEval) {
19031
- value = doEval(intrinsicName);
19032
- }
19033
- if (typeof value === "undefined" && !allowMissing) {
19034
- throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
18764
+ return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
18765
+ }
18766
+ function markBoxed(str) {
18767
+ return "Object(" + str + ")";
18768
+ }
18769
+ function weakCollectionOf(type2) {
18770
+ return type2 + " { ? }";
18771
+ }
18772
+ function collectionOf(type2, size2, entries, indent) {
18773
+ var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
18774
+ return type2 + " (" + size2 + ") {" + joinedEntries + "}";
18775
+ }
18776
+ function singleLineValues(xs) {
18777
+ for (var i = 0; i < xs.length; i++) {
18778
+ if (indexOf(xs[i], "\n") >= 0) {
18779
+ return false;
19035
18780
  }
19036
- return {
19037
- alias,
19038
- name: intrinsicName,
19039
- value
19040
- };
19041
18781
  }
19042
- throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
19043
- };
19044
- module3.exports = function GetIntrinsic(name2, allowMissing) {
19045
- if (typeof name2 !== "string" || name2.length === 0) {
19046
- throw new $TypeError("intrinsic name must be a non-empty string");
18782
+ return true;
18783
+ }
18784
+ function getIndent(opts, depth) {
18785
+ var baseIndent;
18786
+ if (opts.indent === " ") {
18787
+ baseIndent = " ";
18788
+ } else if (typeof opts.indent === "number" && opts.indent > 0) {
18789
+ baseIndent = $join.call(Array(opts.indent + 1), " ");
18790
+ } else {
18791
+ return null;
19047
18792
  }
19048
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
19049
- throw new $TypeError('"allowMissing" argument must be a boolean');
18793
+ return {
18794
+ base: baseIndent,
18795
+ prev: $join.call(Array(depth + 1), baseIndent)
18796
+ };
18797
+ }
18798
+ function indentedJoin(xs, indent) {
18799
+ if (xs.length === 0) {
18800
+ return "";
19050
18801
  }
19051
- if ($exec(/^%?[^%]*%?$/, name2) === null) {
19052
- throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
18802
+ var lineJoiner = "\n" + indent.prev + indent.base;
18803
+ return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
18804
+ }
18805
+ function arrObjKeys(obj, inspect) {
18806
+ var isArr = isArray2(obj);
18807
+ var xs = [];
18808
+ if (isArr) {
18809
+ xs.length = obj.length;
18810
+ for (var i = 0; i < obj.length; i++) {
18811
+ xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
18812
+ }
19053
18813
  }
19054
- var parts = stringToPath(name2);
19055
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
19056
- var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
19057
- var intrinsicRealName = intrinsic.name;
19058
- var value = intrinsic.value;
19059
- var skipFurtherCaching = false;
19060
- var alias = intrinsic.alias;
19061
- if (alias) {
19062
- intrinsicBaseName = alias[0];
19063
- $spliceApply(parts, $concat([0, 1], alias));
18814
+ var syms = typeof gOPS === "function" ? gOPS(obj) : [];
18815
+ var symMap;
18816
+ if (hasShammedSymbols) {
18817
+ symMap = {};
18818
+ for (var k = 0; k < syms.length; k++) {
18819
+ symMap["$" + syms[k]] = syms[k];
18820
+ }
19064
18821
  }
19065
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
19066
- var part = parts[i];
19067
- var first = $strSlice(part, 0, 1);
19068
- var last2 = $strSlice(part, -1);
19069
- if ((first === '"' || first === "'" || first === "`" || (last2 === '"' || last2 === "'" || last2 === "`")) && first !== last2) {
19070
- throw new $SyntaxError("property names with quotes must have matching quotes");
18822
+ for (var key in obj) {
18823
+ if (!has(obj, key)) {
18824
+ continue;
19071
18825
  }
19072
- if (part === "constructor" || !isOwn) {
19073
- skipFurtherCaching = true;
18826
+ if (isArr && String(Number(key)) === key && key < obj.length) {
18827
+ continue;
19074
18828
  }
19075
- intrinsicBaseName += "." + part;
19076
- intrinsicRealName = "%" + intrinsicBaseName + "%";
19077
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
19078
- value = INTRINSICS[intrinsicRealName];
19079
- } else if (value != null) {
19080
- if (!(part in value)) {
19081
- if (!allowMissing) {
19082
- throw new $TypeError("base intrinsic for " + name2 + " exists, but the property is not available.");
19083
- }
19084
- return void 0;
19085
- }
19086
- if ($gOPD && i + 1 >= parts.length) {
19087
- var desc = $gOPD(value, part);
19088
- isOwn = !!desc;
19089
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
19090
- value = desc.get;
19091
- } else {
19092
- value = value[part];
19093
- }
19094
- } else {
19095
- isOwn = hasOwn(value, part);
19096
- value = value[part];
19097
- }
19098
- if (isOwn && !skipFurtherCaching) {
19099
- INTRINSICS[intrinsicRealName] = value;
18829
+ if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
18830
+ continue;
18831
+ } else if ($test.call(/[^\w$]/, key)) {
18832
+ xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
18833
+ } else {
18834
+ xs.push(key + ": " + inspect(obj[key], obj));
18835
+ }
18836
+ }
18837
+ if (typeof gOPS === "function") {
18838
+ for (var j = 0; j < syms.length; j++) {
18839
+ if (isEnumerable.call(obj, syms[j])) {
18840
+ xs.push("[" + inspect(syms[j]) + "]: " + inspect(obj[syms[j]], obj));
19100
18841
  }
19101
18842
  }
19102
18843
  }
19103
- return value;
19104
- };
18844
+ return xs;
18845
+ }
19105
18846
  }
19106
18847
  });
19107
18848
 
19108
- // ../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
19109
- var require_define_data_property = __commonJS({
19110
- "../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(exports3, module3) {
18849
+ // ../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js
18850
+ var require_side_channel_list = __commonJS({
18851
+ "../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js"(exports3, module3) {
19111
18852
  "use strict";
19112
- var $defineProperty = require_es_define_property();
19113
- var $SyntaxError = require_syntax();
18853
+ var inspect = require_object_inspect();
19114
18854
  var $TypeError = require_type();
19115
- var gopd = require_gopd();
19116
- module3.exports = function defineDataProperty(obj, property, value) {
19117
- if (!obj || typeof obj !== "object" && typeof obj !== "function") {
19118
- throw new $TypeError("`obj` must be an object or a function`");
19119
- }
19120
- if (typeof property !== "string" && typeof property !== "symbol") {
19121
- throw new $TypeError("`property` must be a string or a symbol`");
19122
- }
19123
- if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
19124
- throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
18855
+ var listGetNode = function(list, key, isDelete) {
18856
+ var prev = list;
18857
+ var curr;
18858
+ for (; (curr = prev.next) != null; prev = curr) {
18859
+ if (curr.key === key) {
18860
+ prev.next = curr.next;
18861
+ if (!isDelete) {
18862
+ curr.next = /** @type {NonNullable<typeof list.next>} */
18863
+ list.next;
18864
+ list.next = curr;
18865
+ }
18866
+ return curr;
18867
+ }
19125
18868
  }
19126
- if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
19127
- throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
18869
+ };
18870
+ var listGet = function(objects, key) {
18871
+ if (!objects) {
18872
+ return void 0;
19128
18873
  }
19129
- if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
19130
- throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
18874
+ var node = listGetNode(objects, key);
18875
+ return node && node.value;
18876
+ };
18877
+ var listSet = function(objects, key, value) {
18878
+ var node = listGetNode(objects, key);
18879
+ if (node) {
18880
+ node.value = value;
18881
+ } else {
18882
+ objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */
18883
+ {
18884
+ // eslint-disable-line no-param-reassign, no-extra-parens
18885
+ key,
18886
+ next: objects.next,
18887
+ value
18888
+ };
19131
18889
  }
19132
- if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
19133
- throw new $TypeError("`loose`, if provided, must be a boolean");
18890
+ };
18891
+ var listHas = function(objects, key) {
18892
+ if (!objects) {
18893
+ return false;
19134
18894
  }
19135
- var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
19136
- var nonWritable = arguments.length > 4 ? arguments[4] : null;
19137
- var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
19138
- var loose = arguments.length > 6 ? arguments[6] : false;
19139
- var desc = !!gopd && gopd(obj, property);
19140
- if ($defineProperty) {
19141
- $defineProperty(obj, property, {
19142
- configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
19143
- enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
19144
- value,
19145
- writable: nonWritable === null && desc ? desc.writable : !nonWritable
19146
- });
19147
- } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
19148
- obj[property] = value;
19149
- } else {
19150
- throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
18895
+ return !!listGetNode(objects, key);
18896
+ };
18897
+ var listDelete = function(objects, key) {
18898
+ if (objects) {
18899
+ return listGetNode(objects, key, true);
19151
18900
  }
19152
18901
  };
18902
+ module3.exports = function getSideChannelList() {
18903
+ var $o;
18904
+ var channel = {
18905
+ assert: function(key) {
18906
+ if (!channel.has(key)) {
18907
+ throw new $TypeError("Side channel does not contain " + inspect(key));
18908
+ }
18909
+ },
18910
+ "delete": function(key) {
18911
+ var root = $o && $o.next;
18912
+ var deletedNode = listDelete($o, key);
18913
+ if (deletedNode && root && root === deletedNode) {
18914
+ $o = void 0;
18915
+ }
18916
+ return !!deletedNode;
18917
+ },
18918
+ get: function(key) {
18919
+ return listGet($o, key);
18920
+ },
18921
+ has: function(key) {
18922
+ return listHas($o, key);
18923
+ },
18924
+ set: function(key, value) {
18925
+ if (!$o) {
18926
+ $o = {
18927
+ next: void 0
18928
+ };
18929
+ }
18930
+ listSet(
18931
+ /** @type {NonNullable<typeof $o>} */
18932
+ $o,
18933
+ key,
18934
+ value
18935
+ );
18936
+ }
18937
+ };
18938
+ return channel;
18939
+ };
18940
+ }
18941
+ });
18942
+
18943
+ // ../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
18944
+ var require_es_object_atoms = __commonJS({
18945
+ "../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports3, module3) {
18946
+ "use strict";
18947
+ module3.exports = Object;
18948
+ }
18949
+ });
18950
+
18951
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
18952
+ var require_es_errors = __commonJS({
18953
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports3, module3) {
18954
+ "use strict";
18955
+ module3.exports = Error;
18956
+ }
18957
+ });
18958
+
18959
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
18960
+ var require_eval = __commonJS({
18961
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports3, module3) {
18962
+ "use strict";
18963
+ module3.exports = EvalError;
18964
+ }
18965
+ });
18966
+
18967
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
18968
+ var require_range = __commonJS({
18969
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports3, module3) {
18970
+ "use strict";
18971
+ module3.exports = RangeError;
18972
+ }
18973
+ });
18974
+
18975
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
18976
+ var require_ref = __commonJS({
18977
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports3, module3) {
18978
+ "use strict";
18979
+ module3.exports = ReferenceError;
18980
+ }
18981
+ });
18982
+
18983
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
18984
+ var require_syntax = __commonJS({
18985
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports3, module3) {
18986
+ "use strict";
18987
+ module3.exports = SyntaxError;
19153
18988
  }
19154
18989
  });
19155
18990
 
19156
- // ../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
19157
- var require_has_property_descriptors = __commonJS({
19158
- "../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports3, module3) {
18991
+ // ../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
18992
+ var require_uri = __commonJS({
18993
+ "../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports3, module3) {
19159
18994
  "use strict";
19160
- var $defineProperty = require_es_define_property();
19161
- var hasPropertyDescriptors = function hasPropertyDescriptors2() {
19162
- return !!$defineProperty;
19163
- };
19164
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
19165
- if (!$defineProperty) {
19166
- return null;
19167
- }
19168
- try {
19169
- return $defineProperty([], "length", { value: 1 }).length !== 1;
19170
- } catch (e) {
19171
- return true;
19172
- }
19173
- };
19174
- module3.exports = hasPropertyDescriptors;
18995
+ module3.exports = URIError;
19175
18996
  }
19176
18997
  });
19177
18998
 
19178
- // ../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
19179
- var require_set_function_length = __commonJS({
19180
- "../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports3, module3) {
18999
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
19000
+ var require_abs = __commonJS({
19001
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports3, module3) {
19181
19002
  "use strict";
19182
- var GetIntrinsic = require_get_intrinsic();
19183
- var define = require_define_data_property();
19184
- var hasDescriptors = require_has_property_descriptors()();
19185
- var gOPD = require_gopd();
19186
- var $TypeError = require_type();
19187
- var $floor = GetIntrinsic("%Math.floor%");
19188
- module3.exports = function setFunctionLength(fn, length3) {
19189
- if (typeof fn !== "function") {
19190
- throw new $TypeError("`fn` is not a function");
19191
- }
19192
- if (typeof length3 !== "number" || length3 < 0 || length3 > 4294967295 || $floor(length3) !== length3) {
19193
- throw new $TypeError("`length` must be a positive 32-bit integer");
19194
- }
19195
- var loose = arguments.length > 2 && !!arguments[2];
19196
- var functionLengthIsConfigurable = true;
19197
- var functionLengthIsWritable = true;
19198
- if ("length" in fn && gOPD) {
19199
- var desc = gOPD(fn, "length");
19200
- if (desc && !desc.configurable) {
19201
- functionLengthIsConfigurable = false;
19202
- }
19203
- if (desc && !desc.writable) {
19204
- functionLengthIsWritable = false;
19205
- }
19206
- }
19207
- if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
19208
- if (hasDescriptors) {
19209
- define(
19210
- /** @type {Parameters<define>[0]} */
19211
- fn,
19212
- "length",
19213
- length3,
19214
- true,
19215
- true
19216
- );
19217
- } else {
19218
- define(
19219
- /** @type {Parameters<define>[0]} */
19220
- fn,
19221
- "length",
19222
- length3
19223
- );
19224
- }
19225
- }
19226
- return fn;
19227
- };
19003
+ module3.exports = Math.abs;
19228
19004
  }
19229
19005
  });
19230
19006
 
19231
- // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/applyBind.js
19232
- var require_applyBind = __commonJS({
19233
- "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/applyBind.js"(exports3, module3) {
19007
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
19008
+ var require_floor = __commonJS({
19009
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports3, module3) {
19234
19010
  "use strict";
19235
- var bind = require_function_bind();
19236
- var $apply = require_functionApply();
19237
- var actualApply = require_actualApply();
19238
- module3.exports = function applyBind() {
19239
- return actualApply(bind, $apply, arguments);
19240
- };
19011
+ module3.exports = Math.floor;
19241
19012
  }
19242
19013
  });
19243
19014
 
19244
- // ../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js
19245
- var require_call_bind = __commonJS({
19246
- "../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js"(exports3, module3) {
19015
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
19016
+ var require_max = __commonJS({
19017
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports3, module3) {
19247
19018
  "use strict";
19248
- var setFunctionLength = require_set_function_length();
19249
- var $defineProperty = require_es_define_property();
19250
- var callBindBasic = require_call_bind_apply_helpers();
19251
- var applyBind = require_applyBind();
19252
- module3.exports = function callBind(originalFunction) {
19253
- var func = callBindBasic(arguments);
19254
- var adjustedLength = originalFunction.length - (arguments.length - 1);
19255
- return setFunctionLength(
19256
- func,
19257
- 1 + (adjustedLength > 0 ? adjustedLength : 0),
19258
- true
19259
- );
19260
- };
19261
- if ($defineProperty) {
19262
- $defineProperty(module3.exports, "apply", { value: applyBind });
19263
- } else {
19264
- module3.exports.apply = applyBind;
19265
- }
19019
+ module3.exports = Math.max;
19266
19020
  }
19267
19021
  });
19268
19022
 
19269
- // ../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js
19270
- var require_callBound = __commonJS({
19271
- "../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js"(exports3, module3) {
19023
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
19024
+ var require_min = __commonJS({
19025
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports3, module3) {
19272
19026
  "use strict";
19273
- var GetIntrinsic = require_get_intrinsic();
19274
- var callBind = require_call_bind();
19275
- var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
19276
- module3.exports = function callBoundIntrinsic(name2, allowMissing) {
19277
- var intrinsic = GetIntrinsic(name2, !!allowMissing);
19278
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
19279
- return callBind(intrinsic);
19280
- }
19281
- return intrinsic;
19282
- };
19027
+ module3.exports = Math.min;
19283
19028
  }
19284
19029
  });
19285
19030
 
19286
- // ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js
19287
- var require_util_inspect = __commonJS({
19288
- "../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/util.inspect.js"(exports3, module3) {
19289
- module3.exports = require("util").inspect;
19031
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
19032
+ var require_pow = __commonJS({
19033
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports3, module3) {
19034
+ "use strict";
19035
+ module3.exports = Math.pow;
19290
19036
  }
19291
19037
  });
19292
19038
 
19293
- // ../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js
19294
- var require_object_inspect = __commonJS({
19295
- "../node_modules/.pnpm/object-inspect@1.13.3/node_modules/object-inspect/index.js"(exports3, module3) {
19296
- var hasMap = typeof Map === "function" && Map.prototype;
19297
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
19298
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === "function" ? mapSizeDescriptor.get : null;
19299
- var mapForEach = hasMap && Map.prototype.forEach;
19300
- var hasSet = typeof Set === "function" && Set.prototype;
19301
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null;
19302
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === "function" ? setSizeDescriptor.get : null;
19303
- var setForEach = hasSet && Set.prototype.forEach;
19304
- var hasWeakMap = typeof WeakMap === "function" && WeakMap.prototype;
19305
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
19306
- var hasWeakSet = typeof WeakSet === "function" && WeakSet.prototype;
19307
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
19308
- var hasWeakRef = typeof WeakRef === "function" && WeakRef.prototype;
19309
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
19310
- var booleanValueOf = Boolean.prototype.valueOf;
19311
- var objectToString = Object.prototype.toString;
19312
- var functionToString = Function.prototype.toString;
19313
- var $match = String.prototype.match;
19314
- var $slice = String.prototype.slice;
19315
- var $replace = String.prototype.replace;
19316
- var $toUpperCase = String.prototype.toUpperCase;
19317
- var $toLowerCase = String.prototype.toLowerCase;
19318
- var $test = RegExp.prototype.test;
19319
- var $concat = Array.prototype.concat;
19320
- var $join = Array.prototype.join;
19321
- var $arrSlice = Array.prototype.slice;
19322
- var $floor = Math.floor;
19323
- var bigIntValueOf = typeof BigInt === "function" ? BigInt.prototype.valueOf : null;
19324
- var gOPS = Object.getOwnPropertySymbols;
19325
- var symToString = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null;
19326
- var hasShammedSymbols = typeof Symbol === "function" && typeof Symbol.iterator === "object";
19327
- var toStringTag = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? "object" : "symbol") ? Symbol.toStringTag : null;
19328
- var isEnumerable = Object.prototype.propertyIsEnumerable;
19329
- var gPO = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
19330
- return O.__proto__;
19331
- } : null);
19332
- function addNumericSeparator(num, str) {
19333
- if (num === Infinity || num === -Infinity || num !== num || num && num > -1e3 && num < 1e3 || $test.call(/e/, str)) {
19334
- return str;
19335
- }
19336
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
19337
- if (typeof num === "number") {
19338
- var int = num < 0 ? -$floor(-num) : $floor(num);
19339
- if (int !== num) {
19340
- var intStr = String(int);
19341
- var dec = $slice.call(str, intStr.length + 1);
19342
- return $replace.call(intStr, sepRegex, "$&_") + "." + $replace.call($replace.call(dec, /([0-9]{3})/g, "$&_"), /_$/, "");
19343
- }
19344
- }
19345
- return $replace.call(str, sepRegex, "$&_");
19346
- }
19347
- var utilInspect = require_util_inspect();
19348
- var inspectCustom = utilInspect.custom;
19349
- var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
19350
- var quotes = {
19351
- __proto__: null,
19352
- "double": '"',
19353
- single: "'"
19354
- };
19355
- var quoteREs = {
19356
- __proto__: null,
19357
- "double": /(["\\])/g,
19358
- single: /(['\\])/g
19359
- };
19360
- module3.exports = function inspect_(obj, options, depth, seen) {
19361
- var opts = options || {};
19362
- if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
19363
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
19364
- }
19365
- if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
19366
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
19367
- }
19368
- var customInspect = has(opts, "customInspect") ? opts.customInspect : true;
19369
- if (typeof customInspect !== "boolean" && customInspect !== "symbol") {
19370
- throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
19371
- }
19372
- if (has(opts, "indent") && opts.indent !== null && opts.indent !== " " && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {
19373
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
19374
- }
19375
- if (has(opts, "numericSeparator") && typeof opts.numericSeparator !== "boolean") {
19376
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
19377
- }
19378
- var numericSeparator = opts.numericSeparator;
19379
- if (typeof obj === "undefined") {
19380
- return "undefined";
19381
- }
19382
- if (obj === null) {
19383
- return "null";
19384
- }
19385
- if (typeof obj === "boolean") {
19386
- return obj ? "true" : "false";
19387
- }
19388
- if (typeof obj === "string") {
19389
- return inspectString(obj, opts);
19390
- }
19391
- if (typeof obj === "number") {
19392
- if (obj === 0) {
19393
- return Infinity / obj > 0 ? "0" : "-0";
19394
- }
19395
- var str = String(obj);
19396
- return numericSeparator ? addNumericSeparator(obj, str) : str;
19397
- }
19398
- if (typeof obj === "bigint") {
19399
- var bigIntStr = String(obj) + "n";
19400
- return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
19401
- }
19402
- var maxDepth = typeof opts.depth === "undefined" ? 5 : opts.depth;
19403
- if (typeof depth === "undefined") {
19404
- depth = 0;
19405
- }
19406
- if (depth >= maxDepth && maxDepth > 0 && typeof obj === "object") {
19407
- return isArray2(obj) ? "[Array]" : "[Object]";
19408
- }
19409
- var indent = getIndent(opts, depth);
19410
- if (typeof seen === "undefined") {
19411
- seen = [];
19412
- } else if (indexOf(seen, obj) >= 0) {
19413
- return "[Circular]";
19414
- }
19415
- function inspect(value, from3, noIndent) {
19416
- if (from3) {
19417
- seen = $arrSlice.call(seen);
19418
- seen.push(from3);
19419
- }
19420
- if (noIndent) {
19421
- var newOpts = {
19422
- depth: opts.depth
19423
- };
19424
- if (has(opts, "quoteStyle")) {
19425
- newOpts.quoteStyle = opts.quoteStyle;
19426
- }
19427
- return inspect_(value, newOpts, depth + 1, seen);
19428
- }
19429
- return inspect_(value, opts, depth + 1, seen);
19430
- }
19431
- if (typeof obj === "function" && !isRegExp(obj)) {
19432
- var name2 = nameOf(obj);
19433
- var keys3 = arrObjKeys(obj, inspect);
19434
- return "[Function" + (name2 ? ": " + name2 : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
19435
- }
19436
- if (isSymbol(obj)) {
19437
- var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
19438
- return typeof obj === "object" && !hasShammedSymbols ? markBoxed(symString) : symString;
19439
- }
19440
- if (isElement(obj)) {
19441
- var s = "<" + $toLowerCase.call(String(obj.nodeName));
19442
- var attrs = obj.attributes || [];
19443
- for (var i = 0; i < attrs.length; i++) {
19444
- s += " " + attrs[i].name + "=" + wrapQuotes(quote(attrs[i].value), "double", opts);
19445
- }
19446
- s += ">";
19447
- if (obj.childNodes && obj.childNodes.length) {
19448
- s += "...";
19449
- }
19450
- s += "</" + $toLowerCase.call(String(obj.nodeName)) + ">";
19451
- return s;
19452
- }
19453
- if (isArray2(obj)) {
19454
- if (obj.length === 0) {
19455
- return "[]";
19456
- }
19457
- var xs = arrObjKeys(obj, inspect);
19458
- if (indent && !singleLineValues(xs)) {
19459
- return "[" + indentedJoin(xs, indent) + "]";
19460
- }
19461
- return "[ " + $join.call(xs, ", ") + " ]";
19462
- }
19463
- if (isError(obj)) {
19464
- var parts = arrObjKeys(obj, inspect);
19465
- if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
19466
- return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
19467
- }
19468
- if (parts.length === 0) {
19469
- return "[" + String(obj) + "]";
19470
- }
19471
- return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
19039
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
19040
+ var require_round = __commonJS({
19041
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports3, module3) {
19042
+ "use strict";
19043
+ module3.exports = Math.round;
19044
+ }
19045
+ });
19046
+
19047
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
19048
+ var require_isNaN = __commonJS({
19049
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports3, module3) {
19050
+ "use strict";
19051
+ module3.exports = Number.isNaN || function isNaN4(a) {
19052
+ return a !== a;
19053
+ };
19054
+ }
19055
+ });
19056
+
19057
+ // ../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
19058
+ var require_sign = __commonJS({
19059
+ "../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports3, module3) {
19060
+ "use strict";
19061
+ var $isNaN = require_isNaN();
19062
+ module3.exports = function sign(number) {
19063
+ if ($isNaN(number) || number === 0) {
19064
+ return number;
19472
19065
  }
19473
- if (typeof obj === "object" && customInspect) {
19474
- if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
19475
- return utilInspect(obj, { depth: maxDepth - depth });
19476
- } else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
19477
- return obj.inspect();
19478
- }
19066
+ return number < 0 ? -1 : 1;
19067
+ };
19068
+ }
19069
+ });
19070
+
19071
+ // ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
19072
+ var require_gOPD = __commonJS({
19073
+ "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports3, module3) {
19074
+ "use strict";
19075
+ module3.exports = Object.getOwnPropertyDescriptor;
19076
+ }
19077
+ });
19078
+
19079
+ // ../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
19080
+ var require_gopd = __commonJS({
19081
+ "../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports3, module3) {
19082
+ "use strict";
19083
+ var $gOPD = require_gOPD();
19084
+ if ($gOPD) {
19085
+ try {
19086
+ $gOPD([], "length");
19087
+ } catch (e) {
19088
+ $gOPD = null;
19479
19089
  }
19480
- if (isMap(obj)) {
19481
- var mapParts = [];
19482
- if (mapForEach) {
19483
- mapForEach.call(obj, function(value, key) {
19484
- mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
19485
- });
19486
- }
19487
- return collectionOf("Map", mapSize.call(obj), mapParts, indent);
19090
+ }
19091
+ module3.exports = $gOPD;
19092
+ }
19093
+ });
19094
+
19095
+ // ../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
19096
+ var require_es_define_property = __commonJS({
19097
+ "../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports3, module3) {
19098
+ "use strict";
19099
+ var $defineProperty = Object.defineProperty || false;
19100
+ if ($defineProperty) {
19101
+ try {
19102
+ $defineProperty({}, "a", { value: 1 });
19103
+ } catch (e) {
19104
+ $defineProperty = false;
19488
19105
  }
19489
- if (isSet(obj)) {
19490
- var setParts = [];
19491
- if (setForEach) {
19492
- setForEach.call(obj, function(value) {
19493
- setParts.push(inspect(value, obj));
19494
- });
19495
- }
19496
- return collectionOf("Set", setSize.call(obj), setParts, indent);
19106
+ }
19107
+ module3.exports = $defineProperty;
19108
+ }
19109
+ });
19110
+
19111
+ // ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
19112
+ var require_shams = __commonJS({
19113
+ "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports3, module3) {
19114
+ "use strict";
19115
+ module3.exports = function hasSymbols() {
19116
+ if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
19117
+ return false;
19497
19118
  }
19498
- if (isWeakMap(obj)) {
19499
- return weakCollectionOf("WeakMap");
19119
+ if (typeof Symbol.iterator === "symbol") {
19120
+ return true;
19500
19121
  }
19501
- if (isWeakSet(obj)) {
19502
- return weakCollectionOf("WeakSet");
19122
+ var obj = {};
19123
+ var sym = Symbol("test");
19124
+ var symObj = Object(sym);
19125
+ if (typeof sym === "string") {
19126
+ return false;
19503
19127
  }
19504
- if (isWeakRef(obj)) {
19505
- return weakCollectionOf("WeakRef");
19128
+ if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
19129
+ return false;
19506
19130
  }
19507
- if (isNumber(obj)) {
19508
- return markBoxed(inspect(Number(obj)));
19131
+ if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
19132
+ return false;
19509
19133
  }
19510
- if (isBigInt(obj)) {
19511
- return markBoxed(inspect(bigIntValueOf.call(obj)));
19134
+ var symVal = 42;
19135
+ obj[sym] = symVal;
19136
+ for (var _ in obj) {
19137
+ return false;
19512
19138
  }
19513
- if (isBoolean(obj)) {
19514
- return markBoxed(booleanValueOf.call(obj));
19139
+ if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
19140
+ return false;
19515
19141
  }
19516
- if (isString(obj)) {
19517
- return markBoxed(inspect(String(obj)));
19142
+ if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
19143
+ return false;
19518
19144
  }
19519
- if (typeof window !== "undefined" && obj === window) {
19520
- return "{ [object Window] }";
19145
+ var syms = Object.getOwnPropertySymbols(obj);
19146
+ if (syms.length !== 1 || syms[0] !== sym) {
19147
+ return false;
19521
19148
  }
19522
- if (typeof globalThis !== "undefined" && obj === globalThis || typeof global !== "undefined" && obj === global) {
19523
- return "{ [object globalThis] }";
19149
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
19150
+ return false;
19524
19151
  }
19525
- if (!isDate(obj) && !isRegExp(obj)) {
19526
- var ys = arrObjKeys(obj, inspect);
19527
- var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
19528
- var protoTag = obj instanceof Object ? "" : "null prototype";
19529
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
19530
- var constructorTag = isPlainObject || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
19531
- var tag = constructorTag + (stringTag || protoTag ? "[" + $join.call($concat.call([], stringTag || [], protoTag || []), ": ") + "] " : "");
19532
- if (ys.length === 0) {
19533
- return tag + "{}";
19534
- }
19535
- if (indent) {
19536
- return tag + "{" + indentedJoin(ys, indent) + "}";
19152
+ if (typeof Object.getOwnPropertyDescriptor === "function") {
19153
+ var descriptor = (
19154
+ /** @type {PropertyDescriptor} */
19155
+ Object.getOwnPropertyDescriptor(obj, sym)
19156
+ );
19157
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) {
19158
+ return false;
19537
19159
  }
19538
- return tag + "{ " + $join.call(ys, ", ") + " }";
19539
19160
  }
19540
- return String(obj);
19161
+ return true;
19541
19162
  };
19542
- function wrapQuotes(s, defaultStyle, opts) {
19543
- var style = opts.quoteStyle || defaultStyle;
19544
- var quoteChar = quotes[style];
19545
- return quoteChar + s + quoteChar;
19546
- }
19547
- function quote(s) {
19548
- return $replace.call(String(s), /"/g, "&quot;");
19549
- }
19550
- function isArray2(obj) {
19551
- return toStr(obj) === "[object Array]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19552
- }
19553
- function isDate(obj) {
19554
- return toStr(obj) === "[object Date]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19555
- }
19556
- function isRegExp(obj) {
19557
- return toStr(obj) === "[object RegExp]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19558
- }
19559
- function isError(obj) {
19560
- return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19561
- }
19562
- function isString(obj) {
19563
- return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19564
- }
19565
- function isNumber(obj) {
19566
- return toStr(obj) === "[object Number]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19567
- }
19568
- function isBoolean(obj) {
19569
- return toStr(obj) === "[object Boolean]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
19570
- }
19571
- function isSymbol(obj) {
19572
- if (hasShammedSymbols) {
19573
- return obj && typeof obj === "object" && obj instanceof Symbol;
19574
- }
19575
- if (typeof obj === "symbol") {
19576
- return true;
19577
- }
19578
- if (!obj || typeof obj !== "object" || !symToString) {
19163
+ }
19164
+ });
19165
+
19166
+ // ../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
19167
+ var require_has_symbols = __commonJS({
19168
+ "../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports3, module3) {
19169
+ "use strict";
19170
+ var origSymbol = typeof Symbol !== "undefined" && Symbol;
19171
+ var hasSymbolSham = require_shams();
19172
+ module3.exports = function hasNativeSymbols() {
19173
+ if (typeof origSymbol !== "function") {
19579
19174
  return false;
19580
19175
  }
19581
- try {
19582
- symToString.call(obj);
19583
- return true;
19584
- } catch (e) {
19176
+ if (typeof Symbol !== "function") {
19177
+ return false;
19585
19178
  }
19586
- return false;
19587
- }
19588
- function isBigInt(obj) {
19589
- if (!obj || typeof obj !== "object" || !bigIntValueOf) {
19179
+ if (typeof origSymbol("foo") !== "symbol") {
19590
19180
  return false;
19591
19181
  }
19592
- try {
19593
- bigIntValueOf.call(obj);
19594
- return true;
19595
- } catch (e) {
19182
+ if (typeof Symbol("bar") !== "symbol") {
19183
+ return false;
19596
19184
  }
19597
- return false;
19598
- }
19599
- var hasOwn = Object.prototype.hasOwnProperty || function(key) {
19600
- return key in this;
19185
+ return hasSymbolSham();
19601
19186
  };
19602
- function has(obj, key) {
19603
- return hasOwn.call(obj, key);
19604
- }
19605
- function toStr(obj) {
19606
- return objectToString.call(obj);
19607
- }
19608
- function nameOf(f) {
19609
- if (f.name) {
19610
- return f.name;
19187
+ }
19188
+ });
19189
+
19190
+ // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
19191
+ var require_Reflect_getPrototypeOf = __commonJS({
19192
+ "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports3, module3) {
19193
+ "use strict";
19194
+ module3.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
19195
+ }
19196
+ });
19197
+
19198
+ // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
19199
+ var require_Object_getPrototypeOf = __commonJS({
19200
+ "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports3, module3) {
19201
+ "use strict";
19202
+ var $Object = require_es_object_atoms();
19203
+ module3.exports = $Object.getPrototypeOf || null;
19204
+ }
19205
+ });
19206
+
19207
+ // ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
19208
+ var require_implementation = __commonJS({
19209
+ "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports3, module3) {
19210
+ "use strict";
19211
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
19212
+ var toStr = Object.prototype.toString;
19213
+ var max4 = Math.max;
19214
+ var funcType = "[object Function]";
19215
+ var concatty = function concatty2(a, b) {
19216
+ var arr = [];
19217
+ for (var i = 0; i < a.length; i += 1) {
19218
+ arr[i] = a[i];
19611
19219
  }
19612
- var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
19613
- if (m) {
19614
- return m[1];
19220
+ for (var j = 0; j < b.length; j += 1) {
19221
+ arr[j + a.length] = b[j];
19615
19222
  }
19616
- return null;
19617
- }
19618
- function indexOf(xs, x) {
19619
- if (xs.indexOf) {
19620
- return xs.indexOf(x);
19223
+ return arr;
19224
+ };
19225
+ var slicy = function slicy2(arrLike, offset) {
19226
+ var arr = [];
19227
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
19228
+ arr[j] = arrLike[i];
19621
19229
  }
19622
- for (var i = 0, l = xs.length; i < l; i++) {
19623
- if (xs[i] === x) {
19624
- return i;
19230
+ return arr;
19231
+ };
19232
+ var joiny = function(arr, joiner) {
19233
+ var str = "";
19234
+ for (var i = 0; i < arr.length; i += 1) {
19235
+ str += arr[i];
19236
+ if (i + 1 < arr.length) {
19237
+ str += joiner;
19625
19238
  }
19626
19239
  }
19627
- return -1;
19628
- }
19629
- function isMap(x) {
19630
- if (!mapSize || !x || typeof x !== "object") {
19631
- return false;
19240
+ return str;
19241
+ };
19242
+ module3.exports = function bind(that) {
19243
+ var target = this;
19244
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) {
19245
+ throw new TypeError(ERROR_MESSAGE + target);
19632
19246
  }
19633
- try {
19634
- mapSize.call(x);
19635
- try {
19636
- setSize.call(x);
19637
- } catch (s) {
19638
- return true;
19247
+ var args2 = slicy(arguments, 1);
19248
+ var bound;
19249
+ var binder = function() {
19250
+ if (this instanceof bound) {
19251
+ var result = target.apply(
19252
+ this,
19253
+ concatty(args2, arguments)
19254
+ );
19255
+ if (Object(result) === result) {
19256
+ return result;
19257
+ }
19258
+ return this;
19639
19259
  }
19640
- return x instanceof Map;
19641
- } catch (e) {
19642
- }
19643
- return false;
19644
- }
19645
- function isWeakMap(x) {
19646
- if (!weakMapHas || !x || typeof x !== "object") {
19647
- return false;
19260
+ return target.apply(
19261
+ that,
19262
+ concatty(args2, arguments)
19263
+ );
19264
+ };
19265
+ var boundLength = max4(0, target.length - args2.length);
19266
+ var boundArgs = [];
19267
+ for (var i = 0; i < boundLength; i++) {
19268
+ boundArgs[i] = "$" + i;
19648
19269
  }
19649
- try {
19650
- weakMapHas.call(x, weakMapHas);
19651
- try {
19652
- weakSetHas.call(x, weakSetHas);
19653
- } catch (s) {
19654
- return true;
19655
- }
19656
- return x instanceof WeakMap;
19657
- } catch (e) {
19270
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
19271
+ if (target.prototype) {
19272
+ var Empty = function Empty2() {
19273
+ };
19274
+ Empty.prototype = target.prototype;
19275
+ bound.prototype = new Empty();
19276
+ Empty.prototype = null;
19658
19277
  }
19659
- return false;
19660
- }
19661
- function isWeakRef(x) {
19662
- if (!weakRefDeref || !x || typeof x !== "object") {
19663
- return false;
19278
+ return bound;
19279
+ };
19280
+ }
19281
+ });
19282
+
19283
+ // ../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
19284
+ var require_function_bind = __commonJS({
19285
+ "../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports3, module3) {
19286
+ "use strict";
19287
+ var implementation = require_implementation();
19288
+ module3.exports = Function.prototype.bind || implementation;
19289
+ }
19290
+ });
19291
+
19292
+ // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js
19293
+ var require_functionCall = __commonJS({
19294
+ "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionCall.js"(exports3, module3) {
19295
+ "use strict";
19296
+ module3.exports = Function.prototype.call;
19297
+ }
19298
+ });
19299
+
19300
+ // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js
19301
+ var require_functionApply = __commonJS({
19302
+ "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/functionApply.js"(exports3, module3) {
19303
+ "use strict";
19304
+ module3.exports = Function.prototype.apply;
19305
+ }
19306
+ });
19307
+
19308
+ // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js
19309
+ var require_reflectApply = __commonJS({
19310
+ "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/reflectApply.js"(exports3, module3) {
19311
+ "use strict";
19312
+ module3.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
19313
+ }
19314
+ });
19315
+
19316
+ // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js
19317
+ var require_actualApply = __commonJS({
19318
+ "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/actualApply.js"(exports3, module3) {
19319
+ "use strict";
19320
+ var bind = require_function_bind();
19321
+ var $apply = require_functionApply();
19322
+ var $call = require_functionCall();
19323
+ var $reflectApply = require_reflectApply();
19324
+ module3.exports = $reflectApply || bind.call($call, $apply);
19325
+ }
19326
+ });
19327
+
19328
+ // ../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js
19329
+ var require_call_bind_apply_helpers = __commonJS({
19330
+ "../node_modules/.pnpm/call-bind-apply-helpers@1.0.1/node_modules/call-bind-apply-helpers/index.js"(exports3, module3) {
19331
+ "use strict";
19332
+ var bind = require_function_bind();
19333
+ var $TypeError = require_type();
19334
+ var $call = require_functionCall();
19335
+ var $actualApply = require_actualApply();
19336
+ module3.exports = function callBindBasic(args2) {
19337
+ if (args2.length < 1 || typeof args2[0] !== "function") {
19338
+ throw new $TypeError("a function is required");
19664
19339
  }
19665
- try {
19666
- weakRefDeref.call(x);
19667
- return true;
19668
- } catch (e) {
19340
+ return $actualApply(bind, $call, args2);
19341
+ };
19342
+ }
19343
+ });
19344
+
19345
+ // ../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
19346
+ var require_get = __commonJS({
19347
+ "../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports3, module3) {
19348
+ "use strict";
19349
+ var callBind = require_call_bind_apply_helpers();
19350
+ var gOPD = require_gopd();
19351
+ var hasProtoAccessor;
19352
+ try {
19353
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
19354
+ [].__proto__ === Array.prototype;
19355
+ } catch (e) {
19356
+ if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
19357
+ throw e;
19669
19358
  }
19670
- return false;
19671
19359
  }
19672
- function isSet(x) {
19673
- if (!setSize || !x || typeof x !== "object") {
19674
- return false;
19360
+ var desc = !!hasProtoAccessor && gOPD && gOPD(
19361
+ Object.prototype,
19362
+ /** @type {keyof typeof Object.prototype} */
19363
+ "__proto__"
19364
+ );
19365
+ var $Object = Object;
19366
+ var $getPrototypeOf = $Object.getPrototypeOf;
19367
+ module3.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
19368
+ /** @type {import('./get')} */
19369
+ function getDunder(value) {
19370
+ return $getPrototypeOf(value == null ? value : $Object(value));
19371
+ }
19372
+ ) : false;
19373
+ }
19374
+ });
19375
+
19376
+ // ../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
19377
+ var require_get_proto = __commonJS({
19378
+ "../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports3, module3) {
19379
+ "use strict";
19380
+ var reflectGetProto = require_Reflect_getPrototypeOf();
19381
+ var originalGetProto = require_Object_getPrototypeOf();
19382
+ var getDunderProto = require_get();
19383
+ module3.exports = reflectGetProto ? function getProto(O) {
19384
+ return reflectGetProto(O);
19385
+ } : originalGetProto ? function getProto(O) {
19386
+ if (!O || typeof O !== "object" && typeof O !== "function") {
19387
+ throw new TypeError("getProto: not an object");
19675
19388
  }
19389
+ return originalGetProto(O);
19390
+ } : getDunderProto ? function getProto(O) {
19391
+ return getDunderProto(O);
19392
+ } : null;
19393
+ }
19394
+ });
19395
+
19396
+ // ../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
19397
+ var require_hasown = __commonJS({
19398
+ "../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports3, module3) {
19399
+ "use strict";
19400
+ var call = Function.prototype.call;
19401
+ var $hasOwn = Object.prototype.hasOwnProperty;
19402
+ var bind = require_function_bind();
19403
+ module3.exports = bind.call(call, $hasOwn);
19404
+ }
19405
+ });
19406
+
19407
+ // ../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js
19408
+ var require_get_intrinsic = __commonJS({
19409
+ "../node_modules/.pnpm/get-intrinsic@1.2.7/node_modules/get-intrinsic/index.js"(exports3, module3) {
19410
+ "use strict";
19411
+ var undefined2;
19412
+ var $Object = require_es_object_atoms();
19413
+ var $Error = require_es_errors();
19414
+ var $EvalError = require_eval();
19415
+ var $RangeError = require_range();
19416
+ var $ReferenceError = require_ref();
19417
+ var $SyntaxError = require_syntax();
19418
+ var $TypeError = require_type();
19419
+ var $URIError = require_uri();
19420
+ var abs2 = require_abs();
19421
+ var floor4 = require_floor();
19422
+ var max4 = require_max();
19423
+ var min4 = require_min();
19424
+ var pow = require_pow();
19425
+ var round = require_round();
19426
+ var sign = require_sign();
19427
+ var $Function = Function;
19428
+ var getEvalledConstructor = function(expressionSyntax) {
19676
19429
  try {
19677
- setSize.call(x);
19678
- try {
19679
- mapSize.call(x);
19680
- } catch (m) {
19681
- return true;
19682
- }
19683
- return x instanceof Set;
19430
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
19684
19431
  } catch (e) {
19685
19432
  }
19686
- return false;
19687
- }
19688
- function isWeakSet(x) {
19689
- if (!weakSetHas || !x || typeof x !== "object") {
19690
- return false;
19691
- }
19433
+ };
19434
+ var $gOPD = require_gopd();
19435
+ var $defineProperty = require_es_define_property();
19436
+ var throwTypeError = function() {
19437
+ throw new $TypeError();
19438
+ };
19439
+ var ThrowTypeError = $gOPD ? function() {
19692
19440
  try {
19693
- weakSetHas.call(x, weakSetHas);
19441
+ arguments.callee;
19442
+ return throwTypeError;
19443
+ } catch (calleeThrows) {
19694
19444
  try {
19695
- weakMapHas.call(x, weakMapHas);
19696
- } catch (s) {
19697
- return true;
19445
+ return $gOPD(arguments, "callee").get;
19446
+ } catch (gOPDthrows) {
19447
+ return throwTypeError;
19698
19448
  }
19699
- return x instanceof WeakSet;
19449
+ }
19450
+ }() : throwTypeError;
19451
+ var hasSymbols = require_has_symbols()();
19452
+ var getProto = require_get_proto();
19453
+ var $ObjectGPO = require_Object_getPrototypeOf();
19454
+ var $ReflectGPO = require_Reflect_getPrototypeOf();
19455
+ var $apply = require_functionApply();
19456
+ var $call = require_functionCall();
19457
+ var needsEval = {};
19458
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
19459
+ var INTRINSICS = {
19460
+ __proto__: null,
19461
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
19462
+ "%Array%": Array,
19463
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
19464
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
19465
+ "%AsyncFromSyncIteratorPrototype%": undefined2,
19466
+ "%AsyncFunction%": needsEval,
19467
+ "%AsyncGenerator%": needsEval,
19468
+ "%AsyncGeneratorFunction%": needsEval,
19469
+ "%AsyncIteratorPrototype%": needsEval,
19470
+ "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
19471
+ "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
19472
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
19473
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
19474
+ "%Boolean%": Boolean,
19475
+ "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
19476
+ "%Date%": Date,
19477
+ "%decodeURI%": decodeURI,
19478
+ "%decodeURIComponent%": decodeURIComponent,
19479
+ "%encodeURI%": encodeURI,
19480
+ "%encodeURIComponent%": encodeURIComponent,
19481
+ "%Error%": $Error,
19482
+ "%eval%": eval,
19483
+ // eslint-disable-line no-eval
19484
+ "%EvalError%": $EvalError,
19485
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
19486
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
19487
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
19488
+ "%Function%": $Function,
19489
+ "%GeneratorFunction%": needsEval,
19490
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
19491
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
19492
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
19493
+ "%isFinite%": isFinite,
19494
+ "%isNaN%": isNaN,
19495
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
19496
+ "%JSON%": typeof JSON === "object" ? JSON : undefined2,
19497
+ "%Map%": typeof Map === "undefined" ? undefined2 : Map,
19498
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
19499
+ "%Math%": Math,
19500
+ "%Number%": Number,
19501
+ "%Object%": $Object,
19502
+ "%Object.getOwnPropertyDescriptor%": $gOPD,
19503
+ "%parseFloat%": parseFloat,
19504
+ "%parseInt%": parseInt,
19505
+ "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
19506
+ "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
19507
+ "%RangeError%": $RangeError,
19508
+ "%ReferenceError%": $ReferenceError,
19509
+ "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
19510
+ "%RegExp%": RegExp,
19511
+ "%Set%": typeof Set === "undefined" ? undefined2 : Set,
19512
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
19513
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
19514
+ "%String%": String,
19515
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
19516
+ "%Symbol%": hasSymbols ? Symbol : undefined2,
19517
+ "%SyntaxError%": $SyntaxError,
19518
+ "%ThrowTypeError%": ThrowTypeError,
19519
+ "%TypedArray%": TypedArray,
19520
+ "%TypeError%": $TypeError,
19521
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
19522
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
19523
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
19524
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
19525
+ "%URIError%": $URIError,
19526
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
19527
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
19528
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
19529
+ "%Function.prototype.call%": $call,
19530
+ "%Function.prototype.apply%": $apply,
19531
+ "%Object.defineProperty%": $defineProperty,
19532
+ "%Object.getPrototypeOf%": $ObjectGPO,
19533
+ "%Math.abs%": abs2,
19534
+ "%Math.floor%": floor4,
19535
+ "%Math.max%": max4,
19536
+ "%Math.min%": min4,
19537
+ "%Math.pow%": pow,
19538
+ "%Math.round%": round,
19539
+ "%Math.sign%": sign,
19540
+ "%Reflect.getPrototypeOf%": $ReflectGPO
19541
+ };
19542
+ if (getProto) {
19543
+ try {
19544
+ null.error;
19700
19545
  } catch (e) {
19546
+ errorProto = getProto(getProto(e));
19547
+ INTRINSICS["%Error.prototype%"] = errorProto;
19701
19548
  }
19702
- return false;
19703
19549
  }
19704
- function isElement(x) {
19705
- if (!x || typeof x !== "object") {
19706
- return false;
19707
- }
19708
- if (typeof HTMLElement !== "undefined" && x instanceof HTMLElement) {
19709
- return true;
19550
+ var errorProto;
19551
+ var doEval = function doEval2(name2) {
19552
+ var value;
19553
+ if (name2 === "%AsyncFunction%") {
19554
+ value = getEvalledConstructor("async function () {}");
19555
+ } else if (name2 === "%GeneratorFunction%") {
19556
+ value = getEvalledConstructor("function* () {}");
19557
+ } else if (name2 === "%AsyncGeneratorFunction%") {
19558
+ value = getEvalledConstructor("async function* () {}");
19559
+ } else if (name2 === "%AsyncGenerator%") {
19560
+ var fn = doEval2("%AsyncGeneratorFunction%");
19561
+ if (fn) {
19562
+ value = fn.prototype;
19563
+ }
19564
+ } else if (name2 === "%AsyncIteratorPrototype%") {
19565
+ var gen = doEval2("%AsyncGenerator%");
19566
+ if (gen && getProto) {
19567
+ value = getProto(gen.prototype);
19568
+ }
19710
19569
  }
19711
- return typeof x.nodeName === "string" && typeof x.getAttribute === "function";
19712
- }
19713
- function inspectString(str, opts) {
19714
- if (str.length > opts.maxStringLength) {
19715
- var remaining = str.length - opts.maxStringLength;
19716
- var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
19717
- return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
19570
+ INTRINSICS[name2] = value;
19571
+ return value;
19572
+ };
19573
+ var LEGACY_ALIASES = {
19574
+ __proto__: null,
19575
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
19576
+ "%ArrayPrototype%": ["Array", "prototype"],
19577
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
19578
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
19579
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
19580
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
19581
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
19582
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
19583
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
19584
+ "%BooleanPrototype%": ["Boolean", "prototype"],
19585
+ "%DataViewPrototype%": ["DataView", "prototype"],
19586
+ "%DatePrototype%": ["Date", "prototype"],
19587
+ "%ErrorPrototype%": ["Error", "prototype"],
19588
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
19589
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
19590
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
19591
+ "%FunctionPrototype%": ["Function", "prototype"],
19592
+ "%Generator%": ["GeneratorFunction", "prototype"],
19593
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
19594
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
19595
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
19596
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
19597
+ "%JSONParse%": ["JSON", "parse"],
19598
+ "%JSONStringify%": ["JSON", "stringify"],
19599
+ "%MapPrototype%": ["Map", "prototype"],
19600
+ "%NumberPrototype%": ["Number", "prototype"],
19601
+ "%ObjectPrototype%": ["Object", "prototype"],
19602
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
19603
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
19604
+ "%PromisePrototype%": ["Promise", "prototype"],
19605
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
19606
+ "%Promise_all%": ["Promise", "all"],
19607
+ "%Promise_reject%": ["Promise", "reject"],
19608
+ "%Promise_resolve%": ["Promise", "resolve"],
19609
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
19610
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
19611
+ "%RegExpPrototype%": ["RegExp", "prototype"],
19612
+ "%SetPrototype%": ["Set", "prototype"],
19613
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
19614
+ "%StringPrototype%": ["String", "prototype"],
19615
+ "%SymbolPrototype%": ["Symbol", "prototype"],
19616
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
19617
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
19618
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
19619
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
19620
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
19621
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
19622
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
19623
+ "%URIErrorPrototype%": ["URIError", "prototype"],
19624
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
19625
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
19626
+ };
19627
+ var bind = require_function_bind();
19628
+ var hasOwn = require_hasown();
19629
+ var $concat = bind.call($call, Array.prototype.concat);
19630
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
19631
+ var $replace = bind.call($call, String.prototype.replace);
19632
+ var $strSlice = bind.call($call, String.prototype.slice);
19633
+ var $exec = bind.call($call, RegExp.prototype.exec);
19634
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
19635
+ var reEscapeChar = /\\(\\)?/g;
19636
+ var stringToPath = function stringToPath2(string) {
19637
+ var first = $strSlice(string, 0, 1);
19638
+ var last2 = $strSlice(string, -1);
19639
+ if (first === "%" && last2 !== "%") {
19640
+ throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
19641
+ } else if (last2 === "%" && first !== "%") {
19642
+ throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
19718
19643
  }
19719
- var quoteRE = quoteREs[opts.quoteStyle || "single"];
19720
- quoteRE.lastIndex = 0;
19721
- var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
19722
- return wrapQuotes(s, "single", opts);
19723
- }
19724
- function lowbyte(c) {
19725
- var n = c.charCodeAt(0);
19726
- var x = {
19727
- 8: "b",
19728
- 9: "t",
19729
- 10: "n",
19730
- 12: "f",
19731
- 13: "r"
19732
- }[n];
19733
- if (x) {
19734
- return "\\" + x;
19644
+ var result = [];
19645
+ $replace(string, rePropName, function(match, number, quote, subString) {
19646
+ result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
19647
+ });
19648
+ return result;
19649
+ };
19650
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
19651
+ var intrinsicName = name2;
19652
+ var alias;
19653
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
19654
+ alias = LEGACY_ALIASES[intrinsicName];
19655
+ intrinsicName = "%" + alias[0] + "%";
19735
19656
  }
19736
- return "\\x" + (n < 16 ? "0" : "") + $toUpperCase.call(n.toString(16));
19737
- }
19738
- function markBoxed(str) {
19739
- return "Object(" + str + ")";
19740
- }
19741
- function weakCollectionOf(type2) {
19742
- return type2 + " { ? }";
19743
- }
19744
- function collectionOf(type2, size2, entries, indent) {
19745
- var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ", ");
19746
- return type2 + " (" + size2 + ") {" + joinedEntries + "}";
19747
- }
19748
- function singleLineValues(xs) {
19749
- for (var i = 0; i < xs.length; i++) {
19750
- if (indexOf(xs[i], "\n") >= 0) {
19751
- return false;
19657
+ if (hasOwn(INTRINSICS, intrinsicName)) {
19658
+ var value = INTRINSICS[intrinsicName];
19659
+ if (value === needsEval) {
19660
+ value = doEval(intrinsicName);
19661
+ }
19662
+ if (typeof value === "undefined" && !allowMissing) {
19663
+ throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
19752
19664
  }
19665
+ return {
19666
+ alias,
19667
+ name: intrinsicName,
19668
+ value
19669
+ };
19753
19670
  }
19754
- return true;
19755
- }
19756
- function getIndent(opts, depth) {
19757
- var baseIndent;
19758
- if (opts.indent === " ") {
19759
- baseIndent = " ";
19760
- } else if (typeof opts.indent === "number" && opts.indent > 0) {
19761
- baseIndent = $join.call(Array(opts.indent + 1), " ");
19762
- } else {
19763
- return null;
19671
+ throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
19672
+ };
19673
+ module3.exports = function GetIntrinsic(name2, allowMissing) {
19674
+ if (typeof name2 !== "string" || name2.length === 0) {
19675
+ throw new $TypeError("intrinsic name must be a non-empty string");
19764
19676
  }
19765
- return {
19766
- base: baseIndent,
19767
- prev: $join.call(Array(depth + 1), baseIndent)
19768
- };
19769
- }
19770
- function indentedJoin(xs, indent) {
19771
- if (xs.length === 0) {
19772
- return "";
19677
+ if (arguments.length > 1 && typeof allowMissing !== "boolean") {
19678
+ throw new $TypeError('"allowMissing" argument must be a boolean');
19773
19679
  }
19774
- var lineJoiner = "\n" + indent.prev + indent.base;
19775
- return lineJoiner + $join.call(xs, "," + lineJoiner) + "\n" + indent.prev;
19776
- }
19777
- function arrObjKeys(obj, inspect) {
19778
- var isArr = isArray2(obj);
19779
- var xs = [];
19780
- if (isArr) {
19781
- xs.length = obj.length;
19782
- for (var i = 0; i < obj.length; i++) {
19783
- xs[i] = has(obj, i) ? inspect(obj[i], obj) : "";
19784
- }
19680
+ if ($exec(/^%?[^%]*%?$/, name2) === null) {
19681
+ throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
19785
19682
  }
19786
- var syms = typeof gOPS === "function" ? gOPS(obj) : [];
19787
- var symMap;
19788
- if (hasShammedSymbols) {
19789
- symMap = {};
19790
- for (var k = 0; k < syms.length; k++) {
19791
- symMap["$" + syms[k]] = syms[k];
19792
- }
19683
+ var parts = stringToPath(name2);
19684
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
19685
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
19686
+ var intrinsicRealName = intrinsic.name;
19687
+ var value = intrinsic.value;
19688
+ var skipFurtherCaching = false;
19689
+ var alias = intrinsic.alias;
19690
+ if (alias) {
19691
+ intrinsicBaseName = alias[0];
19692
+ $spliceApply(parts, $concat([0, 1], alias));
19793
19693
  }
19794
- for (var key in obj) {
19795
- if (!has(obj, key)) {
19796
- continue;
19797
- }
19798
- if (isArr && String(Number(key)) === key && key < obj.length) {
19799
- continue;
19694
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
19695
+ var part = parts[i];
19696
+ var first = $strSlice(part, 0, 1);
19697
+ var last2 = $strSlice(part, -1);
19698
+ if ((first === '"' || first === "'" || first === "`" || (last2 === '"' || last2 === "'" || last2 === "`")) && first !== last2) {
19699
+ throw new $SyntaxError("property names with quotes must have matching quotes");
19800
19700
  }
19801
- if (hasShammedSymbols && symMap["$" + key] instanceof Symbol) {
19802
- continue;
19803
- } else if ($test.call(/[^\w$]/, key)) {
19804
- xs.push(inspect(key, obj) + ": " + inspect(obj[key], obj));
19805
- } else {
19806
- xs.push(key + ": " + inspect(obj[key], obj));
19701
+ if (part === "constructor" || !isOwn) {
19702
+ skipFurtherCaching = true;
19807
19703
  }
19808
- }
19809
- if (typeof gOPS === "function") {
19810
- for (var j = 0; j < syms.length; j++) {
19811
- if (isEnumerable.call(obj, syms[j])) {
19812
- xs.push("[" + inspect(syms[j]) + "]: " + inspect(obj[syms[j]], obj));
19704
+ intrinsicBaseName += "." + part;
19705
+ intrinsicRealName = "%" + intrinsicBaseName + "%";
19706
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
19707
+ value = INTRINSICS[intrinsicRealName];
19708
+ } else if (value != null) {
19709
+ if (!(part in value)) {
19710
+ if (!allowMissing) {
19711
+ throw new $TypeError("base intrinsic for " + name2 + " exists, but the property is not available.");
19712
+ }
19713
+ return void undefined2;
19714
+ }
19715
+ if ($gOPD && i + 1 >= parts.length) {
19716
+ var desc = $gOPD(value, part);
19717
+ isOwn = !!desc;
19718
+ if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
19719
+ value = desc.get;
19720
+ } else {
19721
+ value = value[part];
19722
+ }
19723
+ } else {
19724
+ isOwn = hasOwn(value, part);
19725
+ value = value[part];
19726
+ }
19727
+ if (isOwn && !skipFurtherCaching) {
19728
+ INTRINSICS[intrinsicRealName] = value;
19813
19729
  }
19814
19730
  }
19815
19731
  }
19816
- return xs;
19817
- }
19732
+ return value;
19733
+ };
19818
19734
  }
19819
19735
  });
19820
19736
 
19821
- // ../node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.js
19822
- var require_side_channel = __commonJS({
19823
- "../node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.js"(exports3, module3) {
19737
+ // ../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js
19738
+ var require_call_bound = __commonJS({
19739
+ "../node_modules/.pnpm/call-bound@1.0.3/node_modules/call-bound/index.js"(exports3, module3) {
19740
+ "use strict";
19741
+ var GetIntrinsic = require_get_intrinsic();
19742
+ var callBindBasic = require_call_bind_apply_helpers();
19743
+ var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
19744
+ module3.exports = function callBoundIntrinsic(name2, allowMissing) {
19745
+ var intrinsic = (
19746
+ /** @type {Parameters<typeof callBindBasic>[0][0]} */
19747
+ GetIntrinsic(name2, !!allowMissing)
19748
+ );
19749
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
19750
+ return callBindBasic([intrinsic]);
19751
+ }
19752
+ return intrinsic;
19753
+ };
19754
+ }
19755
+ });
19756
+
19757
+ // ../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js
19758
+ var require_side_channel_map = __commonJS({
19759
+ "../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js"(exports3, module3) {
19824
19760
  "use strict";
19825
19761
  var GetIntrinsic = require_get_intrinsic();
19826
- var callBound = require_callBound();
19762
+ var callBound = require_call_bound();
19827
19763
  var inspect = require_object_inspect();
19828
19764
  var $TypeError = require_type();
19829
- var $WeakMap = GetIntrinsic("%WeakMap%", true);
19830
19765
  var $Map = GetIntrinsic("%Map%", true);
19831
- var $weakMapGet = callBound("WeakMap.prototype.get", true);
19832
- var $weakMapSet = callBound("WeakMap.prototype.set", true);
19833
- var $weakMapHas = callBound("WeakMap.prototype.has", true);
19834
19766
  var $mapGet = callBound("Map.prototype.get", true);
19835
19767
  var $mapSet = callBound("Map.prototype.set", true);
19836
19768
  var $mapHas = callBound("Map.prototype.has", true);
19837
- var listGetNode = function(list, key) {
19838
- var prev = list;
19839
- var curr;
19840
- for (; (curr = prev.next) !== null; prev = curr) {
19841
- if (curr.key === key) {
19842
- prev.next = curr.next;
19843
- curr.next = /** @type {NonNullable<typeof list.next>} */
19844
- list.next;
19845
- list.next = curr;
19846
- return curr;
19847
- }
19848
- }
19849
- };
19850
- var listGet = function(objects, key) {
19851
- var node = listGetNode(objects, key);
19852
- return node && node.value;
19853
- };
19854
- var listSet = function(objects, key, value) {
19855
- var node = listGetNode(objects, key);
19856
- if (node) {
19857
- node.value = value;
19858
- } else {
19859
- objects.next = /** @type {import('.').ListNode<typeof value>} */
19860
- {
19861
- // eslint-disable-line no-param-reassign, no-extra-parens
19862
- key,
19863
- next: objects.next,
19864
- value
19865
- };
19866
- }
19867
- };
19868
- var listHas = function(objects, key) {
19869
- return !!listGetNode(objects, key);
19870
- };
19871
- module3.exports = function getSideChannel() {
19872
- var $wm;
19769
+ var $mapDelete = callBound("Map.prototype.delete", true);
19770
+ var $mapSize = callBound("Map.prototype.size", true);
19771
+ module3.exports = !!$Map && /** @type {Exclude<import('.'), false>} */
19772
+ function getSideChannelMap() {
19873
19773
  var $m;
19874
- var $o;
19875
19774
  var channel = {
19876
19775
  assert: function(key) {
19877
19776
  if (!channel.has(key)) {
19878
19777
  throw new $TypeError("Side channel does not contain " + inspect(key));
19879
19778
  }
19880
19779
  },
19881
- get: function(key) {
19882
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19883
- if ($wm) {
19884
- return $weakMapGet($wm, key);
19885
- }
19886
- } else if ($Map) {
19887
- if ($m) {
19888
- return $mapGet($m, key);
19889
- }
19890
- } else {
19891
- if ($o) {
19892
- return listGet($o, key);
19780
+ "delete": function(key) {
19781
+ if ($m) {
19782
+ var result = $mapDelete($m, key);
19783
+ if ($mapSize($m) === 0) {
19784
+ $m = void 0;
19893
19785
  }
19786
+ return result;
19787
+ }
19788
+ return false;
19789
+ },
19790
+ get: function(key) {
19791
+ if ($m) {
19792
+ return $mapGet($m, key);
19894
19793
  }
19895
19794
  },
19896
19795
  has: function(key) {
19897
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19898
- if ($wm) {
19899
- return $weakMapHas($wm, key);
19900
- }
19901
- } else if ($Map) {
19902
- if ($m) {
19903
- return $mapHas($m, key);
19904
- }
19905
- } else {
19906
- if ($o) {
19907
- return listHas($o, key);
19908
- }
19796
+ if ($m) {
19797
+ return $mapHas($m, key);
19909
19798
  }
19910
19799
  return false;
19911
19800
  },
19912
19801
  set: function(key, value) {
19913
- if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19914
- if (!$wm) {
19915
- $wm = new $WeakMap();
19802
+ if (!$m) {
19803
+ $m = new $Map();
19804
+ }
19805
+ $mapSet($m, key, value);
19806
+ }
19807
+ };
19808
+ return channel;
19809
+ };
19810
+ }
19811
+ });
19812
+
19813
+ // ../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js
19814
+ var require_side_channel_weakmap = __commonJS({
19815
+ "../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js"(exports3, module3) {
19816
+ "use strict";
19817
+ var GetIntrinsic = require_get_intrinsic();
19818
+ var callBound = require_call_bound();
19819
+ var inspect = require_object_inspect();
19820
+ var getSideChannelMap = require_side_channel_map();
19821
+ var $TypeError = require_type();
19822
+ var $WeakMap = GetIntrinsic("%WeakMap%", true);
19823
+ var $weakMapGet = callBound("WeakMap.prototype.get", true);
19824
+ var $weakMapSet = callBound("WeakMap.prototype.set", true);
19825
+ var $weakMapHas = callBound("WeakMap.prototype.has", true);
19826
+ var $weakMapDelete = callBound("WeakMap.prototype.delete", true);
19827
+ module3.exports = $WeakMap ? (
19828
+ /** @type {Exclude<import('.'), false>} */
19829
+ function getSideChannelWeakMap() {
19830
+ var $wm;
19831
+ var $m;
19832
+ var channel = {
19833
+ assert: function(key) {
19834
+ if (!channel.has(key)) {
19835
+ throw new $TypeError("Side channel does not contain " + inspect(key));
19836
+ }
19837
+ },
19838
+ "delete": function(key) {
19839
+ if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19840
+ if ($wm) {
19841
+ return $weakMapDelete($wm, key);
19842
+ }
19843
+ } else if (getSideChannelMap) {
19844
+ if ($m) {
19845
+ return $m["delete"](key);
19846
+ }
19916
19847
  }
19917
- $weakMapSet($wm, key, value);
19918
- } else if ($Map) {
19919
- if (!$m) {
19920
- $m = new $Map();
19848
+ return false;
19849
+ },
19850
+ get: function(key) {
19851
+ if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19852
+ if ($wm) {
19853
+ return $weakMapGet($wm, key);
19854
+ }
19921
19855
  }
19922
- $mapSet($m, key, value);
19923
- } else {
19924
- if (!$o) {
19925
- $o = { key: {}, next: null };
19856
+ return $m && $m.get(key);
19857
+ },
19858
+ has: function(key) {
19859
+ if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19860
+ if ($wm) {
19861
+ return $weakMapHas($wm, key);
19862
+ }
19863
+ }
19864
+ return !!$m && $m.has(key);
19865
+ },
19866
+ set: function(key, value) {
19867
+ if ($WeakMap && key && (typeof key === "object" || typeof key === "function")) {
19868
+ if (!$wm) {
19869
+ $wm = new $WeakMap();
19870
+ }
19871
+ $weakMapSet($wm, key, value);
19872
+ } else if (getSideChannelMap) {
19873
+ if (!$m) {
19874
+ $m = getSideChannelMap();
19875
+ }
19876
+ $m.set(key, value);
19926
19877
  }
19927
- listSet($o, key, value);
19928
19878
  }
19879
+ };
19880
+ return channel;
19881
+ }
19882
+ ) : getSideChannelMap;
19883
+ }
19884
+ });
19885
+
19886
+ // ../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js
19887
+ var require_side_channel = __commonJS({
19888
+ "../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js"(exports3, module3) {
19889
+ "use strict";
19890
+ var $TypeError = require_type();
19891
+ var inspect = require_object_inspect();
19892
+ var getSideChannelList = require_side_channel_list();
19893
+ var getSideChannelMap = require_side_channel_map();
19894
+ var getSideChannelWeakMap = require_side_channel_weakmap();
19895
+ var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
19896
+ module3.exports = function getSideChannel() {
19897
+ var $channelData;
19898
+ var channel = {
19899
+ assert: function(key) {
19900
+ if (!channel.has(key)) {
19901
+ throw new $TypeError("Side channel does not contain " + inspect(key));
19902
+ }
19903
+ },
19904
+ "delete": function(key) {
19905
+ return !!$channelData && $channelData["delete"](key);
19906
+ },
19907
+ get: function(key) {
19908
+ return $channelData && $channelData.get(key);
19909
+ },
19910
+ has: function(key) {
19911
+ return !!$channelData && $channelData.has(key);
19912
+ },
19913
+ set: function(key, value) {
19914
+ if (!$channelData) {
19915
+ $channelData = makeChannel();
19916
+ }
19917
+ $channelData.set(key, value);
19929
19918
  }
19930
19919
  };
19931
19920
  return channel;
@@ -29594,7 +29583,7 @@ var require_express_ws = __commonJS({
29594
29583
  }
29595
29584
  });
29596
29585
 
29597
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.23__yjs@13.6.23/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
29586
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
29598
29587
  var import_async_lock = __toESM(require_async_lock(), 1);
29599
29588
 
29600
29589
  // ../node_modules/.pnpm/@hocuspocus+common@2.15.2/node_modules/@hocuspocus/common/dist/hocuspocus-common.esm.js
@@ -30789,7 +30778,7 @@ var iteratorMap = (iterator, fmap) => createIterator(() => {
30789
30778
  return { done, value: done ? void 0 : fmap(value) };
30790
30779
  });
30791
30780
 
30792
- // ../node_modules/.pnpm/yjs@13.6.23/node_modules/yjs/dist/yjs.mjs
30781
+ // ../node_modules/.pnpm/yjs@13.6.24/node_modules/yjs/dist/yjs.mjs
30793
30782
  var DeleteItem = class {
30794
30783
  /**
30795
30784
  * @param {number} clock
@@ -35132,8 +35121,9 @@ var YXmlTreeWalker = class {
35132
35121
  n = type2._start;
35133
35122
  } else {
35134
35123
  while (n !== null) {
35135
- if (n.right !== null) {
35136
- n = n.right;
35124
+ const nxt = n.next;
35125
+ if (nxt !== null) {
35126
+ n = nxt;
35137
35127
  break;
35138
35128
  } else if (n.parent === this._root) {
35139
35129
  n = null;
@@ -36897,8 +36887,7 @@ var Item = class _Item extends AbstractStruct {
36897
36887
  if (this.left && this.left.constructor === _Item) {
36898
36888
  this.parent = this.left.parent;
36899
36889
  this.parentSub = this.left.parentSub;
36900
- }
36901
- if (this.right && this.right.constructor === _Item) {
36890
+ } else if (this.right && this.right.constructor === _Item) {
36902
36891
  this.parent = this.right.parent;
36903
36892
  this.parentSub = this.right.parentSub;
36904
36893
  }
@@ -37389,7 +37378,7 @@ function v4(options, buf, offset) {
37389
37378
  }
37390
37379
  var v4_default = v4;
37391
37380
 
37392
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.23__yjs@13.6.23/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
37381
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
37393
37382
  var import_http = require("http");
37394
37383
 
37395
37384
  // ../node_modules/.pnpm/ws@8.18.0/node_modules/ws/wrapper.mjs
@@ -37399,7 +37388,7 @@ var import_sender = __toESM(require_sender(), 1);
37399
37388
  var import_websocket = __toESM(require_websocket(), 1);
37400
37389
  var import_websocket_server = __toESM(require_websocket_server(), 1);
37401
37390
 
37402
- // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.23__yjs@13.6.23/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
37391
+ // ../node_modules/.pnpm/@hocuspocus+server@2.15.2_y-protocols@1.0.6_yjs@13.6.24__yjs@13.6.24/node_modules/@hocuspocus/server/dist/hocuspocus-server.esm.js
37403
37392
  var import_url = require("url");
37404
37393
  var BIT83 = 128;
37405
37394
  var BITS73 = 127;