swagger-client 3.29.0 → 3.29.2

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.
@@ -1896,15 +1896,13 @@ function formatKeyValueBySerializationOption(key, value, skipEncoding, serializa
1896
1896
  __webpack_require__.r(__webpack_exports__);
1897
1897
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1898
1898
  /* harmony export */ encodeFormOrQuery: () => (/* binding */ encodeFormOrQuery),
1899
- /* harmony export */ serializeRequest: () => (/* binding */ serializeRequest)
1899
+ /* harmony export */ serializeRequest: () => (/* binding */ serializeRequest),
1900
+ /* harmony export */ stringifyQuery: () => (/* binding */ stringifyQuery)
1900
1901
  /* harmony export */ });
1901
- /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(55373);
1902
- /* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
1903
1902
  /* harmony import */ var _format_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(46439);
1904
1903
  /* harmony import */ var _file_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3474);
1905
1904
 
1906
1905
 
1907
-
1908
1906
  function buildFormData(reqForm) {
1909
1907
  /**
1910
1908
  * Build a new FormData instance, support array as field value
@@ -1941,6 +1939,27 @@ function buildFormData(reqForm) {
1941
1939
  return formData;
1942
1940
  }, new FormData());
1943
1941
  }
1942
+ const stringifyQuery = (queryObject, {
1943
+ encode = true
1944
+ } = {}) => {
1945
+ const buildNestedParams = (params, key, value) => {
1946
+ if (value == null) {
1947
+ params.append(key, '');
1948
+ } else if (Array.isArray(value)) {
1949
+ value.reduce((acc, v) => buildNestedParams(params, key, v), params);
1950
+ } else if (value instanceof Date) {
1951
+ params.append(key, value.toISOString());
1952
+ } else if (typeof value === 'object') {
1953
+ Object.entries(value).reduce((acc, [k, v]) => buildNestedParams(params, `${key}[${k}]`, v), params);
1954
+ } else {
1955
+ params.append(key, value);
1956
+ }
1957
+ return params;
1958
+ };
1959
+ const params = Object.entries(queryObject).reduce((acc, [key, value]) => buildNestedParams(acc, key, value), new URLSearchParams());
1960
+ const queryString = String(params);
1961
+ return encode ? queryString : decodeURIComponent(queryString);
1962
+ };
1944
1963
 
1945
1964
  // Encodes an object using appropriate serializer.
1946
1965
  function encodeFormOrQuery(data) {
@@ -1950,7 +1969,7 @@ function encodeFormOrQuery(data) {
1950
1969
  * @param {string} parameterName - Parameter name
1951
1970
  * @return {object} encoded parameter names and values
1952
1971
  */
1953
- const encodedQuery = Object.keys(data).reduce((result, parameterName) => {
1972
+ const encodedQueryObj = Object.keys(data).reduce((result, parameterName) => {
1954
1973
  // eslint-disable-next-line no-restricted-syntax
1955
1974
  for (const [key, value] of (0,_format_js__WEBPACK_IMPORTED_MODULE_0__["default"])(parameterName, data[parameterName])) {
1956
1975
  if (value instanceof _file_js__WEBPACK_IMPORTED_MODULE_1__.FileWithData) {
@@ -1961,10 +1980,9 @@ function encodeFormOrQuery(data) {
1961
1980
  }
1962
1981
  return result;
1963
1982
  }, {});
1964
- return qs__WEBPACK_IMPORTED_MODULE_2___default().stringify(encodedQuery, {
1965
- encode: false,
1966
- indices: false
1967
- }) || '';
1983
+ return stringifyQuery(encodedQueryObj, {
1984
+ encode: false
1985
+ });
1968
1986
  }
1969
1987
 
1970
1988
  // If the request has a `query` object, merge it into the request.url, and delete the object
@@ -2000,12 +2018,10 @@ function serializeRequest(req = {}) {
2000
2018
  const [baseUrl, oriSearch] = url.split('?');
2001
2019
  let newStr = '';
2002
2020
  if (oriSearch) {
2003
- const oriQuery = qs__WEBPACK_IMPORTED_MODULE_2___default().parse(oriSearch);
2021
+ const oriQuery = new URLSearchParams(oriSearch);
2004
2022
  const keysToRemove = Object.keys(query);
2005
- keysToRemove.forEach(key => delete oriQuery[key]);
2006
- newStr = qs__WEBPACK_IMPORTED_MODULE_2___default().stringify(oriQuery, {
2007
- encode: true
2008
- });
2023
+ keysToRemove.forEach(key => oriQuery.delete(key));
2024
+ newStr = String(oriQuery);
2009
2025
  }
2010
2026
  const finalStr = joinSearch(newStr, encodeFormOrQuery(query));
2011
2027
  req.url = baseUrl + finalStr;
@@ -6141,72 +6157,6 @@ const makeResolveSubtree = defaultOptions => async (obj, path, options = {}) =>
6141
6157
  strategies: [_resolver_strategies_openapi_3_0_index_js__WEBPACK_IMPORTED_MODULE_3__["default"], _resolver_strategies_openapi_2_index_js__WEBPACK_IMPORTED_MODULE_2__["default"], _resolver_strategies_generic_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]]
6142
6158
  }));
6143
6159
 
6144
- /***/ }),
6145
-
6146
- /***/ 38075:
6147
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6148
-
6149
- "use strict";
6150
-
6151
-
6152
- var GetIntrinsic = __webpack_require__(70453);
6153
-
6154
- var callBind = __webpack_require__(10487);
6155
-
6156
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
6157
-
6158
- module.exports = function callBoundIntrinsic(name, allowMissing) {
6159
- var intrinsic = GetIntrinsic(name, !!allowMissing);
6160
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
6161
- return callBind(intrinsic);
6162
- }
6163
- return intrinsic;
6164
- };
6165
-
6166
-
6167
- /***/ }),
6168
-
6169
- /***/ 10487:
6170
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6171
-
6172
- "use strict";
6173
-
6174
-
6175
- var bind = __webpack_require__(66743);
6176
- var GetIntrinsic = __webpack_require__(70453);
6177
- var setFunctionLength = __webpack_require__(96897);
6178
-
6179
- var $TypeError = __webpack_require__(69675);
6180
- var $apply = GetIntrinsic('%Function.prototype.apply%');
6181
- var $call = GetIntrinsic('%Function.prototype.call%');
6182
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
6183
-
6184
- var $defineProperty = __webpack_require__(30655);
6185
- var $max = GetIntrinsic('%Math.max%');
6186
-
6187
- module.exports = function callBind(originalFunction) {
6188
- if (typeof originalFunction !== 'function') {
6189
- throw new $TypeError('a function is required');
6190
- }
6191
- var func = $reflectApply(bind, $call, arguments);
6192
- return setFunctionLength(
6193
- func,
6194
- 1 + $max(0, originalFunction.length - (arguments.length - 1)),
6195
- true
6196
- );
6197
- };
6198
-
6199
- var applyBind = function applyBind() {
6200
- return $reflectApply(bind, $apply, arguments);
6201
- };
6202
-
6203
- if ($defineProperty) {
6204
- $defineProperty(module.exports, 'apply', { value: applyBind });
6205
- } else {
6206
- module.exports.apply = applyBind;
6207
- }
6208
-
6209
-
6210
6160
  /***/ }),
6211
6161
 
6212
6162
  /***/ 57427:
@@ -6630,814 +6580,6 @@ var deepmerge_1 = deepmerge;
6630
6580
  module.exports = deepmerge_1;
6631
6581
 
6632
6582
 
