@feathersjs/client 5.0.31 → 5.0.32

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/feathers.js CHANGED
@@ -417,13 +417,23 @@ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? fun
417
417
  } : function (o, v) {
418
418
  o["default"] = v;
419
419
  });
420
- var __importStar = this && this.__importStar || function (mod) {
421
- if (mod && mod.__esModule) return mod;
422
- var result = {};
423
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
424
- __setModuleDefault(result, mod);
425
- return result;
426
- };
420
+ var __importStar = this && this.__importStar || function () {
421
+ var _ownKeys = function ownKeys(o) {
422
+ _ownKeys = Object.getOwnPropertyNames || function (o) {
423
+ var ar = [];
424
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
425
+ return ar;
426
+ };
427
+ return _ownKeys(o);
428
+ };
429
+ return function (mod) {
430
+ if (mod && mod.__esModule) return mod;
431
+ var result = {};
432
+ if (mod != null) for (var k = _ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
433
+ __setModuleDefault(result, mod);
434
+ return result;
435
+ };
436
+ }();
427
437
  Object.defineProperty(exports, "__esModule", ({
428
438
  value: true
429
439
  }));
@@ -760,8 +770,8 @@ __exportStar(__webpack_require__(/*! ./debug */ "../commons/lib/debug.js"), expo
760
770
 
761
771
 
762
772
  var _excluded = ["message", "errors"];
763
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
764
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
773
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
774
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
765
775
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
766
776
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
767
777
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
@@ -1831,7 +1841,7 @@ Object.defineProperty(exports, "__esModule", ({
1831
1841
  value: true
1832
1842
  }));
1833
1843
  exports.Base = void 0;
1834
- var qs_1 = __importDefault(__webpack_require__(/*! qs */ "../../node_modules/qs/lib/index.js"));
1844
+ var qs_1 = __importDefault(__webpack_require__(/*! qs */ "../rest-client/node_modules/qs/lib/index.js"));
1835
1845
  var errors_1 = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js");
1836
1846
  var commons_1 = __webpack_require__(/*! @feathersjs/commons */ "../commons/lib/index.js");
1837
1847
  function toError(error) {
@@ -2527,141 +2537,164 @@ exports.Service = Service;
2527
2537
 
2528
2538
  /***/ }),
2529
2539
 
2530
- /***/ "../../node_modules/call-bind/callBound.js":
2531
- /*!*************************************************!*\
2532
- !*** ../../node_modules/call-bind/callBound.js ***!
2533
- \*************************************************/
2540
+ /***/ "../../node_modules/call-bind-apply-helpers/actualApply.js":
2541
+ /*!*****************************************************************!*\
2542
+ !*** ../../node_modules/call-bind-apply-helpers/actualApply.js ***!
2543
+ \*****************************************************************/
2534
2544
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2535
2545
 
2536
2546
  "use strict";
2537
2547
 
2538
2548
 
2539
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
2549
+ var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
2540
2550
 
2541
- var callBind = __webpack_require__(/*! ./ */ "../../node_modules/call-bind/index.js");
2551
+ var $apply = __webpack_require__(/*! ./functionApply */ "../../node_modules/call-bind-apply-helpers/functionApply.js");
2552
+ var $call = __webpack_require__(/*! ./functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
2553
+ var $reflectApply = __webpack_require__(/*! ./reflectApply */ "../../node_modules/call-bind-apply-helpers/reflectApply.js");
2542
2554
 
2543
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2555
+ /** @type {import('./actualApply')} */
2556
+ module.exports = $reflectApply || bind.call($call, $apply);
2544
2557
 
2545
- module.exports = function callBoundIntrinsic(name, allowMissing) {
2546
- var intrinsic = GetIntrinsic(name, !!allowMissing);
2547
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2548
- return callBind(intrinsic);
2549
- }
2550
- return intrinsic;
2551
- };
2558
+
2559
+ /***/ }),
2560
+
2561
+ /***/ "../../node_modules/call-bind-apply-helpers/functionApply.js":
2562
+ /*!*******************************************************************!*\
2563
+ !*** ../../node_modules/call-bind-apply-helpers/functionApply.js ***!
2564
+ \*******************************************************************/
2565
+ /***/ (function(module) {
2566
+
2567
+ "use strict";
2568
+
2569
+
2570
+ /** @type {import('./functionApply')} */
2571
+ module.exports = Function.prototype.apply;
2552
2572
 
2553
2573
 
2554
2574
  /***/ }),
2555
2575
 
2556
- /***/ "../../node_modules/call-bind/index.js":
2557
- /*!*********************************************!*\
2558
- !*** ../../node_modules/call-bind/index.js ***!
2559
- \*********************************************/
2576
+ /***/ "../../node_modules/call-bind-apply-helpers/functionCall.js":
2577
+ /*!******************************************************************!*\
2578
+ !*** ../../node_modules/call-bind-apply-helpers/functionCall.js ***!
2579
+ \******************************************************************/
2580
+ /***/ (function(module) {
2581
+
2582
+ "use strict";
2583
+
2584
+
2585
+ /** @type {import('./functionCall')} */
2586
+ module.exports = Function.prototype.call;
2587
+
2588
+
2589
+ /***/ }),
2590
+
2591
+ /***/ "../../node_modules/call-bind-apply-helpers/index.js":
2592
+ /*!***********************************************************!*\
2593
+ !*** ../../node_modules/call-bind-apply-helpers/index.js ***!
2594
+ \***********************************************************/
2560
2595
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2561
2596
 
2562
2597
  "use strict";
2563
2598
 
2564
2599
 
2565
2600
  var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
2566
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
2567
- var setFunctionLength = __webpack_require__(/*! set-function-length */ "../../node_modules/set-function-length/index.js");
2568
-
2569
2601
  var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
2570
- var $apply = GetIntrinsic('%Function.prototype.apply%');
2571
- var $call = GetIntrinsic('%Function.prototype.call%');
2572
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
2573
2602
 
2574
- var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
2575
- var $max = GetIntrinsic('%Math.max%');
2603
+ var $call = __webpack_require__(/*! ./functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
2604
+ var $actualApply = __webpack_require__(/*! ./actualApply */ "../../node_modules/call-bind-apply-helpers/actualApply.js");
2576
2605
 
2577
- module.exports = function callBind(originalFunction) {
2578
- if (typeof originalFunction !== 'function') {
2606
+ /** @type {import('.')} */
2607
+ module.exports = function callBindBasic(args) {
2608
+ if (args.length < 1 || typeof args[0] !== 'function') {
2579
2609
  throw new $TypeError('a function is required');
2580
2610
  }
2581
- var func = $reflectApply(bind, $call, arguments);
2582
- return setFunctionLength(
2583
- func,
2584
- 1 + $max(0, originalFunction.length - (arguments.length - 1)),
2585
- true
2586
- );
2611
+ return $actualApply(bind, $call, args);
2587
2612
  };
2588
2613
 
2589
- var applyBind = function applyBind() {
2590
- return $reflectApply(bind, $apply, arguments);
2591
- };
2592
2614
 
2593
- if ($defineProperty) {
2594
- $defineProperty(module.exports, 'apply', { value: applyBind });
2595
- } else {
2596
- module.exports.apply = applyBind;
2597
- }
2615
+ /***/ }),
2616
+
2617
+ /***/ "../../node_modules/call-bind-apply-helpers/reflectApply.js":
2618
+ /*!******************************************************************!*\
2619
+ !*** ../../node_modules/call-bind-apply-helpers/reflectApply.js ***!
2620
+ \******************************************************************/
2621
+ /***/ (function(module) {
2622
+
2623
+ "use strict";
2624
+
2625
+
2626
+ /** @type {import('./reflectApply')} */
2627
+ module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
2598
2628
 
2599
2629
 
2600
2630
  /***/ }),
2601
2631
 
2602
- /***/ "../../node_modules/define-data-property/index.js":
2603
- /*!********************************************************!*\
2604
- !*** ../../node_modules/define-data-property/index.js ***!
2605
- \********************************************************/
2632
+ /***/ "../../node_modules/call-bound/index.js":
2633
+ /*!**********************************************!*\
2634
+ !*** ../../node_modules/call-bound/index.js ***!
2635
+ \**********************************************/
2606
2636
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2607
2637
 
2608
2638
  "use strict";
2609
2639
 
2610
2640
 
2611
- var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
2641
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
2612
2642
 
2613
- var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../../node_modules/es-errors/syntax.js");
2614
- var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
2643
+ var callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ "../../node_modules/call-bind-apply-helpers/index.js");
2615
2644
 
2616
- var gopd = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
2645
+ /** @type {(thisArg: string, searchString: string, position?: number) => number} */
2646
+ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
2617
2647
 
2618
2648
  /** @type {import('.')} */
2619
- module.exports = function defineDataProperty(
2620
- obj,
2621
- property,
2622
- value
2623
- ) {
2624
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
2625
- throw new $TypeError('`obj` must be an object or a function`');
2626
- }
2627
- if (typeof property !== 'string' && typeof property !== 'symbol') {
2628
- throw new $TypeError('`property` must be a string or a symbol`');
2629
- }
2630
- if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
2631
- throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
2632
- }
2633
- if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
2634
- throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
2635
- }
2636
- if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
2637
- throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
2638
- }
2639
- if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
2640
- throw new $TypeError('`loose`, if provided, must be a boolean');
2649
+ module.exports = function callBoundIntrinsic(name, allowMissing) {
2650
+ // eslint-disable-next-line no-extra-parens
2651
+ var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));
2652
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2653
+ return callBindBasic([intrinsic]);
2641
2654
  }
2655
+ return intrinsic;
2656
+ };
2642
2657
 
