@interopio/fdc3 2.6.1 → 2.7.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.
package/dist/fdc3.umd.js CHANGED
@@ -35,10 +35,10 @@
35
35
  return a;
36
36
  }
37
37
 
38
- var toStr$8 = Object.prototype.toString;
38
+ var toStr$5 = Object.prototype.toString;
39
39
 
40
40
  var isArguments$3 = function isArguments(value) {
41
- var str = toStr$8.call(value);
41
+ var str = toStr$5.call(value);
42
42
  var isArgs = str === '[object Arguments]';
43
43
  if (!isArgs) {
44
44
  isArgs = str !== '[object Array]' &&
@@ -46,7 +46,7 @@
46
46
  typeof value === 'object' &&
47
47
  typeof value.length === 'number' &&
48
48
  value.length >= 0 &&
49
- toStr$8.call(value.callee) === '[object Function]';
49
+ toStr$5.call(value.callee) === '[object Function]';
50
50
  }
51
51
  return isArgs;
52
52
  };
@@ -232,10 +232,10 @@
232
232
  var type = TypeError;
233
233
 
234
234
  /** @type {import('./gOPD')} */
235
- var gOPD$5 = Object.getOwnPropertyDescriptor;
235
+ var gOPD$6 = Object.getOwnPropertyDescriptor;
236
236
 
237
237
  /** @type {import('.')} */
238
- var $gOPD$2 = gOPD$5;
238
+ var $gOPD$2 = gOPD$6;
239
239
 
240
240
  if ($gOPD$2) {
241
241
  try {
@@ -251,7 +251,7 @@
251
251
  var $defineProperty$2 = esDefineProperty;
252
252
 
253
253
  var $SyntaxError$2 = syntax;
254
- var $TypeError$a = type;
254
+ var $TypeError$b = type;
255
255
 
256
256
  var gopd = gopd$1;
257
257
 
@@ -262,22 +262,22 @@
262
262
  value
263
263
  ) {
264
264
  if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
265
- throw new $TypeError$a('`obj` must be an object or a function`');
265
+ throw new $TypeError$b('`obj` must be an object or a function`');
266
266
  }
267
267
  if (typeof property !== 'string' && typeof property !== 'symbol') {
268
- throw new $TypeError$a('`property` must be a string or a symbol`');
268
+ throw new $TypeError$b('`property` must be a string or a symbol`');
269
269
  }
270
270
  if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
271
- throw new $TypeError$a('`nonEnumerable`, if provided, must be a boolean or null');
271
+ throw new $TypeError$b('`nonEnumerable`, if provided, must be a boolean or null');
272
272
  }
273
273
  if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
274
- throw new $TypeError$a('`nonWritable`, if provided, must be a boolean or null');
274
+ throw new $TypeError$b('`nonWritable`, if provided, must be a boolean or null');
275
275
  }
276
276
  if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
277
- throw new $TypeError$a('`nonConfigurable`, if provided, must be a boolean or null');
277
+ throw new $TypeError$b('`nonConfigurable`, if provided, must be a boolean or null');
278
278
  }
279
279
  if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
280
- throw new $TypeError$a('`loose`, if provided, must be a boolean');
280
+ throw new $TypeError$b('`loose`, if provided, must be a boolean');
281
281
  }
282
282
 
283
283
  var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
@@ -327,12 +327,12 @@
327
327
  var keys = objectKeys$2;
328
328
  var hasSymbols$5 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
329
329
 
330
- var toStr$7 = Object.prototype.toString;
330
+ var toStr$4 = Object.prototype.toString;
331
331
  var concat = Array.prototype.concat;
332
332
  var defineDataProperty = defineDataProperty$1;
333
333
 
334
334
  var isFunction = function (fn) {
335
- return typeof fn === 'function' && toStr$7.call(fn) === '[object Function]';
335
+ return typeof fn === 'function' && toStr$4.call(fn) === '[object Function]';
336
336
  };
337
337
 
338
338
  var supportsDescriptors$2 = hasPropertyDescriptors_1();
@@ -370,112 +370,7 @@
370
370
 
371
371
  var defineProperties_1 = defineProperties$1;
372
372
 
373
- var callBind$6 = {exports: {}};
374
-
375
- var implementation$9;
376
- var hasRequiredImplementation;
377
-
378
- function requireImplementation () {
379
- if (hasRequiredImplementation) return implementation$9;
380
- hasRequiredImplementation = 1;
381
-
382
- /* eslint no-invalid-this: 1 */
383
-
384
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
385
- var toStr = Object.prototype.toString;
386
- var max = Math.max;
387
- var funcType = '[object Function]';
388
-
389
- var concatty = function concatty(a, b) {
390
- var arr = [];
391
-
392
- for (var i = 0; i < a.length; i += 1) {
393
- arr[i] = a[i];
394
- }
395
- for (var j = 0; j < b.length; j += 1) {
396
- arr[j + a.length] = b[j];
397
- }
398
-
399
- return arr;
400
- };
401
-
402
- var slicy = function slicy(arrLike, offset) {
403
- var arr = [];
404
- for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
405
- arr[j] = arrLike[i];
406
- }
407
- return arr;
408
- };
409
-
410
- var joiny = function (arr, joiner) {
411
- var str = '';
412
- for (var i = 0; i < arr.length; i += 1) {
413
- str += arr[i];
414
- if (i + 1 < arr.length) {
415
- str += joiner;
416
- }
417
- }
418
- return str;
419
- };
420
-
421
- implementation$9 = function bind(that) {
422
- var target = this;
423
- if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
424
- throw new TypeError(ERROR_MESSAGE + target);
425
- }
426
- var args = slicy(arguments, 1);
427
-
428
- var bound;
429
- var binder = function () {
430
- if (this instanceof bound) {
431
- var result = target.apply(
432
- this,
433
- concatty(args, arguments)
434
- );
435
- if (Object(result) === result) {
436
- return result;
437
- }
438
- return this;
439
- }
440
- return target.apply(
441
- that,
442
- concatty(args, arguments)
443
- );
444
-
445
- };
446
-
447
- var boundLength = max(0, target.length - args.length);
448
- var boundArgs = [];
449
- for (var i = 0; i < boundLength; i++) {
450
- boundArgs[i] = '$' + i;
451
- }
452
-
453
- bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
454
-
455
- if (target.prototype) {
456
- var Empty = function Empty() {};
457
- Empty.prototype = target.prototype;
458
- bound.prototype = new Empty();
459
- Empty.prototype = null;
460
- }
461
-
462
- return bound;
463
- };
464
- return implementation$9;
465
- }
466
-
467
- var functionBind;
468
- var hasRequiredFunctionBind;
469
-
470
- function requireFunctionBind () {
471
- if (hasRequiredFunctionBind) return functionBind;
472
- hasRequiredFunctionBind = 1;
473
-
474
- var implementation = requireImplementation();
475
-
476
- functionBind = Function.prototype.bind || implementation;
477
- return functionBind;
478
- }
373
+ var callBind$7 = {exports: {}};
479
374
 
480
375
  /** @type {import('.')} */
481
376
  var esObjectAtoms = Object;
@@ -620,6 +515,111 @@
620
515
  return Object_getPrototypeOf;
621
516
  }
622
517
 
518
+ var implementation$9;
519
+ var hasRequiredImplementation;
520
+
521
+ function requireImplementation () {
522
+ if (hasRequiredImplementation) return implementation$9;
523
+ hasRequiredImplementation = 1;
524
+
525
+ /* eslint no-invalid-this: 1 */
526
+
527
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
528
+ var toStr = Object.prototype.toString;
529
+ var max = Math.max;
530
+ var funcType = '[object Function]';
531
+
532
+ var concatty = function concatty(a, b) {
533
+ var arr = [];
534
+
535
+ for (var i = 0; i < a.length; i += 1) {
536
+ arr[i] = a[i];
537
+ }
538
+ for (var j = 0; j < b.length; j += 1) {
539
+ arr[j + a.length] = b[j];
540
+ }
541
+
542
+ return arr;
543
+ };
544
+
545
+ var slicy = function slicy(arrLike, offset) {
546
+ var arr = [];
547
+ for (var i = offset, j = 0; i < arrLike.length; i += 1, j += 1) {
548
+ arr[j] = arrLike[i];
549
+ }
550
+ return arr;
551
+ };
552
+
553
+ var joiny = function (arr, joiner) {
554
+ var str = '';
555
+ for (var i = 0; i < arr.length; i += 1) {
556
+ str += arr[i];
557
+ if (i + 1 < arr.length) {
558
+ str += joiner;
559
+ }
560
+ }
561
+ return str;
562
+ };
563
+
564
+ implementation$9 = function bind(that) {
565
+ var target = this;
566
+ if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
567
+ throw new TypeError(ERROR_MESSAGE + target);
568
+ }
569
+ var args = slicy(arguments, 1);
570
+
571
+ var bound;
572
+ var binder = function () {
573
+ if (this instanceof bound) {
574
+ var result = target.apply(
575
+ this,
576
+ concatty(args, arguments)
577
+ );
578
+ if (Object(result) === result) {
579
+ return result;
580
+ }
581
+ return this;
582
+ }
583
+ return target.apply(
584
+ that,
585
+ concatty(args, arguments)
586
+ );
587
+
588
+ };
589
+
590
+ var boundLength = max(0, target.length - args.length);
591
+ var boundArgs = [];
592
+ for (var i = 0; i < boundLength; i++) {
593
+ boundArgs[i] = '$' + i;
594
+ }
595
+
596
+ bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
597
+
598
+ if (target.prototype) {
599
+ var Empty = function Empty() {};
600
+ Empty.prototype = target.prototype;
601
+ bound.prototype = new Empty();
602
+ Empty.prototype = null;
603
+ }
604
+
605
+ return bound;
606
+ };
607
+ return implementation$9;
608
+ }
609
+
610
+ var functionBind;
611
+ var hasRequiredFunctionBind;
612
+
613
+ function requireFunctionBind () {
614
+ if (hasRequiredFunctionBind) return functionBind;
615
+ hasRequiredFunctionBind = 1;
616
+
617
+ var implementation = requireImplementation();
618
+
619
+ functionBind = Function.prototype.bind || implementation;
620
+ return functionBind;
621
+ }
622
+
623
623
  var functionCall;
624
624
  var hasRequiredFunctionCall;
625
625
 
@@ -647,101 +647,83 @@
647
647
  /** @type {import('./reflectApply')} */
648
648
  var reflectApply$1 = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
649
649
 
650
- var bind$2 = requireFunctionBind();
650
+ var bind$3 = requireFunctionBind();
651
651
 
652
- var $apply$1 = requireFunctionApply();
652
+ var $apply$2 = requireFunctionApply();
653
653
  var $call$2 = requireFunctionCall();
654
654
  var $reflectApply = reflectApply$1;
655
655
 
656
656
  /** @type {import('./actualApply')} */
657
- var actualApply = $reflectApply || bind$2.call($call$2, $apply$1);
657
+ var actualApply$1 = $reflectApply || bind$3.call($call$2, $apply$2);
658
658
 
