(()=>{var r={99:r=>{r.exports={black:[0,232,233,234,235,236,237,238,239,240],red:[1],green:[2],yellow:[3],blue:[4],magenta:[5],cyan:[6],white:[7],bblack:[8],bred:[9],bgreen:[2],byellow:[],bblue:[],bmagenta:[],bcyan:[],bwhite:[],reset:[]}},77:r=>{r.exports={black:[0,232,233,234,235,236,237,238,239,240],red:[1],green:[2],yellow:[3],blue:[4],magenta:[5],cyan:[6],white:[7],reset:[0]}},170:(r,e,t)=>{const s=t(49),o=t(77),i=t(99);r.exports=new class{constructor(r){this.checker=s,this.enabled=this.checker.isAnyColor(),this.checker.isAnyColor()?this.enabled=!0:(console.warn("Terminal stdout does not supports 256 color"),this.enabled=!1);let e=this;this.__addPropertyToStringClass({color:function(r){return e.color(this.valueOf(),r)}}),this.__addPropertyToStringClass({bgColor:function(r){return e.bgColor(this.valueOf(),r)}}),this.newLineRegex=new RegExp(/[\r\n]+/g)}desable(){this.enabled=!1}enable(){this.enabled=!0}strip(r){return(""+r).replace(/\x1B\[\d+m/g,"")}__addPropertyToStringClass(r){Object.assign(String.prototype,r)}color(r,e){return this.checker.has256?this.color256(r,e):this.checker.has16?this.color16(r,e):this.checker.hasBasic?this.colorBasic(r,e):r}colorBasic(r,e){let t=r;return Object.getOwnPropertyNames(o).map(((s,i)=>{o[s].indexOf(e)>=0&&(t="[3"+i+"m"+r+"")})),t}color16(r,e){let t=r;return Object.getOwnPropertyNames(i).map(((s,o)=>{i[s].indexOf(e)>=0&&(t="[3"+o+";1m"+r+"")})),t}color256(r,e){return"[38;5;"+e+"m"+r+""}bgColor(r,e){return this.checker.has256?this.bgColor256(r,e):this.checker.has16?this.bgColor16(r,e):this.checker.hasBasic?this.bgColorBasic(r,e):r}bgColorBasic(r,e){let t=r;return Object.getOwnPropertyNames(o).map(((s,i)=>{o[s].indexOf(e)>=0&&(t="[4"+i+"m"+r+"")})),t}bgColor16(r,e){let t=r;return Object.getOwnPropertyNames(i).map(((s,o)=>{i[s].indexOf(e)>=0&&(t="[4"+o+";1m"+r+"")})),t}bgColor256(r,e){return"[48;5;"+e+"m"+r+""}showColorsCodes(){if(this.enabled)for(let r=0;r<256;r++)console.log(this.bgColor(" "+r+" ",r)+"")}}},49:(r,e,t)=>{const s=t(391);r.exports=new class{constructor(){this.has256=s.stdout.has256,this.has16=s.stdout.has16m,this.hasBasic=s.stdout.hasBasic}isBasic(){return this.hasBasic}is16(){return this.has16}is256(){return this.has256}isTrue(){return this.is256()}isAnyColor(){return this.has256||this.has16||this.hasBasic}__forceBasic(){this.has256=!1,this.has16=!1,this.hasBasic=!0}__force16(){this.has256=!1,this.has16=!0,this.hasBasic=!0}__force256(){this.has256=!0,this.has16=!0,this.hasBasic=!0}}},138:(r,e,t)=>{r.exports=t(170)},391:(r,e,t)=>{"use strict";const s=t(37),o=t(224),i=(r,e=process.argv)=>{const t=r.startsWith("-")?"":1===r.length?"-":"--",s=e.indexOf(t+r),o=e.indexOf("--");return-1!==s&&(-1===o||s=2,has16m:r>=3}}function l(r,e){if(0===a)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(r&&!e&&void 0===a)return 0;const t=a||0;if("dumb"===n.TERM)return t;if("win32"===process.platform){const r=s.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in n)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((r=>r in n))||"codeship"===n.CI_NAME?1:t;if("TEAMCITY_VERSION"in n)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(n.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in n)return 1;if("truecolor"===n.COLORTERM)return 3;if("TERM_PROGRAM"in n){const r=parseInt((n.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(n.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(n.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(n.TERM)||"COLORTERM"in n?1:t}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?a=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(a=1),"FORCE_COLOR"in n&&(a="true"===n.FORCE_COLOR?1:"false"===n.FORCE_COLOR?0:0===n.FORCE_COLOR.length?1:Math.min(parseInt(n.FORCE_COLOR,10),3)),r.exports={supportsColor:function(r){return c(l(r,r&&r.isTTY))},stdout:c(l(!0,o.isatty(1))),stderr:c(l(!0,o.isatty(2)))}},37:r=>{"use strict";r.exports=require("os")},224:r=>{"use strict";r.exports=require("tty")}},e={},t=function t(s){var o=e[s];if(void 0!==o)return o.exports;var i=e[s]={exports:{}};return r[s](i,i.exports,t),i.exports}(138);module.exports=t})();