6633
- /***/ }),
6634
-
6635
- /***/ 30041:
6636
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6637
-
6638
- "use strict";
6639
-
6640
-
6641
- var $defineProperty = __webpack_require__(30655);
6642
-
6643
- var $SyntaxError = __webpack_require__(58068);
6644
- var $TypeError = __webpack_require__(69675);
6645
-
6646
- var gopd = __webpack_require__(75795);
6647
-
6648
- /** @type {import('.')} */
6649
- module.exports = function defineDataProperty(
6650
- obj,
6651
- property,
6652
- value
6653
- ) {
6654
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
6655
- throw new $TypeError('`obj` must be an object or a function`');
6656
- }
6657
- if (typeof property !== 'string' && typeof property !== 'symbol') {
6658
- throw new $TypeError('`property` must be a string or a symbol`');
6659
- }
6660
- if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
6661
- throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
6662
- }
6663
- if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
6664
- throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
6665
- }
6666
- if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
6667
- throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
6668
- }
6669
- if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
6670
- throw new $TypeError('`loose`, if provided, must be a boolean');
6671
- }
6672
-
6673
- var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
6674
- var nonWritable = arguments.length > 4 ? arguments[4] : null;
6675
- var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
6676
- var loose = arguments.length > 6 ? arguments[6] : false;
6677
-
6678
- /* @type {false | TypedPropertyDescriptor<unknown>} */
6679
- var desc = !!gopd && gopd(obj, property);
6680
-
6681
- if ($defineProperty) {
6682
- $defineProperty(obj, property, {
6683
- configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
6684
- enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
6685
- value: value,
6686
- writable: nonWritable === null && desc ? desc.writable : !nonWritable
6687
- });
6688
- } else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
6689
- // must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
6690
- obj[property] = value; // eslint-disable-line no-param-reassign
6691
- } else {
6692
- throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
6693
- }
6694
- };
6695
-
6696
-
6697
- /***/ }),
6698
-
6699
- /***/ 30655:
6700
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6701
-
6702
- "use strict";
6703
-
6704
-
6705
- var GetIntrinsic = __webpack_require__(70453);
6706
-
6707
- /** @type {import('.')} */
6708
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
6709
- if ($defineProperty) {
6710
- try {
6711
- $defineProperty({}, 'a', { value: 1 });
6712
- } catch (e) {
6713
- // IE 8 has a broken defineProperty
6714
- $defineProperty = false;
6715
- }
6716
- }
6717
-
6718
- module.exports = $defineProperty;
6719
-
6720
-
6721
- /***/ }),
6722
-
6723
- /***/ 41237:
6724
- /***/ ((module) => {
6725
-
6726
- "use strict";
6727
-
6728
-
6729
- /** @type {import('./eval')} */
6730
- module.exports = EvalError;
6731
-
6732
-
6733
- /***/ }),
6734
-
6735
- /***/ 69383:
6736
- /***/ ((module) => {
6737
-
6738
- "use strict";
6739
-
6740
-
6741
- /** @type {import('.')} */
6742
- module.exports = Error;
6743
-
6744
-
6745
- /***/ }),
6746
-
6747
- /***/ 79290:
6748
- /***/ ((module) => {
6749
-
6750
- "use strict";
6751
-
6752
-
6753
- /** @type {import('./range')} */
6754
- module.exports = RangeError;
6755
-
6756
-
6757
- /***/ }),
6758
-
6759
- /***/ 79538:
6760
- /***/ ((module) => {
6761
-
6762
- "use strict";
6763
-
6764
-
6765
- /** @type {import('./ref')} */
6766
- module.exports = ReferenceError;
6767
-
6768
-
6769
- /***/ }),
6770
-
6771
- /***/ 58068:
6772
- /***/ ((module) => {
6773
-
6774
- "use strict";
6775
-
6776
-
6777
- /** @type {import('./syntax')} */
6778
- module.exports = SyntaxError;
6779
-
6780
-
6781
- /***/ }),
6782
-
6783
- /***/ 69675:
6784
- /***/ ((module) => {
6785
-
6786
- "use strict";
6787
-
6788
-
6789
- /** @type {import('./type')} */
6790
- module.exports = TypeError;
6791
-
6792
-
6793
- /***/ }),
6794
-
6795
- /***/ 35345:
6796
- /***/ ((module) => {
6797
-
6798
- "use strict";
6799
-
6800
-
6801
- /** @type {import('./uri')} */
6802
- module.exports = URIError;
6803
-
6804
-
6805
- /***/ }),
6806
-
6807
- /***/ 89353:
6808
- /***/ ((module) => {
6809
-
6810
- "use strict";
6811
-
6812
-
6813
- /* eslint no-invalid-this: 1 */
6814
-
6815
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
6816
- var toStr = Object.prototype.toString;
6817
- var max = Math.max;
6818
- var funcType = '[object Function]';
6819
-
6820
- var concatty = function concatty(a, b) {
6821
- var arr = [];
6822
-
6823
- for (var i = 0; i < a.length; i += 1) {
6824
- arr[i] = a[i];
6825
- }
6826
- for (var j = 0; j < b.length; j += 1) {
6827
- arr[j + a.length] = b[j];
6828
- }
6829
-
6830
- return arr;
6831
- };
6832
-
6833
- var slicy = function slicy(arrLike, offset) {
6834
- var arr = [];
6835
- for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
6836
- arr[j] = arrLike[i];
6837
- }
6838
- return arr;
6839
- };
6840
-
6841
- var joiny = function (arr, joiner) {
6842
- var str = '';
6843
- for (var i = 0; i < arr.length; i += 1) {
6844
- str += arr[i];
6845
- if (i + 1 < arr.length) {
6846
- str += joiner;
6847
- }
6848
- }
6849
- return str;
6850
- };
6851
-
6852
- module.exports = function bind(that) {
6853
- var target = this;
6854
- if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
6855
- throw new TypeError(ERROR_MESSAGE + target);
6856
- }
6857
- var args = slicy(arguments, 1);
6858
-
6859
- var bound;
6860
- var binder = function () {
6861
- if (this instanceof bound) {
6862
- var result = target.apply(
6863
- this,
6864
- concatty(args, arguments)
6865
- );
6866
- if (Object(result) === result) {
6867
- return result;
6868
- }
6869
- return this;
6870
- }
6871
- return target.apply(
6872
- that,
6873
- concatty(args, arguments)
6874
- );
6875
-
6876
- };
6877
-
6878
- var boundLength = max(0, target.length - args.length);
6879
- var boundArgs = [];
6880
- for (var i = 0; i < boundLength; i++) {
6881
- boundArgs[i] = '$' + i;
6882
- }
6883
-
6884
- bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
6885
-
6886
- if (target.prototype) {
6887
- var Empty = function Empty() {};
6888
- Empty.prototype = target.prototype;
6889
- bound.prototype = new Empty();
6890
- Empty.prototype = null;
6891
- }
6892
-
6893
- return bound;
6894
- };
6895
-
6896
-
6897
- /***/ }),
6898
-
6899
- /***/ 66743:
6900
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6901
-
6902
- "use strict";
6903
-
6904
-
6905
- var implementation = __webpack_require__(89353);
6906
-
6907
- module.exports = Function.prototype.bind || implementation;
6908
-
6909
-
6910
- /***/ }),
6911
-
6912
- /***/ 70453:
6913
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
6914
-
6915
- "use strict";
6916
-
6917
-
6918
- var undefined;
6919
-
6920
- var $Error = __webpack_require__(69383);
6921
- var $EvalError = __webpack_require__(41237);
6922
- var $RangeError = __webpack_require__(79290);
6923
- var $ReferenceError = __webpack_require__(79538);
6924
- var $SyntaxError = __webpack_require__(58068);
6925
- var $TypeError = __webpack_require__(69675);
6926
- var $URIError = __webpack_require__(35345);
6927
-
6928
- var $Function = Function;
6929
-
6930
- // eslint-disable-next-line consistent-return
6931
- var getEvalledConstructor = function (expressionSyntax) {
6932
- try {
6933
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
6934
- } catch (e) {}
6935
- };
6936
-
6937
- var $gOPD = Object.getOwnPropertyDescriptor;
6938
- if ($gOPD) {
6939
- try {
6940
- $gOPD({}, '');
6941
- } catch (e) {
6942
- $gOPD = null; // this is IE 8, which has a broken gOPD
6943
- }
6944
- }
6945
-
6946
- var throwTypeError = function () {
6947
- throw new $TypeError();
6948
- };
6949
- var ThrowTypeError = $gOPD
6950
- ? (function () {
6951
- try {
6952
- // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
6953
- arguments.callee; // IE 8 does not throw here
6954
- return throwTypeError;
6955
- } catch (calleeThrows) {
6956
- try {
6957
- // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
6958
- return $gOPD(arguments, 'callee').get;
6959
- } catch (gOPDthrows) {
6960
- return throwTypeError;
6961
- }
6962
- }
6963
- }())
6964
- : throwTypeError;
6965
-
6966
- var hasSymbols = __webpack_require__(64039)();
6967
- var hasProto = __webpack_require__(80024)();
6968
-
6969
- var getProto = Object.getPrototypeOf || (
6970
- hasProto
6971
- ? function (x) { return x.__proto__; } // eslint-disable-line no-proto
6972
- : null
6973
- );
6974
-
6975
- var needsEval = {};
6976
-
6977
- var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
6978
-
6979
- var INTRINSICS = {
6980
- __proto__: null,
6981
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
6982
- '%Array%': Array,
6983
- '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
6984
- '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
6985
- '%AsyncFromSyncIteratorPrototype%': undefined,
6986
- '%AsyncFunction%': needsEval,
6987
- '%AsyncGenerator%': needsEval,
6988
- '%AsyncGeneratorFunction%': needsEval,
6989
- '%AsyncIteratorPrototype%': needsEval,
6990
- '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
6991
- '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
6992
- '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
6993
- '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
6994
- '%Boolean%': Boolean,
6995
- '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
6996
- '%Date%': Date,
6997
- '%decodeURI%': decodeURI,
6998
- '%decodeURIComponent%': decodeURIComponent,
6999
- '%encodeURI%': encodeURI,
7000
- '%encodeURIComponent%': encodeURIComponent,
7001
- '%Error%': $Error,
7002
- '%eval%': eval, // eslint-disable-line no-eval
7003
- '%EvalError%': $EvalError,
7004
- '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
7005
- '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
7006
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
7007
- '%Function%': $Function,
7008
- '%GeneratorFunction%': needsEval,
7009
- '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
7010
- '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
7011
- '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
7012
- '%isFinite%': isFinite,
7013
- '%isNaN%': isNaN,
7014
- '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
7015
- '%JSON%': typeof JSON === 'object' ? JSON : undefined,
7016
- '%Map%': typeof Map === 'undefined' ? undefined : Map,
7017
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
7018
- '%Math%': Math,
7019
- '%Number%': Number,
7020
- '%Object%': Object,
7021
- '%parseFloat%': parseFloat,
7022
- '%parseInt%': parseInt,
7023
- '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
7024
- '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
7025
- '%RangeError%': $RangeError,
7026
- '%ReferenceError%': $ReferenceError,
7027
- '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
7028
- '%RegExp%': RegExp,
7029
- '%Set%': typeof Set === 'undefined' ? undefined : Set,
7030
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
7031
- '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
7032
- '%String%': String,
7033
- '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
7034
- '%Symbol%': hasSymbols ? Symbol : undefined,
7035
- '%SyntaxError%': $SyntaxError,
7036
- '%ThrowTypeError%': ThrowTypeError,
7037
- '%TypedArray%': TypedArray,
7038
- '%TypeError%': $TypeError,
7039
- '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
7040
- '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
7041
- '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
7042
- '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
7043
- '%URIError%': $URIError,
7044
- '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
7045
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
7046
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
7047
- };
7048
-
7049
- if (getProto) {
7050
- try {
7051
- null.error; // eslint-disable-line no-unused-expressions
7052
- } catch (e) {
7053
- // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
7054
- var errorProto = getProto(getProto(e));
7055
- INTRINSICS['%Error.prototype%'] = errorProto;
7056
- }
7057
- }
7058
-
7059
- var doEval = function doEval(name) {
7060
- var value;
7061
- if (name === '%AsyncFunction%') {
7062
- value = getEvalledConstructor('async function () {}');
7063
- } else if (name === '%GeneratorFunction%') {
7064
- value = getEvalledConstructor('function* () {}');
7065
- } else if (name === '%AsyncGeneratorFunction%') {
7066
- value = getEvalledConstructor('async function* () {}');
7067
- } else if (name === '%AsyncGenerator%') {
7068
- var fn = doEval('%AsyncGeneratorFunction%');
7069
- if (fn) {
7070
- value = fn.prototype;
7071
- }
7072
- } else if (name === '%AsyncIteratorPrototype%') {
7073
- var gen = doEval('%AsyncGenerator%');
7074
- if (gen && getProto) {
7075
- value = getProto(gen.prototype);
7076
- }
7077
- }
7078
-
7079
- INTRINSICS[name] = value;
7080
-
7081
- return value;
7082
- };
7083
-
7084
- var LEGACY_ALIASES = {
7085
- __proto__: null,
7086
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
7087
- '%ArrayPrototype%': ['Array', 'prototype'],
7088
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
7089
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
7090
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
7091
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
7092
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
7093
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
7094
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
7095
- '%BooleanPrototype%': ['Boolean', 'prototype'],
7096
- '%DataViewPrototype%': ['DataView', 'prototype'],
7097
- '%DatePrototype%': ['Date', 'prototype'],
7098
- '%ErrorPrototype%': ['Error', 'prototype'],
7099
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
7100
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
7101
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
7102
- '%FunctionPrototype%': ['Function', 'prototype'],
7103
- '%Generator%': ['GeneratorFunction', 'prototype'],
7104
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
7105
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
7106
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
7107
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
7108
- '%JSONParse%': ['JSON', 'parse'],
7109
- '%JSONStringify%': ['JSON', 'stringify'],
7110
- '%MapPrototype%': ['Map', 'prototype'],
7111
- '%NumberPrototype%': ['Number', 'prototype'],
7112
- '%ObjectPrototype%': ['Object', 'prototype'],
7113
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
7114
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
7115
- '%PromisePrototype%': ['Promise', 'prototype'],
7116
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
7117
- '%Promise_all%': ['Promise', 'all'],
7118
- '%Promise_reject%': ['Promise', 'reject'],
7119
- '%Promise_resolve%': ['Promise', 'resolve'],
7120
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
7121
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
7122
- '%RegExpPrototype%': ['RegExp', 'prototype'],
7123
- '%SetPrototype%': ['Set', 'prototype'],
7124
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
7125
- '%StringPrototype%': ['String', 'prototype'],
7126
- '%SymbolPrototype%': ['Symbol', 'prototype'],
7127
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
7128
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
7129
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
7130
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
7131
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
7132
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
7133
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
7134
- '%URIErrorPrototype%': ['URIError', 'prototype'],
7135
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
7136
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
7137
- };
7138
-
7139
- var bind = __webpack_require__(66743);
7140
- var hasOwn = __webpack_require__(9957);
7141
- var $concat = bind.call(Function.call, Array.prototype.concat);
7142
- var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
7143
- var $replace = bind.call(Function.call, String.prototype.replace);
7144
- var $strSlice = bind.call(Function.call, String.prototype.slice);
7145
- var $exec = bind.call(Function.call, RegExp.prototype.exec);
7146
-
7147
- /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
7148
- var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
7149
- var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
7150
- var stringToPath = function stringToPath(string) {
7151
- var first = $strSlice(string, 0, 1);
7152
- var last = $strSlice(string, -1);
7153
- if (first === '%' && last !== '%') {
7154
- throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
7155
- } else if (last === '%' && first !== '%') {
7156
- throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
7157
- }
7158
- var result = [];
7159
- $replace(string, rePropName, function (match, number, quote, subString) {
7160
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
7161
- });
7162
- return result;
7163
- };
7164
- /* end adaptation */
7165
-
7166
- var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
7167
- var intrinsicName = name;
7168
- var alias;
7169
- if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
7170
- alias = LEGACY_ALIASES[intrinsicName];
7171
- intrinsicName = '%' + alias[0] + '%';
7172
- }
7173
-
7174
- if (hasOwn(INTRINSICS, intrinsicName)) {
7175
- var value = INTRINSICS[intrinsicName];
7176
- if (value === needsEval) {
7177
- value = doEval(intrinsicName);
7178
- }
7179
- if (typeof value === 'undefined' && !allowMissing) {
7180
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
7181
- }
7182
-
7183
- return {
7184
- alias: alias,
7185
- name: intrinsicName,
7186
- value: value
7187
- };
7188
- }
7189
-
7190
- throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
7191
- };
7192
-
7193
- module.exports = function GetIntrinsic(name, allowMissing) {
7194
- if (typeof name !== 'string' || name.length === 0) {
7195
- throw new $TypeError('intrinsic name must be a non-empty string');
7196
- }
7197
- if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
7198
- throw new $TypeError('"allowMissing" argument must be a boolean');
7199
- }
7200
-
7201
- if ($exec(/^%?[^%]*%?$/, name) === null) {
7202
- throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
7203
- }
7204
- var parts = stringToPath(name);
7205
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
7206
-
7207
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
7208
- var intrinsicRealName = intrinsic.name;
7209
- var value = intrinsic.value;
7210
- var skipFurtherCaching = false;
7211
-
7212
- var alias = intrinsic.alias;
7213
- if (alias) {
7214
- intrinsicBaseName = alias[0];
7215
- $spliceApply(parts, $concat([0, 1], alias));
7216
- }
7217
-
7218
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
7219
- var part = parts[i];
7220
- var first = $strSlice(part, 0, 1);
7221
- var last = $strSlice(part, -1);
7222
- if (
7223
- (
7224
- (first === '"' || first === "'" || first === '`')
7225
- || (last === '"' || last === "'" || last === '`')
7226
- )
7227
- && first !== last
7228
- ) {
7229
- throw new $SyntaxError('property names with quotes must have matching quotes');
7230
- }
7231
- if (part === 'constructor' || !isOwn) {
7232
- skipFurtherCaching = true;
7233
- }
7234
-
7235
- intrinsicBaseName += '.' + part;
7236
- intrinsicRealName = '%' + intrinsicBaseName + '%';
7237
-
7238
- if (hasOwn(INTRINSICS, intrinsicRealName)) {
7239
- value = INTRINSICS[intrinsicRealName];
7240
- } else if (value != null) {
7241
- if (!(part in value)) {
7242
- if (!allowMissing) {
7243
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
7244
- }
7245
- return void undefined;
7246
- }
7247
- if ($gOPD && (i + 1) >= parts.length) {
7248
- var desc = $gOPD(value, part);
7249
- isOwn = !!desc;
7250
-
7251
- // By convention, when a data property is converted to an accessor
7252
- // property to emulate a data property that does not suffer from
7253
- // the override mistake, that accessor's getter is marked with
7254
- // an `originalValue` property. Here, when we detect this, we
7255
- // uphold the illusion by pretending to see that original data
7256
- // property, i.e., returning the value rather than the getter
7257
- // itself.
7258
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
7259
- value = desc.get;
7260
- } else {
7261
- value = value[part];
7262
- }
7263
- } else {
7264
- isOwn = hasOwn(value, part);
7265
- value = value[part];
7266
- }
7267
-
7268
- if (isOwn && !skipFurtherCaching) {
7269
- INTRINSICS[intrinsicRealName] = value;
7270
- }
7271
- }
7272
- }
7273
- return value;
7274
- };
7275
-
7276
-
7277
- /***/ }),
7278
-
7279
- /***/ 75795:
7280
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7281
-
7282
- "use strict";
7283
-
7284
-
7285
- var GetIntrinsic = __webpack_require__(70453);
7286
-
7287
- var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
7288
-
7289
- if ($gOPD) {
7290
- try {
7291
- $gOPD([], 'length');
7292
- } catch (e) {
7293
- // IE 8 has a broken gOPD
7294
- $gOPD = null;
7295
- }
7296
- }
7297
-
7298
- module.exports = $gOPD;
7299
-
7300
-
7301
- /***/ }),
7302
-
7303
- /***/ 30592:
7304
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7305
-
7306
- "use strict";
7307
-
7308
-
7309
- var $defineProperty = __webpack_require__(30655);
7310
-
7311
- var hasPropertyDescriptors = function hasPropertyDescriptors() {
7312
- return !!$defineProperty;
7313
- };
7314
-
7315
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
7316
- // node v0.6 has a bug where array lengths can be Set but not Defined
7317
- if (!$defineProperty) {
7318
- return null;
7319
- }
7320
- try {
7321
- return $defineProperty([], 'length', { value: 1 }).length !== 1;
7322
- } catch (e) {
7323
- // In Firefox 4-22, defining length on an array throws an exception.
7324
- return true;
7325
- }
7326
- };
7327
-
7328
- module.exports = hasPropertyDescriptors;
7329
-
7330
-
7331
- /***/ }),
7332
-
7333
- /***/ 80024:
7334
- /***/ ((module) => {
7335
-
7336
- "use strict";
7337
-
7338
-
7339
- var test = {
7340
- __proto__: null,
7341
- foo: {}
7342
- };
7343
-
7344
- var $Object = Object;
7345
-
7346
- /** @type {import('.')} */
7347
- module.exports = function hasProto() {
7348
- // @ts-expect-error: TS errors on an inherited property for some reason
7349
- return { __proto__: test }.foo === test.foo
7350
- && !(test instanceof $Object);
7351
- };
7352
-
7353
-
7354
- /***/ }),
7355
-
7356
- /***/ 64039:
7357
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7358
-
7359
- "use strict";
7360
-
7361
-
7362
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
7363
- var hasSymbolSham = __webpack_require__(41333);
7364
-
7365
- module.exports = function hasNativeSymbols() {
7366
- if (typeof origSymbol !== 'function') { return false; }
7367
- if (typeof Symbol !== 'function') { return false; }
7368
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
7369
- if (typeof Symbol('bar') !== 'symbol') { return false; }
7370
-
7371
- return hasSymbolSham();
7372
- };
7373
-
7374
-
7375
- /***/ }),
7376
-
7377
- /***/ 41333:
7378
- /***/ ((module) => {
7379
-
7380
- "use strict";
7381
-
7382
-
7383
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
7384
- module.exports = function hasSymbols() {
7385
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
7386
- if (typeof Symbol.iterator === 'symbol') { return true; }
7387
-
7388
- var obj = {};
7389
- var sym = Symbol('test');
7390
- var symObj = Object(sym);
7391
- if (typeof sym === 'string') { return false; }
7392
-
7393
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
7394
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
7395
-
7396
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
7397
- // if (sym instanceof Symbol) { return false; }
7398
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
7399
- // if (!(symObj instanceof Symbol)) { return false; }
7400
-
7401
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
7402
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
7403
-
7404
- var symVal = 42;
7405
- obj[sym] = symVal;
7406
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
7407
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
7408
-
7409
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
7410
-
7411
- var syms = Object.getOwnPropertySymbols(obj);
7412
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
7413
-
7414
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
7415
-
7416
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
7417
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
7418
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
7419
- }
7420
-
7421
- return true;
7422
- };
7423
-
7424
-
7425
- /***/ }),
7426
-
7427
- /***/ 9957:
7428
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
7429
-
7430
- "use strict";
7431
-
7432
-
7433
- var call = Function.prototype.call;
7434
- var $hasOwn = Object.prototype.hasOwnProperty;
7435
- var bind = __webpack_require__(66743);
7436
-
7437
- /** @type {import('.')} */
7438
- module.exports = bind.call(call, $hasOwn);
7439
-
7440
-
7441
6583
  /***/ }),
