@parcel/utils 2.0.0-dev.1515 → 2.0.0-dev.1516

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
@@ -3404,7 +3404,7 @@ function $c6b62b5e5d7ee0c4$var$stringifyComplexTable(prefix, indent, key, value)
3404
3404
 
3405
3405
  });
3406
3406
 
3407
- parcelRegister("jO8Wy", function(module, exports) {
3407
+ parcelRegister("8r7gj", function(module, exports) {
3408
3408
  "use strict";
3409
3409
  module.exports = function(Yallist) {
3410
3410
  Yallist.prototype[Symbol.iterator] = function*() {
@@ -29909,7 +29909,7 @@ var $3471c88557099fc5$var$escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
29909
29909
  };
29910
29910
 
29911
29911
 
29912
- var $69e4bed225e2da9c$exports = {};
29912
+ var $d163776a4bc22f11$exports = {};
29913
29913
  "use strict";
29914
29914
 
29915
29915
  var $5192b2bb8db966a6$exports = {};
@@ -31026,7 +31026,7 @@ $07dabbf54c491d0e$exports = (parcelRequire("bpwrg"));
31026
31026
 
31027
31027
 
31028
31028
  var $9kveb = parcelRequire("9kveb");
31029
- const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31029
+ const $d163776a4bc22f11$var$isEmptyString = (val)=>val === "" || val === "./";
31030
31030
  /**
31031
31031
  * Returns an array of strings that match one or more glob patterns.
31032
31032
  *
@@ -31043,7 +31043,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31043
31043
  * @return {Array} Returns an array of matches
31044
31044
  * @summary false
31045
31045
  * @api public
31046
- */ const $69e4bed225e2da9c$var$micromatch = (list, patterns, options)=>{
31046
+ */ const $d163776a4bc22f11$var$micromatch = (list, patterns, options)=>{
31047
31047
  patterns = [].concat(patterns);
31048
31048
  list = [].concat(list);
31049
31049
  let omit = new Set();
@@ -31086,7 +31086,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31086
31086
  };
31087
31087
  /**
31088
31088
  * Backwards compatibility
31089
- */ $69e4bed225e2da9c$var$micromatch.match = $69e4bed225e2da9c$var$micromatch;
31089
+ */ $d163776a4bc22f11$var$micromatch.match = $d163776a4bc22f11$var$micromatch;
31090
31090
  /**
31091
31091
  * Returns a matcher function from the given glob `pattern` and `options`.
31092
31092
  * The returned function takes a string to match as its only argument and returns
@@ -31104,7 +31104,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31104
31104
  * @param {Object} `options`
31105
31105
  * @return {Function} Returns a matcher function.
31106
31106
  * @api public
31107
- */ $69e4bed225e2da9c$var$micromatch.matcher = (pattern, options)=>$07dabbf54c491d0e$exports(pattern, options);
31107
+ */ $d163776a4bc22f11$var$micromatch.matcher = (pattern, options)=>$07dabbf54c491d0e$exports(pattern, options);
31108
31108
  /**
31109
31109
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
31110
31110
  *
@@ -31120,10 +31120,10 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31120
31120
  * @param {Object} `[options]` See available [options](#options).
31121
31121
  * @return {Boolean} Returns true if any patterns match `str`
31122
31122
  * @api public
31123
- */ $69e4bed225e2da9c$var$micromatch.isMatch = (str, patterns, options)=>$07dabbf54c491d0e$exports(patterns, options)(str);
31123
+ */ $d163776a4bc22f11$var$micromatch.isMatch = (str, patterns, options)=>$07dabbf54c491d0e$exports(patterns, options)(str);
31124
31124
  /**
31125
31125
  * Backwards compatibility
31126
- */ $69e4bed225e2da9c$var$micromatch.any = $69e4bed225e2da9c$var$micromatch.isMatch;
31126
+ */ $d163776a4bc22f11$var$micromatch.any = $d163776a4bc22f11$var$micromatch.isMatch;
31127
31127
  /**
31128
31128
  * Returns a list of strings that _**do not match any**_ of the given `patterns`.
31129
31129
  *
@@ -31139,7 +31139,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31139
31139
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31140
31140
  * @return {Array} Returns an array of strings that **do not match** the given patterns.
31141
31141
  * @api public
31142
- */ $69e4bed225e2da9c$var$micromatch.not = (list, patterns, options = {})=>{
31142
+ */ $d163776a4bc22f11$var$micromatch.not = (list, patterns, options = {})=>{
31143
31143
  patterns = [].concat(patterns).map(String);
31144
31144
  let result = new Set();
31145
31145
  let items = [];
@@ -31147,7 +31147,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31147
31147
  if (options.onResult) options.onResult(state);
31148
31148
  items.push(state.output);
31149
31149
  };
31150
- let matches = new Set($69e4bed225e2da9c$var$micromatch(list, patterns, {
31150
+ let matches = new Set($d163776a4bc22f11$var$micromatch(list, patterns, {
31151
31151
  ...options,
31152
31152
  onResult: onResult
31153
31153
  }));
@@ -31174,14 +31174,14 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31174
31174
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31175
31175
  * @return {Boolean} Returns true if any of the patterns matches any part of `str`.
31176
31176
  * @api public
31177
- */ $69e4bed225e2da9c$var$micromatch.contains = (str, pattern, options)=>{
31177
+ */ $d163776a4bc22f11$var$micromatch.contains = (str, pattern, options)=>{
31178
31178
  if (typeof str !== "string") throw new TypeError(`Expected a string: "${$eJUMF$util.inspect(str)}"`);
31179
- if (Array.isArray(pattern)) return pattern.some((p)=>$69e4bed225e2da9c$var$micromatch.contains(str, p, options));
31179
+ if (Array.isArray(pattern)) return pattern.some((p)=>$d163776a4bc22f11$var$micromatch.contains(str, p, options));
31180
31180
  if (typeof pattern === "string") {
31181
- if ($69e4bed225e2da9c$var$isEmptyString(str) || $69e4bed225e2da9c$var$isEmptyString(pattern)) return false;
31181
+ if ($d163776a4bc22f11$var$isEmptyString(str) || $d163776a4bc22f11$var$isEmptyString(pattern)) return false;
31182
31182
  if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) return true;
31183
31183
  }
31184
- return $69e4bed225e2da9c$var$micromatch.isMatch(str, pattern, {
31184
+ return $d163776a4bc22f11$var$micromatch.isMatch(str, pattern, {
31185
31185
  ...options,
31186
31186
  contains: true
31187
31187
  });
@@ -31204,9 +31204,9 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31204
31204
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31205
31205
  * @return {Object} Returns an object with only keys that match the given patterns.
31206
31206
  * @api public
31207
- */ $69e4bed225e2da9c$var$micromatch.matchKeys = (obj, patterns, options)=>{
31207
+ */ $d163776a4bc22f11$var$micromatch.matchKeys = (obj, patterns, options)=>{
31208
31208
  if (!$9kveb.isObject(obj)) throw new TypeError("Expected the first argument to be an object");
31209
- let keys = $69e4bed225e2da9c$var$micromatch(Object.keys(obj), patterns, options);
31209
+ let keys = $d163776a4bc22f11$var$micromatch(Object.keys(obj), patterns, options);
31210
31210
  let res = {};
31211
31211
  for (let key of keys)res[key] = obj[key];
31212
31212
  return res;
@@ -31228,7 +31228,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31228
31228
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31229
31229
  * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`
31230
31230
  * @api public
31231
- */ $69e4bed225e2da9c$var$micromatch.some = (list, patterns, options)=>{
31231
+ */ $d163776a4bc22f11$var$micromatch.some = (list, patterns, options)=>{
31232
31232
  let items = [].concat(list);
31233
31233
  for (let pattern of [].concat(patterns)){
31234
31234
  let isMatch = $07dabbf54c491d0e$exports(String(pattern), options);
@@ -31258,7 +31258,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31258
31258
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31259
31259
  * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`
31260
31260
  * @api public
31261
- */ $69e4bed225e2da9c$var$micromatch.every = (list, patterns, options)=>{
31261
+ */ $d163776a4bc22f11$var$micromatch.every = (list, patterns, options)=>{
31262
31262
  let items = [].concat(list);
31263
31263
  for (let pattern of [].concat(patterns)){
31264
31264
  let isMatch = $07dabbf54c491d0e$exports(String(pattern), options);
@@ -31291,7 +31291,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31291
31291
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31292
31292
  * @return {Boolean} Returns true if any patterns match `str`
31293
31293
  * @api public
31294
- */ $69e4bed225e2da9c$var$micromatch.all = (str, patterns, options)=>{
31294
+ */ $d163776a4bc22f11$var$micromatch.all = (str, patterns, options)=>{
31295
31295
  if (typeof str !== "string") throw new TypeError(`Expected a string: "${$eJUMF$util.inspect(str)}"`);
31296
31296
  return [].concat(patterns).every((p)=>$07dabbf54c491d0e$exports(p, options)(str));
31297
31297
  };
@@ -31312,7 +31312,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31312
31312
  * @param {Object} `options` See available [options](#options) for changing how matches are performed
31313
31313
  * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.
31314
31314
  * @api public
31315
- */ $69e4bed225e2da9c$var$micromatch.capture = (glob, input, options)=>{
31315
+ */ $d163776a4bc22f11$var$micromatch.capture = (glob, input, options)=>{
31316
31316
  let posix = $9kveb.isWindows(options);
31317
31317
  let regex = $07dabbf54c491d0e$exports.makeRe(String(glob), {
31318
31318
  ...options,
@@ -31335,7 +31335,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31335
31335
  * @param {Object} `options`
31336
31336
  * @return {RegExp} Returns a regex created from the given pattern.
31337
31337
  * @api public
31338
- */ $69e4bed225e2da9c$var$micromatch.makeRe = (...args)=>$07dabbf54c491d0e$exports.makeRe(...args);
31338
+ */ $d163776a4bc22f11$var$micromatch.makeRe = (...args)=>$07dabbf54c491d0e$exports.makeRe(...args);
31339
31339
  /**
31340
31340
  * Scan a glob pattern to separate the pattern into segments. Used
31341
31341
  * by the [split](#split) method.
@@ -31348,7 +31348,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31348
31348
  * @param {Object} `options`
31349
31349
  * @return {Object} Returns an object with
31350
31350
  * @api public
31351
- */ $69e4bed225e2da9c$var$micromatch.scan = (...args)=>$07dabbf54c491d0e$exports.scan(...args);
31351
+ */ $d163776a4bc22f11$var$micromatch.scan = (...args)=>$07dabbf54c491d0e$exports.scan(...args);
31352
31352
  /**
31353
31353
  * Parse a glob pattern to create the source string for a regular
31354
31354
  * expression.
@@ -31361,7 +31361,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31361
31361
  * @param {Object} `options`
31362
31362
  * @return {Object} Returns an object with useful properties and output to be used as regex source string.
31363
31363
  * @api public
31364
- */ $69e4bed225e2da9c$var$micromatch.parse = (patterns, options)=>{
31364
+ */ $d163776a4bc22f11$var$micromatch.parse = (patterns, options)=>{
31365
31365
  let res = [];
31366
31366
  for (let pattern of [].concat(patterns || []))for (let str of $5192b2bb8db966a6$exports(String(pattern), options))res.push($07dabbf54c491d0e$exports.parse(str, options));
31367
31367
  return res;
@@ -31381,7 +31381,7 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31381
31381
  * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.
31382
31382
  * @return {Array}
31383
31383
  * @api public
31384
- */ $69e4bed225e2da9c$var$micromatch.braces = (pattern, options)=>{
31384
+ */ $d163776a4bc22f11$var$micromatch.braces = (pattern, options)=>{
31385
31385
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
31386
31386
  if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) return [
31387
31387
  pattern
@@ -31390,16 +31390,16 @@ const $69e4bed225e2da9c$var$isEmptyString = (val)=>val === "" || val === "./";
31390
31390
  };
31391
31391
  /**
31392
31392
  * Expand braces
31393
- */ $69e4bed225e2da9c$var$micromatch.braceExpand = (pattern, options)=>{
31393
+ */ $d163776a4bc22f11$var$micromatch.braceExpand = (pattern, options)=>{
31394
31394
  if (typeof pattern !== "string") throw new TypeError("Expected a string");
31395
- return $69e4bed225e2da9c$var$micromatch.braces(pattern, {
31395
+ return $d163776a4bc22f11$var$micromatch.braces(pattern, {
31396
31396
  ...options,
31397
31397
  expand: true
31398
31398
  });
31399
31399
  };
31400
31400
  /**
31401
31401
  * Expose micromatch
31402
- */ $69e4bed225e2da9c$exports = $69e4bed225e2da9c$var$micromatch;
31402
+ */ $d163776a4bc22f11$exports = $d163776a4bc22f11$var$micromatch;
31403
31403
 
31404
31404
 
31405
31405
  const $7c7bad7517199236$var$GLOBSTAR = "**";
@@ -31511,14 +31511,14 @@ function $7c7bad7517199236$var$expandPatternsWithBraceExpansion(patterns) {
31511
31511
  }
31512
31512
  $7c7bad7517199236$exports.expandPatternsWithBraceExpansion = $7c7bad7517199236$var$expandPatternsWithBraceExpansion;
31513
31513
  function $7c7bad7517199236$var$expandBraceExpansion(pattern) {
31514
- return $69e4bed225e2da9c$exports.braces(pattern, {
31514
+ return $d163776a4bc22f11$exports.braces(pattern, {
31515
31515
  expand: true,
31516
31516
  nodupes: true
31517
31517
  });
31518
31518
  }
31519
31519
  $7c7bad7517199236$exports.expandBraceExpansion = $7c7bad7517199236$var$expandBraceExpansion;
31520
31520
  function $7c7bad7517199236$var$getPatternParts(pattern, options) {
31521
- let { parts: parts } = $69e4bed225e2da9c$exports.scan(pattern, Object.assign(Object.assign({}, options), {
31521
+ let { parts: parts } = $d163776a4bc22f11$exports.scan(pattern, Object.assign(Object.assign({}, options), {
31522
31522
  parts: true
31523
31523
  }));
31524
31524
  /**
@@ -31538,7 +31538,7 @@ function $7c7bad7517199236$var$getPatternParts(pattern, options) {
31538
31538
  }
31539
31539
  $7c7bad7517199236$exports.getPatternParts = $7c7bad7517199236$var$getPatternParts;
31540
31540
  function $7c7bad7517199236$var$makeRe(pattern, options) {
31541
- return $69e4bed225e2da9c$exports.makeRe(pattern, options);
31541
+ return $d163776a4bc22f11$exports.makeRe(pattern, options);
31542
31542
  }
31543
31543
  $7c7bad7517199236$exports.makeRe = $7c7bad7517199236$var$makeRe;
31544
31544
  function $7c7bad7517199236$var$convertPatternsToRe(patterns, options) {
@@ -33391,388 +33391,6 @@ function $dc47e41fc5769b68$var$assertPatternsInput(input) {
33391
33391
  $dc47e41fc5769b68$exports = $dc47e41fc5769b68$var$FastGlob;
33392
33392
 
33393
33393
 
33394
- var $3f4e287414e2d74a$exports = {};
33395
- "use strict";
33396
-
33397
-
33398
-
33399
-
33400
- var $9kveb = parcelRequire("9kveb");
33401
- const $3f4e287414e2d74a$var$isEmptyString = (val)=>val === "" || val === "./";
33402
- /**
33403
- * Returns an array of strings that match one or more glob patterns.
33404
- *
33405
- * ```js
33406
- * const mm = require('micromatch');
33407
- * // mm(list, patterns[, options]);
33408
- *
33409
- * console.log(mm(['a.js', 'a.txt'], ['*.js']));
33410
- * //=> [ 'a.js' ]
33411
- * ```
33412
- * @param {String|Array<string>} `list` List of strings to match.
33413
- * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.
33414
- * @param {Object} `options` See available [options](#options)
33415
- * @return {Array} Returns an array of matches
33416
- * @summary false
33417
- * @api public
33418
- */ const $3f4e287414e2d74a$var$micromatch = (list, patterns, options)=>{
33419
- patterns = [].concat(patterns);
33420
- list = [].concat(list);
33421
- let omit = new Set();
33422
- let keep = new Set();
33423
- let items = new Set();
33424
- let negatives = 0;
33425
- let onResult = (state)=>{
33426
- items.add(state.output);
33427
- if (options && options.onResult) options.onResult(state);
33428
- };
33429
- for(let i = 0; i < patterns.length; i++){
33430
- let isMatch = $07dabbf54c491d0e$exports(String(patterns[i]), {
33431
- ...options,
33432
- onResult: onResult
33433
- }, true);
33434
- let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
33435
- if (negated) negatives++;
33436
- for (let item of list){
33437
- let matched = isMatch(item, true);
33438
- let match = negated ? !matched.isMatch : matched.isMatch;
33439
- if (!match) continue;
33440
- if (negated) omit.add(matched.output);
33441
- else {
33442
- omit.delete(matched.output);
33443
- keep.add(matched.output);
33444
- }
33445
- }
33446
- }
33447
- let result = negatives === patterns.length ? [
33448
- ...items
33449
- ] : [
33450
- ...keep
33451
- ];
33452
- let matches = result.filter((item)=>!omit.has(item));
33453
- if (options && matches.length === 0) {
33454
- if (options.failglob === true) throw new Error(`No matches found for "${patterns.join(", ")}"`);
33455
- if (options.nonull === true || options.nullglob === true) return options.unescape ? patterns.map((p)=>p.replace(/\\/g, "")) : patterns;
33456
- }
33457
- return matches;
33458
- };
33459
- /**
33460
- * Backwards compatibility
33461
- */ $3f4e287414e2d74a$var$micromatch.match = $3f4e287414e2d74a$var$micromatch;
33462
- /**
33463
- * Returns a matcher function from the given glob `pattern` and `options`.
33464
- * The returned function takes a string to match as its only argument and returns
33465
- * true if the string is a match.
33466
- *
33467
- * ```js
33468
- * const mm = require('micromatch');
33469
- * // mm.matcher(pattern[, options]);
33470
- *
33471
- * const isMatch = mm.matcher('*.!(*a)');
33472
- * console.log(isMatch('a.a')); //=> false
33473
- * console.log(isMatch('a.b')); //=> true
33474
- * ```
33475
- * @param {String} `pattern` Glob pattern
33476
- * @param {Object} `options`
33477
- * @return {Function} Returns a matcher function.
33478
- * @api public
33479
- */ $3f4e287414e2d74a$var$micromatch.matcher = (pattern, options)=>$07dabbf54c491d0e$exports(pattern, options);
33480
- /**
33481
- * Returns true if **any** of the given glob `patterns` match the specified `string`.
33482
- *
33483
- * ```js
33484
- * const mm = require('micromatch');
33485
- * // mm.isMatch(string, patterns[, options]);
33486
- *
33487
- * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
33488
- * console.log(mm.isMatch('a.a', 'b.*')); //=> false
33489
- * ```
33490
- * @param {String} `str` The string to test.
33491
- * @param {String|Array} `patterns` One or more glob patterns to use for matching.
33492
- * @param {Object} `[options]` See available [options](#options).
33493
- * @return {Boolean} Returns true if any patterns match `str`
33494
- * @api public
33495
- */ $3f4e287414e2d74a$var$micromatch.isMatch = (str, patterns, options)=>$07dabbf54c491d0e$exports(patterns, options)(str);
33496
- /**
33497
- * Backwards compatibility
33498
- */ $3f4e287414e2d74a$var$micromatch.any = $3f4e287414e2d74a$var$micromatch.isMatch;
33499
- /**
33500
- * Returns a list of strings that _**do not match any**_ of the given `patterns`.
33501
- *
33502
- * ```js
33503
- * const mm = require('micromatch');
33504
- * // mm.not(list, patterns[, options]);
33505
- *
33506
- * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
33507
- * //=> ['b.b', 'c.c']
33508
- * ```
33509
- * @param {Array} `list` Array of strings to match.
33510
- * @param {String|Array} `patterns` One or more glob pattern to use for matching.
33511
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33512
- * @return {Array} Returns an array of strings that **do not match** the given patterns.
33513
- * @api public
33514
- */ $3f4e287414e2d74a$var$micromatch.not = (list, patterns, options = {})=>{
33515
- patterns = [].concat(patterns).map(String);
33516
- let result = new Set();
33517
- let items = [];
33518
- let onResult = (state)=>{
33519
- if (options.onResult) options.onResult(state);
33520
- items.push(state.output);
33521
- };
33522
- let matches = new Set($3f4e287414e2d74a$var$micromatch(list, patterns, {
33523
- ...options,
33524
- onResult: onResult
33525
- }));
33526
- for (let item of items)if (!matches.has(item)) result.add(item);
33527
- return [
33528
- ...result
33529
- ];
33530
- };
33531
- /**
33532
- * Returns true if the given `string` contains the given pattern. Similar
33533
- * to [.isMatch](#isMatch) but the pattern can match any part of the string.
33534
- *
33535
- * ```js
33536
- * var mm = require('micromatch');
33537
- * // mm.contains(string, pattern[, options]);
33538
- *
33539
- * console.log(mm.contains('aa/bb/cc', '*b'));
33540
- * //=> true
33541
- * console.log(mm.contains('aa/bb/cc', '*d'));
33542
- * //=> false
33543
- * ```
33544
- * @param {String} `str` The string to match.
33545
- * @param {String|Array} `patterns` Glob pattern to use for matching.
33546
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33547
- * @return {Boolean} Returns true if any of the patterns matches any part of `str`.
33548
- * @api public
33549
- */ $3f4e287414e2d74a$var$micromatch.contains = (str, pattern, options)=>{
33550
- if (typeof str !== "string") throw new TypeError(`Expected a string: "${$eJUMF$util.inspect(str)}"`);
33551
- if (Array.isArray(pattern)) return pattern.some((p)=>$3f4e287414e2d74a$var$micromatch.contains(str, p, options));
33552
- if (typeof pattern === "string") {
33553
- if ($3f4e287414e2d74a$var$isEmptyString(str) || $3f4e287414e2d74a$var$isEmptyString(pattern)) return false;
33554
- if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) return true;
33555
- }
33556
- return $3f4e287414e2d74a$var$micromatch.isMatch(str, pattern, {
33557
- ...options,
33558
- contains: true
33559
- });
33560
- };
33561
- /**
33562
- * Filter the keys of the given object with the given `glob` pattern
33563
- * and `options`. Does not attempt to match nested keys. If you need this feature,
33564
- * use [glob-object][] instead.
33565
- *
33566
- * ```js
33567
- * const mm = require('micromatch');
33568
- * // mm.matchKeys(object, patterns[, options]);
33569
- *
33570
- * const obj = { aa: 'a', ab: 'b', ac: 'c' };
33571
- * console.log(mm.matchKeys(obj, '*b'));
33572
- * //=> { ab: 'b' }
33573
- * ```
33574
- * @param {Object} `object` The object with keys to filter.
33575
- * @param {String|Array} `patterns` One or more glob patterns to use for matching.
33576
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33577
- * @return {Object} Returns an object with only keys that match the given patterns.
33578
- * @api public
33579
- */ $3f4e287414e2d74a$var$micromatch.matchKeys = (obj, patterns, options)=>{
33580
- if (!$9kveb.isObject(obj)) throw new TypeError("Expected the first argument to be an object");
33581
- let keys = $3f4e287414e2d74a$var$micromatch(Object.keys(obj), patterns, options);
33582
- let res = {};
33583
- for (let key of keys)res[key] = obj[key];
33584
- return res;
33585
- };
33586
- /**
33587
- * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
33588
- *
33589
- * ```js
33590
- * const mm = require('micromatch');
33591
- * // mm.some(list, patterns[, options]);
33592
- *
33593
- * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
33594
- * // true
33595
- * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
33596
- * // false
33597
- * ```
33598
- * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.
33599
- * @param {String|Array} `patterns` One or more glob patterns to use for matching.
33600
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33601
- * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`
33602
- * @api public
33603
- */ $3f4e287414e2d74a$var$micromatch.some = (list, patterns, options)=>{
33604
- let items = [].concat(list);
33605
- for (let pattern of [].concat(patterns)){
33606
- let isMatch = $07dabbf54c491d0e$exports(String(pattern), options);
33607
- if (items.some((item)=>isMatch(item))) return true;
33608
- }
33609
- return false;
33610
- };
33611
- /**
33612
- * Returns true if every string in the given `list` matches
33613
- * any of the given glob `patterns`.
33614
- *
33615
- * ```js
33616
- * const mm = require('micromatch');
33617
- * // mm.every(list, patterns[, options]);
33618
- *
33619
- * console.log(mm.every('foo.js', ['foo.js']));
33620
- * // true
33621
- * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));
33622
- * // true
33623
- * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
33624
- * // false
33625
- * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
33626
- * // false
33627
- * ```
33628
- * @param {String|Array} `list` The string or array of strings to test.
33629
- * @param {String|Array} `patterns` One or more glob patterns to use for matching.
33630
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33631
- * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`
33632
- * @api public
33633
- */ $3f4e287414e2d74a$var$micromatch.every = (list, patterns, options)=>{
33634
- let items = [].concat(list);
33635
- for (let pattern of [].concat(patterns)){
33636
- let isMatch = $07dabbf54c491d0e$exports(String(pattern), options);
33637
- if (!items.every((item)=>isMatch(item))) return false;
33638
- }
33639
- return true;
33640
- };
33641
- /**
33642
- * Returns true if **all** of the given `patterns` match
33643
- * the specified string.
33644
- *
33645
- * ```js
33646
- * const mm = require('micromatch');
33647
- * // mm.all(string, patterns[, options]);
33648
- *
33649
- * console.log(mm.all('foo.js', ['foo.js']));
33650
- * // true
33651
- *
33652
- * console.log(mm.all('foo.js', ['*.js', '!foo.js']));
33653
- * // false
33654
- *
33655
- * console.log(mm.all('foo.js', ['*.js', 'foo.js']));
33656
- * // true
33657
- *
33658
- * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
33659
- * // true
33660
- * ```
33661
- * @param {String|Array} `str` The string to test.
33662
- * @param {String|Array} `patterns` One or more glob patterns to use for matching.
33663
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33664
- * @return {Boolean} Returns true if any patterns match `str`
33665
- * @api public
33666
- */ $3f4e287414e2d74a$var$micromatch.all = (str, patterns, options)=>{
33667
- if (typeof str !== "string") throw new TypeError(`Expected a string: "${$eJUMF$util.inspect(str)}"`);
33668
- return [].concat(patterns).every((p)=>$07dabbf54c491d0e$exports(p, options)(str));
33669
- };
33670
- /**
33671
- * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.
33672
- *
33673
- * ```js
33674
- * const mm = require('micromatch');
33675
- * // mm.capture(pattern, string[, options]);
33676
- *
33677
- * console.log(mm.capture('test/*.js', 'test/foo.js'));
33678
- * //=> ['foo']
33679
- * console.log(mm.capture('test/*.js', 'foo/bar.css'));
33680
- * //=> null
33681
- * ```
33682
- * @param {String} `glob` Glob pattern to use for matching.
33683
- * @param {String} `input` String to match
33684
- * @param {Object} `options` See available [options](#options) for changing how matches are performed
33685
- * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.
33686
- * @api public
33687
- */ $3f4e287414e2d74a$var$micromatch.capture = (glob, input, options)=>{
33688
- let posix = $9kveb.isWindows(options);
33689
- let regex = $07dabbf54c491d0e$exports.makeRe(String(glob), {
33690
- ...options,
33691
- capture: true
33692
- });
33693
- let match = regex.exec(posix ? $9kveb.toPosixSlashes(input) : input);
33694
- if (match) return match.slice(1).map((v)=>v === void 0 ? "" : v);
33695
- };
33696
- /**
33697
- * Create a regular expression from the given glob `pattern`.
33698
- *
33699
- * ```js
33700
- * const mm = require('micromatch');
33701
- * // mm.makeRe(pattern[, options]);
33702
- *
33703
- * console.log(mm.makeRe('*.js'));
33704
- * //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
33705
- * ```
33706
- * @param {String} `pattern` A glob pattern to convert to regex.
33707
- * @param {Object} `options`
33708
- * @return {RegExp} Returns a regex created from the given pattern.
33709
- * @api public
33710
- */ $3f4e287414e2d74a$var$micromatch.makeRe = (...args)=>$07dabbf54c491d0e$exports.makeRe(...args);
33711
- /**
33712
- * Scan a glob pattern to separate the pattern into segments. Used
33713
- * by the [split](#split) method.
33714
- *
33715
- * ```js
33716
- * const mm = require('micromatch');
33717
- * const state = mm.scan(pattern[, options]);
33718
- * ```
33719
- * @param {String} `pattern`
33720
- * @param {Object} `options`
33721
- * @return {Object} Returns an object with
33722
- * @api public
33723
- */ $3f4e287414e2d74a$var$micromatch.scan = (...args)=>$07dabbf54c491d0e$exports.scan(...args);
33724
- /**
33725
- * Parse a glob pattern to create the source string for a regular
33726
- * expression.
33727
- *
33728
- * ```js
33729
- * const mm = require('micromatch');
33730
- * const state = mm.parse(pattern[, options]);
33731
- * ```
33732
- * @param {String} `glob`
33733
- * @param {Object} `options`
33734
- * @return {Object} Returns an object with useful properties and output to be used as regex source string.
33735
- * @api public
33736
- */ $3f4e287414e2d74a$var$micromatch.parse = (patterns, options)=>{
33737
- let res = [];
33738
- for (let pattern of [].concat(patterns || []))for (let str of $5192b2bb8db966a6$exports(String(pattern), options))res.push($07dabbf54c491d0e$exports.parse(str, options));
33739
- return res;
33740
- };
33741
- /**
33742
- * Process the given brace `pattern`.
33743
- *
33744
- * ```js
33745
- * const { braces } = require('micromatch');
33746
- * console.log(braces('foo/{a,b,c}/bar'));
33747
- * //=> [ 'foo/(a|b|c)/bar' ]
33748
- *
33749
- * console.log(braces('foo/{a,b,c}/bar', { expand: true }));
33750
- * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]
33751
- * ```
33752
- * @param {String} `pattern` String with brace pattern to process.
33753
- * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.
33754
- * @return {Array}
33755
- * @api public
33756
- */ $3f4e287414e2d74a$var$micromatch.braces = (pattern, options)=>{
33757
- if (typeof pattern !== "string") throw new TypeError("Expected a string");
33758
- if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) return [
33759
- pattern
33760
- ];
33761
- return $5192b2bb8db966a6$exports(pattern, options);
33762
- };
33763
- /**
33764
- * Expand braces
33765
- */ $3f4e287414e2d74a$var$micromatch.braceExpand = (pattern, options)=>{
33766
- if (typeof pattern !== "string") throw new TypeError("Expected a string");
33767
- return $3f4e287414e2d74a$var$micromatch.braces(pattern, {
33768
- ...options,
33769
- expand: true
33770
- });
33771
- };
33772
- /**
33773
- * Expose micromatch
33774
- */ $3f4e287414e2d74a$exports = $3f4e287414e2d74a$var$micromatch;
33775
-
33776
33394
 
33777
33395
 
33778
33396
  function $5f789aedea5c346b$export$f3a2344a73dbdd42(p) {
@@ -33780,14 +33398,14 @@ function $5f789aedea5c346b$export$f3a2344a73dbdd42(p) {
33780
33398
  }
33781
33399
  function $5f789aedea5c346b$export$16e6d319a883f04e(filePath, glob, opts) {
33782
33400
  glob = Array.isArray(glob) ? glob.map((0, $fa6e0d6f91ab93b2$export$16778b798ae8e49d)) : (0, $fa6e0d6f91ab93b2$export$16778b798ae8e49d)(glob);
33783
- return (0, $3f4e287414e2d74a$exports.isMatch)(filePath, glob, opts);
33401
+ return (0, $d163776a4bc22f11$exports.isMatch)(filePath, glob, opts);
33784
33402
  }
33785
33403
  function $5f789aedea5c346b$export$73b12c6cc27aa6c0(values, glob, opts) {
33786
33404
  glob = Array.isArray(glob) ? glob.map((0, $fa6e0d6f91ab93b2$export$16778b798ae8e49d)) : (0, $fa6e0d6f91ab93b2$export$16778b798ae8e49d)(glob);
33787
- return (0, (/*@__PURE__*/$parcel$interopDefault($3f4e287414e2d74a$exports)))(values, glob, opts);
33405
+ return (0, (/*@__PURE__*/$parcel$interopDefault($d163776a4bc22f11$exports)))(values, glob, opts);
33788
33406
  }
33789
33407
  function $5f789aedea5c346b$export$c0436a5422df81e4(glob, opts) {
33790
- return (0, $3f4e287414e2d74a$exports.makeRe)(glob, opts);
33408
+ return (0, $d163776a4bc22f11$exports.makeRe)(glob, opts);
33791
33409
  }
33792
33410
  function $5f789aedea5c346b$export$42275ba87174c828(p, fs, options) {
33793
33411
  // $FlowFixMe
@@ -34052,7 +33670,7 @@ $0b7feb3baf765a45$var$ansiEscapes.iTerm = {
34052
33670
 
34053
33671
  var $cbe30b46bc6aa037$exports = {};
34054
33672
  "use strict";
34055
- var $0237a774779ec53b$exports = {};
33673
+ var $3e62b16b414708f7$exports = {};
34056
33674
  "use strict";
34057
33675
 
34058
33676
 
@@ -34066,16 +33684,16 @@ $76aaa2b0b095f0ab$exports = (flag, argv = process.argv)=>{
34066
33684
  };
34067
33685
 
34068
33686
 
34069
- const { env: $0237a774779ec53b$var$env } = process;
34070
- let $0237a774779ec53b$var$forceColor;
34071
- if ($76aaa2b0b095f0ab$exports("no-color") || $76aaa2b0b095f0ab$exports("no-colors") || $76aaa2b0b095f0ab$exports("color=false") || $76aaa2b0b095f0ab$exports("color=never")) $0237a774779ec53b$var$forceColor = 0;
34072
- else if ($76aaa2b0b095f0ab$exports("color") || $76aaa2b0b095f0ab$exports("colors") || $76aaa2b0b095f0ab$exports("color=true") || $76aaa2b0b095f0ab$exports("color=always")) $0237a774779ec53b$var$forceColor = 1;
34073
- if ("FORCE_COLOR" in $0237a774779ec53b$var$env) {
34074
- if ($0237a774779ec53b$var$env.FORCE_COLOR === "true") $0237a774779ec53b$var$forceColor = 1;
34075
- else if ($0237a774779ec53b$var$env.FORCE_COLOR === "false") $0237a774779ec53b$var$forceColor = 0;
34076
- else $0237a774779ec53b$var$forceColor = $0237a774779ec53b$var$env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt($0237a774779ec53b$var$env.FORCE_COLOR, 10), 3);
33687
+ const { env: $3e62b16b414708f7$var$env } = process;
33688
+ let $3e62b16b414708f7$var$forceColor;
33689
+ if ($76aaa2b0b095f0ab$exports("no-color") || $76aaa2b0b095f0ab$exports("no-colors") || $76aaa2b0b095f0ab$exports("color=false") || $76aaa2b0b095f0ab$exports("color=never")) $3e62b16b414708f7$var$forceColor = 0;
33690
+ else if ($76aaa2b0b095f0ab$exports("color") || $76aaa2b0b095f0ab$exports("colors") || $76aaa2b0b095f0ab$exports("color=true") || $76aaa2b0b095f0ab$exports("color=always")) $3e62b16b414708f7$var$forceColor = 1;
33691
+ if ("FORCE_COLOR" in $3e62b16b414708f7$var$env) {
33692
+ if ($3e62b16b414708f7$var$env.FORCE_COLOR === "true") $3e62b16b414708f7$var$forceColor = 1;
33693
+ else if ($3e62b16b414708f7$var$env.FORCE_COLOR === "false") $3e62b16b414708f7$var$forceColor = 0;
33694
+ else $3e62b16b414708f7$var$forceColor = $3e62b16b414708f7$var$env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt($3e62b16b414708f7$var$env.FORCE_COLOR, 10), 3);
34077
33695
  }
34078
- function $0237a774779ec53b$var$translateLevel(level) {
33696
+ function $3e62b16b414708f7$var$translateLevel(level) {
34079
33697
  if (level === 0) return false;
34080
33698
  return {
34081
33699
  level: level,
@@ -34084,13 +33702,13 @@ function $0237a774779ec53b$var$translateLevel(level) {
34084
33702
  has16m: level >= 3
34085
33703
  };
34086
33704
  }
34087
- function $0237a774779ec53b$var$supportsColor(haveStream, streamIsTTY) {
34088
- if ($0237a774779ec53b$var$forceColor === 0) return 0;
33705
+ function $3e62b16b414708f7$var$supportsColor(haveStream, streamIsTTY) {
33706
+ if ($3e62b16b414708f7$var$forceColor === 0) return 0;
34089
33707
  if ($76aaa2b0b095f0ab$exports("color=16m") || $76aaa2b0b095f0ab$exports("color=full") || $76aaa2b0b095f0ab$exports("color=truecolor")) return 3;
34090
33708
  if ($76aaa2b0b095f0ab$exports("color=256")) return 2;
34091
- if (haveStream && !streamIsTTY && $0237a774779ec53b$var$forceColor === undefined) return 0;
34092
- const min = $0237a774779ec53b$var$forceColor || 0;
34093
- if ($0237a774779ec53b$var$env.TERM === "dumb") return min;
33709
+ if (haveStream && !streamIsTTY && $3e62b16b414708f7$var$forceColor === undefined) return 0;
33710
+ const min = $3e62b16b414708f7$var$forceColor || 0;
33711
+ if ($3e62b16b414708f7$var$env.TERM === "dumb") return min;
34094
33712
  if (process.platform === "win32") {
34095
33713
  // Windows 10 build 10586 is the first Windows release that supports 256 colors.
34096
33714
  // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
@@ -34098,7 +33716,7 @@ function $0237a774779ec53b$var$supportsColor(haveStream, streamIsTTY) {
34098
33716
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
34099
33717
  return 1;
34100
33718
  }
34101
- if ("CI" in $0237a774779ec53b$var$env) {
33719
+ if ("CI" in $3e62b16b414708f7$var$env) {
34102
33720
  if ([
34103
33721
  "TRAVIS",
34104
33722
  "CIRCLECI",
@@ -34106,33 +33724,33 @@ function $0237a774779ec53b$var$supportsColor(haveStream, streamIsTTY) {
34106
33724
  "GITLAB_CI",
34107
33725
  "GITHUB_ACTIONS",
34108
33726
  "BUILDKITE"
34109
- ].some((sign)=>sign in $0237a774779ec53b$var$env) || $0237a774779ec53b$var$env.CI_NAME === "codeship") return 1;
33727
+ ].some((sign)=>sign in $3e62b16b414708f7$var$env) || $3e62b16b414708f7$var$env.CI_NAME === "codeship") return 1;
34110
33728
  return min;
34111
33729
  }
34112
- if ("TEAMCITY_VERSION" in $0237a774779ec53b$var$env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($0237a774779ec53b$var$env.TEAMCITY_VERSION) ? 1 : 0;
34113
- if ($0237a774779ec53b$var$env.COLORTERM === "truecolor") return 3;
34114
- if ("TERM_PROGRAM" in $0237a774779ec53b$var$env) {
34115
- const version = parseInt(($0237a774779ec53b$var$env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
34116
- switch($0237a774779ec53b$var$env.TERM_PROGRAM){
33730
+ if ("TEAMCITY_VERSION" in $3e62b16b414708f7$var$env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test($3e62b16b414708f7$var$env.TEAMCITY_VERSION) ? 1 : 0;
33731
+ if ($3e62b16b414708f7$var$env.COLORTERM === "truecolor") return 3;
33732
+ if ("TERM_PROGRAM" in $3e62b16b414708f7$var$env) {
33733
+ const version = parseInt(($3e62b16b414708f7$var$env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
33734
+ switch($3e62b16b414708f7$var$env.TERM_PROGRAM){
34117
33735
  case "iTerm.app":
34118
33736
  return version >= 3 ? 3 : 2;
34119
33737
  case "Apple_Terminal":
34120
33738
  return 2;
34121
33739
  }
34122
33740
  }
34123
- if (/-256(color)?$/i.test($0237a774779ec53b$var$env.TERM)) return 2;
34124
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test($0237a774779ec53b$var$env.TERM)) return 1;
34125
- if ("COLORTERM" in $0237a774779ec53b$var$env) return 1;
33741
+ if (/-256(color)?$/i.test($3e62b16b414708f7$var$env.TERM)) return 2;
33742
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test($3e62b16b414708f7$var$env.TERM)) return 1;
33743
+ if ("COLORTERM" in $3e62b16b414708f7$var$env) return 1;
34126
33744
  return min;
34127
33745
  }
34128
- function $0237a774779ec53b$var$getSupportLevel(stream) {
34129
- const level = $0237a774779ec53b$var$supportsColor(stream, stream && stream.isTTY);
34130
- return $0237a774779ec53b$var$translateLevel(level);
33746
+ function $3e62b16b414708f7$var$getSupportLevel(stream) {
33747
+ const level = $3e62b16b414708f7$var$supportsColor(stream, stream && stream.isTTY);
33748
+ return $3e62b16b414708f7$var$translateLevel(level);
34131
33749
  }
34132
- $0237a774779ec53b$exports = {
34133
- supportsColor: $0237a774779ec53b$var$getSupportLevel,
34134
- stdout: $0237a774779ec53b$var$translateLevel($0237a774779ec53b$var$supportsColor(true, $eJUMF$tty.isatty(1))),
34135
- stderr: $0237a774779ec53b$var$translateLevel($0237a774779ec53b$var$supportsColor(true, $eJUMF$tty.isatty(2)))
33750
+ $3e62b16b414708f7$exports = {
33751
+ supportsColor: $3e62b16b414708f7$var$getSupportLevel,
33752
+ stdout: $3e62b16b414708f7$var$translateLevel($3e62b16b414708f7$var$supportsColor(true, $eJUMF$tty.isatty(1))),
33753
+ stderr: $3e62b16b414708f7$var$translateLevel($3e62b16b414708f7$var$supportsColor(true, $eJUMF$tty.isatty(2)))
34136
33754
  };
34137
33755
 
34138
33756
 
@@ -34160,7 +33778,7 @@ function $cbe30b46bc6aa037$var$supportsHyperlink(stream) {
34160
33778
  if ($76aaa2b0b095f0ab$exports("no-hyperlink") || $76aaa2b0b095f0ab$exports("no-hyperlinks") || $76aaa2b0b095f0ab$exports("hyperlink=false") || $76aaa2b0b095f0ab$exports("hyperlink=never")) return false;
34161
33779
  if ($76aaa2b0b095f0ab$exports("hyperlink=true") || $76aaa2b0b095f0ab$exports("hyperlink=always")) return true;
34162
33780
  // If they specify no colors, they probably don't want hyperlinks.
34163
- if (!$0237a774779ec53b$exports.supportsColor(stream)) return false;
33781
+ if (!$3e62b16b414708f7$exports.supportsColor(stream)) return false;
34164
33782
  if (stream && !stream.isTTY) return false;
34165
33783
  if (process.platform === "win32") return false;
34166
33784
  if ("NETLIFY" in env) return true;
@@ -36338,16 +35956,16 @@ $97291be8279649a5$export$98e6a39c04603d36 = (parcelRequire("kevix"));
36338
35956
  $97291be8279649a5$export$fac44ee5b035f737 = (parcelRequire("h3JHI"));
36339
35957
 
36340
35958
 
36341
- var $f8b9098efafecd39$exports = {};
35959
+ var $2928e4313c385acc$exports = {};
36342
35960
  "use strict";
36343
- var $18a7578e9d9582f5$exports = {};
35961
+ var $557305711a2937f9$exports = {};
36344
35962
  "use strict";
36345
- $18a7578e9d9582f5$exports = $18a7578e9d9582f5$var$Yallist;
36346
- $18a7578e9d9582f5$var$Yallist.Node = $18a7578e9d9582f5$var$Node;
36347
- $18a7578e9d9582f5$var$Yallist.create = $18a7578e9d9582f5$var$Yallist;
36348
- function $18a7578e9d9582f5$var$Yallist(list) {
35963
+ $557305711a2937f9$exports = $557305711a2937f9$var$Yallist;
35964
+ $557305711a2937f9$var$Yallist.Node = $557305711a2937f9$var$Node;
35965
+ $557305711a2937f9$var$Yallist.create = $557305711a2937f9$var$Yallist;
35966
+ function $557305711a2937f9$var$Yallist(list) {
36349
35967
  var self = this;
36350
- if (!(self instanceof $18a7578e9d9582f5$var$Yallist)) self = new $18a7578e9d9582f5$var$Yallist();
35968
+ if (!(self instanceof $557305711a2937f9$var$Yallist)) self = new $557305711a2937f9$var$Yallist();
36351
35969
  self.tail = null;
36352
35970
  self.head = null;
36353
35971
  self.length = 0;
@@ -36357,7 +35975,7 @@ function $18a7578e9d9582f5$var$Yallist(list) {
36357
35975
  else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);
36358
35976
  return self;
36359
35977
  }
36360
- $18a7578e9d9582f5$var$Yallist.prototype.removeNode = function(node) {
35978
+ $557305711a2937f9$var$Yallist.prototype.removeNode = function(node) {
36361
35979
  if (node.list !== this) throw new Error("removing node which does not belong to this list");
36362
35980
  var next = node.next;
36363
35981
  var prev = node.prev;
@@ -36371,7 +35989,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.removeNode = function(node) {
36371
35989
  node.list = null;
36372
35990
  return next;
36373
35991
  };
36374
- $18a7578e9d9582f5$var$Yallist.prototype.unshiftNode = function(node) {
35992
+ $557305711a2937f9$var$Yallist.prototype.unshiftNode = function(node) {
36375
35993
  if (node === this.head) return;
36376
35994
  if (node.list) node.list.removeNode(node);
36377
35995
  var head = this.head;
@@ -36382,7 +36000,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.unshiftNode = function(node) {
36382
36000
  if (!this.tail) this.tail = node;
36383
36001
  this.length++;
36384
36002
  };
36385
- $18a7578e9d9582f5$var$Yallist.prototype.pushNode = function(node) {
36003
+ $557305711a2937f9$var$Yallist.prototype.pushNode = function(node) {
36386
36004
  if (node === this.tail) return;
36387
36005
  if (node.list) node.list.removeNode(node);
36388
36006
  var tail = this.tail;
@@ -36393,15 +36011,15 @@ $18a7578e9d9582f5$var$Yallist.prototype.pushNode = function(node) {
36393
36011
  if (!this.head) this.head = node;
36394
36012
  this.length++;
36395
36013
  };
36396
- $18a7578e9d9582f5$var$Yallist.prototype.push = function() {
36397
- for(var i = 0, l = arguments.length; i < l; i++)$18a7578e9d9582f5$var$push(this, arguments[i]);
36014
+ $557305711a2937f9$var$Yallist.prototype.push = function() {
36015
+ for(var i = 0, l = arguments.length; i < l; i++)$557305711a2937f9$var$push(this, arguments[i]);
36398
36016
  return this.length;
36399
36017
  };
36400
- $18a7578e9d9582f5$var$Yallist.prototype.unshift = function() {
36401
- for(var i = 0, l = arguments.length; i < l; i++)$18a7578e9d9582f5$var$unshift(this, arguments[i]);
36018
+ $557305711a2937f9$var$Yallist.prototype.unshift = function() {
36019
+ for(var i = 0, l = arguments.length; i < l; i++)$557305711a2937f9$var$unshift(this, arguments[i]);
36402
36020
  return this.length;
36403
36021
  };
36404
- $18a7578e9d9582f5$var$Yallist.prototype.pop = function() {
36022
+ $557305711a2937f9$var$Yallist.prototype.pop = function() {
36405
36023
  if (!this.tail) return undefined;
36406
36024
  var res = this.tail.value;
36407
36025
  this.tail = this.tail.prev;
@@ -36410,7 +36028,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.pop = function() {
36410
36028
  this.length--;
36411
36029
  return res;
36412
36030
  };
36413
- $18a7578e9d9582f5$var$Yallist.prototype.shift = function() {
36031
+ $557305711a2937f9$var$Yallist.prototype.shift = function() {
36414
36032
  if (!this.head) return undefined;
36415
36033
  var res = this.head.value;
36416
36034
  this.head = this.head.next;
@@ -36419,49 +36037,49 @@ $18a7578e9d9582f5$var$Yallist.prototype.shift = function() {
36419
36037
  this.length--;
36420
36038
  return res;
36421
36039
  };
36422
- $18a7578e9d9582f5$var$Yallist.prototype.forEach = function(fn, thisp) {
36040
+ $557305711a2937f9$var$Yallist.prototype.forEach = function(fn, thisp) {
36423
36041
  thisp = thisp || this;
36424
36042
  for(var walker = this.head, i = 0; walker !== null; i++){
36425
36043
  fn.call(thisp, walker.value, i, this);
36426
36044
  walker = walker.next;
36427
36045
  }
36428
36046
  };
36429
- $18a7578e9d9582f5$var$Yallist.prototype.forEachReverse = function(fn, thisp) {
36047
+ $557305711a2937f9$var$Yallist.prototype.forEachReverse = function(fn, thisp) {
36430
36048
  thisp = thisp || this;
36431
36049
  for(var walker = this.tail, i = this.length - 1; walker !== null; i--){
36432
36050
  fn.call(thisp, walker.value, i, this);
36433
36051
  walker = walker.prev;
36434
36052
  }
36435
36053
  };
36436
- $18a7578e9d9582f5$var$Yallist.prototype.get = function(n) {
36054
+ $557305711a2937f9$var$Yallist.prototype.get = function(n) {
36437
36055
  for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle
36438
36056
  walker = walker.next;
36439
36057
  if (i === n && walker !== null) return walker.value;
36440
36058
  };
36441
- $18a7578e9d9582f5$var$Yallist.prototype.getReverse = function(n) {
36059
+ $557305711a2937f9$var$Yallist.prototype.getReverse = function(n) {
36442
36060
  for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle
36443
36061
  walker = walker.prev;
36444
36062
  if (i === n && walker !== null) return walker.value;
36445
36063
  };
36446
- $18a7578e9d9582f5$var$Yallist.prototype.map = function(fn, thisp) {
36064
+ $557305711a2937f9$var$Yallist.prototype.map = function(fn, thisp) {
36447
36065
  thisp = thisp || this;
36448
- var res = new $18a7578e9d9582f5$var$Yallist();
36066
+ var res = new $557305711a2937f9$var$Yallist();
36449
36067
  for(var walker = this.head; walker !== null;){
36450
36068
  res.push(fn.call(thisp, walker.value, this));
36451
36069
  walker = walker.next;
36452
36070
  }
36453
36071
  return res;
36454
36072
  };
36455
- $18a7578e9d9582f5$var$Yallist.prototype.mapReverse = function(fn, thisp) {
36073
+ $557305711a2937f9$var$Yallist.prototype.mapReverse = function(fn, thisp) {
36456
36074
  thisp = thisp || this;
36457
- var res = new $18a7578e9d9582f5$var$Yallist();
36075
+ var res = new $557305711a2937f9$var$Yallist();
36458
36076
  for(var walker = this.tail; walker !== null;){
36459
36077
  res.push(fn.call(thisp, walker.value, this));
36460
36078
  walker = walker.prev;
36461
36079
  }
36462
36080
  return res;
36463
36081
  };
36464
- $18a7578e9d9582f5$var$Yallist.prototype.reduce = function(fn, initial) {
36082
+ $557305711a2937f9$var$Yallist.prototype.reduce = function(fn, initial) {
36465
36083
  var acc;
36466
36084
  var walker = this.head;
36467
36085
  if (arguments.length > 1) acc = initial;
@@ -36475,7 +36093,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.reduce = function(fn, initial) {
36475
36093
  }
36476
36094
  return acc;
36477
36095
  };
36478
- $18a7578e9d9582f5$var$Yallist.prototype.reduceReverse = function(fn, initial) {
36096
+ $557305711a2937f9$var$Yallist.prototype.reduceReverse = function(fn, initial) {
36479
36097
  var acc;
36480
36098
  var walker = this.tail;
36481
36099
  if (arguments.length > 1) acc = initial;
@@ -36489,7 +36107,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.reduceReverse = function(fn, initial) {
36489
36107
  }
36490
36108
  return acc;
36491
36109
  };
36492
- $18a7578e9d9582f5$var$Yallist.prototype.toArray = function() {
36110
+ $557305711a2937f9$var$Yallist.prototype.toArray = function() {
36493
36111
  var arr = new Array(this.length);
36494
36112
  for(var i = 0, walker = this.head; walker !== null; i++){
36495
36113
  arr[i] = walker.value;
@@ -36497,7 +36115,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.toArray = function() {
36497
36115
  }
36498
36116
  return arr;
36499
36117
  };
36500
- $18a7578e9d9582f5$var$Yallist.prototype.toArrayReverse = function() {
36118
+ $557305711a2937f9$var$Yallist.prototype.toArrayReverse = function() {
36501
36119
  var arr = new Array(this.length);
36502
36120
  for(var i = 0, walker = this.tail; walker !== null; i++){
36503
36121
  arr[i] = walker.value;
@@ -36505,12 +36123,12 @@ $18a7578e9d9582f5$var$Yallist.prototype.toArrayReverse = function() {
36505
36123
  }
36506
36124
  return arr;
36507
36125
  };
36508
- $18a7578e9d9582f5$var$Yallist.prototype.slice = function(from, to) {
36126
+ $557305711a2937f9$var$Yallist.prototype.slice = function(from, to) {
36509
36127
  to = to || this.length;
36510
36128
  if (to < 0) to += this.length;
36511
36129
  from = from || 0;
36512
36130
  if (from < 0) from += this.length;
36513
- var ret = new $18a7578e9d9582f5$var$Yallist();
36131
+ var ret = new $557305711a2937f9$var$Yallist();
36514
36132
  if (to < from || to < 0) return ret;
36515
36133
  if (from < 0) from = 0;
36516
36134
  if (to > this.length) to = this.length;
@@ -36518,12 +36136,12 @@ $18a7578e9d9582f5$var$Yallist.prototype.slice = function(from, to) {
36518
36136
  for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);
36519
36137
  return ret;
36520
36138
  };
36521
- $18a7578e9d9582f5$var$Yallist.prototype.sliceReverse = function(from, to) {
36139
+ $557305711a2937f9$var$Yallist.prototype.sliceReverse = function(from, to) {
36522
36140
  to = to || this.length;
36523
36141
  if (to < 0) to += this.length;
36524
36142
  from = from || 0;
36525
36143
  if (from < 0) from += this.length;
36526
- var ret = new $18a7578e9d9582f5$var$Yallist();
36144
+ var ret = new $557305711a2937f9$var$Yallist();
36527
36145
  if (to < from || to < 0) return ret;
36528
36146
  if (from < 0) from = 0;
36529
36147
  if (to > this.length) to = this.length;
@@ -36531,7 +36149,7 @@ $18a7578e9d9582f5$var$Yallist.prototype.sliceReverse = function(from, to) {
36531
36149
  for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);
36532
36150
  return ret;
36533
36151
  };
36534
- $18a7578e9d9582f5$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {
36152
+ $557305711a2937f9$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {
36535
36153
  if (start > this.length) start = this.length - 1;
36536
36154
  if (start < 0) start = this.length + start;
36537
36155
  for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;
@@ -36542,10 +36160,10 @@ $18a7578e9d9582f5$var$Yallist.prototype.splice = function(start, deleteCount, ..
36542
36160
  }
36543
36161
  if (walker === null) walker = this.tail;
36544
36162
  if (walker !== this.head && walker !== this.tail) walker = walker.prev;
36545
- for(var i = 0; i < nodes.length; i++)walker = $18a7578e9d9582f5$var$insert(this, walker, nodes[i]);
36163
+ for(var i = 0; i < nodes.length; i++)walker = $557305711a2937f9$var$insert(this, walker, nodes[i]);
36546
36164
  return ret;
36547
36165
  };
36548
- $18a7578e9d9582f5$var$Yallist.prototype.reverse = function() {
36166
+ $557305711a2937f9$var$Yallist.prototype.reverse = function() {
36549
36167
  var head = this.head;
36550
36168
  var tail = this.tail;
36551
36169
  for(var walker = head; walker !== null; walker = walker.prev){
@@ -36557,25 +36175,25 @@ $18a7578e9d9582f5$var$Yallist.prototype.reverse = function() {
36557
36175
  this.tail = head;
36558
36176
  return this;
36559
36177
  };
36560
- function $18a7578e9d9582f5$var$insert(self, node, value) {
36561
- var inserted = node === self.head ? new $18a7578e9d9582f5$var$Node(value, null, node, self) : new $18a7578e9d9582f5$var$Node(value, node, node.next, self);
36178
+ function $557305711a2937f9$var$insert(self, node, value) {
36179
+ var inserted = node === self.head ? new $557305711a2937f9$var$Node(value, null, node, self) : new $557305711a2937f9$var$Node(value, node, node.next, self);
36562
36180
  if (inserted.next === null) self.tail = inserted;
36563
36181
  if (inserted.prev === null) self.head = inserted;
36564
36182
  self.length++;
36565
36183
  return inserted;
36566
36184
  }
36567
- function $18a7578e9d9582f5$var$push(self, item) {
36568
- self.tail = new $18a7578e9d9582f5$var$Node(item, self.tail, null, self);
36185
+ function $557305711a2937f9$var$push(self, item) {
36186
+ self.tail = new $557305711a2937f9$var$Node(item, self.tail, null, self);
36569
36187
  if (!self.head) self.head = self.tail;
36570
36188
  self.length++;
36571
36189
  }
36572
- function $18a7578e9d9582f5$var$unshift(self, item) {
36573
- self.head = new $18a7578e9d9582f5$var$Node(item, null, self.head, self);
36190
+ function $557305711a2937f9$var$unshift(self, item) {
36191
+ self.head = new $557305711a2937f9$var$Node(item, null, self.head, self);
36574
36192
  if (!self.tail) self.tail = self.head;
36575
36193
  self.length++;
36576
36194
  }
36577
- function $18a7578e9d9582f5$var$Node(value, prev, next, list) {
36578
- if (!(this instanceof $18a7578e9d9582f5$var$Node)) return new $18a7578e9d9582f5$var$Node(value, prev, next, list);
36195
+ function $557305711a2937f9$var$Node(value, prev, next, list) {
36196
+ if (!(this instanceof $557305711a2937f9$var$Node)) return new $557305711a2937f9$var$Node(value, prev, next, list);
36579
36197
  this.list = list;
36580
36198
  this.value = value;
36581
36199
  if (prev) {
@@ -36590,21 +36208,21 @@ function $18a7578e9d9582f5$var$Node(value, prev, next, list) {
36590
36208
 
36591
36209
  try {
36592
36210
  // add if support for Symbol.iterator is present
36593
- (parcelRequire("jO8Wy"))($18a7578e9d9582f5$var$Yallist);
36211
+ (parcelRequire("8r7gj"))($557305711a2937f9$var$Yallist);
36594
36212
  } catch (er) {}
36595
36213
 
36596
36214
 
36597
- const $f8b9098efafecd39$var$MAX = Symbol("max");
36598
- const $f8b9098efafecd39$var$LENGTH = Symbol("length");
36599
- const $f8b9098efafecd39$var$LENGTH_CALCULATOR = Symbol("lengthCalculator");
36600
- const $f8b9098efafecd39$var$ALLOW_STALE = Symbol("allowStale");
36601
- const $f8b9098efafecd39$var$MAX_AGE = Symbol("maxAge");
36602
- const $f8b9098efafecd39$var$DISPOSE = Symbol("dispose");
36603
- const $f8b9098efafecd39$var$NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
36604
- const $f8b9098efafecd39$var$LRU_LIST = Symbol("lruList");
36605
- const $f8b9098efafecd39$var$CACHE = Symbol("cache");
36606
- const $f8b9098efafecd39$var$UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
36607
- const $f8b9098efafecd39$var$naiveLength = ()=>1;
36215
+ const $2928e4313c385acc$var$MAX = Symbol("max");
36216
+ const $2928e4313c385acc$var$LENGTH = Symbol("length");
36217
+ const $2928e4313c385acc$var$LENGTH_CALCULATOR = Symbol("lengthCalculator");
36218
+ const $2928e4313c385acc$var$ALLOW_STALE = Symbol("allowStale");
36219
+ const $2928e4313c385acc$var$MAX_AGE = Symbol("maxAge");
36220
+ const $2928e4313c385acc$var$DISPOSE = Symbol("dispose");
36221
+ const $2928e4313c385acc$var$NO_DISPOSE_ON_SET = Symbol("noDisposeOnSet");
36222
+ const $2928e4313c385acc$var$LRU_LIST = Symbol("lruList");
36223
+ const $2928e4313c385acc$var$CACHE = Symbol("cache");
36224
+ const $2928e4313c385acc$var$UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
36225
+ const $2928e4313c385acc$var$naiveLength = ()=>1;
36608
36226
  // lruList is a yallist where the head is the youngest
36609
36227
  // item, and the tail is the oldest. the list contains the Hit
36610
36228
  // objects as the entries.
@@ -36613,7 +36231,7 @@ const $f8b9098efafecd39$var$naiveLength = ()=>1;
36613
36231
  //
36614
36232
  // cache is a Map (or PseudoMap) that matches the keys to
36615
36233
  // the Yallist.Node object.
36616
- class $f8b9098efafecd39$var$LRUCache {
36234
+ class $2928e4313c385acc$var$LRUCache {
36617
36235
  constructor(options){
36618
36236
  if (typeof options === "number") options = {
36619
36237
  max: options
@@ -36621,160 +36239,160 @@ class $f8b9098efafecd39$var$LRUCache {
36621
36239
  if (!options) options = {};
36622
36240
  if (options.max && (typeof options.max !== "number" || options.max < 0)) throw new TypeError("max must be a non-negative number");
36623
36241
  // Kind of weird to have a default max of Infinity, but oh well.
36624
- const max = this[$f8b9098efafecd39$var$MAX] = options.max || Infinity;
36625
- const lc = options.length || $f8b9098efafecd39$var$naiveLength;
36626
- this[$f8b9098efafecd39$var$LENGTH_CALCULATOR] = typeof lc !== "function" ? $f8b9098efafecd39$var$naiveLength : lc;
36627
- this[$f8b9098efafecd39$var$ALLOW_STALE] = options.stale || false;
36242
+ const max = this[$2928e4313c385acc$var$MAX] = options.max || Infinity;
36243
+ const lc = options.length || $2928e4313c385acc$var$naiveLength;
36244
+ this[$2928e4313c385acc$var$LENGTH_CALCULATOR] = typeof lc !== "function" ? $2928e4313c385acc$var$naiveLength : lc;
36245
+ this[$2928e4313c385acc$var$ALLOW_STALE] = options.stale || false;
36628
36246
  if (options.maxAge && typeof options.maxAge !== "number") throw new TypeError("maxAge must be a number");
36629
- this[$f8b9098efafecd39$var$MAX_AGE] = options.maxAge || 0;
36630
- this[$f8b9098efafecd39$var$DISPOSE] = options.dispose;
36631
- this[$f8b9098efafecd39$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
36632
- this[$f8b9098efafecd39$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
36247
+ this[$2928e4313c385acc$var$MAX_AGE] = options.maxAge || 0;
36248
+ this[$2928e4313c385acc$var$DISPOSE] = options.dispose;
36249
+ this[$2928e4313c385acc$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
36250
+ this[$2928e4313c385acc$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
36633
36251
  this.reset();
36634
36252
  }
36635
36253
  // resize the cache when the max changes.
36636
36254
  set max(mL) {
36637
36255
  if (typeof mL !== "number" || mL < 0) throw new TypeError("max must be a non-negative number");
36638
- this[$f8b9098efafecd39$var$MAX] = mL || Infinity;
36639
- $f8b9098efafecd39$var$trim(this);
36256
+ this[$2928e4313c385acc$var$MAX] = mL || Infinity;
36257
+ $2928e4313c385acc$var$trim(this);
36640
36258
  }
36641
36259
  get max() {
36642
- return this[$f8b9098efafecd39$var$MAX];
36260
+ return this[$2928e4313c385acc$var$MAX];
36643
36261
  }
36644
36262
  set allowStale(allowStale) {
36645
- this[$f8b9098efafecd39$var$ALLOW_STALE] = !!allowStale;
36263
+ this[$2928e4313c385acc$var$ALLOW_STALE] = !!allowStale;
36646
36264
  }
36647
36265
  get allowStale() {
36648
- return this[$f8b9098efafecd39$var$ALLOW_STALE];
36266
+ return this[$2928e4313c385acc$var$ALLOW_STALE];
36649
36267
  }
36650
36268
  set maxAge(mA) {
36651
36269
  if (typeof mA !== "number") throw new TypeError("maxAge must be a non-negative number");
36652
- this[$f8b9098efafecd39$var$MAX_AGE] = mA;
36653
- $f8b9098efafecd39$var$trim(this);
36270
+ this[$2928e4313c385acc$var$MAX_AGE] = mA;
36271
+ $2928e4313c385acc$var$trim(this);
36654
36272
  }
36655
36273
  get maxAge() {
36656
- return this[$f8b9098efafecd39$var$MAX_AGE];
36274
+ return this[$2928e4313c385acc$var$MAX_AGE];
36657
36275
  }
36658
36276
  // resize the cache when the lengthCalculator changes.
36659
36277
  set lengthCalculator(lC) {
36660
- if (typeof lC !== "function") lC = $f8b9098efafecd39$var$naiveLength;
36661
- if (lC !== this[$f8b9098efafecd39$var$LENGTH_CALCULATOR]) {
36662
- this[$f8b9098efafecd39$var$LENGTH_CALCULATOR] = lC;
36663
- this[$f8b9098efafecd39$var$LENGTH] = 0;
36664
- this[$f8b9098efafecd39$var$LRU_LIST].forEach((hit)=>{
36665
- hit.length = this[$f8b9098efafecd39$var$LENGTH_CALCULATOR](hit.value, hit.key);
36666
- this[$f8b9098efafecd39$var$LENGTH] += hit.length;
36278
+ if (typeof lC !== "function") lC = $2928e4313c385acc$var$naiveLength;
36279
+ if (lC !== this[$2928e4313c385acc$var$LENGTH_CALCULATOR]) {
36280
+ this[$2928e4313c385acc$var$LENGTH_CALCULATOR] = lC;
36281
+ this[$2928e4313c385acc$var$LENGTH] = 0;
36282
+ this[$2928e4313c385acc$var$LRU_LIST].forEach((hit)=>{
36283
+ hit.length = this[$2928e4313c385acc$var$LENGTH_CALCULATOR](hit.value, hit.key);
36284
+ this[$2928e4313c385acc$var$LENGTH] += hit.length;
36667
36285
  });
36668
36286
  }
36669
- $f8b9098efafecd39$var$trim(this);
36287
+ $2928e4313c385acc$var$trim(this);
36670
36288
  }
36671
36289
  get lengthCalculator() {
36672
- return this[$f8b9098efafecd39$var$LENGTH_CALCULATOR];
36290
+ return this[$2928e4313c385acc$var$LENGTH_CALCULATOR];
36673
36291
  }
36674
36292
  get length() {
36675
- return this[$f8b9098efafecd39$var$LENGTH];
36293
+ return this[$2928e4313c385acc$var$LENGTH];
36676
36294
  }
36677
36295
  get itemCount() {
36678
- return this[$f8b9098efafecd39$var$LRU_LIST].length;
36296
+ return this[$2928e4313c385acc$var$LRU_LIST].length;
36679
36297
  }
36680
36298
  rforEach(fn, thisp) {
36681
36299
  thisp = thisp || this;
36682
- for(let walker = this[$f8b9098efafecd39$var$LRU_LIST].tail; walker !== null;){
36300
+ for(let walker = this[$2928e4313c385acc$var$LRU_LIST].tail; walker !== null;){
36683
36301
  const prev = walker.prev;
36684
- $f8b9098efafecd39$var$forEachStep(this, fn, walker, thisp);
36302
+ $2928e4313c385acc$var$forEachStep(this, fn, walker, thisp);
36685
36303
  walker = prev;
36686
36304
  }
36687
36305
  }
36688
36306
  forEach(fn, thisp) {
36689
36307
  thisp = thisp || this;
36690
- for(let walker = this[$f8b9098efafecd39$var$LRU_LIST].head; walker !== null;){
36308
+ for(let walker = this[$2928e4313c385acc$var$LRU_LIST].head; walker !== null;){
36691
36309
  const next = walker.next;
36692
- $f8b9098efafecd39$var$forEachStep(this, fn, walker, thisp);
36310
+ $2928e4313c385acc$var$forEachStep(this, fn, walker, thisp);
36693
36311
  walker = next;
36694
36312
  }
36695
36313
  }
36696
36314
  keys() {
36697
- return this[$f8b9098efafecd39$var$LRU_LIST].toArray().map((k)=>k.key);
36315
+ return this[$2928e4313c385acc$var$LRU_LIST].toArray().map((k)=>k.key);
36698
36316
  }
36699
36317
  values() {
36700
- return this[$f8b9098efafecd39$var$LRU_LIST].toArray().map((k)=>k.value);
36318
+ return this[$2928e4313c385acc$var$LRU_LIST].toArray().map((k)=>k.value);
36701
36319
  }
36702
36320
  reset() {
36703
- if (this[$f8b9098efafecd39$var$DISPOSE] && this[$f8b9098efafecd39$var$LRU_LIST] && this[$f8b9098efafecd39$var$LRU_LIST].length) this[$f8b9098efafecd39$var$LRU_LIST].forEach((hit)=>this[$f8b9098efafecd39$var$DISPOSE](hit.key, hit.value));
36704
- this[$f8b9098efafecd39$var$CACHE] = new Map() // hash of items by key
36321
+ if (this[$2928e4313c385acc$var$DISPOSE] && this[$2928e4313c385acc$var$LRU_LIST] && this[$2928e4313c385acc$var$LRU_LIST].length) this[$2928e4313c385acc$var$LRU_LIST].forEach((hit)=>this[$2928e4313c385acc$var$DISPOSE](hit.key, hit.value));
36322
+ this[$2928e4313c385acc$var$CACHE] = new Map() // hash of items by key
36705
36323
  ;
36706
- this[$f8b9098efafecd39$var$LRU_LIST] = new $18a7578e9d9582f5$exports() // list of items in order of use recency
36324
+ this[$2928e4313c385acc$var$LRU_LIST] = new $557305711a2937f9$exports() // list of items in order of use recency
36707
36325
  ;
36708
- this[$f8b9098efafecd39$var$LENGTH] = 0 // length of items in the list
36326
+ this[$2928e4313c385acc$var$LENGTH] = 0 // length of items in the list
36709
36327
  ;
36710
36328
  }
36711
36329
  dump() {
36712
- return this[$f8b9098efafecd39$var$LRU_LIST].map((hit)=>$f8b9098efafecd39$var$isStale(this, hit) ? false : {
36330
+ return this[$2928e4313c385acc$var$LRU_LIST].map((hit)=>$2928e4313c385acc$var$isStale(this, hit) ? false : {
36713
36331
  k: hit.key,
36714
36332
  v: hit.value,
36715
36333
  e: hit.now + (hit.maxAge || 0)
36716
36334
  }).toArray().filter((h)=>h);
36717
36335
  }
36718
36336
  dumpLru() {
36719
- return this[$f8b9098efafecd39$var$LRU_LIST];
36337
+ return this[$2928e4313c385acc$var$LRU_LIST];
36720
36338
  }
36721
36339
  set(key, value, maxAge) {
36722
- maxAge = maxAge || this[$f8b9098efafecd39$var$MAX_AGE];
36340
+ maxAge = maxAge || this[$2928e4313c385acc$var$MAX_AGE];
36723
36341
  if (maxAge && typeof maxAge !== "number") throw new TypeError("maxAge must be a number");
36724
36342
  const now = maxAge ? Date.now() : 0;
36725
- const len = this[$f8b9098efafecd39$var$LENGTH_CALCULATOR](value, key);
36726
- if (this[$f8b9098efafecd39$var$CACHE].has(key)) {
36727
- if (len > this[$f8b9098efafecd39$var$MAX]) {
36728
- $f8b9098efafecd39$var$del(this, this[$f8b9098efafecd39$var$CACHE].get(key));
36343
+ const len = this[$2928e4313c385acc$var$LENGTH_CALCULATOR](value, key);
36344
+ if (this[$2928e4313c385acc$var$CACHE].has(key)) {
36345
+ if (len > this[$2928e4313c385acc$var$MAX]) {
36346
+ $2928e4313c385acc$var$del(this, this[$2928e4313c385acc$var$CACHE].get(key));
36729
36347
  return false;
36730
36348
  }
36731
- const node = this[$f8b9098efafecd39$var$CACHE].get(key);
36349
+ const node = this[$2928e4313c385acc$var$CACHE].get(key);
36732
36350
  const item = node.value;
36733
36351
  // dispose of the old one before overwriting
36734
36352
  // split out into 2 ifs for better coverage tracking
36735
- if (this[$f8b9098efafecd39$var$DISPOSE]) {
36736
- if (!this[$f8b9098efafecd39$var$NO_DISPOSE_ON_SET]) this[$f8b9098efafecd39$var$DISPOSE](key, item.value);
36353
+ if (this[$2928e4313c385acc$var$DISPOSE]) {
36354
+ if (!this[$2928e4313c385acc$var$NO_DISPOSE_ON_SET]) this[$2928e4313c385acc$var$DISPOSE](key, item.value);
36737
36355
  }
36738
36356
  item.now = now;
36739
36357
  item.maxAge = maxAge;
36740
36358
  item.value = value;
36741
- this[$f8b9098efafecd39$var$LENGTH] += len - item.length;
36359
+ this[$2928e4313c385acc$var$LENGTH] += len - item.length;
36742
36360
  item.length = len;
36743
36361
  this.get(key);
36744
- $f8b9098efafecd39$var$trim(this);
36362
+ $2928e4313c385acc$var$trim(this);
36745
36363
  return true;
36746
36364
  }
36747
- const hit = new $f8b9098efafecd39$var$Entry(key, value, len, now, maxAge);
36365
+ const hit = new $2928e4313c385acc$var$Entry(key, value, len, now, maxAge);
36748
36366
  // oversized objects fall out of cache automatically.
36749
- if (hit.length > this[$f8b9098efafecd39$var$MAX]) {
36750
- if (this[$f8b9098efafecd39$var$DISPOSE]) this[$f8b9098efafecd39$var$DISPOSE](key, value);
36367
+ if (hit.length > this[$2928e4313c385acc$var$MAX]) {
36368
+ if (this[$2928e4313c385acc$var$DISPOSE]) this[$2928e4313c385acc$var$DISPOSE](key, value);
36751
36369
  return false;
36752
36370
  }
36753
- this[$f8b9098efafecd39$var$LENGTH] += hit.length;
36754
- this[$f8b9098efafecd39$var$LRU_LIST].unshift(hit);
36755
- this[$f8b9098efafecd39$var$CACHE].set(key, this[$f8b9098efafecd39$var$LRU_LIST].head);
36756
- $f8b9098efafecd39$var$trim(this);
36371
+ this[$2928e4313c385acc$var$LENGTH] += hit.length;
36372
+ this[$2928e4313c385acc$var$LRU_LIST].unshift(hit);
36373
+ this[$2928e4313c385acc$var$CACHE].set(key, this[$2928e4313c385acc$var$LRU_LIST].head);
36374
+ $2928e4313c385acc$var$trim(this);
36757
36375
  return true;
36758
36376
  }
36759
36377
  has(key) {
36760
- if (!this[$f8b9098efafecd39$var$CACHE].has(key)) return false;
36761
- const hit = this[$f8b9098efafecd39$var$CACHE].get(key).value;
36762
- return !$f8b9098efafecd39$var$isStale(this, hit);
36378
+ if (!this[$2928e4313c385acc$var$CACHE].has(key)) return false;
36379
+ const hit = this[$2928e4313c385acc$var$CACHE].get(key).value;
36380
+ return !$2928e4313c385acc$var$isStale(this, hit);
36763
36381
  }
36764
36382
  get(key) {
36765
- return $f8b9098efafecd39$var$get(this, key, true);
36383
+ return $2928e4313c385acc$var$get(this, key, true);
36766
36384
  }
36767
36385
  peek(key) {
36768
- return $f8b9098efafecd39$var$get(this, key, false);
36386
+ return $2928e4313c385acc$var$get(this, key, false);
36769
36387
  }
36770
36388
  pop() {
36771
- const node = this[$f8b9098efafecd39$var$LRU_LIST].tail;
36389
+ const node = this[$2928e4313c385acc$var$LRU_LIST].tail;
36772
36390
  if (!node) return null;
36773
- $f8b9098efafecd39$var$del(this, node);
36391
+ $2928e4313c385acc$var$del(this, node);
36774
36392
  return node.value;
36775
36393
  }
36776
36394
  del(key) {
36777
- $f8b9098efafecd39$var$del(this, this[$f8b9098efafecd39$var$CACHE].get(key));
36395
+ $2928e4313c385acc$var$del(this, this[$2928e4313c385acc$var$CACHE].get(key));
36778
36396
  }
36779
36397
  load(arr) {
36780
36398
  // reset the cache
@@ -36794,48 +36412,48 @@ class $f8b9098efafecd39$var$LRUCache {
36794
36412
  }
36795
36413
  }
36796
36414
  prune() {
36797
- this[$f8b9098efafecd39$var$CACHE].forEach((value, key)=>$f8b9098efafecd39$var$get(this, key, false));
36415
+ this[$2928e4313c385acc$var$CACHE].forEach((value, key)=>$2928e4313c385acc$var$get(this, key, false));
36798
36416
  }
36799
36417
  }
36800
- const $f8b9098efafecd39$var$get = (self, key, doUse)=>{
36801
- const node = self[$f8b9098efafecd39$var$CACHE].get(key);
36418
+ const $2928e4313c385acc$var$get = (self, key, doUse)=>{
36419
+ const node = self[$2928e4313c385acc$var$CACHE].get(key);
36802
36420
  if (node) {
36803
36421
  const hit = node.value;
36804
- if ($f8b9098efafecd39$var$isStale(self, hit)) {
36805
- $f8b9098efafecd39$var$del(self, node);
36806
- if (!self[$f8b9098efafecd39$var$ALLOW_STALE]) return undefined;
36422
+ if ($2928e4313c385acc$var$isStale(self, hit)) {
36423
+ $2928e4313c385acc$var$del(self, node);
36424
+ if (!self[$2928e4313c385acc$var$ALLOW_STALE]) return undefined;
36807
36425
  } else if (doUse) {
36808
- if (self[$f8b9098efafecd39$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();
36809
- self[$f8b9098efafecd39$var$LRU_LIST].unshiftNode(node);
36426
+ if (self[$2928e4313c385acc$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();
36427
+ self[$2928e4313c385acc$var$LRU_LIST].unshiftNode(node);
36810
36428
  }
36811
36429
  return hit.value;
36812
36430
  }
36813
36431
  };
36814
- const $f8b9098efafecd39$var$isStale = (self, hit)=>{
36815
- if (!hit || !hit.maxAge && !self[$f8b9098efafecd39$var$MAX_AGE]) return false;
36432
+ const $2928e4313c385acc$var$isStale = (self, hit)=>{
36433
+ if (!hit || !hit.maxAge && !self[$2928e4313c385acc$var$MAX_AGE]) return false;
36816
36434
  const diff = Date.now() - hit.now;
36817
- return hit.maxAge ? diff > hit.maxAge : self[$f8b9098efafecd39$var$MAX_AGE] && diff > self[$f8b9098efafecd39$var$MAX_AGE];
36435
+ return hit.maxAge ? diff > hit.maxAge : self[$2928e4313c385acc$var$MAX_AGE] && diff > self[$2928e4313c385acc$var$MAX_AGE];
36818
36436
  };
36819
- const $f8b9098efafecd39$var$trim = (self)=>{
36820
- if (self[$f8b9098efafecd39$var$LENGTH] > self[$f8b9098efafecd39$var$MAX]) for(let walker = self[$f8b9098efafecd39$var$LRU_LIST].tail; self[$f8b9098efafecd39$var$LENGTH] > self[$f8b9098efafecd39$var$MAX] && walker !== null;){
36437
+ const $2928e4313c385acc$var$trim = (self)=>{
36438
+ if (self[$2928e4313c385acc$var$LENGTH] > self[$2928e4313c385acc$var$MAX]) for(let walker = self[$2928e4313c385acc$var$LRU_LIST].tail; self[$2928e4313c385acc$var$LENGTH] > self[$2928e4313c385acc$var$MAX] && walker !== null;){
36821
36439
  // We know that we're about to delete this one, and also
36822
36440
  // what the next least recently used key will be, so just
36823
36441
  // go ahead and set it now.
36824
36442
  const prev = walker.prev;
36825
- $f8b9098efafecd39$var$del(self, walker);
36443
+ $2928e4313c385acc$var$del(self, walker);
36826
36444
  walker = prev;
36827
36445
  }
36828
36446
  };
36829
- const $f8b9098efafecd39$var$del = (self, node)=>{
36447
+ const $2928e4313c385acc$var$del = (self, node)=>{
36830
36448
  if (node) {
36831
36449
  const hit = node.value;
36832
- if (self[$f8b9098efafecd39$var$DISPOSE]) self[$f8b9098efafecd39$var$DISPOSE](hit.key, hit.value);
36833
- self[$f8b9098efafecd39$var$LENGTH] -= hit.length;
36834
- self[$f8b9098efafecd39$var$CACHE].delete(hit.key);
36835
- self[$f8b9098efafecd39$var$LRU_LIST].removeNode(node);
36450
+ if (self[$2928e4313c385acc$var$DISPOSE]) self[$2928e4313c385acc$var$DISPOSE](hit.key, hit.value);
36451
+ self[$2928e4313c385acc$var$LENGTH] -= hit.length;
36452
+ self[$2928e4313c385acc$var$CACHE].delete(hit.key);
36453
+ self[$2928e4313c385acc$var$LRU_LIST].removeNode(node);
36836
36454
  }
36837
36455
  };
36838
- class $f8b9098efafecd39$var$Entry {
36456
+ class $2928e4313c385acc$var$Entry {
36839
36457
  constructor(key, value, length, now, maxAge){
36840
36458
  this.key = key;
36841
36459
  this.value = value;
@@ -36844,18 +36462,18 @@ class $f8b9098efafecd39$var$Entry {
36844
36462
  this.maxAge = maxAge || 0;
36845
36463
  }
36846
36464
  }
36847
- const $f8b9098efafecd39$var$forEachStep = (self, fn, node, thisp)=>{
36465
+ const $2928e4313c385acc$var$forEachStep = (self, fn, node, thisp)=>{
36848
36466
  let hit = node.value;
36849
- if ($f8b9098efafecd39$var$isStale(self, hit)) {
36850
- $f8b9098efafecd39$var$del(self, node);
36851
- if (!self[$f8b9098efafecd39$var$ALLOW_STALE]) hit = undefined;
36467
+ if ($2928e4313c385acc$var$isStale(self, hit)) {
36468
+ $2928e4313c385acc$var$del(self, node);
36469
+ if (!self[$2928e4313c385acc$var$ALLOW_STALE]) hit = undefined;
36852
36470
  }
36853
36471
  if (hit) fn.call(thisp, hit.value, hit.key, self);
36854
36472
  };
36855
- $f8b9098efafecd39$exports = $f8b9098efafecd39$var$LRUCache;
36473
+ $2928e4313c385acc$exports = $2928e4313c385acc$var$LRUCache;
36856
36474
 
36857
36475
 
36858
- const $1b5cf2552daa3eaf$var$configCache = new (0, (/*@__PURE__*/$parcel$interopDefault($f8b9098efafecd39$exports)))({
36476
+ const $1b5cf2552daa3eaf$var$configCache = new (0, (/*@__PURE__*/$parcel$interopDefault($2928e4313c385acc$exports)))({
36859
36477
  max: 500
36860
36478
  });
36861
36479
  const $1b5cf2552daa3eaf$var$resolveCache = new Map();