659
- var bind$1 = requireFunctionBind();
660
- var $TypeError$9 = type;
659
+ var bind$2 = requireFunctionBind();
660
+ var $TypeError$a = type;
661
661
 
662
662
  var $call$1 = requireFunctionCall();
663
- var $actualApply = actualApply;
663
+ var $actualApply = actualApply$1;
664
664
 
665
- /** @type {import('.')} */
665
+ /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
666
666
  var callBindApplyHelpers = function callBindBasic(args) {
667
667
  if (args.length < 1 || typeof args[0] !== 'function') {
668
- throw new $TypeError$9('a function is required');
668
+ throw new $TypeError$a('a function is required');
669
669
  }
670
- return $actualApply(bind$1, $call$1, args);
670
+ return $actualApply(bind$2, $call$1, args);
671
671
  };
672
672
 
673
- var get;
674
- var hasRequiredGet;
675
-
676
- function requireGet () {
677
- if (hasRequiredGet) return get;
678
- hasRequiredGet = 1;
679
-
680
- var callBind = callBindApplyHelpers;
681
- var gOPD = gopd$1;
673
+ var callBind$6 = callBindApplyHelpers;
674
+ var gOPD$5 = gopd$1;
682
675
 
683
- var hasProtoAccessor;
684
- try {
685
- // eslint-disable-next-line no-extra-parens, no-proto
686
- hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
687
- } catch (e) {
688
- if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
689
- throw e;
690
- }
676
+ var hasProtoAccessor;
677
+ try {
678
+ // eslint-disable-next-line no-extra-parens, no-proto
679
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
680
+ } catch (e) {
681
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
682
+ throw e;
691
683
  }
692
-
693
- // eslint-disable-next-line no-extra-parens
694
- var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
695
-
696
- var $Object = Object;
697
- var $getPrototypeOf = $Object.getPrototypeOf;
698
-
699
- /** @type {import('./get')} */
700
- get = desc && typeof desc.get === 'function'
701
- ? callBind([desc.get])
702
- : typeof $getPrototypeOf === 'function'
703
- ? /** @type {import('./get')} */ function getDunder(value) {
704
- // eslint-disable-next-line eqeqeq
705
- return $getPrototypeOf(value == null ? value : $Object(value));
706
- }
707
- : false;
708
- return get;
709
684
  }
710
685
 
711
- var getProto$2;
712
- var hasRequiredGetProto;
686
+ // eslint-disable-next-line no-extra-parens
687
+ var desc = !!hasProtoAccessor && gOPD$5 && gOPD$5(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
688
+
689
+ var $Object$3 = Object;
690
+ var $getPrototypeOf = $Object$3.getPrototypeOf;
713
691
 
714
- function requireGetProto () {
715
- if (hasRequiredGetProto) return getProto$2;
716
- hasRequiredGetProto = 1;
692
+ /** @type {import('./get')} */
693
+ var get = desc && typeof desc.get === 'function'
694
+ ? callBind$6([desc.get])
695
+ : typeof $getPrototypeOf === 'function'
696
+ ? /** @type {import('./get')} */ function getDunder(value) {
697
+ // eslint-disable-next-line eqeqeq
698
+ return $getPrototypeOf(value == null ? value : $Object$3(value));
699
+ }
700
+ : false;
717
701
 
718
- var reflectGetProto = requireReflect_getPrototypeOf();
719
- var originalGetProto = requireObject_getPrototypeOf();
702
+ var reflectGetProto = requireReflect_getPrototypeOf();
703
+ var originalGetProto = requireObject_getPrototypeOf();
720
704
 
721
- var getDunderProto = requireGet();
705
+ var getDunderProto = get;
722
706
 
723
- /** @type {import('.')} */
724
- getProto$2 = reflectGetProto
707
+ /** @type {import('.')} */
708
+ var getProto$3 = reflectGetProto
709
+ ? function getProto(O) {
710
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
711
+ return reflectGetProto(O);
712
+ }
713
+ : originalGetProto
725
714
  ? function getProto(O) {
715
+ if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
716
+ throw new TypeError('getProto: not an object');
717
+ }
726
718
  // @ts-expect-error TS can't narrow inside a closure, for some reason
727
- return reflectGetProto(O);
719
+ return originalGetProto(O);
728
720
  }
729
- : originalGetProto
721
+ : getDunderProto
730
722
  ? function getProto(O) {
731
- if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
732
- throw new TypeError('getProto: not an object');
733
- }
734
723
  // @ts-expect-error TS can't narrow inside a closure, for some reason
735
- return originalGetProto(O);
724
+ return getDunderProto(O);
736
725
  }
737
- : getDunderProto
738
- ? function getProto(O) {
739
- // @ts-expect-error TS can't narrow inside a closure, for some reason
740
- return getDunderProto(O);
741
- }
742
- : null;
743
- return getProto$2;
744
- }
726
+ : null;
745
727
 
746
728
  var hasown;
747
729
  var hasRequiredHasown;
@@ -761,14 +743,14 @@
761
743
 
762
744
  var undefined$1;
763
745
 
764
- var $Object$1 = esObjectAtoms;
746
+ var $Object$2 = esObjectAtoms;
765
747
 
766
748
  var $Error = esErrors;
767
749
  var $EvalError = _eval;
768
750
  var $RangeError = range;
769
751
  var $ReferenceError = ref;
770
752
  var $SyntaxError$1 = syntax;
771
- var $TypeError$8 = type;
753
+ var $TypeError$9 = type;
772
754
  var $URIError = uri;
773
755
 
774
756
  var abs = abs$1;
@@ -792,7 +774,7 @@
792
774
  var $defineProperty = esDefineProperty;
793
775
 
794
776
  var throwTypeError = function () {
795
- throw new $TypeError$8();
777
+ throw new $TypeError$9();
796
778
  };
797
779
  var ThrowTypeError = $gOPD$1
798
780
  ? (function () {
@@ -813,23 +795,23 @@
813
795
 
814
796
  var hasSymbols$3 = hasSymbols$4();
815
797
 
816
- var getProto$1 = requireGetProto();
798
+ var getProto$2 = getProto$3;
817
799
  var $ObjectGPO = requireObject_getPrototypeOf();
818
800
  var $ReflectGPO = requireReflect_getPrototypeOf();
819
801
 
820
- var $apply = requireFunctionApply();
802
+ var $apply$1 = requireFunctionApply();
821
803
  var $call = requireFunctionCall();
822
804
 
823
805
  var needsEval = {};
824
806
 
825
- var TypedArray = typeof Uint8Array === 'undefined' || !getProto$1 ? undefined$1 : getProto$1(Uint8Array);
807
+ var TypedArray = typeof Uint8Array === 'undefined' || !getProto$2 ? undefined$1 : getProto$2(Uint8Array);
826
808
 
827
809
  var INTRINSICS = {
828
810
  __proto__: null,
829
811
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
830
812
  '%Array%': Array,
831
813
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
832
- '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,
814
+ '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$2 ? getProto$2([][Symbol.iterator]()) : undefined$1,
833
815
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
834
816
  '%AsyncFunction%': needsEval,
835
817
  '%AsyncGenerator%': needsEval,
@@ -849,6 +831,7 @@
849
831
  '%Error%': $Error,
850
832
  '%eval%': eval, // eslint-disable-line no-eval
851
833
  '%EvalError%': $EvalError,
834
+ '%Float16Array%': typeof Float16Array === 'undefined' ? undefined$1 : Float16Array,
852
835
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
853
836
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
854
837
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
@@ -859,13 +842,13 @@
859
842
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
860
843
  '%isFinite%': isFinite,
861
844
  '%isNaN%': isNaN,
862
- '%IteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,
845
+ '%IteratorPrototype%': hasSymbols$3 && getProto$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$1,
863
846
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
864
847
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
865
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()),
848
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$2 ? undefined$1 : getProto$2(new Map()[Symbol.iterator]()),
866
849
  '%Math%': Math,
867
850
  '%Number%': Number,
868
- '%Object%': $Object$1,
851
+ '%Object%': $Object$2,
869
852
  '%Object.getOwnPropertyDescriptor%': $gOPD$1,
870
853
  '%parseFloat%': parseFloat,
871
854
  '%parseInt%': parseInt,
@@ -876,15 +859,15 @@
876
859
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
877
860
  '%RegExp%': RegExp,
878
861
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
879
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()),
862
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$2 ? undefined$1 : getProto$2(new Set()[Symbol.iterator]()),
880
863
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
881
864
  '%String%': String,
882
- '%StringIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(''[Symbol.iterator]()) : undefined$1,
865
+ '%StringIteratorPrototype%': hasSymbols$3 && getProto$2 ? getProto$2(''[Symbol.iterator]()) : undefined$1,
883
866
  '%Symbol%': hasSymbols$3 ? Symbol : undefined$1,
884
867
  '%SyntaxError%': $SyntaxError$1,
885
868
  '%ThrowTypeError%': ThrowTypeError,
886
869
  '%TypedArray%': TypedArray,
887
- '%TypeError%': $TypeError$8,
870
+ '%TypeError%': $TypeError$9,
888
871
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
889
872
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
890
873
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
@@ -895,7 +878,7 @@
895
878
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
896
879
 
897
880
  '%Function.prototype.call%': $call,
898
- '%Function.prototype.apply%': $apply,
881
+ '%Function.prototype.apply%': $apply$1,
899
882
  '%Object.defineProperty%': $defineProperty,
900
883
  '%Object.getPrototypeOf%': $ObjectGPO,
901
884
  '%Math.abs%': abs,
@@ -908,12 +891,12 @@
908
891
  '%Reflect.getPrototypeOf%': $ReflectGPO
909
892
  };
910
893
 
911
- if (getProto$1) {
894
+ if (getProto$2) {
912
895
  try {
913
896
  null.error; // eslint-disable-line no-unused-expressions
914
897
  } catch (e) {
915
898
  // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
916
- var errorProto = getProto$1(getProto$1(e));
899
+ var errorProto = getProto$2(getProto$2(e));
917
900
  INTRINSICS['%Error.prototype%'] = errorProto;
918
901
  }
919
902
  }
@@ -933,8 +916,8 @@
933
916
  }
934
917
  } else if (name === '%AsyncIteratorPrototype%') {
935
918
  var gen = doEval('%AsyncGenerator%');
936
- if (gen && getProto$1) {
937
- value = getProto$1(gen.prototype);
919
+ if (gen && getProto$2) {
920
+ value = getProto$2(gen.prototype);
938
921
  }
939
922
  }
940
923
 
@@ -998,13 +981,13 @@
998
981
  '%WeakSetPrototype%': ['WeakSet', 'prototype']
999
982
  };
1000
983
 
1001
- var bind = requireFunctionBind();
1002
- var hasOwn$2 = requireHasown();
1003
- var $concat$1 = bind.call($call, Array.prototype.concat);
1004
- var $spliceApply = bind.call($apply, Array.prototype.splice);
1005
- var $replace$1 = bind.call($call, String.prototype.replace);
1006
- var $strSlice = bind.call($call, String.prototype.slice);
1007
- var $exec$1 = bind.call($call, RegExp.prototype.exec);
984
+ var bind$1 = requireFunctionBind();
985
+ var hasOwn$3 = requireHasown();
986
+ var $concat$1 = bind$1.call($call, Array.prototype.concat);
987
+ var $spliceApply = bind$1.call($apply$1, Array.prototype.splice);
988
+ var $replace$1 = bind$1.call($call, String.prototype.replace);
989
+ var $strSlice = bind$1.call($call, String.prototype.slice);
990
+ var $exec$1 = bind$1.call($call, RegExp.prototype.exec);
1008
991
 