7442
6584
 
7443
6585
  /***/ 55580:
@@ -13144,537 +12286,6 @@ class JSONSerialiser {
13144
12286
  module.exports = JSONSerialiser;
13145
12287
 
13146
12288
 
13147
- /***/ }),
13148
-
13149
- /***/ 58859:
13150
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13151
-
13152
- var hasMap = typeof Map === 'function' && Map.prototype;
13153
- var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
13154
- var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
13155
- var mapForEach = hasMap && Map.prototype.forEach;
13156
- var hasSet = typeof Set === 'function' && Set.prototype;
13157
- var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
13158
- var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
13159
- var setForEach = hasSet && Set.prototype.forEach;
13160
- var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
13161
- var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
13162
- var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
13163
- var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
13164
- var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
13165
- var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
13166
- var booleanValueOf = Boolean.prototype.valueOf;
13167
- var objectToString = Object.prototype.toString;
13168
- var functionToString = Function.prototype.toString;
13169
- var $match = String.prototype.match;
13170
- var $slice = String.prototype.slice;
13171
- var $replace = String.prototype.replace;
13172
- var $toUpperCase = String.prototype.toUpperCase;
13173
- var $toLowerCase = String.prototype.toLowerCase;
13174
- var $test = RegExp.prototype.test;
13175
- var $concat = Array.prototype.concat;
13176
- var $join = Array.prototype.join;
13177
- var $arrSlice = Array.prototype.slice;
13178
- var $floor = Math.floor;
13179
- var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
13180
- var gOPS = Object.getOwnPropertySymbols;
13181
- var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
13182
- var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
13183
- // ie, `has-tostringtag/shams
13184
- var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
13185
- ? Symbol.toStringTag
13186
- : null;
13187
- var isEnumerable = Object.prototype.propertyIsEnumerable;
13188
-
13189
- var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
13190
- [].__proto__ === Array.prototype // eslint-disable-line no-proto
13191
- ? function (O) {
13192
- return O.__proto__; // eslint-disable-line no-proto
13193
- }
13194
- : null
13195
- );
13196
-
13197
- function addNumericSeparator(num, str) {
13198
- if (
13199
- num === Infinity
13200
- || num === -Infinity
13201
- || num !== num
13202
- || (num && num > -1000 && num < 1000)
13203
- || $test.call(/e/, str)
13204
- ) {
13205
- return str;
13206
- }
13207
- var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
13208
- if (typeof num === 'number') {
13209
- var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
13210
- if (int !== num) {
13211
- var intStr = String(int);
13212
- var dec = $slice.call(str, intStr.length + 1);
13213
- return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
13214
- }
13215
- }
13216
- return $replace.call(str, sepRegex, '$&_');
13217
- }
13218
-
13219
- var utilInspect = __webpack_require__(42634);
13220
- var inspectCustom = utilInspect.custom;
13221
- var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
13222
-
13223
- module.exports = function inspect_(obj, options, depth, seen) {
13224
- var opts = options || {};
13225
-
13226
- if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
13227
- throw new TypeError('option "quoteStyle" must be "single" or "double"');
13228
- }
13229
- if (
13230
- has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
13231
- ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
13232
- : opts.maxStringLength !== null
13233
- )
13234
- ) {
13235
- throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
13236
- }
13237
- var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
13238
- if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
13239
- throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
13240
- }
13241
-
13242
- if (
13243
- has(opts, 'indent')
13244
- && opts.indent !== null
13245
- && opts.indent !== '\t'
13246
- && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
13247
- ) {
13248
- throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
13249
- }
13250
- if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
13251
- throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
13252
- }
13253
- var numericSeparator = opts.numericSeparator;
13254
-
13255
- if (typeof obj === 'undefined') {
13256
- return 'undefined';
13257
- }
13258
- if (obj === null) {
13259
- return 'null';
13260
- }
13261
- if (typeof obj === 'boolean') {
13262
- return obj ? 'true' : 'false';
13263
- }
13264
-
13265
- if (typeof obj === 'string') {
13266
- return inspectString(obj, opts);
13267
- }
13268
- if (typeof obj === 'number') {
13269
- if (obj === 0) {
13270
- return Infinity / obj > 0 ? '0' : '-0';
13271
- }
13272
- var str = String(obj);
13273
- return numericSeparator ? addNumericSeparator(obj, str) : str;
13274
- }
13275
- if (typeof obj === 'bigint') {
13276
- var bigIntStr = String(obj) + 'n';
13277
- return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
13278
- }
13279
-
13280
- var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
13281
- if (typeof depth === 'undefined') { depth = 0; }
13282
- if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
13283
- return isArray(obj) ? '[Array]' : '[Object]';
13284
- }
13285
-
13286
- var indent = getIndent(opts, depth);
13287
-
13288
- if (typeof seen === 'undefined') {
13289
- seen = [];
13290
- } else if (indexOf(seen, obj) >= 0) {
13291
- return '[Circular]';
13292
- }
13293
-
13294
- function inspect(value, from, noIndent) {
13295
- if (from) {
13296
- seen = $arrSlice.call(seen);
13297
- seen.push(from);
13298
- }
13299
- if (noIndent) {
13300
- var newOpts = {
13301
- depth: opts.depth
13302
- };
13303
- if (has(opts, 'quoteStyle')) {
13304
- newOpts.quoteStyle = opts.quoteStyle;
13305
- }
13306
- return inspect_(value, newOpts, depth + 1, seen);
13307
- }
13308
- return inspect_(value, opts, depth + 1, seen);
13309
- }
13310
-
13311
- if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable
13312
- var name = nameOf(obj);
13313
- var keys = arrObjKeys(obj, inspect);
13314
- return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
13315
- }
13316
- if (isSymbol(obj)) {
13317
- var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
13318
- return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
13319
- }
13320
- if (isElement(obj)) {
13321
- var s = '<' + $toLowerCase.call(String(obj.nodeName));
13322
- var attrs = obj.attributes || [];
13323
- for (var i = 0; i < attrs.length; i++) {
13324
- s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
13325
- }
13326
- s += '>';
13327
- if (obj.childNodes && obj.childNodes.length) { s += '...'; }
13328
- s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
13329
- return s;
13330
- }
13331
- if (isArray(obj)) {
13332
- if (obj.length === 0) { return '[]'; }
13333
- var xs = arrObjKeys(obj, inspect);
13334
- if (indent && !singleLineValues(xs)) {
13335
- return '[' + indentedJoin(xs, indent) + ']';
13336
- }
13337
- return '[ ' + $join.call(xs, ', ') + ' ]';
13338
- }
13339
- if (isError(obj)) {
13340
- var parts = arrObjKeys(obj, inspect);
13341
- if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {
13342
- return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
13343
- }
13344
- if (parts.length === 0) { return '[' + String(obj) + ']'; }
13345
- return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
13346
- }
13347
- if (typeof obj === 'object' && customInspect) {
13348
- if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {
13349
- return utilInspect(obj, { depth: maxDepth - depth });
13350
- } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
13351
- return obj.inspect();
13352
- }
13353
- }
13354
- if (isMap(obj)) {
13355
- var mapParts = [];
13356
- if (mapForEach) {
13357
- mapForEach.call(obj, function (value, key) {
13358
- mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
13359
- });
13360
- }
13361
- return collectionOf('Map', mapSize.call(obj), mapParts, indent);
13362
- }
13363
- if (isSet(obj)) {
13364
- var setParts = [];
13365
- if (setForEach) {
13366
- setForEach.call(obj, function (value) {
13367
- setParts.push(inspect(value, obj));
13368
- });
13369
- }
13370
- return collectionOf('Set', setSize.call(obj), setParts, indent);
13371
- }
13372
- if (isWeakMap(obj)) {
13373
- return weakCollectionOf('WeakMap');
13374
- }
13375
- if (isWeakSet(obj)) {
13376
- return weakCollectionOf('WeakSet');
13377
- }
13378
- if (isWeakRef(obj)) {
13379
- return weakCollectionOf('WeakRef');
13380
- }
13381
- if (isNumber(obj)) {
13382
- return markBoxed(inspect(Number(obj)));
13383
- }
13384
- if (isBigInt(obj)) {
13385
- return markBoxed(inspect(bigIntValueOf.call(obj)));
13386
- }
13387
- if (isBoolean(obj)) {
13388
- return markBoxed(booleanValueOf.call(obj));
13389
- }
13390
- if (isString(obj)) {
13391
- return markBoxed(inspect(String(obj)));
13392
- }
13393
- // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
13394
- /* eslint-env browser */
13395
- if (typeof window !== 'undefined' && obj === window) {
13396
- return '{ [object Window] }';
13397
- }
13398
- if (obj === __webpack_require__.g) {
13399
- return '{ [object globalThis] }';
13400
- }
13401
- if (!isDate(obj) && !isRegExp(obj)) {
13402
- var ys = arrObjKeys(obj, inspect);
13403
- var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
13404
- var protoTag = obj instanceof Object ? '' : 'null prototype';
13405
- var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
13406
- var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
13407
- var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
13408
- if (ys.length === 0) { return tag + '{}'; }
13409
- if (indent) {
13410
- return tag + '{' + indentedJoin(ys, indent) + '}';
13411
- }
13412
- return tag + '{ ' + $join.call(ys, ', ') + ' }';
13413
- }
13414
- return String(obj);
13415
- };
13416
-
13417
- function wrapQuotes(s, defaultStyle, opts) {
13418
- var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
13419
- return quoteChar + s + quoteChar;
13420
- }
13421
-
13422
- function quote(s) {
13423
- return $replace.call(String(s), /"/g, '&quot;');
13424
- }
13425
-
13426
- function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13427
- function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13428
- function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13429
- function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13430
- function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13431
- function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13432
- function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
13433
-
13434
- // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
13435
- function isSymbol(obj) {
13436
- if (hasShammedSymbols) {
13437
- return obj && typeof obj === 'object' && obj instanceof Symbol;
13438
- }
13439
- if (typeof obj === 'symbol') {
13440
- return true;
13441
- }
13442
- if (!obj || typeof obj !== 'object' || !symToString) {
13443
- return false;
13444
- }
13445
- try {
13446
- symToString.call(obj);
13447
- return true;
13448
- } catch (e) {}
13449
- return false;
13450
- }
13451
-
13452
- function isBigInt(obj) {
13453
- if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
13454
- return false;
13455
- }
13456
- try {
13457
- bigIntValueOf.call(obj);
13458
- return true;
13459
- } catch (e) {}
13460
- return false;
13461
- }
13462
-
13463
- var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
13464
- function has(obj, key) {
13465
- return hasOwn.call(obj, key);
13466
- }
13467
-
13468
- function toStr(obj) {
13469
- return objectToString.call(obj);
13470
- }
13471
-
13472
- function nameOf(f) {
13473
- if (f.name) { return f.name; }
13474
- var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
13475
- if (m) { return m[1]; }
13476
- return null;
13477
- }
13478
-
13479
- function indexOf(xs, x) {
13480
- if (xs.indexOf) { return xs.indexOf(x); }
13481
- for (var i = 0, l = xs.length; i < l; i++) {
13482
- if (xs[i] === x) { return i; }
13483
- }
13484
- return -1;
13485
- }
13486
-
13487
- function isMap(x) {
13488
- if (!mapSize || !x || typeof x !== 'object') {
13489
- return false;
13490
- }
13491
- try {
13492
- mapSize.call(x);
13493
- try {
13494
- setSize.call(x);
13495
- } catch (s) {
13496
- return true;
13497
- }
13498
- return x instanceof Map; // core-js workaround, pre-v2.5.0
13499
- } catch (e) {}
13500
- return false;
13501
- }
13502
-
13503
- function isWeakMap(x) {
13504
- if (!weakMapHas || !x || typeof x !== 'object') {
13505
- return false;
13506
- }
13507
- try {
13508
- weakMapHas.call(x, weakMapHas);
13509
- try {
13510
- weakSetHas.call(x, weakSetHas);
13511
- } catch (s) {
13512
- return true;
13513
- }
13514
- return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
13515
- } catch (e) {}
13516
- return false;
13517
- }
13518
-
13519
- function isWeakRef(x) {
13520
- if (!weakRefDeref || !x || typeof x !== 'object') {
13521
- return false;
13522
- }
13523
- try {
13524
- weakRefDeref.call(x);
13525
- return true;
13526
- } catch (e) {}
13527
- return false;
13528
- }
13529
-
13530
- function isSet(x) {
13531
- if (!setSize || !x || typeof x !== 'object') {
13532
- return false;
13533
- }
13534
- try {
13535
- setSize.call(x);
13536
- try {
13537
- mapSize.call(x);
13538
- } catch (m) {
13539
- return true;
13540
- }
13541
- return x instanceof Set; // core-js workaround, pre-v2.5.0
13542
- } catch (e) {}
13543
- return false;
13544
- }
13545
-
13546
- function isWeakSet(x) {
13547
- if (!weakSetHas || !x || typeof x !== 'object') {
13548
- return false;
13549
- }
13550
- try {
13551
- weakSetHas.call(x, weakSetHas);
13552
- try {
13553
- weakMapHas.call(x, weakMapHas);
13554
- } catch (s) {
13555
- return true;
13556
- }
13557
- return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
13558
- } catch (e) {}
13559
- return false;
13560
- }
13561
-
13562
- function isElement(x) {
13563
- if (!x || typeof x !== 'object') { return false; }
13564
- if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
13565
- return true;
13566
- }
13567
- return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
13568
- }
13569
-
13570
- function inspectString(str, opts) {
13571
- if (str.length > opts.maxStringLength) {
13572
- var remaining = str.length - opts.maxStringLength;
13573
- var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
13574
- return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
13575
- }
13576
- // eslint-disable-next-line no-control-regex
13577
- var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
13578
- return wrapQuotes(s, 'single', opts);
13579
- }
13580
-
13581
- function lowbyte(c) {
13582
- var n = c.charCodeAt(0);
13583
- var x = {
13584
- 8: 'b',
13585
- 9: 't',
13586
- 10: 'n',
13587
- 12: 'f',
13588
- 13: 'r'
13589
- }[n];
13590
- if (x) { return '\\' + x; }
13591
- return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
13592
- }
13593
-
13594
- function markBoxed(str) {
13595
- return 'Object(' + str + ')';
13596
- }
13597
-
13598
- function weakCollectionOf(type) {
13599
- return type + ' { ? }';
13600
- }
13601
-
13602
- function collectionOf(type, size, entries, indent) {
13603
- var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
13604
- return type + ' (' + size + ') {' + joinedEntries + '}';
13605
- }
13606
-
13607
- function singleLineValues(xs) {
13608
- for (var i = 0; i < xs.length; i++) {
13609
- if (indexOf(xs[i], '\n') >= 0) {
13610
- return false;
13611
- }
13612
- }
13613
- return true;
13614
- }
13615
-
13616
- function getIndent(opts, depth) {
13617
- var baseIndent;
13618
- if (opts.indent === '\t') {
13619
- baseIndent = '\t';
13620
- } else if (typeof opts.indent === 'number' && opts.indent > 0) {
13621
- baseIndent = $join.call(Array(opts.indent + 1), ' ');
13622
- } else {
13623
- return null;
13624
- }
13625
- return {
13626
- base: baseIndent,
13627
- prev: $join.call(Array(depth + 1), baseIndent)
13628
- };
13629
- }
13630
-
13631
- function indentedJoin(xs, indent) {
13632
- if (xs.length === 0) { return ''; }
13633
- var lineJoiner = '\n' + indent.prev + indent.base;
13634
- return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
13635
- }
13636
-
13637
- function arrObjKeys(obj, inspect) {
13638
- var isArr = isArray(obj);
13639
- var xs = [];
13640
- if (isArr) {
13641
- xs.length = obj.length;
13642
- for (var i = 0; i < obj.length; i++) {
13643
- xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
13644
- }
13645
- }
13646
- var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
13647
- var symMap;
13648
- if (hasShammedSymbols) {
13649
- symMap = {};
13650
- for (var k = 0; k < syms.length; k++) {
13651
- symMap['$' + syms[k]] = syms[k];
13652
- }
13653
- }
13654
-
13655
- for (var key in obj) { // eslint-disable-line no-restricted-syntax
13656
- if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
13657
- if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
13658
- if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
13659
- // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
13660
- continue; // eslint-disable-line no-restricted-syntax, no-continue
13661
- } else if ($test.call(/[^\w$]/, key)) {
13662
- xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
13663
- } else {
13664
- xs.push(key + ': ' + inspect(obj[key], obj));
13665
- }
13666
- }
13667
- if (typeof gOPS === 'function') {
13668
- for (var j = 0; j < syms.length; j++) {
13669
- if (isEnumerable.call(obj, syms[j])) {
13670
- xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
13671
- }
13672
- }
13673
- }
13674
- return xs;
13675
- }
13676
-
13677
-
13678
12289
  /***/ }),