2643
- var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
2644
- var nonWritable = arguments.length > 4 ? arguments[4] : null;
2645
- var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
2646
- var loose = arguments.length > 6 ? arguments[6] : false;
2647
2658
 
2648
- /* @type {false | TypedPropertyDescriptor<unknown>} */
2649
- var desc = !!gopd && gopd(obj, property);
2659
+ /***/ }),
2650
2660
 
2651
- if ($defineProperty) {
2652
- $defineProperty(obj, property, {
2653
- configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
2654
- enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
2655
- value: value,
2656
- writable: nonWritable === null && desc ? desc.writable : !nonWritable
2657
- });
2658
- } else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
2659
- // must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
2660
- obj[property] = value; // eslint-disable-line no-param-reassign
2661
- } else {
2662
- throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
2661
+ /***/ "../../node_modules/dunder-proto/get.js":
2662
+ /*!**********************************************!*\
2663
+ !*** ../../node_modules/dunder-proto/get.js ***!
2664
+ \**********************************************/
2665
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2666
+
2667
+ "use strict";
2668
+
2669
+
2670
+ var callBind = __webpack_require__(/*! call-bind-apply-helpers */ "../../node_modules/call-bind-apply-helpers/index.js");
2671
+ var gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
2672
+
2673
+ var hasProtoAccessor;
2674
+ try {
2675
+ // eslint-disable-next-line no-extra-parens, no-proto
2676
+ hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
2677
+ } catch (e) {
2678
+ if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
2679
+ throw e;
2663
2680
  }
2664
- };
2681
+ }
2682
+
2683
+ // eslint-disable-next-line no-extra-parens
2684
+ var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
2685
+
2686
+ var $Object = Object;
2687
+ var $getPrototypeOf = $Object.getPrototypeOf;
2688
+
2689
+ /** @type {import('./get')} */
2690
+ module.exports = desc && typeof desc.get === 'function'
2691
+ ? callBind([desc.get])
2692
+ : typeof $getPrototypeOf === 'function'
2693
+ ? /** @type {import('./get')} */ function getDunder(value) {
2694
+ // eslint-disable-next-line eqeqeq
2695
+ return $getPrototypeOf(value == null ? value : $Object(value));
2696
+ }
2697
+ : false;
2665
2698
 
2666
2699
 
2667
2700
  /***/ }),
@@ -2670,15 +2703,13 @@ module.exports = function defineDataProperty(
2670
2703
  /*!******************************************************!*\
2671
2704
  !*** ../../node_modules/es-define-property/index.js ***!
2672
2705
  \******************************************************/
2673
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2706
+ /***/ (function(module) {
2674
2707
 
2675
2708
  "use strict";
2676
2709
 
2677
2710
 
2678
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
2679
-
2680
2711
  /** @type {import('.')} */
2681
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
2712
+ var $defineProperty = Object.defineProperty || false;
2682
2713
  if ($defineProperty) {
2683
2714
  try {
2684
2715
  $defineProperty({}, 'a', { value: 1 });
@@ -2796,6 +2827,21 @@ module.exports = TypeError;
2796
2827
  module.exports = URIError;
2797
2828
 
2798
2829
 
2830
+ /***/ }),
2831
+
2832
+ /***/ "../../node_modules/es-object-atoms/index.js":
2833
+ /*!***************************************************!*\
2834
+ !*** ../../node_modules/es-object-atoms/index.js ***!
2835
+ \***************************************************/
2836
+ /***/ (function(module) {
2837
+
2838
+ "use strict";
2839
+
2840
+
2841
+ /** @type {import('.')} */
2842
+ module.exports = Object;
2843
+
2844
+
2799
2845
  /***/ }),
2800
2846
 
2801
2847
  /***/ "../../node_modules/events/events.js":
@@ -3428,6 +3474,8 @@ module.exports = Function.prototype.bind || implementation;
3428
3474
 
3429
3475
  var undefined;
3430
3476
 
3477
+ var $Object = __webpack_require__(/*! es-object-atoms */ "../../node_modules/es-object-atoms/index.js");
3478
+
3431
3479
  var $Error = __webpack_require__(/*! es-errors */ "../../node_modules/es-errors/index.js");
3432
3480
  var $EvalError = __webpack_require__(/*! es-errors/eval */ "../../node_modules/es-errors/eval.js");
3433
3481
  var $RangeError = __webpack_require__(/*! es-errors/range */ "../../node_modules/es-errors/range.js");
@@ -3436,6 +3484,14 @@ var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../../node_modul
3436
3484
  var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
3437
3485
  var $URIError = __webpack_require__(/*! es-errors/uri */ "../../node_modules/es-errors/uri.js");
3438
3486
 
3487
+ var abs = __webpack_require__(/*! math-intrinsics/abs */ "../../node_modules/math-intrinsics/abs.js");
3488
+ var floor = __webpack_require__(/*! math-intrinsics/floor */ "../../node_modules/math-intrinsics/floor.js");
3489
+ var max = __webpack_require__(/*! math-intrinsics/max */ "../../node_modules/math-intrinsics/max.js");
3490
+ var min = __webpack_require__(/*! math-intrinsics/min */ "../../node_modules/math-intrinsics/min.js");
3491
+ var pow = __webpack_require__(/*! math-intrinsics/pow */ "../../node_modules/math-intrinsics/pow.js");
3492
+ var round = __webpack_require__(/*! math-intrinsics/round */ "../../node_modules/math-intrinsics/round.js");
3493
+ var sign = __webpack_require__(/*! math-intrinsics/sign */ "../../node_modules/math-intrinsics/sign.js");
3494
+
3439
3495
  var $Function = Function;
3440
3496
 
3441
3497
  // eslint-disable-next-line consistent-return
@@ -3445,14 +3501,8 @@ var getEvalledConstructor = function (expressionSyntax) {
3445
3501
  } catch (e) {}
3446
3502
  };
3447
3503
 
3448
- var $gOPD = Object.getOwnPropertyDescriptor;
3449
- if ($gOPD) {
3450
- try {
3451
- $gOPD({}, '');
3452
- } catch (e) {
3453
- $gOPD = null; // this is IE 8, which has a broken gOPD
3454
- }
3455
- }
3504
+ var $gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
3505
+ var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
3456
3506
 
3457
3507
  var throwTypeError = function () {
3458
3508
  throw new $TypeError();
@@ -3475,13 +3525,13 @@ var ThrowTypeError = $gOPD
3475
3525
  : throwTypeError;
3476
3526
 
3477
3527
  var hasSymbols = __webpack_require__(/*! has-symbols */ "../../node_modules/has-symbols/index.js")();
3478
- var hasProto = __webpack_require__(/*! has-proto */ "../../node_modules/has-proto/index.js")();
3479
3528
 
3480
- var getProto = Object.getPrototypeOf || (
3481
- hasProto
3482
- ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
3483
- : null
3484
- );
3529
+ var getProto = __webpack_require__(/*! get-proto */ "../../node_modules/get-proto/index.js");
3530
+ var $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ "../../node_modules/get-proto/Object.getPrototypeOf.js");
3531
+ var $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ "../../node_modules/get-proto/Reflect.getPrototypeOf.js");
3532
+
3533
+ var $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ "../../node_modules/call-bind-apply-helpers/functionApply.js");
3534
+ var $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ "../../node_modules/call-bind-apply-helpers/functionCall.js");
3485
3535
 
3486
3536
  var needsEval = {};
3487
3537
 
@@ -3528,7 +3578,8 @@ var INTRINSICS = {
3528
3578
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
3529
3579
  '%Math%': Math,
3530
3580
  '%Number%': Number,
3531
- '%Object%': Object,
3581
+ '%Object%': $Object,
3582
+ '%Object.getOwnPropertyDescriptor%': $gOPD,
3532
3583
  '%parseFloat%': parseFloat,
3533
3584
  '%parseInt%': parseInt,
3534
3585
  '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
@@ -3554,7 +3605,20 @@ var INTRINSICS = {
3554
3605
  '%URIError%': $URIError,
3555
3606
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
3556
3607
  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
3557
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
3608
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
3609
+
3610
+ '%Function.prototype.call%': $call,
3611
+ '%Function.prototype.apply%': $apply,
3612
+ '%Object.defineProperty%': $defineProperty,
3613
+ '%Object.getPrototypeOf%': $ObjectGPO,
3614
+ '%Math.abs%': abs,
3615
+ '%Math.floor%': floor,
3616
+ '%Math.max%': max,
3617
+ '%Math.min%': min,
3618
+ '%Math.pow%': pow,
3619
+ '%Math.round%': round,
3620
+ '%Math.sign%': sign,
3621
+ '%Reflect.getPrototypeOf%': $ReflectGPO
3558
3622
  };
3559
3623
 
3560
3624
  if (getProto) {
@@ -3649,11 +3713,11 @@ var LEGACY_ALIASES = {
3649
3713
 
3650
3714
  var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
3651
3715
  var hasOwn = __webpack_require__(/*! hasown */ "../../node_modules/hasown/index.js");
3652
- var $concat = bind.call(Function.call, Array.prototype.concat);
3653
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
3654
- var $replace = bind.call(Function.call, String.prototype.replace);
3655
- var $strSlice = bind.call(Function.call, String.prototype.slice);
3656
- var $exec = bind.call(Function.call, RegExp.prototype.exec);
3716
+ var $concat = bind.call($call, Array.prototype.concat);
3717
+ var $spliceApply = bind.call($apply, Array.prototype.splice);
3718
+ var $replace = bind.call($call, String.prototype.replace);
3719
+ var $strSlice = bind.call($call, String.prototype.slice);
3720
+ var $exec = bind.call($call, RegExp.prototype.exec);
3657
3721
 
3658
3722
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
3659
3723
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
@@ -3787,88 +3851,113 @@ module.exports = function GetIntrinsic(name, allowMissing) {
3787
3851
 
3788
3852
  /***/ }),
3789
3853
 
3790
- /***/ "../../node_modules/gopd/index.js":
3791
- /*!****************************************!*\
3792
- !*** ../../node_modules/gopd/index.js ***!
3793
- \****************************************/
3854
+ /***/ "../../node_modules/get-proto/Object.getPrototypeOf.js":
3855
+ /*!*************************************************************!*\
3856
+ !*** ../../node_modules/get-proto/Object.getPrototypeOf.js ***!
3857
+ \*************************************************************/
3794
3858
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3795
3859
 
3796
3860
  "use strict";
3797
3861
 
3798
3862
 
3799
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
3863
+ var $Object = __webpack_require__(/*! es-object-atoms */ "../../node_modules/es-object-atoms/index.js");
3800
3864
 
3801
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
3865
+ /** @type {import('./Object.getPrototypeOf')} */
3866
+ module.exports = $Object.getPrototypeOf || null;
3802
3867
 
3803
- if ($gOPD) {
3804
- try {
3805
- $gOPD([], 'length');
3806
- } catch (e) {
3807
- // IE 8 has a broken gOPD
3808
- $gOPD = null;
3809
- }
3810
- }
3811
3868
 
3812
- module.exports = $gOPD;
3869
+ /***/ }),
3870
+
3871
+ /***/ "../../node_modules/get-proto/Reflect.getPrototypeOf.js":
3872
+ /*!**************************************************************!*\
3873
+ !*** ../../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
3874
+ \**************************************************************/
3875
+ /***/ (function(module) {
3876
+
3877
+ "use strict";
3878
+
3879
+
3880
+ /** @type {import('./Reflect.getPrototypeOf')} */
3881
+ module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
3813
3882
 
3814
3883
 
3815
3884
  /***/ }),