1009
992
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1010
993
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
@@ -1028,18 +1011,18 @@
1028
1011
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1029
1012
  var intrinsicName = name;
1030
1013
  var alias;
1031
- if (hasOwn$2(LEGACY_ALIASES, intrinsicName)) {
1014
+ if (hasOwn$3(LEGACY_ALIASES, intrinsicName)) {
1032
1015
  alias = LEGACY_ALIASES[intrinsicName];
1033
1016
  intrinsicName = '%' + alias[0] + '%';
1034
1017
  }
1035
1018
 
1036
- if (hasOwn$2(INTRINSICS, intrinsicName)) {
1019
+ if (hasOwn$3(INTRINSICS, intrinsicName)) {
1037
1020
  var value = INTRINSICS[intrinsicName];
1038
1021
  if (value === needsEval) {
1039
1022
  value = doEval(intrinsicName);
1040
1023
  }
1041
1024
  if (typeof value === 'undefined' && !allowMissing) {
1042
- throw new $TypeError$8('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1025
+ throw new $TypeError$9('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1043
1026
  }
1044
1027
 
1045
1028
  return {
@@ -1054,10 +1037,10 @@
1054
1037
 
1055
1038
  var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1056
1039
  if (typeof name !== 'string' || name.length === 0) {
1057
- throw new $TypeError$8('intrinsic name must be a non-empty string');
1040
+ throw new $TypeError$9('intrinsic name must be a non-empty string');
1058
1041
  }
1059
1042
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1060
- throw new $TypeError$8('"allowMissing" argument must be a boolean');
1043
+ throw new $TypeError$9('"allowMissing" argument must be a boolean');
1061
1044
  }
1062
1045
 
1063
1046
  if ($exec$1(/^%?[^%]*%?$/, name) === null) {
@@ -1097,14 +1080,14 @@
1097
1080
  intrinsicBaseName += '.' + part;
1098
1081
  intrinsicRealName = '%' + intrinsicBaseName + '%';
1099
1082
 
1100
- if (hasOwn$2(INTRINSICS, intrinsicRealName)) {
1083
+ if (hasOwn$3(INTRINSICS, intrinsicRealName)) {
1101
1084
  value = INTRINSICS[intrinsicRealName];
1102
1085
  } else if (value != null) {
1103
1086
  if (!(part in value)) {
1104
1087
  if (!allowMissing) {
1105
- throw new $TypeError$8('base intrinsic for ' + name + ' exists, but the property is not available.');
1088
+ throw new $TypeError$9('base intrinsic for ' + name + ' exists, but the property is not available.');
1106
1089
  }
1107
- return void 0;
1090
+ return void undefined$1;
1108
1091
  }
1109
1092
  if ($gOPD$1 && (i + 1) >= parts.length) {
1110
1093
  var desc = $gOPD$1(value, part);
@@ -1123,7 +1106,7 @@
1123
1106
  value = value[part];
1124
1107
  }
1125
1108
  } else {
1126
- isOwn = hasOwn$2(value, part);
1109
+ isOwn = hasOwn$3(value, part);
1127
1110
  value = value[part];
1128
1111
  }
1129
1112
 
@@ -1140,16 +1123,16 @@
1140
1123
  var hasDescriptors$1 = hasPropertyDescriptors_1();
1141
1124
  var gOPD$4 = gopd$1;
1142
1125
 
1143
- var $TypeError$7 = type;
1126
+ var $TypeError$8 = type;
1144
1127
  var $floor$1 = GetIntrinsic$8('%Math.floor%');
1145
1128
 
1146
1129
  /** @type {import('.')} */
1147
1130
  var setFunctionLength = function setFunctionLength(fn, length) {
1148
1131
  if (typeof fn !== 'function') {
1149
- throw new $TypeError$7('`fn` is not a function');
1132
+ throw new $TypeError$8('`fn` is not a function');
1150
1133
  }
1151
1134
  if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor$1(length) !== length) {
1152
- throw new $TypeError$7('`length` must be a positive 32-bit integer');
1135
+ throw new $TypeError$8('`length` must be a positive 32-bit integer');
1153
1136
  }
1154
1137
 
1155
1138
  var loose = arguments.length > 2 && !!arguments[2];
@@ -1176,55 +1159,57 @@
1176
1159
  return fn;
1177
1160
  };
1178
1161
 
1162
+ var bind = requireFunctionBind();
1163
+ var $apply = requireFunctionApply();
1164
+ var actualApply = actualApply$1;
1165
+
1166
+ /** @type {import('./applyBind')} */
1167
+ var applyBind = function applyBind() {
1168
+ return actualApply(bind, $apply, arguments);
1169
+ };
1170
+
1179
1171
  (function (module) {
1180
1172
 
1181
- var bind = requireFunctionBind();
1182
- var GetIntrinsic = getIntrinsic;
1183
1173
  var setFunctionLength$1 = setFunctionLength;
1184
1174
 
1185
- var $TypeError = type;
1186
- var $apply = GetIntrinsic('%Function.prototype.apply%');
1187
- var $call = GetIntrinsic('%Function.prototype.call%');
1188
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
1189
-
1190
1175
  var $defineProperty = esDefineProperty;
1191
- var $max = GetIntrinsic('%Math.max%');
1176
+
1177
+ var callBindBasic = callBindApplyHelpers;
1178
+ var applyBind$1 = applyBind;
1192
1179
 
1193
1180
  module.exports = function callBind(originalFunction) {
1194
- if (typeof originalFunction !== 'function') {
1195
- throw new $TypeError('a function is required');
1196
- }
1197
- var func = $reflectApply(bind, $call, arguments);
1181
+ var func = callBindBasic(arguments);
1182
+ var adjustedLength = originalFunction.length - (arguments.length - 1);
1198
1183
  return setFunctionLength$1(
1199
1184
  func,
1200
- 1 + $max(0, originalFunction.length - (arguments.length - 1)),
1185
+ 1 + (adjustedLength > 0 ? adjustedLength : 0),
1201
1186
  true
1202
1187
  );
1203
1188
  };
1204
1189
 
1205
- var applyBind = function applyBind() {
1206
- return $reflectApply(bind, $apply, arguments);
1207
- };
1208
-
1209
1190
  if ($defineProperty) {
1210
- $defineProperty(module.exports, 'apply', { value: applyBind });
1191
+ $defineProperty(module.exports, 'apply', { value: applyBind$1 });
1211
1192
  } else {
1212
- module.exports.apply = applyBind;
1193
+ module.exports.apply = applyBind$1;
1213
1194
  }
1214
- } (callBind$6));
1195
+ } (callBind$7));
1215
1196
 
1216
- var callBindExports = callBind$6.exports;
1197
+ var callBindExports = callBind$7.exports;
1217
1198
 
1218
1199
  var GetIntrinsic$7 = getIntrinsic;
1219
1200
 
1220
- var callBind$5 = callBindExports;
1201
+ var callBindBasic = callBindApplyHelpers;
1221
1202
 
1222
- var $indexOf$2 = callBind$5(GetIntrinsic$7('String.prototype.indexOf'));
1203
+ /** @type {(thisArg: string, searchString: string, position?: number) => number} */
1204
+ var $indexOf$2 = callBindBasic([GetIntrinsic$7('%String.prototype.indexOf%')]);
1205
+
1206
+ /** @type {import('.')} */
1207
+ var callBound$i = function callBoundIntrinsic(name, allowMissing) {
1208
+ /* eslint no-extra-parens: 0 */
1223
1209
 
1224
- var callBound$e = function callBoundIntrinsic(name, allowMissing) {
1225
- var intrinsic = GetIntrinsic$7(name, !!allowMissing);
1210
+ var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic$7(name, !!allowMissing));
1226
1211
  if (typeof intrinsic === 'function' && $indexOf$2(name, '.prototype.') > -1) {
1227
- return callBind$5(intrinsic);
1212
+ return callBindBasic(/** @type {const} */ ([intrinsic]));
1228
1213
  }
1229
1214
  return intrinsic;
1230
1215
  };
@@ -1232,25 +1217,25 @@
1232
1217
  // modified from https://github.com/es-shims/es6-shim
1233
1218
  var objectKeys$1 = objectKeys$2;
1234
1219
  var hasSymbols$2 = requireShams()();
1235
- var callBound$d = callBound$e;
1236
- var toObject = Object;
1237
- var $push = callBound$d('Array.prototype.push');
1238
- var $propIsEnumerable = callBound$d('Object.prototype.propertyIsEnumerable');
1239
- var originalGetSymbols = hasSymbols$2 ? Object.getOwnPropertySymbols : null;
1220
+ var callBound$h = callBound$i;
1221
+ var $Object$1 = esObjectAtoms;
1222
+ var $push = callBound$h('Array.prototype.push');
1223
+ var $propIsEnumerable = callBound$h('Object.prototype.propertyIsEnumerable');
1224
+ var originalGetSymbols = hasSymbols$2 ? $Object$1.getOwnPropertySymbols : null;
1240
1225
 
1241
1226
  // eslint-disable-next-line no-unused-vars
1242
1227
  var implementation$8 = function assign(target, source1) {
1243
1228
  if (target == null) { throw new TypeError('target must be an object'); }
1244
- var to = toObject(target); // step 1
1229
+ var to = $Object$1(target); // step 1
1245
1230
  if (arguments.length === 1) {
1246
1231
  return to; // step 2
1247
1232
  }
1248
1233
  for (var s = 1; s < arguments.length; ++s) {
1249
- var from = toObject(arguments[s]); // step 3.a.i
1234
+ var from = $Object$1(arguments[s]); // step 3.a.i
1250
1235
 
1251
1236
  // step 3.a.ii:
1252
1237
  var keys = objectKeys$1(from);
1253
- var getSymbols = hasSymbols$2 && (Object.getOwnPropertySymbols || originalGetSymbols);
1238
+ var getSymbols = hasSymbols$2 && ($Object$1.getOwnPropertySymbols || originalGetSymbols);
1254
1239
  if (getSymbols) {
1255
1240
  var syms = getSymbols(from);
1256
1241
  for (var j = 0; j < syms.length; ++j) {
@@ -1342,13 +1327,13 @@
1342
1327
  };
1343
1328
 
1344
1329
  var defineProperties = defineProperties_1;
1345
- var callBind$4 = callBindExports;
1330
+ var callBind$5 = callBindExports;
1346
1331
 
1347
1332
  var implementation$6 = implementation$8;
1348
1333
  var getPolyfill$4 = polyfill$4;
1349
1334
  var shim$4 = shim$5;
1350
1335
 
1351
- var polyfill$3 = callBind$4.apply(getPolyfill$4());
1336
+ var polyfill$3 = callBind$5.apply(getPolyfill$4());
1352
1337
  // eslint-disable-next-line no-unused-vars
1353
1338
  var bound = function assign(target, source1) {
1354
1339
  return polyfill$3(Object, arguments);
@@ -1362,6 +1347,20 @@
1362
1347
 
1363
1348
  var object_assign = bound;
1364
1349
 
1350
+ var GetIntrinsic$6 = getIntrinsic;
1351
+
1352
+ var callBind$4 = callBindExports;
1353
+
1354
+ var $indexOf$1 = callBind$4(GetIntrinsic$6('String.prototype.indexOf'));
1355
+
1356
+ var callBound$g = function callBoundIntrinsic(name, allowMissing) {
1357
+ var intrinsic = GetIntrinsic$6(name, !!allowMissing);
1358
+ if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.') > -1) {
1359
+ return callBind$4(intrinsic);
1360
+ }
1361
+ return intrinsic;
1362
+ };
1363
+
1365
1364
  var functionsHaveNames = function functionsHaveNames() {
1366
1365
  return typeof function f() {}.name === 'string';
1367
1366
  };
@@ -1396,12 +1395,12 @@
1396
1395
  var hasDescriptors = hasPropertyDescriptors_1();
1397
1396
  var functionsHaveConfigurableNames = functionsHaveNames_1.functionsHaveConfigurableNames();
1398
1397
 
1399
- var $TypeError$6 = type;
1398
+ var $TypeError$7 = type;
1400
1399
 
1401
1400
  /** @type {import('.')} */
1402
1401
  var setFunctionName$1 = function setFunctionName(fn, name) {
1403
1402
  if (typeof fn !== 'function') {
1404
- throw new $TypeError$6('`fn` is not a function');
1403
+ throw new $TypeError$7('`fn` is not a function');
1405
1404
  }
1406
1405
  var loose = arguments.length > 2 && !!arguments[2];
1407
1406
  if (!loose || functionsHaveConfigurableNames) {
@@ -1415,13 +1414,13 @@
1415
1414
  };
1416
1415
 
1417
1416
  var setFunctionName = setFunctionName$1;
1418
- var $TypeError$5 = type;
1417
+ var $TypeError$6 = type;
1419
1418
 
1420
1419
  var $Object = Object;
1421
1420
 
1422
1421
  var implementation$5 = setFunctionName(function flags() {
1423
1422
  if (this == null || this !== $Object(this)) {
1424
- throw new $TypeError$5('RegExp.prototype.flags getter called on non-object');
1423
+ throw new $TypeError$6('RegExp.prototype.flags getter called on non-object');
1425
1424
  }
1426
1425
  var result = '';
1427
1426
  if (this.hasIndices) {
@@ -1462,8 +1461,8 @@
1462
1461
  if (
1463
1462
  descriptor
1464
1463
  && typeof descriptor.get === 'function'
1465
- && typeof RegExp.prototype.dotAll === 'boolean'
1466
- && typeof RegExp.prototype.hasIndices === 'boolean'
1464
+ && 'dotAll' in RegExp.prototype
1465
+ && 'hasIndices' in RegExp.prototype
1467
1466
  ) {
1468
1467
  /* eslint getter-return: 0 */
1469
1468
  var calls = '';
@@ -1478,6 +1477,9 @@
1478
1477
  calls += 'y';
1479
1478
  }
1480
1479
  });
1480
+
1481
+ descriptor.get.call(o);
1482
+
1481
1483
  if (calls === 'dy') {
1482
1484
  return descriptor.get;
1483
1485
  }
@@ -1488,18 +1490,18 @@
1488
1490
 
1489
1491
  var supportsDescriptors = defineProperties_1.supportsDescriptors;
1490
1492
  var getPolyfill$3 = polyfill$2;
1491
- var gOPD$2 = Object.getOwnPropertyDescriptor;
1493
+ var gOPD$2 = gopd$1;
1492
1494
  var defineProperty = Object.defineProperty;
1493
- var TypeErr = TypeError;
1494
- var getProto = Object.getPrototypeOf;
1495
+ var $TypeError$5 = esErrors;
1496
+ var getProto$1 = getProto$3;
1495
1497
  var regex = /a/;
1496
1498
 
1497
1499
  var shim$3 = function shimFlags() {
1498
- if (!supportsDescriptors || !getProto) {
1499
- throw new TypeErr('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');
1500
+ if (!supportsDescriptors || !getProto$1) {
1501
+ throw new $TypeError$5('RegExp.prototype.flags requires a true ES5 environment that supports property descriptors');
1500
1502
  }
1501
1503
  var polyfill = getPolyfill$3();
1502
- var proto = getProto(regex);
1504
+ var proto = getProto$1(regex);
1503
1505
  var descriptor = gOPD$2(proto, 'flags');
1504
1506
  if (!descriptor || descriptor.get !== polyfill) {
1505
1507
  defineProperty(proto, 'flags', {
@@ -1538,35 +1540,46 @@
1538
1540
  };
1539
1541
 
1540
1542
  var hasToStringTag$7 = shams();
1541
- var callBound$c = callBound$e;
1543
+ var callBound$f = callBound$i;
1542
1544
 
1543
- var $toString$4 = callBound$c('Object.prototype.toString');
1545
+ var $toString$7 = callBound$f('Object.prototype.toString');
1544
1546
 
1547
+ /** @type {import('.')} */
1545
1548
  var isStandardArguments = function isArguments(value) {
1546
- if (hasToStringTag$7 && value && typeof value === 'object' && Symbol.toStringTag in value) {
1549
+ if (
1550
+ hasToStringTag$7
1551
+ && value
1552
+ && typeof value === 'object'
1553
+ && Symbol.toStringTag in value
1554
+ ) {
1547
1555
  return false;
1548
1556
  }
1549
- return $toString$4(value) === '[object Arguments]';
1557
+ return $toString$7(value) === '[object Arguments]';
1550
1558
  };
1551
1559
 
1560
+ /** @type {import('.')} */
1552
1561
  var isLegacyArguments = function isArguments(value) {
1553
1562
  if (isStandardArguments(value)) {
1554
1563
  return true;
1555
1564
  }
1556
- return value !== null &&
1557
- typeof value === 'object' &&
1558
- typeof value.length === 'number' &&
1559
- value.length >= 0 &&
1560
- $toString$4(value) !== '[object Array]' &&
1561
- $toString$4(value.callee) === '[object Function]';
1565
+ return value !== null
1566
+ && typeof value === 'object'
1567
+ && 'length' in value
1568
+ && typeof value.length === 'number'
1569
+ && value.length >= 0
1570
+ && $toString$7(value) !== '[object Array]'
1571
+ && 'callee' in value
1572
+ && $toString$7(value.callee) === '[object Function]';
1562
1573
  };
1563
1574
 
1564
1575
  var supportsStandardArguments = (function () {
1565
1576
  return isStandardArguments(arguments);
1566
1577
  }());
1567
1578
 
1579
+ // @ts-expect-error TODO make this not error
1568
1580
  isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
1569
1581
 
1582
+ /** @type {import('.')} */
1570
1583
  var isArguments$2 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
1571
1584
 
1572
1585
  var _nodeResolve_empty = {};
@@ -1663,31 +1676,31 @@
1663
1676
  var objectInspect = function inspect_(obj, options, depth, seen) {
1664
1677
  var opts = options || {};
1665
1678
 
1666
- if (has$1(opts, 'quoteStyle') && !has$1(quotes, opts.quoteStyle)) {
1679
+ if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {
1667
1680
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
1668
1681
  }
1669
1682
  if (
1670
- has$1(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
1683
+ has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
1671
1684
  ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
1672
1685
  : opts.maxStringLength !== null
1673
1686
  )
1674
1687
  ) {
1675
1688
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
1676
1689
  }
1677
- var customInspect = has$1(opts, 'customInspect') ? opts.customInspect : true;
1690
+ var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
1678
1691
  if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
1679
1692
  throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
1680
1693
  }
1681
1694
 
1682
1695
  if (
1683
- has$1(opts, 'indent')
1696
+ has(opts, 'indent')
1684
1697
  && opts.indent !== null
1685
1698
  && opts.indent !== '\t'
1686
1699
  && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
1687
1700
  ) {
1688
1701
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
1689
1702
  }
1690
- if (has$1(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
1703
+ if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
1691
1704
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
1692
1705
  }
1693
1706
  var numericSeparator = opts.numericSeparator;
@@ -1720,7 +1733,7 @@
1720
1733
  var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
1721
1734
  if (typeof depth === 'undefined') { depth = 0; }
1722
1735
  if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
1723
- return isArray$2(obj) ? '[Array]' : '[Object]';
1736
+ return isArray$3(obj) ? '[Array]' : '[Object]';
1724
1737
  }
1725
1738
 
1726
1739
  var indent = getIndent(opts, depth);
@@ -1740,7 +1753,7 @@
1740
1753
  var newOpts = {
1741
1754
  depth: opts.depth
1742
1755
  };
1743
- if (has$1(opts, 'quoteStyle')) {
1756
+ if (has(opts, 'quoteStyle')) {
1744
1757
  newOpts.quoteStyle = opts.quoteStyle;
1745
1758
  }
1746
1759
  return inspect_(value, newOpts, depth + 1, seen);
@@ -1768,7 +1781,7 @@
1768
1781
  s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
1769
1782
  return s;
1770
1783
  }
1771
- if (isArray$2(obj)) {
1784
+ if (isArray$3(obj)) {
1772
1785
  if (obj.length === 0) { return '[]'; }
1773
1786
  var xs = arrObjKeys(obj, inspect);
1774
1787
  if (indent && !singleLineValues(xs)) {
@@ -1845,7 +1858,7 @@
1845
1858
  var ys = arrObjKeys(obj, inspect);
1846
1859
  var isPlainObject = gPO$1 ? gPO$1(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
1847
1860
  var protoTag = obj instanceof Object ? '' : 'null prototype';
1848
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$1.call(toStr$6(obj), 8, -1) : protoTag ? 'Object' : '';
1861
+ var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$1.call(toStr$3(obj), 8, -1) : protoTag ? 'Object' : '';
1849
1862
  var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
1850
1863
  var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
1851
1864
  if (ys.length === 0) { return tag + '{}'; }
@@ -1867,13 +1880,16 @@
1867
1880
  return $replace.call(String(s), /"/g, '&quot;');
1868
1881
  }
1869
1882
 
1870
- function isArray$2(obj) { return toStr$6(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1871
- function isDate$1(obj) { return toStr$6(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1872
- function isRegExp(obj) { return toStr$6(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1873
- function isError(obj) { return toStr$6(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1874
- function isString$3(obj) { return toStr$6(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1875
- function isNumber$1(obj) { return toStr$6(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1876
- function isBoolean$1(obj) { return toStr$6(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
1883
+ function canTrustToString(obj) {
1884
+ return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));
1885
+ }
1886
+ function isArray$3(obj) { return toStr$3(obj) === '[object Array]' && canTrustToString(obj); }
1887
+ function isDate$1(obj) { return toStr$3(obj) === '[object Date]' && canTrustToString(obj); }
1888
+ function isRegExp(obj) { return toStr$3(obj) === '[object RegExp]' && canTrustToString(obj); }
1889
+ function isError(obj) { return toStr$3(obj) === '[object Error]' && canTrustToString(obj); }
1890
+ function isString$3(obj) { return toStr$3(obj) === '[object String]' && canTrustToString(obj); }
1891
+ function isNumber$1(obj) { return toStr$3(obj) === '[object Number]' && canTrustToString(obj); }
1892
+ function isBoolean$1(obj) { return toStr$3(obj) === '[object Boolean]' && canTrustToString(obj); }
1877
1893
 
1878
1894
  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
1879
1895
  function isSymbol$2(obj) {
@@ -1904,12 +1920,12 @@
1904
1920
  return false;
1905
1921
  }
1906
1922
 
1907
- var hasOwn$1 = Object.prototype.hasOwnProperty || function (key) { return key in this; };
1908
- function has$1(obj, key) {
1909
- return hasOwn$1.call(obj, key);
1923
+ var hasOwn$2 = Object.prototype.hasOwnProperty || function (key) { return key in this; };
1924
+ function has(obj, key) {
1925
+ return hasOwn$2.call(obj, key);
1910
1926
  }
1911
1927
 
1912
- function toStr$6(obj) {
1928
+ function toStr$3(obj) {
1913
1929
  return objectToString.call(obj);
1914
1930
  }
1915
1931
 
@@ -2081,12 +2097,12 @@
2081
2097
  }
2082
2098
 
2083
2099
  function arrObjKeys(obj, inspect) {
2084
- var isArr = isArray$2(obj);
2100
+ var isArr = isArray$3(obj);
2085
2101
  var xs = [];
2086
2102
  if (isArr) {
2087
2103
  xs.length = obj.length;
2088
2104
  for (var i = 0; i < obj.length; i++) {
2089
- xs[i] = has$1(obj, i) ? inspect(obj[i], obj) : '';
2105
+ xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
2090
2106
  }
2091
2107
  }
2092
2108
  var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
@@ -2099,7 +2115,7 @@
2099
2115
  }
2100
2116
 
2101
2117
  for (var key in obj) { // eslint-disable-line no-restricted-syntax
2102
- if (!has$1(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2118
+ if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2103
2119
  if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2104
2120
  if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
2105
2121
  // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
@@ -2154,7 +2170,7 @@
2154
2170
  /** @type {import('./list.d.ts').listGet} */
2155
2171
  var listGet = function (objects, key) {
2156
2172
  if (!objects) {
2157
- return void 0;
2173
+ return void undefined;
2158
2174
  }
2159
2175
  var node = listGetNode(objects, key);
2160
2176
  return node && node.value;
@@ -2207,7 +2223,7 @@
2207
2223
  var root = $o && $o.next;
2208
2224
  var deletedNode = listDelete($o, key);
2209
2225
  if (deletedNode && root && root === deletedNode) {
2210
- $o = void 0;
2226
+ $o = void undefined;
2211
2227
  }
2212
2228
  return !!deletedNode;
2213
2229
  },
@@ -2221,7 +2237,7 @@
2221
2237
  if (!$o) {
2222
2238
  // Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
2223
2239
  $o = {
2224
- next: void 0
2240
+ next: void undefined
2225
2241
  };
2226
2242
  }
2227
2243
  // eslint-disable-next-line no-extra-parens
@@ -2232,40 +2248,23 @@
2232
2248
  return channel;
2233
2249
  };
2234
2250
 
2235
- var GetIntrinsic$6 = getIntrinsic;
2236
-
2237
- var callBindBasic = callBindApplyHelpers;
2238
-
2239
- /** @type {(thisArg: string, searchString: string, position?: number) => number} */
2240
- var $indexOf$1 = callBindBasic([GetIntrinsic$6('%String.prototype.indexOf%')]);
2241
-
2242
- /** @type {import('.')} */
2243
- var callBound$b = function callBoundIntrinsic(name, allowMissing) {
2244
- // eslint-disable-next-line no-extra-parens
2245
- var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic$6(name, !!allowMissing));
2246
- if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.') > -1) {
2247
- return callBindBasic([intrinsic]);
2248
- }
2249
- return intrinsic;
2250
- };
2251
-
2252
2251
  var GetIntrinsic$5 = getIntrinsic;
2253
- var callBound$a = callBound$b;
2252
+ var callBound$e = callBound$i;
2254
2253
  var inspect$2 = objectInspect;
2255
2254
 
2256
2255
  var $TypeError$3 = type;
2257
2256
  var $Map$3 = GetIntrinsic$5('%Map%', true);
2258
2257
 
2259
2258
  /** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
2260
- var $mapGet$1 = callBound$a('Map.prototype.get', true);
2259
+ var $mapGet$1 = callBound$e('Map.prototype.get', true);
2261
2260
  /** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
2262
- var $mapSet = callBound$a('Map.prototype.set', true);
2261
+ var $mapSet = callBound$e('Map.prototype.set', true);
2263
2262
  /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
2264
- var $mapHas$5 = callBound$a('Map.prototype.has', true);
2263
+ var $mapHas$5 = callBound$e('Map.prototype.has', true);
2265
2264
  /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
2266
- var $mapDelete = callBound$a('Map.prototype.delete', true);
2265
+ var $mapDelete = callBound$e('Map.prototype.delete', true);
2267
2266
  /** @type {<K, V>(thisArg: Map<K, V>) => number} */
2268
- var $mapSize$1 = callBound$a('Map.prototype.size', true);
2267
+ var $mapSize$1 = callBound$e('Map.prototype.size', true);
2269
2268
 
2270
2269
  /** @type {import('.')} */
2271
2270
  var sideChannelMap = !!$Map$3 && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
@@ -2286,7 +2285,7 @@
2286
2285
  if ($m) {
2287
2286
  var result = $mapDelete($m, key);
2288
2287
  if ($mapSize$1($m) === 0) {
2289
- $m = void 0;
2288
+ $m = void undefined;
2290
2289
  }
2291
2290
  return result;
2292
2291
  }
@@ -2317,7 +2316,7 @@
2317
2316
  };
2318
2317
 
2319
2318
  var GetIntrinsic$4 = getIntrinsic;
2320
- var callBound$9 = callBound$b;
2319
+ var callBound$d = callBound$i;
2321
2320
  var inspect$1 = objectInspect;
2322
2321
  var getSideChannelMap$1 = sideChannelMap;
2323
2322
 
@@ -2325,13 +2324,13 @@
2325
2324
  var $WeakMap$1 = GetIntrinsic$4('%WeakMap%', true);
2326
2325
 
2327
2326
  /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
2328
- var $weakMapGet = callBound$9('WeakMap.prototype.get', true);
2327
+ var $weakMapGet = callBound$d('WeakMap.prototype.get', true);
2329
2328
  /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
2330
- var $weakMapSet = callBound$9('WeakMap.prototype.set', true);
2329
+ var $weakMapSet = callBound$d('WeakMap.prototype.set', true);
2331
2330
  /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
2332
- var $weakMapHas = callBound$9('WeakMap.prototype.has', true);
2331
+ var $weakMapHas = callBound$d('WeakMap.prototype.has', true);
2333
2332
  /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
2334
- var $weakMapDelete = callBound$9('WeakMap.prototype.delete', true);
2333
+ var $weakMapDelete = callBound$d('WeakMap.prototype.delete', true);
2335
2334
 
2336
2335
  /** @type {import('.')} */
2337
2336
  var sideChannelWeakmap = $WeakMap$1
@@ -2441,11 +2440,16 @@
2441
2440
  return channel;
2442
2441
  };
2443
2442
 
2444
- var hasOwn = requireHasown();
2443
+ /** @typedef {`$${import('.').InternalSlot}`} SaltedInternalSlot */
2444
+ /** @typedef {{ [k in SaltedInternalSlot]?: unknown }} SlotsObject */
2445
+
2446
+ var hasOwn$1 = requireHasown();
2447
+ /** @type {import('side-channel').Channel<object, SlotsObject>} */
2445
2448
  var channel = sideChannel();
2446
2449
 
2447
2450
  var $TypeError = type;
2448
2451
 
2452
+ /** @type {import('.')} */
2449
2453
  var SLOT$1 = {
2450
2454
  assert: function (O, slot) {
2451
2455
  if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
@@ -2467,7 +2471,8 @@
2467
2471
  throw new $TypeError('`slot` must be a string');
2468
2472
  }
2469
2473
  var slots = channel.get(O);
2470
- return slots && slots['$' + slot];
2474
+ // eslint-disable-next-line no-extra-parens
2475
+ return slots && slots[/** @type {SaltedInternalSlot} */ ('$' + slot)];
2471
2476
  },
2472
2477
  has: function (O, slot) {
2473
2478
  if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
@@ -2477,7 +2482,8 @@
2477
2482
  throw new $TypeError('`slot` must be a string');
2478
2483
  }
2479
2484
  var slots = channel.get(O);
2480
- return !!slots && hasOwn(slots, '$' + slot);
2485
+ // eslint-disable-next-line no-extra-parens
2486
+ return !!slots && hasOwn$1(slots, /** @type {SaltedInternalSlot} */ ('$' + slot));
2481
2487
  },
2482
2488
  set: function (O, slot, V) {
2483
2489
  if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
@@ -2491,7 +2497,8 @@
2491
2497
  slots = {};
2492
2498
  channel.set(O, slots);
2493
2499
  }
2494
- slots['$' + slot] = V;
2500
+ // eslint-disable-next-line no-extra-parens
2501
+ slots[/** @type {SaltedInternalSlot} */ ('$' + slot)] = V;
2495
2502
  }
2496
2503
  };
2497
2504
 
@@ -2502,10 +2509,11 @@
2502
2509
  var internalSlot = SLOT$1;
2503
2510
 
2504
2511
  var SLOT = internalSlot;
2512
+ var $SyntaxError = syntax;
2505
2513
 
2506
- var $SyntaxError = SyntaxError;
2507
2514
  var $StopIteration = typeof StopIteration === 'object' ? StopIteration : null;
2508
2515
 
2516
+ /** @type {import('.')} */
2509
2517
  var stopIterationIterator = function getStopIterationIterator(origIterator) {
2510
2518
  if (!$StopIteration) {
2511
2519
  throw new $SyntaxError('this environment lacks StopIteration');
@@ -2513,14 +2521,18 @@
2513
2521
 
2514
2522
  SLOT.set(origIterator, '[[Done]]', false);
2515
2523
 
2524
+ /** @template T @typedef {T extends Iterator<infer U> ? U : never} IteratorType */
2525
+ /** @typedef {IteratorType<ReturnType<typeof getStopIterationIterator>>} T */
2516
2526
  var siIterator = {
2517
- next: function next() {
2518
- var iterator = SLOT.get(this, '[[Iterator]]');
2519
- var done = SLOT.get(iterator, '[[Done]]');
2527
+ next: /** @type {() => IteratorResult<T>} */ function next() {
2528
+ // eslint-disable-next-line no-extra-parens
2529
+ var iterator = /** @type {typeof origIterator} */ (SLOT.get(this, '[[Iterator]]'));
2530
+ var done = !!SLOT.get(iterator, '[[Done]]');
2520
2531
  try {
2521
2532
  return {
2522
2533
  done: done,
2523
- value: done ? void undefined : iterator.next()
2534
+ // eslint-disable-next-line no-extra-parens
2535
+ value: done ? void undefined : /** @type {T} */ (iterator.next())
2524
2536
  };
2525
2537
  } catch (e) {
2526
2538
  SLOT.set(iterator, '[[Done]]', true);
@@ -2529,7 +2541,7 @@
2529
2541
  }
2530
2542
  return {
2531
2543
  done: true,
2532
- value: void 0
2544
+ value: void undefined
2533
2545
  };
2534
2546
  }
2535
2547
  }
@@ -2537,6 +2549,7 @@
2537
2549
 
2538
2550
  SLOT.set(siIterator, '[[Iterator]]', origIterator);
2539
2551
 
2552
+ // @ts-expect-error TODO FIXME
2540
2553
  return siIterator;
2541
2554
  };
2542
2555
 
@@ -2546,27 +2559,34 @@
2546
2559
  return toString.call(arr) == '[object Array]';
2547
2560
  };
2548
2561
 
2549
- var strValue = String.prototype.valueOf;
2562
+ var callBound$c = callBound$i;
2563
+
2564
+ /** @type {(receiver: ThisParameterType<typeof String.prototype.valueOf>, ...args: Parameters<typeof String.prototype.valueOf>) => ReturnType<typeof String.prototype.valueOf>} */
2565
+ var $strValueOf = callBound$c('String.prototype.valueOf');
2566
+
2567
+ /** @type {import('.')} */
2550
2568
  var tryStringObject = function tryStringObject(value) {
2551
2569
  try {
2552
- strValue.call(value);
2570
+ $strValueOf(value);
2553
2571
  return true;
2554
2572
  } catch (e) {
2555
2573
  return false;
2556
2574
  }
2557
2575
  };
2558
- var toStr$5 = Object.prototype.toString;
2576
+ /** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */
2577
+ var $toString$6 = callBound$c('Object.prototype.toString');
2559
2578
  var strClass = '[object String]';
2560
2579
  var hasToStringTag$6 = shams();
2561
2580
 
2581
+ /** @type {import('.')} */
2562
2582
  var isString$2 = function isString(value) {
2563
2583
  if (typeof value === 'string') {
2564
2584
  return true;
2565
2585
  }
2566
- if (typeof value !== 'object') {
2586
+ if (!value || typeof value !== 'object') {
2567
2587
  return false;
2568
2588
  }
2569
- return hasToStringTag$6 ? tryStringObject(value) : toStr$5.call(value) === strClass;
2589
+ return hasToStringTag$6 ? tryStringObject(value) : $toString$6(value) === strClass;
2570
2590
  };
2571
2591
 
2572
2592
  /** @const */
@@ -2694,15 +2714,15 @@
2694
2714
  };
2695
2715
  } else {
2696
2716
  // Symbol is not available, native or shammed
2697
- var isArray$1 = isarray;
2717
+ var isArray$2 = isarray;
2698
2718
  var isString$1 = isString$2;
2699
2719
  var GetIntrinsic$3 = getIntrinsic;
2700
2720
  var $Map = GetIntrinsic$3('%Map%', true);
2701
2721
  var $Set$1 = GetIntrinsic$3('%Set%', true);
2702
- var callBound$8 = callBound$e;
2703
- var $arrayPush = callBound$8('Array.prototype.push');
2704
- var $charCodeAt = callBound$8('String.prototype.charCodeAt');
2705
- var $stringSlice = callBound$8('String.prototype.slice');
2722
+ var callBound$b = callBound$g;
2723
+ var $arrayPush = callBound$b('Array.prototype.push');
2724
+ var $charCodeAt = callBound$b('String.prototype.charCodeAt');
2725
+ var $stringSlice = callBound$b('String.prototype.slice');
2706
2726
 
2707
2727
  var advanceStringIndex = function advanceStringIndex(S, index) {
2708
2728
  var length = S.length;
@@ -2742,7 +2762,7 @@
2742
2762
  };
2743
2763
 
2744
2764
  var getNonCollectionIterator = function getNonCollectionIterator(iterable, noPrimordialCollections) {
2745
- if (isArray$1(iterable) || isArguments$1(iterable)) {
2765
+ if (isArray$2(iterable) || isArguments$1(iterable)) {
2746
2766
  return getArrayIterator(iterable);
2747
2767
  }
2748
2768
  if (isString$1(iterable)) {
@@ -2793,21 +2813,21 @@
2793
2813
  var isSet$1 = isSet$2;
2794
2814
 
2795
2815
  // Firefox >= 27, IE 11, Safari 6.2 - 9, Edge 11, es6-shim in older envs, all have forEach
2796
- var $mapForEach = callBound$8('Map.prototype.forEach', true);
2797
- var $setForEach = callBound$8('Set.prototype.forEach', true);
2816
+ var $mapForEach = callBound$b('Map.prototype.forEach', true);
2817
+ var $setForEach = callBound$b('Set.prototype.forEach', true);
2798
2818
  if (typeof process === 'undefined' || !process.versions || !process.versions.node) { // "if is not node"
2799
2819
 
2800
2820
  // Firefox 17 - 26 has `.iterator()`, whose iterator `.next()` either
2801
2821
  // returns a value, or throws a StopIteration object. These browsers
2802
2822
  // do not have any other mechanism for iteration.
2803
- var $mapIterator = callBound$8('Map.prototype.iterator', true);
2804
- var $setIterator = callBound$8('Set.prototype.iterator', true);
2823
+ var $mapIterator = callBound$b('Map.prototype.iterator', true);
2824
+ var $setIterator = callBound$b('Set.prototype.iterator', true);
2805
2825
  }
2806
2826
  // Firefox 27-35, and some older es6-shim versions, use a string "@@iterator" property
2807
2827
  // this returns a proper iterator object, so we should use it instead of forEach.
2808
2828
  // newer es6-shim versions use a string "_es6-shim iterator_" property.
2809
- var $mapAtAtIterator = callBound$8('Map.prototype.@@iterator', true) || callBound$8('Map.prototype._es6-shim iterator_', true);
2810
- var $setAtAtIterator = callBound$8('Set.prototype.@@iterator', true) || callBound$8('Set.prototype._es6-shim iterator_', true);
2829
+ var $mapAtAtIterator = callBound$b('Map.prototype.@@iterator', true) || callBound$b('Map.prototype._es6-shim iterator_', true);
2830
+ var $setAtAtIterator = callBound$b('Set.prototype.@@iterator', true) || callBound$b('Set.prototype._es6-shim iterator_', true);
2811
2831
 
2812
2832
  var getCollectionIterator = function getCollectionIterator(iterable) {
2813
2833
  if (isMap$1(iterable)) {
@@ -2904,13 +2924,13 @@
2904
2924
  var objectIs = polyfill;
2905
2925
 
2906
2926
  var callBind$1 = callBindExports;
2907
- var callBound$7 = callBound$e;
2927
+ var callBound$a = callBound$i;
2908
2928
  var GetIntrinsic$2 = getIntrinsic;
2909
2929
 
2910
2930
  var $ArrayBuffer = GetIntrinsic$2('%ArrayBuffer%', true);
2911
2931
  /** @type {undefined | ((receiver: ArrayBuffer) => number) | ((receiver: unknown) => never)} */
2912
- var $byteLength$2 = callBound$7('ArrayBuffer.prototype.byteLength', true);
2913
- var $toString$3 = callBound$7('Object.prototype.toString');
2932
+ var $byteLength$2 = callBound$a('ArrayBuffer.prototype.byteLength', true);
2933
+ var $toString$5 = callBound$a('Object.prototype.toString');
2914
2934
 
2915
2935
  // in node 0.10, ArrayBuffers have no prototype methods, but have an own slot-checking `slice` method
2916
2936
  var abSlice = !!$ArrayBuffer && !$byteLength$2 && new $ArrayBuffer(0).slice;
@@ -2938,49 +2958,58 @@
2938
2958
  : $ArrayBuffer
2939
2959
  // in node 0.8, ArrayBuffers have no prototype or own methods, but also no Symbol.toStringTag
2940
2960
  ? function isArrayBuffer(obj) {
2941
- return $toString$3(obj) === '[object ArrayBuffer]';
2961
+ return $toString$5(obj) === '[object ArrayBuffer]';
2942
2962
  }
2963
+ // @ts-expect-error
2943
2964
  : function isArrayBuffer(obj) { // eslint-disable-line no-unused-vars
2944
2965
  return false;
2945
2966
  };
2946
2967
 
2947
- var getDay = Date.prototype.getDay;
2968
+ var callBound$9 = callBound$i;
2969
+
2970
+ var getDay = callBound$9('Date.prototype.getDay');
2971
+ /** @type {import('.')} */
2948
2972
  var tryDateObject = function tryDateGetDayCall(value) {
2949
2973
  try {
2950
- getDay.call(value);
2974
+ getDay(value);
2951
2975
  return true;
2952
2976
  } catch (e) {
2953
2977
  return false;
2954
2978
  }
2955
2979
  };
2956
2980
 
2957
- var toStr$4 = Object.prototype.toString;
2981
+ /** @type {(value: unknown) => string} */
2982
+ var toStr$2 = callBound$9('Object.prototype.toString');
2958
2983
  var dateClass = '[object Date]';
2959
2984
  var hasToStringTag$5 = shams();
2960
2985
 
2986
+ /** @type {import('.')} */
2961
2987
  var isDateObject = function isDateObject(value) {
2962
2988
  if (typeof value !== 'object' || value === null) {
2963
2989
  return false;
2964
2990
  }
2965
- return hasToStringTag$5 ? tryDateObject(value) : toStr$4.call(value) === dateClass;
2991
+ return hasToStringTag$5 ? tryDateObject(value) : toStr$2(value) === dateClass;
2966
2992
  };
2967
2993
 
2968
- var callBound$6 = callBound$e;
2994
+ var callBound$8 = callBound$i;
2969
2995
  var hasToStringTag$4 = shams();
2970
- var has;
2971
- var $exec;
2972
- var isRegexMarker;
2973
- var badStringifier;
2996
+ var hasOwn = requireHasown();
2997
+ var gOPD$1 = gopd$1;
2998
+
2999
+ /** @type {import('.')} */
3000
+ var fn;
2974
3001
 
2975
3002
  if (hasToStringTag$4) {
2976
- has = callBound$6('Object.prototype.hasOwnProperty');
2977
- $exec = callBound$6('RegExp.prototype.exec');
2978
- isRegexMarker = {};
3003
+ /** @type {(receiver: ThisParameterType<typeof RegExp.prototype.exec>, ...args: Parameters<typeof RegExp.prototype.exec>) => ReturnType<typeof RegExp.prototype.exec>} */
3004
+ var $exec = callBound$8('RegExp.prototype.exec');
3005
+ /** @type {object} */
3006
+ var isRegexMarker = {};
2979
3007
 
2980
3008
  var throwRegexMarker = function () {
2981
3009
  throw isRegexMarker;
2982
3010
  };
2983
- badStringifier = {
3011
+ /** @type {{ toString(): never, valueOf(): never, [Symbol.toPrimitive]?(): never }} */
3012
+ var badStringifier = {
2984
3013
  toString: throwRegexMarker,
2985
3014
  valueOf: throwRegexMarker
2986
3015
  };
@@ -2988,43 +3017,52 @@
2988
3017
  if (typeof Symbol.toPrimitive === 'symbol') {
2989
3018
  badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2990
3019
  }
2991
- }
2992
3020
 
2993
- var $toString$2 = callBound$6('Object.prototype.toString');
2994
- var gOPD$1 = Object.getOwnPropertyDescriptor;
2995
- var regexClass = '[object RegExp]';
2996
-
2997
- var isRegex$1 = hasToStringTag$4
3021
+ /** @type {import('.')} */
3022
+ // @ts-expect-error TS can't figure out that the $exec call always throws
2998
3023
  // eslint-disable-next-line consistent-return
2999
- ? function isRegex(value) {
3024
+ fn = function isRegex(value) {
3000
3025
  if (!value || typeof value !== 'object') {
3001
3026
  return false;
3002
3027
  }
3003
3028
 
3004
- var descriptor = gOPD$1(value, 'lastIndex');
3005
- var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
3029
+ // eslint-disable-next-line no-extra-parens
3030
+ var descriptor = /** @type {NonNullable<typeof gOPD>} */ (gOPD$1)(/** @type {{ lastIndex?: unknown }} */ (value), 'lastIndex');
3031
+ var hasLastIndexDataProperty = descriptor && hasOwn(descriptor, 'value');
3006
3032
  if (!hasLastIndexDataProperty) {
3007
3033
  return false;
3008
3034
  }
3009
3035
 
3010
3036
  try {
3011
- $exec(value, badStringifier);
3037
+ // eslint-disable-next-line no-extra-parens
3038
+ $exec(value, /** @type {string} */ (/** @type {unknown} */ (badStringifier)));
3012
3039
  } catch (e) {
3013
3040
  return e === isRegexMarker;
3014
3041
  }
3015
- }
3016
- : function isRegex(value) {
3042
+ };
3043
+ } else {
3044
+ /** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */
3045
+ var $toString$4 = callBound$8('Object.prototype.toString');
3046
+ /** @const @type {'[object RegExp]'} */
3047
+ var regexClass = '[object RegExp]';
3048
+
3049
+ /** @type {import('.')} */
3050
+ fn = function isRegex(value) {
3017
3051
  // In older browsers, typeof regex incorrectly returns 'function'
3018
3052
  if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
3019
3053
  return false;
3020
3054
  }
3021
3055
 
3022
- return $toString$2(value) === regexClass;
3056
+ return $toString$4(value) === regexClass;
3023
3057
  };
3058
+ }
3059
+
3060
+ var isRegex$1 = fn;
3024
3061
 
3025
- var callBound$5 = callBound$e;
3062
+ var callBound$7 = callBound$i;
3026
3063
 
3027
- var $byteLength$1 = callBound$5('SharedArrayBuffer.prototype.byteLength', true);
3064
+ /** @type {undefined | ((thisArg: SharedArrayBuffer) => number)} */
3065
+ var $byteLength$1 = callBound$7('SharedArrayBuffer.prototype.byteLength', true);
3028
3066
 
3029
3067
  /** @type {import('.')} */
3030
3068
  var isSharedArrayBuffer$1 = $byteLength$1
@@ -3033,43 +3071,50 @@
3033
3071
  return false;
3034
3072
  }
3035
3073
  try {
3074
+ // @ts-expect-error TS can't figure out this closed-over variable is non-nullable, and it's fine that `obj` might not be a SAB
3036
3075
  $byteLength$1(obj);
3037
3076
  return true;
3038
3077
  } catch (e) {
3039
3078
  return false;
3040
3079
  }
3041
3080
  }
3042
- : function isSharedArrayBuffer(obj) { // eslint-disable-line no-unused-vars
3081
+ : function isSharedArrayBuffer(_obj) { // eslint-disable-line no-unused-vars
3043
3082
  return false;
3044
3083
  };
3045
3084
 
3046
- var numToStr = Number.prototype.toString;
3085
+ var callBound$6 = callBound$i;
3086
+
3087
+ var $numToStr = callBound$6('Number.prototype.toString');
3088
+
3089
+ /** @type {import('.')} */
3047
3090
  var tryNumberObject = function tryNumberObject(value) {
3048
3091
  try {
3049
- numToStr.call(value);
3092
+ $numToStr(value);
3050
3093
  return true;
3051
3094
  } catch (e) {
3052
3095
  return false;
3053
3096
  }
3054
3097
  };
3055
- var toStr$3 = Object.prototype.toString;
3098
+ var $toString$3 = callBound$6('Object.prototype.toString');
3056
3099
  var numClass = '[object Number]';
3057
3100
  var hasToStringTag$3 = shams();
3058
3101
 
3102
+ /** @type {import('.')} */
3059
3103
  var isNumberObject = function isNumberObject(value) {
3060
3104
  if (typeof value === 'number') {
3061
3105
  return true;
3062
3106
  }
3063
- if (typeof value !== 'object') {
3107
+ if (!value || typeof value !== 'object') {
3064
3108
  return false;
3065
3109
  }
3066
- return hasToStringTag$3 ? tryNumberObject(value) : toStr$3.call(value) === numClass;
3110
+ return hasToStringTag$3 ? tryNumberObject(value) : $toString$3(value) === numClass;
3067
3111
  };
3068
3112
 
3069
- var callBound$4 = callBound$e;
3070
- var $boolToStr = callBound$4('Boolean.prototype.toString');
3071
- var $toString$1 = callBound$4('Object.prototype.toString');
3113
+ var callBound$5 = callBound$i;
3114
+ var $boolToStr = callBound$5('Boolean.prototype.toString');
3115
+ var $toString$2 = callBound$5('Object.prototype.toString');
3072
3116
 
3117
+ /** @type {import('.')} */
3073
3118
  var tryBooleanObject = function booleanBrandCheck(value) {
3074
3119
  try {
3075
3120
  $boolToStr(value);
@@ -3081,6 +3126,7 @@
3081
3126
  var boolClass = '[object Boolean]';
3082
3127
  var hasToStringTag$2 = shams();
3083
3128
 
3129
+ /** @type {import('.')} */
3084
3130
  var isBooleanObject = function isBoolean(value) {
3085
3131
  if (typeof value === 'boolean') {
3086
3132
  return true;
@@ -3088,29 +3134,59 @@
3088
3134
  if (value === null || typeof value !== 'object') {
3089
3135
  return false;
3090
3136
  }
3091
- return hasToStringTag$2 && Symbol.toStringTag in value ? tryBooleanObject(value) : $toString$1(value) === boolClass;
3137
+ return hasToStringTag$2 ? tryBooleanObject(value) : $toString$2(value) === boolClass;
3092
3138
  };
3093
3139
 
3094
3140
  var isSymbol$1 = {exports: {}};
3095
3141
 
3096
- var toStr$2 = Object.prototype.toString;
3142
+ var safeRegexTest$1;
3143
+ var hasRequiredSafeRegexTest;
3144
+
3145
+ function requireSafeRegexTest () {
3146
+ if (hasRequiredSafeRegexTest) return safeRegexTest$1;
3147
+ hasRequiredSafeRegexTest = 1;
3148
+
3149
+ var callBound = callBound$i;
3150
+ var isRegex = isRegex$1;
3151
+
3152
+ var $exec = callBound('RegExp.prototype.exec');
3153
+ var $TypeError = type;
3154
+
3155
+ /** @type {import('.')} */
3156
+ safeRegexTest$1 = function regexTester(regex) {
3157
+ if (!isRegex(regex)) {
3158
+ throw new $TypeError('`regex` must be a RegExp');
3159
+ }
3160
+ return function test(s) {
3161
+ return $exec(regex, s) !== null;
3162
+ };
3163
+ };
3164
+ return safeRegexTest$1;
3165
+ }
3166
+
3167
+ var callBound$4 = callBound$i;
3168
+ var $toString$1 = callBound$4('Object.prototype.toString');
3097
3169
  var hasSymbols = hasSymbols$4();
3170
+ var safeRegexTest = requireSafeRegexTest();
3098
3171
 
3099
3172
  if (hasSymbols) {
3100
- var symToStr = Symbol.prototype.toString;
3101
- var symStringRegex = /^Symbol\(.*\)$/;
3173
+ var $symToStr = callBound$4('Symbol.prototype.toString');
3174
+ var isSymString = safeRegexTest(/^Symbol\(.*\)$/);
3175
+
3176
+ /** @type {(value: object) => value is Symbol} */
3102
3177
  var isSymbolObject = function isRealSymbolObject(value) {
3103
3178
  if (typeof value.valueOf() !== 'symbol') {
3104
3179
  return false;
3105
3180
  }
3106
- return symStringRegex.test(symToStr.call(value));
3181
+ return isSymString($symToStr(value));
3107
3182
  };
3108
3183
 
3184
+ /** @type {import('.')} */
3109
3185
  isSymbol$1.exports = function isSymbol(value) {
3110
3186
  if (typeof value === 'symbol') {
3111
3187
  return true;
3112
3188
  }
3113
- if (toStr$2.call(value) !== '[object Symbol]') {
3189
+ if (!value || typeof value !== 'object' || $toString$1(value) !== '[object Symbol]') {
3114
3190
  return false;
3115
3191
  }
3116
3192
  try {
@@ -3120,7 +3196,7 @@
3120
3196
  }
3121
3197
  };
3122
3198
  } else {
3123
-
3199
+ /** @type {import('.')} */
3124
3200
  isSymbol$1.exports = function isSymbol(value) {
3125
3201
  // this environment does not support Symbols.
3126
3202
  return false;
@@ -3133,6 +3209,7 @@
3133
3209
 
3134
3210
  var $BigInt = typeof BigInt !== 'undefined' && BigInt;
3135
3211
 
3212
+ /** @type {import('.')} */
3136
3213
  var hasBigints = function hasNativeBigInts() {
3137
3214
  return typeof $BigInt === 'function'
3138
3215
  && typeof BigInt === 'function'
@@ -3144,6 +3221,7 @@
3144
3221
 
3145
3222
  if (hasBigInts) {
3146
3223
  var bigIntValueOf = BigInt.prototype.valueOf;
3224
+ /** @type {(value: object) => value is BigInt} */
3147
3225
  var tryBigInt = function tryBigIntObject(value) {
3148
3226
  try {
3149
3227
  bigIntValueOf.call(value);
@@ -3153,6 +3231,7 @@
3153
3231
  return false;
3154
3232
  };
3155
3233
 
3234
+ /** @type {import('.')} */
3156
3235
  isBigint.exports = function isBigInt(value) {
3157
3236
  if (
3158
3237
  value === null
@@ -3172,6 +3251,7 @@
3172
3251
  return tryBigInt(value);
3173
3252
  };
3174
3253
  } else {
3254
+ /** @type {import('.')} */
3175
3255
  isBigint.exports = function isBigInt(value) {
3176
3256
  return false;
3177
3257
  };
@@ -3185,6 +3265,7 @@
3185
3265
  var isSymbol = isSymbolExports;
3186
3266
  var isBigInt = isBigintExports;
3187
3267
 
3268
+ /** @type {import('.')} */
3188
3269
  // eslint-disable-next-line consistent-return
3189
3270
  var whichBoxedPrimitive$1 = function whichBoxedPrimitive(value) {
3190
3271
  // eslint-disable-next-line eqeqeq
@@ -3256,13 +3337,15 @@
3256
3337
  var isWeakset = {exports: {}};
3257
3338
 
3258
3339
  var GetIntrinsic$1 = getIntrinsic;
3259
- var callBound$3 = callBound$e;
3340
+ var callBound$3 = callBound$i;
3260
3341
 
3261
3342
  var $WeakSet = GetIntrinsic$1('%WeakSet%', true);
3262
3343
 
3344
+ /** @type {undefined | (<V>(thisArg: Set<V>, value: V) => boolean)} */
3263
3345
  var $setHas$1 = callBound$3('WeakSet.prototype.has', true);
3264
3346
 
3265
3347
  if ($setHas$1) {
3348
+ /** @type {undefined | (<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean)} */
3266
3349
  var $mapHas$1 = callBound$3('WeakMap.prototype.has', true);
3267
3350
 
3268
3351
  /** @type {import('.')} */
@@ -3271,9 +3354,11 @@
3271
3354
  return false;
3272
3355
  }
3273
3356
  try {
3357
+ // @ts-expect-error TS can't figure out that $setHas is always truthy here
3274
3358
  $setHas$1(x, $setHas$1);
3275
3359
  if ($mapHas$1) {
3276
3360
  try {
3361
+ // @ts-expect-error this indeed might not be a weak collection
3277
3362
  $mapHas$1(x, $mapHas$1);
3278
3363
  } catch (e) {
3279
3364
  return true;
@@ -3286,8 +3371,8 @@
3286
3371
  };
3287
3372
  } else {
3288
3373
  /** @type {import('.')} */
3289
- // eslint-disable-next-line no-unused-vars
3290
- isWeakset.exports = function isWeakSet(x) {
3374
+ // @ts-expect-error
3375
+ isWeakset.exports = function isWeakSet(x) { // eslint-disable-line no-unused-vars
3291
3376
  // `WeakSet` does not exist, or does not have a `has` method
3292
3377
  return false;
3293
3378
  };
@@ -3424,6 +3509,7 @@
3424
3509
  var toStr = Object.prototype.toString;
3425
3510
  var hasOwnProperty = Object.prototype.hasOwnProperty;
3426
3511
 
3512
+ /** @type {<This, A extends readonly unknown[]>(arr: A, iterator: (this: This | void, value: A[number], index: number, arr: A) => void, receiver: This | undefined) => void} */
3427
3513
  var forEachArray = function forEachArray(array, iterator, receiver) {
3428
3514
  for (var i = 0, len = array.length; i < len; i++) {
3429
3515
  if (hasOwnProperty.call(array, i)) {
@@ -3436,6 +3522,7 @@
3436
3522
  }
3437
3523
  };
3438
3524
 
3525
+ /** @type {<This, S extends string>(string: S, iterator: (this: This | void, value: S[number], index: number, string: S) => void, receiver: This | undefined) => void} */
3439
3526
  var forEachString = function forEachString(string, iterator, receiver) {
3440
3527
  for (var i = 0, len = string.length; i < len; i++) {
3441
3528
  // no such thing as a sparse string.
@@ -3447,6 +3534,7 @@
3447
3534
  }
3448
3535
  };
3449
3536
 
3537
+ /** @type {<This, O>(obj: O, iterator: (this: This | void, value: O[keyof O], index: keyof O, obj: O) => void, receiver: This | undefined) => void} */
3450
3538
  var forEachObject = function forEachObject(object, iterator, receiver) {
3451
3539
  for (var k in object) {
3452
3540
  if (hasOwnProperty.call(object, k)) {
@@ -3459,6 +3547,12 @@
3459
3547
  }
3460
3548
  };
3461
3549
 
3550
+ /** @type {(x: unknown) => x is readonly unknown[]} */
3551
+ function isArray$1(x) {
3552
+ return toStr.call(x) === '[object Array]';
3553
+ }
3554
+
3555
+ /** @type {import('.')._internal} */
3462
3556
  var forEach$1 = function forEach(list, iterator, thisArg) {
3463
3557
  if (!isCallable(iterator)) {
3464
3558
  throw new TypeError('iterator must be a function');
@@ -3469,7 +3563,7 @@
3469
3563
  receiver = thisArg;
3470
3564
  }
3471
3565
 
3472
- if (toStr.call(list) === '[object Array]') {
3566
+ if (isArray$1(list)) {
3473
3567
  forEachArray(list, iterator, receiver);
3474
3568
  } else if (typeof list === 'string') {
3475
3569
  forEachString(list, iterator, receiver);
@@ -3478,10 +3572,9 @@
3478
3572
  }
3479
3573
  };
3480
3574
 
3481
- var forEach_1 = forEach$1;
3482
-
3483
3575
  /** @type {import('.')} */
3484
3576
  var possibleTypedArrayNames = [
3577
+ 'Float16Array',
3485
3578
  'Float32Array',
3486
3579
  'Float64Array',
3487
3580
  'Int8Array',
@@ -3511,13 +3604,13 @@
3511
3604
  return out;
3512
3605
  };
3513
3606
 
3514
- var forEach = forEach_1;
3607
+ var forEach = forEach$1;
3515
3608
  var availableTypedArrays = availableTypedArrays$1;
3516
3609
  var callBind = callBindExports;
3517
- var callBound$2 = callBound$e;
3610
+ var callBound$2 = callBound$i;
3518
3611
  var gOPD = gopd$1;
3612
+ var getProto = getProto$3;
3519
3613
 
3520
- /** @type {(O: object) => string} */
3521
3614
  var $toString = callBound$2('Object.prototype.toString');
3522
3615
  var hasToStringTag = shams();
3523
3616
 
@@ -3525,7 +3618,6 @@
3525
3618
  var typedArrays = availableTypedArrays();
3526
3619
 
3527
3620
  var $slice = callBound$2('String.prototype.slice');
3528
- var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
3529
3621
 
3530
3622
  /** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
3531
3623
  var $indexOf = callBound$2('Array.prototype.indexOf', true) || function indexOf(array, value) {
@@ -3537,18 +3629,18 @@
3537
3629
  return -1;
3538
3630
  };
3539
3631
 
3540
- /** @typedef {(receiver: import('.').TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call} Getter */
3541
- /** @type {{ [k in `\$${import('.').TypedArrayName}`]?: Getter } & { __proto__: null }} */
3632
+ /** @typedef {import('./types').Getter} Getter */
3633
+ /** @type {import('./types').Cache} */
3542
3634
  var cache = { __proto__: null };
3543
- if (hasToStringTag && gOPD && getPrototypeOf) {
3635
+ if (hasToStringTag && gOPD && getProto) {
3544
3636
  forEach(typedArrays, function (typedArray) {
3545
3637
  var arr = new g[typedArray]();
3546
- if (Symbol.toStringTag in arr) {
3547
- var proto = getPrototypeOf(arr);
3638
+ if (Symbol.toStringTag in arr && getProto) {
3639
+ var proto = getProto(arr);
3548
3640
  // @ts-expect-error TS won't narrow inside a closure
3549
3641
  var descriptor = gOPD(proto, Symbol.toStringTag);
3550
- if (!descriptor) {
3551
- var superProto = getPrototypeOf(proto);
3642
+ if (!descriptor && proto) {
3643
+ var superProto = getProto(proto);
3552
3644
  // @ts-expect-error TS won't narrow inside a closure
3553
3645
  descriptor = gOPD(superProto, Symbol.toStringTag);
3554
3646
  }
@@ -3561,8 +3653,12 @@
3561
3653
  var arr = new g[typedArray]();
3562
3654
  var fn = arr.slice || arr.set;
3563
3655
  if (fn) {
3564
- // @ts-expect-error TODO: fix
3565
- cache['$' + typedArray] = callBind(fn);
3656
+ cache[
3657
+ /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
3658
+ ] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
3659
+ // @ts-expect-error TODO FIXME
3660
+ callBind(fn)
3661
+ );
3566
3662
  }
3567
3663
  });
3568
3664
  }
@@ -3571,15 +3667,14 @@
3571
3667
  var tryTypedArrays = function tryAllTypedArrays(value) {
3572
3668
  /** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;
3573
3669
  forEach(
3574
- // eslint-disable-next-line no-extra-parens
3575
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
3670
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */ (cache),
3576
3671
  /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
3577
3672
  function (getter, typedArray) {
3578
3673
  if (!found) {
3579
3674
  try {
3580
- // @ts-expect-error TODO: fix
3675
+ // @ts-expect-error a throw is fine here
3581
3676
  if ('$' + getter(value) === typedArray) {
3582
- found = $slice(typedArray, 1);
3677
+ found = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));
3583
3678
  }
3584
3679
  } catch (e) { /**/ }
3585
3680
  }
@@ -3592,14 +3687,13 @@
3592
3687
  var trySlices = function tryAllSlices(value) {
3593
3688
  /** @type {ReturnType<typeof tryAllSlices>} */ var found = false;
3594
3689
  forEach(
3595
- // eslint-disable-next-line no-extra-parens
3596
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
3597
- /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
3690
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */(cache),
3691
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
3598
3692
  if (!found) {
3599
3693
  try {
3600
- // @ts-expect-error TODO: fix
3694
+ // @ts-expect-error a throw is fine here
3601
3695
  getter(value);
3602
- found = $slice(name, 1);
3696
+ found = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));
3603
3697
  } catch (e) { /**/ }
3604
3698
  }
3605
3699
  }
@@ -3626,7 +3720,7 @@
3626
3720
  return tryTypedArrays(value);
3627
3721
  };
3628
3722
 
3629
- var callBound$1 = callBound$e;
3723
+ var callBound$1 = callBound$i;
3630
3724
  var $byteLength = callBound$1('ArrayBuffer.prototype.byteLength', true);
3631
3725
 
3632
3726
  var isArrayBuffer$1 = isArrayBuffer$2;
@@ -3640,7 +3734,7 @@
3640
3734
  }; // in node < 0.11, byteLength is an own nonconfigurable property
3641
3735
 
3642
3736
  var assign = object_assign;
3643
- var callBound = callBound$e;
3737
+ var callBound = callBound$g;
3644
3738
  var flags = regexp_prototype_flags;
3645
3739
  var GetIntrinsic = getIntrinsic;
3646
3740
  var getIterator = esGetIteratorExports;
@@ -10346,7 +10440,7 @@
10346
10440
  return ioc.fdc3;
10347
10441
  };
10348
10442
 
10349
- var version = "2.6.1";
10443
+ var version = "2.7.0";
10350
10444
 
10351
10445
  const globalScope = typeof process !== "undefined" ? process : window;
10352
10446
  globalScope.fdc3Info = {