chromatic 13.3.6--canary.1227.21011124277.0 → 13.3.6--canary.1228.21436456148.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/chunk-4APITVWL.js +113 -0
- package/dist/{chunk-IM5VGDJQ.js → chunk-CSUWEKGO.js} +2 -2
- package/dist/chunk-JK52R5MH.js +133 -0
- package/dist/chunk-ORGLXPKH.js +694 -0
- package/dist/chunk-UIMESW7Y.js +24 -0
- package/dist/chunk-ZVWAYXX5.js +1759 -0
- package/dist/globby-MKVLNYKA-AXPQJPXA.js +45 -0
- package/dist/{init-JJJLN4S2.js → init-OKTIDCVH.js} +7 -7
- package/dist/lib-LLKM6LMW-5I4LIUY5.js +27 -0
- package/dist/{main-A5UR3GRZ.js → main-URA76E2X.js} +11 -10
- package/dist/node.d.ts +1 -1
- package/dist/node.js +12 -11
- package/dist/p-limit-IAOFNB4G-AVPP6LIW.js +26 -0
- package/dist/{trace-WZCOPXHB.js → trace-NGJIEYZX.js} +5 -5
- package/dist/{trimStatsFile-B32JUOXW.js → trimStatsFile-7PMDUGYE.js} +4 -4
- package/isChromatic.d.ts +5 -3
- package/isChromatic.js +2 -1
- package/isChromatic.mjs +1 -0
- package/package.json +32 -33
- package/dist/chunk-F6FLWRPJ.js +0 -136
- package/dist/chunk-HZVCNUTP.js +0 -695
- package/dist/chunk-LAQIPRAO.js +0 -118
- package/dist/chunk-YI6WVI4W.js +0 -1311
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d9525aa4-7c21-56e8-b7f2-883ef616133f")}catch(e){}}();
|
|
4
|
+
|
|
5
|
+
var chunkTKGT252T_js = require('./chunk-TKGT252T.js');
|
|
6
|
+
var url = require('url');
|
|
7
|
+
var child_process = require('child_process');
|
|
8
|
+
var string_decoder = require('string_decoder');
|
|
9
|
+
var util = require('util');
|
|
10
|
+
var cn = require('process');
|
|
11
|
+
var Ey = require('tty');
|
|
12
|
+
var lt = require('path');
|
|
13
|
+
var promises$1 = require('timers/promises');
|
|
14
|
+
var os$1 = require('os');
|
|
15
|
+
var events = require('events');
|
|
16
|
+
var v8 = require('v8');
|
|
17
|
+
var fs$1 = require('fs');
|
|
18
|
+
var promises = require('stream/promises');
|
|
19
|
+
var stream = require('stream');
|
|
20
|
+
var buffer = require('buffer');
|
|
21
|
+
|
|
22
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
|
+
|
|
24
|
+
var cn__default = /*#__PURE__*/_interopDefault(cn);
|
|
25
|
+
var Ey__default = /*#__PURE__*/_interopDefault(Ey);
|
|
26
|
+
var lt__default = /*#__PURE__*/_interopDefault(lt);
|
|
27
|
+
|
|
28
|
+
var Vc=chunkTKGT252T_js.c((F5,Wc)=>{Wc.exports=zc;zc.sync=My;var kc=chunkTKGT252T_js.a("fs");function _y(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return !0;for(var n=0;n<r.length;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return !0}return !1}function qc(e,t,r){return !e.isSymbolicLink()&&!e.isFile()?!1:_y(t,r)}function zc(e,t,r){kc.stat(e,function(n,o){r(n,n?!1:qc(o,e,t));});}function My(e,t){return qc(kc.statSync(e),e,t)}});var Jc=chunkTKGT252T_js.c((_5,Kc)=>{Kc.exports=Yc;Yc.sync=jy;var Hc=chunkTKGT252T_js.a("fs");function Yc(e,t,r){Hc.stat(e,function(n,o){r(n,n?!1:Xc(o,t));});}function jy(e,t){return Xc(Hc.statSync(e),t)}function Xc(e,t){return e.isFile()&&By(e,t)}function By(e,t){var r=e.mode,n=e.uid,o=e.gid,i=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),s=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=parseInt("001",8),u=a|c,f=r&l||r&c&&o===s||r&a&&n===i||r&u&&i===0;return f}});var Qc=chunkTKGT252T_js.c((j5,Zc)=>{chunkTKGT252T_js.a("fs");var on;process.platform==="win32"||global.TESTING_WINDOWS?on=Vc():on=Jc();Zc.exports=Qo;Qo.sync=Uy;function Qo(e,t,r){if(typeof t=="function"&&(r=t,t={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,o){Qo(e,t||{},function(i,s){i?o(i):n(s);});})}on(e,t||{},function(n,o){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,o=!1),r(n,o);});}function Uy(e,t){try{return on.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return !1;throw r}}});var su=chunkTKGT252T_js.c((B5,iu)=>{var Pt=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",eu=chunkTKGT252T_js.a("path"),Gy=Pt?";":":",tu=Qc(),ru=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),nu=(e,t)=>{let r=t.colon||Gy,n=e.match(/\//)||Pt&&e.match(/\\/)?[""]:[...Pt?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=Pt?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=Pt?o.split(r):[""];return Pt&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},ou=(e,t,r)=>{typeof t=="function"&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:o,pathExtExe:i}=nu(e,t),s=[],a=l=>new Promise((u,f)=>{if(l===n.length)return t.all&&s.length?u(s):f(ru(e));let g=n[l],y=/^".*"$/.test(g)?g.slice(1,-1):g,b=eu.join(y,e),p=!y&&/^\.[\\\/]/.test(e)?e.slice(0,2)+b:b;u(c(p,l,0));}),c=(l,u,f)=>new Promise((g,y)=>{if(f===o.length)return g(a(u+1));let b=o[f];tu(l+b,{pathExt:i},(p,v)=>{if(!p&&v)if(t.all)s.push(l+b);else return g(l+b);return g(c(l,u,f+1))});});return r?a(0).then(l=>r(null,l),r):a(0)},ky=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:o}=nu(e,t),i=[];for(let s=0;s<r.length;s++){let a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=eu.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let f=0;f<n.length;f++){let g=u+n[f];try{if(tu.sync(g,{pathExt:o}))if(t.all)i.push(g);else return g}catch{}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw ru(e)};iu.exports=ou;ou.sync=ky;});var cu=chunkTKGT252T_js.c((U5,ei)=>{var au=(e={})=>{let t=e.env||process.env;return (e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};ei.exports=au;ei.exports.default=au;});var pu=chunkTKGT252T_js.c((G5,fu)=>{var uu=chunkTKGT252T_js.a("path"),qy=su(),zy=cu();function lu(e,t){let r=e.options.env||process.env,n=process.cwd(),o=e.options.cwd!=null,i=o&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd);}catch{}let s;try{s=qy.sync(e.command,{path:r[zy({env:r})],pathExt:t?uu.delimiter:void 0});}catch{}finally{i&&process.chdir(n);}return s&&(s=uu.resolve(o?e.options.cwd:"",s)),s}function Wy(e){return lu(e)||lu(e,!0)}fu.exports=Wy;});var du=chunkTKGT252T_js.c((k5,ri)=>{var ti=/([()\][%!^"`<>&|;, *?])/g;function Vy(e){return e=e.replace(ti,"^$1"),e}function Hy(e,t){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace(ti,"^$1"),t&&(e=e.replace(ti,"^$1")),e}ri.exports.command=Vy;ri.exports.argument=Hy;});var mu=chunkTKGT252T_js.c((q5,hu)=>{hu.exports=/^#!(.*)/;});var yu=chunkTKGT252T_js.c((z5,gu)=>{var Yy=mu();gu.exports=(e="")=>{let t=e.match(Yy);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return o==="env"?n:n?`${o} ${n}`:o};});var Su=chunkTKGT252T_js.c((W5,bu)=>{var ni=chunkTKGT252T_js.a("fs"),Xy=yu();function Ky(e){let r=Buffer.alloc(150),n;try{n=ni.openSync(e,"r"),ni.readSync(n,r,0,150,0),ni.closeSync(n);}catch{}return Xy(r.toString())}bu.exports=Ky;});var vu=chunkTKGT252T_js.c((V5,xu)=>{var Jy=chunkTKGT252T_js.a("path"),wu=pu(),Eu=du(),Zy=Su(),Qy=process.platform==="win32",eb=/\.(?:com|exe)$/i,tb=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function rb(e){e.file=wu(e);let t=e.file&&Zy(e.file);return t?(e.args.unshift(e.file),e.command=t,wu(e)):e.file}function nb(e){if(!Qy)return e;let t=rb(e),r=!eb.test(t);if(e.options.forceShell||r){let n=tb.test(t);e.command=Jy.normalize(e.command),e.command=Eu.command(e.command),e.args=e.args.map(i=>Eu.argument(i,n));let o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e}function ob(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:nb(n)}xu.exports=ob;});var Au=chunkTKGT252T_js.c((H5,Lu)=>{var oi=process.platform==="win32";function ii(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function ib(e,t){if(!oi)return;let r=e.emit;e.emit=function(n,o){if(n==="exit"){let i=Ou(o,t);if(i)return r.call(e,"error",i)}return r.apply(e,arguments)};}function Ou(e,t){return oi&&e===1&&!t.file?ii(t.original,"spawn"):null}function sb(e,t){return oi&&e===1&&!t.file?ii(t.original,"spawnSync"):null}Lu.exports={hookChildProcess:ib,verifyENOENT:Ou,verifyENOENTSync:sb,notFoundError:ii};});var Ru=chunkTKGT252T_js.c((Y5,Tt)=>{var Cu=chunkTKGT252T_js.a("child_process"),si=vu(),ai=Au();function Iu(e,t,r){let n=si(e,t,r),o=Cu.spawn(n.command,n.args,n.options);return ai.hookChildProcess(o,n),o}function ab(e,t,r){let n=si(e,t,r),o=Cu.spawnSync(n.command,n.args,n.options);return o.error=o.error||ai.verifyENOENTSync(o.status,n),o}Tt.exports=Iu;Tt.exports.spawn=Iu;Tt.exports.sync=ab;Tt.exports._parse=si;Tt.exports._enoent=ai;});var bd=chunkTKGT252T_js.c((nF,yd)=>{var sv=Object.prototype.toString;yd.exports=function(e){var t;return sv.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))};});var wd=chunkTKGT252T_js.c((oF,Sd)=>{Sd.exports=function(e){return e==null?[]:Array.isArray(e)?e:[e]};});var vd=chunkTKGT252T_js.c((iF,xd)=>{var av=Object.prototype.toString;xd.exports=function(t){if(t===void 0)return "undefined";if(t===null)return "null";var r=typeof t;if(r==="boolean")return "boolean";if(r==="string")return "string";if(r==="number")return "number";if(r==="symbol")return "symbol";if(r==="function")return pv(t)?"generatorfunction":"function";if(cv(t))return "array";if(mv(t))return "buffer";if(hv(t))return "arguments";if(lv(t))return "date";if(uv(t))return "error";if(fv(t))return "regexp";switch(Ed(t)){case"Symbol":return "symbol";case"Promise":return "promise";case"WeakMap":return "weakmap";case"WeakSet":return "weakset";case"Map":return "map";case"Set":return "set";case"Int8Array":return "int8array";case"Uint8Array":return "uint8array";case"Uint8ClampedArray":return "uint8clampedarray";case"Int16Array":return "int16array";case"Uint16Array":return "uint16array";case"Int32Array":return "int32array";case"Uint32Array":return "uint32array";case"Float32Array":return "float32array";case"Float64Array":return "float64array"}if(dv(t))return "generator";switch(r=av.call(t),r){case"[object Object]":return "object";case"[object Map Iterator]":return "mapiterator";case"[object Set Iterator]":return "setiterator";case"[object String Iterator]":return "stringiterator";case"[object Array Iterator]":return "arrayiterator"}return r.slice(8,-1).toLowerCase().replace(/\s/g,"")};function Ed(e){return typeof e.constructor=="function"?e.constructor.name:null}function cv(e){return Array.isArray?Array.isArray(e):e instanceof Array}function uv(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function lv(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function fv(e){return e instanceof RegExp?!0:typeof e.flags=="string"&&typeof e.ignoreCase=="boolean"&&typeof e.multiline=="boolean"&&typeof e.global=="boolean"}function pv(e,t){return Ed(e)==="GeneratorFunction"}function dv(e){return typeof e.throw=="function"&&typeof e.return=="function"&&typeof e.next=="function"}function hv(e){try{if(typeof e.length=="number"&&typeof e.callee=="function")return !0}catch(t){if(t.message.indexOf("callee")!==-1)return !0}return !1}function mv(e){return e.constructor&&typeof e.constructor.isBuffer=="function"?e.constructor.isBuffer(e):!1}});var Rd=chunkTKGT252T_js.c((sF,xs)=>{var gv=bd(),yv=wd(),ws=vd(),Od=(e,t,r)=>{e[t]||(e[t]=[]),e[t].push(r);},Ld=(e,t,r,n)=>{e[t]||(e[t]={}),e[t][r]=n;},ro=e=>Array.isArray(e)?`[${e.map(ro).join(", ")}]`:ws(e)==="string"?JSON.stringify(e):e,bv=e=>{if(Array.isArray(e)&&e.length>0){let[t]=e;return `${ws(t)}-array`}return ws(e)},Sv=(e,t)=>{let r=e==="array"?"string-array":e;return Es.includes(r)&&Array.isArray(t)&&t.length===0?"array":r},wv=["stopEarly","unknown","--"],Cd=["string","boolean","number"],Es=Cd.map(e=>`${e}-array`),Ad=[...Cd,"array",...Es],Id=e=>{e=e||{};let t={};return wv.forEach(r=>{e[r]&&(t[r]=e[r]);}),Object.keys(e).forEach(r=>{let n=e[r];if(r==="arguments"&&(r="_"),typeof n=="string"&&(n={type:n}),gv(n)){let o=n,{type:i}=o;if(i){if(!Ad.includes(i))throw new TypeError(`Expected type of "${r}" to be one of ${ro(Ad)}, got ${ro(i)}`);if(Es.includes(i)){let[s]=i.split("-");Od(t,"array",{key:r,[s]:!0});}else Od(t,i,r);}if({}.hasOwnProperty.call(o,"default")){let{default:s}=o,a=bv(s),c=Sv(i,s);if(c&&c!==a)throw new TypeError(`Expected "${r}" default value to be of type "${c}", got ${ro(a)}`);Ld(t,"default",r,s);}yv(o.alias).forEach(s=>{Ld(t,"alias",s,r);});}}),t};xs.exports=Id;xs.exports.default=Id;});var Md=chunkTKGT252T_js.c((aF,_d)=>{var Ev=chunkTKGT252T_js.a("util"),xv=chunkTKGT252T_js.a("fs"),Pd=chunkTKGT252T_js.a("path");function wr(e){if(e!==e.toLowerCase()&&e!==e.toUpperCase()||(e=e.toLowerCase()),e.indexOf("-")===-1&&e.indexOf("_")===-1)return e;{let r="",n=!1,o=e.match(/^-+/);for(let i=o?o[0].length:0;i<e.length;i++){let s=e.charAt(i);n&&(n=!1,s=s.toUpperCase()),i!==0&&(s==="-"||s==="_")?n=!0:s!=="-"&&s!=="_"&&(r+=s);}return r}}function Nd(e,t){let r=e.toLowerCase();t=t||"-";let n="";for(let o=0;o<e.length;o++){let i=r.charAt(o),s=e.charAt(o);i!==s&&o>0?n+=`${t}${r.charAt(o)}`:n+=s;}return n}function $d(e){return e==null?!1:typeof e=="number"||/^0x[0-9a-f]+$/i.test(e)?!0:/^0[^.]/.test(e)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e)}function vv(e){if(Array.isArray(e))return e.map(s=>typeof s!="string"?s+"":s);e=e.trim();let t=0,r=null,n=null,o=null,i=[];for(let s=0;s<e.length;s++){if(r=n,n=e.charAt(s),n===" "&&!o){r!==" "&&t++;continue}n===o?o=null:(n==="'"||n==='"')&&!o&&(o=n),i[t]||(i[t]=""),i[t]+=n;}return i}var Ne;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array";})(Ne||(Ne={}));var Xe,Os=class{constructor(t){Xe=t;}parse(t,r){let n=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},r),o=vv(t),i=Ov(Object.assign(Object.create(null),n.alias)),s=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},n.configuration),a=Object.assign(Object.create(null),n.default),c=n.configObjects||[],l=n.envPrefix,u=s["populate--"],f=u?"--":"_",g=Object.create(null),y=Object.create(null),b=n.__||Xe.format,p={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},v=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,D=new RegExp("^--"+s["negation-prefix"]+"(.+)");[].concat(n.array||[]).filter(Boolean).forEach(function(d){let h=typeof d=="object"?d.key:d,x=Object.keys(d).map(function(w){return {boolean:"bools",string:"strings",number:"numbers"}[w]}).filter(Boolean).pop();x&&(p[x][h]=!0),p.arrays[h]=!0,p.keys.push(h);}),[].concat(n.boolean||[]).filter(Boolean).forEach(function(d){p.bools[d]=!0,p.keys.push(d);}),[].concat(n.string||[]).filter(Boolean).forEach(function(d){p.strings[d]=!0,p.keys.push(d);}),[].concat(n.number||[]).filter(Boolean).forEach(function(d){p.numbers[d]=!0,p.keys.push(d);}),[].concat(n.count||[]).filter(Boolean).forEach(function(d){p.counts[d]=!0,p.keys.push(d);}),[].concat(n.normalize||[]).filter(Boolean).forEach(function(d){p.normalize[d]=!0,p.keys.push(d);}),typeof n.narg=="object"&&Object.entries(n.narg).forEach(([d,h])=>{typeof h=="number"&&(p.nargs[d]=h,p.keys.push(d));}),typeof n.coerce=="object"&&Object.entries(n.coerce).forEach(([d,h])=>{typeof h=="function"&&(p.coercions[d]=h,p.keys.push(d));}),typeof n.config<"u"&&(Array.isArray(n.config)||typeof n.config=="string"?[].concat(n.config).filter(Boolean).forEach(function(d){p.configs[d]=!0;}):typeof n.config=="object"&&Object.entries(n.config).forEach(([d,h])=>{(typeof h=="boolean"||typeof h=="function")&&(p.configs[d]=h);})),xe(n.key,i,n.default,p.arrays),Object.keys(a).forEach(function(d){(p.aliases[d]||[]).forEach(function(h){a[h]=a[d];});});let $=null;Fg();let k=[],U=Object.assign(Object.create(null),{_:[]}),ne={};for(let d=0;d<o.length;d++){let h=o[d],x=h.replace(/^-{3,}/,"---"),w,m,A,C,N,ae;if(h!=="--"&&Se(h))J(h);else if(x.match(/---+(=|$)/)){J(h);continue}else if(h.match(/^--.+=/)||!s["short-option-groups"]&&h.match(/^-.+=/))C=h.match(/^--?([^=]+)=([\s\S]*)$/),C!==null&&Array.isArray(C)&&C.length>=3&&(R(C[1],p.arrays)?d=V(d,C[1],o,C[2]):R(C[1],p.nargs)!==!1?d=j(d,C[1],o,C[2]):T(C[1],C[2]));else if(h.match(D)&&s["boolean-negation"])C=h.match(D),C!==null&&Array.isArray(C)&&C.length>=2&&(m=C[1],T(m,R(m,p.arrays)?[!1]:!1));else if(h.match(/^--.+/)||!s["short-option-groups"]&&h.match(/^-[^-]+/))C=h.match(/^--?(.+)/),C!==null&&Array.isArray(C)&&C.length>=2&&(m=C[1],R(m,p.arrays)?d=V(d,m,o):R(m,p.nargs)!==!1?d=j(d,m,o):(N=o[d+1],N!==void 0&&(!N.match(/^-/)||N.match(v))&&!R(m,p.bools)&&!R(m,p.counts)||/^(true|false)$/.test(N)?(T(m,N),d++):T(m,Ie(m))));else if(h.match(/^-.\..+=/))C=h.match(/^-([^=]+)=([\s\S]*)$/),C!==null&&Array.isArray(C)&&C.length>=3&&T(C[1],C[2]);else if(h.match(/^-.\..+/)&&!h.match(v))N=o[d+1],C=h.match(/^-(.\..+)/),C!==null&&Array.isArray(C)&&C.length>=2&&(m=C[1],N!==void 0&&!N.match(/^-/)&&!R(m,p.bools)&&!R(m,p.counts)?(T(m,N),d++):T(m,Ie(m)));else if(h.match(/^-[^-]+/)&&!h.match(v)){A=h.slice(1,-1).split(""),w=!1;for(let ye=0;ye<A.length;ye++){if(N=h.slice(ye+2),A[ye+1]&&A[ye+1]==="="){ae=h.slice(ye+3),m=A[ye],R(m,p.arrays)?d=V(d,m,o,ae):R(m,p.nargs)!==!1?d=j(d,m,o,ae):T(m,ae),w=!0;break}if(N==="-"){T(A[ye],N);continue}if(/[A-Za-z]/.test(A[ye])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(N)&&R(N,p.bools)===!1){T(A[ye],N),w=!0;break}if(A[ye+1]&&A[ye+1].match(/\W/)){T(A[ye],N),w=!0;break}else T(A[ye],Ie(A[ye]));}m=h.slice(-1)[0],!w&&m!=="-"&&(R(m,p.arrays)?d=V(d,m,o):R(m,p.nargs)!==!1?d=j(d,m,o):(N=o[d+1],N!==void 0&&(!/^(-|--)[^-]/.test(N)||N.match(v))&&!R(m,p.bools)&&!R(m,p.counts)||/^(true|false)$/.test(N)?(T(m,N),d++):T(m,Ie(m))));}else if(h.match(/^-[0-9]$/)&&h.match(v)&&R(h.slice(1),p.bools))m=h.slice(1),T(m,Ie(m));else if(h==="--"){k=o.slice(d+1);break}else if(s["halt-at-non-option"]){k=o.slice(d);break}else J(h);}me(U,!0),me(U,!1),ee(U),Z(),fe(U,p.aliases,a,!0),te(U),s["set-placeholder-key"]&&Q(U),Object.keys(p.counts).forEach(function(d){ge(U,d.split("."))||T(d,0);}),u&&k.length&&(U[f]=[]),k.forEach(function(d){U[f].push(d);}),s["camel-case-expansion"]&&s["strip-dashed"]&&Object.keys(U).filter(d=>d!=="--"&&d.includes("-")).forEach(d=>{delete U[d];}),s["strip-aliased"]&&[].concat(...Object.keys(i).map(d=>i[d])).forEach(d=>{s["camel-case-expansion"]&&d.includes("-")&&delete U[d.split(".").map(h=>wr(h)).join(".")],delete U[d];});function J(d){let h=B("_",d);(typeof h=="string"||typeof h=="number")&&U._.push(h);}function j(d,h,x,w){let m,A=R(h,p.nargs);if(A=typeof A!="number"||isNaN(A)?1:A,A===0)return ze(w)||($=Error(b("Argument unexpected for: %s",h))),T(h,Ie(h)),d;let C=ze(w)?0:1;if(s["nargs-eats-options"])x.length-(d+1)+C<A&&($=Error(b("Not enough arguments following: %s",h))),C=A;else {for(m=d+1;m<x.length&&(!x[m].match(/^-[^0-9]/)||x[m].match(v)||Se(x[m]));m++)C++;C<A&&($=Error(b("Not enough arguments following: %s",h)));}let N=Math.min(C,A);for(!ze(w)&&N>0&&(T(h,w),N--),m=d+1;m<N+d+1;m++)T(h,x[m]);return d+N}function V(d,h,x,w){let m=[],A=w||x[d+1],C=R(h,p.nargs);if(R(h,p.bools)&&!/^(true|false)$/.test(A))m.push(!0);else if(ze(A)||ze(w)&&/^-/.test(A)&&!v.test(A)&&!Se(A)){if(a[h]!==void 0){let N=a[h];m=Array.isArray(N)?N:[N];}}else {ze(w)||m.push(I(h,w));for(let N=d+1;N<x.length&&!(!s["greedy-arrays"]&&m.length>0||C&&typeof C=="number"&&m.length>=C||(A=x[N],/^-/.test(A)&&!v.test(A)&&!Se(A)));N++)d=N,m.push(I(h,A));}return typeof C=="number"&&(C&&m.length<C||isNaN(C)&&m.length===0)&&($=Error(b("Not enough arguments following: %s",h))),T(h,m),d}function T(d,h){if(/-/.test(d)&&s["camel-case-expansion"]){let m=d.split(".").map(function(A){return wr(A)}).join(".");le(d,m);}let x=I(d,h),w=d.split(".");we(U,w,x),p.aliases[d]&&p.aliases[d].forEach(function(m){let A=m.split(".");we(U,A,x);}),w.length>1&&s["dot-notation"]&&(p.aliases[w[0]]||[]).forEach(function(m){let A=m.split("."),C=[].concat(w);C.shift(),A=A.concat(C),(p.aliases[d]||[]).includes(A.join("."))||we(U,A,x);}),R(d,p.normalize)&&!R(d,p.arrays)&&[d].concat(p.aliases[d]||[]).forEach(function(A){Object.defineProperty(ne,A,{enumerable:!0,get(){return h},set(C){h=typeof C=="string"?Xe.normalize(C):C;}});});}function le(d,h){p.aliases[d]&&p.aliases[d].length||(p.aliases[d]=[h],g[h]=!0),p.aliases[h]&&p.aliases[h].length||le(h,d);}function I(d,h){typeof h=="string"&&(h[0]==="'"||h[0]==='"')&&h[h.length-1]===h[0]&&(h=h.substring(1,h.length-1)),(R(d,p.bools)||R(d,p.counts))&&typeof h=="string"&&(h=h==="true");let x=Array.isArray(h)?h.map(function(w){return B(d,w)}):B(d,h);return R(d,p.counts)&&(ze(x)||typeof x=="boolean")&&(x=vs()),R(d,p.normalize)&&R(d,p.arrays)&&(Array.isArray(h)?x=h.map(w=>Xe.normalize(w)):x=Xe.normalize(h)),x}function B(d,h){return !s["parse-positional-numbers"]&&d==="_"||!R(d,p.strings)&&!R(d,p.bools)&&!Array.isArray(h)&&($d(h)&&s["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${h}`)))||!ze(h)&&R(d,p.numbers))&&(h=Number(h)),h}function ee(d){let h=Object.create(null);fe(h,p.aliases,a),Object.keys(p.configs).forEach(function(x){let w=d[x]||h[x];if(w)try{let m=null,A=Xe.resolve(Xe.cwd(),w),C=p.configs[x];if(typeof C=="function"){try{m=C(A);}catch(N){m=N;}if(m instanceof Error){$=m;return}}else m=Xe.require(A);q(m);}catch(m){m.name==="PermissionDenied"?$=m:d[x]&&($=Error(b("Invalid JSON config file: %s",w)));}});}function q(d,h){Object.keys(d).forEach(function(x){let w=d[x],m=h?h+"."+x:x;typeof w=="object"&&w!==null&&!Array.isArray(w)&&s["dot-notation"]?q(w,m):(!ge(U,m.split("."))||R(m,p.arrays)&&s["combine-arrays"])&&T(m,w);});}function Z(){typeof c<"u"&&c.forEach(function(d){q(d);});}function me(d,h){if(typeof l>"u")return;let x=typeof l=="string"?l:"",w=Xe.env();Object.keys(w).forEach(function(m){if(x===""||m.lastIndexOf(x,0)===0){let A=m.split("__").map(function(C,N){return N===0&&(C=C.substring(x.length)),wr(C)});(h&&p.configs[A.join(".")]||!h)&&!ge(d,A)&&T(A.join("."),w[m]);}});}function te(d){let h,x=new Set;Object.keys(d).forEach(function(w){if(!x.has(w)&&(h=R(w,p.coercions),typeof h=="function"))try{let m=B(w,h(d[w]));[].concat(p.aliases[w]||[],w).forEach(A=>{x.add(A),d[A]=m;});}catch(m){$=m;}});}function Q(d){return p.keys.forEach(h=>{~h.indexOf(".")||typeof d[h]>"u"&&(d[h]=void 0);}),d}function fe(d,h,x,w=!1){Object.keys(x).forEach(function(m){ge(d,m.split("."))||(we(d,m.split("."),x[m]),w&&(y[m]=!0),(h[m]||[]).forEach(function(A){ge(d,A.split("."))||we(d,A.split("."),x[m]);}));});}function ge(d,h){let x=d;s["dot-notation"]||(h=[h.join(".")]),h.slice(0,-1).forEach(function(m){x=x[m]||{};});let w=h[h.length-1];return typeof x!="object"?!1:w in x}function we(d,h,x){let w=d;s["dot-notation"]||(h=[h.join(".")]),h.slice(0,-1).forEach(function(ae){ae=Td(ae),typeof w=="object"&&w[ae]===void 0&&(w[ae]={}),typeof w[ae]!="object"||Array.isArray(w[ae])?(Array.isArray(w[ae])?w[ae].push({}):w[ae]=[w[ae],{}],w=w[ae][w[ae].length-1]):w=w[ae];});let m=Td(h[h.length-1]),A=R(h.join("."),p.arrays),C=Array.isArray(x),N=s["duplicate-arguments-array"];!N&&R(m,p.nargs)&&(N=!0,(!ze(w[m])&&p.nargs[m]===1||Array.isArray(w[m])&&w[m].length===p.nargs[m])&&(w[m]=void 0)),x===vs()?w[m]=vs(w[m]):Array.isArray(w[m])?N&&A&&C?w[m]=s["flatten-duplicate-arrays"]?w[m].concat(x):(Array.isArray(w[m][0])?w[m]:[w[m]]).concat([x]):!N&&!!A==!!C?w[m]=x:w[m]=w[m].concat([x]):w[m]===void 0&&A?w[m]=C?x:[x]:N&&!(w[m]===void 0||R(m,p.counts)||R(m,p.bools))?w[m]=[w[m],x]:w[m]=x;}function xe(...d){d.forEach(function(h){Object.keys(h||{}).forEach(function(x){p.aliases[x]||(p.aliases[x]=[].concat(i[x]||[]),p.aliases[x].concat(x).forEach(function(w){if(/-/.test(w)&&s["camel-case-expansion"]){let m=wr(w);m!==x&&p.aliases[x].indexOf(m)===-1&&(p.aliases[x].push(m),g[m]=!0);}}),p.aliases[x].concat(x).forEach(function(w){if(w.length>1&&/[A-Z]/.test(w)&&s["camel-case-expansion"]){let m=Nd(w,"-");m!==x&&p.aliases[x].indexOf(m)===-1&&(p.aliases[x].push(m),g[m]=!0);}}),p.aliases[x].forEach(function(w){p.aliases[w]=[x].concat(p.aliases[x].filter(function(m){return w!==m}));}));});});}function R(d,h){let x=[].concat(p.aliases[d]||[],d),w=Object.keys(h),m=x.find(A=>w.includes(A));return m?h[m]:!1}function ct(d){let h=Object.keys(p);return [].concat(h.map(w=>p[w])).some(function(w){return Array.isArray(w)?w.includes(d):w[d]})}function Fe(d,...h){return [].concat(...h).some(function(w){let m=d.match(w);return m&&ct(m[1])})}function Qe(d){if(d.match(v)||!d.match(/^-[^-]+/))return !1;let h=!0,x,w=d.slice(1).split("");for(let m=0;m<w.length;m++){if(x=d.slice(m+2),!ct(w[m])){h=!1;break}if(w[m+1]&&w[m+1]==="="||x==="-"||/[A-Za-z]/.test(w[m])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(x)||w[m+1]&&w[m+1].match(/\W/))break}return h}function Se(d){return s["unknown-options-as-args"]&&At(d)}function At(d){return d=d.replace(/^-{3,}/,"--"),d.match(v)||Qe(d)?!1:!Fe(d,/^-+([^=]+?)=[\s\S]*$/,D,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function Ie(d){return !R(d,p.bools)&&!R(d,p.counts)&&`${d}`in a?a[d]:ut(zr(d))}function ut(d){return {[Ne.BOOLEAN]:!0,[Ne.STRING]:"",[Ne.NUMBER]:void 0,[Ne.ARRAY]:[]}[d]}function zr(d){let h=Ne.BOOLEAN;return R(d,p.strings)?h=Ne.STRING:R(d,p.numbers)?h=Ne.NUMBER:R(d,p.bools)?h=Ne.BOOLEAN:R(d,p.arrays)&&(h=Ne.ARRAY),h}function ze(d){return d===void 0}function Fg(){Object.keys(p.counts).find(d=>R(d,p.arrays)?($=Error(b("Invalid configuration: %s, opts.count excludes opts.array.",d)),!0):R(d,p.nargs)?($=Error(b("Invalid configuration: %s, opts.count excludes opts.narg.",d)),!0):!1);}return {aliases:Object.assign({},p.aliases),argv:Object.assign(ne,U),configuration:s,defaulted:Object.assign({},y),error:$,newAliases:Object.assign({},g)}}};function Ov(e){let t=[],r=Object.create(null),n=!0;for(Object.keys(e).forEach(function(o){t.push([].concat(e[o],o));});n;){n=!1;for(let o=0;o<t.length;o++)for(let i=o+1;i<t.length;i++)if(t[o].filter(function(a){return t[i].indexOf(a)!==-1}).length){t[o]=t[o].concat(t[i]),t.splice(i,1),n=!0;break}}return t.forEach(function(o){o=o.filter(function(s,a,c){return c.indexOf(s)===a});let i=o.pop();i!==void 0&&typeof i=="string"&&(r[i]=o);}),r}function vs(e){return e!==void 0?e+1:1}function Td(e){return e==="__proto__"?"___proto___":e}var Dd=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):10;if(process&&process.version&&Number(process.version.match(/v([^.]+)/)[1])<Dd)throw Error(`yargs parser supports a minimum Node.js version of ${Dd}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var Lv=process?process.env:{},Fd=new Os({cwd:process.cwd,env:()=>Lv,format:Ev.format,normalize:Pd.normalize,resolve:Pd.resolve,require:e=>{if(typeof chunkTKGT252T_js.a<"u")return chunkTKGT252T_js.a(e);if(e.match(/\.json$/))return xv.readFileSync(e,"utf8");throw Error("only .json config files are supported in ESM")}}),Er=function(t,r){return Fd.parse(t.slice(),r).argv};Er.detailed=function(e,t){return Fd.parse(e.slice(),t)};Er.camelCase=wr;Er.decamelize=Nd;Er.looksLikeNumber=$d;_d.exports=Er;});var Gd=chunkTKGT252T_js.c((uF,As)=>{var Bd=e=>typeof e=="object"&&e!==null,Ud=Symbol("skip"),jd=e=>Bd(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),Ls=(e,t,r,n=new WeakMap)=>{if(r={deep:!1,target:{},...r},n.has(e))return n.get(e);n.set(e,r.target);let{target:o}=r;delete r.target;let i=s=>s.map(a=>jd(a)?Ls(a,t,r,n):a);if(Array.isArray(e))return i(e);for(let[s,a]of Object.entries(e)){let c=t(s,a,e);if(c===Ud)continue;let[l,u,{shouldRecurse:f=!0}={}]=c;l!=="__proto__"&&(r.deep&&f&&jd(u)&&(u=Array.isArray(u)?i(u):Ls(u,t,r,n)),o[l]=u);}return o};As.exports=(e,t,r)=>{if(!Bd(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return Ls(e,t,r)};As.exports.mapObjectSkip=Ud;});var qd=chunkTKGT252T_js.c((lF,Cs)=>{var Av=e=>{let t=!1,r=!1,n=!1;for(let o=0;o<e.length;o++){let i=e[o];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.slice(0,o)+"-"+e.slice(o),t=!1,n=r,r=!0,o++):r&&n&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.slice(0,o-1)+"-"+e.slice(o-1),n=r,r=!1,t=!0):(t=i.toLowerCase()===i&&i.toUpperCase()!==i,n=r,r=i.toUpperCase()===i&&i.toLowerCase()!==i);}return e},kd=(e,t)=>{if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);let r=o=>t.pascalCase?o.charAt(0).toUpperCase()+o.slice(1):o;return Array.isArray(e)?e=e.map(o=>o.trim()).filter(o=>o.length).join("-"):e=e.trim(),e.length===0?"":e.length===1?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=Av(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,i)=>i.toUpperCase()).replace(/\d+(\w|$)/g,o=>o.toUpperCase()),r(e))};Cs.exports=kd;Cs.exports.default=kd;});var Wd=chunkTKGT252T_js.c((fF,zd)=>{var Is=class{constructor(t={}){if(!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=t.maxSize,this.cache=new Map,this.oldCache=new Map,this._size=0;}_set(t,r){this.cache.set(t,r),this._size++,this._size>=this.maxSize&&(this._size=0,this.oldCache=this.cache,this.cache=new Map);}get(t){if(this.cache.has(t))return this.cache.get(t);if(this.oldCache.has(t)){let r=this.oldCache.get(t);return this.oldCache.delete(t),this._set(t,r),r}}set(t,r){return this.cache.has(t)?this.cache.set(t,r):this._set(t,r),this}has(t){return this.cache.has(t)||this.oldCache.has(t)}peek(t){if(this.cache.has(t))return this.cache.get(t);if(this.oldCache.has(t))return this.oldCache.get(t)}delete(t){let r=this.cache.delete(t);return r&&this._size--,this.oldCache.delete(t)||r}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0;}*keys(){for(let[t]of this)yield t;}*values(){for(let[,t]of this)yield t;}*[Symbol.iterator](){for(let t of this.cache)yield t;for(let t of this.oldCache){let[r]=t;this.cache.has(r)||(yield t);}}get size(){let t=0;for(let r of this.oldCache.keys())this.cache.has(r)||t++;return this._size+t}};zd.exports=Is;});var Kd=chunkTKGT252T_js.c((pF,Xd)=>{var Vd=Gd(),Cv=qd(),Iv=Wd(),Rv=(e,t)=>e.some(r=>typeof r=="string"?r===t:(r.lastIndex=0,r.test(t))),Rs=new Iv({maxSize:1e5}),Hd=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),Yd=(e,t)=>{if(!Hd(e))return e;t={deep:!1,pascalCase:!1,...t};let{exclude:r,pascalCase:n,stopPaths:o,deep:i}=t,s=new Set(o),a=c=>(l,u)=>{if(i&&Hd(u)){let f=c===void 0?l:`${c}.${l}`;s.has(f)||(u=Vd(u,a(f)));}if(!(r&&Rv(r,l))){let f=n?`${l}_`:l;if(Rs.has(f))l=Rs.get(f);else {let g=Cv(l,{pascalCase:n});l.length<100&&Rs.set(f,g),l=g;}}return [l,u]};return Vd(e,a(void 0))};Xd.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map(r=>Yd(e[r],t)):Yd(e,t);});var Ps=chunkTKGT252T_js.c((dF,Jd)=>{Jd.exports=function(e,t){if(typeof e!="string")throw new TypeError("Expected a string");return t=typeof t>"u"?"_":t,e.replace(/([a-z\d])([A-Z])/g,"$1"+t+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+t+"$2").toLowerCase()};});var Qd=chunkTKGT252T_js.c((hF,Zd)=>{Zd.exports=function(e,t){for(var r={},n=Object.keys(e),o=0;o<n.length;o++){var i=n[o],s=t(i,e[i],e);r[s[0]]=s[1];}return r};});var th=chunkTKGT252T_js.c((mF,eh)=>{var Pv=Qd(),Tv=Ps();eh.exports=function(e,t,r){typeof t!="string"&&(r=t,t=null),r=r||{},t=t||r.separator;var n=r.exclude||[];return Pv(e,function(o,i){return o=n.indexOf(o)===-1?Tv(o,t):o,[o,i]})};});var rh=chunkTKGT252T_js.c((gF,no)=>{no.exports=e=>e.replace(/^[\r\n]+/,"").replace(/[\r\n]+$/,"");no.exports.start=e=>e.replace(/^[\r\n]+/,"");no.exports.end=e=>{let t=e.length;for(;t>0&&(e[t-1]==="\r"||e[t-1]===`
|
|
29
|
+
`);)t--;return t<e.length?e.slice(0,t):e};});var oh=chunkTKGT252T_js.c((yF,nh)=>{nh.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0};});var sh=chunkTKGT252T_js.c((bF,ih)=>{var Dv=oh();ih.exports=e=>{let t=Dv(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")};});var ch=chunkTKGT252T_js.c((SF,ah)=>{ah.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))};});var lh=chunkTKGT252T_js.c((wF,uh)=>{var Nv=sh(),$v=ch();uh.exports=(e,t=0,r)=>$v(Nv(e),t,r);});var ph=chunkTKGT252T_js.c((EF,Ts)=>{var fh=(e,...t)=>new Promise(r=>{r(e(...t));});Ts.exports=fh;Ts.exports.default=fh;});var hh=chunkTKGT252T_js.c((xF,Ds)=>{var Fv=ph(),dh=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,n=()=>{r--,t.length>0&&t.shift()();},o=(a,c,...l)=>{r++;let u=Fv(a,...l);c(u),u.then(n,n);},i=(a,c,...l)=>{r<e?o(a,c,...l):t.push(o.bind(null,a,c,...l));},s=(a,...c)=>new Promise(l=>i(a,l,...c));return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0;}}}),s};Ds.exports=dh;Ds.exports.default=dh;});var yh=chunkTKGT252T_js.c((vF,Ns)=>{var mh=hh(),oo=class extends Error{constructor(t){super(),this.value=t;}},_v=async(e,t)=>t(await e),Mv=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new oo(t[0]);return !1},gh=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=mh(r.concurrency),o=[...e].map(s=>[s,n(_v,s,t)]),i=mh(r.preserveOrder?1:1/0);try{await Promise.all(o.map(s=>i(Mv,s)));}catch(s){if(s instanceof oo)return s.value;throw s}};Ns.exports=gh;Ns.exports.default=gh;});var vh=chunkTKGT252T_js.c((OF,$s)=>{var bh=chunkTKGT252T_js.a("path"),io=chunkTKGT252T_js.a("fs"),{promisify:Sh}=chunkTKGT252T_js.a("util"),jv=yh(),Bv=Sh(io.stat),Uv=Sh(io.lstat),wh={directory:"isDirectory",file:"isFile"};function Eh({type:e}){if(!(e in wh))throw new Error(`Invalid type specified: ${e}`)}var xh=(e,t)=>e===void 0||t[wh[e]]();$s.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},Eh(t);let r=t.allowSymlinks?Bv:Uv;return jv(e,async n=>{try{let o=await r(bh.resolve(t.cwd,n));return xh(t.type,o)}catch{return !1}},t)};$s.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},Eh(t);let r=t.allowSymlinks?io.statSync:io.lstatSync;for(let n of e)try{let o=r(bh.resolve(t.cwd,n));if(xh(t.type,o))return n}catch{}};});var Lh=chunkTKGT252T_js.c((LF,Fs)=>{var Oh=chunkTKGT252T_js.a("fs"),{promisify:Gv}=chunkTKGT252T_js.a("util"),kv=Gv(Oh.access);Fs.exports=async e=>{try{return await kv(e),!0}catch{return !1}};Fs.exports.sync=e=>{try{return Oh.accessSync(e),!0}catch{return !1}};});var Ch=chunkTKGT252T_js.c((AF,kt)=>{var ot=chunkTKGT252T_js.a("path"),so=vh(),Ah=Lh(),_s=Symbol("findUp.stop");kt.exports=async(e,t={})=>{let r=ot.resolve(t.cwd||""),{root:n}=ot.parse(r),o=[].concat(e),i=async s=>{if(typeof e!="function")return so(o,s);let a=await e(s.cwd);return typeof a=="string"?so([a],s):a};for(;;){let s=await i({...t,cwd:r});if(s===_s)return;if(s)return ot.resolve(r,s);if(r===n)return;r=ot.dirname(r);}};kt.exports.sync=(e,t={})=>{let r=ot.resolve(t.cwd||""),{root:n}=ot.parse(r),o=[].concat(e),i=s=>{if(typeof e!="function")return so.sync(o,s);let a=e(s.cwd);return typeof a=="string"?so.sync([a],s):a};for(;;){let s=i({...t,cwd:r});if(s===_s)return;if(s)return ot.resolve(r,s);if(r===n)return;r=ot.dirname(r);}};kt.exports.exists=Ah;kt.exports.sync.exists=Ah.sync;kt.exports.stop=_s;});var Rh=chunkTKGT252T_js.c((CF,Ih)=>{Ih.exports=function(t){return t?t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function:!1};});var Th=chunkTKGT252T_js.c((IF,Ph)=>{var qv=chunkTKGT252T_js.a("util"),zv=Rh(),Ms=function(t,r){(!t||t.constructor!==String)&&(r=t||{},t=Error.name);var n=function o(i){if(!this)return new o(i);i=i instanceof Error?i.message:i||this.message,Error.call(this,i),Error.captureStackTrace(this,n),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var u=i.split(/\r?\n/g);for(var f in r)if(r.hasOwnProperty(f)){var g=r[f];"message"in g&&(u=g.message(this[f],u)||u,zv(u)||(u=[u]));}return u.join(`
|
|
30
|
+
`)},set:function(u){i=u;}});var s=null,a=Object.getOwnPropertyDescriptor(this,"stack"),c=a.get,l=a.value;delete a.value,delete a.writable,a.set=function(u){s=u;},a.get=function(){var u=(s||(c?c.call(this):l)).split(/\r?\n+/g);s||(u[0]=this.name+": "+this.message);var f=1;for(var g in r)if(r.hasOwnProperty(g)){var y=r[g];if("line"in y){var b=y.line(this[g]);b&&u.splice(f++,0," "+b);}"stack"in y&&y.stack(this[g],u);}return u.join(`
|
|
31
|
+
`)},Object.defineProperty(this,"stack",a);};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):qv.inherits(n,Error),n};Ms.append=function(e,t){return {message:function(r,n){return r=r||t,r&&(n[0]+=" "+e.replace("%s",r.toString())),n}}};Ms.line=function(e,t){return {line:function(r){return r=r||t,r?e.replace("%s",r.toString()):null}}};Ph.exports=Ms;});var $h=chunkTKGT252T_js.c((RF,Nh)=>{var Wv=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return "0x"+(t.length%2?"0":"")+t},Vv=(e,t,r)=>{if(!t)return {message:e.message+" while parsing empty string",position:0};let n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),o=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,i=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${Wv(n[1])})`):e.message;if(o!=null){let s=o<=r?0:o-r,a=o+r>=t.length?t.length:o+r,c=(s===0?"":"...")+t.slice(s,a)+(a===t.length?"":"...");return {message:i+` while parsing ${t===c?"":"near "}${JSON.stringify(c)}`,position:o}}else return {message:i+` while parsing '${t.slice(0,r*2)}'`,position:0}},ao=class extends SyntaxError{constructor(t,r,n,o){n=n||20;let i=Vv(t,r,n);super(i.message),Object.assign(this,i),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,o||this.constructor);}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},Hv=Symbol.for("indent"),Yv=Symbol.for("newline"),Xv=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,Kv=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,co=(e,t,r)=>{let n=Dh(e);r=r||20;try{let[,o=`
|
|
32
|
+
`,i=" "]=n.match(Kv)||n.match(Xv)||[,"",""],s=JSON.parse(n,t);return s&&typeof s=="object"&&(s[Yv]=o,s[Hv]=i),s}catch(o){if(typeof e!="string"&&!Buffer.isBuffer(e)){let i=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${i?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:o})}throw new ao(o,n,r,co)}},Dh=e=>String(e).replace(/^\uFEFF/,"");Nh.exports=co;co.JSONParseError=ao;co.noExceptions=(e,t)=>{try{return JSON.parse(Dh(e),t)}catch{}};});var Mh=chunkTKGT252T_js.c(xr=>{xr.__esModule=!0;xr.LinesAndColumns=void 0;var uo=`
|
|
33
|
+
`,Fh="\r",_h=function(){function e(t){this.string=t;for(var r=[0],n=0;n<t.length;)switch(t[n]){case uo:n+=uo.length,r.push(n);break;case Fh:n+=Fh.length,t[n]===uo&&(n+=uo.length),r.push(n);break;default:n++;break}this.offsets=r;}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var r=0,n=this.offsets;n[r+1]<=t;)r++;var o=t-n[r];return {line:r,column:o}},e.prototype.indexForLocation=function(t){var r=t.line,n=t.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},e.prototype.lengthOfLine=function(t){var r=this.offsets[t],n=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return n-r},e}();xr.LinesAndColumns=_h;xr.default=_h;});var Uh=chunkTKGT252T_js.c((TF,js)=>{var fo=process||{},jh=fo.argv||[],lo=fo.env||{},Jv=!(lo.NO_COLOR||jh.includes("--no-color"))&&(!!lo.FORCE_COLOR||jh.includes("--color")||fo.platform==="win32"||(fo.stdout||{}).isTTY&&lo.TERM!=="dumb"||!!lo.CI),Zv=(e,t,r=e)=>n=>{let o=""+n,i=o.indexOf(t,e.length);return ~i?e+Qv(o,t,r,i)+t:e+o+t},Qv=(e,t,r,n)=>{let o="",i=0;do o+=e.substring(i,n)+r,i=n+t.length,n=e.indexOf(t,i);while(~n);return o+e.substring(i)},Bh=(e=Jv)=>{let t=e?Zv:()=>String;return {isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};js.exports=Bh();js.exports.createColors=Bh;});var Gh=chunkTKGT252T_js.c(po=>{Object.defineProperty(po,"__esModule",{value:!0});po.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;po.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t};});var Vh=chunkTKGT252T_js.c(vr=>{Object.defineProperty(vr,"__esModule",{value:!0});vr.isIdentifierChar=Wh;vr.isIdentifierName=nO;vr.isIdentifierStart=zh;var Us="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",kh="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",eO=new RegExp("["+Us+"]"),tO=new RegExp("["+Us+kh+"]");Us=kh=null;var qh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],rO=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function Bs(e,t){let r=65536;for(let n=0,o=t.length;n<o;n+=2){if(r+=t[n],r>e)return !1;if(r+=t[n+1],r>=e)return !0}return !1}function zh(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&eO.test(String.fromCharCode(e)):Bs(e,qh)}function Wh(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&tO.test(String.fromCharCode(e)):Bs(e,qh)||Bs(e,rO)}function nO(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((n&64512)===55296&&r+1<e.length){let o=e.charCodeAt(++r);(o&64512)===56320&&(n=65536+((n&1023)<<10)+(o&1023));}if(t){if(t=!1,!zh(n))return !1}else if(!Wh(n))return !1}return !t}});var Kh=chunkTKGT252T_js.c(yt=>{Object.defineProperty(yt,"__esModule",{value:!0});yt.isKeyword=cO;yt.isReservedWord=Hh;yt.isStrictBindOnlyReservedWord=Xh;yt.isStrictBindReservedWord=aO;yt.isStrictReservedWord=Yh;var Gs={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},oO=new Set(Gs.keyword),iO=new Set(Gs.strict),sO=new Set(Gs.strictBind);function Hh(e,t){return t&&e==="await"||e==="enum"}function Yh(e,t){return Hh(e,t)||iO.has(e)}function Xh(e){return sO.has(e)}function aO(e,t){return Yh(e,t)||Xh(e)}function cO(e){return oO.has(e)}});var Jh=chunkTKGT252T_js.c(Ge=>{Object.defineProperty(Ge,"__esModule",{value:!0});Object.defineProperty(Ge,"isIdentifierChar",{enumerable:!0,get:function(){return ks.isIdentifierChar}});Object.defineProperty(Ge,"isIdentifierName",{enumerable:!0,get:function(){return ks.isIdentifierName}});Object.defineProperty(Ge,"isIdentifierStart",{enumerable:!0,get:function(){return ks.isIdentifierStart}});Object.defineProperty(Ge,"isKeyword",{enumerable:!0,get:function(){return Or.isKeyword}});Object.defineProperty(Ge,"isReservedWord",{enumerable:!0,get:function(){return Or.isReservedWord}});Object.defineProperty(Ge,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Or.isStrictBindOnlyReservedWord}});Object.defineProperty(Ge,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Or.isStrictBindReservedWord}});Object.defineProperty(Ge,"isStrictReservedWord",{enumerable:!0,get:function(){return Or.isStrictReservedWord}});var ks=Vh(),Or=Kh();});var am=chunkTKGT252T_js.c(Lr=>{Object.defineProperty(Lr,"__esModule",{value:!0});var qs=Uh(),Zh=Gh(),Qh=Jh();function uO(){return typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:qs.isColorSupported}var ho=(e,t)=>r=>e(t(r));function rm(e){return {keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:ho(ho(e.white,e.bgRed),e.bold),gutter:e.gray,marker:ho(e.red,e.bold),message:ho(e.red,e.bold),reset:e.reset}}var lO=rm(qs.createColors(!0)),fO=rm(qs.createColors(!1));function nm(e){return e?lO:fO}var pO=new Set(["as","async","from","get","of","set"]),dO=/\r\n|[\n\r\u2028\u2029]/,hO=/^[()[\]{}]$/,om,mO=/^[a-z][\w-]*$/i,gO=function(e,t,r){if(e.type==="name"){let n=e.value;if(Qh.isKeyword(n)||Qh.isStrictReservedWord(n,!0)||pO.has(n))return "keyword";if(mO.test(n)&&(r[t-1]==="<"||r.slice(t-2,t)==="</"))return "jsxIdentifier";let o=String.fromCodePoint(n.codePointAt(0));if(o!==o.toLowerCase())return "capitalized"}return e.type==="punctuator"&&hO.test(e.value)?"bracket":e.type==="invalid"&&(e.value==="@"||e.value==="#")?"punctuator":e.type};om=function*(e){let t;for(;t=Zh.default.exec(e);){let r=Zh.matchToToken(t);yield {type:gO(r,t.index,e),value:r.value};}};function im(e){if(e==="")return "";let t=nm(!0),r="";for(let{type:n,value:o}of om(e))n in t?r+=o.split(dO).map(i=>t[n](i)).join(`
|
|
34
|
+
`):r+=o;return r}var em=!1,tm=/\r\n|[\n\r\u2028\u2029]/;function yO(e,t,r){let n=Object.assign({column:0,line:-1},e.start),o=Object.assign({},n,e.end),{linesAbove:i=2,linesBelow:s=3}=r||{},a=n.line,c=n.column,l=o.line,u=o.column,f=Math.max(a-(i+1),0),g=Math.min(t.length,l+s);a===-1&&(f=0),l===-1&&(g=t.length);let y=l-a,b={};if(y)for(let p=0;p<=y;p++){let v=p+a;if(!c)b[v]=!0;else if(p===0){let D=t[v-1].length;b[v]=[c,D-c+1];}else if(p===y)b[v]=[0,u];else {let D=t[v-p].length;b[v]=[0,D];}}else c===u?c?b[a]=[c,0]:b[a]=!0:b[a]=[c,u-c];return {start:f,end:g,markerLines:b}}function sm(e,t,r={}){let n=r.forceColor||uO()&&r.highlightCode,o=nm(n),i=e.split(tm),{start:s,end:a,markerLines:c}=yO(t,i,r),l=t.start&&typeof t.start.column=="number",u=String(a).length,g=(n?im(e):e).split(tm,a).slice(s,a).map((y,b)=>{let p=s+1+b,D=` ${` ${p}`.slice(-u)} |`,$=c[p],k=!c[p+1];if($){let U="";if(Array.isArray($)){let ne=y.slice(0,Math.max($[0]-1,0)).replace(/[^\t]/g," "),J=$[1]||1;U=[`
|
|
35
|
+
`,o.gutter(D.replace(/\d/g," "))," ",ne,o.marker("^").repeat(J)].join(""),k&&r.message&&(U+=" "+o.message(r.message));}return [o.marker(">"),o.gutter(D),y.length>0?` ${y}`:"",U].join("")}else return ` ${o.gutter(D)}${y.length>0?` ${y}`:""}`}).join(`
|
|
36
|
+
`);return r.message&&!l&&(g=`${" ".repeat(u+1)}${r.message}
|
|
37
|
+
${g}`),n?o.reset(g):g}function bO(e,t,r,n={}){if(!em){em=!0;let i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(i,"DeprecationWarning");else {let s=new Error(i);s.name="DeprecationWarning",console.warn(new Error(i));}}return r=Math.max(r,0),sm(e,{start:{column:r,line:t}},n)}Lr.codeFrameColumns=sm;Lr.default=bO;Lr.highlight=im;});var fm=chunkTKGT252T_js.c((MF,lm)=>{var zs=Th(),SO=$h(),{default:wO}=Mh(),{codeFrameColumns:EO}=am(),cm=zs("JSONError",{fileName:zs.append("in %s"),codeFrame:zs.append(`
|
|
38
|
+
|
|
39
|
+
%s
|
|
40
|
+
`)}),um=(e,t,r)=>{typeof t=="string"&&(r=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw SO(e,t),n}}catch(n){n.message=n.message.replace(/\n/g,"");let o=n.message.match(/in JSON at position (\d+) while parsing/),i=new cm(n);if(r&&(i.fileName=r),o&&o.length>0){let s=new wO(e),a=Number(o[1]),c=s.locationForIndex(a),l=EO(e,{start:{line:c.line+1,column:c.column+1}},{highlightCode:!0});i.codeFrame=l;}throw i}};um.JSONError=cm;lm.exports=um;});var Im=chunkTKGT252T_js.c((_,Cm)=>{_=Cm.exports=W;var Y;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Y=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:Y=function(){};_.SEMVER_SPEC_VERSION="2.0.0";var Ar=256,mo=Number.MAX_SAFE_INTEGER||9007199254740991,Ws=16,xO=Ar-6,Cr=_.re=[],K=_.safeRe=[],E=_.src=[],z=0,Ks="[a-zA-Z0-9-]",Vs=[["\\s",1],["\\d",Ar],[Ks,xO]];function Eo(e){for(var t=0;t<Vs.length;t++){var r=Vs[t][0],n=Vs[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e}var qt=z++;E[qt]="0|[1-9]\\d*";var zt=z++;E[zt]="\\d+";var Js=z++;E[Js]="\\d*[a-zA-Z-]"+Ks+"*";var dm=z++;E[dm]="("+E[qt]+")\\.("+E[qt]+")\\.("+E[qt]+")";var hm=z++;E[hm]="("+E[zt]+")\\.("+E[zt]+")\\.("+E[zt]+")";var Hs=z++;E[Hs]="(?:"+E[qt]+"|"+E[Js]+")";var Ys=z++;E[Ys]="(?:"+E[zt]+"|"+E[Js]+")";var Zs=z++;E[Zs]="(?:-("+E[Hs]+"(?:\\."+E[Hs]+")*))";var Qs=z++;E[Qs]="(?:-?("+E[Ys]+"(?:\\."+E[Ys]+")*))";var Xs=z++;E[Xs]=Ks+"+";var Rr=z++;E[Rr]="(?:\\+("+E[Xs]+"(?:\\."+E[Xs]+")*))";var ea=z++,mm="v?"+E[dm]+E[Zs]+"?"+E[Rr]+"?";E[ea]="^"+mm+"$";var ta="[v=\\s]*"+E[hm]+E[Qs]+"?"+E[Rr]+"?",ra=z++;E[ra]="^"+ta+"$";var Xt=z++;E[Xt]="((?:<|>)?=?)";var go=z++;E[go]=E[zt]+"|x|X|\\*";var yo=z++;E[yo]=E[qt]+"|x|X|\\*";var bt=z++;E[bt]="[v=\\s]*("+E[yo]+")(?:\\.("+E[yo]+")(?:\\.("+E[yo]+")(?:"+E[Zs]+")?"+E[Rr]+"?)?)?";var Vt=z++;E[Vt]="[v=\\s]*("+E[go]+")(?:\\.("+E[go]+")(?:\\.("+E[go]+")(?:"+E[Qs]+")?"+E[Rr]+"?)?)?";var gm=z++;E[gm]="^"+E[Xt]+"\\s*"+E[bt]+"$";var ym=z++;E[ym]="^"+E[Xt]+"\\s*"+E[Vt]+"$";var bm=z++;E[bm]="(?:^|[^\\d])(\\d{1,"+Ws+"})(?:\\.(\\d{1,"+Ws+"}))?(?:\\.(\\d{1,"+Ws+"}))?(?:$|[^\\d])";var xo=z++;E[xo]="(?:~>?)";var Ht=z++;E[Ht]="(\\s*)"+E[xo]+"\\s+";Cr[Ht]=new RegExp(E[Ht],"g");K[Ht]=new RegExp(Eo(E[Ht]),"g");var vO="$1~",Sm=z++;E[Sm]="^"+E[xo]+E[bt]+"$";var wm=z++;E[wm]="^"+E[xo]+E[Vt]+"$";var vo=z++;E[vo]="(?:\\^)";var Yt=z++;E[Yt]="(\\s*)"+E[vo]+"\\s+";Cr[Yt]=new RegExp(E[Yt],"g");K[Yt]=new RegExp(Eo(E[Yt]),"g");var OO="$1^",Em=z++;E[Em]="^"+E[vo]+E[bt]+"$";var xm=z++;E[xm]="^"+E[vo]+E[Vt]+"$";var na=z++;E[na]="^"+E[Xt]+"\\s*("+ta+")$|^$";var oa=z++;E[oa]="^"+E[Xt]+"\\s*("+mm+")$|^$";var St=z++;E[St]="(\\s*)"+E[Xt]+"\\s*("+ta+"|"+E[bt]+")";Cr[St]=new RegExp(E[St],"g");K[St]=new RegExp(Eo(E[St]),"g");var LO="$1$2$3",vm=z++;E[vm]="^\\s*("+E[bt]+")\\s+-\\s+("+E[bt]+")\\s*$";var Om=z++;E[Om]="^\\s*("+E[Vt]+")\\s+-\\s+("+E[Vt]+")\\s*$";var Lm=z++;E[Lm]="(<|>)?=?\\s*\\*";for(ke=0;ke<z;ke++)Y(ke,E[ke]),Cr[ke]||(Cr[ke]=new RegExp(E[ke]),K[ke]=new RegExp(Eo(E[ke])));var ke;_.parse=wt;function wt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof W)return e;if(typeof e!="string"||e.length>Ar)return null;var r=t.loose?K[ra]:K[ea];if(!r.test(e))return null;try{return new W(e,t)}catch{return null}}_.valid=AO;function AO(e,t){var r=wt(e,t);return r?r.version:null}_.clean=CO;function CO(e,t){var r=wt(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}_.SemVer=W;function W(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof W){if(e.loose===t.loose)return e;e=e.version;}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>Ar)throw new TypeError("version is longer than "+Ar+" characters");if(!(this instanceof W))return new W(e,t);Y("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?K[ra]:K[ea]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>mo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>mo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>mo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var o=+n;if(o>=0&&o<mo)return o}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format();}W.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};W.prototype.toString=function(){return this.version};W.prototype.compare=function(e){return Y("SemVer.compare",this.version,this.options,e),e instanceof W||(e=new W(e,this.options)),this.compareMain(e)||this.comparePre(e)};W.prototype.compareMain=function(e){return e instanceof W||(e=new W(e,this.options)),Wt(this.major,e.major)||Wt(this.minor,e.minor)||Wt(this.patch,e.patch)};W.prototype.comparePre=function(e){if(e instanceof W||(e=new W(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(Y("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return -1;if(r===n)continue;return Wt(r,n)}while(++t)};W.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else {for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0);}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this};_.inc=IO;function IO(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new W(e,r).inc(t,n).version}catch{return null}}_.diff=RO;function RO(e,t){if(ia(e,t))return null;var r=wt(e),n=wt(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var i="prerelease";}for(var s in r)if((s==="major"||s==="minor"||s==="patch")&&r[s]!==n[s])return o+s;return i}_.compareIdentifiers=Wt;var pm=/^[0-9]+$/;function Wt(e,t){var r=pm.test(e),n=pm.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}_.rcompareIdentifiers=PO;function PO(e,t){return Wt(t,e)}_.major=TO;function TO(e,t){return new W(e,t).major}_.minor=DO;function DO(e,t){return new W(e,t).minor}_.patch=NO;function NO(e,t){return new W(e,t).patch}_.compare=Ke;function Ke(e,t,r){return new W(e,r).compare(new W(t,r))}_.compareLoose=$O;function $O(e,t){return Ke(e,t,!0)}_.rcompare=FO;function FO(e,t,r){return Ke(t,e,r)}_.sort=_O;function _O(e,t){return e.sort(function(r,n){return _.compare(r,n,t)})}_.rsort=MO;function MO(e,t){return e.sort(function(r,n){return _.rcompare(r,n,t)})}_.gt=Ir;function Ir(e,t,r){return Ke(e,t,r)>0}_.lt=bo;function bo(e,t,r){return Ke(e,t,r)<0}_.eq=ia;function ia(e,t,r){return Ke(e,t,r)===0}_.neq=Am;function Am(e,t,r){return Ke(e,t,r)!==0}_.gte=sa;function sa(e,t,r){return Ke(e,t,r)>=0}_.lte=aa;function aa(e,t,r){return Ke(e,t,r)<=0}_.cmp=So;function So(e,t,r,n){switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return ia(e,r,n);case"!=":return Am(e,r,n);case">":return Ir(e,r,n);case">=":return sa(e,r,n);case"<":return bo(e,r,n);case"<=":return aa(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}_.Comparator=Le;function Le(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Le){if(e.loose===!!t.loose)return e;e=e.value;}if(!(this instanceof Le))return new Le(e,t);e=e.trim().split(/\s+/).join(" "),Y("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Pr?this.value="":this.value=this.operator+this.semver.version,Y("comp",this);}var Pr={};Le.prototype.parse=function(e){var t=this.options.loose?K[na]:K[oa],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1],this.operator==="="&&(this.operator=""),r[2]?this.semver=new W(r[2],this.options.loose):this.semver=Pr;};Le.prototype.toString=function(){return this.value};Le.prototype.test=function(e){return Y("Comparator.test",e,this.options.loose),this.semver===Pr?!0:(typeof e=="string"&&(e=new W(e,this.options)),So(e,this.operator,this.semver,this.options))};Le.prototype.intersects=function(e,t){if(!(e instanceof Le))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return r=new re(e.value,t),wo(this.value,r,t);if(e.operator==="")return r=new re(this.value,t),wo(e.semver,r,t);var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),o=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),i=this.semver.version===e.semver.version,s=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),a=So(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),c=So(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||o||i&&s||a||c};_.Range=re;function re(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof re)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new re(e.raw,t);if(e instanceof Le)return new re(e.value,t);if(!(this instanceof re))return new re(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format();}re.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};re.prototype.toString=function(){return this.range};re.prototype.parseRange=function(e){var t=this.options.loose,r=t?K[Om]:K[vm];e=e.replace(r,HO),Y("hyphen replace",e),e=e.replace(K[St],LO),Y("comparator trim",e,K[St]),e=e.replace(K[Ht],vO),e=e.replace(K[Yt],OO);var n=t?K[na]:K[oa],o=e.split(" ").map(function(i){return BO(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter(function(i){return !!i.match(n)})),o=o.map(function(i){return new Le(i,this.options)},this),o};re.prototype.intersects=function(e,t){if(!(e instanceof re))throw new TypeError("a Range is required");return this.set.some(function(r){return r.every(function(n){return e.set.some(function(o){return o.every(function(i){return n.intersects(i,t)})})})})};_.toComparators=jO;function jO(e,t){return new re(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function BO(e,t){return Y("comp",e,t),e=kO(e,t),Y("caret",e),e=UO(e,t),Y("tildes",e),e=zO(e,t),Y("xrange",e),e=VO(e,t),Y("stars",e),e}function be(e){return !e||e.toLowerCase()==="x"||e==="*"}function UO(e,t){return e.trim().split(/\s+/).map(function(r){return GO(r,t)}).join(" ")}function GO(e,t){var r=t.loose?K[wm]:K[Sm];return e.replace(r,function(n,o,i,s,a){Y("tilde",e,n,o,i,s,a);var c;return be(o)?c="":be(i)?c=">="+o+".0.0 <"+(+o+1)+".0.0":be(s)?c=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0":a?(Y("replaceTilde pr",a),c=">="+o+"."+i+"."+s+"-"+a+" <"+o+"."+(+i+1)+".0"):c=">="+o+"."+i+"."+s+" <"+o+"."+(+i+1)+".0",Y("tilde return",c),c})}function kO(e,t){return e.trim().split(/\s+/).map(function(r){return qO(r,t)}).join(" ")}function qO(e,t){Y("caret",e,t);var r=t.loose?K[xm]:K[Em];return e.replace(r,function(n,o,i,s,a){Y("caret",e,n,o,i,s,a);var c;return be(o)?c="":be(i)?c=">="+o+".0.0 <"+(+o+1)+".0.0":be(s)?o==="0"?c=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0":c=">="+o+"."+i+".0 <"+(+o+1)+".0.0":a?(Y("replaceCaret pr",a),o==="0"?i==="0"?c=">="+o+"."+i+"."+s+"-"+a+" <"+o+"."+i+"."+(+s+1):c=">="+o+"."+i+"."+s+"-"+a+" <"+o+"."+(+i+1)+".0":c=">="+o+"."+i+"."+s+"-"+a+" <"+(+o+1)+".0.0"):(Y("no pr"),o==="0"?i==="0"?c=">="+o+"."+i+"."+s+" <"+o+"."+i+"."+(+s+1):c=">="+o+"."+i+"."+s+" <"+o+"."+(+i+1)+".0":c=">="+o+"."+i+"."+s+" <"+(+o+1)+".0.0"),Y("caret return",c),c})}function zO(e,t){return Y("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return WO(r,t)}).join(" ")}function WO(e,t){e=e.trim();var r=t.loose?K[ym]:K[gm];return e.replace(r,function(n,o,i,s,a,c){Y("xRange",e,n,o,i,s,a,c);var l=be(i),u=l||be(s),f=u||be(a),g=f;return o==="="&&g&&(o=""),l?o===">"||o==="<"?n="<0.0.0":n="*":o&&g?(u&&(s=0),a=0,o===">"?(o=">=",u?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):o==="<="&&(o="<",u?i=+i+1:s=+s+1),n=o+i+"."+s+"."+a):u?n=">="+i+".0.0 <"+(+i+1)+".0.0":f&&(n=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"),Y("xRange return",n),n})}function VO(e,t){return Y("replaceStars",e,t),e.trim().replace(K[Lm],"")}function HO(e,t,r,n,o,i,s,a,c,l,u,f,g){return be(r)?t="":be(n)?t=">="+r+".0.0":be(o)?t=">="+r+"."+n+".0":t=">="+t,be(c)?a="":be(l)?a="<"+(+c+1)+".0.0":be(u)?a="<"+c+"."+(+l+1)+".0":f?a="<="+c+"."+l+"."+u+"-"+f:a="<="+a,(t+" "+a).trim()}re.prototype.test=function(e){if(!e)return !1;typeof e=="string"&&(e=new W(e,this.options));for(var t=0;t<this.set.length;t++)if(YO(this.set[t],e,this.options))return !0;return !1};function YO(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return !1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(Y(e[n].semver),e[n].semver!==Pr&&e[n].semver.prerelease.length>0){var o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return !0}return !1}return !0}_.satisfies=wo;function wo(e,t,r){try{t=new re(t,r);}catch{return !1}return t.test(e)}_.maxSatisfying=XO;function XO(e,t,r){var n=null,o=null;try{var i=new re(t,r);}catch{return null}return e.forEach(function(s){i.test(s)&&(!n||o.compare(s)===-1)&&(n=s,o=new W(n,r));}),n}_.minSatisfying=KO;function KO(e,t,r){var n=null,o=null;try{var i=new re(t,r);}catch{return null}return e.forEach(function(s){i.test(s)&&(!n||o.compare(s)===1)&&(n=s,o=new W(n,r));}),n}_.minVersion=JO;function JO(e,t){e=new re(e,t);var r=new W("0.0.0");if(e.test(r)||(r=new W("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var o=e.set[n];o.forEach(function(i){var s=new W(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!r||Ir(r,s))&&(r=s);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}});}return r&&e.test(r)?r:null}_.validRange=ZO;function ZO(e,t){try{return new re(e,t).range||"*"}catch{return null}}_.ltr=QO;function QO(e,t,r){return ca(e,t,"<",r)}_.gtr=eL;function eL(e,t,r){return ca(e,t,">",r)}_.outside=ca;function ca(e,t,r,n){e=new W(e,n),t=new re(t,n);var o,i,s,a,c;switch(r){case">":o=Ir,i=aa,s=bo,a=">",c=">=";break;case"<":o=bo,i=sa,s=Ir,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(wo(e,t,n))return !1;for(var l=0;l<t.set.length;++l){var u=t.set[l],f=null,g=null;if(u.forEach(function(y){y.semver===Pr&&(y=new Le(">=0.0.0")),f=f||y,g=g||y,o(y.semver,f.semver,n)?f=y:s(y.semver,g.semver,n)&&(g=y);}),f.operator===a||f.operator===c||(!g.operator||g.operator===a)&&i(e,g.semver))return !1;if(g.operator===c&&s(e,g.semver))return !1}return !0}_.prerelease=tL;function tL(e,t){var r=wt(e,t);return r&&r.prerelease.length?r.prerelease:null}_.intersects=rL;function rL(e,t,r){return e=new re(e,r),t=new re(t,r),e.intersects(t)}_.coerce=nL;function nL(e){if(e instanceof W)return e;if(typeof e!="string")return null;var t=e.match(K[bm]);return t==null?null:wt(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}});var ua=chunkTKGT252T_js.c((jF,oL)=>{oL.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AML-glslang","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","ASWF-Digital-Assets-1.0","ASWF-Digital-Assets-1.1","Abstyles","AdaCore-doc","Adobe-2006","Adobe-Display-PostScript","Adobe-Glyph","Adobe-Utopia","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Darwin","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-HP","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-3-Clause-Sun","BSD-3-Clause-acpica","BSD-3-Clause-flex","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-4.3RENO","BSD-4.3TAHOE","BSD-Advertising-Acknowledgement","BSD-Attribution-HPND-disclaimer","BSD-Inferno-Nettverk","BSD-Protection","BSD-Source-Code","BSD-Source-beginning-file","BSD-Systemics","BSD-Systemics-W3Works","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Charter","Bitstream-Vera","BlueOak-1.0.0","Boehm-GC","Borceux","Brian-Gladman-2-Clause","Brian-Gladman-3-Clause","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-AU","CC-BY-3.0-DE","CC-BY-3.0-IGO","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-DE","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-3.0-IGO","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CFITSIO","CMU-Mach","CMU-Mach-nodoc","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","Caldera-no-preamble","ClArtistic","Clips","Community-Spec-1.0","Condor-1.1","Cornell-Lossless-JPEG","Cronyx","Crossword","CrystalStacker","Cube","D-FSL-1.0","DEC-3-Clause","DL-DE-BY-2.0","DL-DE-ZERO-2.0","DOC","DRL-1.0","DRL-1.1","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FBM","FDK-AAC","FSFAP","FSFAP-no-warranty-disclaimer","FSFUL","FSFULLR","FSFULLRWD","FTL","Fair","Ferguson-Twofish","Frameworx-1.0","FreeBSD-DOC","FreeImage","Furuseth","GCR-docs","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","Graphics-Gems","HP-1986","HP-1989","HPND","HPND-DEC","HPND-Fenneberg-Livingston","HPND-INRIA-IMAG","HPND-Kevlin-Henney","HPND-MIT-disclaimer","HPND-Markus-Kuhn","HPND-Pbmplus","HPND-UC","HPND-doc","HPND-doc-sell","HPND-export-US","HPND-export-US-modify","HPND-sell-MIT-disclaimer-xserver","HPND-sell-regexpr","HPND-sell-variant","HPND-sell-variant-MIT-disclaimer","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IEC-Code-Components-EULA","IJG","IJG-short","IPA","IPL-1.0","ISC","ISC-Veillard","ImageMagick","Imlib2","Info-ZIP","Inner-Net-2.0","Intel","Intel-ACPI","Interbase-1.0","JPL-image","JPNIC","JSON","Jam","JasPer-2.0","Kastrup","Kazlib","Knuth-CTAN","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LOOP","LPD-document","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","LZMA-SDK-9.11-to-9.20","LZMA-SDK-9.22","Latex2e","Latex2e-translated-notice","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-1-para","Linux-man-pages-copyleft","Linux-man-pages-copyleft-2-para","Linux-man-pages-copyleft-var","Lucida-Bitmap-Fonts","MIT","MIT-0","MIT-CMU","MIT-Festival","MIT-Modern-Variant","MIT-Wu","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MIT-testregex","MITNFA","MMIXware","MPEG-SSG","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-LPL","MS-PL","MS-RL","MTLL","Mackerras-3-Clause","Mackerras-3-Clause-acknowledgment","MakeIndex","Martin-Birgmeier","McPhee-slideshow","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NICTA-1.0","NIST-PD","NIST-PD-fallback","NIST-Software","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFFIS","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OLFL-1.3","OML","OPL-1.0","OPL-UK-3.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenPBS-2.3","OpenSSL","OpenSSL-standalone","OpenVision","PADL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Pixar","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","Python-2.0.1","QPL-1.0","QPL-1.0-INRIA-2004","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SAX-PD-2.0","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SGI-OpenGL","SGP4","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SL","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSLeay-standalone","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Soundex","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","Sun-PPP","SunPro","Symlinks","TAPR-OHL-1.0","TCL","TCP-wrappers","TGPPL-1.0","TMate","TORQUE-1.1","TOSL","TPDL","TPL-1.0","TTWL","TTYP0","TU-Berlin-1.0","TU-Berlin-2.0","TermReadKey","UCAR","UCL-1.0","UMich-Merit","UPL-1.0","URT-RLE","Unicode-3.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","UnixCrypt","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Widget-Workshop","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xdebug-1.03","Xerox","Xfig","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zeeff","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","bcrypt-Solar-Designer","blessing","bzip2-1.0.6","check-cvs","checkmk","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dtoa","dvipdfm","eGenix","etalab-2.0","fwlw","gSOAP-1.3b","gnuplot","gtkbook","hdparm","iMatix","libpng-2.0","libselinux-1.0","libtiff","libutil-David-Nugent","lsof","magaz","mailprio","metamail","mpi-permissive","mpich2","mplus","pnmstitch","psfrag","psutils","python-ldap","radvd","snprintf","softSurfer","ssh-keyscan","swrule","ulem","w3m","xinetd","xkeyboard-config-Zinoviev","xlock","xpp","zlib-acknowledgement"];});var Rm=chunkTKGT252T_js.c((BF,iL)=>{iL.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-1.0+","GPL-2.0","GPL-2.0+","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0+","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.0+","LGPL-2.1","LGPL-2.1+","LGPL-3.0","LGPL-3.0+","Nunit","StandardML-NJ","bzip2-1.0.5","eCos-2.0","wxWindows"];});var Pm=chunkTKGT252T_js.c((UF,sL)=>{sL.exports=["389-exception","Asterisk-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Autoconf-exception-generic","Autoconf-exception-generic-3.0","Autoconf-exception-macro","Bison-exception-1.24","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","cryptsetup-OpenSSL-exception","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","fmt-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-2.0-note","GCC-exception-3.1","Gmsh-exception","GNAT-exception","GNOME-examples-exception","GNU-compiler-exception","gnu-javamail-exception","GPL-3.0-interface-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","i2p-gpl-java-exception","KiCad-libraries-exception","LGPL-3.0-linking-exception","libpri-OpenH323-exception","Libtool-exception","Linux-syscall-note","LLGPL","LLVM-exception","LZMA-exception","mif-exception","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","QPL-1.0-INRIA-2004-exception","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SANE-exception","SHL-2.0","SHL-2.1","stunnel-exception","SWI-exception","Swift-exception","Texinfo-exception","u-boot-exception-2.0","UBDL-exception","Universal-FOSS-exception-1.0","vsftpd-openssl-exception","WxWindows-exception-3.1","x11vnc-openssl-exception"];});var Dm=chunkTKGT252T_js.c((GF,Tm)=>{var aL=[].concat(ua()).concat(Rm()),cL=Pm();Tm.exports=function(e){var t=0;function r(){return t<e.length}function n(b){if(b instanceof RegExp){var p=e.slice(t),v=p.match(b);if(v)return t+=v[0].length,v[0]}else if(e.indexOf(b,t)===t)return t+=b.length,b}function o(){n(/[ ]*/);}function i(){for(var b,p=["WITH","AND","OR","(",")",":","+"],v=0;v<p.length&&(b=n(p[v]),!b);v++);if(b==="+"&&t>1&&e[t-2]===" ")throw new Error("Space before `+`");return b&&{type:"OPERATOR",string:b}}function s(){return n(/[A-Za-z0-9-.]+/)}function a(){var b=s();if(!b)throw new Error("Expected idstring at offset "+t);return b}function c(){if(n("DocumentRef-")){var b=a();return {type:"DOCUMENTREF",string:b}}}function l(){if(n("LicenseRef-")){var b=a();return {type:"LICENSEREF",string:b}}}function u(){var b=t,p=s();if(aL.indexOf(p)!==-1)return {type:"LICENSE",string:p};if(cL.indexOf(p)!==-1)return {type:"EXCEPTION",string:p};t=b;}function f(){return i()||c()||l()||u()}for(var g=[];r()&&(o(),!!r());){var y=f();if(!y)throw new Error("Unexpected `"+e[t]+"` at offset "+t);g.push(y);}return g};});var $m=chunkTKGT252T_js.c((kF,Nm)=>{Nm.exports=function(e){var t=0;function r(){return t<e.length}function n(){return r()?e[t]:null}function o(){if(!r())throw new Error;t++;}function i(p){var v=n();if(v&&v.type==="OPERATOR"&&p===v.string)return o(),v.string}function s(){if(i("WITH")){var p=n();if(p&&p.type==="EXCEPTION")return o(),p.string;throw new Error("Expected exception after `WITH`")}}function a(){var p=t,v="",D=n();if(D.type==="DOCUMENTREF"&&(o(),v+="DocumentRef-"+D.string+":",!i(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(D=n(),D.type==="LICENSEREF")return o(),v+="LicenseRef-"+D.string,{license:v};t=p;}function c(){var p=n();if(p&&p.type==="LICENSE"){o();var v={license:p.string};i("+")&&(v.plus=!0);var D=s();return D&&(v.exception=D),v}}function l(){var p=i("(");if(p){var v=y();if(!i(")"))throw new Error("Expected `)`");return v}}function u(){return l()||a()||c()}function f(p,v){return function D(){var $=v();if($){if(!i(p))return $;var k=D();if(!k)throw new Error("Expected expression");return {left:$,conjunction:p.toLowerCase(),right:k}}}}var g=f("AND",u),y=f("OR",g),b=y();if(!b||r())throw new Error("Syntax error");return b};});var la=chunkTKGT252T_js.c((qF,Fm)=>{var uL=Dm(),lL=$m();Fm.exports=function(e){return lL(uL(e))};});var zm=chunkTKGT252T_js.c((zF,qm)=>{var fL=la(),pL=ua();function Oo(e){try{return fL(e),!0}catch{return !1}}function km(e,t){var r=t[0].length-e[0].length;return r!==0?r:e[0].toUpperCase().localeCompare(t[0].toUpperCase())}var _m=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU LGPL","LGPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL"],["GNU Lesser General Public License","LGPL"],["GNU LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["GNU Lesser General Public License","LGPL-2.1"],["LESSER GENERAL PUBLIC LICENSE","LGPL"],["Lesser General Public License","LGPL"],["LESSER GENERAL PUBLIC LICENSE","LGPL-2.1"],["Lesser General Public License","LGPL-2.1"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["WTFGPL","WTFPL"],["-License",""]].sort(km),dL=0,hL=1,Mm=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){return e.indexOf("3.0")!==-1?e+"-or-later":e+"-only"},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return "CC-"+e},function(e){return "CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return "CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],fa=pL.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];return e[r]=e[r]||[],e[r].push(t[0]),e},{}),mL=Object.keys(fa).map(function(t){return [t,fa[t]]}).filter(function(t){return t[1].length===1&&t[0]!==null&&t[0]!=="APL"}).map(function(t){return [t[0],t[1][0]]});fa=void 0;var jm=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(mL).sort(km),gL=0,yL=1,Bm=function(e){for(var t=0;t<Mm.length;t++){var r=Mm[t](e).trim();if(r!==e&&Oo(r))return r}return null},Um=function(e){for(var t=e.toUpperCase(),r=0;r<jm.length;r++){var n=jm[r];if(t.indexOf(n[gL])>-1)return n[yL]}return null},Gm=function(e,t){for(var r=0;r<_m.length;r++){var n=_m[r],o=n[dL];if(e.indexOf(o)>-1){var i=e.replace(o,n[hL]),s=t(i);if(s!==null)return s}}return null};qm.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(a){return r?bL(a):a}var o=typeof e=="string"&&e.trim().length!==0;if(!o)throw Error("Invalid argument. Expected non-empty string.");if(e=e.trim(),Oo(e))return n(e);var i=e.replace(/\+$/,"").trim();if(Oo(i))return n(i);var s=Bm(e);return s!==null||(s=Gm(e,function(a){return Oo(a)?a:Bm(a)}),s!==null)||(s=Um(e),s!==null)||(s=Gm(e,Um),s!==null)?n(s):null};function bL(e){return ["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1?e+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1?e.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1?e+"-or-later":e}});var da=chunkTKGT252T_js.c((WF,Hm)=>{var SL=la(),wL=zm(),Wm='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',EL=/^SEE LICEN[CS]E IN (.+)$/;function Vm(e,t){return t.slice(0,e.length)===e}function pa(e){if(e.hasOwnProperty("license")){var t=e.license;return Vm("LicenseRef",t)||Vm("DocumentRef",t)}else return pa(e.left)||pa(e.right)}Hm.exports=function(e){var t;try{t=SL(e);}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return {validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=EL.exec(e))return {validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[Wm]};if(e.trim().length!==0){var o=wL(e);o&&n.warnings.push('license is similar to the valid expression "'+o+'"');}return n}return pa(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[Wm]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}};});var ha=chunkTKGT252T_js.c((VF,Km)=>{var Tr=Km.exports={github:{protocols:["git","http","git+ssh","git+https","ssh","https"],domain:"github.com",treepath:"tree",filetemplate:"https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",bugstemplate:"https://{domain}/{user}/{project}/issues",gittemplate:"git://{auth@}{domain}/{user}/{project}.git{#committish}",tarballtemplate:"https://codeload.{domain}/{user}/{project}/tar.gz/{committish}"},bitbucket:{protocols:["git+ssh","git+https","ssh","https"],domain:"bitbucket.org",treepath:"src",tarballtemplate:"https://{domain}/{user}/{project}/get/{committish}.tar.gz"},gitlab:{protocols:["git+ssh","git+https","ssh","https"],domain:"gitlab.com",treepath:"tree",bugstemplate:"https://{domain}/{user}/{project}/issues",httpstemplate:"git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}",tarballtemplate:"https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}",pathmatch:/^[/]([^/]+)[/]((?!.*(\/-\/|\/repository\/archive\.tar\.gz\?=.*|\/repository\/[^/]+\/archive.tar.gz$)).*?)(?:[.]git|[/])?$/},gist:{protocols:["git","git+ssh","git+https","ssh","https"],domain:"gist.github.com",pathmatch:/^[/](?:([^/]+)[/])?([a-z0-9]{32,})(?:[.]git)?$/,filetemplate:"https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}",bugstemplate:"https://{domain}/{project}",gittemplate:"git://{domain}/{project}.git{#committish}",sshtemplate:"git@{domain}:/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{project}.git{#committish}",browsetemplate:"https://{domain}/{project}{/committish}",browsefiletemplate:"https://{domain}/{project}{/committish}{#path}",docstemplate:"https://{domain}/{project}{/committish}",httpstemplate:"git+https://{domain}/{project}.git{#committish}",shortcuttemplate:"{type}:{project}{#committish}",pathtemplate:"{project}{#committish}",tarballtemplate:"https://codeload.github.com/gist/{project}/tar.gz/{committish}",hashformat:function(e){return "file-"+Xm(e)}}},Ym={sshtemplate:"git@{domain}:{user}/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{user}/{project}.git{#committish}",browsetemplate:"https://{domain}/{user}/{project}{/tree/committish}",browsefiletemplate:"https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}",docstemplate:"https://{domain}/{user}/{project}{/tree/committish}#readme",httpstemplate:"git+https://{auth@}{domain}/{user}/{project}.git{#committish}",filetemplate:"https://{domain}/{user}/{project}/raw/{committish}/{path}",shortcuttemplate:"{type}:{user}/{project}{#committish}",pathtemplate:"{user}/{project}{#committish}",pathmatch:/^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,hashformat:Xm};Object.keys(Tr).forEach(function(e){Object.keys(Ym).forEach(function(t){Tr[e][t]||(Tr[e][t]=Ym[t]);}),Tr[e].protocols_re=RegExp("^("+Tr[e].protocols.map(function(t){return t.replace(/([\\+*{}()[\]$^|])/g,"\\$1")}).join("|")+"):$");});function Xm(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}});var Qm=chunkTKGT252T_js.c((HF,Zm)=>{var Jm=ha(),Kt=Object.assign||function(t,r){if(r===null||typeof r!="object")return t;for(var n=Object.keys(r),o=n.length;o--;)t[n[o]]=r[n[o]];return t};Zm.exports=de;function de(e,t,r,n,o,i,s){var a=this;a.type=e,Object.keys(Jm[e]).forEach(function(c){a[c]=Jm[e][c];}),a.user=t,a.auth=r,a.project=n,a.committish=o,a.default=i,a.opts=s||{};}de.prototype.hash=function(){return this.committish?"#"+this.committish:""};de.prototype._fill=function(e,t){if(e){var r=Kt({},t);r.path=r.path?r.path.replace(/^[/]+/g,""):"",t=Kt(Kt({},this.opts),t);var n=this;Object.keys(this).forEach(function(u){n[u]!=null&&r[u]==null&&(r[u]=n[u]);});var o=r.auth,i=r.committish,s=r.fragment,a=r.path,c=r.project;Object.keys(r).forEach(function(u){var f=r[u];(u==="path"||u==="project")&&typeof f=="string"?r[u]=f.split("/").map(function(g){return encodeURIComponent(g)}).join("/"):r[u]=encodeURIComponent(f);}),r["auth@"]=o?o+"@":"",r["#fragment"]=s?"#"+this.hashformat(s):"",r.fragment=r.fragment?r.fragment:"",r["#path"]=a?"#"+this.hashformat(a):"",r["/path"]=r.path?"/"+r.path:"",r.projectPath=c.split("/").map(encodeURIComponent).join("/"),t.noCommittish?(r["#committish"]="",r["/tree/committish"]="",r["/committish"]="",r.committish=""):(r["#committish"]=i?"#"+i:"",r["/tree/committish"]=r.committish?"/"+r.treepath+"/"+r.committish:"",r["/committish"]=r.committish?"/"+r.committish:"",r.committish=r.committish||"master");var l=e;return Object.keys(r).forEach(function(u){l=l.replace(new RegExp("[{]"+u+"[}]","g"),r[u]);}),t.noGitPlus?l.replace(/^git[+]/,""):l}};de.prototype.ssh=function(e){return this._fill(this.sshtemplate,e)};de.prototype.sshurl=function(e){return this._fill(this.sshurltemplate,e)};de.prototype.browse=function(e,t,r){return typeof e=="string"?(typeof t!="string"&&(r=t,t=null),this._fill(this.browsefiletemplate,Kt({fragment:t,path:e},r))):this._fill(this.browsetemplate,e)};de.prototype.docs=function(e){return this._fill(this.docstemplate,e)};de.prototype.bugs=function(e){return this._fill(this.bugstemplate,e)};de.prototype.https=function(e){return this._fill(this.httpstemplate,e)};de.prototype.git=function(e){return this._fill(this.gittemplate,e)};de.prototype.shortcut=function(e){return this._fill(this.shortcuttemplate,e)};de.prototype.path=function(e){return this._fill(this.pathtemplate,e)};de.prototype.tarball=function(e){var t=Kt({},e,{noCommittish:!1});return this._fill(this.tarballtemplate,t)};de.prototype.file=function(e,t){return this._fill(this.filetemplate,Kt({path:e},t))};de.prototype.getDefaultRepresentation=function(){return this.default};de.prototype.toString=function(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)};});var t1=chunkTKGT252T_js.c((YF,ga)=>{var Lo=chunkTKGT252T_js.a("url"),e1=ha(),xL=ga.exports=Qm(),vL={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function OL(e){return vL[e]||e.slice(0,-1)}var LL={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},ma={};ga.exports.fromUrl=function(e,t){if(typeof e=="string"){var r=e+JSON.stringify(t||{});return r in ma||(ma[r]=AL(e,t)),ma[r]}};function AL(e,t){if(!(e==null||e==="")){var r=IL(CL(e)?"github:"+e:e),n=RL(r),o=r.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/),i=Object.keys(e1).map(function(s){try{var a=e1[s],c=null;n.auth&&LL[n.protocol]&&(c=n.auth);var l=n.hash?decodeURIComponent(n.hash.substr(1)):null,u=null,f=null,g=null;if(o&&o[1]===s)u=o[2]&&decodeURIComponent(o[2]),f=decodeURIComponent(o[3].replace(/\.git$/,"")),g="shortcut";else {if(n.host&&n.host!==a.domain&&n.host.replace(/^www[.]/,"")!==a.domain||!a.protocols_re.test(n.protocol)||!n.path)return;var y=a.pathmatch,b=n.path.match(y);if(!b)return;b[1]!==null&&b[1]!==void 0&&(u=decodeURIComponent(b[1].replace(/^:/,""))),f=decodeURIComponent(b[2]),g=OL(n.protocol);}return new xL(s,u,c,f,l,g,t)}catch(p){if(!(p instanceof URIError))throw p}}).filter(function(s){return s});if(i.length===1)return i[0]}}function CL(e){return /^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(e)}function IL(e){var t=Lo.parse(e);return t.protocol==="gist:"&&t.host&&!t.path?t.protocol+"/"+t.host:e}function RL(e){var t=e.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!t){var r=Lo.parse(e);if(r.auth&&typeof Lo.URL=="function"){var n=e.match(/[^@]+@[^:/]+/);if(n){var o=new Lo.URL(n[0]);r.auth=o.username||"",o.password&&(r.auth+=":"+o.password);}}return r}return {protocol:"git+ssh:",slashes:!0,auth:t[1],host:t[2],port:null,hostname:t[2],hash:t[4],search:null,query:null,pathname:"/"+t[3],path:"/"+t[3],href:"git+ssh://"+t[1]+"@"+t[2]+"/"+t[3]+(t[4]||"")}}});var ya=chunkTKGT252T_js.c((XF,r1)=>{var PL=chunkTKGT252T_js.a("os");r1.exports=PL.homedir||function(){var t=process.env.HOME,r=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||t||null:process.platform==="darwin"?t||(r?"/Users/"+r:null):process.platform==="linux"?t||(process.getuid()===0?"/root":r?"/home/"+r:null):t||null};});var ba=chunkTKGT252T_js.c((KF,n1)=>{n1.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(r,n){return n};var t=new Error().stack;return Error.prepareStackTrace=e,t[2].getFileName()};});var o1=chunkTKGT252T_js.c((JF,Dr)=>{var TL=process.platform==="win32",DL=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,Sa={};function NL(e){return DL.exec(e).slice(1)}Sa.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=NL(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return {root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var $L=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,wa={};function FL(e){return $L.exec(e).slice(1)}wa.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t=FL(e);if(!t||t.length!==5)throw new TypeError("Invalid path '"+e+"'");return {root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};TL?Dr.exports=Sa.parse:Dr.exports=wa.parse;Dr.exports.posix=wa.parse;Dr.exports.win32=Sa.parse;});var Ea=chunkTKGT252T_js.c((ZF,c1)=>{var a1=chunkTKGT252T_js.a("path"),i1=a1.parse||o1(),s1=function(t,r){var n="/";/^([A-Za-z]:)/.test(t)?n="":/^\\\\/.test(t)&&(n="\\\\");for(var o=[t],i=i1(t);i.dir!==o[o.length-1];)o.push(i.dir),i=i1(i.dir);return o.reduce(function(s,a){return s.concat(r.map(function(c){return a1.resolve(n,a,c)}))},[])};c1.exports=function(t,r,n){var o=r&&r.moduleDirectory?[].concat(r.moduleDirectory):["node_modules"];if(r&&typeof r.paths=="function")return r.paths(n,t,function(){return s1(t,o)},r);var i=s1(t,o);return r&&r.paths?i.concat(r.paths):i};});var xa=chunkTKGT252T_js.c((QF,u1)=>{var Nr=chunkTKGT252T_js.a("path");u1.exports=function(e,t){if(t=t||{},t.forceNodeResolution||!process.versions.pnp)return t;let{findPnpApi:r}=chunkTKGT252T_js.a("module"),n=(l,u)=>{let f=l.match(/^((?:@[^/]+\/)?[^/]+)(\/.*)?/);if(!f)throw new Error(`Assertion failed: Expected the "resolve" package to call the "paths" callback with package names only (got "${l}")`);u.charAt(u.length-1)!=="/"&&(u=Nr.join(u,"/"));let g=r(u);if(g===null)return;let y;try{y=g.resolveToUnqualified(`${f[1]}/package.json`,u,{considerBuiltins:!1});}catch{return null}if(y===null)throw new Error(`Assertion failed: The resolution thinks that "${f[1]}" is a Node builtin`);let b=Nr.dirname(y),p=typeof f[2]<"u"?Nr.join(b,f[2]):b;return {packagePath:b,unqualifiedPath:p}},o=(l,u)=>{for(let f=0;f<u.length;f++){let g=n(l,u[f]);if(g||f===u.length-1)return g}return null},i=Array.isArray(t.paths)?t.paths:[],s=(l,u,f,g)=>{let y=[u].concat(i),b=o(l,y);return b==null?f():[b.unqualifiedPath]},a=(l,u,f,g)=>{let y=[u].concat(i),b=o(l,y);if(b==null)return f().concat(i);let p=Nr.dirname(b.packagePath);return l.match(/^@[^/]+\//)&&(p=Nr.dirname(p)),[p]},c=!1;return t.__skipPackageIterator||(t.packageIterator=function(l,u,f,g){c=!0;try{return s(l,u,f,g)}finally{c=!1;}}),t.paths=function(l,u,f,g){return c?f().concat(i):a(l,u,f)},t};});var p1=chunkTKGT252T_js.c((e9,f1)=>{var _L="Function.prototype.bind called on incompatible ",ML=Object.prototype.toString,jL=Math.max,BL="[object Function]",l1=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},UL=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},GL=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};f1.exports=function(t){var r=this;if(typeof r!="function"||ML.apply(r)!==BL)throw new TypeError(_L+r);for(var n=UL(arguments,1),o,i=function(){if(this instanceof o){var u=r.apply(this,l1(n,arguments));return Object(u)===u?u:this}return r.apply(t,l1(n,arguments))},s=jL(0,r.length-n.length),a=[],c=0;c<s;c++)a[c]="$"+c;if(o=Function("binder","return function ("+GL(a,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,o.prototype=new l,l.prototype=null;}return o};});var h1=chunkTKGT252T_js.c((t9,d1)=>{var kL=p1();d1.exports=Function.prototype.bind||kL;});var g1=chunkTKGT252T_js.c((r9,m1)=>{var qL=Function.prototype.call,zL=Object.prototype.hasOwnProperty,WL=h1();m1.exports=WL.call(qL,zL);});var y1=chunkTKGT252T_js.c((n9,VL)=>{VL.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],"node:sea":[">= 20.12 && < 21",">= 21.7"],smalloc:">= 0.11.5 && < 3","node:sqlite":[">= 22.13 && < 23",">= 23.4"],_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"test/mock_loader":">= 22.3 && < 22.7","node:test/mock_loader":">= 22.3 && < 22.7","node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]};});var Jt=chunkTKGT252T_js.c((o9,w1)=>{var HL=g1();function YL(e,t){for(var r=e.split("."),n=t.split(" "),o=n.length>1?n[0]:"=",i=(n.length>1?n[1]:n[0]).split("."),s=0;s<3;++s){var a=parseInt(r[s]||0,10),c=parseInt(i[s]||0,10);if(a!==c)return o==="<"?a<c:o===">="?a>=c:!1}return o===">="}function b1(e,t){var r=t.split(/ ?&& ?/);if(r.length===0)return !1;for(var n=0;n<r.length;++n)if(!YL(e,r[n]))return !1;return !0}function XL(e,t){if(typeof t=="boolean")return t;var r=typeof e>"u"?process.versions&&process.versions.node:e;if(typeof r!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&typeof t=="object"){for(var n=0;n<t.length;++n)if(b1(r,t[n]))return !0;return !1}return b1(r,t)}var S1=y1();w1.exports=function(t,r){return HL(S1,t)&&XL(r,S1[t])};});var v1=chunkTKGT252T_js.c((i9,x1)=>{var Et=chunkTKGT252T_js.a("fs"),KL=ya(),ie=chunkTKGT252T_js.a("path"),JL=ba(),ZL=Ea(),QL=xa(),eA=Jt(),tA=process.platform!=="win32"&&Et.realpath&&typeof Et.realpath.native=="function"?Et.realpath.native:Et.realpath,E1=KL(),rA=function(){return [ie.join(E1,".node_modules"),ie.join(E1,".node_libraries")]},nA=function(t,r){Et.stat(t,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?r(null,!1):r(n):r(null,o.isFile()||o.isFIFO())});},oA=function(t,r){Et.stat(t,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?r(null,!1):r(n):r(null,o.isDirectory())});},iA=function(t,r){tA(t,function(n,o){n&&n.code!=="ENOENT"?r(n):r(null,n?t:o);});},$r=function(t,r,n,o){n&&n.preserveSymlinks===!1?t(r,o):o(null,r);},sA=function(t,r,n){t(r,function(o,i){if(o)n(o);else try{var s=JSON.parse(i);n(null,s);}catch{n(null);}});},aA=function(t,r,n){for(var o=ZL(r,n,t),i=0;i<o.length;i++)o[i]=ie.join(o[i],t);return o};x1.exports=function(t,r,n){var o=n,i=r;if(typeof r=="function"&&(o=i,i={}),typeof t!="string"){var s=new TypeError("Path must be a string.");return process.nextTick(function(){o(s);})}i=QL(t,i);var a=i.isFile||nA,c=i.isDirectory||oA,l=i.readFile||Et.readFile,u=i.realpath||iA,f=i.readPackage||sA;if(i.readFile&&i.readPackage){var g=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(g);})}var y=i.packageIterator,b=i.extensions||[".js"],p=i.includeCoreModules!==!1,v=i.basedir||ie.dirname(JL()),D=i.filename||v;i.paths=i.paths||rA();var $=ie.resolve(v);$r(u,$,i,function(I,B){I?o(I):U(B);});var k;function U(I){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t))k=ie.resolve(I,t),(t==="."||t===".."||t.slice(-1)==="/")&&(k+="/"),/\/$/.test(t)&&k===I?V(k,i.package,ne):J(k,i.package,ne);else {if(p&&eA(t))return o(null,t);le(t,I,function(B,ee,q){if(B)o(B);else {if(ee)return $r(u,ee,i,function(me,te){me?o(me):o(null,te,q);});var Z=new Error("Cannot find module '"+t+"' from '"+D+"'");Z.code="MODULE_NOT_FOUND",o(Z);}});}}function ne(I,B,ee){I?o(I):B?o(null,B,ee):V(k,function(q,Z,me){if(q)o(q);else if(Z)$r(u,Z,i,function(Q,fe){Q?o(Q):o(null,fe,me);});else {var te=new Error("Cannot find module '"+t+"' from '"+D+"'");te.code="MODULE_NOT_FOUND",o(te);}});}function J(I,B,ee){var q=B,Z=ee;typeof q=="function"&&(Z=q,q=void 0);var me=[""].concat(b);te(me,I,q);function te(Q,fe,ge){if(Q.length===0)return Z(null,void 0,ge);var we=fe+Q[0],xe=ge;xe?R(null,xe):j(ie.dirname(we),R);function R(Fe,Qe,Se){if(xe=Qe,Fe)return Z(Fe);if(Se&&xe&&i.pathFilter){var At=ie.relative(Se,we),Ie=At.slice(0,At.length-Q[0].length),ut=i.pathFilter(xe,fe,Ie);if(ut)return te([""].concat(b.slice()),ie.resolve(Se,ut),xe)}a(we,ct);}function ct(Fe,Qe){if(Fe)return Z(Fe);if(Qe)return Z(null,we,xe);te(Q.slice(1),fe,xe);}}}function j(I,B){if(I===""||I==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(I)||/[/\\]node_modules[/\\]*$/.test(I))return B(null);$r(u,I,i,function(ee,q){if(ee)return j(ie.dirname(I),B);var Z=ie.join(q,"package.json");a(Z,function(me,te){if(!te)return j(ie.dirname(I),B);f(l,Z,function(Q,fe){Q&&B(Q);var ge=fe;ge&&i.packageFilter&&(ge=i.packageFilter(ge,Z)),B(null,ge,I);});});});}function V(I,B,ee){var q=ee,Z=B;typeof Z=="function"&&(q=Z,Z=i.package),$r(u,I,i,function(me,te){if(me)return q(me);var Q=ie.join(te,"package.json");a(Q,function(fe,ge){if(fe)return q(fe);if(!ge)return J(ie.join(I,"index"),Z,q);f(l,Q,function(we,xe){if(we)return q(we);var R=xe;if(R&&i.packageFilter&&(R=i.packageFilter(R,Q)),R&&R.main){if(typeof R.main!="string"){var ct=new TypeError("package \u201C"+R.name+"\u201D `main` must be a string");return ct.code="INVALID_PACKAGE_MAIN",q(ct)}(R.main==="."||R.main==="./")&&(R.main="index"),J(ie.resolve(I,R.main),R,function(Fe,Qe,Se){if(Fe)return q(Fe);if(Qe)return q(null,Qe,Se);if(!Se)return J(ie.join(I,"index"),Se,q);var At=ie.resolve(I,Se.main);V(At,Se,function(Ie,ut,zr){if(Ie)return q(Ie);if(ut)return q(null,ut,zr);J(ie.join(I,"index"),zr,q);});});return}J(ie.join(I,"/index"),R,q);});});});}function T(I,B){if(B.length===0)return I(null,void 0);var ee=B[0];c(ie.dirname(ee),q);function q(te,Q){if(te)return I(te);if(!Q)return T(I,B.slice(1));J(ee,i.package,Z);}function Z(te,Q,fe){if(te)return I(te);if(Q)return I(null,Q,fe);V(ee,i.package,me);}function me(te,Q,fe){if(te)return I(te);if(Q)return I(null,Q,fe);T(I,B.slice(1));}}function le(I,B,ee){var q=function(){return aA(I,B,i)};T(ee,y?y(I,B,q,i):q());}};});var O1=chunkTKGT252T_js.c((s9,cA)=>{cA.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]};});var I1=chunkTKGT252T_js.c((a9,C1)=>{var uA=Jt(),L1=O1(),A1={};for(Ao in L1)Object.prototype.hasOwnProperty.call(L1,Ao)&&(A1[Ao]=uA(Ao));var Ao;C1.exports=A1;});var P1=chunkTKGT252T_js.c((c9,R1)=>{var lA=Jt();R1.exports=function(t){return lA(t)};});var N1=chunkTKGT252T_js.c((u9,D1)=>{var fA=Jt(),xt=chunkTKGT252T_js.a("fs"),he=chunkTKGT252T_js.a("path"),pA=ya(),dA=ba(),hA=Ea(),mA=xa(),gA=process.platform!=="win32"&&xt.realpathSync&&typeof xt.realpathSync.native=="function"?xt.realpathSync.native:xt.realpathSync,T1=pA(),yA=function(){return [he.join(T1,".node_modules"),he.join(T1,".node_libraries")]},bA=function(t){try{var r=xt.statSync(t,{throwIfNoEntry:!1});}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return !1;throw n}return !!r&&(r.isFile()||r.isFIFO())},SA=function(t){try{var r=xt.statSync(t,{throwIfNoEntry:!1});}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return !1;throw n}return !!r&&r.isDirectory()},wA=function(t){try{return gA(t)}catch(r){if(r.code!=="ENOENT")throw r}return t},Fr=function(t,r,n){return n&&n.preserveSymlinks===!1?t(r):r},EA=function(t,r){var n=t(r);try{var o=JSON.parse(n);return o}catch{}},xA=function(t,r,n){for(var o=hA(r,n,t),i=0;i<o.length;i++)o[i]=he.join(o[i],t);return o};D1.exports=function(t,r){if(typeof t!="string")throw new TypeError("Path must be a string.");var n=mA(t,r),o=n.isFile||bA,i=n.readFileSync||xt.readFileSync,s=n.isDirectory||SA,a=n.realpathSync||wA,c=n.readPackageSync||EA;if(n.readFileSync&&n.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var l=n.packageIterator,u=n.extensions||[".js"],f=n.includeCoreModules!==!1,g=n.basedir||he.dirname(dA()),y=n.filename||g;n.paths=n.paths||yA();var b=Fr(a,he.resolve(g),n);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)){var p=he.resolve(b,t);(t==="."||t===".."||t.slice(-1)==="/")&&(p+="/");var v=k(p)||ne(p);if(v)return Fr(a,v,n)}else {if(f&&fA(t))return t;var D=J(t,b);if(D)return Fr(a,D,n)}var $=new Error("Cannot find module '"+t+"' from '"+y+"'");throw $.code="MODULE_NOT_FOUND",$;function k(j){var V=U(he.dirname(j));if(V&&V.dir&&V.pkg&&n.pathFilter){var T=he.relative(V.dir,j),le=n.pathFilter(V.pkg,j,T);le&&(j=he.resolve(V.dir,le));}if(o(j))return j;for(var I=0;I<u.length;I++){var B=j+u[I];if(o(B))return B}}function U(j){if(!(j===""||j==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(j))&&!/[/\\]node_modules[/\\]*$/.test(j)){var V=he.join(Fr(a,j,n),"package.json");if(!o(V))return U(he.dirname(j));var T=c(i,V);return T&&n.packageFilter&&(T=n.packageFilter(T,j)),{pkg:T,dir:j}}}function ne(j){var V=he.join(Fr(a,j,n),"/package.json");if(o(V)){try{var T=c(i,V);}catch{}if(T&&n.packageFilter&&(T=n.packageFilter(T,j)),T&&T.main){if(typeof T.main!="string"){var le=new TypeError("package \u201C"+T.name+"\u201D `main` must be a string");throw le.code="INVALID_PACKAGE_MAIN",le}(T.main==="."||T.main==="./")&&(T.main="index");try{var I=k(he.resolve(j,T.main));if(I)return I;var B=ne(he.resolve(j,T.main));if(B)return B}catch{}}}return k(he.join(j,"/index"))}function J(j,V){for(var T=function(){return xA(j,V,n)},le=l?l(j,V,T,n):T(),I=0;I<le.length;I++){var B=le[I];if(s(he.dirname(B))){var ee=k(B);if(ee)return ee;var q=ne(B);if(q)return q}}}};});var F1=chunkTKGT252T_js.c((l9,$1)=>{var Co=v1();Co.core=I1();Co.isCore=P1();Co.sync=N1();$1.exports=Co;});var M1=chunkTKGT252T_js.c((f9,_1)=>{_1.exports=vA;function vA(e){if(e&&e!=="ERROR: No README data found!"){e=e.trim().split(`
|
|
41
|
+
`);for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++);for(var r=e.length,n=t+1;n<r&&e[n].trim();n++);return e.slice(t,n).join(" ").trim()}}});var j1=chunkTKGT252T_js.c((p9,OA)=>{OA.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}};});var k1=chunkTKGT252T_js.c((h9,G1)=>{var B1=Im(),LA=da(),Io=t1(),AA=F1().isCore,CA=["dependencies","devDependencies","optionalDependencies"],IA=M1(),va=chunkTKGT252T_js.a("url"),it=j1();G1.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories&&(this.warn("repositories"),e.repository=e.repositories[0]),!e.repository)return this.warn("missingRepository");typeof e.repository=="string"&&(e.repository={type:"git",url:e.repository});var t=e.repository.url||"";if(t){var r=Io.fromUrl(t);r&&(t=e.repository.url=r.getDefaultRepresentation()=="shortcut"?r.https():r.toString());}t.match(/github.com\/[^\/]+\/[^\/]+\.git\.git$/)&&this.warn("brokenGitUrl",t);},fixTypos:function(e){Object.keys(it.topLevel).forEach(function(t){e.hasOwnProperty(t)&&this.warn("typo",t,it.topLevel[t]);},this);},fixScriptsField:function(e){if(e.scripts){if(typeof e.scripts!="object"){this.warn("nonObjectScripts"),delete e.scripts;return}Object.keys(e.scripts).forEach(function(t){typeof e.scripts[t]!="string"?(this.warn("nonStringScript"),delete e.scripts[t]):it.script[t]&&!e.scripts[it.script[t]]&&this.warn("typo",t,it.script[t],"scripts");},this);}},fixFilesField:function(e){var t=e.files;t&&!Array.isArray(t)?(this.warn("nonArrayFiles"),delete e.files):e.files&&(e.files=e.files.filter(function(r){return !r||typeof r!="string"?(this.warn("invalidFilename",r),!1):!0},this));},fixBinField:function(e){if(e.bin&&typeof e.bin=="string"){var t={},r;(r=e.name.match(/^@[^/]+[/](.*)$/))?t[r[1]]=e.bin:t[e.name]=e.bin,e.bin=t;}},fixManField:function(e){e.man&&typeof e.man=="string"&&(e.man=[e.man]);},fixBundleDependenciesField:function(e){var t="bundledDependencies",r="bundleDependencies";e[t]&&!e[r]&&(e[r]=e[t],delete e[t]),e[r]&&!Array.isArray(e[r])?(this.warn("nonArrayBundleDependencies"),delete e[r]):e[r]&&(e[r]=e[r].filter(function(n){return !n||typeof n!="string"?(this.warn("nonStringBundleDependency",n),!1):(e.dependencies||(e.dependencies={}),e.dependencies.hasOwnProperty(n)||(this.warn("nonDependencyBundleDependency",n),e.dependencies[n]="*"),!0)},this));},fixDependencies:function(e,t){_A(e,this.warn),$A(e,this.warn),this.fixBundleDependenciesField(e),["dependencies","devDependencies"].forEach(function(n){if(n in e){if(!e[n]||typeof e[n]!="object"){this.warn("nonObjectDependencies",n),delete e[n];return}Object.keys(e[n]).forEach(function(o){var i=e[n][o];typeof i!="string"&&(this.warn("nonStringDependency",o,JSON.stringify(i)),delete e[n][o]);var s=Io.fromUrl(e[n][o]);s&&(e[n][o]=s.toString());},this);}},this);},fixModulesField:function(e){e.modules&&(this.warn("deprecatedModules"),delete e.modules);},fixKeywordsField:function(e){typeof e.keywords=="string"&&(e.keywords=e.keywords.split(/,\s+/)),e.keywords&&!Array.isArray(e.keywords)?(delete e.keywords,this.warn("nonArrayKeywords")):e.keywords&&(e.keywords=e.keywords.filter(function(t){return typeof t!="string"||!t?(this.warn("nonStringKeyword"),!1):!0},this));},fixVersionField:function(e,t){var r=!t;if(!e.version)return e.version="",!0;if(!B1.valid(e.version,r))throw new Error('Invalid version: "'+e.version+'"');return e.version=B1.clean(e.version,r),!0},fixPeople:function(e){U1(e,DA),U1(e,NA);},fixNameField:function(e,t){typeof t=="boolean"?t={strict:t}:typeof t>"u"&&(t={});var r=t.strict;if(!e.name&&!r){e.name="";return}if(typeof e.name!="string")throw new Error("name field must be a string.");r||(e.name=e.name.trim()),TA(e.name,r,t.allowLegacyCase),AA(e.name)&&this.warn("conflictingName",e.name);},fixDescriptionField:function(e){e.description&&typeof e.description!="string"&&(this.warn("nonStringDescription"),delete e.description),e.readme&&!e.description&&(e.description=IA(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn("missingDescription");},fixReadmeField:function(e){e.readme||(this.warn("missingReadme"),e.readme="ERROR: No README data found!");},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=Io.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()});}else if(e.bugs){var r=/^.+@.*\..+$/;if(typeof e.bugs=="string")r.test(e.bugs)?e.bugs={email:e.bugs}:va.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else {MA(e.bugs,this.warn);var n=e.bugs;e.bugs={},n.url&&(typeof n.url=="string"&&va.parse(n.url).protocol?e.bugs.url=n.url:this.warn("nonUrlBugsUrlField")),n.email&&(typeof n.email=="string"&&r.test(n.email)?e.bugs.email=n.email:this.warn("nonEmailBugsEmailField"));}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn("emptyNormalizedBugs"));}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=Io.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs());}if(e.homepage){if(typeof e.homepage!="string")return this.warn("nonUrlHomepage"),delete e.homepage;va.parse(e.homepage).protocol||(e.homepage="http://"+e.homepage);}},fixLicenseField:function(e){if(e.license)typeof e.license!="string"||e.license.length<1||e.license.trim()===""?this.warn("invalidLicense"):LA(e.license).validForNewPackages||this.warn("invalidLicense");else return this.warn("missingLicense")}};function RA(e){if(e.charAt(0)!=="@")return !1;var t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function PA(e){return !e.match(/[\/@\s\+%:]/)&&e===encodeURIComponent(e)}function TA(e,t,r){if(e.charAt(0)==="."||!(RA(e)||PA(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function U1(e,t){return e.author&&(e.author=t(e.author)),["maintainers","contributors"].forEach(function(r){Array.isArray(e[r])&&(e[r]=e[r].map(t));}),e}function DA(e){if(typeof e=="string")return e;var t=e.name||"",r=e.url||e.web,n=r?" ("+r+")":"",o=e.email||e.mail,i=o?" <"+o+">":"";return t+i+n}function NA(e){if(typeof e!="string")return e;var t=e.match(/^([^\(<]+)/),r=e.match(/\(([^\)]+)\)/),n=e.match(/<([^>]+)>/),o={};return t&&t[0].trim()&&(o.name=t[0].trim()),n&&(o.email=n[1]),r&&(o.url=r[1]),o}function $A(e,t){var r=e.optionalDependencies;if(r){var n=e.dependencies||{};Object.keys(r).forEach(function(o){n[o]=r[o];}),e.dependencies=n;}}function FA(e,t,r){if(!e)return {};if(typeof e=="string"&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;r("deprecatedArrayDependencies",t);var n={};return e.filter(function(o){return typeof o=="string"}).forEach(function(o){o=o.trim().split(/(:?[@\s><=])/);var i=o.shift(),s=o.join("");s=s.trim(),s=s.replace(/^@/,""),n[i]=s;}),n}function _A(e,t){CA.forEach(function(r){e[r]&&(e[r]=FA(e[r],r,t));});}function MA(e,t){e&&Object.keys(e).forEach(function(r){it.bugs[r]&&(t("typo",r,it.bugs[r],"bugs"),e[it.bugs[r]]=e[r],delete e[r]);});}});var q1=chunkTKGT252T_js.c((m9,jA)=>{jA.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."};});var V1=chunkTKGT252T_js.c((g9,W1)=>{var z1=chunkTKGT252T_js.a("util"),Oa=q1();W1.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t=="typo")return BA.apply(null,e);var r=Oa[t]?Oa[t]:t+": '%s'";return e.unshift(r),z1.format.apply(null,e)};function BA(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),z1.format(Oa.typo,e,t)}});var Ca=chunkTKGT252T_js.c((y9,X1)=>{X1.exports=H1;var La=k1();H1.fixer=La;var UA=V1(),GA=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],kA=["dependencies","people","typos"],Aa=GA.map(function(e){return Y1(e)+"Field"});Aa=Aa.concat(kA);function H1(e,t,r){t===!0&&(t=null,r=!0),r||(r=!1),(!t||e.private)&&(t=function(n){}),e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall&&(e.gypfile=!0),La.warn=function(){t(UA.apply(null,arguments));},Aa.forEach(function(n){La["fix"+Y1(n)](e,r);}),e._id=e.name+"@"+e.version;}function Y1(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var Q1=chunkTKGT252T_js.c((b9,Ia)=>{var{promisify:qA}=chunkTKGT252T_js.a("util"),K1=chunkTKGT252T_js.a("fs"),J1=chunkTKGT252T_js.a("path"),Z1=fm(),zA=qA(K1.readFile);Ia.exports=async e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=J1.resolve(e.cwd,"package.json"),r=Z1(await zA(t,"utf8"));return e.normalize&&Ca()(r),r};Ia.exports.sync=e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=J1.resolve(e.cwd,"package.json"),r=Z1(K1.readFileSync(t,"utf8"));return e.normalize&&Ca()(r),r};});var n0=chunkTKGT252T_js.c((S9,Ra)=>{var e0=chunkTKGT252T_js.a("path"),t0=Ch(),r0=Q1();Ra.exports=async e=>{let t=await t0("package.json",e);if(t)return {packageJson:await r0({...e,cwd:e0.dirname(t)}),path:t}};Ra.exports.sync=e=>{let t=t0.sync("package.json",e);if(t)return {packageJson:r0.sync({...e,cwd:e0.dirname(t)}),path:t}};});var s0=chunkTKGT252T_js.c((w9,Pa)=>{var WA=chunkTKGT252T_js.a("util"),o0=!1,i0=(e=console.error)=>{o0||(o0=!0,process.on("unhandledRejection",t=>{t instanceof Error||(t=new Error(`Promise rejected with value: ${WA.inspect(t)}`)),e(t.stack),process.exit(1);}));};Pa.exports=i0;Pa.exports.default=i0;});var Ta=chunkTKGT252T_js.c((E9,a0)=>{var VA=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};a0.exports=VA;});var Da=chunkTKGT252T_js.c((x9,c0)=>{var HA="2.0.0",YA=Number.MAX_SAFE_INTEGER||9007199254740991,XA=16,KA=256-6,JA=["major","premajor","minor","preminor","patch","prepatch","prerelease"];c0.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:XA,MAX_SAFE_BUILD_LENGTH:KA,MAX_SAFE_INTEGER:YA,RELEASE_TYPES:JA,SEMVER_SPEC_VERSION:HA,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};});var l0=chunkTKGT252T_js.c((qe,u0)=>{var{MAX_SAFE_COMPONENT_LENGTH:Na,MAX_SAFE_BUILD_LENGTH:ZA,MAX_LENGTH:QA}=Da(),eC=Ta();qe=u0.exports={};var tC=qe.re=[],rC=qe.safeRe=[],O=qe.src=[],nC=qe.safeSrc=[],L=qe.t={},oC=0,$a="[a-zA-Z0-9-]",iC=[["\\s",1],["\\d",QA],[$a,ZA]],sC=e=>{for(let[t,r]of iC)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},M=(e,t,r)=>{let n=sC(t),o=oC++;eC(e,o,t),L[e]=o,O[o]=t,nC[o]=n,tC[o]=new RegExp(t,r?"g":void 0),rC[o]=new RegExp(n,r?"g":void 0);};M("NUMERICIDENTIFIER","0|[1-9]\\d*");M("NUMERICIDENTIFIERLOOSE","\\d+");M("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${$a}*`);M("MAINVERSION",`(${O[L.NUMERICIDENTIFIER]})\\.(${O[L.NUMERICIDENTIFIER]})\\.(${O[L.NUMERICIDENTIFIER]})`);M("MAINVERSIONLOOSE",`(${O[L.NUMERICIDENTIFIERLOOSE]})\\.(${O[L.NUMERICIDENTIFIERLOOSE]})\\.(${O[L.NUMERICIDENTIFIERLOOSE]})`);M("PRERELEASEIDENTIFIER",`(?:${O[L.NONNUMERICIDENTIFIER]}|${O[L.NUMERICIDENTIFIER]})`);M("PRERELEASEIDENTIFIERLOOSE",`(?:${O[L.NONNUMERICIDENTIFIER]}|${O[L.NUMERICIDENTIFIERLOOSE]})`);M("PRERELEASE",`(?:-(${O[L.PRERELEASEIDENTIFIER]}(?:\\.${O[L.PRERELEASEIDENTIFIER]})*))`);M("PRERELEASELOOSE",`(?:-?(${O[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${O[L.PRERELEASEIDENTIFIERLOOSE]})*))`);M("BUILDIDENTIFIER",`${$a}+`);M("BUILD",`(?:\\+(${O[L.BUILDIDENTIFIER]}(?:\\.${O[L.BUILDIDENTIFIER]})*))`);M("FULLPLAIN",`v?${O[L.MAINVERSION]}${O[L.PRERELEASE]}?${O[L.BUILD]}?`);M("FULL",`^${O[L.FULLPLAIN]}$`);M("LOOSEPLAIN",`[v=\\s]*${O[L.MAINVERSIONLOOSE]}${O[L.PRERELEASELOOSE]}?${O[L.BUILD]}?`);M("LOOSE",`^${O[L.LOOSEPLAIN]}$`);M("GTLT","((?:<|>)?=?)");M("XRANGEIDENTIFIERLOOSE",`${O[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);M("XRANGEIDENTIFIER",`${O[L.NUMERICIDENTIFIER]}|x|X|\\*`);M("XRANGEPLAIN",`[v=\\s]*(${O[L.XRANGEIDENTIFIER]})(?:\\.(${O[L.XRANGEIDENTIFIER]})(?:\\.(${O[L.XRANGEIDENTIFIER]})(?:${O[L.PRERELEASE]})?${O[L.BUILD]}?)?)?`);M("XRANGEPLAINLOOSE",`[v=\\s]*(${O[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[L.XRANGEIDENTIFIERLOOSE]})(?:${O[L.PRERELEASELOOSE]})?${O[L.BUILD]}?)?)?`);M("XRANGE",`^${O[L.GTLT]}\\s*${O[L.XRANGEPLAIN]}$`);M("XRANGELOOSE",`^${O[L.GTLT]}\\s*${O[L.XRANGEPLAINLOOSE]}$`);M("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Na}})(?:\\.(\\d{1,${Na}}))?(?:\\.(\\d{1,${Na}}))?`);M("COERCE",`${O[L.COERCEPLAIN]}(?:$|[^\\d])`);M("COERCEFULL",O[L.COERCEPLAIN]+`(?:${O[L.PRERELEASE]})?(?:${O[L.BUILD]})?(?:$|[^\\d])`);M("COERCERTL",O[L.COERCE],!0);M("COERCERTLFULL",O[L.COERCEFULL],!0);M("LONETILDE","(?:~>?)");M("TILDETRIM",`(\\s*)${O[L.LONETILDE]}\\s+`,!0);qe.tildeTrimReplace="$1~";M("TILDE",`^${O[L.LONETILDE]}${O[L.XRANGEPLAIN]}$`);M("TILDELOOSE",`^${O[L.LONETILDE]}${O[L.XRANGEPLAINLOOSE]}$`);M("LONECARET","(?:\\^)");M("CARETTRIM",`(\\s*)${O[L.LONECARET]}\\s+`,!0);qe.caretTrimReplace="$1^";M("CARET",`^${O[L.LONECARET]}${O[L.XRANGEPLAIN]}$`);M("CARETLOOSE",`^${O[L.LONECARET]}${O[L.XRANGEPLAINLOOSE]}$`);M("COMPARATORLOOSE",`^${O[L.GTLT]}\\s*(${O[L.LOOSEPLAIN]})$|^$`);M("COMPARATOR",`^${O[L.GTLT]}\\s*(${O[L.FULLPLAIN]})$|^$`);M("COMPARATORTRIM",`(\\s*)${O[L.GTLT]}\\s*(${O[L.LOOSEPLAIN]}|${O[L.XRANGEPLAIN]})`,!0);qe.comparatorTrimReplace="$1$2$3";M("HYPHENRANGE",`^\\s*(${O[L.XRANGEPLAIN]})\\s+-\\s+(${O[L.XRANGEPLAIN]})\\s*$`);M("HYPHENRANGELOOSE",`^\\s*(${O[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${O[L.XRANGEPLAINLOOSE]})\\s*$`);M("STAR","(<|>)?=?\\s*\\*");M("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");M("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");});var p0=chunkTKGT252T_js.c((v9,f0)=>{var aC=Object.freeze({loose:!0}),cC=Object.freeze({}),uC=e=>e?typeof e!="object"?aC:e:cC;f0.exports=uC;});var g0=chunkTKGT252T_js.c((O9,m0)=>{var d0=/^[0-9]+$/,h0=(e,t)=>{if(typeof e=="number"&&typeof t=="number")return e===t?0:e<t?-1:1;let r=d0.test(e),n=d0.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},lC=(e,t)=>h0(t,e);m0.exports={compareIdentifiers:h0,rcompareIdentifiers:lC};});var S0=chunkTKGT252T_js.c((L9,b0)=>{var Ro=Ta(),{MAX_LENGTH:y0,MAX_SAFE_INTEGER:Po}=Da(),{safeRe:To,t:Do}=l0(),fC=p0(),{compareIdentifiers:Fa}=g0(),_a=class e{constructor(t,r){if(r=fC(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version;}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>y0)throw new TypeError(`version is longer than ${y0} characters`);Ro("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?To[Do.LOOSE]:To[Do.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Po||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Po||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Po||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let i=+o;if(i>=0&&i<Po)return i}return o}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format();}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Ro("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options);}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return -1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],o=t.prerelease[r];if(Ro("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return -1;if(n===o)continue;return Fa(n,o)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],o=t.build[r];if(Ro("build compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return -1;if(n===o)continue;return Fa(n,o)}while(++r)}inc(t,r,n){if(t.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let o=`-${r}`.match(this.options.loose?To[Do.PRERELEASELOOSE]:To[Do.PRERELEASE]);if(!o||o[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[o];else {let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o);}}if(r){let i=[r,o];n===!1&&(i=[r]),Fa(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i;}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};b0.exports=_a;});var Ma=chunkTKGT252T_js.c((A9,E0)=>{var w0=S0(),pC=(e,t,r=!1)=>{if(e instanceof w0)return e;try{return new w0(e,t)}catch(n){if(!r)return null;throw n}};E0.exports=pC;});var v0=chunkTKGT252T_js.c((C9,x0)=>{var dC=Ma(),hC=(e,t)=>{let r=dC(e,t);return r?r.version:null};x0.exports=hC;});var L0=chunkTKGT252T_js.c((I9,O0)=>{var mC=Ma(),gC=(e,t)=>{let r=mC(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};O0.exports=gC;});var ja=chunkTKGT252T_js.c((R9,C0)=>{var X=(...e)=>e.every(t=>t)?e.join(""):"",pe=e=>e?encodeURIComponent(e):"",_r={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${X("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${X("#",n)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:o})=>`https://${e}/${t}/${r}${X("/",o,"/",pe(n))}`,browsefiletemplate:({domain:e,user:t,project:r,committish:n,treepath:o,path:i,fragment:s,hashformat:a})=>`https://${e}/${t}/${r}/${o}/${pe(n||"master")}/${i}${X("#",a(s||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:o})=>`https://${e}/${t}/${r}${X("/",n,"/",pe(o))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:o})=>`git+https://${X(e,"@")}${t}/${r}/${n}.git${X("#",o)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:o})=>`https://${e}/${t}/${r}/raw/${pe(n)||"master"}/${o}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${X("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${X("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:A0},Ae={};Ae.github=Object.assign({},_r,{protocols:["git:","http:","git+ssh:","git+https:","ssh:","https:"],domain:"github.com",treepath:"tree",filetemplate:({auth:e,user:t,project:r,committish:n,path:o})=>`https://${X(e,"@")}raw.githubusercontent.com/${t}/${r}/${pe(n)||"master"}/${o}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:o})=>`git://${X(e,"@")}${t}/${r}/${n}.git${X("#",o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${pe(n)||"master"}`,extract:e=>{let[,t,r,n,o]=e.pathname.split("/",5);if(!(n&&n!=="tree")&&(n||(o=e.hash.slice(1)),r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return {user:t,project:r,committish:o}}});Ae.bitbucket=Object.assign({},_r,{protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"bitbucket.org",treepath:"src",tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/get/${pe(n)||"master"}.tar.gz`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["get"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return {user:t,project:r,committish:e.hash.slice(1)}}});Ae.gitlab=Object.assign({},_r,{protocols:["git+ssh:","git+https:","ssh:","https:"],domain:"gitlab.com",treepath:"tree",httpstemplate:({auth:e,domain:t,user:r,project:n,committish:o})=>`git+https://${X(e,"@")}${t}/${r}/${n}.git${X("#",o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${pe(n)||"master"}`,extract:e=>{let t=e.pathname.slice(1);if(t.includes("/-/")||t.includes("/archive.tar.gz"))return;let r=t.split("/"),n=r.pop();n.endsWith(".git")&&(n=n.slice(0,-4));let o=r.join("/");if(!(!o||!n))return {user:o,project:n,committish:e.hash.slice(1)}}});Ae.gist=Object.assign({},_r,{protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${X("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${X("#",r)}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${X("/",pe(r))}`,browsefiletemplate:({domain:e,project:t,committish:r,path:n,hashformat:o})=>`https://${e}/${t}${X("/",pe(r))}${X("#",o(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${X("/",pe(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${X("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${X("/",pe(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${X("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${X("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${X("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${pe(t)||"master"}`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(n!=="raw"){if(!r){if(!t)return;r=t,t=null;}return r.endsWith(".git")&&(r=r.slice(0,-4)),{user:t,project:r,committish:e.hash.slice(1)}}},hashformat:function(e){return e&&"file-"+A0(e)}});Ae.sourcehut=Object.assign({},_r,{protocols:["git+ssh:","https:"],domain:"git.sr.ht",treepath:"tree",browsefiletemplate:({domain:e,user:t,project:r,committish:n,treepath:o,path:i,fragment:s,hashformat:a})=>`https://${e}/${t}/${r}/${o}/${pe(n||"main")}/${i}${X("#",a(s||""))}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:o})=>`https://${e}/${t}/${r}/blob/${pe(n)||"main"}/${o}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${X("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${pe(n)||"main"}.tar.gz`,bugstemplate:({domain:e,user:t,project:r})=>`https://todo.sr.ht/${t}/${r}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:o})=>`https://${e}/${t}/${r}${X("/",n,"/",pe(o))}#readme`,extract:e=>{let[,t,r,n]=e.pathname.split("/",4);if(!["archive"].includes(n)&&(r&&r.endsWith(".git")&&(r=r.slice(0,-4)),!(!t||!r)))return {user:t,project:r,committish:e.hash.slice(1)}}});var yC=Object.keys(Ae);Ae.byShortcut={};Ae.byDomain={};for(let e of yC)Ae.byShortcut[`${e}:`]=e,Ae.byDomain[Ae[e].domain]=e;function A0(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}C0.exports=Ae;});var R0=chunkTKGT252T_js.c((P9,I0)=>{var bC=ja(),Ba=class{constructor(t,r,n,o,i,s,a={}){Object.assign(this,bC[t]),this.type=t,this.user=r,this.auth=n,this.project=o,this.committish=i,this.default=s,this.opts=a;}hash(){return this.committish?`#${this.committish}`:""}ssh(t){return this._fill(this.sshtemplate,t)}_fill(t,r){if(typeof t=="function"){let n={...this,...this.opts,...r};n.path||(n.path=""),n.path.startsWith("/")&&(n.path=n.path.slice(1)),n.noCommittish&&(n.committish=null);let o=t(n);return n.noGitPlus&&o.startsWith("git+")?o.slice(4):o}return null}sshurl(t){return this._fill(this.sshurltemplate,t)}browse(t,r,n){return typeof t!="string"?this._fill(this.browsetemplate,t):(typeof r!="string"&&(n=r,r=null),this._fill(this.browsefiletemplate,{...n,fragment:r,path:t}))}docs(t){return this._fill(this.docstemplate,t)}bugs(t){return this._fill(this.bugstemplate,t)}https(t){return this._fill(this.httpstemplate,t)}git(t){return this._fill(this.gittemplate,t)}shortcut(t){return this._fill(this.shortcuttemplate,t)}path(t){return this._fill(this.pathtemplate,t)}tarball(t){return this._fill(this.tarballtemplate,{...t,noCommittish:!1})}file(t,r){return this._fill(this.filetemplate,{...r,path:t})}getDefaultRepresentation(){return this.default}toString(t){return this.default&&typeof this[this.default]=="function"?this[this.default](t):this.sshurl(t)}};I0.exports=Ba;});var T0=chunkTKGT252T_js.c((T9,P0)=>{P0.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value;};};});var N0=chunkTKGT252T_js.c((D9,D0)=>{D0.exports=H;H.Node=vt;H.create=H;function H(e){var t=this;if(t instanceof H||(t=new H),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(o){t.push(o);});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}H.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};H.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}};H.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}};H.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)wC(this,arguments[e]);return this.length};H.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)EC(this,arguments[e]);return this.length};H.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};H.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};H.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next;};H.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev;};H.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};H.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};H.prototype.map=function(e,t){t=t||this;for(var r=new H,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};H.prototype.mapReverse=function(e,t){t=t||this;for(var r=new H,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};H.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;n!==null;o++)r=e(r,n.value,o),n=n.next;return r};H.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;n!==null;o--)r=e(r,n.value,o),n=n.prev;return r};H.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};H.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};H.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new H;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(;o!==null&&n<t;n++,o=o.next)r.push(o.value);return r};H.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new H;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,o=this.tail;o!==null&&n>t;n--)o=o.prev;for(;o!==null&&n>e;n--,o=o.prev)r.push(o.value);return r};H.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(var i=[],n=0;o&&n<t;n++)i.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var n=0;n<r.length;n++)o=SC(this,o,r[n]);return i};H.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n;}return this.head=t,this.tail=e,this};function SC(e,t,r){var n=t===e.head?new vt(r,null,t,e):new vt(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function wC(e,t){e.tail=new vt(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++;}function EC(e,t){e.head=new vt(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++;}function vt(e,t,r,n){if(!(this instanceof vt))return new vt(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}try{T0()(H);}catch{}});var j0=chunkTKGT252T_js.c((N9,M0)=>{var xC=N0(),Ot=Symbol("max"),Ze=Symbol("length"),Zt=Symbol("lengthCalculator"),jr=Symbol("allowStale"),Lt=Symbol("maxAge"),Je=Symbol("dispose"),$0=Symbol("noDisposeOnSet"),ce=Symbol("lruList"),$e=Symbol("cache"),_0=Symbol("updateAgeOnGet"),Ua=()=>1,ka=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[Ot]=t.max||1/0;let n=t.length||Ua;if(this[Zt]=typeof n!="function"?Ua:n,this[jr]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Lt]=t.maxAge||0,this[Je]=t.dispose,this[$0]=t.noDisposeOnSet||!1,this[_0]=t.updateAgeOnGet||!1,this.reset();}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Ot]=t||1/0,Mr(this);}get max(){return this[Ot]}set allowStale(t){this[jr]=!!t;}get allowStale(){return this[jr]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Lt]=t,Mr(this);}get maxAge(){return this[Lt]}set lengthCalculator(t){typeof t!="function"&&(t=Ua),t!==this[Zt]&&(this[Zt]=t,this[Ze]=0,this[ce].forEach(r=>{r.length=this[Zt](r.value,r.key),this[Ze]+=r.length;})),Mr(this);}get lengthCalculator(){return this[Zt]}get length(){return this[Ze]}get itemCount(){return this[ce].length}rforEach(t,r){r=r||this;for(let n=this[ce].tail;n!==null;){let o=n.prev;F0(this,t,n,r),n=o;}}forEach(t,r){r=r||this;for(let n=this[ce].head;n!==null;){let o=n.next;F0(this,t,n,r),n=o;}}keys(){return this[ce].toArray().map(t=>t.key)}values(){return this[ce].toArray().map(t=>t.value)}reset(){this[Je]&&this[ce]&&this[ce].length&&this[ce].forEach(t=>this[Je](t.key,t.value)),this[$e]=new Map,this[ce]=new xC,this[Ze]=0;}dump(){return this[ce].map(t=>No(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[ce]}set(t,r,n){if(n=n||this[Lt],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let o=n?Date.now():0,i=this[Zt](r,t);if(this[$e].has(t)){if(i>this[Ot])return Qt(this,this[$e].get(t)),!1;let c=this[$e].get(t).value;return this[Je]&&(this[$0]||this[Je](t,c.value)),c.now=o,c.maxAge=n,c.value=r,this[Ze]+=i-c.length,c.length=i,this.get(t),Mr(this),!0}let s=new qa(t,r,i,o,n);return s.length>this[Ot]?(this[Je]&&this[Je](t,r),!1):(this[Ze]+=s.length,this[ce].unshift(s),this[$e].set(t,this[ce].head),Mr(this),!0)}has(t){if(!this[$e].has(t))return !1;let r=this[$e].get(t).value;return !No(this,r)}get(t){return Ga(this,t,!0)}peek(t){return Ga(this,t,!1)}pop(){let t=this[ce].tail;return t?(Qt(this,t),t.value):null}del(t){Qt(this,this[$e].get(t));}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let o=t[n],i=o.e||0;if(i===0)this.set(o.k,o.v);else {let s=i-r;s>0&&this.set(o.k,o.v,s);}}}prune(){this[$e].forEach((t,r)=>Ga(this,r,!1));}},Ga=(e,t,r)=>{let n=e[$e].get(t);if(n){let o=n.value;if(No(e,o)){if(Qt(e,n),!e[jr])return}else r&&(e[_0]&&(n.value.now=Date.now()),e[ce].unshiftNode(n));return o.value}},No=(e,t)=>{if(!t||!t.maxAge&&!e[Lt])return !1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Lt]&&r>e[Lt]},Mr=e=>{if(e[Ze]>e[Ot])for(let t=e[ce].tail;e[Ze]>e[Ot]&&t!==null;){let r=t.prev;Qt(e,t),t=r;}},Qt=(e,t)=>{if(t){let r=t.value;e[Je]&&e[Je](r.key,r.value),e[Ze]-=r.length,e[$e].delete(r.key),e[ce].removeNode(t);}},qa=class{constructor(t,r,n,o,i){this.key=t,this.value=r,this.length=n,this.now=o,this.maxAge=i||0;}},F0=(e,t,r,n)=>{let o=r.value;No(e,o)&&(Qt(e,r),e[jr]||(o=void 0)),o&&t.call(n,o.value,o.key,e);};M0.exports=ka;});var U0=chunkTKGT252T_js.c(($9,Wa)=>{var B0=chunkTKGT252T_js.a("url"),$o=ja(),vC=Wa.exports=R0(),OC=j0(),za=new OC({max:1e3}),LC={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function AC(e){return LC[e]||e.slice(0,-1)}var CC={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},IC=Object.keys($o.byShortcut).concat(["http:","https:","git:","git+ssh:","git+https:","ssh:"]);Wa.exports.fromUrl=function(e,t){if(typeof e!="string")return;let r=e+JSON.stringify(t||{});return za.has(r)||za.set(r,RC(e,t)),za.get(r)};function RC(e,t){if(!e)return;let r=TC(e)?"github:"+e:PC(e),n=NC(r);if(!n)return n;let o=$o.byShortcut[n.protocol],i=$o.byDomain[n.hostname.startsWith("www.")?n.hostname.slice(4):n.hostname],s=o||i;if(!s)return;let a=$o[o||i],c=null;CC[n.protocol]&&(n.username||n.password)&&(c=`${n.username}${n.password?":"+n.password:""}`);let l=null,u=null,f=null,g=null;try{if(o){let y=n.pathname.startsWith("/")?n.pathname.slice(1):n.pathname,b=y.indexOf("@");b>-1&&(y=y.slice(b+1));let p=y.lastIndexOf("/");p>-1?(u=decodeURIComponent(y.slice(0,p)),u||(u=null),f=decodeURIComponent(y.slice(p+1))):f=decodeURIComponent(y),f.endsWith(".git")&&(f=f.slice(0,-4)),n.hash&&(l=decodeURIComponent(n.hash.slice(1))),g="shortcut";}else {if(!a.protocols.includes(n.protocol))return;let y=a.extract(n);if(!y)return;u=y.user&&decodeURIComponent(y.user),f=decodeURIComponent(y.project),l=decodeURIComponent(y.committish),g=AC(n.protocol);}}catch(y){if(y instanceof URIError)return;throw y}return new vC(s,u,c,f,l,g,t)}var PC=e=>{let t=e.indexOf(":"),r=e.slice(0,t+1);if(IC.includes(r))return e;let n=e.indexOf("@");return n>-1?n>t?`git+ssh://${e}`:e:e.indexOf("//")===t+1?e:e.slice(0,t+1)+"//"+e.slice(t+1)},TC=e=>{let t=e.indexOf("#"),r=e.indexOf("/"),n=e.indexOf("/",r+1),o=e.indexOf(":"),i=/\s/.exec(e),s=e.indexOf("@"),a=!i||t>-1&&i.index>t,c=s===-1||t>-1&&s>t,l=o===-1||t>-1&&o>t,u=n===-1||t>-1&&n>t,f=r>0,g=t>-1?e[t-1]!=="/":!e.endsWith("/"),y=!e.startsWith(".");return a&&f&&g&&y&&c&&l&&u},DC=e=>{let t=e.indexOf("@"),r=e.lastIndexOf("#"),n=e.indexOf(":"),o=e.lastIndexOf(":",r>-1?r:1/0),i;return o>t&&(i=e.slice(0,o)+"/"+e.slice(o+1),n=i.indexOf(":"),o=i.lastIndexOf(":")),n===-1&&e.indexOf("//")===-1&&(i=`git+ssh://${i}`),i},NC=e=>{let t;try{t=new B0.URL(e);}catch{}if(t)return t;let r=DC(e);try{t=new B0.URL(r);}catch{}return t};});var k0=chunkTKGT252T_js.c((F9,G0)=>{G0.exports=$C;function $C(e){if(e&&e!=="ERROR: No README data found!"){e=e.trim().split(`
|
|
42
|
+
`);for(var t=0;e[t]&&e[t].trim().match(/^(#|$)/);t++);for(var r=e.length,n=t+1;n<r&&e[n].trim();n++);return e.slice(t,n).join(" ").trim()}}});var q0=chunkTKGT252T_js.c((_9,FC)=>{FC.exports={topLevel:{dependancies:"dependencies",dependecies:"dependencies",depdenencies:"dependencies",devEependencies:"devDependencies",depends:"dependencies","dev-dependencies":"devDependencies",devDependences:"devDependencies",devDepenencies:"devDependencies",devdependencies:"devDependencies",repostitory:"repository",repo:"repository",prefereGlobal:"preferGlobal",hompage:"homepage",hampage:"homepage",autohr:"author",autor:"author",contributers:"contributors",publicationConfig:"publishConfig",script:"scripts"},bugs:{web:"url",name:"url"},script:{server:"start",tests:"test"}};});var V0=chunkTKGT252T_js.c((M9,W0)=>{var _C=v0(),MC=L0(),jC=da(),Fo=U0(),BC=Jt(),UC=["dependencies","devDependencies","optionalDependencies"],GC=k0(),Va=chunkTKGT252T_js.a("url"),st=q0();W0.exports={warn:function(){},fixRepositoryField:function(e){if(e.repositories&&(this.warn("repositories"),e.repository=e.repositories[0]),!e.repository)return this.warn("missingRepository");typeof e.repository=="string"&&(e.repository={type:"git",url:e.repository});var t=e.repository.url||"";if(t){var r=Fo.fromUrl(t);r&&(t=e.repository.url=r.getDefaultRepresentation()==="shortcut"?r.https():r.toString());}t.match(/github.com\/[^/]+\/[^/]+\.git\.git$/)&&this.warn("brokenGitUrl",t);},fixTypos:function(e){Object.keys(st.topLevel).forEach(function(t){Object.prototype.hasOwnProperty.call(e,t)&&this.warn("typo",t,st.topLevel[t]);},this);},fixScriptsField:function(e){if(e.scripts){if(typeof e.scripts!="object"){this.warn("nonObjectScripts"),delete e.scripts;return}Object.keys(e.scripts).forEach(function(t){typeof e.scripts[t]!="string"?(this.warn("nonStringScript"),delete e.scripts[t]):st.script[t]&&!e.scripts[st.script[t]]&&this.warn("typo",t,st.script[t],"scripts");},this);}},fixFilesField:function(e){var t=e.files;t&&!Array.isArray(t)?(this.warn("nonArrayFiles"),delete e.files):e.files&&(e.files=e.files.filter(function(r){return !r||typeof r!="string"?(this.warn("invalidFilename",r),!1):!0},this));},fixBinField:function(e){if(e.bin&&typeof e.bin=="string"){var t={},r;(r=e.name.match(/^@[^/]+[/](.*)$/))?t[r[1]]=e.bin:t[e.name]=e.bin,e.bin=t;}},fixManField:function(e){e.man&&typeof e.man=="string"&&(e.man=[e.man]);},fixBundleDependenciesField:function(e){var t="bundledDependencies",r="bundleDependencies";e[t]&&!e[r]&&(e[r]=e[t],delete e[t]),e[r]&&!Array.isArray(e[r])?(this.warn("nonArrayBundleDependencies"),delete e[r]):e[r]&&(e[r]=e[r].filter(function(n){return !n||typeof n!="string"?(this.warn("nonStringBundleDependency",n),!1):(e.dependencies||(e.dependencies={}),Object.prototype.hasOwnProperty.call(e.dependencies,n)&&(this.warn("nonDependencyBundleDependency",n),e.dependencies[n]="*"),!0)},this));},fixDependencies:function(e,t){XC(e,this.warn),HC(e,this.warn),this.fixBundleDependenciesField(e),["dependencies","devDependencies"].forEach(function(r){if(r in e){if(!e[r]||typeof e[r]!="object"){this.warn("nonObjectDependencies",r),delete e[r];return}Object.keys(e[r]).forEach(function(n){var o=e[r][n];typeof o!="string"&&(this.warn("nonStringDependency",n,JSON.stringify(o)),delete e[r][n]);var i=Fo.fromUrl(e[r][n]);i&&(e[r][n]=i.toString());},this);}},this);},fixModulesField:function(e){e.modules&&(this.warn("deprecatedModules"),delete e.modules);},fixKeywordsField:function(e){typeof e.keywords=="string"&&(e.keywords=e.keywords.split(/,\s+/)),e.keywords&&!Array.isArray(e.keywords)?(delete e.keywords,this.warn("nonArrayKeywords")):e.keywords&&(e.keywords=e.keywords.filter(function(t){return typeof t!="string"||!t?(this.warn("nonStringKeyword"),!1):!0},this));},fixVersionField:function(e,t){var r=!t;if(!e.version)return e.version="",!0;if(!_C(e.version,r))throw new Error('Invalid version: "'+e.version+'"');return e.version=MC(e.version,r),!0},fixPeople:function(e){z0(e,WC),z0(e,VC);},fixNameField:function(e,t){typeof t=="boolean"?t={strict:t}:typeof t>"u"&&(t={});var r=t.strict;if(!e.name&&!r){e.name="";return}if(typeof e.name!="string")throw new Error("name field must be a string.");r||(e.name=e.name.trim()),zC(e.name,r,t.allowLegacyCase),BC(e.name)&&this.warn("conflictingName",e.name);},fixDescriptionField:function(e){e.description&&typeof e.description!="string"&&(this.warn("nonStringDescription"),delete e.description),e.readme&&!e.description&&(e.description=GC(e.readme)),e.description===void 0&&delete e.description,e.description||this.warn("missingDescription");},fixReadmeField:function(e){e.readme||(this.warn("missingReadme"),e.readme="ERROR: No README data found!");},fixBugsField:function(e){if(!e.bugs&&e.repository&&e.repository.url){var t=Fo.fromUrl(e.repository.url);t&&t.bugs()&&(e.bugs={url:t.bugs()});}else if(e.bugs){var r=/^.+@.*\..+$/;if(typeof e.bugs=="string")r.test(e.bugs)?e.bugs={email:e.bugs}:Va.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else {KC(e.bugs,this.warn);var n=e.bugs;e.bugs={},n.url&&(typeof n.url=="string"&&Va.parse(n.url).protocol?e.bugs.url=n.url:this.warn("nonUrlBugsUrlField")),n.email&&(typeof n.email=="string"&&r.test(n.email)?e.bugs.email=n.email:this.warn("nonEmailBugsEmailField"));}!e.bugs.email&&!e.bugs.url&&(delete e.bugs,this.warn("emptyNormalizedBugs"));}},fixHomepageField:function(e){if(!e.homepage&&e.repository&&e.repository.url){var t=Fo.fromUrl(e.repository.url);t&&t.docs()&&(e.homepage=t.docs());}if(e.homepage){if(typeof e.homepage!="string")return this.warn("nonUrlHomepage"),delete e.homepage;Va.parse(e.homepage).protocol||(e.homepage="http://"+e.homepage);}},fixLicenseField:function(e){let t=e.license||e.licence;if(!t)return this.warn("missingLicense");if(typeof t!="string"||t.length<1||t.trim()==="")return this.warn("invalidLicense");if(!jC(t).validForNewPackages)return this.warn("invalidLicense")}};function kC(e){if(e.charAt(0)!=="@")return !1;var t=e.slice(1).split("/");return t.length!==2?!1:t[0]&&t[1]&&t[0]===encodeURIComponent(t[0])&&t[1]===encodeURIComponent(t[1])}function qC(e){return !e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function zC(e,t,r){if(e.charAt(0)==="."||!(kC(e)||qC(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function z0(e,t){return e.author&&(e.author=t(e.author)),["maintainers","contributors"].forEach(function(r){Array.isArray(e[r])&&(e[r]=e[r].map(t));}),e}function WC(e){if(typeof e=="string")return e;var t=e.name||"",r=e.url||e.web,n=r?" ("+r+")":"",o=e.email||e.mail,i=o?" <"+o+">":"";return t+i+n}function VC(e){if(typeof e!="string")return e;var t=e.match(/^([^(<]+)/),r=e.match(/\(([^)]+)\)/),n=e.match(/<([^>]+)>/),o={};return t&&t[0].trim()&&(o.name=t[0].trim()),n&&(o.email=n[1]),r&&(o.url=r[1]),o}function HC(e,t){var r=e.optionalDependencies;if(r){var n=e.dependencies||{};Object.keys(r).forEach(function(o){n[o]=r[o];}),e.dependencies=n;}}function YC(e,t,r){if(!e)return {};if(typeof e=="string"&&(e=e.trim().split(/[\n\r\s\t ,]+/)),!Array.isArray(e))return e;r("deprecatedArrayDependencies",t);var n={};return e.filter(function(o){return typeof o=="string"}).forEach(function(o){o=o.trim().split(/(:?[@\s><=])/);var i=o.shift(),s=o.join("");s=s.trim(),s=s.replace(/^@/,""),n[i]=s;}),n}function XC(e,t){UC.forEach(function(r){e[r]&&(e[r]=YC(e[r],r,t));});}function KC(e,t){e&&Object.keys(e).forEach(function(r){st.bugs[r]&&(t("typo",r,st.bugs[r],"bugs"),e[st.bugs[r]]=e[r],delete e[r]);});}});var H0=chunkTKGT252T_js.c((j9,JC)=>{JC.exports={repositories:"'repositories' (plural) Not supported. Please pick one as the 'repository' field",missingRepository:"No repository field.",brokenGitUrl:"Probably broken git url: %s",nonObjectScripts:"scripts must be an object",nonStringScript:"script values must be string commands",nonArrayFiles:"Invalid 'files' member",invalidFilename:"Invalid filename in 'files' list: %s",nonArrayBundleDependencies:"Invalid 'bundleDependencies' list. Must be array of package names",nonStringBundleDependency:"Invalid bundleDependencies member: %s",nonDependencyBundleDependency:"Non-dependency in bundleDependencies: %s",nonObjectDependencies:"%s field must be an object",nonStringDependency:"Invalid dependency: %s %s",deprecatedArrayDependencies:"specifying %s as array is deprecated",deprecatedModules:"modules field is deprecated",nonArrayKeywords:"keywords should be an array of strings",nonStringKeyword:"keywords should be an array of strings",conflictingName:"%s is also the name of a node core module.",nonStringDescription:"'description' field should be a string",missingDescription:"No description",missingReadme:"No README data",missingLicense:"No license field.",nonEmailUrlBugsString:"Bug string field must be url, email, or {email,url}",nonUrlBugsUrlField:"bugs.url field must be a string url. Deleted.",nonEmailBugsEmailField:"bugs.email field must be a string email. Deleted.",emptyNormalizedBugs:"Normalized value of bugs field is an empty object. Deleted.",nonUrlHomepage:"homepage field must be a string url. Deleted.",invalidLicense:"license should be a valid SPDX license expression",typo:"%s should probably be %s."};});var K0=chunkTKGT252T_js.c((B9,X0)=>{var Y0=chunkTKGT252T_js.a("util"),Ha=H0();X0.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==="typo")return ZC.apply(null,e);var r=Ha[t]?Ha[t]:t+": '%s'";return e.unshift(r),Y0.format.apply(null,e)};function ZC(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),Y0.format(Ha.typo,e,t)}});var eg=chunkTKGT252T_js.c((U9,Q0)=>{Q0.exports=J0;var Ya=V0();J0.fixer=Ya;var QC=K0(),eI=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],tI=["dependencies","people","typos"],Xa=eI.map(function(e){return Z0(e)+"Field"});Xa=Xa.concat(tI);function J0(e,t,r){t===!0&&(t=null,r=!0),r||(r=!1),(!t||e.private)&&(t=function(n){}),e.scripts&&e.scripts.install==="node-gyp rebuild"&&!e.scripts.preinstall&&(e.gypfile=!0),Ya.warn=function(){t(QC.apply(null,arguments));},Xa.forEach(function(n){Ya["fix"+Z0(n)](e,r);}),e._id=e.name+"@"+e.version;}function Z0(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var xI=chunkTKGT252T_js.c((G9,Br)=>{var rI=chunkTKGT252T_js.a("path"),nI=Rd(),oI=Md(),iI=Kd(),sI=Ps(),aI=th(),cI=rh(),uI=lh(),lI=n0(),fI=s0(),pI=eg();delete chunkTKGT252T_js.a.cache[__filename];var dI=rI.dirname(Br.parent&&Br.parent.filename?Br.parent.filename:"."),hI=(e,t,r,n)=>{let o=t[e],i=!0;if(typeof o.isRequired=="function"&&(i=o.isRequired(r,n),typeof i!="boolean"))throw new TypeError(`Return value for isRequired callback should be of type boolean, but ${typeof i} was returned.`);return typeof r[e]>"u"?i:o.isMultiple&&r[e].length===0},mI=(e,t,r)=>{let n=[];if(typeof e>"u")return [];for(let o of Object.keys(e))e[o].isRequired&&hI(o,e,t,r)&&n.push({key:o,...e[o]});return n},gI=e=>{console.error(`Missing required flag${e.length>1?"s":""}`);for(let t of e)console.error(` --${sI(t.key,"-")}${t.alias?`, -${t.alias}`:""}`);},yI=({flags:e})=>{let t=Object.keys(e).filter(r=>r.includes("-")&&r!=="--");if(t.length>0)throw new Error(`Flag keys may not contain '-': ${t.join(", ")}`)},bI=e=>{console.error([`Unknown flag${e.length>1?"s":""}`,...e].join(`
|
|
43
|
+
`));},SI=({flags:e,booleanDefault:t})=>{let r={};for(let[n,o]of Object.entries(e)){let i={...o};typeof t<"u"&&i.type==="boolean"&&!Object.prototype.hasOwnProperty.call(i,"default")&&(i.default=i.isMultiple?[t]:t),i.isMultiple&&(i.type=i.type?`${i.type}-array`:"array",i.default=i.default||[],delete i.isMultiple),r[n]=i;}return r},wI=(e,t)=>{for(let[r,n]of Object.entries(t.flags))if(r!=="--"&&!n.isMultiple&&Array.isArray(e[r]))throw new Error(`The flag --${r} can only be set once.`)},EI=(e,t)=>{typeof e!="string"&&(t=e,e="");let r=lI.sync({cwd:dI,normalize:!1});t={pkg:r?r.packageJson:{},argv:process.argv.slice(2),flags:{},inferType:!1,input:"string",help:e,autoHelp:!0,autoVersion:!0,booleanDefault:!1,hardRejection:!0,allowUnknownFlags:!0,...t},t.hardRejection&&fI(),yI(t);let n={arguments:t.input,...SI(t)};n=aI(n,"-",{exclude:["stopEarly","--"]}),t.inferType&&delete n.arguments,n=nI(n),n.configuration={...n.configuration,"greedy-arrays":!1},n["--"]&&(n.configuration["populate--"]=!0),t.allowUnknownFlags||(n.configuration["unknown-options-as-args"]=!0);let{pkg:o}=t,i=oI(t.argv,n),s=uI(cI((t.help||"").replace(/\t+\n*$/,"")),2);pI(o),process.title=o.bin?Object.keys(o.bin)[0]:o.name;let{description:a}=t;!a&&a!==!1&&({description:a}=o),s=(a?`
|
|
44
|
+
${a}
|
|
45
|
+
`:"")+(s?`
|
|
46
|
+
${s}
|
|
47
|
+
`:`
|
|
48
|
+
`);let c=b=>{console.log(s),process.exit(typeof b=="number"?b:2);},l=()=>{console.log(typeof t.version=="string"?t.version:o.version),process.exit(0);};i._.length===0&&t.argv.length===1&&(i.version===!0&&t.autoVersion&&l(),i.help===!0&&t.autoHelp&&c(0));let u=i._;if(delete i._,!t.allowUnknownFlags){let b=u.filter(p=>typeof p=="string"&&p.startsWith("-"));b.length>0&&(bI(b),process.exit(2));}let f=iI(i,{exclude:["--",/^\w$/]}),g={...f};wI(f,t);for(let b of Object.values(t.flags))delete f[b.alias];let y=mI(t.flags,f,u);return y.length>0&&(gI(y),process.exit(2)),{input:u,flags:f,unnormalizedFlags:g,pkg:o,help:s,showHelp:c,showVersion:l}};Br.exports=EI;});var rg=chunkTKGT252T_js.c((V9,tg)=>{tg.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};});var Ja=chunkTKGT252T_js.c((H9,og)=>{var Ur=rg(),ng={};for(let e of Object.keys(Ur))ng[Ur[e]]=e;var P={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};og.exports=P;for(let e of Object.keys(P)){if(!("channels"in P[e]))throw new Error("missing channels property: "+e);if(!("labels"in P[e]))throw new Error("missing channel labels property: "+e);if(P[e].labels.length!==P[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=P[e];delete P[e].channels,delete P[e].labels,Object.defineProperty(P[e],"channels",{value:t}),Object.defineProperty(P[e],"labels",{value:r});}P.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),s=i-o,a,c;i===o?a=0:t===i?a=(r-n)/s:r===i?a=2+(n-t)/s:n===i&&(a=4+(t-r)/s),a=Math.min(a*60,360),a<0&&(a+=360);let l=(o+i)/2;return i===o?c=0:l<=.5?c=s/(i+o):c=s/(2-i-o),[a,c*100,l*100]};P.rgb.hsv=function(e){let t,r,n,o,i,s=e[0]/255,a=e[1]/255,c=e[2]/255,l=Math.max(s,a,c),u=l-Math.min(s,a,c),f=function(g){return (l-g)/6/u+1/2};return u===0?(o=0,i=0):(i=u/l,t=f(s),r=f(a),n=f(c),s===l?o=n-r:a===l?o=1/3+t-n:c===l&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,l*100]};P.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],o=P.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[o,i*100,n*100]};P.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-r,1-n),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,a=(1-n-o)/(1-o)||0;return [i*100,s*100,a*100,o*100]};function LI(e,t){return (e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}P.rgb.keyword=function(e){let t=ng[e];if(t)return t;let r=1/0,n;for(let o of Object.keys(Ur)){let i=Ur[o],s=LI(e,i);s<r&&(r=s,n=o);}return n};P.keyword.rgb=function(e){return Ur[e]};P.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let o=t*.4124+r*.3576+n*.1805,i=t*.2126+r*.7152+n*.0722,s=t*.0193+r*.1192+n*.9505;return [o*100,i*100,s*100]};P.rgb.lab=function(e){let t=P.rgb.xyz(e),r=t[0],n=t[1],o=t[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*n-16,s=500*(r-n),a=200*(n-o);return [i,s,a]};P.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o,i,s;if(r===0)return s=n*255,[s,s,s];n<.5?o=n*(1+r):o=n+r-n*r;let a=2*n-o,c=[0,0,0];for(let l=0;l<3;l++)i=t+1/3*-(l-1),i<0&&i++,i>1&&i--,6*i<1?s=a+(o-a)*6*i:2*i<1?s=o:3*i<2?s=a+(o-a)*(2/3-i)*6:s=a,c[l]=s*255;return c};P.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=r,i=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i;let s=(n+r)/2,a=n===0?2*o/(i+o):2*r/(n+r);return [t,a*100,s*100]};P.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*n*(1-r),a=255*n*(1-r*i),c=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return [n,c,s];case 1:return [a,n,s];case 2:return [s,n,c];case 3:return [s,a,n];case 4:return [c,s,n];case 5:return [n,s,a]}};P.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01),i,s;s=(2-r)*n;let a=(2-r)*o;return i=r*o,i/=a<=1?a:2-a,i=i||0,s/=2,[t,i*100,s*100]};P.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,o=r+n,i;o>1&&(r/=o,n/=o);let s=Math.floor(6*t),a=1-n;i=6*t-s,s&1&&(i=1-i);let c=r+i*(a-r),l,u,f;switch(s){default:case 6:case 0:l=a,u=c,f=r;break;case 1:l=c,u=a,f=r;break;case 2:l=r,u=a,f=c;break;case 3:l=r,u=c,f=a;break;case 4:l=c,u=r,f=a;break;case 5:l=a,u=r,f=c;break}return [l*255,u*255,f*255]};P.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),a=1-Math.min(1,n*(1-o)+o);return [i*255,s*255,a*255]};P.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+n*-.4986,i=t*-.9689+r*1.8758+n*.0415,s=t*.0557+r*-.204+n*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]};P.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-n);return [o,i,s]};P.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-n/200;let a=i**3,c=o**3,l=s**3;return i=a>.008856?a:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=l>.008856?l:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]};P.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],o;o=Math.atan2(n,r)*360/2/Math.PI,o<0&&(o+=360);let s=Math.sqrt(r*r+n*n);return [t,s,o]};P.lch.lab=function(e){let t=e[0],r=e[1],o=e[2]/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o);return [t,i,s]};P.rgb.ansi16=function(e,t=null){let[r,n,o]=e,i=t===null?P.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return i===2&&(s+=60),s};P.hsv.ansi16=function(e){return P.rgb.ansi16(P.hsv.rgb(e),e[2])};P.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};P.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return [n,o,i]};P.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return [i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return [r,n,o]};P.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return "000000".substring(r.length)+r};P.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return [0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),o=n>>16&255,i=n>>8&255,s=n&255;return [o,i,s]};P.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,r),n),i=Math.min(Math.min(t,r),n),s=o-i,a,c;return s<1?a=i/(1-s):a=0,s<=0?c=0:o===t?c=(r-n)/s%6:o===r?c=2+(n-t)/s:c=4+(t-r)/s,c/=6,c%=1,[c*360,s*100,a*100]};P.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),o=0;return n<1&&(o=(r-.5*n)/(1-n)),[e[0],n*100,o*100]};P.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],n*100,o*100]};P.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return [n*255,n*255,n*255];let o=[0,0,0],i=t%1*6,s=i%1,a=1-s,c=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a;}return c=(1-r)*n,[(r*o[0]+c)*255,(r*o[1]+c)*255,(r*o[2]+c)*255]};P.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),o=0;return n>0&&(o=t/n),[e[0],o*100,n*100]};P.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],o*100,n*100]};P.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return [e[0],(n-t)*100,(1-n)*100]};P.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],o*100,i*100]};P.apple.rgb=function(e){return [e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};P.rgb.apple=function(e){return [e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};P.gray.rgb=function(e){return [e[0]/100*255,e[0]/100*255,e[0]/100*255]};P.gray.hsl=function(e){return [0,0,e[0]]};P.gray.hsv=P.gray.hsl;P.gray.hwb=function(e){return [0,100,e[0]]};P.gray.cmyk=function(e){return [0,0,0,e[0]]};P.gray.lab=function(e){return [e[0],0,0]};P.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return "000000".substring(n.length)+n};P.rgb.gray=function(e){return [(e[0]+e[1]+e[2])/3/255*100]};});var sg=chunkTKGT252T_js.c((Y9,ig)=>{var _o=Ja();function AI(){let e={},t=Object.keys(_o);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function CI(e){let t=AI(),r=[e];for(t[e].distance=0;r.length;){let n=r.pop(),o=Object.keys(_o[n]);for(let i=o.length,s=0;s<i;s++){let a=o[s],c=t[a];c.distance===-1&&(c.distance=t[n].distance+1,c.parent=n,r.unshift(a));}}return t}function II(e,t){return function(r){return t(e(r))}}function RI(e,t){let r=[t[e].parent,e],n=_o[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),n=II(_o[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}ig.exports=function(e){let t=CI(e),r={},n=Object.keys(t);for(let o=n.length,i=0;i<o;i++){let s=n[i];t[s].parent!==null&&(r[s]=RI(s,t));}return r};});var cg=chunkTKGT252T_js.c((X9,ag)=>{var Za=Ja(),PI=sg(),er={},TI=Object.keys(Za);function DI(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return "conversion"in e&&(t.conversion=e.conversion),t}function NI(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let o=e(r);if(typeof o=="object")for(let i=o.length,s=0;s<i;s++)o[s]=Math.round(o[s]);return o};return "conversion"in e&&(t.conversion=e.conversion),t}TI.forEach(e=>{er[e]={},Object.defineProperty(er[e],"channels",{value:Za[e].channels}),Object.defineProperty(er[e],"labels",{value:Za[e].labels});let t=PI(e);Object.keys(t).forEach(n=>{let o=t[n];er[e][n]=NI(o),er[e][n].raw=DI(o);});});ag.exports=er;});var hg=chunkTKGT252T_js.c((K9,dg)=>{var ug=(e,t)=>(...r)=>`\x1B[${e(...r)+t}m`,lg=(e,t)=>(...r)=>{let n=e(...r);return `\x1B[${38+t};5;${n}m`},fg=(e,t)=>(...r)=>{let n=e(...r);return `\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},Mo=e=>e,pg=(e,t,r)=>[e,t,r],tr=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0});},Qa,rr=(e,t,r,n)=>{Qa===void 0&&(Qa=cg());let o=n?10:0,i={};for(let[s,a]of Object.entries(Qa)){let c=s==="ansi16"?"ansi":s;s===t?i[c]=e(r,o):typeof a=="object"&&(i[c]=e(a[t],o));}return i};function $I(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1});}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",tr(t.color,"ansi",()=>rr(ug,"ansi16",Mo,!1)),tr(t.color,"ansi256",()=>rr(lg,"ansi256",Mo,!1)),tr(t.color,"ansi16m",()=>rr(fg,"rgb",pg,!1)),tr(t.bgColor,"ansi",()=>rr(ug,"ansi16",Mo,!0)),tr(t.bgColor,"ansi256",()=>rr(lg,"ansi256",Mo,!0)),tr(t.bgColor,"ansi16m",()=>rr(fg,"rgb",pg,!0)),t}Object.defineProperty(dg,"exports",{enumerable:!0,get:$I});});var gg=chunkTKGT252T_js.c((J9,mg)=>{mg.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)};});var Sg=chunkTKGT252T_js.c((Z9,bg)=>{var FI=chunkTKGT252T_js.a("os"),yg=chunkTKGT252T_js.a("tty"),Ce=gg(),{env:ue}=process,at;Ce("no-color")||Ce("no-colors")||Ce("color=false")||Ce("color=never")?at=0:(Ce("color")||Ce("colors")||Ce("color=true")||Ce("color=always"))&&(at=1);"FORCE_COLOR"in ue&&(ue.FORCE_COLOR==="true"?at=1:ue.FORCE_COLOR==="false"?at=0:at=ue.FORCE_COLOR.length===0?1:Math.min(parseInt(ue.FORCE_COLOR,10),3));function ec(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function tc(e,t){if(at===0)return 0;if(Ce("color=16m")||Ce("color=full")||Ce("color=truecolor"))return 3;if(Ce("color=256"))return 2;if(e&&!t&&at===void 0)return 0;let r=at||0;if(ue.TERM==="dumb")return r;if(process.platform==="win32"){let n=FI.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ue)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in ue)||ue.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in ue)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ue.TEAMCITY_VERSION)?1:0;if(ue.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ue){let n=parseInt((ue.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ue.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(ue.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ue.TERM)||"COLORTERM"in ue?1:r}function _I(e){let t=tc(e,e&&e.isTTY);return ec(t)}bg.exports={supportsColor:_I,stdout:ec(tc(!0,yg.isatty(1))),stderr:ec(tc(!0,yg.isatty(2)))};});var Eg=chunkTKGT252T_js.c((Q9,wg)=>{var MI=(e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;let o=t.length,i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+o,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},jI=(e,t,r,n)=>{let o=0,i="";do{let s=e[n-1]==="\r";i+=e.substr(o,(s?n-1:n)-o)+t+(s?`\r
|
|
49
|
+
`:`
|
|
50
|
+
`)+r,o=n+1,n=e.indexOf(`
|
|
51
|
+
`,o);}while(n!==-1);return i+=e.substr(o),i};wg.exports={stringReplaceAll:MI,stringEncaseCRLFWithFirstIndex:jI};});var Ag=chunkTKGT252T_js.c((e_,Lg)=>{var BI=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,xg=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,UI=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,GI=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,kI=new Map([["n",`
|
|
52
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Og(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):kI.get(e)||e}function qI(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),o;for(let i of n){let s=Number(i);if(!Number.isNaN(s))r.push(s);else if(o=i.match(UI))r.push(o[2].replace(GI,(a,c,l)=>c?Og(c):l));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`)}return r}function zI(e){xg.lastIndex=0;let t=[],r;for(;(r=xg.exec(e))!==null;){let n=r[1];if(r[2]){let o=qI(n,r[2]);t.push([n].concat(o));}else t.push([n]);}return t}function vg(e,t){let r={};for(let o of t)for(let i of o.styles)r[i[0]]=o.inverse?null:i.slice(1);let n=e;for(let[o,i]of Object.entries(r))if(Array.isArray(i)){if(!(o in n))throw new Error(`Unknown Chalk style: ${o}`);n=i.length>0?n[o](...i):n[o];}return n}Lg.exports=(e,t)=>{let r=[],n=[],o=[];if(t.replace(BI,(i,s,a,c,l,u)=>{if(s)o.push(Og(s));else if(c){let f=o.join("");o=[],n.push(r.length===0?f:vg(e,r)(f)),r.push({inverse:a,styles:zI(c)});}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(vg(e,r)(o.join(""))),o=[],r.pop();}else o.push(u);}),n.push(o.join("")),r.length>0){let i=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(i)}return n.join("")};});var Ng=chunkTKGT252T_js.c((t_,Dg)=>{var Gr=hg(),{stdout:nc,stderr:oc}=Sg(),{stringReplaceAll:WI,stringEncaseCRLFWithFirstIndex:VI}=Eg(),{isArray:jo}=Array,Ig=["ansi","ansi","ansi256","ansi16m"],nr=Object.create(null),HI=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=nc?nc.level:0;e.level=t.level===void 0?r:t.level;},ic=class{constructor(t){return Rg(t)}},Rg=e=>{let t={};return HI(t,e),t.template=(...r)=>Tg(t.template,...r),Object.setPrototypeOf(t,Bo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=ic,t.template};function Bo(e){return Rg(e)}for(let[e,t]of Object.entries(Gr))nr[e]={get(){let r=Uo(this,sc(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};nr.visible={get(){let e=Uo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Pg=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of Pg)nr[e]={get(){let{level:t}=this;return function(...r){let n=sc(Gr.color[Ig[t]][e](...r),Gr.color.close,this._styler);return Uo(this,n,this._isEmpty)}}};for(let e of Pg){let t="bg"+e[0].toUpperCase()+e.slice(1);nr[t]={get(){let{level:r}=this;return function(...n){let o=sc(Gr.bgColor[Ig[r]][e](...n),Gr.bgColor.close,this._styler);return Uo(this,o,this._isEmpty)}}};}var YI=Object.defineProperties(()=>{},{...nr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e;}}}),sc=(e,t,r)=>{let n,o;return r===void 0?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},Uo=(e,t,r)=>{let n=(...o)=>jo(o[0])&&jo(o[0].raw)?Cg(n,Tg(n,...o)):Cg(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,YI),n._generator=e,n._styler=t,n._isEmpty=r,n},Cg=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;let{openAll:n,closeAll:o}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=WI(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
|
|
53
|
+
`);return i!==-1&&(t=VI(t,o,n,i)),n+t+o},rc,Tg=(e,...t)=>{let[r]=t;if(!jo(r)||!jo(r.raw))return t.join(" ");let n=t.slice(1),o=[r.raw[0]];for(let i=1;i<r.length;i++)o.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[i]));return rc===void 0&&(rc=Ag()),rc(e,o.join(""))};Object.defineProperties(Bo.prototype,nr);var Go=Bo();Go.supportsColor=nc;Go.stderr=Bo({level:oc?oc.level:0});Go.stderr.supportsColor=oc;Dg.exports=Go;});var XI=chunkTKGT252T_js.c(kr=>{Object.defineProperty(kr,"__esModule",{value:!0});kr.dedent=void 0;function $g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e.raw);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(a,c){var l=c.match(/\n[\t ]+/g);return l?a.concat(l.map(function(u){return u.length-1})):a},[]);if(o.length){var i=new RegExp(`
|
|
54
|
+
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
|
|
55
|
+
`)});}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,c){s+=a+n[c+1];}),s}kr.dedent=$g;kr.default=$g;});var cc=({file:e,commandArguments:t})=>lc(e,t),uc=({file:e,commandArguments:t})=>({...lc(e,t),isSync:!0}),lc=(e,t)=>{if(t.length>0)throw new TypeError(`The command and its arguments must be passed as a single string: ${e} ${t}.`);let[r,...n]=fc(e);return {file:r,commandArguments:n}},fc=e=>{if(typeof e!="string")throw new TypeError(`The command must be a string: ${String(e)}.`);let t=e.trim();if(t==="")return [];let r=[];for(let n of t.split(_g)){let o=r.at(-1);o&&o.endsWith("\\")?r[r.length-1]=`${o.slice(0,-1)} ${n}`:r.push(n);}return r},_g=/ +/g;function oe(e){if(typeof e!="object"||e===null)return !1;let t=Object.getPrototypeOf(e);return (t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var Ct=(e,t)=>{let r=zo(jg(e));if(typeof r!="string")throw new TypeError(`${t} must be a string or a file URL: ${r}.`);return r},jg=e=>qo(e)?e.toString():e,qo=e=>typeof e!="string"&&e&&Object.getPrototypeOf(e)===String.prototype,zo=e=>e instanceof URL?url.fileURLToPath(e):e;var Wr=(e,t=[],r={})=>{let n=Ct(e,"First argument"),[o,i]=oe(t)?[[],t]:[t,r];if(!Array.isArray(o))throw new TypeError(`Second argument must be either an array of arguments or an options object: ${o}`);if(o.some(c=>typeof c=="object"&&c!==null))throw new TypeError(`Second argument must be an array of strings: ${o}`);let s=o.map(String),a=s.find(c=>c.includes("\0"));if(a!==void 0)throw new TypeError(`Arguments cannot contain null bytes ("\\0"): ${a}`);if(!oe(i))throw new TypeError(`Last argument must be an options object: ${i}`);return [n,s,i]};var{toString:pc}=Object.prototype,dc=e=>pc.call(e)==="[object ArrayBuffer]",se=e=>pc.call(e)==="[object Uint8Array]",We=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),Ug=new TextEncoder,hc=e=>Ug.encode(e),Gg=new TextDecoder,Vr=e=>Gg.decode(e),mc=(e,t)=>kg(e,t).join(""),kg=(e,t)=>{if(t==="utf8"&&e.every(i=>typeof i=="string"))return e;let r=new string_decoder.StringDecoder(t),n=e.map(i=>typeof i=="string"?hc(i):i).map(i=>r.write(i)),o=r.end();return o===""?n:[...n,o]},or=e=>e.length===1&&se(e[0])?e[0]:Wo(qg(e)),qg=e=>e.map(t=>typeof t=="string"?hc(t):t),Wo=e=>{let t=new Uint8Array(zg(e)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t},zg=e=>{let t=0;for(let r of e)t+=r.length;return t};var Sc=e=>Array.isArray(e)&&Array.isArray(e.raw),wc=(e,t)=>{let r=[];for(let[i,s]of e.entries())r=Vg({templates:e,expressions:t,tokens:r,index:i,template:s});if(r.length===0)throw new TypeError("Template script must not be empty");let[n,...o]=r;return [n,o,{}]},Vg=({templates:e,expressions:t,tokens:r,index:n,template:o})=>{if(o===void 0)throw new TypeError(`Invalid backslash sequence: ${e.raw[n]}`);let{nextTokens:i,leadingWhitespaces:s,trailingWhitespaces:a}=Hg(o,e.raw[n]),c=yc(r,i,s);if(n===t.length)return c;let l=t[n],u=Array.isArray(l)?l.map(f=>bc(f)):[bc(l)];return yc(c,u,a)},Hg=(e,t)=>{if(t.length===0)return {nextTokens:[],leadingWhitespaces:!1,trailingWhitespaces:!1};let r=[],n=0,o=gc.has(t[0]);for(let s=0,a=0;s<e.length;s+=1,a+=1){let c=t[a];if(gc.has(c))n!==s&&r.push(e.slice(n,s)),n=s+1;else if(c==="\\"){let l=t[a+1];l===`
|
|
56
|
+
`?(s-=1,a+=1):l==="u"&&t[a+2]==="{"?a=t.indexOf("}",a+3):a+=Yg[l]??1;}}let i=n===e.length;return i||r.push(e.slice(n)),{nextTokens:r,leadingWhitespaces:o,trailingWhitespaces:i}},gc=new Set([" "," ","\r",`
|
|
57
|
+
`]),Yg={x:3,u:5},yc=(e,t,r)=>r||e.length===0||t.length===0?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],bc=e=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(oe(e)&&("stdout"in e||"isMaxBuffer"in e))return Xg(e);throw e instanceof child_process.ChildProcess||Object.prototype.toString.call(e)==="[object Promise]"?new TypeError("Unexpected subprocess in template expression. Please use ${await subprocess} instead of ${subprocess}."):new TypeError(`Unexpected "${t}" in template expression`)},Xg=({stdout:e})=>{if(typeof e=="string")return e;if(se(e))return Vr(e);throw e===void 0?new TypeError(`Missing result.stdout in template expression. This is probably due to the previous subprocess' "stdout" option.`):new TypeError(`Unexpected "${typeof e}" stdout in template expression`)};var Re=e=>Hr.includes(e),Hr=[cn__default.default.stdin,cn__default.default.stdout,cn__default.default.stderr],ve=["stdin","stdout","stderr"],Yr=e=>ve[e]??`stdio[${e}]`;var xc=e=>{let t={...e};for(let r of Xo)t[r]=Ho(e,r);return t},Ho=(e,t)=>{let r=Array.from({length:Jg(e)+1}),n=Zg(e[t],r,t);return ny(n,t)},Jg=({stdio:e})=>Array.isArray(e)?Math.max(e.length,ve.length):ve.length,Zg=(e,t,r)=>oe(e)?Qg(e,t,r):t.fill(e),Qg=(e,t,r)=>{for(let n of Object.keys(e).sort(ey))for(let o of ty(n,r,t))t[o]=e[n];return t},ey=(e,t)=>Ec(e)<Ec(t)?1:-1,Ec=e=>e==="stdout"||e==="stderr"?0:e==="all"?2:1,ty=(e,t,r)=>{if(e==="ipc")return [r.length-1];let n=Yo(e);if(n===void 0||n===0)throw new TypeError(`"${t}.${e}" is invalid.
|
|
58
|
+
It must be "${t}.stdout", "${t}.stderr", "${t}.all", "${t}.ipc", or "${t}.fd3", "${t}.fd4" (and so on).`);if(n>=r.length)throw new TypeError(`"${t}.${e}" is invalid: that file descriptor does not exist.
|
|
59
|
+
Please set the "stdio" option to ensure that file descriptor exists.`);return n==="all"?[1,2]:[n]},Yo=e=>{if(e==="all")return e;if(ve.includes(e))return ve.indexOf(e);let t=ry.exec(e);if(t!==null)return Number(t[1])},ry=/^fd(\d+)$/,ny=(e,t)=>e.map(r=>r===void 0?iy[t]:r),oy=util.debuglog("execa").enabled?"full":"none",iy={lines:!1,buffer:!0,maxBuffer:1e3*1e3*100,verbose:oy,stripFinalNewline:!0},Xo=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],Ve=(e,t)=>t==="ipc"?e.at(-1):e[t];var It=({verbose:e},t)=>Ko(e,t)!=="none",Rt=({verbose:e},t)=>!["none","short"].includes(Ko(e,t)),vc=({verbose:e},t)=>{let r=Ko(e,t);return Xr(r)?r:void 0},Ko=(e,t)=>t===void 0?sy(e):Ve(e,t),sy=e=>e.find(t=>Xr(t))??Kr.findLast(t=>e.includes(t)),Xr=e=>typeof e=="function",Kr=["none","short","full"];var Oc=(e,t)=>{let r=[e,...t],n=r.join(" "),o=r.map(i=>hy(Lc(i))).join(" ");return {command:n,escapedCommand:o}},ir=e=>util.stripVTControlCharacters(e).split(`
|
|
60
|
+
`).map(t=>Lc(t)).join(`
|
|
61
|
+
`),Lc=e=>e.replaceAll(fy,t=>uy(t)),uy=e=>{let t=py[e];if(t!==void 0)return t;let r=e.codePointAt(0),n=r.toString(16);return r<=dy?`\\u${n.padStart(4,"0")}`:`\\U${n}`},ly=()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return /[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}},fy=ly(),py={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},dy=65535,hy=e=>my.test(e)?e:cn.platform==="win32"?`"${e.replaceAll('"','""')}"`:`'${e.replaceAll("'","'\\''")}'`,my=/^[\w./-]+$/;function Jo(){let{env:e}=cn__default.default,{TERM:t,TERM_PROGRAM:r}=e;return cn__default.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||r==="Terminus-Sublime"||r==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Cc={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258C",squareRight:"\u2590",squareCenter:"\u25A0",bullet:"\u25CF",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203A",triangleUp:"\u25B2",triangleUpSmall:"\u25B4",triangleDown:"\u25BC",triangleDownSmall:"\u25BE",triangleLeftSmall:"\u25C2",triangleRightSmall:"\u25B8",home:"\u2302",heart:"\u2665",musicNote:"\u266A",musicNoteBeamed:"\u266B",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221E",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xBD",oneThird:"\u2153",oneQuarter:"\xBC",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215B",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xBE",threeFifths:"\u2157",threeEighths:"\u215C",fourFifths:"\u2158",fiveSixths:"\u215A",fiveEighths:"\u215D",sevenEighths:"\u215E",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254C",lineDashed5:"\u254D",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257A",lineDashed10:"\u257C",lineDashed11:"\u257E",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250A",lineVerticalDashed3:"\u250B",lineVerticalDashed4:"\u254E",lineVerticalDashed5:"\u254F",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257B",lineVerticalDashed10:"\u257D",lineVerticalDashed11:"\u257F",lineDownLeft:"\u2510",lineDownLeftArc:"\u256E",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250C",lineDownRightArc:"\u256D",lineDownBoldRightBold:"\u250F",lineDownBoldRight:"\u250E",lineDownRightBold:"\u250D",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256F",lineUpBoldLeftBold:"\u251B",lineUpBoldLeft:"\u251A",lineUpLeftBold:"\u2519",lineUpDoubleLeftDouble:"\u255D",lineUpDoubleLeft:"\u255C",lineUpLeftDouble:"\u255B",lineUpRight:"\u2514",lineUpRightArc:"\u2570",lineUpBoldRightBold:"\u2517",lineUpBoldRight:"\u2516",lineUpRightBold:"\u2515",lineUpDoubleRightDouble:"\u255A",lineUpDoubleRight:"\u2559",lineUpRightDouble:"\u2558",lineUpDownLeft:"\u2524",lineUpBoldDownBoldLeftBold:"\u252B",lineUpBoldDownBoldLeft:"\u2528",lineUpDownLeftBold:"\u2525",lineUpBoldDownLeftBold:"\u2529",lineUpDownBoldLeftBold:"\u252A",lineUpDownBoldLeft:"\u2527",lineUpBoldDownLeft:"\u2526",lineUpDoubleDownDoubleLeftDouble:"\u2563",lineUpDoubleDownDoubleLeft:"\u2562",lineUpDownLeftDouble:"\u2561",lineUpDownRight:"\u251C",lineUpBoldDownBoldRightBold:"\u2523",lineUpBoldDownBoldRight:"\u2520",lineUpDownRightBold:"\u251D",lineUpBoldDownRightBold:"\u2521",lineUpDownBoldRightBold:"\u2522",lineUpDownBoldRight:"\u251F",lineUpBoldDownRight:"\u251E",lineUpDoubleDownDoubleRightDouble:"\u2560",lineUpDoubleDownDoubleRight:"\u255F",lineUpDownRightDouble:"\u255E",lineDownLeftRight:"\u252C",lineDownBoldLeftBoldRightBold:"\u2533",lineDownLeftBoldRightBold:"\u252F",lineDownBoldLeftRight:"\u2530",lineDownBoldLeftBoldRight:"\u2531",lineDownBoldLeftRightBold:"\u2532",lineDownLeftRightBold:"\u252E",lineDownLeftBoldRight:"\u252D",lineDownDoubleLeftDoubleRightDouble:"\u2566",lineDownDoubleLeftRight:"\u2565",lineDownLeftDoubleRightDouble:"\u2564",lineUpLeftRight:"\u2534",lineUpBoldLeftBoldRightBold:"\u253B",lineUpLeftBoldRightBold:"\u2537",lineUpBoldLeftRight:"\u2538",lineUpBoldLeftBoldRight:"\u2539",lineUpBoldLeftRightBold:"\u253A",lineUpLeftRightBold:"\u2536",lineUpLeftBoldRight:"\u2535",lineUpDoubleLeftDoubleRightDouble:"\u2569",lineUpDoubleLeftRight:"\u2568",lineUpLeftDoubleRightDouble:"\u2567",lineUpDownLeftRight:"\u253C",lineUpBoldDownBoldLeftBoldRightBold:"\u254B",lineUpDownBoldLeftBoldRightBold:"\u2548",lineUpBoldDownLeftBoldRightBold:"\u2547",lineUpBoldDownBoldLeftRightBold:"\u254A",lineUpBoldDownBoldLeftBoldRight:"\u2549",lineUpBoldDownLeftRight:"\u2540",lineUpDownBoldLeftRight:"\u2541",lineUpDownLeftBoldRight:"\u253D",lineUpDownLeftRightBold:"\u253E",lineUpBoldDownBoldLeftRight:"\u2542",lineUpDownLeftBoldRightBold:"\u253F",lineUpBoldDownLeftBoldRight:"\u2543",lineUpBoldDownLeftRightBold:"\u2544",lineUpDownBoldLeftBoldRight:"\u2545",lineUpDownBoldLeftRightBold:"\u2546",lineUpDoubleDownDoubleLeftDoubleRightDouble:"\u256C",lineUpDoubleDownDoubleLeftRight:"\u256B",lineUpDownLeftDoubleRightDouble:"\u256A",lineCross:"\u2573",lineBackslash:"\u2572",lineSlash:"\u2571"},Ic={tick:"\u2714",info:"\u2139",warning:"\u26A0",cross:"\u2718",squareSmall:"\u25FB",squareSmallFilled:"\u25FC",circle:"\u25EF",circleFilled:"\u25C9",circleDotted:"\u25CC",circleDouble:"\u25CE",circleCircle:"\u24DE",circleCross:"\u24E7",circlePipe:"\u24BE",radioOn:"\u25C9",radioOff:"\u25EF",checkboxOn:"\u2612",checkboxOff:"\u2610",checkboxCircleOn:"\u24E7",checkboxCircleOff:"\u24BE",pointer:"\u276F",triangleUpOutline:"\u25B3",triangleLeft:"\u25C0",triangleRight:"\u25B6",lozenge:"\u25C6",lozengeOutline:"\u25C7",hamburger:"\u2630",smiley:"\u32E1",mustache:"\u0DF4",star:"\u2605",play:"\u25B6",nodejs:"\u2B22",oneSeventh:"\u2150",oneNinth:"\u2151",oneTenth:"\u2152"},gy={tick:"\u221A",info:"i",warning:"\u203C",cross:"\xD7",squareSmall:"\u25A1",squareSmallFilled:"\u25A0",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(\u25CB)",circleCross:"(\xD7)",circlePipe:"(\u2502)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xD7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xD7)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"\u2206",triangleLeft:"\u25C4",triangleRight:"\u25BA",lozenge:"\u2666",lozengeOutline:"\u25CA",hamburger:"\u2261",smiley:"\u263A",mustache:"\u250C\u2500\u2510",star:"\u2736",play:"\u25BA",nodejs:"\u2666",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},yy={...Cc,...Ic},by={...Cc,...gy},Sy=Jo(),wy=Sy?yy:by,Jr=wy;var Rc,Pc,Zr,Tc,xy=((Tc=(Zr=(Pc=(Rc=Ey__default.default)==null?void 0:Rc.WriteStream)==null?void 0:Pc.prototype)==null?void 0:Zr.hasColors)==null?void 0:Tc.call(Zr))??!1,G=(e,t)=>{if(!xy)return o=>o;let r=`\x1B[${e}m`,n=`\x1B[${t}m`;return o=>{let i=o+"",s=i.indexOf(n);if(s===-1)return r+i+n;let a=r,c=0,u=(t===22?n:"")+r;for(;s!==-1;)a+=i.slice(c,s)+u,c=s+n.length,s=i.indexOf(n,c);return a+=i.slice(c)+n,a}},Dc=G(1,22),Qr=G(90,39),Nc=G(91,39),$c=G(93,39);var Mc=({type:e,message:t,timestamp:r,piped:n,commandId:o,result:{failed:i=!1}={},options:{reject:s=!0}})=>{let a=vy(r),c=Oy[e]({failed:i,reject:s,piped:n}),l=Ly[e]({reject:s});return `${Qr(`[${a}]`)} ${Qr(`[${o}]`)} ${l(c)} ${l(t)}`},vy=e=>`${en(e.getHours(),2)}:${en(e.getMinutes(),2)}:${en(e.getSeconds(),2)}.${en(e.getMilliseconds(),3)}`,en=(e,t)=>String(e).padStart(t,"0"),Fc=({failed:e,reject:t})=>e?t?Jr.cross:Jr.warning:Jr.tick,Oy={command:({piped:e})=>e?"|":"$",output:()=>" ",ipc:()=>"*",error:Fc,duration:Fc},_c=e=>e,Ly={command:()=>Dc,output:()=>_c,ipc:()=>_c,error:({reject:e})=>e?Nc:$c,duration:()=>Qr};var jc=(e,t,r)=>{let n=vc(t,r);return e.map(({verboseLine:o,verboseObject:i})=>Ay(o,i,n)).filter(o=>o!==void 0).map(o=>Cy(o)).join("")},Ay=(e,t,r)=>{if(r===void 0)return e;let n=r(e,t);if(typeof n=="string")return n},Cy=e=>e.endsWith(`
|
|
62
|
+
`)?e:`${e}
|
|
63
|
+
`;var _e=({type:e,verboseMessage:t,fdNumber:r,verboseInfo:n,result:o})=>{let i=Ry({type:e,result:o,verboseInfo:n}),s=Py(t,i),a=jc(s,n,r);a!==""&&console.warn(a.slice(0,-1));},Ry=({type:e,result:t,verboseInfo:{escapedCommand:r,commandId:n,rawOptions:{piped:o=!1,...i}}})=>({type:e,escapedCommand:r,commandId:`${n}`,timestamp:new Date,piped:o,result:t,options:i}),Py=(e,t)=>e.split(`
|
|
64
|
+
`).map(r=>Ty({...t,message:r})),Ty=e=>({verboseLine:Mc(e),verboseObject:e}),tn=e=>{let t=typeof e=="string"?e:util.inspect(e);return ir(t).replaceAll(" "," ".repeat(Dy))},Dy=2;var Bc=(e,t)=>{It(t)&&_e({type:"command",verboseMessage:e,verboseInfo:t});};var Uc=(e,t,r)=>{Fy(e);let n=Ny(e);return {verbose:e,escapedCommand:t,commandId:n,rawOptions:r}},Ny=e=>It({verbose:e})?$y++:void 0,$y=0n,Fy=e=>{for(let t of e){if(t===!1)throw new TypeError(`The "verbose: false" option was renamed to "verbose: 'none'".`);if(t===!0)throw new TypeError(`The "verbose: true" option was renamed to "verbose: 'short'".`);if(!Kr.includes(t)&&!Xr(t)){let r=Kr.map(n=>`'${n}'`).join(", ");throw new TypeError(`The "verbose" option must not be ${t}. Allowed values are: ${r} or a function.`)}}};var rn=()=>cn.hrtime.bigint(),Zo=e=>Number(cn.hrtime.bigint()-e)/1e6;var nn=(e,t,r)=>{let n=rn(),{command:o,escapedCommand:i}=Oc(e,t),s=Ho(r,"verbose"),a=Uc(s,i,{...r});return Bc(i,a),{command:o,escapedCommand:i,startTime:n,verboseInfo:a}};var Ul=chunkTKGT252T_js.e(Ru(),1);function sn(e={}){let{env:t=process.env,platform:r=process.platform}=e;return r!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"}util.promisify(child_process.execFile);function an(e){return e instanceof URL?url.fileURLToPath(e):e}function Tu(e){return {*[Symbol.iterator](){let t=lt__default.default.resolve(an(e)),r;for(;r!==t;)yield t,r=t,t=lt__default.default.resolve(t,"..");}}}var fb=({cwd:e=cn__default.default.cwd(),path:t=cn__default.default.env[sn()],preferLocal:r=!0,execPath:n=cn__default.default.execPath,addExecPath:o=!0}={})=>{let i=lt__default.default.resolve(an(e)),s=[],a=t.split(lt__default.default.delimiter);return r&&pb(s,a,i),o&&db(s,a,n,i),t===""||t===lt__default.default.delimiter?`${s.join(lt__default.default.delimiter)}${t}`:[...s,t].join(lt__default.default.delimiter)},pb=(e,t,r)=>{for(let n of Tu(r)){let o=lt__default.default.join(n,"node_modules/.bin");t.includes(o)||e.push(o);}},db=(e,t,r,n)=>{let o=lt__default.default.resolve(n,an(r),"..");t.includes(o)||e.push(o);},Du=({env:e=cn__default.default.env,...t}={})=>{e={...e};let r=sn({env:e});return t.path=e[r],e[r]=fb(t),e};var Nu=(e,t,r)=>{let n=r?ar:sr,o=e instanceof Pe?{}:{cause:e};return new n(t,o)},Pe=class extends Error{},$u=(e,t)=>{Object.defineProperty(e.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,_u,{value:!0,writable:!1,enumerable:!1,configurable:!1});},Fu=e=>un(e)&&_u in e,_u=Symbol("isExecaError"),un=e=>Object.prototype.toString.call(e)==="[object Error]",sr=class extends Error{};$u(sr,sr.name);var ar=class extends Error{};$u(ar,ar.name);var Mu=()=>{let e=Bu-ju+1;return Array.from({length:e},hb)},hb=(e,t)=>({name:`SIGRT${t+1}`,number:ju+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ju=34,Bu=64;var Uu=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var ci=()=>{let e=Mu();return [...Uu,...e].map(gb)},gb=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{let{signals:{[e]:s}}=os$1.constants,a=s!==void 0;return {name:e,number:a?s:t,description:r,supported:a,action:n,forced:o,standard:i}};var bb=()=>{let e=ci();return Object.fromEntries(e.map(Sb))},Sb=({name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:o,forced:i,standard:s}],Gu=bb(),wb=()=>{let e=ci(),t=64+1,r=Array.from({length:t},(n,o)=>Eb(o,e));return Object.assign({},...r)},Eb=(e,t)=>{let r=xb(e,t);if(r===void 0)return {};let{name:n,description:o,supported:i,action:s,forced:a,standard:c}=r;return {[e]:{name:n,number:e,description:o,supported:i,action:s,forced:a,standard:c}}},xb=(e,t)=>{let r=t.find(({name:n})=>os$1.constants.signals[n]===e);return r!==void 0?r:t.find(n=>n.number===e)};wb();var qu=e=>{let t="option `killSignal`";if(e===0)throw new TypeError(`Invalid ${t}: 0 cannot be used.`);return Wu(e,t)},zu=e=>e===0?e:Wu(e,"`subprocess.kill()`'s argument"),Wu=(e,t)=>{if(Number.isInteger(e))return vb(e,t);if(typeof e=="string")return Lb(e,t);throw new TypeError(`Invalid ${t} ${String(e)}: it must be a string or an integer.
|
|
65
|
+
${ui()}`)},vb=(e,t)=>{if(ku.has(e))return ku.get(e);throw new TypeError(`Invalid ${t} ${e}: this signal integer does not exist.
|
|
66
|
+
${ui()}`)},Ob=()=>new Map(Object.entries(os$1.constants.signals).reverse().map(([e,t])=>[t,e])),ku=Ob(),Lb=(e,t)=>{if(e in os$1.constants.signals)return e;throw e.toUpperCase()in os$1.constants.signals?new TypeError(`Invalid ${t} '${e}': please rename it to '${e.toUpperCase()}'.`):new TypeError(`Invalid ${t} '${e}': this signal name does not exist.
|
|
67
|
+
${ui()}`)},ui=()=>`Available signal names: ${Ab()}.
|
|
68
|
+
Available signal numbers: ${Cb()}.`,Ab=()=>Object.keys(os$1.constants.signals).sort().map(e=>`'${e}'`).join(", "),Cb=()=>[...new Set(Object.values(os$1.constants.signals).sort((e,t)=>e-t))].join(", "),ln=e=>Gu[e].description;var Vu=e=>{if(e===!1)return e;if(e===!0)return Rb;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterDelay\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},Rb=1e3*5,Hu=({kill:e,options:{forceKillAfterDelay:t,killSignal:r},onInternalError:n,context:o,controller:i},s,a)=>{let{signal:c,error:l}=Pb(s,a,r);Tb(l,n);let u=e(c);return Db({kill:e,signal:c,forceKillAfterDelay:t,killSignal:r,killResult:u,context:o,controller:i}),u},Pb=(e,t,r)=>{let[n=r,o]=un(e)?[void 0,e]:[e,t];if(typeof n!="string"&&!Number.isInteger(n))throw new TypeError(`The first argument must be an error instance or a signal name string/integer: ${String(n)}`);if(o!==void 0&&!un(o))throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${o}`);return {signal:zu(n),error:o}},Tb=(e,t)=>{e!==void 0&&t.reject(e);},Db=async({kill:e,signal:t,forceKillAfterDelay:r,killSignal:n,killResult:o,context:i,controller:s})=>{t===n&&o&&li({kill:e,forceKillAfterDelay:r,context:i,controllerSignal:s.signal});},li=async({kill:e,forceKillAfterDelay:t,context:r,controllerSignal:n})=>{if(t!==!1)try{await promises$1.setTimeout(t,void 0,{signal:n}),e("SIGKILL")&&(r.isForcefullyTerminated??=!0);}catch{}};var fn=async(e,t)=>{e.aborted||await events.once(e,"abort",{signal:t});};var Yu=({cancelSignal:e})=>{if(e!==void 0&&Object.prototype.toString.call(e)!=="[object AbortSignal]")throw new Error(`The \`cancelSignal\` option must be an AbortSignal: ${String(e)}`)},Xu=({subprocess:e,cancelSignal:t,gracefulCancel:r,context:n,controller:o})=>t===void 0||r?[]:[$b(e,t,n,o)],$b=async(e,t,r,{signal:n})=>{throw await fn(t,n),r.terminationReason??="cancel",e.kill(),t.reason};var Dt=({methodName:e,isSubprocess:t,ipc:r,isConnected:n})=>{Fb(e,t,r),fi(e,t,n);},Fb=(e,t,r)=>{if(!r)throw new Error(`${Te(e,t)} can only be used if the \`ipc\` option is \`true\`.`)},fi=(e,t,r)=>{if(!r)throw new Error(`${Te(e,t)} cannot be used: the ${et(t)} has already exited or disconnected.`)},Ku=e=>{throw new Error(`${Te("getOneMessage",e)} could not complete: the ${et(e)} exited or disconnected.`)},Ju=e=>{throw new Error(`${Te("sendMessage",e)} failed: the ${et(e)} is sending a message too, instead of listening to incoming messages.
|
|
69
|
+
This can be fixed by both sending a message and listening to incoming messages at the same time:
|
|
70
|
+
|
|
71
|
+
const [receivedMessage] = await Promise.all([
|
|
72
|
+
${Te("getOneMessage",e)},
|
|
73
|
+
${Te("sendMessage",e,"message, {strict: true}")},
|
|
74
|
+
]);`)},pn=(e,t)=>new Error(`${Te("sendMessage",t)} failed when sending an acknowledgment response to the ${et(t)}.`,{cause:e}),Zu=e=>{throw new Error(`${Te("sendMessage",e)} failed: the ${et(e)} is not listening to incoming messages.`)},Qu=e=>{throw new Error(`${Te("sendMessage",e)} failed: the ${et(e)} exited without listening to incoming messages.`)},el=()=>new Error(`\`cancelSignal\` aborted: the ${et(!0)} disconnected.`),tl=()=>{throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.")},rl=({error:e,methodName:t,isSubprocess:r})=>{if(e.code==="EPIPE")throw new Error(`${Te(t,r)} cannot be used: the ${et(r)} is disconnecting.`,{cause:e})},nl=({error:e,methodName:t,isSubprocess:r,message:n})=>{if(_b(e))throw new Error(`${Te(t,r)}'s argument type is invalid: the message cannot be serialized: ${String(n)}.`,{cause:e})},_b=({code:e,message:t})=>Mb.has(e)||jb.some(r=>t.includes(r)),Mb=new Set(["ERR_MISSING_ARGS","ERR_INVALID_ARG_TYPE"]),jb=["could not be cloned","circular structure","call stack size exceeded"],Te=(e,t,r="")=>e==="cancelSignal"?"`cancelSignal`'s `controller.abort()`":`${Bb(t)}${e}(${r})`,Bb=e=>e?"":"subprocess.",et=e=>e?"parent process":"subprocess",Nt=e=>{e.connected&&e.disconnect();};var Me=()=>{let e={},t=new Promise((r,n)=>{Object.assign(e,{resolve:r,reject:n});});return Object.assign(t,e)};var hn=(e,t="stdin")=>{let{options:n,fileDescriptors:o}=je.get(e),i=ol(o,t,!0),s=e.stdio[i];if(s===null)throw new TypeError(il(i,t,n,!0));return s},$t=(e,t="stdout")=>{let{options:n,fileDescriptors:o}=je.get(e),i=ol(o,t,!1),s=i==="all"?e.all:e.stdio[i];if(s==null)throw new TypeError(il(i,t,n,!1));return s},je=new WeakMap,ol=(e,t,r)=>{let n=Ub(t,r);return Gb(n,t,r,e),n},Ub=(e,t)=>{let r=Yo(e);if(r!==void 0)return r;let{validOptions:n,defaultValue:o}=t?{validOptions:'"stdin"',defaultValue:"stdin"}:{validOptions:'"stdout", "stderr", "all"',defaultValue:"stdout"};throw new TypeError(`"${ur(t)}" must not be "${e}".
|
|
75
|
+
It must be ${n} or "fd3", "fd4" (and so on).
|
|
76
|
+
It is optional and defaults to "${o}".`)},Gb=(e,t,r,n)=>{let o=n[sl(e)];if(o===void 0)throw new TypeError(`"${ur(r)}" must not be ${t}. That file descriptor does not exist.
|
|
77
|
+
Please set the "stdio" option to ensure that file descriptor exists.`);if(o.direction==="input"&&!r)throw new TypeError(`"${ur(r)}" must not be ${t}. It must be a readable stream, not writable.`);if(o.direction!=="input"&&r)throw new TypeError(`"${ur(r)}" must not be ${t}. It must be a writable stream, not readable.`)},il=(e,t,r,n)=>{if(e==="all"&&!r.all)return `The "all" option must be true to use "from: 'all'".`;let{optionName:o,optionValue:i}=kb(e,r);return `The "${o}: ${dn(i)}" option is incompatible with using "${ur(n)}: ${dn(t)}".
|
|
78
|
+
Please set this option with "pipe" instead.`},kb=(e,{stdin:t,stdout:r,stderr:n,stdio:o})=>{let i=sl(e);return i===0&&t!==void 0?{optionName:"stdin",optionValue:t}:i===1&&r!==void 0?{optionName:"stdout",optionValue:r}:i===2&&n!==void 0?{optionName:"stderr",optionValue:n}:{optionName:`stdio[${i}]`,optionValue:o[i]}},sl=e=>e==="all"?1:e,ur=e=>e?"to":"from",dn=e=>typeof e=="string"?`'${e}'`:typeof e=="number"?`${e}`:"Stream";var ft=(e,t,r)=>{let n=e.getMaxListeners();n===0||n===Number.POSITIVE_INFINITY||(e.setMaxListeners(n+t),events.addAbortListener(r,()=>{e.setMaxListeners(e.getMaxListeners()-t);}));};var mn=(e,t)=>{t&&pi(e);},pi=e=>{e.refCounted();},gn=(e,t)=>{t&&di(e);},di=e=>{e.unrefCounted();},al=(e,t)=>{t&&(di(e),di(e));},cl=(e,t)=>{t&&(pi(e),pi(e));};var ul=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n},o)=>{if(pl(o)||hl(o))return;yn.has(e)||yn.set(e,[]);let i=yn.get(e);if(i.push(o),!(i.length>1))for(;i.length>0;){await dl(e,n,o),await promises$1.scheduler.yield();let s=await fl({wrappedMessage:i[0],anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n});i.shift(),n.emit("message",s),n.emit("message:done");}},ll=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n,boundOnMessage:o})=>{hi();let i=yn.get(e);for(;(i==null?void 0:i.length)>0;)await events.once(n,"message:done");e.removeListener("message",o),cl(t,r),n.connected=!1,n.emit("disconnect");},yn=new WeakMap;var tt=(e,t,r)=>{if(bn.has(e))return bn.get(e);let n=new events.EventEmitter;return n.connected=!0,bn.set(e,n),Hb({ipcEmitter:n,anyProcess:e,channel:t,isSubprocess:r}),n},bn=new WeakMap,Hb=({ipcEmitter:e,anyProcess:t,channel:r,isSubprocess:n})=>{let o=ul.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e});t.on("message",o),t.once("disconnect",ll.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e,boundOnMessage:o})),al(r,n);},Sn=e=>{let t=bn.get(e);return t===void 0?e.channel!==null:t.connected};var ml=({anyProcess:e,channel:t,isSubprocess:r,message:n,strict:o})=>{if(!o)return n;let i=tt(e,t,r),s=xn(e,i);return {id:Xb++,type:En,message:n,hasListeners:s}},Xb=0n,gl=(e,t)=>{if(!((t==null?void 0:t.type)!==En||t.hasListeners))for(let{id:r}of e)r!==void 0&&wn[r].resolve({isDeadlock:!0,hasListeners:!1});},fl=async({wrappedMessage:e,anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:o})=>{if((e==null?void 0:e.type)!==En||!t.connected)return e;let{id:i,message:s}=e,a={id:i,type:bl,message:xn(t,o)};try{await vn({anyProcess:t,channel:r,isSubprocess:n,ipc:!0},a);}catch(c){o.emit("strict:error",c);}return s},pl=e=>{var n;if((e==null?void 0:e.type)!==bl)return !1;let{id:t,message:r}=e;return (n=wn[t])==null||n.resolve({isDeadlock:!1,hasListeners:r}),!0},yl=async(e,t,r)=>{if((e==null?void 0:e.type)!==En)return;let n=Me();wn[e.id]=n;let o=new AbortController;try{let{isDeadlock:i,hasListeners:s}=await Promise.race([n,Kb(t,r,o)]);i&&Ju(r),s||Zu(r);}finally{o.abort(),delete wn[e.id];}},wn={},Kb=async(e,t,{signal:r})=>{ft(e,1,r),await events.once(e,"disconnect",{signal:r}),Qu(t);},En="execa:ipc:request",bl="execa:ipc:response";var Sl=(e,t,r)=>{lr.has(e)||lr.set(e,new Set);let n=lr.get(e),o=Me(),i=r?t.id:void 0,s={onMessageSent:o,id:i};return n.add(s),{outgoingMessages:n,outgoingMessage:s}},wl=({outgoingMessages:e,outgoingMessage:t})=>{e.delete(t),t.onMessageSent.resolve();},dl=async(e,t,r)=>{var n;for(;!xn(e,t)&&((n=lr.get(e))==null?void 0:n.size)>0;){let o=[...lr.get(e)];gl(o,r),await Promise.all(o.map(({onMessageSent:i})=>i));}},lr=new WeakMap,xn=(e,t)=>t.listenerCount("message")>Jb(e),Jb=e=>je.has(e)&&!Ve(je.get(e).options.buffer,"ipc")?1:0;var vn=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},o,{strict:i=!1}={})=>{let s="sendMessage";return Dt({methodName:s,isSubprocess:r,ipc:n,isConnected:e.connected}),Qb({anyProcess:e,channel:t,methodName:s,isSubprocess:r,message:o,strict:i})},Qb=async({anyProcess:e,channel:t,methodName:r,isSubprocess:n,message:o,strict:i})=>{let s=ml({anyProcess:e,channel:t,isSubprocess:n,message:o,strict:i}),a=Sl(e,s,i);try{await gi({anyProcess:e,methodName:r,isSubprocess:n,wrappedMessage:s,message:o});}catch(c){throw Nt(e),c}finally{wl(a);}},gi=async({anyProcess:e,methodName:t,isSubprocess:r,wrappedMessage:n,message:o})=>{let i=eS(e);try{await Promise.all([yl(n,e,r),i(n)]);}catch(s){throw rl({error:s,methodName:t,isSubprocess:r}),nl({error:s,methodName:t,isSubprocess:r,message:o}),s}},eS=e=>{if(mi.has(e))return mi.get(e);let t=util.promisify(e.send.bind(e));return mi.set(e,t),t},mi=new WeakMap;var xl=(e,t)=>{let r="cancelSignal";return fi(r,!1,e.connected),gi({anyProcess:e,methodName:r,isSubprocess:!1,wrappedMessage:{type:Ol,message:t},message:t})},vl=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>(await rS({anyProcess:e,channel:t,isSubprocess:r,ipc:n}),yi.signal),rS=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>{if(!El){if(El=!0,!n){tl();return}if(t===null){hi();return}tt(e,t,r),await promises$1.scheduler.yield();}},El=!1,hl=e=>(e==null?void 0:e.type)!==Ol?!1:(yi.abort(e.message),!0),Ol="execa:ipc:cancel",hi=()=>{yi.abort(el());},yi=new AbortController;var Ll=({gracefulCancel:e,cancelSignal:t,ipc:r,serialization:n})=>{if(e){if(t===void 0)throw new Error("The `cancelSignal` option must be defined when setting the `gracefulCancel` option.");if(!r)throw new Error("The `ipc` option cannot be false when setting the `gracefulCancel` option.");if(n==="json")throw new Error("The `serialization` option cannot be 'json' when setting the `gracefulCancel` option.")}},Al=({subprocess:e,cancelSignal:t,gracefulCancel:r,forceKillAfterDelay:n,context:o,controller:i})=>r?[nS({subprocess:e,cancelSignal:t,forceKillAfterDelay:n,context:o,controller:i})]:[],nS=async({subprocess:e,cancelSignal:t,forceKillAfterDelay:r,context:n,controller:{signal:o}})=>{await fn(t,o);let i=oS(t);throw await xl(e,i),li({kill:e.kill,forceKillAfterDelay:r,context:n,controllerSignal:o}),n.terminationReason??="gracefulCancel",t.reason},oS=({reason:e})=>{if(!(e instanceof DOMException))return e;let t=new Error(e.message);return Object.defineProperty(t,"stack",{value:e.stack,enumerable:!1,configurable:!0,writable:!0}),t};var Cl=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},Il=(e,t,r,n)=>t===0||t===void 0?[]:[sS(e,t,r,n)],sS=async(e,t,r,{signal:n})=>{throw await promises$1.setTimeout(t,void 0,{signal:n}),r.terminationReason??="timeout",e.kill(),new Pe};var Pl=({options:e})=>{if(e.node===!1)throw new TypeError('The "node" option cannot be false with `execaNode()`.');return {options:{...e,node:!0}}},Tl=(e,t,{node:r=!1,nodePath:n=cn.execPath,nodeOptions:o=cn.execArgv.filter(c=>!c.startsWith("--inspect")),cwd:i,execPath:s,...a})=>{if(s!==void 0)throw new TypeError('The "execPath" option has been removed. Please use the "nodePath" option instead.');let c=Ct(n,'The "nodePath" option'),l=lt__default.default.resolve(i,c),u={...a,nodePath:l,node:r,cwd:i};if(!r)return [e,t,u];if(lt__default.default.basename(e,".exe")==="node")throw new TypeError('When the "node" option is true, the first argument does not need to be "node".');return [l,[...o,e,...t],{ipc:!0,...u,shell:!1}]};var Dl=({ipcInput:e,ipc:t,serialization:r})=>{if(e!==void 0){if(!t)throw new Error("The `ipcInput` option cannot be set unless the `ipc` option is `true`.");pS[r](e);}},lS=e=>{try{v8.serialize(e);}catch(t){throw new Error("The `ipcInput` option is not serializable with a structured clone.",{cause:t})}},fS=e=>{try{JSON.stringify(e);}catch(t){throw new Error("The `ipcInput` option is not serializable with JSON.",{cause:t})}},pS={advanced:lS,json:fS},Nl=async(e,t)=>{t!==void 0&&await e.sendMessage(t);};var Fl=({encoding:e})=>{if(bi.has(e))return;let t=hS(e);if(t!==void 0)throw new TypeError(`Invalid option \`encoding: ${On(e)}\`.
|
|
79
|
+
Please rename it to ${On(t)}.`);let r=[...bi].map(n=>On(n)).join(", ");throw new TypeError(`Invalid option \`encoding: ${On(e)}\`.
|
|
80
|
+
Please rename it to one of: ${r}.`)},dS=new Set(["utf8","utf16le"]),Ee=new Set(["buffer","hex","base64","base64url","latin1","ascii"]),bi=new Set([...dS,...Ee]),hS=e=>{if(e===null)return "buffer";if(typeof e!="string")return;let t=e.toLowerCase();if(t in $l)return $l[t];if(bi.has(t))return t},$l={"utf-8":"utf8","utf-16le":"utf16le","ucs-2":"utf16le",ucs2:"utf16le",binary:"latin1"},On=e=>typeof e=="string"?`"${e}"`:String(e);var _l=(e=Ml())=>{let t=Ct(e,'The "cwd" option');return lt__default.default.resolve(t)},Ml=()=>{try{return cn__default.default.cwd()}catch(e){throw e.message=`The current directory does not exist.
|
|
81
|
+
${e.message}`,e}},jl=(e,t)=>{if(t===Ml())return e;let r;try{r=fs$1.statSync(t);}catch(n){return `The "cwd" option is invalid: ${t}.
|
|
82
|
+
${n.message}
|
|
83
|
+
${e}`}return r.isDirectory()?e:`The "cwd" option is not a directory: ${t}.
|
|
84
|
+
${e}`};var Ln=(e,t,r)=>{r.cwd=_l(r.cwd);let[n,o,i]=Tl(e,t,r),{command:s,args:a,options:c}=Ul.default._parse(n,o,i),l=xc(c),u=SS(l);return Cl(u),Fl(u),Dl(u),Yu(u),Ll(u),u.shell=zo(u.shell),u.env=wS(u),u.killSignal=qu(u.killSignal),u.forceKillAfterDelay=Vu(u.forceKillAfterDelay),u.lines=u.lines.map((f,g)=>f&&!Ee.has(u.encoding)&&u.buffer[g]),cn__default.default.platform==="win32"&<__default.default.basename(s,".exe")==="cmd"&&a.unshift("/q"),{file:s,commandArguments:a,options:u}},SS=({extendEnv:e=!0,preferLocal:t=!1,cwd:r,localDir:n=r,encoding:o="utf8",reject:i=!0,cleanup:s=!0,all:a=!1,windowsHide:c=!0,killSignal:l="SIGTERM",forceKillAfterDelay:u=!0,gracefulCancel:f=!1,ipcInput:g,ipc:y=g!==void 0||f,serialization:b="advanced",...p})=>({...p,extendEnv:e,preferLocal:t,cwd:r,localDirectory:n,encoding:o,reject:i,cleanup:s,all:a,windowsHide:c,killSignal:l,forceKillAfterDelay:u,gracefulCancel:f,ipcInput:g,ipc:y,serialization:b}),wS=({env:e,extendEnv:t,preferLocal:r,node:n,localDirectory:o,nodePath:i})=>{let s=t?{...cn__default.default.env,...e}:e;return r||n?Du({env:s,cwd:o,execPath:i,preferLocal:r,addExecPath:n}):s};var An=(e,t,r)=>r.shell&&t.length>0?[[e,...t].join(" "),[],r]:[e,t,r];function Ft(e){if(typeof e=="string")return ES(e);if(!(ArrayBuffer.isView(e)&&e.BYTES_PER_ELEMENT===1))throw new Error("Input must be a string or a Uint8Array");return xS(e)}var ES=e=>e.at(-1)===Gl?e.slice(0,e.at(-2)===kl?-2:-1):e,xS=e=>e.at(-1)===vS?e.subarray(0,e.at(-2)===OS?-2:-1):e,Gl=`
|
|
85
|
+
`,vS=Gl.codePointAt(0),kl="\r",OS=kl.codePointAt(0);function De(e,{checkOpen:t=!0}={}){return e!==null&&typeof e=="object"&&(e.writable||e.readable||!t||e.writable===void 0&&e.readable===void 0)&&typeof e.pipe=="function"}function Si(e,{checkOpen:t=!0}={}){return De(e,{checkOpen:t})&&(e.writable||!t)&&typeof e.write=="function"&&typeof e.end=="function"&&typeof e.writable=="boolean"&&typeof e.writableObjectMode=="boolean"&&typeof e.destroy=="function"&&typeof e.destroyed=="boolean"}function pt(e,{checkOpen:t=!0}={}){return De(e,{checkOpen:t})&&(e.readable||!t)&&typeof e.read=="function"&&typeof e.readable=="boolean"&&typeof e.readableObjectMode=="boolean"&&typeof e.destroy=="function"&&typeof e.destroyed=="boolean"}function wi(e,t){return Si(e,t)&&pt(e,t)}var LS=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype),Ei=class{#t;#r;#e=!1;#n=void 0;constructor(t,r){this.#t=t,this.#r=r;}next(){let t=()=>this.#i();return this.#n=this.#n?this.#n.then(t,t):t(),this.#n}return(t){let r=()=>this.#o(t);return this.#n?this.#n.then(r,r):r()}async#i(){if(this.#e)return {done:!0,value:void 0};let t;try{t=await this.#t.read();}catch(r){throw this.#n=void 0,this.#e=!0,this.#t.releaseLock(),r}return t.done&&(this.#n=void 0,this.#e=!0,this.#t.releaseLock()),t}async#o(t){if(this.#e)return {done:!0,value:t};if(this.#e=!0,!this.#r){let r=this.#t.cancel(t);return this.#t.releaseLock(),await r,{done:!0,value:t}}return this.#t.releaseLock(),{done:!0,value:t}}},xi=Symbol();function ql(){return this[xi].next()}Object.defineProperty(ql,"name",{value:"next"});function zl(e){return this[xi].return(e)}Object.defineProperty(zl,"name",{value:"return"});var AS=Object.create(LS,{next:{enumerable:!0,configurable:!0,writable:!0,value:ql},return:{enumerable:!0,configurable:!0,writable:!0,value:zl}});function vi({preventCancel:e=!1}={}){let t=this.getReader(),r=new Ei(t,e),n=Object.create(AS);return n[xi]=r,n}var Wl=e=>{if(pt(e,{checkOpen:!1})&&fr.on!==void 0)return IS(e);if(typeof(e==null?void 0:e[Symbol.asyncIterator])=="function")return e;if(CS.call(e)==="[object ReadableStream]")return vi.call(e);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:CS}=Object.prototype,IS=async function*(e){let t=new AbortController,r={};RS(e,t,r);try{for await(let[n]of fr.on(e,"data",{signal:t.signal}))yield n;}catch(n){if(r.error!==void 0)throw r.error;if(!t.signal.aborted)throw n}finally{e.destroy();}},RS=async(e,t,r)=>{try{await fr.finished(e,{cleanup:!0,readable:!0,writable:!1,error:!1});}catch(n){r.error=n;}finally{t.abort();}},fr={};var _t=async(e,{init:t,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,finalize:a},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{let l=Wl(e),u=t();u.length=0;try{for await(let f of l){let g=TS(f),y=r[g](f,u);Yl({convertedChunk:y,state:u,getSize:n,truncateChunk:o,addChunk:i,maxBuffer:c});}return PS({state:u,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,maxBuffer:c}),a(u)}catch(f){let g=typeof f=="object"&&f!==null?f:new Error(f);throw g.bufferedData=a(u),g}},PS=({state:e,getSize:t,truncateChunk:r,addChunk:n,getFinalChunk:o,maxBuffer:i})=>{let s=o(e);s!==void 0&&Yl({convertedChunk:s,state:e,getSize:t,truncateChunk:r,addChunk:n,maxBuffer:i});},Yl=({convertedChunk:e,state:t,getSize:r,truncateChunk:n,addChunk:o,maxBuffer:i})=>{let s=r(e),a=t.length+s;if(a<=i){Vl(e,t,o,a);return}let c=n(e,i-t.length);throw c!==void 0&&Vl(c,t,o,i),new Be},Vl=(e,t,r,n)=>{t.contents=r(e,t,n),t.length=n;},TS=e=>{var n;let t=typeof e;if(t==="string")return "string";if(t!=="object"||e===null)return "others";if((n=globalThis.Buffer)!=null&&n.isBuffer(e))return "buffer";let r=Hl.call(e);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&Hl.call(e.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:Hl}=Object.prototype,Be=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded");}};var He=e=>e,pr=()=>{},Cn=({contents:e})=>e,In=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},Rn=e=>e.length;async function Pn(e,t){return _t(e,FS,t)}var DS=()=>({contents:[]}),NS=()=>1,$S=(e,{contents:t})=>(t.push(e),t),FS={init:DS,convertChunk:{string:He,buffer:He,arrayBuffer:He,dataView:He,typedArray:He,others:He},getSize:NS,truncateChunk:pr,addChunk:$S,getFinalChunk:pr,finalize:Cn};async function Tn(e,t){return _t(e,zS,t)}var _S=()=>({contents:new ArrayBuffer(0)}),MS=e=>jS.encode(e),jS=new TextEncoder,Xl=e=>new Uint8Array(e),Kl=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),BS=(e,t)=>e.slice(0,t),US=(e,{contents:t,length:r},n)=>{let o=Ql()?kS(t,n):GS(t,n);return new Uint8Array(o).set(e,r),o},GS=(e,t)=>{if(t<=e.byteLength)return e;let r=new ArrayBuffer(Zl(t));return new Uint8Array(r).set(new Uint8Array(e),0),r},kS=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;let r=new ArrayBuffer(t,{maxByteLength:Zl(t)});return new Uint8Array(r).set(new Uint8Array(e),0),r},Zl=e=>Jl**Math.ceil(Math.log(e)/Math.log(Jl)),Jl=2,qS=({contents:e,length:t})=>Ql()?e:e.slice(0,t),Ql=()=>"resize"in ArrayBuffer.prototype,zS={init:_S,convertChunk:{string:MS,buffer:Xl,arrayBuffer:Xl,dataView:Kl,typedArray:Kl,others:In},getSize:Rn,truncateChunk:BS,addChunk:US,getFinalChunk:pr,finalize:qS};async function Nn(e,t){return _t(e,XS,t)}var WS=()=>({contents:"",textDecoder:new TextDecoder}),Dn=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),VS=(e,{contents:t})=>t+e,HS=(e,t)=>e.slice(0,t),YS=({textDecoder:e})=>{let t=e.decode();return t===""?void 0:t},XS={init:WS,convertChunk:{string:He,buffer:Dn,arrayBuffer:Dn,dataView:Dn,typedArray:Dn,others:In},getSize:Rn,truncateChunk:HS,addChunk:VS,getFinalChunk:YS,finalize:Cn};Object.assign(fr,{on:events.on,finished:promises.finished});var ef=({error:e,stream:t,readableObjectMode:r,lines:n,encoding:o,fdNumber:i})=>{if(!(e instanceof Be))throw e;if(i==="all")return e;let s=ZS(r,n,o);throw e.maxBufferInfo={fdNumber:i,unit:s},t.destroy(),e},ZS=(e,t,r)=>e?"objects":t?"lines":r==="buffer"?"bytes":"characters",tf=(e,t,r)=>{if(t.length!==r)return;let n=new Be;throw n.maxBufferInfo={fdNumber:"ipc"},n},rf=(e,t)=>{let{streamName:r,threshold:n,unit:o}=QS(e,t);return `Command's ${r} was larger than ${n} ${o}`},QS=(e,t)=>{if((e==null?void 0:e.maxBufferInfo)===void 0)return {streamName:"output",threshold:t[1],unit:"bytes"};let{maxBufferInfo:{fdNumber:r,unit:n}}=e;delete e.maxBufferInfo;let o=Ve(t,r);return r==="ipc"?{streamName:"IPC output",threshold:o,unit:"messages"}:{streamName:Yr(r),threshold:o,unit:n}},nf=(e,t,r)=>(e==null?void 0:e.code)==="ENOBUFS"&&t!==null&&t.some(n=>n!==null&&n.length>$n(r)),of=(e,t,r)=>{if(!t)return e;let n=$n(r);return e.length>n?e.slice(0,n):e},$n=([,e])=>e;var af=({stdio:e,all:t,ipcOutput:r,originalError:n,signal:o,signalDescription:i,exitCode:s,escapedCommand:a,timedOut:c,isCanceled:l,isGracefullyCanceled:u,isMaxBuffer:f,isForcefullyTerminated:g,forceKillAfterDelay:y,killSignal:b,maxBuffer:p,timeout:v,cwd:D})=>{let $=n==null?void 0:n.code,k=tw({originalError:n,timedOut:c,timeout:v,isMaxBuffer:f,maxBuffer:p,errorCode:$,signal:o,signalDescription:i,exitCode:s,isCanceled:l,isGracefullyCanceled:u,isForcefullyTerminated:g,forceKillAfterDelay:y,killSignal:b}),U=nw(n,D),ne=U===void 0?"":`
|
|
86
|
+
${U}`,J=`${k}: ${a}${ne}`,j=t===void 0?[e[2],e[1]]:[t],V=[J,...j,...e.slice(3),r.map(T=>ow(T)).join(`
|
|
87
|
+
`)].map(T=>ir(Ft(iw(T)))).filter(Boolean).join(`
|
|
88
|
+
|
|
89
|
+
`);return {originalMessage:U,shortMessage:J,message:V}},tw=({originalError:e,timedOut:t,timeout:r,isMaxBuffer:n,maxBuffer:o,errorCode:i,signal:s,signalDescription:a,exitCode:c,isCanceled:l,isGracefullyCanceled:u,isForcefullyTerminated:f,forceKillAfterDelay:g,killSignal:y})=>{let b=rw(f,g);return t?`Command timed out after ${r} milliseconds${b}`:u?s===void 0?`Command was gracefully canceled with exit code ${c}`:f?`Command was gracefully canceled${b}`:`Command was gracefully canceled with ${s} (${a})`:l?`Command was canceled${b}`:n?`${rf(e,o)}${b}`:i!==void 0?`Command failed with ${i}${b}`:f?`Command was killed with ${y} (${ln(y)})${b}`:s!==void 0?`Command was killed with ${s} (${a})`:c!==void 0?`Command failed with exit code ${c}`:"Command failed"},rw=(e,t)=>e?` and was forcefully terminated after ${t} milliseconds`:"",nw=(e,t)=>{if(e instanceof Pe)return;let r=Fu(e)?e.originalMessage:String((e==null?void 0:e.message)??e),n=ir(jl(r,t));return n===""?void 0:n},ow=e=>typeof e=="string"?e:util.inspect(e),iw=e=>Array.isArray(e)?e.map(t=>Ft(sf(t))).filter(Boolean).join(`
|
|
90
|
+
`):sf(e),sf=e=>typeof e=="string"?e:se(e)?Vr(e):"";var Fn=({command:e,escapedCommand:t,stdio:r,all:n,ipcOutput:o,options:{cwd:i},startTime:s})=>cf({command:e,escapedCommand:t,cwd:i,durationMs:Zo(s),failed:!1,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isTerminated:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,exitCode:0,stdout:r[1],stderr:r[2],all:n,stdio:r,ipcOutput:o,pipedFrom:[]}),Mt=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:s})=>dr({error:e,command:t,escapedCommand:r,startTime:i,timedOut:!1,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:!1,isForcefullyTerminated:!1,stdio:Array.from({length:n.length}),ipcOutput:[],options:o,isSync:s}),dr=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:l,signal:u,stdio:f,all:g,ipcOutput:y,options:{timeoutDuration:b,timeout:p=b,forceKillAfterDelay:v,killSignal:D,cwd:$,maxBuffer:k},isSync:U})=>{let{exitCode:ne,signal:J,signalDescription:j}=aw(l,u),{originalMessage:V,shortMessage:T,message:le}=af({stdio:f,all:g,ipcOutput:y,originalError:e,signal:J,signalDescription:j,exitCode:ne,escapedCommand:r,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,forceKillAfterDelay:v,killSignal:D,maxBuffer:k,timeout:p,cwd:$}),I=Nu(e,le,U);return Object.assign(I,sw({error:I,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:ne,signal:J,signalDescription:j,stdio:f,all:g,ipcOutput:y,cwd:$,originalMessage:V,shortMessage:T})),I},sw=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:l,signal:u,signalDescription:f,stdio:g,all:y,ipcOutput:b,cwd:p,originalMessage:v,shortMessage:D})=>{var $;return cf({shortMessage:D,originalMessage:v,command:t,escapedCommand:r,cwd:p,durationMs:Zo(n),failed:!0,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isTerminated:u!==void 0,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:l,signal:u,signalDescription:f,code:($=e.cause)==null?void 0:$.code,stdout:g[1],stderr:g[2],all:y,stdio:g,ipcOutput:b,pipedFrom:[]})},cf=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),aw=(e,t)=>{let r=e===null?void 0:e,n=t===null?void 0:t,o=n===void 0?void 0:ln(t);return {exitCode:r,signal:n,signalDescription:o}};var uf=e=>Number.isFinite(e)?e:0;function cw(e){return {days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(uf(e*1e3)%1e3),nanoseconds:Math.trunc(uf(e*1e6)%1e3)}}function uw(e){return {days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}function Oi(e){switch(typeof e){case"number":{if(Number.isFinite(e))return cw(e);break}case"bigint":return uw(e)}throw new TypeError("Expected a finite number or bigint")}var lw=e=>e===0||e===0n,fw=(e,t)=>t===1||t===1n?e:`${e}s`,pw=1e-7,dw=24n*60n*60n*1000n;function Li(e,t){let r=typeof e=="bigint";if(!r&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t};let n=e<0?"-":"";e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let o=[],i=(u,f)=>{let g=Math.floor(u*10**f+pw);return (Math.round(g)/10**f).toFixed(f)},s=(u,f,g,y)=>{if(!((o.length===0||!t.colonNotation)&&lw(u)&&!(t.colonNotation&&g==="m"))){if(y??=String(u),t.colonNotation){let b=y.includes(".")?y.split(".")[0].length:y.length,p=o.length>0?2:1;y="0".repeat(Math.max(0,p-b))+y;}else y+=t.verbose?" "+fw(f,u):g;o.push(y);}},a=Oi(e),c=BigInt(a.days);if(t.hideYearAndDays?s(BigInt(c)*24n+BigInt(a.hours),"hour","h"):(t.hideYear?s(c,"day","d"):(s(c/365n,"year","y"),s(c%365n,"day","d")),s(Number(a.hours),"hour","h")),s(Number(a.minutes),"minute","m"),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){let u=Number(a.seconds),f=Number(a.milliseconds),g=Number(a.microseconds),y=Number(a.nanoseconds);if(s(u,"second","s"),t.formatSubMilliseconds)s(f,"millisecond","ms"),s(g,"microsecond","\xB5s"),s(y,"nanosecond","ns");else {let b=f+g/1e3+y/1e6,p=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,v=b>=1?Math.round(b):Math.ceil(b),D=p?b.toFixed(p):v;s(Number.parseFloat(D),"millisecond","ms",D);}}else {let u=(r?Number(e%dw):e)/1e3%60,f=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,g=i(u,f),y=t.keepDecimalsOnWholeSeconds?g:g.replace(/\.0+$/,"");s(Number.parseFloat(y),"second","s",y);}if(o.length===0)return n+"0"+(t.verbose?" milliseconds":"ms");let l=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(o=o.slice(0,Math.max(t.unitCount,1))),n+o.join(l)}var lf=(e,t)=>{e.failed&&_e({type:"error",verboseMessage:e.shortMessage,verboseInfo:t,result:e});};var ff=(e,t)=>{It(t)&&(lf(e,t),hw(e,t));},hw=(e,t)=>{let r=`(done in ${Li(e.durationMs)})`;_e({type:"duration",verboseMessage:r,verboseInfo:t,result:e});};var jt=(e,t,{reject:r})=>{if(ff(e,t),e.failed&&r)throw e;return e};var hf=(e,t)=>dt(e)?"asyncGenerator":yf(e)?"generator":_n(e)?"fileUrl":Sw(e)?"filePath":xw(e)?"webStream":De(e,{checkOpen:!1})?"native":se(e)?"uint8Array":vw(e)?"asyncIterable":Ow(e)?"iterable":Ii(e)?mf({transform:e},t):bw(e)?mw(e,t):"native",mw=(e,t)=>wi(e.transform,{checkOpen:!1})?gw(e,t):Ii(e.transform)?mf(e,t):yw(e,t),gw=(e,t)=>(gf(e,t,"Duplex stream"),"duplex"),mf=(e,t)=>(gf(e,t,"web TransformStream"),"webTransform"),gf=({final:e,binary:t,objectMode:r},n,o)=>{pf(e,`${n}.final`,o),pf(t,`${n}.binary`,o),Ai(r,`${n}.objectMode`);},pf=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${t}\` option can only be defined when using a generator, not a ${r}.`)},yw=({transform:e,final:t,binary:r,objectMode:n},o)=>{if(e!==void 0&&!df(e))throw new TypeError(`The \`${o}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);if(wi(t,{checkOpen:!1}))throw new TypeError(`The \`${o}.final\` option must not be a Duplex stream.`);if(Ii(t))throw new TypeError(`The \`${o}.final\` option must not be a web TransformStream.`);if(t!==void 0&&!df(t))throw new TypeError(`The \`${o}.final\` option must be a generator.`);return Ai(r,`${o}.binary`),Ai(n,`${o}.objectMode`),dt(e)||dt(t)?"asyncGenerator":"generator"},Ai=(e,t)=>{if(e!==void 0&&typeof e!="boolean")throw new TypeError(`The \`${t}\` option must use a boolean.`)},df=e=>dt(e)||yf(e),dt=e=>Object.prototype.toString.call(e)==="[object AsyncGeneratorFunction]",yf=e=>Object.prototype.toString.call(e)==="[object GeneratorFunction]",bw=e=>oe(e)&&(e.transform!==void 0||e.final!==void 0),_n=e=>Object.prototype.toString.call(e)==="[object URL]",bf=e=>_n(e)&&e.protocol!=="file:",Sw=e=>oe(e)&&Object.keys(e).length>0&&Object.keys(e).every(t=>ww.has(t))&&Ci(e.file),ww=new Set(["file","append"]),Ci=e=>typeof e=="string",Sf=(e,t)=>e==="native"&&typeof t=="string"&&!Ew.has(t),Ew=new Set(["ipc","ignore","inherit","overlapped","pipe"]),wf=e=>Object.prototype.toString.call(e)==="[object ReadableStream]",Mn=e=>Object.prototype.toString.call(e)==="[object WritableStream]",xw=e=>wf(e)||Mn(e),Ii=e=>wf(e==null?void 0:e.readable)&&Mn(e==null?void 0:e.writable),vw=e=>Ef(e)&&typeof e[Symbol.asyncIterator]=="function",Ow=e=>Ef(e)&&typeof e[Symbol.iterator]=="function",Ef=e=>typeof e=="object"&&e!==null,Oe=new Set(["generator","asyncGenerator","duplex","webTransform"]),jn=new Set(["fileUrl","filePath","fileNumber"]),Ri=new Set(["fileUrl","filePath"]),xf=new Set([...Ri,"webStream","nodeStream"]),vf=new Set(["webTransform","duplex"]),rt={generator:"a generator",asyncGenerator:"an async generator",fileUrl:"a file URL",filePath:"a file path string",fileNumber:"a file descriptor number",webStream:"a web stream",nodeStream:"a Node.js stream",webTransform:"a web TransformStream",duplex:"a Duplex stream",native:"any value",iterable:"an iterable",asyncIterable:"an async iterable",string:"a string",uint8Array:"a Uint8Array"};var Pi=(e,t,r,n)=>n==="output"?Lw(e,t,r):Aw(e,t,r),Lw=(e,t,r)=>{let n=t!==0&&r[t-1].value.readableObjectMode;return {writableObjectMode:n,readableObjectMode:e??n}},Aw=(e,t,r)=>{let n=t===0?e===!0:r[t-1].value.readableObjectMode,o=t!==r.length-1&&(e??n);return {writableObjectMode:n,readableObjectMode:o}},Of=(e,t)=>{let r=e.findLast(({type:n})=>Oe.has(n));return r===void 0?!1:t==="input"?r.value.writableObjectMode:r.value.readableObjectMode};var Lf=(e,t,r,n)=>[...e.filter(({type:o})=>!Oe.has(o)),...Cw(e,t,r,n)],Cw=(e,t,r,{encoding:n})=>{let o=e.filter(({type:s})=>Oe.has(s)),i=Array.from({length:o.length});for(let[s,a]of Object.entries(o))i[s]=Iw({stdioItem:a,index:Number(s),newTransforms:i,optionName:t,direction:r,encoding:n});return Dw(i,r)},Iw=({stdioItem:e,stdioItem:{type:t},index:r,newTransforms:n,optionName:o,direction:i,encoding:s})=>t==="duplex"?Rw({stdioItem:e,optionName:o}):t==="webTransform"?Pw({stdioItem:e,index:r,newTransforms:n,direction:i}):Tw({stdioItem:e,index:r,newTransforms:n,direction:i,encoding:s}),Rw=({stdioItem:e,stdioItem:{value:{transform:t,transform:{writableObjectMode:r,readableObjectMode:n},objectMode:o=n}},optionName:i})=>{if(o&&!n)throw new TypeError(`The \`${i}.objectMode\` option can only be \`true\` if \`new Duplex({objectMode: true})\` is used.`);if(!o&&n)throw new TypeError(`The \`${i}.objectMode\` option cannot be \`false\` if \`new Duplex({objectMode: true})\` is used.`);return {...e,value:{transform:t,writableObjectMode:r,readableObjectMode:n}}},Pw=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o})=>{let{transform:i,objectMode:s}=oe(t)?t:{transform:t},{writableObjectMode:a,readableObjectMode:c}=Pi(s,r,n,o);return {...e,value:{transform:i,writableObjectMode:a,readableObjectMode:c}}},Tw=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o,encoding:i})=>{let{transform:s,final:a,binary:c=!1,preserveNewlines:l=!1,objectMode:u}=oe(t)?t:{transform:t},f=c||Ee.has(i),{writableObjectMode:g,readableObjectMode:y}=Pi(u,r,n,o);return {...e,value:{transform:s,final:a,binary:f,preserveNewlines:l,writableObjectMode:g,readableObjectMode:y}}},Dw=(e,t)=>t==="input"?e.reverse():e;var Af=(e,t,r)=>{let n=e.map(o=>Nw(o,t));if(n.includes("input")&&n.includes("output"))throw new TypeError(`The \`${r}\` option must not be an array of both readable and writable values.`);return n.find(Boolean)??_w},Nw=({type:e,value:t},r)=>$w[r]??Cf[e](t),$w=["input","output","output"],Bt=()=>{},Di=()=>"input",Cf={generator:Bt,asyncGenerator:Bt,fileUrl:Bt,filePath:Bt,iterable:Di,asyncIterable:Di,uint8Array:Di,webStream:e=>Mn(e)?"output":"input",nodeStream(e){return pt(e,{checkOpen:!1})?Si(e,{checkOpen:!1})?void 0:"input":"output"},webTransform:Bt,duplex:Bt,native(e){let t=Fw(e);if(t!==void 0)return t;if(De(e,{checkOpen:!1}))return Cf.nodeStream(e)}},Fw=e=>{if([0,cn__default.default.stdin].includes(e))return "input";if([1,2,cn__default.default.stdout,cn__default.default.stderr].includes(e))return "output"},_w="output";var If=(e,t)=>t&&!e.includes("ipc")?[...e,"ipc"]:e;var Rf=({stdio:e,ipc:t,buffer:r,...n},o,i)=>{let s=Mw(e,n).map((a,c)=>Pf(a,c));return i?Bw(s,r,o):If(s,t)},Mw=(e,t)=>{if(e===void 0)return ve.map(n=>t[n]);if(jw(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${ve.map(n=>`\`${n}\``).join(", ")}`);if(typeof e=="string")return [e,e,e];if(!Array.isArray(e))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof e}\``);let r=Math.max(e.length,ve.length);return Array.from({length:r},(n,o)=>e[o])},jw=e=>ve.some(t=>e[t]!==void 0),Pf=(e,t)=>Array.isArray(e)?e.map(r=>Pf(r,t)):e??(t>=ve.length?"ignore":"pipe"),Bw=(e,t,r)=>e.map((n,o)=>!t[o]&&o!==0&&!Rt(r,o)&&Uw(n)?"ignore":n),Uw=e=>e==="pipe"||Array.isArray(e)&&e.every(t=>t==="pipe");var Df=({stdioItem:e,stdioItem:{type:t},isStdioArray:r,fdNumber:n,direction:o,isSync:i})=>!r||t!=="native"?e:i?qw({stdioItem:e,fdNumber:n,direction:o}):Vw({stdioItem:e,fdNumber:n}),qw=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n,direction:o})=>{let i=zw({value:t,optionName:r,fdNumber:n,direction:o});if(i!==void 0)return i;if(De(t,{checkOpen:!1}))throw new TypeError(`The \`${r}: Stream\` option cannot both be an array and include a stream with synchronous methods.`);return e},zw=({value:e,optionName:t,fdNumber:r,direction:n})=>{let o=Ww(e,r);if(o!==void 0){if(n==="output")return {type:"fileNumber",value:o,optionName:t};if(Ey__default.default.isatty(o))throw new TypeError(`The \`${t}: ${dn(e)}\` option is invalid: it cannot be a TTY with synchronous methods.`);return {type:"uint8Array",value:We(fs$1.readFileSync(o)),optionName:t}}},Ww=(e,t)=>{if(e==="inherit")return t;if(typeof e=="number")return e;let r=Hr.indexOf(e);if(r!==-1)return r},Vw=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n})=>t==="inherit"?{type:"nodeStream",value:Tf(n,t,r),optionName:r}:typeof t=="number"?{type:"nodeStream",value:Tf(t,t,r),optionName:r}:De(t,{checkOpen:!1})?{type:"nodeStream",value:t,optionName:r}:e,Tf=(e,t,r)=>{let n=Hr[e];if(n===void 0)throw new TypeError(`The \`${r}: ${t}\` option is invalid: no such standard stream.`);return n};var Nf=({input:e,inputFile:t},r)=>r===0?[...Hw(e),...Xw(t)]:[],Hw=e=>e===void 0?[]:[{type:Yw(e),value:e,optionName:"input"}],Yw=e=>{if(pt(e,{checkOpen:!1}))return "nodeStream";if(typeof e=="string")return "string";if(se(e))return "uint8Array";throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.")},Xw=e=>e===void 0?[]:[{...Kw(e),optionName:"inputFile"}],Kw=e=>{if(_n(e))return {type:"fileUrl",value:e};if(Ci(e))return {type:"filePath",value:{file:e}};throw new Error("The `inputFile` option must be a file path string or a file URL.")};var $f=e=>e.filter((t,r)=>e.every((n,o)=>t.value!==n.value||r>=o||t.type==="generator"||t.type==="asyncGenerator")),Ff=({stdioItem:{type:e,value:t,optionName:r},direction:n,fileDescriptors:o,isSync:i})=>{let s=Jw(o,e);if(s.length!==0){if(i){Zw({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});return}if(xf.has(e))return _f({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});vf.has(e)&&eE({otherStdioItems:s,type:e,value:t,optionName:r});}},Jw=(e,t)=>e.flatMap(({direction:r,stdioItems:n})=>n.filter(o=>o.type===t).map(o=>({...o,direction:r}))),Zw=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{Ri.has(t)&&_f({otherStdioItems:e,type:t,value:r,optionName:n,direction:o});},_f=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{let i=e.filter(a=>Qw(a,r));if(i.length===0)return;let s=i.find(a=>a.direction!==o);return Mf(s,n,t),o==="output"?i[0].stream:void 0},Qw=({type:e,value:t},r)=>e==="filePath"?t.file===r.file:e==="fileUrl"?t.href===r.href:t===r,eE=({otherStdioItems:e,type:t,value:r,optionName:n})=>{let o=e.find(({value:{transform:i}})=>i===r.transform);Mf(o,n,t);},Mf=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${e.optionName}\` and \`${t}\` options must not target ${rt[r]} that is the same.`)};var Bn=(e,t,r,n)=>{let i=Rf(t,r,n).map((a,c)=>tE({stdioOption:a,fdNumber:c,options:t,isSync:n})),s=uE({initialFileDescriptors:i,addProperties:e,options:t,isSync:n});return t.stdio=s.map(({stdioItems:a})=>pE(a)),s},tE=({stdioOption:e,fdNumber:t,options:r,isSync:n})=>{let o=Yr(t),{stdioItems:i,isStdioArray:s}=rE({stdioOption:e,fdNumber:t,options:r,optionName:o}),a=Af(i,t,o),c=i.map(f=>Df({stdioItem:f,isStdioArray:s,fdNumber:t,direction:a,isSync:n})),l=Lf(c,o,a,r),u=Of(l,a);return cE(l,u),{direction:a,objectMode:u,stdioItems:l}},rE=({stdioOption:e,fdNumber:t,options:r,optionName:n})=>{let i=[...(Array.isArray(e)?e:[e]).map(c=>nE(c,n)),...Nf(r,t)],s=$f(i),a=s.length>1;return oE(s,a,n),sE(s),{stdioItems:s,isStdioArray:a}},nE=(e,t)=>({type:hf(e,t),value:e,optionName:t}),oE=(e,t,r)=>{if(e.length===0)throw new TypeError(`The \`${r}\` option must not be an empty array.`);if(t){for(let{value:n,optionName:o}of e)if(iE.has(n))throw new Error(`The \`${o}\` option must not include \`${n}\`.`)}},iE=new Set(["ignore","ipc"]),sE=e=>{for(let t of e)aE(t);},aE=({type:e,value:t,optionName:r})=>{if(bf(t))throw new TypeError(`The \`${r}: URL\` option must use the \`file:\` scheme.
|
|
91
|
+
For example, you can use the \`pathToFileURL()\` method of the \`url\` core module.`);if(Sf(e,t))throw new TypeError(`The \`${r}: { file: '...' }\` option must be used instead of \`${r}: '...'\`.`)},cE=(e,t)=>{if(!t)return;let r=e.find(({type:n})=>jn.has(n));if(r!==void 0)throw new TypeError(`The \`${r.optionName}\` option cannot use both files and transforms in objectMode.`)},uE=({initialFileDescriptors:e,addProperties:t,options:r,isSync:n})=>{let o=[];try{for(let i of e)o.push(lE({fileDescriptor:i,fileDescriptors:o,addProperties:t,options:r,isSync:n}));return o}catch(i){throw Ni(o),i}},lE=({fileDescriptor:{direction:e,objectMode:t,stdioItems:r},fileDescriptors:n,addProperties:o,options:i,isSync:s})=>{let a=r.map(c=>fE({stdioItem:c,addProperties:o,direction:e,options:i,fileDescriptors:n,isSync:s}));return {direction:e,objectMode:t,stdioItems:a}},fE=({stdioItem:e,addProperties:t,direction:r,options:n,fileDescriptors:o,isSync:i})=>{let s=Ff({stdioItem:e,direction:r,fileDescriptors:o,isSync:i});return s!==void 0?{...e,stream:s}:{...e,...t[r][e.type](e,n)}},Ni=e=>{for(let{stdioItems:t}of e)for(let{stream:r}of t)r!==void 0&&!Re(r)&&r.destroy();},pE=e=>{if(e.length>1)return e.some(({value:n})=>n==="overlapped")?"overlapped":"pipe";let[{type:t,value:r}]=e;return t==="native"?r:"pipe"};var Uf=(e,t)=>Bn(hE,e,t,!0),Ue=({type:e,optionName:t})=>{Gf(t,rt[e]);},dE=({optionName:e,value:t})=>((t==="ipc"||t==="overlapped")&&Gf(e,`"${t}"`),{}),Gf=(e,t)=>{throw new TypeError(`The \`${e}\` option cannot be ${t} with synchronous methods.`)},Bf={generator(){},asyncGenerator:Ue,webStream:Ue,nodeStream:Ue,webTransform:Ue,duplex:Ue,asyncIterable:Ue,native:dE},hE={input:{...Bf,fileUrl:({value:e})=>({contents:[We(fs$1.readFileSync(e))]}),filePath:({value:{file:e}})=>({contents:[We(fs$1.readFileSync(e))]}),fileNumber:Ue,iterable:({value:e})=>({contents:[...e]}),string:({value:e})=>({contents:[e]}),uint8Array:({value:e})=>({contents:[e]})},output:{...Bf,fileUrl:({value:e})=>({path:e}),filePath:({value:{file:e,append:t}})=>({path:e,append:t}),fileNumber:({value:e})=>({path:e}),iterable:Ue,string:Ue,uint8Array:Ue}};var Ye=(e,{stripFinalNewline:t},r)=>$i(t,r)&&e!==void 0&&!Array.isArray(e)?Ft(e):e,$i=(e,t)=>t==="all"?e[1]||e[2]:e[t];var Un=(e,t,r,n)=>e||r?void 0:qf(t,n),_i=(e,t,r)=>r?e.flatMap(n=>kf(n,t)):kf(e,t),kf=(e,t)=>{let{transform:r,final:n}=qf(t,{});return [...r(e),...n()]},qf=(e,t)=>(t.previousChunks="",{transform:mE.bind(void 0,t,e),final:yE.bind(void 0,t)}),mE=function*(e,t,r){if(typeof r!="string"){yield r;return}let{previousChunks:n}=e,o=-1;for(let i=0;i<r.length;i+=1)if(r[i]===`
|
|
92
|
+
`){let s=gE(r,i,t,e),a=r.slice(o+1,i+1-s);n.length>0&&(a=Fi(n,a),n=""),yield a,o=i;}o!==r.length-1&&(n=Fi(n,r.slice(o+1))),e.previousChunks=n;},gE=(e,t,r,n)=>r?0:(n.isWindowsNewline=t!==0&&e[t-1]==="\r",n.isWindowsNewline?2:1),yE=function*({previousChunks:e}){e.length>0&&(yield e);},zf=({binary:e,preserveNewlines:t,readableObjectMode:r,state:n})=>e||t||r?void 0:{transform:bE.bind(void 0,n)},bE=function*({isWindowsNewline:e=!1},t){let{unixNewline:r,windowsNewline:n,LF:o,concatBytes:i}=typeof t=="string"?SE:EE;if(t.at(-1)===o){yield t;return}yield i(t,e?n:r);},Fi=(e,t)=>`${e}${t}`,SE={windowsNewline:`\r
|
|
93
|
+
`,unixNewline:`
|
|
94
|
+
`,LF:`
|
|
95
|
+
`,concatBytes:Fi},wE=(e,t)=>{let r=new Uint8Array(e.length+t.length);return r.set(e,0),r.set(t,e.length),r},EE={windowsNewline:new Uint8Array([13,10]),unixNewline:new Uint8Array([10]),LF:10,concatBytes:wE};var Wf=(e,t)=>e?void 0:vE.bind(void 0,t),vE=function*(e,t){if(typeof t!="string"&&!se(t)&&!buffer.Buffer.isBuffer(t))throw new TypeError(`The \`${e}\` option's transform must use "objectMode: true" to receive as input: ${typeof t}.`);yield t;},Vf=(e,t)=>e?OE.bind(void 0,t):LE.bind(void 0,t),OE=function*(e,t){Hf(e,t),yield t;},LE=function*(e,t){if(Hf(e,t),typeof t!="string"&&!se(t))throw new TypeError(`The \`${e}\` option's function must yield a string or an Uint8Array, not ${typeof t}.`);yield t;},Hf=(e,t)=>{if(t==null)throw new TypeError(`The \`${e}\` option's function must not call \`yield ${t}\`.
|
|
96
|
+
Instead, \`yield\` should either be called with a value, or not be called at all. For example:
|
|
97
|
+
if (condition) { yield value; }`)};var Gn=(e,t,r)=>{if(r)return;if(e)return {transform:IE.bind(void 0,new TextEncoder)};let n=new string_decoder.StringDecoder(t);return {transform:RE.bind(void 0,n),final:PE.bind(void 0,n)}},IE=function*(e,t){buffer.Buffer.isBuffer(t)?yield We(t):typeof t=="string"?yield e.encode(t):yield t;},RE=function*(e,t){yield se(t)?e.write(t):t;},PE=function*(e){let t=e.end();t!==""&&(yield t);};var Mi=util.callbackify(async(e,t,r,n)=>{t.currentIterable=e(...r);try{for await(let o of t.currentIterable)n.push(o);}finally{delete t.currentIterable;}}),kn=async function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=DE}=t[r];for await(let o of n(e))yield*kn(o,t,r+1);},Xf=async function*(e){for(let[t,{final:r}]of Object.entries(e))yield*TE(r,Number(t),e);},TE=async function*(e,t,r){if(e!==void 0)for await(let n of e())yield*kn(n,r,t+1);},Kf=util.callbackify(async({currentIterable:e},t)=>{if(e!==void 0){await(t?e.throw(t):e.return());return}if(t)throw t}),DE=function*(e){yield e;};var ji=(e,t,r,n)=>{try{for(let o of e(...t))r.push(o);n();}catch(o){n(o);}},Jf=(e,t)=>[...t.flatMap(r=>[...ht(r,e,0)]),...hr(e)],ht=function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=$E}=t[r];for(let o of n(e))yield*ht(o,t,r+1);},hr=function*(e){for(let[t,{final:r}]of Object.entries(e))yield*NE(r,Number(t),e);},NE=function*(e,t,r){if(e!==void 0)for(let n of e())yield*ht(n,r,t+1);},$E=function*(e){yield e;};var Bi=({value:e,value:{transform:t,final:r,writableObjectMode:n,readableObjectMode:o},optionName:i},{encoding:s})=>{let a={},c=Qf(e,s,i),l=dt(t),u=dt(r),f=l?Mi.bind(void 0,kn,a):ji.bind(void 0,ht),g=l||u?Mi.bind(void 0,Xf,a):ji.bind(void 0,hr),y=l||u?Kf.bind(void 0,a):void 0;return {stream:new stream.Transform({writableObjectMode:n,writableHighWaterMark:stream.getDefaultHighWaterMark(n),readableObjectMode:o,readableHighWaterMark:stream.getDefaultHighWaterMark(o),transform(p,v,D){f([p,c,0],this,D);},flush(p){g([c],this,p);},destroy:y})}},qn=(e,t,r,n)=>{let o=t.filter(({type:s})=>s==="generator"),i=n?o.reverse():o;for(let{value:s,optionName:a}of i){let c=Qf(s,r,a);e=Jf(c,e);}return e},Qf=({transform:e,final:t,binary:r,writableObjectMode:n,readableObjectMode:o,preserveNewlines:i},s,a)=>{let c={};return [{transform:Wf(n,a)},Gn(r,s,n),Un(r,i,n,c),{transform:e,final:t},{transform:Vf(o,a)},zf({binary:r,preserveNewlines:i,readableObjectMode:o,state:c})].filter(Boolean)};var ep=(e,t)=>{for(let r of _E(e))ME(e,r,t);},_E=e=>new Set(Object.entries(e).filter(([,{direction:t}])=>t==="input").map(([t])=>Number(t))),ME=(e,t,r)=>{let{stdioItems:n}=e[t],o=n.filter(({contents:a})=>a!==void 0);if(o.length===0)return;if(t!==0){let[{type:a,optionName:c}]=o;throw new TypeError(`Only the \`stdin\` option, not \`${c}\`, can be ${rt[a]} with synchronous methods.`)}let s=o.map(({contents:a})=>a).map(a=>jE(a,n));r.input=or(s);},jE=(e,t)=>{let r=qn(e,t,"utf8",!0);return BE(r),or(r)},BE=e=>{let t=e.find(r=>typeof r!="string"&&!se(r));if(t!==void 0)throw new TypeError(`The \`stdin\` option is invalid: when passing objects as input, a transform must be used to serialize them to strings or Uint8Arrays: ${t}.`)};var zn=({stdioItems:e,encoding:t,verboseInfo:r,fdNumber:n})=>n!=="all"&&Rt(r,n)&&!Ee.has(t)&&UE(n)&&(e.some(({type:o,value:i})=>o==="native"&&GE.has(i))||e.every(({type:o})=>Oe.has(o))),UE=e=>e===1||e===2,GE=new Set(["pipe","overlapped"]),tp=async(e,t,r,n)=>{for await(let o of e)kE(t)||np(o,r,n);},rp=(e,t,r)=>{for(let n of e)np(n,t,r);},kE=e=>e._readableState.pipes.length>0,np=(e,t,r)=>{let n=tn(e);_e({type:"output",verboseMessage:n,fdNumber:t,verboseInfo:r});};var op=({fileDescriptors:e,syncResult:{output:t},options:r,isMaxBuffer:n,verboseInfo:o})=>{if(t===null)return {output:Array.from({length:3})};let i={},s=new Set([]);return {output:t.map((c,l)=>WE({result:c,fileDescriptors:e,fdNumber:l,state:i,outputFiles:s,isMaxBuffer:n,verboseInfo:o},r)),...i}},WE=({result:e,fileDescriptors:t,fdNumber:r,state:n,outputFiles:o,isMaxBuffer:i,verboseInfo:s},{buffer:a,encoding:c,lines:l,stripFinalNewline:u,maxBuffer:f})=>{if(e===null)return;let g=of(e,i,f),y=We(g),{stdioItems:b,objectMode:p}=t[r],v=VE([y],b,c,n),{serializedResult:D,finalResult:$=D}=HE({chunks:v,objectMode:p,encoding:c,lines:l,stripFinalNewline:u,fdNumber:r});YE({serializedResult:D,fdNumber:r,state:n,verboseInfo:s,encoding:c,stdioItems:b,objectMode:p});let k=a[r]?$:void 0;try{return n.error===void 0&&XE(D,b,o),k}catch(U){return n.error=U,k}},VE=(e,t,r,n)=>{try{return qn(e,t,r,!1)}catch(o){return n.error=o,e}},HE=({chunks:e,objectMode:t,encoding:r,lines:n,stripFinalNewline:o,fdNumber:i})=>{if(t)return {serializedResult:e};if(r==="buffer")return {serializedResult:or(e)};let s=mc(e,r);return n[i]?{serializedResult:s,finalResult:_i(s,!o[i],t)}:{serializedResult:s}},YE=({serializedResult:e,fdNumber:t,state:r,verboseInfo:n,encoding:o,stdioItems:i,objectMode:s})=>{if(!zn({stdioItems:i,encoding:o,verboseInfo:n,fdNumber:t}))return;let a=_i(e,!1,s);try{rp(a,t,n);}catch(c){r.error??=c;}},XE=(e,t,r)=>{for(let{path:n,append:o}of t.filter(({type:i})=>jn.has(i))){let i=typeof n=="string"?n:n.toString();o||r.has(i)?fs$1.appendFileSync(n,e):(r.add(i),fs$1.writeFileSync(n,e));}};var ip=([,e,t],r)=>{if(r.all)return e===void 0?t:t===void 0?e:Array.isArray(e)?Array.isArray(t)?[...e,...t]:[...e,Ye(t,r,"all")]:Array.isArray(t)?[Ye(e,r,"all"),...t]:se(e)&&se(t)?Wo([e,t]):`${e}${t}`};var sp=async(e,t)=>{let[r,n]=await KE(e);return t.isForcefullyTerminated??=!1,[r,n]},KE=async e=>{let[t,r]=await Promise.allSettled([events.once(e,"spawn"),events.once(e,"exit")]);return t.status==="rejected"?[]:r.status==="rejected"?ap(e):r.value},ap=async e=>{try{return await events.once(e,"exit")}catch{return ap(e)}},cp=async e=>{let[t,r]=await e;if(!JE(t,r)&&Gi(t,r))throw new Pe;return [t,r]},JE=(e,t)=>e===void 0&&t===void 0,Gi=(e,t)=>e!==0||t!==null;var up=({error:e,status:t,signal:r,output:n},{maxBuffer:o})=>{let i=ZE(e,t,r),s=(i==null?void 0:i.code)==="ETIMEDOUT",a=nf(i,n,o);return {resultError:i,exitCode:t,signal:r,timedOut:s,isMaxBuffer:a}},ZE=(e,t,r)=>e!==void 0?e:Gi(t,r)?new Pe:void 0;var lp=(e,t,r)=>{let{file:n,commandArguments:o,command:i,escapedCommand:s,startTime:a,verboseInfo:c,options:l,fileDescriptors:u}=e2(e,t,r),f=n2({file:n,commandArguments:o,options:l,command:i,escapedCommand:s,verboseInfo:c,fileDescriptors:u,startTime:a});return jt(f,c,l)},e2=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=nn(e,t,r),a=t2(r),{file:c,commandArguments:l,options:u}=Ln(e,t,a);r2(u);let f=Uf(u,s);return {file:c,commandArguments:l,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:u,fileDescriptors:f}},t2=e=>e.node&&!e.ipc?{...e,ipc:!1}:e,r2=({ipc:e,ipcInput:t,detached:r,cancelSignal:n})=>{t&&Wn("ipcInput"),e&&Wn("ipc: true"),r&&Wn("detached: true"),n&&Wn("cancelSignal");},Wn=e=>{throw new TypeError(`The "${e}" option cannot be used with synchronous methods.`)},n2=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,verboseInfo:i,fileDescriptors:s,startTime:a})=>{let c=o2({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:s,startTime:a});if(c.failed)return c;let{resultError:l,exitCode:u,signal:f,timedOut:g,isMaxBuffer:y}=up(c,r),{output:b,error:p=l}=op({fileDescriptors:s,syncResult:c,options:r,isMaxBuffer:y,verboseInfo:i}),v=b.map(($,k)=>Ye($,r,k)),D=Ye(ip(b,r),r,"all");return s2({error:p,exitCode:u,signal:f,timedOut:g,isMaxBuffer:y,stdio:v,all:D,options:r,command:n,escapedCommand:o,startTime:a})},o2=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:i,startTime:s})=>{try{ep(i,r);let a=i2(r);return child_process.spawnSync(...An(e,t,a))}catch(a){return Mt({error:a,command:n,escapedCommand:o,fileDescriptors:i,options:r,startTime:s,isSync:!0})}},i2=({encoding:e,maxBuffer:t,...r})=>({...r,encoding:"buffer",maxBuffer:$n(t)}),s2=({error:e,exitCode:t,signal:r,timedOut:n,isMaxBuffer:o,stdio:i,all:s,options:a,command:c,escapedCommand:l,startTime:u})=>e===void 0?Fn({command:c,escapedCommand:l,stdio:i,all:s,ipcOutput:[],options:a,startTime:u}):dr({error:e,command:c,escapedCommand:l,timedOut:n,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:o,isForcefullyTerminated:!1,exitCode:t,signal:r,stdio:i,all:s,ipcOutput:[],options:a,startTime:u,isSync:!0});var fp=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0,filter:i}={})=>(Dt({methodName:"getOneMessage",isSubprocess:r,ipc:n,isConnected:Sn(e)}),c2({anyProcess:e,channel:t,isSubprocess:r,filter:i,reference:o})),c2=async({anyProcess:e,channel:t,isSubprocess:r,filter:n,reference:o})=>{mn(t,o);let i=tt(e,t,r),s=new AbortController;try{return await Promise.race([u2(i,n,s),l2(i,r,s),f2(i,r,s)])}catch(a){throw Nt(e),a}finally{s.abort(),gn(t,o);}},u2=async(e,t,{signal:r})=>{if(t===void 0){let[n]=await events.once(e,"message",{signal:r});return n}for await(let[n]of events.on(e,"message",{signal:r}))if(t(n))return n},l2=async(e,t,{signal:r})=>{await events.once(e,"disconnect",{signal:r}),Ku(t);},f2=async(e,t,{signal:r})=>{let[n]=await events.once(e,"strict:error",{signal:r});throw pn(n,t)};var hp=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0}={})=>qi({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:!r,reference:o}),qi=({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:o,reference:i})=>{Dt({methodName:"getEachMessage",isSubprocess:r,ipc:n,isConnected:Sn(e)}),mn(t,i);let s=tt(e,t,r),a=new AbortController,c={};return d2(e,s,a),h2({ipcEmitter:s,isSubprocess:r,controller:a,state:c}),m2({anyProcess:e,channel:t,ipcEmitter:s,isSubprocess:r,shouldAwait:o,controller:a,state:c,reference:i})},d2=async(e,t,r)=>{try{await events.once(t,"disconnect",{signal:r.signal}),r.abort();}catch{}},h2=async({ipcEmitter:e,isSubprocess:t,controller:r,state:n})=>{try{let[o]=await events.once(e,"strict:error",{signal:r.signal});n.error=pn(o,t),r.abort();}catch{}},m2=async function*({anyProcess:e,channel:t,ipcEmitter:r,isSubprocess:n,shouldAwait:o,controller:i,state:s,reference:a}){try{for await(let[c]of events.on(r,"message",{signal:i.signal}))pp(s),yield c;}catch{pp(s);}finally{i.abort(),gn(t,a),n||Nt(e),o&&await e;}},pp=({error:e})=>{if(e)throw e};var gp=(e,{ipc:t})=>{Object.assign(e,bp(e,!1,t));},yp=()=>{let e=cn__default.default,t=!0,r=cn__default.default.channel!==void 0;return {...bp(e,t,r),getCancelSignal:vl.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})}},bp=(e,t,r)=>({sendMessage:vn.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getOneMessage:fp.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getEachMessage:hp.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})});var Sp=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,verboseInfo:s})=>{Ni(n);let a=new child_process.ChildProcess;E2(a,n),Object.assign(a,{readable:x2,writable:v2,duplex:O2});let c=Mt({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:!1}),l=L2(c,s,o);return {subprocess:a,promise:l}},E2=(e,t)=>{let r=mr(),n=mr(),o=mr(),i=Array.from({length:t.length-3},mr),s=mr(),a=[r,n,o,...i];Object.assign(e,{stdin:r,stdout:n,stderr:o,all:s,stdio:a});},mr=()=>{let e=new stream.PassThrough;return e.end(),e},x2=()=>new stream.Readable({read(){}}),v2=()=>new stream.Writable({write(){}}),O2=()=>new stream.Duplex({read(){},write(){}}),L2=async(e,t,r)=>jt(e,t,r);var vp=(e,t)=>Bn(R2,e,t,!1),yr=({type:e,optionName:t})=>{throw new TypeError(`The \`${t}\` option cannot be ${rt[e]}.`)},xp={fileNumber:yr,generator:Bi,asyncGenerator:Bi,nodeStream:({value:e})=>({stream:e}),webTransform({value:{transform:e,writableObjectMode:t,readableObjectMode:r}}){let n=t||r;return {stream:stream.Duplex.fromWeb(e,{objectMode:n})}},duplex:({value:{transform:e}})=>({stream:e}),native(){}},R2={input:{...xp,fileUrl:({value:e})=>({stream:fs$1.createReadStream(e)}),filePath:({value:{file:e}})=>({stream:fs$1.createReadStream(e)}),webStream:({value:e})=>({stream:stream.Readable.fromWeb(e)}),iterable:({value:e})=>({stream:stream.Readable.from(e)}),asyncIterable:({value:e})=>({stream:stream.Readable.from(e)}),string:({value:e})=>({stream:stream.Readable.from(e)}),uint8Array:({value:e})=>({stream:stream.Readable.from(buffer.Buffer.from(e))})},output:{...xp,fileUrl:({value:e})=>({stream:fs$1.createWriteStream(e)}),filePath:({value:{file:e,append:t}})=>({stream:fs$1.createWriteStream(e,t?{flags:"a"}:{})}),webStream:({value:e})=>({stream:stream.Writable.fromWeb(e)}),iterable:yr,asyncIterable:yr,string:yr,uint8Array:yr}};function mt(e){if(!Array.isArray(e))throw new TypeError(`Expected an array, got \`${typeof e}\`.`);for(let o of e)Wi(o);let t=e.some(({readableObjectMode:o})=>o),r=N2(e,t),n=new zi({objectMode:t,writableHighWaterMark:r,readableHighWaterMark:r});for(let o of e)n.add(o);return n}var N2=(e,t)=>{if(e.length===0)return stream.getDefaultHighWaterMark(t);let r=e.filter(({readableObjectMode:n})=>n===t).map(({readableHighWaterMark:n})=>n);return Math.max(...r)},zi=class extends stream.PassThrough{#t=new Set([]);#r=new Set([]);#e=new Set([]);#n;#i=Symbol("unpipe");#o=new WeakMap;add(t){if(Wi(t),this.#t.has(t))return;this.#t.add(t),this.#n??=$2(this,this.#t,this.#i);let r=M2({passThroughStream:this,stream:t,streams:this.#t,ended:this.#r,aborted:this.#e,onFinished:this.#n,unpipeEvent:this.#i});this.#o.set(t,r),t.pipe(this,{end:!1});}async remove(t){if(Wi(t),!this.#t.has(t))return !1;let r=this.#o.get(t);return r===void 0?!1:(this.#o.delete(t),t.unpipe(this),await r,!0)}},$2=async(e,t,r)=>{Vn(e,Lp);let n=new AbortController;try{await Promise.race([F2(e,n),_2(e,t,r,n)]);}finally{n.abort(),Vn(e,-Lp);}},F2=async(e,{signal:t})=>{try{await promises.finished(e,{signal:t,cleanup:!0});}catch(r){throw Ip(e,r),r}},_2=async(e,t,r,{signal:n})=>{for await(let[o]of events.on(e,"unpipe",{signal:n}))t.has(o)&&o.emit(r);},Wi=e=>{if(typeof(e==null?void 0:e.pipe)!="function")throw new TypeError(`Expected a readable stream, got: \`${typeof e}\`.`)},M2=async({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,onFinished:i,unpipeEvent:s})=>{Vn(e,Ap);let a=new AbortController;try{await Promise.race([j2(i,t,a),B2({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,controller:a}),U2({stream:t,streams:r,ended:n,aborted:o,unpipeEvent:s,controller:a})]);}finally{a.abort(),Vn(e,-Ap);}r.size>0&&r.size===n.size+o.size&&(n.size===0&&o.size>0?Vi(e):G2(e));},j2=async(e,t,{signal:r})=>{try{await e,r.aborted||Vi(t);}catch(n){r.aborted||Ip(t,n);}},B2=async({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,controller:{signal:i}})=>{try{await promises.finished(t,{signal:i,cleanup:!0,readable:!0,writable:!1}),r.has(t)&&n.add(t);}catch(s){if(i.aborted||!r.has(t))return;Rp(s)?o.add(t):Pp(e,s);}},U2=async({stream:e,streams:t,ended:r,aborted:n,unpipeEvent:o,controller:{signal:i}})=>{if(await events.once(e,o,{signal:i}),!e.readable)return events.once(i,"abort",{signal:i});t.delete(e),r.delete(e),n.delete(e);},G2=e=>{e.writable&&e.end();},Ip=(e,t)=>{Rp(t)?Vi(e):Pp(e,t);},Rp=e=>(e==null?void 0:e.code)==="ERR_STREAM_PREMATURE_CLOSE",Vi=e=>{(e.readable||e.writable)&&e.destroy();},Pp=(e,t)=>{e.destroyed||(e.once("error",k2),e.destroy(t));},k2=()=>{},Vn=(e,t)=>{let r=e.getMaxListeners();r!==0&&r!==Number.POSITIVE_INFINITY&&e.setMaxListeners(r+t);},Lp=2,Ap=1;var Ut=(e,t)=>{e.pipe(t),q2(e,t),z2(e,t);},q2=async(e,t)=>{if(!(Re(e)||Re(t))){try{await promises.finished(e,{cleanup:!0,readable:!0,writable:!1});}catch{}Hi(t);}},Hi=e=>{e.writable&&e.end();},z2=async(e,t)=>{if(!(Re(e)||Re(t))){try{await promises.finished(t,{cleanup:!0,readable:!1,writable:!0});}catch{}Yi(e);}},Yi=e=>{e.readable&&e.destroy();};var Dp=(e,t,r)=>{let n=new Map;for(let[o,{stdioItems:i,direction:s}]of Object.entries(t)){for(let{stream:a}of i.filter(({type:c})=>Oe.has(c)))W2(e,a,s,o);for(let{stream:a}of i.filter(({type:c})=>!Oe.has(c)))H2({subprocess:e,stream:a,direction:s,fdNumber:o,pipeGroups:n,controller:r});}for(let[o,i]of n.entries()){let s=i.length===1?i[0]:mt(i);Ut(s,o);}},W2=(e,t,r,n)=>{r==="output"?Ut(e.stdio[n],t):Ut(t,e.stdio[n]);let o=V2[n];o!==void 0&&(e[o]=t),e.stdio[n]=t;},V2=["stdin","stdout","stderr"],H2=({subprocess:e,stream:t,direction:r,fdNumber:n,pipeGroups:o,controller:i})=>{if(t===void 0)return;Y2(t,i);let[s,a]=r==="output"?[t,e.stdio[n]]:[e.stdio[n],t],c=o.get(s)??[];o.set(s,[...c,a]);},Y2=(e,{signal:t})=>{Re(e)&&ft(e,X2,t);},X2=2;var gt=[];gt.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&>.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&>.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var Hn=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Xi=Symbol.for("signal-exit emitter"),Ki=globalThis,K2=Object.defineProperty.bind(Object),Ji=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Ki[Xi])return Ki[Xi];K2(Ki,Xi,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(t,r){this.listeners[t].push(r);}removeListener(t,r){let n=this.listeners[t],o=n.indexOf(r);o!==-1&&(o===0&&n.length===1?n.length=0:n.splice(o,1));}emit(t,r,n){if(this.emitted[t])return !1;this.emitted[t]=!0;let o=!1;for(let i of this.listeners[t])o=i(r,n)===!0||o;return t==="exit"&&(o=this.emit("afterExit",r,n)||o),o}},Yn=class{},J2=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),Zi=class extends Yn{onExit(){return ()=>{}}load(){}unload(){}},Qi=class extends Yn{#t=es.platform==="win32"?"SIGINT":"SIGHUP";#r=new Ji;#e;#n;#i;#o={};#s=!1;constructor(t){super(),this.#e=t,this.#o={};for(let r of gt)this.#o[r]=()=>{let n=this.#e.listeners(r),{count:o}=this.#r,i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(o+=i.__signal_exit_emitter__.count),n.length===o){this.unload();let s=this.#r.emit("exit",null,r),a=r==="SIGHUP"?this.#t:r;s||t.kill(t.pid,a);}};this.#i=t.reallyExit,this.#n=t.emit;}onExit(t,r){if(!Hn(this.#e))return ()=>{};this.#s===!1&&this.load();let n=r!=null&&r.alwaysLast?"afterExit":"exit";return this.#r.on(n,t),()=>{this.#r.removeListener(n,t),this.#r.listeners.exit.length===0&&this.#r.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#s){this.#s=!0,this.#r.count+=1;for(let t of gt)try{let r=this.#o[t];r&&this.#e.on(t,r);}catch{}this.#e.emit=(t,...r)=>this.#c(t,...r),this.#e.reallyExit=t=>this.#a(t);}}unload(){this.#s&&(this.#s=!1,gt.forEach(t=>{let r=this.#o[t];if(!r)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,r);}catch{}}),this.#e.emit=this.#n,this.#e.reallyExit=this.#i,this.#r.count-=1);}#a(t){return Hn(this.#e)?(this.#e.exitCode=t||0,this.#r.emit("exit",this.#e.exitCode,null),this.#i.call(this.#e,this.#e.exitCode)):0}#c(t,...r){let n=this.#n;if(t==="exit"&&Hn(this.#e)){typeof r[0]=="number"&&(this.#e.exitCode=r[0]);let o=n.call(this.#e,t,...r);return this.#r.emit("exit",this.#e.exitCode,null),o}else return n.call(this.#e,t,...r)}},es=globalThis.process,{onExit:Np,load:r6,unload:n6}=J2(Hn(es)?new Qi(es):new Zi);var $p=(e,{cleanup:t,detached:r},{signal:n})=>{if(!t||r)return;let o=Np(()=>{e.kill();});events.addAbortListener(n,()=>{o();});};var _p=({source:e,sourcePromise:t,boundOptions:r,createNested:n},...o)=>{let i=rn(),{destination:s,destinationStream:a,destinationError:c,from:l,unpipeSignal:u}=Q2(r,n,o),{sourceStream:f,sourceError:g}=tx(e,l),{options:y,fileDescriptors:b}=je.get(e);return {sourcePromise:t,sourceStream:f,sourceOptions:y,sourceError:g,destination:s,destinationStream:a,destinationError:c,unpipeSignal:u,fileDescriptors:b,startTime:i}},Q2=(e,t,r)=>{try{let{destination:n,pipeOptions:{from:o,to:i,unpipeSignal:s}={}}=ex(e,t,...r),a=hn(n,i);return {destination:n,destinationStream:a,from:o,unpipeSignal:s}}catch(n){return {destinationError:n}}},ex=(e,t,r,...n)=>{if(Array.isArray(r))return {destination:t(Fp,e)(r,...n),pipeOptions:e};if(typeof r=="string"||r instanceof URL||qo(r)){if(Object.keys(e).length>0)throw new TypeError('Please use .pipe("file", ..., options) or .pipe(execa("file", ..., options)) instead of .pipe(options)("file", ...).');let[o,i,s]=Wr(r,...n);return {destination:t(Fp)(o,i,s),pipeOptions:s}}if(je.has(r)){if(Object.keys(e).length>0)throw new TypeError("Please use .pipe(options)`command` or .pipe($(options)`command`) instead of .pipe(options)($`command`).");return {destination:r,pipeOptions:n[0]}}throw new TypeError(`The first argument must be a template string, an options object, or an Execa subprocess: ${r}`)},Fp=({options:e})=>({options:{...e,stdin:"pipe",piped:!0}}),tx=(e,t)=>{try{return {sourceStream:$t(e,t)}}catch(r){return {sourceError:r}}};var jp=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n,fileDescriptors:o,sourceOptions:i,startTime:s})=>{let a=rx({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n});if(a!==void 0)throw ts({error:a,fileDescriptors:o,sourceOptions:i,startTime:s})},rx=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n})=>{if(t!==void 0&&n!==void 0)return n;if(n!==void 0)return Yi(e),n;if(t!==void 0)return Hi(r),t},ts=({error:e,fileDescriptors:t,sourceOptions:r,startTime:n})=>Mt({error:e,command:Mp,escapedCommand:Mp,fileDescriptors:t,options:r,startTime:n,isSync:!1}),Mp="source.pipe(destination)";var Bp=async e=>{let[{status:t,reason:r,value:n=r},{status:o,reason:i,value:s=i}]=await e;if(s.pipedFrom.includes(n)||s.pipedFrom.push(n),o==="rejected")throw s;if(t==="rejected")throw n;return s};var Up=(e,t,r)=>{let n=Xn.has(t)?ix(e,t):ox(e,t);return ft(e,ax,r.signal),ft(t,cx,r.signal),sx(t),n},ox=(e,t)=>{let r=mt([e]);return Ut(r,t),Xn.set(t,r),r},ix=(e,t)=>{let r=Xn.get(t);return r.add(e),r},sx=async e=>{try{await promises.finished(e,{cleanup:!0,readable:!1,writable:!0});}catch{}Xn.delete(e);},Xn=new WeakMap,ax=2,cx=1;var Gp=(e,t)=>e===void 0?[]:[lx(e,t)],lx=async(e,{sourceStream:t,mergedStream:r,fileDescriptors:n,sourceOptions:o,startTime:i})=>{await util.aborted(e,t),await r.remove(t);let s=new Error("Pipe canceled by `unpipeSignal` option.");throw ts({error:s,fileDescriptors:n,sourceOptions:o,startTime:i})};var Kn=(e,...t)=>{if(oe(t[0]))return Kn.bind(void 0,{...e,boundOptions:{...e.boundOptions,...t[0]}});let{destination:r,...n}=_p(e,...t),o=fx({...n,destination:r});return o.pipe=Kn.bind(void 0,{...e,source:r,sourcePromise:o,boundOptions:{}}),o},fx=async({sourcePromise:e,sourceStream:t,sourceOptions:r,sourceError:n,destination:o,destinationStream:i,destinationError:s,unpipeSignal:a,fileDescriptors:c,startTime:l})=>{let u=px(e,o);jp({sourceStream:t,sourceError:n,destinationStream:i,destinationError:s,fileDescriptors:c,sourceOptions:r,startTime:l});let f=new AbortController;try{let g=Up(t,i,f);return await Promise.race([Bp(u),...Gp(a,{sourceStream:t,mergedStream:g,sourceOptions:r,fileDescriptors:c,startTime:l})])}finally{f.abort();}},px=(e,t)=>Promise.allSettled([e,t]);var Jn=({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:n,encoding:o,preserveNewlines:i})=>{let s=new AbortController;return mx(t,s),qp({stream:e,controller:s,binary:r,shouldEncode:!e.readableObjectMode&&n,encoding:o,shouldSplit:!e.readableObjectMode,preserveNewlines:i})},mx=async(e,t)=>{try{await e;}catch{}finally{t.abort();}},rs=({stream:e,onStreamEnd:t,lines:r,encoding:n,stripFinalNewline:o,allMixed:i})=>{let s=new AbortController;gx(t,s,e);let a=e.readableObjectMode&&!i;return qp({stream:e,controller:s,binary:n==="buffer",shouldEncode:!a,encoding:n,shouldSplit:!a&&r,preserveNewlines:!o})},gx=async(e,t,r)=>{try{await e;}catch{r.destroy();}finally{t.abort();}},qp=({stream:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})=>{let a=events.on(e,"data",{signal:t.signal,highWaterMark:kp,highWatermark:kp});return yx({onStdoutChunk:a,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})},ns=stream.getDefaultHighWaterMark(!0),kp=ns,yx=async function*({onStdoutChunk:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s}){let a=bx({binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s});try{for await(let[c]of e)yield*ht(c,a,0);}catch(c){if(!t.signal.aborted)throw c}finally{yield*hr(a);}},bx=({binary:e,shouldEncode:t,encoding:r,shouldSplit:n,preserveNewlines:o})=>[Gn(e,r,!t),Un(e,o,!n,{})].filter(Boolean);var zp=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,buffer:o,maxBuffer:i,lines:s,allMixed:a,stripFinalNewline:c,verboseInfo:l,streamInfo:u})=>{let f=wx({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:a,verboseInfo:l,streamInfo:u});if(!o){await Promise.all([Ex(e),f]);return}let g=$i(c,r),y=rs({stream:e,onStreamEnd:t,lines:s,encoding:n,stripFinalNewline:g,allMixed:a}),[b]=await Promise.all([xx({stream:e,iterable:y,fdNumber:r,encoding:n,maxBuffer:i,lines:s}),f]);return b},wx=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:o,verboseInfo:i,streamInfo:{fileDescriptors:s}})=>{var c;if(!zn({stdioItems:(c=s[r])==null?void 0:c.stdioItems,encoding:n,verboseInfo:i,fdNumber:r}))return;let a=rs({stream:e,onStreamEnd:t,lines:!0,encoding:n,stripFinalNewline:!0,allMixed:o});await tp(a,e,r,i);},Ex=async e=>{await promises$1.setImmediate(),e.readableFlowing===null&&e.resume();},xx=async({stream:e,stream:{readableObjectMode:t},iterable:r,fdNumber:n,encoding:o,maxBuffer:i,lines:s})=>{try{return t||s?await Pn(r,{maxBuffer:i}):o==="buffer"?new Uint8Array(await Tn(r,{maxBuffer:i})):await Nn(r,{maxBuffer:i})}catch(a){return Wp(ef({error:a,stream:e,readableObjectMode:t,lines:s,encoding:o,fdNumber:n}))}},os=async e=>{try{return await e}catch(t){return Wp(t)}},Wp=({bufferedData:e})=>dc(e)?new Uint8Array(e):e;var br=async(e,t,r,{isSameDirection:n,stopOnExit:o=!1}={})=>{let i=Ox(e,r),s=new AbortController;try{await Promise.race([...o?[r.exitPromise]:[],promises.finished(e,{cleanup:!0,signal:s.signal})]);}catch(a){i.stdinCleanedUp||Cx(a,t,r,n);}finally{s.abort();}},Ox=(e,{originalStreams:[t],subprocess:r})=>{let n={stdinCleanedUp:!1};return e===t&&Lx(e,r,n),n},Lx=(e,t,r)=>{let{_destroy:n}=e;e._destroy=(...o)=>{Ax(t,r),n.call(e,...o);};},Ax=({exitCode:e,signalCode:t},r)=>{(e!==null||t!==null)&&(r.stdinCleanedUp=!0);},Cx=(e,t,r,n)=>{if(!Ix(e,t,r,n))throw e},Ix=(e,t,r,n=!0)=>r.propagating?Vp(e)||Zn(e):(r.propagating=!0,is(r,t)===n?Vp(e):Zn(e)),is=({fileDescriptors:e},t)=>t!=="all"&&e[t].direction==="input",Zn=e=>(e==null?void 0:e.code)==="ERR_STREAM_PREMATURE_CLOSE",Vp=e=>(e==null?void 0:e.code)==="EPIPE";var Hp=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:a})=>e.stdio.map((c,l)=>ss({stream:c,fdNumber:l,encoding:t,buffer:r[l],maxBuffer:n[l],lines:o[l],allMixed:!1,stripFinalNewline:i,verboseInfo:s,streamInfo:a})),ss=async({stream:e,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:a,verboseInfo:c,streamInfo:l})=>{if(!e)return;let u=br(e,t,l);if(is(l,t)){await u;return}let[f]=await Promise.all([zp({stream:e,onStreamEnd:u,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:a,verboseInfo:c,streamInfo:l}),u]);return f};var Yp=({stdout:e,stderr:t},{all:r})=>r&&(e||t)?mt([e,t].filter(Boolean)):void 0,Xp=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:a})=>ss({...Rx(e,r),fdNumber:"all",encoding:t,maxBuffer:n[1]+n[2],lines:o[1]||o[2],allMixed:Px(e),stripFinalNewline:i,verboseInfo:s,streamInfo:a}),Rx=({stdout:e,stderr:t,all:r},[,n,o])=>{let i=n||o;return i?n?o?{stream:r,buffer:i}:{stream:e,buffer:i}:{stream:t,buffer:i}:{stream:r,buffer:i}},Px=({all:e,stdout:t,stderr:r})=>e&&t&&r&&t.readableObjectMode!==r.readableObjectMode;var Kp=e=>Rt(e,"ipc"),Jp=(e,t)=>{let r=tn(e);_e({type:"ipc",verboseMessage:r,fdNumber:"ipc",verboseInfo:t});};var Zp=async({subprocess:e,buffer:t,maxBuffer:r,ipc:n,ipcOutput:o,verboseInfo:i})=>{if(!n)return o;let s=Kp(i),a=Ve(t,"ipc"),c=Ve(r,"ipc");for await(let l of qi({anyProcess:e,channel:e.channel,isSubprocess:!1,ipc:n,shouldAwait:!1,reference:!0}))a&&(tf(e,o,c),o.push(l)),s&&Jp(l,i);return o},Qp=async(e,t)=>(await Promise.allSettled([e]),t);var ed=async({subprocess:e,options:{encoding:t,buffer:r,maxBuffer:n,lines:o,timeoutDuration:i,cancelSignal:s,gracefulCancel:a,forceKillAfterDelay:c,stripFinalNewline:l,ipc:u,ipcInput:f},context:g,verboseInfo:y,fileDescriptors:b,originalStreams:p,onInternalError:v,controller:D})=>{let $=sp(e,g),k={originalStreams:p,fileDescriptors:b,subprocess:e,exitPromise:$,propagating:!1},U=Hp({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:l,verboseInfo:y,streamInfo:k}),ne=Xp({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:l,verboseInfo:y,streamInfo:k}),J=[],j=Zp({subprocess:e,buffer:r,maxBuffer:n,ipc:u,ipcOutput:J,verboseInfo:y}),V=Dx(p,e,k),T=Nx(b,k);try{return await Promise.race([Promise.all([{},cp($),Promise.all(U),ne,j,Nl(e,f),...V,...T]),v,$x(e,D),...Il(e,i,g,D),...Xu({subprocess:e,cancelSignal:s,gracefulCancel:a,context:g,controller:D}),...Al({subprocess:e,cancelSignal:s,gracefulCancel:a,forceKillAfterDelay:c,context:g,controller:D})])}catch(le){return g.terminationReason??="other",Promise.all([{error:le},$,Promise.all(U.map(I=>os(I))),os(ne),Qp(j,J),Promise.allSettled(V),Promise.allSettled(T)])}},Dx=(e,t,r)=>e.map((n,o)=>n===t.stdio[o]?void 0:br(n,o,r)),Nx=(e,t)=>e.flatMap(({stdioItems:r},n)=>r.filter(({value:o,stream:i=o})=>De(i,{checkOpen:!1})&&!Re(i)).map(({type:o,value:i,stream:s=i})=>br(s,n,t,{isSameDirection:Oe.has(o),stopOnExit:o==="native"}))),$x=async(e,{signal:t})=>{let[r]=await events.once(e,"error",{signal:t});throw r};var td=()=>({readableDestroy:new WeakMap,writableFinal:new WeakMap,writableDestroy:new WeakMap}),Sr=(e,t,r)=>{let n=e[r];n.has(t)||n.set(t,[]);let o=n.get(t),i=Me();return o.push(i),{resolve:i.resolve.bind(i),promises:o}},Gt=async({resolve:e,promises:t},r)=>{e();let[n]=await Promise.race([Promise.allSettled([!0,r]),Promise.all([!1,...t])]);return !n};var as=async e=>{if(e!==void 0)try{await cs(e);}catch{}},nd=async e=>{if(e!==void 0)try{await us(e);}catch{}},cs=async e=>{await promises.finished(e,{cleanup:!0,readable:!1,writable:!0});},us=async e=>{await promises.finished(e,{cleanup:!0,readable:!0,writable:!1});},Qn=async(e,t)=>{if(await e,t)throw t},eo=(e,t,r)=>{r&&!Zn(r)?e.destroy(r):t&&e.destroy();};var od=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,binary:o=!0,preserveNewlines:i=!0}={})=>{let s=o||Ee.has(r),{subprocessStdout:a,waitReadableDestroy:c}=ls(e,n,t),{readableEncoding:l,readableObjectMode:u,readableHighWaterMark:f}=fs(a,s),{read:g,onStdoutDataDone:y}=ps({subprocessStdout:a,subprocess:e,binary:s,encoding:r,preserveNewlines:i}),b=new stream.Readable({read:g,destroy:util.callbackify(hs.bind(void 0,{subprocessStdout:a,subprocess:e,waitReadableDestroy:c})),highWaterMark:f,objectMode:u,encoding:l});return ds({subprocessStdout:a,onStdoutDataDone:y,readable:b,subprocess:e}),b},ls=(e,t,r)=>{let n=$t(e,t),o=Sr(r,n,"readableDestroy");return {subprocessStdout:n,waitReadableDestroy:o}},fs=({readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r},n)=>n?{readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r}:{readableEncoding:e,readableObjectMode:!0,readableHighWaterMark:ns},ps=({subprocessStdout:e,subprocess:t,binary:r,encoding:n,preserveNewlines:o})=>{let i=Me(),s=Jn({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:!r,encoding:n,preserveNewlines:o});return {read(){Mx(this,s,i);},onStdoutDataDone:i}},Mx=async(e,t,r)=>{try{let{value:n,done:o}=await t.next();o?r.resolve():e.push(n);}catch{}},ds=async({subprocessStdout:e,onStdoutDataDone:t,readable:r,subprocess:n,subprocessStdin:o})=>{try{await us(e),await n,await as(o),await t,r.readable&&r.push(null);}catch(i){await as(o),id(r,i);}},hs=async({subprocessStdout:e,subprocess:t,waitReadableDestroy:r},n)=>{await Gt(r,t)&&(id(e,n),await Qn(t,n));},id=(e,t)=>{eo(e,e.readable,t);};var ad=({subprocess:e,concurrentStreams:t},{to:r}={})=>{let{subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}=ms(e,r,t),s=new stream.Writable({...gs(n,e,o),destroy:util.callbackify(bs.bind(void 0,{subprocessStdin:n,subprocess:e,waitWritableFinal:o,waitWritableDestroy:i})),highWaterMark:n.writableHighWaterMark,objectMode:n.writableObjectMode});return ys(n,s),s},ms=(e,t,r)=>{let n=hn(e,t),o=Sr(r,n,"writableFinal"),i=Sr(r,n,"writableDestroy");return {subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}},gs=(e,t,r)=>({write:Bx.bind(void 0,e),final:util.callbackify(Ux.bind(void 0,e,t,r))}),Bx=(e,t,r,n)=>{e.write(t,r)?n():e.once("drain",n);},Ux=async(e,t,r)=>{await Gt(r,t)&&(e.writable&&e.end(),await t);},ys=async(e,t,r)=>{try{await cs(e),t.writable&&t.end();}catch(n){await nd(r),cd(t,n);}},bs=async({subprocessStdin:e,subprocess:t,waitWritableFinal:r,waitWritableDestroy:n},o)=>{await Gt(r,t),await Gt(n,t)&&(cd(e,o),await Qn(t,o));},cd=(e,t)=>{eo(e,e.writable,t);};var ud=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,to:o,binary:i=!0,preserveNewlines:s=!0}={})=>{let a=i||Ee.has(r),{subprocessStdout:c,waitReadableDestroy:l}=ls(e,n,t),{subprocessStdin:u,waitWritableFinal:f,waitWritableDestroy:g}=ms(e,o,t),{readableEncoding:y,readableObjectMode:b,readableHighWaterMark:p}=fs(c,a),{read:v,onStdoutDataDone:D}=ps({subprocessStdout:c,subprocess:e,binary:a,encoding:r,preserveNewlines:s}),$=new stream.Duplex({read:v,...gs(u,e,f),destroy:util.callbackify(qx.bind(void 0,{subprocessStdout:c,subprocessStdin:u,subprocess:e,waitReadableDestroy:l,waitWritableFinal:f,waitWritableDestroy:g})),readableHighWaterMark:p,writableHighWaterMark:u.writableHighWaterMark,readableObjectMode:b,writableObjectMode:u.writableObjectMode,encoding:y});return ds({subprocessStdout:c,onStdoutDataDone:D,readable:$,subprocess:e,subprocessStdin:u}),ys(u,$,c),$},qx=async({subprocessStdout:e,subprocessStdin:t,subprocess:r,waitReadableDestroy:n,waitWritableFinal:o,waitWritableDestroy:i},s)=>{await Promise.all([hs({subprocessStdout:e,subprocess:r,waitReadableDestroy:n},s),bs({subprocessStdin:t,subprocess:r,waitWritableFinal:o,waitWritableDestroy:i},s)]);};var Ss=(e,t,{from:r,binary:n=!1,preserveNewlines:o=!1}={})=>{let i=n||Ee.has(t),s=$t(e,r),a=Jn({subprocessStdout:s,subprocess:e,binary:i,shouldEncode:!0,encoding:t,preserveNewlines:o});return zx(a,s,e)},zx=async function*(e,t,r){try{yield*e;}finally{t.readable&&t.destroy(),await r;}};var ld=(e,{encoding:t})=>{let r=td();e.readable=od.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.writable=ad.bind(void 0,{subprocess:e,concurrentStreams:r}),e.duplex=ud.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.iterable=Ss.bind(void 0,e,t),e[Symbol.asyncIterator]=Ss.bind(void 0,e,t,{});};var fd=(e,t)=>{for(let[r,n]of Vx){let o=n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o});}},Wx=(async()=>{})().constructor.prototype,Vx=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(Wx,e)]);var pd=(e,t,r,n)=>{let{file:o,commandArguments:i,command:s,escapedCommand:a,startTime:c,verboseInfo:l,options:u,fileDescriptors:f}=Xx(e,t,r),{subprocess:g,promise:y}=Jx({file:o,commandArguments:i,options:u,startTime:c,verboseInfo:l,command:s,escapedCommand:a,fileDescriptors:f});return g.pipe=Kn.bind(void 0,{source:g,sourcePromise:y,boundOptions:{},createNested:n}),fd(g,y),je.set(g,{options:u,fileDescriptors:f}),g},Xx=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=nn(e,t,r),{file:a,commandArguments:c,options:l}=Ln(e,t,r),u=Kx(l),f=vp(u,s);return {file:a,commandArguments:c,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:u,fileDescriptors:f}},Kx=({timeout:e,signal:t,...r})=>{if(t!==void 0)throw new TypeError('The "signal" option has been renamed to "cancelSignal" instead.');return {...r,timeoutDuration:e}},Jx=({file:e,commandArguments:t,options:r,startTime:n,verboseInfo:o,command:i,escapedCommand:s,fileDescriptors:a})=>{let c;try{c=child_process.spawn(...An(e,t,r));}catch(b){return Sp({error:b,command:i,escapedCommand:s,fileDescriptors:a,options:r,startTime:n,verboseInfo:o})}let l=new AbortController;events.setMaxListeners(Number.POSITIVE_INFINITY,l.signal);let u=[...c.stdio];Dp(c,a,l),$p(c,r,l);let f={},g=Me();c.kill=Hu.bind(void 0,{kill:c.kill.bind(c),options:r,onInternalError:g,context:f,controller:l}),c.all=Yp(c,r),ld(c,r),gp(c,r);let y=Zx({subprocess:c,options:r,startTime:n,verboseInfo:o,fileDescriptors:a,originalStreams:u,command:i,escapedCommand:s,context:f,onInternalError:g,controller:l});return {subprocess:c,promise:y}},Zx=async({subprocess:e,options:t,startTime:r,verboseInfo:n,fileDescriptors:o,originalStreams:i,command:s,escapedCommand:a,context:c,onInternalError:l,controller:u})=>{let[f,[g,y],b,p,v]=await ed({subprocess:e,options:t,context:c,verboseInfo:n,fileDescriptors:o,originalStreams:i,onInternalError:l,controller:u});u.abort(),l.resolve();let D=b.map((U,ne)=>Ye(U,t,ne)),$=Ye(p,t,"all"),k=Qx({errorInfo:f,exitCode:g,signal:y,stdio:D,all:$,ipcOutput:v,context:c,options:t,command:s,escapedCommand:a,startTime:r});return jt(k,n,t)},Qx=({errorInfo:e,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,context:s,options:a,command:c,escapedCommand:l,startTime:u})=>"error"in e?dr({error:e.error,command:c,escapedCommand:l,timedOut:s.terminationReason==="timeout",isCanceled:s.terminationReason==="cancel"||s.terminationReason==="gracefulCancel",isGracefullyCanceled:s.terminationReason==="gracefulCancel",isMaxBuffer:e.error instanceof Be,isForcefullyTerminated:s.isForcefullyTerminated,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,options:a,startTime:u,isSync:!1}):Fn({command:c,escapedCommand:l,stdio:n,all:o,ipcOutput:i,options:a,startTime:u});var to=(e,t)=>{let r=Object.fromEntries(Object.entries(t).map(([n,o])=>[n,ev(n,e[n],o)]));return {...e,...r}},ev=(e,t,r)=>tv.has(e)&&oe(t)&&oe(r)?{...t,...r}:r,tv=new Set(["env",...Xo]);var nt=(e,t,r,n)=>{let o=(s,a,c)=>nt(s,a,r,c),i=(...s)=>rv({mapArguments:e,deepOptions:r,boundOptions:t,setBoundExeca:n,createNested:o},...s);return n!==void 0&&n(i,o,t),i},rv=({mapArguments:e,deepOptions:t={},boundOptions:r={},setBoundExeca:n,createNested:o},i,...s)=>{if(oe(i))return o(e,to(r,i),n);let{file:a,commandArguments:c,options:l,isSync:u}=nv({mapArguments:e,firstArgument:i,nextArguments:s,deepOptions:t,boundOptions:r});return u?lp(a,c,l):pd(a,c,l,o)},nv=({mapArguments:e,firstArgument:t,nextArguments:r,deepOptions:n,boundOptions:o})=>{let i=Sc(t)?wc(t,r):[t,...r],[s,a,c]=Wr(...i),l=to(to(n,o),c),{file:u=s,commandArguments:f=a,options:g=l,isSync:y=!1}=e({file:s,commandArguments:a,options:l});return {file:u,commandArguments:f,options:g,isSync:y}};var dd=(e,t,r)=>{e.sync=t(ov,r),e.s=e.sync;},hd=({options:e})=>md(e),ov=({options:e})=>({...md(e),isSync:!0}),md=e=>({options:{...iv(e),...e}}),iv=({input:e,inputFile:t,stdio:r})=>e===void 0&&t===void 0&&r===void 0?{stdin:"inherit"}:{},gd={preferLocal:!0};var W8=nt(()=>({}));nt(()=>({isSync:!0}));nt(cc);nt(uc);nt(Pl);nt(hd,{},gd,dd);yp();function Ka({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var vI=Ka();function OI(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(vI,"")}var qr=chunkTKGT252T_js.e(Ng()),ko=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",KI=ko?"\u2716":"\xD7",JI=ko?"\u2714":"\u221A";var n_=qr.default.blue(ko?"\u2139":"i"),o_=qr.default.green(JI),i_=qr.default.yellow(ko?"\u26A0":"\u203C"),s_=qr.default.red(KI);
|
|
98
|
+
|
|
99
|
+
exports.A = Ng;
|
|
100
|
+
exports.B = XI;
|
|
101
|
+
exports.C = n_;
|
|
102
|
+
exports.D = o_;
|
|
103
|
+
exports.E = i_;
|
|
104
|
+
exports.F = s_;
|
|
105
|
+
exports.a = OI;
|
|
106
|
+
exports.b = Qc;
|
|
107
|
+
exports.c = su;
|
|
108
|
+
exports.d = cu;
|
|
109
|
+
exports.e = yu;
|
|
110
|
+
exports.f = Ru;
|
|
111
|
+
exports.g = fc;
|
|
112
|
+
exports.h = W8;
|
|
113
|
+
exports.i = qd;
|
|
114
|
+
exports.j = ch;
|
|
115
|
+
exports.k = am;
|
|
116
|
+
exports.l = da;
|
|
117
|
+
exports.m = F1;
|
|
118
|
+
exports.n = Ta;
|
|
119
|
+
exports.o = Da;
|
|
120
|
+
exports.p = l0;
|
|
121
|
+
exports.q = p0;
|
|
122
|
+
exports.r = g0;
|
|
123
|
+
exports.s = S0;
|
|
124
|
+
exports.t = Ma;
|
|
125
|
+
exports.u = v0;
|
|
126
|
+
exports.v = L0;
|
|
127
|
+
exports.w = U0;
|
|
128
|
+
exports.x = xI;
|
|
129
|
+
exports.y = hg;
|
|
130
|
+
exports.z = Sg;
|
|
131
|
+
//# sourceMappingURL=out.js.map
|
|
132
|
+
//# sourceMappingURL=chunk-JK52R5MH.js.map
|
|
133
|
+
//# debugId=d9525aa4-7c21-56e8-b7f2-883ef616133f
|