13679
12290
 
13680
12291
  /***/ 65606:
@@ -13866,1042 +12477,6 @@ process.chdir = function (dir) {
13866
12477
  process.umask = function() { return 0; };
13867
12478
 
13868
12479
 
13869
- /***/ }),
13870
-
13871
- /***/ 74765:
13872
- /***/ ((module) => {
13873
-
13874
- "use strict";
13875
-
13876
-
13877
- var replace = String.prototype.replace;
13878
- var percentTwenties = /%20/g;
13879
-
13880
- var Format = {
13881
- RFC1738: 'RFC1738',
13882
- RFC3986: 'RFC3986'
13883
- };
13884
-
13885
- module.exports = {
13886
- 'default': Format.RFC3986,
13887
- formatters: {
13888
- RFC1738: function (value) {
13889
- return replace.call(value, percentTwenties, '+');
13890
- },
13891
- RFC3986: function (value) {
13892
- return String(value);
13893
- }
13894
- },
13895
- RFC1738: Format.RFC1738,
13896
- RFC3986: Format.RFC3986
13897
- };
13898
-
13899
-
13900
- /***/ }),
13901
-
13902
- /***/ 55373:
13903
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13904
-
13905
- "use strict";
13906
-
13907
-
13908
- var stringify = __webpack_require__(98636);
13909
- var parse = __webpack_require__(62642);
13910
- var formats = __webpack_require__(74765);
13911
-
13912
- module.exports = {
13913
- formats: formats,
13914
- parse: parse,
13915
- stringify: stringify
13916
- };
13917
-
13918
-
13919
- /***/ }),
13920
-
13921
- /***/ 62642:
13922
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13923
-
13924
- "use strict";
13925
-
13926
-
13927
- var utils = __webpack_require__(37720);
13928
-
13929
- var has = Object.prototype.hasOwnProperty;
13930
- var isArray = Array.isArray;
13931
-
13932
- var defaults = {
13933
- allowDots: false,
13934
- allowEmptyArrays: false,
13935
- allowPrototypes: false,
13936
- allowSparse: false,
13937
- arrayLimit: 20,
13938
- charset: 'utf-8',
13939
- charsetSentinel: false,
13940
- comma: false,
13941
- decodeDotInKeys: false,
13942
- decoder: utils.decode,
13943
- delimiter: '&',
13944
- depth: 5,
13945
- duplicates: 'combine',
13946
- ignoreQueryPrefix: false,
13947
- interpretNumericEntities: false,
13948
- parameterLimit: 1000,
13949
- parseArrays: true,
13950
- plainObjects: false,
13951
- strictDepth: false,
13952
- strictNullHandling: false
13953
- };
13954
-
13955
- var interpretNumericEntities = function (str) {
13956
- return str.replace(/&#(\d+);/g, function ($0, numberStr) {
13957
- return String.fromCharCode(parseInt(numberStr, 10));
13958
- });
13959
- };
13960
-
13961
- var parseArrayValue = function (val, options) {
13962
- if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
13963
- return val.split(',');
13964
- }
13965
-
13966
- return val;
13967
- };
13968
-
13969
- // This is what browsers will submit when the ✓ character occurs in an
13970
- // application/x-www-form-urlencoded body and the encoding of the page containing
13971
- // the form is iso-8859-1, or when the submitted form has an accept-charset
13972
- // attribute of iso-8859-1. Presumably also with other charsets that do not contain
13973
- // the ✓ character, such as us-ascii.
13974
- var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
13975
-
13976
- // These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
13977
- var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
13978
-
13979
- var parseValues = function parseQueryStringValues(str, options) {
13980
- var obj = { __proto__: null };
13981
-
13982
- var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
13983
- cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
13984
- var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
13985
- var parts = cleanStr.split(options.delimiter, limit);
13986
- var skipIndex = -1; // Keep track of where the utf8 sentinel was found
13987
- var i;
13988
-
13989
- var charset = options.charset;
13990
- if (options.charsetSentinel) {
13991
- for (i = 0; i < parts.length; ++i) {
13992
- if (parts[i].indexOf('utf8=') === 0) {
13993
- if (parts[i] === charsetSentinel) {
13994
- charset = 'utf-8';
13995
- } else if (parts[i] === isoSentinel) {
13996
- charset = 'iso-8859-1';
13997
- }
13998
- skipIndex = i;
13999
- i = parts.length; // The eslint settings do not allow break;
14000
- }
14001
- }
14002
- }
14003
-
14004
- for (i = 0; i < parts.length; ++i) {
14005
- if (i === skipIndex) {
14006
- continue;
14007
- }
14008
- var part = parts[i];
14009
-
14010
- var bracketEqualsPos = part.indexOf(']=');
14011
- var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
14012
-
14013
- var key, val;
14014
- if (pos === -1) {
14015
- key = options.decoder(part, defaults.decoder, charset, 'key');
14016
- val = options.strictNullHandling ? null : '';
14017
- } else {
14018
- key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
14019
- val = utils.maybeMap(
14020
- parseArrayValue(part.slice(pos + 1), options),
14021
- function (encodedVal) {
14022
- return options.decoder(encodedVal, defaults.decoder, charset, 'value');
14023
- }
14024
- );
14025
- }
14026
-
14027
- if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
14028
- val = interpretNumericEntities(val);
14029
- }
14030
-
14031
- if (part.indexOf('[]=') > -1) {
14032
- val = isArray(val) ? [val] : val;
14033
- }
14034
-
14035
- var existing = has.call(obj, key);
14036
- if (existing && options.duplicates === 'combine') {
14037
- obj[key] = utils.combine(obj[key], val);
14038
- } else if (!existing || options.duplicates === 'last') {
14039
- obj[key] = val;
14040
- }
14041
- }
14042
-
14043
- return obj;
14044
- };
14045
-
14046
- var parseObject = function (chain, val, options, valuesParsed) {
14047
- var leaf = valuesParsed ? val : parseArrayValue(val, options);
14048
-
14049
- for (var i = chain.length - 1; i >= 0; --i) {
14050
- var obj;
14051
- var root = chain[i];
14052
-
14053
- if (root === '[]' && options.parseArrays) {
14054
- obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
14055
- ? []
14056
- : [].concat(leaf);
14057
- } else {
14058
- obj = options.plainObjects ? Object.create(null) : {};
14059
- var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
14060
- var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
14061
- var index = parseInt(decodedRoot, 10);
14062
- if (!options.parseArrays && decodedRoot === '') {
14063
- obj = { 0: leaf };
14064
- } else if (
14065
- !isNaN(index)
14066
- && root !== decodedRoot
14067
- && String(index) === decodedRoot
14068
- && index >= 0
14069
- && (options.parseArrays && index <= options.arrayLimit)
14070
- ) {
14071
- obj = [];
14072
- obj[index] = leaf;
14073
- } else if (decodedRoot !== '__proto__') {
14074
- obj[decodedRoot] = leaf;
14075
- }
14076
- }
14077
-
14078
- leaf = obj;
14079
- }
14080
-
14081
- return leaf;
14082
- };
14083
-
14084
- var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
14085
- if (!givenKey) {
14086
- return;
14087
- }
14088
-
14089
- // Transform dot notation to bracket notation
14090
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
14091
-
14092
- // The regex chunks
14093
-
14094
- var brackets = /(\[[^[\]]*])/;
14095
- var child = /(\[[^[\]]*])/g;
14096
-
14097
- // Get the parent
14098
-
14099
- var segment = options.depth > 0 && brackets.exec(key);
14100
- var parent = segment ? key.slice(0, segment.index) : key;
14101
-
14102
- // Stash the parent if it exists
14103
-
14104
- var keys = [];
14105
- if (parent) {
14106
- // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
14107
- if (!options.plainObjects && has.call(Object.prototype, parent)) {
14108
- if (!options.allowPrototypes) {
14109
- return;
14110
- }
14111
- }
14112
-
14113
- keys.push(parent);
14114
- }
14115
-
14116
- // Loop through children appending to the array until we hit depth
14117
-
14118
- var i = 0;
14119
- while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
14120
- i += 1;
14121
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
14122
- if (!options.allowPrototypes) {
14123
- return;
14124
- }
14125
- }
14126
- keys.push(segment[1]);
14127
- }
14128
-
14129
- // If there's a remainder, check strictDepth option for throw, else just add whatever is left
14130
-
14131
- if (segment) {
14132
- if (options.strictDepth === true) {
14133
- throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
14134
- }
14135
- keys.push('[' + key.slice(segment.index) + ']');
14136
- }
14137
-
14138
- return parseObject(keys, val, options, valuesParsed);
14139
- };
14140
-
14141
- var normalizeParseOptions = function normalizeParseOptions(opts) {
14142
- if (!opts) {
14143
- return defaults;
14144
- }
14145
-
14146
- if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
14147
- throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
14148
- }
14149
-
14150
- if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
14151
- throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
14152
- }
14153
-
14154
- if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
14155
- throw new TypeError('Decoder has to be a function.');
14156
- }
14157
-
14158
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
14159
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
14160
- }
14161
- var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
14162
-
14163
- var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
14164
-
14165
- if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
14166
- throw new TypeError('The duplicates option must be either combine, first, or last');
14167
- }
14168
-
14169
- var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
14170
-
14171
- return {
14172
- allowDots: allowDots,
14173
- allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
14174
- allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
14175
- allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
14176
- arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
14177
- charset: charset,
14178
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
14179
- comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
14180
- decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
14181
- decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
14182
- delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
14183
- // eslint-disable-next-line no-implicit-coercion, no-extra-parens
14184
- depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
14185
- duplicates: duplicates,
14186
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
14187
- interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
14188
- parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
14189
- parseArrays: opts.parseArrays !== false,
14190
- plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
14191
- strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
14192
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
14193
- };
14194
- };
14195
-
14196
- module.exports = function (str, opts) {
14197
- var options = normalizeParseOptions(opts);
14198
-
14199
- if (str === '' || str === null || typeof str === 'undefined') {
14200
- return options.plainObjects ? Object.create(null) : {};
14201
- }
14202
-
14203
- var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
14204
- var obj = options.plainObjects ? Object.create(null) : {};
14205
-
14206
- // Iterate over the keys and setup the new object
14207
-
14208
- var keys = Object.keys(tempObj);
14209
- for (var i = 0; i < keys.length; ++i) {
14210
- var key = keys[i];
14211
- var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
14212
- obj = utils.merge(obj, newObj, options);
14213
- }
14214
-
14215
- if (options.allowSparse === true) {
14216
- return obj;
14217
- }
14218
-
14219
- return utils.compact(obj);
14220
- };
14221
-
14222
-
14223
- /***/ }),
14224
-
14225
- /***/ 98636:
14226
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14227
-
14228
- "use strict";
14229
-
14230
-
14231
- var getSideChannel = __webpack_require__(920);
14232
- var utils = __webpack_require__(37720);
14233
- var formats = __webpack_require__(74765);
14234
- var has = Object.prototype.hasOwnProperty;
14235
-
14236
- var arrayPrefixGenerators = {
14237
- brackets: function brackets(prefix) {
14238
- return prefix + '[]';
14239
- },
14240
- comma: 'comma',
14241
- indices: function indices(prefix, key) {
14242
- return prefix + '[' + key + ']';
14243
- },
14244
- repeat: function repeat(prefix) {
14245
- return prefix;
14246
- }
14247
- };
14248
-
14249
- var isArray = Array.isArray;
14250
- var push = Array.prototype.push;
14251
- var pushToArray = function (arr, valueOrArray) {
14252
- push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
14253
- };
14254
-
14255
- var toISO = Date.prototype.toISOString;
14256
-
14257
- var defaultFormat = formats['default'];
14258
- var defaults = {
14259
- addQueryPrefix: false,
14260
- allowDots: false,
14261
- allowEmptyArrays: false,
14262
- arrayFormat: 'indices',
14263
- charset: 'utf-8',
14264
- charsetSentinel: false,
14265
- delimiter: '&',
14266
- encode: true,
14267
- encodeDotInKeys: false,
14268
- encoder: utils.encode,
14269
- encodeValuesOnly: false,
14270
- format: defaultFormat,
14271
- formatter: formats.formatters[defaultFormat],
14272
- // deprecated
14273
- indices: false,
14274
- serializeDate: function serializeDate(date) {
14275
- return toISO.call(date);
14276
- },
14277
- skipNulls: false,
14278
- strictNullHandling: false
14279
- };
14280
-
14281
- var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
14282
- return typeof v === 'string'
14283
- || typeof v === 'number'
14284
- || typeof v === 'boolean'
14285
- || typeof v === 'symbol'
14286
- || typeof v === 'bigint';
14287
- };
14288
-
14289
- var sentinel = {};
14290
-
14291
- var stringify = function stringify(
14292
- object,
14293
- prefix,
14294
- generateArrayPrefix,
14295
- commaRoundTrip,
14296
- allowEmptyArrays,
14297
- strictNullHandling,
14298
- skipNulls,
14299
- encodeDotInKeys,
14300
- encoder,
14301
- filter,
14302
- sort,
14303
- allowDots,
14304
- serializeDate,
14305
- format,
14306
- formatter,
14307
- encodeValuesOnly,
14308
- charset,
14309
- sideChannel
14310
- ) {
14311
- var obj = object;
14312
-
14313
- var tmpSc = sideChannel;
14314
- var step = 0;
14315
- var findFlag = false;
14316
- while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
14317
- // Where object last appeared in the ref tree
14318
- var pos = tmpSc.get(object);
14319
- step += 1;
14320
- if (typeof pos !== 'undefined') {
14321
- if (pos === step) {
14322
- throw new RangeError('Cyclic object value');
14323
- } else {
14324
- findFlag = true; // Break while
14325
- }
14326
- }
14327
- if (typeof tmpSc.get(sentinel) === 'undefined') {
14328
- step = 0;
14329
- }
14330
- }
14331
-
14332
- if (typeof filter === 'function') {
14333
- obj = filter(prefix, obj);
14334
- } else if (obj instanceof Date) {
14335
- obj = serializeDate(obj);
14336
- } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
14337
- obj = utils.maybeMap(obj, function (value) {
14338
- if (value instanceof Date) {
14339
- return serializeDate(value);
14340
- }
14341
- return value;
14342
- });
14343
- }
14344
-
14345
- if (obj === null) {
14346
- if (strictNullHandling) {
14347
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
14348
- }
14349
-
14350
- obj = '';
14351
- }
14352
-
14353
- if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
14354
- if (encoder) {
14355
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
14356
- return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
14357
- }
14358
- return [formatter(prefix) + '=' + formatter(String(obj))];
14359
- }
14360
-
14361
- var values = [];
14362
-
14363
- if (typeof obj === 'undefined') {
14364
- return values;
14365
- }
14366
-
14367
- var objKeys;
14368
- if (generateArrayPrefix === 'comma' && isArray(obj)) {
14369
- // we need to join elements in
14370
- if (encodeValuesOnly && encoder) {
14371
- obj = utils.maybeMap(obj, encoder);
14372
- }
14373
- objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
14374
- } else if (isArray(filter)) {
14375
- objKeys = filter;
14376
- } else {
14377
- var keys = Object.keys(obj);
14378
- objKeys = sort ? keys.sort(sort) : keys;
14379
- }
14380
-
14381
- var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
14382
-
14383
- var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
14384
-
14385
- if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
14386
- return adjustedPrefix + '[]';
14387
- }
14388
-
14389
- for (var j = 0; j < objKeys.length; ++j) {
14390
- var key = objKeys[j];
14391
- var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
14392
-
14393
- if (skipNulls && value === null) {
14394
- continue;
14395
- }
14396
-
14397
- var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
14398
- var keyPrefix = isArray(obj)
14399
- ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
14400
- : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
14401
-
14402
- sideChannel.set(object, step);
14403
- var valueSideChannel = getSideChannel();
14404
- valueSideChannel.set(sentinel, sideChannel);
14405
- pushToArray(values, stringify(
14406
- value,
14407
- keyPrefix,
14408
- generateArrayPrefix,
14409
- commaRoundTrip,
14410
- allowEmptyArrays,
14411
- strictNullHandling,
14412
- skipNulls,
14413
- encodeDotInKeys,
14414
- generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
14415
- filter,
14416
- sort,
14417
- allowDots,
14418
- serializeDate,
14419
- format,
14420
- formatter,
14421
- encodeValuesOnly,
14422
- charset,
14423
- valueSideChannel
14424
- ));
14425
- }
14426
-
14427
- return values;
14428
- };
14429
-
14430
- var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
14431
- if (!opts) {
14432
- return defaults;
14433
- }
14434
-
14435
- if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
14436
- throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
14437
- }
14438
-
14439
- if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
14440
- throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
14441
- }
14442
-
14443
- if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
14444
- throw new TypeError('Encoder has to be a function.');
14445
- }
14446
-
14447
- var charset = opts.charset || defaults.charset;
14448
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
14449
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
14450
- }
14451
-
14452
- var format = formats['default'];
14453
- if (typeof opts.format !== 'undefined') {
14454
- if (!has.call(formats.formatters, opts.format)) {
14455
- throw new TypeError('Unknown format option provided.');
14456
- }
14457
- format = opts.format;
14458
- }
14459
- var formatter = formats.formatters[format];
14460
-
14461
- var filter = defaults.filter;
14462
- if (typeof opts.filter === 'function' || isArray(opts.filter)) {
14463
- filter = opts.filter;
14464
- }
14465
-
14466
- var arrayFormat;
14467
- if (opts.arrayFormat in arrayPrefixGenerators) {
14468
- arrayFormat = opts.arrayFormat;
14469
- } else if ('indices' in opts) {
14470
- arrayFormat = opts.indices ? 'indices' : 'repeat';
14471
- } else {
14472
- arrayFormat = defaults.arrayFormat;
14473
- }
14474
-
14475
- if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
14476
- throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
14477
- }
14478
-
14479
- var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
14480
-
14481
- return {
14482
- addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
14483
- allowDots: allowDots,
14484
- allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
14485
- arrayFormat: arrayFormat,
14486
- charset: charset,
14487
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
14488
- commaRoundTrip: opts.commaRoundTrip,
14489
- delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
14490
- encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
14491
- encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
14492
- encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
14493
- encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
14494
- filter: filter,
14495
- format: format,
14496
- formatter: formatter,
14497
- serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
14498
- skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
14499
- sort: typeof opts.sort === 'function' ? opts.sort : null,
14500
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
14501
- };
14502
- };
14503
-
14504
- module.exports = function (object, opts) {
14505
- var obj = object;
14506
- var options = normalizeStringifyOptions(opts);
14507
-
14508
- var objKeys;
14509
- var filter;
14510
-
14511
- if (typeof options.filter === 'function') {
14512
- filter = options.filter;
14513
- obj = filter('', obj);
14514
- } else if (isArray(options.filter)) {
14515
- filter = options.filter;
14516
- objKeys = filter;
14517
- }
14518
-
14519
- var keys = [];
14520
-
14521
- if (typeof obj !== 'object' || obj === null) {
14522
- return '';
14523
- }
14524
-
14525
- var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
14526
- var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;
14527
-
14528
- if (!objKeys) {
14529
- objKeys = Object.keys(obj);
14530
- }
14531
-
14532
- if (options.sort) {
14533
- objKeys.sort(options.sort);
14534
- }
14535
-
14536
- var sideChannel = getSideChannel();
14537
- for (var i = 0; i < objKeys.length; ++i) {
14538
- var key = objKeys[i];
14539
-
14540
- if (options.skipNulls && obj[key] === null) {
14541
- continue;
14542
- }
14543
- pushToArray(keys, stringify(
14544
- obj[key],
14545
- key,
14546
- generateArrayPrefix,
14547
- commaRoundTrip,
14548
- options.allowEmptyArrays,
14549
- options.strictNullHandling,
14550
- options.skipNulls,
14551
- options.encodeDotInKeys,
14552
- options.encode ? options.encoder : null,
14553
- options.filter,
14554
- options.sort,
14555
- options.allowDots,
14556
- options.serializeDate,
14557
- options.format,
14558
- options.formatter,
14559
- options.encodeValuesOnly,
14560
- options.charset,
14561
- sideChannel
14562
- ));
14563
- }
14564
-
14565
- var joined = keys.join(options.delimiter);
14566
- var prefix = options.addQueryPrefix === true ? '?' : '';
14567
-
14568
- if (options.charsetSentinel) {
14569
- if (options.charset === 'iso-8859-1') {
14570
- // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
14571
- prefix += 'utf8=%26%2310003%3B&';
14572
- } else {
14573
- // encodeURIComponent('✓')
14574
- prefix += 'utf8=%E2%9C%93&';
14575
- }
14576
- }
14577
-
14578
- return joined.length > 0 ? prefix + joined : '';
14579
- };
14580
-
14581
-
14582
- /***/ }),
14583
-
14584
- /***/ 37720:
14585
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14586
-
14587
- "use strict";
14588
-
14589
-
14590
- var formats = __webpack_require__(74765);
14591
-
14592
- var has = Object.prototype.hasOwnProperty;
14593
- var isArray = Array.isArray;
14594
-
14595
- var hexTable = (function () {
14596
- var array = [];
14597
- for (var i = 0; i < 256; ++i) {
14598
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
14599
- }
14600
-
14601
- return array;
14602
- }());
14603
-
14604
- var compactQueue = function compactQueue(queue) {
14605
- while (queue.length > 1) {
14606
- var item = queue.pop();
14607
- var obj = item.obj[item.prop];
14608
-
14609
- if (isArray(obj)) {
14610
- var compacted = [];
14611
-
14612
- for (var j = 0; j < obj.length; ++j) {
14613
- if (typeof obj[j] !== 'undefined') {
14614
- compacted.push(obj[j]);
14615
- }
14616
- }
14617
-
14618
- item.obj[item.prop] = compacted;
14619
- }
14620
- }
14621
- };
14622
-
14623
- var arrayToObject = function arrayToObject(source, options) {
14624
- var obj = options && options.plainObjects ? Object.create(null) : {};
14625
- for (var i = 0; i < source.length; ++i) {
14626
- if (typeof source[i] !== 'undefined') {
14627
- obj[i] = source[i];
14628
- }
14629
- }
14630
-
14631
- return obj;
14632
- };
14633
-
14634
- var merge = function merge(target, source, options) {
14635
- /* eslint no-param-reassign: 0 */
14636
- if (!source) {
14637
- return target;
14638
- }
14639
-
14640
- if (typeof source !== 'object') {
14641
- if (isArray(target)) {
14642
- target.push(source);
14643
- } else if (target && typeof target === 'object') {
14644
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
14645
- target[source] = true;
14646
- }
14647
- } else {
14648
- return [target, source];
14649
- }
14650
-
14651
- return target;
14652
- }
14653
-
14654
- if (!target || typeof target !== 'object') {
14655
- return [target].concat(source);
14656
- }
14657
-
14658
- var mergeTarget = target;
14659
- if (isArray(target) && !isArray(source)) {
14660
- mergeTarget = arrayToObject(target, options);
14661
- }
14662
-
14663
- if (isArray(target) && isArray(source)) {
14664
- source.forEach(function (item, i) {
14665
- if (has.call(target, i)) {
14666
- var targetItem = target[i];
14667
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
14668
- target[i] = merge(targetItem, item, options);
14669
- } else {
14670
- target.push(item);
14671
- }
14672
- } else {
14673
- target[i] = item;
14674
- }
14675
- });
14676
- return target;
14677
- }
14678
-
14679
- return Object.keys(source).reduce(function (acc, key) {
14680
- var value = source[key];
14681
-
14682
- if (has.call(acc, key)) {
14683
- acc[key] = merge(acc[key], value, options);
14684
- } else {
14685
- acc[key] = value;
14686
- }
14687
- return acc;
14688
- }, mergeTarget);
14689
- };
14690
-
14691
- var assign = function assignSingleSource(target, source) {
14692
- return Object.keys(source).reduce(function (acc, key) {
14693
- acc[key] = source[key];
14694
- return acc;
14695
- }, target);
14696
- };
14697
-
14698
- var decode = function (str, decoder, charset) {
14699
- var strWithoutPlus = str.replace(/\+/g, ' ');
14700
- if (charset === 'iso-8859-1') {
14701
- // unescape never throws, no try...catch needed:
14702
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
14703
- }
14704
- // utf-8
14705
- try {
14706
- return decodeURIComponent(strWithoutPlus);
14707
- } catch (e) {
14708
- return strWithoutPlus;
14709
- }
14710
- };
14711
-
14712
- var limit = 1024;
14713
-
14714
- /* eslint operator-linebreak: [2, "before"] */
14715
-
14716
- var encode = function encode(str, defaultEncoder, charset, kind, format) {
14717
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
14718
- // It has been adapted here for stricter adherence to RFC 3986
14719
- if (str.length === 0) {
14720
- return str;
14721
- }
14722
-
14723
- var string = str;
14724
- if (typeof str === 'symbol') {
14725
- string = Symbol.prototype.toString.call(str);
14726
- } else if (typeof str !== 'string') {
14727
- string = String(str);
14728
- }
14729
-
14730
- if (charset === 'iso-8859-1') {
14731
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
14732
- return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
14733
- });
14734
- }
14735
-
14736
- var out = '';
14737
- for (var j = 0; j < string.length; j += limit) {
14738
- var segment = string.length >= limit ? string.slice(j, j + limit) : string;
14739
- var arr = [];
14740
-
14741
- for (var i = 0; i < segment.length; ++i) {
14742
- var c = segment.charCodeAt(i);
14743
- if (
14744
- c === 0x2D // -
14745
- || c === 0x2E // .
14746
- || c === 0x5F // _
14747
- || c === 0x7E // ~
14748
- || (c >= 0x30 && c <= 0x39) // 0-9
14749
- || (c >= 0x41 && c <= 0x5A) // a-z
14750
- || (c >= 0x61 && c <= 0x7A) // A-Z
14751
- || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
14752
- ) {
14753
- arr[arr.length] = segment.charAt(i);
14754
- continue;
14755
- }
14756
-
14757
- if (c < 0x80) {
14758
- arr[arr.length] = hexTable[c];
14759
- continue;
14760
- }
14761
-
14762
- if (c < 0x800) {
14763
- arr[arr.length] = hexTable[0xC0 | (c >> 6)]
14764
- + hexTable[0x80 | (c & 0x3F)];
14765
- continue;
14766
- }
14767
-
14768
- if (c < 0xD800 || c >= 0xE000) {
14769
- arr[arr.length] = hexTable[0xE0 | (c >> 12)]
14770
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
14771
- + hexTable[0x80 | (c & 0x3F)];
14772
- continue;
14773
- }
14774
-
14775
- i += 1;
14776
- c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));
14777
-
14778
- arr[arr.length] = hexTable[0xF0 | (c >> 18)]
14779
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
14780
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
14781
- + hexTable[0x80 | (c & 0x3F)];
14782
- }
14783
-
14784
- out += arr.join('');
14785
- }
14786
-
14787
- return out;
14788
- };
14789
-
14790
- var compact = function compact(value) {
14791
- var queue = [{ obj: { o: value }, prop: 'o' }];
14792
- var refs = [];
14793
-
14794
- for (var i = 0; i < queue.length; ++i) {
14795
- var item = queue[i];
14796
- var obj = item.obj[item.prop];
14797
-
14798
- var keys = Object.keys(obj);
14799
- for (var j = 0; j < keys.length; ++j) {
14800
- var key = keys[j];
14801
- var val = obj[key];
14802
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
14803
- queue.push({ obj: obj, prop: key });
14804
- refs.push(val);
14805
- }
14806
- }
14807
- }
14808
-
14809
- compactQueue(queue);
14810
-
14811
- return value;
14812
- };
14813
-
14814
- var isRegExp = function isRegExp(obj) {
14815
- return Object.prototype.toString.call(obj) === '[object RegExp]';
14816
- };
14817
-
14818
- var isBuffer = function isBuffer(obj) {
14819
- if (!obj || typeof obj !== 'object') {
14820
- return false;
14821
- }
14822
-
14823
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
14824
- };
14825
-
14826
- var combine = function combine(a, b) {
14827
- return [].concat(a, b);
14828
- };
14829
-
14830
- var maybeMap = function maybeMap(val, fn) {
14831
- if (isArray(val)) {
14832
- var mapped = [];
14833
- for (var i = 0; i < val.length; i += 1) {
14834
- mapped.push(fn(val[i]));
14835
- }
14836
- return mapped;
14837
- }
14838
- return fn(val);
14839
- };
14840
-
14841
- module.exports = {
14842
- arrayToObject: arrayToObject,
14843
- assign: assign,
14844
- combine: combine,
14845
- compact: compact,
14846
- decode: decode,
14847
- encode: encode,
14848
- isBuffer: isBuffer,
14849
- isRegExp: isRegExp,
14850
- maybeMap: maybeMap,
14851
- merge: merge
14852
- };
14853
-
14854
-
14855
- /***/ }),
14856
-
14857
- /***/ 96897:
14858
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14859
-
14860
- "use strict";
14861
-
14862
-
14863
- var GetIntrinsic = __webpack_require__(70453);
14864
- var define = __webpack_require__(30041);
14865
- var hasDescriptors = __webpack_require__(30592)();
14866
- var gOPD = __webpack_require__(75795);
14867
-
14868
- var $TypeError = __webpack_require__(69675);
14869
- var $floor = GetIntrinsic('%Math.floor%');
14870
-
14871
- /** @type {import('.')} */
14872
- module.exports = function setFunctionLength(fn, length) {
14873
- if (typeof fn !== 'function') {
14874
- throw new $TypeError('`fn` is not a function');
14875
- }
14876
- if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
14877
- throw new $TypeError('`length` must be a positive 32-bit integer');
14878
- }
14879
-
14880
- var loose = arguments.length > 2 && !!arguments[2];
14881
-
14882
- var functionLengthIsConfigurable = true;
14883
- var functionLengthIsWritable = true;
14884
- if ('length' in fn && gOPD) {
14885
- var desc = gOPD(fn, 'length');
14886
- if (desc && !desc.configurable) {
14887
- functionLengthIsConfigurable = false;
14888
- }
14889
- if (desc && !desc.writable) {
14890
- functionLengthIsWritable = false;
14891
- }
14892
- }
14893
-
14894
- if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
14895
- if (hasDescriptors) {
14896
- define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
14897
- } else {
14898
- define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
14899
- }
14900
- }
14901
- return fn;
14902
- };
14903
-
14904
-
14905
12480
  /***/ }),