3816
3885
 
3817
- /***/ "../../node_modules/has-property-descriptors/index.js":
3818
- /*!************************************************************!*\
3819
- !*** ../../node_modules/has-property-descriptors/index.js ***!
3820
- \************************************************************/
3886
+ /***/ "../../node_modules/get-proto/index.js":
3887
+ /*!*********************************************!*\
3888
+ !*** ../../node_modules/get-proto/index.js ***!
3889
+ \*********************************************/
3821
3890
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3822
3891
 
3823
3892
  "use strict";
3824
3893
 
3825
3894
 
3826
- var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
3895
+ var reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ "../../node_modules/get-proto/Reflect.getPrototypeOf.js");
3896
+ var originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ "../../node_modules/get-proto/Object.getPrototypeOf.js");
3827
3897
 
3828
- var hasPropertyDescriptors = function hasPropertyDescriptors() {
3829
- return !!$defineProperty;
3830
- };
3898
+ var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "../../node_modules/dunder-proto/get.js");
3831
3899
 
3832
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
3833
- // node v0.6 has a bug where array lengths can be Set but not Defined
3834
- if (!$defineProperty) {
3835
- return null;
3836
- }
3837
- try {
3838
- return $defineProperty([], 'length', { value: 1 }).length !== 1;
3839
- } catch (e) {
3840
- // In Firefox 4-22, defining length on an array throws an exception.
3841
- return true;
3900
+ /** @type {import('.')} */
3901
+ module.exports = reflectGetProto
3902
+ ? function getProto(O) {
3903
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
3904
+ return reflectGetProto(O);
3842
3905
  }
3843
- };
3844
-
3845
- module.exports = hasPropertyDescriptors;
3906
+ : originalGetProto
3907
+ ? function getProto(O) {
3908
+ if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
3909
+ throw new TypeError('getProto: not an object');
3910
+ }
3911
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
3912
+ return originalGetProto(O);
3913
+ }
3914
+ : getDunderProto
3915
+ ? function getProto(O) {
3916
+ // @ts-expect-error TS can't narrow inside a closure, for some reason
3917
+ return getDunderProto(O);
3918
+ }
3919
+ : null;
3846
3920
 
3847
3921
 
3848
3922
  /***/ }),
3849
3923
 
3850
- /***/ "../../node_modules/has-proto/index.js":
3851
- /*!*********************************************!*\
3852
- !*** ../../node_modules/has-proto/index.js ***!
3853
- \*********************************************/
3924
+ /***/ "../../node_modules/gopd/gOPD.js":
3925
+ /*!***************************************!*\
3926
+ !*** ../../node_modules/gopd/gOPD.js ***!
3927
+ \***************************************/
3854
3928
  /***/ (function(module) {
3855
3929
 
3856
3930
  "use strict";
3857
3931
 
3858
3932
 
3859
- var test = {
3860
- __proto__: null,
3861
- foo: {}
3862
- };
3933
+ /** @type {import('./gOPD')} */
3934
+ module.exports = Object.getOwnPropertyDescriptor;
3935
+
3936
+
3937
+ /***/ }),
3938
+
3939
+ /***/ "../../node_modules/gopd/index.js":
3940
+ /*!****************************************!*\
3941
+ !*** ../../node_modules/gopd/index.js ***!
3942
+ \****************************************/
3943
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3944
+
3945
+ "use strict";
3863
3946
 
3864
- var $Object = Object;
3865
3947
 
3866
3948
  /** @type {import('.')} */
3867
- module.exports = function hasProto() {
3868
- // @ts-expect-error: TS errors on an inherited property for some reason
3869
- return { __proto__: test }.foo === test.foo
3870
- && !(test instanceof $Object);
3871
- };
3949
+ var $gOPD = __webpack_require__(/*! ./gOPD */ "../../node_modules/gopd/gOPD.js");
3950
+
3951
+ if ($gOPD) {
3952
+ try {
3953
+ $gOPD([], 'length');
3954
+ } catch (e) {
3955
+ // IE 8 has a broken gOPD
3956
+ $gOPD = null;
3957
+ }
3958
+ }
3959
+
3960
+ module.exports = $gOPD;
3872
3961
 
3873
3962
 
3874
3963
  /***/ }),
