chromatic 13.1.2 → 13.3.3

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.
@@ -0,0 +1,136 @@
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]="15fd445f-76b0-557b-ae35-ea97b09a7b66")}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 Sn = require('process');
11
+ var Cb = require('tty');
12
+ var mt = require('path');
13
+ var promises$1 = require('timers/promises');
14
+ var os = 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 Sn__default = /*#__PURE__*/_interopDefault(Sn);
25
+ var Cb__default = /*#__PURE__*/_interopDefault(Cb);
26
+ var mt__default = /*#__PURE__*/_interopDefault(mt);
27
+
28
+ var gu=chunkTKGT252T_js.c((pP,mu)=>{mu.exports=hu;hu.sync=Ub;var pu=chunkTKGT252T_js.a("fs");function Gb(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 du(e,t,r){return !e.isSymbolicLink()&&!e.isFile()?!1:Gb(t,r)}function hu(e,t,r){pu.stat(e,function(n,o){r(n,n?!1:du(o,e,t));});}function Ub(e,t){return du(pu.statSync(e),e,t)}});var Su=chunkTKGT252T_js.c((dP,vu)=>{vu.exports=bu;bu.sync=kb;var yu=chunkTKGT252T_js.a("fs");function bu(e,t,r){yu.stat(e,function(n,o){r(n,n?!1:wu(o,t));});}function kb(e,t){return wu(yu.statSync(e),t)}function wu(e,t){return e.isFile()&&qb(e,t)}function qb(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),u=parseInt("001",8),l=a|c,f=r&u||r&c&&o===s||r&a&&n===i||r&l&&i===0;return f}});var xu=chunkTKGT252T_js.c((mP,Eu)=>{chunkTKGT252T_js.a("fs");var bn;process.platform==="win32"||global.TESTING_WINDOWS?bn=gu():bn=Su();Eu.exports=mi;mi.sync=zb;function mi(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){mi(e,t||{},function(i,s){i?o(i):n(s);});})}bn(e,t||{},function(n,o){n&&(n.code==="EACCES"||t&&t.ignoreErrors)&&(n=null,o=!1),r(n,o);});}function zb(e,t){try{return bn.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return !1;throw r}}});var Pu=chunkTKGT252T_js.c((gP,Iu)=>{var Ft=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Ou=chunkTKGT252T_js.a("path"),Wb=Ft?";":":",Cu=xu(),Lu=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Au=(e,t)=>{let r=t.colon||Wb,n=e.match(/\//)||Ft&&e.match(/\\/)?[""]:[...Ft?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=Ft?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=Ft?o.split(r):[""];return Ft&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},Ru=(e,t,r)=>{typeof t=="function"&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:o,pathExtExe:i}=Au(e,t),s=[],a=u=>new Promise((l,f)=>{if(u===n.length)return t.all&&s.length?l(s):f(Lu(e));let g=n[u],b=/^".*"$/.test(g)?g.slice(1,-1):g,y=Ou.join(b,e),p=!b&&/^\.[\\\/]/.test(e)?e.slice(0,2)+y:y;l(c(p,u,0));}),c=(u,l,f)=>new Promise((g,b)=>{if(f===o.length)return g(a(l+1));let y=o[f];Cu(u+y,{pathExt:i},(p,x)=>{if(!p&&x)if(t.all)s.push(u+y);else return g(u+y);return g(c(u,l,f+1))});});return r?a(0).then(u=>r(null,u),r):a(0)},Vb=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:o}=Au(e,t),i=[];for(let s=0;s<r.length;s++){let a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=Ou.join(c,e),l=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let f=0;f<n.length;f++){let g=l+n[f];try{if(Cu.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 Lu(e)};Iu.exports=Ru;Ru.sync=Vb;});var Du=chunkTKGT252T_js.c((yP,gi)=>{var Tu=(e={})=>{let t=e.env||process.env;return (e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"};gi.exports=Tu;gi.exports.default=Tu;});var Fu=chunkTKGT252T_js.c((bP,Mu)=>{var Nu=chunkTKGT252T_js.a("path"),Hb=Pu(),Yb=Du();function $u(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=Hb.sync(e.command,{path:r[Yb({env:r})],pathExt:t?Nu.delimiter:void 0});}catch{}finally{i&&process.chdir(n);}return s&&(s=Nu.resolve(o?e.options.cwd:"",s)),s}function Xb(e){return $u(e)||$u(e,!0)}Mu.exports=Xb;});var _u=chunkTKGT252T_js.c((wP,bi)=>{var yi=/([()\][%!^"`<>&|;, *?])/g;function Kb(e){return e=e.replace(yi,"^$1"),e}function Jb(e,t){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace(yi,"^$1"),t&&(e=e.replace(yi,"^$1")),e}bi.exports.command=Kb;bi.exports.argument=Jb;});var Bu=chunkTKGT252T_js.c((vP,ju)=>{ju.exports=/^#!(.*)/;});var Uu=chunkTKGT252T_js.c((SP,Gu)=>{var Zb=Bu();Gu.exports=(e="")=>{let t=e.match(Zb);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return o==="env"?n:n?`${o} ${n}`:o};});var qu=chunkTKGT252T_js.c((EP,ku)=>{var wi=chunkTKGT252T_js.a("fs"),Qb=Uu();function e2(e){let r=Buffer.alloc(150),n;try{n=wi.openSync(e,"r"),wi.readSync(n,r,0,150,0),wi.closeSync(n);}catch{}return Qb(r.toString())}ku.exports=e2;});var Hu=chunkTKGT252T_js.c((xP,Vu)=>{var t2=chunkTKGT252T_js.a("path"),zu=Fu(),Wu=_u(),r2=qu(),n2=process.platform==="win32",o2=/\.(?:com|exe)$/i,i2=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function s2(e){e.file=zu(e);let t=e.file&&r2(e.file);return t?(e.args.unshift(e.file),e.command=t,zu(e)):e.file}function a2(e){if(!n2)return e;let t=s2(e),r=!o2.test(t);if(e.options.forceShell||r){let n=i2.test(t);e.command=t2.normalize(e.command),e.command=Wu.command(e.command),e.args=e.args.map(i=>Wu.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 c2(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:a2(n)}Vu.exports=c2;});var Ku=chunkTKGT252T_js.c((OP,Xu)=>{var vi=process.platform==="win32";function Si(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 u2(e,t){if(!vi)return;let r=e.emit;e.emit=function(n,o){if(n==="exit"){let i=Yu(o,t);if(i)return r.call(e,"error",i)}return r.apply(e,arguments)};}function Yu(e,t){return vi&&e===1&&!t.file?Si(t.original,"spawn"):null}function l2(e,t){return vi&&e===1&&!t.file?Si(t.original,"spawnSync"):null}Xu.exports={hookChildProcess:u2,verifyENOENT:Yu,verifyENOENTSync:l2,notFoundError:Si};});var Qu=chunkTKGT252T_js.c((CP,_t)=>{var Ju=chunkTKGT252T_js.a("child_process"),Ei=Hu(),xi=Ku();function Zu(e,t,r){let n=Ei(e,t,r),o=Ju.spawn(n.command,n.args,n.options);return xi.hookChildProcess(o,n),o}function f2(e,t,r){let n=Ei(e,t,r),o=Ju.spawnSync(n.command,n.args,n.options);return o.error=o.error||xi.verifyENOENTSync(o.status,n),o}_t.exports=Zu;_t.exports.spawn=Zu;_t.exports.sync=f2;_t.exports._parse=Ei;_t.exports._enoent=xi;});var kd=chunkTKGT252T_js.c(($M,Ud)=>{var l5=Object.prototype.toString;Ud.exports=function(e){var t;return l5.call(e)==="[object Object]"&&(t=Object.getPrototypeOf(e),t===null||t===Object.getPrototypeOf({}))};});var zd=chunkTKGT252T_js.c((MM,qd)=>{qd.exports=function(e){return e==null?[]:Array.isArray(e)?e:[e]};});var Hd=chunkTKGT252T_js.c((FM,Vd)=>{var f5=Object.prototype.toString;Vd.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 g5(t)?"generatorfunction":"function";if(p5(t))return "array";if(w5(t))return "buffer";if(b5(t))return "arguments";if(h5(t))return "date";if(d5(t))return "error";if(m5(t))return "regexp";switch(Wd(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(y5(t))return "generator";switch(r=f5.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 Wd(e){return typeof e.constructor=="function"?e.constructor.name:null}function p5(e){return Array.isArray?Array.isArray(e):e instanceof Array}function d5(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function h5(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function m5(e){return e instanceof RegExp?!0:typeof e.flags=="string"&&typeof e.ignoreCase=="boolean"&&typeof e.multiline=="boolean"&&typeof e.global=="boolean"}function g5(e,t){return Wd(e)==="GeneratorFunction"}function y5(e){return typeof e.throw=="function"&&typeof e.return=="function"&&typeof e.next=="function"}function b5(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 w5(e){return e.constructor&&typeof e.constructor.isBuffer=="function"?e.constructor.isBuffer(e):!1}});var Qd=chunkTKGT252T_js.c((_M,js)=>{var v5=kd(),S5=zd(),Fs=Hd(),Yd=(e,t,r)=>{e[t]||(e[t]=[]),e[t].push(r);},Xd=(e,t,r,n)=>{e[t]||(e[t]={}),e[t][r]=n;},go=e=>Array.isArray(e)?`[${e.map(go).join(", ")}]`:Fs(e)==="string"?JSON.stringify(e):e,E5=e=>{if(Array.isArray(e)&&e.length>0){let[t]=e;return `${Fs(t)}-array`}return Fs(e)},x5=(e,t)=>{let r=e==="array"?"string-array":e;return _s.includes(r)&&Array.isArray(t)&&t.length===0?"array":r},O5=["stopEarly","unknown","--"],Jd=["string","boolean","number"],_s=Jd.map(e=>`${e}-array`),Kd=[...Jd,"array",..._s],Zd=e=>{e=e||{};let t={};return O5.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}),v5(n)){let o=n,{type:i}=o;if(i){if(!Kd.includes(i))throw new TypeError(`Expected type of "${r}" to be one of ${go(Kd)}, got ${go(i)}`);if(_s.includes(i)){let[s]=i.split("-");Yd(t,"array",{key:r,[s]:!0});}else Yd(t,i,r);}if({}.hasOwnProperty.call(o,"default")){let{default:s}=o,a=E5(s),c=x5(i,s);if(c&&c!==a)throw new TypeError(`Expected "${r}" default value to be of type "${c}", got ${go(a)}`);Xd(t,"default",r,s);}S5(o.alias).forEach(s=>{Xd(t,"alias",s,r);});}}),t};js.exports=Zd;js.exports.default=Zd;});var ah=chunkTKGT252T_js.c((jM,sh)=>{var C5=chunkTKGT252T_js.a("util"),L5=chunkTKGT252T_js.a("fs"),eh=chunkTKGT252T_js.a("path");function Tr(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 nh(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 oh(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 A5(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 _e;(function(e){e.BOOLEAN="boolean",e.STRING="string",e.NUMBER="number",e.ARRAY="array";})(_e||(_e={}));var Qe,Gs=class{constructor(t){Qe=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=A5(t),i=R5(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||[],u=n.envPrefix,l=s["populate--"],f=l?"--":"_",g=Object.create(null),b=Object.create(null),y=n.__||Qe.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:[]},x=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,N=new RegExp("^--"+s["negation-prefix"]+"(.+)");[].concat(n.array||[]).filter(Boolean).forEach(function(d){let h=typeof d=="object"?d.key:d,E=Object.keys(d).map(function(v){return {boolean:"bools",string:"strings",number:"numbers"}[v]}).filter(Boolean).pop();E&&(p[E][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);})),Le(n.key,i,n.default,p.arrays),Object.keys(a).forEach(function(d){(p.aliases[d]||[]).forEach(function(h){a[h]=a[d];});});let j=null;By();let q=[],G=Object.assign(Object.create(null),{_:[]}),oe={};for(let d=0;d<o.length;d++){let h=o[d],E=h.replace(/^-{3,}/,"---"),v,m,L,A,$,ue;if(h!=="--"&&xe(h))J(h);else if(E.match(/---+(=|$)/)){J(h);continue}else if(h.match(/^--.+=/)||!s["short-option-groups"]&&h.match(/^-.+=/))A=h.match(/^--?([^=]+)=([\s\S]*)$/),A!==null&&Array.isArray(A)&&A.length>=3&&(I(A[1],p.arrays)?d=H(d,A[1],o,A[2]):I(A[1],p.nargs)!==!1?d=_(d,A[1],o,A[2]):D(A[1],A[2]));else if(h.match(N)&&s["boolean-negation"])A=h.match(N),A!==null&&Array.isArray(A)&&A.length>=2&&(m=A[1],D(m,I(m,p.arrays)?[!1]:!1));else if(h.match(/^--.+/)||!s["short-option-groups"]&&h.match(/^-[^-]+/))A=h.match(/^--?(.+)/),A!==null&&Array.isArray(A)&&A.length>=2&&(m=A[1],I(m,p.arrays)?d=H(d,m,o):I(m,p.nargs)!==!1?d=_(d,m,o):($=o[d+1],$!==void 0&&(!$.match(/^-/)||$.match(x))&&!I(m,p.bools)&&!I(m,p.counts)||/^(true|false)$/.test($)?(D(m,$),d++):D(m,De(m))));else if(h.match(/^-.\..+=/))A=h.match(/^-([^=]+)=([\s\S]*)$/),A!==null&&Array.isArray(A)&&A.length>=3&&D(A[1],A[2]);else if(h.match(/^-.\..+/)&&!h.match(x))$=o[d+1],A=h.match(/^-(.\..+)/),A!==null&&Array.isArray(A)&&A.length>=2&&(m=A[1],$!==void 0&&!$.match(/^-/)&&!I(m,p.bools)&&!I(m,p.counts)?(D(m,$),d++):D(m,De(m)));else if(h.match(/^-[^-]+/)&&!h.match(x)){L=h.slice(1,-1).split(""),v=!1;for(let ve=0;ve<L.length;ve++){if($=h.slice(ve+2),L[ve+1]&&L[ve+1]==="="){ue=h.slice(ve+3),m=L[ve],I(m,p.arrays)?d=H(d,m,o,ue):I(m,p.nargs)!==!1?d=_(d,m,o,ue):D(m,ue),v=!0;break}if($==="-"){D(L[ve],$);continue}if(/[A-Za-z]/.test(L[ve])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test($)&&I($,p.bools)===!1){D(L[ve],$),v=!0;break}if(L[ve+1]&&L[ve+1].match(/\W/)){D(L[ve],$),v=!0;break}else D(L[ve],De(L[ve]));}m=h.slice(-1)[0],!v&&m!=="-"&&(I(m,p.arrays)?d=H(d,m,o):I(m,p.nargs)!==!1?d=_(d,m,o):($=o[d+1],$!==void 0&&(!/^(-|--)[^-]/.test($)||$.match(x))&&!I(m,p.bools)&&!I(m,p.counts)||/^(true|false)$/.test($)?(D(m,$),d++):D(m,De(m))));}else if(h.match(/^-[0-9]$/)&&h.match(x)&&I(h.slice(1),p.bools))m=h.slice(1),D(m,De(m));else if(h==="--"){q=o.slice(d+1);break}else if(s["halt-at-non-option"]){q=o.slice(d);break}else J(h);}be(G,!0),be(G,!1),te(G),Q(),de(G,p.aliases,a,!0),re(G),s["set-placeholder-key"]&&ee(G),Object.keys(p.counts).forEach(function(d){we(G,d.split("."))||D(d,0);}),l&&q.length&&(G[f]=[]),q.forEach(function(d){G[f].push(d);}),s["camel-case-expansion"]&&s["strip-dashed"]&&Object.keys(G).filter(d=>d!=="--"&&d.includes("-")).forEach(d=>{delete G[d];}),s["strip-aliased"]&&[].concat(...Object.keys(i).map(d=>i[d])).forEach(d=>{s["camel-case-expansion"]&&d.includes("-")&&delete G[d.split(".").map(h=>Tr(h)).join(".")],delete G[d];});function J(d){let h=U("_",d);(typeof h=="string"||typeof h=="number")&&G._.push(h);}function _(d,h,E,v){let m,L=I(h,p.nargs);if(L=typeof L!="number"||isNaN(L)?1:L,L===0)return Ye(v)||(j=Error(y("Argument unexpected for: %s",h))),D(h,De(h)),d;let A=Ye(v)?0:1;if(s["nargs-eats-options"])E.length-(d+1)+A<L&&(j=Error(y("Not enough arguments following: %s",h))),A=L;else {for(m=d+1;m<E.length&&(!E[m].match(/^-[^0-9]/)||E[m].match(x)||xe(E[m]));m++)A++;A<L&&(j=Error(y("Not enough arguments following: %s",h)));}let $=Math.min(A,L);for(!Ye(v)&&$>0&&(D(h,v),$--),m=d+1;m<$+d+1;m++)D(h,E[m]);return d+$}function H(d,h,E,v){let m=[],L=v||E[d+1],A=I(h,p.nargs);if(I(h,p.bools)&&!/^(true|false)$/.test(L))m.push(!0);else if(Ye(L)||Ye(v)&&/^-/.test(L)&&!x.test(L)&&!xe(L)){if(a[h]!==void 0){let $=a[h];m=Array.isArray($)?$:[$];}}else {Ye(v)||m.push(R(h,v));for(let $=d+1;$<E.length&&!(!s["greedy-arrays"]&&m.length>0||A&&typeof A=="number"&&m.length>=A||(L=E[$],/^-/.test(L)&&!x.test(L)&&!xe(L)));$++)d=$,m.push(R(h,L));}return typeof A=="number"&&(A&&m.length<A||isNaN(A)&&m.length===0)&&(j=Error(y("Not enough arguments following: %s",h))),D(h,m),d}function D(d,h){if(/-/.test(d)&&s["camel-case-expansion"]){let m=d.split(".").map(function(L){return Tr(L)}).join(".");pe(d,m);}let E=R(d,h),v=d.split(".");Oe(G,v,E),p.aliases[d]&&p.aliases[d].forEach(function(m){let L=m.split(".");Oe(G,L,E);}),v.length>1&&s["dot-notation"]&&(p.aliases[v[0]]||[]).forEach(function(m){let L=m.split("."),A=[].concat(v);A.shift(),L=L.concat(A),(p.aliases[d]||[]).includes(L.join("."))||Oe(G,L,E);}),I(d,p.normalize)&&!I(d,p.arrays)&&[d].concat(p.aliases[d]||[]).forEach(function(L){Object.defineProperty(oe,L,{enumerable:!0,get(){return h},set(A){h=typeof A=="string"?Qe.normalize(A):A;}});});}function pe(d,h){p.aliases[d]&&p.aliases[d].length||(p.aliases[d]=[h],g[h]=!0),p.aliases[h]&&p.aliases[h].length||pe(h,d);}function R(d,h){typeof h=="string"&&(h[0]==="'"||h[0]==='"')&&h[h.length-1]===h[0]&&(h=h.substring(1,h.length-1)),(I(d,p.bools)||I(d,p.counts))&&typeof h=="string"&&(h=h==="true");let E=Array.isArray(h)?h.map(function(v){return U(d,v)}):U(d,h);return I(d,p.counts)&&(Ye(E)||typeof E=="boolean")&&(E=Bs()),I(d,p.normalize)&&I(d,p.arrays)&&(Array.isArray(h)?E=h.map(v=>Qe.normalize(v)):E=Qe.normalize(h)),E}function U(d,h){return !s["parse-positional-numbers"]&&d==="_"||!I(d,p.strings)&&!I(d,p.bools)&&!Array.isArray(h)&&(oh(h)&&s["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${h}`)))||!Ye(h)&&I(d,p.numbers))&&(h=Number(h)),h}function te(d){let h=Object.create(null);de(h,p.aliases,a),Object.keys(p.configs).forEach(function(E){let v=d[E]||h[E];if(v)try{let m=null,L=Qe.resolve(Qe.cwd(),v),A=p.configs[E];if(typeof A=="function"){try{m=A(L);}catch($){m=$;}if(m instanceof Error){j=m;return}}else m=Qe.require(L);z(m);}catch(m){m.name==="PermissionDenied"?j=m:d[E]&&(j=Error(y("Invalid JSON config file: %s",v)));}});}function z(d,h){Object.keys(d).forEach(function(E){let v=d[E],m=h?h+"."+E:E;typeof v=="object"&&v!==null&&!Array.isArray(v)&&s["dot-notation"]?z(v,m):(!we(G,m.split("."))||I(m,p.arrays)&&s["combine-arrays"])&&D(m,v);});}function Q(){typeof c<"u"&&c.forEach(function(d){z(d);});}function be(d,h){if(typeof u>"u")return;let E=typeof u=="string"?u:"",v=Qe.env();Object.keys(v).forEach(function(m){if(E===""||m.lastIndexOf(E,0)===0){let L=m.split("__").map(function(A,$){return $===0&&(A=A.substring(E.length)),Tr(A)});(h&&p.configs[L.join(".")]||!h)&&!we(d,L)&&D(L.join("."),v[m]);}});}function re(d){let h,E=new Set;Object.keys(d).forEach(function(v){if(!E.has(v)&&(h=I(v,p.coercions),typeof h=="function"))try{let m=U(v,h(d[v]));[].concat(p.aliases[v]||[],v).forEach(L=>{E.add(L),d[L]=m;});}catch(m){j=m;}});}function ee(d){return p.keys.forEach(h=>{~h.indexOf(".")||typeof d[h]>"u"&&(d[h]=void 0);}),d}function de(d,h,E,v=!1){Object.keys(E).forEach(function(m){we(d,m.split("."))||(Oe(d,m.split("."),E[m]),v&&(b[m]=!0),(h[m]||[]).forEach(function(L){we(d,L.split("."))||Oe(d,L.split("."),E[m]);}));});}function we(d,h){let E=d;s["dot-notation"]||(h=[h.join(".")]),h.slice(0,-1).forEach(function(m){E=E[m]||{};});let v=h[h.length-1];return typeof E!="object"?!1:v in E}function Oe(d,h,E){let v=d;s["dot-notation"]||(h=[h.join(".")]),h.slice(0,-1).forEach(function(ue){ue=th(ue),typeof v=="object"&&v[ue]===void 0&&(v[ue]={}),typeof v[ue]!="object"||Array.isArray(v[ue])?(Array.isArray(v[ue])?v[ue].push({}):v[ue]=[v[ue],{}],v=v[ue][v[ue].length-1]):v=v[ue];});let m=th(h[h.length-1]),L=I(h.join("."),p.arrays),A=Array.isArray(E),$=s["duplicate-arguments-array"];!$&&I(m,p.nargs)&&($=!0,(!Ye(v[m])&&p.nargs[m]===1||Array.isArray(v[m])&&v[m].length===p.nargs[m])&&(v[m]=void 0)),E===Bs()?v[m]=Bs(v[m]):Array.isArray(v[m])?$&&L&&A?v[m]=s["flatten-duplicate-arrays"]?v[m].concat(E):(Array.isArray(v[m][0])?v[m]:[v[m]]).concat([E]):!$&&!!L==!!A?v[m]=E:v[m]=v[m].concat([E]):v[m]===void 0&&L?v[m]=A?E:[E]:$&&!(v[m]===void 0||I(m,p.counts)||I(m,p.bools))?v[m]=[v[m],E]:v[m]=E;}function Le(...d){d.forEach(function(h){Object.keys(h||{}).forEach(function(E){p.aliases[E]||(p.aliases[E]=[].concat(i[E]||[]),p.aliases[E].concat(E).forEach(function(v){if(/-/.test(v)&&s["camel-case-expansion"]){let m=Tr(v);m!==E&&p.aliases[E].indexOf(m)===-1&&(p.aliases[E].push(m),g[m]=!0);}}),p.aliases[E].concat(E).forEach(function(v){if(v.length>1&&/[A-Z]/.test(v)&&s["camel-case-expansion"]){let m=nh(v,"-");m!==E&&p.aliases[E].indexOf(m)===-1&&(p.aliases[E].push(m),g[m]=!0);}}),p.aliases[E].forEach(function(v){p.aliases[v]=[E].concat(p.aliases[E].filter(function(m){return v!==m}));}));});});}function I(d,h){let E=[].concat(p.aliases[d]||[],d),v=Object.keys(h),m=E.find(L=>v.includes(L));return m?h[m]:!1}function dt(d){let h=Object.keys(p);return [].concat(h.map(v=>p[v])).some(function(v){return Array.isArray(v)?v.includes(d):v[d]})}function Ge(d,...h){return [].concat(...h).some(function(v){let m=d.match(v);return m&&dt(m[1])})}function ot(d){if(d.match(x)||!d.match(/^-[^-]+/))return !1;let h=!0,E,v=d.slice(1).split("");for(let m=0;m<v.length;m++){if(E=d.slice(m+2),!dt(v[m])){h=!1;break}if(v[m+1]&&v[m+1]==="="||E==="-"||/[A-Za-z]/.test(v[m])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(E)||v[m+1]&&v[m+1].match(/\W/))break}return h}function xe(d){return s["unknown-options-as-args"]&&Dt(d)}function Dt(d){return d=d.replace(/^-{3,}/,"--"),d.match(x)||ot(d)?!1:!Ge(d,/^-+([^=]+?)=[\s\S]*$/,N,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function De(d){return !I(d,p.bools)&&!I(d,p.counts)&&`${d}`in a?a[d]:ht(nn(d))}function ht(d){return {[_e.BOOLEAN]:!0,[_e.STRING]:"",[_e.NUMBER]:void 0,[_e.ARRAY]:[]}[d]}function nn(d){let h=_e.BOOLEAN;return I(d,p.strings)?h=_e.STRING:I(d,p.numbers)?h=_e.NUMBER:I(d,p.bools)?h=_e.BOOLEAN:I(d,p.arrays)&&(h=_e.ARRAY),h}function Ye(d){return d===void 0}function By(){Object.keys(p.counts).find(d=>I(d,p.arrays)?(j=Error(y("Invalid configuration: %s, opts.count excludes opts.array.",d)),!0):I(d,p.nargs)?(j=Error(y("Invalid configuration: %s, opts.count excludes opts.narg.",d)),!0):!1);}return {aliases:Object.assign({},p.aliases),argv:Object.assign(oe,G),configuration:s,defaulted:Object.assign({},b),error:j,newAliases:Object.assign({},g)}}};function R5(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 Bs(e){return e!==void 0?e+1:1}function th(e){return e==="__proto__"?"___proto___":e}var rh=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])<rh)throw Error(`yargs parser supports a minimum Node.js version of ${rh}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var I5=process?process.env:{},ih=new Gs({cwd:process.cwd,env:()=>I5,format:C5.format,normalize:eh.normalize,resolve:eh.resolve,require:e=>{if(typeof chunkTKGT252T_js.a<"u")return chunkTKGT252T_js.a(e);if(e.match(/\.json$/))return L5.readFileSync(e,"utf8");throw Error("only .json config files are supported in ESM")}}),Dr=function(t,r){return ih.parse(t.slice(),r).argv};Dr.detailed=function(e,t){return ih.parse(e.slice(),t)};Dr.camelCase=Tr;Dr.decamelize=nh;Dr.looksLikeNumber=oh;sh.exports=Dr;});var fh=chunkTKGT252T_js.c((GM,ks)=>{var uh=e=>typeof e=="object"&&e!==null,lh=Symbol("skip"),ch=e=>uh(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),Us=(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=>ch(a)?Us(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===lh)continue;let[u,l,{shouldRecurse:f=!0}={}]=c;u!=="__proto__"&&(r.deep&&f&&ch(l)&&(l=Array.isArray(l)?i(l):Us(l,t,r,n)),o[u]=l);}return o};ks.exports=(e,t,r)=>{if(!uh(e))throw new TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return Us(e,t,r)};ks.exports.mapObjectSkip=lh;});var dh=chunkTKGT252T_js.c((UM,qs)=>{var P5=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},ph=(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=P5(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(o,i)=>i.toUpperCase()).replace(/\d+(\w|$)/g,o=>o.toUpperCase()),r(e))};qs.exports=ph;qs.exports.default=ph;});var mh=chunkTKGT252T_js.c((kM,hh)=>{var zs=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}};hh.exports=zs;});var vh=chunkTKGT252T_js.c((qM,wh)=>{var gh=fh(),T5=dh(),D5=mh(),N5=(e,t)=>e.some(r=>typeof r=="string"?r===t:(r.lastIndex=0,r.test(t))),Ws=new D5({maxSize:1e5}),yh=e=>typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),bh=(e,t)=>{if(!yh(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=>(u,l)=>{if(i&&yh(l)){let f=c===void 0?u:`${c}.${u}`;s.has(f)||(l=gh(l,a(f)));}if(!(r&&N5(r,u))){let f=n?`${u}_`:u;if(Ws.has(f))u=Ws.get(f);else {let g=T5(u,{pascalCase:n});u.length<100&&Ws.set(f,g),u=g;}}return [u,l]};return gh(e,a(void 0))};wh.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map(r=>bh(e[r],t)):bh(e,t);});var Vs=chunkTKGT252T_js.c((zM,Sh)=>{Sh.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 xh=chunkTKGT252T_js.c((WM,Eh)=>{Eh.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 Ch=chunkTKGT252T_js.c((VM,Oh)=>{var $5=xh(),M5=Vs();Oh.exports=function(e,t,r){typeof t!="string"&&(r=t,t=null),r=r||{},t=t||r.separator;var n=r.exclude||[];return $5(e,function(o,i){return o=n.indexOf(o)===-1?M5(o,t):o,[o,i]})};});var Lh=chunkTKGT252T_js.c((HM,yo)=>{yo.exports=e=>e.replace(/^[\r\n]+/,"").replace(/[\r\n]+$/,"");yo.exports.start=e=>e.replace(/^[\r\n]+/,"");yo.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 Rh=chunkTKGT252T_js.c((YM,Ah)=>{Ah.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0};});var Ph=chunkTKGT252T_js.c((XM,Ih)=>{var F5=Rh();Ih.exports=e=>{let t=F5(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")};});var Dh=chunkTKGT252T_js.c((KM,Th)=>{Th.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 $h=chunkTKGT252T_js.c((JM,Nh)=>{var _5=Ph(),j5=Dh();Nh.exports=(e,t=0,r)=>j5(_5(e),t,r);});var Fh=chunkTKGT252T_js.c((ZM,Hs)=>{var Mh=(e,...t)=>new Promise(r=>{r(e(...t));});Hs.exports=Mh;Hs.exports.default=Mh;});var jh=chunkTKGT252T_js.c((QM,Ys)=>{var B5=Fh(),_h=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,...u)=>{r++;let l=B5(a,...u);c(l),l.then(n,n);},i=(a,c,...u)=>{r<e?o(a,c,...u):t.push(o.bind(null,a,c,...u));},s=(a,...c)=>new Promise(u=>i(a,u,...c));return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0;}}}),s};Ys.exports=_h;Ys.exports.default=_h;});var Uh=chunkTKGT252T_js.c((eF,Xs)=>{var Bh=jh(),bo=class extends Error{constructor(t){super(),this.value=t;}},G5=async(e,t)=>t(await e),U5=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new bo(t[0]);return !1},Gh=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=Bh(r.concurrency),o=[...e].map(s=>[s,n(G5,s,t)]),i=Bh(r.preserveOrder?1:1/0);try{await Promise.all(o.map(s=>i(U5,s)));}catch(s){if(s instanceof bo)return s.value;throw s}};Xs.exports=Gh;Xs.exports.default=Gh;});var Hh=chunkTKGT252T_js.c((tF,Ks)=>{var kh=chunkTKGT252T_js.a("path"),wo=chunkTKGT252T_js.a("fs"),{promisify:qh}=chunkTKGT252T_js.a("util"),k5=Uh(),q5=qh(wo.stat),z5=qh(wo.lstat),zh={directory:"isDirectory",file:"isFile"};function Wh({type:e}){if(!(e in zh))throw new Error(`Invalid type specified: ${e}`)}var Vh=(e,t)=>e===void 0||t[zh[e]]();Ks.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},Wh(t);let r=t.allowSymlinks?q5:z5;return k5(e,async n=>{try{let o=await r(kh.resolve(t.cwd,n));return Vh(t.type,o)}catch{return !1}},t)};Ks.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},Wh(t);let r=t.allowSymlinks?wo.statSync:wo.lstatSync;for(let n of e)try{let o=r(kh.resolve(t.cwd,n));if(Vh(t.type,o))return n}catch{}};});var Xh=chunkTKGT252T_js.c((rF,Js)=>{var Yh=chunkTKGT252T_js.a("fs"),{promisify:W5}=chunkTKGT252T_js.a("util"),V5=W5(Yh.access);Js.exports=async e=>{try{return await V5(e),!0}catch{return !1}};Js.exports.sync=e=>{try{return Yh.accessSync(e),!0}catch{return !1}};});var Jh=chunkTKGT252T_js.c((nF,Yt)=>{var ut=chunkTKGT252T_js.a("path"),vo=Hh(),Kh=Xh(),Zs=Symbol("findUp.stop");Yt.exports=async(e,t={})=>{let r=ut.resolve(t.cwd||""),{root:n}=ut.parse(r),o=[].concat(e),i=async s=>{if(typeof e!="function")return vo(o,s);let a=await e(s.cwd);return typeof a=="string"?vo([a],s):a};for(;;){let s=await i({...t,cwd:r});if(s===Zs)return;if(s)return ut.resolve(r,s);if(r===n)return;r=ut.dirname(r);}};Yt.exports.sync=(e,t={})=>{let r=ut.resolve(t.cwd||""),{root:n}=ut.parse(r),o=[].concat(e),i=s=>{if(typeof e!="function")return vo.sync(o,s);let a=e(s.cwd);return typeof a=="string"?vo.sync([a],s):a};for(;;){let s=i({...t,cwd:r});if(s===Zs)return;if(s)return ut.resolve(r,s);if(r===n)return;r=ut.dirname(r);}};Yt.exports.exists=Kh;Yt.exports.sync.exists=Kh.sync;Yt.exports.stop=Zs;});var Qh=chunkTKGT252T_js.c((oF,Zh)=>{Zh.exports=function(t){return t?t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function:!1};});var tm=chunkTKGT252T_js.c((iF,em)=>{var H5=chunkTKGT252T_js.a("util"),Y5=Qh(),Qs=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 l=i.split(/\r?\n/g);for(var f in r)if(r.hasOwnProperty(f)){var g=r[f];"message"in g&&(l=g.message(this[f],l)||l,Y5(l)||(l=[l]));}return l.join(`
30
+ `)},set:function(l){i=l;}});var s=null,a=Object.getOwnPropertyDescriptor(this,"stack"),c=a.get,u=a.value;delete a.value,delete a.writable,a.set=function(l){s=l;},a.get=function(){var l=(s||(c?c.call(this):u)).split(/\r?\n+/g);s||(l[0]=this.name+": "+this.message);var f=1;for(var g in r)if(r.hasOwnProperty(g)){var b=r[g];if("line"in b){var y=b.line(this[g]);y&&l.splice(f++,0," "+y);}"stack"in b&&b.stack(this[g],l);}return l.join(`
31
+ `)},Object.defineProperty(this,"stack",a);};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):H5.inherits(n,Error),n};Qs.append=function(e,t){return {message:function(r,n){return r=r||t,r&&(n[0]+=" "+e.replace("%s",r.toString())),n}}};Qs.line=function(e,t){return {line:function(r){return r=r||t,r?e.replace("%s",r.toString()):null}}};em.exports=Qs;});var om=chunkTKGT252T_js.c((sF,nm)=>{var X5=e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return "0x"+(t.length%2?"0":"")+t},K5=(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])} (${X5(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}},So=class extends SyntaxError{constructor(t,r,n,o){n=n||20;let i=K5(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}},J5=Symbol.for("indent"),Z5=Symbol.for("newline"),Q5=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,eO=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,Eo=(e,t,r)=>{let n=rm(e);r=r||20;try{let[,o=`
32
+ `,i=" "]=n.match(eO)||n.match(Q5)||[,"",""],s=JSON.parse(n,t);return s&&typeof s=="object"&&(s[Z5]=o,s[J5]=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 So(o,n,r,Eo)}},rm=e=>String(e).replace(/^\uFEFF/,"");nm.exports=Eo;Eo.JSONParseError=So;Eo.noExceptions=(e,t)=>{try{return JSON.parse(rm(e),t)}catch{}};});var am=chunkTKGT252T_js.c(Nr=>{Nr.__esModule=!0;Nr.LinesAndColumns=void 0;var xo=`
33
+ `,im="\r",sm=function(){function e(t){this.string=t;for(var r=[0],n=0;n<t.length;)switch(t[n]){case xo:n+=xo.length,r.push(n);break;case im:n+=im.length,t[n]===xo&&(n+=xo.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}();Nr.LinesAndColumns=sm;Nr.default=sm;});var cm=chunkTKGT252T_js.c(Oo=>{Object.defineProperty(Oo,"__esModule",{value:!0});Oo.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;Oo.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 dm=chunkTKGT252T_js.c($r=>{Object.defineProperty($r,"__esModule",{value:!0});$r.isIdentifierChar=pm;$r.isIdentifierName=oO;$r.isIdentifierStart=fm;var ta="\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-\u088E\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\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",um="\u200C\u200D\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\u0898-\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-\u1ACE\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",tO=new RegExp("["+ta+"]"),rO=new RegExp("["+ta+um+"]");ta=um=null;var lm=[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,68,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,71,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,349,41,7,1,79,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,159,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,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,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,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],nO=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239];function ea(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 fm(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&tO.test(String.fromCharCode(e)):ea(e,lm)}function pm(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&&rO.test(String.fromCharCode(e)):ea(e,lm)||ea(e,nO)}function oO(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,!fm(n))return !1}else if(!pm(n))return !1}return !t}});var ym=chunkTKGT252T_js.c(Et=>{Object.defineProperty(Et,"__esModule",{value:!0});Et.isKeyword=uO;Et.isReservedWord=hm;Et.isStrictBindOnlyReservedWord=gm;Et.isStrictBindReservedWord=cO;Et.isStrictReservedWord=mm;var ra={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"]},iO=new Set(ra.keyword),sO=new Set(ra.strict),aO=new Set(ra.strictBind);function hm(e,t){return t&&e==="await"||e==="enum"}function mm(e,t){return hm(e,t)||sO.has(e)}function gm(e){return aO.has(e)}function cO(e,t){return mm(e,t)||gm(e)}function uO(e){return iO.has(e)}});var bm=chunkTKGT252T_js.c(Ve=>{Object.defineProperty(Ve,"__esModule",{value:!0});Object.defineProperty(Ve,"isIdentifierChar",{enumerable:!0,get:function(){return na.isIdentifierChar}});Object.defineProperty(Ve,"isIdentifierName",{enumerable:!0,get:function(){return na.isIdentifierName}});Object.defineProperty(Ve,"isIdentifierStart",{enumerable:!0,get:function(){return na.isIdentifierStart}});Object.defineProperty(Ve,"isKeyword",{enumerable:!0,get:function(){return Mr.isKeyword}});Object.defineProperty(Ve,"isReservedWord",{enumerable:!0,get:function(){return Mr.isReservedWord}});Object.defineProperty(Ve,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Mr.isStrictBindOnlyReservedWord}});Object.defineProperty(Ve,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Mr.isStrictBindReservedWord}});Object.defineProperty(Ve,"isStrictReservedWord",{enumerable:!0,get:function(){return Mr.isStrictReservedWord}});var na=dm(),Mr=ym();});var ia=chunkTKGT252T_js.c((pF,oa)=>{var wm=process.argv||[],Co=process.env,lO=!("NO_COLOR"in Co||wm.includes("--no-color"))&&("FORCE_COLOR"in Co||wm.includes("--color")||process.platform==="win32"||chunkTKGT252T_js.a!=null&&chunkTKGT252T_js.a("tty").isatty(1)&&Co.TERM!=="dumb"||"CI"in Co),fO=(e,t,r=e)=>n=>{let o=""+n,i=o.indexOf(t,e.length);return ~i?e+pO(o,t,r,i)+t:e+o+t},pO=(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)},vm=(e=lO)=>{let t=e?fO:()=>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")}};oa.exports=vm();oa.exports.createColors=vm;});var Em=chunkTKGT252T_js.c((hF,Sm)=>{var dO=/[|\\{}()[\]^$+*?.]/g;Sm.exports=function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(dO,"\\$&")};});var Om=chunkTKGT252T_js.c((mF,xm)=>{xm.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 sa=chunkTKGT252T_js.c((gF,Rm)=>{var xt=Om(),Am={};for(Lo in xt)xt.hasOwnProperty(Lo)&&(Am[xt[Lo]]=Lo);var Lo,P=Rm.exports={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"]}};for(Se in P)if(P.hasOwnProperty(Se)){if(!("channels"in P[Se]))throw new Error("missing channels property: "+Se);if(!("labels"in P[Se]))throw new Error("missing channel labels property: "+Se);if(P[Se].labels.length!==P[Se].channels)throw new Error("channel and label counts mismatch: "+Se);Cm=P[Se].channels,Lm=P[Se].labels,delete P[Se].channels,delete P[Se].labels,Object.defineProperty(P[Se],"channels",{value:Cm}),Object.defineProperty(P[Se],"labels",{value:Lm});}var Cm,Lm,Se;P.rgb.hsl=function(e){var 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,u;return 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),u=(o+i)/2,i===o?c=0:u<=.5?c=s/(i+o):c=s/(2-i-o),[a,c*100,u*100]};P.rgb.hsv=function(e){var t,r,n,o,i,s=e[0]/255,a=e[1]/255,c=e[2]/255,u=Math.max(s,a,c),l=u-Math.min(s,a,c),f=function(g){return (u-g)/6/l+1/2};return l===0?o=i=0:(i=l/u,t=f(s),r=f(a),n=f(c),s===u?o=n-r:a===u?o=1/3+t-n:c===u&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,u*100]};P.rgb.hwb=function(e){var 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){var t=e[0]/255,r=e[1]/255,n=e[2]/255,o,i,s,a;return a=Math.min(1-t,1-r,1-n),o=(1-t-a)/(1-a)||0,i=(1-r-a)/(1-a)||0,s=(1-n-a)/(1-a)||0,[o*100,i*100,s*100,a*100]};function hO(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}P.rgb.keyword=function(e){var t=Am[e];if(t)return t;var r=1/0,n;for(var o in xt)if(xt.hasOwnProperty(o)){var i=xt[o],s=hO(e,i);s<r&&(r=s,n=o);}return n};P.keyword.rgb=function(e){return xt[e]};P.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var 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){var t=P.rgb.xyz(e),r=t[0],n=t[1],o=t[2],i,s,a;return r/=95.047,n/=100,o/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=116*n-16,s=500*(r-n),a=200*(n-o),[i,s,a]};P.hsl.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,o,i,s,a,c;if(r===0)return c=n*255,[c,c,c];n<.5?i=n*(1+r):i=n+r-n*r,o=2*n-i,a=[0,0,0];for(var u=0;u<3;u++)s=t+1/3*-(u-1),s<0&&s++,s>1&&s--,6*s<1?c=o+(i-o)*6*s:2*s<1?c=i:3*s<2?c=o+(i-o)*(2/3-s)*6:c=o,a[u]=c*255;return a};P.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,o=r,i=Math.max(n,.01),s,a;return n*=2,r*=n<=1?n:2-n,o*=i<=1?i:2-i,a=(n+r)/2,s=n===0?2*o/(i+o):2*r/(n+r),[t,s*100,a*100]};P.hsv.rgb=function(e){var 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){var t=e[0],r=e[1]/100,n=e[2]/100,o=Math.max(n,.01),i,s,a;return a=(2-r)*n,i=(2-r)*o,s=r*o,s/=i<=1?i:2-i,s=s||0,a/=2,[t,s*100,a*100]};P.hwb.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100,o=r+n,i,s,a,c;o>1&&(r/=o,n/=o),i=Math.floor(6*t),s=1-n,a=6*t-i,i&1&&(a=1-a),c=r+a*(s-r);var u,l,f;switch(i){default:case 6:case 0:u=s,l=c,f=r;break;case 1:u=c,l=s,f=r;break;case 2:u=r,l=s,f=c;break;case 3:u=r,l=c,f=s;break;case 4:u=c,l=r,f=s;break;case 5:u=s,l=r,f=c;break}return [u*255,l*255,f*255]};P.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100,i,s,a;return 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),[i*255,s*255,a*255]};P.xyz.rgb=function(e){var 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*Math.pow(o,1/2.4)-.055:o*12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(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){var t=e[0],r=e[1],n=e[2],o,i,s;return t/=95.047,r/=100,n/=108.883,t=t>.008856?Math.pow(t,1/3):7.787*t+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,o=116*r-16,i=500*(t-r),s=200*(r-n),[o,i,s]};P.lab.xyz=function(e){var t=e[0],r=e[1],n=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-n/200;var a=Math.pow(i,3),c=Math.pow(o,3),u=Math.pow(s,3);return i=a>.008856?a:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]};P.lab.lch=function(e){var t=e[0],r=e[1],n=e[2],o,i,s;return o=Math.atan2(n,r),i=o*360/2/Math.PI,i<0&&(i+=360),s=Math.sqrt(r*r+n*n),[t,s,i]};P.lch.lab=function(e){var t=e[0],r=e[1],n=e[2],o,i,s;return s=n/360*2*Math.PI,o=r*Math.cos(s),i=r*Math.sin(s),[t,o,i]};P.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],o=1 in arguments?arguments[1]:P.rgb.hsv(e)[2];if(o=Math.round(o/50),o===0)return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return o===2&&(i+=60),i};P.hsv.ansi16=function(e){return P.rgb.ansi16(P.hsv.rgb(e),e[2])};P.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var o=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return o};P.ansi16.rgb=function(e){var t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var 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){var t=(e-232)*10+8;return [t,t,t]}e-=16;var r,n=Math.floor(e/36)/5*255,o=Math.floor((r=e%36)/6)/5*255,i=r%6/5*255;return [n,o,i]};P.rgb.hex=function(e){var t=((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255),r=t.toString(16).toUpperCase();return "000000".substring(r.length)+r};P.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return [0,0,0];var r=t[0];t[0].length===3&&(r=r.split("").map(function(a){return a+a}).join(""));var n=parseInt(r,16),o=n>>16&255,i=n>>8&255,s=n&255;return [o,i,s]};P.rgb.hcg=function(e){var 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+4,c/=6,c%=1,[c*360,s*100,a*100]};P.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,o=0;return r<.5?n=2*t*r:n=2*t*(1-r),n<1&&(o=(r-.5*n)/(1-n)),[e[0],n*100,o*100]};P.hsv.hcg=function(e){var 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){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return [n*255,n*255,n*255];var 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){var 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){var t=e[1]/100,r=e[2]/100,n=r*(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){var 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){var t=e[1]/100,r=e[2]/100,n=1-r,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=P.gray.hsv=function(e){return [0,0,e[0]]};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){var t=Math.round(e[0]/100*255)&255,r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return "000000".substring(n.length)+n};P.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return [t/255*100]};});var Pm=chunkTKGT252T_js.c((yF,Im)=>{var Ao=sa();function mO(){for(var e={},t=Object.keys(Ao),r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function gO(e){var t=mO(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),o=Object.keys(Ao[n]),i=o.length,s=0;s<i;s++){var a=o[s],c=t[a];c.distance===-1&&(c.distance=t[n].distance+1,c.parent=n,r.unshift(a));}return t}function yO(e,t){return function(r){return t(e(r))}}function bO(e,t){for(var r=[t[e].parent,e],n=Ao[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),n=yO(Ao[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}Im.exports=function(e){for(var t=gO(e),r={},n=Object.keys(t),o=n.length,i=0;i<o;i++){var s=n[i],a=t[s];a.parent!==null&&(r[s]=bO(s,t));}return r};});var Dm=chunkTKGT252T_js.c((bF,Tm)=>{var aa=sa(),wO=Pm(),Xt={},vO=Object.keys(aa);function SO(e){var t=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return "conversion"in e&&(t.conversion=e.conversion),t}function EO(e){var t=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=e(r);if(typeof n=="object")for(var o=n.length,i=0;i<o;i++)n[i]=Math.round(n[i]);return n};return "conversion"in e&&(t.conversion=e.conversion),t}vO.forEach(function(e){Xt[e]={},Object.defineProperty(Xt[e],"channels",{value:aa[e].channels}),Object.defineProperty(Xt[e],"labels",{value:aa[e].labels});var t=wO(e),r=Object.keys(t);r.forEach(function(n){var o=t[n];Xt[e][n]=EO(o),Xt[e][n].raw=SO(o);});});Tm.exports=Xt;});var $m=chunkTKGT252T_js.c((wF,Nm)=>{var Kt=Dm(),Ro=(e,t)=>function(){return `\x1B[${e.apply(Kt,arguments)+t}m`},Io=(e,t)=>function(){let r=e.apply(Kt,arguments);return `\x1B[${38+t};5;${r}m`},Po=(e,t)=>function(){let r=e.apply(Kt,arguments);return `\x1B[${38+t};2;${r[0]};${r[1]};${r[2]}m`};function xO(){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],gray:[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.grey=t.color.gray;for(let o of Object.keys(t)){let i=t[o];for(let s of Object.keys(i)){let a=i[s];t[s]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},i[s]=t[s],e.set(a[0],a[1]);}Object.defineProperty(t,o,{value:i,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1});}let r=o=>o,n=(o,i,s)=>[o,i,s];t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi={ansi:Ro(r,0)},t.color.ansi256={ansi256:Io(r,0)},t.color.ansi16m={rgb:Po(n,0)},t.bgColor.ansi={ansi:Ro(r,10)},t.bgColor.ansi256={ansi256:Io(r,10)},t.bgColor.ansi16m={rgb:Po(n,10)};for(let o of Object.keys(Kt)){if(typeof Kt[o]!="object")continue;let i=Kt[o];o==="ansi16"&&(o="ansi"),"ansi16"in i&&(t.color.ansi[o]=Ro(i.ansi16,0),t.bgColor.ansi[o]=Ro(i.ansi16,10)),"ansi256"in i&&(t.color.ansi256[o]=Io(i.ansi256,0),t.bgColor.ansi256[o]=Io(i.ansi256,10)),"rgb"in i&&(t.color.ansi16m[o]=Po(i.rgb,0),t.bgColor.ansi16m[o]=Po(i.rgb,10));}return t}Object.defineProperty(Nm,"exports",{enumerable:!0,get:xO});});var Fm=chunkTKGT252T_js.c((vF,Mm)=>{Mm.exports=(e,t)=>{t=t||process.argv;let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1?!0:n<o)};});var jm=chunkTKGT252T_js.c((SF,_m)=>{var OO=chunkTKGT252T_js.a("os"),je=Fm(),me=process.env,Jt;je("no-color")||je("no-colors")||je("color=false")?Jt=!1:(je("color")||je("colors")||je("color=true")||je("color=always"))&&(Jt=!0);"FORCE_COLOR"in me&&(Jt=me.FORCE_COLOR.length===0||parseInt(me.FORCE_COLOR,10)!==0);function CO(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function LO(e){if(Jt===!1)return 0;if(je("color=16m")||je("color=full")||je("color=truecolor"))return 3;if(je("color=256"))return 2;if(e&&!e.isTTY&&Jt!==!0)return 0;let t=Jt?1:0;if(process.platform==="win32"){let r=OO.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in me)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in me)||me.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in me)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(me.TEAMCITY_VERSION)?1:0;if(me.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in me){let r=parseInt((me.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(me.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(me.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(me.TERM)||"COLORTERM"in me?1:(me.TERM==="dumb",t)}function ca(e){let t=LO(e);return CO(t)}_m.exports={supportsColor:ca,stdout:ca(process.stdout),stderr:ca(process.stderr)};});var qm=chunkTKGT252T_js.c((EF,km)=>{var AO=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Bm=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,RO=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,IO=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,PO=new Map([["n",`
34
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Um(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):PO.get(e)||e}function TO(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),o;for(let i of n)if(!isNaN(i))r.push(Number(i));else if(o=i.match(RO))r.push(o[2].replace(IO,(s,a,c)=>a?Um(a):c));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`);return r}function DO(e){Bm.lastIndex=0;let t=[],r;for(;(r=Bm.exec(e))!==null;){let n=r[1];if(r[2]){let o=TO(n,r[2]);t.push([n].concat(o));}else t.push([n]);}return t}function Gm(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 of Object.keys(r))if(Array.isArray(r[o])){if(!(o in n))throw new Error(`Unknown Chalk style: ${o}`);r[o].length>0?n=n[o].apply(n,r[o]):n=n[o];}return n}km.exports=(e,t)=>{let r=[],n=[],o=[];if(t.replace(AO,(i,s,a,c,u,l)=>{if(s)o.push(Um(s));else if(c){let f=o.join("");o=[],n.push(r.length===0?f:Gm(e,r)(f)),r.push({inverse:a,styles:DO(c)});}else if(u){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(Gm(e,r)(o.join(""))),o=[],r.pop();}else o.push(l);}),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 Ym=chunkTKGT252T_js.c((xF,_r)=>{var la=Em(),se=$m(),ua=jm().stdout,NO=qm(),Wm=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),Vm=["ansi","ansi","ansi256","ansi16m"],Hm=new Set(["gray"]),Zt=Object.create(null);function zm(e,t){t=t||{};let r=ua?ua.level:0;e.level=t.level===void 0?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0;}function Fr(e){if(!this||!(this instanceof Fr)||this.template){let t={};return zm(t,e),t.template=function(){let r=[].slice.call(arguments);return FO.apply(null,[t.template].concat(r))},Object.setPrototypeOf(t,Fr.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Fr,t.template}zm(this,e);}Wm&&(se.blue.open="\x1B[94m");for(let e of Object.keys(se))se[e].closeRe=new RegExp(la(se[e].close),"g"),Zt[e]={get(){let t=se[e];return To.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};Zt.visible={get(){return To.call(this,this._styles||[],!0,"visible")}};se.color.closeRe=new RegExp(la(se.color.close),"g");for(let e of Object.keys(se.color.ansi))Hm.has(e)||(Zt[e]={get(){let t=this.level;return function(){let n={open:se.color[Vm[t]][e].apply(null,arguments),close:se.color.close,closeRe:se.color.closeRe};return To.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});se.bgColor.closeRe=new RegExp(la(se.bgColor.close),"g");for(let e of Object.keys(se.bgColor.ansi)){if(Hm.has(e))continue;let t="bg"+e[0].toUpperCase()+e.slice(1);Zt[t]={get(){let r=this.level;return function(){let o={open:se.bgColor[Vm[r]][e].apply(null,arguments),close:se.bgColor.close,closeRe:se.bgColor.closeRe};return To.call(this,this._styles?this._styles.concat(o):[o],this._empty,e)}}};}var $O=Object.defineProperties(()=>{},Zt);function To(e,t,r){let n=function(){return MO.apply(n,arguments)};n._styles=e,n._empty=t;let o=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return o.level},set(i){o.level=i;}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return o.enabled},set(i){o.enabled=i;}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=$O,n}function MO(){let e=arguments,t=e.length,r=String(arguments[0]);if(t===0)return "";if(t>1)for(let o=1;o<t;o++)r+=" "+e[o];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;let n=se.dim.open;Wm&&this.hasGrey&&(se.dim.open="");for(let o of this._styles.slice().reverse())r=o.open+r.replace(o.closeRe,o.open)+o.close,r=r.replace(/\r?\n/g,`${o.close}$&${o.open}`);return se.dim.open=n,r}function FO(e,t){if(!Array.isArray(t))return [].slice.call(arguments,1).join(" ");let r=[].slice.call(arguments,2),n=[t.raw[0]];for(let o=1;o<t.length;o++)n.push(String(r[o-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[o]));return NO(e,n.join(""))}Object.defineProperties(Fr.prototype,Zt);_r.exports=Fr();_r.exports.supportsColor=ua;_r.exports.default=_r.exports;});var r0=chunkTKGT252T_js.c(jr=>{Object.defineProperty(jr,"__esModule",{value:!0});jr.default=zO;jr.shouldHighlight=t0;var Xm=cm(),Km=bm(),pa=_O(ia(),!0);function Zm(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return (Zm=function(n){return n?r:t})(e)}function _O(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return {default:e};var r=Zm(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&{}.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i];}return n.default=e,r&&r.set(e,n),n}var Qm=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0, pa.createColors)(!1):pa.default,Jm=(e,t)=>r=>e(t(r)),jO=new Set(["as","async","from","get","of","set"]);function BO(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:Jm(Jm(e.white,e.bgRed),e.bold)}}var GO=/\r\n|[\n\r\u2028\u2029]/,UO=/^[()[\]{}]$/,e0;{let e=/^[a-z][\w-]*$/i,t=function(r,n,o){if(r.type==="name"){if((0, Km.isKeyword)(r.value)||(0, Km.isStrictReservedWord)(r.value,!0)||jO.has(r.value))return "keyword";if(e.test(r.value)&&(o[n-1]==="<"||o.slice(n-2,n)==="</"))return "jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return "capitalized"}return r.type==="punctuator"&&UO.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};e0=function*(r){let n;for(;n=Xm.default.exec(r);){let o=Xm.matchToToken(n);yield {type:t(o,n.index,r),value:o.value};}};}function kO(e,t){let r="";for(let{type:n,value:o}of e0(t)){let i=e[n];i?r+=o.split(GO).map(s=>i(s)).join(`
35
+ `):r+=o;}return r}function t0(e){return Qm.isColorSupported||e.forceColor}var fa;function qO(e){if(e){return (fa)!=null||(fa=(0, pa.createColors)(!0)),fa}return Qm}function zO(e,t={}){if(e!==""&&t0(t)){let r=BO(qO(t.forceColor));return kO(r,e)}else return e}{let e,t;jr.getChalk=({forceColor:r})=>{if((e)!=null||(e=Ym()),r){return (t)!=null||(t=new e.constructor({enabled:!0,level:1})),t}return e};}});var u0=chunkTKGT252T_js.c(Do=>{Object.defineProperty(Do,"__esModule",{value:!0});Do.codeFrameColumns=c0;Do.default=KO;var n0=r0(),ha=WO(ia(),!0);function a0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return (a0=function(n){return n?r:t})(e)}function WO(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return {default:e};var r=a0(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i];}return n.default=e,r&&r.set(e,n),n}var VO=typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0, ha.createColors)(!1):ha.default,o0=(e,t)=>r=>e(t(r)),da;function HO(e){if(e){return (da)!=null||(da=(0, ha.createColors)(!0)),da}return VO}var i0=!1;function YO(e){return {gutter:e.gray,marker:o0(e.red,e.bold),message:o0(e.red,e.bold)}}var s0=/\r\n|[\n\r\u2028\u2029]/;function XO(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,u=o.line,l=o.column,f=Math.max(a-(i+1),0),g=Math.min(t.length,u+s);a===-1&&(f=0),u===-1&&(g=t.length);let b=u-a,y={};if(b)for(let p=0;p<=b;p++){let x=p+a;if(!c)y[x]=!0;else if(p===0){let N=t[x-1].length;y[x]=[c,N-c+1];}else if(p===b)y[x]=[0,l];else {let N=t[x-p].length;y[x]=[0,N];}}else c===l?c?y[a]=[c,0]:y[a]=!0:y[a]=[c,l-c];return {start:f,end:g,markerLines:y}}function c0(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0, n0.shouldHighlight)(r),o=HO(r.forceColor),i=YO(o),s=(p,x)=>n?p(x):x,a=e.split(s0),{start:c,end:u,markerLines:l}=XO(t,a,r),f=t.start&&typeof t.start.column=="number",g=String(u).length,y=(n?(0, n0.default)(e,r):e).split(s0,u).slice(c,u).map((p,x)=>{let N=c+1+x,q=` ${` ${N}`.slice(-g)} |`,G=l[N],oe=!l[N+1];if(G){let J="";if(Array.isArray(G)){let _=p.slice(0,Math.max(G[0]-1,0)).replace(/[^\t]/g," "),H=G[1]||1;J=[`
36
+ `,s(i.gutter,q.replace(/\d/g," "))," ",_,s(i.marker,"^").repeat(H)].join(""),oe&&r.message&&(J+=" "+s(i.message,r.message));}return [s(i.marker,">"),s(i.gutter,q),p.length>0?` ${p}`:"",J].join("")}else return ` ${s(i.gutter,q)}${p.length>0?` ${p}`:""}`}).join(`
37
+ `);return r.message&&!f&&(y=`${" ".repeat(g+1)}${r.message}
38
+ ${y}`),n?o.reset(y):y}function KO(e,t,r,n={}){if(!i0){i0=!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),c0(e,{start:{column:r,line:t}},n)}});var d0=chunkTKGT252T_js.c((LF,p0)=>{var ma=tm(),JO=om(),{default:ZO}=am(),{codeFrameColumns:QO}=u0(),l0=ma("JSONError",{fileName:ma.append("in %s"),codeFrame:ma.append(`
39
+
40
+ %s
41
+ `)}),f0=(e,t,r)=>{typeof t=="string"&&(r=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw JO(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 l0(n);if(r&&(i.fileName=r),o&&o.length>0){let s=new ZO(e),a=Number(o[1]),c=s.locationForIndex(a),u=QO(e,{start:{line:c.line+1,column:c.column+1}},{highlightCode:!0});i.codeFrame=u;}throw i}};f0.JSONError=l0;p0.exports=f0;});var P0=chunkTKGT252T_js.c((F,I0)=>{F=I0.exports=V;var X;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?X=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:X=function(){};F.SEMVER_SPEC_VERSION="2.0.0";var Br=256,No=Number.MAX_SAFE_INTEGER||9007199254740991,ga=16,eC=Br-6,Gr=F.re=[],Z=F.safeRe=[],S=F.src=[],W=0,Sa="[a-zA-Z0-9-]",ya=[["\\s",1],["\\d",Br],[Sa,eC]];function Bo(e){for(var t=0;t<ya.length;t++){var r=ya[t][0],n=ya[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e}var Qt=W++;S[Qt]="0|[1-9]\\d*";var er=W++;S[er]="\\d+";var Ea=W++;S[Ea]="\\d*[a-zA-Z-]"+Sa+"*";var m0=W++;S[m0]="("+S[Qt]+")\\.("+S[Qt]+")\\.("+S[Qt]+")";var g0=W++;S[g0]="("+S[er]+")\\.("+S[er]+")\\.("+S[er]+")";var ba=W++;S[ba]="(?:"+S[Qt]+"|"+S[Ea]+")";var wa=W++;S[wa]="(?:"+S[er]+"|"+S[Ea]+")";var xa=W++;S[xa]="(?:-("+S[ba]+"(?:\\."+S[ba]+")*))";var Oa=W++;S[Oa]="(?:-?("+S[wa]+"(?:\\."+S[wa]+")*))";var va=W++;S[va]=Sa+"+";var kr=W++;S[kr]="(?:\\+("+S[va]+"(?:\\."+S[va]+")*))";var Ca=W++,y0="v?"+S[m0]+S[xa]+"?"+S[kr]+"?";S[Ca]="^"+y0+"$";var La="[v=\\s]*"+S[g0]+S[Oa]+"?"+S[kr]+"?",Aa=W++;S[Aa]="^"+La+"$";var ir=W++;S[ir]="((?:<|>)?=?)";var $o=W++;S[$o]=S[er]+"|x|X|\\*";var Mo=W++;S[Mo]=S[Qt]+"|x|X|\\*";var Ot=W++;S[Ot]="[v=\\s]*("+S[Mo]+")(?:\\.("+S[Mo]+")(?:\\.("+S[Mo]+")(?:"+S[xa]+")?"+S[kr]+"?)?)?";var rr=W++;S[rr]="[v=\\s]*("+S[$o]+")(?:\\.("+S[$o]+")(?:\\.("+S[$o]+")(?:"+S[Oa]+")?"+S[kr]+"?)?)?";var b0=W++;S[b0]="^"+S[ir]+"\\s*"+S[Ot]+"$";var w0=W++;S[w0]="^"+S[ir]+"\\s*"+S[rr]+"$";var v0=W++;S[v0]="(?:^|[^\\d])(\\d{1,"+ga+"})(?:\\.(\\d{1,"+ga+"}))?(?:\\.(\\d{1,"+ga+"}))?(?:$|[^\\d])";var Go=W++;S[Go]="(?:~>?)";var nr=W++;S[nr]="(\\s*)"+S[Go]+"\\s+";Gr[nr]=new RegExp(S[nr],"g");Z[nr]=new RegExp(Bo(S[nr]),"g");var tC="$1~",S0=W++;S[S0]="^"+S[Go]+S[Ot]+"$";var E0=W++;S[E0]="^"+S[Go]+S[rr]+"$";var Uo=W++;S[Uo]="(?:\\^)";var or=W++;S[or]="(\\s*)"+S[Uo]+"\\s+";Gr[or]=new RegExp(S[or],"g");Z[or]=new RegExp(Bo(S[or]),"g");var rC="$1^",x0=W++;S[x0]="^"+S[Uo]+S[Ot]+"$";var O0=W++;S[O0]="^"+S[Uo]+S[rr]+"$";var Ra=W++;S[Ra]="^"+S[ir]+"\\s*("+La+")$|^$";var Ia=W++;S[Ia]="^"+S[ir]+"\\s*("+y0+")$|^$";var Ct=W++;S[Ct]="(\\s*)"+S[ir]+"\\s*("+La+"|"+S[Ot]+")";Gr[Ct]=new RegExp(S[Ct],"g");Z[Ct]=new RegExp(Bo(S[Ct]),"g");var nC="$1$2$3",C0=W++;S[C0]="^\\s*("+S[Ot]+")\\s+-\\s+("+S[Ot]+")\\s*$";var L0=W++;S[L0]="^\\s*("+S[rr]+")\\s+-\\s+("+S[rr]+")\\s*$";var A0=W++;S[A0]="(<|>)?=?\\s*\\*";for(He=0;He<W;He++)X(He,S[He]),Gr[He]||(Gr[He]=new RegExp(S[He]),Z[He]=new RegExp(Bo(S[He])));var He;F.parse=Lt;function Lt(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof V)return e;if(typeof e!="string"||e.length>Br)return null;var r=t.loose?Z[Aa]:Z[Ca];if(!r.test(e))return null;try{return new V(e,t)}catch{return null}}F.valid=oC;function oC(e,t){var r=Lt(e,t);return r?r.version:null}F.clean=iC;function iC(e,t){var r=Lt(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}F.SemVer=V;function V(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof V){if(e.loose===t.loose)return e;e=e.version;}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>Br)throw new TypeError("version is longer than "+Br+" characters");if(!(this instanceof V))return new V(e,t);X("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?Z[Aa]:Z[Ca]);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>No||this.major<0)throw new TypeError("Invalid major version");if(this.minor>No||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>No||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<No)return o}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format();}V.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};V.prototype.toString=function(){return this.version};V.prototype.compare=function(e){return X("SemVer.compare",this.version,this.options,e),e instanceof V||(e=new V(e,this.options)),this.compareMain(e)||this.comparePre(e)};V.prototype.compareMain=function(e){return e instanceof V||(e=new V(e,this.options)),tr(this.major,e.major)||tr(this.minor,e.minor)||tr(this.patch,e.patch)};V.prototype.comparePre=function(e){if(e instanceof V||(e=new V(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(X("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 tr(r,n)}while(++t)};V.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};F.inc=sC;function sC(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new V(e,r).inc(t,n).version}catch{return null}}F.diff=aC;function aC(e,t){if(Pa(e,t))return null;var r=Lt(e),n=Lt(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}F.compareIdentifiers=tr;var h0=/^[0-9]+$/;function tr(e,t){var r=h0.test(e),n=h0.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}F.rcompareIdentifiers=cC;function cC(e,t){return tr(t,e)}F.major=uC;function uC(e,t){return new V(e,t).major}F.minor=lC;function lC(e,t){return new V(e,t).minor}F.patch=fC;function fC(e,t){return new V(e,t).patch}F.compare=et;function et(e,t,r){return new V(e,r).compare(new V(t,r))}F.compareLoose=pC;function pC(e,t){return et(e,t,!0)}F.rcompare=dC;function dC(e,t,r){return et(t,e,r)}F.sort=hC;function hC(e,t){return e.sort(function(r,n){return F.compare(r,n,t)})}F.rsort=mC;function mC(e,t){return e.sort(function(r,n){return F.rcompare(r,n,t)})}F.gt=Ur;function Ur(e,t,r){return et(e,t,r)>0}F.lt=Fo;function Fo(e,t,r){return et(e,t,r)<0}F.eq=Pa;function Pa(e,t,r){return et(e,t,r)===0}F.neq=R0;function R0(e,t,r){return et(e,t,r)!==0}F.gte=Ta;function Ta(e,t,r){return et(e,t,r)>=0}F.lte=Da;function Da(e,t,r){return et(e,t,r)<=0}F.cmp=_o;function _o(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 Pa(e,r,n);case"!=":return R0(e,r,n);case">":return Ur(e,r,n);case">=":return Ta(e,r,n);case"<":return Fo(e,r,n);case"<=":return Da(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}F.Comparator=Ie;function Ie(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof Ie){if(e.loose===!!t.loose)return e;e=e.value;}if(!(this instanceof Ie))return new Ie(e,t);e=e.trim().split(/\s+/).join(" "),X("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===qr?this.value="":this.value=this.operator+this.semver.version,X("comp",this);}var qr={};Ie.prototype.parse=function(e){var t=this.options.loose?Z[Ra]:Z[Ia],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 V(r[2],this.options.loose):this.semver=qr;};Ie.prototype.toString=function(){return this.value};Ie.prototype.test=function(e){return X("Comparator.test",e,this.options.loose),this.semver===qr?!0:(typeof e=="string"&&(e=new V(e,this.options)),_o(e,this.operator,this.semver,this.options))};Ie.prototype.intersects=function(e,t){if(!(e instanceof Ie))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return r=new ne(e.value,t),jo(this.value,r,t);if(e.operator==="")return r=new ne(this.value,t),jo(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=_o(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),c=_o(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||o||i&&s||a||c};F.Range=ne;function ne(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof ne)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ne(e.raw,t);if(e instanceof Ie)return new ne(e.value,t);if(!(this instanceof ne))return new ne(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();}ne.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};ne.prototype.toString=function(){return this.range};ne.prototype.parseRange=function(e){var t=this.options.loose,r=t?Z[L0]:Z[C0];e=e.replace(r,CC),X("hyphen replace",e),e=e.replace(Z[Ct],nC),X("comparator trim",e,Z[Ct]),e=e.replace(Z[nr],tC),e=e.replace(Z[or],rC);var n=t?Z[Ra]:Z[Ia],o=e.split(" ").map(function(i){return yC(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 Ie(i,this.options)},this),o};ne.prototype.intersects=function(e,t){if(!(e instanceof ne))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)})})})})};F.toComparators=gC;function gC(e,t){return new ne(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function yC(e,t){return X("comp",e,t),e=vC(e,t),X("caret",e),e=bC(e,t),X("tildes",e),e=EC(e,t),X("xrange",e),e=OC(e,t),X("stars",e),e}function Ee(e){return !e||e.toLowerCase()==="x"||e==="*"}function bC(e,t){return e.trim().split(/\s+/).map(function(r){return wC(r,t)}).join(" ")}function wC(e,t){var r=t.loose?Z[E0]:Z[S0];return e.replace(r,function(n,o,i,s,a){X("tilde",e,n,o,i,s,a);var c;return Ee(o)?c="":Ee(i)?c=">="+o+".0.0 <"+(+o+1)+".0.0":Ee(s)?c=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0":a?(X("replaceTilde pr",a),c=">="+o+"."+i+"."+s+"-"+a+" <"+o+"."+(+i+1)+".0"):c=">="+o+"."+i+"."+s+" <"+o+"."+(+i+1)+".0",X("tilde return",c),c})}function vC(e,t){return e.trim().split(/\s+/).map(function(r){return SC(r,t)}).join(" ")}function SC(e,t){X("caret",e,t);var r=t.loose?Z[O0]:Z[x0];return e.replace(r,function(n,o,i,s,a){X("caret",e,n,o,i,s,a);var c;return Ee(o)?c="":Ee(i)?c=">="+o+".0.0 <"+(+o+1)+".0.0":Ee(s)?o==="0"?c=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0":c=">="+o+"."+i+".0 <"+(+o+1)+".0.0":a?(X("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"):(X("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"),X("caret return",c),c})}function EC(e,t){return X("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return xC(r,t)}).join(" ")}function xC(e,t){e=e.trim();var r=t.loose?Z[w0]:Z[b0];return e.replace(r,function(n,o,i,s,a,c){X("xRange",e,n,o,i,s,a,c);var u=Ee(i),l=u||Ee(s),f=l||Ee(a),g=f;return o==="="&&g&&(o=""),u?o===">"||o==="<"?n="<0.0.0":n="*":o&&g?(l&&(s=0),a=0,o===">"?(o=">=",l?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):o==="<="&&(o="<",l?i=+i+1:s=+s+1),n=o+i+"."+s+"."+a):l?n=">="+i+".0.0 <"+(+i+1)+".0.0":f&&(n=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0"),X("xRange return",n),n})}function OC(e,t){return X("replaceStars",e,t),e.trim().replace(Z[A0],"")}function CC(e,t,r,n,o,i,s,a,c,u,l,f,g){return Ee(r)?t="":Ee(n)?t=">="+r+".0.0":Ee(o)?t=">="+r+"."+n+".0":t=">="+t,Ee(c)?a="":Ee(u)?a="<"+(+c+1)+".0.0":Ee(l)?a="<"+c+"."+(+u+1)+".0":f?a="<="+c+"."+u+"."+l+"-"+f:a="<="+a,(t+" "+a).trim()}ne.prototype.test=function(e){if(!e)return !1;typeof e=="string"&&(e=new V(e,this.options));for(var t=0;t<this.set.length;t++)if(LC(this.set[t],e,this.options))return !0;return !1};function LC(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(X(e[n].semver),e[n].semver!==qr&&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}F.satisfies=jo;function jo(e,t,r){try{t=new ne(t,r);}catch{return !1}return t.test(e)}F.maxSatisfying=AC;function AC(e,t,r){var n=null,o=null;try{var i=new ne(t,r);}catch{return null}return e.forEach(function(s){i.test(s)&&(!n||o.compare(s)===-1)&&(n=s,o=new V(n,r));}),n}F.minSatisfying=RC;function RC(e,t,r){var n=null,o=null;try{var i=new ne(t,r);}catch{return null}return e.forEach(function(s){i.test(s)&&(!n||o.compare(s)===1)&&(n=s,o=new V(n,r));}),n}F.minVersion=IC;function IC(e,t){e=new ne(e,t);var r=new V("0.0.0");if(e.test(r)||(r=new V("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 V(i.semver.version);switch(i.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!r||Ur(r,s))&&(r=s);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}});}return r&&e.test(r)?r:null}F.validRange=PC;function PC(e,t){try{return new ne(e,t).range||"*"}catch{return null}}F.ltr=TC;function TC(e,t,r){return Na(e,t,"<",r)}F.gtr=DC;function DC(e,t,r){return Na(e,t,">",r)}F.outside=Na;function Na(e,t,r,n){e=new V(e,n),t=new ne(t,n);var o,i,s,a,c;switch(r){case">":o=Ur,i=Da,s=Fo,a=">",c=">=";break;case"<":o=Fo,i=Ta,s=Ur,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(jo(e,t,n))return !1;for(var u=0;u<t.set.length;++u){var l=t.set[u],f=null,g=null;if(l.forEach(function(b){b.semver===qr&&(b=new Ie(">=0.0.0")),f=f||b,g=g||b,o(b.semver,f.semver,n)?f=b:s(b.semver,g.semver,n)&&(g=b);}),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}F.prerelease=NC;function NC(e,t){var r=Lt(e,t);return r&&r.prerelease.length?r.prerelease:null}F.intersects=$C;function $C(e,t,r){return e=new ne(e,r),t=new ne(t,r),e.intersects(t)}F.coerce=MC;function MC(e){if(e instanceof V)return e;if(typeof e!="string")return null;var t=e.match(Z[v0]);return t==null?null:Lt(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}});var $a=chunkTKGT252T_js.c((AF,FC)=>{FC.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 T0=chunkTKGT252T_js.c((RF,_C)=>{_C.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 D0=chunkTKGT252T_js.c((IF,jC)=>{jC.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 $0=chunkTKGT252T_js.c((PF,N0)=>{var BC=[].concat($a()).concat(T0()),GC=D0();N0.exports=function(e){var t=0;function r(){return t<e.length}function n(y){if(y instanceof RegExp){var p=e.slice(t),x=p.match(y);if(x)return t+=x[0].length,x[0]}else if(e.indexOf(y,t)===t)return t+=y.length,y}function o(){n(/[ ]*/);}function i(){for(var y,p=["WITH","AND","OR","(",")",":","+"],x=0;x<p.length&&(y=n(p[x]),!y);x++);if(y==="+"&&t>1&&e[t-2]===" ")throw new Error("Space before `+`");return y&&{type:"OPERATOR",string:y}}function s(){return n(/[A-Za-z0-9-.]+/)}function a(){var y=s();if(!y)throw new Error("Expected idstring at offset "+t);return y}function c(){if(n("DocumentRef-")){var y=a();return {type:"DOCUMENTREF",string:y}}}function u(){if(n("LicenseRef-")){var y=a();return {type:"LICENSEREF",string:y}}}function l(){var y=t,p=s();if(BC.indexOf(p)!==-1)return {type:"LICENSE",string:p};if(GC.indexOf(p)!==-1)return {type:"EXCEPTION",string:p};t=y;}function f(){return i()||c()||u()||l()}for(var g=[];r()&&(o(),!!r());){var b=f();if(!b)throw new Error("Unexpected `"+e[t]+"` at offset "+t);g.push(b);}return g};});var F0=chunkTKGT252T_js.c((TF,M0)=>{M0.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 x=n();if(x&&x.type==="OPERATOR"&&p===x.string)return o(),x.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,x="",N=n();if(N.type==="DOCUMENTREF"&&(o(),x+="DocumentRef-"+N.string+":",!i(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(N=n(),N.type==="LICENSEREF")return o(),x+="LicenseRef-"+N.string,{license:x};t=p;}function c(){var p=n();if(p&&p.type==="LICENSE"){o();var x={license:p.string};i("+")&&(x.plus=!0);var N=s();return N&&(x.exception=N),x}}function u(){var p=i("(");if(p){var x=b();if(!i(")"))throw new Error("Expected `)`");return x}}function l(){return u()||a()||c()}function f(p,x){return function N(){var j=x();if(j){if(!i(p))return j;var q=N();if(!q)throw new Error("Expected expression");return {left:j,conjunction:p.toLowerCase(),right:q}}}}var g=f("AND",l),b=f("OR",g),y=b();if(!y||r())throw new Error("Syntax error");return y};});var Ma=chunkTKGT252T_js.c((DF,_0)=>{var UC=$0(),kC=F0();_0.exports=function(e){return kC(UC(e))};});var V0=chunkTKGT252T_js.c((NF,W0)=>{var qC=Ma(),zC=$a();function ko(e){try{return qC(e),!0}catch{return !1}}function z0(e,t){var r=t[0].length-e[0].length;return r!==0?r:e[0].toUpperCase().localeCompare(t[0].toUpperCase())}var j0=[["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(z0),WC=0,VC=1,B0=[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=zC.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},{}),HC=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 G0=[["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(HC).sort(z0),YC=0,XC=1,U0=function(e){for(var t=0;t<B0.length;t++){var r=B0[t](e).trim();if(r!==e&&ko(r))return r}return null},k0=function(e){for(var t=e.toUpperCase(),r=0;r<G0.length;r++){var n=G0[r];if(t.indexOf(n[YC])>-1)return n[XC]}return null},q0=function(e,t){for(var r=0;r<j0.length;r++){var n=j0[r],o=n[WC];if(e.indexOf(o)>-1){var i=e.replace(o,n[VC]),s=t(i);if(s!==null)return s}}return null};W0.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(a){return r?KC(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(),ko(e))return n(e);var i=e.replace(/\+$/,"").trim();if(ko(i))return n(i);var s=U0(e);return s!==null||(s=q0(e,function(a){return ko(a)?a:U0(a)}),s!==null)||(s=k0(e),s!==null)||(s=q0(e,k0),s!==null)?n(s):null};function KC(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 ja=chunkTKGT252T_js.c(($F,X0)=>{var JC=Ma(),ZC=V0(),H0='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',QC=/^SEE LICEN[CS]E IN (.+)$/;function Y0(e,t){return t.slice(0,e.length)===e}function _a(e){if(e.hasOwnProperty("license")){var t=e.license;return Y0("LicenseRef",t)||Y0("DocumentRef",t)}else return _a(e.left)||_a(e.right)}X0.exports=function(e){var t;try{t=JC(e);}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return {validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=QC.exec(e))return {validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[H0]};if(e.trim().length!==0){var o=ZC(e);o&&n.warnings.push('license is similar to the valid expression "'+o+'"');}return n}return _a(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[H0]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}};});var Ba=chunkTKGT252T_js.c((MF,Z0)=>{var zr=Z0.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-"+J0(e)}}},K0={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:J0};Object.keys(zr).forEach(function(e){Object.keys(K0).forEach(function(t){zr[e][t]||(zr[e][t]=K0[t]);}),zr[e].protocols_re=RegExp("^("+zr[e].protocols.map(function(t){return t.replace(/([\\+*{}()[\]$^|])/g,"\\$1")}).join("|")+"):$");});function J0(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}});var t1=chunkTKGT252T_js.c((FF,e1)=>{var Q0=Ba(),sr=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};e1.exports=ge;function ge(e,t,r,n,o,i,s){var a=this;a.type=e,Object.keys(Q0[e]).forEach(function(c){a[c]=Q0[e][c];}),a.user=t,a.auth=r,a.project=n,a.committish=o,a.default=i,a.opts=s||{};}ge.prototype.hash=function(){return this.committish?"#"+this.committish:""};ge.prototype._fill=function(e,t){if(e){var r=sr({},t);r.path=r.path?r.path.replace(/^[/]+/g,""):"",t=sr(sr({},this.opts),t);var n=this;Object.keys(this).forEach(function(l){n[l]!=null&&r[l]==null&&(r[l]=n[l]);});var o=r.auth,i=r.committish,s=r.fragment,a=r.path,c=r.project;Object.keys(r).forEach(function(l){var f=r[l];(l==="path"||l==="project")&&typeof f=="string"?r[l]=f.split("/").map(function(g){return encodeURIComponent(g)}).join("/"):r[l]=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 u=e;return Object.keys(r).forEach(function(l){u=u.replace(new RegExp("[{]"+l+"[}]","g"),r[l]);}),t.noGitPlus?u.replace(/^git[+]/,""):u}};ge.prototype.ssh=function(e){return this._fill(this.sshtemplate,e)};ge.prototype.sshurl=function(e){return this._fill(this.sshurltemplate,e)};ge.prototype.browse=function(e,t,r){return typeof e=="string"?(typeof t!="string"&&(r=t,t=null),this._fill(this.browsefiletemplate,sr({fragment:t,path:e},r))):this._fill(this.browsetemplate,e)};ge.prototype.docs=function(e){return this._fill(this.docstemplate,e)};ge.prototype.bugs=function(e){return this._fill(this.bugstemplate,e)};ge.prototype.https=function(e){return this._fill(this.httpstemplate,e)};ge.prototype.git=function(e){return this._fill(this.gittemplate,e)};ge.prototype.shortcut=function(e){return this._fill(this.shortcuttemplate,e)};ge.prototype.path=function(e){return this._fill(this.pathtemplate,e)};ge.prototype.tarball=function(e){var t=sr({},e,{noCommittish:!1});return this._fill(this.tarballtemplate,t)};ge.prototype.file=function(e,t){return this._fill(this.filetemplate,sr({path:e},t))};ge.prototype.getDefaultRepresentation=function(){return this.default};ge.prototype.toString=function(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)};});var n1=chunkTKGT252T_js.c((_F,Ua)=>{var qo=chunkTKGT252T_js.a("url"),r1=Ba(),eL=Ua.exports=t1(),tL={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function rL(e){return tL[e]||e.slice(0,-1)}var nL={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},Ga={};Ua.exports.fromUrl=function(e,t){if(typeof e=="string"){var r=e+JSON.stringify(t||{});return r in Ga||(Ga[r]=oL(e,t)),Ga[r]}};function oL(e,t){if(!(e==null||e==="")){var r=sL(iL(e)?"github:"+e:e),n=aL(r),o=r.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/),i=Object.keys(r1).map(function(s){try{var a=r1[s],c=null;n.auth&&nL[n.protocol]&&(c=n.auth);var u=n.hash?decodeURIComponent(n.hash.substr(1)):null,l=null,f=null,g=null;if(o&&o[1]===s)l=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 b=a.pathmatch,y=n.path.match(b);if(!y)return;y[1]!==null&&y[1]!==void 0&&(l=decodeURIComponent(y[1].replace(/^:/,""))),f=decodeURIComponent(y[2]),g=rL(n.protocol);}return new eL(s,l,c,f,u,g,t)}catch(p){if(!(p instanceof URIError))throw p}}).filter(function(s){return s});if(i.length===1)return i[0]}}function iL(e){return /^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(e)}function sL(e){var t=qo.parse(e);return t.protocol==="gist:"&&t.host&&!t.path?t.protocol+"/"+t.host:e}function aL(e){var t=e.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);if(!t){var r=qo.parse(e);if(r.auth&&typeof qo.URL=="function"){var n=e.match(/[^@]+@[^:/]+/);if(n){var o=new qo.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 ka=chunkTKGT252T_js.c((jF,o1)=>{var cL=chunkTKGT252T_js.a("os");o1.exports=cL.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 qa=chunkTKGT252T_js.c((BF,i1)=>{i1.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 s1=chunkTKGT252T_js.c((GF,Wr)=>{var uL=process.platform==="win32",lL=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,za={};function fL(e){return lL.exec(e).slice(1)}za.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]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var pL=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,Wa={};function dL(e){return pL.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=dL(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]}};uL?Wr.exports=za.parse:Wr.exports=Wa.parse;Wr.exports.posix=Wa.parse;Wr.exports.win32=za.parse;});var Va=chunkTKGT252T_js.c((UF,l1)=>{var u1=chunkTKGT252T_js.a("path"),a1=u1.parse||s1(),c1=function(t,r){var n="/";/^([A-Za-z]:)/.test(t)?n="":/^\\\\/.test(t)&&(n="\\\\");for(var o=[t],i=a1(t);i.dir!==o[o.length-1];)o.push(i.dir),i=a1(i.dir);return o.reduce(function(s,a){return s.concat(r.map(function(c){return u1.resolve(n,a,c)}))},[])};l1.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 c1(t,o)},r);var i=c1(t,o);return r&&r.paths?i.concat(r.paths):i};});var Ha=chunkTKGT252T_js.c((kF,f1)=>{var Vr=chunkTKGT252T_js.a("path");f1.exports=function(e,t){if(t=t||{},t.forceNodeResolution||!process.versions.pnp)return t;let{findPnpApi:r}=chunkTKGT252T_js.a("module"),n=(u,l)=>{let f=u.match(/^((?:@[^/]+\/)?[^/]+)(\/.*)?/);if(!f)throw new Error(`Assertion failed: Expected the "resolve" package to call the "paths" callback with package names only (got "${u}")`);l.charAt(l.length-1)!=="/"&&(l=Vr.join(l,"/"));let g=r(l);if(g===null)return;let b;try{b=g.resolveToUnqualified(`${f[1]}/package.json`,l,{considerBuiltins:!1});}catch{return null}if(b===null)throw new Error(`Assertion failed: The resolution thinks that "${f[1]}" is a Node builtin`);let y=Vr.dirname(b),p=typeof f[2]<"u"?Vr.join(y,f[2]):y;return {packagePath:y,unqualifiedPath:p}},o=(u,l)=>{for(let f=0;f<l.length;f++){let g=n(u,l[f]);if(g||f===l.length-1)return g}return null},i=Array.isArray(t.paths)?t.paths:[],s=(u,l,f,g)=>{let b=[l].concat(i),y=o(u,b);return y==null?f():[y.unqualifiedPath]},a=(u,l,f,g)=>{let b=[l].concat(i),y=o(u,b);if(y==null)return f().concat(i);let p=Vr.dirname(y.packagePath);return u.match(/^@[^/]+\//)&&(p=Vr.dirname(p)),[p]},c=!1;return t.__skipPackageIterator||(t.packageIterator=function(u,l,f,g){c=!0;try{return s(u,l,f,g)}finally{c=!1;}}),t.paths=function(u,l,f,g){return c?f().concat(i):a(u,l,f)},t};});var h1=chunkTKGT252T_js.c((qF,d1)=>{var hL="Function.prototype.bind called on incompatible ",mL=Object.prototype.toString,gL=Math.max,yL="[object Function]",p1=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},bL=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},wL=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};d1.exports=function(t){var r=this;if(typeof r!="function"||mL.apply(r)!==yL)throw new TypeError(hL+r);for(var n=bL(arguments,1),o,i=function(){if(this instanceof o){var l=r.apply(this,p1(n,arguments));return Object(l)===l?l:this}return r.apply(t,p1(n,arguments))},s=gL(0,r.length-n.length),a=[],c=0;c<s;c++)a[c]="$"+c;if(o=Function("binder","return function ("+wL(a,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var u=function(){};u.prototype=r.prototype,o.prototype=new u,u.prototype=null;}return o};});var g1=chunkTKGT252T_js.c((zF,m1)=>{var vL=h1();m1.exports=Function.prototype.bind||vL;});var b1=chunkTKGT252T_js.c((WF,y1)=>{var SL=Function.prototype.call,EL=Object.prototype.hasOwnProperty,xL=g1();y1.exports=xL.call(SL,EL);});var w1=chunkTKGT252T_js.c((VF,OL)=>{OL.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 ar=chunkTKGT252T_js.c((HF,E1)=>{var CL=b1();function LL(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 v1(e,t){var r=t.split(/ ?&& ?/);if(r.length===0)return !1;for(var n=0;n<r.length;++n)if(!LL(e,r[n]))return !1;return !0}function AL(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(v1(r,t[n]))return !0;return !1}return v1(r,t)}var S1=w1();E1.exports=function(t,r){return CL(S1,t)&&AL(r,S1[t])};});var C1=chunkTKGT252T_js.c((YF,O1)=>{var At=chunkTKGT252T_js.a("fs"),RL=ka(),ae=chunkTKGT252T_js.a("path"),IL=qa(),PL=Va(),TL=Ha(),DL=ar(),NL=process.platform!=="win32"&&At.realpath&&typeof At.realpath.native=="function"?At.realpath.native:At.realpath,x1=RL(),$L=function(){return [ae.join(x1,".node_modules"),ae.join(x1,".node_libraries")]},ML=function(t,r){At.stat(t,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?r(null,!1):r(n):r(null,o.isFile()||o.isFIFO())});},FL=function(t,r){At.stat(t,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?r(null,!1):r(n):r(null,o.isDirectory())});},_L=function(t,r){NL(t,function(n,o){n&&n.code!=="ENOENT"?r(n):r(null,n?t:o);});},Hr=function(t,r,n,o){n&&n.preserveSymlinks===!1?t(r,o):o(null,r);},jL=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);}});},BL=function(t,r,n){for(var o=PL(r,n,t),i=0;i<o.length;i++)o[i]=ae.join(o[i],t);return o};O1.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=TL(t,i);var a=i.isFile||ML,c=i.isDirectory||FL,u=i.readFile||At.readFile,l=i.realpath||_L,f=i.readPackage||jL;if(i.readFile&&i.readPackage){var g=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(g);})}var b=i.packageIterator,y=i.extensions||[".js"],p=i.includeCoreModules!==!1,x=i.basedir||ae.dirname(IL()),N=i.filename||x;i.paths=i.paths||$L();var j=ae.resolve(x);Hr(l,j,i,function(R,U){R?o(R):G(U);});var q;function G(R){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t))q=ae.resolve(R,t),(t==="."||t===".."||t.slice(-1)==="/")&&(q+="/"),/\/$/.test(t)&&q===R?H(q,i.package,oe):J(q,i.package,oe);else {if(p&&DL(t))return o(null,t);pe(t,R,function(U,te,z){if(U)o(U);else {if(te)return Hr(l,te,i,function(be,re){be?o(be):o(null,re,z);});var Q=new Error("Cannot find module '"+t+"' from '"+N+"'");Q.code="MODULE_NOT_FOUND",o(Q);}});}}function oe(R,U,te){R?o(R):U?o(null,U,te):H(q,function(z,Q,be){if(z)o(z);else if(Q)Hr(l,Q,i,function(ee,de){ee?o(ee):o(null,de,be);});else {var re=new Error("Cannot find module '"+t+"' from '"+N+"'");re.code="MODULE_NOT_FOUND",o(re);}});}function J(R,U,te){var z=U,Q=te;typeof z=="function"&&(Q=z,z=void 0);var be=[""].concat(y);re(be,R,z);function re(ee,de,we){if(ee.length===0)return Q(null,void 0,we);var Oe=de+ee[0],Le=we;Le?I(null,Le):_(ae.dirname(Oe),I);function I(Ge,ot,xe){if(Le=ot,Ge)return Q(Ge);if(xe&&Le&&i.pathFilter){var Dt=ae.relative(xe,Oe),De=Dt.slice(0,Dt.length-ee[0].length),ht=i.pathFilter(Le,de,De);if(ht)return re([""].concat(y.slice()),ae.resolve(xe,ht),Le)}a(Oe,dt);}function dt(Ge,ot){if(Ge)return Q(Ge);if(ot)return Q(null,Oe,Le);re(ee.slice(1),de,Le);}}}function _(R,U){if(R===""||R==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(R)||/[/\\]node_modules[/\\]*$/.test(R))return U(null);Hr(l,R,i,function(te,z){if(te)return _(ae.dirname(R),U);var Q=ae.join(z,"package.json");a(Q,function(be,re){if(!re)return _(ae.dirname(R),U);f(u,Q,function(ee,de){ee&&U(ee);var we=de;we&&i.packageFilter&&(we=i.packageFilter(we,Q)),U(null,we,R);});});});}function H(R,U,te){var z=te,Q=U;typeof Q=="function"&&(z=Q,Q=i.package),Hr(l,R,i,function(be,re){if(be)return z(be);var ee=ae.join(re,"package.json");a(ee,function(de,we){if(de)return z(de);if(!we)return J(ae.join(R,"index"),Q,z);f(u,ee,function(Oe,Le){if(Oe)return z(Oe);var I=Le;if(I&&i.packageFilter&&(I=i.packageFilter(I,ee)),I&&I.main){if(typeof I.main!="string"){var dt=new TypeError("package \u201C"+I.name+"\u201D `main` must be a string");return dt.code="INVALID_PACKAGE_MAIN",z(dt)}(I.main==="."||I.main==="./")&&(I.main="index"),J(ae.resolve(R,I.main),I,function(Ge,ot,xe){if(Ge)return z(Ge);if(ot)return z(null,ot,xe);if(!xe)return J(ae.join(R,"index"),xe,z);var Dt=ae.resolve(R,xe.main);H(Dt,xe,function(De,ht,nn){if(De)return z(De);if(ht)return z(null,ht,nn);J(ae.join(R,"index"),nn,z);});});return}J(ae.join(R,"/index"),I,z);});});});}function D(R,U){if(U.length===0)return R(null,void 0);var te=U[0];c(ae.dirname(te),z);function z(re,ee){if(re)return R(re);if(!ee)return D(R,U.slice(1));J(te,i.package,Q);}function Q(re,ee,de){if(re)return R(re);if(ee)return R(null,ee,de);H(te,i.package,be);}function be(re,ee,de){if(re)return R(re);if(ee)return R(null,ee,de);D(R,U.slice(1));}}function pe(R,U,te){var z=function(){return BL(R,U,i)};D(te,b?b(R,U,z,i):z());}};});var L1=chunkTKGT252T_js.c((XF,GL)=>{GL.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 P1=chunkTKGT252T_js.c((KF,I1)=>{var UL=ar(),A1=L1(),R1={};for(zo in A1)Object.prototype.hasOwnProperty.call(A1,zo)&&(R1[zo]=UL(zo));var zo;I1.exports=R1;});var D1=chunkTKGT252T_js.c((JF,T1)=>{var kL=ar();T1.exports=function(t){return kL(t)};});var M1=chunkTKGT252T_js.c((ZF,$1)=>{var qL=ar(),Rt=chunkTKGT252T_js.a("fs"),ye=chunkTKGT252T_js.a("path"),zL=ka(),WL=qa(),VL=Va(),HL=Ha(),YL=process.platform!=="win32"&&Rt.realpathSync&&typeof Rt.realpathSync.native=="function"?Rt.realpathSync.native:Rt.realpathSync,N1=zL(),XL=function(){return [ye.join(N1,".node_modules"),ye.join(N1,".node_libraries")]},KL=function(t){try{var r=Rt.statSync(t,{throwIfNoEntry:!1});}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return !1;throw n}return !!r&&(r.isFile()||r.isFIFO())},JL=function(t){try{var r=Rt.statSync(t,{throwIfNoEntry:!1});}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return !1;throw n}return !!r&&r.isDirectory()},ZL=function(t){try{return YL(t)}catch(r){if(r.code!=="ENOENT")throw r}return t},Yr=function(t,r,n){return n&&n.preserveSymlinks===!1?t(r):r},QL=function(t,r){var n=t(r);try{var o=JSON.parse(n);return o}catch{}},eA=function(t,r,n){for(var o=VL(r,n,t),i=0;i<o.length;i++)o[i]=ye.join(o[i],t);return o};$1.exports=function(t,r){if(typeof t!="string")throw new TypeError("Path must be a string.");var n=HL(t,r),o=n.isFile||KL,i=n.readFileSync||Rt.readFileSync,s=n.isDirectory||JL,a=n.realpathSync||ZL,c=n.readPackageSync||QL;if(n.readFileSync&&n.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var u=n.packageIterator,l=n.extensions||[".js"],f=n.includeCoreModules!==!1,g=n.basedir||ye.dirname(WL()),b=n.filename||g;n.paths=n.paths||XL();var y=Yr(a,ye.resolve(g),n);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(t)){var p=ye.resolve(y,t);(t==="."||t===".."||t.slice(-1)==="/")&&(p+="/");var x=q(p)||oe(p);if(x)return Yr(a,x,n)}else {if(f&&qL(t))return t;var N=J(t,y);if(N)return Yr(a,N,n)}var j=new Error("Cannot find module '"+t+"' from '"+b+"'");throw j.code="MODULE_NOT_FOUND",j;function q(_){var H=G(ye.dirname(_));if(H&&H.dir&&H.pkg&&n.pathFilter){var D=ye.relative(H.dir,_),pe=n.pathFilter(H.pkg,_,D);pe&&(_=ye.resolve(H.dir,pe));}if(o(_))return _;for(var R=0;R<l.length;R++){var U=_+l[R];if(o(U))return U}}function G(_){if(!(_===""||_==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(_))&&!/[/\\]node_modules[/\\]*$/.test(_)){var H=ye.join(Yr(a,_,n),"package.json");if(!o(H))return G(ye.dirname(_));var D=c(i,H);return D&&n.packageFilter&&(D=n.packageFilter(D,_)),{pkg:D,dir:_}}}function oe(_){var H=ye.join(Yr(a,_,n),"/package.json");if(o(H)){try{var D=c(i,H);}catch{}if(D&&n.packageFilter&&(D=n.packageFilter(D,_)),D&&D.main){if(typeof D.main!="string"){var pe=new TypeError("package \u201C"+D.name+"\u201D `main` must be a string");throw pe.code="INVALID_PACKAGE_MAIN",pe}(D.main==="."||D.main==="./")&&(D.main="index");try{var R=q(ye.resolve(_,D.main));if(R)return R;var U=oe(ye.resolve(_,D.main));if(U)return U}catch{}}}return q(ye.join(_,"/index"))}function J(_,H){for(var D=function(){return eA(_,H,n)},pe=u?u(_,H,D,n):D(),R=0;R<pe.length;R++){var U=pe[R];if(s(ye.dirname(U))){var te=q(U);if(te)return te;var z=oe(U);if(z)return z}}}};});var _1=chunkTKGT252T_js.c((QF,F1)=>{var Wo=C1();Wo.core=P1();Wo.isCore=D1();Wo.sync=M1();F1.exports=Wo;});var B1=chunkTKGT252T_js.c((e_,j1)=>{j1.exports=tA;function tA(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 G1=chunkTKGT252T_js.c((t_,rA)=>{rA.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 z1=chunkTKGT252T_js.c((n_,q1)=>{var U1=P0(),nA=ja(),Vo=n1(),oA=_1().isCore,iA=["dependencies","devDependencies","optionalDependencies"],sA=B1(),Ya=chunkTKGT252T_js.a("url"),lt=G1();q1.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=Vo.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(lt.topLevel).forEach(function(t){e.hasOwnProperty(t)&&this.warn("typo",t,lt.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]):lt.script[t]&&!e.scripts[lt.script[t]]&&this.warn("typo",t,lt.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){hA(e,this.warn),pA(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=Vo.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(!U1.valid(e.version,r))throw new Error('Invalid version: "'+e.version+'"');return e.version=U1.clean(e.version,r),!0},fixPeople:function(e){k1(e,lA),k1(e,fA);},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()),uA(e.name,r,t.allowLegacyCase),oA(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=sA(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=Vo.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}:Ya.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"&&Ya.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=Vo.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;Ya.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"):nA(e.license).validForNewPackages||this.warn("invalidLicense");else return this.warn("missingLicense")}};function aA(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 cA(e){return !e.match(/[\/@\s\+%:]/)&&e===encodeURIComponent(e)}function uA(e,t,r){if(e.charAt(0)==="."||!(aA(e)||cA(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function k1(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 lA(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 fA(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 pA(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 dA(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 hA(e,t){iA.forEach(function(r){e[r]&&(e[r]=dA(e[r],r,t));});}function mA(e,t){e&&Object.keys(e).forEach(function(r){lt.bugs[r]&&(t("typo",r,lt.bugs[r],"bugs"),e[lt.bugs[r]]=e[r],delete e[r]);});}});var W1=chunkTKGT252T_js.c((o_,gA)=>{gA.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 Y1=chunkTKGT252T_js.c((i_,H1)=>{var V1=chunkTKGT252T_js.a("util"),Xa=W1();H1.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t=="typo")return yA.apply(null,e);var r=Xa[t]?Xa[t]:t+": '%s'";return e.unshift(r),V1.format.apply(null,e)};function yA(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),V1.format(Xa.typo,e,t)}});var Za=chunkTKGT252T_js.c((s_,J1)=>{J1.exports=X1;var Ka=z1();X1.fixer=Ka;var bA=Y1(),wA=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],vA=["dependencies","people","typos"],Ja=wA.map(function(e){return K1(e)+"Field"});Ja=Ja.concat(vA);function X1(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),Ka.warn=function(){t(bA.apply(null,arguments));},Ja.forEach(function(n){Ka["fix"+K1(n)](e,r);}),e._id=e.name+"@"+e.version;}function K1(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var tg=chunkTKGT252T_js.c((a_,Qa)=>{var{promisify:SA}=chunkTKGT252T_js.a("util"),Z1=chunkTKGT252T_js.a("fs"),Q1=chunkTKGT252T_js.a("path"),eg=d0(),EA=SA(Z1.readFile);Qa.exports=async e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=Q1.resolve(e.cwd,"package.json"),r=eg(await EA(t,"utf8"));return e.normalize&&Za()(r),r};Qa.exports.sync=e=>{e={cwd:process.cwd(),normalize:!0,...e};let t=Q1.resolve(e.cwd,"package.json"),r=eg(Z1.readFileSync(t,"utf8"));return e.normalize&&Za()(r),r};});var ig=chunkTKGT252T_js.c((c_,ec)=>{var rg=chunkTKGT252T_js.a("path"),ng=Jh(),og=tg();ec.exports=async e=>{let t=await ng("package.json",e);if(t)return {packageJson:await og({...e,cwd:rg.dirname(t)}),path:t}};ec.exports.sync=e=>{let t=ng.sync("package.json",e);if(t)return {packageJson:og.sync({...e,cwd:rg.dirname(t)}),path:t}};});var cg=chunkTKGT252T_js.c((u_,tc)=>{var xA=chunkTKGT252T_js.a("util"),sg=!1,ag=(e=console.error)=>{sg||(sg=!0,process.on("unhandledRejection",t=>{t instanceof Error||(t=new Error(`Promise rejected with value: ${xA.inspect(t)}`)),e(t.stack),process.exit(1);}));};tc.exports=ag;tc.exports.default=ag;});var rc=chunkTKGT252T_js.c((l_,ug)=>{var OA=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};ug.exports=OA;});var nc=chunkTKGT252T_js.c((f_,lg)=>{var CA="2.0.0",LA=Number.MAX_SAFE_INTEGER||9007199254740991,AA=16,RA=256-6,IA=["major","premajor","minor","preminor","patch","prepatch","prerelease"];lg.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:AA,MAX_SAFE_BUILD_LENGTH:RA,MAX_SAFE_INTEGER:LA,RELEASE_TYPES:IA,SEMVER_SPEC_VERSION:CA,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};});var pg=chunkTKGT252T_js.c((tt,fg)=>{var{MAX_SAFE_COMPONENT_LENGTH:oc,MAX_SAFE_BUILD_LENGTH:PA,MAX_LENGTH:TA}=nc(),DA=rc();tt=fg.exports={};var NA=tt.re=[],$A=tt.safeRe=[],O=tt.src=[],C=tt.t={},MA=0,ic="[a-zA-Z0-9-]",FA=[["\\s",1],["\\d",TA],[ic,PA]],_A=e=>{for(let[t,r]of FA)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},B=(e,t,r)=>{let n=_A(t),o=MA++;DA(e,o,t),C[e]=o,O[o]=t,NA[o]=new RegExp(t,r?"g":void 0),$A[o]=new RegExp(n,r?"g":void 0);};B("NUMERICIDENTIFIER","0|[1-9]\\d*");B("NUMERICIDENTIFIERLOOSE","\\d+");B("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ic}*`);B("MAINVERSION",`(${O[C.NUMERICIDENTIFIER]})\\.(${O[C.NUMERICIDENTIFIER]})\\.(${O[C.NUMERICIDENTIFIER]})`);B("MAINVERSIONLOOSE",`(${O[C.NUMERICIDENTIFIERLOOSE]})\\.(${O[C.NUMERICIDENTIFIERLOOSE]})\\.(${O[C.NUMERICIDENTIFIERLOOSE]})`);B("PRERELEASEIDENTIFIER",`(?:${O[C.NUMERICIDENTIFIER]}|${O[C.NONNUMERICIDENTIFIER]})`);B("PRERELEASEIDENTIFIERLOOSE",`(?:${O[C.NUMERICIDENTIFIERLOOSE]}|${O[C.NONNUMERICIDENTIFIER]})`);B("PRERELEASE",`(?:-(${O[C.PRERELEASEIDENTIFIER]}(?:\\.${O[C.PRERELEASEIDENTIFIER]})*))`);B("PRERELEASELOOSE",`(?:-?(${O[C.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${O[C.PRERELEASEIDENTIFIERLOOSE]})*))`);B("BUILDIDENTIFIER",`${ic}+`);B("BUILD",`(?:\\+(${O[C.BUILDIDENTIFIER]}(?:\\.${O[C.BUILDIDENTIFIER]})*))`);B("FULLPLAIN",`v?${O[C.MAINVERSION]}${O[C.PRERELEASE]}?${O[C.BUILD]}?`);B("FULL",`^${O[C.FULLPLAIN]}$`);B("LOOSEPLAIN",`[v=\\s]*${O[C.MAINVERSIONLOOSE]}${O[C.PRERELEASELOOSE]}?${O[C.BUILD]}?`);B("LOOSE",`^${O[C.LOOSEPLAIN]}$`);B("GTLT","((?:<|>)?=?)");B("XRANGEIDENTIFIERLOOSE",`${O[C.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);B("XRANGEIDENTIFIER",`${O[C.NUMERICIDENTIFIER]}|x|X|\\*`);B("XRANGEPLAIN",`[v=\\s]*(${O[C.XRANGEIDENTIFIER]})(?:\\.(${O[C.XRANGEIDENTIFIER]})(?:\\.(${O[C.XRANGEIDENTIFIER]})(?:${O[C.PRERELEASE]})?${O[C.BUILD]}?)?)?`);B("XRANGEPLAINLOOSE",`[v=\\s]*(${O[C.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[C.XRANGEIDENTIFIERLOOSE]})(?:\\.(${O[C.XRANGEIDENTIFIERLOOSE]})(?:${O[C.PRERELEASELOOSE]})?${O[C.BUILD]}?)?)?`);B("XRANGE",`^${O[C.GTLT]}\\s*${O[C.XRANGEPLAIN]}$`);B("XRANGELOOSE",`^${O[C.GTLT]}\\s*${O[C.XRANGEPLAINLOOSE]}$`);B("COERCEPLAIN",`(^|[^\\d])(\\d{1,${oc}})(?:\\.(\\d{1,${oc}}))?(?:\\.(\\d{1,${oc}}))?`);B("COERCE",`${O[C.COERCEPLAIN]}(?:$|[^\\d])`);B("COERCEFULL",O[C.COERCEPLAIN]+`(?:${O[C.PRERELEASE]})?(?:${O[C.BUILD]})?(?:$|[^\\d])`);B("COERCERTL",O[C.COERCE],!0);B("COERCERTLFULL",O[C.COERCEFULL],!0);B("LONETILDE","(?:~>?)");B("TILDETRIM",`(\\s*)${O[C.LONETILDE]}\\s+`,!0);tt.tildeTrimReplace="$1~";B("TILDE",`^${O[C.LONETILDE]}${O[C.XRANGEPLAIN]}$`);B("TILDELOOSE",`^${O[C.LONETILDE]}${O[C.XRANGEPLAINLOOSE]}$`);B("LONECARET","(?:\\^)");B("CARETTRIM",`(\\s*)${O[C.LONECARET]}\\s+`,!0);tt.caretTrimReplace="$1^";B("CARET",`^${O[C.LONECARET]}${O[C.XRANGEPLAIN]}$`);B("CARETLOOSE",`^${O[C.LONECARET]}${O[C.XRANGEPLAINLOOSE]}$`);B("COMPARATORLOOSE",`^${O[C.GTLT]}\\s*(${O[C.LOOSEPLAIN]})$|^$`);B("COMPARATOR",`^${O[C.GTLT]}\\s*(${O[C.FULLPLAIN]})$|^$`);B("COMPARATORTRIM",`(\\s*)${O[C.GTLT]}\\s*(${O[C.LOOSEPLAIN]}|${O[C.XRANGEPLAIN]})`,!0);tt.comparatorTrimReplace="$1$2$3";B("HYPHENRANGE",`^\\s*(${O[C.XRANGEPLAIN]})\\s+-\\s+(${O[C.XRANGEPLAIN]})\\s*$`);B("HYPHENRANGELOOSE",`^\\s*(${O[C.XRANGEPLAINLOOSE]})\\s+-\\s+(${O[C.XRANGEPLAINLOOSE]})\\s*$`);B("STAR","(<|>)?=?\\s*\\*");B("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");B("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");});var hg=chunkTKGT252T_js.c((p_,dg)=>{var jA=Object.freeze({loose:!0}),BA=Object.freeze({}),GA=e=>e?typeof e!="object"?jA:e:BA;dg.exports=GA;});var bg=chunkTKGT252T_js.c((d_,yg)=>{var mg=/^[0-9]+$/,gg=(e,t)=>{let r=mg.test(e),n=mg.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},UA=(e,t)=>gg(t,e);yg.exports={compareIdentifiers:gg,rcompareIdentifiers:UA};});var xg=chunkTKGT252T_js.c((h_,Eg)=>{var Ho=rc(),{MAX_LENGTH:wg,MAX_SAFE_INTEGER:Yo}=nc(),{safeRe:vg,t:Sg}=pg(),kA=hg(),{compareIdentifiers:cr}=bg(),sc=class e{constructor(t,r){if(r=kA(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>wg)throw new TypeError(`version is longer than ${wg} characters`);Ho("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?vg[Sg.LOOSE]:vg[Sg.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>Yo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Yo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Yo||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<Yo)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(Ho("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)),cr(this.major,t.major)||cr(this.minor,t.minor)||cr(this.patch,t.patch)}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(Ho("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 cr(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(Ho("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 cr(n,o)}while(++r)}inc(t,r,n){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"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(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");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]),cr(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}};Eg.exports=sc;});var ac=chunkTKGT252T_js.c((m_,Cg)=>{var Og=xg(),qA=(e,t,r=!1)=>{if(e instanceof Og)return e;try{return new Og(e,t)}catch(n){if(!r)return null;throw n}};Cg.exports=qA;});var Ag=chunkTKGT252T_js.c((g_,Lg)=>{var zA=ac(),WA=(e,t)=>{let r=zA(e,t);return r?r.version:null};Lg.exports=WA;});var Ig=chunkTKGT252T_js.c((y_,Rg)=>{var VA=ac(),HA=(e,t)=>{let r=VA(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};Rg.exports=HA;});var cc=chunkTKGT252T_js.c((b_,Tg)=>{var K=(...e)=>e.every(t=>t)?e.join(""):"",he=e=>e?encodeURIComponent(e):"",Xr={sshtemplate:({domain:e,user:t,project:r,committish:n})=>`git@${e}:${t}/${r}.git${K("#",n)}`,sshurltemplate:({domain:e,user:t,project:r,committish:n})=>`git+ssh://git@${e}/${t}/${r}.git${K("#",n)}`,browsetemplate:({domain:e,user:t,project:r,committish:n,treepath:o})=>`https://${e}/${t}/${r}${K("/",o,"/",he(n))}`,browsefiletemplate:({domain:e,user:t,project:r,committish:n,treepath:o,path:i,fragment:s,hashformat:a})=>`https://${e}/${t}/${r}/${o}/${he(n||"master")}/${i}${K("#",a(s||""))}`,docstemplate:({domain:e,user:t,project:r,treepath:n,committish:o})=>`https://${e}/${t}/${r}${K("/",n,"/",he(o))}#readme`,httpstemplate:({auth:e,domain:t,user:r,project:n,committish:o})=>`git+https://${K(e,"@")}${t}/${r}/${n}.git${K("#",o)}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:o})=>`https://${e}/${t}/${r}/raw/${he(n)||"master"}/${o}`,shortcuttemplate:({type:e,user:t,project:r,committish:n})=>`${e}:${t}/${r}${K("#",n)}`,pathtemplate:({user:e,project:t,committish:r})=>`${e}/${t}${K("#",r)}`,bugstemplate:({domain:e,user:t,project:r})=>`https://${e}/${t}/${r}/issues`,hashformat:Pg},Pe={};Pe.github=Object.assign({},Xr,{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://${K(e,"@")}raw.githubusercontent.com/${t}/${r}/${he(n)||"master"}/${o}`,gittemplate:({auth:e,domain:t,user:r,project:n,committish:o})=>`git://${K(e,"@")}${t}/${r}/${n}.git${K("#",o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://codeload.${e}/${t}/${r}/tar.gz/${he(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}}});Pe.bitbucket=Object.assign({},Xr,{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/${he(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)}}});Pe.gitlab=Object.assign({},Xr,{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://${K(e,"@")}${t}/${r}/${n}.git${K("#",o)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/repository/archive.tar.gz?ref=${he(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)}}});Pe.gist=Object.assign({},Xr,{protocols:["git:","git+ssh:","git+https:","ssh:","https:"],domain:"gist.github.com",sshtemplate:({domain:e,project:t,committish:r})=>`git@${e}:${t}.git${K("#",r)}`,sshurltemplate:({domain:e,project:t,committish:r})=>`git+ssh://git@${e}/${t}.git${K("#",r)}`,browsetemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${K("/",he(r))}`,browsefiletemplate:({domain:e,project:t,committish:r,path:n,hashformat:o})=>`https://${e}/${t}${K("/",he(r))}${K("#",o(n))}`,docstemplate:({domain:e,project:t,committish:r})=>`https://${e}/${t}${K("/",he(r))}`,httpstemplate:({domain:e,project:t,committish:r})=>`git+https://${e}/${t}.git${K("#",r)}`,filetemplate:({user:e,project:t,committish:r,path:n})=>`https://gist.githubusercontent.com/${e}/${t}/raw${K("/",he(r))}/${n}`,shortcuttemplate:({type:e,project:t,committish:r})=>`${e}:${t}${K("#",r)}`,pathtemplate:({project:e,committish:t})=>`${e}${K("#",t)}`,bugstemplate:({domain:e,project:t})=>`https://${e}/${t}`,gittemplate:({domain:e,project:t,committish:r})=>`git://${e}/${t}.git${K("#",r)}`,tarballtemplate:({project:e,committish:t})=>`https://codeload.github.com/gist/${e}/tar.gz/${he(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-"+Pg(e)}});Pe.sourcehut=Object.assign({},Xr,{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}/${he(n||"main")}/${i}${K("#",a(s||""))}`,filetemplate:({domain:e,user:t,project:r,committish:n,path:o})=>`https://${e}/${t}/${r}/blob/${he(n)||"main"}/${o}`,httpstemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}.git${K("#",n)}`,tarballtemplate:({domain:e,user:t,project:r,committish:n})=>`https://${e}/${t}/${r}/archive/${he(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}${K("/",n,"/",he(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 YA=Object.keys(Pe);Pe.byShortcut={};Pe.byDomain={};for(let e of YA)Pe.byShortcut[`${e}:`]=e,Pe.byDomain[Pe[e].domain]=e;function Pg(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}Tg.exports=Pe;});var Ng=chunkTKGT252T_js.c((w_,Dg)=>{var XA=cc(),uc=class{constructor(t,r,n,o,i,s,a={}){Object.assign(this,XA[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)}};Dg.exports=uc;});var Mg=chunkTKGT252T_js.c((v_,$g)=>{$g.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value;};};});var _g=chunkTKGT252T_js.c((S_,Fg)=>{Fg.exports=Y;Y.Node=It;Y.create=Y;function Y(e){var t=this;if(t instanceof Y||(t=new Y),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}Y.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};Y.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++;}};Y.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++;}};Y.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)JA(this,arguments[e]);return this.length};Y.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)ZA(this,arguments[e]);return this.length};Y.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}};Y.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}};Y.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;};Y.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;};Y.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};Y.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};Y.prototype.map=function(e,t){t=t||this;for(var r=new Y,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};Y.prototype.mapReverse=function(e,t){t=t||this;for(var r=new Y,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};Y.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};Y.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};Y.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};Y.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};Y.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 Y;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};Y.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 Y;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};Y.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=KA(this,o,r[n]);return i};Y.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 KA(e,t,r){var n=t===e.head?new It(r,null,t,e):new It(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function JA(e,t){e.tail=new It(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++;}function ZA(e,t){e.head=new It(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++;}function It(e,t,r,n){if(!(this instanceof It))return new It(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{Mg()(Y);}catch{}});var kg=chunkTKGT252T_js.c((E_,Ug)=>{var QA=_g(),Pt=Symbol("max"),nt=Symbol("length"),ur=Symbol("lengthCalculator"),Jr=Symbol("allowStale"),Tt=Symbol("maxAge"),rt=Symbol("dispose"),jg=Symbol("noDisposeOnSet"),le=Symbol("lruList"),Be=Symbol("cache"),Gg=Symbol("updateAgeOnGet"),lc=()=>1,pc=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[Pt]=t.max||1/0;let n=t.length||lc;if(this[ur]=typeof n!="function"?lc:n,this[Jr]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Tt]=t.maxAge||0,this[rt]=t.dispose,this[jg]=t.noDisposeOnSet||!1,this[Gg]=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[Pt]=t||1/0,Kr(this);}get max(){return this[Pt]}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[Tt]=t,Kr(this);}get maxAge(){return this[Tt]}set lengthCalculator(t){typeof t!="function"&&(t=lc),t!==this[ur]&&(this[ur]=t,this[nt]=0,this[le].forEach(r=>{r.length=this[ur](r.value,r.key),this[nt]+=r.length;})),Kr(this);}get lengthCalculator(){return this[ur]}get length(){return this[nt]}get itemCount(){return this[le].length}rforEach(t,r){r=r||this;for(let n=this[le].tail;n!==null;){let o=n.prev;Bg(this,t,n,r),n=o;}}forEach(t,r){r=r||this;for(let n=this[le].head;n!==null;){let o=n.next;Bg(this,t,n,r),n=o;}}keys(){return this[le].toArray().map(t=>t.key)}values(){return this[le].toArray().map(t=>t.value)}reset(){this[rt]&&this[le]&&this[le].length&&this[le].forEach(t=>this[rt](t.key,t.value)),this[Be]=new Map,this[le]=new QA,this[nt]=0;}dump(){return this[le].map(t=>Xo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[le]}set(t,r,n){if(n=n||this[Tt],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let o=n?Date.now():0,i=this[ur](r,t);if(this[Be].has(t)){if(i>this[Pt])return lr(this,this[Be].get(t)),!1;let c=this[Be].get(t).value;return this[rt]&&(this[jg]||this[rt](t,c.value)),c.now=o,c.maxAge=n,c.value=r,this[nt]+=i-c.length,c.length=i,this.get(t),Kr(this),!0}let s=new dc(t,r,i,o,n);return s.length>this[Pt]?(this[rt]&&this[rt](t,r),!1):(this[nt]+=s.length,this[le].unshift(s),this[Be].set(t,this[le].head),Kr(this),!0)}has(t){if(!this[Be].has(t))return !1;let r=this[Be].get(t).value;return !Xo(this,r)}get(t){return fc(this,t,!0)}peek(t){return fc(this,t,!1)}pop(){let t=this[le].tail;return t?(lr(this,t),t.value):null}del(t){lr(this,this[Be].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[Be].forEach((t,r)=>fc(this,r,!1));}},fc=(e,t,r)=>{let n=e[Be].get(t);if(n){let o=n.value;if(Xo(e,o)){if(lr(e,n),!e[Jr])return}else r&&(e[Gg]&&(n.value.now=Date.now()),e[le].unshiftNode(n));return o.value}},Xo=(e,t)=>{if(!t||!t.maxAge&&!e[Tt])return !1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[Tt]&&r>e[Tt]},Kr=e=>{if(e[nt]>e[Pt])for(let t=e[le].tail;e[nt]>e[Pt]&&t!==null;){let r=t.prev;lr(e,t),t=r;}},lr=(e,t)=>{if(t){let r=t.value;e[rt]&&e[rt](r.key,r.value),e[nt]-=r.length,e[Be].delete(r.key),e[le].removeNode(t);}},dc=class{constructor(t,r,n,o,i){this.key=t,this.value=r,this.length=n,this.now=o,this.maxAge=i||0;}},Bg=(e,t,r,n)=>{let o=r.value;Xo(e,o)&&(lr(e,r),e[Jr]||(o=void 0)),o&&t.call(n,o.value,o.key,e);};Ug.exports=pc;});var zg=chunkTKGT252T_js.c((x_,mc)=>{var qg=chunkTKGT252T_js.a("url"),Ko=cc(),e3=mc.exports=Ng(),t3=kg(),hc=new t3({max:1e3}),r3={"git+ssh:":"sshurl","git+https:":"https","ssh:":"sshurl","git:":"git"};function n3(e){return r3[e]||e.slice(0,-1)}var o3={"git:":!0,"https:":!0,"git+https:":!0,"http:":!0,"git+http:":!0},i3=Object.keys(Ko.byShortcut).concat(["http:","https:","git:","git+ssh:","git+https:","ssh:"]);mc.exports.fromUrl=function(e,t){if(typeof e!="string")return;let r=e+JSON.stringify(t||{});return hc.has(r)||hc.set(r,s3(e,t)),hc.get(r)};function s3(e,t){if(!e)return;let r=c3(e)?"github:"+e:a3(e),n=l3(r);if(!n)return n;let o=Ko.byShortcut[n.protocol],i=Ko.byDomain[n.hostname.startsWith("www.")?n.hostname.slice(4):n.hostname],s=o||i;if(!s)return;let a=Ko[o||i],c=null;o3[n.protocol]&&(n.username||n.password)&&(c=`${n.username}${n.password?":"+n.password:""}`);let u=null,l=null,f=null,g=null;try{if(o){let b=n.pathname.startsWith("/")?n.pathname.slice(1):n.pathname,y=b.indexOf("@");y>-1&&(b=b.slice(y+1));let p=b.lastIndexOf("/");p>-1?(l=decodeURIComponent(b.slice(0,p)),l||(l=null),f=decodeURIComponent(b.slice(p+1))):f=decodeURIComponent(b),f.endsWith(".git")&&(f=f.slice(0,-4)),n.hash&&(u=decodeURIComponent(n.hash.slice(1))),g="shortcut";}else {if(!a.protocols.includes(n.protocol))return;let b=a.extract(n);if(!b)return;l=b.user&&decodeURIComponent(b.user),f=decodeURIComponent(b.project),u=decodeURIComponent(b.committish),g=n3(n.protocol);}}catch(b){if(b instanceof URIError)return;throw b}return new e3(s,l,c,f,u,g,t)}var a3=e=>{let t=e.indexOf(":"),r=e.slice(0,t+1);if(i3.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)},c3=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,u=o===-1||t>-1&&o>t,l=n===-1||t>-1&&n>t,f=r>0,g=t>-1?e[t-1]!=="/":!e.endsWith("/"),b=!e.startsWith(".");return a&&f&&g&&b&&c&&u&&l},u3=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},l3=e=>{let t;try{t=new qg.URL(e);}catch{}if(t)return t;let r=u3(e);try{t=new qg.URL(r);}catch{}return t};});var Vg=chunkTKGT252T_js.c((O_,Wg)=>{Wg.exports=f3;function f3(e){if(e&&e!=="ERROR: No README data found!"){e=e.trim().split(`
43
+ `);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 Hg=chunkTKGT252T_js.c((C_,p3)=>{p3.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 Kg=chunkTKGT252T_js.c((L_,Xg)=>{var d3=Ag(),h3=Ig(),m3=ja(),Jo=zg(),g3=ar(),y3=["dependencies","devDependencies","optionalDependencies"],b3=Vg(),gc=chunkTKGT252T_js.a("url"),ft=Hg();Xg.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=Jo.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(ft.topLevel).forEach(function(t){Object.prototype.hasOwnProperty.call(e,t)&&this.warn("typo",t,ft.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]):ft.script[t]&&!e.scripts[ft.script[t]]&&this.warn("typo",t,ft.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){L3(e,this.warn),O3(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=Jo.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(!d3(e.version,r))throw new Error('Invalid version: "'+e.version+'"');return e.version=h3(e.version,r),!0},fixPeople:function(e){Yg(e,E3),Yg(e,x3);},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()),S3(e.name,r,t.allowLegacyCase),g3(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=b3(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=Jo.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}:gc.parse(e.bugs).protocol?e.bugs={url:e.bugs}:this.warn("nonEmailUrlBugsString");else {A3(e.bugs,this.warn);var n=e.bugs;e.bugs={},n.url&&(typeof n.url=="string"&&gc.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=Jo.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;gc.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(!m3(t).validForNewPackages)return this.warn("invalidLicense")}};function w3(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 v3(e){return !e.match(/[/@\s+%:]/)&&e===encodeURIComponent(e)}function S3(e,t,r){if(e.charAt(0)==="."||!(w3(e)||v3(e))||t&&!r&&e!==e.toLowerCase()||e.toLowerCase()==="node_modules"||e.toLowerCase()==="favicon.ico")throw new Error("Invalid name: "+JSON.stringify(e))}function Yg(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 E3(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 x3(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 O3(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 C3(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 L3(e,t){y3.forEach(function(r){e[r]&&(e[r]=C3(e[r],r,t));});}function A3(e,t){e&&Object.keys(e).forEach(function(r){ft.bugs[r]&&(t("typo",r,ft.bugs[r],"bugs"),e[ft.bugs[r]]=e[r],delete e[r]);});}});var Jg=chunkTKGT252T_js.c((A_,R3)=>{R3.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 ey=chunkTKGT252T_js.c((R_,Qg)=>{var Zg=chunkTKGT252T_js.a("util"),yc=Jg();Qg.exports=function(){var e=Array.prototype.slice.call(arguments,0),t=e.shift();if(t==="typo")return I3.apply(null,e);var r=yc[t]?yc[t]:t+": '%s'";return e.unshift(r),Zg.format.apply(null,e)};function I3(e,t,r){return r&&(e=r+"['"+e+"']",t=r+"['"+t+"']"),Zg.format(yc.typo,e,t)}});var oy=chunkTKGT252T_js.c((I_,ny)=>{ny.exports=ty;var bc=Kg();ty.fixer=bc;var P3=ey(),T3=["name","version","description","repository","modules","scripts","files","bin","man","bugs","keywords","readme","homepage","license"],D3=["dependencies","people","typos"],wc=T3.map(function(e){return ry(e)+"Field"});wc=wc.concat(D3);function ty(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),bc.warn=function(){t(P3.apply(null,arguments));},wc.forEach(function(n){bc["fix"+ry(n)](e,r);}),e._id=e.name+"@"+e.version;}function ry(e){return e.charAt(0).toUpperCase()+e.slice(1)}});var Q3=chunkTKGT252T_js.c((P_,Zr)=>{var N3=chunkTKGT252T_js.a("path"),$3=Qd(),M3=ah(),F3=vh(),_3=Vs(),j3=Ch(),B3=Lh(),G3=$h(),U3=ig(),k3=cg(),q3=oy();delete chunkTKGT252T_js.a.cache[__filename];var z3=N3.dirname(Zr.parent&&Zr.parent.filename?Zr.parent.filename:"."),W3=(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},V3=(e,t,r)=>{let n=[];if(typeof e>"u")return [];for(let o of Object.keys(e))e[o].isRequired&&W3(o,e,t,r)&&n.push({key:o,...e[o]});return n},H3=e=>{console.error(`Missing required flag${e.length>1?"s":""}`);for(let t of e)console.error(` --${_3(t.key,"-")}${t.alias?`, -${t.alias}`:""}`);},Y3=({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(", ")}`)},X3=e=>{console.error([`Unknown flag${e.length>1?"s":""}`,...e].join(`
44
+ `));},K3=({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},J3=(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.`)},Z3=(e,t)=>{typeof e!="string"&&(t=e,e="");let r=U3.sync({cwd:z3,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&&k3(),Y3(t);let n={arguments:t.input,...K3(t)};n=j3(n,"-",{exclude:["stopEarly","--"]}),t.inferType&&delete n.arguments,n=$3(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=M3(t.argv,n),s=G3(B3((t.help||"").replace(/\t+\n*$/,"")),2);q3(o),process.title=o.bin?Object.keys(o.bin)[0]:o.name;let{description:a}=t;!a&&a!==!1&&({description:a}=o),s=(a?`
45
+ ${a}
46
+ `:"")+(s?`
47
+ ${s}
48
+ `:`
49
+ `);let c=y=>{console.log(s),process.exit(typeof y=="number"?y:2);},u=()=>{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&&u(),i.help===!0&&t.autoHelp&&c(0));let l=i._;if(delete i._,!t.allowUnknownFlags){let y=l.filter(p=>typeof p=="string"&&p.startsWith("-"));y.length>0&&(X3(y),process.exit(2));}let f=F3(i,{exclude:["--",/^\w$/]}),g={...f};J3(f,t);for(let y of Object.values(t.flags))delete f[y.alias];let b=V3(t.flags,f,l);return b.length>0&&(H3(b),process.exit(2)),{input:l,flags:f,unnormalizedFlags:g,pkg:o,help:s,showHelp:c,showVersion:u}};Zr.exports=Z3;});var sy=chunkTKGT252T_js.c((M_,iy)=>{iy.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 Sc=chunkTKGT252T_js.c((F_,cy)=>{var Qr=sy(),ay={};for(let e of Object.keys(Qr))ay[Qr[e]]=e;var T={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"]}};cy.exports=T;for(let e of Object.keys(T)){if(!("channels"in T[e]))throw new Error("missing channels property: "+e);if(!("labels"in T[e]))throw new Error("missing channel labels property: "+e);if(T[e].labels.length!==T[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=T[e];delete T[e].channels,delete T[e].labels,Object.defineProperty(T[e],"channels",{value:t}),Object.defineProperty(T[e],"labels",{value:r});}T.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 u=(o+i)/2;return i===o?c=0:u<=.5?c=s/(i+o):c=s/(2-i-o),[a,c*100,u*100]};T.rgb.hsv=function(e){let t,r,n,o,i,s=e[0]/255,a=e[1]/255,c=e[2]/255,u=Math.max(s,a,c),l=u-Math.min(s,a,c),f=function(g){return (u-g)/6/l+1/2};return l===0?(o=0,i=0):(i=l/u,t=f(s),r=f(a),n=f(c),s===u?o=n-r:a===u?o=1/3+t-n:c===u&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,u*100]};T.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],o=T.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]};T.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 rR(e,t){return (e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}T.rgb.keyword=function(e){let t=ay[e];if(t)return t;let r=1/0,n;for(let o of Object.keys(Qr)){let i=Qr[o],s=rR(e,i);s<r&&(r=s,n=o);}return n};T.keyword.rgb=function(e){return Qr[e]};T.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]};T.rgb.lab=function(e){let t=T.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]};T.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 u=0;u<3;u++)i=t+1/3*-(u-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[u]=s*255;return c};T.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]};T.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]}};T.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]};T.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),u,l,f;switch(s){default:case 6:case 0:u=a,l=c,f=r;break;case 1:u=c,l=a,f=r;break;case 2:u=r,l=a,f=c;break;case 3:u=r,l=c,f=a;break;case 4:u=c,l=r,f=a;break;case 5:u=a,l=r,f=c;break}return [u*255,l*255,f*255]};T.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]};T.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]};T.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]};T.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,u=s**3;return i=a>.008856?a:(i-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=u>.008856?u:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]};T.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]};T.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]};T.rgb.ansi16=function(e,t=null){let[r,n,o]=e,i=t===null?T.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};T.hsv.ansi16=function(e){return T.rgb.ansi16(T.hsv.rgb(e),e[2])};T.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)};T.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]};T.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]};T.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};T.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]};T.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]};T.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]};T.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]};T.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]};T.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]};T.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]};T.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]};T.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]};T.apple.rgb=function(e){return [e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};T.rgb.apple=function(e){return [e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};T.gray.rgb=function(e){return [e[0]/100*255,e[0]/100*255,e[0]/100*255]};T.gray.hsl=function(e){return [0,0,e[0]]};T.gray.hsv=T.gray.hsl;T.gray.hwb=function(e){return [0,100,e[0]]};T.gray.cmyk=function(e){return [0,0,0,e[0]]};T.gray.lab=function(e){return [e[0],0,0]};T.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};T.rgb.gray=function(e){return [(e[0]+e[1]+e[2])/3/255*100]};});var ly=chunkTKGT252T_js.c((__,uy)=>{var Zo=Sc();function nR(){let e={},t=Object.keys(Zo);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function oR(e){let t=nR(),r=[e];for(t[e].distance=0;r.length;){let n=r.pop(),o=Object.keys(Zo[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 iR(e,t){return function(r){return t(e(r))}}function sR(e,t){let r=[t[e].parent,e],n=Zo[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),n=iR(Zo[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}uy.exports=function(e){let t=oR(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]=sR(s,t));}return r};});var py=chunkTKGT252T_js.c((j_,fy)=>{var Ec=Sc(),aR=ly(),fr={},cR=Object.keys(Ec);function uR(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 lR(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}cR.forEach(e=>{fr[e]={},Object.defineProperty(fr[e],"channels",{value:Ec[e].channels}),Object.defineProperty(fr[e],"labels",{value:Ec[e].labels});let t=aR(e);Object.keys(t).forEach(n=>{let o=t[n];fr[e][n]=lR(o),fr[e][n].raw=uR(o);});});fy.exports=fr;});var by=chunkTKGT252T_js.c((B_,yy)=>{var dy=(e,t)=>(...r)=>`\x1B[${e(...r)+t}m`,hy=(e,t)=>(...r)=>{let n=e(...r);return `\x1B[${38+t};5;${n}m`},my=(e,t)=>(...r)=>{let n=e(...r);return `\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},Qo=e=>e,gy=(e,t,r)=>[e,t,r],pr=(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});},xc,dr=(e,t,r,n)=>{xc===void 0&&(xc=py());let o=n?10:0,i={};for(let[s,a]of Object.entries(xc)){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 fR(){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",pr(t.color,"ansi",()=>dr(dy,"ansi16",Qo,!1)),pr(t.color,"ansi256",()=>dr(hy,"ansi256",Qo,!1)),pr(t.color,"ansi16m",()=>dr(my,"rgb",gy,!1)),pr(t.bgColor,"ansi",()=>dr(dy,"ansi16",Qo,!0)),pr(t.bgColor,"ansi256",()=>dr(hy,"ansi256",Qo,!0)),pr(t.bgColor,"ansi16m",()=>dr(my,"rgb",gy,!0)),t}Object.defineProperty(yy,"exports",{enumerable:!0,get:fR});});var vy=chunkTKGT252T_js.c((G_,wy)=>{wy.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 xy=chunkTKGT252T_js.c((U_,Ey)=>{var pR=chunkTKGT252T_js.a("os"),Sy=chunkTKGT252T_js.a("tty"),Te=vy(),{env:fe}=process,pt;Te("no-color")||Te("no-colors")||Te("color=false")||Te("color=never")?pt=0:(Te("color")||Te("colors")||Te("color=true")||Te("color=always"))&&(pt=1);"FORCE_COLOR"in fe&&(fe.FORCE_COLOR==="true"?pt=1:fe.FORCE_COLOR==="false"?pt=0:pt=fe.FORCE_COLOR.length===0?1:Math.min(parseInt(fe.FORCE_COLOR,10),3));function Oc(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Cc(e,t){if(pt===0)return 0;if(Te("color=16m")||Te("color=full")||Te("color=truecolor"))return 3;if(Te("color=256"))return 2;if(e&&!t&&pt===void 0)return 0;let r=pt||0;if(fe.TERM==="dumb")return r;if(process.platform==="win32"){let n=pR.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in fe)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in fe)||fe.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in fe)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fe.TEAMCITY_VERSION)?1:0;if(fe.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in fe){let n=parseInt((fe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fe.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(fe.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fe.TERM)||"COLORTERM"in fe?1:r}function dR(e){let t=Cc(e,e&&e.isTTY);return Oc(t)}Ey.exports={supportsColor:dR,stdout:Oc(Cc(!0,Sy.isatty(1))),stderr:Oc(Cc(!0,Sy.isatty(2)))};});var Cy=chunkTKGT252T_js.c((k_,Oy)=>{var hR=(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},mR=(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
50
+ `:`
51
+ `)+r,o=n+1,n=e.indexOf(`
52
+ `,o);}while(n!==-1);return i+=e.substr(o),i};Oy.exports={stringReplaceAll:hR,stringEncaseCRLFWithFirstIndex:mR};});var Py=chunkTKGT252T_js.c((q_,Iy)=>{var gR=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Ly=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,yR=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,bR=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,wR=new Map([["n",`
53
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Ry(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)):wR.get(e)||e}function vR(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(yR))r.push(o[2].replace(bR,(a,c,u)=>c?Ry(c):u));else throw new Error(`Invalid Chalk template style argument: ${i} (in style '${e}')`)}return r}function SR(e){Ly.lastIndex=0;let t=[],r;for(;(r=Ly.exec(e))!==null;){let n=r[1];if(r[2]){let o=vR(n,r[2]);t.push([n].concat(o));}else t.push([n]);}return t}function Ay(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}Iy.exports=(e,t)=>{let r=[],n=[],o=[];if(t.replace(gR,(i,s,a,c,u,l)=>{if(s)o.push(Ry(s));else if(c){let f=o.join("");o=[],n.push(r.length===0?f:Ay(e,r)(f)),r.push({inverse:a,styles:SR(c)});}else if(u){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(Ay(e,r)(o.join(""))),o=[],r.pop();}else o.push(l);}),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 _y=chunkTKGT252T_js.c((z_,Fy)=>{var en=by(),{stdout:Ac,stderr:Rc}=xy(),{stringReplaceAll:ER,stringEncaseCRLFWithFirstIndex:xR}=Cy(),{isArray:ei}=Array,Dy=["ansi","ansi","ansi256","ansi16m"],hr=Object.create(null),OR=(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=Ac?Ac.level:0;e.level=t.level===void 0?r:t.level;},Ic=class{constructor(t){return Ny(t)}},Ny=e=>{let t={};return OR(t,e),t.template=(...r)=>My(t.template,...r),Object.setPrototypeOf(t,ti.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 ti(e){return Ny(e)}for(let[e,t]of Object.entries(en))hr[e]={get(){let r=ri(this,Pc(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};hr.visible={get(){let e=ri(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var $y=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of $y)hr[e]={get(){let{level:t}=this;return function(...r){let n=Pc(en.color[Dy[t]][e](...r),en.color.close,this._styler);return ri(this,n,this._isEmpty)}}};for(let e of $y){let t="bg"+e[0].toUpperCase()+e.slice(1);hr[t]={get(){let{level:r}=this;return function(...n){let o=Pc(en.bgColor[Dy[r]][e](...n),en.bgColor.close,this._styler);return ri(this,o,this._isEmpty)}}};}var CR=Object.defineProperties(()=>{},{...hr,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e;}}}),Pc=(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}},ri=(e,t,r)=>{let n=(...o)=>ei(o[0])&&ei(o[0].raw)?Ty(n,My(n,...o)):Ty(n,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(n,CR),n._generator=e,n._styler=t,n._isEmpty=r,n},Ty=(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=ER(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
54
+ `);return i!==-1&&(t=xR(t,o,n,i)),n+t+o},Lc,My=(e,...t)=>{let[r]=t;if(!ei(r)||!ei(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 Lc===void 0&&(Lc=Py()),Lc(e,o.join(""))};Object.defineProperties(ti.prototype,hr);var ni=ti();ni.supportsColor=Ac;ni.stderr=ti({level:Rc?Rc.level:0});ni.stderr.supportsColor=Rc;Fy.exports=ni;});var LR=chunkTKGT252T_js.c(tn=>{Object.defineProperty(tn,"__esModule",{value:!0});tn.dedent=void 0;function jy(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 u=c.match(/\n[\t ]+/g);return u?a.concat(u.map(function(l){return l.length-1})):a},[]);if(o.length){var i=new RegExp(`
55
+ [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(a){return a.replace(i,`
56
+ `)});}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(a,c){s+=a+n[c+1];}),s}tn.dedent=jy;tn.default=jy;});var Dc=({file:e,commandArguments:t})=>$c(e,t),Nc=({file:e,commandArguments:t})=>({...$c(e,t),isSync:!0}),$c=(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]=Mc(e);return {file:r,commandArguments:n}},Mc=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(Gy)){let o=r.at(-1);o&&o.endsWith("\\")?r[r.length-1]=`${o.slice(0,-1)} ${n}`:r.push(n);}return r},Gy=/ +/g;function ie(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 Nt=(e,t)=>{let r=si(ky(e));if(typeof r!="string")throw new TypeError(`${t} must be a string or a file URL: ${r}.`);return r},ky=e=>ii(e)?e.toString():e,ii=e=>typeof e!="string"&&e&&Object.getPrototypeOf(e)===String.prototype,si=e=>e instanceof URL?url.fileURLToPath(e):e;var on=(e,t=[],r={})=>{let n=Nt(e,"First argument"),[o,i]=ie(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(!ie(i))throw new TypeError(`Last argument must be an options object: ${i}`);return [n,s,i]};var{toString:Fc}=Object.prototype,_c=e=>Fc.call(e)==="[object ArrayBuffer]",ce=e=>Fc.call(e)==="[object Uint8Array]",Xe=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),zy=new TextEncoder,jc=e=>zy.encode(e),Wy=new TextDecoder,sn=e=>Wy.decode(e),Bc=(e,t)=>Vy(e,t).join(""),Vy=(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"?jc(i):i).map(i=>r.write(i)),o=r.end();return o===""?n:[...n,o]},mr=e=>e.length===1&&ce(e[0])?e[0]:ai(Hy(e)),Hy=e=>e.map(t=>typeof t=="string"?jc(t):t),ai=e=>{let t=new Uint8Array(Yy(e)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t},Yy=e=>{let t=0;for(let r of e)t+=r.length;return t};var qc=e=>Array.isArray(e)&&Array.isArray(e.raw),zc=(e,t)=>{let r=[];for(let[i,s]of e.entries())r=Ky({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,{}]},Ky=({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}=Jy(o,e.raw[n]),c=Uc(r,i,s);if(n===t.length)return c;let u=t[n],l=Array.isArray(u)?u.map(f=>kc(f)):[kc(u)];return Uc(c,l,a)},Jy=(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 u=t[a+1];u===`
57
+ `?(s-=1,a+=1):u==="u"&&t[a+2]==="{"?a=t.indexOf("}",a+3):a+=Zy[u]??1;}}let i=n===e.length;return i||r.push(e.slice(n)),{nextTokens:r,leadingWhitespaces:o,trailingWhitespaces:i}},Gc=new Set([" "," ","\r",`
58
+ `]),Zy={x:3,u:5},Uc=(e,t,r)=>r||e.length===0||t.length===0?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],kc=e=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(ie(e)&&("stdout"in e||"isMaxBuffer"in e))return Qy(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`)},Qy=({stdout:e})=>{if(typeof e=="string")return e;if(ce(e))return sn(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 Ne=e=>an.includes(e),an=[Sn__default.default.stdin,Sn__default.default.stdout,Sn__default.default.stderr],Ae=["stdin","stdout","stderr"],cn=e=>Ae[e]??`stdio[${e}]`;var Vc=e=>{let t={...e};for(let r of fi)t[r]=ui(e,r);return t},ui=(e,t)=>{let r=Array.from({length:tb(e)+1}),n=rb(e[t],r,t);return ab(n,t)},tb=({stdio:e})=>Array.isArray(e)?Math.max(e.length,Ae.length):Ae.length,rb=(e,t,r)=>ie(e)?nb(e,t,r):t.fill(e),nb=(e,t,r)=>{for(let n of Object.keys(e).sort(ob))for(let o of ib(n,r,t))t[o]=e[n];return t},ob=(e,t)=>Wc(e)<Wc(t)?1:-1,Wc=e=>e==="stdout"||e==="stderr"?0:e==="all"?2:1,ib=(e,t,r)=>{if(e==="ipc")return [r.length-1];let n=li(e);if(n===void 0||n===0)throw new TypeError(`"${t}.${e}" is invalid.
59
+ 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.
60
+ Please set the "stdio" option to ensure that file descriptor exists.`);return n==="all"?[1,2]:[n]},li=e=>{if(e==="all")return e;if(Ae.includes(e))return Ae.indexOf(e);let t=sb.exec(e);if(t!==null)return Number(t[1])},sb=/^fd(\d+)$/,ab=(e,t)=>e.map(r=>r===void 0?ub[t]:r),cb=util.debuglog("execa").enabled?"full":"none",ub={lines:!1,buffer:!0,maxBuffer:1e3*1e3*100,verbose:cb,stripFinalNewline:!0},fi=["lines","buffer","maxBuffer","verbose","stripFinalNewline"],Ke=(e,t)=>t==="ipc"?e.at(-1):e[t];var $t=({verbose:e},t)=>pi(e,t)!=="none",Mt=({verbose:e},t)=>!["none","short"].includes(pi(e,t)),Hc=({verbose:e},t)=>{let r=pi(e,t);return un(r)?r:void 0},pi=(e,t)=>t===void 0?lb(e):Ke(e,t),lb=e=>e.find(t=>un(t))??ln.findLast(t=>e.includes(t)),un=e=>typeof e=="function",ln=["none","short","full"];var Yc=(e,t)=>{let r=[e,...t],n=r.join(" "),o=r.map(i=>bb(Xc(i))).join(" ");return {command:n,escapedCommand:o}},gr=e=>util.stripVTControlCharacters(e).split(`
61
+ `).map(t=>Xc(t)).join(`
62
+ `),Xc=e=>e.replaceAll(mb,t=>db(t)),db=e=>{let t=gb[e];if(t!==void 0)return t;let r=e.codePointAt(0),n=r.toString(16);return r<=yb?`\\u${n.padStart(4,"0")}`:`\\U${n}`},hb=()=>{try{return new RegExp("\\p{Separator}|\\p{Other}","gu")}catch{return /[\s\u0000-\u001F\u007F-\u009F\u00AD]/g}},mb=hb(),gb={" ":" ","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},yb=65535,bb=e=>wb.test(e)?e:Sn.platform==="win32"?`"${e.replaceAll('"','""')}"`:`'${e.replaceAll("'","'\\''")}'`,wb=/^[\w./-]+$/;function di(){let{env:e}=Sn__default.default,{TERM:t,TERM_PROGRAM:r}=e;return Sn__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 Jc={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"},Zc={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"},vb={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"},Sb={...Jc,...Zc},Eb={...Jc,...vb},xb=di(),Ob=xb?Sb:Eb,fn=Ob;var Qc,eu,pn,tu,Lb=((tu=(pn=(eu=(Qc=Cb__default.default)==null?void 0:Qc.WriteStream)==null?void 0:eu.prototype)==null?void 0:pn.hasColors)==null?void 0:tu.call(pn))??!1,k=(e,t)=>{if(!Lb)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,l=(t===22?n:"")+r;for(;s!==-1;)a+=i.slice(c,s)+l,c=s+n.length,s=i.indexOf(n,c);return a+=i.slice(c)+n,a}},ru=k(1,22),dn=k(90,39),nu=k(91,39),ou=k(93,39);var au=({type:e,message:t,timestamp:r,piped:n,commandId:o,result:{failed:i=!1}={},options:{reject:s=!0}})=>{let a=Ab(r),c=Rb[e]({failed:i,reject:s,piped:n}),u=Ib[e]({reject:s});return `${dn(`[${a}]`)} ${dn(`[${o}]`)} ${u(c)} ${u(t)}`},Ab=e=>`${hn(e.getHours(),2)}:${hn(e.getMinutes(),2)}:${hn(e.getSeconds(),2)}.${hn(e.getMilliseconds(),3)}`,hn=(e,t)=>String(e).padStart(t,"0"),iu=({failed:e,reject:t})=>e?t?fn.cross:fn.warning:fn.tick,Rb={command:({piped:e})=>e?"|":"$",output:()=>" ",ipc:()=>"*",error:iu,duration:iu},su=e=>e,Ib={command:()=>ru,output:()=>su,ipc:()=>su,error:({reject:e})=>e?nu:ou,duration:()=>dn};var cu=(e,t,r)=>{let n=Hc(t,r);return e.map(({verboseLine:o,verboseObject:i})=>Pb(o,i,n)).filter(o=>o!==void 0).map(o=>Tb(o)).join("")},Pb=(e,t,r)=>{if(r===void 0)return e;let n=r(e,t);if(typeof n=="string")return n},Tb=e=>e.endsWith(`
63
+ `)?e:`${e}
64
+ `;var Ue=({type:e,verboseMessage:t,fdNumber:r,verboseInfo:n,result:o})=>{let i=Nb({type:e,result:o,verboseInfo:n}),s=$b(t,i),a=cu(s,n,r);a!==""&&console.warn(a.slice(0,-1));},Nb=({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}),$b=(e,t)=>e.split(`
65
+ `).map(r=>Mb({...t,message:r})),Mb=e=>({verboseLine:au(e),verboseObject:e}),mn=e=>{let t=typeof e=="string"?e:util.inspect(e);return gr(t).replaceAll(" "," ".repeat(Fb))},Fb=2;var uu=(e,t)=>{$t(t)&&Ue({type:"command",verboseMessage:e,verboseInfo:t});};var lu=(e,t,r)=>{Bb(e);let n=_b(e);return {verbose:e,escapedCommand:t,commandId:n,rawOptions:r}},_b=e=>$t({verbose:e})?jb++:void 0,jb=0n,Bb=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(!ln.includes(t)&&!un(t)){let r=ln.map(n=>`'${n}'`).join(", ");throw new TypeError(`The "verbose" option must not be ${t}. Allowed values are: ${r} or a function.`)}}};var gn=()=>Sn.hrtime.bigint(),hi=e=>Number(Sn.hrtime.bigint()-e)/1e6;var yn=(e,t,r)=>{let n=gn(),{command:o,escapedCommand:i}=Yc(e,t),s=ui(r,"verbose"),a=lu(s,i,{...r});return uu(i,a),{command:o,escapedCommand:i,startTime:n,verboseInfo:a}};var ff=chunkTKGT252T_js.e(Qu(),1);function wn(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 vn(e){return e instanceof URL?url.fileURLToPath(e):e}function tl(e){return {*[Symbol.iterator](){let t=mt__default.default.resolve(vn(e)),r;for(;r!==t;)yield t,r=t,t=mt__default.default.resolve(t,"..");}}}var m2=({cwd:e=Sn__default.default.cwd(),path:t=Sn__default.default.env[wn()],preferLocal:r=!0,execPath:n=Sn__default.default.execPath,addExecPath:o=!0}={})=>{let i=mt__default.default.resolve(vn(e)),s=[],a=t.split(mt__default.default.delimiter);return r&&g2(s,a,i),o&&y2(s,a,n,i),t===""||t===mt__default.default.delimiter?`${s.join(mt__default.default.delimiter)}${t}`:[...s,t].join(mt__default.default.delimiter)},g2=(e,t,r)=>{for(let n of tl(r)){let o=mt__default.default.join(n,"node_modules/.bin");t.includes(o)||e.push(o);}},y2=(e,t,r,n)=>{let o=mt__default.default.resolve(n,vn(r),"..");t.includes(o)||e.push(o);},rl=({env:e=Sn__default.default.env,...t}={})=>{e={...e};let r=wn({env:e});return t.path=e[r],e[r]=m2(t),e};var nl=(e,t,r)=>{let n=r?br:yr,o=e instanceof $e?{}:{cause:e};return new n(t,o)},$e=class extends Error{},ol=(e,t)=>{Object.defineProperty(e.prototype,"name",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,sl,{value:!0,writable:!1,enumerable:!1,configurable:!1});},il=e=>En(e)&&sl in e,sl=Symbol("isExecaError"),En=e=>Object.prototype.toString.call(e)==="[object Error]",yr=class extends Error{};ol(yr,yr.name);var br=class extends Error{};ol(br,br.name);var al=()=>{let e=ul-cl+1;return Array.from({length:e},b2)},b2=(e,t)=>({name:`SIGRT${t+1}`,number:cl+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),cl=34,ul=64;var ll=[{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 Oi=()=>{let e=al();return [...ll,...e].map(v2)},v2=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{let{signals:{[e]:s}}=os.constants,a=s!==void 0;return {name:e,number:a?s:t,description:r,supported:a,action:n,forced:o,standard:i}};var E2=()=>{let e=Oi();return Object.fromEntries(e.map(x2))},x2=({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}],fl=E2(),O2=()=>{let e=Oi(),t=64+1,r=Array.from({length:t},(n,o)=>C2(o,e));return Object.assign({},...r)},C2=(e,t)=>{let r=L2(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}}},L2=(e,t)=>{let r=t.find(({name:n})=>os.constants.signals[n]===e);return r!==void 0?r:t.find(n=>n.number===e)};O2();var dl=e=>{let t="option `killSignal`";if(e===0)throw new TypeError(`Invalid ${t}: 0 cannot be used.`);return ml(e,t)},hl=e=>e===0?e:ml(e,"`subprocess.kill()`'s argument"),ml=(e,t)=>{if(Number.isInteger(e))return A2(e,t);if(typeof e=="string")return I2(e,t);throw new TypeError(`Invalid ${t} ${String(e)}: it must be a string or an integer.
66
+ ${Ci()}`)},A2=(e,t)=>{if(pl.has(e))return pl.get(e);throw new TypeError(`Invalid ${t} ${e}: this signal integer does not exist.
67
+ ${Ci()}`)},R2=()=>new Map(Object.entries(os.constants.signals).reverse().map(([e,t])=>[t,e])),pl=R2(),I2=(e,t)=>{if(e in os.constants.signals)return e;throw e.toUpperCase()in os.constants.signals?new TypeError(`Invalid ${t} '${e}': please rename it to '${e.toUpperCase()}'.`):new TypeError(`Invalid ${t} '${e}': this signal name does not exist.
68
+ ${Ci()}`)},Ci=()=>`Available signal names: ${P2()}.
69
+ Available signal numbers: ${T2()}.`,P2=()=>Object.keys(os.constants.signals).sort().map(e=>`'${e}'`).join(", "),T2=()=>[...new Set(Object.values(os.constants.signals).sort((e,t)=>e-t))].join(", "),xn=e=>fl[e].description;var gl=e=>{if(e===!1)return e;if(e===!0)return N2;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},N2=1e3*5,yl=({kill:e,options:{forceKillAfterDelay:t,killSignal:r},onInternalError:n,context:o,controller:i},s,a)=>{let{signal:c,error:u}=$2(s,a,r);M2(u,n);let l=e(c);return F2({kill:e,signal:c,forceKillAfterDelay:t,killSignal:r,killResult:l,context:o,controller:i}),l},$2=(e,t,r)=>{let[n=r,o]=En(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&&!En(o))throw new TypeError(`The second argument is optional. If specified, it must be an error instance: ${o}`);return {signal:hl(n),error:o}},M2=(e,t)=>{e!==void 0&&t.reject(e);},F2=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 On=async(e,t)=>{e.aborted||await events.once(e,"abort",{signal:t});};var bl=({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)}`)},wl=({subprocess:e,cancelSignal:t,gracefulCancel:r,context:n,controller:o})=>t===void 0||r?[]:[j2(e,t,n,o)],j2=async(e,t,r,{signal:n})=>{throw await On(t,n),r.terminationReason??="cancel",e.kill(),t.reason};var jt=({methodName:e,isSubprocess:t,ipc:r,isConnected:n})=>{B2(e,t,r),Ai(e,t,n);},B2=(e,t,r)=>{if(!r)throw new Error(`${Me(e,t)} can only be used if the \`ipc\` option is \`true\`.`)},Ai=(e,t,r)=>{if(!r)throw new Error(`${Me(e,t)} cannot be used: the ${it(t)} has already exited or disconnected.`)},vl=e=>{throw new Error(`${Me("getOneMessage",e)} could not complete: the ${it(e)} exited or disconnected.`)},Sl=e=>{throw new Error(`${Me("sendMessage",e)} failed: the ${it(e)} is sending a message too, instead of listening to incoming messages.
70
+ This can be fixed by both sending a message and listening to incoming messages at the same time:
71
+
72
+ const [receivedMessage] = await Promise.all([
73
+ ${Me("getOneMessage",e)},
74
+ ${Me("sendMessage",e,"message, {strict: true}")},
75
+ ]);`)},Cn=(e,t)=>new Error(`${Me("sendMessage",t)} failed when sending an acknowledgment response to the ${it(t)}.`,{cause:e}),El=e=>{throw new Error(`${Me("sendMessage",e)} failed: the ${it(e)} is not listening to incoming messages.`)},xl=e=>{throw new Error(`${Me("sendMessage",e)} failed: the ${it(e)} exited without listening to incoming messages.`)},Ol=()=>new Error(`\`cancelSignal\` aborted: the ${it(!0)} disconnected.`),Cl=()=>{throw new Error("`getCancelSignal()` cannot be used without setting the `cancelSignal` subprocess option.")},Ll=({error:e,methodName:t,isSubprocess:r})=>{if(e.code==="EPIPE")throw new Error(`${Me(t,r)} cannot be used: the ${it(r)} is disconnecting.`,{cause:e})},Al=({error:e,methodName:t,isSubprocess:r,message:n})=>{if(G2(e))throw new Error(`${Me(t,r)}'s argument type is invalid: the message cannot be serialized: ${String(n)}.`,{cause:e})},G2=({code:e,message:t})=>U2.has(e)||k2.some(r=>t.includes(r)),U2=new Set(["ERR_MISSING_ARGS","ERR_INVALID_ARG_TYPE"]),k2=["could not be cloned","circular structure","call stack size exceeded"],Me=(e,t,r="")=>e==="cancelSignal"?"`cancelSignal`'s `controller.abort()`":`${q2(t)}${e}(${r})`,q2=e=>e?"":"subprocess.",it=e=>e?"parent process":"subprocess",Bt=e=>{e.connected&&e.disconnect();};var ke=()=>{let e={},t=new Promise((r,n)=>{Object.assign(e,{resolve:r,reject:n});});return Object.assign(t,e)};var An=(e,t="stdin")=>{let{options:n,fileDescriptors:o}=qe.get(e),i=Rl(o,t,!0),s=e.stdio[i];if(s===null)throw new TypeError(Il(i,t,n,!0));return s},Gt=(e,t="stdout")=>{let{options:n,fileDescriptors:o}=qe.get(e),i=Rl(o,t,!1),s=i==="all"?e.all:e.stdio[i];if(s==null)throw new TypeError(Il(i,t,n,!1));return s},qe=new WeakMap,Rl=(e,t,r)=>{let n=z2(t,r);return W2(n,t,r,e),n},z2=(e,t)=>{let r=li(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(`"${vr(t)}" must not be "${e}".
76
+ It must be ${n} or "fd3", "fd4" (and so on).
77
+ It is optional and defaults to "${o}".`)},W2=(e,t,r,n)=>{let o=n[Pl(e)];if(o===void 0)throw new TypeError(`"${vr(r)}" must not be ${t}. That file descriptor does not exist.
78
+ Please set the "stdio" option to ensure that file descriptor exists.`);if(o.direction==="input"&&!r)throw new TypeError(`"${vr(r)}" must not be ${t}. It must be a readable stream, not writable.`);if(o.direction!=="input"&&r)throw new TypeError(`"${vr(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}=V2(e,r);return `The "${o}: ${Ln(i)}" option is incompatible with using "${vr(n)}: ${Ln(t)}".
79
+ Please set this option with "pipe" instead.`},V2=(e,{stdin:t,stdout:r,stderr:n,stdio:o})=>{let i=Pl(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]}},Pl=e=>e==="all"?1:e,vr=e=>e?"to":"from",Ln=e=>typeof e=="string"?`'${e}'`:typeof e=="number"?`${e}`:"Stream";var gt=(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 Rn=(e,t)=>{t&&Ri(e);},Ri=e=>{e.refCounted();},In=(e,t)=>{t&&Ii(e);},Ii=e=>{e.unrefCounted();},Tl=(e,t)=>{t&&(Ii(e),Ii(e));},Dl=(e,t)=>{t&&(Ri(e),Ri(e));};var Nl=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n},o)=>{if(Fl(o)||jl(o))return;Pn.has(e)||Pn.set(e,[]);let i=Pn.get(e);if(i.push(o),!(i.length>1))for(;i.length>0;){await _l(e,n,o),await promises$1.scheduler.yield();let s=await Ml({wrappedMessage:i[0],anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n});i.shift(),n.emit("message",s),n.emit("message:done");}},$l=async({anyProcess:e,channel:t,isSubprocess:r,ipcEmitter:n,boundOnMessage:o})=>{Pi();let i=Pn.get(e);for(;(i==null?void 0:i.length)>0;)await events.once(n,"message:done");e.removeListener("message",o),Dl(t,r),n.connected=!1,n.emit("disconnect");},Pn=new WeakMap;var st=(e,t,r)=>{if(Tn.has(e))return Tn.get(e);let n=new events.EventEmitter;return n.connected=!0,Tn.set(e,n),J2({ipcEmitter:n,anyProcess:e,channel:t,isSubprocess:r}),n},Tn=new WeakMap,J2=({ipcEmitter:e,anyProcess:t,channel:r,isSubprocess:n})=>{let o=Nl.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e});t.on("message",o),t.once("disconnect",$l.bind(void 0,{anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:e,boundOnMessage:o})),Tl(r,n);},Dn=e=>{let t=Tn.get(e);return t===void 0?e.channel!==null:t.connected};var Bl=({anyProcess:e,channel:t,isSubprocess:r,message:n,strict:o})=>{if(!o)return n;let i=st(e,t,r),s=Mn(e,i);return {id:Q2++,type:$n,message:n,hasListeners:s}},Q2=0n,Gl=(e,t)=>{if(!((t==null?void 0:t.type)!==$n||t.hasListeners))for(let{id:r}of e)r!==void 0&&Nn[r].resolve({isDeadlock:!0,hasListeners:!1});},Ml=async({wrappedMessage:e,anyProcess:t,channel:r,isSubprocess:n,ipcEmitter:o})=>{if((e==null?void 0:e.type)!==$n||!t.connected)return e;let{id:i,message:s}=e,a={id:i,type:kl,message:Mn(t,o)};try{await Fn({anyProcess:t,channel:r,isSubprocess:n,ipc:!0},a);}catch(c){o.emit("strict:error",c);}return s},Fl=e=>{var n;if((e==null?void 0:e.type)!==kl)return !1;let{id:t,message:r}=e;return (n=Nn[t])==null||n.resolve({isDeadlock:!1,hasListeners:r}),!0},Ul=async(e,t,r)=>{if((e==null?void 0:e.type)!==$n)return;let n=ke();Nn[e.id]=n;let o=new AbortController;try{let{isDeadlock:i,hasListeners:s}=await Promise.race([n,ew(t,r,o)]);i&&Sl(r),s||El(r);}finally{o.abort(),delete Nn[e.id];}},Nn={},ew=async(e,t,{signal:r})=>{gt(e,1,r),await events.once(e,"disconnect",{signal:r}),xl(t);},$n="execa:ipc:request",kl="execa:ipc:response";var ql=(e,t,r)=>{Sr.has(e)||Sr.set(e,new Set);let n=Sr.get(e),o=ke(),i=r?t.id:void 0,s={onMessageSent:o,id:i};return n.add(s),{outgoingMessages:n,outgoingMessage:s}},zl=({outgoingMessages:e,outgoingMessage:t})=>{e.delete(t),t.onMessageSent.resolve();},_l=async(e,t,r)=>{var n;for(;!Mn(e,t)&&((n=Sr.get(e))==null?void 0:n.size)>0;){let o=[...Sr.get(e)];Gl(o,r),await Promise.all(o.map(({onMessageSent:i})=>i));}},Sr=new WeakMap,Mn=(e,t)=>t.listenerCount("message")>tw(e),tw=e=>qe.has(e)&&!Ke(qe.get(e).options.buffer,"ipc")?1:0;var Fn=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},o,{strict:i=!1}={})=>{let s="sendMessage";return jt({methodName:s,isSubprocess:r,ipc:n,isConnected:e.connected}),nw({anyProcess:e,channel:t,methodName:s,isSubprocess:r,message:o,strict:i})},nw=async({anyProcess:e,channel:t,methodName:r,isSubprocess:n,message:o,strict:i})=>{let s=Bl({anyProcess:e,channel:t,isSubprocess:n,message:o,strict:i}),a=ql(e,s,i);try{await Di({anyProcess:e,methodName:r,isSubprocess:n,wrappedMessage:s,message:o});}catch(c){throw Bt(e),c}finally{zl(a);}},Di=async({anyProcess:e,methodName:t,isSubprocess:r,wrappedMessage:n,message:o})=>{let i=ow(e);try{await Promise.all([Ul(n,e,r),i(n)]);}catch(s){throw Ll({error:s,methodName:t,isSubprocess:r}),Al({error:s,methodName:t,isSubprocess:r,message:o}),s}},ow=e=>{if(Ti.has(e))return Ti.get(e);let t=util.promisify(e.send.bind(e));return Ti.set(e,t),t},Ti=new WeakMap;var Vl=(e,t)=>{let r="cancelSignal";return Ai(r,!1,e.connected),Di({anyProcess:e,methodName:r,isSubprocess:!1,wrappedMessage:{type:Yl,message:t},message:t})},Hl=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>(await sw({anyProcess:e,channel:t,isSubprocess:r,ipc:n}),Ni.signal),sw=async({anyProcess:e,channel:t,isSubprocess:r,ipc:n})=>{if(!Wl){if(Wl=!0,!n){Cl();return}if(t===null){Pi();return}st(e,t,r),await promises$1.scheduler.yield();}},Wl=!1,jl=e=>(e==null?void 0:e.type)!==Yl?!1:(Ni.abort(e.message),!0),Yl="execa:ipc:cancel",Pi=()=>{Ni.abort(Ol());},Ni=new AbortController;var Xl=({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.")}},Kl=({subprocess:e,cancelSignal:t,gracefulCancel:r,forceKillAfterDelay:n,context:o,controller:i})=>r?[aw({subprocess:e,cancelSignal:t,forceKillAfterDelay:n,context:o,controller:i})]:[],aw=async({subprocess:e,cancelSignal:t,forceKillAfterDelay:r,context:n,controller:{signal:o}})=>{await On(t,o);let i=cw(t);throw await Vl(e,i),Li({kill:e.kill,forceKillAfterDelay:r,context:n,controllerSignal:o}),n.terminationReason??="gracefulCancel",t.reason},cw=({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 Jl=({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})`)},Zl=(e,t,r,n)=>t===0||t===void 0?[]:[lw(e,t,r,n)],lw=async(e,t,r,{signal:n})=>{throw await promises$1.setTimeout(t,void 0,{signal:n}),r.terminationReason??="timeout",e.kill(),new $e};var ef=({options:e})=>{if(e.node===!1)throw new TypeError('The "node" option cannot be false with `execaNode()`.');return {options:{...e,node:!0}}},tf=(e,t,{node:r=!1,nodePath:n=Sn.execPath,nodeOptions:o=Sn.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=Nt(n,'The "nodePath" option'),u=mt__default.default.resolve(i,c),l={...a,nodePath:u,node:r,cwd:i};if(!r)return [e,t,l];if(mt__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 [u,[...o,e,...t],{ipc:!0,...l,shell:!1}]};var rf=({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`.");gw[r](e);}},hw=e=>{try{v8.serialize(e);}catch(t){throw new Error("The `ipcInput` option is not serializable with a structured clone.",{cause:t})}},mw=e=>{try{JSON.stringify(e);}catch(t){throw new Error("The `ipcInput` option is not serializable with JSON.",{cause:t})}},gw={advanced:hw,json:mw},nf=async(e,t)=>{t!==void 0&&await e.sendMessage(t);};var sf=({encoding:e})=>{if($i.has(e))return;let t=bw(e);if(t!==void 0)throw new TypeError(`Invalid option \`encoding: ${_n(e)}\`.
80
+ Please rename it to ${_n(t)}.`);let r=[...$i].map(n=>_n(n)).join(", ");throw new TypeError(`Invalid option \`encoding: ${_n(e)}\`.
81
+ Please rename it to one of: ${r}.`)},yw=new Set(["utf8","utf16le"]),Ce=new Set(["buffer","hex","base64","base64url","latin1","ascii"]),$i=new Set([...yw,...Ce]),bw=e=>{if(e===null)return "buffer";if(typeof e!="string")return;let t=e.toLowerCase();if(t in of)return of[t];if($i.has(t))return t},of={"utf-8":"utf8","utf-16le":"utf16le","ucs-2":"utf16le",ucs2:"utf16le",binary:"latin1"},_n=e=>typeof e=="string"?`"${e}"`:String(e);var af=(e=cf())=>{let t=Nt(e,'The "cwd" option');return mt__default.default.resolve(t)},cf=()=>{try{return Sn__default.default.cwd()}catch(e){throw e.message=`The current directory does not exist.
82
+ ${e.message}`,e}},uf=(e,t)=>{if(t===cf())return e;let r;try{r=fs$1.statSync(t);}catch(n){return `The "cwd" option is invalid: ${t}.
83
+ ${n.message}
84
+ ${e}`}return r.isDirectory()?e:`The "cwd" option is not a directory: ${t}.
85
+ ${e}`};var jn=(e,t,r)=>{r.cwd=af(r.cwd);let[n,o,i]=tf(e,t,r),{command:s,args:a,options:c}=ff.default._parse(n,o,i),u=Vc(c),l=xw(u);return Jl(l),sf(l),rf(l),bl(l),Xl(l),l.shell=si(l.shell),l.env=Ow(l),l.killSignal=dl(l.killSignal),l.forceKillAfterDelay=gl(l.forceKillAfterDelay),l.lines=l.lines.map((f,g)=>f&&!Ce.has(l.encoding)&&l.buffer[g]),Sn__default.default.platform==="win32"&&mt__default.default.basename(s,".exe")==="cmd"&&a.unshift("/q"),{file:s,commandArguments:a,options:l}},xw=({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:u="SIGTERM",forceKillAfterDelay:l=!0,gracefulCancel:f=!1,ipcInput:g,ipc:b=g!==void 0||f,serialization:y="advanced",...p})=>({...p,extendEnv:e,preferLocal:t,cwd:r,localDirectory:n,encoding:o,reject:i,cleanup:s,all:a,windowsHide:c,killSignal:u,forceKillAfterDelay:l,gracefulCancel:f,ipcInput:g,ipc:b,serialization:y}),Ow=({env:e,extendEnv:t,preferLocal:r,node:n,localDirectory:o,nodePath:i})=>{let s=t?{...Sn__default.default.env,...e}:e;return r||n?rl({env:s,cwd:o,execPath:i,preferLocal:r,addExecPath:n}):s};var Bn=(e,t,r)=>r.shell&&t.length>0?[[e,...t].join(" "),[],r]:[e,t,r];function Ut(e){if(typeof e=="string")return Cw(e);if(!(ArrayBuffer.isView(e)&&e.BYTES_PER_ELEMENT===1))throw new Error("Input must be a string or a Uint8Array");return Lw(e)}var Cw=e=>e.at(-1)===pf?e.slice(0,e.at(-2)===df?-2:-1):e,Lw=e=>e.at(-1)===Aw?e.subarray(0,e.at(-2)===Rw?-2:-1):e,pf=`
86
+ `,Aw=pf.codePointAt(0),df="\r",Rw=df.codePointAt(0);function Fe(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 Mi(e,{checkOpen:t=!0}={}){return Fe(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 yt(e,{checkOpen:t=!0}={}){return Fe(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 Fi(e,t){return Mi(e,t)&&yt(e,t)}var Iw=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype),_i=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}}},ji=Symbol();function hf(){return this[ji].next()}Object.defineProperty(hf,"name",{value:"next"});function mf(e){return this[ji].return(e)}Object.defineProperty(mf,"name",{value:"return"});var Pw=Object.create(Iw,{next:{enumerable:!0,configurable:!0,writable:!0,value:hf},return:{enumerable:!0,configurable:!0,writable:!0,value:mf}});function Bi({preventCancel:e=!1}={}){let t=this.getReader(),r=new _i(t,e),n=Object.create(Pw);return n[ji]=r,n}var gf=e=>{if(yt(e,{checkOpen:!1})&&Er.on!==void 0)return Dw(e);if(typeof(e==null?void 0:e[Symbol.asyncIterator])=="function")return e;if(Tw.call(e)==="[object ReadableStream]")return Bi.call(e);throw new TypeError("The first argument must be a Readable, a ReadableStream, or an async iterable.")},{toString:Tw}=Object.prototype,Dw=async function*(e){let t=new AbortController,r={};Nw(e,t,r);try{for await(let[n]of Er.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();}},Nw=async(e,t,r)=>{try{await Er.finished(e,{cleanup:!0,readable:!0,writable:!1,error:!1});}catch(n){r.error=n;}finally{t.abort();}},Er={};var kt=async(e,{init:t,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,finalize:a},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{let u=gf(e),l=t();l.length=0;try{for await(let f of u){let g=Mw(f),b=r[g](f,l);wf({convertedChunk:b,state:l,getSize:n,truncateChunk:o,addChunk:i,maxBuffer:c});}return $w({state:l,convertChunk:r,getSize:n,truncateChunk:o,addChunk:i,getFinalChunk:s,maxBuffer:c}),a(l)}catch(f){let g=typeof f=="object"&&f!==null?f:new Error(f);throw g.bufferedData=a(l),g}},$w=({state:e,getSize:t,truncateChunk:r,addChunk:n,getFinalChunk:o,maxBuffer:i})=>{let s=o(e);s!==void 0&&wf({convertedChunk:s,state:e,getSize:t,truncateChunk:r,addChunk:n,maxBuffer:i});},wf=({convertedChunk:e,state:t,getSize:r,truncateChunk:n,addChunk:o,maxBuffer:i})=>{let s=r(e),a=t.length+s;if(a<=i){yf(e,t,o,a);return}let c=n(e,i-t.length);throw c!==void 0&&yf(c,t,o,i),new ze},yf=(e,t,r,n)=>{t.contents=r(e,t,n),t.length=n;},Mw=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=bf.call(e);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&bf.call(e.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:bf}=Object.prototype,ze=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded");}};var Je=e=>e,xr=()=>{},Gn=({contents:e})=>e,Un=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},kn=e=>e.length;async function qn(e,t){return kt(e,Bw,t)}var Fw=()=>({contents:[]}),_w=()=>1,jw=(e,{contents:t})=>(t.push(e),t),Bw={init:Fw,convertChunk:{string:Je,buffer:Je,arrayBuffer:Je,dataView:Je,typedArray:Je,others:Je},getSize:_w,truncateChunk:xr,addChunk:jw,getFinalChunk:xr,finalize:Gn};async function zn(e,t){return kt(e,Yw,t)}var Gw=()=>({contents:new ArrayBuffer(0)}),Uw=e=>kw.encode(e),kw=new TextEncoder,vf=e=>new Uint8Array(e),Sf=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),qw=(e,t)=>e.slice(0,t),zw=(e,{contents:t,length:r},n)=>{let o=Of()?Vw(t,n):Ww(t,n);return new Uint8Array(o).set(e,r),o},Ww=(e,t)=>{if(t<=e.byteLength)return e;let r=new ArrayBuffer(xf(t));return new Uint8Array(r).set(new Uint8Array(e),0),r},Vw=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;let r=new ArrayBuffer(t,{maxByteLength:xf(t)});return new Uint8Array(r).set(new Uint8Array(e),0),r},xf=e=>Ef**Math.ceil(Math.log(e)/Math.log(Ef)),Ef=2,Hw=({contents:e,length:t})=>Of()?e:e.slice(0,t),Of=()=>"resize"in ArrayBuffer.prototype,Yw={init:Gw,convertChunk:{string:Uw,buffer:vf,arrayBuffer:vf,dataView:Sf,typedArray:Sf,others:Un},getSize:kn,truncateChunk:qw,addChunk:zw,getFinalChunk:xr,finalize:Hw};async function Vn(e,t){return kt(e,Qw,t)}var Xw=()=>({contents:"",textDecoder:new TextDecoder}),Wn=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),Kw=(e,{contents:t})=>t+e,Jw=(e,t)=>e.slice(0,t),Zw=({textDecoder:e})=>{let t=e.decode();return t===""?void 0:t},Qw={init:Xw,convertChunk:{string:Je,buffer:Wn,arrayBuffer:Wn,dataView:Wn,typedArray:Wn,others:Un},getSize:kn,truncateChunk:Jw,addChunk:Kw,getFinalChunk:Zw,finalize:Gn};Object.assign(Er,{on:events.on,finished:promises.finished});var Cf=({error:e,stream:t,readableObjectMode:r,lines:n,encoding:o,fdNumber:i})=>{if(!(e instanceof ze))throw e;if(i==="all")return e;let s=rv(r,n,o);throw e.maxBufferInfo={fdNumber:i,unit:s},t.destroy(),e},rv=(e,t,r)=>e?"objects":t?"lines":r==="buffer"?"bytes":"characters",Lf=(e,t,r)=>{if(t.length!==r)return;let n=new ze;throw n.maxBufferInfo={fdNumber:"ipc"},n},Af=(e,t)=>{let{streamName:r,threshold:n,unit:o}=nv(e,t);return `Command's ${r} was larger than ${n} ${o}`},nv=(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=Ke(t,r);return r==="ipc"?{streamName:"IPC output",threshold:o,unit:"messages"}:{streamName:cn(r),threshold:o,unit:n}},Rf=(e,t,r)=>(e==null?void 0:e.code)==="ENOBUFS"&&t!==null&&t.some(n=>n!==null&&n.length>Hn(r)),If=(e,t,r)=>{if(!t)return e;let n=Hn(r);return e.length>n?e.slice(0,n):e},Hn=([,e])=>e;var Tf=({stdio:e,all:t,ipcOutput:r,originalError:n,signal:o,signalDescription:i,exitCode:s,escapedCommand:a,timedOut:c,isCanceled:u,isGracefullyCanceled:l,isMaxBuffer:f,isForcefullyTerminated:g,forceKillAfterDelay:b,killSignal:y,maxBuffer:p,timeout:x,cwd:N})=>{let j=n==null?void 0:n.code,q=iv({originalError:n,timedOut:c,timeout:x,isMaxBuffer:f,maxBuffer:p,errorCode:j,signal:o,signalDescription:i,exitCode:s,isCanceled:u,isGracefullyCanceled:l,isForcefullyTerminated:g,forceKillAfterDelay:b,killSignal:y}),G=av(n,N),oe=G===void 0?"":`
87
+ ${G}`,J=`${q}: ${a}${oe}`,_=t===void 0?[e[2],e[1]]:[t],H=[J,..._,...e.slice(3),r.map(D=>cv(D)).join(`
88
+ `)].map(D=>gr(Ut(uv(D)))).filter(Boolean).join(`
89
+
90
+ `);return {originalMessage:G,shortMessage:J,message:H}},iv=({originalError:e,timedOut:t,timeout:r,isMaxBuffer:n,maxBuffer:o,errorCode:i,signal:s,signalDescription:a,exitCode:c,isCanceled:u,isGracefullyCanceled:l,isForcefullyTerminated:f,forceKillAfterDelay:g,killSignal:b})=>{let y=sv(f,g);return t?`Command timed out after ${r} milliseconds${y}`:l?s===void 0?`Command was gracefully canceled with exit code ${c}`:f?`Command was gracefully canceled${y}`:`Command was gracefully canceled with ${s} (${a})`:u?`Command was canceled${y}`:n?`${Af(e,o)}${y}`:i!==void 0?`Command failed with ${i}${y}`:f?`Command was killed with ${b} (${xn(b)})${y}`:s!==void 0?`Command was killed with ${s} (${a})`:c!==void 0?`Command failed with exit code ${c}`:"Command failed"},sv=(e,t)=>e?` and was forcefully terminated after ${t} milliseconds`:"",av=(e,t)=>{if(e instanceof $e)return;let r=il(e)?e.originalMessage:String((e==null?void 0:e.message)??e),n=gr(uf(r,t));return n===""?void 0:n},cv=e=>typeof e=="string"?e:util.inspect(e),uv=e=>Array.isArray(e)?e.map(t=>Ut(Pf(t))).filter(Boolean).join(`
91
+ `):Pf(e),Pf=e=>typeof e=="string"?e:ce(e)?sn(e):"";var Yn=({command:e,escapedCommand:t,stdio:r,all:n,ipcOutput:o,options:{cwd:i},startTime:s})=>Df({command:e,escapedCommand:t,cwd:i,durationMs:hi(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:[]}),qt=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:s})=>Or({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}),Or=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:u,signal:l,stdio:f,all:g,ipcOutput:b,options:{timeoutDuration:y,timeout:p=y,forceKillAfterDelay:x,killSignal:N,cwd:j,maxBuffer:q},isSync:G})=>{let{exitCode:oe,signal:J,signalDescription:_}=fv(u,l),{originalMessage:H,shortMessage:D,message:pe}=Tf({stdio:f,all:g,ipcOutput:b,originalError:e,signal:J,signalDescription:_,exitCode:oe,escapedCommand:r,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,forceKillAfterDelay:x,killSignal:N,maxBuffer:q,timeout:p,cwd:j}),R=nl(e,pe,G);return Object.assign(R,lv({error:R,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:oe,signal:J,signalDescription:_,stdio:f,all:g,ipcOutput:b,cwd:j,originalMessage:H,shortMessage:D})),R},lv=({error:e,command:t,escapedCommand:r,startTime:n,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:u,signal:l,signalDescription:f,stdio:g,all:b,ipcOutput:y,cwd:p,originalMessage:x,shortMessage:N})=>{var j;return Df({shortMessage:N,originalMessage:x,command:t,escapedCommand:r,cwd:p,durationMs:hi(n),failed:!0,timedOut:o,isCanceled:i,isGracefullyCanceled:s,isTerminated:l!==void 0,isMaxBuffer:a,isForcefullyTerminated:c,exitCode:u,signal:l,signalDescription:f,code:(j=e.cause)==null?void 0:j.code,stdout:g[1],stderr:g[2],all:b,stdio:g,ipcOutput:y,pipedFrom:[]})},Df=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),fv=(e,t)=>{let r=e===null?void 0:e,n=t===null?void 0:t,o=n===void 0?void 0:xn(t);return {exitCode:r,signal:n,signalDescription:o}};var Nf=e=>Number.isFinite(e)?e:0;function pv(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(Nf(e*1e3)%1e3),nanoseconds:Math.trunc(Nf(e*1e6)%1e3)}}function dv(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 Gi(e){switch(typeof e){case"number":{if(Number.isFinite(e))return pv(e);break}case"bigint":return dv(e)}throw new TypeError("Expected a finite number or bigint")}var hv=e=>e===0||e===0n,mv=(e,t)=>t===1||t===1n?e:`${e}s`,gv=1e-7,yv=24n*60n*60n*1000n;function Ui(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=(l,f)=>{let g=Math.floor(l*10**f+gv);return (Math.round(g)/10**f).toFixed(f)},s=(l,f,g,b)=>{if(!((o.length===0||!t.colonNotation)&&hv(l)&&!(t.colonNotation&&g==="m"))){if(b??=String(l),t.colonNotation){let y=b.includes(".")?b.split(".")[0].length:b.length,p=o.length>0?2:1;b="0".repeat(Math.max(0,p-y))+b;}else b+=t.verbose?" "+mv(f,l):g;o.push(b);}},a=Gi(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 l=Number(a.seconds),f=Number(a.milliseconds),g=Number(a.microseconds),b=Number(a.nanoseconds);if(s(l,"second","s"),t.formatSubMilliseconds)s(f,"millisecond","ms"),s(g,"microsecond","\xB5s"),s(b,"nanosecond","ns");else {let y=f+g/1e3+b/1e6,p=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,x=y>=1?Math.round(y):Math.ceil(y),N=p?y.toFixed(p):x;s(Number.parseFloat(N),"millisecond","ms",N);}}else {let l=(r?Number(e%yv):e)/1e3%60,f=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,g=i(l,f),b=t.keepDecimalsOnWholeSeconds?g:g.replace(/\.0+$/,"");s(Number.parseFloat(b),"second","s",b);}if(o.length===0)return n+"0"+(t.verbose?" milliseconds":"ms");let u=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(o=o.slice(0,Math.max(t.unitCount,1))),n+o.join(u)}var $f=(e,t)=>{e.failed&&Ue({type:"error",verboseMessage:e.shortMessage,verboseInfo:t,result:e});};var Mf=(e,t)=>{$t(t)&&($f(e,t),bv(e,t));},bv=(e,t)=>{let r=`(done in ${Ui(e.durationMs)})`;Ue({type:"duration",verboseMessage:r,verboseInfo:t,result:e});};var zt=(e,t,{reject:r})=>{if(Mf(e,t),e.failed&&r)throw e;return e};var jf=(e,t)=>bt(e)?"asyncGenerator":Uf(e)?"generator":Xn(e)?"fileUrl":xv(e)?"filePath":Lv(e)?"webStream":Fe(e,{checkOpen:!1})?"native":ce(e)?"uint8Array":Av(e)?"asyncIterable":Rv(e)?"iterable":zi(e)?Bf({transform:e},t):Ev(e)?wv(e,t):"native",wv=(e,t)=>Fi(e.transform,{checkOpen:!1})?vv(e,t):zi(e.transform)?Bf(e,t):Sv(e,t),vv=(e,t)=>(Gf(e,t,"Duplex stream"),"duplex"),Bf=(e,t)=>(Gf(e,t,"web TransformStream"),"webTransform"),Gf=({final:e,binary:t,objectMode:r},n,o)=>{Ff(e,`${n}.final`,o),Ff(t,`${n}.binary`,o),ki(r,`${n}.objectMode`);},Ff=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${t}\` option can only be defined when using a generator, not a ${r}.`)},Sv=({transform:e,final:t,binary:r,objectMode:n},o)=>{if(e!==void 0&&!_f(e))throw new TypeError(`The \`${o}.transform\` option must be a generator, a Duplex stream or a web TransformStream.`);if(Fi(t,{checkOpen:!1}))throw new TypeError(`The \`${o}.final\` option must not be a Duplex stream.`);if(zi(t))throw new TypeError(`The \`${o}.final\` option must not be a web TransformStream.`);if(t!==void 0&&!_f(t))throw new TypeError(`The \`${o}.final\` option must be a generator.`);return ki(r,`${o}.binary`),ki(n,`${o}.objectMode`),bt(e)||bt(t)?"asyncGenerator":"generator"},ki=(e,t)=>{if(e!==void 0&&typeof e!="boolean")throw new TypeError(`The \`${t}\` option must use a boolean.`)},_f=e=>bt(e)||Uf(e),bt=e=>Object.prototype.toString.call(e)==="[object AsyncGeneratorFunction]",Uf=e=>Object.prototype.toString.call(e)==="[object GeneratorFunction]",Ev=e=>ie(e)&&(e.transform!==void 0||e.final!==void 0),Xn=e=>Object.prototype.toString.call(e)==="[object URL]",kf=e=>Xn(e)&&e.protocol!=="file:",xv=e=>ie(e)&&Object.keys(e).length>0&&Object.keys(e).every(t=>Ov.has(t))&&qi(e.file),Ov=new Set(["file","append"]),qi=e=>typeof e=="string",qf=(e,t)=>e==="native"&&typeof t=="string"&&!Cv.has(t),Cv=new Set(["ipc","ignore","inherit","overlapped","pipe"]),zf=e=>Object.prototype.toString.call(e)==="[object ReadableStream]",Kn=e=>Object.prototype.toString.call(e)==="[object WritableStream]",Lv=e=>zf(e)||Kn(e),zi=e=>zf(e==null?void 0:e.readable)&&Kn(e==null?void 0:e.writable),Av=e=>Wf(e)&&typeof e[Symbol.asyncIterator]=="function",Rv=e=>Wf(e)&&typeof e[Symbol.iterator]=="function",Wf=e=>typeof e=="object"&&e!==null,Re=new Set(["generator","asyncGenerator","duplex","webTransform"]),Jn=new Set(["fileUrl","filePath","fileNumber"]),Wi=new Set(["fileUrl","filePath"]),Vf=new Set([...Wi,"webStream","nodeStream"]),Hf=new Set(["webTransform","duplex"]),at={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 Vi=(e,t,r,n)=>n==="output"?Iv(e,t,r):Pv(e,t,r),Iv=(e,t,r)=>{let n=t!==0&&r[t-1].value.readableObjectMode;return {writableObjectMode:n,readableObjectMode:e??n}},Pv=(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}},Yf=(e,t)=>{let r=e.findLast(({type:n})=>Re.has(n));return r===void 0?!1:t==="input"?r.value.writableObjectMode:r.value.readableObjectMode};var Xf=(e,t,r,n)=>[...e.filter(({type:o})=>!Re.has(o)),...Tv(e,t,r,n)],Tv=(e,t,r,{encoding:n})=>{let o=e.filter(({type:s})=>Re.has(s)),i=Array.from({length:o.length});for(let[s,a]of Object.entries(o))i[s]=Dv({stdioItem:a,index:Number(s),newTransforms:i,optionName:t,direction:r,encoding:n});return Fv(i,r)},Dv=({stdioItem:e,stdioItem:{type:t},index:r,newTransforms:n,optionName:o,direction:i,encoding:s})=>t==="duplex"?Nv({stdioItem:e,optionName:o}):t==="webTransform"?$v({stdioItem:e,index:r,newTransforms:n,direction:i}):Mv({stdioItem:e,index:r,newTransforms:n,direction:i,encoding:s}),Nv=({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}}},$v=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o})=>{let{transform:i,objectMode:s}=ie(t)?t:{transform:t},{writableObjectMode:a,readableObjectMode:c}=Vi(s,r,n,o);return {...e,value:{transform:i,writableObjectMode:a,readableObjectMode:c}}},Mv=({stdioItem:e,stdioItem:{value:t},index:r,newTransforms:n,direction:o,encoding:i})=>{let{transform:s,final:a,binary:c=!1,preserveNewlines:u=!1,objectMode:l}=ie(t)?t:{transform:t},f=c||Ce.has(i),{writableObjectMode:g,readableObjectMode:b}=Vi(l,r,n,o);return {...e,value:{transform:s,final:a,binary:f,preserveNewlines:u,writableObjectMode:g,readableObjectMode:b}}},Fv=(e,t)=>t==="input"?e.reverse():e;var Kf=(e,t,r)=>{let n=e.map(o=>_v(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)??Gv},_v=({type:e,value:t},r)=>jv[r]??Jf[e](t),jv=["input","output","output"],Wt=()=>{},Yi=()=>"input",Jf={generator:Wt,asyncGenerator:Wt,fileUrl:Wt,filePath:Wt,iterable:Yi,asyncIterable:Yi,uint8Array:Yi,webStream:e=>Kn(e)?"output":"input",nodeStream(e){return yt(e,{checkOpen:!1})?Mi(e,{checkOpen:!1})?void 0:"input":"output"},webTransform:Wt,duplex:Wt,native(e){let t=Bv(e);if(t!==void 0)return t;if(Fe(e,{checkOpen:!1}))return Jf.nodeStream(e)}},Bv=e=>{if([0,Sn__default.default.stdin].includes(e))return "input";if([1,2,Sn__default.default.stdout,Sn__default.default.stderr].includes(e))return "output"},Gv="output";var Zf=(e,t)=>t&&!e.includes("ipc")?[...e,"ipc"]:e;var Qf=({stdio:e,ipc:t,buffer:r,...n},o,i)=>{let s=Uv(e,n).map((a,c)=>ep(a,c));return i?qv(s,r,o):Zf(s,t)},Uv=(e,t)=>{if(e===void 0)return Ae.map(n=>t[n]);if(kv(t))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${Ae.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,Ae.length);return Array.from({length:r},(n,o)=>e[o])},kv=e=>Ae.some(t=>e[t]!==void 0),ep=(e,t)=>Array.isArray(e)?e.map(r=>ep(r,t)):e??(t>=Ae.length?"ignore":"pipe"),qv=(e,t,r)=>e.map((n,o)=>!t[o]&&o!==0&&!Mt(r,o)&&zv(n)?"ignore":n),zv=e=>e==="pipe"||Array.isArray(e)&&e.every(t=>t==="pipe");var rp=({stdioItem:e,stdioItem:{type:t},isStdioArray:r,fdNumber:n,direction:o,isSync:i})=>!r||t!=="native"?e:i?Hv({stdioItem:e,fdNumber:n,direction:o}):Kv({stdioItem:e,fdNumber:n}),Hv=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n,direction:o})=>{let i=Yv({value:t,optionName:r,fdNumber:n,direction:o});if(i!==void 0)return i;if(Fe(t,{checkOpen:!1}))throw new TypeError(`The \`${r}: Stream\` option cannot both be an array and include a stream with synchronous methods.`);return e},Yv=({value:e,optionName:t,fdNumber:r,direction:n})=>{let o=Xv(e,r);if(o!==void 0){if(n==="output")return {type:"fileNumber",value:o,optionName:t};if(Cb__default.default.isatty(o))throw new TypeError(`The \`${t}: ${Ln(e)}\` option is invalid: it cannot be a TTY with synchronous methods.`);return {type:"uint8Array",value:Xe(fs$1.readFileSync(o)),optionName:t}}},Xv=(e,t)=>{if(e==="inherit")return t;if(typeof e=="number")return e;let r=an.indexOf(e);if(r!==-1)return r},Kv=({stdioItem:e,stdioItem:{value:t,optionName:r},fdNumber:n})=>t==="inherit"?{type:"nodeStream",value:tp(n,t,r),optionName:r}:typeof t=="number"?{type:"nodeStream",value:tp(t,t,r),optionName:r}:Fe(t,{checkOpen:!1})?{type:"nodeStream",value:t,optionName:r}:e,tp=(e,t,r)=>{let n=an[e];if(n===void 0)throw new TypeError(`The \`${r}: ${t}\` option is invalid: no such standard stream.`);return n};var np=({input:e,inputFile:t},r)=>r===0?[...Jv(e),...Qv(t)]:[],Jv=e=>e===void 0?[]:[{type:Zv(e),value:e,optionName:"input"}],Zv=e=>{if(yt(e,{checkOpen:!1}))return "nodeStream";if(typeof e=="string")return "string";if(ce(e))return "uint8Array";throw new Error("The `input` option must be a string, a Uint8Array or a Node.js Readable stream.")},Qv=e=>e===void 0?[]:[{...eS(e),optionName:"inputFile"}],eS=e=>{if(Xn(e))return {type:"fileUrl",value:e};if(qi(e))return {type:"filePath",value:{file:e}};throw new Error("The `inputFile` option must be a file path string or a file URL.")};var op=e=>e.filter((t,r)=>e.every((n,o)=>t.value!==n.value||r>=o||t.type==="generator"||t.type==="asyncGenerator")),ip=({stdioItem:{type:e,value:t,optionName:r},direction:n,fileDescriptors:o,isSync:i})=>{let s=tS(o,e);if(s.length!==0){if(i){rS({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});return}if(Vf.has(e))return sp({otherStdioItems:s,type:e,value:t,optionName:r,direction:n});Hf.has(e)&&oS({otherStdioItems:s,type:e,value:t,optionName:r});}},tS=(e,t)=>e.flatMap(({direction:r,stdioItems:n})=>n.filter(o=>o.type===t).map(o=>({...o,direction:r}))),rS=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{Wi.has(t)&&sp({otherStdioItems:e,type:t,value:r,optionName:n,direction:o});},sp=({otherStdioItems:e,type:t,value:r,optionName:n,direction:o})=>{let i=e.filter(a=>nS(a,r));if(i.length===0)return;let s=i.find(a=>a.direction!==o);return ap(s,n,t),o==="output"?i[0].stream:void 0},nS=({type:e,value:t},r)=>e==="filePath"?t.file===r.file:e==="fileUrl"?t.href===r.href:t===r,oS=({otherStdioItems:e,type:t,value:r,optionName:n})=>{let o=e.find(({value:{transform:i}})=>i===r.transform);ap(o,n,t);},ap=(e,t,r)=>{if(e!==void 0)throw new TypeError(`The \`${e.optionName}\` and \`${t}\` options must not target ${at[r]} that is the same.`)};var Zn=(e,t,r,n)=>{let i=Qf(t,r,n).map((a,c)=>iS({stdioOption:a,fdNumber:c,options:t,isSync:n})),s=dS({initialFileDescriptors:i,addProperties:e,options:t,isSync:n});return t.stdio=s.map(({stdioItems:a})=>gS(a)),s},iS=({stdioOption:e,fdNumber:t,options:r,isSync:n})=>{let o=cn(t),{stdioItems:i,isStdioArray:s}=sS({stdioOption:e,fdNumber:t,options:r,optionName:o}),a=Kf(i,t,o),c=i.map(f=>rp({stdioItem:f,isStdioArray:s,fdNumber:t,direction:a,isSync:n})),u=Xf(c,o,a,r),l=Yf(u,a);return pS(u,l),{direction:a,objectMode:l,stdioItems:u}},sS=({stdioOption:e,fdNumber:t,options:r,optionName:n})=>{let i=[...(Array.isArray(e)?e:[e]).map(c=>aS(c,n)),...np(r,t)],s=op(i),a=s.length>1;return cS(s,a,n),lS(s),{stdioItems:s,isStdioArray:a}},aS=(e,t)=>({type:jf(e,t),value:e,optionName:t}),cS=(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(uS.has(n))throw new Error(`The \`${o}\` option must not include \`${n}\`.`)}},uS=new Set(["ignore","ipc"]),lS=e=>{for(let t of e)fS(t);},fS=({type:e,value:t,optionName:r})=>{if(kf(t))throw new TypeError(`The \`${r}: URL\` option must use the \`file:\` scheme.
92
+ For example, you can use the \`pathToFileURL()\` method of the \`url\` core module.`);if(qf(e,t))throw new TypeError(`The \`${r}: { file: '...' }\` option must be used instead of \`${r}: '...'\`.`)},pS=(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.`)},dS=({initialFileDescriptors:e,addProperties:t,options:r,isSync:n})=>{let o=[];try{for(let i of e)o.push(hS({fileDescriptor:i,fileDescriptors:o,addProperties:t,options:r,isSync:n}));return o}catch(i){throw Xi(o),i}},hS=({fileDescriptor:{direction:e,objectMode:t,stdioItems:r},fileDescriptors:n,addProperties:o,options:i,isSync:s})=>{let a=r.map(c=>mS({stdioItem:c,addProperties:o,direction:e,options:i,fileDescriptors:n,isSync:s}));return {direction:e,objectMode:t,stdioItems:a}},mS=({stdioItem:e,addProperties:t,direction:r,options:n,fileDescriptors:o,isSync:i})=>{let s=ip({stdioItem:e,direction:r,fileDescriptors:o,isSync:i});return s!==void 0?{...e,stream:s}:{...e,...t[r][e.type](e,n)}},Xi=e=>{for(let{stdioItems:t}of e)for(let{stream:r}of t)r!==void 0&&!Ne(r)&&r.destroy();},gS=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 lp=(e,t)=>Zn(bS,e,t,!0),We=({type:e,optionName:t})=>{fp(t,at[e]);},yS=({optionName:e,value:t})=>((t==="ipc"||t==="overlapped")&&fp(e,`"${t}"`),{}),fp=(e,t)=>{throw new TypeError(`The \`${e}\` option cannot be ${t} with synchronous methods.`)},up={generator(){},asyncGenerator:We,webStream:We,nodeStream:We,webTransform:We,duplex:We,asyncIterable:We,native:yS},bS={input:{...up,fileUrl:({value:e})=>({contents:[Xe(fs$1.readFileSync(e))]}),filePath:({value:{file:e}})=>({contents:[Xe(fs$1.readFileSync(e))]}),fileNumber:We,iterable:({value:e})=>({contents:[...e]}),string:({value:e})=>({contents:[e]}),uint8Array:({value:e})=>({contents:[e]})},output:{...up,fileUrl:({value:e})=>({path:e}),filePath:({value:{file:e,append:t}})=>({path:e,append:t}),fileNumber:({value:e})=>({path:e}),iterable:We,string:We,uint8Array:We}};var Ze=(e,{stripFinalNewline:t},r)=>Ki(t,r)&&e!==void 0&&!Array.isArray(e)?Ut(e):e,Ki=(e,t)=>t==="all"?e[1]||e[2]:e[t];var Qn=(e,t,r,n)=>e||r?void 0:dp(t,n),Zi=(e,t,r)=>r?e.flatMap(n=>pp(n,t)):pp(e,t),pp=(e,t)=>{let{transform:r,final:n}=dp(t,{});return [...r(e),...n()]},dp=(e,t)=>(t.previousChunks="",{transform:wS.bind(void 0,t,e),final:SS.bind(void 0,t)}),wS=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]===`
93
+ `){let s=vS(r,i,t,e),a=r.slice(o+1,i+1-s);n.length>0&&(a=Ji(n,a),n=""),yield a,o=i;}o!==r.length-1&&(n=Ji(n,r.slice(o+1))),e.previousChunks=n;},vS=(e,t,r,n)=>r?0:(n.isWindowsNewline=t!==0&&e[t-1]==="\r",n.isWindowsNewline?2:1),SS=function*({previousChunks:e}){e.length>0&&(yield e);},hp=({binary:e,preserveNewlines:t,readableObjectMode:r,state:n})=>e||t||r?void 0:{transform:ES.bind(void 0,n)},ES=function*({isWindowsNewline:e=!1},t){let{unixNewline:r,windowsNewline:n,LF:o,concatBytes:i}=typeof t=="string"?xS:CS;if(t.at(-1)===o){yield t;return}yield i(t,e?n:r);},Ji=(e,t)=>`${e}${t}`,xS={windowsNewline:`\r
94
+ `,unixNewline:`
95
+ `,LF:`
96
+ `,concatBytes:Ji},OS=(e,t)=>{let r=new Uint8Array(e.length+t.length);return r.set(e,0),r.set(t,e.length),r},CS={windowsNewline:new Uint8Array([13,10]),unixNewline:new Uint8Array([10]),LF:10,concatBytes:OS};var mp=(e,t)=>e?void 0:AS.bind(void 0,t),AS=function*(e,t){if(typeof t!="string"&&!ce(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;},gp=(e,t)=>e?RS.bind(void 0,t):IS.bind(void 0,t),RS=function*(e,t){yp(e,t),yield t;},IS=function*(e,t){if(yp(e,t),typeof t!="string"&&!ce(t))throw new TypeError(`The \`${e}\` option's function must yield a string or an Uint8Array, not ${typeof t}.`);yield t;},yp=(e,t)=>{if(t==null)throw new TypeError(`The \`${e}\` option's function must not call \`yield ${t}\`.
97
+ Instead, \`yield\` should either be called with a value, or not be called at all. For example:
98
+ if (condition) { yield value; }`)};var eo=(e,t,r)=>{if(r)return;if(e)return {transform:DS.bind(void 0,new TextEncoder)};let n=new string_decoder.StringDecoder(t);return {transform:NS.bind(void 0,n),final:$S.bind(void 0,n)}},DS=function*(e,t){buffer.Buffer.isBuffer(t)?yield Xe(t):typeof t=="string"?yield e.encode(t):yield t;},NS=function*(e,t){yield ce(t)?e.write(t):t;},$S=function*(e){let t=e.end();t!==""&&(yield t);};var Qi=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;}}),to=async function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=FS}=t[r];for await(let o of n(e))yield*to(o,t,r+1);},wp=async function*(e){for(let[t,{final:r}]of Object.entries(e))yield*MS(r,Number(t),e);},MS=async function*(e,t,r){if(e!==void 0)for await(let n of e())yield*to(n,r,t+1);},vp=util.callbackify(async({currentIterable:e},t)=>{if(e!==void 0){await(t?e.throw(t):e.return());return}if(t)throw t}),FS=function*(e){yield e;};var es=(e,t,r,n)=>{try{for(let o of e(...t))r.push(o);n();}catch(o){n(o);}},Sp=(e,t)=>[...t.flatMap(r=>[...wt(r,e,0)]),...Cr(e)],wt=function*(e,t,r){if(r===t.length){yield e;return}let{transform:n=jS}=t[r];for(let o of n(e))yield*wt(o,t,r+1);},Cr=function*(e){for(let[t,{final:r}]of Object.entries(e))yield*_S(r,Number(t),e);},_S=function*(e,t,r){if(e!==void 0)for(let n of e())yield*wt(n,r,t+1);},jS=function*(e){yield e;};var ts=({value:e,value:{transform:t,final:r,writableObjectMode:n,readableObjectMode:o},optionName:i},{encoding:s})=>{let a={},c=xp(e,s,i),u=bt(t),l=bt(r),f=u?Qi.bind(void 0,to,a):es.bind(void 0,wt),g=u||l?Qi.bind(void 0,wp,a):es.bind(void 0,Cr),b=u||l?vp.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,x,N){f([p,c,0],this,N);},flush(p){g([c],this,p);},destroy:b})}},ro=(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=xp(s,r,a);e=Sp(c,e);}return e},xp=({transform:e,final:t,binary:r,writableObjectMode:n,readableObjectMode:o,preserveNewlines:i},s,a)=>{let c={};return [{transform:mp(n,a)},eo(r,s,n),Qn(r,i,n,c),{transform:e,final:t},{transform:gp(o,a)},hp({binary:r,preserveNewlines:i,readableObjectMode:o,state:c})].filter(Boolean)};var Op=(e,t)=>{for(let r of GS(e))US(e,r,t);},GS=e=>new Set(Object.entries(e).filter(([,{direction:t}])=>t==="input").map(([t])=>Number(t))),US=(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 ${at[a]} with synchronous methods.`)}let s=o.map(({contents:a})=>a).map(a=>kS(a,n));r.input=mr(s);},kS=(e,t)=>{let r=ro(e,t,"utf8",!0);return qS(r),mr(r)},qS=e=>{let t=e.find(r=>typeof r!="string"&&!ce(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 no=({stdioItems:e,encoding:t,verboseInfo:r,fdNumber:n})=>n!=="all"&&Mt(r,n)&&!Ce.has(t)&&zS(n)&&(e.some(({type:o,value:i})=>o==="native"&&WS.has(i))||e.every(({type:o})=>Re.has(o))),zS=e=>e===1||e===2,WS=new Set(["pipe","overlapped"]),Cp=async(e,t,r,n)=>{for await(let o of e)VS(t)||Ap(o,r,n);},Lp=(e,t,r)=>{for(let n of e)Ap(n,t,r);},VS=e=>e._readableState.pipes.length>0,Ap=(e,t,r)=>{let n=mn(e);Ue({type:"output",verboseMessage:n,fdNumber:t,verboseInfo:r});};var Rp=({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,u)=>XS({result:c,fileDescriptors:e,fdNumber:u,state:i,outputFiles:s,isMaxBuffer:n,verboseInfo:o},r)),...i}},XS=({result:e,fileDescriptors:t,fdNumber:r,state:n,outputFiles:o,isMaxBuffer:i,verboseInfo:s},{buffer:a,encoding:c,lines:u,stripFinalNewline:l,maxBuffer:f})=>{if(e===null)return;let g=If(e,i,f),b=Xe(g),{stdioItems:y,objectMode:p}=t[r],x=KS([b],y,c,n),{serializedResult:N,finalResult:j=N}=JS({chunks:x,objectMode:p,encoding:c,lines:u,stripFinalNewline:l,fdNumber:r});ZS({serializedResult:N,fdNumber:r,state:n,verboseInfo:s,encoding:c,stdioItems:y,objectMode:p});let q=a[r]?j:void 0;try{return n.error===void 0&&QS(N,y,o),q}catch(G){return n.error=G,q}},KS=(e,t,r,n)=>{try{return ro(e,t,r,!1)}catch(o){return n.error=o,e}},JS=({chunks:e,objectMode:t,encoding:r,lines:n,stripFinalNewline:o,fdNumber:i})=>{if(t)return {serializedResult:e};if(r==="buffer")return {serializedResult:mr(e)};let s=Bc(e,r);return n[i]?{serializedResult:s,finalResult:Zi(s,!o[i],t)}:{serializedResult:s}},ZS=({serializedResult:e,fdNumber:t,state:r,verboseInfo:n,encoding:o,stdioItems:i,objectMode:s})=>{if(!no({stdioItems:i,encoding:o,verboseInfo:n,fdNumber:t}))return;let a=Zi(e,!1,s);try{Lp(a,t,n);}catch(c){r.error??=c;}},QS=(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,Ze(t,r,"all")]:Array.isArray(t)?[Ze(e,r,"all"),...t]:ce(e)&&ce(t)?ai([e,t]):`${e}${t}`};var Pp=async(e,t)=>{let[r,n]=await eE(e);return t.isForcefullyTerminated??=!1,[r,n]},eE=async e=>{let[t,r]=await Promise.allSettled([events.once(e,"spawn"),events.once(e,"exit")]);return t.status==="rejected"?[]:r.status==="rejected"?Tp(e):r.value},Tp=async e=>{try{return await events.once(e,"exit")}catch{return Tp(e)}},Dp=async e=>{let[t,r]=await e;if(!tE(t,r)&&ns(t,r))throw new $e;return [t,r]},tE=(e,t)=>e===void 0&&t===void 0,ns=(e,t)=>e!==0||t!==null;var Np=({error:e,status:t,signal:r,output:n},{maxBuffer:o})=>{let i=rE(e,t,r),s=(i==null?void 0:i.code)==="ETIMEDOUT",a=Rf(i,n,o);return {resultError:i,exitCode:t,signal:r,timedOut:s,isMaxBuffer:a}},rE=(e,t,r)=>e!==void 0?e:ns(t,r)?new $e:void 0;var $p=(e,t,r)=>{let{file:n,commandArguments:o,command:i,escapedCommand:s,startTime:a,verboseInfo:c,options:u,fileDescriptors:l}=oE(e,t,r),f=aE({file:n,commandArguments:o,options:u,command:i,escapedCommand:s,verboseInfo:c,fileDescriptors:l,startTime:a});return zt(f,c,u)},oE=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=yn(e,t,r),a=iE(r),{file:c,commandArguments:u,options:l}=jn(e,t,a);sE(l);let f=lp(l,s);return {file:c,commandArguments:u,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:l,fileDescriptors:f}},iE=e=>e.node&&!e.ipc?{...e,ipc:!1}:e,sE=({ipc:e,ipcInput:t,detached:r,cancelSignal:n})=>{t&&oo("ipcInput"),e&&oo("ipc: true"),r&&oo("detached: true"),n&&oo("cancelSignal");},oo=e=>{throw new TypeError(`The "${e}" option cannot be used with synchronous methods.`)},aE=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,verboseInfo:i,fileDescriptors:s,startTime:a})=>{let c=cE({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:s,startTime:a});if(c.failed)return c;let{resultError:u,exitCode:l,signal:f,timedOut:g,isMaxBuffer:b}=Np(c,r),{output:y,error:p=u}=Rp({fileDescriptors:s,syncResult:c,options:r,isMaxBuffer:b,verboseInfo:i}),x=y.map((j,q)=>Ze(j,r,q)),N=Ze(Ip(y,r),r,"all");return lE({error:p,exitCode:l,signal:f,timedOut:g,isMaxBuffer:b,stdio:x,all:N,options:r,command:n,escapedCommand:o,startTime:a})},cE=({file:e,commandArguments:t,options:r,command:n,escapedCommand:o,fileDescriptors:i,startTime:s})=>{try{Op(i,r);let a=uE(r);return child_process.spawnSync(...Bn(e,t,a))}catch(a){return qt({error:a,command:n,escapedCommand:o,fileDescriptors:i,options:r,startTime:s,isSync:!0})}},uE=({encoding:e,maxBuffer:t,...r})=>({...r,encoding:"buffer",maxBuffer:Hn(t)}),lE=({error:e,exitCode:t,signal:r,timedOut:n,isMaxBuffer:o,stdio:i,all:s,options:a,command:c,escapedCommand:u,startTime:l})=>e===void 0?Yn({command:c,escapedCommand:u,stdio:i,all:s,ipcOutput:[],options:a,startTime:l}):Or({error:e,command:c,escapedCommand:u,timedOut:n,isCanceled:!1,isGracefullyCanceled:!1,isMaxBuffer:o,isForcefullyTerminated:!1,exitCode:t,signal:r,stdio:i,all:s,ipcOutput:[],options:a,startTime:l,isSync:!0});var Mp=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0,filter:i}={})=>(jt({methodName:"getOneMessage",isSubprocess:r,ipc:n,isConnected:Dn(e)}),pE({anyProcess:e,channel:t,isSubprocess:r,filter:i,reference:o})),pE=async({anyProcess:e,channel:t,isSubprocess:r,filter:n,reference:o})=>{Rn(t,o);let i=st(e,t,r),s=new AbortController;try{return await Promise.race([dE(i,n,s),hE(i,r,s),mE(i,r,s)])}catch(a){throw Bt(e),a}finally{s.abort(),In(t,o);}},dE=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},hE=async(e,t,{signal:r})=>{await events.once(e,"disconnect",{signal:r}),vl(t);},mE=async(e,t,{signal:r})=>{let[n]=await events.once(e,"strict:error",{signal:r});throw Cn(n,t)};var jp=({anyProcess:e,channel:t,isSubprocess:r,ipc:n},{reference:o=!0}={})=>is({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:!r,reference:o}),is=({anyProcess:e,channel:t,isSubprocess:r,ipc:n,shouldAwait:o,reference:i})=>{jt({methodName:"getEachMessage",isSubprocess:r,ipc:n,isConnected:Dn(e)}),Rn(t,i);let s=st(e,t,r),a=new AbortController,c={};return yE(e,s,a),bE({ipcEmitter:s,isSubprocess:r,controller:a,state:c}),wE({anyProcess:e,channel:t,ipcEmitter:s,isSubprocess:r,shouldAwait:o,controller:a,state:c,reference:i})},yE=async(e,t,r)=>{try{await events.once(t,"disconnect",{signal:r.signal}),r.abort();}catch{}},bE=async({ipcEmitter:e,isSubprocess:t,controller:r,state:n})=>{try{let[o]=await events.once(e,"strict:error",{signal:r.signal});n.error=Cn(o,t),r.abort();}catch{}},wE=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}))Fp(s),yield c;}catch{Fp(s);}finally{i.abort(),In(t,a),n||Bt(e),o&&await e;}},Fp=({error:e})=>{if(e)throw e};var Gp=(e,{ipc:t})=>{Object.assign(e,kp(e,!1,t));},Up=()=>{let e=Sn__default.default,t=!0,r=Sn__default.default.channel!==void 0;return {...kp(e,t,r),getCancelSignal:Hl.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})}},kp=(e,t,r)=>({sendMessage:Fn.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getOneMessage:Mp.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r}),getEachMessage:jp.bind(void 0,{anyProcess:e,channel:e.channel,isSubprocess:t,ipc:r})});var qp=({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,verboseInfo:s})=>{Xi(n);let a=new child_process.ChildProcess;CE(a,n),Object.assign(a,{readable:LE,writable:AE,duplex:RE});let c=qt({error:e,command:t,escapedCommand:r,fileDescriptors:n,options:o,startTime:i,isSync:!1}),u=IE(c,s,o);return {subprocess:a,promise:u}},CE=(e,t)=>{let r=Lr(),n=Lr(),o=Lr(),i=Array.from({length:t.length-3},Lr),s=Lr(),a=[r,n,o,...i];Object.assign(e,{stdin:r,stdout:n,stderr:o,all:s,stdio:a});},Lr=()=>{let e=new stream.PassThrough;return e.end(),e},LE=()=>new stream.Readable({read(){}}),AE=()=>new stream.Writable({write(){}}),RE=()=>new stream.Duplex({read(){},write(){}}),IE=async(e,t,r)=>zt(e,t,r);var Hp=(e,t)=>Zn(NE,e,t,!1),Rr=({type:e,optionName:t})=>{throw new TypeError(`The \`${t}\` option cannot be ${at[e]}.`)},Vp={fileNumber:Rr,generator:ts,asyncGenerator:ts,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(){}},NE={input:{...Vp,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:{...Vp,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:Rr,asyncIterable:Rr,string:Rr,uint8Array:Rr}};function vt(e){if(!Array.isArray(e))throw new TypeError(`Expected an array, got \`${typeof e}\`.`);for(let o of e)as(o);let t=e.some(({readableObjectMode:o})=>o),r=_E(e,t),n=new ss({objectMode:t,writableHighWaterMark:r,readableHighWaterMark:r});for(let o of e)n.add(o);return n}var _E=(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)},ss=class extends stream.PassThrough{#t=new Set([]);#r=new Set([]);#e=new Set([]);#n;#i=Symbol("unpipe");#o=new WeakMap;add(t){if(as(t),this.#t.has(t))return;this.#t.add(t),this.#n??=jE(this,this.#t,this.#i);let r=UE({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(as(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)}},jE=async(e,t,r)=>{io(e,Xp);let n=new AbortController;try{await Promise.race([BE(e,n),GE(e,t,r,n)]);}finally{n.abort(),io(e,-Xp);}},BE=async(e,{signal:t})=>{try{await promises.finished(e,{signal:t,cleanup:!0});}catch(r){throw Zp(e,r),r}},GE=async(e,t,r,{signal:n})=>{for await(let[o]of events.on(e,"unpipe",{signal:n}))t.has(o)&&o.emit(r);},as=e=>{if(typeof(e==null?void 0:e.pipe)!="function")throw new TypeError(`Expected a readable stream, got: \`${typeof e}\`.`)},UE=async({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,onFinished:i,unpipeEvent:s})=>{io(e,Kp);let a=new AbortController;try{await Promise.race([kE(i,t,a),qE({passThroughStream:e,stream:t,streams:r,ended:n,aborted:o,controller:a}),zE({stream:t,streams:r,ended:n,aborted:o,unpipeEvent:s,controller:a})]);}finally{a.abort(),io(e,-Kp);}r.size>0&&r.size===n.size+o.size&&(n.size===0&&o.size>0?cs(e):WE(e));},kE=async(e,t,{signal:r})=>{try{await e,r.aborted||cs(t);}catch(n){r.aborted||Zp(t,n);}},qE=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;Qp(s)?o.add(t):ed(e,s);}},zE=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);},WE=e=>{e.writable&&e.end();},Zp=(e,t)=>{Qp(t)?cs(e):ed(e,t);},Qp=e=>(e==null?void 0:e.code)==="ERR_STREAM_PREMATURE_CLOSE",cs=e=>{(e.readable||e.writable)&&e.destroy();},ed=(e,t)=>{e.destroyed||(e.once("error",VE),e.destroy(t));},VE=()=>{},io=(e,t)=>{let r=e.getMaxListeners();r!==0&&r!==Number.POSITIVE_INFINITY&&e.setMaxListeners(r+t);},Xp=2,Kp=1;var Vt=(e,t)=>{e.pipe(t),HE(e,t),YE(e,t);},HE=async(e,t)=>{if(!(Ne(e)||Ne(t))){try{await promises.finished(e,{cleanup:!0,readable:!0,writable:!1});}catch{}us(t);}},us=e=>{e.writable&&e.end();},YE=async(e,t)=>{if(!(Ne(e)||Ne(t))){try{await promises.finished(t,{cleanup:!0,readable:!1,writable:!0});}catch{}ls(e);}},ls=e=>{e.readable&&e.destroy();};var rd=(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})=>Re.has(c)))XE(e,a,s,o);for(let{stream:a}of i.filter(({type:c})=>!Re.has(c)))JE({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]:vt(i);Vt(s,o);}},XE=(e,t,r,n)=>{r==="output"?Vt(e.stdio[n],t):Vt(t,e.stdio[n]);let o=KE[n];o!==void 0&&(e[o]=t),e.stdio[n]=t;},KE=["stdin","stdout","stderr"],JE=({subprocess:e,stream:t,direction:r,fdNumber:n,pipeGroups:o,controller:i})=>{if(t===void 0)return;ZE(t,i);let[s,a]=r==="output"?[t,e.stdio[n]]:[e.stdio[n],t],c=o.get(s)??[];o.set(s,[...c,a]);},ZE=(e,{signal:t})=>{Ne(e)&&gt(e,QE,t);},QE=2;var St=[];St.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&St.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&St.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var so=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",fs=Symbol.for("signal-exit emitter"),ps=globalThis,ex=Object.defineProperty.bind(Object),ds=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(ps[fs])return ps[fs];ex(ps,fs,{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}},ao=class{},tx=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),hs=class extends ao{onExit(){return ()=>{}}load(){}unload(){}},ms=class extends ao{#t=gs.platform==="win32"?"SIGINT":"SIGHUP";#r=new ds;#e;#n;#i;#o={};#s=!1;constructor(t){super(),this.#e=t,this.#o={};for(let r of St)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(!so(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 St)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,St.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 so(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"&&so(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)}},gs=globalThis.process,{onExit:nd,load:N8,unload:$8}=tx(so(gs)?new ms(gs):new hs);var od=(e,{cleanup:t,detached:r},{signal:n})=>{if(!t||r)return;let o=nd(()=>{e.kill();});events.addAbortListener(n,()=>{o();});};var sd=({source:e,sourcePromise:t,boundOptions:r,createNested:n},...o)=>{let i=gn(),{destination:s,destinationStream:a,destinationError:c,from:u,unpipeSignal:l}=nx(r,n,o),{sourceStream:f,sourceError:g}=ix(e,u),{options:b,fileDescriptors:y}=qe.get(e);return {sourcePromise:t,sourceStream:f,sourceOptions:b,sourceError:g,destination:s,destinationStream:a,destinationError:c,unpipeSignal:l,fileDescriptors:y,startTime:i}},nx=(e,t,r)=>{try{let{destination:n,pipeOptions:{from:o,to:i,unpipeSignal:s}={}}=ox(e,t,...r),a=An(n,i);return {destination:n,destinationStream:a,from:o,unpipeSignal:s}}catch(n){return {destinationError:n}}},ox=(e,t,r,...n)=>{if(Array.isArray(r))return {destination:t(id,e)(r,...n),pipeOptions:e};if(typeof r=="string"||r instanceof URL||ii(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]=on(r,...n);return {destination:t(id)(o,i,s),pipeOptions:s}}if(qe.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}`)},id=({options:e})=>({options:{...e,stdin:"pipe",piped:!0}}),ix=(e,t)=>{try{return {sourceStream:Gt(e,t)}}catch(r){return {sourceError:r}}};var cd=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n,fileDescriptors:o,sourceOptions:i,startTime:s})=>{let a=sx({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n});if(a!==void 0)throw ys({error:a,fileDescriptors:o,sourceOptions:i,startTime:s})},sx=({sourceStream:e,sourceError:t,destinationStream:r,destinationError:n})=>{if(t!==void 0&&n!==void 0)return n;if(n!==void 0)return ls(e),n;if(t!==void 0)return us(r),t},ys=({error:e,fileDescriptors:t,sourceOptions:r,startTime:n})=>qt({error:e,command:ad,escapedCommand:ad,fileDescriptors:t,options:r,startTime:n,isSync:!1}),ad="source.pipe(destination)";var ud=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 ld=(e,t,r)=>{let n=co.has(t)?ux(e,t):cx(e,t);return gt(e,fx,r.signal),gt(t,px,r.signal),lx(t),n},cx=(e,t)=>{let r=vt([e]);return Vt(r,t),co.set(t,r),r},ux=(e,t)=>{let r=co.get(t);return r.add(e),r},lx=async e=>{try{await promises.finished(e,{cleanup:!0,readable:!1,writable:!0});}catch{}co.delete(e);},co=new WeakMap,fx=2,px=1;var fd=(e,t)=>e===void 0?[]:[hx(e,t)],hx=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 ys({error:s,fileDescriptors:n,sourceOptions:o,startTime:i})};var uo=(e,...t)=>{if(ie(t[0]))return uo.bind(void 0,{...e,boundOptions:{...e.boundOptions,...t[0]}});let{destination:r,...n}=sd(e,...t),o=mx({...n,destination:r});return o.pipe=uo.bind(void 0,{...e,source:r,sourcePromise:o,boundOptions:{}}),o},mx=async({sourcePromise:e,sourceStream:t,sourceOptions:r,sourceError:n,destination:o,destinationStream:i,destinationError:s,unpipeSignal:a,fileDescriptors:c,startTime:u})=>{let l=gx(e,o);cd({sourceStream:t,sourceError:n,destinationStream:i,destinationError:s,fileDescriptors:c,sourceOptions:r,startTime:u});let f=new AbortController;try{let g=ld(t,i,f);return await Promise.race([ud(l),...fd(a,{sourceStream:t,mergedStream:g,sourceOptions:r,fileDescriptors:c,startTime:u})])}finally{f.abort();}},gx=(e,t)=>Promise.allSettled([e,t]);var lo=({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:n,encoding:o,preserveNewlines:i})=>{let s=new AbortController;return wx(t,s),dd({stream:e,controller:s,binary:r,shouldEncode:!e.readableObjectMode&&n,encoding:o,shouldSplit:!e.readableObjectMode,preserveNewlines:i})},wx=async(e,t)=>{try{await e;}catch{}finally{t.abort();}},bs=({stream:e,onStreamEnd:t,lines:r,encoding:n,stripFinalNewline:o,allMixed:i})=>{let s=new AbortController;vx(t,s,e);let a=e.readableObjectMode&&!i;return dd({stream:e,controller:s,binary:n==="buffer",shouldEncode:!a,encoding:n,shouldSplit:!a&&r,preserveNewlines:!o})},vx=async(e,t,r)=>{try{await e;}catch{r.destroy();}finally{t.abort();}},dd=({stream:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})=>{let a=events.on(e,"data",{signal:t.signal,highWaterMark:pd,highWatermark:pd});return Sx({onStdoutChunk:a,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s})},ws=stream.getDefaultHighWaterMark(!0),pd=ws,Sx=async function*({onStdoutChunk:e,controller:t,binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s}){let a=Ex({binary:r,shouldEncode:n,encoding:o,shouldSplit:i,preserveNewlines:s});try{for await(let[c]of e)yield*wt(c,a,0);}catch(c){if(!t.signal.aborted)throw c}finally{yield*Cr(a);}},Ex=({binary:e,shouldEncode:t,encoding:r,shouldSplit:n,preserveNewlines:o})=>[eo(e,r,!t),Qn(e,o,!n,{})].filter(Boolean);var hd=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,buffer:o,maxBuffer:i,lines:s,allMixed:a,stripFinalNewline:c,verboseInfo:u,streamInfo:l})=>{let f=Ox({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:a,verboseInfo:u,streamInfo:l});if(!o){await Promise.all([Cx(e),f]);return}let g=Ki(c,r),b=bs({stream:e,onStreamEnd:t,lines:s,encoding:n,stripFinalNewline:g,allMixed:a}),[y]=await Promise.all([Lx({stream:e,iterable:b,fdNumber:r,encoding:n,maxBuffer:i,lines:s}),f]);return y},Ox=async({stream:e,onStreamEnd:t,fdNumber:r,encoding:n,allMixed:o,verboseInfo:i,streamInfo:{fileDescriptors:s}})=>{var c;if(!no({stdioItems:(c=s[r])==null?void 0:c.stdioItems,encoding:n,verboseInfo:i,fdNumber:r}))return;let a=bs({stream:e,onStreamEnd:t,lines:!0,encoding:n,stripFinalNewline:!0,allMixed:o});await Cp(a,e,r,i);},Cx=async e=>{await promises$1.setImmediate(),e.readableFlowing===null&&e.resume();},Lx=async({stream:e,stream:{readableObjectMode:t},iterable:r,fdNumber:n,encoding:o,maxBuffer:i,lines:s})=>{try{return t||s?await qn(r,{maxBuffer:i}):o==="buffer"?new Uint8Array(await zn(r,{maxBuffer:i})):await Vn(r,{maxBuffer:i})}catch(a){return md(Cf({error:a,stream:e,readableObjectMode:t,lines:s,encoding:o,fdNumber:n}))}},vs=async e=>{try{return await e}catch(t){return md(t)}},md=({bufferedData:e})=>_c(e)?new Uint8Array(e):e;var Ir=async(e,t,r,{isSameDirection:n,stopOnExit:o=!1}={})=>{let i=Rx(e,r),s=new AbortController;try{await Promise.race([...o?[r.exitPromise]:[],promises.finished(e,{cleanup:!0,signal:s.signal})]);}catch(a){i.stdinCleanedUp||Tx(a,t,r,n);}finally{s.abort();}},Rx=(e,{originalStreams:[t],subprocess:r})=>{let n={stdinCleanedUp:!1};return e===t&&Ix(e,r,n),n},Ix=(e,t,r)=>{let{_destroy:n}=e;e._destroy=(...o)=>{Px(t,r),n.call(e,...o);};},Px=({exitCode:e,signalCode:t},r)=>{(e!==null||t!==null)&&(r.stdinCleanedUp=!0);},Tx=(e,t,r,n)=>{if(!Dx(e,t,r,n))throw e},Dx=(e,t,r,n=!0)=>r.propagating?gd(e)||fo(e):(r.propagating=!0,Ss(r,t)===n?gd(e):fo(e)),Ss=({fileDescriptors:e},t)=>t!=="all"&&e[t].direction==="input",fo=e=>(e==null?void 0:e.code)==="ERR_STREAM_PREMATURE_CLOSE",gd=e=>(e==null?void 0:e.code)==="EPIPE";var yd=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:a})=>e.stdio.map((c,u)=>Es({stream:c,fdNumber:u,encoding:t,buffer:r[u],maxBuffer:n[u],lines:o[u],allMixed:!1,stripFinalNewline:i,verboseInfo:s,streamInfo:a})),Es=async({stream:e,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:a,verboseInfo:c,streamInfo:u})=>{if(!e)return;let l=Ir(e,t,u);if(Ss(u,t)){await l;return}let[f]=await Promise.all([hd({stream:e,onStreamEnd:l,fdNumber:t,encoding:r,buffer:n,maxBuffer:o,lines:i,allMixed:s,stripFinalNewline:a,verboseInfo:c,streamInfo:u}),l]);return f};var bd=({stdout:e,stderr:t},{all:r})=>r&&(e||t)?vt([e,t].filter(Boolean)):void 0,wd=({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:i,verboseInfo:s,streamInfo:a})=>Es({...Nx(e,r),fdNumber:"all",encoding:t,maxBuffer:n[1]+n[2],lines:o[1]||o[2],allMixed:$x(e),stripFinalNewline:i,verboseInfo:s,streamInfo:a}),Nx=({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}},$x=({all:e,stdout:t,stderr:r})=>e&&t&&r&&t.readableObjectMode!==r.readableObjectMode;var vd=e=>Mt(e,"ipc"),Sd=(e,t)=>{let r=mn(e);Ue({type:"ipc",verboseMessage:r,fdNumber:"ipc",verboseInfo:t});};var Ed=async({subprocess:e,buffer:t,maxBuffer:r,ipc:n,ipcOutput:o,verboseInfo:i})=>{if(!n)return o;let s=vd(i),a=Ke(t,"ipc"),c=Ke(r,"ipc");for await(let u of is({anyProcess:e,channel:e.channel,isSubprocess:!1,ipc:n,shouldAwait:!1,reference:!0}))a&&(Lf(e,o,c),o.push(u)),s&&Sd(u,i);return o},xd=async(e,t)=>(await Promise.allSettled([e]),t);var Od=async({subprocess:e,options:{encoding:t,buffer:r,maxBuffer:n,lines:o,timeoutDuration:i,cancelSignal:s,gracefulCancel:a,forceKillAfterDelay:c,stripFinalNewline:u,ipc:l,ipcInput:f},context:g,verboseInfo:b,fileDescriptors:y,originalStreams:p,onInternalError:x,controller:N})=>{let j=Pp(e,g),q={originalStreams:p,fileDescriptors:y,subprocess:e,exitPromise:j,propagating:!1},G=yd({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:u,verboseInfo:b,streamInfo:q}),oe=wd({subprocess:e,encoding:t,buffer:r,maxBuffer:n,lines:o,stripFinalNewline:u,verboseInfo:b,streamInfo:q}),J=[],_=Ed({subprocess:e,buffer:r,maxBuffer:n,ipc:l,ipcOutput:J,verboseInfo:b}),H=Fx(p,e,q),D=_x(y,q);try{return await Promise.race([Promise.all([{},Dp(j),Promise.all(G),oe,_,nf(e,f),...H,...D]),x,jx(e,N),...Zl(e,i,g,N),...wl({subprocess:e,cancelSignal:s,gracefulCancel:a,context:g,controller:N}),...Kl({subprocess:e,cancelSignal:s,gracefulCancel:a,forceKillAfterDelay:c,context:g,controller:N})])}catch(pe){return g.terminationReason??="other",Promise.all([{error:pe},j,Promise.all(G.map(R=>vs(R))),vs(oe),xd(_,J),Promise.allSettled(H),Promise.allSettled(D)])}},Fx=(e,t,r)=>e.map((n,o)=>n===t.stdio[o]?void 0:Ir(n,o,r)),_x=(e,t)=>e.flatMap(({stdioItems:r},n)=>r.filter(({value:o,stream:i=o})=>Fe(i,{checkOpen:!1})&&!Ne(i)).map(({type:o,value:i,stream:s=i})=>Ir(s,n,t,{isSameDirection:Re.has(o),stopOnExit:o==="native"}))),jx=async(e,{signal:t})=>{let[r]=await events.once(e,"error",{signal:t});throw r};var Cd=()=>({readableDestroy:new WeakMap,writableFinal:new WeakMap,writableDestroy:new WeakMap}),Pr=(e,t,r)=>{let n=e[r];n.has(t)||n.set(t,[]);let o=n.get(t),i=ke();return o.push(i),{resolve:i.resolve.bind(i),promises:o}},Ht=async({resolve:e,promises:t},r)=>{e();let[n]=await Promise.race([Promise.allSettled([!0,r]),Promise.all([!1,...t])]);return !n};var xs=async e=>{if(e!==void 0)try{await Os(e);}catch{}},Ad=async e=>{if(e!==void 0)try{await Cs(e);}catch{}},Os=async e=>{await promises.finished(e,{cleanup:!0,readable:!1,writable:!0});},Cs=async e=>{await promises.finished(e,{cleanup:!0,readable:!0,writable:!1});},po=async(e,t)=>{if(await e,t)throw t},ho=(e,t,r)=>{r&&!fo(r)?e.destroy(r):t&&e.destroy();};var Rd=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,binary:o=!0,preserveNewlines:i=!0}={})=>{let s=o||Ce.has(r),{subprocessStdout:a,waitReadableDestroy:c}=Ls(e,n,t),{readableEncoding:u,readableObjectMode:l,readableHighWaterMark:f}=As(a,s),{read:g,onStdoutDataDone:b}=Rs({subprocessStdout:a,subprocess:e,binary:s,encoding:r,preserveNewlines:i}),y=new stream.Readable({read:g,destroy:util.callbackify(Ps.bind(void 0,{subprocessStdout:a,subprocess:e,waitReadableDestroy:c})),highWaterMark:f,objectMode:l,encoding:u});return Is({subprocessStdout:a,onStdoutDataDone:b,readable:y,subprocess:e}),y},Ls=(e,t,r)=>{let n=Gt(e,t),o=Pr(r,n,"readableDestroy");return {subprocessStdout:n,waitReadableDestroy:o}},As=({readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r},n)=>n?{readableEncoding:e,readableObjectMode:t,readableHighWaterMark:r}:{readableEncoding:e,readableObjectMode:!0,readableHighWaterMark:ws},Rs=({subprocessStdout:e,subprocess:t,binary:r,encoding:n,preserveNewlines:o})=>{let i=ke(),s=lo({subprocessStdout:e,subprocess:t,binary:r,shouldEncode:!r,encoding:n,preserveNewlines:o});return {read(){Ux(this,s,i);},onStdoutDataDone:i}},Ux=async(e,t,r)=>{try{let{value:n,done:o}=await t.next();o?r.resolve():e.push(n);}catch{}},Is=async({subprocessStdout:e,onStdoutDataDone:t,readable:r,subprocess:n,subprocessStdin:o})=>{try{await Cs(e),await n,await xs(o),await t,r.readable&&r.push(null);}catch(i){await xs(o),Id(r,i);}},Ps=async({subprocessStdout:e,subprocess:t,waitReadableDestroy:r},n)=>{await Ht(r,t)&&(Id(e,n),await po(t,n));},Id=(e,t)=>{ho(e,e.readable,t);};var Td=({subprocess:e,concurrentStreams:t},{to:r}={})=>{let{subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}=Ts(e,r,t),s=new stream.Writable({...Ds(n,e,o),destroy:util.callbackify($s.bind(void 0,{subprocessStdin:n,subprocess:e,waitWritableFinal:o,waitWritableDestroy:i})),highWaterMark:n.writableHighWaterMark,objectMode:n.writableObjectMode});return Ns(n,s),s},Ts=(e,t,r)=>{let n=An(e,t),o=Pr(r,n,"writableFinal"),i=Pr(r,n,"writableDestroy");return {subprocessStdin:n,waitWritableFinal:o,waitWritableDestroy:i}},Ds=(e,t,r)=>({write:qx.bind(void 0,e),final:util.callbackify(zx.bind(void 0,e,t,r))}),qx=(e,t,r,n)=>{e.write(t,r)?n():e.once("drain",n);},zx=async(e,t,r)=>{await Ht(r,t)&&(e.writable&&e.end(),await t);},Ns=async(e,t,r)=>{try{await Os(e),t.writable&&t.end();}catch(n){await Ad(r),Dd(t,n);}},$s=async({subprocessStdin:e,subprocess:t,waitWritableFinal:r,waitWritableDestroy:n},o)=>{await Ht(r,t),await Ht(n,t)&&(Dd(e,o),await po(t,o));},Dd=(e,t)=>{ho(e,e.writable,t);};var Nd=({subprocess:e,concurrentStreams:t,encoding:r},{from:n,to:o,binary:i=!0,preserveNewlines:s=!0}={})=>{let a=i||Ce.has(r),{subprocessStdout:c,waitReadableDestroy:u}=Ls(e,n,t),{subprocessStdin:l,waitWritableFinal:f,waitWritableDestroy:g}=Ts(e,o,t),{readableEncoding:b,readableObjectMode:y,readableHighWaterMark:p}=As(c,a),{read:x,onStdoutDataDone:N}=Rs({subprocessStdout:c,subprocess:e,binary:a,encoding:r,preserveNewlines:s}),j=new stream.Duplex({read:x,...Ds(l,e,f),destroy:util.callbackify(Hx.bind(void 0,{subprocessStdout:c,subprocessStdin:l,subprocess:e,waitReadableDestroy:u,waitWritableFinal:f,waitWritableDestroy:g})),readableHighWaterMark:p,writableHighWaterMark:l.writableHighWaterMark,readableObjectMode:y,writableObjectMode:l.writableObjectMode,encoding:b});return Is({subprocessStdout:c,onStdoutDataDone:N,readable:j,subprocess:e,subprocessStdin:l}),Ns(l,j,c),j},Hx=async({subprocessStdout:e,subprocessStdin:t,subprocess:r,waitReadableDestroy:n,waitWritableFinal:o,waitWritableDestroy:i},s)=>{await Promise.all([Ps({subprocessStdout:e,subprocess:r,waitReadableDestroy:n},s),$s({subprocessStdin:t,subprocess:r,waitWritableFinal:o,waitWritableDestroy:i},s)]);};var Ms=(e,t,{from:r,binary:n=!1,preserveNewlines:o=!1}={})=>{let i=n||Ce.has(t),s=Gt(e,r),a=lo({subprocessStdout:s,subprocess:e,binary:i,shouldEncode:!0,encoding:t,preserveNewlines:o});return Yx(a,s,e)},Yx=async function*(e,t,r){try{yield*e;}finally{t.readable&&t.destroy(),await r;}};var $d=(e,{encoding:t})=>{let r=Cd();e.readable=Rd.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.writable=Td.bind(void 0,{subprocess:e,concurrentStreams:r}),e.duplex=Nd.bind(void 0,{subprocess:e,concurrentStreams:r,encoding:t}),e.iterable=Ms.bind(void 0,e,t),e[Symbol.asyncIterator]=Ms.bind(void 0,e,t,{});};var Md=(e,t)=>{for(let[r,n]of Kx){let o=n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o});}},Xx=(async()=>{})().constructor.prototype,Kx=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(Xx,e)]);var Fd=(e,t,r,n)=>{let{file:o,commandArguments:i,command:s,escapedCommand:a,startTime:c,verboseInfo:u,options:l,fileDescriptors:f}=Qx(e,t,r),{subprocess:g,promise:b}=t5({file:o,commandArguments:i,options:l,startTime:c,verboseInfo:u,command:s,escapedCommand:a,fileDescriptors:f});return g.pipe=uo.bind(void 0,{source:g,sourcePromise:b,boundOptions:{},createNested:n}),Md(g,b),qe.set(g,{options:l,fileDescriptors:f}),g},Qx=(e,t,r)=>{let{command:n,escapedCommand:o,startTime:i,verboseInfo:s}=yn(e,t,r),{file:a,commandArguments:c,options:u}=jn(e,t,r),l=e5(u),f=Hp(l,s);return {file:a,commandArguments:c,command:n,escapedCommand:o,startTime:i,verboseInfo:s,options:l,fileDescriptors:f}},e5=({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}},t5=({file:e,commandArguments:t,options:r,startTime:n,verboseInfo:o,command:i,escapedCommand:s,fileDescriptors:a})=>{let c;try{c=child_process.spawn(...Bn(e,t,r));}catch(y){return qp({error:y,command:i,escapedCommand:s,fileDescriptors:a,options:r,startTime:n,verboseInfo:o})}let u=new AbortController;events.setMaxListeners(Number.POSITIVE_INFINITY,u.signal);let l=[...c.stdio];rd(c,a,u),od(c,r,u);let f={},g=ke();c.kill=yl.bind(void 0,{kill:c.kill.bind(c),options:r,onInternalError:g,context:f,controller:u}),c.all=bd(c,r),$d(c,r),Gp(c,r);let b=r5({subprocess:c,options:r,startTime:n,verboseInfo:o,fileDescriptors:a,originalStreams:l,command:i,escapedCommand:s,context:f,onInternalError:g,controller:u});return {subprocess:c,promise:b}},r5=async({subprocess:e,options:t,startTime:r,verboseInfo:n,fileDescriptors:o,originalStreams:i,command:s,escapedCommand:a,context:c,onInternalError:u,controller:l})=>{let[f,[g,b],y,p,x]=await Od({subprocess:e,options:t,context:c,verboseInfo:n,fileDescriptors:o,originalStreams:i,onInternalError:u,controller:l});l.abort(),u.resolve();let N=y.map((G,oe)=>Ze(G,t,oe)),j=Ze(p,t,"all"),q=n5({errorInfo:f,exitCode:g,signal:b,stdio:N,all:j,ipcOutput:x,context:c,options:t,command:s,escapedCommand:a,startTime:r});return zt(q,n,t)},n5=({errorInfo:e,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,context:s,options:a,command:c,escapedCommand:u,startTime:l})=>"error"in e?Or({error:e.error,command:c,escapedCommand:u,timedOut:s.terminationReason==="timeout",isCanceled:s.terminationReason==="cancel"||s.terminationReason==="gracefulCancel",isGracefullyCanceled:s.terminationReason==="gracefulCancel",isMaxBuffer:e.error instanceof ze,isForcefullyTerminated:s.isForcefullyTerminated,exitCode:t,signal:r,stdio:n,all:o,ipcOutput:i,options:a,startTime:l,isSync:!1}):Yn({command:c,escapedCommand:u,stdio:n,all:o,ipcOutput:i,options:a,startTime:l});var mo=(e,t)=>{let r=Object.fromEntries(Object.entries(t).map(([n,o])=>[n,o5(n,e[n],o)]));return {...e,...r}},o5=(e,t,r)=>i5.has(e)&&ie(t)&&ie(r)?{...t,...r}:r,i5=new Set(["env",...fi]);var ct=(e,t,r,n)=>{let o=(s,a,c)=>ct(s,a,r,c),i=(...s)=>s5({mapArguments:e,deepOptions:r,boundOptions:t,setBoundExeca:n,createNested:o},...s);return n!==void 0&&n(i,o,t),i},s5=({mapArguments:e,deepOptions:t={},boundOptions:r={},setBoundExeca:n,createNested:o},i,...s)=>{if(ie(i))return o(e,mo(r,i),n);let{file:a,commandArguments:c,options:u,isSync:l}=a5({mapArguments:e,firstArgument:i,nextArguments:s,deepOptions:t,boundOptions:r});return l?$p(a,c,u):Fd(a,c,u,o)},a5=({mapArguments:e,firstArgument:t,nextArguments:r,deepOptions:n,boundOptions:o})=>{let i=qc(t)?zc(t,r):[t,...r],[s,a,c]=on(...i),u=mo(mo(n,o),c),{file:l=s,commandArguments:f=a,options:g=u,isSync:b=!1}=e({file:s,commandArguments:a,options:u});return {file:l,commandArguments:f,options:g,isSync:b}};var _d=(e,t,r)=>{e.sync=t(c5,r),e.s=e.sync;},jd=({options:e})=>Bd(e),c5=({options:e})=>({...Bd(e),isSync:!0}),Bd=e=>({options:{...u5(e),...e}}),u5=({input:e,inputFile:t,stdio:r})=>e===void 0&&t===void 0&&r===void 0?{stdin:"inherit"}:{},Gd={preferLocal:!0};var EM=ct(()=>({}));ct(()=>({isSync:!0}));ct(Dc);ct(Nc);ct(ef);ct(jd,{},Gd,_d);Up();function vc({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 eR=vc();function tR(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(eR,"")}var rn=chunkTKGT252T_js.e(_y()),oi=process.platform!=="win32"||process.env.CI||process.env.TERM==="xterm-256color",AR=oi?"\u2716":"\xD7",RR=oi?"\u2714":"\u221A";var V_=rn.default.blue(oi?"\u2139":"i"),H_=rn.default.green(RR),Y_=rn.default.yellow(oi?"\u26A0":"\u203C"),X_=rn.default.red(AR);
99
+
100
+ exports.A = by;
101
+ exports.B = xy;
102
+ exports.C = _y;
103
+ exports.D = LR;
104
+ exports.E = V_;
105
+ exports.F = H_;
106
+ exports.G = Y_;
107
+ exports.H = X_;
108
+ exports.a = tR;
109
+ exports.b = xu;
110
+ exports.c = Pu;
111
+ exports.d = Du;
112
+ exports.e = Uu;
113
+ exports.f = Mc;
114
+ exports.g = EM;
115
+ exports.h = dh;
116
+ exports.i = Dh;
117
+ exports.j = cm;
118
+ exports.k = bm;
119
+ exports.l = ia;
120
+ exports.m = Em;
121
+ exports.n = ja;
122
+ exports.o = _1;
123
+ exports.p = rc;
124
+ exports.q = nc;
125
+ exports.r = pg;
126
+ exports.s = hg;
127
+ exports.t = bg;
128
+ exports.u = xg;
129
+ exports.v = ac;
130
+ exports.w = Ag;
131
+ exports.x = Ig;
132
+ exports.y = zg;
133
+ exports.z = Q3;
134
+ //# sourceMappingURL=out.js.map
135
+ //# sourceMappingURL=chunk-F6FLWRPJ.js.map
136
+ //# debugId=15fd445f-76b0-557b-ae35-ea97b09a7b66