14906
12481
 
14907
12482
  /***/ 8068:
@@ -15386,143 +12961,6 @@ var ShortUniqueId = (() => {
15386
12961
  //# sourceMappingURL=short-unique-id.js.map
15387
12962
  true&&(module.exports=ShortUniqueId.default),'undefined'!=typeof window&&(ShortUniqueId=ShortUniqueId.default);
15388
12963
 
15389
- /***/ }),
15390
-
15391
- /***/ 920:
15392
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15393
-
15394
- "use strict";
15395
-
15396
-
15397
- var GetIntrinsic = __webpack_require__(70453);
15398
- var callBound = __webpack_require__(38075);
15399
- var inspect = __webpack_require__(58859);
15400
-
15401
- var $TypeError = __webpack_require__(69675);
15402
- var $WeakMap = GetIntrinsic('%WeakMap%', true);
15403
- var $Map = GetIntrinsic('%Map%', true);
15404
-
15405
- var $weakMapGet = callBound('WeakMap.prototype.get', true);
15406
- var $weakMapSet = callBound('WeakMap.prototype.set', true);
15407
- var $weakMapHas = callBound('WeakMap.prototype.has', true);
15408
- var $mapGet = callBound('Map.prototype.get', true);
15409
- var $mapSet = callBound('Map.prototype.set', true);
15410
- var $mapHas = callBound('Map.prototype.has', true);
15411
-
15412
- /*
15413
- * This function traverses the list returning the node corresponding to the given key.
15414
- *
15415
- * 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.
15416
- */
15417
- /** @type {import('.').listGetNode} */
15418
- var listGetNode = function (list, key) { // eslint-disable-line consistent-return
15419
- /** @type {typeof list | NonNullable<(typeof list)['next']>} */
15420
- var prev = list;
15421
- /** @type {(typeof list)['next']} */
15422
- var curr;
15423
- for (; (curr = prev.next) !== null; prev = curr) {
15424
- if (curr.key === key) {
15425
- prev.next = curr.next;
15426
- // eslint-disable-next-line no-extra-parens
15427
- curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
15428
- list.next = curr; // eslint-disable-line no-param-reassign
15429
- return curr;
15430
- }
15431
- }
15432
- };
15433
-
15434
- /** @type {import('.').listGet} */
15435
- var listGet = function (objects, key) {
15436
- var node = listGetNode(objects, key);
15437
- return node && node.value;
15438
- };
15439
- /** @type {import('.').listSet} */
15440
- var listSet = function (objects, key, value) {
15441
- var node = listGetNode(objects, key);
15442
- if (node) {
15443
- node.value = value;
15444
- } else {
15445
- // Prepend the new node to the beginning of the list
15446
- objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
15447
- key: key,
15448
- next: objects.next,
15449
- value: value
15450
- });
15451
- }
15452
- };
15453
- /** @type {import('.').listHas} */
15454
- var listHas = function (objects, key) {
15455
- return !!listGetNode(objects, key);
15456
- };
15457
-
15458
- /** @type {import('.')} */
15459
- module.exports = function getSideChannel() {
15460
- /** @type {WeakMap<object, unknown>} */ var $wm;
15461
- /** @type {Map<object, unknown>} */ var $m;
15462
- /** @type {import('.').RootNode<unknown>} */ var $o;
15463
-
15464
- /** @type {import('.').Channel} */
15465
- var channel = {
15466
- assert: function (key) {
15467
- if (!channel.has(key)) {
15468
- throw new $TypeError('Side channel does not contain ' + inspect(key));
15469
- }
15470
- },
15471
- get: function (key) { // eslint-disable-line consistent-return
15472
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
15473
- if ($wm) {
15474
- return $weakMapGet($wm, key);
15475
- }
15476
- } else if ($Map) {
15477
- if ($m) {
15478
- return $mapGet($m, key);
15479
- }
15480
- } else {
15481
- if ($o) { // eslint-disable-line no-lonely-if
15482
- return listGet($o, key);
15483
- }
15484
- }
15485
- },
15486
- has: function (key) {
15487
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
15488
- if ($wm) {
15489
- return $weakMapHas($wm, key);
15490
- }
15491
- } else if ($Map) {
15492
- if ($m) {
15493
- return $mapHas($m, key);
15494
- }
15495
- } else {
15496
- if ($o) { // eslint-disable-line no-lonely-if
15497
- return listHas($o, key);
15498
- }
15499
- }
15500
- return false;
15501
- },
15502
- set: function (key, value) {
15503
- if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
15504
- if (!$wm) {
15505
- $wm = new $WeakMap();
15506
- }
15507
- $weakMapSet($wm, key, value);
15508
- } else if ($Map) {
15509
- if (!$m) {
15510
- $m = new $Map();
15511
- }
15512
- $mapSet($m, key, value);
15513
- } else {
15514
- if (!$o) {
15515
- // 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
15516
- $o = { key: {}, next: null };
15517
- }
15518
- listSet($o, key, value);
15519
- }
15520
- }
15521
- };
15522
- return channel;
15523
- };
15524
-
15525
-
15526
12964
  /***/ }),