@@ -3885,6 +3974,7 @@ module.exports = function hasProto() {
3885
3974
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
3886
3975
  var hasSymbolSham = __webpack_require__(/*! ./shams */ "../../node_modules/has-symbols/shams.js");
3887
3976
 
3977
+ /** @type {import('.')} */
3888
3978
  module.exports = function hasNativeSymbols() {
3889
3979
  if (typeof origSymbol !== 'function') { return false; }
3890
3980
  if (typeof Symbol !== 'function') { return false; }
@@ -3906,11 +3996,13 @@ module.exports = function hasNativeSymbols() {
3906
3996
  "use strict";
3907
3997
 
3908
3998
 
3999
+ /** @type {import('./shams')} */
3909
4000
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
3910
4001
  module.exports = function hasSymbols() {
3911
4002
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
3912
4003
  if (typeof Symbol.iterator === 'symbol') { return true; }
3913
4004
 
4005
+ /** @type {{ [k in symbol]?: unknown }} */
3914
4006
  var obj = {};
3915
4007
  var sym = Symbol('test');
3916
4008
  var symObj = Object(sym);
@@ -3929,7 +4021,7 @@ module.exports = function hasSymbols() {
3929
4021
 
3930
4022
  var symVal = 42;
3931
4023
  obj[sym] = symVal;
3932
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
4024
+ for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
3933
4025
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
3934
4026
 
3935
4027
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -3940,7 +4032,8 @@ module.exports = function hasSymbols() {
3940
4032
  if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
3941
4033
 
3942
4034
  if (typeof Object.getOwnPropertyDescriptor === 'function') {
3943
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
4035
+ // eslint-disable-next-line no-extra-parens
4036
+ var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
3944
4037
  if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
3945
4038
  }
3946
4039
 
@@ -3969,72 +4062,201 @@ module.exports = bind.call(call, $hasOwn);
3969
4062
 
3970
4063
  /***/ }),
3971
4064
 
3972
- /***/ "../../node_modules/object-inspect/index.js":
3973
- /*!**************************************************!*\
3974
- !*** ../../node_modules/object-inspect/index.js ***!
3975
- \**************************************************/
3976
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4065
+ /***/ "../../node_modules/math-intrinsics/abs.js":
4066
+ /*!*************************************************!*\
4067
+ !*** ../../node_modules/math-intrinsics/abs.js ***!
4068
+ \*************************************************/
4069
+ /***/ (function(module) {
3977
4070
 
3978
- var hasMap = typeof Map === 'function' && Map.prototype;
3979
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
3980
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
3981
- var mapForEach = hasMap && Map.prototype.forEach;
3982
- var hasSet = typeof Set === 'function' && Set.prototype;
3983
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
3984
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
3985
- var setForEach = hasSet && Set.prototype.forEach;
3986
- var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
3987
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
3988
- var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
3989
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
3990
- var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
3991
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
3992
- var booleanValueOf = Boolean.prototype.valueOf;
3993
- var objectToString = Object.prototype.toString;
3994
- var functionToString = Function.prototype.toString;
3995
- var $match = String.prototype.match;
3996
- var $slice = String.prototype.slice;
3997
- var $replace = String.prototype.replace;
3998
- var $toUpperCase = String.prototype.toUpperCase;
3999
- var $toLowerCase = String.prototype.toLowerCase;
4000
- var $test = RegExp.prototype.test;
4001
- var $concat = Array.prototype.concat;
4002
- var $join = Array.prototype.join;
4003
- var $arrSlice = Array.prototype.slice;
4004
- var $floor = Math.floor;
4005
- var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
4006
- var gOPS = Object.getOwnPropertySymbols;
4007
- var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
4008
- var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
4009
- // ie, `has-tostringtag/shams
4010
- var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
4011
- ? Symbol.toStringTag
4012
- : null;
4013
- var isEnumerable = Object.prototype.propertyIsEnumerable;
4071
+ "use strict";
4014
4072
 
4015
- var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
4016
- [].__proto__ === Array.prototype // eslint-disable-line no-proto
4017
- ? function (O) {
4018
- return O.__proto__; // eslint-disable-line no-proto
4019
- }
4020
- : null
4021
- );
4022
4073
 
4023
- function addNumericSeparator(num, str) {
4024
- if (
4025
- num === Infinity
4026
- || num === -Infinity
4027
- || num !== num
4028
- || (num && num > -1000 && num < 1000)
4029
- || $test.call(/e/, str)
4030
- ) {
4031
- return str;
4032
- }
4033
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
4034
- if (typeof num === 'number') {
4035
- var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
4036
- if (int !== num) {
4037
- var intStr = String(int);
4074
+ /** @type {import('./abs')} */
4075
+ module.exports = Math.abs;
4076
+
4077
+
4078
+ /***/ }),
4079
+
4080
+ /***/ "../../node_modules/math-intrinsics/floor.js":
4081
+ /*!***************************************************!*\
4082
+ !*** ../../node_modules/math-intrinsics/floor.js ***!
4083
+ \***************************************************/
4084
+ /***/ (function(module) {
4085
+
4086
+ "use strict";
4087
+
4088
+
4089
+ /** @type {import('./floor')} */
4090
+ module.exports = Math.floor;
4091
+
4092
+
4093
+ /***/ }),
4094
+
4095
+ /***/ "../../node_modules/math-intrinsics/isNaN.js":
4096
+ /*!***************************************************!*\
4097
+ !*** ../../node_modules/math-intrinsics/isNaN.js ***!
4098
+ \***************************************************/
4099
+ /***/ (function(module) {
4100
+
4101
+ "use strict";
4102
+
4103
+
4104
+ /** @type {import('./isNaN')} */
4105
+ module.exports = Number.isNaN || function isNaN(a) {
4106
+ return a !== a;
4107
+ };
4108
+
4109
+
4110
+ /***/ }),
4111
+
4112
+ /***/ "../../node_modules/math-intrinsics/max.js":
4113
+ /*!*************************************************!*\
4114
+ !*** ../../node_modules/math-intrinsics/max.js ***!
4115
+ \*************************************************/
4116
+ /***/ (function(module) {
4117
+
4118
+ "use strict";
4119
+
4120
+
4121
+ /** @type {import('./max')} */
4122
+ module.exports = Math.max;
4123
+
4124
+
4125
+ /***/ }),
4126
+
4127
+ /***/ "../../node_modules/math-intrinsics/min.js":
4128
+ /*!*************************************************!*\
4129
+ !*** ../../node_modules/math-intrinsics/min.js ***!
4130
+ \*************************************************/
4131
+ /***/ (function(module) {
4132
+
4133
+ "use strict";
4134
+
4135
+
4136
+ /** @type {import('./min')} */
4137
+ module.exports = Math.min;
4138
+
4139
+
4140
+ /***/ }),
4141
+
4142
+ /***/ "../../node_modules/math-intrinsics/pow.js":
4143
+ /*!*************************************************!*\
4144
+ !*** ../../node_modules/math-intrinsics/pow.js ***!
4145
+ \*************************************************/
4146
+ /***/ (function(module) {
4147
+
4148
+ "use strict";
4149
+
4150
+
4151
+ /** @type {import('./pow')} */
4152
+ module.exports = Math.pow;
4153
+
4154
+
4155
+ /***/ }),
4156
+
4157
+ /***/ "../../node_modules/math-intrinsics/round.js":
4158
+ /*!***************************************************!*\
4159
+ !*** ../../node_modules/math-intrinsics/round.js ***!
4160
+ \***************************************************/
4161
+ /***/ (function(module) {
4162
+
4163
+ "use strict";
4164
+
4165
+
4166
+ /** @type {import('./round')} */
4167
+ module.exports = Math.round;
4168
+
4169
+
4170
+ /***/ }),
4171
+
4172
+ /***/ "../../node_modules/math-intrinsics/sign.js":
4173
+ /*!**************************************************!*\
4174
+ !*** ../../node_modules/math-intrinsics/sign.js ***!
4175
+ \**************************************************/
4176
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4177
+
4178
+ "use strict";
4179
+
4180
+
4181
+ var $isNaN = __webpack_require__(/*! ./isNaN */ "../../node_modules/math-intrinsics/isNaN.js");
4182
+
4183
+ /** @type {import('./sign')} */
4184
+ module.exports = function sign(number) {
4185
+ if ($isNaN(number) || number === 0) {
4186
+ return number;
4187
+ }
4188
+ return number < 0 ? -1 : +1;
4189
+ };
4190
+
4191
+
4192
+ /***/ }),
4193
+
4194
+ /***/ "../../node_modules/object-inspect/index.js":
4195
+ /*!**************************************************!*\
4196
+ !*** ../../node_modules/object-inspect/index.js ***!
4197
+ \**************************************************/
4198
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4199
+
4200
+ var hasMap = typeof Map === 'function' && Map.prototype;
4201
+ var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
4202
+ var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
4203
+ var mapForEach = hasMap && Map.prototype.forEach;
4204
+ var hasSet = typeof Set === 'function' && Set.prototype;
4205
+ var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
4206
+ var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
4207
+ var setForEach = hasSet && Set.prototype.forEach;
4208
+ var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
4209
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
4210
+ var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
4211
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
4212
+ var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
4213
+ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
4214
+ var booleanValueOf = Boolean.prototype.valueOf;
4215
+ var objectToString = Object.prototype.toString;
4216
+ var functionToString = Function.prototype.toString;
4217
+ var $match = String.prototype.match;
4218
+ var $slice = String.prototype.slice;
4219
+ var $replace = String.prototype.replace;
4220
+ var $toUpperCase = String.prototype.toUpperCase;
4221
+ var $toLowerCase = String.prototype.toLowerCase;
4222
+ var $test = RegExp.prototype.test;
4223
+ var $concat = Array.prototype.concat;
4224
+ var $join = Array.prototype.join;
4225
+ var $arrSlice = Array.prototype.slice;
4226
+ var $floor = Math.floor;
4227
+ var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
4228
+ var gOPS = Object.getOwnPropertySymbols;
4229
+ var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
4230
+ var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
4231
+ // ie, `has-tostringtag/shams
4232
+ var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
4233
+ ? Symbol.toStringTag
4234
+ : null;
4235
+ var isEnumerable = Object.prototype.propertyIsEnumerable;
4236
+
4237
+ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
4238
+ [].__proto__ === Array.prototype // eslint-disable-line no-proto
4239
+ ? function (O) {
4240
+ return O.__proto__; // eslint-disable-line no-proto
4241
+ }
4242
+ : null
4243
+ );
4244
+
4245
+ function addNumericSeparator(num, str) {
4246
+ if (
4247
+ num === Infinity
4248
+ || num === -Infinity
4249
+ || num !== num
4250
+ || (num && num > -1000 && num < 1000)
4251
+ || $test.call(/e/, str)
4252
+ ) {
4253
+ return str;
4254
+ }
4255
+ var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
4256
+ if (typeof num === 'number') {
4257
+ var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
4258
+ if (int !== num) {
4259
+ var intStr = String(int);
4038
4260
  var dec = $slice.call(str, intStr.length + 1);
4039
4261
  return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
4040
4262
  }
@@ -4046,10 +4268,21 @@ var utilInspect = __webpack_require__(/*! ./util.inspect */ "?c95a");
4046
4268
  var inspectCustom = utilInspect.custom;
4047
4269
  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
4048
4270
 
4271
+ var quotes = {
4272
+ __proto__: null,
4273
+ 'double': '"',
4274
+ single: "'"
4275
+ };
4276
+ var quoteREs = {
4277
+ __proto__: null,
4278
+ 'double': /(["\\])/g,
4279
+ single: /(['\\])/g
4280
+ };
4281
+
4049
4282
  module.exports = function inspect_(obj, options, depth, seen) {
4050
4283
  var opts = options || {};
4051
4284
 
4052
- if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
4285
+ if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {
4053
4286
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
4054
4287
  }
4055
4288
  if (
@@ -4244,7 +4477,8 @@ module.exports = function inspect_(obj, options, depth, seen) {
4244
4477
  };
4245
4478
 
4246
4479
  function wrapQuotes(s, defaultStyle, opts) {
4247
- var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
4480
+ var style = opts.quoteStyle || defaultStyle;
4481
+ var quoteChar = quotes[style];
4248
4482
  return quoteChar + s + quoteChar;
4249
4483
  }
4250
4484
 
@@ -4402,8 +4636,10 @@ function inspectString(str, opts) {
4402
4636
  var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
4403
4637
  return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
4404
4638
  }
4639
+ var quoteRE = quoteREs[opts.quoteStyle || 'single'];
4640
+ quoteRE.lastIndex = 0;
4405
4641
  // eslint-disable-next-line no-control-regex
4406
- var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
4642
+ var s = $replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte);
4407
4643
  return wrapQuotes(s, 'single', opts);
4408
4644
  }
4409
4645
 
@@ -4500,16 +4736,434 @@ function arrObjKeys(obj, inspect) {
4500
4736
  }
4501
4737
  }
4502
4738
  }
4503
- return xs;
4739
+ return xs;
4740
+ }
4741
+
4742
+
4743
+ /***/ }),
4744
+
4745
+ /***/ "../../node_modules/side-channel-list/index.js":
4746
+ /*!*****************************************************!*\
4747
+ !*** ../../node_modules/side-channel-list/index.js ***!
4748
+ \*****************************************************/
4749
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4750
+
4751
+ "use strict";
4752
+
4753
+
4754
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
4755
+
4756
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
4757
+
4758
+ /*
4759
+ * This function traverses the list returning the node corresponding to the given key.
4760
+ *
4761
+ * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
4762
+ * By doing so, all the recently used nodes can be accessed relatively quickly.
4763
+ */
4764
+ /** @type {import('./list.d.ts').listGetNode} */
4765
+ // eslint-disable-next-line consistent-return
4766
+ var listGetNode = function (list, key, isDelete) {
4767
+ /** @type {typeof list | NonNullable<(typeof list)['next']>} */
4768
+ var prev = list;
4769
+ /** @type {(typeof list)['next']} */
4770
+ var curr;
4771
+ // eslint-disable-next-line eqeqeq
4772
+ for (; (curr = prev.next) != null; prev = curr) {
4773
+ if (curr.key === key) {
4774
+ prev.next = curr.next;
4775
+ if (!isDelete) {
4776
+ // eslint-disable-next-line no-extra-parens
4777
+ curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
4778
+ list.next = curr; // eslint-disable-line no-param-reassign
4779
+ }
4780
+ return curr;
4781
+ }
4782
+ }
4783
+ };
4784
+
4785
+ /** @type {import('./list.d.ts').listGet} */
4786
+ var listGet = function (objects, key) {
4787
+ if (!objects) {
4788
+ return void undefined;
4789
+ }
4790
+ var node = listGetNode(objects, key);
4791
+ return node && node.value;
4792
+ };
4793
+ /** @type {import('./list.d.ts').listSet} */
4794
+ var listSet = function (objects, key, value) {
4795
+ var node = listGetNode(objects, key);
4796
+ if (node) {
4797
+ node.value = value;
4798
+ } else {
4799
+ // Prepend the new node to the beginning of the list
4800
+ objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
4801
+ key: key,
4802
+ next: objects.next,
4803
+ value: value
4804
+ });
4805
+ }
4806
+ };
4807
+ /** @type {import('./list.d.ts').listHas} */
4808
+ var listHas = function (objects, key) {
4809
+ if (!objects) {
4810
+ return false;
4811
+ }
4812
+ return !!listGetNode(objects, key);
4813
+ };
4814
+ /** @type {import('./list.d.ts').listDelete} */
4815
+ // eslint-disable-next-line consistent-return
4816
+ var listDelete = function (objects, key) {
4817
+ if (objects) {
4818
+ return listGetNode(objects, key, true);
4819
+ }
4820
+ };
4821
+
4822
+ /** @type {import('.')} */
4823
+ module.exports = function getSideChannelList() {
4824
+ /** @typedef {ReturnType<typeof getSideChannelList>} Channel */
4825
+ /** @typedef {Parameters<Channel['get']>[0]} K */
4826
+ /** @typedef {Parameters<Channel['set']>[1]} V */
4827
+
4828
+ /** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;
4829
+
4830
+ /** @type {Channel} */
4831
+ var channel = {
4832
+ assert: function (key) {
4833
+ if (!channel.has(key)) {
4834
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
4835
+ }
4836
+ },
4837
+ 'delete': function (key) {
4838
+ var root = $o && $o.next;
4839
+ var deletedNode = listDelete($o, key);
4840
+ if (deletedNode && root && root === deletedNode) {
4841
+ $o = void undefined;
4842
+ }
4843
+ return !!deletedNode;
4844
+ },
4845
+ get: function (key) {
4846
+ return listGet($o, key);
4847
+ },
4848
+ has: function (key) {
4849
+ return listHas($o, key);
4850
+ },
4851
+ set: function (key, value) {
4852
+ if (!$o) {
4853
+ // 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
4854
+ $o = {
4855
+ next: void undefined
4856
+ };
4857
+ }
4858
+ // eslint-disable-next-line no-extra-parens
4859
+ listSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);
4860
+ }
4861
+ };
4862
+ // @ts-expect-error TODO: figure out why this is erroring
4863
+ return channel;
4864
+ };
4865
+
4866
+
4867
+ /***/ }),
4868
+
4869
+ /***/ "../../node_modules/side-channel-map/index.js":
4870
+ /*!****************************************************!*\
4871
+ !*** ../../node_modules/side-channel-map/index.js ***!
4872
+ \****************************************************/
4873
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4874
+
4875
+ "use strict";
4876
+
4877
+
4878
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
4879
+ var callBound = __webpack_require__(/*! call-bound */ "../../node_modules/call-bound/index.js");
4880
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
4881
+
4882
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
4883
+ var $Map = GetIntrinsic('%Map%', true);
4884
+
4885
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
4886
+ var $mapGet = callBound('Map.prototype.get', true);
4887
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
4888
+ var $mapSet = callBound('Map.prototype.set', true);
4889
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
4890
+ var $mapHas = callBound('Map.prototype.has', true);
4891
+ /** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
4892
+ var $mapDelete = callBound('Map.prototype.delete', true);
4893
+ /** @type {<K, V>(thisArg: Map<K, V>) => number} */
4894
+ var $mapSize = callBound('Map.prototype.size', true);
4895
+
4896
+ /** @type {import('.')} */
4897
+ module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
4898
+ /** @typedef {ReturnType<typeof getSideChannelMap>} Channel */
4899
+ /** @typedef {Parameters<Channel['get']>[0]} K */
4900
+ /** @typedef {Parameters<Channel['set']>[1]} V */
4901
+
4902
+ /** @type {Map<K, V> | undefined} */ var $m;
4903
+
4904
+ /** @type {Channel} */
4905
+ var channel = {
4906
+ assert: function (key) {
4907
+ if (!channel.has(key)) {
4908
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
4909
+ }
4910
+ },
4911
+ 'delete': function (key) {
4912
+ if ($m) {
4913
+ var result = $mapDelete($m, key);
4914
+ if ($mapSize($m) === 0) {
4915
+ $m = void undefined;
4916
+ }
4917
+ return result;
4918
+ }
4919
+ return false;
4920
+ },
4921
+ get: function (key) { // eslint-disable-line consistent-return
4922
+ if ($m) {
4923
+ return $mapGet($m, key);
4924
+ }
4925
+ },
4926
+ has: function (key) {
4927
+ if ($m) {
4928
+ return $mapHas($m, key);
4929
+ }
4930
+ return false;
4931
+ },
4932
+ set: function (key, value) {
4933
+ if (!$m) {
4934
+ // @ts-expect-error TS can't handle narrowing a variable inside a closure
4935
+ $m = new $Map();
4936
+ }
4937
+ $mapSet($m, key, value);
4938
+ }
4939
+ };
4940
+
4941
+ // @ts-expect-error TODO: figure out why TS is erroring here
4942
+ return channel;
4943
+ };
4944
+
4945
+
4946
+ /***/ }),
4947
+
4948
+ /***/ "../../node_modules/side-channel-weakmap/index.js":
4949
+ /*!********************************************************!*\
4950
+ !*** ../../node_modules/side-channel-weakmap/index.js ***!
4951
+ \********************************************************/
4952
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4953
+
4954
+ "use strict";
4955
+
4956
+
4957
+ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
4958
+ var callBound = __webpack_require__(/*! call-bound */ "../../node_modules/call-bound/index.js");
4959
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
4960
+ var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../../node_modules/side-channel-map/index.js");
4961
+
4962
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
4963
+ var $WeakMap = GetIntrinsic('%WeakMap%', true);
4964
+
4965
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
4966
+ var $weakMapGet = callBound('WeakMap.prototype.get', true);
4967
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
4968
+ var $weakMapSet = callBound('WeakMap.prototype.set', true);
4969
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
4970
+ var $weakMapHas = callBound('WeakMap.prototype.has', true);
4971
+ /** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
4972
+ var $weakMapDelete = callBound('WeakMap.prototype.delete', true);
4973
+
4974
+ /** @type {import('.')} */
4975
+ module.exports = $WeakMap
4976
+ ? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {
4977
+ /** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */
4978
+ /** @typedef {Parameters<Channel['get']>[0]} K */
4979
+ /** @typedef {Parameters<Channel['set']>[1]} V */
4980
+
4981
+ /** @type {WeakMap<K & object, V> | undefined} */ var $wm;
4982
+ /** @type {Channel | undefined} */ var $m;
4983
+
4984
+ /** @type {Channel} */
4985
+ var channel = {
4986
+ assert: function (key) {
4987
+ if (!channel.has(key)) {
4988
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
4989
+ }
4990
+ },
4991
+ 'delete': function (key) {
4992
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
4993
+ if ($wm) {
4994
+ return $weakMapDelete($wm, key);
4995
+ }
4996
+ } else if (getSideChannelMap) {
4997
+ if ($m) {
4998
+ return $m['delete'](key);
4999
+ }
5000
+ }
5001
+ return false;
5002
+ },
5003
+ get: function (key) {
5004
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5005
+ if ($wm) {
5006
+ return $weakMapGet($wm, key);
5007
+ }
5008
+ }
5009
+ return $m && $m.get(key);
5010
+ },
5011
+ has: function (key) {
5012
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5013
+ if ($wm) {
5014
+ return $weakMapHas($wm, key);
5015
+ }
5016
+ }
5017
+ return !!$m && $m.has(key);
5018
+ },
5019
+ set: function (key, value) {
5020
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5021
+ if (!$wm) {
5022
+ $wm = new $WeakMap();
5023
+ }
5024
+ $weakMapSet($wm, key, value);
5025
+ } else if (getSideChannelMap) {
5026
+ if (!$m) {
5027
+ $m = getSideChannelMap();
5028
+ }
5029
+ // eslint-disable-next-line no-extra-parens
5030
+ /** @type {NonNullable<typeof $m>} */ ($m).set(key, value);
5031
+ }
5032
+ }
5033
+ };
5034
+
5035
+ // @ts-expect-error TODO: figure out why this is erroring
5036
+ return channel;
5037
+ }
5038
+ : getSideChannelMap;
5039
+
5040
+
5041
+ /***/ }),
5042
+
5043
+ /***/ "../../node_modules/side-channel/index.js":
5044
+ /*!************************************************!*\
5045
+ !*** ../../node_modules/side-channel/index.js ***!
5046
+ \************************************************/
5047
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5048
+
5049
+ "use strict";
5050
+
5051
+
5052
+ var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
5053
+ var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
5054
+ var getSideChannelList = __webpack_require__(/*! side-channel-list */ "../../node_modules/side-channel-list/index.js");
5055
+ var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../../node_modules/side-channel-map/index.js");
5056
+ var getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ "../../node_modules/side-channel-weakmap/index.js");
5057
+
5058
+ var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
5059
+
5060
+ /** @type {import('.')} */
5061
+ module.exports = function getSideChannel() {
5062
+ /** @typedef {ReturnType<typeof getSideChannel>} Channel */
5063
+
5064
+ /** @type {Channel | undefined} */ var $channelData;
5065
+
5066
+ /** @type {Channel} */
5067
+ var channel = {
5068
+ assert: function (key) {
5069
+ if (!channel.has(key)) {
5070
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
5071
+ }
5072
+ },
5073
+ 'delete': function (key) {
5074
+ return !!$channelData && $channelData['delete'](key);
5075
+ },
5076
+ get: function (key) {
5077
+ return $channelData && $channelData.get(key);
5078
+ },
5079
+ has: function (key) {
5080
+ return !!$channelData && $channelData.has(key);
5081
+ },
5082
+ set: function (key, value) {
5083
+ if (!$channelData) {
5084
+ $channelData = makeChannel();
5085
+ }
5086
+
5087
+ $channelData.set(key, value);
5088
+ }
5089
+ };
5090
+ // @ts-expect-error TODO: figure out why this is erroring
5091
+ return channel;
5092
+ };
5093
+
5094
+
5095
+ /***/ }),
5096
+
5097
+ /***/ "./src/feathers.ts":
5098
+ /*!*************************!*\
5099
+ !*** ./src/feathers.ts ***!
5100
+ \*************************/
5101
+ /***/ (function(module, exports, __webpack_require__) {
5102
+
5103
+ "use strict";
5104
+
5105
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5106
+ if (k2 === undefined) k2 = k;
5107
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5108
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5109
+ desc = { enumerable: true, get: function() { return m[k]; } };
5110
+ }
5111
+ Object.defineProperty(o, k2, desc);
5112
+ }) : (function(o, m, k, k2) {
5113
+ if (k2 === undefined) k2 = k;
5114
+ o[k2] = m[k];
5115
+ }));
5116
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
5117
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
5118
+ }) : function(o, v) {
5119
+ o["default"] = v;
5120
+ });
5121
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
5122
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5123
+ };
5124
+ var __importStar = (this && this.__importStar) || (function () {
5125
+ var ownKeys = function(o) {
5126
+ ownKeys = Object.getOwnPropertyNames || function (o) {
5127
+ var ar = [];
5128
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
5129
+ return ar;
5130
+ };
5131
+ return ownKeys(o);
5132
+ };
5133
+ return function (mod) {
5134
+ if (mod && mod.__esModule) return mod;
5135
+ var result = {};
5136
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
5137
+ __setModuleDefault(result, mod);
5138
+ return result;
5139
+ };
5140
+ })();
5141
+ var __importDefault = (this && this.__importDefault) || function (mod) {
5142
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5143
+ };
5144
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
5145
+ exports.socketio = exports.rest = exports.authentication = exports.errors = void 0;
5146
+ const feathers_1 = __webpack_require__(/*! @feathersjs/feathers */ "../feathers/lib/index.js");
5147
+ const authentication_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js"));
5148
+ exports.authentication = authentication_client_1.default;
5149
+ const rest_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/rest-client */ "../rest-client/lib/index.js"));
5150
+ exports.rest = rest_client_1.default;
5151
+ const socketio_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/socketio-client */ "../socketio-client/lib/index.js"));
5152
+ exports.socketio = socketio_client_1.default;
5153
+ __exportStar(__webpack_require__(/*! @feathersjs/feathers */ "../feathers/lib/index.js"), exports);
5154
+ exports.errors = __importStar(__webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js"));
5155
+ exports["default"] = feathers_1.feathers;
5156
+ if (true) {
5157
+ module.exports = Object.assign(feathers_1.feathers, module.exports);
4504
5158
  }
4505
5159
 
4506
5160
 
4507
5161
  /***/ }),
