@parcel/utils 2.3.2 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -83,10 +83,8 @@ parcelRequire.register("iGlOy", function(module, exports) {
83
83
  parcelRequire.register("ai0Z9", function(module, exports) {
84
84
 
85
85
  var $iGlOy = parcelRequire("iGlOy");
86
- module.exports = $iGlOy.md = $iGlOy.md || {
87
- };
88
- $iGlOy.md.algorithms = $iGlOy.md.algorithms || {
89
- };
86
+ module.exports = $iGlOy.md = $iGlOy.md || {};
87
+ $iGlOy.md.algorithms = $iGlOy.md.algorithms || {};
90
88
 
91
89
  });
92
90
 
@@ -138,8 +136,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === 'object' &&
138
136
  }
139
137
  const isState = $304f14c7e435813f$var$isObject(glob) && glob.tokens && glob.input;
140
138
  if (glob === '' || typeof glob !== 'string' && !isState) throw new TypeError('Expected pattern to be a non-empty string');
141
- const opts = options || {
142
- };
139
+ const opts = options || {};
143
140
  const posix = $5MQDC.isWindows(options);
144
141
  const regex = isState ? $304f14c7e435813f$var$picomatch.compileRe(glob, options) : $304f14c7e435813f$var$picomatch.makeRe(glob, options, false, true);
145
142
  const state1 = regex.state;
@@ -201,15 +198,13 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === 'object' &&
201
198
  * @param {RegExp} `regex`
202
199
  * @return {Object} Returns an object with matching info.
203
200
  * @api public
204
- */ $304f14c7e435813f$var$picomatch.test = (input, regex, options, { glob: glob , posix: posix } = {
205
- })=>{
201
+ */ $304f14c7e435813f$var$picomatch.test = (input, regex, options, { glob: glob , posix: posix } = {})=>{
206
202
  if (typeof input !== 'string') throw new TypeError('Expected input to be a string');
207
203
  if (input === '') return {
208
204
  isMatch: false,
209
205
  output: ''
210
206
  };
211
- const opts = options || {
212
- };
207
+ const opts = options || {};
213
208
  const format = opts.format || (posix ? $5MQDC.toPosixSlashes : null);
214
209
  let match = input === glob;
215
210
  let output = match && format ? format(input) : input;
@@ -319,8 +314,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === 'object' &&
319
314
  * @api public
320
315
  */ $304f14c7e435813f$var$picomatch.compileRe = (state, options, returnOutput = false, returnState = false)=>{
321
316
  if (returnOutput === true) return state.output;
322
- const opts = options || {
323
- };
317
+ const opts = options || {};
324
318
  const prepend = opts.contains ? '' : '^';
325
319
  const append = opts.contains ? '' : '$';
326
320
  let source = `${prepend}(?:${state.output})${append}`;
@@ -346,8 +340,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === 'object' &&
346
340
  * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
347
341
  * @return {RegExp} Returns a regex created from the given pattern.
348
342
  * @api public
349
- */ $304f14c7e435813f$var$picomatch.makeRe = (input, options = {
350
- }, returnOutput = false, returnState = false)=>{
343
+ */ $304f14c7e435813f$var$picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false)=>{
351
344
  if (!input || typeof input !== 'string') throw new TypeError('Expected a non-empty string');
352
345
  let parsed = {
353
346
  negated: false,
@@ -374,8 +367,7 @@ const $304f14c7e435813f$var$isObject = (val)=>val && typeof val === 'object' &&
374
367
  * @api public
375
368
  */ $304f14c7e435813f$var$picomatch.toRegex = (source, options)=>{
376
369
  try {
377
- const opts = options || {
378
- };
370
+ const opts = options || {};
379
371
  return new RegExp(source, opts.flags || (opts.nocase ? 'i' : ''));
380
372
  } catch (err) {
381
373
  if (options && options.debug === true) throw err;
@@ -434,8 +426,7 @@ const $1e0430853cfb927a$var$depth = (token)=>{
434
426
  * @return {Object} Returns an object with tokens and regex source string.
435
427
  * @api public
436
428
  */ const $1e0430853cfb927a$var$scan = (input, options)=>{
437
- const opts = options || {
438
- };
429
+ const opts = options || {};
439
430
  const length = input.length - 1;
440
431
  const scanToEnd = opts.parts === true || opts.scanToEnd === true;
441
432
  const slashes = [];
@@ -760,8 +751,7 @@ $436a44408af843d4$export$13d0f4185f159c8 = (input, char, lastIdx)=>{
760
751
  if (input[idx - 1] === '\\') return $436a44408af843d4$export$13d0f4185f159c8(input, char, idx - 1);
761
752
  return `${input.slice(0, idx)}\\${input.slice(idx)}`;
762
753
  };
763
- $436a44408af843d4$export$f2888183a34644d4 = (input, state = {
764
- })=>{
754
+ $436a44408af843d4$export$f2888183a34644d4 = (input, state = {})=>{
765
755
  let output = input;
766
756
  if (output.startsWith('./')) {
767
757
  output = output.slice(2);
@@ -769,9 +759,7 @@ $436a44408af843d4$export$f2888183a34644d4 = (input, state = {
769
759
  }
770
760
  return output;
771
761
  };
772
- $436a44408af843d4$export$25bddda26836484b = (input, state = {
773
- }, options = {
774
- })=>{
762
+ $436a44408af843d4$export$25bddda26836484b = (input, state = {}, options = {})=>{
775
763
  const prepend = options.contains ? '' : '^';
776
764
  const append = options.contains ? '' : '$';
777
765
  let output = `${prepend}(?:${input})${append}`;
@@ -1995,8 +1983,7 @@ function hasKey(obj, key) {
1995
1983
  }
1996
1984
  const INLINE_TABLE = Symbol('inline-table');
1997
1985
  function InlineTable() {
1998
- return Object.defineProperties({
1999
- }, {
1986
+ return Object.defineProperties({}, {
2000
1987
  [_type]: {
2001
1988
  value: INLINE_TABLE
2002
1989
  }
@@ -2008,8 +1995,7 @@ function isInlineTable(obj) {
2008
1995
  }
2009
1996
  const TABLE = Symbol('table');
2010
1997
  function Table() {
2011
- return Object.defineProperties({
2012
- }, {
1998
+ return Object.defineProperties({}, {
2013
1999
  [_type]: {
2014
2000
  value: TABLE
2015
2001
  },
@@ -2884,8 +2870,7 @@ class $64b5f7964fcf57fb$var$Parser {
2884
2870
  this.pos = 0;
2885
2871
  this.col = 0;
2886
2872
  this.line = 0;
2887
- this.obj = {
2888
- };
2873
+ this.obj = {};
2889
2874
  this.ctx = this.obj;
2890
2875
  this.stack = [];
2891
2876
  this._buf = '';
@@ -3103,11 +3088,13 @@ var $1Sf6D = parcelRequire("1Sf6D");
3103
3088
 
3104
3089
  var $ciuZ9 = parcelRequire("ciuZ9");
3105
3090
  function $6e1ae4ed5b62d1d9$var$parseAsync(str, opts) {
3106
- if (!opts) opts = {
3107
- };
3091
+ if (!opts) opts = {};
3108
3092
  const index1 = 0;
3109
3093
  const blocksize1 = opts.blocksize || 40960;
3110
3094
  const parser = new $1Sf6D();
3095
+ return new Promise((resolve, reject)=>{
3096
+ setImmediate(parseAsyncNext, index1, blocksize1, resolve, reject);
3097
+ });
3111
3098
  function parseAsyncNext(index, blocksize, resolve, reject) {
3112
3099
  if (index >= str.length) {
3113
3100
  try {
@@ -3123,9 +3110,6 @@ function $6e1ae4ed5b62d1d9$var$parseAsync(str, opts) {
3123
3110
  reject($ciuZ9(err, str));
3124
3111
  }
3125
3112
  }
3126
- return new Promise((resolve, reject)=>{
3127
- setImmediate(parseAsyncNext, index1, blocksize1, resolve, reject);
3128
- });
3129
3113
  }
3130
3114
 
3131
3115
  });
@@ -3235,8 +3219,7 @@ function $17af713ce388fcb8$var$getComplexKeys(obj) {
3235
3219
  function $17af713ce388fcb8$var$toJSON(obj) {
3236
3220
  let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {
3237
3221
  ['__proto__']: undefined
3238
- } : {
3239
- };
3222
+ } : {};
3240
3223
  for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) nobj[prop] = obj[prop].toJSON();
3241
3224
  else nobj[prop] = obj[prop];
3242
3225
  return nobj;
@@ -3671,12 +3654,10 @@ var $53abc20733f4b0dc$exports = {};
3671
3654
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3672
3655
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3673
3656
  * DEALINGS IN THE SOFTWARE.
3674
- */ var $53abc20733f4b0dc$var$api = {
3675
- };
3657
+ */ var $53abc20733f4b0dc$var$api = {};
3676
3658
  $53abc20733f4b0dc$exports = $53abc20733f4b0dc$var$api;
3677
3659
  // baseN alphabet indexes
3678
- var $53abc20733f4b0dc$var$_reverseAlphabets = {
3679
- };
3660
+ var $53abc20733f4b0dc$var$_reverseAlphabets = {};
3680
3661
  /**
3681
3662
  * BaseN-encodes a Uint8Array using the given alphabet.
3682
3663
  *
@@ -3788,8 +3769,7 @@ function $53abc20733f4b0dc$var$_encodeWithByteBuffer(input, alphabet) {
3788
3769
  }
3789
3770
 
3790
3771
 
3791
- /* Utilities API */ var $4143f576ffbec226$var$util = $4143f576ffbec226$exports = $iGlOy.util = $iGlOy.util || {
3792
- };
3772
+ /* Utilities API */ var $4143f576ffbec226$var$util = $4143f576ffbec226$exports = $iGlOy.util = $iGlOy.util || {};
3793
3773
  // define setImmediate and nextTick
3794
3774
  (function() {
3795
3775
  // use native nextTick (unless we're in webpack)
@@ -3879,10 +3859,10 @@ $4143f576ffbec226$var$util.isNodejs = typeof process !== 'undefined' && process.
3879
3859
  // it will point to `window` in the main thread.
3880
3860
  // To remain compatible with older browsers, we fall back to 'window' if 'self'
3881
3861
  // is not available.
3882
- $4143f576ffbec226$var$util.globalScope = (function() {
3862
+ $4143f576ffbec226$var$util.globalScope = function() {
3883
3863
  if ($4143f576ffbec226$var$util.isNodejs) return $parcel$global;
3884
3864
  return typeof self === 'undefined' ? window : self;
3885
- })();
3865
+ }();
3886
3866
  // define isArray
3887
3867
  $4143f576ffbec226$var$util.isArray = Array.isArray || function(x) {
3888
3868
  return Object.prototype.toString.call(x) === '[object Array]';
@@ -4361,8 +4341,7 @@ $4143f576ffbec226$var$util.ByteStringBuffer.prototype._optimizeConstructedString
4361
4341
  * first parameter, if it is a string (default: 'binary').
4362
4342
  */ function $4143f576ffbec226$var$DataBuffer(b, options) {
4363
4343
  // default options
4364
- options = options || {
4365
- };
4344
+ options = options || {};
4366
4345
  // pointers for read from/write to buffer
4367
4346
  this.read = options.readOffset || 0;
4368
4347
  this.growSize = options.growSize || 1024;
@@ -5160,14 +5139,10 @@ var $4143f576ffbec226$var$_base58 = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghij
5160
5139
  // binary encoding/decoding tools
5161
5140
  // FIXME: Experimental. Do not use yet.
5162
5141
  $4143f576ffbec226$var$util.binary = {
5163
- raw: {
5164
- },
5165
- hex: {
5166
- },
5167
- base64: {
5168
- },
5169
- base58: {
5170
- },
5142
+ raw: {},
5143
+ hex: {},
5144
+ base64: {},
5145
+ base58: {},
5171
5146
  baseN: {
5172
5147
  encode: $53abc20733f4b0dc$exports.encode,
5173
5148
  decode: $53abc20733f4b0dc$exports.decode
@@ -5308,10 +5283,8 @@ $4143f576ffbec226$var$util.binary.base58.decode = function(input, maxline) {
5308
5283
  // text encoding/decoding tools
5309
5284
  // FIXME: Experimental. Do not use yet.
5310
5285
  $4143f576ffbec226$var$util.text = {
5311
- utf8: {
5312
- },
5313
- utf16: {
5314
- }
5286
+ utf8: {},
5287
+ utf16: {}
5315
5288
  };
5316
5289
  /**
5317
5290
  * Encodes the given string as UTF-8 in a Uint8Array.
@@ -5475,8 +5448,7 @@ $4143f576ffbec226$var$util.text = {
5475
5448
  // get storage object
5476
5449
  var obj = $4143f576ffbec226$var$_getStorageObject(api, id);
5477
5450
  if (obj === null) // create a new storage object
5478
- obj = {
5479
- };
5451
+ obj = {};
5480
5452
  // update key
5481
5453
  obj[key] = data;
5482
5454
  // set storage object
@@ -5863,11 +5835,9 @@ $4143f576ffbec226$var$util.text = {
5863
5835
  */ $4143f576ffbec226$var$util.estimateCores = function(options, callback1) {
5864
5836
  if (typeof options === 'function') {
5865
5837
  callback1 = options;
5866
- options = {
5867
- };
5838
+ options = {};
5868
5839
  }
5869
- options = options || {
5870
- };
5840
+ options = options || {};
5871
5841
  if ('cores' in $4143f576ffbec226$var$util && !options.update) return callback1(null, $4143f576ffbec226$var$util.cores);
5872
5842
  if (typeof navigator !== 'undefined' && 'hardwareConcurrency' in navigator && navigator.hardwareConcurrency > 0) {
5873
5843
  $4143f576ffbec226$var$util.cores = navigator.hardwareConcurrency;
@@ -5957,11 +5927,9 @@ $4143f576ffbec226$var$util.text = {
5957
5927
  };
5958
5928
 
5959
5929
 
5960
- $871289bd32ea5f15$exports = $iGlOy.cipher = $iGlOy.cipher || {
5961
- };
5930
+ $871289bd32ea5f15$exports = $iGlOy.cipher = $iGlOy.cipher || {};
5962
5931
  // registered algorithms
5963
- $iGlOy.cipher.algorithms = $iGlOy.cipher.algorithms || {
5964
- };
5932
+ $iGlOy.cipher.algorithms = $iGlOy.cipher.algorithms || {};
5965
5933
  /**
5966
5934
  * Creates a cipher object that can be used to encrypt data using the given
5967
5935
  * algorithm and key. The algorithm may be provided as a string value for a
@@ -6073,10 +6041,8 @@ var $871289bd32ea5f15$var$BlockCipher = $iGlOy.cipher.BlockCipher = function(opt
6073
6041
  * binary-encoded string of bytes.
6074
6042
  * output the output the buffer to write to, null to create one.
6075
6043
  */ $871289bd32ea5f15$var$BlockCipher.prototype.start = function(options) {
6076
- options = options || {
6077
- };
6078
- var opts = {
6079
- };
6044
+ options = options || {};
6045
+ var opts = {};
6080
6046
  for(var key in options)opts[key] = options[key];
6081
6047
  opts.decrypt = this._decrypt;
6082
6048
  this._finish = false;
@@ -6115,8 +6081,7 @@ var $871289bd32ea5f15$var$BlockCipher = $iGlOy.cipher.BlockCipher = function(opt
6115
6081
  };
6116
6082
  }
6117
6083
  // build options for padding and afterFinish functions
6118
- var options = {
6119
- };
6084
+ var options = {};
6120
6085
  options.decrypt = this._decrypt;
6121
6086
  // get # of bytes that won't fill a block
6122
6087
  options.overflow = this._input.length() % this.blockSize;
@@ -6140,14 +6105,11 @@ var $8e7d87db09a5396f$exports = {};
6140
6105
 
6141
6106
  var $iGlOy = parcelRequire("iGlOy");
6142
6107
 
6143
- $iGlOy.cipher = $iGlOy.cipher || {
6144
- };
6108
+ $iGlOy.cipher = $iGlOy.cipher || {};
6145
6109
  // supported cipher modes
6146
- var $8e7d87db09a5396f$var$modes = $8e7d87db09a5396f$exports = $iGlOy.cipher.modes = $iGlOy.cipher.modes || {
6147
- };
6110
+ var $8e7d87db09a5396f$var$modes = $8e7d87db09a5396f$exports = $iGlOy.cipher.modes = $iGlOy.cipher.modes || {};
6148
6111
  /** Electronic codebook (ECB) (Don't use this; it's not secure) **/ $8e7d87db09a5396f$var$modes.ecb = function(options) {
6149
- options = options || {
6150
- };
6112
+ options = options || {};
6151
6113
  this.name = 'ECB';
6152
6114
  this.cipher = options.cipher;
6153
6115
  this.blockSize = options.blockSize || 16;
@@ -6155,8 +6117,7 @@ var $8e7d87db09a5396f$var$modes = $8e7d87db09a5396f$exports = $iGlOy.cipher.mode
6155
6117
  this._inBlock = new Array(this._ints);
6156
6118
  this._outBlock = new Array(this._ints);
6157
6119
  };
6158
- $8e7d87db09a5396f$var$modes.ecb.prototype.start = function(options) {
6159
- };
6120
+ $8e7d87db09a5396f$var$modes.ecb.prototype.start = function(options) {};
6160
6121
  $8e7d87db09a5396f$var$modes.ecb.prototype.encrypt = function(input, output, finish) {
6161
6122
  // not enough input to encrypt
6162
6123
  if (input.length() < this.blockSize && !(finish && input.length() > 0)) return true;
@@ -6196,8 +6157,7 @@ $8e7d87db09a5396f$var$modes.ecb.prototype.unpad = function(output, options) {
6196
6157
  return true;
6197
6158
  };
6198
6159
  /** Cipher-block Chaining (CBC) **/ $8e7d87db09a5396f$var$modes.cbc = function(options) {
6199
- options = options || {
6200
- };
6160
+ options = options || {};
6201
6161
  this.name = 'CBC';
6202
6162
  this.cipher = options.cipher;
6203
6163
  this.blockSize = options.blockSize || 16;
@@ -6262,8 +6222,7 @@ $8e7d87db09a5396f$var$modes.cbc.prototype.unpad = function(output, options) {
6262
6222
  return true;
6263
6223
  };
6264
6224
  /** Cipher feedback (CFB) **/ $8e7d87db09a5396f$var$modes.cfb = function(options) {
6265
- options = options || {
6266
- };
6225
+ options = options || {};
6267
6226
  this.name = 'CFB';
6268
6227
  this.cipher = options.cipher;
6269
6228
  this.blockSize = options.blockSize || 16;
@@ -6358,8 +6317,7 @@ $8e7d87db09a5396f$var$modes.cfb.prototype.decrypt = function(input, output, fini
6358
6317
  this._partialBytes = 0;
6359
6318
  };
6360
6319
  /** Output feedback (OFB) **/ $8e7d87db09a5396f$var$modes.ofb = function(options) {
6361
- options = options || {
6362
- };
6320
+ options = options || {};
6363
6321
  this.name = 'OFB';
6364
6322
  this.cipher = options.cipher;
6365
6323
  this.blockSize = options.blockSize || 16;
@@ -6413,8 +6371,7 @@ $8e7d87db09a5396f$var$modes.ofb.prototype.encrypt = function(input, output, fini
6413
6371
  };
6414
6372
  $8e7d87db09a5396f$var$modes.ofb.prototype.decrypt = $8e7d87db09a5396f$var$modes.ofb.prototype.encrypt;
6415
6373
  /** Counter (CTR) **/ $8e7d87db09a5396f$var$modes.ctr = function(options) {
6416
- options = options || {
6417
- };
6374
+ options = options || {};
6418
6375
  this.name = 'CTR';
6419
6376
  this.cipher = options.cipher;
6420
6377
  this.blockSize = options.blockSize || 16;
@@ -6464,8 +6421,7 @@ $8e7d87db09a5396f$var$modes.ctr.prototype.encrypt = function(input, output, fini
6464
6421
  };
6465
6422
  $8e7d87db09a5396f$var$modes.ctr.prototype.decrypt = $8e7d87db09a5396f$var$modes.ctr.prototype.encrypt;
6466
6423
  /** Galois/Counter Mode (GCM) **/ $8e7d87db09a5396f$var$modes.gcm = function(options) {
6467
- options = options || {
6468
- };
6424
+ options = options || {};
6469
6425
  this.name = 'GCM';
6470
6426
  this.cipher = options.cipher;
6471
6427
  this.blockSize = options.blockSize || 16;
@@ -6885,8 +6841,7 @@ function $8e7d87db09a5396f$var$from64To32(num) {
6885
6841
 
6886
6842
 
6887
6843
 
6888
- /* AES API */ $ca9d5cba0afae339$exports = $iGlOy.aes = $iGlOy.aes || {
6889
- };
6844
+ /* AES API */ $ca9d5cba0afae339$exports = $iGlOy.aes = $iGlOy.aes || {};
6890
6845
  /**
6891
6846
  * Deprecated. Instead, use:
6892
6847
  *
@@ -7806,8 +7761,7 @@ var $ca9d5cba0afae339$var$imix; // inverse mix-columns table
7806
7761
  *
7807
7762
  * @return the cipher.
7808
7763
  */ function $ca9d5cba0afae339$var$_createCipher(options1) {
7809
- options1 = options1 || {
7810
- };
7764
+ options1 = options1 || {};
7811
7765
  var mode = (options1.mode || 'CBC').toUpperCase();
7812
7766
  var algorithm = 'AES-' + mode;
7813
7767
  var cipher;
@@ -7820,11 +7774,9 @@ var $ca9d5cba0afae339$var$imix; // inverse mix-columns table
7820
7774
  var output = null;
7821
7775
  if (options instanceof $iGlOy.util.ByteBuffer) {
7822
7776
  output = options;
7823
- options = {
7824
- };
7777
+ options = {};
7825
7778
  }
7826
- options = options || {
7827
- };
7779
+ options = options || {};
7828
7780
  options.output = output;
7829
7781
  options.iv = iv;
7830
7782
  start.call(cipher, options);
@@ -7847,10 +7799,8 @@ var $iGlOy = parcelRequire("iGlOy");
7847
7799
  var $10862ec0f65326f9$exports = {};
7848
7800
 
7849
7801
  var $iGlOy = parcelRequire("iGlOy");
7850
- $iGlOy.pki = $iGlOy.pki || {
7851
- };
7852
- var $10862ec0f65326f9$var$oids = $10862ec0f65326f9$exports = $iGlOy.pki.oids = $iGlOy.oids = $iGlOy.oids || {
7853
- };
7802
+ $iGlOy.pki = $iGlOy.pki || {};
7803
+ var $10862ec0f65326f9$var$oids = $10862ec0f65326f9$exports = $iGlOy.pki.oids = $iGlOy.oids = $iGlOy.oids || {};
7854
7804
  // set id to name mapping and name to id mapping
7855
7805
  function $10862ec0f65326f9$var$_IN(id, name) {
7856
7806
  $10862ec0f65326f9$var$oids[id] = name;
@@ -8001,8 +7951,7 @@ $10862ec0f65326f9$var$_IN('1.3.6.1.5.5.7.3.4', 'emailProtection');
8001
7951
  $10862ec0f65326f9$var$_IN('1.3.6.1.5.5.7.3.8', 'timeStamping');
8002
7952
 
8003
7953
 
8004
- /* ASN.1 API */ var $579f29a8775d6845$var$asn1 = $579f29a8775d6845$exports = $iGlOy.asn1 = $iGlOy.asn1 || {
8005
- };
7954
+ /* ASN.1 API */ var $579f29a8775d6845$var$asn1 = $579f29a8775d6845$exports = $iGlOy.asn1 = $iGlOy.asn1 || {};
8006
7955
  /**
8007
7956
  * ASN.1 classes.
8008
7957
  */ $579f29a8775d6845$var$asn1.Class = {
@@ -8341,8 +8290,7 @@ $10862ec0f65326f9$var$_IN('1.3.6.1.5.5.7.3.8', 'timeStamping');
8341
8290
  if (used === length && (tc === $579f29a8775d6845$var$asn1.Class.UNIVERSAL || tc === $579f29a8775d6845$var$asn1.Class.CONTEXT_SPECIFIC)) value = [
8342
8291
  composed
8343
8292
  ];
8344
- } catch (ex) {
8345
- }
8293
+ } catch (ex) {}
8346
8294
  if (value === undefined) {
8347
8295
  // restore read position
8348
8296
  bytes.read = savedRead;
@@ -8951,8 +8899,7 @@ var $84d5ddf5dc7c5415$exports = {};
8951
8899
  var $iGlOy = parcelRequire("iGlOy");
8952
8900
  parcelRequire("ai0Z9");
8953
8901
 
8954
- /* HMAC API */ var $84d5ddf5dc7c5415$var$hmac = $84d5ddf5dc7c5415$exports = $iGlOy.hmac = $iGlOy.hmac || {
8955
- };
8902
+ /* HMAC API */ var $84d5ddf5dc7c5415$var$hmac = $84d5ddf5dc7c5415$exports = $iGlOy.hmac = $iGlOy.hmac || {};
8956
8903
  /**
8957
8904
  * Creates an HMAC object that uses the given message digest object.
8958
8905
  *
@@ -8967,8 +8914,7 @@ parcelRequire("ai0Z9");
8967
8914
  // the outer padding
8968
8915
  var _opadding = null;
8969
8916
  // hmac context
8970
- var ctx = {
8971
- };
8917
+ var ctx = {};
8972
8918
  /**
8973
8919
  * Starts or restarts the HMAC with the given key and message digest.
8974
8920
  *
@@ -9064,8 +9010,7 @@ var $a933e3938fe5f3ff$exports = {};
9064
9010
  var $iGlOy = parcelRequire("iGlOy");
9065
9011
  parcelRequire("ai0Z9");
9066
9012
 
9067
- var $a933e3938fe5f3ff$var$md5 = $a933e3938fe5f3ff$exports = $iGlOy.md5 = $iGlOy.md5 || {
9068
- };
9013
+ var $a933e3938fe5f3ff$var$md5 = $a933e3938fe5f3ff$exports = $iGlOy.md5 = $iGlOy.md5 || {};
9069
9014
  $iGlOy.md.md5 = $iGlOy.md.algorithms.md5 = $a933e3938fe5f3ff$var$md5;
9070
9015
  /**
9071
9016
  * Creates an MD5 message digest object.
@@ -9424,8 +9369,7 @@ var $6c81a009b991fd79$exports = {};
9424
9369
  var $iGlOy = parcelRequire("iGlOy");
9425
9370
 
9426
9371
  // shortcut for pem API
9427
- var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.pem || {
9428
- };
9372
+ var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.pem || {};
9429
9373
  /**
9430
9374
  * Encodes (serializes) the given PEM object.
9431
9375
  *
@@ -9435,8 +9379,7 @@ var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.
9435
9379
  *
9436
9380
  * @return the PEM-formatted string.
9437
9381
  */ $6c81a009b991fd79$var$pem.encode = function(msg, options) {
9438
- options = options || {
9439
- };
9382
+ options = options || {};
9440
9383
  var rval = '-----BEGIN ' + msg.type + '-----\r\n';
9441
9384
  // encode special headers
9442
9385
  var header;
@@ -9533,8 +9476,8 @@ var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.
9533
9476
  for(var vi = 0; vi < values.length; ++vi)header.values.push($6c81a009b991fd79$var$ltrim(values[vi]));
9534
9477
  // Proc-Type must be the first header
9535
9478
  if (!msg.procType) {
9536
- if (header.name !== 'Proc-Type') throw new Error("Invalid PEM formatted message. The first encapsulated header must be \"Proc-Type\".");
9537
- else if (header.values.length !== 2) throw new Error("Invalid PEM formatted message. The \"Proc-Type\" header must have two subfields.");
9479
+ if (header.name !== 'Proc-Type') throw new Error('Invalid PEM formatted message. The first encapsulated header must be "Proc-Type".');
9480
+ else if (header.values.length !== 2) throw new Error('Invalid PEM formatted message. The "Proc-Type" header must have two subfields.');
9538
9481
  msg.procType = {
9539
9482
  version: values[0],
9540
9483
  type: values[1]
@@ -9543,7 +9486,7 @@ var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.
9543
9486
  msg.contentDomain = values[0] || '';
9544
9487
  else if (!msg.dekInfo && header.name === 'DEK-Info') {
9545
9488
  // special-case DEK-Info
9546
- if (header.values.length === 0) throw new Error("Invalid PEM formatted message. The \"DEK-Info\" header must have at least one subfield.");
9489
+ if (header.values.length === 0) throw new Error('Invalid PEM formatted message. The "DEK-Info" header must have at least one subfield.');
9547
9490
  msg.dekInfo = {
9548
9491
  algorithm: values[0],
9549
9492
  parameters: values[1] || null
@@ -9552,7 +9495,7 @@ var $6c81a009b991fd79$var$pem = $6c81a009b991fd79$exports = $iGlOy.pem = $iGlOy.
9552
9495
  }
9553
9496
  ++li;
9554
9497
  }
9555
- if (msg.procType === 'ENCRYPTED' && !msg.dekInfo) throw new Error("Invalid PEM formatted message. The \"DEK-Info\" header must be present if \"Proc-Type\" is \"ENCRYPTED\".");
9498
+ if (msg.procType === 'ENCRYPTED' && !msg.dekInfo) throw new Error('Invalid PEM formatted message. The "DEK-Info" header must be present if "Proc-Type" is "ENCRYPTED".');
9556
9499
  }
9557
9500
  if (rval.length === 0) throw new Error('Invalid PEM formatted message.');
9558
9501
  return rval;
@@ -9604,8 +9547,7 @@ var $iGlOy = parcelRequire("iGlOy");
9604
9547
 
9605
9548
 
9606
9549
 
9607
- /* DES API */ $ff4c3bd9116e15cc$exports = $iGlOy.des = $iGlOy.des || {
9608
- };
9550
+ /* DES API */ $ff4c3bd9116e15cc$exports = $iGlOy.des = $iGlOy.des || {};
9609
9551
  /**
9610
9552
  * Deprecated. Instead, use:
9611
9553
  *
@@ -10738,8 +10680,7 @@ var $ff4c3bd9116e15cc$var$spfunction8 = [
10738
10680
  *
10739
10681
  * @return the cipher.
10740
10682
  */ function $ff4c3bd9116e15cc$var$_createCipher(options1) {
10741
- options1 = options1 || {
10742
- };
10683
+ options1 = options1 || {};
10743
10684
  var mode = (options1.mode || 'CBC').toUpperCase();
10744
10685
  var algorithm = 'DES-' + mode;
10745
10686
  var cipher;
@@ -10752,11 +10693,9 @@ var $ff4c3bd9116e15cc$var$spfunction8 = [
10752
10693
  var output = null;
10753
10694
  if (options instanceof $iGlOy.util.ByteBuffer) {
10754
10695
  output = options;
10755
- options = {
10756
- };
10696
+ options = {};
10757
10697
  }
10758
- options = options || {
10759
- };
10698
+ options = options || {};
10760
10699
  options.output = output;
10761
10700
  options.iv = iv;
10762
10701
  start.call(cipher, options);
@@ -10773,8 +10712,7 @@ var $iGlOy = parcelRequire("iGlOy");
10773
10712
 
10774
10713
  parcelRequire("ai0Z9");
10775
10714
 
10776
- var $7436abf0cf29a7b7$var$pkcs5 = $iGlOy.pkcs5 = $iGlOy.pkcs5 || {
10777
- };
10715
+ var $7436abf0cf29a7b7$var$pkcs5 = $iGlOy.pkcs5 = $iGlOy.pkcs5 || {};
10778
10716
  var $7436abf0cf29a7b7$var$crypto;
10779
10717
 
10780
10718
  if ($iGlOy.util.isNodejs && !$iGlOy.options.usePureJavaScript) $7436abf0cf29a7b7$var$crypto = $8C1kk$crypto;
@@ -10936,8 +10874,7 @@ var $e523b90a804c5bd3$exports = {};
10936
10874
  var $iGlOy = parcelRequire("iGlOy");
10937
10875
  parcelRequire("ai0Z9");
10938
10876
 
10939
- var $e523b90a804c5bd3$var$sha256 = $e523b90a804c5bd3$exports = $iGlOy.sha256 = $iGlOy.sha256 || {
10940
- };
10877
+ var $e523b90a804c5bd3$var$sha256 = $e523b90a804c5bd3$exports = $iGlOy.sha256 = $iGlOy.sha256 || {};
10941
10878
  $iGlOy.md.sha256 = $iGlOy.md.algorithms.sha256 = $e523b90a804c5bd3$var$sha256;
10942
10879
  /**
10943
10880
  * Creates a SHA-256 message digest object.
@@ -11249,8 +11186,7 @@ var $iGlOy = parcelRequire("iGlOy");
11249
11186
  var $c761b0edb959b99a$var$_crypto = null;
11250
11187
 
11251
11188
  if ($iGlOy.util.isNodejs && !$iGlOy.options.usePureJavaScript && !process.versions['node-webkit']) $c761b0edb959b99a$var$_crypto = $8C1kk$crypto;
11252
- /* PRNG API */ var $c761b0edb959b99a$var$prng = $c761b0edb959b99a$exports = $iGlOy.prng = $iGlOy.prng || {
11253
- };
11189
+ /* PRNG API */ var $c761b0edb959b99a$var$prng = $c761b0edb959b99a$exports = $iGlOy.prng = $iGlOy.prng || {};
11254
11190
  /**
11255
11191
  * Creates a new PRNG context.
11256
11192
  *
@@ -11584,8 +11520,7 @@ if ($iGlOy.util.isNodejs && !$iGlOy.options.usePureJavaScript && !process.versio
11584
11520
  }
11585
11521
  (function(jQuery) {
11586
11522
  // the default prng plugin, uses AES-128
11587
- var prng_aes = {
11588
- };
11523
+ var prng_aes = {};
11589
11524
  var _prng_aes_output = new Array(4);
11590
11525
  var _prng_aes_buffer = $iGlOy.util.createBuffer();
11591
11526
  prng_aes.formatKey = function(key) {
@@ -12000,8 +11935,7 @@ var $e745366ef6f504e1$var$s = [
12000
11935
  */ var $e745366ef6f504e1$var$ror = function(word, bits) {
12001
11936
  return (word & 65535) >> bits | word << 16 - bits & 65535;
12002
11937
  };
12003
- /* RC2 API */ $e745366ef6f504e1$exports = $iGlOy.rc2 = $iGlOy.rc2 || {
12004
- };
11938
+ /* RC2 API */ $e745366ef6f504e1$exports = $iGlOy.rc2 = $iGlOy.rc2 || {};
12005
11939
  /**
12006
11940
  * Perform RC2 key expansion as per RFC #2268, section 2.
12007
11941
  *
@@ -12277,8 +12211,7 @@ var $iGlOy = parcelRequire("iGlOy");
12277
12211
  var $1831e702d86f54be$exports = {};
12278
12212
 
12279
12213
  var $iGlOy = parcelRequire("iGlOy");
12280
- $1831e702d86f54be$exports = $iGlOy.jsbn = $iGlOy.jsbn || {
12281
- };
12214
+ $1831e702d86f54be$exports = $iGlOy.jsbn = $iGlOy.jsbn || {};
12282
12215
  // Bits per digit
12283
12216
  var $1831e702d86f54be$var$dbits;
12284
12217
  // JavaScript engine analysis
@@ -13225,8 +13158,7 @@ function $1831e702d86f54be$var$bnpDAddOffset(n, w) {
13225
13158
  }
13226
13159
  }
13227
13160
  //A "null" reducer
13228
- function $1831e702d86f54be$var$NullExp() {
13229
- }
13161
+ function $1831e702d86f54be$var$NullExp() {}
13230
13162
  function $1831e702d86f54be$var$nNop(x) {
13231
13163
  return x;
13232
13164
  }
@@ -13692,8 +13624,7 @@ var $7dc60e406dad2a14$exports = {};
13692
13624
  var $iGlOy = parcelRequire("iGlOy");
13693
13625
  parcelRequire("ai0Z9");
13694
13626
 
13695
- var $7dc60e406dad2a14$var$sha1 = $7dc60e406dad2a14$exports = $iGlOy.sha1 = $iGlOy.sha1 || {
13696
- };
13627
+ var $7dc60e406dad2a14$var$sha1 = $7dc60e406dad2a14$exports = $iGlOy.sha1 = $iGlOy.sha1 || {};
13697
13628
  $iGlOy.md.sha1 = $iGlOy.md.algorithms.sha1 = $7dc60e406dad2a14$var$sha1;
13698
13629
  /**
13699
13630
  * Creates a SHA-1 message digest object.
@@ -13960,8 +13891,7 @@ var $7dc60e406dad2a14$var$_initialized = false;
13960
13891
 
13961
13892
 
13962
13893
  // shortcut for PKCS#1 API
13963
- var $564ac6480d83471d$var$pkcs1 = $564ac6480d83471d$exports = $iGlOy.pkcs1 = $iGlOy.pkcs1 || {
13964
- };
13894
+ var $564ac6480d83471d$var$pkcs1 = $564ac6480d83471d$exports = $iGlOy.pkcs1 = $iGlOy.pkcs1 || {};
13965
13895
  /**
13966
13896
  * Encode the given RSAES-OAEP message (M) using key, with optional label (L)
13967
13897
  * and seed.
@@ -14136,8 +14066,7 @@ var $iGlOy = parcelRequire("iGlOy");
14136
14066
  $82c15eca7626be33$exports = $iGlOy.prime;
14137
14067
  return;
14138
14068
  }
14139
- /* PRIME API */ var prime = $82c15eca7626be33$exports = $iGlOy.prime = $iGlOy.prime || {
14140
- };
14069
+ /* PRIME API */ var prime = $82c15eca7626be33$exports = $iGlOy.prime = $iGlOy.prime || {};
14141
14070
  var BigInteger = $iGlOy.jsbn.BigInteger;
14142
14071
  // primes are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29
14143
14072
  var GCD_30_DELTA = [
@@ -14186,18 +14115,15 @@ var $iGlOy = parcelRequire("iGlOy");
14186
14115
  */ prime.generateProbablePrime = function(bits, options, callback) {
14187
14116
  if (typeof options === 'function') {
14188
14117
  callback = options;
14189
- options = {
14190
- };
14118
+ options = {};
14191
14119
  }
14192
- options = options || {
14193
- };
14120
+ options = options || {};
14194
14121
  // default to PRIMEINC algorithm
14195
14122
  var algorithm = options.algorithm || 'PRIMEINC';
14196
14123
  if (typeof algorithm === 'string') algorithm = {
14197
14124
  name: algorithm
14198
14125
  };
14199
- algorithm.options = algorithm.options || {
14200
- };
14126
+ algorithm.options = algorithm.options || {};
14201
14127
  // create prng with api that matches BigInteger secure random
14202
14128
  var prng = options.prng || $iGlOy.random;
14203
14129
  var rng = {
@@ -14371,10 +14297,8 @@ var $8ab3548bea1beb81$var$asn1 = $iGlOy.asn1;
14371
14297
  var $8ab3548bea1beb81$var$util = $iGlOy.util;
14372
14298
  /*
14373
14299
  * RSA encryption and decryption, see RFC 2313.
14374
- */ $iGlOy.pki = $iGlOy.pki || {
14375
- };
14376
- $8ab3548bea1beb81$exports = $iGlOy.pki.rsa = $iGlOy.rsa = $iGlOy.rsa || {
14377
- };
14300
+ */ $iGlOy.pki = $iGlOy.pki || {};
14301
+ $8ab3548bea1beb81$exports = $iGlOy.pki.rsa = $iGlOy.rsa = $iGlOy.rsa || {};
14378
14302
  var $8ab3548bea1beb81$var$pki = $iGlOy.pki;
14379
14303
  // for finding primes, which are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29
14380
14304
  var $8ab3548bea1beb81$var$GCD_30_DELTA = [
@@ -14854,8 +14778,7 @@ var $8ab3548bea1beb81$var$publicKeyValidator = $iGlOy.pki.rsa.publicKeyValidator
14854
14778
  if (typeof bits === 'string') bits = parseInt(bits, 10);
14855
14779
  bits = bits || 2048;
14856
14780
  // create prng with api that matches BigInteger secure random
14857
- options = options || {
14858
- };
14781
+ options = options || {};
14859
14782
  var prng = options.prng || $iGlOy.random;
14860
14783
  var rng = {
14861
14784
  // x is an array to fill with bytes
@@ -15089,8 +15012,7 @@ var $8ab3548bea1beb81$var$publicKeyValidator = $iGlOy.pki.rsa.publicKeyValidator
15089
15012
  e1 = undefined;
15090
15013
  }
15091
15014
  }
15092
- options = options || {
15093
- };
15015
+ options = options || {};
15094
15016
  if (bits === undefined) bits = options.bits || 2048;
15095
15017
  if (e1 === undefined) e1 = options.e || 65537;
15096
15018
  // use native code if permitted, available, and parameters are acceptable
@@ -15449,13 +15371,11 @@ var $8ab3548bea1beb81$var$publicKeyValidator = $iGlOy.pki.rsa.publicKeyValidator
15449
15371
  * @return the private key.
15450
15372
  */ $8ab3548bea1beb81$var$pki.privateKeyFromAsn1 = function(obj) {
15451
15373
  // get PrivateKeyInfo
15452
- var capture = {
15453
- };
15374
+ var capture = {};
15454
15375
  var errors = [];
15455
15376
  if ($8ab3548bea1beb81$var$asn1.validate(obj, $8ab3548bea1beb81$var$privateKeyValidator, capture, errors)) obj = $8ab3548bea1beb81$var$asn1.fromDer($iGlOy.util.createBuffer(capture.privateKey));
15456
15377
  // get RSAPrivateKey
15457
- capture = {
15458
- };
15378
+ capture = {};
15459
15379
  errors = [];
15460
15380
  if (!$8ab3548bea1beb81$var$asn1.validate(obj, $8ab3548bea1beb81$var$rsaPrivateKeyValidator, capture, errors)) {
15461
15381
  var error = new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");
@@ -15514,8 +15434,7 @@ var $8ab3548bea1beb81$var$publicKeyValidator = $iGlOy.pki.rsa.publicKeyValidator
15514
15434
  * @return the public key.
15515
15435
  */ $8ab3548bea1beb81$var$pki.publicKeyFromAsn1 = function(obj) {
15516
15436
  // get SubjectPublicKeyInfo
15517
- var capture = {
15518
- };
15437
+ var capture = {};
15519
15438
  var errors = [];
15520
15439
  if ($8ab3548bea1beb81$var$asn1.validate(obj, $8ab3548bea1beb81$var$publicKeyValidator, capture, errors)) {
15521
15440
  // get oid
@@ -15711,11 +15630,9 @@ var $8ab3548bea1beb81$var$publicKeyValidator = $iGlOy.pki.rsa.publicKeyValidator
15711
15630
  */ function $8ab3548bea1beb81$var$_generateKeyPair(state, options, callback1) {
15712
15631
  if (typeof options === 'function') {
15713
15632
  callback1 = options;
15714
- options = {
15715
- };
15633
+ options = {};
15716
15634
  }
15717
- options = options || {
15718
- };
15635
+ options = options || {};
15719
15636
  var opts = {
15720
15637
  algorithm: {
15721
15638
  name: options.algorithm || 'PRIMEINC',
@@ -15880,10 +15797,8 @@ function $8ab3548bea1beb81$var$_base64ToBigInt(b64) {
15880
15797
  if (typeof $4ead143e6089ae29$var$BigInteger === 'undefined') var $4ead143e6089ae29$var$BigInteger = $iGlOy.jsbn.BigInteger;
15881
15798
  // shortcut for asn.1 API
15882
15799
  var $4ead143e6089ae29$var$asn1 = $iGlOy.asn1;
15883
- /* Password-based encryption implementation. */ var $4ead143e6089ae29$var$pki = $iGlOy.pki = $iGlOy.pki || {
15884
- };
15885
- $4ead143e6089ae29$exports = $4ead143e6089ae29$var$pki.pbe = $iGlOy.pbe = $iGlOy.pbe || {
15886
- };
15800
+ /* Password-based encryption implementation. */ var $4ead143e6089ae29$var$pki = $iGlOy.pki = $iGlOy.pki || {};
15801
+ $4ead143e6089ae29$exports = $4ead143e6089ae29$var$pki.pbe = $iGlOy.pbe = $iGlOy.pbe || {};
15887
15802
  var $4ead143e6089ae29$var$oids = $4ead143e6089ae29$var$pki.oids;
15888
15803
  // validator for an EncryptedPrivateKeyInfo structure
15889
15804
  // Note: Currently only works w/algorithm params
@@ -16082,8 +15997,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16082
15997
  * @return the ASN.1 EncryptedPrivateKeyInfo.
16083
15998
  */ $4ead143e6089ae29$var$pki.encryptPrivateKeyInfo = function(obj, password, options) {
16084
15999
  // set default options
16085
- options = options || {
16086
- };
16000
+ options = options || {};
16087
16001
  options.saltSize = options.saltSize || 8;
16088
16002
  options.count = options.count || 2048;
16089
16003
  options.algorithm = options.algorithm || 'aes128';
@@ -16203,8 +16117,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16203
16117
  */ $4ead143e6089ae29$var$pki.decryptPrivateKeyInfo = function(obj, password) {
16204
16118
  var rval = null;
16205
16119
  // get PBE params
16206
- var capture = {
16207
- };
16120
+ var capture = {};
16208
16121
  var errors = [];
16209
16122
  if (!$4ead143e6089ae29$var$asn1.validate(obj, $4ead143e6089ae29$var$encryptedPrivateKeyValidator, capture, errors)) {
16210
16123
  var error = new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");
@@ -16247,7 +16160,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16247
16160
  */ $4ead143e6089ae29$var$pki.encryptedPrivateKeyFromPem = function(pem) {
16248
16161
  var msg = $iGlOy.pem.decode(pem)[0];
16249
16162
  if (msg.type !== 'ENCRYPTED PRIVATE KEY') {
16250
- var error = new Error("Could not convert encrypted private key from PEM; PEM header type is \"ENCRYPTED PRIVATE KEY\".");
16163
+ var error = new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');
16251
16164
  error.headerType = msg.type;
16252
16165
  throw error;
16253
16166
  }
@@ -16282,8 +16195,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16282
16195
  * @return the PEM-encoded ASN.1 EncryptedPrivateKeyInfo.
16283
16196
  */ $4ead143e6089ae29$var$pki.encryptRsaPrivateKey = function(rsaKey, password, options) {
16284
16197
  // standard PKCS#8
16285
- options = options || {
16286
- };
16198
+ options = options || {};
16287
16199
  if (!options.legacy) {
16288
16200
  // encrypt PrivateKeyInfo
16289
16201
  var rval = $4ead143e6089ae29$var$pki.wrapRsaPrivateKey($4ead143e6089ae29$var$pki.privateKeyToAsn1(rsaKey));
@@ -16327,7 +16239,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16327
16239
  cipherFn = $iGlOy.des.createEncryptionCipher;
16328
16240
  break;
16329
16241
  default:
16330
- var error = new Error("Could not encrypt RSA private key; unsupported encryption algorithm \"" + options.algorithm + '".');
16242
+ var error = new Error('Could not encrypt RSA private key; unsupported encryption algorithm "' + options.algorithm + '".');
16331
16243
  error.algorithm = options.algorithm;
16332
16244
  throw error;
16333
16245
  }
@@ -16362,7 +16274,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16362
16274
  var rval = null;
16363
16275
  var msg = $iGlOy.pem.decode(pem)[0];
16364
16276
  if (msg.type !== 'ENCRYPTED PRIVATE KEY' && msg.type !== 'PRIVATE KEY' && msg.type !== 'RSA PRIVATE KEY') {
16365
- var error = new Error("Could not convert private key from PEM; PEM header type is not \"ENCRYPTED PRIVATE KEY\", \"PRIVATE KEY\", or \"RSA PRIVATE KEY\".");
16277
+ var error = new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".');
16366
16278
  error.headerType = error;
16367
16279
  throw error;
16368
16280
  }
@@ -16409,7 +16321,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16409
16321
  };
16410
16322
  break;
16411
16323
  default:
16412
- var error = new Error("Could not decrypt private key; unsupported encryption algorithm \"" + msg.dekInfo.algorithm + '".');
16324
+ var error = new Error('Could not decrypt private key; unsupported encryption algorithm "' + msg.dekInfo.algorithm + '".');
16413
16325
  error.algorithm = msg.dekInfo.algorithm;
16414
16326
  throw error;
16415
16327
  }
@@ -16545,8 +16457,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16545
16457
  * @return new cipher object instance.
16546
16458
  */ $4ead143e6089ae29$var$pki.pbe.getCipherForPBES2 = function(oid, params, password) {
16547
16459
  // get PBE params
16548
- var capture = {
16549
- };
16460
+ var capture = {};
16550
16461
  var errors = [];
16551
16462
  if (!$4ead143e6089ae29$var$asn1.validate(params, $4ead143e6089ae29$var$PBES2AlgorithmsValidator, capture, errors)) {
16552
16463
  var error = new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");
@@ -16626,8 +16537,7 @@ var $4ead143e6089ae29$var$pkcs12PbeParamsValidator = {
16626
16537
  * @return the new cipher object instance.
16627
16538
  */ $4ead143e6089ae29$var$pki.pbe.getCipherForPKCS12PBE = function(oid, params, password) {
16628
16539
  // get PBE params
16629
- var capture = {
16630
- };
16540
+ var capture = {};
16631
16541
  var errors = [];
16632
16542
  if (!$4ead143e6089ae29$var$asn1.validate(params, $4ead143e6089ae29$var$pkcs12PbeParamsValidator, capture, errors)) {
16633
16543
  var error = new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");
@@ -16773,10 +16683,8 @@ var $iGlOy = parcelRequire("iGlOy");
16773
16683
  // shortcut for ASN.1 API
16774
16684
  var $a5c085c32c6e5e1a$var$asn1 = $iGlOy.asn1;
16775
16685
  // shortcut for PKCS#7 API
16776
- var $a5c085c32c6e5e1a$var$p7v = $a5c085c32c6e5e1a$exports = $iGlOy.pkcs7asn1 = $iGlOy.pkcs7asn1 || {
16777
- };
16778
- $iGlOy.pkcs7 = $iGlOy.pkcs7 || {
16779
- };
16686
+ var $a5c085c32c6e5e1a$var$p7v = $a5c085c32c6e5e1a$exports = $iGlOy.pkcs7asn1 = $iGlOy.pkcs7asn1 || {};
16687
+ $iGlOy.pkcs7 = $iGlOy.pkcs7 || {};
16780
16688
  $iGlOy.pkcs7.asn1 = $a5c085c32c6e5e1a$var$p7v;
16781
16689
  var $a5c085c32c6e5e1a$var$contentInfoValidator = {
16782
16690
  name: 'ContentInfo',
@@ -17128,10 +17036,8 @@ var $1a758e61c98aa2f6$exports = {};
17128
17036
 
17129
17037
  var $iGlOy = parcelRequire("iGlOy");
17130
17038
 
17131
- $iGlOy.mgf = $iGlOy.mgf || {
17132
- };
17133
- var $1a758e61c98aa2f6$var$mgf1 = $1a758e61c98aa2f6$exports = $iGlOy.mgf.mgf1 = $iGlOy.mgf1 = $iGlOy.mgf1 || {
17134
- };
17039
+ $iGlOy.mgf = $iGlOy.mgf || {};
17040
+ var $1a758e61c98aa2f6$var$mgf1 = $1a758e61c98aa2f6$exports = $iGlOy.mgf.mgf1 = $iGlOy.mgf1 = $iGlOy.mgf1 || {};
17135
17041
  /**
17136
17042
  * Creates a MGF1 mask generation function object.
17137
17043
  *
@@ -17165,8 +17071,7 @@ var $1a758e61c98aa2f6$var$mgf1 = $1a758e61c98aa2f6$exports = $iGlOy.mgf.mgf1 = $
17165
17071
  };
17166
17072
 
17167
17073
 
17168
- $c01d1f977f850a49$exports = $iGlOy.mgf = $iGlOy.mgf || {
17169
- };
17074
+ $c01d1f977f850a49$exports = $iGlOy.mgf = $iGlOy.mgf || {};
17170
17075
  $iGlOy.mgf.mgf1 = $iGlOy.mgf1;
17171
17076
 
17172
17077
 
@@ -17178,8 +17083,7 @@ var $iGlOy = parcelRequire("iGlOy");
17178
17083
 
17179
17084
 
17180
17085
  // shortcut for PSS API
17181
- var $6aa068716df79957$var$pss = $6aa068716df79957$exports = $iGlOy.pss = $iGlOy.pss || {
17182
- };
17086
+ var $6aa068716df79957$var$pss = $6aa068716df79957$exports = $iGlOy.pss = $iGlOy.pss || {};
17183
17087
  /**
17184
17088
  * Creates a PSS signature scheme object.
17185
17089
  *
@@ -17217,8 +17121,7 @@ var $6aa068716df79957$var$pss = $6aa068716df79957$exports = $iGlOy.pss = $iGlOy.
17217
17121
  else throw new Error('Salt length not specified or specific salt not given.');
17218
17122
  if (salt_ !== null && salt_.length() !== sLen) throw new Error('Given salt length does not match length of given salt.');
17219
17123
  var prng = options.prng || $iGlOy.random;
17220
- var pssobj = {
17221
- };
17124
+ var pssobj = {};
17222
17125
  /**
17223
17126
  * Encodes a PSS signature.
17224
17127
  *
@@ -17323,12 +17226,10 @@ var $6aa068716df79957$var$pss = $6aa068716df79957$exports = $iGlOy.pss = $iGlOy.
17323
17226
 
17324
17227
  // shortcut for asn.1 API
17325
17228
  var $f71d929f259208f7$var$asn1 = $iGlOy.asn1;
17326
- /* Public Key Infrastructure (PKI) implementation. */ var $f71d929f259208f7$var$pki = $f71d929f259208f7$exports = $iGlOy.pki = $iGlOy.pki || {
17327
- };
17229
+ /* Public Key Infrastructure (PKI) implementation. */ var $f71d929f259208f7$var$pki = $f71d929f259208f7$exports = $iGlOy.pki = $iGlOy.pki || {};
17328
17230
  var $f71d929f259208f7$var$oids = $f71d929f259208f7$var$pki.oids;
17329
17231
  // short name OID mappings
17330
- var $f71d929f259208f7$var$_shortNames = {
17331
- };
17232
+ var $f71d929f259208f7$var$_shortNames = {};
17332
17233
  $f71d929f259208f7$var$_shortNames['CN'] = $f71d929f259208f7$var$oids['commonName'];
17333
17234
  $f71d929f259208f7$var$_shortNames['commonName'] = 'CN';
17334
17235
  $f71d929f259208f7$var$_shortNames['C'] = $f71d929f259208f7$var$oids['countryName'];
@@ -17766,8 +17667,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
17766
17667
  // containing first a type (an OID) and second a value (defined by
17767
17668
  // the OID)
17768
17669
  for(var i = 0; i < set.value.length; ++i){
17769
- obj = {
17770
- };
17670
+ obj = {};
17771
17671
  attr = set.value[i];
17772
17672
  obj.type = $f71d929f259208f7$var$asn1.derToOid(attr.value[0].value);
17773
17673
  obj.value = attr.value[1].value;
@@ -17802,8 +17702,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
17802
17702
  var type = $f71d929f259208f7$var$asn1.derToOid(seq.value[0].value);
17803
17703
  var values = seq.value[1].value;
17804
17704
  for(var vi = 0; vi < values.length; ++vi){
17805
- var obj = {
17806
- };
17705
+ var obj = {};
17807
17706
  obj.type = type;
17808
17707
  obj.value = values[vi].value;
17809
17708
  obj.valueTagClass = values[vi].type;
@@ -17875,8 +17774,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
17875
17774
  * @param fillDefaults Whether to use return default values where omitted
17876
17775
  * @return signature parameter object
17877
17776
  */ var $f71d929f259208f7$var$_readSignatureParameters = function(oid, obj, fillDefaults) {
17878
- var params = {
17879
- };
17777
+ var params = {};
17880
17778
  if (oid !== $f71d929f259208f7$var$oids['RSASSA-PSS']) return params;
17881
17779
  if (fillDefaults) params = {
17882
17780
  hash: {
@@ -17890,8 +17788,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
17890
17788
  },
17891
17789
  saltLength: 20
17892
17790
  };
17893
- var capture = {
17894
- };
17791
+ var capture = {};
17895
17792
  var errors = [];
17896
17793
  if (!$f71d929f259208f7$var$asn1.validate(obj, $f71d929f259208f7$var$rsassaPssParameterValidator, capture, errors)) {
17897
17794
  var error = new Error('Cannot read RSASSA-PSS parameter block.');
@@ -17899,16 +17796,13 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
17899
17796
  throw error;
17900
17797
  }
17901
17798
  if (capture.hashOid !== undefined) {
17902
- params.hash = params.hash || {
17903
- };
17799
+ params.hash = params.hash || {};
17904
17800
  params.hash.algorithmOid = $f71d929f259208f7$var$asn1.derToOid(capture.hashOid);
17905
17801
  }
17906
17802
  if (capture.maskGenOid !== undefined) {
17907
- params.mgf = params.mgf || {
17908
- };
17803
+ params.mgf = params.mgf || {};
17909
17804
  params.mgf.algorithmOid = $f71d929f259208f7$var$asn1.derToOid(capture.maskGenOid);
17910
- params.mgf.hash = params.mgf.hash || {
17911
- };
17805
+ params.mgf.hash = params.mgf.hash || {};
17912
17806
  params.mgf.hash.algorithmOid = $f71d929f259208f7$var$asn1.derToOid(capture.maskGenHashOid);
17913
17807
  }
17914
17808
  if (capture.saltLength !== undefined) params.saltLength = capture.saltLength.charCodeAt(0);
@@ -18006,7 +17900,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18006
17900
  */ $f71d929f259208f7$var$pki.certificateFromPem = function(pem, computeHash, strict) {
18007
17901
  var msg = $iGlOy.pem.decode(pem)[0];
18008
17902
  if (msg.type !== 'CERTIFICATE' && msg.type !== 'X509 CERTIFICATE' && msg.type !== 'TRUSTED CERTIFICATE') {
18009
- var error = new Error("Could not convert certificate from PEM; PEM header type is not \"CERTIFICATE\", \"X509 CERTIFICATE\", or \"TRUSTED CERTIFICATE\".");
17903
+ var error = new Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');
18010
17904
  error.headerType = msg.type;
18011
17905
  throw error;
18012
17906
  }
@@ -18041,7 +17935,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18041
17935
  */ $f71d929f259208f7$var$pki.publicKeyFromPem = function(pem) {
18042
17936
  var msg = $iGlOy.pem.decode(pem)[0];
18043
17937
  if (msg.type !== 'PUBLIC KEY' && msg.type !== 'RSA PUBLIC KEY') {
18044
- var error = new Error("Could not convert public key from PEM; PEM header type is not \"PUBLIC KEY\" or \"RSA PUBLIC KEY\".");
17938
+ var error = new Error('Could not convert public key from PEM; PEM header type is not "PUBLIC KEY" or "RSA PUBLIC KEY".');
18045
17939
  error.headerType = msg.type;
18046
17940
  throw error;
18047
17941
  }
@@ -18098,8 +17992,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18098
17992
  *
18099
17993
  * @return the fingerprint as a byte buffer or other encoding based on options.
18100
17994
  */ $f71d929f259208f7$var$pki.getPublicKeyFingerprint = function(key, options) {
18101
- options = options || {
18102
- };
17995
+ options = options || {};
18103
17996
  var md = options.md || $iGlOy.md.sha1.create();
18104
17997
  var type = options.type || 'RSAPublicKey';
18105
17998
  var bytes;
@@ -18142,7 +18035,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18142
18035
  */ $f71d929f259208f7$var$pki.certificationRequestFromPem = function(pem, computeHash, strict) {
18143
18036
  var msg = $iGlOy.pem.decode(pem)[0];
18144
18037
  if (msg.type !== 'CERTIFICATE REQUEST') {
18145
- var error = new Error("Could not convert certification request from PEM; PEM header type is not \"CERTIFICATE REQUEST\".");
18038
+ var error = new Error('Could not convert certification request from PEM; PEM header type is not "CERTIFICATE REQUEST".');
18146
18039
  error.headerType = msg.type;
18147
18040
  throw error;
18148
18041
  }
@@ -18173,21 +18066,17 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18173
18066
  *
18174
18067
  * @return the certificate.
18175
18068
  */ $f71d929f259208f7$var$pki.createCertificate = function() {
18176
- var cert = {
18177
- };
18069
+ var cert = {};
18178
18070
  cert.version = 2;
18179
18071
  cert.serialNumber = '00';
18180
18072
  cert.signatureOid = null;
18181
18073
  cert.signature = null;
18182
- cert.siginfo = {
18183
- };
18074
+ cert.siginfo = {};
18184
18075
  cert.siginfo.algorithmOid = null;
18185
- cert.validity = {
18186
- };
18076
+ cert.validity = {};
18187
18077
  cert.validity.notBefore = new Date();
18188
18078
  cert.validity.notAfter = new Date();
18189
- cert.issuer = {
18190
- };
18079
+ cert.issuer = {};
18191
18080
  cert.issuer.getField = function(sn) {
18192
18081
  return $f71d929f259208f7$var$_getAttribute(cert.issuer, sn);
18193
18082
  };
@@ -18199,8 +18088,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18199
18088
  };
18200
18089
  cert.issuer.attributes = [];
18201
18090
  cert.issuer.hash = null;
18202
- cert.subject = {
18203
- };
18091
+ cert.subject = {};
18204
18092
  cert.subject.getField = function(sn) {
18205
18093
  return $f71d929f259208f7$var$_getAttribute(cert.subject, sn);
18206
18094
  };
@@ -18426,8 +18314,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18426
18314
  * @return the certificate.
18427
18315
  */ $f71d929f259208f7$var$pki.certificateFromAsn1 = function(obj, computeHash) {
18428
18316
  // validate certificate and capture data
18429
- var capture = {
18430
- };
18317
+ var capture = {};
18431
18318
  var errors = [];
18432
18319
  if (!$f71d929f259208f7$var$asn1.validate(obj, $f71d929f259208f7$var$x509CertificateValidator, capture, errors)) {
18433
18320
  var error = new Error("Cannot read X.509 certificate. ASN.1 object is not an X509v3 Certificate.");
@@ -18581,8 +18468,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18581
18468
  // [0] extnID OBJECT IDENTIFIER
18582
18469
  // [1] critical BOOLEAN DEFAULT FALSE
18583
18470
  // [2] extnValue OCTET STRING
18584
- var e = {
18585
- };
18471
+ var e = {};
18586
18472
  e.id = $f71d929f259208f7$var$asn1.derToOid(ext.value[0].value);
18587
18473
  e.critical = false;
18588
18474
  if (ext.value[1].type === $f71d929f259208f7$var$asn1.Type.BOOLEAN) {
@@ -18712,8 +18598,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18712
18598
  * @return the certification request (CSR).
18713
18599
  */ $f71d929f259208f7$var$pki.certificationRequestFromAsn1 = function(obj, computeHash) {
18714
18600
  // validate certification request and capture data
18715
- var capture = {
18716
- };
18601
+ var capture = {};
18717
18602
  var errors = [];
18718
18603
  if (!$f71d929f259208f7$var$asn1.validate(obj, $f71d929f259208f7$var$certificationRequestValidator, capture, errors)) {
18719
18604
  var error = new Error("Cannot read PKCS#10 certificate request. ASN.1 object is not a PKCS#10 CertificationRequest.");
@@ -18778,16 +18663,13 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18778
18663
  *
18779
18664
  * @return the empty certification request.
18780
18665
  */ $f71d929f259208f7$var$pki.createCertificationRequest = function() {
18781
- var csr = {
18782
- };
18666
+ var csr = {};
18783
18667
  csr.version = 0;
18784
18668
  csr.signatureOid = null;
18785
18669
  csr.signature = null;
18786
- csr.siginfo = {
18787
- };
18670
+ csr.siginfo = {};
18788
18671
  csr.siginfo.algorithmOid = null;
18789
- csr.subject = {
18790
- };
18672
+ csr.subject = {};
18791
18673
  csr.subject.getField = function(sn) {
18792
18674
  return $f71d929f259208f7$var$_getAttribute(csr.subject, sn);
18793
18675
  };
@@ -18929,8 +18811,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18929
18811
  *
18930
18812
  * @return the JSON for display.
18931
18813
  */ function $f71d929f259208f7$var$_getAttributesAsJson(attrs) {
18932
- var rval = {
18933
- };
18814
+ var rval = {};
18934
18815
  for(var i = 0; i < attrs.length; ++i){
18935
18816
  var attr = attrs[i];
18936
18817
  if (attr.shortName && (attr.valueTagClass === $f71d929f259208f7$var$asn1.Type.UTF8 || attr.valueTagClass === $f71d929f259208f7$var$asn1.Type.PRINTABLESTRING || attr.valueTagClass === $f71d929f259208f7$var$asn1.Type.IA5STRING)) {
@@ -18997,8 +18878,7 @@ var $f71d929f259208f7$var$certificationRequestValidator = {
18997
18878
  *
18998
18879
  * @return the extension.
18999
18880
  */ function $f71d929f259208f7$var$_fillMissingExtensionFields(e, options) {
19000
- options = options || {
19001
- };
18881
+ options = options || {};
19002
18882
  // populate missing name
19003
18883
  if (typeof e.name === 'undefined') {
19004
18884
  if (e.id && e.id in $f71d929f259208f7$var$pki.oids) e.name = $f71d929f259208f7$var$pki.oids[e.id];
@@ -19474,8 +19354,7 @@ var $f71d929f259208f7$var$jan_1_2050 = new Date('2050-01-01T00:00:00Z');
19474
19354
  // create CA store
19475
19355
  var caStore = {
19476
19356
  // stored certificates
19477
- certs: {
19478
- }
19357
+ certs: {}
19479
19358
  };
19480
19359
  /**
19481
19360
  * Gets the certificate that issued the passed certificate or its
@@ -19774,8 +19653,7 @@ var $f71d929f259208f7$var$jan_1_2050 = new Date('2050-01-01T00:00:00Z');
19774
19653
  if (typeof options === 'function') options = {
19775
19654
  verify: options
19776
19655
  };
19777
- options = options || {
19778
- };
19656
+ options = options || {};
19779
19657
  // copy cert chain references to another array to protect against changes
19780
19658
  // in verify callback
19781
19659
  chain = chain.slice(0);
@@ -19946,8 +19824,7 @@ var $f71d929f259208f7$var$jan_1_2050 = new Date('2050-01-01T00:00:00Z');
19946
19824
  var $6fcb727b03413917$var$asn1 = $iGlOy.asn1;
19947
19825
  var $6fcb727b03413917$var$pki = $iGlOy.pki;
19948
19826
  // shortcut for PKCS#12 API
19949
- var $6fcb727b03413917$var$p12 = $6fcb727b03413917$exports = $iGlOy.pkcs12 = $iGlOy.pkcs12 || {
19950
- };
19827
+ var $6fcb727b03413917$var$p12 = $6fcb727b03413917$exports = $iGlOy.pkcs12 = $iGlOy.pkcs12 || {};
19951
19828
  var $6fcb727b03413917$var$contentInfoValidator = {
19952
19829
  name: 'ContentInfo',
19953
19830
  tagClass: $6fcb727b03413917$var$asn1.Class.UNIVERSAL,
@@ -20166,8 +20043,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20166
20043
  strict = true;
20167
20044
  } else if (strict === undefined) strict = true;
20168
20045
  // validate PFX and capture data
20169
- var capture = {
20170
- };
20046
+ var capture = {};
20171
20047
  var errors = [];
20172
20048
  if (!$6fcb727b03413917$var$asn1.validate(obj, $6fcb727b03413917$var$pfxValidator, capture, errors)) {
20173
20049
  var error = new Error("Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.");
@@ -20190,8 +20066,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20190
20066
  * attribute was given but a bag type, the map key will be the
20191
20067
  * bag type.
20192
20068
  */ getBags: function(filter) {
20193
- var rval = {
20194
- };
20069
+ var rval = {};
20195
20070
  var localKeyId;
20196
20071
  if ('localKeyId' in filter) localKeyId = filter.localKeyId;
20197
20072
  else if ('localKeyIdHex' in filter) localKeyId = $iGlOy.util.hexToBytes(filter.localKeyIdHex);
@@ -20317,8 +20192,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20317
20192
  for(var i = 0; i < authSafe.value.length; i++){
20318
20193
  var contentInfo = authSafe.value[i];
20319
20194
  // validate contentInfo and capture data
20320
- var capture = {
20321
- };
20195
+ var capture = {};
20322
20196
  var errors = [];
20323
20197
  if (!$6fcb727b03413917$var$asn1.validate(contentInfo, $6fcb727b03413917$var$contentInfoValidator, capture, errors)) {
20324
20198
  var error = new Error('Cannot read ContentInfo.');
@@ -20356,8 +20230,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20356
20230
  *
20357
20231
  * @return The decrypted SafeContents (ASN.1 object).
20358
20232
  */ function $6fcb727b03413917$var$_decryptSafeContents(data, password) {
20359
- var capture = {
20360
- };
20233
+ var capture = {};
20361
20234
  var errors = [];
20362
20235
  if (!$6fcb727b03413917$var$asn1.validate(data, $iGlOy.pkcs7.asn1.encryptedDataValidator, capture, errors)) {
20363
20236
  var error = new Error('Cannot read EncryptedContentInfo.');
@@ -20400,8 +20273,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20400
20273
  for(var i = 0; i < safeContents.value.length; i++){
20401
20274
  var safeBag = safeContents.value[i];
20402
20275
  // validate SafeBag and capture data
20403
- var capture = {
20404
- };
20276
+ var capture = {};
20405
20277
  var errors = [];
20406
20278
  if (!$6fcb727b03413917$var$asn1.validate(safeBag, $6fcb727b03413917$var$safeBagValidator, capture, errors)) {
20407
20279
  var error = new Error('Cannot read SafeBag.');
@@ -20474,11 +20346,9 @@ var $6fcb727b03413917$var$certBagValidator = {
20474
20346
  *
20475
20347
  * @return the decoded attributes.
20476
20348
  */ function $6fcb727b03413917$var$_decodeBagAttributes(attributes) {
20477
- var decodedAttrs = {
20478
- };
20349
+ var decodedAttrs = {};
20479
20350
  if (attributes !== undefined) for(var i = 0; i < attributes.length; ++i){
20480
- var capture = {
20481
- };
20351
+ var capture = {};
20482
20352
  var errors = [];
20483
20353
  if (!$6fcb727b03413917$var$asn1.validate(attributes[i], $6fcb727b03413917$var$attributeValidator, capture, errors)) {
20484
20354
  var error = new Error('Cannot read PKCS#12 BagAttribute.');
@@ -20522,8 +20392,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20522
20392
  * @return the PKCS#12 PFX ASN.1 object.
20523
20393
  */ $6fcb727b03413917$var$p12.toPkcs12Asn1 = function(key, cert, password, options) {
20524
20394
  // set default options
20525
- options = options || {
20526
- };
20395
+ options = options || {};
20527
20396
  options.saltSize = options.saltSize || 8;
20528
20397
  options.count = options.count || 2048;
20529
20398
  options.algorithm = options.algorithm || options.encAlgorithm || 'aes128';
@@ -20737,8 +20606,7 @@ var $6fcb727b03413917$var$certBagValidator = {
20737
20606
 
20738
20607
  // shortcut for asn.1 API
20739
20608
  var $71c5302ef2ea3950$var$asn1 = $iGlOy.asn1;
20740
- /* Public Key Infrastructure (PKI) implementation. */ var $71c5302ef2ea3950$var$pki = $71c5302ef2ea3950$exports = $iGlOy.pki = $iGlOy.pki || {
20741
- };
20609
+ /* Public Key Infrastructure (PKI) implementation. */ var $71c5302ef2ea3950$var$pki = $71c5302ef2ea3950$exports = $iGlOy.pki = $iGlOy.pki || {};
20742
20610
  /**
20743
20611
  * NOTE: THIS METHOD IS DEPRECATED. Use pem.decode() instead.
20744
20612
  *
@@ -20761,7 +20629,7 @@ var $71c5302ef2ea3950$var$asn1 = $iGlOy.asn1;
20761
20629
  */ $71c5302ef2ea3950$var$pki.privateKeyFromPem = function(pem) {
20762
20630
  var msg = $iGlOy.pem.decode(pem)[0];
20763
20631
  if (msg.type !== 'PRIVATE KEY' && msg.type !== 'RSA PRIVATE KEY') {
20764
- var error = new Error("Could not convert private key from PEM; PEM header type is not \"PRIVATE KEY\" or \"RSA PRIVATE KEY\".");
20632
+ var error = new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');
20765
20633
  error.headerType = msg.type;
20766
20634
  throw error;
20767
20635
  }
@@ -21036,8 +20904,7 @@ var $71c5302ef2ea3950$var$asn1 = $iGlOy.asn1;
21036
20904
  };
21037
20905
  /**
21038
20906
  * The tls implementation.
21039
- */ var $e55982d45da68b81$var$tls = {
21040
- };
20907
+ */ var $e55982d45da68b81$var$tls = {};
21041
20908
  /**
21042
20909
  * Version: TLS 1.2 = 3.3, TLS 1.1 = 3.2, TLS 1.0 = 3.1. Both TLS 1.1 and
21043
20910
  * TLS 1.2 were still too new (ie: openSSL didn't implement them) at the time
@@ -21185,8 +21052,7 @@ $e55982d45da68b81$var$tls.Version = $e55982d45da68b81$var$tls.SupportedVersions[
21185
21052
  * AlertLevel level;
21186
21053
  * AlertDescription description;
21187
21054
  * } Alert;
21188
- */ $e55982d45da68b81$var$tls.Alert = {
21189
- };
21055
+ */ $e55982d45da68b81$var$tls.Alert = {};
21190
21056
  $e55982d45da68b81$var$tls.Alert.Level = {
21191
21057
  warning: 1,
21192
21058
  fatal: 2
@@ -21229,8 +21095,7 @@ $e55982d45da68b81$var$tls.Alert.Description = {
21229
21095
  };
21230
21096
  /**
21231
21097
  * Supported cipher suites.
21232
- */ $e55982d45da68b81$var$tls.CipherSuites = {
21233
- };
21098
+ */ $e55982d45da68b81$var$tls.CipherSuites = {};
21234
21099
  /**
21235
21100
  * Gets a supported cipher suite from its 2 byte ID.
21236
21101
  *
@@ -21528,8 +21393,7 @@ $e55982d45da68b81$var$tls.Alert.Description = {
21528
21393
  // update session
21529
21394
  c.session.id = sessionId;
21530
21395
  c.session.clientHelloVersion = msg.version;
21531
- c.session.sp = {
21532
- };
21396
+ c.session.sp = {};
21533
21397
  if (session) {
21534
21398
  // use version and security parameters from resumed session
21535
21399
  c.version = c.session.version = session.version;
@@ -23545,7 +23409,7 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
23545
23409
  for(var i = 0; i < cert.length; ++i){
23546
23410
  var msg = $iGlOy.pem.decode(cert[i])[0];
23547
23411
  if (msg.type !== 'CERTIFICATE' && msg.type !== 'X509 CERTIFICATE' && msg.type !== 'TRUSTED CERTIFICATE') {
23548
- var error = new Error("Could not convert certificate from PEM; PEM header type is not \"CERTIFICATE\", \"X509 CERTIFICATE\", or \"TRUSTED CERTIFICATE\".");
23412
+ var error = new Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');
23549
23413
  error.headerType = msg.type;
23550
23414
  throw error;
23551
23415
  }
@@ -24095,8 +23959,7 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
24095
23959
  try {
24096
23960
  // Make a copy of c.verifyOptions so that we can modify options.verify
24097
23961
  // without modifying c.verifyOptions.
24098
- var options = {
24099
- };
23962
+ var options = {};
24100
23963
  for(var key in c.verifyOptions)options[key] = c.verifyOptions[key];
24101
23964
  options.verify = function(vfd, depth, chain) {
24102
23965
  // convert pki.certificateError to tls alert description
@@ -24156,10 +24019,8 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
24156
24019
  if (cache && cache.getSession && cache.setSession && cache.order) rval = cache;
24157
24020
  else {
24158
24021
  // create cache
24159
- rval = {
24160
- };
24161
- rval.cache = cache || {
24162
- };
24022
+ rval = {};
24023
+ rval.cache = cache || {};
24163
24024
  rval.capacity = Math.max(capacity || 100, 1);
24164
24025
  rval.order = [];
24165
24026
  // store order for sessions, delete session overflow
@@ -24242,8 +24103,7 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
24242
24103
  verify: options.verify || function(cn, vfd, dpth, cts) {
24243
24104
  return vfd;
24244
24105
  },
24245
- verifyOptions: options.verifyOptions || {
24246
- },
24106
+ verifyOptions: options.verifyOptions || {},
24247
24107
  getCertificate: options.getCertificate || null,
24248
24108
  getPrivateKey: options.getPrivateKey || null,
24249
24109
  getSignature: options.getSignature || null,
@@ -24455,8 +24315,7 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
24455
24315
  serverCertificate: null,
24456
24316
  certificateRequest: null,
24457
24317
  clientCertificate: null,
24458
- sp: {
24459
- },
24318
+ sp: {},
24460
24319
  md5: $iGlOy.md.md5.create(),
24461
24320
  sha1: $iGlOy.md.sha1.create()
24462
24321
  };
@@ -24583,8 +24442,7 @@ $e55982d45da68b81$var$hsTable[$e55982d45da68b81$var$tls.ConnectionEnd.server] =
24583
24442
  };
24584
24443
  return c4;
24585
24444
  };
24586
- /* TLS API */ $e55982d45da68b81$exports = $iGlOy.tls = $iGlOy.tls || {
24587
- };
24445
+ /* TLS API */ $e55982d45da68b81$exports = $iGlOy.tls = $iGlOy.tls || {};
24588
24446
  // expose non-functions
24589
24447
  for(var $e55982d45da68b81$var$key in $e55982d45da68b81$var$tls)if (typeof $e55982d45da68b81$var$tls[$e55982d45da68b81$var$key] !== 'function') $iGlOy.tls[$e55982d45da68b81$var$key] = $e55982d45da68b81$var$tls[$e55982d45da68b81$var$key];
24590
24448
  // expose prf_tls1 for testing
@@ -24939,13 +24797,11 @@ var $33c8fc1a702f0359$exports = {};
24939
24797
  var $iGlOy = parcelRequire("iGlOy");
24940
24798
  parcelRequire("ai0Z9");
24941
24799
 
24942
- var $33c8fc1a702f0359$var$sha512 = $33c8fc1a702f0359$exports = $iGlOy.sha512 = $iGlOy.sha512 || {
24943
- };
24800
+ var $33c8fc1a702f0359$var$sha512 = $33c8fc1a702f0359$exports = $iGlOy.sha512 = $iGlOy.sha512 || {};
24944
24801
  // SHA-512
24945
24802
  $iGlOy.md.sha512 = $iGlOy.md.algorithms.sha512 = $33c8fc1a702f0359$var$sha512;
24946
24803
  // SHA-384
24947
- var $33c8fc1a702f0359$var$sha384 = $iGlOy.sha384 = $iGlOy.sha512.sha384 = $iGlOy.sha512.sha384 || {
24948
- };
24804
+ var $33c8fc1a702f0359$var$sha384 = $iGlOy.sha384 = $iGlOy.sha512.sha384 = $iGlOy.sha512.sha384 || {};
24949
24805
  $33c8fc1a702f0359$var$sha384.create = function() {
24950
24806
  return $33c8fc1a702f0359$var$sha512.create('SHA-384');
24951
24807
  };
@@ -25455,8 +25311,7 @@ var $33c8fc1a702f0359$var$_states = null;
25455
25311
  ]
25456
25312
  ];
25457
25313
  // initial hash states
25458
- $33c8fc1a702f0359$var$_states = {
25459
- };
25314
+ $33c8fc1a702f0359$var$_states = {};
25460
25315
  $33c8fc1a702f0359$var$_states['SHA-512'] = [
25461
25316
  [
25462
25317
  1779033703,
@@ -25832,21 +25687,17 @@ var $96695cc1b97188e1$var$NativeBuffer = typeof Buffer === 'undefined' ? Uint8Ar
25832
25687
  /*
25833
25688
  * Ed25519 algorithms, see RFC 8032:
25834
25689
  * https://tools.ietf.org/html/rfc8032
25835
- */ $iGlOy.pki = $iGlOy.pki || {
25836
- };
25837
- $96695cc1b97188e1$exports = $iGlOy.pki.ed25519 = $iGlOy.ed25519 = $iGlOy.ed25519 || {
25838
- };
25690
+ */ $iGlOy.pki = $iGlOy.pki || {};
25691
+ $96695cc1b97188e1$exports = $iGlOy.pki.ed25519 = $iGlOy.ed25519 = $iGlOy.ed25519 || {};
25839
25692
  var $96695cc1b97188e1$var$ed25519 = $iGlOy.ed25519;
25840
- $96695cc1b97188e1$var$ed25519.constants = {
25841
- };
25693
+ $96695cc1b97188e1$var$ed25519.constants = {};
25842
25694
  $96695cc1b97188e1$var$ed25519.constants.PUBLIC_KEY_BYTE_LENGTH = 32;
25843
25695
  $96695cc1b97188e1$var$ed25519.constants.PRIVATE_KEY_BYTE_LENGTH = 64;
25844
25696
  $96695cc1b97188e1$var$ed25519.constants.SEED_BYTE_LENGTH = 32;
25845
25697
  $96695cc1b97188e1$var$ed25519.constants.SIGN_BYTE_LENGTH = 64;
25846
25698
  $96695cc1b97188e1$var$ed25519.constants.HASH_BYTE_LENGTH = 64;
25847
25699
  $96695cc1b97188e1$var$ed25519.generateKeyPair = function(options) {
25848
- options = options || {
25849
- };
25700
+ options = options || {};
25850
25701
  var seed = options.seed;
25851
25702
  if (seed === undefined) // generate seed
25852
25703
  seed = $iGlOy.random.getBytesSync($96695cc1b97188e1$var$ed25519.constants.SEED_BYTE_LENGTH);
@@ -25874,8 +25725,7 @@ $96695cc1b97188e1$var$ed25519.generateKeyPair = function(options) {
25874
25725
  * @returns {Object} keyInfo - The key information.
25875
25726
  * @returns {Buffer|Uint8Array} keyInfo.privateKeyBytes - 32 private key bytes.
25876
25727
  */ $96695cc1b97188e1$var$ed25519.privateKeyFromAsn1 = function(obj) {
25877
- var capture = {
25878
- };
25728
+ var capture = {};
25879
25729
  var errors = [];
25880
25730
  var valid = $iGlOy.asn1.validate(obj, $96695cc1b97188e1$var$privateKeyValidator, capture, errors);
25881
25731
  if (!valid) {
@@ -25908,8 +25758,7 @@ $96695cc1b97188e1$var$ed25519.generateKeyPair = function(options) {
25908
25758
  * @return {Buffer|Uint8Array} - 32 public key bytes.
25909
25759
  */ $96695cc1b97188e1$var$ed25519.publicKeyFromAsn1 = function(obj) {
25910
25760
  // get SubjectPublicKeyInfo
25911
- var capture = {
25912
- };
25761
+ var capture = {};
25913
25762
  var errors = [];
25914
25763
  var valid = $iGlOy.asn1.validate(obj, $96695cc1b97188e1$var$publicKeyValidator, capture, errors);
25915
25764
  if (!valid) {
@@ -25928,8 +25777,7 @@ $96695cc1b97188e1$var$ed25519.generateKeyPair = function(options) {
25928
25777
  });
25929
25778
  };
25930
25779
  $96695cc1b97188e1$var$ed25519.publicKeyFromPrivateKey = function(options) {
25931
- options = options || {
25932
- };
25780
+ options = options || {};
25933
25781
  var privateKey = $96695cc1b97188e1$var$messageToNativeBuffer({
25934
25782
  message: options.privateKey,
25935
25783
  encoding: 'binary'
@@ -25940,8 +25788,7 @@ $96695cc1b97188e1$var$ed25519.publicKeyFromPrivateKey = function(options) {
25940
25788
  return pk;
25941
25789
  };
25942
25790
  $96695cc1b97188e1$var$ed25519.sign = function(options) {
25943
- options = options || {
25944
- };
25791
+ options = options || {};
25945
25792
  var msg = $96695cc1b97188e1$var$messageToNativeBuffer(options);
25946
25793
  var privateKey = $96695cc1b97188e1$var$messageToNativeBuffer({
25947
25794
  message: options.privateKey,
@@ -25960,10 +25807,9 @@ $96695cc1b97188e1$var$ed25519.sign = function(options) {
25960
25807
  return sig;
25961
25808
  };
25962
25809
  $96695cc1b97188e1$var$ed25519.verify = function(options) {
25963
- options = options || {
25964
- };
25810
+ options = options || {};
25965
25811
  var msg = $96695cc1b97188e1$var$messageToNativeBuffer(options);
25966
- if (options.signature === undefined) throw new TypeError("\"options.signature\" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a binary string.");
25812
+ if (options.signature === undefined) throw new TypeError('"options.signature" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a binary string.');
25967
25813
  var sig = $96695cc1b97188e1$var$messageToNativeBuffer({
25968
25814
  message: options.signature,
25969
25815
  encoding: 'binary'
@@ -25996,7 +25842,7 @@ function $96695cc1b97188e1$var$messageToNativeBuffer(options) {
25996
25842
  if (typeof message === 'string') {
25997
25843
  if (typeof Buffer !== 'undefined') return Buffer.from(message, encoding);
25998
25844
  message = new $96695cc1b97188e1$var$ByteBuffer(message, encoding);
25999
- } else if (!(message instanceof $96695cc1b97188e1$var$ByteBuffer)) throw new TypeError("\"options.message\" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with \"options.encoding\" specifying its encoding.");
25845
+ } else if (!(message instanceof $96695cc1b97188e1$var$ByteBuffer)) throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');
26000
25846
  // convert to native buffer
26001
25847
  var buffer = new $96695cc1b97188e1$var$NativeBuffer(message.length());
26002
25848
  for(var i = 0; i < buffer.length; ++i)buffer[i] = message.at(i);
@@ -26863,13 +26709,11 @@ var $iGlOy = parcelRequire("iGlOy");
26863
26709
 
26864
26710
 
26865
26711
 
26866
- $8866d3403f6374db$exports = $iGlOy.kem = $iGlOy.kem || {
26867
- };
26712
+ $8866d3403f6374db$exports = $iGlOy.kem = $iGlOy.kem || {};
26868
26713
  var $8866d3403f6374db$var$BigInteger = $iGlOy.jsbn.BigInteger;
26869
26714
  /**
26870
26715
  * The API for the RSA Key Encapsulation Mechanism (RSA-KEM) from ISO 18033-2.
26871
- */ $iGlOy.kem.rsa = {
26872
- };
26716
+ */ $iGlOy.kem.rsa = {};
26873
26717
  /**
26874
26718
  * Creates an RSA KEM API object for generating a secret asymmetric key.
26875
26719
  *
@@ -26884,11 +26728,9 @@ var $8866d3403f6374db$var$BigInteger = $iGlOy.jsbn.BigInteger;
26884
26728
  * [prng] a custom crypto-secure pseudo-random number generator to use,
26885
26729
  * that must define "getBytesSync".
26886
26730
  */ $iGlOy.kem.rsa.create = function(kdf, options) {
26887
- options = options || {
26888
- };
26731
+ options = options || {};
26889
26732
  var prng = options.prng || $iGlOy.random;
26890
- var kem = {
26891
- };
26733
+ var kem = {};
26892
26734
  /**
26893
26735
  * Generates a secret key and its encapsulation.
26894
26736
  *
@@ -26998,8 +26840,7 @@ var $4b898e145571f67c$exports = {};
26998
26840
 
26999
26841
  var $iGlOy = parcelRequire("iGlOy");
27000
26842
 
27001
- /* LOG API */ $4b898e145571f67c$exports = $iGlOy.log = $iGlOy.log || {
27002
- };
26843
+ /* LOG API */ $4b898e145571f67c$exports = $iGlOy.log = $iGlOy.log || {};
27003
26844
  /**
27004
26845
  * Application logging system.
27005
26846
  *
@@ -27024,8 +26865,7 @@ $iGlOy.log.levels = [
27024
26865
  // info on the levels indexed by name:
27025
26866
  // index: level index
27026
26867
  // name: uppercased display name
27027
- var $4b898e145571f67c$var$sLevelInfo = {
27028
- };
26868
+ var $4b898e145571f67c$var$sLevelInfo = {};
27029
26869
  // list of loggers
27030
26870
  var $4b898e145571f67c$var$sLoggers = [];
27031
26871
  /**
@@ -27240,8 +27080,7 @@ if (typeof console !== 'undefined' && 'log' in console) {
27240
27080
  } else // define fake console.log to avoid potential script errors on
27241
27081
  // browsers that do not have console logging
27242
27082
  console = {
27243
- log: function() {
27244
- }
27083
+ log: function() {}
27245
27084
  };
27246
27085
  /*
27247
27086
  * Check for logging control query vars in current URL.
@@ -27303,8 +27142,7 @@ var $iGlOy = parcelRequire("iGlOy");
27303
27142
  // shortcut for ASN.1 API
27304
27143
  var $e128d865c5cf51a7$var$asn1 = $iGlOy.asn1;
27305
27144
  // shortcut for PKCS#7 API
27306
- var $e128d865c5cf51a7$var$p7 = $e128d865c5cf51a7$exports = $iGlOy.pkcs7 = $iGlOy.pkcs7 || {
27307
- };
27145
+ var $e128d865c5cf51a7$var$p7 = $e128d865c5cf51a7$exports = $iGlOy.pkcs7 = $iGlOy.pkcs7 || {};
27308
27146
  /**
27309
27147
  * Converts a PKCS#7 message from PEM format.
27310
27148
  *
@@ -27314,7 +27152,7 @@ var $e128d865c5cf51a7$var$p7 = $e128d865c5cf51a7$exports = $iGlOy.pkcs7 = $iGlOy
27314
27152
  */ $e128d865c5cf51a7$var$p7.messageFromPem = function(pem) {
27315
27153
  var msg = $iGlOy.pem.decode(pem)[0];
27316
27154
  if (msg.type !== 'PKCS7') {
27317
- var error = new Error("Could not convert PKCS#7 message from PEM; PEM header type is not \"PKCS#7\".");
27155
+ var error = new Error('Could not convert PKCS#7 message from PEM; PEM header type is not "PKCS#7".');
27318
27156
  error.headerType = msg.type;
27319
27157
  throw error;
27320
27158
  }
@@ -27348,8 +27186,7 @@ var $e128d865c5cf51a7$var$p7 = $e128d865c5cf51a7$exports = $iGlOy.pkcs7 = $iGlOy
27348
27186
  * @return the PKCS#7 message.
27349
27187
  */ $e128d865c5cf51a7$var$p7.messageFromAsn1 = function(obj) {
27350
27188
  // validate root level ContentInfo and capture data
27351
- var capture = {
27352
- };
27189
+ var capture = {};
27353
27190
  var errors = [];
27354
27191
  if (!$e128d865c5cf51a7$var$asn1.validate(obj, $e128d865c5cf51a7$var$p7.asn1.contentInfoValidator, capture, errors)) {
27355
27192
  var error = new Error("Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.");
@@ -27534,8 +27371,7 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
27534
27371
  * @param options Options to apply when signing:
27535
27372
  * [detached] boolean. If signing should be done in detached mode. Defaults to false.
27536
27373
  */ sign: function(options) {
27537
- options = options || {
27538
- };
27374
+ options = options || {};
27539
27375
  // auto-generate content info
27540
27376
  if (typeof msg.content !== 'object' || msg.contentInfo === null) {
27541
27377
  // use Data ContentInfo
@@ -27582,9 +27418,9 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
27582
27418
  throw new Error('PKCS#7 CRL support not yet implemented.');
27583
27419
  }
27584
27420
  };
27421
+ return msg;
27585
27422
  function addDigestAlgorithmIds() {
27586
- var mds = {
27587
- };
27423
+ var mds = {};
27588
27424
  for(var i = 0; i < msg.signers.length; ++i){
27589
27425
  var signer = msg.signers[i];
27590
27426
  var oid = signer.digestAlgorithm;
@@ -27690,7 +27526,6 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
27690
27526
  // add signer info
27691
27527
  msg.signerInfos = $e128d865c5cf51a7$var$_signersToAsn1(msg.signers);
27692
27528
  }
27693
- return msg;
27694
27529
  };
27695
27530
  /**
27696
27531
  * Creates an empty PKCS#7 message of type EncryptedData.
@@ -27902,8 +27737,7 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
27902
27737
  * @return the recipient object.
27903
27738
  */ function $e128d865c5cf51a7$var$_recipientFromAsn1(obj) {
27904
27739
  // validate EnvelopedData content block and capture data
27905
- var capture = {
27906
- };
27740
+ var capture = {};
27907
27741
  var errors = [];
27908
27742
  if (!$e128d865c5cf51a7$var$asn1.validate(obj, $e128d865c5cf51a7$var$p7.asn1.recipientInfoValidator, capture, errors)) {
27909
27743
  var error = new Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");
@@ -27981,8 +27815,7 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
27981
27815
  * @return the signer object.
27982
27816
  */ function $e128d865c5cf51a7$var$_signerFromAsn1(obj) {
27983
27817
  // validate EnvelopedData content block and capture data
27984
- var capture = {
27985
- };
27818
+ var capture = {};
27986
27819
  var errors = [];
27987
27820
  if (!$e128d865c5cf51a7$var$asn1.validate(obj, $e128d865c5cf51a7$var$p7.asn1.signerInfoValidator, capture, errors)) {
27988
27821
  var error = new Error("Cannot read PKCS#7 SignerInfo. ASN.1 object is not an PKCS#7 SignerInfo.");
@@ -28165,8 +27998,7 @@ $e128d865c5cf51a7$var$p7.createSignedData = function() {
28165
27998
  *
28166
27999
  * @return the value map captured by validator object.
28167
28000
  */ function $e128d865c5cf51a7$var$_fromAsn1(msg, obj, validator) {
28168
- var capture = {
28169
- };
28001
+ var capture = {};
28170
28002
  var errors = [];
28171
28003
  if (!$e128d865c5cf51a7$var$asn1.validate(obj, validator, capture, errors)) {
28172
28004
  var error = new Error("Cannot read PKCS#7 message. ASN.1 object is not a supported PKCS#7 message.");
@@ -28250,8 +28082,7 @@ var $iGlOy = parcelRequire("iGlOy");
28250
28082
 
28251
28083
 
28252
28084
 
28253
- var $85c6486b1bf8bee8$var$ssh = $85c6486b1bf8bee8$exports = $iGlOy.ssh = $iGlOy.ssh || {
28254
- };
28085
+ var $85c6486b1bf8bee8$var$ssh = $85c6486b1bf8bee8$exports = $iGlOy.ssh = $iGlOy.ssh || {};
28255
28086
  /**
28256
28087
  * Encodes (and optionally encrypts) a private RSA key as a Putty PPK file.
28257
28088
  *
@@ -28374,8 +28205,7 @@ var $85c6486b1bf8bee8$var$ssh = $85c6486b1bf8bee8$exports = $iGlOy.ssh = $iGlOy.
28374
28205
  *
28375
28206
  * @return the fingerprint as a byte buffer or other encoding based on options.
28376
28207
  */ $85c6486b1bf8bee8$var$ssh.getPublicKeyFingerprint = function(key, options) {
28377
- options = options || {
28378
- };
28208
+ options = options || {};
28379
28209
  var md = options.md || $iGlOy.md.md5.create();
28380
28210
  var type = 'ssh-rsa';
28381
28211
  var buffer = $iGlOy.util.createBuffer();
@@ -28898,10 +28728,8 @@ $d0a07df29ef1b0fa$export$bffa455ba8c619a6 = (...args)=>{
28898
28728
  };
28899
28729
 
28900
28730
 
28901
- $156a1a36db86ccbd$exports = (ast, options = {
28902
- })=>{
28903
- let stringify = (node, parent = {
28904
- })=>{
28731
+ $156a1a36db86ccbd$exports = (ast, options = {})=>{
28732
+ let stringify = (node, parent = {})=>{
28905
28733
  let invalidBlock = options.escapeInvalid && $d0a07df29ef1b0fa$export$25a78c310c11373f(parent);
28906
28734
  let invalidNode = node.invalid === true && options.escapeInvalid === true;
28907
28735
  let output = '';
@@ -29145,10 +28973,8 @@ function $07628d57aabb0c0b$var$padZeros(value, tok, options) {
29145
28973
  }
29146
28974
  /**
29147
28975
  * Cache
29148
- */ $07628d57aabb0c0b$var$toRegexRange.cache = {
29149
- };
29150
- $07628d57aabb0c0b$var$toRegexRange.clearCache = ()=>$07628d57aabb0c0b$var$toRegexRange.cache = {
29151
- }
28976
+ */ $07628d57aabb0c0b$var$toRegexRange.cache = {};
28977
+ $07628d57aabb0c0b$var$toRegexRange.clearCache = ()=>$07628d57aabb0c0b$var$toRegexRange.cache = {}
29152
28978
  ;
29153
28979
  /**
29154
28980
  * Expose `toRegexRange`
@@ -29244,8 +29070,7 @@ const $834b1889a72cf074$var$invalidStep = (step, options)=>{
29244
29070
  if (options.strictRanges === true) throw new TypeError(`Expected step "${step}" to be a number`);
29245
29071
  return [];
29246
29072
  };
29247
- const $834b1889a72cf074$var$fillNumbers = (start, end, step = 1, options = {
29248
- })=>{
29073
+ const $834b1889a72cf074$var$fillNumbers = (start, end, step = 1, options = {})=>{
29249
29074
  let a = Number(start);
29250
29075
  let b = Number(end);
29251
29076
  if (!Number.isInteger(a) || !Number.isInteger(b)) {
@@ -29288,8 +29113,7 @@ const $834b1889a72cf074$var$fillNumbers = (start, end, step = 1, options = {
29288
29113
  });
29289
29114
  return range;
29290
29115
  };
29291
- const $834b1889a72cf074$var$fillLetters = (start, end, step = 1, options = {
29292
- })=>{
29116
+ const $834b1889a72cf074$var$fillLetters = (start, end, step = 1, options = {})=>{
29293
29117
  if (!$834b1889a72cf074$var$isNumber(start) && start.length > 1 || !$834b1889a72cf074$var$isNumber(end) && end.length > 1) return $834b1889a72cf074$var$invalidRange(start, end, options);
29294
29118
  let format = options.transform || ((val)=>String.fromCharCode(val)
29295
29119
  );
@@ -29312,8 +29136,7 @@ const $834b1889a72cf074$var$fillLetters = (start, end, step = 1, options = {
29312
29136
  });
29313
29137
  return range;
29314
29138
  };
29315
- const $834b1889a72cf074$var$fill = (start, end, step, options = {
29316
- })=>{
29139
+ const $834b1889a72cf074$var$fill = (start, end, step, options = {})=>{
29317
29140
  if (end == null && $834b1889a72cf074$var$isValidValue(start)) return [
29318
29141
  start
29319
29142
  ];
@@ -29338,10 +29161,8 @@ $834b1889a72cf074$exports = $834b1889a72cf074$var$fill;
29338
29161
 
29339
29162
 
29340
29163
 
29341
- const $c82bd34878224845$var$compile = (ast, options = {
29342
- })=>{
29343
- let walk = (node, parent = {
29344
- })=>{
29164
+ const $c82bd34878224845$var$compile = (ast, options = {})=>{
29165
+ let walk = (node, parent = {})=>{
29345
29166
  let invalidBlock = $d0a07df29ef1b0fa$export$25a78c310c11373f(parent);
29346
29167
  let invalidNode = node.invalid === true && options.escapeInvalid === true;
29347
29168
  let invalid = invalidBlock === true || invalidNode === true;
@@ -29391,11 +29212,9 @@ const $9d3fbdd0cb3873b2$var$append = (queue = '', stash = '', enclose = false)=>
29391
29212
  }
29392
29213
  return $d0a07df29ef1b0fa$export$bffa455ba8c619a6(result);
29393
29214
  };
29394
- const $9d3fbdd0cb3873b2$var$expand = (ast, options = {
29395
- })=>{
29215
+ const $9d3fbdd0cb3873b2$var$expand = (ast, options = {})=>{
29396
29216
  let rangeLimit = options.rangeLimit === void 0 ? 1000 : options.rangeLimit;
29397
- let walk = (node, parent = {
29398
- })=>{
29217
+ let walk = (node, parent = {})=>{
29399
29218
  node.queue = [];
29400
29219
  let p = parent;
29401
29220
  let q = parent.queue;
@@ -29527,11 +29346,9 @@ var $88c0a7901dd4a8c2$require$CHAR_NO_BREAK_SPACE = $f1bb1ac16e435177$exports.CH
29527
29346
  var $88c0a7901dd4a8c2$require$CHAR_ZERO_WIDTH_NOBREAK_SPACE = $f1bb1ac16e435177$exports.CHAR_ZERO_WIDTH_NOBREAK_SPACE;
29528
29347
  /**
29529
29348
  * parse
29530
- */ const $88c0a7901dd4a8c2$var$parse = (input, options = {
29531
- })=>{
29349
+ */ const $88c0a7901dd4a8c2$var$parse = (input, options = {})=>{
29532
29350
  if (typeof input !== 'string') throw new TypeError('Expected a string');
29533
- let opts = options || {
29534
- };
29351
+ let opts = options || {};
29535
29352
  let max = typeof opts.maxLength === 'number' ? Math.min($88c0a7901dd4a8c2$require$MAX_LENGTH, opts.maxLength) : $88c0a7901dd4a8c2$require$MAX_LENGTH;
29536
29353
  if (input.length > max) throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
29537
29354
  let ast = {
@@ -29549,8 +29366,7 @@ var $88c0a7901dd4a8c2$require$CHAR_ZERO_WIDTH_NOBREAK_SPACE = $f1bb1ac16e435177$
29549
29366
  let index = 0;
29550
29367
  let depth = 0;
29551
29368
  let value;
29552
- let memo = {
29553
- };
29369
+ let memo = {};
29554
29370
  /**
29555
29371
  * Helpers
29556
29372
  */ const advance = ()=>input[index++]
@@ -29824,8 +29640,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29824
29640
  * @param {Object} `options`
29825
29641
  * @return {String}
29826
29642
  * @api public
29827
- */ const $fec07f13db1e462a$var$braces = (input, options = {
29828
- })=>{
29643
+ */ const $fec07f13db1e462a$var$braces = (input, options = {})=>{
29829
29644
  let output = [];
29830
29645
  if (Array.isArray(input)) for (let pattern of input){
29831
29646
  let result = $fec07f13db1e462a$var$braces.create(pattern, options);
@@ -29850,8 +29665,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29850
29665
  * @param {Object} options
29851
29666
  * @return {Object} Returns an AST
29852
29667
  * @api public
29853
- */ $fec07f13db1e462a$var$braces.parse = (input, options = {
29854
- })=>$88c0a7901dd4a8c2$exports(input, options)
29668
+ */ $fec07f13db1e462a$var$braces.parse = (input, options = {})=>$88c0a7901dd4a8c2$exports(input, options)
29855
29669
  ;
29856
29670
  /**
29857
29671
  * Creates a braces string from an AST, or an AST node.
@@ -29865,8 +29679,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29865
29679
  * @param {Object} `options`
29866
29680
  * @return {Array} Returns an array of expanded values.
29867
29681
  * @api public
29868
- */ $fec07f13db1e462a$var$braces.stringify = (input, options = {
29869
- })=>{
29682
+ */ $fec07f13db1e462a$var$braces.stringify = (input, options = {})=>{
29870
29683
  if (typeof input === 'string') return $156a1a36db86ccbd$exports($fec07f13db1e462a$var$braces.parse(input, options), options);
29871
29684
  return $156a1a36db86ccbd$exports(input, options);
29872
29685
  };
@@ -29883,8 +29696,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29883
29696
  * @param {Object} `options`
29884
29697
  * @return {Array} Returns an array of expanded values.
29885
29698
  * @api public
29886
- */ $fec07f13db1e462a$var$braces.compile = (input, options = {
29887
- })=>{
29699
+ */ $fec07f13db1e462a$var$braces.compile = (input, options = {})=>{
29888
29700
  if (typeof input === 'string') input = $fec07f13db1e462a$var$braces.parse(input, options);
29889
29701
  return $c82bd34878224845$exports(input, options);
29890
29702
  };
@@ -29903,8 +29715,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29903
29715
  * @param {Object} `options`
29904
29716
  * @return {Array} Returns an array of expanded values.
29905
29717
  * @api public
29906
- */ $fec07f13db1e462a$var$braces.expand = (input, options = {
29907
- })=>{
29718
+ */ $fec07f13db1e462a$var$braces.expand = (input, options = {})=>{
29908
29719
  if (typeof input === 'string') input = $fec07f13db1e462a$var$braces.parse(input, options);
29909
29720
  let result = $9d3fbdd0cb3873b2$exports(input, options);
29910
29721
  // filter out empty strings if specified
@@ -29929,8 +29740,7 @@ $88c0a7901dd4a8c2$exports = $88c0a7901dd4a8c2$var$parse;
29929
29740
  * @param {Object} `options`
29930
29741
  * @return {Array} Returns an array of expanded values.
29931
29742
  * @api public
29932
- */ $fec07f13db1e462a$var$braces.create = (input, options = {
29933
- })=>{
29743
+ */ $fec07f13db1e462a$var$braces.create = (input, options = {})=>{
29934
29744
  if (input === '' || input.length < 3) return [
29935
29745
  input
29936
29746
  ];
@@ -30067,8 +29877,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === '' || val === './'
30067
29877
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
30068
29878
  * @return {Array} Returns an array of strings that **do not match** the given patterns.
30069
29879
  * @api public
30070
- */ $fec3b4fc54d3756a$var$micromatch.not = (list, patterns, options = {
30071
- })=>{
29880
+ */ $fec3b4fc54d3756a$var$micromatch.not = (list, patterns, options = {})=>{
30072
29881
  patterns = [].concat(patterns).map(String);
30073
29882
  let result = new Set();
30074
29883
  let items = [];
@@ -30137,8 +29946,7 @@ const $fec3b4fc54d3756a$var$isEmptyString = (val)=>val === '' || val === './'
30137
29946
  */ $fec3b4fc54d3756a$var$micromatch.matchKeys = (obj, patterns, options)=>{
30138
29947
  if (!$5MQDC.isObject(obj)) throw new TypeError('Expected the first argument to be an object');
30139
29948
  let keys = $fec3b4fc54d3756a$var$micromatch(Object.keys(obj), patterns, options);
30140
- let res = {
30141
- };
29949
+ let res = {};
30142
29950
  for (let key of keys)res[key] = obj[key];
30143
29951
  return res;
30144
29952
  };
@@ -30346,13 +30154,11 @@ const $e1fc146aea519a53$var$REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\[.*]/;
30346
30154
  const $e1fc146aea519a53$var$REGEX_GROUP_SYMBOLS_RE = /(?:^|[^@!*?+])\(.*\|.*\)/;
30347
30155
  const $e1fc146aea519a53$var$GLOB_EXTENSION_SYMBOLS_RE = /[@!*?+]\(.*\)/;
30348
30156
  const $e1fc146aea519a53$var$BRACE_EXPANSIONS_SYMBOLS_RE = /{.*(?:,|\.\.).*}/;
30349
- function $e1fc146aea519a53$var$isStaticPattern(pattern, options = {
30350
- }) {
30157
+ function $e1fc146aea519a53$var$isStaticPattern(pattern, options = {}) {
30351
30158
  return !$e1fc146aea519a53$var$isDynamicPattern(pattern, options);
30352
30159
  }
30353
30160
  $e1fc146aea519a53$exports.isStaticPattern = $e1fc146aea519a53$var$isStaticPattern;
30354
- function $e1fc146aea519a53$var$isDynamicPattern(pattern, options = {
30355
- }) {
30161
+ function $e1fc146aea519a53$var$isDynamicPattern(pattern, options = {}) {
30356
30162
  /**
30357
30163
  * When the `caseSensitiveMatch` option is disabled, all patterns must be marked as dynamic, because we cannot check
30358
30164
  * filepath directly (without read directory).
@@ -30460,8 +30266,7 @@ function $62a8baa648172408$var$merge2() {
30460
30266
  const args = $62a8baa648172408$var$slice.call(arguments);
30461
30267
  let options = args[args.length - 1];
30462
30268
  if (options && !Array.isArray(options) && options.pipe == null) args.pop();
30463
- else options = {
30464
- };
30269
+ else options = {};
30465
30270
  const doEnd = options.end !== false;
30466
30271
  if (options.objectMode == null) options.objectMode = true;
30467
30272
  if (options.highWaterMark == null) options.highWaterMark = 65536;
@@ -30591,8 +30396,7 @@ function $d436392a45e5b9b4$var$getNegativePatternsAsPositive(patterns, ignore) {
30591
30396
  }
30592
30397
  $d436392a45e5b9b4$exports.getNegativePatternsAsPositive = $d436392a45e5b9b4$var$getNegativePatternsAsPositive;
30593
30398
  function $d436392a45e5b9b4$var$groupPatternsByBaseDirectory(patterns) {
30594
- const group = {
30595
- };
30399
+ const group = {};
30596
30400
  return patterns.reduce((collection, pattern)=>{
30597
30401
  const base = $1b5b082adfcf5f99$exports.pattern.getBaseDirectory(pattern);
30598
30402
  if (base in collection) collection[base].push(pattern);
@@ -30706,15 +30510,13 @@ $63feca573ea7b7b0$exports.FILE_SYSTEM_ADAPTER = {
30706
30510
  };
30707
30511
  function $63feca573ea7b7b0$var$createFileSystemAdapter(fsMethods) {
30708
30512
  if (fsMethods === undefined) return $63feca573ea7b7b0$exports.FILE_SYSTEM_ADAPTER;
30709
- return Object.assign(Object.assign({
30710
- }, $63feca573ea7b7b0$exports.FILE_SYSTEM_ADAPTER), fsMethods);
30513
+ return Object.assign(Object.assign({}, $63feca573ea7b7b0$exports.FILE_SYSTEM_ADAPTER), fsMethods);
30711
30514
  }
30712
30515
  $63feca573ea7b7b0$exports.createFileSystemAdapter = $63feca573ea7b7b0$var$createFileSystemAdapter;
30713
30516
 
30714
30517
 
30715
30518
  class $ef1fb79f0bdf5fd9$var$Settings {
30716
- constructor(_options = {
30717
- }){
30519
+ constructor(_options = {}){
30718
30520
  this._options = _options;
30719
30521
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
30720
30522
  this.fs = $63feca573ea7b7b0$exports.createFileSystemAdapter(this._options.fs);
@@ -30739,8 +30541,7 @@ function $6c0caade5edaab5b$var$statSync(path, optionsOrSettings) {
30739
30541
  return $dc5606dc29aa77a7$exports.read(path, settings);
30740
30542
  }
30741
30543
  $6c0caade5edaab5b$exports.statSync = $6c0caade5edaab5b$var$statSync;
30742
- function $6c0caade5edaab5b$var$getSettings(settingsOrOptions = {
30743
- }) {
30544
+ function $6c0caade5edaab5b$var$getSettings(settingsOrOptions = {}) {
30744
30545
  if (settingsOrOptions instanceof $ef1fb79f0bdf5fd9$exports.default) return settingsOrOptions;
30745
30546
  return new $ef1fb79f0bdf5fd9$exports.default(settingsOrOptions);
30746
30547
  }
@@ -30783,8 +30584,7 @@ function $464bce01c537cfdb$var$runParallel(tasks, cb) {
30783
30584
  pending = tasks.length;
30784
30585
  } else {
30785
30586
  keys = Object.keys(tasks);
30786
- results = {
30787
- };
30587
+ results = {};
30788
30588
  pending = keys.length;
30789
30589
  }
30790
30590
  function done(err) {
@@ -31012,15 +30812,13 @@ $150cb26c808670af$exports.FILE_SYSTEM_ADAPTER = {
31012
30812
  };
31013
30813
  function $150cb26c808670af$var$createFileSystemAdapter(fsMethods) {
31014
30814
  if (fsMethods === undefined) return $150cb26c808670af$exports.FILE_SYSTEM_ADAPTER;
31015
- return Object.assign(Object.assign({
31016
- }, $150cb26c808670af$exports.FILE_SYSTEM_ADAPTER), fsMethods);
30815
+ return Object.assign(Object.assign({}, $150cb26c808670af$exports.FILE_SYSTEM_ADAPTER), fsMethods);
31017
30816
  }
31018
30817
  $150cb26c808670af$exports.createFileSystemAdapter = $150cb26c808670af$var$createFileSystemAdapter;
31019
30818
 
31020
30819
 
31021
30820
  class $3dcdbb61bc2266b4$var$Settings {
31022
- constructor(_options = {
31023
- }){
30821
+ constructor(_options = {}){
31024
30822
  this._options = _options;
31025
30823
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
31026
30824
  this.fs = $150cb26c808670af$exports.createFileSystemAdapter(this._options.fs);
@@ -31051,8 +30849,7 @@ function $6e9dd7fa450f205e$var$scandirSync(path, optionsOrSettings) {
31051
30849
  return $b552b4f86bca374b$exports.read(path, settings);
31052
30850
  }
31053
30851
  $6e9dd7fa450f205e$exports.scandirSync = $6e9dd7fa450f205e$var$scandirSync;
31054
- function $6e9dd7fa450f205e$var$getSettings(settingsOrOptions = {
31055
- }) {
30852
+ function $6e9dd7fa450f205e$var$getSettings(settingsOrOptions = {}) {
31056
30853
  if (settingsOrOptions instanceof $3dcdbb61bc2266b4$exports.default) return settingsOrOptions;
31057
30854
  return new $3dcdbb61bc2266b4$exports.default(settingsOrOptions);
31058
30855
  }
@@ -31113,6 +30910,7 @@ function $4609f2cae016f1ac$var$fastqueue(context, worker, concurrency) {
31113
30910
  kill: kill,
31114
30911
  killAndDrain: killAndDrain
31115
30912
  };
30913
+ return self;
31116
30914
  function running() {
31117
30915
  return _running;
31118
30916
  }
@@ -31213,10 +31011,8 @@ function $4609f2cae016f1ac$var$fastqueue(context, worker, concurrency) {
31213
31011
  self.drain();
31214
31012
  self.drain = $4609f2cae016f1ac$var$noop;
31215
31013
  }
31216
- return self;
31217
- }
31218
- function $4609f2cae016f1ac$var$noop() {
31219
31014
  }
31015
+ function $4609f2cae016f1ac$var$noop() {}
31220
31016
  function $4609f2cae016f1ac$var$Task() {
31221
31017
  this.value = null;
31222
31018
  this.callback = $4609f2cae016f1ac$var$noop;
@@ -31392,8 +31188,7 @@ class $c2173b46cba09dea$var$StreamProvider {
31392
31188
  this._reader = new $2fa2a8e52edb0b77$exports.default(this._root, this._settings);
31393
31189
  this._stream = new $8C1kk$stream.Readable({
31394
31190
  objectMode: true,
31395
- read: ()=>{
31396
- },
31191
+ read: ()=>{},
31397
31192
  destroy: this._reader.destroy.bind(this._reader)
31398
31193
  });
31399
31194
  }
@@ -31496,8 +31291,7 @@ Object.defineProperty($a0b78a2e01019234$exports, "__esModule", {
31496
31291
 
31497
31292
 
31498
31293
  class $a0b78a2e01019234$var$Settings {
31499
- constructor(_options = {
31500
- }){
31294
+ constructor(_options = {}){
31501
31295
  this._options = _options;
31502
31296
  this.basePath = this._getValue(this._options.basePath, undefined);
31503
31297
  this.concurrency = this._getValue(this._options.concurrency, Infinity);
@@ -31538,8 +31332,7 @@ function $798d916015b2c927$var$walkStream(directory, optionsOrSettings) {
31538
31332
  return provider.read();
31539
31333
  }
31540
31334
  $798d916015b2c927$exports.walkStream = $798d916015b2c927$var$walkStream;
31541
- function $798d916015b2c927$var$getSettings(settingsOrOptions = {
31542
- }) {
31335
+ function $798d916015b2c927$var$getSettings(settingsOrOptions = {}) {
31543
31336
  if (settingsOrOptions instanceof $a0b78a2e01019234$exports.default) return settingsOrOptions;
31544
31337
  return new $a0b78a2e01019234$exports.default(settingsOrOptions);
31545
31338
  }
@@ -31777,8 +31570,7 @@ class $4583c239a6a31b31$var$EntryTransformer {
31777
31570
  }
31778
31571
  if (this._settings.markDirectories && entry.dirent.isDirectory()) filepath += '/';
31779
31572
  if (!this._settings.objectMode) return filepath;
31780
- return Object.assign(Object.assign({
31781
- }, entry), {
31573
+ return Object.assign(Object.assign({}, entry), {
31782
31574
  path: filepath
31783
31575
  });
31784
31576
  }
@@ -31874,8 +31666,7 @@ class $434410c8b70ca432$var$ProviderStream extends $b2104eae05a96326$exports.def
31874
31666
  const source = this.api(root, task, options);
31875
31667
  const destination = new $8C1kk$stream.Readable({
31876
31668
  objectMode: true,
31877
- read: ()=>{
31878
- }
31669
+ read: ()=>{}
31879
31670
  });
31880
31671
  source.once('error', (error)=>destination.emit('error', error)
31881
31672
  ).on('data', (entry)=>destination.emit('data', options.transform(entry))
@@ -31978,8 +31769,7 @@ $1d7e3dfd05c8321e$exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
31978
31769
  readdirSync: $8C1kk$fs.readdirSync
31979
31770
  };
31980
31771
  class $1d7e3dfd05c8321e$var$Settings {
31981
- constructor(_options = {
31982
- }){
31772
+ constructor(_options = {}){
31983
31773
  this._options = _options;
31984
31774
  this.absolute = this._getValue(this._options.absolute, false);
31985
31775
  this.baseNameMatch = this._getValue(this._options.baseNameMatch, false);
@@ -32008,10 +31798,8 @@ class $1d7e3dfd05c8321e$var$Settings {
32008
31798
  _getValue(option, value) {
32009
31799
  return option === undefined ? value : option;
32010
31800
  }
32011
- _getFileSystemMethods(methods = {
32012
- }) {
32013
- return Object.assign(Object.assign({
32014
- }, $1d7e3dfd05c8321e$exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
31801
+ _getFileSystemMethods(methods = {}) {
31802
+ return Object.assign(Object.assign({}, $1d7e3dfd05c8321e$exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
32015
31803
  }
32016
31804
  }
32017
31805
  $1d7e3dfd05c8321e$exports.default = $1d7e3dfd05c8321e$var$Settings;
@@ -32064,8 +31852,7 @@ function $b57e78be4f7a2622$var$FastGlob(source, options) {
32064
31852
  return $1b5b082adfcf5f99$exports.path.escape(source);
32065
31853
  }
32066
31854
  FastGlob.escapePath = escapePath;
32067
- })($b57e78be4f7a2622$var$FastGlob || ($b57e78be4f7a2622$var$FastGlob = {
32068
- }));
31855
+ })($b57e78be4f7a2622$var$FastGlob || ($b57e78be4f7a2622$var$FastGlob = {}));
32069
31856
  function $b57e78be4f7a2622$var$getWorks(source, _Provider, options) {
32070
31857
  const patterns = [].concat(source);
32071
31858
  const settings = new $1d7e3dfd05c8321e$exports.default(options);
@@ -32344,8 +32131,7 @@ $3124255f7fbe16f0$var$ansiEscapes.link = (text, url)=>{
32344
32131
  $3124255f7fbe16f0$var$BEL
32345
32132
  ].join('');
32346
32133
  };
32347
- $3124255f7fbe16f0$var$ansiEscapes.image = (buffer, options = {
32348
- })=>{
32134
+ $3124255f7fbe16f0$var$ansiEscapes.image = (buffer, options = {})=>{
32349
32135
  let ret = `${$3124255f7fbe16f0$var$OSC}1337;File=inline=1`;
32350
32136
  if (options.width) ret += `;width=${options.width}`;
32351
32137
  if (options.height) ret += `;height=${options.height}`;
@@ -32355,8 +32141,7 @@ $3124255f7fbe16f0$var$ansiEscapes.image = (buffer, options = {
32355
32141
  $3124255f7fbe16f0$var$ansiEscapes.iTerm = {
32356
32142
  setCwd: (cwd = process.cwd())=>`${$3124255f7fbe16f0$var$OSC}50;CurrentDir=${cwd}${$3124255f7fbe16f0$var$BEL}`
32357
32143
  ,
32358
- annotation: (message, options = {
32359
- })=>{
32144
+ annotation: (message, options = {})=>{
32360
32145
  let ret = `${$3124255f7fbe16f0$var$OSC}1337;`;
32361
32146
  const hasX = typeof options.x !== 'undefined';
32362
32147
  const hasY = typeof options.y !== 'undefined';
@@ -32519,8 +32304,7 @@ $007fe08032bb1964$exports = {
32519
32304
  };
32520
32305
 
32521
32306
 
32522
- const $77226306a1863103$var$terminalLink = (text, url, { target: target = 'stdout' , ...options } = {
32523
- })=>{
32307
+ const $77226306a1863103$var$terminalLink = (text, url, { target: target = 'stdout' , ...options } = {})=>{
32524
32308
  if (!$007fe08032bb1964$exports[target]) {
32525
32309
  // If the fallback has been explicitly disabled, don't modify the text itself.
32526
32310
  if (options.fallback === false) return text;
@@ -32528,11 +32312,9 @@ const $77226306a1863103$var$terminalLink = (text, url, { target: target = 'stdou
32528
32312
  }
32529
32313
  return $3124255f7fbe16f0$exports.link(text, url);
32530
32314
  };
32531
- $77226306a1863103$exports = (text, url, options = {
32532
- })=>$77226306a1863103$var$terminalLink(text, url, options)
32315
+ $77226306a1863103$exports = (text, url, options = {})=>$77226306a1863103$var$terminalLink(text, url, options)
32533
32316
  ;
32534
- $77226306a1863103$exports.stderr = (text, url, options = {
32535
- })=>$77226306a1863103$var$terminalLink(text, url, {
32317
+ $77226306a1863103$exports.stderr = (text, url, options = {})=>$77226306a1863103$var$terminalLink(text, url, {
32536
32318
  target: 'stderr',
32537
32319
  ...options
32538
32320
  })
@@ -33230,8 +33012,7 @@ $618f8c1de80a427f$exports = async (target, options)=>{
33230
33012
  let command;
33231
33013
  let appArguments = [];
33232
33014
  const cliArguments = [];
33233
- const childProcessOptions = {
33234
- };
33015
+ const childProcessOptions = {};
33235
33016
  if (Array.isArray(options.app)) {
33236
33017
  appArguments = options.app.slice(1);
33237
33018
  options.app = options.app[0];
@@ -33283,8 +33064,7 @@ $618f8c1de80a427f$exports = async (target, options)=>{
33283
33064
  try {
33284
33065
  await $618f8c1de80a427f$var$pAccess($618f8c1de80a427f$var$localXdgOpenPath, $8C1kk$fs.constants.X_OK);
33285
33066
  exeLocalXdgOpen = true;
33286
- } catch (_) {
33287
- }
33067
+ } catch (_) {}
33288
33068
  const useSystemXdgOpen = process.versions.electron || process.platform === 'android' || isBundled || !exeLocalXdgOpen;
33289
33069
  command = useSystemXdgOpen ? 'xdg-open' : $618f8c1de80a427f$var$localXdgOpenPath;
33290
33070
  }
@@ -33381,22 +33161,19 @@ var $284aeb9e515b63c0$var$clone = function() {
33381
33161
  } catch (_) {
33382
33162
  // maybe a reference error because no `Map`. Give it a dummy value that no
33383
33163
  // value will ever be an instanceof.
33384
- nativeMap = function() {
33385
- };
33164
+ nativeMap = function() {};
33386
33165
  }
33387
33166
  var nativeSet;
33388
33167
  try {
33389
33168
  nativeSet = Set;
33390
33169
  } catch (_1) {
33391
- nativeSet = function() {
33392
- };
33170
+ nativeSet = function() {};
33393
33171
  }
33394
33172
  var nativePromise;
33395
33173
  try {
33396
33174
  nativePromise = Promise;
33397
33175
  } catch (_2) {
33398
- nativePromise = function() {
33399
- };
33176
+ nativePromise = function() {};
33400
33177
  }
33401
33178
  /**
33402
33179
  * Clones (copies) an Object using deep copying.
@@ -33528,8 +33305,7 @@ var $284aeb9e515b63c0$var$clone = function() {
33528
33305
  * works.
33529
33306
  */ clone.clonePrototype = function clonePrototype(parent) {
33530
33307
  if (parent === null) return null;
33531
- var c = function() {
33532
- };
33308
+ var c = function() {};
33533
33309
  c.prototype = parent;
33534
33310
  return new c();
33535
33311
  };
@@ -33560,7 +33336,7 @@ var $284aeb9e515b63c0$var$clone = function() {
33560
33336
  clone.__getRegExpFlags = __getRegExpFlags;
33561
33337
  return clone;
33562
33338
  }();
33563
- if ("object" === 'object' && $284aeb9e515b63c0$exports) $284aeb9e515b63c0$exports = $284aeb9e515b63c0$var$clone;
33339
+ if ($284aeb9e515b63c0$exports) $284aeb9e515b63c0$exports = $284aeb9e515b63c0$var$clone;
33564
33340
 
33565
33341
 
33566
33342
  // This is a generated file. Do not edit.
@@ -34294,8 +34070,7 @@ function $5dc3ee1f90b35876$var$push() {
34294
34070
  case 'punctuator':
34295
34071
  switch($5dc3ee1f90b35876$var$token.value){
34296
34072
  case '{':
34297
- value = {
34298
- };
34073
+ value = {};
34299
34074
  break;
34300
34075
  case '[':
34301
34076
  value = [];
@@ -34421,6 +34196,9 @@ var $5dc3ee1f90b35876$var$stringify = function stringify(value1, replacer, space
34421
34196
  gap = ' '.substr(0, space);
34422
34197
  }
34423
34198
  } else if (typeof space === 'string') gap = space.substr(0, 10);
34199
+ return serializeProperty('', {
34200
+ '': value1
34201
+ });
34424
34202
  function serializeProperty(key, holder) {
34425
34203
  let value = holder[key];
34426
34204
  if (value != null) {
@@ -34591,9 +34369,6 @@ var $5dc3ee1f90b35876$var$stringify = function stringify(value1, replacer, space
34591
34369
  indent = stepback;
34592
34370
  return final;
34593
34371
  }
34594
- return serializeProperty('', {
34595
- '': value1
34596
- });
34597
34372
  };
34598
34373
  const $5dc3ee1f90b35876$var$JSON5 = {
34599
34374
  parse: $5dc3ee1f90b35876$var$parse,
@@ -34865,8 +34640,7 @@ function $3d36175a98d16391$var$Node(value, prev, next, list) {
34865
34640
  try {
34866
34641
  // add if support for Symbol.iterator is present
34867
34642
  (parcelRequire("lADnf"))($3d36175a98d16391$var$Yallist);
34868
- } catch (er) {
34869
- }
34643
+ } catch (er) {}
34870
34644
 
34871
34645
 
34872
34646
  const $1c9e97ff3b9eceee$var$MAX = Symbol('max');
@@ -34894,8 +34668,7 @@ class $1c9e97ff3b9eceee$var$LRUCache {
34894
34668
  if (typeof options === 'number') options = {
34895
34669
  max: options
34896
34670
  };
34897
- if (!options) options = {
34898
- };
34671
+ if (!options) options = {};
34899
34672
  if (options.max && (typeof options.max !== 'number' || options.max < 0)) throw new TypeError('max must be a non-negative number');
34900
34673
  // Kind of weird to have a default max of Infinity, but oh well.
34901
34674
  const max = this[$1c9e97ff3b9eceee$var$MAX] = options.max || Infinity;
@@ -35266,8 +35039,7 @@ async function $6aebdac47db0459e$export$6643be4f4e63e994(fs, moduleName, dir) {
35266
35039
  ));
35267
35040
  }));
35268
35041
  }
35269
- } catch (err) {
35270
- } // Move up a directory
35042
+ } catch (err) {} // Move up a directory
35271
35043
  dir = ($parcel$interopDefault($8C1kk$path)).dirname(dir);
35272
35044
  }
35273
35045
  return $4ca1027d34905147$export$2115c2c0a84eef61(potentialModules.sort(), moduleName).slice(0, 2);
@@ -35436,8 +35208,7 @@ if (process.browser) {
35436
35208
  // Firefox might throw when sending the Buffer over a MessagePort
35437
35209
  channel.port1.postMessage(new SharedArrayBuffer(0));
35438
35210
  $1c93db5abaa33eaa$export$8b1c306fed4227bf = SharedArrayBuffer;
35439
- } catch (_) {
35440
- }
35211
+ } catch (_) {}
35441
35212
  channel.port1.close();
35442
35213
  channel.port2.close();
35443
35214
  }
@@ -35500,7 +35271,8 @@ async function $0e887a49fdd81cad$export$3b1983e9896f988b(options) {
35500
35271
 
35501
35272
 
35502
35273
 
35503
- function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGraph: bundleGraph , contents: contents , map: map , relative: relative = true }) {
35274
+ function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGraph: bundleGraph , contents: contents , map: map , getReplacement: getReplacement = (s)=>s
35275
+ , relative: relative = true }) {
35504
35276
  let replacements = new Map();
35505
35277
  let urlDependencies = [];
35506
35278
  bundle.traverse((node)=>{
@@ -35516,7 +35288,7 @@ function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGrap
35516
35288
  if (resolved == null) {
35517
35289
  replacements.set(placeholder, {
35518
35290
  from: placeholder,
35519
- to: dependency.specifier
35291
+ to: getReplacement(dependency.specifier)
35520
35292
  });
35521
35293
  continue;
35522
35294
  }
@@ -35525,7 +35297,8 @@ function $bc66accb63b05e9a$export$d0d0105f44defc19({ bundle: bundle , bundleGrap
35525
35297
  dependency: dependency,
35526
35298
  fromBundle: bundle,
35527
35299
  toBundle: resolved,
35528
- relative: relative
35300
+ relative: relative,
35301
+ getReplacement: getReplacement
35529
35302
  }));
35530
35303
  }
35531
35304
  return $bc66accb63b05e9a$var$performReplacement(replacements, contents, map);
@@ -35552,7 +35325,7 @@ async function $bc66accb63b05e9a$export$f074a8f9bef628fd({ bundle: bundle , bund
35552
35325
  }
35553
35326
  return $bc66accb63b05e9a$var$performReplacement(replacements, contents, map);
35554
35327
  }
35555
- function $bc66accb63b05e9a$export$a22ef0cbdf8abc95({ dependency: dependency , fromBundle: fromBundle , toBundle: toBundle , relative: relative }) {
35328
+ function $bc66accb63b05e9a$export$a22ef0cbdf8abc95({ dependency: dependency , fromBundle: fromBundle , toBundle: toBundle , relative: relative , getReplacement: getReplacement }) {
35556
35329
  var ref;
35557
35330
  let to;
35558
35331
  let orig = ($parcel$interopDefault($8C1kk$url)).parse(dependency.specifier);
@@ -35574,7 +35347,7 @@ function $bc66accb63b05e9a$export$a22ef0cbdf8abc95({ dependency: dependency , fr
35574
35347
  ($parcel$interopDefault($8C1kk$assert))(typeof placeholder === 'string');
35575
35348
  return {
35576
35349
  from: placeholder,
35577
- to: to
35350
+ to: getReplacement ? getReplacement(to) : to
35578
35351
  };
35579
35352
  }
35580
35353
  function $bc66accb63b05e9a$var$performReplacement(replacements, contents, map) {
@@ -35751,8 +35524,7 @@ var $f5b89fa4b66a8af6$var$_closeTags = {
35751
35524
  * @param {Object} colors reference to _defColors
35752
35525
  */ $f5b89fa4b66a8af6$var$ansiHTML.setColors = function(colors) {
35753
35526
  if (typeof colors !== 'object') throw new Error('`colors` parameter must be an Object.');
35754
- var _finalColors = {
35755
- };
35527
+ var _finalColors = {};
35756
35528
  for(var key in $f5b89fa4b66a8af6$var$_defColors){
35757
35529
  var hex = colors.hasOwnProperty(key) ? colors[key] : null;
35758
35530
  if (!hex) {
@@ -35788,8 +35560,7 @@ var $f5b89fa4b66a8af6$var$_closeTags = {
35788
35560
  /**
35789
35561
  * Expose tags, including open and close.
35790
35562
  * @type {Object}
35791
- */ $f5b89fa4b66a8af6$var$ansiHTML.tags = {
35792
- };
35563
+ */ $f5b89fa4b66a8af6$var$ansiHTML.tags = {};
35793
35564
  if (Object.defineProperty) {
35794
35565
  Object.defineProperty($f5b89fa4b66a8af6$var$ansiHTML.tags, 'open', {
35795
35566
  get: function() {