15527
12965
 
15528
12966
  /***/ 6993:
@@ -15905,13 +13343,6 @@ const mix = (...ingredients) => decoratedClass => {
15905
13343
 
15906
13344
 
15907
13345
 
15908
- /***/ }),
15909
-
15910
- /***/ 42634:
15911
- /***/ (() => {
15912
-
15913
- /* (ignored) */
15914
-
15915
13346
  /***/ }),
15916
13347
 
15917
13348
  /***/ 48675:
@@ -16251,16 +13682,16 @@ module.exports = function (target, key, value, options) {
16251
13682
 
16252
13683
  "use strict";
16253
13684
 
16254
- var global = __webpack_require__(41010);
13685
+ var globalThis = __webpack_require__(45951);
16255
13686
 
16256
13687
  // eslint-disable-next-line es/no-object-defineproperty -- safe
16257
13688
  var defineProperty = Object.defineProperty;
16258
13689
 
16259
13690
  module.exports = function (key, value) {
16260
13691
  try {
16261
- defineProperty(global, key, { value: value, configurable: true, writable: true });
13692
+ defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
16262
13693
  } catch (error) {
16263
- global[key] = value;
13694
+ globalThis[key] = value;
16264
13695
  } return value;
16265
13696
  };
16266
13697
 
@@ -16288,10 +13719,10 @@ module.exports = !fails(function () {
16288
13719
 
16289
13720
  "use strict";
16290
13721
 
16291
- var global = __webpack_require__(41010);
13722
+ var globalThis = __webpack_require__(45951);
16292
13723
  var isObject = __webpack_require__(46285);
16293
13724
 
16294
- var document = global.document;
13725
+ var document = globalThis.document;
16295
13726
  // typeof document.createElement is 'object' in old IE
16296
13727
  var EXISTS = isObject(document) && isObject(document.createElement);
16297
13728
 
@@ -16346,26 +13777,50 @@ module.exports = {
16346
13777
 
16347
13778
  /***/ }),
16348
13779
 
16349
- /***/ 64723:
13780
+ /***/ 80376:
16350
13781
  /***/ ((module) => {
16351
13782
 
16352
13783
  "use strict";
16353
13784
 
16354
- module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
13785
+ // IE8- don't enum bug keys
13786
+ module.exports = [
13787
+ 'constructor',
13788
+ 'hasOwnProperty',
13789
+ 'isPrototypeOf',
13790
+ 'propertyIsEnumerable',
13791
+ 'toLocaleString',
13792
+ 'toString',
13793
+ 'valueOf'
13794
+ ];
13795
+
13796
+
13797
+ /***/ }),
13798
+
13799
+ /***/ 96794:
13800
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13801
+
13802
+ "use strict";
13803
+
13804
+ var globalThis = __webpack_require__(45951);
13805
+
13806
+ var navigator = globalThis.navigator;
13807
+ var userAgent = navigator && navigator.userAgent;
13808
+
13809
+ module.exports = userAgent ? String(userAgent) : '';
16355
13810
 
16356
13811
 
16357
13812
  /***/ }),
