@envsa/cspell-config
Version:
CSpell configuration for @envsa/shared-config.
15 lines • 128 kB
JavaScript
#!/usr/bin/env node
import { createRequire } from "module";
const require = createRequire(import.meta.url);
var _s=Object.create;var Pn=Object.defineProperty;var Ss=Object.getOwnPropertyDescriptor;var js=Object.getOwnPropertyNames;var Ps=Object.getPrototypeOf,Ms=Object.prototype.hasOwnProperty;var Ct=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $s=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of js(e))!Ms.call(t,s)&&s!==n&&Pn(t,s,{get:()=>e[s],enumerable:!(i=Ss(e,s))||i.enumerable});return t};var lt=(t,e,n)=>(n=t!=null?_s(Ps(t)):{},$s(e||!t||!t.__esModule?Pn(n,"default",{value:t,enumerable:!0}):n,t));var Kt=Ct((ko,Vt)=>{var At=process||{},Wn=At.argv||[],bt=At.env||{},Ws=!(bt.NO_COLOR||Wn.includes("--no-color"))&&(!!bt.FORCE_COLOR||Wn.includes("--color")||At.platform==="win32"||(At.stdout||{}).isTTY&&bt.TERM!=="dumb"||!!bt.CI),Ls=(t,e,n=t)=>i=>{let s=""+i,r=s.indexOf(e,t.length);return~r?t+Ts(s,e,n,r)+e:t+s+e},Ts=(t,e,n,i)=>{let s="",r=0;do s+=t.substring(r,i)+n,r=i+e.length,i=t.indexOf(e,r);while(~i);return s+t.substring(r)},Ln=(t=Ws)=>{let e=t?Ls:()=>String;return{isColorSupported:t,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};Vt.exports=Ln();Vt.exports.createColors=Ln});var Gn=Ct((Qo,Yn)=>{Yn.exports=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g});var Fi=Ct((Ru,gi)=>{"use strict";gi.exports=function(e){if(e===void 0&&(e=2),e>=Error.stackTraceLimit)throw new TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+e+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var n=Error.prepareStackTrace;Error.prepareStackTrace=function(s,r){return r};var i=new Error().stack;if(Error.prepareStackTrace=n,i!==null&&typeof i=="object")return i[e]?i[e].getFileName():void 0}});var cs=Ct((lc,as)=>{"use strict";var Zr=function(e){return Qr(e)&&!Xr(e)};function Qr(t){return!!t&&typeof t=="object"}function Xr(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||no(t)}var eo=typeof Symbol=="function"&&Symbol.for,to=eo?Symbol.for("react.element"):60103;function no(t){return t.$$typeof===to}function io(t){return Array.isArray(t)?[]:{}}function gt(t,e){return e.clone!==!1&&e.isMergeableObject(t)?ot(io(t),t,e):t}function so(t,e,n){return t.concat(e).map(function(i){return gt(i,n)})}function ro(t,e){if(!e.customMerge)return ot;var n=e.customMerge(t);return typeof n=="function"?n:ot}function oo(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function os(t){return Object.keys(t).concat(oo(t))}function us(t,e){try{return e in t}catch{return!1}}function uo(t,e){return us(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function ao(t,e,n){var i={};return n.isMergeableObject(t)&&os(t).forEach(function(s){i[s]=gt(t[s],n)}),os(e).forEach(function(s){uo(t,s)||(us(t,s)&&n.isMergeableObject(e[s])?i[s]=ro(s,n)(t[s],e[s],n):i[s]=gt(e[s],n))}),i}function ot(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||so,n.isMergeableObject=n.isMergeableObject||Zr,n.cloneUnlessOtherwiseSpecified=gt;var i=Array.isArray(e),s=Array.isArray(t),r=i===s;return r?i?n.arrayMerge(t,e,n):ao(t,e,n):gt(e,n)}ot.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,s){return ot(i,s,n)},{})};var co=ot;as.exports=co});import{cosmiconfig as _c}from"cosmiconfig";import{TypeScriptLoader as jc}from"cosmiconfig-typescript-loader";import{execa as Co}from"execa";import Be from"fs-extra";import Fs from"node:fs";import Ht from"node:path";import{PassThrough as Eo}from"node:stream";import{fileURLToPath as bo}from"node:url";import In from"node:process";import Mn from"node:process";import vs from"node:fs/promises";import{fileURLToPath as Is}from"node:url";import Ns from"node:fs";import me from"node:path";var Et=t=>t instanceof URL?Is(t):t;async function $n(t,{cwd:e=Mn.cwd(),type:n="file",stopAt:i}={}){let s=me.resolve(Et(e)??""),{root:r}=me.parse(s);for(i=me.resolve(s,Et(i??r));s&&s!==i&&s!==r;){let o=me.isAbsolute(t)?t:me.join(s,t);try{let a=await vs.stat(o);if(n==="file"&&a.isFile()||n==="directory"&&a.isDirectory())return o}catch{}s=me.dirname(s)}}function vn(t,{cwd:e=Mn.cwd(),type:n="file",stopAt:i}={}){let s=me.resolve(Et(e)??""),{root:r}=me.parse(s);for(i=me.resolve(s,Et(i)??r);s&&s!==i&&s!==r;){let o=me.isAbsolute(t)?t:me.join(s,t);try{let a=Ns.statSync(o,{throwIfNoEntry:!1});if(n==="file"&&a?.isFile()||n==="directory"&&a?.isDirectory())return o}catch{}s=me.dirname(s)}}async function ft({cwd:t=In.cwd()}={}){return $n("package.json",{cwd:t})}function Nn({cwd:t=In.cwd()}={}){return vn("package.json",{cwd:t})}var Le=lt(Kt(),1);import{notStrictEqual as yr,strictEqual as wr}from"assert";var Rs={right:Ys,center:Gs},Us=0,yt=1,zs=2,wt=3,Jt=class{constructor(e){var n;this.width=e.width,this.wrap=(n=e.wrap)!==null&&n!==void 0?n:!0,this.rows=[]}span(...e){let n=this.div(...e);n.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);let n=e.map(i=>typeof i=="string"?this.colFromString(i):i);return this.rows.push(n),n}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){let n=e.split(`
`).map(s=>s.split(" ")),i=0;return n.forEach(s=>{s.length>1&&De.stringWidth(s[0])>i&&(i=Math.min(Math.floor(this.width*.5),De.stringWidth(s[0])))}),n.forEach(s=>{this.div(...s.map((r,o)=>({text:r.trim(),padding:this.measurePadding(r),width:o===0&&s.length>1?i:void 0})))}),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){let n=De.stripAnsi(e);return[0,n.match(/\s*$/)[0].length,0,n.match(/^\s*/)[0].length]}toString(){let e=[];return this.rows.forEach(n=>{this.rowToString(n,e)}),e.filter(n=>!n.hidden).map(n=>n.text).join(`
`)}rowToString(e,n){return this.rasterize(e).forEach((i,s)=>{let r="";i.forEach((o,a)=>{let{width:m}=e[a],F=this.negatePadding(e[a]),g=o;if(F>De.stringWidth(o)&&(g+=" ".repeat(F-De.stringWidth(o))),e[a].align&&e[a].align!=="left"&&this.wrap){let f=Rs[e[a].align];g=f(g,F),De.stringWidth(g)<F&&(g+=" ".repeat((m||0)-De.stringWidth(g)-1))}let l=e[a].padding||[0,0,0,0];l[wt]&&(r+=" ".repeat(l[wt])),r+=Tn(e[a],g,"| "),r+=g,r+=Tn(e[a],g," |"),l[yt]&&(r+=" ".repeat(l[yt])),s===0&&n.length>0&&(r=this.renderInline(r,n[n.length-1]))}),n.push({text:r.replace(/ +$/,""),span:e.span})}),n}renderInline(e,n){let i=e.match(/^ */),s=i?i[0].length:0,r=n.text,o=De.stringWidth(r.trimRight());return n.span?this.wrap?s<o?e:(n.hidden=!0,r.trimRight()+" ".repeat(s-o)+e.trimLeft()):(n.hidden=!0,r+e):e}rasterize(e){let n=[],i=this.columnWidths(e),s;return e.forEach((r,o)=>{r.width=i[o],this.wrap?s=De.wrap(r.text,this.negatePadding(r),{hard:!0}).split(`
`):s=r.text.split(`
`),r.border&&(s.unshift("."+"-".repeat(this.negatePadding(r)+2)+"."),s.push("'"+"-".repeat(this.negatePadding(r)+2)+"'")),r.padding&&(s.unshift(...new Array(r.padding[Us]||0).fill("")),s.push(...new Array(r.padding[zs]||0).fill(""))),s.forEach((a,m)=>{n[m]||n.push([]);let F=n[m];for(let g=0;g<o;g++)F[g]===void 0&&F.push("");F.push(a)})}),n}negatePadding(e){let n=e.width||0;return e.padding&&(n-=(e.padding[wt]||0)+(e.padding[yt]||0)),e.border&&(n-=4),n}columnWidths(e){if(!this.wrap)return e.map(o=>o.width||De.stringWidth(o.text));let n=e.length,i=this.width,s=e.map(o=>{if(o.width)return n--,i-=o.width,o.width}),r=n?Math.floor(i/n):0;return s.map((o,a)=>o===void 0?Math.max(r,ks(e[a])):o)}};function Tn(t,e,n){return t.border?/[.']-+[.']/.test(e)?"":e.trim().length!==0?n:" ":""}function ks(t){let e=t.padding||[],n=1+(e[wt]||0)+(e[yt]||0);return t.border?n+4:n}function Hs(){return typeof process=="object"&&process.stdout&&process.stdout.columns?process.stdout.columns:80}function Ys(t,e){t=t.trim();let n=De.stringWidth(t);return n<e?" ".repeat(e-n)+t:t}function Gs(t,e){t=t.trim();let n=De.stringWidth(t);return n>=e?t:" ".repeat(e-n>>1)+t}var De;function Rn(t,e){return De=e,new Jt({width:t?.width||Hs(),wrap:t?.wrap})}function qt({onlyFirst:t=!1}={}){let s="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(s,t?void 0:"g")}var Vs=qt();function Ue(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Vs,"")}function Un(t){return t===161||t===164||t===167||t===168||t===170||t===173||t===174||t>=176&&t<=180||t>=182&&t<=186||t>=188&&t<=191||t===198||t===208||t===215||t===216||t>=222&&t<=225||t===230||t>=232&&t<=234||t===236||t===237||t===240||t===242||t===243||t>=247&&t<=250||t===252||t===254||t===257||t===273||t===275||t===283||t===294||t===295||t===299||t>=305&&t<=307||t===312||t>=319&&t<=322||t===324||t>=328&&t<=331||t===333||t===338||t===339||t===358||t===359||t===363||t===462||t===464||t===466||t===468||t===470||t===472||t===474||t===476||t===593||t===609||t===708||t===711||t>=713&&t<=715||t===717||t===720||t>=728&&t<=731||t===733||t===735||t>=768&&t<=879||t>=913&&t<=929||t>=931&&t<=937||t>=945&&t<=961||t>=963&&t<=969||t===1025||t>=1040&&t<=1103||t===1105||t===8208||t>=8211&&t<=8214||t===8216||t===8217||t===8220||t===8221||t>=8224&&t<=8226||t>=8228&&t<=8231||t===8240||t===8242||t===8243||t===8245||t===8251||t===8254||t===8308||t===8319||t>=8321&&t<=8324||t===8364||t===8451||t===8453||t===8457||t===8467||t===8470||t===8481||t===8482||t===8486||t===8491||t===8531||t===8532||t>=8539&&t<=8542||t>=8544&&t<=8555||t>=8560&&t<=8569||t===8585||t>=8592&&t<=8601||t===8632||t===8633||t===8658||t===8660||t===8679||t===8704||t===8706||t===8707||t===8711||t===8712||t===8715||t===8719||t===8721||t===8725||t===8730||t>=8733&&t<=8736||t===8739||t===8741||t>=8743&&t<=8748||t===8750||t>=8756&&t<=8759||t===8764||t===8765||t===8776||t===8780||t===8786||t===8800||t===8801||t>=8804&&t<=8807||t===8810||t===8811||t===8814||t===8815||t===8834||t===8835||t===8838||t===8839||t===8853||t===8857||t===8869||t===8895||t===8978||t>=9312&&t<=9449||t>=9451&&t<=9547||t>=9552&&t<=9587||t>=9600&&t<=9615||t>=9618&&t<=9621||t===9632||t===9633||t>=9635&&t<=9641||t===9650||t===9651||t===9654||t===9655||t===9660||t===9661||t===9664||t===9665||t>=9670&&t<=9672||t===9675||t>=9678&&t<=9681||t>=9698&&t<=9701||t===9711||t===9733||t===9734||t===9737||t===9742||t===9743||t===9756||t===9758||t===9792||t===9794||t===9824||t===9825||t>=9827&&t<=9829||t>=9831&&t<=9834||t===9836||t===9837||t===9839||t===9886||t===9887||t===9919||t>=9926&&t<=9933||t>=9935&&t<=9939||t>=9941&&t<=9953||t===9955||t===9960||t===9961||t>=9963&&t<=9969||t===9972||t>=9974&&t<=9977||t===9979||t===9980||t===9982||t===9983||t===10045||t>=10102&&t<=10111||t>=11094&&t<=11097||t>=12872&&t<=12879||t>=57344&&t<=63743||t>=65024&&t<=65039||t===65533||t>=127232&&t<=127242||t>=127248&&t<=127277||t>=127280&&t<=127337||t>=127344&&t<=127373||t===127375||t===127376||t>=127387&&t<=127404||t>=917760&&t<=917999||t>=983040&&t<=1048573||t>=1048576&&t<=1114109}function zn(t){return t===12288||t>=65281&&t<=65376||t>=65504&&t<=65510}function kn(t){return t>=4352&&t<=4447||t===8986||t===8987||t===9001||t===9002||t>=9193&&t<=9196||t===9200||t===9203||t===9725||t===9726||t===9748||t===9749||t>=9776&&t<=9783||t>=9800&&t<=9811||t===9855||t>=9866&&t<=9871||t===9875||t===9889||t===9898||t===9899||t===9917||t===9918||t===9924||t===9925||t===9934||t===9940||t===9962||t===9970||t===9971||t===9973||t===9978||t===9981||t===9989||t===9994||t===9995||t===10024||t===10060||t===10062||t>=10067&&t<=10069||t===10071||t>=10133&&t<=10135||t===10160||t===10175||t===11035||t===11036||t===11088||t===11093||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12773||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||t>=94192&&t<=94198||t>=94208&&t<=101589||t>=101631&&t<=101662||t>=101760&&t<=101874||t>=110576&&t<=110579||t>=110581&&t<=110587||t===110589||t===110590||t>=110592&&t<=110882||t===110898||t>=110928&&t<=110930||t===110933||t>=110948&&t<=110951||t>=110960&&t<=111355||t>=119552&&t<=119638||t>=119648&&t<=119670||t===126980||t===127183||t===127374||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||t===127568||t===127569||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||t===127988||t>=127992&&t<=128062||t===128064||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||t===128378||t===128405||t===128406||t===128420||t>=128507&&t<=128591||t>=128640&&t<=128709||t===128716||t>=128720&&t<=128722||t>=128725&&t<=128728||t>=128732&&t<=128735||t===128747||t===128748||t>=128756&&t<=128764||t>=128992&&t<=129003||t===129008||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129674||t>=129678&&t<=129734||t===129736||t>=129741&&t<=129756||t>=129759&&t<=129770||t>=129775&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}function Ks(t){if(!Number.isSafeInteger(t))throw new TypeError(`Expected a code point, got \`${typeof t}\`.`)}function Hn(t,{ambiguousAsWide:e=!1}={}){return Ks(t),zn(t)||kn(t)||e&&Un(t)?2:1}var Vn=lt(Gn(),1),Js=new Intl.Segmenter,qs=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function we(t,e={}){if(typeof t!="string"||t.length===0)return 0;let{ambiguousIsNarrow:n=!0,countAnsiEscapeCodes:i=!1}=e;if(i||(t=Ue(t)),t.length===0)return 0;let s=0,r={ambiguousAsWide:!n};for(let{segment:o}of Js.segment(t)){let a=o.codePointAt(0);if(!(a<=31||a>=127&&a<=159)&&!(a>=8203&&a<=8207||a===65279)&&!(a>=768&&a<=879||a>=6832&&a<=6911||a>=7616&&a<=7679||a>=8400&&a<=8447||a>=65056&&a<=65071)&&!(a>=55296&&a<=57343)&&!(a>=65024&&a<=65039)&&!qs.test(o)){if((0,Vn.default)().test(o)){s+=2;continue}s+=Hn(a,r)}}return s}var Kn=(t=0)=>e=>`\x1B[${e+t}m`,Jn=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,qn=(t=0)=>(e,n,i)=>`\x1B[${38+t};2;${e};${n};${i}m`,J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},nu=Object.keys(J.modifier),Zs=Object.keys(J.color),Qs=Object.keys(J.bgColor),iu=[...Zs,...Qs];function Xs(){let t=new Map;for(let[e,n]of Object.entries(J)){for(let[i,s]of Object.entries(n))J[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=J[i],t.set(s[0],s[1]);Object.defineProperty(J,e,{value:n,enumerable:!1})}return Object.defineProperty(J,"codes",{value:t,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=Kn(),J.color.ansi256=Jn(),J.color.ansi16m=qn(),J.bgColor.ansi=Kn(10),J.bgColor.ansi256=Jn(10),J.bgColor.ansi16m=qn(10),Object.defineProperties(J,{rgbToAnsi256:{value(e,n,i){return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(e){let n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!n)return[0,0,0];let[i]=n;i.length===3&&(i=[...i].map(r=>r+r).join(""));let s=Number.parseInt(i,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>J.rgbToAnsi256(...J.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let n,i,s;if(e>=232)n=((e-232)*10+8)/255,i=n,s=n;else{e-=16;let a=e%36;n=Math.floor(e/36)/5,i=Math.floor(a/6)/5,s=a%6/5}let r=Math.max(n,i,s)*2;if(r===0)return 30;let o=30+(Math.round(s)<<2|Math.round(i)<<1|Math.round(n));return r===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,n,i)=>J.ansi256ToAnsi(J.rgbToAnsi256(e,n,i)),enumerable:!1},hexToAnsi:{value:e=>J.ansi256ToAnsi(J.hexToAnsi256(e)),enumerable:!1}}),J}var er=Xs(),Zn=er;var Bt=new Set(["\x1B","\x9B"]),tr=39,Qt="\x07",ei="[",nr="]",ti="m",xt=`${nr}8;;`,Qn=t=>`${Bt.values().next().value}${ei}${t}${ti}`,Xn=t=>`${Bt.values().next().value}${xt}${t}${Qt}`,ir=t=>t.split(" ").map(e=>we(e)),Zt=(t,e,n)=>{let i=[...e],s=!1,r=!1,o=we(Ue(t.at(-1)));for(let[a,m]of i.entries()){let F=we(m);if(o+F<=n?t[t.length-1]+=m:(t.push(m),o=0),Bt.has(m)&&(s=!0,r=i.slice(a+1,a+1+xt.length).join("")===xt),s){r?m===Qt&&(s=!1,r=!1):m===ti&&(s=!1);continue}o+=F,o===n&&a<i.length-1&&(t.push(""),o=0)}!o&&t.at(-1).length>0&&t.length>1&&(t[t.length-2]+=t.pop())},sr=t=>{let e=t.split(" "),n=e.length;for(;n>0&&!(we(e[n-1])>0);)n--;return n===e.length?t:e.slice(0,n).join(" ")+e.slice(n).join("")},rr=(t,e,n={})=>{if(n.trim!==!1&&t.trim()==="")return"";let i="",s,r,o=ir(t),a=[""];for(let[l,f]of t.split(" ").entries()){n.trim!==!1&&(a[a.length-1]=a.at(-1).trimStart());let D=we(a.at(-1));if(l!==0&&(D>=e&&(n.wordWrap===!1||n.trim===!1)&&(a.push(""),D=0),(D>0||n.trim===!1)&&(a[a.length-1]+=" ",D++)),n.hard&&o[l]>e){let E=e-D,b=1+Math.floor((o[l]-E-1)/e);Math.floor((o[l]-1)/e)<b&&a.push(""),Zt(a,f,e);continue}if(D+o[l]>e&&D>0&&o[l]>0){if(n.wordWrap===!1&&D<e){Zt(a,f,e);continue}a.push("")}if(D+o[l]>e&&n.wordWrap===!1){Zt(a,f,e);continue}a[a.length-1]+=f}n.trim!==!1&&(a=a.map(l=>sr(l)));let m=a.join(`
`),F=[...m],g=0;for(let[l,f]of F.entries()){if(i+=f,Bt.has(f)){let{groups:E}=new RegExp(`(?:\\${ei}(?<code>\\d+)m|\\${xt}(?<uri>.*)${Qt})`).exec(m.slice(g))||{groups:{}};if(E.code!==void 0){let b=Number.parseFloat(E.code);s=b===tr?void 0:b}else E.uri!==void 0&&(r=E.uri.length===0?void 0:E.uri)}let D=Zn.codes.get(Number(s));F[l+1]===`
`?(r&&(i+=Xn("")),s&&D&&(i+=Qn(D))):f===`
`&&(s&&D&&(i+=Qn(s)),r&&(i+=Xn(r))),g+=f.length}return i};function Xt(t,e,n){return String(t).normalize().replaceAll(`\r
`,`
`).split(`
`).map(i=>rr(i,e,n)).join(`
`)}function en(t){return Rn(t,{stringWidth:we,stripAnsi:Ue,wrap:Xt})}import{dirname as ni,resolve as ii}from"path";import{readdirSync as or,statSync as ur}from"fs";function si(t,e){let n=ii(".",t),i;for(ur(n).isDirectory()||(n=ni(n));;){if(i=e(n,or(n)),i)return ii(n,i);if(n=ni(i=n),i===n)break}}import{inspect as xr}from"util";import{fileURLToPath as Ei}from"url";import{format as lr}from"util";import{normalize as fr,resolve as Dr}from"path";function ze(t){if(t!==t.toLowerCase()&&t!==t.toUpperCase()||(t=t.toLowerCase()),t.indexOf("-")===-1&&t.indexOf("_")===-1)return t;{let n="",i=!1,s=t.match(/^-+/);for(let r=s?s[0].length:0;r<t.length;r++){let o=t.charAt(r);i&&(i=!1,o=o.toUpperCase()),r!==0&&(o==="-"||o==="_")?i=!0:o!=="-"&&o!=="_"&&(n+=o)}return n}}function Ot(t,e){let n=t.toLowerCase();e=e||"-";let i="";for(let s=0;s<t.length;s++){let r=n.charAt(s),o=t.charAt(s);r!==o&&s>0?i+=`${e}${n.charAt(s)}`:i+=o}return i}function _t(t){return t==null?!1:typeof t=="number"||/^0x[0-9a-f]+$/i.test(t)?!0:/^0[^.]/.test(t)?!1:/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function ri(t){if(Array.isArray(t))return t.map(o=>typeof o!="string"?o+"":o);t=t.trim();let e=0,n=null,i=null,s=null,r=[];for(let o=0;o<t.length;o++){if(n=i,i=t.charAt(o),i===" "&&!s){n!==" "&&e++;continue}i===s?s=null:(i==="'"||i==='"')&&!s&&(s=i),r[e]||(r[e]=""),r[e]+=i}return r}var ge;(function(t){t.BOOLEAN="boolean",t.STRING="string",t.NUMBER="number",t.ARRAY="array"})(ge||(ge={}));var Pe,St=class{constructor(e){Pe=e}parse(e,n){let i=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},n),s=ri(e),r=typeof e=="string",o=ar(Object.assign(Object.create(null),i.alias)),a=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},i.configuration),m=Object.assign(Object.create(null),i.default),F=i.configObjects||[],g=i.envPrefix,l=a["populate--"],f=l?"--":"_",D=Object.create(null),E=Object.create(null),b=i.__||Pe.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:[]},$=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,z=new RegExp("^--"+a["negation-prefix"]+"(.+)");[].concat(i.array||[]).filter(Boolean).forEach(function(c){let d=typeof c=="object"?c.key:c,A=Object.keys(c).map(function(C){return{boolean:"bools",string:"strings",number:"numbers"}[C]}).filter(Boolean).pop();A&&(p[A][d]=!0),p.arrays[d]=!0,p.keys.push(d)}),[].concat(i.boolean||[]).filter(Boolean).forEach(function(c){p.bools[c]=!0,p.keys.push(c)}),[].concat(i.string||[]).filter(Boolean).forEach(function(c){p.strings[c]=!0,p.keys.push(c)}),[].concat(i.number||[]).filter(Boolean).forEach(function(c){p.numbers[c]=!0,p.keys.push(c)}),[].concat(i.count||[]).filter(Boolean).forEach(function(c){p.counts[c]=!0,p.keys.push(c)}),[].concat(i.normalize||[]).filter(Boolean).forEach(function(c){p.normalize[c]=!0,p.keys.push(c)}),typeof i.narg=="object"&&Object.entries(i.narg).forEach(([c,d])=>{typeof d=="number"&&(p.nargs[c]=d,p.keys.push(c))}),typeof i.coerce=="object"&&Object.entries(i.coerce).forEach(([c,d])=>{typeof d=="function"&&(p.coercions[c]=d,p.keys.push(c))}),typeof i.config<"u"&&(Array.isArray(i.config)||typeof i.config=="string"?[].concat(i.config).filter(Boolean).forEach(function(c){p.configs[c]=!0}):typeof i.config=="object"&&Object.entries(i.config).forEach(([c,d])=>{(typeof d=="boolean"||typeof d=="function")&&(p.configs[c]=d)})),Re(i.key,o,i.default,p.arrays),Object.keys(m).forEach(function(c){(p.aliases[c]||[]).forEach(function(d){m[d]=m[c]})});let L=null;Ft();let R=[],G=Object.assign(Object.create(null),{_:[]}),H={};for(let c=0;c<s.length;c++){let d=s[c],A=d.replace(/^-{3,}/,"---"),C,h,_,w,P,oe;if(d!=="--"&&/^-/.test(d)&&Z(d))ee(d);else if(A.match(/^---+(=|$)/)){ee(d);continue}else if(d.match(/^--.+=/)||!a["short-option-groups"]&&d.match(/^-.+=/))w=d.match(/^--?([^=]+)=([\s\S]*)$/),w!==null&&Array.isArray(w)&&w.length>=3&&(I(w[1],p.arrays)?c=be(c,w[1],s,w[2]):I(w[1],p.nargs)!==!1?c=ae(c,w[1],s,w[2]):Y(w[1],w[2],!0));else if(d.match(z)&&a["boolean-negation"])w=d.match(z),w!==null&&Array.isArray(w)&&w.length>=2&&(h=w[1],Y(h,I(h,p.arrays)?[!1]:!1));else if(d.match(/^--.+/)||!a["short-option-groups"]&&d.match(/^-[^-]+/))w=d.match(/^--?(.+)/),w!==null&&Array.isArray(w)&&w.length>=2&&(h=w[1],I(h,p.arrays)?c=be(c,h,s):I(h,p.nargs)!==!1?c=ae(c,h,s):(P=s[c+1],P!==void 0&&(!P.match(/^-/)||P.match($))&&!I(h,p.bools)&&!I(h,p.counts)||/^(true|false)$/.test(P)?(Y(h,P),c++):Y(h,Q(h))));else if(d.match(/^-.\..+=/))w=d.match(/^-([^=]+)=([\s\S]*)$/),w!==null&&Array.isArray(w)&&w.length>=3&&Y(w[1],w[2]);else if(d.match(/^-.\..+/)&&!d.match($))P=s[c+1],w=d.match(/^-(.\..+)/),w!==null&&Array.isArray(w)&&w.length>=2&&(h=w[1],P!==void 0&&!P.match(/^-/)&&!I(h,p.bools)&&!I(h,p.counts)?(Y(h,P),c++):Y(h,Q(h)));else if(d.match(/^-[^-]+/)&&!d.match($)){_=d.slice(1,-1).split(""),C=!1;for(let ce=0;ce<_.length;ce++){if(P=d.slice(ce+2),_[ce+1]&&_[ce+1]==="="){oe=d.slice(ce+3),h=_[ce],I(h,p.arrays)?c=be(c,h,s,oe):I(h,p.nargs)!==!1?c=ae(c,h,s,oe):Y(h,oe),C=!0;break}if(P==="-"){Y(_[ce],P);continue}if(/[A-Za-z]/.test(_[ce])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(P)&&I(P,p.bools)===!1){Y(_[ce],P),C=!0;break}if(_[ce+1]&&_[ce+1].match(/\W/)){Y(_[ce],P),C=!0;break}else Y(_[ce],Q(_[ce]))}h=d.slice(-1)[0],!C&&h!=="-"&&(I(h,p.arrays)?c=be(c,h,s):I(h,p.nargs)!==!1?c=ae(c,h,s):(P=s[c+1],P!==void 0&&(!/^(-|--)[^-]/.test(P)||P.match($))&&!I(h,p.bools)&&!I(h,p.counts)||/^(true|false)$/.test(P)?(Y(h,P),c++):Y(h,Q(h))))}else if(d.match(/^-[0-9]$/)&&d.match($)&&I(d.slice(1),p.bools))h=d.slice(1),Y(h,Q(h));else if(d==="--"){R=s.slice(c+1);break}else if(a["halt-at-non-option"]){R=s.slice(c);break}else ee(d)}U(G,!0),U(G,!1),W(G),se(),q(G,p.aliases,m,!0),re(G),a["set-placeholder-key"]&&Te(G),Object.keys(p.counts).forEach(function(c){Se(G,c.split("."))||Y(c,0)}),l&&R.length&&(G[f]=[]),R.forEach(function(c){G[f].push(c)}),a["camel-case-expansion"]&&a["strip-dashed"]&&Object.keys(G).filter(c=>c!=="--"&&c.includes("-")).forEach(c=>{delete G[c]}),a["strip-aliased"]&&[].concat(...Object.keys(o).map(c=>o[c])).forEach(c=>{a["camel-case-expansion"]&&c.includes("-")&&delete G[c.split(".").map(d=>ze(d)).join(".")],delete G[c]});function ee(c){let d=O("_",c);(typeof d=="string"||typeof d=="number")&&G._.push(d)}function ae(c,d,A,C){let h,_=I(d,p.nargs);if(_=typeof _!="number"||isNaN(_)?1:_,_===0)return ye(C)||(L=Error(b("Argument unexpected for: %s",d))),Y(d,Q(d)),c;let w=ye(C)?0:1;if(a["nargs-eats-options"])A.length-(c+1)+w<_&&(L=Error(b("Not enough arguments following: %s",d))),w=_;else{for(h=c+1;h<A.length&&(!A[h].match(/^-[^0-9]/)||A[h].match($)||Z(A[h]));h++)w++;w<_&&(L=Error(b("Not enough arguments following: %s",d)))}let P=Math.min(w,_);for(!ye(C)&&P>0&&(Y(d,C),P--),h=c+1;h<P+c+1;h++)Y(d,A[h]);return c+P}function be(c,d,A,C){let h=[],_=C||A[c+1],w=I(d,p.nargs);if(I(d,p.bools)&&!/^(true|false)$/.test(_))h.push(!0);else if(ye(_)||ye(C)&&/^-/.test(_)&&!$.test(_)&&!Z(_)){if(m[d]!==void 0){let P=m[d];h=Array.isArray(P)?P:[P]}}else{ye(C)||h.push(y(d,C,!0));for(let P=c+1;P<A.length&&!(!a["greedy-arrays"]&&h.length>0||w&&typeof w=="number"&&h.length>=w||(_=A[P],/^-/.test(_)&&!$.test(_)&&!Z(_)));P++)c=P,h.push(y(d,_,r))}return typeof w=="number"&&(w&&h.length<w||isNaN(w)&&h.length===0)&&(L=Error(b("Not enough arguments following: %s",d))),Y(d,h),c}function Y(c,d,A=r){if(/-/.test(c)&&a["camel-case-expansion"]){let _=c.split(".").map(function(w){return ze(w)}).join(".");S(c,_)}let C=y(c,d,A),h=c.split(".");je(G,h,C),p.aliases[c]&&p.aliases[c].forEach(function(_){let w=_.split(".");je(G,w,C)}),h.length>1&&a["dot-notation"]&&(p.aliases[h[0]]||[]).forEach(function(_){let w=_.split("."),P=[].concat(h);P.shift(),w=w.concat(P),(p.aliases[c]||[]).includes(w.join("."))||je(G,w,C)}),I(c,p.normalize)&&!I(c,p.arrays)&&[c].concat(p.aliases[c]||[]).forEach(function(w){Object.defineProperty(H,w,{enumerable:!0,get(){return d},set(P){d=typeof P=="string"?Pe.normalize(P):P}})})}function S(c,d){p.aliases[c]&&p.aliases[c].length||(p.aliases[c]=[d],D[d]=!0),p.aliases[d]&&p.aliases[d].length||S(d,c)}function y(c,d,A){A&&(d=cr(d)),(I(c,p.bools)||I(c,p.counts))&&typeof d=="string"&&(d=d==="true");let C=Array.isArray(d)?d.map(function(h){return O(c,h)}):O(c,d);return I(c,p.counts)&&(ye(C)||typeof C=="boolean")&&(C=tn()),I(c,p.normalize)&&I(c,p.arrays)&&(Array.isArray(d)?C=d.map(h=>Pe.normalize(h)):C=Pe.normalize(d)),C}function O(c,d){return!a["parse-positional-numbers"]&&c==="_"||!I(c,p.strings)&&!I(c,p.bools)&&!Array.isArray(d)&&(_t(d)&&a["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${d}`)))||!ye(d)&&I(c,p.numbers))&&(d=Number(d)),d}function W(c){let d=Object.create(null);q(d,p.aliases,m),Object.keys(p.configs).forEach(function(A){let C=c[A]||d[A];if(C)try{let h=null,_=Pe.resolve(Pe.cwd(),C),w=p.configs[A];if(typeof w=="function"){try{h=w(_)}catch(P){h=P}if(h instanceof Error){L=h;return}}else h=Pe.require(_);k(h)}catch(h){h.name==="PermissionDenied"?L=h:c[A]&&(L=Error(b("Invalid JSON config file: %s",C)))}})}function k(c,d){Object.keys(c).forEach(function(A){let C=c[A],h=d?d+"."+A:A;typeof C=="object"&&C!==null&&!Array.isArray(C)&&a["dot-notation"]?k(C,h):(!Se(G,h.split("."))||I(h,p.arrays)&&a["combine-arrays"])&&Y(h,C)})}function se(){typeof F<"u"&&F.forEach(function(c){k(c)})}function U(c,d){if(typeof g>"u")return;let A=typeof g=="string"?g:"",C=Pe.env();Object.keys(C).forEach(function(h){if(A===""||h.lastIndexOf(A,0)===0){let _=h.split("__").map(function(w,P){return P===0&&(w=w.substring(A.length)),ze(w)});(d&&p.configs[_.join(".")]||!d)&&!Se(c,_)&&Y(_.join("."),C[h])}})}function re(c){let d,A=new Set;Object.keys(c).forEach(function(C){if(!A.has(C)&&(d=I(C,p.coercions),typeof d=="function"))try{let h=O(C,d(c[C]));[].concat(p.aliases[C]||[],C).forEach(_=>{A.add(_),c[_]=h})}catch(h){L=h}})}function Te(c){return p.keys.forEach(d=>{~d.indexOf(".")||typeof c[d]>"u"&&(c[d]=void 0)}),c}function q(c,d,A,C=!1){Object.keys(A).forEach(function(h){Se(c,h.split("."))||(je(c,h.split("."),A[h]),C&&(E[h]=!0),(d[h]||[]).forEach(function(_){Se(c,_.split("."))||je(c,_.split("."),A[h])}))})}function Se(c,d){let A=c;a["dot-notation"]||(d=[d.join(".")]),d.slice(0,-1).forEach(function(h){A=A[h]||{}});let C=d[d.length-1];return typeof A!="object"?!1:C in A}function je(c,d,A){let C=c;a["dot-notation"]||(d=[d.join(".")]),d.slice(0,-1).forEach(function(oe){oe=oi(oe),typeof C=="object"&&C[oe]===void 0&&(C[oe]={}),typeof C[oe]!="object"||Array.isArray(C[oe])?(Array.isArray(C[oe])?C[oe].push({}):C[oe]=[C[oe],{}],C=C[oe][C[oe].length-1]):C=C[oe]});let h=oi(d[d.length-1]),_=I(d.join("."),p.arrays),w=Array.isArray(A),P=a["duplicate-arguments-array"];!P&&I(h,p.nargs)&&(P=!0,(!ye(C[h])&&p.nargs[h]===1||Array.isArray(C[h])&&C[h].length===p.nargs[h])&&(C[h]=void 0)),A===tn()?C[h]=tn(C[h]):Array.isArray(C[h])?P&&_&&w?C[h]=a["flatten-duplicate-arrays"]?C[h].concat(A):(Array.isArray(C[h][0])?C[h]:[C[h]]).concat([A]):!P&&!!_==!!w?C[h]=A:C[h]=C[h].concat([A]):C[h]===void 0&&_?C[h]=w?A:[A]:P&&!(C[h]===void 0||I(h,p.counts)||I(h,p.bools))?C[h]=[C[h],A]:C[h]=A}function Re(...c){c.forEach(function(d){Object.keys(d||{}).forEach(function(A){p.aliases[A]||(p.aliases[A]=[].concat(o[A]||[]),p.aliases[A].concat(A).forEach(function(C){if(/-/.test(C)&&a["camel-case-expansion"]){let h=ze(C);h!==A&&p.aliases[A].indexOf(h)===-1&&(p.aliases[A].push(h),D[h]=!0)}}),p.aliases[A].concat(A).forEach(function(C){if(C.length>1&&/[A-Z]/.test(C)&&a["camel-case-expansion"]){let h=Ot(C,"-");h!==A&&p.aliases[A].indexOf(h)===-1&&(p.aliases[A].push(h),D[h]=!0)}}),p.aliases[A].forEach(function(C){p.aliases[C]=[A].concat(p.aliases[A].filter(function(h){return C!==h}))}))})})}function I(c,d){let A=[].concat(p.aliases[c]||[],c),C=Object.keys(d),h=A.find(_=>C.includes(_));return h?d[h]:!1}function Gt(c){let d=Object.keys(p);return[].concat(d.map(C=>p[C])).some(function(C){return Array.isArray(C)?C.includes(c):C[c]})}function M(c,...d){return[].concat(...d).some(function(C){let h=c.match(C);return h&&Gt(h[1])})}function K(c){if(c.match($)||!c.match(/^-[^-]+/))return!1;let d=!0,A,C=c.slice(1).split("");for(let h=0;h<C.length;h++){if(A=c.slice(h+2),!Gt(C[h])){d=!1;break}if(C[h+1]&&C[h+1]==="="||A==="-"||/[A-Za-z]/.test(C[h])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(A)||C[h+1]&&C[h+1].match(/\W/))break}return d}function Z(c){return a["unknown-options-as-args"]&&T(c)}function T(c){return c=c.replace(/^-{3,}/,"--"),c.match($)||K(c)?!1:!M(c,/^-+([^=]+?)=[\s\S]*$/,z,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function Q(c){return!I(c,p.bools)&&!I(c,p.counts)&&`${c}`in m?m[c]:te(Ae(c))}function te(c){return{[ge.BOOLEAN]:!0,[ge.STRING]:"",[ge.NUMBER]:void 0,[ge.ARRAY]:[]}[c]}function Ae(c){let d=ge.BOOLEAN;return I(c,p.strings)?d=ge.STRING:I(c,p.numbers)?d=ge.NUMBER:I(c,p.bools)?d=ge.BOOLEAN:I(c,p.arrays)&&(d=ge.ARRAY),d}function ye(c){return c===void 0}function Ft(){Object.keys(p.counts).find(c=>I(c,p.arrays)?(L=Error(b("Invalid configuration: %s, opts.count excludes opts.array.",c)),!0):I(c,p.nargs)?(L=Error(b("Invalid configuration: %s, opts.count excludes opts.narg.",c)),!0):!1)}return{aliases:Object.assign({},p.aliases),argv:Object.assign(H,G),configuration:a,defaulted:Object.assign({},E),error:L,newAliases:Object.assign({},D)}}};function ar(t){let e=[],n=Object.create(null),i=!0;for(Object.keys(t).forEach(function(s){e.push([].concat(t[s],s))});i;){i=!1;for(let s=0;s<e.length;s++)for(let r=s+1;r<e.length;r++)if(e[s].filter(function(a){return e[r].indexOf(a)!==-1}).length){e[s]=e[s].concat(e[r]),e.splice(r,1),i=!0;break}}return e.forEach(function(s){s=s.filter(function(o,a,m){return m.indexOf(o)===a});let r=s.pop();r!==void 0&&typeof r=="string"&&(n[r]=s)}),n}function tn(t){return t!==void 0?t+1:1}function oi(t){return t==="__proto__"?"___proto___":t}function cr(t){return typeof t=="string"&&(t[0]==="'"||t[0]==='"')&&t[t.length-1]===t[0]?t.substring(1,t.length-1):t}import{readFileSync as hr}from"fs";import{createRequire as ui}from"node:module";var nn,sn,rn,ai=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20,ci=(sn=(nn=process==null?void 0:process.versions)===null||nn===void 0?void 0:nn.node)!==null&&sn!==void 0?sn:(rn=process==null?void 0:process.version)===null||rn===void 0?void 0:rn.slice(1);if(ci&&Number(ci.match(/^([^.]+)/)[1])<ai)throw Error(`yargs parser supports a minimum Node.js version of ${ai}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);var dr=process?process.env:{},li=ui?ui(import.meta.url):void 0,fi=new St({cwd:process.cwd,env:()=>dr,format:lr,normalize:fr,resolve:Dr,require:t=>{if(typeof li<"u")return li(t);if(t.match(/\.json$/))return JSON.parse(hr(t,"utf8"));throw Error("only .json config files are supported in ESM")}}),Dt=function(e,n){return fi.parse(e.slice(),n).argv};Dt.detailed=function(t,e){return fi.parse(t.slice(),e)};Dt.camelCase=ze;Dt.decamelize=Ot;Dt.looksLikeNumber=_t;var on=Dt;import{basename as Br,dirname as Or,extname as _r,relative as Sr,resolve as Ci,join as jr}from"path";function Di(){return pr()?0:1}function pr(){return mr()&&!process.defaultApp}function mr(){return!!process.vers