pdfkit 0.17.1 → 0.17.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.
- package/CHANGELOG.md +4 -0
- package/js/pdfkit.es.js +18 -20
- package/js/pdfkit.es.js.map +1 -1
- package/js/pdfkit.js +18 -20
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +316 -133
- package/jsconfig.json +13 -0
- package/package.json +1 -1
- package/types/jest.custom-matchers.d.ts +28 -0
package/js/pdfkit.standalone.js
CHANGED
|
@@ -2958,12 +2958,14 @@ class LineWrapper extends events.EventEmitter {
|
|
|
2958
2958
|
}
|
|
2959
2959
|
emitLine();
|
|
2960
2960
|
if (PDFNumber(this.document.y + lh) > this.maxY) {
|
|
2961
|
+
this.emit('sectionEnd', options, this);
|
|
2961
2962
|
const shouldContinue = this.nextSection();
|
|
2962
2963
|
if (!shouldContinue) {
|
|
2963
2964
|
wc = 0;
|
|
2964
2965
|
buffer = '';
|
|
2965
2966
|
return false;
|
|
2966
2967
|
}
|
|
2968
|
+
this.emit('sectionStart', options, this);
|
|
2967
2969
|
}
|
|
2968
2970
|
if (bk.required) {
|
|
2969
2971
|
this.spaceLeft = this.lineWidth;
|
|
@@ -2996,7 +2998,6 @@ class LineWrapper extends events.EventEmitter {
|
|
|
2996
2998
|
}
|
|
2997
2999
|
}
|
|
2998
3000
|
nextSection(options) {
|
|
2999
|
-
this.emit('sectionEnd', options, this);
|
|
3000
3001
|
if (++this.column > this.columns) {
|
|
3001
3002
|
if (this.height != null) {
|
|
3002
3003
|
return false;
|
|
@@ -3015,7 +3016,6 @@ class LineWrapper extends events.EventEmitter {
|
|
|
3015
3016
|
this.document.y = this.startY;
|
|
3016
3017
|
this.emit('columnBreak', options, this);
|
|
3017
3018
|
}
|
|
3018
|
-
this.emit('sectionStart', options, this);
|
|
3019
3019
|
return true;
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
@@ -3023,6 +3023,15 @@ class LineWrapper extends events.EventEmitter {
|
|
|
3023
3023
|
const {
|
|
3024
3024
|
number
|
|
3025
3025
|
} = PDFObject;
|
|
3026
|
+
function formatListLabel(n, listType) {
|
|
3027
|
+
if (listType === 'numbered') {
|
|
3028
|
+
return `${n}.`;
|
|
3029
|
+
}
|
|
3030
|
+
var letter = String.fromCharCode((n - 1) % 26 + 65);
|
|
3031
|
+
var times = Math.floor((n - 1) / 26 + 1);
|
|
3032
|
+
var text = Array(times + 1).join(letter);
|
|
3033
|
+
return `${text}.`;
|
|
3034
|
+
}
|
|
3026
3035
|
var TextMixin = {
|
|
3027
3036
|
initText() {
|
|
3028
3037
|
this._line = this._line.bind(this);
|
|
@@ -3199,7 +3208,7 @@ var TextMixin = {
|
|
|
3199
3208
|
this.y = y;
|
|
3200
3209
|
return height;
|
|
3201
3210
|
},
|
|
3202
|
-
list(list, x, y, options
|
|
3211
|
+
list(list, x, y, options) {
|
|
3203
3212
|
options = this._initOptions(x, y, options);
|
|
3204
3213
|
const listType = options.listType || 'bullet';
|
|
3205
3214
|
const unit = Math.round(this._font.ascender / 1000 * this._fontSize);
|
|
@@ -3229,19 +3238,8 @@ var TextMixin = {
|
|
|
3229
3238
|
}
|
|
3230
3239
|
};
|
|
3231
3240
|
flatten(list);
|
|
3232
|
-
const label = function (n) {
|
|
3233
|
-
switch (listType) {
|
|
3234
|
-
case 'numbered':
|
|
3235
|
-
return `${n}.`;
|
|
3236
|
-
case 'lettered':
|
|
3237
|
-
var letter = String.fromCharCode((n - 1) % 26 + 65);
|
|
3238
|
-
var times = Math.floor((n - 1) / 26 + 1);
|
|
3239
|
-
var text = Array(times + 1).join(letter);
|
|
3240
|
-
return `${text}.`;
|
|
3241
|
-
}
|
|
3242
|
-
};
|
|
3243
3241
|
const drawListItem = function (listItem, i) {
|
|
3244
|
-
wrapper = new LineWrapper(this, options);
|
|
3242
|
+
const wrapper = new LineWrapper(this, options);
|
|
3245
3243
|
wrapper.on('line', this._line);
|
|
3246
3244
|
level = 1;
|
|
3247
3245
|
wrapper.once('firstLine', () => {
|
|
@@ -3276,7 +3274,7 @@ var TextMixin = {
|
|
|
3276
3274
|
break;
|
|
3277
3275
|
case 'numbered':
|
|
3278
3276
|
case 'lettered':
|
|
3279
|
-
var text =
|
|
3277
|
+
var text = formatListLabel(numbers[i - 1], listType);
|
|
3280
3278
|
this._fragment(text, this.x - indent, this.y, options);
|
|
3281
3279
|
break;
|
|
3282
3280
|
}
|
|
@@ -3344,11 +3342,11 @@ var TextMixin = {
|
|
|
3344
3342
|
},
|
|
3345
3343
|
_line(text, options = {}, wrapper) {
|
|
3346
3344
|
this._fragment(text, this.x, this.y, options);
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
this.x += this.widthOfString(text, options);
|
|
3350
|
-
} else {
|
|
3345
|
+
if (wrapper) {
|
|
3346
|
+
const lineGap = options.lineGap || this._lineGap || 0;
|
|
3351
3347
|
this.y += this.currentLineHeight(true) + lineGap;
|
|
3348
|
+
} else {
|
|
3349
|
+
this.x += this.widthOfString(text, options);
|
|
3352
3350
|
}
|
|
3353
3351
|
},
|
|
3354
3352
|
_fragment(text, x, y, options) {
|
|
@@ -6002,7 +6000,7 @@ module.exports = PDFDocument;
|
|
|
6002
6000
|
|
|
6003
6001
|
|
|
6004
6002
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
6005
|
-
},{"buffer":36,"crypto-js":56,"events":94,"fontkit":96,"fs":35,"jpeg-exif":
|
|
6003
|
+
},{"buffer":36,"crypto-js":56,"events":94,"fontkit":96,"fs":35,"jpeg-exif":118,"linebreak":120,"png-js":135,"stream":142,"zlib":23}],2:[function(require,module,exports){
|
|
6006
6004
|
"use strict";
|
|
6007
6005
|
|
|
6008
6006
|
function _define_property(obj, key, value) {
|
|
@@ -6019,7 +6017,7 @@ exports._ = _define_property;
|
|
|
6019
6017
|
|
|
6020
6018
|
exports._ = require("tslib").__decorate;
|
|
6021
6019
|
|
|
6022
|
-
},{"tslib":
|
|
6020
|
+
},{"tslib":159}],4:[function(require,module,exports){
|
|
6023
6021
|
(function (global){(function (){
|
|
6024
6022
|
'use strict';
|
|
6025
6023
|
|
|
@@ -6529,7 +6527,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
6529
6527
|
};
|
|
6530
6528
|
|
|
6531
6529
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
6532
|
-
},{"object.assign/polyfill":
|
|
6530
|
+
},{"object.assign/polyfill":134,"util/":7}],5:[function(require,module,exports){
|
|
6533
6531
|
if (typeof Object.create === 'function') {
|
|
6534
6532
|
// implementation from standard node.js 'util' module
|
|
6535
6533
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -7151,7 +7149,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
7151
7149
|
}
|
|
7152
7150
|
|
|
7153
7151
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
7154
|
-
},{"./support/isBuffer":6,"_process":
|
|
7152
|
+
},{"./support/isBuffer":6,"_process":137,"inherits":5}],8:[function(require,module,exports){
|
|
7155
7153
|
(function (global){(function (){
|
|
7156
7154
|
'use strict';
|
|
7157
7155
|
|
|
@@ -7172,7 +7170,7 @@ module.exports = function availableTypedArrays() {
|
|
|
7172
7170
|
};
|
|
7173
7171
|
|
|
7174
7172
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
7175
|
-
},{"possible-typed-array-names":
|
|
7173
|
+
},{"possible-typed-array-names":136}],9:[function(require,module,exports){
|
|
7176
7174
|
'use strict'
|
|
7177
7175
|
|
|
7178
7176
|
exports.byteLength = byteLength
|
|
@@ -9588,7 +9586,7 @@ Zlib.prototype._reset = function () {
|
|
|
9588
9586
|
|
|
9589
9587
|
exports.Zlib = Zlib;
|
|
9590
9588
|
}).call(this)}).call(this,require('_process'),require("buffer").Buffer)
|
|
9591
|
-
},{"_process":
|
|
9589
|
+
},{"_process":137,"assert":4,"buffer":36,"pako/lib/zlib/constants":26,"pako/lib/zlib/deflate.js":28,"pako/lib/zlib/inflate.js":30,"pako/lib/zlib/zstream":34}],23:[function(require,module,exports){
|
|
9592
9590
|
(function (process){(function (){
|
|
9593
9591
|
'use strict';
|
|
9594
9592
|
|
|
@@ -10200,7 +10198,7 @@ util.inherits(DeflateRaw, Zlib);
|
|
|
10200
10198
|
util.inherits(InflateRaw, Zlib);
|
|
10201
10199
|
util.inherits(Unzip, Zlib);
|
|
10202
10200
|
}).call(this)}).call(this,require('_process'))
|
|
10203
|
-
},{"./binding":22,"_process":
|
|
10201
|
+
},{"./binding":22,"_process":137,"assert":4,"buffer":36,"stream":142,"util":166}],24:[function(require,module,exports){
|
|
10204
10202
|
'use strict';
|
|
10205
10203
|
|
|
10206
10204
|
|
|
@@ -17707,7 +17705,7 @@ function numberIsNaN (obj) {
|
|
|
17707
17705
|
}
|
|
17708
17706
|
|
|
17709
17707
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
17710
|
-
},{"base64-js":9,"buffer":36,"ieee754":
|
|
17708
|
+
},{"base64-js":9,"buffer":36,"ieee754":111}],37:[function(require,module,exports){
|
|
17711
17709
|
'use strict';
|
|
17712
17710
|
|
|
17713
17711
|
var bind = require('function-bind');
|
|
@@ -17752,7 +17750,7 @@ var $TypeError = require('es-errors/type');
|
|
|
17752
17750
|
var $call = require('./functionCall');
|
|
17753
17751
|
var $actualApply = require('./actualApply');
|
|
17754
17752
|
|
|
17755
|
-
/** @type {import('.')
|
|
17753
|
+
/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
|
|
17756
17754
|
module.exports = function callBindBasic(args) {
|
|
17757
17755
|
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
17758
17756
|
throw new $TypeError('a function is required');
|
|
@@ -17792,7 +17790,7 @@ if ($defineProperty) {
|
|
|
17792
17790
|
module.exports.apply = applyBind;
|
|
17793
17791
|
}
|
|
17794
17792
|
|
|
17795
|
-
},{"call-bind-apply-helpers":41,"call-bind-apply-helpers/applyBind":38,"es-define-property":85,"set-function-length":
|
|
17793
|
+
},{"call-bind-apply-helpers":41,"call-bind-apply-helpers/applyBind":38,"es-define-property":85,"set-function-length":141}],44:[function(require,module,exports){
|
|
17796
17794
|
'use strict';
|
|
17797
17795
|
|
|
17798
17796
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -17804,10 +17802,11 @@ var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
|
17804
17802
|
|
|
17805
17803
|
/** @type {import('.')} */
|
|
17806
17804
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
17807
|
-
|
|
17808
|
-
|
|
17805
|
+
/* eslint no-extra-parens: 0 */
|
|
17806
|
+
|
|
17807
|
+
var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));
|
|
17809
17808
|
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
17810
|
-
return callBindBasic([intrinsic]);
|
|
17809
|
+
return callBindBasic(/** @type {const} */ ([intrinsic]));
|
|
17811
17810
|
}
|
|
17812
17811
|
return intrinsic;
|
|
17813
17812
|
};
|
|
@@ -25452,7 +25451,7 @@ module.exports = function defineDataProperty(
|
|
|
25452
25451
|
}
|
|
25453
25452
|
};
|
|
25454
25453
|
|
|
25455
|
-
},{"es-define-property":85,"es-errors/syntax":90,"es-errors/type":91,"gopd":
|
|
25454
|
+
},{"es-define-property":85,"es-errors/syntax":90,"es-errors/type":91,"gopd":105}],83:[function(require,module,exports){
|
|
25456
25455
|
'use strict';
|
|
25457
25456
|
|
|
25458
25457
|
var INITIAL_STATE = 1;
|
|
@@ -25577,7 +25576,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
25577
25576
|
}
|
|
25578
25577
|
: false;
|
|
25579
25578
|
|
|
25580
|
-
},{"call-bind-apply-helpers":41,"gopd":
|
|
25579
|
+
},{"call-bind-apply-helpers":41,"gopd":105}],85:[function(require,module,exports){
|
|
25581
25580
|
'use strict';
|
|
25582
25581
|
|
|
25583
25582
|
/** @type {import('.')} */
|
|
@@ -39525,7 +39524,7 @@ $parcel$exportWildcard(module.exports, $59aa4ed98453e1d4$exports);
|
|
|
39525
39524
|
|
|
39526
39525
|
|
|
39527
39526
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
39528
|
-
},{"@swc/helpers/cjs/_define_property.cjs":2,"@swc/helpers/cjs/_ts_decorate.cjs":3,"brotli/decompress.js":20,"clone":45,"dfa":83,"fast-deep-equal":95,"restructure":
|
|
39527
|
+
},{"@swc/helpers/cjs/_define_property.cjs":2,"@swc/helpers/cjs/_ts_decorate.cjs":3,"brotli/decompress.js":20,"clone":45,"dfa":83,"fast-deep-equal":95,"restructure":138,"tiny-inflate":158,"unicode-properties":160,"unicode-trie":161}],97:[function(require,module,exports){
|
|
39529
39528
|
'use strict';
|
|
39530
39529
|
|
|
39531
39530
|
var isCallable = require('is-callable');
|
|
@@ -39533,6 +39532,7 @@ var isCallable = require('is-callable');
|
|
|
39533
39532
|
var toStr = Object.prototype.toString;
|
|
39534
39533
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
39535
39534
|
|
|
39535
|
+
/** @type {<This, A extends readonly unknown[]>(arr: A, iterator: (this: This | void, value: A[number], index: number, arr: A) => void, receiver: This | undefined) => void} */
|
|
39536
39536
|
var forEachArray = function forEachArray(array, iterator, receiver) {
|
|
39537
39537
|
for (var i = 0, len = array.length; i < len; i++) {
|
|
39538
39538
|
if (hasOwnProperty.call(array, i)) {
|
|
@@ -39545,6 +39545,7 @@ var forEachArray = function forEachArray(array, iterator, receiver) {
|
|
|
39545
39545
|
}
|
|
39546
39546
|
};
|
|
39547
39547
|
|
|
39548
|
+
/** @type {<This, S extends string>(string: S, iterator: (this: This | void, value: S[number], index: number, string: S) => void, receiver: This | undefined) => void} */
|
|
39548
39549
|
var forEachString = function forEachString(string, iterator, receiver) {
|
|
39549
39550
|
for (var i = 0, len = string.length; i < len; i++) {
|
|
39550
39551
|
// no such thing as a sparse string.
|
|
@@ -39556,6 +39557,7 @@ var forEachString = function forEachString(string, iterator, receiver) {
|
|
|
39556
39557
|
}
|
|
39557
39558
|
};
|
|
39558
39559
|
|
|
39560
|
+
/** @type {<This, O>(obj: O, iterator: (this: This | void, value: O[keyof O], index: keyof O, obj: O) => void, receiver: This | undefined) => void} */
|
|
39559
39561
|
var forEachObject = function forEachObject(object, iterator, receiver) {
|
|
39560
39562
|
for (var k in object) {
|
|
39561
39563
|
if (hasOwnProperty.call(object, k)) {
|
|
@@ -39568,7 +39570,13 @@ var forEachObject = function forEachObject(object, iterator, receiver) {
|
|
|
39568
39570
|
}
|
|
39569
39571
|
};
|
|
39570
39572
|
|
|
39571
|
-
|
|
39573
|
+
/** @type {(x: unknown) => x is readonly unknown[]} */
|
|
39574
|
+
function isArray(x) {
|
|
39575
|
+
return toStr.call(x) === '[object Array]';
|
|
39576
|
+
}
|
|
39577
|
+
|
|
39578
|
+
/** @type {import('.')._internal} */
|
|
39579
|
+
module.exports = function forEach(list, iterator, thisArg) {
|
|
39572
39580
|
if (!isCallable(iterator)) {
|
|
39573
39581
|
throw new TypeError('iterator must be a function');
|
|
39574
39582
|
}
|
|
@@ -39578,7 +39586,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
39578
39586
|
receiver = thisArg;
|
|
39579
39587
|
}
|
|
39580
39588
|
|
|
39581
|
-
if (
|
|
39589
|
+
if (isArray(list)) {
|
|
39582
39590
|
forEachArray(list, iterator, receiver);
|
|
39583
39591
|
} else if (typeof list === 'string') {
|
|
39584
39592
|
forEachString(list, iterator, receiver);
|
|
@@ -39587,9 +39595,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
39587
39595
|
}
|
|
39588
39596
|
};
|
|
39589
39597
|
|
|
39590
|
-
module
|
|
39591
|
-
|
|
39592
|
-
},{"is-callable":111}],98:[function(require,module,exports){
|
|
39598
|
+
},{"is-callable":114}],98:[function(require,module,exports){
|
|
39593
39599
|
'use strict';
|
|
39594
39600
|
|
|
39595
39601
|
/* eslint no-invalid-this: 1 */
|
|
@@ -39702,6 +39708,8 @@ var floor = require('math-intrinsics/floor');
|
|
|
39702
39708
|
var max = require('math-intrinsics/max');
|
|
39703
39709
|
var min = require('math-intrinsics/min');
|
|
39704
39710
|
var pow = require('math-intrinsics/pow');
|
|
39711
|
+
var round = require('math-intrinsics/round');
|
|
39712
|
+
var sign = require('math-intrinsics/sign');
|
|
39705
39713
|
|
|
39706
39714
|
var $Function = Function;
|
|
39707
39715
|
|
|
@@ -39736,11 +39744,10 @@ var ThrowTypeError = $gOPD
|
|
|
39736
39744
|
: throwTypeError;
|
|
39737
39745
|
|
|
39738
39746
|
var hasSymbols = require('has-symbols')();
|
|
39739
|
-
var getDunderProto = require('dunder-proto/get');
|
|
39740
39747
|
|
|
39741
|
-
var getProto = (
|
|
39742
|
-
|
|
39743
|
-
|
|
39748
|
+
var getProto = require('get-proto');
|
|
39749
|
+
var $ObjectGPO = require('get-proto/Object.getPrototypeOf');
|
|
39750
|
+
var $ReflectGPO = require('get-proto/Reflect.getPrototypeOf');
|
|
39744
39751
|
|
|
39745
39752
|
var $apply = require('call-bind-apply-helpers/functionApply');
|
|
39746
39753
|
var $call = require('call-bind-apply-helpers/functionCall');
|
|
@@ -39774,6 +39781,7 @@ var INTRINSICS = {
|
|
|
39774
39781
|
'%Error%': $Error,
|
|
39775
39782
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
39776
39783
|
'%EvalError%': $EvalError,
|
|
39784
|
+
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
|
|
39777
39785
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
39778
39786
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
39779
39787
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -39822,11 +39830,15 @@ var INTRINSICS = {
|
|
|
39822
39830
|
'%Function.prototype.call%': $call,
|
|
39823
39831
|
'%Function.prototype.apply%': $apply,
|
|
39824
39832
|
'%Object.defineProperty%': $defineProperty,
|
|
39833
|
+
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
39825
39834
|
'%Math.abs%': abs,
|
|
39826
39835
|
'%Math.floor%': floor,
|
|
39827
39836
|
'%Math.max%': max,
|
|
39828
39837
|
'%Math.min%': min,
|
|
39829
|
-
'%Math.pow%': pow
|
|
39838
|
+
'%Math.pow%': pow,
|
|
39839
|
+
'%Math.round%': round,
|
|
39840
|
+
'%Math.sign%': sign,
|
|
39841
|
+
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
39830
39842
|
};
|
|
39831
39843
|
|
|
39832
39844
|
if (getProto) {
|
|
@@ -40056,13 +40068,56 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
40056
40068
|
return value;
|
|
40057
40069
|
};
|
|
40058
40070
|
|
|
40059
|
-
},{"call-bind-apply-helpers/functionApply":39,"call-bind-apply-helpers/functionCall":40,"
|
|
40071
|
+
},{"call-bind-apply-helpers/functionApply":39,"call-bind-apply-helpers/functionCall":40,"es-define-property":85,"es-errors":87,"es-errors/eval":86,"es-errors/range":88,"es-errors/ref":89,"es-errors/syntax":90,"es-errors/type":91,"es-errors/uri":92,"es-object-atoms":93,"function-bind":99,"get-proto":103,"get-proto/Object.getPrototypeOf":101,"get-proto/Reflect.getPrototypeOf":102,"gopd":105,"has-symbols":107,"hasown":110,"math-intrinsics/abs":122,"math-intrinsics/floor":123,"math-intrinsics/max":125,"math-intrinsics/min":126,"math-intrinsics/pow":127,"math-intrinsics/round":128,"math-intrinsics/sign":129}],101:[function(require,module,exports){
|
|
40072
|
+
'use strict';
|
|
40073
|
+
|
|
40074
|
+
var $Object = require('es-object-atoms');
|
|
40075
|
+
|
|
40076
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
40077
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
40078
|
+
|
|
40079
|
+
},{"es-object-atoms":93}],102:[function(require,module,exports){
|
|
40080
|
+
'use strict';
|
|
40081
|
+
|
|
40082
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
40083
|
+
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
40084
|
+
|
|
40085
|
+
},{}],103:[function(require,module,exports){
|
|
40086
|
+
'use strict';
|
|
40087
|
+
|
|
40088
|
+
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
40089
|
+
var originalGetProto = require('./Object.getPrototypeOf');
|
|
40090
|
+
|
|
40091
|
+
var getDunderProto = require('dunder-proto/get');
|
|
40092
|
+
|
|
40093
|
+
/** @type {import('.')} */
|
|
40094
|
+
module.exports = reflectGetProto
|
|
40095
|
+
? function getProto(O) {
|
|
40096
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
40097
|
+
return reflectGetProto(O);
|
|
40098
|
+
}
|
|
40099
|
+
: originalGetProto
|
|
40100
|
+
? function getProto(O) {
|
|
40101
|
+
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
|
40102
|
+
throw new TypeError('getProto: not an object');
|
|
40103
|
+
}
|
|
40104
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
40105
|
+
return originalGetProto(O);
|
|
40106
|
+
}
|
|
40107
|
+
: getDunderProto
|
|
40108
|
+
? function getProto(O) {
|
|
40109
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
40110
|
+
return getDunderProto(O);
|
|
40111
|
+
}
|
|
40112
|
+
: null;
|
|
40113
|
+
|
|
40114
|
+
},{"./Object.getPrototypeOf":101,"./Reflect.getPrototypeOf":102,"dunder-proto/get":84}],104:[function(require,module,exports){
|
|
40060
40115
|
'use strict';
|
|
40061
40116
|
|
|
40062
40117
|
/** @type {import('./gOPD')} */
|
|
40063
40118
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
40064
40119
|
|
|
40065
|
-
},{}],
|
|
40120
|
+
},{}],105:[function(require,module,exports){
|
|
40066
40121
|
'use strict';
|
|
40067
40122
|
|
|
40068
40123
|
/** @type {import('.')} */
|
|
@@ -40079,7 +40134,7 @@ if ($gOPD) {
|
|
|
40079
40134
|
|
|
40080
40135
|
module.exports = $gOPD;
|
|
40081
40136
|
|
|
40082
|
-
},{"./gOPD":
|
|
40137
|
+
},{"./gOPD":104}],106:[function(require,module,exports){
|
|
40083
40138
|
'use strict';
|
|
40084
40139
|
|
|
40085
40140
|
var $defineProperty = require('es-define-property');
|
|
@@ -40103,7 +40158,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
40103
40158
|
|
|
40104
40159
|
module.exports = hasPropertyDescriptors;
|
|
40105
40160
|
|
|
40106
|
-
},{"es-define-property":85}],
|
|
40161
|
+
},{"es-define-property":85}],107:[function(require,module,exports){
|
|
40107
40162
|
'use strict';
|
|
40108
40163
|
|
|
40109
40164
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -40119,7 +40174,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
40119
40174
|
return hasSymbolSham();
|
|
40120
40175
|
};
|
|
40121
40176
|
|
|
40122
|
-
},{"./shams":
|
|
40177
|
+
},{"./shams":108}],108:[function(require,module,exports){
|
|
40123
40178
|
'use strict';
|
|
40124
40179
|
|
|
40125
40180
|
/** @type {import('./shams')} */
|
|
@@ -40166,7 +40221,7 @@ module.exports = function hasSymbols() {
|
|
|
40166
40221
|
return true;
|
|
40167
40222
|
};
|
|
40168
40223
|
|
|
40169
|
-
},{}],
|
|
40224
|
+
},{}],109:[function(require,module,exports){
|
|
40170
40225
|
'use strict';
|
|
40171
40226
|
|
|
40172
40227
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -40176,7 +40231,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
40176
40231
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
40177
40232
|
};
|
|
40178
40233
|
|
|
40179
|
-
},{"has-symbols/shams":
|
|
40234
|
+
},{"has-symbols/shams":108}],110:[function(require,module,exports){
|
|
40180
40235
|
'use strict';
|
|
40181
40236
|
|
|
40182
40237
|
var call = Function.prototype.call;
|
|
@@ -40186,7 +40241,7 @@ var bind = require('function-bind');
|
|
|
40186
40241
|
/** @type {import('.')} */
|
|
40187
40242
|
module.exports = bind.call(call, $hasOwn);
|
|
40188
40243
|
|
|
40189
|
-
},{"function-bind":99}],
|
|
40244
|
+
},{"function-bind":99}],111:[function(require,module,exports){
|
|
40190
40245
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
40191
40246
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
40192
40247
|
var e, m
|
|
@@ -40273,7 +40328,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
40273
40328
|
buffer[offset + i - d] |= s * 128
|
|
40274
40329
|
}
|
|
40275
40330
|
|
|
40276
|
-
},{}],
|
|
40331
|
+
},{}],112:[function(require,module,exports){
|
|
40277
40332
|
if (typeof Object.create === 'function') {
|
|
40278
40333
|
// implementation from standard node.js 'util' module
|
|
40279
40334
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -40302,7 +40357,7 @@ if (typeof Object.create === 'function') {
|
|
|
40302
40357
|
}
|
|
40303
40358
|
}
|
|
40304
40359
|
|
|
40305
|
-
},{}],
|
|
40360
|
+
},{}],113:[function(require,module,exports){
|
|
40306
40361
|
'use strict';
|
|
40307
40362
|
|
|
40308
40363
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -40348,7 +40403,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
40348
40403
|
/** @type {import('.')} */
|
|
40349
40404
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
40350
40405
|
|
|
40351
|
-
},{"call-bound":44,"has-tostringtag/shams":
|
|
40406
|
+
},{"call-bound":44,"has-tostringtag/shams":109}],114:[function(require,module,exports){
|
|
40352
40407
|
'use strict';
|
|
40353
40408
|
|
|
40354
40409
|
var fnToStr = Function.prototype.toString;
|
|
@@ -40451,14 +40506,18 @@ module.exports = reflectApply
|
|
|
40451
40506
|
return tryFunctionObject(value);
|
|
40452
40507
|
};
|
|
40453
40508
|
|
|
40454
|
-
},{}],
|
|
40509
|
+
},{}],115:[function(require,module,exports){
|
|
40455
40510
|
'use strict';
|
|
40456
40511
|
|
|
40457
|
-
var
|
|
40458
|
-
var
|
|
40459
|
-
var isFnRegex = /^\s*(?:function)
|
|
40512
|
+
var callBound = require('call-bound');
|
|
40513
|
+
var safeRegexTest = require('safe-regex-test');
|
|
40514
|
+
var isFnRegex = safeRegexTest(/^\s*(?:function)?\*/);
|
|
40460
40515
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
40461
|
-
var getProto =
|
|
40516
|
+
var getProto = require('get-proto');
|
|
40517
|
+
|
|
40518
|
+
var toStr = callBound('Object.prototype.toString');
|
|
40519
|
+
var fnToStr = callBound('Function.prototype.toString');
|
|
40520
|
+
|
|
40462
40521
|
var getGeneratorFunc = function () { // eslint-disable-line consistent-return
|
|
40463
40522
|
if (!hasToStringTag) {
|
|
40464
40523
|
return false;
|
|
@@ -40468,17 +40527,19 @@ var getGeneratorFunc = function () { // eslint-disable-line consistent-return
|
|
|
40468
40527
|
} catch (e) {
|
|
40469
40528
|
}
|
|
40470
40529
|
};
|
|
40530
|
+
/** @type {undefined | false | null | GeneratorFunctionConstructor} */
|
|
40471
40531
|
var GeneratorFunction;
|
|
40472
40532
|
|
|
40533
|
+
/** @type {import('.')} */
|
|
40473
40534
|
module.exports = function isGeneratorFunction(fn) {
|
|
40474
40535
|
if (typeof fn !== 'function') {
|
|
40475
40536
|
return false;
|
|
40476
40537
|
}
|
|
40477
|
-
if (isFnRegex
|
|
40538
|
+
if (isFnRegex(fnToStr(fn))) {
|
|
40478
40539
|
return true;
|
|
40479
40540
|
}
|
|
40480
40541
|
if (!hasToStringTag) {
|
|
40481
|
-
var str = toStr
|
|
40542
|
+
var str = toStr(fn);
|
|
40482
40543
|
return str === '[object GeneratorFunction]';
|
|
40483
40544
|
}
|
|
40484
40545
|
if (!getProto) {
|
|
@@ -40486,12 +40547,86 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
40486
40547
|
}
|
|
40487
40548
|
if (typeof GeneratorFunction === 'undefined') {
|
|
40488
40549
|
var generatorFunc = getGeneratorFunc();
|
|
40489
|
-
GeneratorFunction = generatorFunc
|
|
40550
|
+
GeneratorFunction = generatorFunc
|
|
40551
|
+
// eslint-disable-next-line no-extra-parens
|
|
40552
|
+
? /** @type {GeneratorFunctionConstructor} */ (getProto(generatorFunc))
|
|
40553
|
+
: false;
|
|
40490
40554
|
}
|
|
40491
40555
|
return getProto(fn) === GeneratorFunction;
|
|
40492
40556
|
};
|
|
40493
40557
|
|
|
40494
|
-
},{"has-tostringtag/shams":
|
|
40558
|
+
},{"call-bound":44,"get-proto":103,"has-tostringtag/shams":109,"safe-regex-test":140}],116:[function(require,module,exports){
|
|
40559
|
+
'use strict';
|
|
40560
|
+
|
|
40561
|
+
var callBound = require('call-bound');
|
|
40562
|
+
var hasToStringTag = require('has-tostringtag/shams')();
|
|
40563
|
+
var hasOwn = require('hasown');
|
|
40564
|
+
var gOPD = require('gopd');
|
|
40565
|
+
|
|
40566
|
+
/** @type {import('.')} */
|
|
40567
|
+
var fn;
|
|
40568
|
+
|
|
40569
|
+
if (hasToStringTag) {
|
|
40570
|
+
/** @type {(receiver: ThisParameterType<typeof RegExp.prototype.exec>, ...args: Parameters<typeof RegExp.prototype.exec>) => ReturnType<typeof RegExp.prototype.exec>} */
|
|
40571
|
+
var $exec = callBound('RegExp.prototype.exec');
|
|
40572
|
+
/** @type {object} */
|
|
40573
|
+
var isRegexMarker = {};
|
|
40574
|
+
|
|
40575
|
+
var throwRegexMarker = function () {
|
|
40576
|
+
throw isRegexMarker;
|
|
40577
|
+
};
|
|
40578
|
+
/** @type {{ toString(): never, valueOf(): never, [Symbol.toPrimitive]?(): never }} */
|
|
40579
|
+
var badStringifier = {
|
|
40580
|
+
toString: throwRegexMarker,
|
|
40581
|
+
valueOf: throwRegexMarker
|
|
40582
|
+
};
|
|
40583
|
+
|
|
40584
|
+
if (typeof Symbol.toPrimitive === 'symbol') {
|
|
40585
|
+
badStringifier[Symbol.toPrimitive] = throwRegexMarker;
|
|
40586
|
+
}
|
|
40587
|
+
|
|
40588
|
+
/** @type {import('.')} */
|
|
40589
|
+
// @ts-expect-error TS can't figure out that the $exec call always throws
|
|
40590
|
+
// eslint-disable-next-line consistent-return
|
|
40591
|
+
fn = function isRegex(value) {
|
|
40592
|
+
if (!value || typeof value !== 'object') {
|
|
40593
|
+
return false;
|
|
40594
|
+
}
|
|
40595
|
+
|
|
40596
|
+
// eslint-disable-next-line no-extra-parens
|
|
40597
|
+
var descriptor = /** @type {NonNullable<typeof gOPD>} */ (gOPD)(/** @type {{ lastIndex?: unknown }} */ (value), 'lastIndex');
|
|
40598
|
+
var hasLastIndexDataProperty = descriptor && hasOwn(descriptor, 'value');
|
|
40599
|
+
if (!hasLastIndexDataProperty) {
|
|
40600
|
+
return false;
|
|
40601
|
+
}
|
|
40602
|
+
|
|
40603
|
+
try {
|
|
40604
|
+
// eslint-disable-next-line no-extra-parens
|
|
40605
|
+
$exec(value, /** @type {string} */ (/** @type {unknown} */ (badStringifier)));
|
|
40606
|
+
} catch (e) {
|
|
40607
|
+
return e === isRegexMarker;
|
|
40608
|
+
}
|
|
40609
|
+
};
|
|
40610
|
+
} else {
|
|
40611
|
+
/** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */
|
|
40612
|
+
var $toString = callBound('Object.prototype.toString');
|
|
40613
|
+
/** @const @type {'[object RegExp]'} */
|
|
40614
|
+
var regexClass = '[object RegExp]';
|
|
40615
|
+
|
|
40616
|
+
/** @type {import('.')} */
|
|
40617
|
+
fn = function isRegex(value) {
|
|
40618
|
+
// In older browsers, typeof regex incorrectly returns 'function'
|
|
40619
|
+
if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
|
|
40620
|
+
return false;
|
|
40621
|
+
}
|
|
40622
|
+
|
|
40623
|
+
return $toString(value) === regexClass;
|
|
40624
|
+
};
|
|
40625
|
+
}
|
|
40626
|
+
|
|
40627
|
+
module.exports = fn;
|
|
40628
|
+
|
|
40629
|
+
},{"call-bound":44,"gopd":105,"has-tostringtag/shams":109,"hasown":110}],117:[function(require,module,exports){
|
|
40495
40630
|
'use strict';
|
|
40496
40631
|
|
|
40497
40632
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -40501,7 +40636,7 @@ module.exports = function isTypedArray(value) {
|
|
|
40501
40636
|
return !!whichTypedArray(value);
|
|
40502
40637
|
};
|
|
40503
40638
|
|
|
40504
|
-
},{"which-typed-array":
|
|
40639
|
+
},{"which-typed-array":167}],118:[function(require,module,exports){
|
|
40505
40640
|
'use strict';
|
|
40506
40641
|
|
|
40507
40642
|
var _fs = require('fs');
|
|
@@ -40878,7 +41013,7 @@ exports.fromBuffer = fromBuffer;
|
|
|
40878
41013
|
exports.parse = async;
|
|
40879
41014
|
exports.parseSync = sync;
|
|
40880
41015
|
|
|
40881
|
-
},{"./tags.json":
|
|
41016
|
+
},{"./tags.json":119,"fs":35}],119:[function(require,module,exports){
|
|
40882
41017
|
module.exports={
|
|
40883
41018
|
"ifd": {
|
|
40884
41019
|
"010e": "ImageDescription",
|
|
@@ -41019,7 +41154,7 @@ module.exports={
|
|
|
41019
41154
|
"001f": "GPSHPositioningError"
|
|
41020
41155
|
}
|
|
41021
41156
|
}
|
|
41022
|
-
},{}],
|
|
41157
|
+
},{}],120:[function(require,module,exports){
|
|
41023
41158
|
var $kQ2hT$unicodetrie = require("unicode-trie");
|
|
41024
41159
|
var $kQ2hT$base64js = require("base64-js");
|
|
41025
41160
|
|
|
@@ -42390,7 +42525,7 @@ module.exports = $f898ea50f3b38ab8$var$LineBreaker;
|
|
|
42390
42525
|
|
|
42391
42526
|
|
|
42392
42527
|
|
|
42393
|
-
},{"base64-js":
|
|
42528
|
+
},{"base64-js":121,"unicode-trie":161}],121:[function(require,module,exports){
|
|
42394
42529
|
var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
42395
42530
|
|
|
42396
42531
|
;(function (exports) {
|
|
@@ -42516,37 +42651,64 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
|
42516
42651
|
exports.fromByteArray = uint8ToBase64
|
|
42517
42652
|
}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
|
|
42518
42653
|
|
|
42519
|
-
},{}],
|
|
42654
|
+
},{}],122:[function(require,module,exports){
|
|
42520
42655
|
'use strict';
|
|
42521
42656
|
|
|
42522
42657
|
/** @type {import('./abs')} */
|
|
42523
42658
|
module.exports = Math.abs;
|
|
42524
42659
|
|
|
42525
|
-
},{}],
|
|
42660
|
+
},{}],123:[function(require,module,exports){
|
|
42526
42661
|
'use strict';
|
|
42527
42662
|
|
|
42528
42663
|
/** @type {import('./floor')} */
|
|
42529
42664
|
module.exports = Math.floor;
|
|
42530
42665
|
|
|
42531
|
-
},{}],
|
|
42666
|
+
},{}],124:[function(require,module,exports){
|
|
42667
|
+
'use strict';
|
|
42668
|
+
|
|
42669
|
+
/** @type {import('./isNaN')} */
|
|
42670
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
42671
|
+
return a !== a;
|
|
42672
|
+
};
|
|
42673
|
+
|
|
42674
|
+
},{}],125:[function(require,module,exports){
|
|
42532
42675
|
'use strict';
|
|
42533
42676
|
|
|
42534
42677
|
/** @type {import('./max')} */
|
|
42535
42678
|
module.exports = Math.max;
|
|
42536
42679
|
|
|
42537
|
-
},{}],
|
|
42680
|
+
},{}],126:[function(require,module,exports){
|
|
42538
42681
|
'use strict';
|
|
42539
42682
|
|
|
42540
42683
|
/** @type {import('./min')} */
|
|
42541
42684
|
module.exports = Math.min;
|
|
42542
42685
|
|
|
42543
|
-
},{}],
|
|
42686
|
+
},{}],127:[function(require,module,exports){
|
|
42544
42687
|
'use strict';
|
|
42545
42688
|
|
|
42546
42689
|
/** @type {import('./pow')} */
|
|
42547
42690
|
module.exports = Math.pow;
|
|
42548
42691
|
|
|
42549
|
-
},{}],
|
|
42692
|
+
},{}],128:[function(require,module,exports){
|
|
42693
|
+
'use strict';
|
|
42694
|
+
|
|
42695
|
+
/** @type {import('./round')} */
|
|
42696
|
+
module.exports = Math.round;
|
|
42697
|
+
|
|
42698
|
+
},{}],129:[function(require,module,exports){
|
|
42699
|
+
'use strict';
|
|
42700
|
+
|
|
42701
|
+
var $isNaN = require('./isNaN');
|
|
42702
|
+
|
|
42703
|
+
/** @type {import('./sign')} */
|
|
42704
|
+
module.exports = function sign(number) {
|
|
42705
|
+
if ($isNaN(number) || number === 0) {
|
|
42706
|
+
return number;
|
|
42707
|
+
}
|
|
42708
|
+
return number < 0 ? -1 : +1;
|
|
42709
|
+
};
|
|
42710
|
+
|
|
42711
|
+
},{"./isNaN":124}],130:[function(require,module,exports){
|
|
42550
42712
|
'use strict';
|
|
42551
42713
|
|
|
42552
42714
|
var keysShim;
|
|
@@ -42670,7 +42832,7 @@ if (!Object.keys) {
|
|
|
42670
42832
|
}
|
|
42671
42833
|
module.exports = keysShim;
|
|
42672
42834
|
|
|
42673
|
-
},{"./isArguments":
|
|
42835
|
+
},{"./isArguments":132}],131:[function(require,module,exports){
|
|
42674
42836
|
'use strict';
|
|
42675
42837
|
|
|
42676
42838
|
var slice = Array.prototype.slice;
|
|
@@ -42704,7 +42866,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
42704
42866
|
|
|
42705
42867
|
module.exports = keysShim;
|
|
42706
42868
|
|
|
42707
|
-
},{"./implementation":
|
|
42869
|
+
},{"./implementation":130,"./isArguments":132}],132:[function(require,module,exports){
|
|
42708
42870
|
'use strict';
|
|
42709
42871
|
|
|
42710
42872
|
var toStr = Object.prototype.toString;
|
|
@@ -42723,7 +42885,7 @@ module.exports = function isArguments(value) {
|
|
|
42723
42885
|
return isArgs;
|
|
42724
42886
|
};
|
|
42725
42887
|
|
|
42726
|
-
},{}],
|
|
42888
|
+
},{}],133:[function(require,module,exports){
|
|
42727
42889
|
'use strict';
|
|
42728
42890
|
|
|
42729
42891
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -42771,7 +42933,7 @@ module.exports = function assign(target, source1) {
|
|
|
42771
42933
|
return to; // step 4
|
|
42772
42934
|
};
|
|
42773
42935
|
|
|
42774
|
-
},{"call-bound":44,"es-object-atoms":93,"has-symbols/shams":
|
|
42936
|
+
},{"call-bound":44,"es-object-atoms":93,"has-symbols/shams":108,"object-keys":131}],134:[function(require,module,exports){
|
|
42775
42937
|
'use strict';
|
|
42776
42938
|
|
|
42777
42939
|
var implementation = require('./implementation');
|
|
@@ -42828,7 +42990,7 @@ module.exports = function getPolyfill() {
|
|
|
42828
42990
|
return Object.assign;
|
|
42829
42991
|
};
|
|
42830
42992
|
|
|
42831
|
-
},{"./implementation":
|
|
42993
|
+
},{"./implementation":133}],135:[function(require,module,exports){
|
|
42832
42994
|
(function (Buffer){(function (){
|
|
42833
42995
|
/*
|
|
42834
42996
|
* MIT LICENSE
|
|
@@ -43234,11 +43396,12 @@ module.exports = class PNG {
|
|
|
43234
43396
|
};
|
|
43235
43397
|
|
|
43236
43398
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
43237
|
-
},{"buffer":36,"fs":35,"zlib":23}],
|
|
43399
|
+
},{"buffer":36,"fs":35,"zlib":23}],136:[function(require,module,exports){
|
|
43238
43400
|
'use strict';
|
|
43239
43401
|
|
|
43240
43402
|
/** @type {import('.')} */
|
|
43241
43403
|
module.exports = [
|
|
43404
|
+
'Float16Array',
|
|
43242
43405
|
'Float32Array',
|
|
43243
43406
|
'Float64Array',
|
|
43244
43407
|
'Int8Array',
|
|
@@ -43252,7 +43415,7 @@ module.exports = [
|
|
|
43252
43415
|
'BigUint64Array'
|
|
43253
43416
|
];
|
|
43254
43417
|
|
|
43255
|
-
},{}],
|
|
43418
|
+
},{}],137:[function(require,module,exports){
|
|
43256
43419
|
// shim for using process in browser
|
|
43257
43420
|
var process = module.exports = {};
|
|
43258
43421
|
|
|
@@ -43438,7 +43601,7 @@ process.chdir = function (dir) {
|
|
|
43438
43601
|
};
|
|
43439
43602
|
process.umask = function() { return 0; };
|
|
43440
43603
|
|
|
43441
|
-
},{}],
|
|
43604
|
+
},{}],138:[function(require,module,exports){
|
|
43442
43605
|
|
|
43443
43606
|
function $parcel$exportWildcard(dest, source) {
|
|
43444
43607
|
Object.keys(source).forEach(function(key) {
|
|
@@ -44459,7 +44622,7 @@ $parcel$exportWildcard(module.exports, $92184962f8f0d5e2$exports);
|
|
|
44459
44622
|
|
|
44460
44623
|
|
|
44461
44624
|
|
|
44462
|
-
},{}],
|
|
44625
|
+
},{}],139:[function(require,module,exports){
|
|
44463
44626
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
44464
44627
|
/* eslint-disable node/no-deprecated-api */
|
|
44465
44628
|
var buffer = require('buffer')
|
|
@@ -44526,7 +44689,26 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
44526
44689
|
return buffer.SlowBuffer(size)
|
|
44527
44690
|
}
|
|
44528
44691
|
|
|
44529
|
-
},{"buffer":36}],
|
|
44692
|
+
},{"buffer":36}],140:[function(require,module,exports){
|
|
44693
|
+
'use strict';
|
|
44694
|
+
|
|
44695
|
+
var callBound = require('call-bound');
|
|
44696
|
+
var isRegex = require('is-regex');
|
|
44697
|
+
|
|
44698
|
+
var $exec = callBound('RegExp.prototype.exec');
|
|
44699
|
+
var $TypeError = require('es-errors/type');
|
|
44700
|
+
|
|
44701
|
+
/** @type {import('.')} */
|
|
44702
|
+
module.exports = function regexTester(regex) {
|
|
44703
|
+
if (!isRegex(regex)) {
|
|
44704
|
+
throw new $TypeError('`regex` must be a RegExp');
|
|
44705
|
+
}
|
|
44706
|
+
return function test(s) {
|
|
44707
|
+
return $exec(regex, s) !== null;
|
|
44708
|
+
};
|
|
44709
|
+
};
|
|
44710
|
+
|
|
44711
|
+
},{"call-bound":44,"es-errors/type":91,"is-regex":116}],141:[function(require,module,exports){
|
|
44530
44712
|
'use strict';
|
|
44531
44713
|
|
|
44532
44714
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -44570,7 +44752,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
44570
44752
|
return fn;
|
|
44571
44753
|
};
|
|
44572
44754
|
|
|
44573
|
-
},{"define-data-property":82,"es-errors/type":91,"get-intrinsic":100,"gopd":
|
|
44755
|
+
},{"define-data-property":82,"es-errors/type":91,"get-intrinsic":100,"gopd":105,"has-property-descriptors":106}],142:[function(require,module,exports){
|
|
44574
44756
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
44575
44757
|
//
|
|
44576
44758
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -44701,7 +44883,7 @@ Stream.prototype.pipe = function(dest, options) {
|
|
|
44701
44883
|
return dest;
|
|
44702
44884
|
};
|
|
44703
44885
|
|
|
44704
|
-
},{"events":94,"inherits":
|
|
44886
|
+
},{"events":94,"inherits":112,"readable-stream/lib/_stream_duplex.js":144,"readable-stream/lib/_stream_passthrough.js":145,"readable-stream/lib/_stream_readable.js":146,"readable-stream/lib/_stream_transform.js":147,"readable-stream/lib/_stream_writable.js":148,"readable-stream/lib/internal/streams/end-of-stream.js":152,"readable-stream/lib/internal/streams/pipeline.js":154}],143:[function(require,module,exports){
|
|
44705
44887
|
'use strict';
|
|
44706
44888
|
|
|
44707
44889
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
|
@@ -44830,7 +45012,7 @@ createErrorType('ERR_UNKNOWN_ENCODING', function (arg) {
|
|
|
44830
45012
|
createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');
|
|
44831
45013
|
module.exports.codes = codes;
|
|
44832
45014
|
|
|
44833
|
-
},{}],
|
|
45015
|
+
},{}],144:[function(require,module,exports){
|
|
44834
45016
|
(function (process){(function (){
|
|
44835
45017
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
44836
45018
|
//
|
|
@@ -44959,7 +45141,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
|
|
|
44959
45141
|
}
|
|
44960
45142
|
});
|
|
44961
45143
|
}).call(this)}).call(this,require('_process'))
|
|
44962
|
-
},{"./_stream_readable":
|
|
45144
|
+
},{"./_stream_readable":146,"./_stream_writable":148,"_process":137,"inherits":112}],145:[function(require,module,exports){
|
|
44963
45145
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
44964
45146
|
//
|
|
44965
45147
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -44997,7 +45179,7 @@ function PassThrough(options) {
|
|
|
44997
45179
|
PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
44998
45180
|
cb(null, chunk);
|
|
44999
45181
|
};
|
|
45000
|
-
},{"./_stream_transform":
|
|
45182
|
+
},{"./_stream_transform":147,"inherits":112}],146:[function(require,module,exports){
|
|
45001
45183
|
(function (process,global){(function (){
|
|
45002
45184
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
45003
45185
|
//
|
|
@@ -46027,7 +46209,7 @@ function indexOf(xs, x) {
|
|
|
46027
46209
|
return -1;
|
|
46028
46210
|
}
|
|
46029
46211
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
46030
|
-
},{"../errors":
|
|
46212
|
+
},{"../errors":143,"./_stream_duplex":144,"./internal/streams/async_iterator":149,"./internal/streams/buffer_list":150,"./internal/streams/destroy":151,"./internal/streams/from":153,"./internal/streams/state":155,"./internal/streams/stream":156,"_process":137,"buffer":36,"events":94,"inherits":112,"string_decoder/":157,"util":21}],147:[function(require,module,exports){
|
|
46031
46213
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
46032
46214
|
//
|
|
46033
46215
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -46218,7 +46400,7 @@ function done(stream, er, data) {
|
|
|
46218
46400
|
if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();
|
|
46219
46401
|
return stream.push(null);
|
|
46220
46402
|
}
|
|
46221
|
-
},{"../errors":
|
|
46403
|
+
},{"../errors":143,"./_stream_duplex":144,"inherits":112}],148:[function(require,module,exports){
|
|
46222
46404
|
(function (process,global){(function (){
|
|
46223
46405
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
46224
46406
|
//
|
|
@@ -46862,7 +47044,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
46862
47044
|
cb(err);
|
|
46863
47045
|
};
|
|
46864
47046
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
46865
|
-
},{"../errors":
|
|
47047
|
+
},{"../errors":143,"./_stream_duplex":144,"./internal/streams/destroy":151,"./internal/streams/state":155,"./internal/streams/stream":156,"_process":137,"buffer":36,"inherits":112,"util-deprecate":163}],149:[function(require,module,exports){
|
|
46866
47048
|
(function (process){(function (){
|
|
46867
47049
|
'use strict';
|
|
46868
47050
|
|
|
@@ -47045,7 +47227,7 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat
|
|
|
47045
47227
|
};
|
|
47046
47228
|
module.exports = createReadableStreamAsyncIterator;
|
|
47047
47229
|
}).call(this)}).call(this,require('_process'))
|
|
47048
|
-
},{"./end-of-stream":
|
|
47230
|
+
},{"./end-of-stream":152,"_process":137}],150:[function(require,module,exports){
|
|
47049
47231
|
'use strict';
|
|
47050
47232
|
|
|
47051
47233
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -47229,7 +47411,7 @@ module.exports = /*#__PURE__*/function () {
|
|
|
47229
47411
|
}]);
|
|
47230
47412
|
return BufferList;
|
|
47231
47413
|
}();
|
|
47232
|
-
},{"buffer":36,"util":21}],
|
|
47414
|
+
},{"buffer":36,"util":21}],151:[function(require,module,exports){
|
|
47233
47415
|
(function (process){(function (){
|
|
47234
47416
|
'use strict';
|
|
47235
47417
|
|
|
@@ -47328,7 +47510,7 @@ module.exports = {
|
|
|
47328
47510
|
errorOrDestroy: errorOrDestroy
|
|
47329
47511
|
};
|
|
47330
47512
|
}).call(this)}).call(this,require('_process'))
|
|
47331
|
-
},{"_process":
|
|
47513
|
+
},{"_process":137}],152:[function(require,module,exports){
|
|
47332
47514
|
// Ported from https://github.com/mafintosh/end-of-stream with
|
|
47333
47515
|
// permission from the author, Mathias Buus (@mafintosh).
|
|
47334
47516
|
|
|
@@ -47415,12 +47597,12 @@ function eos(stream, opts, callback) {
|
|
|
47415
47597
|
};
|
|
47416
47598
|
}
|
|
47417
47599
|
module.exports = eos;
|
|
47418
|
-
},{"../../../errors":
|
|
47600
|
+
},{"../../../errors":143}],153:[function(require,module,exports){
|
|
47419
47601
|
module.exports = function () {
|
|
47420
47602
|
throw new Error('Readable.from is not available in the browser')
|
|
47421
47603
|
};
|
|
47422
47604
|
|
|
47423
|
-
},{}],
|
|
47605
|
+
},{}],154:[function(require,module,exports){
|
|
47424
47606
|
// Ported from https://github.com/mafintosh/pump with
|
|
47425
47607
|
// permission from the author, Mathias Buus (@mafintosh).
|
|
47426
47608
|
|
|
@@ -47507,7 +47689,7 @@ function pipeline() {
|
|
|
47507
47689
|
return streams.reduce(pipe);
|
|
47508
47690
|
}
|
|
47509
47691
|
module.exports = pipeline;
|
|
47510
|
-
},{"../../../errors":
|
|
47692
|
+
},{"../../../errors":143,"./end-of-stream":152}],155:[function(require,module,exports){
|
|
47511
47693
|
'use strict';
|
|
47512
47694
|
|
|
47513
47695
|
var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;
|
|
@@ -47530,10 +47712,10 @@ function getHighWaterMark(state, options, duplexKey, isDuplex) {
|
|
|
47530
47712
|
module.exports = {
|
|
47531
47713
|
getHighWaterMark: getHighWaterMark
|
|
47532
47714
|
};
|
|
47533
|
-
},{"../../../errors":
|
|
47715
|
+
},{"../../../errors":143}],156:[function(require,module,exports){
|
|
47534
47716
|
module.exports = require('events').EventEmitter;
|
|
47535
47717
|
|
|
47536
|
-
},{"events":94}],
|
|
47718
|
+
},{"events":94}],157:[function(require,module,exports){
|
|
47537
47719
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
47538
47720
|
//
|
|
47539
47721
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -47830,7 +48012,7 @@ function simpleWrite(buf) {
|
|
|
47830
48012
|
function simpleEnd(buf) {
|
|
47831
48013
|
return buf && buf.length ? this.write(buf) : '';
|
|
47832
48014
|
}
|
|
47833
|
-
},{"safe-buffer":
|
|
48015
|
+
},{"safe-buffer":139}],158:[function(require,module,exports){
|
|
47834
48016
|
var TINF_OK = 0;
|
|
47835
48017
|
var TINF_DATA_ERROR = -3;
|
|
47836
48018
|
|
|
@@ -48207,7 +48389,7 @@ length_base[28] = 258;
|
|
|
48207
48389
|
|
|
48208
48390
|
module.exports = tinf_uncompress;
|
|
48209
48391
|
|
|
48210
|
-
},{}],
|
|
48392
|
+
},{}],159:[function(require,module,exports){
|
|
48211
48393
|
(function (global){(function (){
|
|
48212
48394
|
/******************************************************************************
|
|
48213
48395
|
Copyright (c) Microsoft Corporation.
|
|
@@ -48695,7 +48877,7 @@ var __rewriteRelativeImportExtension;
|
|
|
48695
48877
|
});
|
|
48696
48878
|
|
|
48697
48879
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
48698
|
-
},{}],
|
|
48880
|
+
},{}],160:[function(require,module,exports){
|
|
48699
48881
|
var $c5L0i$base64js = require("base64-js");
|
|
48700
48882
|
var $c5L0i$unicodetrie = require("unicode-trie");
|
|
48701
48883
|
|
|
@@ -48847,7 +49029,7 @@ $43d7963e56408b24$export$2e2bcd8739ae039 = {
|
|
|
48847
49029
|
|
|
48848
49030
|
|
|
48849
49031
|
|
|
48850
|
-
},{"base64-js":9,"unicode-trie":
|
|
49032
|
+
},{"base64-js":9,"unicode-trie":161}],161:[function(require,module,exports){
|
|
48851
49033
|
const inflate = require('tiny-inflate');
|
|
48852
49034
|
const { swap32LE } = require('./swap');
|
|
48853
49035
|
|
|
@@ -48984,7 +49166,7 @@ class UnicodeTrie {
|
|
|
48984
49166
|
}
|
|
48985
49167
|
|
|
48986
49168
|
module.exports = UnicodeTrie;
|
|
48987
|
-
},{"./swap":
|
|
49169
|
+
},{"./swap":162,"tiny-inflate":158}],162:[function(require,module,exports){
|
|
48988
49170
|
const isBigEndian = (new Uint8Array(new Uint32Array([0x12345678]).buffer)[0] === 0x12);
|
|
48989
49171
|
|
|
48990
49172
|
const swap = (b, n, m) => {
|
|
@@ -49011,7 +49193,7 @@ module.exports = {
|
|
|
49011
49193
|
swap32LE: swap32LE
|
|
49012
49194
|
};
|
|
49013
49195
|
|
|
49014
|
-
},{}],
|
|
49196
|
+
},{}],163:[function(require,module,exports){
|
|
49015
49197
|
(function (global){(function (){
|
|
49016
49198
|
|
|
49017
49199
|
/**
|
|
@@ -49082,9 +49264,9 @@ function config (name) {
|
|
|
49082
49264
|
}
|
|
49083
49265
|
|
|
49084
49266
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
49085
|
-
},{}],
|
|
49267
|
+
},{}],164:[function(require,module,exports){
|
|
49086
49268
|
arguments[4][6][0].apply(exports,arguments)
|
|
49087
|
-
},{"dup":6}],
|
|
49269
|
+
},{"dup":6}],165:[function(require,module,exports){
|
|
49088
49270
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
49089
49271
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
49090
49272
|
|
|
@@ -49420,7 +49602,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
49420
49602
|
});
|
|
49421
49603
|
});
|
|
49422
49604
|
|
|
49423
|
-
},{"is-arguments":
|
|
49605
|
+
},{"is-arguments":113,"is-generator-function":115,"is-typed-array":117,"which-typed-array":167}],166:[function(require,module,exports){
|
|
49424
49606
|
(function (process){(function (){
|
|
49425
49607
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
49426
49608
|
//
|
|
@@ -50139,7 +50321,7 @@ function callbackify(original) {
|
|
|
50139
50321
|
exports.callbackify = callbackify;
|
|
50140
50322
|
|
|
50141
50323
|
}).call(this)}).call(this,require('_process'))
|
|
50142
|
-
},{"./support/isBuffer":
|
|
50324
|
+
},{"./support/isBuffer":164,"./support/types":165,"_process":137,"inherits":112}],167:[function(require,module,exports){
|
|
50143
50325
|
(function (global){(function (){
|
|
50144
50326
|
'use strict';
|
|
50145
50327
|
|
|
@@ -50148,8 +50330,8 @@ var availableTypedArrays = require('available-typed-arrays');
|
|
|
50148
50330
|
var callBind = require('call-bind');
|
|
50149
50331
|
var callBound = require('call-bound');
|
|
50150
50332
|
var gOPD = require('gopd');
|
|
50333
|
+
var getProto = require('get-proto');
|
|
50151
50334
|
|
|
50152
|
-
/** @type {(O: object) => string} */
|
|
50153
50335
|
var $toString = callBound('Object.prototype.toString');
|
|
50154
50336
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
50155
50337
|
|
|
@@ -50157,7 +50339,6 @@ var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
|
50157
50339
|
var typedArrays = availableTypedArrays();
|
|
50158
50340
|
|
|
50159
50341
|
var $slice = callBound('String.prototype.slice');
|
|
50160
|
-
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
50161
50342
|
|
|
50162
50343
|
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
50163
50344
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
@@ -50169,18 +50350,18 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar
|
|
|
50169
50350
|
return -1;
|
|
50170
50351
|
};
|
|
50171
50352
|
|
|
50172
|
-
/** @typedef {
|
|
50173
|
-
/** @type {
|
|
50353
|
+
/** @typedef {import('./types').Getter} Getter */
|
|
50354
|
+
/** @type {import('./types').Cache} */
|
|
50174
50355
|
var cache = { __proto__: null };
|
|
50175
|
-
if (hasToStringTag && gOPD &&
|
|
50356
|
+
if (hasToStringTag && gOPD && getProto) {
|
|
50176
50357
|
forEach(typedArrays, function (typedArray) {
|
|
50177
50358
|
var arr = new g[typedArray]();
|
|
50178
|
-
if (Symbol.toStringTag in arr) {
|
|
50179
|
-
var proto =
|
|
50359
|
+
if (Symbol.toStringTag in arr && getProto) {
|
|
50360
|
+
var proto = getProto(arr);
|
|
50180
50361
|
// @ts-expect-error TS won't narrow inside a closure
|
|
50181
50362
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
50182
|
-
if (!descriptor) {
|
|
50183
|
-
var superProto =
|
|
50363
|
+
if (!descriptor && proto) {
|
|
50364
|
+
var superProto = getProto(proto);
|
|
50184
50365
|
// @ts-expect-error TS won't narrow inside a closure
|
|
50185
50366
|
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
50186
50367
|
}
|
|
@@ -50193,8 +50374,12 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
|
50193
50374
|
var arr = new g[typedArray]();
|
|
50194
50375
|
var fn = arr.slice || arr.set;
|
|
50195
50376
|
if (fn) {
|
|
50196
|
-
|
|
50197
|
-
|
|
50377
|
+
cache[
|
|
50378
|
+
/** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
|
|
50379
|
+
] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
|
|
50380
|
+
// @ts-expect-error TODO FIXME
|
|
50381
|
+
callBind(fn)
|
|
50382
|
+
);
|
|
50198
50383
|
}
|
|
50199
50384
|
});
|
|
50200
50385
|
}
|
|
@@ -50203,15 +50388,14 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
|
50203
50388
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
50204
50389
|
/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;
|
|
50205
50390
|
forEach(
|
|
50206
|
-
|
|
50207
|
-
/** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
|
|
50391
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */ (cache),
|
|
50208
50392
|
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
50209
50393
|
function (getter, typedArray) {
|
|
50210
50394
|
if (!found) {
|
|
50211
50395
|
try {
|
|
50212
|
-
|
|
50396
|
+
// @ts-expect-error a throw is fine here
|
|
50213
50397
|
if ('$' + getter(value) === typedArray) {
|
|
50214
|
-
found = $slice(typedArray, 1);
|
|
50398
|
+
found = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));
|
|
50215
50399
|
}
|
|
50216
50400
|
} catch (e) { /**/ }
|
|
50217
50401
|
}
|
|
@@ -50224,14 +50408,13 @@ var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
|
50224
50408
|
var trySlices = function tryAllSlices(value) {
|
|
50225
50409
|
/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;
|
|
50226
50410
|
forEach(
|
|
50227
|
-
|
|
50228
|
-
/** @type {
|
|
50229
|
-
/** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
|
|
50411
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */(cache),
|
|
50412
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
|
|
50230
50413
|
if (!found) {
|
|
50231
50414
|
try {
|
|
50232
|
-
// @ts-expect-error
|
|
50415
|
+
// @ts-expect-error a throw is fine here
|
|
50233
50416
|
getter(value);
|
|
50234
|
-
found = $slice(name, 1);
|
|
50417
|
+
found = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));
|
|
50235
50418
|
} catch (e) { /**/ }
|
|
50236
50419
|
}
|
|
50237
50420
|
}
|
|
@@ -50259,5 +50442,5 @@ module.exports = function whichTypedArray(value) {
|
|
|
50259
50442
|
};
|
|
50260
50443
|
|
|
50261
50444
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
50262
|
-
},{"available-typed-arrays":8,"call-bind":43,"call-bound":44,"for-each":97,"gopd":
|
|
50445
|
+
},{"available-typed-arrays":8,"call-bind":43,"call-bound":44,"for-each":97,"get-proto":103,"gopd":105,"has-tostringtag/shams":109}]},{},[1])(1)
|
|
50263
50446
|
});
|