16358
13813
 
16359
- /***/ 15683:
13814
+ /***/ 20798:
16360
13815
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16361
13816
 
16362
13817
  "use strict";
16363
13818
 
16364
- var global = __webpack_require__(41010);
16365
- var userAgent = __webpack_require__(64723);
13819
+ var globalThis = __webpack_require__(45951);
13820
+ var userAgent = __webpack_require__(96794);
16366
13821
 
16367
- var process = global.process;
16368
- var Deno = global.Deno;
13822
+ var process = globalThis.process;
13823
+ var Deno = globalThis.Deno;
16369
13824
  var versions = process && process.versions || Deno && Deno.version;
16370
13825
  var v8 = versions && versions.v8;
16371
13826
  var match, version;
@@ -16390,25 +13845,6 @@ if (!version && userAgent) {
16390
13845
  module.exports = version;
16391
13846
 
16392
13847
 
16393
- /***/ }),
16394
-
16395
- /***/ 80376:
16396
- /***/ ((module) => {
16397
-
16398
- "use strict";
16399
-
16400
- // IE8- don't enum bug keys
16401
- module.exports = [
16402
- 'constructor',
16403
- 'hasOwnProperty',
16404
- 'isPrototypeOf',
16405
- 'propertyIsEnumerable',
16406
- 'toLocaleString',
16407
- 'toString',
16408
- 'valueOf'
16409
- ];
16410
-
16411
-
16412
13848
  /***/ }),
16413
13849
 
16414
13850
  /***/ 85762:
