Merge pull request #386 from docker/dependabot/npm_and_yarn/undici-5.28.3

chore(deps): Bump undici from 5.26.3 to 5.28.3
This commit is contained in:
CrazyMax authored and GitHub committed 2024-02-23 09:38:00 +01:00
commit 232fc64e3a
3 files changed
+10 -10

No files matched your search

Generated Vendored
+6 -6
View File
@@ -1,4 +1,4 @@
require('./sourcemap-register.js');(()=>{var __webpack_modules__={27799:function(t,r,o){"use strict";var a=this&&this.__createBinding||(Object.create?function(t,r,o,a){if(a===undefined)a=o;var i=Object.getOwnPropertyDescriptor(r,o);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,a,i)}:function(t,r,o,a){if(a===undefined)a=o;t[a]=r[o]});var i=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var p=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))a(r,t,o);i(r,t);return r};var c=this&&this.__awaiter||function(t,r,o,a){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,i){function fulfilled(t){try{step(a.next(t))}catch(t){i(t)}}function rejected(t){try{step(a["throw"](t))}catch(t){i(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((a=a.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.saveCache=r.restoreCache=r.isFeatureAvailable=r.ReserveCacheError=r.ValidationError=void 0;const d=p(o(42186));const A=p(o(71017));const l=p(o(91518));const u=p(o(98245));const b=o(56490);class ValidationError extends Error{constructor(t){super(t);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}r.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(t){super(t);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}r.ReserveCacheError=ReserveCacheError;function checkPaths(t){if(!t||t.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(t){if(t.length>512){throw new ValidationError(`Key Validation Error: ${t} cannot be larger than 512 characters.`)}const r=/^[^,]*$/;if(!r.test(t)){throw new ValidationError(`Key Validation Error: ${t} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}r.isFeatureAvailable=isFeatureAvailable;function restoreCache(t,r,o,a,i=false){return c(this,void 0,void 0,(function*(){checkPaths(t);o=o||[];const p=[r,...o];d.debug("Resolved Keys:");d.debug(JSON.stringify(p));if(p.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const t of p){checkKey(t)}const c=yield l.getCompressionMethod();let M="";try{const r=yield u.getCacheEntry(p,t,{compressionMethod:c,enableCrossOsArchive:i});if(!(r===null||r===void 0?void 0:r.archiveLocation)){return undefined}if(a===null||a===void 0?void 0:a.lookupOnly){d.info("Lookup only - skipping download");return r.cacheKey}M=A.join(yield l.createTempDirectory(),l.getCacheFileName(c));d.debug(`Archive Path: ${M}`);yield u.downloadCache(r.archiveLocation,M,a);if(d.isDebug()){yield(0,b.listTar)(M,c)}const o=l.getArchiveFileSizeInBytes(M);d.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);yield(0,b.extractTar)(M,c);d.info("Cache restored successfully");return r.cacheKey}catch(t){const r=t;if(r.name===ValidationError.name){throw t}else{d.warning(`Failed to restore: ${t.message}`)}}finally{try{yield l.unlinkFile(M)}catch(t){d.debug(`Failed to delete archive: ${t}`)}}return undefined}))}r.restoreCache=restoreCache;function saveCache(t,r,o,a=false){var i,p,M,m,z;return c(this,void 0,void 0,(function*(){checkPaths(t);checkKey(r);const c=yield l.getCompressionMethod();let O=-1;const h=yield l.resolvePaths(t);d.debug("Cache Paths:");d.debug(`${JSON.stringify(h)}`);if(h.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const g=yield l.createTempDirectory();const E=A.join(g,l.getCacheFileName(c));d.debug(`Archive Path: ${E}`);try{yield(0,b.createTar)(g,h,c);if(d.isDebug()){yield(0,b.listTar)(E,c)}const A=10*1024*1024*1024;const q=l.getArchiveFileSizeInBytes(E);d.debug(`File Size: ${q}`);if(q>A&&!l.isGhes()){throw new Error(`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const y=yield u.reserveCache(r,t,{compressionMethod:c,enableCrossOsArchive:a,cacheSize:q});if((i=y===null||y===void 0?void 0:y.result)===null||i===void 0?void 0:i.cacheId){O=(p=y===null||y===void 0?void 0:y.result)===null||p===void 0?void 0:p.cacheId}else if((y===null||y===void 0?void 0:y.statusCode)===400){throw new Error((m=(M=y===null||y===void 0?void 0:y.error)===null||M===void 0?void 0:M.message)!==null&&m!==void 0?m:`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${r}, another job may be creating this cache. More details: ${(z=y===nullLine truncated require('./sourcemap-register.js');(()=>{var __webpack_modules__={27799:function(t,r,o){"use strict";var a=this&&this.__createBinding||(Object.create?function(t,r,o,a){if(a===undefined)a=o;var i=Object.getOwnPropertyDescriptor(r,o);if(!i||("get"in i?!r.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,a,i)}:function(t,r,o,a){if(a===undefined)a=o;t[a]=r[o]});var i=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var p=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))a(r,t,o);i(r,t);return r};var c=this&&this.__awaiter||function(t,r,o,a){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,i){function fulfilled(t){try{step(a.next(t))}catch(t){i(t)}}function rejected(t){try{step(a["throw"](t))}catch(t){i(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((a=a.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.saveCache=r.restoreCache=r.isFeatureAvailable=r.ReserveCacheError=r.ValidationError=void 0;const d=p(o(42186));const A=p(o(71017));const l=p(o(91518));const u=p(o(98245));const b=o(56490);class ValidationError extends Error{constructor(t){super(t);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}r.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(t){super(t);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}r.ReserveCacheError=ReserveCacheError;function checkPaths(t){if(!t||t.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(t){if(t.length>512){throw new ValidationError(`Key Validation Error: ${t} cannot be larger than 512 characters.`)}const r=/^[^,]*$/;if(!r.test(t)){throw new ValidationError(`Key Validation Error: ${t} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}r.isFeatureAvailable=isFeatureAvailable;function restoreCache(t,r,o,a,i=false){return c(this,void 0,void 0,(function*(){checkPaths(t);o=o||[];const p=[r,...o];d.debug("Resolved Keys:");d.debug(JSON.stringify(p));if(p.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const t of p){checkKey(t)}const c=yield l.getCompressionMethod();let M="";try{const r=yield u.getCacheEntry(p,t,{compressionMethod:c,enableCrossOsArchive:i});if(!(r===null||r===void 0?void 0:r.archiveLocation)){return undefined}if(a===null||a===void 0?void 0:a.lookupOnly){d.info("Lookup only - skipping download");return r.cacheKey}M=A.join(yield l.createTempDirectory(),l.getCacheFileName(c));d.debug(`Archive Path: ${M}`);yield u.downloadCache(r.archiveLocation,M,a);if(d.isDebug()){yield(0,b.listTar)(M,c)}const o=l.getArchiveFileSizeInBytes(M);d.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);yield(0,b.extractTar)(M,c);d.info("Cache restored successfully");return r.cacheKey}catch(t){const r=t;if(r.name===ValidationError.name){throw t}else{d.warning(`Failed to restore: ${t.message}`)}}finally{try{yield l.unlinkFile(M)}catch(t){d.debug(`Failed to delete archive: ${t}`)}}return undefined}))}r.restoreCache=restoreCache;function saveCache(t,r,o,a=false){var i,p,M,m,z;return c(this,void 0,void 0,(function*(){checkPaths(t);checkKey(r);const c=yield l.getCompressionMethod();let O=-1;const h=yield l.resolvePaths(t);d.debug("Cache Paths:");d.debug(`${JSON.stringify(h)}`);if(h.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const g=yield l.createTempDirectory();const E=A.join(g,l.getCacheFileName(c));d.debug(`Archive Path: ${E}`);try{yield(0,b.createTar)(g,h,c);if(d.isDebug()){yield(0,b.listTar)(E,c)}const A=10*1024*1024*1024;const q=l.getArchiveFileSizeInBytes(E);d.debug(`File Size: ${q}`);if(q>A&&!l.isGhes()){throw new Error(`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the 10GB limit, not saving cache.`)}d.debug("Reserving Cache");const y=yield u.reserveCache(r,t,{compressionMethod:c,enableCrossOsArchive:a,cacheSize:q});if((i=y===null||y===void 0?void 0:y.result)===null||i===void 0?void 0:i.cacheId){O=(p=y===null||y===void 0?void 0:y.result)===null||p===void 0?void 0:p.cacheId}else if((y===null||y===void 0?void 0:y.statusCode)===400){throw new Error((m=(M=y===null||y===void 0?void 0:y.error)===null||M===void 0?void 0:M.message)!==null&&m!==void 0?m:`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${r}, another job may be creating this cache. More details: ${(z=y===nullLine truncated
/*! /*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object> * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
* *
@@ -17,7 +17,7 @@ t.exports=o(53765)},43583:(t,r,o)=>{"use strict";
* Copyright(c) 2014 Jonathan Ong * Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson * Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed * MIT Licensed
*/var a=o(47426);var i=o(71017).extname;var p=/^\s*([^;\s]*)(?:;|\s|$)/;var c=/^text\//i;r.charset=charset;r.charsets={lookup:charset};r.contentType=contentType;r.extension=extension;r.extensions=Object.create(null);r.lookup=lookup;r.types=Object.create(null);populateMaps(r.extensions,r.types);function charset(t){if(!t||typeof t!=="string"){return false}var r=p.exec(t);var o=r&&a[r[1].toLowerCase()];if(o&&o.charset){return o.charset}if(r&&c.test(r[1])){return"UTF-8"}return false}function contentType(t){if(!t||typeof t!=="string"){return false}var o=t.indexOf("/")===-1?r.lookup(t):t;if(!o){return false}if(o.indexOf("charset")===-1){var a=r.charset(o);if(a)o+="; charset="+a.toLowerCase()}return o}function extension(t){if(!t||typeof t!=="string"){return false}var o=p.exec(t);var a=o&&r.extensions[o[1].toLowerCase()];if(!a||!a.length){return false}return a[0]}function lookup(t){if(!t||typeof t!=="string"){return false}var o=i("x."+t).toLowerCase().substr(1);if(!o){return false}return r.types[o]||false}function populateMaps(t,r){var o=["nginx","apache",undefined,"iana"];Object.keys(a).forEach((function forEachMimeType(i){var p=a[i];var c=p.extensions;if(!c||!c.length){return}t[i]=c;for(var d=0;d<c.length;d++){var A=c[d];if(r[A]){var l=o.indexOf(a[r[A]].source);var u=o.indexOf(p.source);if(r[A]!=="application/octet-stream"&&(l>u||l===u&&r[A].substr(0,12)==="application/")){continue}}r[A]=i}}))}},83973:(t,r,o)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var a=function(){try{return o(71017)}catch(t){}}()||{sep:"/"};minimatch.sep=a.sep;var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var p=o(33717);var c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var d="[^/]";var A=d+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var b=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,r){t[r]=true;return t}),{})}var M=/\/+/;minimatch.filter=filter;function filter(t,r){r=r||{};return function(o,a,i){return minimatch(o,t,r)}}function ext(t,r){r=r||{};var o={};Object.keys(t).forEach((function(r){o[r]=t[r]}));Object.keys(r).forEach((function(t){o[t]=r[t]}));return o}minimatch.defaults=function(t){if(!t||typeof t!=="object"||!Object.keys(t).length){return minimatch}var r=minimatch;var o=function minimatch(o,a,i){return r(o,a,ext(t,i))};o.Minimatch=function Minimatch(o,a){return new r.Minimatch(o,ext(t,a))};o.Minimatch.defaults=function defaults(o){return r.defaults(ext(t,o)).Minimatch};o.filter=function filter(o,a){return r.filter(o,ext(t,a))};o.defaults=function defaults(o){return r.defaults(ext(t,o))};o.makeRe=function makeRe(o,a){return r.makeRe(o,ext(t,a))};o.braceExpand=function braceExpand(o,a){return r.braceExpand(o,ext(t,a))};o.match=function(o,a,i){return r.match(o,a,ext(t,i))};return o};Minimatch.defaults=function(t){return minimatch.defaults(t).Minimatch};function minimatch(t,r,o){assertValidPattern(r);if(!o)o={};if(!o.nocomment&&r.charAt(0)==="#"){return false}return new Minimatch(r,o).match(t)}function Minimatch(t,r){if(!(this instanceof Minimatch)){return new Minimatch(t,r)}assertValidPattern(t);if(!r)r={};t=t.trim();if(!r.allowWindowsEscape&&a.sep!=="/"){t=t.split(a.sep).join("/")}this.options=r;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!r.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var t=this.pattern;var r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var o=this.globSet=this.braceExpand();if(r.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,o);o=this.globParts=o.map((function(t){return t.split(M)}));this.debug(this.pattern,o);o=o.map((function(t,r,o){return t.map(this.parse,this)}),this);this.debug(this.pattern,o);o=o.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,o);this.set=o}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var r=false;var o=this.options;var a=0;if(o.nonegate)return;for(var i=0,p=t.length;i<p&&t.charAt(i)==="!";i++){r=!r;a++}if(a)this.pattern=t.substr(a);this.negate=r}minimatch.braceExpand=function(t,r){return braceExpand(t,r)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(t,r){if(!r){if(this instanceof Minimatch){r=this.options}else{r={}}}t=typeof t==="undefined"?this.pattern:t;assertValidPattern(t);if(r.nobrace||!/\{(?:(?!\{).)*\}/.test(t)){return[t]}return p(t)}var m=1024*64;var assertValidPattern=function(t){if(typeof t!=="string"){throw new TypeError("invalid pattern")}if(t.length>m){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var z={};function parse(t,r){assertValidPattern(t);var o=this.options;if(t==="**"){if(!o.noglobstar)return i;else t=Line truncated */var a=o(47426);var i=o(71017).extname;var p=/^\s*([^;\s]*)(?:;|\s|$)/;var c=/^text\//i;r.charset=charset;r.charsets={lookup:charset};r.contentType=contentType;r.extension=extension;r.extensions=Object.create(null);r.lookup=lookup;r.types=Object.create(null);populateMaps(r.extensions,r.types);function charset(t){if(!t||typeof t!=="string"){return false}var r=p.exec(t);var o=r&&a[r[1].toLowerCase()];if(o&&o.charset){return o.charset}if(r&&c.test(r[1])){return"UTF-8"}return false}function contentType(t){if(!t||typeof t!=="string"){return false}var o=t.indexOf("/")===-1?r.lookup(t):t;if(!o){return false}if(o.indexOf("charset")===-1){var a=r.charset(o);if(a)o+="; charset="+a.toLowerCase()}return o}function extension(t){if(!t||typeof t!=="string"){return false}var o=p.exec(t);var a=o&&r.extensions[o[1].toLowerCase()];if(!a||!a.length){return false}return a[0]}function lookup(t){if(!t||typeof t!=="string"){return false}var o=i("x."+t).toLowerCase().substr(1);if(!o){return false}return r.types[o]||false}function populateMaps(t,r){var o=["nginx","apache",undefined,"iana"];Object.keys(a).forEach((function forEachMimeType(i){var p=a[i];var c=p.extensions;if(!c||!c.length){return}t[i]=c;for(var d=0;d<c.length;d++){var A=c[d];if(r[A]){var l=o.indexOf(a[r[A]].source);var u=o.indexOf(p.source);if(r[A]!=="application/octet-stream"&&(l>u||l===u&&r[A].substr(0,12)==="application/")){continue}}r[A]=i}}))}},83973:(t,r,o)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var a=function(){try{return o(71017)}catch(t){}}()||{sep:"/"};minimatch.sep=a.sep;var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var p=o(33717);var c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var d="[^/]";var A=d+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var b=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,r){t[r]=true;return t}),{})}var M=/\/+/;minimatch.filter=filter;function filter(t,r){r=r||{};return function(o,a,i){return minimatch(o,t,r)}}function ext(t,r){r=r||{};var o={};Object.keys(t).forEach((function(r){o[r]=t[r]}));Object.keys(r).forEach((function(t){o[t]=r[t]}));return o}minimatch.defaults=function(t){if(!t||typeof t!=="object"||!Object.keys(t).length){return minimatch}var r=minimatch;var o=function minimatch(o,a,i){return r(o,a,ext(t,i))};o.Minimatch=function Minimatch(o,a){return new r.Minimatch(o,ext(t,a))};o.Minimatch.defaults=function defaults(o){return r.defaults(ext(t,o)).Minimatch};o.filter=function filter(o,a){return r.filter(o,ext(t,a))};o.defaults=function defaults(o){return r.defaults(ext(t,o))};o.makeRe=function makeRe(o,a){return r.makeRe(o,ext(t,a))};o.braceExpand=function braceExpand(o,a){return r.braceExpand(o,ext(t,a))};o.match=function(o,a,i){return r.match(o,a,ext(t,i))};return o};Minimatch.defaults=function(t){return minimatch.defaults(t).Minimatch};function minimatch(t,r,o){assertValidPattern(r);if(!o)o={};if(!o.nocomment&&r.charAt(0)==="#"){return false}return new Minimatch(r,o).match(t)}function Minimatch(t,r){if(!(this instanceof Minimatch)){return new Minimatch(t,r)}assertValidPattern(t);if(!r)r={};t=t.trim();if(!r.allowWindowsEscape&&a.sep!=="/"){t=t.split(a.sep).join("/")}this.options=r;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!r.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var t=this.pattern;var r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var o=this.globSet=this.braceExpand();if(r.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,o);o=this.globParts=o.map((function(t){return t.split(M)}));this.debug(this.pattern,o);o=o.map((function(t,r,o){return t.map(this.parse,this)}),this);this.debug(this.pattern,o);o=o.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,o);this.set=o}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var r=false;var o=this.options;var a=0;if(o.nonegate)return;for(var i=0,p=t.length;i<p&&t.charAt(i)==="!";i++){r=!r;a++}if(a)this.pattern=t.substr(a);this.negate=r}minimatch.braceExpand=function(t,r){return braceExpand(t,r)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(t,r){if(!r){if(this instanceof Minimatch){r=this.options}else{r={}}}t=typeof t==="undefined"?this.pattern:t;assertValidPattern(t);if(r.nobrace||!/\{(?:(?!\{).)*\}/.test(t)){return[t]}return p(t)}var m=1024*64;var assertValidPattern=function(t){if(typeof t!=="string"){throw new TypeError("invalid pattern")}if(t.length>m){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var z={};function parse(t,r){assertValidPattern(t);var o=this.options;if(t==="**"){if(!o.noglobstar)return i;else t=Line truncated
//! moment-timezone.js //! moment-timezone.js
//! version : 0.5.44 //! version : 0.5.44
//! Copyright (c) JS Foundation and other contributors //! Copyright (c) JS Foundation and other contributors
@@ -29,10 +29,10 @@ t.exports=o(53765)},43583:(t,r,o)=>{"use strict";
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT //! license : MIT
//! momentjs.com //! momentjs.com
(function(r,o){true?t.exports=o():0})(this,(function(){"use strict";var r;function hooks(){return r.apply(null,arguments)}function setHookCallback(t){r=t}function isArray(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function isObject(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function hasOwnProp(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function isObjectEmpty(t){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(t).length===0}else{var r;for(r in t){if(hasOwnProp(t,r)){return false}}return true}}function isUndefined(t){return t===void 0}function isNumber(t){return typeof t==="number"||Object.prototype.toString.call(t)==="[object Number]"}function isDate(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function map(t,r){var o=[],a,i=t.length;for(a=0;a<i;++a){o.push(r(t[a],a))}return o}function extend(t,r){for(var o in r){if(hasOwnProp(r,o)){t[o]=r[o]}}if(hasOwnProp(r,"toString")){t.toString=r.toString}if(hasOwnProp(r,"valueOf")){t.valueOf=r.valueOf}return t}function createUTC(t,r,o,a){return createLocalOrUTC(t,r,o,a,true).utc()}function defaultParsingFlags(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function getParsingFlags(t){if(t._pf==null){t._pf=defaultParsingFlags()}return t._pf}var o;if(Array.prototype.some){o=Array.prototype.some}else{o=function(t){var r=Object(this),o=r.length>>>0,a;for(a=0;a<o;a++){if(a in r&&t.call(this,r[a],a,r)){return true}}return false}}function isValid(t){var r=null,a=false,i=t._d&&!isNaN(t._d.getTime());if(i){r=getParsingFlags(t);a=o.call(r.parsedDateParts,(function(t){return t!=null}));i=r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&a);if(t._strict){i=i&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===undefined}}if(Object.isFrozen==null||!Object.isFrozen(t)){t._isValid=i}else{return i}return t._isValid}function createInvalid(t){var r=createUTC(NaN);if(t!=null){extend(getParsingFlags(r),t)}else{getParsingFlags(r).userInvalidated=true}return r}var a=hooks.momentProperties=[],i=false;function copyConfig(t,r){var o,i,p,c=a.length;if(!isUndefined(r._isAMomentObject)){t._isAMomentObject=r._isAMomentObject}if(!isUndefined(r._i)){t._i=r._i}if(!isUndefined(r._f)){t._f=r._f}if(!isUndefined(r._l)){t._l=r._l}if(!isUndefined(r._strict)){t._strict=r._strict}if(!isUndefined(r._tzm)){t._tzm=r._tzm}if(!isUndefined(r._isUTC)){t._isUTC=r._isUTC}if(!isUndefined(r._offset)){t._offset=r._offset}if(!isUndefined(r._pf)){t._pf=getParsingFlags(r)}if(!isUndefined(r._locale)){t._locale=r._locale}if(c>0){for(o=0;o<c;o++){i=a[o];p=r[i];if(!isUndefined(p)){t[i]=p}}}return t}function Moment(t){copyConfig(this,t);this._d=new Date(t._d!=null?t._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(i===false){i=true;hooks.updateOffset(this);i=false}}function isMoment(t){return t instanceof Moment||t!=null&&t._isAMomentObject!=null}function warn(t){if(hooks.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+t)}}function deprecate(t,r){var o=true;return extend((function(){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(null,t)}if(o){var a=[],i,p,c,d=arguments.length;for(p=0;p<d;p++){i="";if(typeof arguments[p]==="object"){i+="\n["+p+"] ";for(c in arguments[0]){if(hasOwnProp(arguments[0],c)){i+=c+": "+arguments[0][c]+", "}}i=i.slice(0,-2)}else{i=arguments[p]}a.push(i)}warn(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack);o=false}return r.apply(this,arguments)}),r)}var p={};function deprecateSimple(t,r){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(t,r)}if(!p[t]){warn(r);p[t]=true}}hooks.suppressDeprecationWarnings=false;hooks.deprecationHandler=null;function isFunction(t){return typeof Function!=="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function set(t){var r,o;for(o in t){if(hasOwnProp(t,o)){r=t[o];if(isFunction(r)){this[o]=r}else{this["_"+o]=r}}}this._config=t;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(t,r){var o=extend({},t),a;for(a in r){if(hasOwnProp(r,a)){if(isObject(t[a])&&isObject(r[a])){o[a]={};extend(o[a],t[a]);extend(o[a],r[a])}else if(r[a]!=null){o[a]=r[a]}else{delete o[a]}}}for(a in t){if(hasOwnProp(t,a)&&!hasOwnProp(r,a)&&isObject(t[a])){o[a]=extend({},o[a])}}return o}function Locale(t){if(t!=null){this.set(t)}}var c;if(Object.keys){c=Object.keys}else{c=function(t){var r,o=[];for(r in t){if(hasOwnProp(t,r)){o.push(r)}}return o}}var d={sLine truncated (function(r,o){true?t.exports=o():0})(this,(function(){"use strict";var r;function hooks(){return r.apply(null,arguments)}function setHookCallback(t){r=t}function isArray(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function isObject(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function hasOwnProp(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function isObjectEmpty(t){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(t).length===0}else{var r;for(r in t){if(hasOwnProp(t,r)){return false}}return true}}function isUndefined(t){return t===void 0}function isNumber(t){return typeof t==="number"||Object.prototype.toString.call(t)==="[object Number]"}function isDate(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function map(t,r){var o=[],a,i=t.length;for(a=0;a<i;++a){o.push(r(t[a],a))}return o}function extend(t,r){for(var o in r){if(hasOwnProp(r,o)){t[o]=r[o]}}if(hasOwnProp(r,"toString")){t.toString=r.toString}if(hasOwnProp(r,"valueOf")){t.valueOf=r.valueOf}return t}function createUTC(t,r,o,a){return createLocalOrUTC(t,r,o,a,true).utc()}function defaultParsingFlags(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function getParsingFlags(t){if(t._pf==null){t._pf=defaultParsingFlags()}return t._pf}var o;if(Array.prototype.some){o=Array.prototype.some}else{o=function(t){var r=Object(this),o=r.length>>>0,a;for(a=0;a<o;a++){if(a in r&&t.call(this,r[a],a,r)){return true}}return false}}function isValid(t){var r=null,a=false,i=t._d&&!isNaN(t._d.getTime());if(i){r=getParsingFlags(t);a=o.call(r.parsedDateParts,(function(t){return t!=null}));i=r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&a);if(t._strict){i=i&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===undefined}}if(Object.isFrozen==null||!Object.isFrozen(t)){t._isValid=i}else{return i}return t._isValid}function createInvalid(t){var r=createUTC(NaN);if(t!=null){extend(getParsingFlags(r),t)}else{getParsingFlags(r).userInvalidated=true}return r}var a=hooks.momentProperties=[],i=false;function copyConfig(t,r){var o,i,p,c=a.length;if(!isUndefined(r._isAMomentObject)){t._isAMomentObject=r._isAMomentObject}if(!isUndefined(r._i)){t._i=r._i}if(!isUndefined(r._f)){t._f=r._f}if(!isUndefined(r._l)){t._l=r._l}if(!isUndefined(r._strict)){t._strict=r._strict}if(!isUndefined(r._tzm)){t._tzm=r._tzm}if(!isUndefined(r._isUTC)){t._isUTC=r._isUTC}if(!isUndefined(r._offset)){t._offset=r._offset}if(!isUndefined(r._pf)){t._pf=getParsingFlags(r)}if(!isUndefined(r._locale)){t._locale=r._locale}if(c>0){for(o=0;o<c;o++){i=a[o];p=r[i];if(!isUndefined(p)){t[i]=p}}}return t}function Moment(t){copyConfig(this,t);this._d=new Date(t._d!=null?t._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(i===false){i=true;hooks.updateOffset(this);i=false}}function isMoment(t){return t instanceof Moment||t!=null&&t._isAMomentObject!=null}function warn(t){if(hooks.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+t)}}function deprecate(t,r){var o=true;return extend((function(){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(null,t)}if(o){var a=[],i,p,c,d=arguments.length;for(p=0;p<d;p++){i="";if(typeof arguments[p]==="object"){i+="\n["+p+"] ";for(c in arguments[0]){if(hasOwnProp(arguments[0],c)){i+=c+": "+arguments[0][c]+", "}}i=i.slice(0,-2)}else{i=arguments[p]}a.push(i)}warn(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack);o=false}return r.apply(this,arguments)}),r)}var p={};function deprecateSimple(t,r){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(t,r)}if(!p[t]){warn(r);p[t]=true}}hooks.suppressDeprecationWarnings=false;hooks.deprecationHandler=null;function isFunction(t){return typeof Function!=="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function set(t){var r,o;for(o in t){if(hasOwnProp(t,o)){r=t[o];if(isFunction(r)){this[o]=r}else{this["_"+o]=r}}}this._config=t;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(t,r){var o=extend({},t),a;for(a in r){if(hasOwnProp(r,a)){if(isObject(t[a])&&isObject(r[a])){o[a]={};extend(o[a],t[a]);extend(o[a],r[a])}else if(r[a]!=null){o[a]=r[a]}else{delete o[a]}}}for(a in t){if(hasOwnProp(t,a)&&!hasOwnProp(r,a)&&isObject(t[a])){o[a]=extend({},o[a])}}return o}function Locale(t){if(t!=null){this.set(t)}}var c;if(Object.keys){c=Object.keys}else{c=function(t){var r,o=[];for(r in t){if(hasOwnProp(t,r)){o.push(r)}}return o}}var d={sLine truncated
//! moment.js //! moment.js
hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Ye;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=Ye;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return hooks}))},80467:(t,r,o)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(t){return t&&typeof t==="object"&&"default"in t?t["default"]:t}var a=_interopDefault(o(12781));var i=_interopDefault(o(13685));var p=_interopDefault(o(57310));var c=_interopDefault(o(28665));var d=_interopDefault(o(95687));var A=_interopDefault(o(59796));const l=a.Readable;const u=Symbol("buffer");const b=Symbol("type");class Blob{constructor(){this[b]="";const t=arguments[0];const r=arguments[1];const o=[];let a=0;if(t){const r=t;const i=Number(r.length);for(let t=0;t<i;t++){const i=r[t];let p;if(i instanceof Buffer){p=i}else if(ArrayBuffer.isView(i)){p=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(i instanceof ArrayBuffer){p=Buffer.from(i)}else if(i instanceof Blob){p=i[u]}else{p=Buffer.from(typeof i==="string"?i:String(i))}a+=p.length;o.push(p)}}this[u]=Buffer.concat(o);let i=r&&r.type!==undefined&&String(r.type).toLowerCase();if(i&&!/[^\u0020-\u007E]/.test(i)){this[b]=i}}get size(){return this[u].length}get type(){return this[b]}text(){return Promise.resolve(this[u].toString())}arrayBuffer(){const t=this[u];const r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);return Promise.resolve(r)}stream(){const t=new l;t._read=function(){};t.push(this[u]);t.push(null);return t}toString(){return"[object Blob]"}slice(){const t=this.size;const r=arguments[0];const o=arguments[1];let a,i;if(r===undefined){a=0}else if(r<0){a=Math.max(t+r,0)}else{a=Math.min(r,t)}if(o===undefined){i=t}else if(o<0){i=Math.max(t+o,0)}else{i=Math.min(o,t)}const p=Math.max(i-a,0);const c=this[u];const d=c.slice(a,a+p);const A=new Blob([],{type:arguments[2]});A[u]=d;return A}}Object.defineProperties(Blob.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});Object.defineProperty(Blob.prototype,Symbol.toStringTag,{value:"Blob",writable:false,enumerable:false,configurable:true});function FetchError(t,r,o){Error.call(this,t);this.message=t;this.type=r;if(o){this.code=this.errno=o.code}Error.captureStackTrace(this,this.constructor)}FetchError.prototype=Object.create(Error.prototype);FetchError.prototype.constructor=FetchError;FetchError.prototype.name="FetchError";let M;try{M=o(22877).convert}catch(t){}const m=Symbol("Body internals");const z=a.PassThrough;function Body(t){var r=this;var o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=o.size;let p=i===undefined?0:i;var c=o.timeout;let d=c===undefined?0:c;if(t==null){t=null}else if(isURLSearchParams(t)){t=Buffer.from(t.toString())}else if(isBlob(t));else if(Buffer.isBuffer(t));else if(Object.prototype.toString.call(t)==="[object ArrayBuffer]"){t=Buffer.from(t)}else if(ArrayBuffer.isView(t)){t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)}else if(t instanceof a);else{t=Buffer.from(String(t))}this[m]={body:t,disturbed:false,error:null};this.size=p;this.timeout=d;if(t instanceof a){t.on("error",(function(t){const o=t.name==="AbortError"?t:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${t.message}`,"system",t);r[m].error=o}))}}Body.prototype={get body(){return this[m].body},get bodyUsed(){return this[m].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(t){return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}))},blob(){let t=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(r){return Object.assign(new Blob([],{type:t.toLowerCase()}),{[u]:r})}))},json(){var t=this;return consumeBody.call(this).then((function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${t.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(t){return t.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var t=this;return consumeBody.call(this).then((function(r){Line truncated hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Ye;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=Ye;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return hooks}))},80467:(t,r,o)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});function _interopDefault(t){return t&&typeof t==="object"&&"default"in t?t["default"]:t}var a=_interopDefault(o(12781));var i=_interopDefault(o(13685));var p=_interopDefault(o(57310));var c=_interopDefault(o(28665));var d=_interopDefault(o(95687));var A=_interopDefault(o(59796));const l=a.Readable;const u=Symbol("buffer");const b=Symbol("type");class Blob{constructor(){this[b]="";const t=arguments[0];const r=arguments[1];const o=[];let a=0;if(t){const r=t;const i=Number(r.length);for(let t=0;t<i;t++){const i=r[t];let p;if(i instanceof Buffer){p=i}else if(ArrayBuffer.isView(i)){p=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(i instanceof ArrayBuffer){p=Buffer.from(i)}else if(i instanceof Blob){p=i[u]}else{p=Buffer.from(typeof i==="string"?i:String(i))}a+=p.length;o.push(p)}}this[u]=Buffer.concat(o);let i=r&&r.type!==undefined&&String(r.type).toLowerCase();if(i&&!/[^\u0020-\u007E]/.test(i)){this[b]=i}}get size(){return this[u].length}get type(){return this[b]}text(){return Promise.resolve(this[u].toString())}arrayBuffer(){const t=this[u];const r=t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength);return Promise.resolve(r)}stream(){const t=new l;t._read=function(){};t.push(this[u]);t.push(null);return t}toString(){return"[object Blob]"}slice(){const t=this.size;const r=arguments[0];const o=arguments[1];let a,i;if(r===undefined){a=0}else if(r<0){a=Math.max(t+r,0)}else{a=Math.min(r,t)}if(o===undefined){i=t}else if(o<0){i=Math.max(t+o,0)}else{i=Math.min(o,t)}const p=Math.max(i-a,0);const c=this[u];const d=c.slice(a,a+p);const A=new Blob([],{type:arguments[2]});A[u]=d;return A}}Object.defineProperties(Blob.prototype,{size:{enumerable:true},type:{enumerable:true},slice:{enumerable:true}});Object.defineProperty(Blob.prototype,Symbol.toStringTag,{value:"Blob",writable:false,enumerable:false,configurable:true});function FetchError(t,r,o){Error.call(this,t);this.message=t;this.type=r;if(o){this.code=this.errno=o.code}Error.captureStackTrace(this,this.constructor)}FetchError.prototype=Object.create(Error.prototype);FetchError.prototype.constructor=FetchError;FetchError.prototype.name="FetchError";let M;try{M=o(22877).convert}catch(t){}const m=Symbol("Body internals");const z=a.PassThrough;function Body(t){var r=this;var o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=o.size;let p=i===undefined?0:i;var c=o.timeout;let d=c===undefined?0:c;if(t==null){t=null}else if(isURLSearchParams(t)){t=Buffer.from(t.toString())}else if(isBlob(t));else if(Buffer.isBuffer(t));else if(Object.prototype.toString.call(t)==="[object ArrayBuffer]"){t=Buffer.from(t)}else if(ArrayBuffer.isView(t)){t=Buffer.from(t.buffer,t.byteOffset,t.byteLength)}else if(t instanceof a);else{t=Buffer.from(String(t))}this[m]={body:t,disturbed:false,error:null};this.size=p;this.timeout=d;if(t instanceof a){t.on("error",(function(t){const o=t.name==="AbortError"?t:new FetchError(`Invalid response body while trying to fetch ${r.url}: ${t.message}`,"system",t);r[m].error=o}))}}Body.prototype={get body(){return this[m].body},get bodyUsed(){return this[m].disturbed},arrayBuffer(){return consumeBody.call(this).then((function(t){return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}))},blob(){let t=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then((function(r){return Object.assign(new Blob([],{type:t.toLowerCase()}),{[u]:r})}))},json(){var t=this;return consumeBody.call(this).then((function(r){try{return JSON.parse(r.toString())}catch(r){return Body.Promise.reject(new FetchError(`invalid json response body at ${t.url} reason: ${r.message}`,"invalid-json"))}}))},text(){return consumeBody.call(this).then((function(t){return t.toString()}))},buffer(){return consumeBody.call(this)},textConverted(){var t=this;return consumeBody.call(this).then((function(r){Line truncated
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var t=String.fromCharCode;var r=Math.floor;var fromCodePoint=function(){var o=16384;var a=[];var i;var p;var c=-1;var d=arguments.length;if(!d){return""}var A="";while(++c<d){var l=Number(arguments[c]);if(!isFinite(l)||l<0||l>1114111||r(l)!==l){throw RangeError("Invalid code point: "+l)}if(l<=65535){a.push(l)}else{l-=65536;i=(l>>10)+55296;p=l%1024+56320;a.push(i,p)}if(c+1===d||a.length>o){A+=t.apply(null,a);a.length=0}}return A};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:r)},91532:(t,r,o)=>{const a=Symbol("SemVer ANY");class Comparator{static get ANY(){return a}constructor(t,r){r=i(r);if(t instanceof Comparator){if(t.loose===!!r.loose){return t}else{t=t.value}}t=t.trim().split(/\s+/).join(" ");A("comparator",t,r);this.options=r;this.loose=!!r.loose;this.parse(t);if(this.semver===a){this.value=""}else{this.value=this.operator+this.semver.version}A("comp",this)}parse(t){const r=this.options.loose?p[c.COMPARATORLOOSE]:p[c.COMPARATOR];const o=t.match(r);if(!o){throw new TypeError(`Invalid comparator: ${t}`)}this.operator=o[1]!==undefined?o[1]:"";if(this.operator==="="){this.operator=""}if(!o[2]){this.semver=a}else{this.semver=new l(o[2],this.options.loose)}}toString(){return this.value}test(t){A("Comparator.test",t,this.options.loose);if(this.semver===a||t===a){return true}if(typeof t==="string"){try{t=new l(t,this.options)}catch(t){return false}}return d(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new u(t.value,r).test(this.value)}else if(t.operator===""){if(t.value===""){return true}return new u(this.value,r).test(t.semver)}r=i(r);if(r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")){return false}if(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&t.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&t.operator.startsWith("<")){return true}if(this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")){return true}if(d(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")){return true}if(d(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")){return true}return false}}t.exports=Comparator;const i=o(40785);const{safeRe:p,t:c}=o(9523);const d=o(75098);const A=o(50427);const l=o(48088);const u=o(9828)},9828:(t,r,o)=>{class Range{constructor(t,r){r=p(r);if(t instanceof Range){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{return new Range(t.raw,r)}}if(t instanceof c){this.raw=t.value;this.set=[[t]];this.format();return this}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=t.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const t=this.set[0];this.set=this.set.filter((t=>!isNullSet(t[0])));if(this.set.length===0){this.set=[t]}else if(this.set.length>1){for(const t of this.set){if(t.length===1&&isAny(t[0])){this.set=[t];break}}}}this.format()}format(){this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(t){const r=(this.options.includePrerelease&&z)|(this.options.loose&&O);const o=r+":"+t;const a=i.get(o);if(a){return a}const p=this.options.loose;const A=p?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];t=t.replace(A,hyphenReplace(this.options.includePrerelease));d("hyphen replace",t);t=t.replace(l[u.COMPARATORTRIM],b);d("comparator trim",t);t=t.replace(l[u.TILDETRIM],M);d("tilde trim",t);t=t.replace(l[u.CARETTRIM],m);d("caret trim",t);let h=t.split(" ").map((t=>parseComparator(t,this.options))).join(" ").split(/\s+/).map((t=>replaceGTE0(t,this.options)));if(p){h=h.filter((t=>{d("loose invalid filter",t,this.options);return!!t.match(l[u.COMPARATORLOOSE])}))}d("range list",h);const g=new Map;const E=h.map((t=>new c(t,this.options)));for(const t of E){if(isNullSet(t)){return[t]}g.set(t.value,t)}if(g.size>1&&g.has("")){g.delete("")}const q=[...g.values()];i.set(o,q);return q}intersects(t,r){if(!(t instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((o=>isSatisfiable(o,r)&&t.set.some((t=>isSatisfiable(t,r)&&o.every((o=>t.every((t=>o.intersects(t,r)))))))))}test(t){if(!t){return false}if(typeof t==="string"){try{t=new A(t,this.options)}catch(t){return false}}for(let r=0;r<this.set.length;r++){if(testSet(this.set[r],t,this.options)){return true}}return false}}t.exports=Range;const a=o(71Line truncated /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var t=String.fromCharCode;var r=Math.floor;var fromCodePoint=function(){var o=16384;var a=[];var i;var p;var c=-1;var d=arguments.length;if(!d){return""}var A="";while(++c<d){var l=Number(arguments[c]);if(!isFinite(l)||l<0||l>1114111||r(l)!==l){throw RangeError("Invalid code point: "+l)}if(l<=65535){a.push(l)}else{l-=65536;i=(l>>10)+55296;p=l%1024+56320;a.push(i,p)}if(c+1===d||a.length>o){A+=t.apply(null,a);a.length=0}}return A};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:r)},91532:(t,r,o)=>{const a=Symbol("SemVer ANY");class Comparator{static get ANY(){return a}constructor(t,r){r=i(r);if(t instanceof Comparator){if(t.loose===!!r.loose){return t}else{t=t.value}}t=t.trim().split(/\s+/).join(" ");A("comparator",t,r);this.options=r;this.loose=!!r.loose;this.parse(t);if(this.semver===a){this.value=""}else{this.value=this.operator+this.semver.version}A("comp",this)}parse(t){const r=this.options.loose?p[c.COMPARATORLOOSE]:p[c.COMPARATOR];const o=t.match(r);if(!o){throw new TypeError(`Invalid comparator: ${t}`)}this.operator=o[1]!==undefined?o[1]:"";if(this.operator==="="){this.operator=""}if(!o[2]){this.semver=a}else{this.semver=new l(o[2],this.options.loose)}}toString(){return this.value}test(t){A("Comparator.test",t,this.options.loose);if(this.semver===a||t===a){return true}if(typeof t==="string"){try{t=new l(t,this.options)}catch(t){return false}}return d(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new u(t.value,r).test(this.value)}else if(t.operator===""){if(t.value===""){return true}return new u(this.value,r).test(t.semver)}r=i(r);if(r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")){return false}if(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&t.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&t.operator.startsWith("<")){return true}if(this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")){return true}if(d(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")){return true}if(d(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")){return true}return false}}t.exports=Comparator;const i=o(40785);const{safeRe:p,t:c}=o(9523);const d=o(75098);const A=o(50427);const l=o(48088);const u=o(9828)},9828:(t,r,o)=>{class Range{constructor(t,r){r=p(r);if(t instanceof Range){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease){return t}else{return new Range(t.raw,r)}}if(t instanceof c){this.raw=t.value;this.set=[[t]];this.format();return this}this.options=r;this.loose=!!r.loose;this.includePrerelease=!!r.includePrerelease;this.raw=t.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((t=>this.parseRange(t.trim()))).filter((t=>t.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const t=this.set[0];this.set=this.set.filter((t=>!isNullSet(t[0])));if(this.set.length===0){this.set=[t]}else if(this.set.length>1){for(const t of this.set){if(t.length===1&&isAny(t[0])){this.set=[t];break}}}}this.format()}format(){this.range=this.set.map((t=>t.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(t){const r=(this.options.includePrerelease&&z)|(this.options.loose&&O);const o=r+":"+t;const a=i.get(o);if(a){return a}const p=this.options.loose;const A=p?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];t=t.replace(A,hyphenReplace(this.options.includePrerelease));d("hyphen replace",t);t=t.replace(l[u.COMPARATORTRIM],b);d("comparator trim",t);t=t.replace(l[u.TILDETRIM],M);d("tilde trim",t);t=t.replace(l[u.CARETTRIM],m);d("caret trim",t);let h=t.split(" ").map((t=>parseComparator(t,this.options))).join(" ").split(/\s+/).map((t=>replaceGTE0(t,this.options)));if(p){h=h.filter((t=>{d("loose invalid filter",t,this.options);return!!t.match(l[u.COMPARATORLOOSE])}))}d("range list",h);const g=new Map;const E=h.map((t=>new c(t,this.options)));for(const t of E){if(isNullSet(t)){return[t]}g.set(t.value,t)}if(g.size>1&&g.has("")){g.delete("")}const q=[...g.values()];i.set(o,q);return q}intersects(t,r){if(!(t instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((o=>isSatisfiable(o,r)&&t.set.some((t=>isSatisfiable(t,r)&&o.every((o=>t.every((t=>o.intersects(t,r)))))))))}test(t){if(!t){return false}if(typeof t==="string"){try{t=new A(t,this.options)}catch(t){return false}}for(let r=0;r<this.set.length;r++){if(testSet(this.set[r],t,this.options)){return true}}return false}}t.exports=Range;const a=o(71Line truncated
/*! /*!
* Tmp * Tmp
* *
@@ -40,8 +40,8 @@ hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Ye;hooks.min=min;ho
* *
* MIT Licensed * MIT Licensed
*/ */
const a=o(57147);const i=o(22037);const p=o(71017);const c=o(6113);const d={fs:a.constants,os:i.constants};const A=o(14959);const l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",u=/XXXXXX/,b=3,M=(d.O_CREAT||d.fs.O_CREAT)|(d.O_EXCL||d.fs.O_EXCL)|(d.O_RDWR||d.fs.O_RDWR),m=i.platform()==="win32",z=d.EBADF||d.os.errno.EBADF,O=d.ENOENT||d.os.errno.ENOENT,h=448,g=384,E="exit",q=[],y=a.rmdirSync.bind(a),C=A.sync;let B=false;function tmpName(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];try{_assertAndSanitizeOptions(i)}catch(t){return p(t)}let c=i.tries;(function _getUniqueName(){try{const t=_generateTmpName(i);a.stat(t,(function(r){if(!r){if(c-- >0)return _getUniqueName();return p(new Error("Could not get a unique tmp filename, max tries reached "+t))}p(null,t)}))}catch(t){p(t)}})()}function tmpNameSync(t){const r=_parseArguments(t),o=r[0];_assertAndSanitizeOptions(o);let i=o.tries;do{const t=_generateTmpName(o);try{a.statSync(t)}catch(r){return t}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return p(t);a.open(r,M,i.mode||g,(function _fileCreated(t,o){if(t)return p(t);if(i.discardDescriptor){return a.close(o,(function _discardCallback(t){return p(t,r,undefined,_prepareTmpFileRemoveCallback(r,-1,i,false))}))}else{const t=i.discardDescriptor||i.detachDescriptor;p(null,r,o,_prepareTmpFileRemoveCallback(r,t?-1:o,i,false))}}))}))}function fileSync(t){const r=_parseArguments(t),o=r[0];const i=o.discardDescriptor||o.detachDescriptor;const p=tmpNameSync(o);var c=a.openSync(p,M,o.mode||g);if(o.discardDescriptor){a.closeSync(c);c=undefined}return{name:p,fd:c,removeCallback:_prepareTmpFileRemoveCallback(p,i?-1:c,o,true)}}function dir(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return p(t);a.mkdir(r,i.mode||h,(function _dirCreated(t){if(t)return p(t);p(null,r,_prepareTmpDirRemoveCallback(r,i,false))}))}))}function dirSync(t){const r=_parseArguments(t),o=r[0];const i=tmpNameSync(o);a.mkdirSync(i,o.mode||h);return{name:i,removeCallback:_prepareTmpDirRemoveCallback(i,o,true)}}function _removeFileAsync(t,r){const _handler=function(t){if(t&&!_isENOENT(t)){return r(t)}r()};if(0<=t[0])a.close(t[0],(function(){a.unlink(t[1],_handler)}));else a.unlink(t[1],_handler)}function _removeFileSync(t){let r=null;try{if(0<=t[0])a.closeSync(t[0])}catch(t){if(!_isEBADF(t)&&!_isENOENT(t))throw t}finally{try{a.unlinkSync(t[1])}catch(t){if(!_isENOENT(t))r=t}}if(r!==null){throw r}}function _prepareTmpFileRemoveCallback(t,r,o,a){const i=_prepareRemoveCallback(_removeFileSync,[r,t],a);const p=_prepareRemoveCallback(_removeFileAsync,[r,t],a,i);if(!o.keep)q.unshift(i);return a?i:p}function _prepareTmpDirRemoveCallback(t,r,o){const i=r.unsafeCleanup?A:a.rmdir.bind(a);const p=r.unsafeCleanup?C:y;const c=_prepareRemoveCallback(p,t,o);const d=_prepareRemoveCallback(i,t,o,c);if(!r.keep)q.unshift(c);return o?c:d}function _prepareRemoveCallback(t,r,o,a){let i=false;return function _cleanupCallback(p){if(!i){const c=a||_cleanupCallback;const d=q.indexOf(c);if(d>=0)q.splice(d,1);i=true;if(o||t===y||t===C){return t(r)}else{return t(r,p||function(){})}}}}function _garbageCollector(){if(!B)return;while(q.length){try{q[0]()}catch(t){}}}function _randomChars(t){let r=[],o=null;try{o=c.randomBytes(t)}catch(r){o=c.pseudoRandomBytes(t)}for(var a=0;a<t;a++){r.push(l[o[a]%l.length])}return r.join("")}function _isBlank(t){return t===null||_isUndefined(t)||!t.trim()}function _isUndefined(t){return typeof t==="undefined"}function _parseArguments(t,r){if(typeof t==="function"){return[{},t]}if(_isUndefined(t)){return[{},r]}const o={};for(const r of Object.getOwnPropertyNames(t)){o[r]=t[r]}return[o,r]}function _generateTmpName(t){const r=t.tmpdir;if(!_isUndefined(t.name))return p.join(r,t.dir,t.name);if(!_isUndefined(t.template))return p.join(r,t.dir,t.template).replace(u,_randomChars(6));const o=[t.prefix?t.prefix:"tmp","-",process.pid,"-",_randomChars(12),t.postfix?"-"+t.postfix:""].join("");return p.join(r,t.dir,o)}function _assertAndSanitizeOptions(t){t.tmpdir=_getTmpDir(t);const r=t.tmpdir;if(!_isUndefined(t.name))_assertIsRelative(t.name,"name",r);if(!_isUndefined(t.dir))_assertIsRelative(t.dir,"dir",r);if(!_isUndefined(t.template)){_assertIsRelative(t.template,"template",r);if(!t.template.match(u))throw new Error(`Invalid template, found "${t.template}".`)}if(!_isUndefined(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=_isUndefined(t.name)?t.tries||b:1;t.keep=!!t.keep;t.detachDescriptor=!!t.detachDescriptor;t.discardDescriptor=!!t.discardDescriptor;t.unsafeCleanup=!!t.unsafeCleanup;t.dir=_isUndefined(t.dir)?"":p.relative(r,_resolvePath(t.dir,r));t.template=_isUndefined(t.template)?undefined:p.relative(r,_resolvePath(t.template,r));t.template=_isBlank(t.template)?undefined:p.relative(t.dir,t.template);Line truncated const a=o(57147);const i=o(22037);const p=o(71017);const c=o(6113);const d={fs:a.constants,os:i.constants};const A=o(14959);const l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",u=/XXXXXX/,b=3,M=(d.O_CREAT||d.fs.O_CREAT)|(d.O_EXCL||d.fs.O_EXCL)|(d.O_RDWR||d.fs.O_RDWR),m=i.platform()==="win32",z=d.EBADF||d.os.errno.EBADF,O=d.ENOENT||d.os.errno.ENOENT,h=448,g=384,E="exit",q=[],y=a.rmdirSync.bind(a),C=A.sync;let B=false;function tmpName(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];try{_assertAndSanitizeOptions(i)}catch(t){return p(t)}let c=i.tries;(function _getUniqueName(){try{const t=_generateTmpName(i);a.stat(t,(function(r){if(!r){if(c-- >0)return _getUniqueName();return p(new Error("Could not get a unique tmp filename, max tries reached "+t))}p(null,t)}))}catch(t){p(t)}})()}function tmpNameSync(t){const r=_parseArguments(t),o=r[0];_assertAndSanitizeOptions(o);let i=o.tries;do{const t=_generateTmpName(o);try{a.statSync(t)}catch(r){return t}}while(i-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return p(t);a.open(r,M,i.mode||g,(function _fileCreated(t,o){if(t)return p(t);if(i.discardDescriptor){return a.close(o,(function _discardCallback(t){return p(t,r,undefined,_prepareTmpFileRemoveCallback(r,-1,i,false))}))}else{const t=i.discardDescriptor||i.detachDescriptor;p(null,r,o,_prepareTmpFileRemoveCallback(r,t?-1:o,i,false))}}))}))}function fileSync(t){const r=_parseArguments(t),o=r[0];const i=o.discardDescriptor||o.detachDescriptor;const p=tmpNameSync(o);var c=a.openSync(p,M,o.mode||g);if(o.discardDescriptor){a.closeSync(c);c=undefined}return{name:p,fd:c,removeCallback:_prepareTmpFileRemoveCallback(p,i?-1:c,o,true)}}function dir(t,r){const o=_parseArguments(t,r),i=o[0],p=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return p(t);a.mkdir(r,i.mode||h,(function _dirCreated(t){if(t)return p(t);p(null,r,_prepareTmpDirRemoveCallback(r,i,false))}))}))}function dirSync(t){const r=_parseArguments(t),o=r[0];const i=tmpNameSync(o);a.mkdirSync(i,o.mode||h);return{name:i,removeCallback:_prepareTmpDirRemoveCallback(i,o,true)}}function _removeFileAsync(t,r){const _handler=function(t){if(t&&!_isENOENT(t)){return r(t)}r()};if(0<=t[0])a.close(t[0],(function(){a.unlink(t[1],_handler)}));else a.unlink(t[1],_handler)}function _removeFileSync(t){let r=null;try{if(0<=t[0])a.closeSync(t[0])}catch(t){if(!_isEBADF(t)&&!_isENOENT(t))throw t}finally{try{a.unlinkSync(t[1])}catch(t){if(!_isENOENT(t))r=t}}if(r!==null){throw r}}function _prepareTmpFileRemoveCallback(t,r,o,a){const i=_prepareRemoveCallback(_removeFileSync,[r,t],a);const p=_prepareRemoveCallback(_removeFileAsync,[r,t],a,i);if(!o.keep)q.unshift(i);return a?i:p}function _prepareTmpDirRemoveCallback(t,r,o){const i=r.unsafeCleanup?A:a.rmdir.bind(a);const p=r.unsafeCleanup?C:y;const c=_prepareRemoveCallback(p,t,o);const d=_prepareRemoveCallback(i,t,o,c);if(!r.keep)q.unshift(c);return o?c:d}function _prepareRemoveCallback(t,r,o,a){let i=false;return function _cleanupCallback(p){if(!i){const c=a||_cleanupCallback;const d=q.indexOf(c);if(d>=0)q.splice(d,1);i=true;if(o||t===y||t===C){return t(r)}else{return t(r,p||function(){})}}}}function _garbageCollector(){if(!B)return;while(q.length){try{q[0]()}catch(t){}}}function _randomChars(t){let r=[],o=null;try{o=c.randomBytes(t)}catch(r){o=c.pseudoRandomBytes(t)}for(var a=0;a<t;a++){r.push(l[o[a]%l.length])}return r.join("")}function _isBlank(t){return t===null||_isUndefined(t)||!t.trim()}function _isUndefined(t){return typeof t==="undefined"}function _parseArguments(t,r){if(typeof t==="function"){return[{},t]}if(_isUndefined(t)){return[{},r]}const o={};for(const r of Object.getOwnPropertyNames(t)){o[r]=t[r]}return[o,r]}function _generateTmpName(t){const r=t.tmpdir;if(!_isUndefined(t.name))return p.join(r,t.dir,t.name);if(!_isUndefined(t.template))return p.join(r,t.dir,t.template).replace(u,_randomChars(6));const o=[t.prefix?t.prefix:"tmp","-",process.pid,"-",_randomChars(12),t.postfix?"-"+t.postfix:""].join("");return p.join(r,t.dir,o)}function _assertAndSanitizeOptions(t){t.tmpdir=_getTmpDir(t);const r=t.tmpdir;if(!_isUndefined(t.name))_assertIsRelative(t.name,"name",r);if(!_isUndefined(t.dir))_assertIsRelative(t.dir,"dir",r);if(!_isUndefined(t.template)){_assertIsRelative(t.template,"template",r);if(!t.template.match(u))throw new Error(`Invalid template, found "${t.template}".`)}if(!_isUndefined(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=_isUndefined(t.name)?t.tries||b:1;t.keep=!!t.keep;t.detachDescriptor=!!t.detachDescriptor;t.discardDescriptor=!!t.discardDescriptor;t.unsafeCleanup=!!t.unsafeCleanup;t.dir=_isUndefined(t.dir)?"":p.relative(r,_resolvePath(t.dir,r));t.template=_isUndefined(t.template)?undefined:p.relative(r,_resolvePath(t.template,r));t.template=_isBlank(t.template)?undefined:p.relative(t.dir,t.template);Line truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=t=>t.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=t=>t.replace(/\r?\n|\r/g,"\r\n");const a=new TextEncoder;const i=[];const p=new Uint8Array([13,10]);b=0;let c=false;for(const[r,d]of t){if(typeof d==="string"){const t=a.encode(o+`; name="${escape(normalizeLinefeeds(r))}"`+`\r\n\r\n${normalizeLinefeeds(d)}\r\n`);i.push(t);b+=t.byteLength}else{const t=a.encode(`${o}; name="${escape(normalizeLinefeeds(r))}"`+(d.name?`; filename="${escape(d.name)}"`:"")+"\r\n"+`Content-Type: ${d.type||"application/octet-stream"}\r\n\r\n`);i.push(t,d,p);if(typeof d.size==="number"){b+=t.byteLength+d.size+p.byteLength}else{c=true}}}const d=a.encode(`--${r}--`);i.push(d);b+=d.byteLength;if(c){b=null}u=t;l=async function*(){for(const t of i){if(t.stream){yield*t.stream()}else{yield t}}};M="multipart/form-data; boundary="+r}else if(c(t)){u=t;b=t.size;if(t.type){M=t.type}}else if(typeof t[Symbol.asyncIterator]==="function"){if(r){throw new TypeError("keepalive")}if(i.isDisturbed(t)||t.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=t instanceof N?t:p(t)}if(typeof u==="string"||i.isBuffer(u)){b=Buffer.byteLength(u)}if(l!=null){let r;a=new N({async start(){r=l(t)[Symbol.asyncIterator]()},async pull(t){const{value:o,done:i}=await r.next();if(i){queueMicrotask((()=>{t.close()}))}else{if(!y(a)){t.enqueue(new Uint8Array(o))}}return t.desiredSize>0},async cancel(t){await r.return()},type:undefined})}const m={stream:a,source:u,length:b};return[m,M]}function safelyExtractBody(t,r=false){if(!N){N=o(35356).ReadableStream}if(t instanceof N){q(!i.isDisturbed(t),"The body has already been consumed.");q(!t.locked,"The stream is locked.")}return extractBody(t,r)}function cloneBody(t){const[r,o]=t.stream.tee();const a=O(o,{transfer:[o]});const[,i]=a.tee();t.stream=r;return{stream:i,length:t.length,source:t.source}}async function*consumeBody(t){if(t){if(C(t)){yield t}else{const r=t.stream;if(i.isDisturbed(r)){throw new TypeError("The body has already been consumed.")}if(r.locked){throw new TypeError("The stream is locked.")}r[E]=true;yield*r}}}function throwIfAborted(t){if(t.aborted){throw new z("The operation was aborted.","AbortError")}}function bodyMixinMethods(t){const r={blob(){return specConsumeBody(this,(t=>{let r=bodyMimeType(this);if(r==="failure"){r=""}else if(r){r=I(r)}return new h([t],{type:r})}),t)},arrayBuffer(){return specConsumeBody(this,(t=>new Uint8Array(t).buffer),t)},text(){return specConsumeBody(this,utf8DecodeBytes,t)},json(){return specConsumeBody(this,parseJSONFromBytes,t)},async formData(){m.brandCheck(this,t);throwIfAborted(this[M]);const r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){const t={};for(const[r,o]of this.headers)t[r.toLowerCase()]=o;const r=new b;let o;try{o=new a({headers:t,preservePath:true})}catch(t){throw new z(`${t}`,"AbortError")}o.on("field",((t,o)=>{r.append(t,o)}));o.on("file",((t,o,a,i,p)=>{const c=[];if(i==="base64"||i.toLowerCase()==="base64"){let i="";o.on("data",(t=>{i+=t.toString().replace(/[\r\n]/gm,"");const r=i.length-i.length%4;c.push(Buffer.from(i.slice(0,r),"base64"));i=i.slice(r)}));o.on("end",(()=>{c.push(Buffer.from(i,"base64"));r.append(t,new W(c,a,{type:p}))}))}else{o.on("data",(t=>{c.push(t)}));o.on("end",(()=>{r.append(t,new W(c,a,{type:p}))}))}}));const i=new Promise(((t,r)=>{o.on("finish",t);o.on("error",(t=>r(new TypeError(t))))}));if(this.body!==null)for await(const t of consumeBody(this[M].body))o.write(t);o.end();await i;return r}else if(/application\/x-www-form-urlencoded/.test(r)){let t;try{let r="";const o=new TextDecoder("utf-8",{ignoreBOM:true});for await(const t of consumeBody(this[M].body)){if(!C(t)){throw new TypeError("Expected Uint8Array chunk")}r+=o.decode(t,{stream:true})}r+=o.decode();t=new URLSearchParams(r)}catch(t){throw Object.assign(new TypeError,{cause:t})}const r=new b;for(const[o,a]of t){r.append(o,a)}return r}else{await Promise.resolve();throwIfAborted(this[M]);throw m.errors.exception({header:`${t.name}.formData`,message:"Could not parse content as FormData."})}}};return r}function mixinBody(t){Object.assign(t.prototype,bodyMixinMethods(t))}async function specConsumeBody(t,r,o){m.brandCheck(t,o);throwIfAborted(t[M]);if(bodyUnusable(t[M].body)){throw new TypeError("Body is unusable")}const a=l();const errorSteps=t=>a.reject(t);const successSteps=t=>{try{a.resolve(r(t))}catch(t){errorSteps(t)}};if(t[M].body==null){successSteps(new Uint8Array);return a.promise}await u(t[M].body,successSteps,errorSteps);return a.promise}function bodyUnusable(t){return t!=null&&(t.stream.locked||i.isDisturbed(t.stream))}function utf8DecodeBytes(t){if(t.length===0){return""}if(t[0]===239&&t[1]===187&&t[2]===191){t=t.subarray(3)}const r=(new TextDecoder).decode(t);return r}function parseJSONFromBytes(t){return JSON.parse(utf8DecodeBytes(t))}function bodyMimeType(t){const{heLine truncated /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=t=>t.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=t=>t.replace(/\r?\n|\r/g,"\r\n");const a=[];const i=new Uint8Array([13,10]);b=0;let p=false;for(const[r,c]of t){if(typeof c==="string"){const t=w.encode(o+`; name="${escape(normalizeLinefeeds(r))}"`+`\r\n\r\n${normalizeLinefeeds(c)}\r\n`);a.push(t);b+=t.byteLength}else{const t=w.encode(`${o}; name="${escape(normalizeLinefeeds(r))}"`+(c.name?`; filename="${escape(c.name)}"`:"")+"\r\n"+`Content-Type: ${c.type||"application/octet-stream"}\r\n\r\n`);a.push(t,c,i);if(typeof c.size==="number"){b+=t.byteLength+c.size+i.byteLength}else{p=true}}}const c=w.encode(`--${r}--`);a.push(c);b+=c.byteLength;if(p){b=null}u=t;l=async function*(){for(const t of a){if(t.stream){yield*t.stream()}else{yield t}}};M="multipart/form-data; boundary="+r}else if(c(t)){u=t;b=t.size;if(t.type){M=t.type}}else if(typeof t[Symbol.asyncIterator]==="function"){if(r){throw new TypeError("keepalive")}if(i.isDisturbed(t)||t.locked){throw new TypeError("Response body object should not be disturbed or locked")}a=t instanceof N?t:p(t)}if(typeof u==="string"||i.isBuffer(u)){b=Buffer.byteLength(u)}if(l!=null){let r;a=new N({async start(){r=l(t)[Symbol.asyncIterator]()},async pull(t){const{value:o,done:i}=await r.next();if(i){queueMicrotask((()=>{t.close()}))}else{if(!y(a)){t.enqueue(new Uint8Array(o))}}return t.desiredSize>0},async cancel(t){await r.return()},type:undefined})}const m={stream:a,source:u,length:b};return[m,M]}function safelyExtractBody(t,r=false){if(!N){N=o(35356).ReadableStream}if(t instanceof N){q(!i.isDisturbed(t),"The body has already been consumed.");q(!t.locked,"The stream is locked.")}return extractBody(t,r)}function cloneBody(t){const[r,o]=t.stream.tee();const a=O(o,{transfer:[o]});const[,i]=a.tee();t.stream=r;return{stream:i,length:t.length,source:t.source}}async function*consumeBody(t){if(t){if(C(t)){yield t}else{const r=t.stream;if(i.isDisturbed(r)){throw new TypeError("The body has already been consumed.")}if(r.locked){throw new TypeError("The stream is locked.")}r[E]=true;yield*r}}}function throwIfAborted(t){if(t.aborted){throw new z("The operation was aborted.","AbortError")}}function bodyMixinMethods(t){const r={blob(){return specConsumeBody(this,(t=>{let r=bodyMimeType(this);if(r==="failure"){r=""}else if(r){r=I(r)}return new h([t],{type:r})}),t)},arrayBuffer(){return specConsumeBody(this,(t=>new Uint8Array(t).buffer),t)},text(){return specConsumeBody(this,utf8DecodeBytes,t)},json(){return specConsumeBody(this,parseJSONFromBytes,t)},async formData(){m.brandCheck(this,t);throwIfAborted(this[M]);const r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){const t={};for(const[r,o]of this.headers)t[r.toLowerCase()]=o;const r=new b;let o;try{o=new a({headers:t,preservePath:true})}catch(t){throw new z(`${t}`,"AbortError")}o.on("field",((t,o)=>{r.append(t,o)}));o.on("file",((t,o,a,i,p)=>{const c=[];if(i==="base64"||i.toLowerCase()==="base64"){let i="";o.on("data",(t=>{i+=t.toString().replace(/[\r\n]/gm,"");const r=i.length-i.length%4;c.push(Buffer.from(i.slice(0,r),"base64"));i=i.slice(r)}));o.on("end",(()=>{c.push(Buffer.from(i,"base64"));r.append(t,new W(c,a,{type:p}))}))}else{o.on("data",(t=>{c.push(t)}));o.on("end",(()=>{r.append(t,new W(c,a,{type:p}))}))}}));const i=new Promise(((t,r)=>{o.on("finish",t);o.on("error",(t=>r(new TypeError(t))))}));if(this.body!==null)for await(const t of consumeBody(this[M].body))o.write(t);o.end();await i;return r}else if(/application\/x-www-form-urlencoded/.test(r)){let t;try{let r="";const o=new TextDecoder("utf-8",{ignoreBOM:true});for await(const t of consumeBody(this[M].body)){if(!C(t)){throw new TypeError("Expected Uint8Array chunk")}r+=o.decode(t,{stream:true})}r+=o.decode();t=new URLSearchParams(r)}catch(t){throw Object.assign(new TypeError,{cause:t})}const r=new b;for(const[o,a]of t){r.append(o,a)}return r}else{await Promise.resolve();throwIfAborted(this[M]);throw m.errors.exception({header:`${t.name}.formData`,message:"Could not parse content as FormData."})}}};return r}function mixinBody(t){Object.assign(t.prototype,bodyMixinMethods(t))}async function specConsumeBody(t,r,o){m.brandCheck(t,o);throwIfAborted(t[M]);if(bodyUnusable(t[M].body)){throw new TypeError("Body is unusable")}const a=l();const errorSteps=t=>a.reject(t);const successSteps=t=>{try{a.resolve(r(t))}catch(t){errorSteps(t)}};if(t[M].body==null){successSteps(new Uint8Array);return a.promise}await u(t[M].body,successSteps,errorSteps);return a.promise}function bodyUnusable(t){return t!=null&&(t.stream.locked||i.isDisturbed(t.stream))}function utf8DecodeBytes(t){if(t.length===0){return""}if(t[0]===239&&t[1]===187&&t[2]===191){t=t.subarray(3)}const r=S.decode(t);return r}function parseJSONFromBytes(t){return JSON.parse(utf8DecodeBytes(t))}function bodyMimeType(t){const{headersList:r}=t[M];const o=r.get("contentLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */p[i-4]=this.maskKey[0];p[i-3]=this.maskKey[1];p[i-2]=this.maskKey[2];p[i-1]=this.maskKey[3];p[1]=o;if(o===126){p.writeUInt16BE(r,2)}else if(o===127){p[2]=p[3]=0;p.writeUIntBE(r,4,6)}p[1]|=128;for(let t=0;t<r;t++){p[i+t]=this.frameData[t]^this.maskKey[t%4]}return p}}t.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(t,r,o)=>{"use strict";const{Writable:a}=o(12781);const i=o(67643);const{parserStates:p,opcodes:c,states:d,emptyBuffer:A}=o(19188);const{kReadyState:l,kSentClose:u,kResponse:b,kReceivedClose:M}=o(37578);const{isValidStatusCode:m,failWebsocketConnection:z,websocketMessageReceived:O}=o(25515);const{WebsocketFrameSend:h}=o(25444);const g={};g.ping=i.channel("undici:websocket:ping");g.pong=i.channel("undici:websocket:pong");class ByteParser extends a{#i=[];#s=0;#p=p.INFO;#c={};#d=[];constructor(t){super();this.ws=t}_write(t,r,o){this.#i.push(t);this.#s+=t.length;this.run(o)}run(t){while(true){if(this.#p===p.INFO){if(this.#s<2){return t()}const r=this.consume(2);this.#c.fin=(r[0]&128)!==0;this.#c.opcode=r[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==c.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==c.BINARY&&this.#c.opcode!==c.TEXT){z(this.ws,"Invalid frame type was fragmented.");return}const o=r[1]&127;if(o<=125){this.#c.payloadLength=o;this.#p=p.READ_DATA}else if(o===126){this.#p=p.PAYLOADLENGTH_16}else if(o===127){this.#p=p.PAYLOADLENGTH_64}if(this.#c.fragmented&&o>125){z(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===c.PING||this.#c.opcode===c.PONG||this.#c.opcode===c.CLOSE)&&o>125){z(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===c.CLOSE){if(o===1){z(this.ws,"Received close frame with a 1-byte body.");return}const t=this.consume(o);this.#c.closeInfo=this.parseCloseBody(false,t);if(!this.ws[u]){const t=Buffer.allocUnsafe(2);t.writeUInt16BE(this.#c.closeInfo.code,0);const r=new h(t);this.ws[b].socket.write(r.createFrame(c.CLOSE),(t=>{if(!t){this.ws[u]=true}}))}this.ws[l]=d.CLOSING;this.ws[M]=true;this.end();return}else if(this.#c.opcode===c.PING){const r=this.consume(o);if(!this.ws[M]){const t=new h(r);this.ws[b].socket.write(t.createFrame(c.PONG));if(g.ping.hasSubscribers){g.ping.publish({payload:r})}}this.#p=p.INFO;if(this.#s>0){continue}else{t();return}}else if(this.#c.opcode===c.PONG){const r=this.consume(o);if(g.pong.hasSubscribers){g.pong.publish({payload:r})}if(this.#s>0){continue}else{t();return}}}else if(this.#p===p.PAYLOADLENGTH_16){if(this.#s<2){return t()}const r=this.consume(2);this.#c.payloadLength=r.readUInt16BE(0);this.#p=p.READ_DATA}else if(this.#p===p.PAYLOADLENGTH_64){if(this.#s<8){return t()}const r=this.consume(8);const o=r.readUInt32BE(0);if(o>2**31-1){z(this.ws,"Received payload length > 2^31 bytes.");return}const a=r.readUInt32BE(4);this.#c.payloadLength=(o<<8)+a;this.#p=p.READ_DATA}else if(this.#p===p.READ_DATA){if(this.#s<this.#c.payloadLength){return t()}else if(this.#s>=this.#c.payloadLength){const t=this.consume(this.#c.payloadLength);this.#d.push(t);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===c.CONTINUATION){const t=Buffer.concat(this.#d);O(this.ws,this.#c.originalOpcode,t);this.#c={};this.#d.length=0}this.#p=p.INFO}}if(this.#s>0){continue}else{t();break}}}consume(t){if(t>this.#s){return null}else if(t===0){return A}if(this.#i[0].length===t){this.#s-=this.#i[0].length;return this.#i.shift()}const r=Buffer.allocUnsafe(t);let o=0;while(o!==t){const a=this.#i[0];const{length:i}=a;if(i+o===t){r.set(this.#i.shift(),o);break}else if(i+o>t){r.set(a.subarray(0,t-o),o);this.#i[0]=a.subarray(t-o);break}else{r.set(this.#i.shift(),o);o+=a.length}}this.#s-=t;return r}parseCloseBody(t,r){let o;if(r.length>=2){o=r.readUInt16BE(0)}if(t){if(!m(o)){return null}return{code:o}}let a=r.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(o!==undefined&&!m(o)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:o,reason:a}}get closingInfo(){return this.#c.closeInfo}}t.exports={ByteParser:ByteParser}},37578:t=>{"use strict";t.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(t,r,o)=>{"use strict";const{kReadyState:a,kController:i,kResponse:p,kBinaryType:c,kWebSocketURL:d}=o(37578);const{states:A,opcodes:l}=o(19188);const{MessageEvent:u,ErrorEvent:b}=o(52611);function isEstablished(t){return t[a]===A.OPEN}function isClosing(t){return t[a]===A.CLOSING}function isClosed(t){return t[a]===A.CLOSED}function fireEvent(t,r,o=Event,a){const i=new o(t,a);r.dispatchEvent(i)}function websocketMessageReceived(t,r,o){if(t[a]!==A.OPEN){return}let i;if(r===l.TEXT){try{i=new TextDecoder("utf-8",{fatal:trueLine truncated /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */p[i-4]=this.maskKey[0];p[i-3]=this.maskKey[1];p[i-2]=this.maskKey[2];p[i-1]=this.maskKey[3];p[1]=o;if(o===126){p.writeUInt16BE(r,2)}else if(o===127){p[2]=p[3]=0;p.writeUIntBE(r,4,6)}p[1]|=128;for(let t=0;t<r;t++){p[i+t]=this.frameData[t]^this.maskKey[t%4]}return p}}t.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(t,r,o)=>{"use strict";const{Writable:a}=o(12781);const i=o(67643);const{parserStates:p,opcodes:c,states:d,emptyBuffer:A}=o(19188);const{kReadyState:l,kSentClose:u,kResponse:b,kReceivedClose:M}=o(37578);const{isValidStatusCode:m,failWebsocketConnection:z,websocketMessageReceived:O}=o(25515);const{WebsocketFrameSend:h}=o(25444);const g={};g.ping=i.channel("undici:websocket:ping");g.pong=i.channel("undici:websocket:pong");class ByteParser extends a{#i=[];#s=0;#p=p.INFO;#c={};#d=[];constructor(t){super();this.ws=t}_write(t,r,o){this.#i.push(t);this.#s+=t.length;this.run(o)}run(t){while(true){if(this.#p===p.INFO){if(this.#s<2){return t()}const r=this.consume(2);this.#c.fin=(r[0]&128)!==0;this.#c.opcode=r[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==c.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==c.BINARY&&this.#c.opcode!==c.TEXT){z(this.ws,"Invalid frame type was fragmented.");return}const o=r[1]&127;if(o<=125){this.#c.payloadLength=o;this.#p=p.READ_DATA}else if(o===126){this.#p=p.PAYLOADLENGTH_16}else if(o===127){this.#p=p.PAYLOADLENGTH_64}if(this.#c.fragmented&&o>125){z(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===c.PING||this.#c.opcode===c.PONG||this.#c.opcode===c.CLOSE)&&o>125){z(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===c.CLOSE){if(o===1){z(this.ws,"Received close frame with a 1-byte body.");return}const t=this.consume(o);this.#c.closeInfo=this.parseCloseBody(false,t);if(!this.ws[u]){const t=Buffer.allocUnsafe(2);t.writeUInt16BE(this.#c.closeInfo.code,0);const r=new h(t);this.ws[b].socket.write(r.createFrame(c.CLOSE),(t=>{if(!t){this.ws[u]=true}}))}this.ws[l]=d.CLOSING;this.ws[M]=true;this.end();return}else if(this.#c.opcode===c.PING){const r=this.consume(o);if(!this.ws[M]){const t=new h(r);this.ws[b].socket.write(t.createFrame(c.PONG));if(g.ping.hasSubscribers){g.ping.publish({payload:r})}}this.#p=p.INFO;if(this.#s>0){continue}else{t();return}}else if(this.#c.opcode===c.PONG){const r=this.consume(o);if(g.pong.hasSubscribers){g.pong.publish({payload:r})}if(this.#s>0){continue}else{t();return}}}else if(this.#p===p.PAYLOADLENGTH_16){if(this.#s<2){return t()}const r=this.consume(2);this.#c.payloadLength=r.readUInt16BE(0);this.#p=p.READ_DATA}else if(this.#p===p.PAYLOADLENGTH_64){if(this.#s<8){return t()}const r=this.consume(8);const o=r.readUInt32BE(0);if(o>2**31-1){z(this.ws,"Received payload length > 2^31 bytes.");return}const a=r.readUInt32BE(4);this.#c.payloadLength=(o<<8)+a;this.#p=p.READ_DATA}else if(this.#p===p.READ_DATA){if(this.#s<this.#c.payloadLength){return t()}else if(this.#s>=this.#c.payloadLength){const t=this.consume(this.#c.payloadLength);this.#d.push(t);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===c.CONTINUATION){const t=Buffer.concat(this.#d);O(this.ws,this.#c.originalOpcode,t);this.#c={};this.#d.length=0}this.#p=p.INFO}}if(this.#s>0){continue}else{t();break}}}consume(t){if(t>this.#s){return null}else if(t===0){return A}if(this.#i[0].length===t){this.#s-=this.#i[0].length;return this.#i.shift()}const r=Buffer.allocUnsafe(t);let o=0;while(o!==t){const a=this.#i[0];const{length:i}=a;if(i+o===t){r.set(this.#i.shift(),o);break}else if(i+o>t){r.set(a.subarray(0,t-o),o);this.#i[0]=a.subarray(t-o);break}else{r.set(this.#i.shift(),o);o+=a.length}}this.#s-=t;return r}parseCloseBody(t,r){let o;if(r.length>=2){o=r.readUInt16BE(0)}if(t){if(!m(o)){return null}return{code:o}}let a=r.subarray(2);if(a[0]===239&&a[1]===187&&a[2]===191){a=a.subarray(3)}if(o!==undefined&&!m(o)){return null}try{a=new TextDecoder("utf-8",{fatal:true}).decode(a)}catch{return null}return{code:o,reason:a}}get closingInfo(){return this.#c.closeInfo}}t.exports={ByteParser:ByteParser}},37578:t=>{"use strict";t.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(t,r,o)=>{"use strict";const{kReadyState:a,kController:i,kResponse:p,kBinaryType:c,kWebSocketURL:d}=o(37578);const{states:A,opcodes:l}=o(19188);const{MessageEvent:u,ErrorEvent:b}=o(52611);function isEstablished(t){return t[a]===A.OPEN}function isClosing(t){return t[a]===A.CLOSING}function isClosed(t){return t[a]===A.CLOSED}function fireEvent(t,r,o=Event,a){const i=new o(t,a);r.dispatchEvent(i)}function websocketMessageReceived(t,r,o){if(t[a]!==A.OPEN){return}let i;if(r===l.TEXT){try{i=new TextDecoder("utf-8",{fatal:trueLine truncated
/*! /*!
* XRegExp.build 4.4.1 * XRegExp.build 4.4.1
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","exports","saveCache","restoreCache","isFeatureAvailable","ReserveCacheError","ValidationError","core","__webpack_require__","path","utils","cacheHttpClient","tar_1","Error","constructor","message","super","name","setPrototypeOf","checkPaths","paths","length","checkKey","key","regex","test","process","env","primaryKey","restoreKeys","options","enableCrossOsArchive","keys","debug","JSON","stringify","compressionMethod","getCompressionMethod","archivePath","cacheEntry","getCacheEntry","archiveLocation","lookupOnly","info","cacheKey","join","createTempDirectory","getCacheFileName","downloadCache","isDebug","listTar","archiveFileSize","getArchiveFileSizeInBytes","Math","round","extractTar","error","typedError","warning","unlinkFile","_a","_b","_c","_d","_e","cacheId","cachePaths","resolvePaths","archiveFolder","createTar","fileSizeLimit","isGhes","reserveCacheResponse","reserveCache","cacheSize","statusCode","getCacheVersion","http_client_1","auth_1","crypto","fs","url_1","downloadUtils_1","options_1","requestUtils_1","versionSalt","getCacheApiUrl","resource","baseUrl","url","createAcceptHeader","type","apiVersion","getRequestOptions","requestOptions","headers","Accept","createHttpClient","token","bearerCredentialHandler","BearerCredentialHandler","HttpClient","components","push","platform","createHash","update","digest","httpClient","version","encodeURIComponent","response","retryTypedResponse","getJson","printCachesListForDiagnostics","isSuccessStatusCode","cacheResult","cacheDownloadUrl","setSecret","cacheListResult","totalCount","artifactCaches","cacheVersion","scope","creationTime","archiveUrl","URL","downloadOptions","getDownloadOptions","hostname","endsWith","useAzureSdk","downloadCacheStorageSDK","concurrentBlobDownloads","downloadCacheHttpClientConcurrent","downloadCacheHttpClient","reserveCacheRequest","postJson","getContentRange","start","end","uploadChunk","resourceUrl","openStream","additionalHeaders","uploadChunkResponse","retryHttpClientResponse","sendStream","uploadFile","fileSize","toString","fd","openSync","uploadOptions","getUploadOptions","concurrency","assertDefined","uploadConcurrency","maxChunkSize","uploadChunkSize","parallelUploads","Array","offset","all","map","chunkSize","min","createReadStream","autoClose","on","closeSync","commitCache","filesize","commitCacheRequest","size","commitCacheResponse","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","settle","d","getGnuTarPathOnWindows","exec","glob","io","semver","util","uuid_1","constants_1","IS_WINDOWS","tempDirectory","baseLocation","dest","v4","mkdirP","filePath","statSync","patterns","e_1","workspace","cwd","globber","implicitDescendants","_f","globGenerator","_g","file","relativeFile","relative","replace","RegExp","sep","e_1_1","return","promisify","unlink","getVersion","app","additionalArgs","versionOutput","ignoreReturnCode","silent","listeners","stdout","data","stderr","err","trim","clean","CompressionMethod","Gzip","ZstdWithoutLong","CacheFilename","Zstd","existsSync","GnuTarPathOnWindows","toLowerCase","includes","which","ghUrl","toUpperCase","ManifestFilename","TarFilename","SystemTarPathOnWindows","SocketTimeout","DefaultRetryDelay","DefaultRetryAttempts","ArchiveToolType","DownloadProgress","storage_blob_1","buffer","stream","abort_controller_1","pipeResponseToStream","output","pipeline","contentLength","segmentIndex","segmentSize","segmentOffset","receivedBytes","displayedComplete","startTime","Date","now","nextSegment","setReceivedBytes","getTransferredBytes","isDone","display","transferredBytes","percentage","toFixed","elapsedTime","downloadSpeed","onProgress","progress","loadedBytes","startDisplayTimer","delayInMs","displayCallback","timeoutHandle","setTimeout","stopDisplayTimer","clearTimeout","writeStream","createWriteStream","downloadResponse","socket","destroy","contentLengthHeader","expectedLength","parseInt","actualLength","archiveDescriptor","promises","open","socketTimeout","timeoutInMs","keepAlive","res","request","lengthHeader","Number","isNaN","downloads","blockSize","count","promiseGetter","downloadSegmentRetry","reverse","actives","bytesDownloaded","progressFn","activeDownloads","nextDownload","waitAndWrite","segment","race","values","write","pop","downloadConcurrency","dispose","close","retries","failures","timeout","promiseWithTimeout","downloadSegment","partRes","Range","readBodyBuffer","client","BlockBlobClient","retryOptions","tryTimeoutInMs","properties","getProperties","maxSegmentSize","constants"Line truncated {"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","prototype","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","exports","saveCache","restoreCache","isFeatureAvailable","ReserveCacheError","ValidationError","core","__webpack_require__","path","utils","cacheHttpClient","tar_1","Error","constructor","message","super","name","setPrototypeOf","checkPaths","paths","length","checkKey","key","regex","test","process","env","primaryKey","restoreKeys","options","enableCrossOsArchive","keys","debug","JSON","stringify","compressionMethod","getCompressionMethod","archivePath","cacheEntry","getCacheEntry","archiveLocation","lookupOnly","info","cacheKey","join","createTempDirectory","getCacheFileName","downloadCache","isDebug","listTar","archiveFileSize","getArchiveFileSizeInBytes","Math","round","extractTar","error","typedError","warning","unlinkFile","_a","_b","_c","_d","_e","cacheId","cachePaths","resolvePaths","archiveFolder","createTar","fileSizeLimit","isGhes","reserveCacheResponse","reserveCache","cacheSize","statusCode","getCacheVersion","http_client_1","auth_1","crypto","fs","url_1","downloadUtils_1","options_1","requestUtils_1","versionSalt","getCacheApiUrl","resource","baseUrl","url","createAcceptHeader","type","apiVersion","getRequestOptions","requestOptions","headers","Accept","createHttpClient","token","bearerCredentialHandler","BearerCredentialHandler","HttpClient","components","push","platform","createHash","update","digest","httpClient","version","encodeURIComponent","response","retryTypedResponse","getJson","printCachesListForDiagnostics","isSuccessStatusCode","cacheResult","cacheDownloadUrl","setSecret","cacheListResult","totalCount","artifactCaches","cacheVersion","scope","creationTime","archiveUrl","URL","downloadOptions","getDownloadOptions","hostname","endsWith","useAzureSdk","downloadCacheStorageSDK","concurrentBlobDownloads","downloadCacheHttpClientConcurrent","downloadCacheHttpClient","reserveCacheRequest","postJson","getContentRange","start","end","uploadChunk","resourceUrl","openStream","additionalHeaders","uploadChunkResponse","retryHttpClientResponse","sendStream","uploadFile","fileSize","toString","fd","openSync","uploadOptions","getUploadOptions","concurrency","assertDefined","uploadConcurrency","maxChunkSize","uploadChunkSize","parallelUploads","Array","offset","all","map","chunkSize","min","createReadStream","autoClose","on","closeSync","commitCache","filesize","commitCacheRequest","size","commitCacheResponse","__asyncValues","Symbol","asyncIterator","TypeError","i","__values","iterator","verb","n","settle","d","getGnuTarPathOnWindows","exec","glob","io","semver","util","uuid_1","constants_1","IS_WINDOWS","tempDirectory","baseLocation","dest","v4","mkdirP","filePath","statSync","patterns","e_1","workspace","cwd","globber","implicitDescendants","_f","globGenerator","_g","file","relativeFile","relative","replace","RegExp","sep","e_1_1","return","promisify","unlink","getVersion","app","additionalArgs","versionOutput","ignoreReturnCode","silent","listeners","stdout","data","stderr","err","trim","clean","CompressionMethod","Gzip","ZstdWithoutLong","CacheFilename","Zstd","existsSync","GnuTarPathOnWindows","toLowerCase","includes","which","ghUrl","toUpperCase","ManifestFilename","TarFilename","SystemTarPathOnWindows","SocketTimeout","DefaultRetryDelay","DefaultRetryAttempts","ArchiveToolType","DownloadProgress","storage_blob_1","buffer","stream","abort_controller_1","pipeResponseToStream","output","pipeline","contentLength","segmentIndex","segmentSize","segmentOffset","receivedBytes","displayedComplete","startTime","Date","now","nextSegment","setReceivedBytes","getTransferredBytes","isDone","display","transferredBytes","percentage","toFixed","elapsedTime","downloadSpeed","onProgress","progress","loadedBytes","startDisplayTimer","delayInMs","displayCallback","timeoutHandle","setTimeout","stopDisplayTimer","clearTimeout","writeStream","createWriteStream","downloadResponse","socket","destroy","contentLengthHeader","expectedLength","parseInt","actualLength","archiveDescriptor","promises","open","socketTimeout","timeoutInMs","keepAlive","res","request","lengthHeader","Number","isNaN","downloads","blockSize","count","promiseGetter","downloadSegmentRetry","reverse","actives","bytesDownloaded","progressFn","activeDownloads","nextDownload","waitAndWrite","segment","race","values","write","pop","downloadConcurrency","dispose","close","retries","failures","timeout","promiseWithTimeout","downloadSegment","partRes","Range","readBodyBuffer","client","BlockBlobClient","retryOptions","tryTimeoutInMs","properties","getProperties","maxSegmentSize","constants"Line truncated
+3 -3
View File
@@ -4011,9 +4011,9 @@ uglify-js@^3.1.4:
integrity sha512-wDRziHG94mNj2n3R864CvYw/+pc9y/RNImiTyrrf8BzgWn75JgFSwYvXrtZQMnMnOp/4UTrf3iCSQxSStPiByA== integrity sha512-wDRziHG94mNj2n3R864CvYw/+pc9y/RNImiTyrrf8BzgWn75JgFSwYvXrtZQMnMnOp/4UTrf3iCSQxSStPiByA==
undici@^5.25.4: undici@^5.25.4:
version "5.26.3" version "5.28.3"
resolved "https://registry.yarnpkg.com/undici/-/undici-5.26.3.tgz#ab3527b3d5bb25b12f898dfd22165d472dd71b79" resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b"
integrity sha512-H7n2zmKEWgOllKkIUkLvFmsJQj062lSm3uA4EYApG8gLuiOM0/go9bIoC3HVaSnfg4xunowDE2i9p8drkXuvDw== integrity sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==
dependencies: dependencies:
"@fastify/busboy" "^2.0.0" "@fastify/busboy" "^2.0.0"