4508
5162
 
4509
- /***/ "../../node_modules/qs/lib/formats.js":
4510
- /*!********************************************!*\
4511
- !*** ../../node_modules/qs/lib/formats.js ***!
4512
- \********************************************/
5163
+ /***/ "../rest-client/node_modules/qs/lib/formats.js":
5164
+ /*!*****************************************************!*\
5165
+ !*** ../rest-client/node_modules/qs/lib/formats.js ***!
5166
+ \*****************************************************/
4513
5167
  /***/ (function(module) {
4514
5168
 
4515
5169
  "use strict";
@@ -4540,18 +5194,18 @@ module.exports = {
4540
5194
 
4541
5195
  /***/ }),
4542
5196
 
4543
- /***/ "../../node_modules/qs/lib/index.js":
4544
- /*!******************************************!*\
4545
- !*** ../../node_modules/qs/lib/index.js ***!
4546
- \******************************************/
5197
+ /***/ "../rest-client/node_modules/qs/lib/index.js":
5198
+ /*!***************************************************!*\
5199
+ !*** ../rest-client/node_modules/qs/lib/index.js ***!
5200
+ \***************************************************/
4547
5201
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4548
5202
 
4549
5203
  "use strict";
4550
5204
 
4551
5205
 
4552
- var stringify = __webpack_require__(/*! ./stringify */ "../../node_modules/qs/lib/stringify.js");
4553
- var parse = __webpack_require__(/*! ./parse */ "../../node_modules/qs/lib/parse.js");
4554
- var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
5206
+ var stringify = __webpack_require__(/*! ./stringify */ "../rest-client/node_modules/qs/lib/stringify.js");
5207
+ var parse = __webpack_require__(/*! ./parse */ "../rest-client/node_modules/qs/lib/parse.js");
5208
+ var formats = __webpack_require__(/*! ./formats */ "../rest-client/node_modules/qs/lib/formats.js");
4555
5209
 
4556
5210
  module.exports = {
4557
5211
  formats: formats,
@@ -4562,16 +5216,16 @@ module.exports = {
4562
5216
 
4563
5217
  /***/ }),
4564
5218
 
4565
- /***/ "../../node_modules/qs/lib/parse.js":
4566
- /*!******************************************!*\
4567
- !*** ../../node_modules/qs/lib/parse.js ***!
4568
- \******************************************/
5219
+ /***/ "../rest-client/node_modules/qs/lib/parse.js":
5220
+ /*!***************************************************!*\
5221
+ !*** ../rest-client/node_modules/qs/lib/parse.js ***!
5222
+ \***************************************************/
4569
5223
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4570
5224
 
4571
5225
  "use strict";
4572
5226
 
4573
5227
 
4574
- var utils = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
5228
+ var utils = __webpack_require__(/*! ./utils */ "../rest-client/node_modules/qs/lib/utils.js");
4575
5229
 
4576
5230
  var has = Object.prototype.hasOwnProperty;
4577
5231
  var isArray = Array.isArray;
@@ -4596,7 +5250,8 @@ var defaults = {
4596
5250
  parseArrays: true,
4597
5251
  plainObjects: false,
4598
5252
  strictDepth: false,
4599
- strictNullHandling: false
5253
+ strictNullHandling: false,
5254
+ throwOnLimitExceeded: false
4600
5255
  };
4601
5256
 
4602
5257
  var interpretNumericEntities = function (str) {
@@ -4605,11 +5260,15 @@ var interpretNumericEntities = function (str) {
4605
5260
  });
4606
5261
  };