@@ -16481,7 +13917,7 @@ module.exports = !fails(function () {
16481
13917
 
16482
13918
  "use strict";
16483
13919
 
16484
- var global = __webpack_require__(41010);
13920
+ var globalThis = __webpack_require__(45951);
16485
13921
  var apply = __webpack_require__(76024);
16486
13922
  var uncurryThis = __webpack_require__(92361);
16487
13923
  var isCallable = __webpack_require__(62250);
@@ -16529,7 +13965,7 @@ module.exports = function (options, source) {
16529
13965
  var STATIC = options.stat;
16530
13966
  var PROTO = options.proto;
16531
13967
 
16532
- var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;
13968
+ var nativeSource = GLOBAL ? globalThis : STATIC ? globalThis[TARGET] : globalThis[TARGET] && globalThis[TARGET].prototype;
16533
13969
 
16534
13970
  var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
16535
13971
  var targetPrototype = target.prototype;
@@ -16555,7 +13991,7 @@ module.exports = function (options, source) {
16555
13991
  if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;
16556
13992
 
16557
13993
  // bind methods to global for calling from export context
16558
- if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);
13994
+ if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, globalThis);
16559
13995
  // wrap global constructors for prevent changes in this version
16560
13996
  else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
16561
13997
  // make static versions for prototype methods
@@ -16766,7 +14202,7 @@ module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
16766
14202
  "use strict";
16767
14203
 
16768
14204
  var path = __webpack_require__(92046);
16769
- var global = __webpack_require__(41010);
14205
+ var globalThis = __webpack_require__(45951);
16770
14206
  var isCallable = __webpack_require__(62250);
16771
14207
 
16772
14208
  var aFunction = function (variable) {
@@ -16774,8 +14210,8 @@ var aFunction = function (variable) {
16774
14210
  };
16775
14211
 
16776
14212
  module.exports = function (namespace, method) {
16777
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
16778
- : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
14213
+ return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(globalThis[namespace])
14214
+ : path[namespace] && path[namespace][method] || globalThis[namespace] && globalThis[namespace][method];
16779
14215
  };
16780
14216
 
16781
14217
 
@@ -16843,7 +14279,7 @@ module.exports = function (V, P) {
16843
14279
 
16844
14280
  /***/ }),
16845
14281
 
16846
- /***/ 41010:
14282
+ /***/ 45951:
16847
14283
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16848
14284
 
16849
14285
  "use strict";
@@ -17005,7 +14441,7 @@ module.exports = function (O, options) {
17005
14441
  "use strict";
17006
14442
 
17007
14443
  var NATIVE_WEAK_MAP = __webpack_require__(40551);
17008
- var global = __webpack_require__(41010);
14444
+ var globalThis = __webpack_require__(45951);
17009
14445
  var isObject = __webpack_require__(46285);
17010
14446
  var createNonEnumerableProperty = __webpack_require__(61626);
17011
14447
  var hasOwn = __webpack_require__(49724);
@@ -17014,8 +14450,8 @@ var sharedKey = __webpack_require__(92522);
17014
14450
  var hiddenKeys = __webpack_require__(38530);
17015
14451
 
17016
14452
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
17017
- var TypeError = global.TypeError;
17018
- var WeakMap = global.WeakMap;
14453
+ var TypeError = globalThis.TypeError;
14454
+ var WeakMap = globalThis.WeakMap;
17019
14455
  var set, get, has;
17020
14456
 
17021
14457
  var enforce = function (it) {
@@ -17612,7 +15048,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
17612
15048
  activeXDocument.write(scriptTag(''));
17613
15049
  activeXDocument.close();
17614
15050
  var temp = activeXDocument.parentWindow.Object;
17615
- activeXDocument = null; // avoid memory leak
15051
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
15052
+ activeXDocument = null;
17616
15053
  return temp;
17617
15054
  };
17618
15055
 
@@ -18127,17 +15564,17 @@ module.exports = function (key) {
18127
15564
  "use strict";
18128
15565
 
18129
15566
  var IS_PURE = __webpack_require__(7376);
18130
- var globalThis = __webpack_require__(41010);
15567
+ var globalThis = __webpack_require__(45951);
18131
15568
  var defineGlobalProperty = __webpack_require__(2532);
18132
15569
 
18133
15570
  var SHARED = '__core-js_shared__';
18134
15571
  var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
18135
15572
 
18136
15573
  (store.versions || (store.versions = [])).push({
18137
- version: '3.37.1',
15574
+ version: '3.38.0',
18138
15575
  mode: IS_PURE ? 'pure' : 'global',
18139
15576
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
18140
- license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
15577
+ license: 'https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE',
18141
15578
  source: 'https://github.com/zloirock/core-js'
18142
15579
  });
18143
15580
 
@@ -18209,11 +15646,11 @@ module.exports = {
18209
15646
  "use strict";
18210
15647
 
18211
15648
  /* eslint-disable es/no-symbol -- required for testing */
18212
- var V8_VERSION = __webpack_require__(15683);
15649
+ var V8_VERSION = __webpack_require__(20798);
18213
15650
  var fails = __webpack_require__(98828);
18214
- var global = __webpack_require__(41010);
15651
+ var globalThis = __webpack_require__(45951);
18215
15652
 
18216
- var $String = global.String;
15653
+ var $String = globalThis.String;
18217
15654
 
18218
15655
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
18219
15656
  module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
@@ -18485,10 +15922,10 @@ module.exports = DESCRIPTORS && fails(function () {
18485
15922
 
18486
15923
  "use strict";
18487
15924
 
18488
- var global = __webpack_require__(41010);
15925
+ var globalThis = __webpack_require__(45951);
18489
15926
  var isCallable = __webpack_require__(62250);
18490
15927
 
18491
- var WeakMap = global.WeakMap;
15928
+ var WeakMap = globalThis.WeakMap;
18492
15929
 
18493
15930
  module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
18494
15931
 
@@ -18500,14 +15937,14 @@ module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
18500
15937
 
18501
15938
  "use strict";
18502
15939
 
18503
- var global = __webpack_require__(41010);
15940
+ var globalThis = __webpack_require__(45951);
18504
15941
  var shared = __webpack_require__(85816);
18505
15942
  var hasOwn = __webpack_require__(49724);
18506
15943
  var uid = __webpack_require__(6499);
18507
15944
  var NATIVE_SYMBOL = __webpack_require__(19846);
18508
15945
  var USE_SYMBOL_AS_UID = __webpack_require__(51175);
18509
15946
 
18510
- var Symbol = global.Symbol;
15947
+ var Symbol = globalThis.Symbol;
18511
15948
  var WellKnownSymbolsStore = shared('wks');
18512
15949
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
18513
15950
 
@@ -18773,12 +16210,12 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
18773
16210
 
18774
16211
  /* eslint-disable no-unused-vars -- required for functions `.length` */
18775
16212
  var $ = __webpack_require__(11091);
18776
- var global = __webpack_require__(41010);
16213
+ var globalThis = __webpack_require__(45951);
18777
16214
  var apply = __webpack_require__(76024);
18778
16215
  var wrapErrorConstructorWithCause = __webpack_require__(19358);
18779
16216
 
18780
16217
  var WEB_ASSEMBLY = 'WebAssembly';
18781
- var WebAssembly = global[WEB_ASSEMBLY];
16218
+ var WebAssembly = globalThis[WEB_ASSEMBLY];
18782
16219
 
18783
16220
  // eslint-disable-next-line es/no-error-cause -- feature detection
18784
16221
  var FORCED = new Error('e', { cause: 7 }).cause !== 7;
@@ -18889,12 +16326,12 @@ __webpack_require__(64502);
18889
16326
 
18890
16327
  __webpack_require__(99363);
18891
16328
  var DOMIterables = __webpack_require__(19287);
18892
- var global = __webpack_require__(41010);
16329
+ var globalThis = __webpack_require__(45951);
18893
16330
  var setToStringTag = __webpack_require__(14840);
18894
16331
  var Iterators = __webpack_require__(93742);
18895
16332
 
18896
16333
  for (var COLLECTION_NAME in DOMIterables) {
18897
- setToStringTag(global[COLLECTION_NAME], COLLECTION_NAME);
16334
+ setToStringTag(globalThis[COLLECTION_NAME], COLLECTION_NAME);
18898
16335
  Iterators[COLLECTION_NAME] = Iterators.Array;
18899
16336
  }
18900
16337
 
@@ -38795,19 +36232,21 @@ const Parser = function fnparser() {
38795
36232
  list.push(udts[i].lower);
38796
36233
  }
38797
36234
  for (const index in p.callbacks) {
38798
- i = list.indexOf(index.toLowerCase());
38799
- if (i < 0) {
38800
- throw new Error(`${functionName}syntax callback '${index}' not a rule or udt name`);
38801
- }
38802
- func = p.callbacks[index] ? p.callbacks[index] : undefined;
38803
- if (typeof func === 'function' || func === undefined) {
38804
- if (i < rules.length) {
38805
- ruleCallbacks[i] = func;
36235
+ if (p.callbacks.hasOwnProperty(index)) {
36236
+ i = list.indexOf(index.toLowerCase());
36237
+ if (i < 0) {
36238
+ throw new Error(`${functionName}syntax callback '${index}' not a rule or udt name`);
36239
+ }
36240
+ func = p.callbacks[index] ? p.callbacks[index] : undefined;
36241
+ if (typeof func === 'function' || func === undefined) {
36242
+ if (i < rules.length) {
36243
+ ruleCallbacks[i] = func;
36244
+ } else {
36245
+ udtCallbacks[i - rules.length] = func;
36246
+ }
38806
36247
  } else {
38807
- udtCallbacks[i - rules.length] = func;
36248
+ throw new Error(`${functionName}syntax callback[${index}] must be function reference or falsy)`);
38808
36249
  }
38809
- } else {
38810
- throw new Error(`${functionName}syntax callback[${index}] must be function reference or falsy)`);
38811
36250
  }
38812
36251
  }
38813
36252
  };
@@ -38821,9 +36260,11 @@ const Parser = function fnparser() {
38821
36260
  const lower = startName.toLowerCase();
38822
36261
  let startIndex = undefined;
38823
36262
  for (const i in rules) {
38824
- if (lower === rules[i].lower) {
38825
- startIndex = rules[i].index;
38826
- break;
36263
+ if (rules.hasOwnProperty(i)) {
36264
+ if (lower === rules[i].lower) {
36265
+ startIndex = rules[i].index;
36266
+ break;
36267
+ }
38827
36268
  }
38828
36269
  }
38829
36270
  if (startIndex === undefined) {
@@ -39359,12 +36800,14 @@ const Ast = function fnast() {
39359
36800
  nodeCallbacks[i] = undefined;
39360
36801
  }
39361
36802
  for (const index in a.callbacks) {
39362
- const lower = index.toLowerCase();
39363
- i = list.indexOf(lower);
39364
- if (i < 0) {
39365
- throw new Error(`${thisFileName}init: node '${index}' not a rule or udt name`);
36803
+ if (a.callbacks.hasOwnProperty(index)) {
36804
+ const lower = index.toLowerCase();
36805
+ i = list.indexOf(lower);
36806
+ if (i < 0) {
36807
+ throw new Error(`${thisFileName}init: node '${index}' not a rule or udt name`);
36808
+ }
36809
+ nodeCallbacks[i] = a.callbacks[index];
39366
36810
  }
39367
- nodeCallbacks[i] = a.callbacks[index];
39368
36811
  }
39369
36812
  };
39370
36813
  /* AST node rule callbacks - called by the parser's `RNM` operator */
@@ -50027,7 +47470,7 @@ __webpack_require__.r(__webpack_exports__);
50027
47470
  * @since v0.1.0
50028
47471
  * @category List
50029
47472
  * @sig [a] -> a | Undefined
50030
- * @sig String -> String
47473
+ * @sig String -> String | Undefined
50031
47474
  * @param {Array|String} list
50032
47475
  * @return {*}
50033
47476
  * @see R.tail, R.init, R.last
@@ -50037,7 +47480,7 @@ __webpack_require__.r(__webpack_exports__);
50037
47480
  * R.head([]); //=> undefined
50038
47481
  *
50039
47482
  * R.head('abc'); //=> 'a'
50040
- * R.head(''); //=> ''
47483
+ * R.head(''); //=> undefined
50041
47484
  */
50042
47485
  var head = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (list) {
50043
47486
  return (0,_internal_nth_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0, list);
@@ -51624,10 +49067,8 @@ __webpack_require__.r(__webpack_exports__);
51624
49067
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51625
49068
  /* harmony export */ "default": () => (/* binding */ _isPlaceholder)
51626
49069
  /* harmony export */ });
51627
- /* harmony import */ var _placeholder_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(66500);
51628
-
51629
49070
  function _isPlaceholder(a) {
51630
- return a === _placeholder_js__WEBPACK_IMPORTED_MODULE_0__["default"];
49071
+ return a != null && typeof a === 'object' && a['@@functional/placeholder'] === true;
51631
49072
  }
51632
49073
 
51633
49074
  /***/ }),
@@ -51811,20 +49252,6 @@ function _pipe(f, g) {
51811
49252
 
51812
49253
  /***/ }),
51813
49254
 
51814
- /***/ 66500:
51815
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
51816
-
51817
- "use strict";
51818
- __webpack_require__.r(__webpack_exports__);
51819
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
51820
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
51821
- /* harmony export */ });
51822
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
51823
- '@@functional/placeholder': true
51824
- });
51825
-
51826
- /***/ }),
51827
-
51828
49255
  /***/ 79017:
51829
49256
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
51830
49257
 
@@ -52727,7 +50154,7 @@ __webpack_require__.r(__webpack_exports__);
52727
50154
  * @since v0.1.4
52728
50155
  * @category List
52729
50156
  * @sig [a] -> a | Undefined
52730
- * @sig String -> String
50157
+ * @sig String -> String | Undefined
52731
50158
  * @param {*} list
52732
50159
  * @return {*}
52733
50160
  * @see R.init, R.head, R.tail
@@ -52737,7 +50164,7 @@ __webpack_require__.r(__webpack_exports__);
52737
50164
  * R.last([]); //=> undefined
52738
50165
  *
52739
50166
  * R.last('abc'); //=> 'c'
52740
- * R.last(''); //=> ''
50167
+ * R.last(''); //=> undefined
52741
50168
  */
52742
50169
  var last = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (list) {
52743
50170
  return (0,_internal_nth_js__WEBPACK_IMPORTED_MODULE_1__["default"])(-1, list);