4607
5262
 
4608
- var parseArrayValue = function (val, options) {
5263
+ var parseArrayValue = function (val, options, currentArrayLength) {
4609
5264
  if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
4610
5265
  return val.split(',');
4611
5266
  }
4612
5267
 
5268
+ if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
5269
+ throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
5270
+ }
5271
+
4613
5272
  return val;
4614
5273
  };
4615
5274
 
@@ -4628,8 +5287,17 @@ var parseValues = function parseQueryStringValues(str, options) {
4628
5287
 
4629
5288
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
4630
5289
  cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
5290
+
4631
5291
  var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
4632
- var parts = cleanStr.split(options.delimiter, limit);
5292
+ var parts = cleanStr.split(
5293
+ options.delimiter,
5294
+ options.throwOnLimitExceeded ? limit + 1 : limit
5295
+ );
5296
+
5297
+ if (options.throwOnLimitExceeded && parts.length > limit) {
5298
+ throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
5299
+ }
5300
+
4633
5301
  var skipIndex = -1; // Keep track of where the utf8 sentinel was found
4634
5302
  var i;
4635
5303
 
@@ -4657,14 +5325,20 @@ var parseValues = function parseQueryStringValues(str, options) {
4657
5325
  var bracketEqualsPos = part.indexOf(']=');
4658
5326
  var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
4659
5327
 
4660
- var key, val;
5328
+ var key;
5329
+ var val;
4661
5330
  if (pos === -1) {
4662
5331
  key = options.decoder(part, defaults.decoder, charset, 'key');
4663
5332
  val = options.strictNullHandling ? null : '';
4664
5333
  } else {
4665
5334
  key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
5335
+
4666
5336
  val = utils.maybeMap(
4667
- parseArrayValue(part.slice(pos + 1), options),
5337
+ parseArrayValue(
5338
+ part.slice(pos + 1),
5339
+ options,
5340
+ isArray(obj[key]) ? obj[key].length : 0
5341
+ ),
4668
5342
  function (encodedVal) {
4669
5343
  return options.decoder(encodedVal, defaults.decoder, charset, 'value');
4670
5344
  }
@@ -4672,7 +5346,7 @@ var parseValues = function parseQueryStringValues(str, options) {
4672
5346
  }
4673
5347
 
4674
5348
  if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
4675
- val = interpretNumericEntities(val);
5349
+ val = interpretNumericEntities(String(val));
4676
5350
  }
4677
5351
 
4678
5352
  if (part.indexOf('[]=') > -1) {
@@ -4691,7 +5365,13 @@ var parseValues = function parseQueryStringValues(str, options) {
4691
5365
  };
4692
5366
 
4693
5367
  var parseObject = function (chain, val, options, valuesParsed) {
4694
- var leaf = valuesParsed ? val : parseArrayValue(val, options);
5368
+ var currentArrayLength = 0;
5369
+ if (chain.length > 0 && chain[chain.length - 1] === '[]') {
5370
+ var parentKey = chain.slice(0, -1).join('');
5371
+ currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
5372
+ }
5373
+
5374
+ var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
4695
5375
 
4696
5376
  for (var i = chain.length - 1; i >= 0; --i) {
4697
5377
  var obj;
@@ -4700,9 +5380,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
4700
5380
  if (root === '[]' && options.parseArrays) {
4701
5381
  obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
4702
5382
  ? []
4703
- : [].concat(leaf);
5383
+ : utils.combine([], leaf);
4704
5384
  } else {
4705
- obj = options.plainObjects ? Object.create(null) : {};
5385
+ obj = options.plainObjects ? { __proto__: null } : {};
4706
5386
  var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
4707
5387
  var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
4708
5388
  var index = parseInt(decodedRoot, 10);
@@ -4805,6 +5485,11 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
4805
5485
  if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
4806
5486
  throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
4807
5487
  }
5488
+
5489
+ if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
5490
+ throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
5491
+ }
5492
+
4808
5493
  var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
4809
5494
 
4810
5495
  var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
@@ -4836,7 +5521,8 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
4836
5521
  parseArrays: opts.parseArrays !== false,
4837
5522
  plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
4838
5523
  strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
4839
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
5524
+ strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
5525
+ throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
4840
5526
  };
4841
5527
  };
4842
5528
 
@@ -4844,11 +5530,11 @@ module.exports = function (str, opts) {
4844
5530
  var options = normalizeParseOptions(opts);
4845
5531
 
4846
5532
  if (str === '' || str === null || typeof str === 'undefined') {
4847
- return options.plainObjects ? Object.create(null) : {};
5533
+ return options.plainObjects ? { __proto__: null } : {};
4848
5534
  }
4849
5535
 
4850
5536
  var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
4851
- var obj = options.plainObjects ? Object.create(null) : {};
5537
+ var obj = options.plainObjects ? { __proto__: null } : {};
4852
5538
 
4853
5539
  // Iterate over the keys and setup the new object
4854
5540
 
@@ -4869,18 +5555,18 @@ module.exports = function (str, opts) {
4869
5555
 
4870
5556
  /***/ }),
4871
5557
 
4872
- /***/ "../../node_modules/qs/lib/stringify.js":
4873
- /*!**********************************************!*\
4874
- !*** ../../node_modules/qs/lib/stringify.js ***!
4875
- \**********************************************/
5558
+ /***/ "../rest-client/node_modules/qs/lib/stringify.js":
5559
+ /*!*******************************************************!*\
5560
+ !*** ../rest-client/node_modules/qs/lib/stringify.js ***!
5561
+ \*******************************************************/
4876
5562
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4877
5563
 
4878
5564
  "use strict";
4879
5565
 
4880
5566
 
4881
5567
  var getSideChannel = __webpack_require__(/*! side-channel */ "../../node_modules/side-channel/index.js");
4882
- var utils = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
4883
- var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
5568
+ var utils = __webpack_require__(/*! ./utils */ "../rest-client/node_modules/qs/lib/utils.js");
5569
+ var formats = __webpack_require__(/*! ./formats */ "../rest-client/node_modules/qs/lib/formats.js");
4884
5570
  var has = Object.prototype.hasOwnProperty;
4885
5571
 
4886
5572
  var arrayPrefixGenerators = {
@@ -4912,11 +5598,13 @@ var defaults = {
4912
5598
  arrayFormat: 'indices',
4913
5599
  charset: 'utf-8',
4914
5600
  charsetSentinel: false,
5601
+ commaRoundTrip: false,
4915
5602
  delimiter: '&',
4916
5603
  encode: true,
4917
5604
  encodeDotInKeys: false,
4918
5605
  encoder: utils.encode,
4919
5606
  encodeValuesOnly: false,
5607
+ filter: void undefined,
4920
5608
  format: defaultFormat,
4921
5609
  formatter: formats.formatters[defaultFormat],
4922
5610
  // deprecated
@@ -5028,7 +5716,7 @@ var stringify = function stringify(
5028
5716
  objKeys = sort ? keys.sort(sort) : keys;
5029
5717
  }
5030
5718
 
5031
- var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
5719
+ var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
5032
5720
 
5033
5721
  var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
5034
5722
 
@@ -5038,13 +5726,15 @@ var stringify = function stringify(
5038
5726
 
5039
5727
  for (var j = 0; j < objKeys.length; ++j) {
5040
5728
  var key = objKeys[j];
5041
- var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
5729
+ var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
5730
+ ? key.value
5731
+ : obj[key];
5042
5732
 
5043
5733
  if (skipNulls && value === null) {
5044
5734
  continue;
5045
5735
  }
5046
5736
 
5047
- var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
5737
+ var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
5048
5738
  var keyPrefix = isArray(obj)
5049
5739
  ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
5050
5740
  : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
@@ -5135,7 +5825,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
5135
5825
  arrayFormat: arrayFormat,
5136
5826
  charset: charset,
5137
5827
  charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
5138
- commaRoundTrip: opts.commaRoundTrip,
5828
+ commaRoundTrip: !!opts.commaRoundTrip,
5139
5829
  delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
5140
5830
  encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
5141
5831
  encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
@@ -5186,12 +5876,13 @@ module.exports = function (object, opts) {
5186
5876
  var sideChannel = getSideChannel();
5187
5877
  for (var i = 0; i < objKeys.length; ++i) {
5188
5878
  var key = objKeys[i];
5879
+ var value = obj[key];
5189
5880
 
5190
- if (options.skipNulls && obj[key] === null) {
5881
+ if (options.skipNulls && value === null) {
5191
5882
  continue;
5192
5883
  }
5193
5884
  pushToArray(keys, stringify(
5194
- obj[key],
5885
+ value,
5195
5886
  key,
5196
5887
  generateArrayPrefix,
5197
5888
  commaRoundTrip,
@@ -5231,16 +5922,16 @@ module.exports = function (object, opts) {
5231
5922
 
5232
5923
  /***/ }),
5233
5924
 
5234
- /***/ "../../node_modules/qs/lib/utils.js":
5235
- /*!******************************************!*\
5236
- !*** ../../node_modules/qs/lib/utils.js ***!
5237
- \******************************************/
5925
+ /***/ "../rest-client/node_modules/qs/lib/utils.js":
5926
+ /*!***************************************************!*\
5927
+ !*** ../rest-client/node_modules/qs/lib/utils.js ***!
5928
+ \***************************************************/
5238
5929
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5239
5930
 
5240
5931
  "use strict";
5241
5932
 
5242
5933
 
5243
- var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
5934
+ var formats = __webpack_require__(/*! ./formats */ "../rest-client/node_modules/qs/lib/formats.js");
5244
5935
 
5245
5936
  var has = Object.prototype.hasOwnProperty;
5246
5937
  var isArray = Array.isArray;
@@ -5274,7 +5965,7 @@ var compactQueue = function compactQueue(queue) {
5274
5965
  };
5275
5966
 
5276
5967
  var arrayToObject = function arrayToObject(source, options) {
5277
- var obj = options && options.plainObjects ? Object.create(null) : {};
5968
+ var obj = options && options.plainObjects ? { __proto__: null } : {};
5278
5969
  for (var i = 0; i < source.length; ++i) {
5279
5970
  if (typeof source[i] !== 'undefined') {
5280
5971
  obj[i] = source[i];
@@ -5290,11 +5981,14 @@ var merge = function merge(target, source, options) {
5290
5981
  return target;
5291
5982
  }
5292
5983
 
5293
- if (typeof source !== 'object') {
5984
+ if (typeof source !== 'object' && typeof source !== 'function') {
5294
5985
  if (isArray(target)) {
5295
5986
  target.push(source);
5296
5987
  } else if (target && typeof target === 'object') {
5297
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
5988
+ if (
5989
+ (options && (options.plainObjects || options.allowPrototypes))
5990
+ || !has.call(Object.prototype, source)
5991
+ ) {
5298
5992
  target[source] = true;
5299
5993
  }
5300
5994
  } else {
@@ -5348,7 +6042,7 @@ var assign = function assignSingleSource(target, source) {
5348
6042
  }, target);
5349
6043
  };
5350
6044
 
5351
- var decode = function (str, decoder, charset) {
6045
+ var decode = function (str, defaultDecoder, charset) {
5352
6046
  var strWithoutPlus = str.replace(/\+/g, ' ');
5353
6047
  if (charset === 'iso-8859-1') {
5354
6048
  // unescape never throws, no try...catch needed:
@@ -5505,255 +6199,6 @@ module.exports = {
5505
6199
  };
5506
6200
 
5507
6201
 
5508
- /***/ }),
5509
-
5510
- /***/ "../../node_modules/set-function-length/index.js":
5511
- /*!*******************************************************!*\
5512
- !*** ../../node_modules/set-function-length/index.js ***!
5513
- \*******************************************************/
5514
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5515
-
5516
- "use strict";
5517
-
5518
-
5519
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
5520
- var define = __webpack_require__(/*! define-data-property */ "../../node_modules/define-data-property/index.js");
5521
- var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ "../../node_modules/has-property-descriptors/index.js")();
5522
- var gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
5523
-
5524
- var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
5525
- var $floor = GetIntrinsic('%Math.floor%');
5526
-
5527
- /** @type {import('.')} */
5528
- module.exports = function setFunctionLength(fn, length) {
5529
- if (typeof fn !== 'function') {
5530
- throw new $TypeError('`fn` is not a function');
5531
- }
5532
- if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
5533
- throw new $TypeError('`length` must be a positive 32-bit integer');
5534
- }
5535
-
5536
- var loose = arguments.length > 2 && !!arguments[2];
5537
-
5538
- var functionLengthIsConfigurable = true;
5539
- var functionLengthIsWritable = true;
5540
- if ('length' in fn && gOPD) {
5541
- var desc = gOPD(fn, 'length');
5542
- if (desc && !desc.configurable) {
5543
- functionLengthIsConfigurable = false;
5544
- }
5545
- if (desc && !desc.writable) {
5546
- functionLengthIsWritable = false;
5547
- }
5548
- }
5549
-
5550
- if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
5551
- if (hasDescriptors) {
5552
- define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
5553
- } else {
5554
- define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
5555
- }
5556
- }
5557
- return fn;
5558
- };
5559
-
5560
-
5561
- /***/ }),
5562
-
5563
- /***/ "../../node_modules/side-channel/index.js":
5564
- /*!************************************************!*\
5565
- !*** ../../node_modules/side-channel/index.js ***!
5566
- \************************************************/
5567
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5568
-
5569
- "use strict";
5570
-
5571
-
5572
- var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
5573
- var callBound = __webpack_require__(/*! call-bind/callBound */ "../../node_modules/call-bind/callBound.js");
5574
- var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
5575
-
5576
- var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
5577
- var $WeakMap = GetIntrinsic('%WeakMap%', true);
5578
- var $Map = GetIntrinsic('%Map%', true);
5579
-
5580
- var $weakMapGet = callBound('WeakMap.prototype.get', true);
5581
- var $weakMapSet = callBound('WeakMap.prototype.set', true);
5582
- var $weakMapHas = callBound('WeakMap.prototype.has', true);
5583
- var $mapGet = callBound('Map.prototype.get', true);
5584
- var $mapSet = callBound('Map.prototype.set', true);
5585
- var $mapHas = callBound('Map.prototype.has', true);
5586
-
5587
- /*
5588
- * This function traverses the list returning the node corresponding to the given key.
5589
- *
5590
- * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
5591
- */
5592
- /** @type {import('.').listGetNode} */
5593
- var listGetNode = function (list, key) { // eslint-disable-line consistent-return
5594
- /** @type {typeof list | NonNullable<(typeof list)['next']>} */
5595
- var prev = list;
5596
- /** @type {(typeof list)['next']} */
5597
- var curr;
5598
- for (; (curr = prev.next) !== null; prev = curr) {
5599
- if (curr.key === key) {
5600
- prev.next = curr.next;
5601
- // eslint-disable-next-line no-extra-parens
5602
- curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
5603
- list.next = curr; // eslint-disable-line no-param-reassign
5604
- return curr;
5605
- }
5606
- }
5607
- };
5608
-
5609
- /** @type {import('.').listGet} */
5610
- var listGet = function (objects, key) {
5611
- var node = listGetNode(objects, key);
5612
- return node && node.value;
5613
- };
5614
- /** @type {import('.').listSet} */
5615
- var listSet = function (objects, key, value) {
5616
- var node = listGetNode(objects, key);
5617
- if (node) {
5618
- node.value = value;
5619
- } else {
5620
- // Prepend the new node to the beginning of the list
5621
- objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
5622
- key: key,
5623
- next: objects.next,
5624
- value: value
5625
- });
5626
- }
5627
- };
5628
- /** @type {import('.').listHas} */
5629
- var listHas = function (objects, key) {
5630
- return !!listGetNode(objects, key);
5631
- };
5632
-
5633
- /** @type {import('.')} */
5634
- module.exports = function getSideChannel() {
5635
- /** @type {WeakMap<object, unknown>} */ var $wm;
5636
- /** @type {Map<object, unknown>} */ var $m;
5637
- /** @type {import('.').RootNode<unknown>} */ var $o;
5638
-
5639
- /** @type {import('.').Channel} */
5640
- var channel = {
5641
- assert: function (key) {
5642
- if (!channel.has(key)) {
5643
- throw new $TypeError('Side channel does not contain ' + inspect(key));
5644
- }
5645
- },
5646
- get: function (key) { // eslint-disable-line consistent-return
5647
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5648
- if ($wm) {
5649
- return $weakMapGet($wm, key);
5650
- }
5651
- } else if ($Map) {
5652
- if ($m) {
5653
- return $mapGet($m, key);
5654
- }
5655
- } else {
5656
- if ($o) { // eslint-disable-line no-lonely-if
5657
- return listGet($o, key);
5658
- }
5659
- }
5660
- },
5661
- has: function (key) {
5662
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5663
- if ($wm) {
5664
- return $weakMapHas($wm, key);
5665
- }
5666
- } else if ($Map) {
5667
- if ($m) {
5668
- return $mapHas($m, key);
5669
- }
5670
- } else {
5671
- if ($o) { // eslint-disable-line no-lonely-if
5672
- return listHas($o, key);
5673
- }
5674
- }
5675
- return false;
5676
- },
5677
- set: function (key, value) {
5678
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
5679
- if (!$wm) {
5680
- $wm = new $WeakMap();
5681
- }
5682
- $weakMapSet($wm, key, value);
5683
- } else if ($Map) {
5684
- if (!$m) {
5685
- $m = new $Map();
5686
- }
5687
- $mapSet($m, key, value);
5688
- } else {
5689
- if (!$o) {
5690
- // 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
5691
- $o = { key: {}, next: null };
5692
- }
5693
- listSet($o, key, value);
5694
- }
5695
- }
5696
- };
5697
- return channel;
5698
- };
5699
-
5700
-
5701
- /***/ }),
5702
-
5703
- /***/ "./src/feathers.ts":
5704
- /*!*************************!*\
5705
- !*** ./src/feathers.ts ***!
5706
- \*************************/
5707
- /***/ (function(module, exports, __webpack_require__) {
5708
-
5709
- "use strict";
5710
-
5711
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5712
- if (k2 === undefined) k2 = k;
5713
- var desc = Object.getOwnPropertyDescriptor(m, k);
5714
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5715
- desc = { enumerable: true, get: function() { return m[k]; } };
5716
- }
5717
- Object.defineProperty(o, k2, desc);
5718
- }) : (function(o, m, k, k2) {
5719
- if (k2 === undefined) k2 = k;
5720
- o[k2] = m[k];
5721
- }));
5722
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
5723
- Object.defineProperty(o, "default", { enumerable: true, value: v });
5724
- }) : function(o, v) {
5725
- o["default"] = v;
5726
- });
5727
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
5728
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5729
- };
5730
- var __importStar = (this && this.__importStar) || function (mod) {
5731
- if (mod && mod.__esModule) return mod;
5732
- var result = {};
5733
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
5734
- __setModuleDefault(result, mod);
5735
- return result;
5736
- };
5737
- var __importDefault = (this && this.__importDefault) || function (mod) {
5738
- return (mod && mod.__esModule) ? mod : { "default": mod };
5739
- };
5740
- Object.defineProperty(exports, "__esModule", ({ value: true }));
5741
- exports.socketio = exports.rest = exports.authentication = exports.errors = void 0;
5742
- const feathers_1 = __webpack_require__(/*! @feathersjs/feathers */ "../feathers/lib/index.js");
5743
- const authentication_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js"));
5744
- exports.authentication = authentication_client_1.default;
5745
- const rest_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/rest-client */ "../rest-client/lib/index.js"));
5746
- exports.rest = rest_client_1.default;
5747
- const socketio_client_1 = __importDefault(__webpack_require__(/*! @feathersjs/socketio-client */ "../socketio-client/lib/index.js"));
5748
- exports.socketio = socketio_client_1.default;
5749
- __exportStar(__webpack_require__(/*! @feathersjs/feathers */ "../feathers/lib/index.js"), exports);
5750
- exports.errors = __importStar(__webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js"));
5751
- exports["default"] = feathers_1.feathers;
5752
- if (true) {
5753
- module.exports = Object.assign(feathers_1.feathers, module.exports);
5754
- }
5755
-
5756
-
5757
6202
  /***/ }),
5758
6203
 
5759
6204
  /***/ "?c95a":