ritik 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +94 -15
- package/package.json +11 -12
- package/demo.png +0 -0
package/dist/index.js
CHANGED
|
@@ -1,21 +1,100 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
`),{margin:1,float:"center",borderStyle:s.borderStyle,borderColor:s.borderColor});console.log(m),console.log(i.cmdTip)}var O=(e=>(e.EMAIL="email",e.RESUME="resume",e.MEETING="meeting",e.EXIT="exit",e))(O||{});function W(e){const s=e.personal.name.split(" ")?.[0],{messages:i,theme:c}=e.config,l=r[c.primary]||r.cyanBright,o=r[c.secondary]||r.whiteBright,p=[{name:i.email.message.replace("email",l("email")),value:"email",description:o(`
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import B,{env as Qe}from"node:process";import Yt,{spawn as So,execFile as dt}from"node:child_process";import{fileURLToPath as Xt}from"node:url";import z from"node:path";import{promisify as ie,format as zt,styleText as se,stripVTControlCharacters as _o}from"node:util";import je from"node:os";import ke from"fs";import lu from"constants";import pt from"stream";import cu from"util";import Du from"assert";import fu from"os";import he from"path";import"node:events";import G from"node:fs";import"node:stream";import Kt from"node:tty";import Ro from"events";import hu from"url";import xo from"http";import Ft,{constants as Jt}from"node:fs/promises";import{Buffer as Oo}from"node:buffer";import*as To from"node:readline";import{AsyncLocalStorage as Io,AsyncResource as Qt}from"node:async_hooks";import Lo from"tty";var qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt,du;function $o(){if(du)return Zt;du=1;var e=lu,t=process.cwd,r=null,n=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return r||(r=t.call(process)),r};try{process.cwd()}catch{}if(typeof process.chdir=="function"){var u=process.chdir;process.chdir=function(i){r=null,u.call(process,i)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,u)}Zt=s;function s(i){e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&o(i),i.lutimes||D(i),i.chown=f(i.chown),i.fchown=f(i.fchown),i.lchown=f(i.lchown),i.chmod=a(i.chmod),i.fchmod=a(i.fchmod),i.lchmod=a(i.lchmod),i.chownSync=h(i.chownSync),i.fchownSync=h(i.fchownSync),i.lchownSync=h(i.lchownSync),i.chmodSync=c(i.chmodSync),i.fchmodSync=c(i.fchmodSync),i.lchmodSync=c(i.lchmodSync),i.stat=d(i.stat),i.fstat=d(i.fstat),i.lstat=d(i.lstat),i.statSync=m(i.statSync),i.fstatSync=m(i.fstatSync),i.lstatSync=m(i.lstatSync),i.chmod&&!i.lchmod&&(i.lchmod=function(l,p,E){E&&process.nextTick(E)},i.lchmodSync=function(){}),i.chown&&!i.lchown&&(i.lchown=function(l,p,E,g){g&&process.nextTick(g)},i.lchownSync=function(){}),n==="win32"&&(i.rename=typeof i.rename!="function"?i.rename:(function(l){function p(E,g,C){var A=Date.now(),v=0;l(E,g,function y(b){if(b&&(b.code==="EACCES"||b.code==="EPERM"||b.code==="EBUSY")&&Date.now()-A<6e4){setTimeout(function(){i.stat(g,function(q,I){q&&q.code==="ENOENT"?l(E,g,y):C(b)})},v),v<100&&(v+=10);return}C&&C(b)})}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p})(i.rename)),i.read=typeof i.read!="function"?i.read:(function(l){function p(E,g,C,A,v,y){var b;if(y&&typeof y=="function"){var q=0;b=function(I,ee,J){if(I&&I.code==="EAGAIN"&&q<10)return q++,l.call(i,E,g,C,A,v,b);y.apply(this,arguments)}}return l.call(i,E,g,C,A,v,b)}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p})(i.read),i.readSync=typeof i.readSync!="function"?i.readSync:(function(l){return function(p,E,g,C,A){for(var v=0;;)try{return l.call(i,p,E,g,C,A)}catch(y){if(y.code==="EAGAIN"&&v<10){v++;continue}throw y}}})(i.readSync);function o(l){l.lchmod=function(p,E,g){l.open(p,e.O_WRONLY|e.O_SYMLINK,E,function(C,A){if(C){g&&g(C);return}l.fchmod(A,E,function(v){l.close(A,function(y){g&&g(v||y)})})})},l.lchmodSync=function(p,E){var g=l.openSync(p,e.O_WRONLY|e.O_SYMLINK,E),C=!0,A;try{A=l.fchmodSync(g,E),C=!1}finally{if(C)try{l.closeSync(g)}catch{}else l.closeSync(g)}return A}}function D(l){e.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(p,E,g,C){l.open(p,e.O_SYMLINK,function(A,v){if(A){C&&C(A);return}l.futimes(v,E,g,function(y){l.close(v,function(b){C&&C(y||b)})})})},l.lutimesSync=function(p,E,g){var C=l.openSync(p,e.O_SYMLINK),A,v=!0;try{A=l.futimesSync(C,E,g),v=!1}finally{if(v)try{l.closeSync(C)}catch{}else l.closeSync(C)}return A}):l.futimes&&(l.lutimes=function(p,E,g,C){C&&process.nextTick(C)},l.lutimesSync=function(){})}function a(l){return l&&function(p,E,g){return l.call(i,p,E,function(C){F(C)&&(C=null),g&&g.apply(this,arguments)})}}function c(l){return l&&function(p,E){try{return l.call(i,p,E)}catch(g){if(!F(g))throw g}}}function f(l){return l&&function(p,E,g,C){return l.call(i,p,E,g,function(A){F(A)&&(A=null),C&&C.apply(this,arguments)})}}function h(l){return l&&function(p,E,g){try{return l.call(i,p,E,g)}catch(C){if(!F(C))throw C}}}function d(l){return l&&function(p,E,g){typeof E=="function"&&(g=E,E=null);function C(A,v){v&&(v.uid<0&&(v.uid+=4294967296),v.gid<0&&(v.gid+=4294967296)),g&&g.apply(this,arguments)}return E?l.call(i,p,E,C):l.call(i,p,C)}}function m(l){return l&&function(p,E){var g=E?l.call(i,p,E):l.call(i,p);return g&&(g.uid<0&&(g.uid+=4294967296),g.gid<0&&(g.gid+=4294967296)),g}}function F(l){if(!l||l.code==="ENOSYS")return!0;var p=!process.getuid||process.getuid()!==0;return!!(p&&(l.code==="EINVAL"||l.code==="EPERM"))}}return Zt}var er,pu;function Po(){if(pu)return er;pu=1;var e=pt.Stream;er=t;function t(r){return{ReadStream:n,WriteStream:u};function n(s,i){if(!(this instanceof n))return new n(s,i);e.call(this);var o=this;this.path=s,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var D=Object.keys(i),a=0,c=D.length;a<c;a++){var f=D[a];this[f]=i[f]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){o._read()});return}r.open(this.path,this.flags,this.mode,function(h,d){if(h){o.emit("error",h),o.readable=!1;return}o.fd=d,o.emit("open",d),o._read()})}function u(s,i){if(!(this instanceof u))return new u(s,i);e.call(this),this.path=s,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),D=0,a=o.length;D<a;D++){var c=o[D];this[c]=i[c]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=r.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}return er}var tr,Fu;function No(){if(Fu)return tr;Fu=1,tr=t;var e=Object.getPrototypeOf||function(r){return r.__proto__};function t(r){if(r===null||typeof r!="object")return r;if(r instanceof Object)var n={__proto__:e(r)};else var n=Object.create(null);return Object.getOwnPropertyNames(r).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(r,u))}),n}return tr}var mt,mu;function jo(){if(mu)return mt;mu=1;var e=ke,t=$o(),r=Po(),n=No(),u=cu,s,i;typeof Symbol=="function"&&typeof Symbol.for=="function"?(s=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(s="___graceful-fs.queue",i="___graceful-fs.previous");function o(){}function D(l,p){Object.defineProperty(l,s,{get:function(){return p}})}var a=o;if(u.debuglog?a=u.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(a=function(){var l=u.format.apply(u,arguments);l="GFS4: "+l.split(/\n/).join(`
|
|
3
|
+
GFS4: `),console.error(l)}),!e[s]){var c=qe[s]||[];D(e,c),e.close=(function(l){function p(E,g){return l.call(e,E,function(C){C||m(),typeof g=="function"&&g.apply(this,arguments)})}return Object.defineProperty(p,i,{value:l}),p})(e.close),e.closeSync=(function(l){function p(E){l.apply(e,arguments),m()}return Object.defineProperty(p,i,{value:l}),p})(e.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){a(e[s]),Du.equal(e[s].length,0)})}qe[s]||D(qe,e[s]),mt=f(n(e)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!e.__patched&&(mt=f(e),e.__patched=!0);function f(l){t(l),l.gracefulify=f,l.createReadStream=X,l.createWriteStream=M;var p=l.readFile;l.readFile=E;function E(w,O,T){return typeof O=="function"&&(T=O,O=null),V(w,O,T);function V(H,W,j,U){return p(H,W,function(P){P&&(P.code==="EMFILE"||P.code==="ENFILE")?h([V,[H,W,j],P,U||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var g=l.writeFile;l.writeFile=C;function C(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return g(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var A=l.appendFile;A&&(l.appendFile=v);function v(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return A(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var y=l.copyFile;y&&(l.copyFile=b);function b(w,O,T,V){return typeof T=="function"&&(V=T,T=0),H(w,O,T,V);function H(W,j,U,P,Y){return y(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var q=l.readdir;l.readdir=ee;var I=/^v[0-5]\./;function ee(w,O,T){typeof O=="function"&&(T=O,O=null);var V=I.test(process.version)?function(j,U,P,Y){return q(j,H(j,U,P,Y))}:function(j,U,P,Y){return q(j,U,H(j,U,P,Y))};return V(w,O,T);function H(W,j,U,P){return function(Y,N){Y&&(Y.code==="EMFILE"||Y.code==="ENFILE")?h([V,[W,j,U],Y,P||Date.now(),Date.now()]):(N&&N.sort&&N.sort(),typeof U=="function"&&U.call(this,Y,N))}}}if(process.version.substr(0,4)==="v0.8"){var J=r(l);_=J.ReadStream,R=J.WriteStream}var Q=l.ReadStream;Q&&(_.prototype=Object.create(Q.prototype),_.prototype.open=$);var x=l.WriteStream;x&&(R.prototype=Object.create(x.prototype),R.prototype.open=k),Object.defineProperty(l,"ReadStream",{get:function(){return _},set:function(w){_=w},enumerable:!0,configurable:!0}),Object.defineProperty(l,"WriteStream",{get:function(){return R},set:function(w){R=w},enumerable:!0,configurable:!0});var S=_;Object.defineProperty(l,"FileReadStream",{get:function(){return S},set:function(w){S=w},enumerable:!0,configurable:!0});var L=R;Object.defineProperty(l,"FileWriteStream",{get:function(){return L},set:function(w){L=w},enumerable:!0,configurable:!0});function _(w,O){return this instanceof _?(Q.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function $(){var w=this;ue(w.path,w.flags,w.mode,function(O,T){O?(w.autoClose&&w.destroy(),w.emit("error",O)):(w.fd=T,w.emit("open",T),w.read())})}function R(w,O){return this instanceof R?(x.apply(this,arguments),this):R.apply(Object.create(R.prototype),arguments)}function k(){var w=this;ue(w.path,w.flags,w.mode,function(O,T){O?(w.destroy(),w.emit("error",O)):(w.fd=T,w.emit("open",T))})}function X(w,O){return new l.ReadStream(w,O)}function M(w,O){return new l.WriteStream(w,O)}var K=l.open;l.open=ue;function ue(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return K(W,j,U,function(N,Ao){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}return l}function h(l){a("ENQUEUE",l[0].name,l[1]),e[s].push(l),F()}var d;function m(){for(var l=Date.now(),p=0;p<e[s].length;++p)e[s][p].length>2&&(e[s][p][3]=l,e[s][p][4]=l);F()}function F(){if(clearTimeout(d),d=void 0,e[s].length!==0){var l=e[s].shift(),p=l[0],E=l[1],g=l[2],C=l[3],A=l[4];if(C===void 0)a("RETRY",p.name,E),p.apply(null,E);else if(Date.now()-C>=6e4){a("TIMEOUT",p.name,E);var v=E.pop();typeof v=="function"&&v.call(null,g)}else{var y=Date.now()-A,b=Math.max(A-C,1),q=Math.min(b*1.2,100);y>=q?(a("RETRY",p.name,E),p.apply(null,E.concat([C]))):e[s].push(l)}d===void 0&&(d=setTimeout(F,0))}}return mt}var ko=jo(),Et=pe(ko);const we=fu.homedir(),{env:Re}=process,Eu=Re.XDG_DATA_HOME||(we?he.join(we,".local","share"):void 0),gt=Re.XDG_CONFIG_HOME||(we?he.join(we,".config"):void 0);Re.XDG_STATE_HOME||we&&he.join(we,".local","state"),Re.XDG_CACHE_HOME||we&&he.join(we,".cache"),Re.XDG_RUNTIME_DIR;const qo=(Re.XDG_DATA_DIRS||"/usr/local/share/:/usr/share/").split(":");Eu&&qo.unshift(Eu);const Uo=(Re.XDG_CONFIG_DIRS||"/etc/xdg").split(":");gt&&Uo.unshift(gt);const be=(e,t)=>{const{onError:r}=t;return function(...u){return e.apply(void 0,u).catch(r)}},ve=(e,t)=>{const{onError:r}=t;return function(...u){try{return e.apply(void 0,u)}catch(s){return r(s)}}},Mo=250,Be=(e,t)=>{const{isRetriable:r}=t;return function(u){const{timeout:s}=u,i=u.interval??Mo,o=Date.now()+s;return function D(...a){return e.apply(void 0,a).catch(c=>{if(!r(c)||Date.now()>=o)throw c;const f=Math.round(i*Math.random());return f>0?new Promise(d=>setTimeout(d,f)).then(()=>D.apply(void 0,a)):D.apply(void 0,a)})}}},Ae=(e,t)=>{const{isRetriable:r}=t;return function(u){const{timeout:s}=u,i=Date.now()+s;return function(...D){for(;;)try{return e.apply(void 0,D)}catch(a){if(!r(a)||Date.now()>=i)throw a;continue}}}},Ue={isChangeErrorOk:e=>{if(!Ue.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!Go&&(t==="EINVAL"||t==="EPERM")},isNodeError:e=>e instanceof Error,isRetriableError:e=>{if(!Ue.isNodeError(e))return!1;const{code:t}=e;return t==="EMFILE"||t==="ENFILE"||t==="EAGAIN"||t==="EBUSY"||t==="EACCESS"||t==="EACCES"||t==="EACCS"||t==="EPERM"},onChangeError:e=>{if(!Ue.isNodeError(e))throw e;if(!Ue.isChangeErrorOk(e))throw e}},Ct={onError:Ue.onChangeError},De={onError:()=>{}},Go=B.getuid?!B.getuid():!1,oe={isRetriable:Ue.isRetriableError},ae={attempt:{chmod:be(ie(G.chmod),Ct),chown:be(ie(G.chown),Ct),close:be(ie(G.close),De),fsync:be(ie(G.fsync),De),mkdir:be(ie(G.mkdir),De),realpath:be(ie(G.realpath),De),stat:be(ie(G.stat),De),unlink:be(ie(G.unlink),De),chmodSync:ve(G.chmodSync,Ct),chownSync:ve(G.chownSync,Ct),closeSync:ve(G.closeSync,De),existsSync:ve(G.existsSync,De),fsyncSync:ve(G.fsync,De),mkdirSync:ve(G.mkdirSync,De),realpathSync:ve(G.realpathSync,De),statSync:ve(G.statSync,De),unlinkSync:ve(G.unlinkSync,De)},retry:{close:Be(ie(G.close),oe),fsync:Be(ie(G.fsync),oe),open:Be(ie(G.open),oe),readFile:Be(ie(G.readFile),oe),rename:Be(ie(G.rename),oe),stat:Be(ie(G.stat),oe),write:Be(ie(G.write),oe),writeFile:Be(ie(G.writeFile),oe),closeSync:Ae(G.closeSync,oe),fsyncSync:Ae(G.fsyncSync,oe),openSync:Ae(G.openSync,oe),readFileSync:Ae(G.readFileSync,oe),renameSync:Ae(G.renameSync,oe),statSync:Ae(G.statSync,oe),writeSync:Ae(G.writeSync,oe),writeFileSync:Ae(G.writeFileSync,oe)}},Wo="utf8",gu=438,Vo=511,Ho={},Yo=B.geteuid?B.geteuid():-1,Xo=B.getegid?B.getegid():-1,zo=1e3,Ko=!!B.getuid;B.getuid&&B.getuid();const Cu=128,Jo=e=>e instanceof Error&&"code"in e,yu=e=>typeof e=="string",rr=e=>e===void 0,Qo=B.platform==="linux",vu=B.platform==="win32",nr=["SIGHUP","SIGINT","SIGTERM"];vu||nr.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),Qo&&nr.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");class Zo{constructor(){this.callbacks=new Set,this.exited=!1,this.exit=t=>{if(!this.exited){this.exited=!0;for(const r of this.callbacks)r();t&&(vu&&t!=="SIGINT"&&t!=="SIGTERM"&&t!=="SIGKILL"?B.kill(B.pid,"SIGTERM"):B.kill(B.pid,t))}},this.hook=()=>{B.once("exit",()=>this.exit());for(const t of nr)try{B.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}var ea=new Zo;const ta=ea.register,le={store:{},create:e=>{const t=`000000${Math.floor(Math.random()*16777215).toString(16)}`.slice(-6),u=`.tmp-${Date.now().toString().slice(-10)}${t}`;return`${e}${u}`},get:(e,t,r=!0)=>{const n=le.truncate(t(e));return n in le.store?le.get(e,t,r):(le.store[n]=r,[n,()=>delete le.store[n]])},purge:e=>{le.store[e]&&(delete le.store[e],ae.attempt.unlink(e))},purgeSync:e=>{le.store[e]&&(delete le.store[e],ae.attempt.unlinkSync(e))},purgeSyncAll:()=>{for(const e in le.store)le.purgeSync(e)},truncate:e=>{const t=z.basename(e);if(t.length<=Cu)return e;const r=/^(\.?)(.*?)((?:\.[^.]+)?(?:\.tmp-\d{10}[a-f0-9]{6})?)$/.exec(t);if(!r)return e;const n=t.length-Cu;return`${e.slice(0,-t.length)}${r[1]}${r[2].slice(0,-n)}${r[3]}`}};ta(le.purgeSyncAll);function ur(e,t,r=Ho){if(yu(r))return ur(e,t,{encoding:r});const u={timeout:r.timeout??zo};let s=null,i=null,o=null;try{const D=ae.attempt.realpathSync(e),a=!!D;e=D||e,[i,s]=le.get(e,r.tmpCreate||le.create,r.tmpPurge!==!1);const c=Ko&&rr(r.chown),f=rr(r.mode);if(a&&(c||f)){const h=ae.attempt.statSync(e);h&&(r={...r},c&&(r.chown={uid:h.uid,gid:h.gid}),f&&(r.mode=h.mode))}if(!a){const h=z.dirname(e);ae.attempt.mkdirSync(h,{mode:Vo,recursive:!0})}o=ae.retry.openSync(u)(i,"w",r.mode||gu),r.tmpCreated&&r.tmpCreated(i),yu(t)?ae.retry.writeSync(u)(o,t,0,r.encoding||Wo):rr(t)||ae.retry.writeSync(u)(o,t,0,t.length,0),r.fsync!==!1&&(r.fsyncWait!==!1?ae.retry.fsyncSync(u)(o):ae.attempt.fsync(o)),ae.retry.closeSync(u)(o),o=null,r.chown&&(r.chown.uid!==Yo||r.chown.gid!==Xo)&&ae.attempt.chownSync(i,r.chown.uid,r.chown.gid),r.mode&&r.mode!==gu&&ae.attempt.chmodSync(i,r.mode);try{ae.retry.renameSync(u)(i,e)}catch(h){if(!Jo(h)||h.code!=="ENAMETOOLONG")throw h;ae.retry.renameSync(u)(i,le.truncate(e))}s(),i=null}finally{o&&ae.attempt.closeSync(o),i&&le.purge(i)}}const xe=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},ir=new Set(["__proto__","prototype","constructor"]),ra=new Set("0123456789");function yt(e){const t=[];let r="",n="start",u=!1;for(const s of e)switch(s){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");u&&(r+=s),n="property",u=!u;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(u){u=!1,r+=s;break}if(ir.has(r))return[];t.push(r),r="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(u){u=!1,r+=s;break}if(n==="property"){if(ir.has(r))return[];t.push(r),r=""}n="index";break}case"]":{if(n==="index"){t.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!ra.has(s))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),u&&(u=!1,r+="\\"),r+=s}}switch(u&&(r+="\\"),n){case"property":{if(ir.has(r))return[];t.push(r);break}case"index":throw new Error("Index was not closed");case"start":{t.push("");break}}return t}function sr(e,t){if(typeof t!="number"&&Array.isArray(e)){const r=Number.parseInt(t,10);return Number.isInteger(r)&&e[r]===e[t]}return!1}function wu(e,t){if(sr(e,t))throw new Error("Cannot use string index")}function na(e,t,r){if(!xe(e)||typeof t!="string")return r===void 0?e:r;const n=yt(t);if(n.length===0)return r;for(let u=0;u<n.length;u++){const s=n[u];if(sr(e,s)?e=u===n.length-1?void 0:null:e=e[s],e==null){if(u!==n.length-1)return r;break}}return e===void 0?r:e}function bu(e,t,r){if(!xe(e)||typeof t!="string")return e;const n=e,u=yt(t);for(let s=0;s<u.length;s++){const i=u[s];wu(e,i),s===u.length-1?e[i]=r:xe(e[i])||(e[i]=typeof u[s+1]=="number"?[]:{}),e=e[i]}return n}function ua(e,t){if(!xe(e)||typeof t!="string")return!1;const r=yt(t);for(let n=0;n<r.length;n++){const u=r[n];if(wu(e,u),n===r.length-1)return delete e[u],!0;if(e=e[u],!xe(e))return!1}}function ia(e,t){if(!xe(e)||typeof t!="string")return!1;const r=yt(t);if(r.length===0)return!1;for(const n of r){if(!xe(e)||!(n in e)||sr(e,n))return!1;e=e[n]}return!0}function sa(e,t){const r=t?z.join(e,"config.json"):z.join("configstore",`${e}.json`),n=gt??Et.mkdtempSync(Et.realpathSync(je.tmpdir())+z.sep);return z.join(n,r)}const oa="You don't have access to this file.",aa={mode:448,recursive:!0},Bu={mode:384};function Au(e){throw e.code==="EACCES"&&(e.message=`${e.message}
|
|
4
|
+
${oa}
|
|
5
|
+
`),e}class la{constructor(t,r,n={}){this._path=n.configPath??sa(t,n.globalConfigPath),this._clearInvalidConfig=n.clearInvalidConfig??!0,r&&(this.all={...r,...this.all})}get all(){try{return JSON.parse(Et.readFileSync(this._path,"utf8"))}catch(t){if(t.code==="ENOENT")return{};if(t.name==="SyntaxError"){if(this._clearInvalidConfig)return ur(this._path,"",Bu),{};throw t}return Au(t),{}}}set all(t){try{Et.mkdirSync(z.dirname(this._path),aa),ur(this._path,JSON.stringify(t,void 0," "),Bu)}catch(r){Au(r)}}get size(){return Object.keys(this.all||{}).length}get(t){return na(this.all,t)}set(t,r){const n=this.all;if(typeof t=="object"&&arguments.length===1)for(const u of Object.keys(t))bu(n,u,t[u]);else bu(n,t,r);this.all=n}has(t){return ia(this.all,t)}delete(t){const r=this.all;ua(r,t),this.all=r}clear(){this.all={}}get path(){return this._path}}const or=10,Su=(e=0)=>t=>`\x1B[${t+e}m`,_u=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ru=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,te={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]}};Object.keys(te.modifier);const ca=Object.keys(te.color),Da=Object.keys(te.bgColor);[...ca,...Da];function fa(){const e=new Map;for(const[t,r]of Object.entries(te)){for(const[n,u]of Object.entries(r))te[n]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},r[n]=te[n],e.set(u[0],u[1]);Object.defineProperty(te,t,{value:r,enumerable:!1})}return Object.defineProperty(te,"codes",{value:e,enumerable:!1}),te.color.close="\x1B[39m",te.bgColor.close="\x1B[49m",te.color.ansi=Su(),te.color.ansi256=_u(),te.color.ansi16m=Ru(),te.bgColor.ansi=Su(or),te.bgColor.ansi256=_u(or),te.bgColor.ansi16m=Ru(or),Object.defineProperties(te,{rgbToAnsi256:{value(t,r,n){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)},enumerable:!1},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));const u=Number.parseInt(n,16);return[u>>16&255,u>>8&255,u&255]},enumerable:!1},hexToAnsi256:{value:t=>te.rgbToAnsi256(...te.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,u;if(t>=232)r=((t-232)*10+8)/255,n=r,u=r;else{t-=16;const o=t%36;r=Math.floor(t/36)/5,n=Math.floor(o/6)/5,u=o%6/5}const s=Math.max(r,n,u)*2;if(s===0)return 30;let i=30+(Math.round(u)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>te.ansi256ToAnsi(te.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>te.ansi256ToAnsi(te.hexToAnsi256(t)),enumerable:!1}}),te}const ye=fa();function de(e,t=globalThis.Deno?globalThis.Deno.args:B.argv){const r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),u=t.indexOf("--");return n!==-1&&(u===-1||n<u)}const{env:re}=B;let vt;de("no-color")||de("no-colors")||de("color=false")||de("color=never")?vt=0:(de("color")||de("colors")||de("color=true")||de("color=always"))&&(vt=1);function ha(){if("FORCE_COLOR"in re)return re.FORCE_COLOR==="true"?1:re.FORCE_COLOR==="false"?0:re.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(re.FORCE_COLOR,10),3)}function da(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function pa(e,{streamIsTTY:t,sniffFlags:r=!0}={}){const n=ha();n!==void 0&&(vt=n);const u=r?vt:n;if(u===0)return 0;if(r){if(de("color=16m")||de("color=full")||de("color=truecolor"))return 3;if(de("color=256"))return 2}if("TF_BUILD"in re&&"AGENT_NAME"in re)return 1;if(e&&!t&&u===void 0)return 0;const s=u||0;if(re.TERM==="dumb")return s;if(B.platform==="win32"){const i=je.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in re)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(i=>i in re)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(i=>i in re)||re.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in re)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(re.TEAMCITY_VERSION)?1:0;if(re.COLORTERM==="truecolor"||re.TERM==="xterm-kitty"||re.TERM==="xterm-ghostty"||re.TERM==="wezterm")return 3;if("TERM_PROGRAM"in re){const i=Number.parseInt((re.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(re.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(re.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(re.TERM)||"COLORTERM"in re?1:s}function xu(e,t={}){const r=pa(e,{streamIsTTY:e&&e.isTTY,...t});return da(r)}const Fa={stdout:xu({isTTY:Kt.isatty(1)}),stderr:xu({isTTY:Kt.isatty(2)})};function ma(e,t,r){let n=e.indexOf(t);if(n===-1)return e;const u=t.length;let s=0,i="";do i+=e.slice(s,n)+t+r,s=n+u,n=e.indexOf(t,s);while(n!==-1);return i+=e.slice(s),i}function Ea(e,t,r,n){let u=0,s="";do{const i=e[n-1]==="\r";s+=e.slice(u,i?n-1:n)+t+(i?`\r
|
|
6
|
+
`:`
|
|
7
|
+
`)+r,u=n+1,n=e.indexOf(`
|
|
8
|
+
`,u)}while(n!==-1);return s+=e.slice(u),s}const{stdout:Ou,stderr:Tu}=Fa,ar=Symbol("GENERATOR"),Me=Symbol("STYLER"),Ze=Symbol("IS_EMPTY"),Iu=["ansi","ansi","ansi256","ansi16m"],Ge=Object.create(null),ga=(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");const r=Ou?Ou.level:0;e.level=t.level===void 0?r:t.level},Ca=e=>{const t=(...r)=>r.join(" ");return ga(t,e),Object.setPrototypeOf(t,et.prototype),t};function et(e){return Ca(e)}Object.setPrototypeOf(et.prototype,Function.prototype);for(const[e,t]of Object.entries(ye))Ge[e]={get(){const r=wt(this,cr(t.open,t.close,this[Me]),this[Ze]);return Object.defineProperty(this,e,{value:r}),r}};Ge.visible={get(){const e=wt(this,this[Me],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const lr=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?ye[r].ansi16m(...n):t==="ansi256"?ye[r].ansi256(ye.rgbToAnsi256(...n)):ye[r].ansi(ye.rgbToAnsi(...n)):e==="hex"?lr("rgb",t,r,...ye.hexToRgb(...n)):ye[r][e](...n),ya=["rgb","hex","ansi256"];for(const e of ya){Ge[e]={get(){const{level:r}=this;return function(...n){const u=cr(lr(e,Iu[r],"color",...n),ye.color.close,this[Me]);return wt(this,u,this[Ze])}}};const t="bg"+e[0].toUpperCase()+e.slice(1);Ge[t]={get(){const{level:r}=this;return function(...n){const u=cr(lr(e,Iu[r],"bgColor",...n),ye.bgColor.close,this[Me]);return wt(this,u,this[Ze])}}}}const va=Object.defineProperties(()=>{},{...Ge,level:{enumerable:!0,get(){return this[ar].level},set(e){this[ar].level=e}}}),cr=(e,t,r)=>{let n,u;return r===void 0?(n=e,u=t):(n=r.openAll+e,u=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:u,parent:r}},wt=(e,t,r)=>{const n=(...u)=>wa(n,u.length===1?""+u[0]:u.join(" "));return Object.setPrototypeOf(n,va),n[ar]=e,n[Me]=t,n[Ze]=r,n},wa=(e,t)=>{if(e.level<=0||!t)return e[Ze]?"":t;let r=e[Me];if(r===void 0)return t;const{openAll:n,closeAll:u}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=ma(t,r.close,r.open),r=r.parent;const s=t.indexOf(`
|
|
9
|
+
`);return s!==-1&&(t=Ea(t,u,n,s)),n+t+u};Object.defineProperties(et.prototype,Ge);const Z=et();et({level:Tu?Tu.level:0});var Dr,Lu;function bt(){return Lu||(Lu=1,Dr=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{}),Dr}var fr,$u;function Bt(){if($u)return fr;$u=1;const e="2.0.0",t=256,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,u=t-6;return fr={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},fr}var At={exports:{}},Pu;function tt(){return Pu||(Pu=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:u}=Bt(),s=bt();t=e.exports={};const i=t.re=[],o=t.safeRe=[],D=t.src=[],a=t.safeSrc=[],c=t.t={};let f=0;const h="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",u],[h,n]],m=l=>{for(const[p,E]of d)l=l.split(`${p}*`).join(`${p}{0,${E}}`).split(`${p}+`).join(`${p}{1,${E}}`);return l},F=(l,p,E)=>{const g=m(p),C=f++;s(l,C,p),c[l]=C,D[C]=p,a[C]=g,i[C]=new RegExp(p,E?"g":void 0),o[C]=new RegExp(g,E?"g":void 0)};F("NUMERICIDENTIFIER","0|[1-9]\\d*"),F("NUMERICIDENTIFIERLOOSE","\\d+"),F("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),F("MAINVERSION",`(${D[c.NUMERICIDENTIFIER]})\\.(${D[c.NUMERICIDENTIFIER]})\\.(${D[c.NUMERICIDENTIFIER]})`),F("MAINVERSIONLOOSE",`(${D[c.NUMERICIDENTIFIERLOOSE]})\\.(${D[c.NUMERICIDENTIFIERLOOSE]})\\.(${D[c.NUMERICIDENTIFIERLOOSE]})`),F("PRERELEASEIDENTIFIER",`(?:${D[c.NONNUMERICIDENTIFIER]}|${D[c.NUMERICIDENTIFIER]})`),F("PRERELEASEIDENTIFIERLOOSE",`(?:${D[c.NONNUMERICIDENTIFIER]}|${D[c.NUMERICIDENTIFIERLOOSE]})`),F("PRERELEASE",`(?:-(${D[c.PRERELEASEIDENTIFIER]}(?:\\.${D[c.PRERELEASEIDENTIFIER]})*))`),F("PRERELEASELOOSE",`(?:-?(${D[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[c.PRERELEASEIDENTIFIERLOOSE]})*))`),F("BUILDIDENTIFIER",`${h}+`),F("BUILD",`(?:\\+(${D[c.BUILDIDENTIFIER]}(?:\\.${D[c.BUILDIDENTIFIER]})*))`),F("FULLPLAIN",`v?${D[c.MAINVERSION]}${D[c.PRERELEASE]}?${D[c.BUILD]}?`),F("FULL",`^${D[c.FULLPLAIN]}$`),F("LOOSEPLAIN",`[v=\\s]*${D[c.MAINVERSIONLOOSE]}${D[c.PRERELEASELOOSE]}?${D[c.BUILD]}?`),F("LOOSE",`^${D[c.LOOSEPLAIN]}$`),F("GTLT","((?:<|>)?=?)"),F("XRANGEIDENTIFIERLOOSE",`${D[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),F("XRANGEIDENTIFIER",`${D[c.NUMERICIDENTIFIER]}|x|X|\\*`),F("XRANGEPLAIN",`[v=\\s]*(${D[c.XRANGEIDENTIFIER]})(?:\\.(${D[c.XRANGEIDENTIFIER]})(?:\\.(${D[c.XRANGEIDENTIFIER]})(?:${D[c.PRERELEASE]})?${D[c.BUILD]}?)?)?`),F("XRANGEPLAINLOOSE",`[v=\\s]*(${D[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[c.XRANGEIDENTIFIERLOOSE]})(?:${D[c.PRERELEASELOOSE]})?${D[c.BUILD]}?)?)?`),F("XRANGE",`^${D[c.GTLT]}\\s*${D[c.XRANGEPLAIN]}$`),F("XRANGELOOSE",`^${D[c.GTLT]}\\s*${D[c.XRANGEPLAINLOOSE]}$`),F("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),F("COERCE",`${D[c.COERCEPLAIN]}(?:$|[^\\d])`),F("COERCEFULL",D[c.COERCEPLAIN]+`(?:${D[c.PRERELEASE]})?(?:${D[c.BUILD]})?(?:$|[^\\d])`),F("COERCERTL",D[c.COERCE],!0),F("COERCERTLFULL",D[c.COERCEFULL],!0),F("LONETILDE","(?:~>?)"),F("TILDETRIM",`(\\s*)${D[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",F("TILDE",`^${D[c.LONETILDE]}${D[c.XRANGEPLAIN]}$`),F("TILDELOOSE",`^${D[c.LONETILDE]}${D[c.XRANGEPLAINLOOSE]}$`),F("LONECARET","(?:\\^)"),F("CARETTRIM",`(\\s*)${D[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",F("CARET",`^${D[c.LONECARET]}${D[c.XRANGEPLAIN]}$`),F("CARETLOOSE",`^${D[c.LONECARET]}${D[c.XRANGEPLAINLOOSE]}$`),F("COMPARATORLOOSE",`^${D[c.GTLT]}\\s*(${D[c.LOOSEPLAIN]})$|^$`),F("COMPARATOR",`^${D[c.GTLT]}\\s*(${D[c.FULLPLAIN]})$|^$`),F("COMPARATORTRIM",`(\\s*)${D[c.GTLT]}\\s*(${D[c.LOOSEPLAIN]}|${D[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",F("HYPHENRANGE",`^\\s*(${D[c.XRANGEPLAIN]})\\s+-\\s+(${D[c.XRANGEPLAIN]})\\s*$`),F("HYPHENRANGELOOSE",`^\\s*(${D[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[c.XRANGEPLAINLOOSE]})\\s*$`),F("STAR","(<|>)?=?\\s*\\*"),F("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),F("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(At,At.exports)),At.exports}var hr,Nu;function dr(){if(Nu)return hr;Nu=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return hr=n=>n?typeof n!="object"?e:n:t,hr}var pr,ju;function ku(){if(ju)return pr;ju=1;const e=/^[0-9]+$/,t=(n,u)=>{if(typeof n=="number"&&typeof u=="number")return n===u?0:n<u?-1:1;const s=e.test(n),i=e.test(u);return s&&i&&(n=+n,u=+u),n===u?0:s&&!i?-1:i&&!s?1:n<u?-1:1};return pr={compareIdentifiers:t,rcompareIdentifiers:(n,u)=>t(u,n)},pr}var Fr,qu;function ce(){if(qu)return Fr;qu=1;const e=bt(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:r}=Bt(),{safeRe:n,t:u}=tt(),s=dr(),{compareIdentifiers:i}=ku();class o{constructor(a,c){if(c=s(c),a instanceof o){if(a.loose===!!c.loose&&a.includePrerelease===!!c.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",a,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;const f=a.trim().match(c.loose?n[u.LOOSE]:n[u.FULL]);if(!f)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(h=>{if(/^[0-9]+$/.test(h)){const d=+h;if(d>=0&&d<r)return d}return h}):this.prerelease=[],this.build=f[5]?f[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(a){if(e("SemVer.compare",this.version,this.options,a),!(a instanceof o)){if(typeof a=="string"&&a===this.version)return 0;a=new o(a,this.options)}return a.version===this.version?0:this.compareMain(a)||this.comparePre(a)}compareMain(a){return a instanceof o||(a=new o(a,this.options)),this.major<a.major?-1:this.major>a.major?1:this.minor<a.minor?-1:this.minor>a.minor?1:this.patch<a.patch?-1:this.patch>a.patch?1:0}comparePre(a){if(a instanceof o||(a=new o(a,this.options)),this.prerelease.length&&!a.prerelease.length)return-1;if(!this.prerelease.length&&a.prerelease.length)return 1;if(!this.prerelease.length&&!a.prerelease.length)return 0;let c=0;do{const f=this.prerelease[c],h=a.prerelease[c];if(e("prerelease compare",c,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return i(f,h)}while(++c)}compareBuild(a){a instanceof o||(a=new o(a,this.options));let c=0;do{const f=this.build[c],h=a.build[c];if(e("build compare",c,f,h),f===void 0&&h===void 0)return 0;if(h===void 0)return 1;if(f===void 0)return-1;if(f===h)continue;return i(f,h)}while(++c)}inc(a,c,f){if(a.startsWith("pre")){if(!c&&f===!1)throw new Error("invalid increment argument: identifier is empty");if(c){const h=`-${c}`.match(this.options.loose?n[u.PRERELEASELOOSE]:n[u.PRERELEASE]);if(!h||h[1]!==c)throw new Error(`invalid identifier: ${c}`)}}switch(a){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",c,f);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",c,f);break;case"prepatch":this.prerelease.length=0,this.inc("patch",c,f),this.inc("pre",c,f);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",c,f),this.inc("pre",c,f);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const h=Number(f)?1:0;if(this.prerelease.length===0)this.prerelease=[h];else{let d=this.prerelease.length;for(;--d>=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);if(d===-1){if(c===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(h)}}if(c){let d=[c,h];f===!1&&(d=[c]),i(this.prerelease[0],c)===0?isNaN(this.prerelease[1])&&(this.prerelease=d):this.prerelease=d}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Fr=o,Fr}var mr,Uu;function We(){if(Uu)return mr;Uu=1;const e=ce();return mr=(r,n,u=!1)=>{if(r instanceof e)return r;try{return new e(r,n)}catch(s){if(!u)return null;throw s}},mr}var Er,Mu;function Gu(){if(Mu)return Er;Mu=1;const e=We();return Er=(r,n)=>{const u=e(r,null,!0),s=e(n,null,!0),i=u.compare(s);if(i===0)return null;const o=i>0,D=o?u:s,a=o?s:u,c=!!D.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(D)===0)return a.minor&&!a.patch?"minor":"patch"}const h=c?"pre":"";return u.major!==s.major?h+"major":u.minor!==s.minor?h+"minor":u.patch!==s.patch?h+"patch":"prerelease"},Er}var ba=Gu(),Ba=pe(ba),gr,Wu;function Fe(){if(Wu)return gr;Wu=1;const e=ce();return gr=(r,n,u)=>new e(r,u).compare(new e(n,u)),gr}var Cr,Vu;function rt(){if(Vu)return Cr;Vu=1;const e=Fe();return Cr=(r,n,u)=>e(r,n,u)>0,Cr}var Aa=rt(),Sa=pe(Aa);class yr extends Error{response;request;options;constructor(t,r,n){const u=t.status||t.status===0?t.status:"",s=t.statusText??"",i=`${u} ${s}`.trim(),o=i?`status code ${i}`:"an unknown error";super(`Request failed with ${o}: ${r.method} ${r.url}`),this.name="HTTPError",this.response=t,this.request=r,this.options=n}}class Hu extends Error{name="NonError";value;constructor(t){let r="Non-error value was thrown";try{typeof t=="string"?r=t:t&&typeof t=="object"&&"message"in t&&typeof t.message=="string"&&(r=t.message)}catch{}super(r),this.value=t}}class vr extends Error{name="ForceRetryError";customDelay;code;customRequest;constructor(t){const r=t?.cause?t.cause instanceof Error?t.cause:new Hu(t.cause):void 0;super(t?.code?`Forced retry: ${t.code}`:"Forced retry",r?{cause:r}:void 0),this.customDelay=t?.delay,this.code=t?.code,this.customRequest=t?.request}}const Yu=(()=>{let e=!1,t=!1;const r=typeof globalThis.ReadableStream=="function",n=typeof globalThis.Request=="function";if(r&&n)try{t=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type")}catch(u){if(u instanceof Error&&u.message==="unsupported BodyInit type")return!1;throw u}return e&&!t})(),_a=typeof globalThis.AbortController=="function",Xu=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",Ra=typeof globalThis.ReadableStream=="function",xa=typeof globalThis.FormData=="function",zu=["get","post","put","patch","head","delete"],Oa={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},wr=2147483647,Ta=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,Ku=Symbol("stop");class Ju{options;constructor(t){this.options=t}}const Ia=e=>new Ju(e),La={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},$a={next:!0},Pa={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},Na=e=>{if(!e)return 0;if(e instanceof FormData){let t=0;for(const[r,n]of e)t+=Ta,t+=new TextEncoder().encode(`Content-Disposition: form-data; name="${r}"`).length,t+=typeof n=="string"?new TextEncoder().encode(n).length:n.size;return t}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength;if(typeof e=="string")return new TextEncoder().encode(e).length;if(e instanceof URLSearchParams)return new TextEncoder().encode(e.toString()).length;if("byteLength"in e)return e.byteLength;if(typeof e=="object"&&e!==null)try{const t=JSON.stringify(e);return new TextEncoder().encode(t).length}catch{return 0}return 0},Qu=(e,t,r)=>{let n,u=0;return e.pipeThrough(new TransformStream({transform(s,i){if(i.enqueue(s),n){u+=n.byteLength;let o=t===0?0:u/t;o>=1&&(o=1-Number.EPSILON),r?.({percent:o,totalBytes:Math.max(t,u),transferredBytes:u},n)}n=s},flush(){n&&(u+=n.byteLength,r?.({percent:1,totalBytes:Math.max(t,u),transferredBytes:u},n))}}))},ja=(e,t)=>{if(!e.body)return e;if(e.status===204)return new Response(null,{status:e.status,statusText:e.statusText,headers:e.headers});const r=Math.max(0,Number(e.headers.get("content-length"))||0);return new Response(Qu(e.body,r,t),{status:e.status,statusText:e.statusText,headers:e.headers})},ka=(e,t,r)=>{if(!e.body)return e;const n=Na(r??e.body);return new Request(e,{duplex:"half",body:Qu(e.body,n,t)})},Oe=e=>e!==null&&typeof e=="object",St=(...e)=>{for(const t of e)if((!Oe(t)||Array.isArray(t))&&t!==void 0)throw new TypeError("The `options` argument must be an object");return br({},...e)},Zu=(e={},t={})=>{const r=new globalThis.Headers(e),n=t instanceof globalThis.Headers,u=new globalThis.Headers(t);for(const[s,i]of u.entries())n&&i==="undefined"||i===void 0?r.delete(s):r.set(s,i);return r};function _t(e,t,r){return Object.hasOwn(t,r)&&t[r]===void 0?[]:br(e[r]??[],t[r]??[])}const ei=(e={},t={})=>({beforeRequest:_t(e,t,"beforeRequest"),beforeRetry:_t(e,t,"beforeRetry"),afterResponse:_t(e,t,"afterResponse"),beforeError:_t(e,t,"beforeError")}),qa=(e,t)=>{const r=new URLSearchParams;for(const n of[e,t])if(n!==void 0)if(n instanceof URLSearchParams)for(const[u,s]of n.entries())r.append(u,s);else if(Array.isArray(n))for(const u of n){if(!Array.isArray(u)||u.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");r.append(String(u[0]),String(u[1]))}else if(Oe(n))for(const[u,s]of Object.entries(n))s!==void 0&&r.append(u,String(s));else{const u=new URLSearchParams(n);for(const[s,i]of u.entries())r.append(s,i)}return r},br=(...e)=>{let t={},r={},n={},u;const s=[];for(const i of e)if(Array.isArray(i))Array.isArray(t)||(t=[]),t=[...t,...i];else if(Oe(i)){for(let[o,D]of Object.entries(i)){if(o==="signal"&&D instanceof globalThis.AbortSignal){s.push(D);continue}if(o==="context"){if(D!=null&&(!Oe(D)||Array.isArray(D)))throw new TypeError("The `context` option must be an object");t={...t,context:D==null?{}:{...t.context,...D}};continue}if(o==="searchParams"){D==null?u=void 0:u=u===void 0?D:qa(u,D);continue}Oe(D)&&o in t&&(D=br(t[o],D)),t={...t,[o]:D}}Oe(i.hooks)&&(n=ei(n,i.hooks),t.hooks=n),Oe(i.headers)&&(r=Zu(r,i.headers),t.headers=r)}return u!==void 0&&(t.searchParams=u),s.length>0&&(s.length===1?t.signal=s[0]:Xu?t.signal=AbortSignal.any(s):t.signal=s.at(-1)),t.context===void 0&&(t.context={}),t},Ua=e=>zu.includes(e)?e.toUpperCase():e,Ma=["get","put","head","delete","options","trace"],Ga=[408,413,429,500,502,503,504],Wa=[413,429,503],ti={limit:2,methods:Ma,statusCodes:Ga,afterStatusCodes:Wa,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:e=>.3*2**(e-1)*1e3,jitter:void 0,retryOnTimeout:!1},Va=(e={})=>{if(typeof e=="number")return{...ti,limit:e};if(e.methods&&!Array.isArray(e.methods))throw new Error("retry.methods must be an array");if(e.methods&&=e.methods.map(r=>r.toLowerCase()),e.statusCodes&&!Array.isArray(e.statusCodes))throw new Error("retry.statusCodes must be an array");const t=Object.fromEntries(Object.entries(e).filter(([,r])=>r!==void 0));return{...ti,...t}};class Br extends Error{request;constructor(t){super(`Request timed out: ${t.method} ${t.url}`),this.name="TimeoutError",this.request=t}}async function Ha(e,t,r,n){return new Promise((u,s)=>{const i=setTimeout(()=>{r&&r.abort(),s(new Br(e))},n.timeout);n.fetch(e,t).then(u).catch(s).then(()=>{clearTimeout(i)})})}async function Ya(e,{signal:t}){return new Promise((r,n)=>{t&&(t.throwIfAborted(),t.addEventListener("abort",u,{once:!0}));function u(){clearTimeout(s),n(t.reason)}const s=setTimeout(()=>{t?.removeEventListener("abort",u),r()},e)})}const Xa=(e,t)=>{const r={};for(const n in t)Object.hasOwn(t,n)&&!(n in Pa)&&!(n in La)&&(!(n in e)||n in $a)&&(r[n]=t[n]);return r},za=e=>e===void 0?!1:Array.isArray(e)?e.length>0:e instanceof URLSearchParams?e.size>0:typeof e=="object"?Object.keys(e).length>0:typeof e=="string"?e.trim().length>0:!!e;function Ka(e){return e instanceof yr||e?.name===yr.name}function Ja(e){return e instanceof Br||e?.name===Br.name}class ht{static create(t,r){const n=new ht(t,r),u=async()=>{if(typeof n.#e.timeout=="number"&&n.#e.timeout>wr)throw new RangeError(`The \`timeout\` option cannot be greater than ${wr}`);await Promise.resolve();let i=await n.#F();for(const o of n.#e.hooks.afterResponse){const D=n.#p(i.clone());let a;try{a=await o(n.request,n.#c(),D,{retryCount:n.#t})}catch(f){throw n.#a(D),n.#a(i),f}if(a instanceof Ju)throw n.#a(D),n.#a(i),new vr(a.options);const c=a instanceof globalThis.Response?a:i;D!==c&&n.#a(D),i!==c&&n.#a(i),i=c}if(n.#p(i),!i.ok&&(typeof n.#e.throwHttpErrors=="function"?n.#e.throwHttpErrors(i.status):n.#e.throwHttpErrors)){let o=new yr(i,n.request,n.#c());for(const D of n.#e.hooks.beforeError)o=await D(o,{retryCount:n.#t});throw o}if(n.#e.onDownloadProgress){if(typeof n.#e.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Ra)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");const o=i.clone();return n.#a(i),ja(o,n.#e.onDownloadProgress)}return i},s=n.#h(u).finally(()=>{const i=n.#l;n.#D(i?.body??void 0),n.#D(n.request.body??void 0)});for(const[i,o]of Object.entries(Oa))i==="bytes"&&typeof globalThis.Response?.prototype?.bytes!="function"||(s[i]=async()=>{n.request.headers.set("accept",n.request.headers.get("accept")||o);const D=await s;if(i==="json"){if(D.status===204)return"";const a=await D.text();return a===""?"":r.parseJson?r.parseJson(a):JSON.parse(a)}return D[i]()});return s}static#i(t){return t&&typeof t=="object"&&!Array.isArray(t)&&!(t instanceof URLSearchParams)?Object.fromEntries(Object.entries(t).filter(([,r])=>r!==void 0)):t}request;#r;#t=0;#n;#e;#l;#u;#o;constructor(t,r={}){if(this.#n=t,this.#e={...r,headers:Zu(this.#n.headers,r.headers),hooks:ei({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},r.hooks),method:Ua(r.method??this.#n.method??"GET"),prefixUrl:String(r.prefixUrl||""),retry:Va(r.retry),throwHttpErrors:r.throwHttpErrors??!0,timeout:r.timeout??1e4,fetch:r.fetch??globalThis.fetch.bind(globalThis),context:r.context??{}},typeof this.#n!="string"&&!(this.#n instanceof URL||this.#n instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this.#e.prefixUrl&&typeof this.#n=="string"){if(this.#n.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this.#e.prefixUrl.endsWith("/")||(this.#e.prefixUrl+="/"),this.#n=this.#e.prefixUrl+this.#n}_a&&Xu&&(this.#u=this.#e.signal??this.#n.signal,this.#r=new globalThis.AbortController,this.#e.signal=this.#u?AbortSignal.any([this.#u,this.#r.signal]):this.#r.signal),Yu&&(this.#e.duplex="half"),this.#e.json!==void 0&&(this.#e.body=this.#e.stringifyJson?.(this.#e.json)??JSON.stringify(this.#e.json),this.#e.headers.set("content-type",this.#e.headers.get("content-type")??"application/json"));const n=r.headers&&new globalThis.Headers(r.headers).has("content-type");if(this.#n instanceof globalThis.Request&&(xa&&this.#e.body instanceof globalThis.FormData||this.#e.body instanceof URLSearchParams)&&!n&&this.#e.headers.delete("content-type"),this.request=new globalThis.Request(this.#n,this.#e),za(this.#e.searchParams)){const s="?"+(typeof this.#e.searchParams=="string"?this.#e.searchParams.replace(/^\?/,""):new URLSearchParams(ht.#i(this.#e.searchParams)).toString()),i=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,s);this.request=new globalThis.Request(i,this.#e)}if(this.#e.onUploadProgress){if(typeof this.#e.onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!Yu)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=this.#m(this.request,this.#e.body??void 0)}}#s(){const t=this.#e.retry.delay(this.#t);let r=t;this.#e.retry.jitter===!0?r=Math.random()*t:typeof this.#e.retry.jitter=="function"&&(r=this.#e.retry.jitter(t),(!Number.isFinite(r)||r<0)&&(r=t));const n=this.#e.retry.backoffLimit??Number.POSITIVE_INFINITY;return Math.min(n,r)}async#d(t){if(this.#t++,this.#t>this.#e.retry.limit)throw t;const r=t instanceof Error?t:new Hu(t);if(r instanceof vr)return r.customDelay??this.#s();if(!this.#e.retry.methods.includes(this.request.method.toLowerCase()))throw t;if(this.#e.retry.shouldRetry!==void 0){const n=await this.#e.retry.shouldRetry({error:r,retryCount:this.#t});if(n===!1)throw t;if(n===!0)return this.#s()}if(Ja(t)&&!this.#e.retry.retryOnTimeout)throw t;if(Ka(t)){if(!this.#e.retry.statusCodes.includes(t.response.status))throw t;const n=t.response.headers.get("Retry-After")??t.response.headers.get("RateLimit-Reset")??t.response.headers.get("X-RateLimit-Retry-After")??t.response.headers.get("X-RateLimit-Reset")??t.response.headers.get("X-Rate-Limit-Reset");if(n&&this.#e.retry.afterStatusCodes.includes(t.response.status)){let u=Number(n)*1e3;Number.isNaN(u)?u=Date.parse(n)-Date.now():u>=Date.parse("2024-01-01")&&(u-=Date.now());const s=this.#e.retry.maxRetryAfter??u;return u<s?u:s}if(t.response.status===413)throw t}return this.#s()}#p(t){return this.#e.parseJson&&(t.json=async()=>this.#e.parseJson(await t.text())),t}#D(t){t&&t.cancel().catch(()=>{})}#a(t){this.#D(t.body??void 0)}async#h(t){try{return await t()}catch(r){const n=Math.min(await this.#d(r),wr);if(this.#t<1)throw r;if(await Ya(n,this.#u?{signal:this.#u}:{}),r instanceof vr&&r.customRequest){const u=this.#e.signal?new globalThis.Request(r.customRequest,{signal:this.#e.signal}):new globalThis.Request(r.customRequest);this.#f(u)}for(const u of this.#e.hooks.beforeRetry){const s=await u({request:this.request,options:this.#c(),error:r,retryCount:this.#t});if(s instanceof globalThis.Request){this.#f(s);break}if(s instanceof globalThis.Response)return s;if(s===Ku)return}return this.#h(t)}}async#F(){this.#r?.signal.aborted&&(this.#r=new globalThis.AbortController,this.#e.signal=this.#u?AbortSignal.any([this.#u,this.#r.signal]):this.#r.signal,this.request=new globalThis.Request(this.request,{signal:this.#e.signal}));for(const r of this.#e.hooks.beforeRequest){const n=await r(this.request,this.#c(),{retryCount:this.#t});if(n instanceof Response)return n;if(n instanceof globalThis.Request){this.#f(n);break}}const t=Xa(this.request,this.#e);return this.#l=this.request,this.request=this.#l.clone(),this.#e.timeout===!1?this.#e.fetch(this.#l,t):Ha(this.#l,t,this.#r,this.#e)}#c(){if(!this.#o){const{hooks:t,...r}=this.#e;this.#o=Object.freeze(r)}return this.#o}#f(t){this.#o=void 0,this.request=this.#m(t)}#m(t,r){return!this.#e.onUploadProgress||!t.body?t:ka(t,this.#e.onUploadProgress,r??this.#e.body??void 0)}}/*! MIT License © Sindre Sorhus */const Ar=e=>{const t=(r,n)=>ht.create(r,St(e,n));for(const r of zu)t[r]=(n,u)=>ht.create(n,St(e,u,{method:r}));return t.create=r=>Ar(St(r)),t.extend=r=>(typeof r=="function"&&(r=r(e??{})),Ar(St(e,r))),t.stop=Ku,t.retry=Ia,t},Qa=Ar();var Te={},Se={},ri;function ni(){if(ri)return Se;ri=1,Se.parse=Se.decode=n,Se.stringify=Se.encode=t,Se.safe=s,Se.unsafe=i;var e=typeof process<"u"&&process.platform==="win32"?`\r
|
|
10
|
+
`:`
|
|
11
|
+
`;function t(o,D){var a=[],c="";typeof D=="string"?D={section:D,whitespace:!1}:(D=D||{},D.whitespace=D.whitespace===!0);var f=D.whitespace?" = ":"=";return Object.keys(o).forEach(function(h,d,m){var F=o[h];F&&Array.isArray(F)?F.forEach(function(l){c+=s(h+"[]")+f+s(l)+`
|
|
12
|
+
`}):F&&typeof F=="object"?a.push(h):c+=s(h)+f+s(F)+e}),D.section&&c.length&&(c="["+s(D.section)+"]"+e+c),a.forEach(function(h,d,m){var F=r(h).join("\\."),l=(D.section?D.section+".":"")+F,p=t(o[h],{section:l,whitespace:D.whitespace});c.length&&p.length&&(c+=e),c+=p}),c}function r(o){return o.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(function(D){return D.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")})}function n(o){var D={},a=D,c=null,f=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,h=o.split(/[\r\n]+/g);return h.forEach(function(d,m,F){if(!(!d||d.match(/^\s*[;#]/))){var l=d.match(f);if(l){if(l[1]!==void 0){if(c=i(l[1]),c==="__proto__"){a={};return}a=D[c]=D[c]||{};return}var p=i(l[2]);if(p!=="__proto__"){var E=l[3]?i(l[4]):!0;switch(E){case"true":case"false":case"null":E=JSON.parse(E)}if(p.length>2&&p.slice(-2)==="[]"){if(p=p.substring(0,p.length-2),p==="__proto__")return;a[p]?Array.isArray(a[p])||(a[p]=[a[p]]):a[p]=[]}Array.isArray(a[p])?a[p].push(E):a[p]=E}}}}),Object.keys(D).filter(function(d,m,F){if(!D[d]||typeof D[d]!="object"||Array.isArray(D[d]))return!1;var l=r(d),p=D,E=l.pop(),g=E.replace(/\\\./g,".");return l.forEach(function(C,A,v){C!=="__proto__"&&((!p[C]||typeof p[C]!="object")&&(p[C]={}),p=p[C])}),p===D&&g===E?!1:(p[g]=D[d],!0)}).forEach(function(d,m,F){delete D[d]}),D}function u(o){return o.charAt(0)==='"'&&o.slice(-1)==='"'||o.charAt(0)==="'"&&o.slice(-1)==="'"}function s(o){return typeof o!="string"||o.match(/[=\r\n]/)||o.match(/^\[/)||o.length>1&&u(o)||o!==o.trim()?JSON.stringify(o):o.replace(/;/g,"\\;").replace(/#/g,"\\#")}function i(o,D){if(o=(o||"").trim(),u(o)){o.charAt(0)==="'"&&(o=o.substr(1,o.length-2));try{o=JSON.parse(o)}catch{}}else{for(var a=!1,c="",f=0,h=o.length;f<h;f++){var d=o.charAt(f);if(a)"\\;#".indexOf(d)!==-1?c+=d:c+="\\"+d,a=!1;else{if(";#".indexOf(d)!==-1)break;d==="\\"?a=!0:c+=d}}return a&&(c+="\\"),c.trim()}return o}return Se}var Sr,ui;function Za(){if(ui)return Sr;ui=1;var e=1,t=2;function r(){return""}function n(u,s,i){return u.slice(s,i).replace(/\S/g," ")}return Sr=function(u,s){s=s||{};for(var i,o,D=!1,a=!1,c=0,f="",h=s.whitespace===!1?r:n,d=0;d<u.length;d++){if(i=u[d],o=u[d+1],!a&&i==='"'){var m=u[d-1]==="\\"&&u[d-2]!=="\\";m||(D=!D)}if(!D){if(!a&&i+o==="//")f+=u.slice(c,d),c=d,a=e,d++;else if(a===e&&i+o===`\r
|
|
13
|
+
`){d++,a=!1,f+=h(u,c,d),c=d;continue}else if(a===e&&i===`
|
|
14
|
+
`)a=!1,f+=h(u,c,d),c=d;else if(!a&&i+o==="/*"){f+=u.slice(c,d),c=d,a=t,d++;continue}else if(a===t&&i+o==="*/"){d++,a=!1,f+=h(u,c,d+1),c=d+1;continue}}}return f+(a?h(u.substr(c)):u.substr(c))},Sr}var ii;function el(){if(ii)return Te;ii=1;var e=ke,t=ni(),r=he,n=Za(),u=Te.parse=function(i){return/^\s*{/.test(i)?JSON.parse(n(i)):t.parse(i)},s=Te.file=function(){var i=[].slice.call(arguments).filter(function(a){return a!=null});for(var o in i)if(typeof i[o]!="string")return;var D=r.join.apply(null,i);try{return e.readFileSync(D,"utf-8")}catch{return}};return Te.json=function(){var i=s.apply(null,arguments);return i?u(i):null},Te.env=function(i,o){o=o||process.env;var D={},a=i.length;for(var c in o)if(c.toLowerCase().indexOf(i.toLowerCase())===0){for(var f=c.substring(a).split("__"),h;(h=f.indexOf(""))>-1;)f.splice(h,1);var d=D;f.forEach(function(F,l){!F||typeof d!="object"||(l===f.length-1&&(d[F]=o[c]),d[F]===void 0&&(d[F]={}),d=d[F])})}return D},Te.find=function(){var i=r.join.apply(null,[].slice.call(arguments));function o(D,a){var c=r.join(D,a);try{return e.statSync(c),c}catch{if(r.dirname(D)!==D)return o(r.dirname(D),a)}}return o(process.cwd(),i)},Te}var _r={exports:{}};/*!
|
|
15
|
+
* @description Recursive object extending
|
|
16
|
+
* @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
|
|
17
|
+
* @license MIT
|
|
18
|
+
*
|
|
19
|
+
* The MIT License (MIT)
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) 2013-2018 Viacheslav Lotsmanov
|
|
22
|
+
*
|
|
23
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
24
|
+
* this software and associated documentation files (the "Software"), to deal in
|
|
25
|
+
* the Software without restriction, including without limitation the rights to
|
|
26
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
27
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
|
28
|
+
* subject to the following conditions:
|
|
29
|
+
*
|
|
30
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
31
|
+
* copies or substantial portions of the Software.
|
|
32
|
+
*
|
|
33
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
34
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
35
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
36
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
37
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
38
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
39
|
+
*/var si;function tl(){if(si)return _r.exports;si=1;function e(s){return s instanceof Buffer||s instanceof Date||s instanceof RegExp}function t(s){if(s instanceof Buffer){var i=Buffer.alloc?Buffer.alloc(s.length):new Buffer(s.length);return s.copy(i),i}else{if(s instanceof Date)return new Date(s.getTime());if(s instanceof RegExp)return new RegExp(s);throw new Error("Unexpected situation")}}function r(s){var i=[];return s.forEach(function(o,D){typeof o=="object"&&o!==null?Array.isArray(o)?i[D]=r(o):e(o)?i[D]=t(o):i[D]=u({},o):i[D]=o}),i}function n(s,i){return i==="__proto__"?void 0:s[i]}var u=_r.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var s=arguments[0],i=Array.prototype.slice.call(arguments,1),o,D;return i.forEach(function(a){typeof a!="object"||a===null||Array.isArray(a)||Object.keys(a).forEach(function(c){if(D=n(s,c),o=n(a,c),o!==s)if(typeof o!="object"||o===null){s[c]=o;return}else if(Array.isArray(o)){s[c]=r(o);return}else if(e(o)){s[c]=t(o);return}else if(typeof D!="object"||D===null||Array.isArray(D)){s[c]=u({},o);return}else{s[c]=u(D,o);return}})}),s};return _r.exports}var Rr,oi;function rl(){if(oi)return Rr;oi=1;function e(n,u){var s=n;u.slice(0,-1).forEach(function(o){s=s[o]||{}});var i=u[u.length-1];return i in s}function t(n){return typeof n=="number"||/^0x[0-9a-f]+$/i.test(n)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(n)}function r(n,u){return u==="constructor"&&typeof n[u]=="function"||u==="__proto__"}return Rr=function(n,u){u||(u={});var s={bools:{},strings:{},unknownFn:null};typeof u.unknown=="function"&&(s.unknownFn=u.unknown),typeof u.boolean=="boolean"&&u.boolean?s.allBools=!0:[].concat(u.boolean).filter(Boolean).forEach(function(y){s.bools[y]=!0});var i={};function o(y){return i[y].some(function(b){return s.bools[b]})}Object.keys(u.alias||{}).forEach(function(y){i[y]=[].concat(u.alias[y]),i[y].forEach(function(b){i[b]=[y].concat(i[y].filter(function(q){return b!==q}))})}),[].concat(u.string).filter(Boolean).forEach(function(y){s.strings[y]=!0,i[y]&&[].concat(i[y]).forEach(function(b){s.strings[b]=!0})});var D=u.default||{},a={_:[]};function c(y,b){return s.allBools&&/^--[^=]+$/.test(b)||s.strings[y]||s.bools[y]||i[y]}function f(y,b,q){for(var I=y,ee=0;ee<b.length-1;ee++){var J=b[ee];if(r(I,J))return;I[J]===void 0&&(I[J]={}),(I[J]===Object.prototype||I[J]===Number.prototype||I[J]===String.prototype)&&(I[J]={}),I[J]===Array.prototype&&(I[J]=[]),I=I[J]}var Q=b[b.length-1];r(I,Q)||((I===Object.prototype||I===Number.prototype||I===String.prototype)&&(I={}),I===Array.prototype&&(I=[]),I[Q]===void 0||s.bools[Q]||typeof I[Q]=="boolean"?I[Q]=q:Array.isArray(I[Q])?I[Q].push(q):I[Q]=[I[Q],q])}function h(y,b,q){if(!(q&&s.unknownFn&&!c(y,q)&&s.unknownFn(q)===!1)){var I=!s.strings[y]&&t(b)?Number(b):b;f(a,y.split("."),I),(i[y]||[]).forEach(function(ee){f(a,ee.split("."),I)})}}Object.keys(s.bools).forEach(function(y){h(y,D[y]===void 0?!1:D[y])});var d=[];n.indexOf("--")!==-1&&(d=n.slice(n.indexOf("--")+1),n=n.slice(0,n.indexOf("--")));for(var m=0;m<n.length;m++){var F=n[m],l,p;if(/^--.+=/.test(F)){var E=F.match(/^--([^=]+)=([\s\S]*)$/);l=E[1];var g=E[2];s.bools[l]&&(g=g!=="false"),h(l,g,F)}else if(/^--no-.+/.test(F))l=F.match(/^--no-(.+)/)[1],h(l,!1,F);else if(/^--.+/.test(F))l=F.match(/^--(.+)/)[1],p=n[m+1],p!==void 0&&!/^(-|--)[^-]/.test(p)&&!s.bools[l]&&!s.allBools&&(!i[l]||!o(l))?(h(l,p,F),m+=1):/^(true|false)$/.test(p)?(h(l,p==="true",F),m+=1):h(l,s.strings[l]?"":!0,F);else if(/^-[^-]+/.test(F)){for(var C=F.slice(1,-1).split(""),A=!1,v=0;v<C.length;v++){if(p=F.slice(v+2),p==="-"){h(C[v],p,F);continue}if(/[A-Za-z]/.test(C[v])&&p[0]==="="){h(C[v],p.slice(1),F),A=!0;break}if(/[A-Za-z]/.test(C[v])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(p)){h(C[v],p,F),A=!0;break}if(C[v+1]&&C[v+1].match(/\W/)){h(C[v],F.slice(v+2),F),A=!0;break}else h(C[v],s.strings[C[v]]?"":!0,F)}l=F.slice(-1)[0],!A&&l!=="-"&&(n[m+1]&&!/^(-|--)[^-]/.test(n[m+1])&&!s.bools[l]&&(!i[l]||!o(l))?(h(l,n[m+1],F),m+=1):n[m+1]&&/^(true|false)$/.test(n[m+1])?(h(l,n[m+1]==="true",F),m+=1):h(l,s.strings[l]?"":!0,F))}else if((!s.unknownFn||s.unknownFn(F)!==!1)&&a._.push(s.strings._||!t(F)?F:Number(F)),u.stopEarly){a._.push.apply(a._,n.slice(m+1));break}}return Object.keys(D).forEach(function(y){e(a,y.split("."))||(f(a,y.split("."),D[y]),(i[y]||[]).forEach(function(b){f(a,b.split("."),D[y])}))}),u["--"]?a["--"]=d.slice():d.forEach(function(y){a._.push(y)}),a},Rr}var xr,ai;function nl(){if(ai)return xr;ai=1;var e=el(),t=he.join,r=tl(),n="/etc",u=process.platform==="win32",s=u?process.env.USERPROFILE:process.env.HOME;return xr=function(i,o,D,a){if(typeof i!="string")throw new Error("rc(name): name *must* be string");D||(D=rl()(process.argv.slice(2))),o=(typeof o=="string"?e.json(o):o)||{},a=a||e.parse;var c=e.env(i+"_"),f=[o],h=[];function d(m){if(!(h.indexOf(m)>=0)){var F=e.file(m);F&&(f.push(a(F)),h.push(m))}}return u||[t(n,i,"config"),t(n,i+"rc")].forEach(d),s&&[t(s,".config",i,"config"),t(s,".config",i),t(s,"."+i,"config"),t(s,"."+i+"rc")].forEach(d),d(e.find("."+i+"rc")),c.config&&d(c.config),D.config&&d(D.config),r.apply(null,f.concat([c,D,h.length?{configs:h,config:h[h.length-1]}:void 0]))},xr}var ul=nl(),il=pe(ul);function sl(e){const t=il("npm",{registry:"https://registry.npmjs.org/"}),r=t[`${e}:registry`]||t.config_registry||t.registry;return r.slice(-1)==="/"?r:`${r}/`}var Or={exports:{}},Ie={},Le={},Tr,li;function ol(){if(li)return Tr;li=1;var e=lu,t=process.cwd,r=null,n=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return r||(r=t.call(process)),r};try{process.cwd()}catch{}if(typeof process.chdir=="function"){var u=process.chdir;process.chdir=function(i){r=null,u.call(process,i)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,u)}Tr=s;function s(i){e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&o(i),i.lutimes||D(i),i.chown=f(i.chown),i.fchown=f(i.fchown),i.lchown=f(i.lchown),i.chmod=a(i.chmod),i.fchmod=a(i.fchmod),i.lchmod=a(i.lchmod),i.chownSync=h(i.chownSync),i.fchownSync=h(i.fchownSync),i.lchownSync=h(i.lchownSync),i.chmodSync=c(i.chmodSync),i.fchmodSync=c(i.fchmodSync),i.lchmodSync=c(i.lchmodSync),i.stat=d(i.stat),i.fstat=d(i.fstat),i.lstat=d(i.lstat),i.statSync=m(i.statSync),i.fstatSync=m(i.fstatSync),i.lstatSync=m(i.lstatSync),i.chmod&&!i.lchmod&&(i.lchmod=function(l,p,E){E&&process.nextTick(E)},i.lchmodSync=function(){}),i.chown&&!i.lchown&&(i.lchown=function(l,p,E,g){g&&process.nextTick(g)},i.lchownSync=function(){}),n==="win32"&&(i.rename=typeof i.rename!="function"?i.rename:(function(l){function p(E,g,C){var A=Date.now(),v=0;l(E,g,function y(b){if(b&&(b.code==="EACCES"||b.code==="EPERM")&&Date.now()-A<6e4){setTimeout(function(){i.stat(g,function(q,I){q&&q.code==="ENOENT"?l(E,g,y):C(b)})},v),v<100&&(v+=10);return}C&&C(b)})}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p})(i.rename)),i.read=typeof i.read!="function"?i.read:(function(l){function p(E,g,C,A,v,y){var b;if(y&&typeof y=="function"){var q=0;b=function(I,ee,J){if(I&&I.code==="EAGAIN"&&q<10)return q++,l.call(i,E,g,C,A,v,b);y.apply(this,arguments)}}return l.call(i,E,g,C,A,v,b)}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p})(i.read),i.readSync=typeof i.readSync!="function"?i.readSync:(function(l){return function(p,E,g,C,A){for(var v=0;;)try{return l.call(i,p,E,g,C,A)}catch(y){if(y.code==="EAGAIN"&&v<10){v++;continue}throw y}}})(i.readSync);function o(l){l.lchmod=function(p,E,g){l.open(p,e.O_WRONLY|e.O_SYMLINK,E,function(C,A){if(C){g&&g(C);return}l.fchmod(A,E,function(v){l.close(A,function(y){g&&g(v||y)})})})},l.lchmodSync=function(p,E){var g=l.openSync(p,e.O_WRONLY|e.O_SYMLINK,E),C=!0,A;try{A=l.fchmodSync(g,E),C=!1}finally{if(C)try{l.closeSync(g)}catch{}else l.closeSync(g)}return A}}function D(l){e.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(p,E,g,C){l.open(p,e.O_SYMLINK,function(A,v){if(A){C&&C(A);return}l.futimes(v,E,g,function(y){l.close(v,function(b){C&&C(y||b)})})})},l.lutimesSync=function(p,E,g){var C=l.openSync(p,e.O_SYMLINK),A,v=!0;try{A=l.futimesSync(C,E,g),v=!1}finally{if(v)try{l.closeSync(C)}catch{}else l.closeSync(C)}return A}):l.futimes&&(l.lutimes=function(p,E,g,C){C&&process.nextTick(C)},l.lutimesSync=function(){})}function a(l){return l&&function(p,E,g){return l.call(i,p,E,function(C){F(C)&&(C=null),g&&g.apply(this,arguments)})}}function c(l){return l&&function(p,E){try{return l.call(i,p,E)}catch(g){if(!F(g))throw g}}}function f(l){return l&&function(p,E,g,C){return l.call(i,p,E,g,function(A){F(A)&&(A=null),C&&C.apply(this,arguments)})}}function h(l){return l&&function(p,E,g){try{return l.call(i,p,E,g)}catch(C){if(!F(C))throw C}}}function d(l){return l&&function(p,E,g){typeof E=="function"&&(g=E,E=null);function C(A,v){v&&(v.uid<0&&(v.uid+=4294967296),v.gid<0&&(v.gid+=4294967296)),g&&g.apply(this,arguments)}return E?l.call(i,p,E,C):l.call(i,p,C)}}function m(l){return l&&function(p,E){var g=E?l.call(i,p,E):l.call(i,p);return g&&(g.uid<0&&(g.uid+=4294967296),g.gid<0&&(g.gid+=4294967296)),g}}function F(l){if(!l||l.code==="ENOSYS")return!0;var p=!process.getuid||process.getuid()!==0;return!!(p&&(l.code==="EINVAL"||l.code==="EPERM"))}}return Tr}var Ir,ci;function al(){if(ci)return Ir;ci=1;var e=pt.Stream;Ir=t;function t(r){return{ReadStream:n,WriteStream:u};function n(s,i){if(!(this instanceof n))return new n(s,i);e.call(this);var o=this;this.path=s,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var D=Object.keys(i),a=0,c=D.length;a<c;a++){var f=D[a];this[f]=i[f]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){o._read()});return}r.open(this.path,this.flags,this.mode,function(h,d){if(h){o.emit("error",h),o.readable=!1;return}o.fd=d,o.emit("open",d),o._read()})}function u(s,i){if(!(this instanceof u))return new u(s,i);e.call(this),this.path=s,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),D=0,a=o.length;D<a;D++){var c=o[D];this[c]=i[c]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=r.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}return Ir}var Lr,Di;function ll(){if(Di)return Lr;Di=1,Lr=t;var e=Object.getPrototypeOf||function(r){return r.__proto__};function t(r){if(r===null||typeof r!="object")return r;if(r instanceof Object)var n={__proto__:e(r)};else var n=Object.create(null);return Object.getOwnPropertyNames(r).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(r,u))}),n}return Lr}var Rt,fi;function cl(){if(fi)return Rt;fi=1;var e=ke,t=ol(),r=al(),n=ll(),u=cu,s,i;typeof Symbol=="function"&&typeof Symbol.for=="function"?(s=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(s="___graceful-fs.queue",i="___graceful-fs.previous");function o(){}function D(l,p){Object.defineProperty(l,s,{get:function(){return p}})}var a=o;if(u.debuglog?a=u.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(a=function(){var l=u.format.apply(u,arguments);l="GFS4: "+l.split(/\n/).join(`
|
|
40
|
+
GFS4: `),console.error(l)}),!e[s]){var c=qe[s]||[];D(e,c),e.close=(function(l){function p(E,g){return l.call(e,E,function(C){C||m(),typeof g=="function"&&g.apply(this,arguments)})}return Object.defineProperty(p,i,{value:l}),p})(e.close),e.closeSync=(function(l){function p(E){l.apply(e,arguments),m()}return Object.defineProperty(p,i,{value:l}),p})(e.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){a(e[s]),Du.equal(e[s].length,0)})}qe[s]||D(qe,e[s]),Rt=f(n(e)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!e.__patched&&(Rt=f(e),e.__patched=!0);function f(l){t(l),l.gracefulify=f,l.createReadStream=X,l.createWriteStream=M;var p=l.readFile;l.readFile=E;function E(w,O,T){return typeof O=="function"&&(T=O,O=null),V(w,O,T);function V(H,W,j,U){return p(H,W,function(P){P&&(P.code==="EMFILE"||P.code==="ENFILE")?h([V,[H,W,j],P,U||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var g=l.writeFile;l.writeFile=C;function C(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return g(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var A=l.appendFile;A&&(l.appendFile=v);function v(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return A(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var y=l.copyFile;y&&(l.copyFile=b);function b(w,O,T,V){return typeof T=="function"&&(V=T,T=0),H(w,O,T,V);function H(W,j,U,P,Y){return y(W,j,U,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var q=l.readdir;l.readdir=ee;var I=/^v[0-5]\./;function ee(w,O,T){typeof O=="function"&&(T=O,O=null);var V=I.test(process.version)?function(j,U,P,Y){return q(j,H(j,U,P,Y))}:function(j,U,P,Y){return q(j,U,H(j,U,P,Y))};return V(w,O,T);function H(W,j,U,P){return function(Y,N){Y&&(Y.code==="EMFILE"||Y.code==="ENFILE")?h([V,[W,j,U],Y,P||Date.now(),Date.now()]):(N&&N.sort&&N.sort(),typeof U=="function"&&U.call(this,Y,N))}}}if(process.version.substr(0,4)==="v0.8"){var J=r(l);_=J.ReadStream,R=J.WriteStream}var Q=l.ReadStream;Q&&(_.prototype=Object.create(Q.prototype),_.prototype.open=$);var x=l.WriteStream;x&&(R.prototype=Object.create(x.prototype),R.prototype.open=k),Object.defineProperty(l,"ReadStream",{get:function(){return _},set:function(w){_=w},enumerable:!0,configurable:!0}),Object.defineProperty(l,"WriteStream",{get:function(){return R},set:function(w){R=w},enumerable:!0,configurable:!0});var S=_;Object.defineProperty(l,"FileReadStream",{get:function(){return S},set:function(w){S=w},enumerable:!0,configurable:!0});var L=R;Object.defineProperty(l,"FileWriteStream",{get:function(){return L},set:function(w){L=w},enumerable:!0,configurable:!0});function _(w,O){return this instanceof _?(Q.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function $(){var w=this;ue(w.path,w.flags,w.mode,function(O,T){O?(w.autoClose&&w.destroy(),w.emit("error",O)):(w.fd=T,w.emit("open",T),w.read())})}function R(w,O){return this instanceof R?(x.apply(this,arguments),this):R.apply(Object.create(R.prototype),arguments)}function k(){var w=this;ue(w.path,w.flags,w.mode,function(O,T){O?(w.destroy(),w.emit("error",O)):(w.fd=T,w.emit("open",T))})}function X(w,O){return new l.ReadStream(w,O)}function M(w,O){return new l.WriteStream(w,O)}var K=l.open;l.open=ue;function ue(w,O,T,V){return typeof T=="function"&&(V=T,T=null),H(w,O,T,V);function H(W,j,U,P,Y){return K(W,j,U,function(N,Ao){N&&(N.code==="EMFILE"||N.code==="ENFILE")?h([H,[W,j,U,P],N,Y||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}return l}function h(l){a("ENQUEUE",l[0].name,l[1]),e[s].push(l),F()}var d;function m(){for(var l=Date.now(),p=0;p<e[s].length;++p)e[s][p].length>2&&(e[s][p][3]=l,e[s][p][4]=l);F()}function F(){if(clearTimeout(d),d=void 0,e[s].length!==0){var l=e[s].shift(),p=l[0],E=l[1],g=l[2],C=l[3],A=l[4];if(C===void 0)a("RETRY",p.name,E),p.apply(null,E);else if(Date.now()-C>=6e4){a("TIMEOUT",p.name,E);var v=E.pop();typeof v=="function"&&v.call(null,g)}else{var y=Date.now()-A,b=Math.max(A-C,1),q=Math.min(b*1.2,100);y>=q?(a("RETRY",p.name,E),p.apply(null,E.concat([C]))):e[s].push(l)}d===void 0&&(d=setTimeout(F,0))}}return Rt}var hi;function Dl(){if(hi)return Le;hi=1;var e=Le&&Le.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Le,"__esModule",{value:!0}),Le.readCAFileSync=void 0;const t=e(cl());function r(n){try{const u=t.default.readFileSync(n,"utf8"),s="-----END CERTIFICATE-----";return u.split(s).filter(o=>!!o.trim()).map(o=>`${o.trimLeft()}${s}`)}catch(u){if(u.code==="ENOENT")return;throw u}}return Le.readCAFileSync=r,Le}var di;function fl(){return di||(di=1,(function(e){var t=Ie&&Ie.__createBinding||(Object.create?(function(n,u,s,i){i===void 0&&(i=s);var o=Object.getOwnPropertyDescriptor(u,s);(!o||("get"in o?!u.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return u[s]}}),Object.defineProperty(n,i,o)}):(function(n,u,s,i){i===void 0&&(i=s),n[i]=u[s]})),r=Ie&&Ie.__exportStar||function(n,u){for(var s in n)s!=="default"&&!Object.prototype.hasOwnProperty.call(u,s)&&t(u,n,s)};Object.defineProperty(e,"__esModule",{value:!0}),r(Dl(),e)})(Ie)),Ie}var $r={exports:{}},Pr,pi;function hl(){if(pi)return Pr;pi=1,Pr=t;function e(r,n){if(typeof Object.setPrototypeOf=="function")return Object.setPrototypeOf(r,n);r.__proto__=n}function t(){this.list=[];var r=null;Object.defineProperty(this,"root",{get:function(){return r},set:function(n){r=n,this.list.length&&e(this.list[this.list.length-1],n)},enumerable:!0,configurable:!0})}return t.prototype={get length(){return this.list.length},get keys(){var r=[];for(var n in this.list[0])r.push(n);return r},get snapshot(){var r={};return this.keys.forEach(function(n){r[n]=this.get(n)},this),r},get store(){return this.list[0]},push:function(r){return typeof r!="object"&&(r={valueOf:r}),this.list.length>=1&&e(this.list[this.list.length-1],r),e(r,this.root),this.list.push(r)},pop:function(){return this.list.length>=2&&e(this.list[this.list.length-2],this.root),this.list.pop()},unshift:function(r){return e(r,this.list[0]||this.root),this.list.unshift(r)},shift:function(){return this.list.length===1&&e(this.list[0],this.root),this.list.shift()},get:function(r){return this.list[0][r]},set:function(r,n,u){return this.length||this.push({}),u&&this.list[0].hasOwnProperty(r)&&this.push({}),this.list[0][r]=n},forEach:function(r,n){for(var u in this.list[0])r.call(n,u,this.list[0][u])},slice:function(){return this.list.slice.apply(this.list,arguments)},splice:function(){for(var r=this.list.splice.apply(this.list,arguments),n=0,u=this.list.length;n<u;n++)e(this.list[n],this.list[n+1]||this.root);return r}},Pr}var Fi;function dl(){if(Fi)return $r.exports;Fi=1;var e=hl(),t=he,r=ke,n=ni(),u=Ro.EventEmitter,s=hu,i=xo,o=$r.exports=function(){for(var h=[].slice.call(arguments),d=new c;h.length;){var m=h.shift();m&&d.push(typeof m=="string"?a(m):m)}return d};o.find=function(){var h=t.join.apply(null,[].slice.call(arguments));function d(m,F){var l=t.join(m,F);try{return r.statSync(l),l}catch{if(t.dirname(m)!==m)return d(t.dirname(m),F)}}return d(__dirname,h)};var D=o.parse=function(h,d,m){if(h=""+h,m)if(m==="json")if(this.emit)try{return JSON.parse(h)}catch(F){this.emit("error",F)}else return JSON.parse(h);else return n.parse(h);else try{return JSON.parse(h)}catch{return n.parse(h)}},a=o.json=function(){var h=[].slice.call(arguments).filter(function(F){return F!=null}),d=t.join.apply(null,h),m;try{m=r.readFileSync(d,"utf-8")}catch{return}return D(m,d,"json")};o.env=function(h,d){d=d||process.env;var m={},F=h.length;for(var l in d)l.indexOf(h)===0&&(m[l.substring(F)]=d[l]);return m},o.ConfigChain=c;function c(){u.apply(this),e.apply(this,arguments),this._awaiting=0,this._saving=0,this.sources={}}var f={constructor:{value:c}};return Object.keys(u.prototype).forEach(function(h){f[h]=Object.getOwnPropertyDescriptor(u.prototype,h)}),c.prototype=Object.create(e.prototype,f),c.prototype.del=function(h,d){if(d){var m=this.sources[d];if(m=m&&m.data,!m)return this.emit("error",new Error("not found "+d));delete m[h]}else for(var F=0,l=this.list.length;F<l;F++)delete this.list[F][h];return this},c.prototype.set=function(h,d,m){var F;if(m){if(F=this.sources[m],F=F&&F.data,!F)return this.emit("error",new Error("not found "+m))}else if(F=this.list[0],!F)return this.emit("error",new Error("cannot set, no confs!"));return F[h]=d,this},c.prototype.get=function(h,d){return d?(d=this.sources[d],d&&(d=d.data),d&&Object.hasOwnProperty.call(d,h)?d[h]:void 0):this.list[0][h]},c.prototype.save=function(h,p,m){typeof p=="function"&&(m=p,p=null);var F=this.sources[h];if(!F||!(F.path||F.source)||!F.data)return this.emit("error",new Error("bad save target: "+h));if(F.source){var l=F.prefix||"";return Object.keys(F.data).forEach(function(g){F.source[l+g]=F.data[g]}),this}var p=p||F.type,E=F.data;return F.type==="json"?E=JSON.stringify(E):E=n.stringify(E),this._saving++,r.writeFile(F.path,E,"utf8",function(g){if(this._saving--,g)return m?m(g):this.emit("error",g);this._saving===0&&(m&&m(),this.emit("save"))}.bind(this)),this},c.prototype.addFile=function(h,d,m){m=m||h;var F={__source__:m};return this.sources[m]={path:h,type:d},this.push(F),this._await(),r.readFile(h,"utf8",function(l,p){l&&this.emit("error",l),this.addString(p,h,d,F)}.bind(this)),this},c.prototype.addEnv=function(h,d,m){m=m||"env";var F=o.env(h,d);return this.sources[m]={data:F,source:d,prefix:h},this.add(F,m)},c.prototype.addUrl=function(h,d,m){this._await();var F=s.format(h);m=m||F;var l={__source__:m};return this.sources[m]={href:F,type:d},this.push(l),i.request(h,function(p){var E=[],g=p.headers["content-type"];d||(d=g.indexOf("json")!==-1?"json":g.indexOf("ini")!==-1?"ini":F.match(/\.json$/)?"json":F.match(/\.ini$/)?"ini":null,l.type=d),p.on("data",E.push.bind(E)).on("end",function(){this.addString(Buffer.concat(E),F,d,l)}.bind(this)).on("error",this.emit.bind(this,"error"))}.bind(this)).on("error",this.emit.bind(this,"error")).end(),this},c.prototype.addString=function(h,d,m,F){return h=this.parse(h,d,m),this.add(h,F),this},c.prototype.add=function(h,d){if(d&&typeof d=="object"){var m=this.list.indexOf(d);if(m===-1)return this.emit("error",new Error("bad marker"));this.splice(m,1,h),d=d.__source__,this.sources[d]=this.sources[d]||{},this.sources[d].data=h,this._resolve()}else typeof d=="string"&&(this.sources[d]=this.sources[d]||{},this.sources[d].data=h),this._await(),this.push(h),process.nextTick(this._resolve.bind(this));return this},c.prototype.parse=o.parse,c.prototype._await=function(){this._awaiting++},c.prototype._resolve=function(){this._awaiting--,this._awaiting===0&&this.emit("load",this)},$r.exports}var Nr,mi;function pl(){if(mi)return Nr;mi=1,Nr=function(t){const r=t.indexOf(":");if(r===-1)return e(t);const n=t.substr(0,r),u=t.substr(r+1);return`${n}:${e(u)}`};function e(t){if(t=t.toLowerCase(),t==="_authtoken")return"_authToken";let r=t[0];for(let n=1;n<t.length;n++)r+=t[n]==="_"?"-":t[n];return r}return Nr}var Ve={},jr={},nt={},Ei;function Fl(){if(Ei)return nt;Ei=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.envReplace=void 0;const e=/(?<!\\)(\\*)\$\{([^${}]+)\}/g;function t(s,i){return s.replace(e,r.bind(null,i))}nt.envReplace=t;function r(s,i,o,D){if(o.length%2)return i.slice((o.length+1)/2);const a=u(s,D);if(a===void 0)throw new Error(`Failed to replace env in config: ${i}`);return`${o.slice(o.length/2)}${a}`}const n=/([^:-]+)(:?)-(.+)/;function u(s,i){const o=i.match(n);if(!o)return s[i];const[,D,a,c]=o;return Object.prototype.hasOwnProperty.call(s,D)?!s[D]&&a?c:s[D]:c}return nt}var gi;function ml(){return gi||(gi=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.envReplace=void 0;var t=Fl();Object.defineProperty(e,"envReplace",{enumerable:!0,get:function(){return t.envReplace}})})(jr)),jr}var Ci;function El(){if(Ci)return Ve;Ci=1;const e=ke,t=he,{envReplace:r}=ml(),n=i=>typeof i!="string"?i:r(i,process.env),u=(i,o,D)=>{if(typeof o!="string")return o;const a=[].concat(i[D]),c=a.indexOf(t)!==-1,f=a.indexOf(Boolean)!==-1,h=a.indexOf(String)!==-1,d=a.indexOf(Number)!==-1;if(o=`${o}`.trim(),/^".*"$/.test(o))try{o=JSON.parse(o)}catch{throw new Error(`Failed parsing JSON config key ${D}: ${o}`)}if(f&&!h&&o==="")return!0;switch(o){case"true":return!0;case"false":return!1;case"null":return null;case"undefined":return}const m=r(o,process.env);if((D.endsWith(":tokenHelper")||D==="tokenHelper")&&m!==o)throw new Error(`It is not allowed to use environment variables in the value of the ${D} setting.`);return o=m,c&&((process.platform==="win32"?/^~(\/|\\)/:/^~\//).test(o)&&process.env.HOME&&(o=t.resolve(process.env.HOME,o.substr(2))),o=t.resolve(o)),d&&!isNaN(o)&&(o=Number(o)),o},s=i=>{i=t.resolve(i);let o=!1;for(;t.basename(i)==="node_modules";)i=t.dirname(i),o=!0;if(o)return i;const D=(a,c)=>{const f=/^[a-zA-Z]:(\\|\/)?$/;if(a==="/"||process.platform==="win32"&&f.test(a))return c;try{const h=e.readdirSync(a);if(h.includes("node_modules")||h.includes("package.json")||h.includes("package.json5")||h.includes("package.yaml")||h.includes("pnpm-workspace.yaml"))return a;const d=t.dirname(a);return d===a?c:D(d,c)}catch(h){if(a===c){if(h.code==="ENOENT")return c;throw h}return c}};return D(i,i)};return Ve.envReplace=r,Ve.findPrefix=s,Ve.parseField=u,Ve.parseKey=n,Ve}var kr={},yi;function gl(){if(yi)return kr;yi=1;const e=he,t=pt.Stream,r=hu,n=()=>{},u=()=>[],s=()=>{};return kr.types={access:[null,"restricted","public"],"allow-same-version":Boolean,"always-auth":Boolean,also:[null,"dev","development"],audit:Boolean,"auth-type":["legacy","sso","saml","oauth"],"bin-links":Boolean,browser:[null,String],ca:[null,String,Array],cafile:e,cache:e,"cache-lock-stale":Number,"cache-lock-retries":Number,"cache-lock-wait":Number,"cache-max":Number,"cache-min":Number,cert:[null,String],cidr:[null,String,Array],color:["always",Boolean],depth:Number,description:Boolean,dev:Boolean,"dry-run":Boolean,editor:String,"engine-strict":Boolean,force:Boolean,"fetch-retries":Number,"fetch-retry-factor":Number,"fetch-retry-mintimeout":Number,"fetch-retry-maxtimeout":Number,git:String,"git-tag-version":Boolean,"commit-hooks":Boolean,global:Boolean,globalconfig:e,"global-style":Boolean,group:[Number,String],"https-proxy":[null,r],"user-agent":String,"ham-it-up":Boolean,heading:String,"if-present":Boolean,"ignore-prepublish":Boolean,"ignore-scripts":Boolean,"init-module":e,"init-author-name":String,"init-author-email":String,"init-author-url":["",r],"init-license":String,"init-version":s,json:Boolean,key:[null,String],"legacy-bundling":Boolean,link:Boolean,"local-address":u(),loglevel:["silent","error","warn","notice","http","timing","info","verbose","silly"],logstream:t,"logs-max":Number,long:Boolean,maxsockets:Number,message:String,"metrics-registry":[null,String],"node-options":[null,String],"node-version":[null,s],"no-proxy":[null,String,Array],offline:Boolean,"onload-script":[null,String],only:[null,"dev","development","prod","production"],optional:Boolean,"package-lock":Boolean,otp:[null,String],"package-lock-only":Boolean,parseable:Boolean,"prefer-offline":Boolean,"prefer-online":Boolean,prefix:e,production:Boolean,progress:Boolean,proxy:[null,!1,r],provenance:Boolean,"read-only":Boolean,"rebuild-bundle":Boolean,registry:[null,r],rollback:Boolean,save:Boolean,"save-bundle":Boolean,"save-dev":Boolean,"save-exact":Boolean,"save-optional":Boolean,"save-prefix":String,"save-prod":Boolean,scope:String,"script-shell":[null,String],"scripts-prepend-node-path":[!1,!0,"auto","warn-only"],searchopts:String,searchexclude:[null,String],searchlimit:Number,searchstaleness:Number,"send-metrics":Boolean,shell:String,shrinkwrap:Boolean,"sign-git-tag":Boolean,"sso-poll-frequency":Number,"sso-type":[null,"oauth","saml"],"strict-ssl":Boolean,tag:String,timing:Boolean,tmp:e,unicode:Boolean,"unsafe-perm":Boolean,usage:Boolean,user:[Number,String],userconfig:e,umask:n,version:Boolean,"tag-version-prefix":String,versions:Boolean,viewer:String,_exit:Boolean},kr}var qr,vi;function Cl(){if(vi)return qr;vi=1;const{readCAFileSync:e}=fl(),t=ke,r=he,{ConfigChain:n}=dl(),u=pl(),s=El();class i extends n{constructor(a,c){super(a),this.root=a,this._parseField=s.parseField.bind(null,c||gl())}add(a,c){try{for(const[f,h]of Object.entries(a)){const d=s.parseKey(f);d!==f&&delete a[f],a[d]=this._parseField(h,d)}}catch(f){throw f}return super.add(a,c)}addFile(a,c){c=c||a;const f={__source__:c};this.sources[c]={path:a,type:"ini"},this.push(f),this._await();try{const h=t.readFileSync(a,"utf8");this.addString(h,a,"ini",f)}catch(h){if(h.code==="ENOENT")this.add({},f);else if(h.code!=="EISDIR")return`Issue while reading "${a}". ${h.message}`}}addEnv(a){a=a||process.env;const c={};return Object.keys(a).filter(f=>/^npm_config_/i.test(f)).forEach(f=>{if(!a[f])return;const h=u(f.substr(11)),d=a[f];c[h]=o(h,d)}),super.addEnv("",c,"env")}loadPrefix(){const a=this.list[0];Object.defineProperty(this,"prefix",{enumerable:!0,set:f=>{const h=this.get("global");this[h?"globalPrefix":"localPrefix"]=f},get:()=>this.get("global")?this.globalPrefix:this.localPrefix}),Object.defineProperty(this,"globalPrefix",{enumerable:!0,set:f=>{this.set("prefix",f)},get:()=>r.resolve(this.get("prefix"))});let c;if(Object.defineProperty(this,"localPrefix",{enumerable:!0,set:f=>{c=f},get:()=>c}),Object.prototype.hasOwnProperty.call(a,"prefix"))c=r.resolve(a.prefix);else try{c=s.findPrefix(process.cwd())}catch(f){throw f}return c}loadCAFile(a){if(!a)return;const c=e(a);c&&this.set("ca",c)}loadUser(){const a=this.root;if(this.get("global"))return;if(process.env.SUDO_UID){a.user=Number(process.env.SUDO_UID);return}const c=r.resolve(this.get("prefix"));try{const f=t.statSync(c);a.user=f.uid}catch(f){if(f.code==="ENOENT")return;throw f}}}function o(D,a){function c(f){return f.indexOf(`
|
|
8
41
|
|
|
9
|
-
|
|
10
|
-
`)},resume:()=>{u(e.personal.resume||"https://cv.ritik.me"),console.log(`
|
|
42
|
+
`)?f.split(`
|
|
11
43
|
|
|
12
|
-
${i.resume.success}
|
|
13
|
-
|
|
44
|
+
`):f.split(",")}switch(D){case"hoist-pattern":case"public-hoist-pattern":return c(a)}return a}return qr=i,qr}var Ur={},wi;function yl(){return wi||(wi=1,(function(e){const t=fu,r=he,n=t.tmpdir(),u=process.getuid?process.getuid():process.pid,s=()=>!0,i=process.platform==="win32",o={editor:()=>process.env.EDITOR||process.env.VISUAL||(i?"notepad.exe":"vi"),shell:()=>i?process.env.COMSPEC||"cmd.exe":process.env.SHELL||"/bin/bash"},D={fromString:()=>process.umask()};let a=t.homedir();a?process.env.HOME=a:a=r.resolve(n,"npm-"+u);const c=process.platform==="win32"?"npm-cache":".npm",f=process.platform==="win32"&&process.env.APPDATA||a,h=r.resolve(f,c);let d,m;Object.defineProperty(e,"defaults",{get:function(){return d||(process.env.PREFIX?m=process.env.PREFIX:process.platform==="win32"?m=r.dirname(process.execPath):(m=r.dirname(r.dirname(process.execPath)),process.env.DESTDIR&&(m=r.join(process.env.DESTDIR,m))),d={access:null,"allow-same-version":!1,"always-auth":!1,also:null,audit:!0,"auth-type":"legacy","bin-links":!0,browser:null,ca:null,cafile:null,cache:h,"cache-lock-stale":6e4,"cache-lock-retries":10,"cache-lock-wait":1e4,"cache-max":1/0,"cache-min":10,cert:null,cidr:null,color:process.env.NO_COLOR==null,depth:1/0,description:!0,dev:!1,"dry-run":!1,editor:o.editor(),"engine-strict":!1,force:!1,"fetch-retries":2,"fetch-retry-factor":10,"fetch-retry-mintimeout":1e4,"fetch-retry-maxtimeout":6e4,git:"git","git-tag-version":!0,"commit-hooks":!0,global:!1,globalconfig:r.resolve(m,"etc","npmrc"),"global-style":!1,group:process.platform==="win32"?0:process.env.SUDO_GID||process.getgid&&process.getgid(),"ham-it-up":!1,heading:"npm","if-present":!1,"ignore-prepublish":!1,"ignore-scripts":!1,"init-module":r.resolve(a,".npm-init.js"),"init-author-name":"","init-author-email":"","init-author-url":"","init-version":"1.0.0","init-license":"ISC",json:!1,key:null,"legacy-bundling":!1,link:!1,"local-address":void 0,loglevel:"notice",logstream:process.stderr,"logs-max":10,long:!1,maxsockets:50,message:"%s","metrics-registry":null,"node-options":null,offline:!1,"onload-script":!1,only:null,optional:!0,otp:null,"package-lock":!0,"package-lock-only":!1,parseable:!1,"prefer-offline":!1,"prefer-online":!1,prefix:m,production:!1,progress:!process.env.TRAVIS&&!process.env.CI,provenance:!1,proxy:null,"https-proxy":null,"no-proxy":null,"user-agent":"npm/{npm-version} node/{node-version} {platform} {arch}","read-only":!1,"rebuild-bundle":!0,registry:"https://registry.npmjs.org/",rollback:!0,save:!0,"save-bundle":!1,"save-dev":!1,"save-exact":!1,"save-optional":!1,"save-prefix":"^","save-prod":!1,scope:"","script-shell":null,"scripts-prepend-node-path":"warn-only",searchopts:"",searchexclude:null,searchlimit:20,searchstaleness:900,"send-metrics":!1,shell:o.shell(),shrinkwrap:!0,"sign-git-tag":!1,"sso-poll-frequency":500,"sso-type":"oauth","strict-ssl":!0,tag:"latest","tag-version-prefix":"v",timing:!1,tmp:n,unicode:s(),"unsafe-perm":process.platform==="win32"||process.platform==="cygwin"||!(process.getuid&&process.setuid&&process.getgid&&process.setgid)||process.getuid()!==0,usage:!1,user:process.platform==="win32"?0:"nobody",userconfig:r.resolve(a,".npmrc"),umask:process.umask?process.umask():D.fromString("022"),version:!1,versions:!1,viewer:process.platform==="win32"?"browser":"man",_exit:!0},d)}})})(Ur)),Ur}var bi;function vl(){return bi||(bi=1,(function(e){const t=he,r=Cl(),n=yl();e.exports=(u,s,i)=>{const o=new r(Object.assign({},n.defaults,i),s);o.add(Object.assign({},u),"cli");const D=[];let a=!1;if(require.resolve.paths){const d=require.resolve.paths("npm");let m;try{m=require.resolve("npm",{paths:d.slice(-1)})}catch{a=!0}m&&D.push(o.addFile(t.resolve(t.dirname(m),"..","npmrc"),"builtin"))}o.addEnv(),o.loadPrefix();const c=t.resolve(o.localPrefix,".npmrc"),f=o.get("userconfig");if(!o.get("global")&&c!==f?D.push(o.addFile(c,"project")):o.add({},"project"),o.get("workspace-prefix")&&o.get("workspace-prefix")!==c){const d=t.resolve(o.get("workspace-prefix"),".npmrc");D.push(o.addFile(d,"workspace"))}if(D.push(o.addFile(o.get("userconfig"),"user")),o.get("prefix")){const d=t.resolve(o.get("prefix"),"etc");o.root.globalconfig=t.resolve(d,"npmrc"),o.root.globalignorefile=t.resolve(d,"npmignore")}D.push(o.addFile(o.get("globalconfig"),"global")),o.loadUser();const h=o.get("cafile");return h&&o.loadCAFile(h),{config:o,warnings:D.filter(Boolean),failedToLoadBuiltInConfig:a}},Object.defineProperty(e.exports,"defaults",{get(){return n.defaults},enumerable:!0})})(Or)),Or.exports}var Mr,Bi;function wl(){if(Bi)return Mr;Bi=1;const e=vl(),t=":_authToken",r=":_auth",n=":username",u=":_password";Mr=function(){let F,l;arguments.length>=2?(F=arguments[0],l=Object.assign({},arguments[1])):typeof arguments[0]=="string"?F=arguments[0]:l=Object.assign({},arguments[0]),l=l||{};const p=l.npmrc;return l.npmrc=(l.npmrc?{config:{get:E=>p[E]}}:e()).config,F=F||l.npmrc.get("registry")||e.defaults.registry,i(F,l)||o(l.npmrc)};function s(m,F){const l=new URL(F,new URL(m.startsWith("//")?`./${m}`:m,"resolve://"));if(l.protocol==="resolve:"){const{pathname:p,search:E,hash:g}=l;return p+E+g}return l.toString()}function i(m,F){let l=m instanceof URL?m:new URL(m.startsWith("//")?`http:${m}`:m),p;for(;p!=="/"&&l.pathname!==p;){p=l.pathname||"/";const E="//"+l.host+p.replace(/\/$/,""),g=a(E,F.npmrc);if(g)return g;if(!F.recursive)return/\/$/.test(m)?void 0:i(new URL("./",l),F);l.pathname=s(D(p),"..")||"/"}}function o(m){return m.get("_auth")?{token:c(m.get("_auth")),type:"Basic"}:void 0}function D(m){return m[m.length-1]==="/"?m:m+"/"}function a(m,F){const l=f(F.get(m+t)||F.get(m+"/"+t));if(l)return l;const p=F.get(m+n)||F.get(m+"/"+n),E=F.get(m+u)||F.get(m+"/"+u),g=h(p,E);if(g)return g;const C=d(F.get(m+r)||F.get(m+"/"+r));if(C)return C}function c(m){return m.replace(/^\$\{?([^}]*)\}?$/,function(F,l){return process.env[l]})}function f(m){return m?{token:c(m),type:"Bearer"}:void 0}function h(m,F){if(!m||!F)return;const l=Buffer.from(c(F),"base64").toString("utf8");return{token:Buffer.from(m+":"+l,"utf8").toString("base64"),type:"Basic",password:l,username:m}}function d(m){return m?{token:c(m),type:"Basic"}:void 0}return Mr}var bl=wl(),Bl=pe(bl),Gr,Ai;function Al(){if(Ai)return Gr;Ai=1;const e=We();return Gr=(r,n)=>{const u=e(r,n);return u?u.version:null},Gr}var Wr,Si;function Sl(){if(Si)return Wr;Si=1;const e=We();return Wr=(r,n)=>{const u=e(r.trim().replace(/^[=v]+/,""),n);return u?u.version:null},Wr}var Vr,_i;function _l(){if(_i)return Vr;_i=1;const e=ce();return Vr=(r,n,u,s,i)=>{typeof u=="string"&&(i=s,s=u,u=void 0);try{return new e(r instanceof e?r.version:r,u).inc(n,s,i).version}catch{return null}},Vr}var Hr,Ri;function Rl(){if(Ri)return Hr;Ri=1;const e=ce();return Hr=(r,n)=>new e(r,n).major,Hr}var Yr,xi;function xl(){if(xi)return Yr;xi=1;const e=ce();return Yr=(r,n)=>new e(r,n).minor,Yr}var Xr,Oi;function Ol(){if(Oi)return Xr;Oi=1;const e=ce();return Xr=(r,n)=>new e(r,n).patch,Xr}var zr,Ti;function Tl(){if(Ti)return zr;Ti=1;const e=We();return zr=(r,n)=>{const u=e(r,n);return u&&u.prerelease.length?u.prerelease:null},zr}var Kr,Ii;function Il(){if(Ii)return Kr;Ii=1;const e=Fe();return Kr=(r,n,u)=>e(n,r,u),Kr}var Jr,Li;function Ll(){if(Li)return Jr;Li=1;const e=Fe();return Jr=(r,n)=>e(r,n,!0),Jr}var Qr,$i;function Zr(){if($i)return Qr;$i=1;const e=ce();return Qr=(r,n,u)=>{const s=new e(r,u),i=new e(n,u);return s.compare(i)||s.compareBuild(i)},Qr}var en,Pi;function $l(){if(Pi)return en;Pi=1;const e=Zr();return en=(r,n)=>r.sort((u,s)=>e(u,s,n)),en}var tn,Ni;function Pl(){if(Ni)return tn;Ni=1;const e=Zr();return tn=(r,n)=>r.sort((u,s)=>e(s,u,n)),tn}var rn,ji;function nn(){if(ji)return rn;ji=1;const e=Fe();return rn=(r,n,u)=>e(r,n,u)<0,rn}var un,ki;function qi(){if(ki)return un;ki=1;const e=Fe();return un=(r,n,u)=>e(r,n,u)===0,un}var sn,Ui;function Mi(){if(Ui)return sn;Ui=1;const e=Fe();return sn=(r,n,u)=>e(r,n,u)!==0,sn}var on,Gi;function an(){if(Gi)return on;Gi=1;const e=Fe();return on=(r,n,u)=>e(r,n,u)>=0,on}var ln,Wi;function cn(){if(Wi)return ln;Wi=1;const e=Fe();return ln=(r,n,u)=>e(r,n,u)<=0,ln}var Dn,Vi;function Hi(){if(Vi)return Dn;Vi=1;const e=qi(),t=Mi(),r=rt(),n=an(),u=nn(),s=cn();return Dn=(o,D,a,c)=>{switch(D){case"===":return typeof o=="object"&&(o=o.version),typeof a=="object"&&(a=a.version),o===a;case"!==":return typeof o=="object"&&(o=o.version),typeof a=="object"&&(a=a.version),o!==a;case"":case"=":case"==":return e(o,a,c);case"!=":return t(o,a,c);case">":return r(o,a,c);case">=":return n(o,a,c);case"<":return u(o,a,c);case"<=":return s(o,a,c);default:throw new TypeError(`Invalid operator: ${D}`)}},Dn}var fn,Yi;function Nl(){if(Yi)return fn;Yi=1;const e=ce(),t=We(),{safeRe:r,t:n}=tt();return fn=(s,i)=>{if(s instanceof e)return s;if(typeof s=="number"&&(s=String(s)),typeof s!="string")return null;i=i||{};let o=null;if(!i.rtl)o=s.match(i.includePrerelease?r[n.COERCEFULL]:r[n.COERCE]);else{const d=i.includePrerelease?r[n.COERCERTLFULL]:r[n.COERCERTL];let m;for(;(m=d.exec(s))&&(!o||o.index+o[0].length!==s.length);)(!o||m.index+m[0].length!==o.index+o[0].length)&&(o=m),d.lastIndex=m.index+m[1].length+m[2].length;d.lastIndex=-1}if(o===null)return null;const D=o[2],a=o[3]||"0",c=o[4]||"0",f=i.includePrerelease&&o[5]?`-${o[5]}`:"",h=i.includePrerelease&&o[6]?`+${o[6]}`:"";return t(`${D}.${a}.${c}${f}${h}`,i)},fn}var hn,Xi;function jl(){if(Xi)return hn;Xi=1;class e{constructor(){this.max=1e3,this.map=new Map}get(r){const n=this.map.get(r);if(n!==void 0)return this.map.delete(r),this.map.set(r,n),n}delete(r){return this.map.delete(r)}set(r,n){if(!this.delete(r)&&n!==void 0){if(this.map.size>=this.max){const s=this.map.keys().next().value;this.delete(s)}this.map.set(r,n)}return this}}return hn=e,hn}var dn,zi;function me(){if(zi)return dn;zi=1;const e=/\s+/g;class t{constructor(S,L){if(L=u(L),S instanceof t)return S.loose===!!L.loose&&S.includePrerelease===!!L.includePrerelease?S:new t(S.raw,L);if(S instanceof s)return this.raw=S.value,this.set=[[S]],this.formatted=void 0,this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=S.trim().replace(e," "),this.set=this.raw.split("||").map(_=>this.parseRange(_.trim())).filter(_=>_.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const _=this.set[0];if(this.set=this.set.filter($=>!F($[0])),this.set.length===0)this.set=[_];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&l($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let S=0;S<this.set.length;S++){S>0&&(this.formatted+="||");const L=this.set[S];for(let _=0;_<L.length;_++)_>0&&(this.formatted+=" "),this.formatted+=L[_].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(S){const _=((this.options.includePrerelease&&d)|(this.options.loose&&m))+":"+S,$=n.get(_);if($)return $;const R=this.options.loose,k=R?D[a.HYPHENRANGELOOSE]:D[a.HYPHENRANGE];S=S.replace(k,J(this.options.includePrerelease)),i("hyphen replace",S),S=S.replace(D[a.COMPARATORTRIM],c),i("comparator trim",S),S=S.replace(D[a.TILDETRIM],f),i("tilde trim",S),S=S.replace(D[a.CARETTRIM],h),i("caret trim",S);let X=S.split(" ").map(w=>E(w,this.options)).join(" ").split(/\s+/).map(w=>ee(w,this.options));R&&(X=X.filter(w=>(i("loose invalid filter",w,this.options),!!w.match(D[a.COMPARATORLOOSE])))),i("range list",X);const M=new Map,K=X.map(w=>new s(w,this.options));for(const w of K){if(F(w))return[w];M.set(w.value,w)}M.size>1&&M.has("")&&M.delete("");const ue=[...M.values()];return n.set(_,ue),ue}intersects(S,L){if(!(S instanceof t))throw new TypeError("a Range is required");return this.set.some(_=>p(_,L)&&S.set.some($=>p($,L)&&_.every(R=>$.every(k=>R.intersects(k,L)))))}test(S){if(!S)return!1;if(typeof S=="string")try{S=new o(S,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(Q(this.set[L],S,this.options))return!0;return!1}}dn=t;const r=jl(),n=new r,u=dr(),s=xt(),i=bt(),o=ce(),{safeRe:D,t:a,comparatorTrimReplace:c,tildeTrimReplace:f,caretTrimReplace:h}=tt(),{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:m}=Bt(),F=x=>x.value==="<0.0.0-0",l=x=>x.value==="",p=(x,S)=>{let L=!0;const _=x.slice();let $=_.pop();for(;L&&_.length;)L=_.every(R=>$.intersects(R,S)),$=_.pop();return L},E=(x,S)=>(x=x.replace(D[a.BUILD],""),i("comp",x,S),x=v(x,S),i("caret",x),x=C(x,S),i("tildes",x),x=b(x,S),i("xrange",x),x=I(x,S),i("stars",x),x),g=x=>!x||x.toLowerCase()==="x"||x==="*",C=(x,S)=>x.trim().split(/\s+/).map(L=>A(L,S)).join(" "),A=(x,S)=>{const L=S.loose?D[a.TILDELOOSE]:D[a.TILDE];return x.replace(L,(_,$,R,k,X)=>{i("tilde",x,_,$,R,k,X);let M;return g($)?M="":g(R)?M=`>=${$}.0.0 <${+$+1}.0.0-0`:g(k)?M=`>=${$}.${R}.0 <${$}.${+R+1}.0-0`:X?(i("replaceTilde pr",X),M=`>=${$}.${R}.${k}-${X} <${$}.${+R+1}.0-0`):M=`>=${$}.${R}.${k} <${$}.${+R+1}.0-0`,i("tilde return",M),M})},v=(x,S)=>x.trim().split(/\s+/).map(L=>y(L,S)).join(" "),y=(x,S)=>{i("caret",x,S);const L=S.loose?D[a.CARETLOOSE]:D[a.CARET],_=S.includePrerelease?"-0":"";return x.replace(L,($,R,k,X,M)=>{i("caret",x,$,R,k,X,M);let K;return g(R)?K="":g(k)?K=`>=${R}.0.0${_} <${+R+1}.0.0-0`:g(X)?R==="0"?K=`>=${R}.${k}.0${_} <${R}.${+k+1}.0-0`:K=`>=${R}.${k}.0${_} <${+R+1}.0.0-0`:M?(i("replaceCaret pr",M),R==="0"?k==="0"?K=`>=${R}.${k}.${X}-${M} <${R}.${k}.${+X+1}-0`:K=`>=${R}.${k}.${X}-${M} <${R}.${+k+1}.0-0`:K=`>=${R}.${k}.${X}-${M} <${+R+1}.0.0-0`):(i("no pr"),R==="0"?k==="0"?K=`>=${R}.${k}.${X}${_} <${R}.${k}.${+X+1}-0`:K=`>=${R}.${k}.${X}${_} <${R}.${+k+1}.0-0`:K=`>=${R}.${k}.${X} <${+R+1}.0.0-0`),i("caret return",K),K})},b=(x,S)=>(i("replaceXRanges",x,S),x.split(/\s+/).map(L=>q(L,S)).join(" ")),q=(x,S)=>{x=x.trim();const L=S.loose?D[a.XRANGELOOSE]:D[a.XRANGE];return x.replace(L,(_,$,R,k,X,M)=>{i("xRange",x,_,$,R,k,X,M);const K=g(R),ue=K||g(k),w=ue||g(X),O=w;return $==="="&&O&&($=""),M=S.includePrerelease?"-0":"",K?$===">"||$==="<"?_="<0.0.0-0":_="*":$&&O?(ue&&(k=0),X=0,$===">"?($=">=",ue?(R=+R+1,k=0,X=0):(k=+k+1,X=0)):$==="<="&&($="<",ue?R=+R+1:k=+k+1),$==="<"&&(M="-0"),_=`${$+R}.${k}.${X}${M}`):ue?_=`>=${R}.0.0${M} <${+R+1}.0.0-0`:w&&(_=`>=${R}.${k}.0${M} <${R}.${+k+1}.0-0`),i("xRange return",_),_})},I=(x,S)=>(i("replaceStars",x,S),x.trim().replace(D[a.STAR],"")),ee=(x,S)=>(i("replaceGTE0",x,S),x.trim().replace(D[S.includePrerelease?a.GTE0PRE:a.GTE0],"")),J=x=>(S,L,_,$,R,k,X,M,K,ue,w,O)=>(g(_)?L="":g($)?L=`>=${_}.0.0${x?"-0":""}`:g(R)?L=`>=${_}.${$}.0${x?"-0":""}`:k?L=`>=${L}`:L=`>=${L}${x?"-0":""}`,g(K)?M="":g(ue)?M=`<${+K+1}.0.0-0`:g(w)?M=`<${K}.${+ue+1}.0-0`:O?M=`<=${K}.${ue}.${w}-${O}`:x?M=`<${K}.${ue}.${+w+1}-0`:M=`<=${M}`,`${L} ${M}`.trim()),Q=(x,S,L)=>{for(let _=0;_<x.length;_++)if(!x[_].test(S))return!1;if(S.prerelease.length&&!L.includePrerelease){for(let _=0;_<x.length;_++)if(i(x[_].semver),x[_].semver!==s.ANY&&x[_].semver.prerelease.length>0){const $=x[_].semver;if($.major===S.major&&$.minor===S.minor&&$.patch===S.patch)return!0}return!1}return!0};return dn}var pn,Ki;function xt(){if(Ki)return pn;Ki=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(c,f){if(f=r(f),c instanceof t){if(c.loose===!!f.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),i("comparator",c,f),this.options=f,this.loose=!!f.loose,this.parse(c),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(c){const f=this.options.loose?n[u.COMPARATORLOOSE]:n[u.COMPARATOR],h=c.match(f);if(!h)throw new TypeError(`Invalid comparator: ${c}`);this.operator=h[1]!==void 0?h[1]:"",this.operator==="="&&(this.operator=""),h[2]?this.semver=new o(h[2],this.options.loose):this.semver=e}toString(){return this.value}test(c){if(i("Comparator.test",c,this.options.loose),this.semver===e||c===e)return!0;if(typeof c=="string")try{c=new o(c,this.options)}catch{return!1}return s(c,this.operator,this.semver,this.options)}intersects(c,f){if(!(c instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new D(c.value,f).test(this.value):c.operator===""?c.value===""?!0:new D(this.value,f).test(c.semver):(f=r(f),f.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||s(this.semver,"<",c.semver,f)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||s(this.semver,">",c.semver,f)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}pn=t;const r=dr(),{safeRe:n,t:u}=tt(),s=Hi(),i=bt(),o=ce(),D=me();return pn}var Fn,Ji;function Ot(){if(Ji)return Fn;Ji=1;const e=me();return Fn=(r,n,u)=>{try{n=new e(n,u)}catch{return!1}return n.test(r)},Fn}var mn,Qi;function kl(){if(Qi)return mn;Qi=1;const e=me();return mn=(r,n)=>new e(r,n).set.map(u=>u.map(s=>s.value).join(" ").trim().split(" ")),mn}var En,Zi;function ql(){if(Zi)return En;Zi=1;const e=ce(),t=me();return En=(n,u,s)=>{let i=null,o=null,D=null;try{D=new t(u,s)}catch{return null}return n.forEach(a=>{D.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new e(i,s))}),i},En}var gn,es;function Ul(){if(es)return gn;es=1;const e=ce(),t=me();return gn=(n,u,s)=>{let i=null,o=null,D=null;try{D=new t(u,s)}catch{return null}return n.forEach(a=>{D.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new e(i,s))}),i},gn}var Cn,ts;function Ml(){if(ts)return Cn;ts=1;const e=ce(),t=me(),r=rt();return Cn=(u,s)=>{u=new t(u,s);let i=new e("0.0.0");if(u.test(i)||(i=new e("0.0.0-0"),u.test(i)))return i;i=null;for(let o=0;o<u.set.length;++o){const D=u.set[o];let a=null;D.forEach(c=>{const f=new e(c.semver.version);switch(c.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!a||r(f,a))&&(a=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),a&&(!i||r(i,a))&&(i=a)}return i&&u.test(i)?i:null},Cn}var yn,rs;function Gl(){if(rs)return yn;rs=1;const e=me();return yn=(r,n)=>{try{return new e(r,n).range||"*"}catch{return null}},yn}var vn,ns;function wn(){if(ns)return vn;ns=1;const e=ce(),t=xt(),{ANY:r}=t,n=me(),u=Ot(),s=rt(),i=nn(),o=cn(),D=an();return vn=(c,f,h,d)=>{c=new e(c,d),f=new n(f,d);let m,F,l,p,E;switch(h){case">":m=s,F=o,l=i,p=">",E=">=";break;case"<":m=i,F=D,l=s,p="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(c,f,d))return!1;for(let g=0;g<f.set.length;++g){const C=f.set[g];let A=null,v=null;if(C.forEach(y=>{y.semver===r&&(y=new t(">=0.0.0")),A=A||y,v=v||y,m(y.semver,A.semver,d)?A=y:l(y.semver,v.semver,d)&&(v=y)}),A.operator===p||A.operator===E||(!v.operator||v.operator===p)&&F(c,v.semver))return!1;if(v.operator===E&&l(c,v.semver))return!1}return!0},vn}var bn,us;function Wl(){if(us)return bn;us=1;const e=wn();return bn=(r,n,u)=>e(r,n,">",u),bn}var Bn,is;function Vl(){if(is)return Bn;is=1;const e=wn();return Bn=(r,n,u)=>e(r,n,"<",u),Bn}var An,ss;function Hl(){if(ss)return An;ss=1;const e=me();return An=(r,n,u)=>(r=new e(r,u),n=new e(n,u),r.intersects(n,u)),An}var Sn,os;function Yl(){if(os)return Sn;os=1;const e=Ot(),t=Fe();return Sn=(r,n,u)=>{const s=[];let i=null,o=null;const D=r.sort((h,d)=>t(h,d,u));for(const h of D)e(h,n,u)?(o=h,i||(i=h)):(o&&s.push([i,o]),o=null,i=null);i&&s.push([i,null]);const a=[];for(const[h,d]of s)h===d?a.push(h):!d&&h===D[0]?a.push("*"):d?h===D[0]?a.push(`<=${d}`):a.push(`${h} - ${d}`):a.push(`>=${h}`);const c=a.join(" || "),f=typeof n.raw=="string"?n.raw:String(n);return c.length<f.length?c:n},Sn}var _n,as;function Xl(){if(as)return _n;as=1;const e=me(),t=xt(),{ANY:r}=t,n=Ot(),u=Fe(),s=(f,h,d={})=>{if(f===h)return!0;f=new e(f,d),h=new e(h,d);let m=!1;e:for(const F of f.set){for(const l of h.set){const p=D(F,l,d);if(m=m||p!==null,p)continue e}if(m)return!1}return!0},i=[new t(">=0.0.0-0")],o=[new t(">=0.0.0")],D=(f,h,d)=>{if(f===h)return!0;if(f.length===1&&f[0].semver===r){if(h.length===1&&h[0].semver===r)return!0;d.includePrerelease?f=i:f=o}if(h.length===1&&h[0].semver===r){if(d.includePrerelease)return!0;h=o}const m=new Set;let F,l;for(const b of f)b.operator===">"||b.operator===">="?F=a(F,b,d):b.operator==="<"||b.operator==="<="?l=c(l,b,d):m.add(b.semver);if(m.size>1)return null;let p;if(F&&l){if(p=u(F.semver,l.semver,d),p>0)return null;if(p===0&&(F.operator!==">="||l.operator!=="<="))return null}for(const b of m){if(F&&!n(b,String(F),d)||l&&!n(b,String(l),d))return null;for(const q of h)if(!n(b,String(q),d))return!1;return!0}let E,g,C,A,v=l&&!d.includePrerelease&&l.semver.prerelease.length?l.semver:!1,y=F&&!d.includePrerelease&&F.semver.prerelease.length?F.semver:!1;v&&v.prerelease.length===1&&l.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(const b of h){if(A=A||b.operator===">"||b.operator===">=",C=C||b.operator==="<"||b.operator==="<=",F){if(y&&b.semver.prerelease&&b.semver.prerelease.length&&b.semver.major===y.major&&b.semver.minor===y.minor&&b.semver.patch===y.patch&&(y=!1),b.operator===">"||b.operator===">="){if(E=a(F,b,d),E===b&&E!==F)return!1}else if(F.operator===">="&&!n(F.semver,String(b),d))return!1}if(l){if(v&&b.semver.prerelease&&b.semver.prerelease.length&&b.semver.major===v.major&&b.semver.minor===v.minor&&b.semver.patch===v.patch&&(v=!1),b.operator==="<"||b.operator==="<="){if(g=c(l,b,d),g===b&&g!==l)return!1}else if(l.operator==="<="&&!n(l.semver,String(b),d))return!1}if(!b.operator&&(l||F)&&p!==0)return!1}return!(F&&C&&!l&&p!==0||l&&A&&!F&&p!==0||y||v)},a=(f,h,d)=>{if(!f)return h;const m=u(f.semver,h.semver,d);return m>0?f:m<0||h.operator===">"&&f.operator===">="?h:f},c=(f,h,d)=>{if(!f)return h;const m=u(f.semver,h.semver,d);return m<0?f:m>0||h.operator==="<"&&f.operator==="<="?h:f};return _n=s,_n}var Rn,ls;function zl(){if(ls)return Rn;ls=1;const e=tt(),t=Bt(),r=ce(),n=ku(),u=We(),s=Al(),i=Sl(),o=_l(),D=Gu(),a=Rl(),c=xl(),f=Ol(),h=Tl(),d=Fe(),m=Il(),F=Ll(),l=Zr(),p=$l(),E=Pl(),g=rt(),C=nn(),A=qi(),v=Mi(),y=an(),b=cn(),q=Hi(),I=Nl(),ee=xt(),J=me(),Q=Ot(),x=kl(),S=ql(),L=Ul(),_=Ml(),$=Gl(),R=wn(),k=Wl(),X=Vl(),M=Hl(),K=Yl(),ue=Xl();return Rn={parse:u,valid:s,clean:i,inc:o,diff:D,major:a,minor:c,patch:f,prerelease:h,compare:d,rcompare:m,compareLoose:F,compareBuild:l,sort:p,rsort:E,gt:g,lt:C,eq:A,neq:v,gte:y,lte:b,cmp:q,coerce:I,Comparator:ee,Range:J,satisfies:Q,toComparators:x,maxSatisfying:S,minSatisfying:L,minVersion:_,validRange:$,outside:R,gtr:k,ltr:X,intersects:M,simplifyRange:K,subset:ue,SemVer:r,re:e.re,src:e.src,tokens:e.t,SEMVER_SPEC_VERSION:t.SEMVER_SPEC_VERSION,RELEASE_TYPES:t.RELEASE_TYPES,compareIdentifiers:n.compareIdentifiers,rcompareIdentifiers:n.rcompareIdentifiers},Rn}var Kl=zl(),Jl=pe(Kl);class Ql extends Error{constructor(t){super(`Package \`${t}\` could not be found`),this.name="PackageNotFoundError"}}class Zl extends Error{constructor(t,r){super(`Version \`${r}\` for package \`${t}\` could not be found`),this.name="VersionNotFoundError"}}async function ec(e,t={}){let{version:r="latest"}=t;const{omitDeprecated:n=!0}=t,u=e.split("/")[0],s=t.registryUrl??sl(u),i=new URL(encodeURIComponent(e).replace(/^%40/,"@"),s),o=Bl(s.toString(),{recursive:!0}),D={accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"};t.fullMetadata&&delete D.accept,o&&(D.authorization=`${o.type} ${o.token}`);let a;try{a=await Qa(i,{headers:D,keepalive:!0}).json()}catch(f){throw f?.response?.status===404?new Ql(e):f}if(t.allVersions)return a;const c=new Zl(e,r);if(a["dist-tags"][r]){const{time:f}=a;a=a.versions[a["dist-tags"][r]],a.time=f}else if(r){const f=!!a.versions[r];if(n&&!f)for(const[d,m]of Object.entries(a.versions))m.deprecated&&delete a.versions[d];if(!f){const d=Object.keys(a.versions);if(r=Jl.maxSatisfying(d,r),!r)throw c}const{time:h}=a;if(a=a.versions[r],a.time=h,!a)throw c}return a}async function tc(e,t){const{version:r}=await ec(e.toLowerCase(),t);return r}const rc=B.env.npm_package_json,Tt=B.env.npm_config_user_agent,nc=!!Tt?.startsWith("npm")||!!rc?.endsWith("package.json"),uc=!!Tt?.startsWith("yarn");Tt?.startsWith("pnpm"),Tt?.startsWith("bun");const ic=nc||uc;var xn,cs;function sc(){if(cs)return xn;cs=1;const{hasOwnProperty:e}=Object.prototype,t=(o,D={})=>{typeof D=="string"&&(D={section:D}),D.align=D.align===!0,D.newline=D.newline===!0,D.sort=D.sort===!0,D.whitespace=D.whitespace===!0||D.align===!0,D.platform=D.platform||typeof process<"u"&&process.platform,D.bracketedArray=D.bracketedArray!==!1;const a=D.platform==="win32"?`\r
|
|
45
|
+
`:`
|
|
46
|
+
`,c=D.whitespace?" = ":"=",f=[],h=D.sort?Object.keys(o).sort():Object.keys(o);let d=0;D.align&&(d=s(h.filter(l=>o[l]===null||Array.isArray(o[l])||typeof o[l]!="object").map(l=>Array.isArray(o[l])?`${l}[]`:l).concat([""]).reduce((l,p)=>s(l).length>=s(p).length?l:p)).length);let m="";const F=D.bracketedArray?"[]":"";for(const l of h){const p=o[l];if(p&&Array.isArray(p))for(const E of p)m+=s(`${l}${F}`).padEnd(d," ")+c+s(E)+a;else p&&typeof p=="object"?f.push(l):m+=s(l).padEnd(d," ")+c+s(p)+a}D.section&&m.length&&(m="["+s(D.section)+"]"+(D.newline?a+a:a)+m);for(const l of f){const p=r(l,".").join("\\."),E=(D.section?D.section+".":"")+p,g=t(o[l],{...D,section:E});m.length&&g.length&&(m+=a),m+=g}return m};function r(o,D){var a=0,c=0,f=0,h=[];do if(f=o.indexOf(D,a),f!==-1){if(a=f+D.length,f>0&&o[f-1]==="\\")continue;h.push(o.slice(c,f)),c=f+D.length}while(f!==-1);return h.push(o.slice(c)),h}const n=(o,D={})=>{D.bracketedArray=D.bracketedArray!==!1;const a=Object.create(null);let c=a,f=null;const h=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,d=o.split(/[\r\n]+/g),m={};for(const l of d){if(!l||l.match(/^\s*[;#]/)||l.match(/^\s*$/))continue;const p=l.match(h);if(!p)continue;if(p[1]!==void 0){if(f=i(p[1]),f==="__proto__"){c=Object.create(null);continue}c=a[f]=a[f]||Object.create(null);continue}const E=i(p[2]);let g;D.bracketedArray?g=E.length>2&&E.slice(-2)==="[]":(m[E]=(m?.[E]||0)+1,g=m[E]>1);const C=g?E.slice(0,-2):E;if(C==="__proto__")continue;const A=p[3]?i(p[4]):!0,v=A==="true"||A==="false"||A==="null"?JSON.parse(A):A;g&&(e.call(c,C)?Array.isArray(c[C])||(c[C]=[c[C]]):c[C]=[]),Array.isArray(c[C])?c[C].push(v):c[C]=v}const F=[];for(const l of Object.keys(a)){if(!e.call(a,l)||typeof a[l]!="object"||Array.isArray(a[l]))continue;const p=r(l,".");c=a;const E=p.pop(),g=E.replace(/\\\./g,".");for(const C of p)C!=="__proto__"&&((!e.call(c,C)||typeof c[C]!="object")&&(c[C]=Object.create(null)),c=c[C]);c===a&&g===E||(c[g]=a[l],F.push(l))}for(const l of F)delete a[l];return a},u=o=>o.startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'"),s=o=>typeof o!="string"||o.match(/[=\r\n]/)||o.match(/^\[/)||o.length>1&&u(o)||o!==o.trim()?JSON.stringify(o):o.split(";").join("\\;").split("#").join("\\#"),i=(o,D)=>{if(o=(o||"").trim(),u(o)){o.charAt(0)==="'"&&(o=o.slice(1,-1));try{o=JSON.parse(o)}catch{}}else{let a=!1,c="";for(let f=0,h=o.length;f<h;f++){const d=o.charAt(f);if(a)"\\;#".indexOf(d)!==-1?c+=d:c+="\\"+d,a=!1;else{if(";#".indexOf(d)!==-1)break;d==="\\"?a=!0:c+=d}}return a&&(c+="\\"),c.trim()}return o};return xn={parse:n,decode:n,stringify:t,encode:t,safe:s,unsafe:i},xn}var oc=sc(),ac=pe(oc);const ut=B.platform==="win32",Ds=e=>{try{return ac.parse(G.readFileSync(e,"utf8")).prefix}catch{}},lc=()=>Object.keys(B.env).reduce((e,t)=>/^npm_config_prefix$/i.test(t)?B.env[t]:e,void 0),cc=()=>{if(ut&&B.env.APPDATA)return z.join(B.env.APPDATA,"/npm/etc/npmrc");if(B.execPath.includes("/Cellar/node")){const e=B.execPath.slice(0,B.execPath.indexOf("/Cellar/node"));return z.join(e,"/lib/node_modules/npm/npmrc")}if(B.execPath.endsWith("/bin/node")){const e=z.dirname(z.dirname(B.execPath));return z.join(e,"/etc/npmrc")}},Dc=()=>{if(ut){const{APPDATA:e}=B.env;return e?z.join(e,"npm"):z.dirname(B.execPath)}return z.dirname(z.dirname(B.execPath))},fc=()=>{const e=lc();if(e)return e;const t=Ds(z.join(je.homedir(),".npmrc"));if(t)return t;if(B.env.PREFIX)return B.env.PREFIX;const r=Ds(cc());return r||Dc()},it=z.resolve(fc()),fs=()=>{if(ut&&B.env.LOCALAPPDATA){const e=z.join(B.env.LOCALAPPDATA,"Yarn");if(G.existsSync(e))return e}return!1},hc=()=>{if(B.env.PREFIX)return B.env.PREFIX;const e=fs();if(e)return e;const t=z.join(je.homedir(),".config/yarn");if(G.existsSync(t))return t;const r=z.join(je.homedir(),".yarn-config");return G.existsSync(r)?r:it},Ee={};Ee.npm={},Ee.npm.prefix=it,Ee.npm.packages=z.join(it,ut?"node_modules":"lib/node_modules"),Ee.npm.binaries=ut?it:z.join(it,"bin");const hs=z.resolve(hc());Ee.yarn={},Ee.yarn.prefix=hs,Ee.yarn.packages=z.join(hs,fs()?"Data/global/node_modules":"global/node_modules"),Ee.yarn.binaries=z.join(Ee.yarn.packages,".bin");function ds(e,t){const r=z.relative(t,e);return!!(r&&r!==".."&&!r.startsWith(`..${z.sep}`)&&r!==z.resolve(e))}const ps=z.dirname(Xt(import.meta.url)),dc=(()=>{try{return ds(ps,Ee.yarn.packages)||ds(ps,G.realpathSync(Ee.npm.packages))}catch{return!1}})();function pc({onlyFirst:e=!1}={}){const u="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(u,e?void 0:"g")}const Fc=pc();function It(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Fc,"")}function mc(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function Ec(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function gc(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function Cc(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function On(e,{ambiguousAsWide:t=!1}={}){return Cc(e),Ec(e)||gc(e)||t&&mc(e)?2:1}var yc=()=>/[#*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;const vc=new Intl.Segmenter,wc=/^\p{Default_Ignorable_Code_Point}$/u;function ge(e,t={}){if(typeof e!="string"||e.length===0)return 0;const{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=t;if(n||(e=It(e)),e.length===0)return 0;let u=0;const s={ambiguousAsWide:!r};for(const{segment:i}of vc.segment(e)){const o=i.codePointAt(0);if(!(o<=31||o>=127&&o<=159)&&!(o>=8203&&o<=8207||o===65279)&&!(o>=768&&o<=879||o>=6832&&o<=6911||o>=7616&&o<=7679||o>=8400&&o<=8447||o>=65056&&o<=65071)&&!(o>=55296&&o<=57343)&&!(o>=65024&&o<=65039)&&!wc.test(i)){if(yc().test(i)){u+=2;continue}u+=On(o,s)}}return u}function Fs(e){let t=0;for(const r of e.split(`
|
|
47
|
+
`))t=Math.max(t,ge(r));return t}var Lt={exports:{}},bc={topLeft:"\u250C",top:"\u2500",topRight:"\u2510",right:"\u2502",bottomRight:"\u2518",bottom:"\u2500",bottomLeft:"\u2514",left:"\u2502"},Bc={topLeft:"\u2554",top:"\u2550",topRight:"\u2557",right:"\u2551",bottomRight:"\u255D",bottom:"\u2550",bottomLeft:"\u255A",left:"\u2551"},Ac={topLeft:"\u256D",top:"\u2500",topRight:"\u256E",right:"\u2502",bottomRight:"\u256F",bottom:"\u2500",bottomLeft:"\u2570",left:"\u2502"},Sc={topLeft:"\u250F",top:"\u2501",topRight:"\u2513",right:"\u2503",bottomRight:"\u251B",bottom:"\u2501",bottomLeft:"\u2517",left:"\u2503"},_c={topLeft:"\u2553",top:"\u2500",topRight:"\u2556",right:"\u2551",bottomRight:"\u255C",bottom:"\u2500",bottomLeft:"\u2559",left:"\u2551"},Rc={topLeft:"\u2552",top:"\u2550",topRight:"\u2555",right:"\u2502",bottomRight:"\u255B",bottom:"\u2550",bottomLeft:"\u2558",left:"\u2502"},xc={topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},Oc={topLeft:"\u2198",top:"\u2193",topRight:"\u2199",right:"\u2190",bottomRight:"\u2196",bottom:"\u2191",bottomLeft:"\u2197",left:"\u2192"},Tc={single:bc,double:Bc,round:Ac,bold:Sc,singleDouble:_c,doubleSingle:Rc,classic:xc,arrow:Oc},ms;function Ic(){if(ms)return Lt.exports;ms=1;const e=Tc;return Lt.exports=e,Lt.exports.default=e,Lt.exports}var Lc=Ic(),$c=pe(Lc);const Pc=/[\p{Lu}]/u,Nc=/[\p{Ll}]/u,Es=/^[\p{Lu}](?![\p{Lu}])/gu,gs=/([\p{Alpha}\p{N}_]|$)/u,Tn=/[_.\- ]+/,jc=new RegExp("^"+Tn.source),Cs=new RegExp(Tn.source+gs.source,"gu"),ys=new RegExp("\\d+"+gs.source,"gu"),kc=(e,t,r,n)=>{let u=!1,s=!1,i=!1,o=!1;for(let D=0;D<e.length;D++){const a=e[D];o=D>2?e[D-3]==="-":!0,u&&Pc.test(a)?(e=e.slice(0,D)+"-"+e.slice(D),u=!1,i=s,s=!0,D++):s&&i&&Nc.test(a)&&(!o||n)?(e=e.slice(0,D-1)+"-"+e.slice(D-1),i=s,s=!1,u=!0):(u=t(a)===a&&r(a)!==a,i=s,s=r(a)===a&&t(a)!==a)}return e},qc=(e,t)=>(Es.lastIndex=0,e.replaceAll(Es,r=>t(r))),Uc=(e,t)=>(Cs.lastIndex=0,ys.lastIndex=0,e.replaceAll(ys,(r,n,u)=>["_","-"].includes(e.charAt(u+r.length))?r:t(r)).replaceAll(Cs,(r,n)=>t(n)));function Mc(e,t){if(!(typeof e=="string"||Array.isArray(e)))throw new TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},Array.isArray(e)?e=e.map(s=>s.trim()).filter(s=>s.length).join("-"):e=e.trim(),e.length===0)return"";const r=t.locale===!1?s=>s.toLowerCase():s=>s.toLocaleLowerCase(t.locale),n=t.locale===!1?s=>s.toUpperCase():s=>s.toLocaleUpperCase(t.locale);return e.length===1?Tn.test(e)?"":t.pascalCase?n(e):r(e):(e!==r(e)&&(e=kc(e,r,n,t.preserveConsecutiveUppercase)),e=e.replace(jc,""),e=t.preserveConsecutiveUppercase?qc(e,r):r(e),t.pascalCase&&(e=n(e.charAt(0))+e.slice(1)),Uc(e,n))}var $t={exports:{}},In,vs;function Gc(){return vs||(vs=1,In=({onlyFirst:e=!1}={})=>{const 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")}),In}var Ln,ws;function Wc(){if(ws)return Ln;ws=1;const e=Gc();return Ln=t=>typeof t=="string"?t.replace(e(),""):t,Ln}var Pt={exports:{}},bs;function Vc(){if(bs)return Pt.exports;bs=1;const e=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);return Pt.exports=e,Pt.exports.default=e,Pt.exports}var $n,Bs;function Hc(){return Bs||(Bs=1,$n=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}),$n}var As;function Yc(){if(As)return $t.exports;As=1;const e=Wc(),t=Vc(),r=Hc(),n=u=>{if(typeof u!="string"||u.length===0||(u=e(u),u.length===0))return 0;u=u.replace(r()," ");let s=0;for(let i=0;i<u.length;i++){const o=u.codePointAt(i);o<=31||o>=127&&o<=159||o>=768&&o<=879||(o>65535&&i++,s+=t(o)?2:1)}return s};return $t.exports=n,$t.exports.default=n,$t.exports}var Pn,Ss;function Xc(){if(Ss)return Pn;Ss=1;const e=Yc();function t(u,s){if(!u)return u;s=s||{};const i=s.align||"center";if(i==="left")return u;const o=s.split||`
|
|
48
|
+
`,D=s.pad||" ",a=i!=="right"?r:n;let c=!1;Array.isArray(u)||(c=!0,u=String(u).split(o));let f,h=0;return u=u.map(function(d){return d=String(d),f=e(d),h=Math.max(f,h),{str:d,width:f}}).map(function(d){return new Array(a(h,d.width)+1).join(D)+d.str}),c?u.join(o):u}t.left=function(s){return t(s,{align:"left"})},t.center=function(s){return t(s,{align:"center"})},t.right=function(s){return t(s,{align:"right"})},Pn=t;function r(u,s){return Math.floor((u-s)/2)}function n(u,s){return u-s}return Pn}var zc=Xc(),_s=pe(zc);const Nn=10,Rs=(e=0)=>t=>`\x1B[${t+e}m`,xs=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Os=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,ne={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]}};Object.keys(ne.modifier);const Kc=Object.keys(ne.color),Jc=Object.keys(ne.bgColor);[...Kc,...Jc];function Qc(){const e=new Map;for(const[t,r]of Object.entries(ne)){for(const[n,u]of Object.entries(r))ne[n]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},r[n]=ne[n],e.set(u[0],u[1]);Object.defineProperty(ne,t,{value:r,enumerable:!1})}return Object.defineProperty(ne,"codes",{value:e,enumerable:!1}),ne.color.close="\x1B[39m",ne.bgColor.close="\x1B[49m",ne.color.ansi=Rs(),ne.color.ansi256=xs(),ne.color.ansi16m=Os(),ne.bgColor.ansi=Rs(Nn),ne.bgColor.ansi256=xs(Nn),ne.bgColor.ansi16m=Os(Nn),Object.defineProperties(ne,{rgbToAnsi256:{value(t,r,n){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)},enumerable:!1},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));const u=Number.parseInt(n,16);return[u>>16&255,u>>8&255,u&255]},enumerable:!1},hexToAnsi256:{value:t=>ne.rgbToAnsi256(...ne.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,u;if(t>=232)r=((t-232)*10+8)/255,n=r,u=r;else{t-=16;const o=t%36;r=Math.floor(t/36)/5,n=Math.floor(o/6)/5,u=o%6/5}const s=Math.max(r,n,u)*2;if(s===0)return 30;let i=30+(Math.round(u)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>ne.ansi256ToAnsi(ne.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>ne.ansi256ToAnsi(ne.hexToAnsi256(t)),enumerable:!1}}),ne}const Zc=Qc(),Nt=new Set(["\x1B","\x9B"]),eD=39,jn="\x07",Ts="[",tD="]",Is="m",jt=`${tD}8;;`,Ls=e=>`${Nt.values().next().value}${Ts}${e}${Is}`,$s=e=>`${Nt.values().next().value}${jt}${e}${jn}`,rD=e=>e.split(" ").map(t=>ge(t)),kn=(e,t,r)=>{const n=[...t];let u=!1,s=!1,i=ge(It(e.at(-1)));for(const[o,D]of n.entries()){const a=ge(D);if(i+a<=r?e[e.length-1]+=D:(e.push(D),i=0),Nt.has(D)&&(u=!0,s=n.slice(o+1,o+1+jt.length).join("")===jt),u){s?D===jn&&(u=!1,s=!1):D===Is&&(u=!1);continue}i+=a,i===r&&o<n.length-1&&(e.push(""),i=0)}!i&&e.at(-1).length>0&&e.length>1&&(e[e.length-2]+=e.pop())},nD=e=>{const t=e.split(" ");let r=t.length;for(;r>0&&!(ge(t[r-1])>0);)r--;return r===t.length?e:t.slice(0,r).join(" ")+t.slice(r).join("")},uD=(e,t,r={})=>{if(r.trim!==!1&&e.trim()==="")return"";let n="",u,s;const i=rD(e);let o=[""];for(const[f,h]of e.split(" ").entries()){r.trim!==!1&&(o[o.length-1]=o.at(-1).trimStart());let d=ge(o.at(-1));if(f!==0&&(d>=t&&(r.wordWrap===!1||r.trim===!1)&&(o.push(""),d=0),(d>0||r.trim===!1)&&(o[o.length-1]+=" ",d++)),r.hard&&i[f]>t){const m=t-d,F=1+Math.floor((i[f]-m-1)/t);Math.floor((i[f]-1)/t)<F&&o.push(""),kn(o,h,t);continue}if(d+i[f]>t&&d>0&&i[f]>0){if(r.wordWrap===!1&&d<t){kn(o,h,t);continue}o.push("")}if(d+i[f]>t&&r.wordWrap===!1){kn(o,h,t);continue}o[o.length-1]+=h}r.trim!==!1&&(o=o.map(f=>nD(f)));const D=o.join(`
|
|
49
|
+
`),a=[...D];let c=0;for(const[f,h]of a.entries()){if(n+=h,Nt.has(h)){const{groups:m}=new RegExp(`(?:\\${Ts}(?<code>\\d+)m|\\${jt}(?<uri>.*)${jn})`).exec(D.slice(c))||{groups:{}};if(m.code!==void 0){const F=Number.parseFloat(m.code);u=F===eD?void 0:F}else m.uri!==void 0&&(s=m.uri.length===0?void 0:m.uri)}const d=Zc.codes.get(Number(u));a[f+1]===`
|
|
50
|
+
`?(s&&(n+=$s("")),u&&d&&(n+=Ls(d))):h===`
|
|
51
|
+
`&&(u&&d&&(n+=Ls(u)),s&&(n+=$s(s))),c+=h.length}return n};function qn(e,t,r){return String(e).normalize().replaceAll(`\r
|
|
52
|
+
`,`
|
|
53
|
+
`).split(`
|
|
54
|
+
`).map(n=>uD(n,t,r)).join(`
|
|
55
|
+
`)}const _e=`
|
|
56
|
+
`,fe=" ",st="none",Ps=()=>{const{env:e,stdout:t,stderr:r}=B;return t?.columns?t.columns:r?.columns?r.columns:e.COLUMNS?Number.parseInt(e.COLUMNS,10):80},Ns=e=>typeof e=="number"?{top:e,right:e*3,bottom:e,left:e*3}:{top:0,right:0,bottom:0,left:0,...e},ot=e=>e===st?0:2,iD=e=>{const t=["topLeft","topRight","bottomRight","bottomLeft","left","right","top","bottom"];let r;if(e===st){e={};for(const n of t)e[n]=""}if(typeof e=="string"){if(r=$c[e],!r)throw new TypeError(`Invalid border style: ${e}`)}else{typeof e?.vertical=="string"&&(e.left=e.vertical,e.right=e.vertical),typeof e?.horizontal=="string"&&(e.top=e.horizontal,e.bottom=e.horizontal);for(const n of t)if(e[n]===null||typeof e[n]!="string")throw new TypeError(`Invalid border style: ${n}`);r=e}return r},sD=(e,t,r)=>{let n="";const u=ge(e);switch(r){case"left":{n=e+t.slice(u);break}case"right":{n=t.slice(u)+e;break}default:{t=t.slice(u),t.length%2===1?(t=t.slice(Math.floor(t.length/2)),n=t.slice(1)+e+t):(t=t.slice(t.length/2),n=t+e+t);break}}return n},oD=(e,{padding:t,width:r,textAlignment:n,height:u})=>{e=_s(e,{align:n});let s=e.split(_e);const i=Fs(e),o=r-t.left-t.right;if(i>o){const c=[];for(const f of s){const h=qn(f,o,{hard:!0}),m=_s(h,{align:n}).split(`
|
|
57
|
+
`),F=Math.max(...m.map(l=>ge(l)));for(const l of m){let p;switch(n){case"center":{p=fe.repeat((o-F)/2)+l;break}case"right":{p=fe.repeat(o-F)+l;break}default:{p=l;break}}c.push(p)}}s=c}n==="center"&&i<o?s=s.map(c=>fe.repeat((o-i)/2)+c):n==="right"&&i<o&&(s=s.map(c=>fe.repeat(o-i)+c));const D=fe.repeat(t.left),a=fe.repeat(t.right);return s=s.map(c=>{const f=D+c+a;return f+fe.repeat(r-ge(f))}),t.top>0&&(s=[...Array.from({length:t.top}).fill(fe.repeat(r)),...s]),t.bottom>0&&(s=[...s,...Array.from({length:t.bottom}).fill(fe.repeat(r))]),u&&s.length>u?s=s.slice(0,u):u&&s.length<u&&(s=[...s,...Array.from({length:u-s.length}).fill(fe.repeat(r))]),s.join(_e)},aD=(e,t,r)=>{const n=c=>{const f=r.borderColor?DD(r.borderColor)(c):c;return r.dimBorder?Z.dim(f):f},u=c=>r.backgroundColor?fD(r.backgroundColor)(c):c,s=iD(r.borderStyle),i=Ps();let o=fe.repeat(r.margin.left);if(r.float==="center"){const c=Math.max((i-t-ot(r.borderStyle))/2,0);o=fe.repeat(c)}else if(r.float==="right"){const c=Math.max(i-t-r.margin.right-ot(r.borderStyle),0);o=fe.repeat(c)}let D="";r.margin.top&&(D+=_e.repeat(r.margin.top)),(r.borderStyle!==st||r.title)&&(D+=n(o+s.topLeft+(r.title?sD(r.title,s.top.repeat(t),r.titleAlignment):s.top.repeat(t))+s.topRight)+_e);const a=e.split(_e);return D+=a.map(c=>o+n(s.left)+u(c)+n(s.right)).join(_e),r.borderStyle!==st&&(D+=_e+n(o+s.bottomLeft+s.bottom.repeat(t)+s.bottomRight)),r.margin.bottom&&(D+=_e.repeat(r.margin.bottom)),D},lD=e=>{if(e.fullscreen&&B?.stdout){let t=[B.stdout.columns,B.stdout.rows];typeof e.fullscreen=="function"&&(t=e.fullscreen(...t)),e.width||=t[0],e.height||=t[1]}return e.width&&=Math.max(1,e.width-ot(e.borderStyle)),e.height&&=Math.max(1,e.height-ot(e.borderStyle)),e},js=(e,t)=>t===st?e:` ${e} `,cD=(e,t)=>{t=lD(t);const r=t.width!==void 0,n=Ps(),u=ot(t.borderStyle),s=n-t.margin.left-t.margin.right-u,i=Fs(qn(e,n-u,{hard:!0,trim:!1}))+t.padding.left+t.padding.right;if(t.title&&r?(t.title=t.title.slice(0,Math.max(0,t.width-2)),t.title&&=js(t.title,t.borderStyle)):t.title&&(t.title=t.title.slice(0,Math.max(0,s-2)),t.title&&(t.title=js(t.title,t.borderStyle),ge(t.title)>i&&(t.width=ge(t.title)))),t.width||=i,!r){if(t.margin.left&&t.margin.right&&t.width>s){const D=(n-t.width-u)/(t.margin.left+t.margin.right);t.margin.left=Math.max(0,Math.floor(t.margin.left*D)),t.margin.right=Math.max(0,Math.floor(t.margin.right*D))}t.width=Math.min(t.width,n-u-t.margin.left-t.margin.right)}return t.width-(t.padding.left+t.padding.right)<=0&&(t.padding.left=0,t.padding.right=0),t.height&&t.height-(t.padding.top+t.padding.bottom)<=0&&(t.padding.top=0,t.padding.bottom=0),t},Un=e=>e.match(/^#(?:[0-f]{3}){1,2}$/i),ks=e=>typeof e=="string"&&(Z[e]??Un(e)),DD=e=>Un(e)?Z.hex(e):Z[e],fD=e=>Un(e)?Z.bgHex(e):Z[Mc(["bg",e])];function Mn(e,t){if(t={padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left",...t},t.align&&(t.textAlignment=t.align),t.borderColor&&!ks(t.borderColor))throw new Error(`${t.borderColor} is not a valid borderColor`);if(t.backgroundColor&&!ks(t.backgroundColor))throw new Error(`${t.backgroundColor} is not a valid backgroundColor`);return t.padding=Ns(t.padding),t.margin=Ns(t.margin),t=cD(e,t),e=oD(e,t),aD(e,t.width,t)}const hD=Qe.CI!=="0"&&Qe.CI!=="false"&&("CI"in Qe||"CONTINUOUS_INTEGRATION"in Qe||Object.keys(Qe).some(e=>e.startsWith("CI_"))),qs=e=>e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">");function dD(e,...t){if(typeof e=="string")return qs(e);let r=e[0];for(const[n,u]of t.entries())r=r+qs(String(u))+e[n+1];return r}class pD extends Error{constructor(t){super(`Missing a value for ${t?`the placeholder: ${t}`:"a placeholder"}`,t),this.name="MissingValueError",this.key=t}}class FD extends Error{constructor(t){super(`Missing filter: ${t}`),this.name="MissingFilterError",this.filterName=t}}function mD(e,t,{ignoreMissing:r=!1,transform:n=({value:s})=>s,filters:u={}}={}){if(typeof e!="string")throw new TypeError(`Expected a \`string\` in the first argument, got \`${typeof e}\``);if(typeof t!="object")throw new TypeError(`Expected an \`object\` or \`Array\` in the second argument, got \`${typeof t}\``);const s="\uE000\uE001\uE002",i="\uE003\uE004\uE005";e=e.replace(/\\{/g,s),e=e.replace(/\\}/g,i);const o=m=>{const F=[];let l="";for(let p=0;p<m.length;p++)m[p]==="\\"&&m[p+1]==="."?(l+=".",p++):m[p]==="."?(F.push(l),l=""):l+=m[p];return F.push(l),F},D=(m,F)=>{const l=F.split("|").map(v=>v.trim()),p=l[0],E=l.slice(1),g=o(p);let C=t;for(const v of g)C&&(C=C[v]);for(const v of E){const y=u[v];if(!y){if(r)return m;throw new FD(v)}C!==void 0&&(C=y(C))}const A=n({value:C,key:p});if(A===void 0){if(r)return m;throw new pD(p)}return String(A)},f="((\\d+|[a-z$_][\\w\\-.$\\\\]*)\\s*(?:\\|\\s*[a-z$_][\\w$]*\\s*)*)",h=new RegExp(`{{${f}}}`,"gi"),d=new RegExp(`{${f}}`,"gi");return e=e.replace(h,(...m)=>dD(D(...m))),e=e.replace(d,D),e=e.replace(new RegExp(s,"g"),"{"),e=e.replace(new RegExp(i,"g"),"}"),e}const ED=z.dirname(Xt(import.meta.url)),gD=1e3*60*60*24;class CD{config;update;_packageName;_shouldNotifyInNpmScript;#i;#r;#t;#n;constructor(t={}){if(this.#i=t,t.pkg??={},t.distTag??="latest",t.pkg={name:t.pkg.name??t.packageName,version:t.pkg.version??t.packageVersion},!t.pkg.name||!t.pkg.version)throw new Error("pkg.name and pkg.version required");if(this._packageName=t.pkg.name,this.#r=t.pkg.version,this.#t=typeof t.updateCheckInterval=="number"?t.updateCheckInterval:gD,this.#n="NO_UPDATE_NOTIFIER"in B.env||B.env.NODE_ENV==="test"||B.argv.includes("--no-update-notifier")||hD,this._shouldNotifyInNpmScript=t.shouldNotifyInNpmScript,!this.#n)try{this.config=new la(`update-notifier-${this._packageName}`,{optOut:!1,lastUpdateCheck:Date.now()})}catch{const r=Z.yellow(zt(" %s update check failed ",t.pkg.name))+zt(`
|
|
58
|
+
Try running with %s or get access `,Z.cyan("sudo"))+`
|
|
59
|
+
to the local update config store via
|
|
60
|
+
`+Z.cyan(zt(" sudo chown -R $USER:$(id -gn $USER) %s ",gt));B.on("exit",()=>{console.error(Mn(r,{textAlignment:"center"}))})}}check(){!this.config||this.config.get("optOut")||this.#n||(this.update=this.config.get("update"),this.update&&(this.update.current=this.#r,this.config.delete("update")),!(Date.now()-this.config.get("lastUpdateCheck")<this.#t)&&So(B.execPath,[z.join(ED,"check.js"),JSON.stringify(this.#i)],{detached:!0,stdio:"ignore"}).unref())}async fetchInfo(){const{distTag:t}=this.#i,r=await tc(this._packageName,{version:t});return{latest:r,current:this.#r,type:Ba(this.#r,r)??t,name:this._packageName}}notify(t){const r=!this._shouldNotifyInNpmScript&⁣if(!B.stdout.isTTY||r||!this.update||!Sa(this.update.latest,this.update.current))return this;t={isGlobal:dc,...t};const n=t.isGlobal?`npm i -g ${this._packageName}`:`npm i ${this._packageName}`,u="Update available "+Z.dim("{currentVersion}")+Z.reset(" \u2192 ")+Z.green("{latestVersion}")+`
|
|
61
|
+
Run `+Z.cyan("{updateCommand}")+" to update",s=t.message||u;t.boxenOptions??={padding:1,margin:1,textAlignment:"center",borderColor:"yellow",borderStyle:"round"};const i=Mn(mD(s,{packageName:this._packageName,currentVersion:this.update.current,latestVersion:this.update.latest,updateCommand:n}),t.boxenOptions);return t.defer===!1?console.error(i):B.on("exit",()=>{console.error(i)}),this}}function yD(e){const t=new CD(e);return t.check(),t}const vD=(e,t,r,n)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;const u=Object.getOwnPropertyDescriptor(e,r),s=Object.getOwnPropertyDescriptor(t,r);!wD(u,s)&&n||Object.defineProperty(e,r,s)},wD=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},bD=(e,t)=>{const r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},BD=(e,t)=>`/* Wrapped ${e}*/
|
|
62
|
+
${t}`,AD=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),SD=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),_D=(e,t,r)=>{const n=r===""?"":`with ${r.trim()}() `,u=BD.bind(null,n,t.toString());Object.defineProperty(u,"name",SD);const{writable:s,enumerable:i,configurable:o}=AD;Object.defineProperty(e,"toString",{value:u,writable:s,enumerable:i,configurable:o})};function RD(e,t,{ignoreNonConfigurable:r=!1}={}){const{name:n}=e;for(const u of Reflect.ownKeys(t))vD(e,t,u,r);return bD(e,t),_D(e,t,n),e}const kt=new WeakMap,Us=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0;const u=e.displayName||e.name||"<anonymous>",s=function(...i){if(kt.set(s,++n),n===1)r=e.apply(this,i),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${u}\` can only be called once`);return r};return RD(s,e),kt.set(s,n),s};Us.callCount=e=>{if(!kt.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return kt.get(e)};const He=[];He.push("SIGHUP","SIGINT","SIGTERM"),process.platform!=="win32"&&He.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&He.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");const qt=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",Gn=Symbol.for("signal-exit emitter"),Wn=globalThis,xD=Object.defineProperty.bind(Object);class OD{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Wn[Gn])return Wn[Gn];xD(Wn,Gn,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(t,r){this.listeners[t].push(r)}removeListener(t,r){const n=this.listeners[t],u=n.indexOf(r);u!==-1&&(u===0&&n.length===1?n.length=0:n.splice(u,1))}emit(t,r,n){if(this.emitted[t])return!1;this.emitted[t]=!0;let u=!1;for(const s of this.listeners[t])u=s(r,n)===!0||u;return t==="exit"&&(u=this.emit("afterExit",r,n)||u),u}}class Ms{}const TD=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}});class ID extends Ms{onExit(){return()=>{}}load(){}unload(){}}class LD extends Ms{#i=Vn.platform==="win32"?"SIGINT":"SIGHUP";#r=new OD;#t;#n;#e;#l={};#u=!1;constructor(t){super(),this.#t=t,this.#l={};for(const r of He)this.#l[r]=()=>{const n=this.#t.listeners(r);let{count:u}=this.#r;const s=t;if(typeof s.__signal_exit_emitter__=="object"&&typeof s.__signal_exit_emitter__.count=="number"&&(u+=s.__signal_exit_emitter__.count),n.length===u){this.unload();const i=this.#r.emit("exit",null,r),o=r==="SIGHUP"?this.#i:r;i||t.kill(t.pid,o)}};this.#e=t.reallyExit,this.#n=t.emit}onExit(t,r){if(!qt(this.#t))return()=>{};this.#u===!1&&this.load();const n=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.#u){this.#u=!0,this.#r.count+=1;for(const t of He)try{const r=this.#l[t];r&&this.#t.on(t,r)}catch{}this.#t.emit=(t,...r)=>this.#s(t,...r),this.#t.reallyExit=t=>this.#o(t)}}unload(){this.#u&&(this.#u=!1,He.forEach(t=>{const r=this.#l[t];if(!r)throw new Error("Listener not defined for signal: "+t);try{this.#t.removeListener(t,r)}catch{}}),this.#t.emit=this.#n,this.#t.reallyExit=this.#e,this.#r.count-=1)}#o(t){return qt(this.#t)?(this.#t.exitCode=t||0,this.#r.emit("exit",this.#t.exitCode,null),this.#e.call(this.#t,this.#t.exitCode)):0}#s(t,...r){const n=this.#n;if(t==="exit"&&qt(this.#t)){typeof r[0]=="number"&&(this.#t.exitCode=r[0]);const u=n.call(this.#t,t,...r);return this.#r.emit("exit",this.#t.exitCode,null),u}else return n.call(this.#t,t,...r)}}const Vn=globalThis.process,{onExit:Gs}=TD(qt(Vn)?new LD(Vn):new ID),Ws=B.stderr.isTTY?B.stderr:B.stdout.isTTY?B.stdout:void 0,$D=Ws?Us(()=>{Gs(()=>{Ws.write("\x1B[?25h")},{alwaysLast:!0})}):()=>{};let Ut=!1;const $e={};$e.show=(e=B.stderr)=>{e.isTTY&&(Ut=!1,e.write("\x1B[?25h"))},$e.hide=(e=B.stderr)=>{e.isTTY&&($D(),Ut=!0,e.write("\x1B[?25l"))},$e.toggle=(e,t)=>{e!==void 0&&(Ut=e),Ut?$e.show(t):$e.hide(t)};var PD={interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},ND={interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},jD={interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},kD={interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},qD={interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},UD={interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},MD={interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},GD={interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},WD={interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},VD={interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},HD={interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},YD={interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},XD={interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},zD={interval:80,frames:["\u2809\u2809","\u2808\u2819","\u2800\u2839","\u2800\u28B8","\u2800\u28F0","\u2880\u28E0","\u28C0\u28C0","\u28C4\u2840","\u28C6\u2800","\u2847\u2800","\u280F\u2800","\u280B\u2801"]},KD={interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},JD={interval:80,frames:["\u288E ","\u280E\u2801","\u280A\u2811","\u2808\u2831"," \u2871","\u2880\u2870","\u2884\u2860","\u2886\u2840"]},QD={interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},ZD={interval:130,frames:["-","\\","|","/"]},ef={interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},tf={interval:80,frames:["/ "," - "," \\ "," |"," |"," \\ "," - ","/ "]},rf={interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},nf={interval:400,frames:[". ",".. ","..."," "]},uf={interval:200,frames:[". ",".. ","..."," .."," ."," "]},sf={interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},of={interval:80,frames:["+","x","*"]},af={interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},lf={interval:100,frames:["\u2631","\u2632","\u2634"]},cf={interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},Df={interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},ff={interval:140,frames:[" ",".","o","O","@","*"," "]},hf={interval:120,frames:[".","o","O","\xB0","O","o","."]},df={interval:100,frames:["\u2593","\u2592","\u2591"]},pf={interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},Ff={interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},mf={interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},Ef={interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},gf={interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},Cf={interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},yf={interval:120,frames:["\u25E1","\u2299","\u25E0"]},vf={interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},wf={interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},bf={interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},Bf={interval:100,frames:["\u256B","\u256A"]},Af={interval:250,frames:["\u22B6","\u22B7"]},Sf={interval:80,frames:["\u25AB","\u25AA"]},_f={interval:120,frames:["\u25A1","\u25A0"]},Rf={interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},xf={interval:100,frames:["\u25AE","\u25AF"]},Of={interval:300,frames:["\u101D","\u1040"]},Tf={interval:80,frames:["\u29BE","\u29BF"]},If={interval:100,frames:["\u25CD","\u25CC"]},Lf={interval:100,frames:["\u25C9","\u25CE"]},$f={interval:100,frames:["\u3282","\u3280","\u3281"]},Pf={interval:50,frames:["\u29C7","\u29C6"]},Nf={interval:120,frames:["\u2617","\u2616"]},jf={interval:80,frames:["=","*","-"]},kf={interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},qf={interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},Uf={interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},Mf={interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},Gf={interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},Wf={interval:200,frames:["\u{1F604} ","\u{1F61D} "]},Vf={interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},Hf={interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u{1F497} "]},Yf={interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},Xf={interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},zf={interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},Kf={interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},Jf={interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},Qf={interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},Zf={interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},eh={interval:100,frames:["d","q","p","b"]},th={interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},rh={interval:400,frames:["\u{1F332}","\u{1F384}"]},nh={interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},uh={interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},ih={interval:150,frames:["-","=","\u2261"]},sh={interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},oh={interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},ah={interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},lh={interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},ch={interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},Dh={interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},fh={interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},hh={interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},dh={interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},ph={interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},Fh={interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},mh={interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]},Eh={interval:80,frames:["~~~~~~~~~~~~~~~~~~~~","> ~~~~~~~~~~~~~~~~~~","\xBA> ~~~~~~~~~~~~~~~~~","(\xBA> ~~~~~~~~~~~~~~~~","((\xBA> ~~~~~~~~~~~~~~~","<((\xBA> ~~~~~~~~~~~~~~","><((\xBA> ~~~~~~~~~~~~~"," ><((\xBA> ~~~~~~~~~~~~","~ ><((\xBA> ~~~~~~~~~~~","~~ <>((\xBA> ~~~~~~~~~~","~~~ ><((\xBA> ~~~~~~~~~","~~~~ <>((\xBA> ~~~~~~~~","~~~~~ ><((\xBA> ~~~~~~~","~~~~~~ <>((\xBA> ~~~~~~","~~~~~~~ ><((\xBA> ~~~~~","~~~~~~~~ <>((\xBA> ~~~~","~~~~~~~~~ ><((\xBA> ~~~","~~~~~~~~~~ <>((\xBA> ~~","~~~~~~~~~~~ ><((\xBA> ~","~~~~~~~~~~~~ <>((\xBA> ","~~~~~~~~~~~~~ ><((\xBA>","~~~~~~~~~~~~~~ <>((\xBA","~~~~~~~~~~~~~~~ ><((","~~~~~~~~~~~~~~~~ <>(","~~~~~~~~~~~~~~~~~ ><","~~~~~~~~~~~~~~~~~~ <","~~~~~~~~~~~~~~~~~~~~"]},Mt={dots:PD,dots2:ND,dots3:jD,dots4:kD,dots5:qD,dots6:UD,dots7:MD,dots8:GD,dots9:WD,dots10:VD,dots11:HD,dots12:YD,dots13:XD,dots14:zD,dots8Bit:KD,dotsCircle:JD,sand:QD,line:ZD,line2:ef,rollingLine:tf,pipe:rf,simpleDots:nf,simpleDotsScrolling:uf,star:sf,star2:of,flip:af,hamburger:lf,growVertical:cf,growHorizontal:Df,balloon:ff,balloon2:hf,noise:df,bounce:pf,boxBounce:Ff,boxBounce2:mf,triangle:Ef,binary:gf,arc:Cf,circle:yf,squareCorners:vf,circleQuarters:wf,circleHalves:bf,squish:Bf,toggle:Af,toggle2:Sf,toggle3:_f,toggle4:Rf,toggle5:xf,toggle6:Of,toggle7:Tf,toggle8:If,toggle9:Lf,toggle10:$f,toggle11:Pf,toggle12:Nf,toggle13:jf,arrow:kf,arrow2:qf,arrow3:Uf,bouncingBar:Mf,bouncingBall:Gf,smiley:Wf,monkey:Vf,hearts:Hf,clock:Yf,earth:Xf,material:zf,moon:Kf,runner:Jf,pong:Qf,shark:Zf,dqpb:eh,weather:th,christmas:rh,grenade:nh,point:uh,layer:ih,betaWave:sh,fingerDance:oh,fistBump:ah,soccerHeader:lh,mindblown:ch,speaker:Dh,orangePulse:fh,bluePulse:hh,orangeBluePulse:dh,timeTravel:ph,aesthetic:Fh,dwarfFortress:mh,fish:Eh};const gh=Kt?.WriteStream?.prototype?.hasColors?.()??!1,Gt=(e,t)=>{if(!gh)return u=>u;const r=`\x1B[${e}m`,n=`\x1B[${t}m`;return u=>{const s=u+"";let i=s.indexOf(n);if(i===-1)return r+s+n;let o=r,D=0;const c=(t===22?n:"")+r;for(;i!==-1;)o+=s.slice(D,i)+c,D=i+n.length,i=s.indexOf(n,D);return o+=s.slice(D)+n,o}},Ch=Gt(31,39),yh=Gt(32,39),vh=Gt(33,39),wh=Gt(34,39);function Vs(){const{env:e}=B,{TERM:t,TERM_PROGRAM:r}=e;return B.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"}const Wt=Vs(),bh=wh(Wt?"\u2139":"i"),Bh=yh(Wt?"\u2714":"\u221A"),Ah=vh(Wt?"\u26A0":"\u203C"),Sh=Ch(Wt?"\u2716":"\xD7"),_h=new Intl.Segmenter,Rh=/^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v,xh=/^[\p{Default_Ignorable_Code_Point}\p{Control}\p{Format}\p{Mark}\p{Surrogate}]+/v,Oh=/^\p{RGI_Emoji}$/v;function Th(e){return e.replace(xh,"")}function Ih(e){return Rh.test(e)}function Lh(e,t){let r=0;if(e.length>1)for(const n of e.slice(1))n>="\uFF00"&&n<="\uFFEF"&&(r+=On(n.codePointAt(0),t));return r}function $h(e,t={}){if(typeof e!="string"||e.length===0)return 0;const{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=t;let u=e;if(n||(u=It(u)),u.length===0)return 0;let s=0;const i={ambiguousAsWide:!r};for(const{segment:o}of _h.segment(u)){if(Ih(o))continue;if(Oh.test(o)){s+=2;continue}const D=Th(o).codePointAt(0);s+=On(D,i),s+=Lh(o,i)}return s}function Ph({stream:e=process.stdout}={}){return!!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}const Nh=3;class jh{#i=0;start(){this.#i++,this.#i===1&&this.#r()}stop(){if(this.#i<=0)throw new Error("`stop` called more times than `start`");this.#i--,this.#i===0&&this.#t()}#r(){B.platform==="win32"||!B.stdin.isTTY||(B.stdin.setRawMode(!0),B.stdin.on("data",this.#n),B.stdin.resume())}#t(){B.stdin.isTTY&&(B.stdin.off("data",this.#n),B.stdin.pause(),B.stdin.setRawMode(!1))}#n(t){t[0]===Nh&&B.emit("SIGINT")}}const Hs=new jh;class kh{#i=0;#r=!1;#t=0;#n=-1;#e=0;#l=0;#u;#o;#s;#d;#p;#D;#a;#h;#F;#c;#f;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#u={color:"cyan",stream:B.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#u.color,this.spinner=this.#u.spinner,this.#p=this.#u.interval,this.#s=this.#u.stream,this.#D=typeof this.#u.isEnabled=="boolean"?this.#u.isEnabled:Ph({stream:this.#s}),this.#a=typeof this.#u.isSilent=="boolean"?this.#u.isSilent:!1,this.text=this.#u.text,this.prefixText=this.#u.prefixText,this.suffixText=this.#u.suffixText,this.indent=this.#u.indent,B.env.NODE_ENV==="test"&&(this._stream=this.#s,this._isEnabled=this.#D,Object.defineProperty(this,"_linesToClear",{get(){return this.#i},set(r){this.#i=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#t}}))}get indent(){return this.#h}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#h=t,this.#E()}get interval(){return this.#p??this.#o.interval??100}get spinner(){return this.#o}set spinner(t){if(this.#n=-1,this.#p=void 0,typeof t=="object"){if(!Array.isArray(t.frames)||t.frames.length===0||t.frames.some(r=>typeof r!="string"))throw new Error("The given spinner must have a non-empty `frames` array of strings");if(t.interval!==void 0&&!(Number.isInteger(t.interval)&&t.interval>0))throw new Error("`spinner.interval` must be a positive integer if provided");this.#o=t}else if(!Vs())this.#o=Mt.line;else if(t===void 0)this.#o=Mt.dots;else if(t!=="default"&&Mt[t])this.#o=Mt[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#F}set text(t=""){this.#F=t,this.#E()}get prefixText(){return this.#c}set prefixText(t=""){this.#c=t,this.#E()}get suffixText(){return this.#f}set suffixText(t=""){this.#f=t,this.#E()}get isSpinning(){return this.#d!==void 0}#m(t,r,n=!1){const u=typeof t=="function"?t():t;return typeof u=="string"&&u!==""?n?r+u:u+r:""}#g(t=this.#c,r=" "){return this.#m(t,r,!1)}#C(t=this.#f,r=" "){return this.#m(t,r,!0)}#y(t,r){let n=0;for(const u of It(t).split(`
|
|
63
|
+
`))n+=Math.max(1,Math.ceil($h(u)/r));return n}#E(){const t=this.#s.columns??80,r=typeof this.#c=="function"?"":this.#c,n=typeof this.#f=="function"?"":this.#f,u=typeof r=="string"&&r!==""?r+" ":"",s=typeof n=="string"&&n!==""?" "+n:"",o=" ".repeat(this.#h)+u+"-"+(typeof this.#F=="string"?" "+this.#F:"")+s;this.#t=this.#y(o,t)}get isEnabled(){return this.#D&&!this.#a}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#D=t}get isSilent(){return this.#a}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#a=t}frame(){const t=Date.now();(this.#n===-1||t-this.#e>=this.interval)&&(this.#n=++this.#n%this.#o.frames.length,this.#e=t);const{frames:r}=this.#o;let n=r[this.#n];this.color&&(n=Z[this.color](n));const u=this.#g(this.#c," "),s=typeof this.text=="string"?" "+this.text:"",i=this.#C(this.#f," ");return u+n+s+i}clear(){if(!this.#D||!this.#s.isTTY)return this;this.#s.cursorTo(0);for(let t=0;t<this.#i;t++)t>0&&this.#s.moveCursor(0,-1),this.#s.clearLine(1);return(this.#h||this.#l!==this.#h)&&this.#s.cursorTo(this.#h),this.#l=this.#h,this.#i=0,this}render(){if(!this.#D||this.#a)return this;this.clear();let t=this.frame();const r=this.#s.columns??80,n=this.#y(t,r),u=this.#s.rows;if(u&&u>1&&n>u){const s=t.split(`
|
|
64
|
+
`),i=u-1;t=[...s.slice(0,i),"... (content truncated to fit terminal)"].join(`
|
|
65
|
+
`)}return this.#s.write(t),this.#i=this.#y(t,r),this}start(t){if(t&&(this.text=t),this.#a)return this;if(!this.#D){const r=" ".repeat(this.#h)+this.#g(this.#c," ")+(this.text?`- ${this.text}`:"")+this.#C(this.#f," ");return r.trim()!==""&&this.#s.write(r+`
|
|
66
|
+
`),this}return this.isSpinning?this:(this.#u.hideCursor&&$e.hide(this.#s),this.#u.discardStdin&&B.stdin.isTTY&&(this.#r=!0,Hs.start()),this.render(),this.#d=setInterval(this.render.bind(this),this.interval),this)}stop(){return clearInterval(this.#d),this.#d=void 0,this.#n=0,this.#D&&(this.clear(),this.#u.hideCursor&&$e.show(this.#s)),this.#u.discardStdin&&B.stdin.isTTY&&this.#r&&(Hs.stop(),this.#r=!1),this}succeed(t){return this.stopAndPersist({symbol:Bh,text:t})}fail(t){return this.stopAndPersist({symbol:Sh,text:t})}warn(t){return this.stopAndPersist({symbol:Ah,text:t})}info(t){return this.stopAndPersist({symbol:bh,text:t})}stopAndPersist(t={}){if(this.#a)return this;const r=t.prefixText??this.#c,n=this.#g(r," "),u=t.symbol??" ",s=t.text??this.text,o=typeof s=="string"?(u?" ":"")+s:"",D=t.suffixText??this.#f,a=this.#C(D," "),c=n+u+o+a+`
|
|
67
|
+
`;return this.stop(),this.#s.write(c),this}}function qh(e){return new kh(e)}var Uh="ritik",Mh="0.0.22",Gh="module",Wh="CLI Portfolio",Vh="dist/index.js",Hh={ritik:"dist/index.js"},Yh={node:">=14"},Xh={build:"rollup -c",start:"rollup -c && node dist/index.js",lint:"next lint",clean:"rm -rf node_modules pnpm-lock.yaml && pnpm install"},zh={"@inquirer/prompts":"^8.2.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^16.0.3","@types/node":"^25.0.9","@types/update-notifier":"^6.0.8","@typescript-eslint/eslint-plugin":"^8.53.0","@typescript-eslint/parser":"^8.53.0",boxen:"^8.0.1",chalk:"^5.6.2",esbuild:"^0.27.2",eslint:"^9.39.2","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-import":"^2.32.0",open:"^11.0.0",ora:"^9.0.0",rollup:"^4.55.1","rollup-plugin-esbuild":"^6.2.1",typescript:"^5.9.3","update-notifier":"^7.3.1"},Kh={access:"public",registry:"https://registry.npmjs.org/"},Jh=["dist"],Qh={type:"git",url:"git+https://github.com/itzzritik/npx-ritik.git"},Zh=["ritik","portfolio","npx","cli"],e0={name:"Ritik Srivastava"},t0="ISC",r0={url:"https://github.com/itzzritik/npx-ritik/issues"},n0="https://github.com/itzzritik/npx-ritik#readme",Ys={name:Uh,version:Mh,type:Gh,description:Wh,main:Vh,bin:Hh,engines:Yh,scripts:Xh,devDependencies:zh,publishConfig:Kh,files:Jh,repository:Qh,keywords:Zh,author:e0,license:t0,bugs:r0,homepage:n0};const u0={profileUrl:"https://raw.githubusercontent.com/itzzritik/itzzritik/refs/heads/main/profile/profile.json"},Ye={theme:{primary:"cyanBright",secondary:"whiteBright",accent:"#f1c40f",borderStyle:"single",borderColor:"cyan"},ui:{title:"Portfolio",npx:"Npx",cmdTip:"Tip: Try cmd/ctrl + click on the links above",footer:["I am actively seeking new opportunities and welcome any inquiries","Please feel free to contact me for questions or casual greetings","I will make every effort to respond promptly","My inbox remains open for your correspondence."]},messages:{email:{message:"Send me an email?",description:"Send a message \u2014 I promise low-latency replies.",success:"Email launched \u2014 preparing witty yet professional response."},resume:{message:"Checkout my Resume?",description:"Pulling the latest version of my resume from production.",success:"Thanks for reading \u2014 hope my resume speaks your language."},meeting:{message:"Schedule a Meeting?",description:"Scheduling a sync \u2014 adding coffee to the calendar... \u2615",success:"Meeting scheduled \u2014 time to build something great together."},exit:{message:"Exit.",description:"Ending session, but not the connection.",success:"Session ended \u2014 but DMs are always open."}}},Xs=22,zs=52,Ks=Xs+zs+2,Hn=(e,t,r)=>Z.hex(r).dim.bgWhite.inverse(`${e.padStart(Xs," ")}: ${t.padEnd(zs," ")}`),i0=e=>e.charAt(0).toUpperCase()+e.slice(1),Yn=(e,t=" ")=>e.padStart(e.length+Math.floor((Ks-e.length)/2),t).padEnd(Ks,t);function s0(e){const{theme:t,ui:r}=e.config,n=e.personal.name.split(" ")?.[0],u=e.personal.website||`https://${e.personal.displayEmail.replace(/.*@/,"")}`,s=Z[t.primary]||Z.cyanBright,i=Z[t.secondary]||Z.whiteBright,o=[null,Z.bold(s(Yn(e.personal.name))),i(Yn(e.personal.currentRole)),null];e.socialHandles.forEach(a=>{const c=a.color;o.push(Hn(i0(a.platform),`${a.url}/${a.handle}`,c))}),o.push(Hn(r.title,u,t.accent)),o.push(Hn(r.npx,e.personal.npx||`npx ${n.toLowerCase()}`,"#cb3837")),o.push(null),r?.footer&&r.footer.forEach(a=>{o.push(Z.italic(i(Yn(a))))}),o.push(null);const D=Mn(o.join(`
|
|
68
|
+
`),{margin:1,float:"center",borderStyle:t.borderStyle,borderColor:t.borderColor});console.log(D),console.log(r.cmdTip)}const Xn=(e,t=[])=>e.name==="up"||t.includes("vim")&&e.name==="k"||t.includes("emacs")&&e.ctrl&&e.name==="p",Js=(e,t=[])=>e.name==="down"||t.includes("vim")&&e.name==="j"||t.includes("emacs")&&e.ctrl&&e.name==="n",o0=e=>e.name==="backspace",a0=e=>"1234567890".includes(e.name),l0=e=>e.name==="enter"||e.name==="return";class c0 extends Error{name="AbortPromptError";message="Prompt was aborted";constructor(t){super(),this.cause=t?.cause}}class D0 extends Error{name="CancelPromptError";message="Prompt was canceled"}class Qs extends Error{name="ExitPromptError"}class f0 extends Error{name="HookError"}class Zs extends Error{name="ValidationError"}const eo=new Io;function h0(e){return{rl:e,hooks:[],hooksCleanup:[],hooksEffect:[],index:0,handleChange(){}}}function d0(e,t){const r=h0(e);return eo.run(r,()=>{function n(u){r.handleChange=()=>{r.index=0,u()},r.handleChange()}return t(n)})}function Pe(){const e=eo.getStore();if(!e)throw new f0("[Inquirer] Hook functions can only be called from within a prompt");return e}function to(){return Pe().rl}function ro(e){const t=(...r)=>{const n=Pe();let u=!1;const s=n.handleChange;n.handleChange=()=>{u=!0};const i=e(...r);return u&&s(),n.handleChange=s,i};return Qt.bind(t)}function zn(e){const t=Pe(),{index:r}=t,n={get(){return t.hooks[r]},set(s){t.hooks[r]=s},initialized:r in t.hooks},u=e(n);return t.index++,u}function p0(){Pe().handleChange()}const at={queue(e){const t=Pe(),{index:r}=t;t.hooksEffect.push(()=>{t.hooksCleanup[r]?.();const n=e(to());if(n!=null&&typeof n!="function")throw new Zs("useEffect return value must be a cleanup function or nothing.");t.hooksCleanup[r]=n})},run(){const e=Pe();ro(()=>{e.hooksEffect.forEach(t=>{t()}),e.hooksEffect.length=0})()},clearAll(){const e=Pe();e.hooksCleanup.forEach(t=>{t?.()}),e.hooksEffect.length=0,e.hooksCleanup.length=0}};function lt(e){return zn(t=>{const r=Qt.bind(function(s){t.get()!==s&&(t.set(s),p0())});if(t.initialized)return[t.get(),r];const n=typeof e=="function"?e():e;return t.set(n),[n,r]})}function Kn(e,t){zn(r=>{const n=r.get();(!Array.isArray(n)||t.some((s,i)=>!Object.is(s,n[i])))&&at.queue(e),r.set(t)})}function F0(){return B.platform!=="win32"?B.env.TERM!=="linux":!!B.env.WT_SESSION||!!B.env.TERMINUS_SUBLIME||B.env.ConEmuTask==="{cmd::Cmder}"||B.env.TERM_PROGRAM==="Terminus-Sublime"||B.env.TERM_PROGRAM==="vscode"||B.env.TERM==="xterm-256color"||B.env.TERM==="alacritty"||B.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const no={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"},m0={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"},E0={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"},g0={...no,...m0},C0={...no,...E0},y0=F0(),Jn=y0?g0:C0,v0={prefix:{idle:se("blue","?"),done:se("green",Jn.tick)},spinner:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"].map(e=>se("yellow",e))},style:{answer:e=>se("cyan",e),message:e=>se("bold",e),error:e=>se("red",`> ${e}`),defaultAnswer:e=>se("dim",`(${e})`),help:e=>se("dim",e),highlight:e=>se("cyan",e),key:e=>se("cyan",se("bold",`<${e}>`))}};function uo(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function io(...e){const t={};for(const r of e)for(const[n,u]of Object.entries(r)){const s=t[n];t[n]=uo(s)&&uo(u)?io(s,u):u}return t}function so(...e){const t=[v0,...e.filter(r=>r!=null)];return io(...t)}function w0({status:e="idle",theme:t}){const[r,n]=lt(!1),[u,s]=lt(0),{prefix:i,spinner:o}=so(t);return Kn(()=>{if(e==="loading"){let a,c=-1;const f=setTimeout(()=>{n(!0),a=setInterval(()=>{c=c+1,s(c%o.frames.length)},o.interval)},300);return()=>{clearTimeout(f),clearInterval(a)}}else n(!1)},[e]),r?o.frames[u]:typeof i=="string"?i:i[e==="loading"?"idle":e]??i.idle}function Qn(e,t){return zn(r=>{const n=r.get();if(!n||n.dependencies.length!==t.length||n.dependencies.some((u,s)=>u!==t[s])){const u=e();return r.set({value:u,dependencies:t}),u}return n.value})}function Zn(e){return lt({current:e})[0]}function b0(e){const t=Zn(e);t.current=e,Kn(r=>{let n=!1;const u=ro((s,i)=>{n||t.current(i,r)});return r.input.on("keypress",u),()=>{n=!0,r.input.removeListener("keypress",u)}},[])}var eu,oo;function B0(){if(oo)return eu;oo=1,eu=t;function e(r){const n={defaultWidth:0,output:process.stdout,tty:Lo};return r?(Object.keys(n).forEach(function(u){r[u]||(r[u]=n[u])}),r):n}function t(r){const n=e(r);if(n.output.getWindowSize)return n.output.getWindowSize()[0]||n.defaultWidth;if(n.tty.getWindowSize)return n.tty.getWindowSize()[1]||n.defaultWidth;if(n.output.columns)return n.output.columns;if(process.env.CLI_WIDTH){const u=parseInt(process.env.CLI_WIDTH,10);if(!isNaN(u)&&u!==0)return u}return n.defaultWidth}return eu}var A0=B0(),S0=pe(A0);function tu(e,t){return e.split(`
|
|
69
|
+
`).flatMap(r=>qn(r,t,{trim:!1,hard:!0}).split(`
|
|
70
|
+
`).map(n=>n.trimEnd())).join(`
|
|
71
|
+
`)}function ao(){return S0({defaultWidth:80,output:to().output})}function _0({active:e,renderedItems:t,pageSize:r,loop:n}){const u=Zn({lastPointer:e,lastActive:void 0}),{lastPointer:s,lastActive:i}=u.current,o=Math.floor(r/2),D=t.reduce((f,h)=>f+h.length,0),a=t.slice(0,e).reduce((f,h)=>f+h.length,0);let c=a;if(D>r)if(n)c=s,i!=null&&i<e&&e-i<r&&(c=Math.min(o,Math.abs(e-i)===1?Math.min(s+(t[i]?.length??0),Math.max(a,s)):s+e-i));else{const f=t.slice(e).reduce((h,d)=>h+d.length,0);c=f<r-o?r-f:Math.min(a,o)}return u.current.lastPointer=c,u.current.lastActive=e,c}function R0({items:e,active:t,renderItem:r,pageSize:n,loop:u=!0}){const s=ao(),i=p=>(p%e.length+e.length)%e.length,o=e.map((p,E)=>p==null?[]:tu(r({item:p,index:E,isActive:E===t}),s).split(`
|
|
72
|
+
`)),D=o.reduce((p,E)=>p+E.length,0),a=p=>o[p]??[],c=_0({active:t,renderedItems:o,pageSize:n,loop:u}),f=a(t).slice(0,n),h=c+f.length<=n?c:n-f.length,d=Array.from({length:n});d.splice(h,f.length,...f);const m=new Set([t]);let F=h+f.length,l=i(t+1);for(;F<n&&!m.has(l)&&(u&&D>n?l!==t:l>t);){const E=a(l).slice(0,n-F);d.splice(F,E.length,...E),m.add(l),F+=E.length,l=i(l+1)}for(F=h-1,l=i(t-1);F>=0&&!m.has(l)&&(u&&D>n?l!==t:l<t);){const p=a(l),E=p.slice(Math.max(0,p.length-F-1));d.splice(F-E.length+1,E.length,...E),m.add(l),F-=E.length,l=i(l-1)}return d.filter(p=>typeof p=="string").join(`
|
|
73
|
+
`)}var ru,lo;function x0(){if(lo)return ru;lo=1;const e=pt;class t extends e{#i=null;constructor(n={}){super(n),this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=n.replace,this._prompt=n.prompt||null,this._hadControl=!1}#r(n,u){return this._dest?this._dest[n]:this._src?this._src[n]:u}#t(n,...u){typeof this._dest?.[n]=="function"&&this._dest[n](...u),typeof this._src?.[n]=="function"&&this._src[n](...u)}get isTTY(){return this.#i!==null?this.#i:this.#r("isTTY",!1)}set isTTY(n){this.#i=n}get rows(){return this.#r("rows")}get columns(){return this.#r("columns")}mute(){this.muted=!0}unmute(){this.muted=!1}_onpipe(n){this._src=n}pipe(n,u){return this._dest=n,super.pipe(n,u)}pause(){if(this._src)return this._src.pause()}resume(){if(this._src)return this._src.resume()}write(n){if(this.muted){if(!this.replace)return!0;if(n.match(/^\u001b/))return n.indexOf(this._prompt)===0&&(n=n.slice(this._prompt.length),n=n.replace(/./g,this.replace),n=this._prompt+n),this._hadControl=!0,this.emit("data",n);this._prompt&&this._hadControl&&n.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),n=n.slice(this._prompt.length)),n=n.toString().replace(/./g,this.replace)}this.emit("data",n)}end(n){this.muted&&(n&&this.replace?n=n.toString().replace(/./g,this.replace):n=null),n&&this.emit("data",n),this.emit("end")}destroy(...n){return this.#t("destroy",...n)}destroySoon(...n){return this.#t("destroySoon",...n)}close(...n){return this.#t("close",...n)}}return ru=t,ru}var O0=x0(),T0=pe(O0);const Ne="\x1B[",I0=Ne+"G",L0=Ne+"?25l",$0=Ne+"?25h",co=(e=1)=>e>0?`${Ne}${e}A`:"",Do=(e=1)=>e>0?`${Ne}${e}B`:"",fo=(e,t)=>`${Ne}${e+1}G`,ho=Ne+"2K",po=e=>e>0?(ho+co(1)).repeat(e-1)+ho+I0:"",Fo=e=>e.split(`
|
|
74
|
+
`).length,P0=e=>e.split(`
|
|
75
|
+
`).pop()??"";class N0{height=0;extraLinesUnderPrompt=0;cursorPos;rl;constructor(t){this.rl=t,this.cursorPos=t.getCursorPos()}write(t){this.rl.output.unmute(),this.rl.output.write(t),this.rl.output.mute()}render(t,r=""){const n=P0(t),u=_o(n);let s=u;this.rl.line.length>0&&(s=s.slice(0,-this.rl.line.length)),this.rl.setPrompt(s),this.cursorPos=this.rl.getCursorPos();const i=ao();t=tu(t,i),r=tu(r,i),u.length%i===0&&(t+=`
|
|
76
|
+
`);let o=t+(r?`
|
|
77
|
+
`+r:"");const a=Math.floor(u.length/i)-this.cursorPos.rows+(r?Fo(r):0);a>0&&(o+=co(a)),o+=fo(this.cursorPos.cols),this.write(Do(this.extraLinesUnderPrompt)+po(this.height)+o),this.extraLinesUnderPrompt=a,this.height=Fo(o)}checkCursorPos(){const t=this.rl.getCursorPos();t.cols!==this.cursorPos.cols&&(this.write(fo(t.cols)),this.cursorPos=t)}done({clearContent:t}){this.rl.setPrompt("");let r=Do(this.extraLinesUnderPrompt);r+=t?po(this.height):`
|
|
78
|
+
`,r+=$0,this.write(r),this.rl.close()}}class j0 extends Promise{static withResolver(){let t,r;return{promise:new Promise((u,s)=>{t=u,r=s}),resolve:t,reject:r}}}function k0(){const e=Error.prepareStackTrace;let t=[];try{Error.prepareStackTrace=(r,n)=>{const u=n.slice(1);return t=u,u},new Error().stack}catch{return t}return Error.prepareStackTrace=e,t}function q0(e){const t=k0();return(n,u={})=>{const{input:s=process.stdin,signal:i}=u,o=new Set,D=new T0;D.pipe(u.output??process.stdout);const a=To.createInterface({terminal:!0,input:s,output:D}),c=new N0(a),{promise:f,resolve:h,reject:d}=j0.withResolver(),m=()=>d(new D0);if(i){const p=()=>d(new c0({cause:i.reason}));if(i.aborted)return p(),Object.assign(f,{cancel:m});i.addEventListener("abort",p),o.add(()=>i.removeEventListener("abort",p))}o.add(Gs((p,E)=>{d(new Qs(`User force closed the prompt with ${p} ${E}`))}));const F=()=>d(new Qs("User force closed the prompt with SIGINT"));a.on("SIGINT",F),o.add(()=>a.removeListener("SIGINT",F));const l=()=>c.checkCursorPos();return a.input.on("keypress",l),o.add(()=>a.input.removeListener("keypress",l)),d0(a,p=>{const E=Qt.bind(()=>at.clearAll());return a.on("close",E),o.add(()=>a.removeListener("close",E)),p(()=>{try{const g=e(n,v=>{setImmediate(()=>h(v))});if(g===void 0){const v=t[1]?.getFileName();throw new Error(`Prompt functions must return a string.
|
|
79
|
+
at ${v}`)}const[C,A]=typeof g=="string"?[g]:g;c.render(C,A),at.run()}catch(g){d(g)}}),Object.assign(f.then(g=>(at.clearAll(),g),g=>{throw at.clearAll(),g}).finally(()=>{o.forEach(g=>g()),c.done({clearContent:!!u.clearPromptOnDone}),D.end()}).then(()=>f),{cancel:m})})}}class ct{separator=se("dim",Array.from({length:15}).join(Jn.line));type="separator";constructor(t){t&&(this.separator=t)}static isSeparator(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="separator")}}const U0={icon:{cursor:Jn.pointer},style:{disabled:e=>se("dim",`- ${e}`),description:e=>se("cyan",e),keysHelpTip:e=>e.map(([t,r])=>`${se("bold",t)} ${se("dim",r)}`).join(se("dim"," \u2022 "))},indexMode:"hidden",keybindings:[]};function Xe(e){return!ct.isSeparator(e)&&!e.disabled}function M0(e){return e.map(t=>{if(ct.isSeparator(t))return t;if(typeof t!="object"||t===null||!("value"in t)){const u=String(t);return{value:t,name:u,short:u,disabled:!1}}const r=t.name??String(t.value),n={value:t.value,name:r,short:t.short??r,disabled:t.disabled??!1};return t.description&&(n.description=t.description),n})}var G0=q0((e,t)=>{const{loop:r=!0,pageSize:n=7}=e,u=so(U0,e.theme),{keybindings:s}=u,[i,o]=lt("idle"),D=w0({status:i,theme:u}),a=Zn(),c=!s.includes("vim"),f=Qn(()=>M0(e.choices),[e.choices]),h=Qn(()=>{const y=f.findIndex(Xe),b=f.findLastIndex(Xe);if(y===-1)throw new Zs("[select prompt] No selectable choices. All choices are disabled.");return{first:y,last:b}},[f]),d=Qn(()=>"default"in e?f.findIndex(y=>Xe(y)&&y.value===e.default):-1,[e.default,f]),[m,F]=lt(d===-1?h.first:d),l=f[m];b0((y,b)=>{if(clearTimeout(a.current),l0(y))o("done"),t(l.value);else if(Xn(y,s)||Js(y,s)){if(b.clearLine(0),r||Xn(y,s)&&m!==h.first||Js(y,s)&&m!==h.last){const q=Xn(y,s)?-1:1;let I=m;do I=(I+q+f.length)%f.length;while(!Xe(f[I]));F(I)}}else if(a0(y)&&!Number.isNaN(Number(b.line))){const q=Number(b.line)-1;let I=-1;const ee=f.findIndex(Q=>ct.isSeparator(Q)?!1:(I++,I===q)),J=f[ee];J!=null&&Xe(J)&&F(ee),a.current=setTimeout(()=>{b.clearLine(0)},700)}else if(o0(y))b.clearLine(0);else if(c){const q=b.line.toLowerCase(),I=f.findIndex(ee=>ct.isSeparator(ee)||!Xe(ee)?!1:ee.name.toLowerCase().startsWith(q));I!==-1&&F(I),a.current=setTimeout(()=>{b.clearLine(0)},700)}}),Kn(()=>()=>{clearTimeout(a.current)},[]);const p=u.style.message(e.message,i),E=u.style.keysHelpTip([["\u2191\u2193","navigate"],["\u23CE","select"]]);let g=0;const C=R0({items:f,active:m,renderItem({item:y,isActive:b,index:q}){if(ct.isSeparator(y))return g++,` ${y.separator}`;const I=u.indexMode==="number"?`${q+1-g}. `:"";if(y.disabled){const Q=typeof y.disabled=="string"?y.disabled:"(disabled)";return u.style.disabled(`${I}${y.name} ${Q}`)}const ee=b?u.style.highlight:Q=>Q,J=b?u.icon.cursor:" ";return ee(`${J} ${I}${y.name}`)},pageSize:n,loop:r});if(i==="done")return[D,p,u.style.answer(l.short)].filter(Boolean).join(" ");const{description:A}=l;return`${[[D,p].filter(Boolean).join(" "),C," ",A?u.style.description(A):"",E].filter(Boolean).join(`
|
|
80
|
+
`).trimEnd()}${L0}`});let nu;function W0(){try{return G.statSync("/.dockerenv"),!0}catch{return!1}}function V0(){try{return G.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function H0(){return nu===void 0&&(nu=W0()||V0()),nu}let uu;const Y0=()=>{try{return G.statSync("/run/.containerenv"),!0}catch{return!1}};function iu(){return uu===void 0&&(uu=Y0()||H0()),uu}const mo=()=>{if(B.platform!=="linux")return!1;if(je.release().toLowerCase().includes("microsoft"))return!iu();try{return G.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")?!iu():!1}catch{return!1}};var ze=B.env.__IS_WSL_TEST__?mo:mo();const X0=ie(Yt.execFile),Eo=()=>`${B.env.SYSTEMROOT||B.env.windir||String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,Ce=async(e,t={})=>{const{powerShellPath:r,...n}=t,u=Ce.encodeCommand(e);return X0(r??Eo(),[...Ce.argumentsPrefix,u],{encoding:"utf8",...n})};Ce.argumentsPrefix=["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand"],Ce.encodeCommand=e=>Oo.from(e,"utf16le").toString("base64"),Ce.escapeArgument=e=>`'${String(e).replaceAll("'","''")}'`;function z0(e){for(const t of e.split(`
|
|
81
|
+
`)){if(/^\s*#/.test(t))continue;const r=/^\s*root\s*=\s*(?<mountPoint>"[^"]*"|'[^']*'|[^#]*)/.exec(t);if(r)return r.groups.mountPoint.trim().replaceAll(/^["']|["']$/g,"")}}const K0=ie(Yt.execFile),J0=(()=>{const e="/mnt/";let t;return async function(){if(t)return t;const r="/etc/wsl.conf";let n=!1;try{await Ft.access(r,Jt.F_OK),n=!0}catch{}if(!n)return e;const u=await Ft.readFile(r,{encoding:"utf8"}),s=z0(u);return s===void 0?e:(t=s,t=t.endsWith("/")?t:`${t}/`,t)}})(),Q0=async()=>`${await J0()}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`,su=ze?Q0:Eo;let go;const Z0=async()=>(go??=(async()=>{try{const e=await su();return await Ft.access(e,Jt.X_OK),!0}catch{return!1}})(),go),ed=async()=>{const e=await su(),t=String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`,{stdout:r}=await Ce(t,{powerShellPath:e});return r.trim()},td=async e=>{if(/^[a-z]+:\/\//i.test(e))return e;try{const{stdout:t}=await K0("wslpath",["-aw",e],{encoding:"utf8"});return t.trim()}catch{return e}};function Dt(e,t,r){const n=u=>Object.defineProperty(e,t,{value:u,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){const u=r();return n(u),u},set(u){n(u)}}),e}const rd=ie(dt);async function nd(){if(B.platform!=="darwin")throw new Error("macOS only");const{stdout:e}=await rd("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]),r=/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari";return r==="com.apple.safari"?"com.apple.Safari":r}const ud=ie(dt);async function id(e,{humanReadableOutput:t=!0,signal:r}={}){if(B.platform!=="darwin")throw new Error("macOS only");const n=t?[]:["-ss"],u={};r&&(u.signal=r);const{stdout:s}=await ud("osascript",["-e",e,n],u);return s.trim()}async function sd(e){return id(`tell application "Finder" to set app_path to application file id "${e}" as string
|
|
82
|
+
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`)}const od=ie(dt),Co={MSEdgeHTM:{name:"Edge",id:"com.microsoft.edge"},MSEdgeBHTML:{name:"Edge Beta",id:"com.microsoft.edge.beta"},MSEdgeDHTML:{name:"Edge Dev",id:"com.microsoft.edge.dev"},AppXq0fevzme2pys62n3e0fbqa7peapykr8v:{name:"Edge",id:"com.microsoft.edge.old"},ChromeHTML:{name:"Chrome",id:"com.google.chrome"},ChromeBHTML:{name:"Chrome Beta",id:"com.google.chrome.beta"},ChromeDHTML:{name:"Chrome Dev",id:"com.google.chrome.dev"},ChromiumHTM:{name:"Chromium",id:"org.chromium.Chromium"},BraveHTML:{name:"Brave",id:"com.brave.Browser"},BraveBHTML:{name:"Brave Beta",id:"com.brave.Browser.beta"},BraveDHTML:{name:"Brave Dev",id:"com.brave.Browser.dev"},BraveSSHTM:{name:"Brave Nightly",id:"com.brave.Browser.nightly"},FirefoxURL:{name:"Firefox",id:"org.mozilla.firefox"},OperaStable:{name:"Opera",id:"com.operasoftware.Opera"},VivaldiHTM:{name:"Vivaldi",id:"com.vivaldi.Vivaldi"},"IE.HTTP":{name:"Internet Explorer",id:"com.microsoft.ie"}},ad=new Map(Object.entries(Co));class yo extends Error{}async function ld(e=od){const{stdout:t}=await e("reg",["QUERY"," HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice","/v","ProgId"]),r=/ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(t);if(!r)throw new yo(`Cannot find Windows browser in stdout: ${JSON.stringify(t)}`);const{id:n}=r.groups,u=Co[n];if(!u)throw new yo(`Unknown browser ID: ${n}`);return u}const cd=ie(dt),Dd=e=>e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase());async function fd(){if(B.platform==="darwin"){const e=await nd();return{name:await sd(e),id:e}}if(B.platform==="linux"){const{stdout:e}=await cd("xdg-mime",["query","default","x-scheme-handler/http"]),t=e.trim();return{name:Dd(t.replace(/.desktop$/,"").replace("-"," ")),id:t}}if(B.platform==="win32")return ld();throw new Error("Only macOS, Linux, and Windows are supported")}const hd=!!(B.env.SSH_CONNECTION||B.env.SSH_CLIENT||B.env.SSH_TTY),Vt=Symbol("fallbackAttempt"),ou=import.meta.url?z.dirname(Xt(import.meta.url)):"",vo=z.join(ou,"xdg-open"),{platform:Ke,arch:wo}=B,bo=async(e,t)=>{if(e.length===0)return;const r=[];for(const n of e)try{return await t(n)}catch(u){r.push(u)}throw new AggregateError(r,"Failed to open in all supported apps")},Ht=async e=>{e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e};const t=e[Vt]===!0;if(delete e[Vt],Array.isArray(e.app))return bo(e.app,a=>Ht({...e,app:a,[Vt]:!0}));let{name:r,arguments:n=[]}=e.app??{};if(n=[...n],Array.isArray(r))return bo(r,a=>Ht({...e,app:{name:a,arguments:n},[Vt]:!0}));if(r==="browser"||r==="browserPrivate"){const a={"com.google.chrome":"chrome","google-chrome.desktop":"chrome","com.brave.browser":"brave","org.mozilla.firefox":"firefox","firefox.desktop":"firefox","com.microsoft.msedge":"edge","com.microsoft.edge":"edge","com.microsoft.edgemac":"edge","microsoft-edge.desktop":"edge","com.apple.safari":"safari"},c={chrome:"--incognito",brave:"--incognito",firefox:"--private-window",edge:"--inPrivate"};let f;if(ze){const h=await ed();f=ad.get(h)??{}}else f=await fd();if(f.id in a){const h=a[f.id.toLowerCase()];if(r==="browserPrivate"){if(h==="safari")throw new Error("Safari doesn't support opening in private mode via command line");n.push(c[h])}return Ht({...e,app:{name:Je[h],arguments:n}})}throw new Error(`${f.name} is not supported as a default browser`)}let u;const s=[],i={};let o=!1;if(ze&&!iu()&&!hd&&!r&&(o=await Z0()),Ke==="darwin")u="open",e.wait&&s.push("--wait-apps"),e.background&&s.push("--background"),e.newInstance&&s.push("--new"),r&&s.push("-a",r);else if(Ke==="win32"||o){u=await su(),s.push(...Ce.argumentsPrefix),ze||(i.windowsVerbatimArguments=!0),ze&&e.target&&(e.target=await td(e.target));const a=["$ProgressPreference = 'SilentlyContinue';","Start"];e.wait&&a.push("-Wait"),r?(a.push(Ce.escapeArgument(r)),e.target&&n.push(e.target)):e.target&&a.push(Ce.escapeArgument(e.target)),n.length>0&&(n=n.map(c=>Ce.escapeArgument(c)),a.push("-ArgumentList",n.join(","))),e.target=Ce.encodeCommand(a.join(" ")),e.wait||(i.stdio="ignore")}else{if(r)u=r;else{const a=!ou||ou==="/";let c=!1;try{await Ft.access(vo,Jt.X_OK),c=!0}catch{}u=B.versions.electron??(Ke==="android"||a||!c)?"xdg-open":vo}n.length>0&&s.push(...n),e.wait||(i.stdio="ignore",i.detached=!0)}Ke==="darwin"&&n.length>0&&s.push("--args",...n),e.target&&s.push(e.target);const D=Yt.spawn(u,s,i);return e.wait?new Promise((a,c)=>{D.once("error",c),D.once("close",f=>{if(!e.allowNonzeroExitCode&&f!==0){c(new Error(`Exited with code ${f}`));return}a(D)})}):t?new Promise((a,c)=>{D.once("error",c),D.once("spawn",()=>{D.once("close",f=>{if(D.off("error",c),f!==0){c(new Error(`Exited with code ${f}`));return}D.unref(),a(D)})})}):(D.unref(),new Promise((a,c)=>{D.once("error",c),D.once("spawn",()=>{D.off("error",c),a(D)})}))},au=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return Ht({...t,target:e})};function Bo(e){if(typeof e=="string"||Array.isArray(e))return e;const{[wo]:t}=e;if(!t)throw new Error(`${wo} is not supported`);return t}function ft({[Ke]:e},{wsl:t}={}){if(t&&ze)return Bo(t);if(!e)throw new Error(`${Ke} is not supported`);return Bo(e)}const Je={browser:"browser",browserPrivate:"browserPrivate"};Dt(Je,"chrome",()=>ft({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium","chromium-browser"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}})),Dt(Je,"brave",()=>ft({darwin:"brave browser",win32:"brave",linux:["brave-browser","brave"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe",x64:["/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe","/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe"]}})),Dt(Je,"firefox",()=>ft({darwin:"firefox",win32:String.raw`C:\Program Files\Mozilla Firefox\firefox.exe`,linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"})),Dt(Je,"edge",()=>ft({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"})),Dt(Je,"safari",()=>ft({darwin:"Safari"}));var dd=(e=>(e.EMAIL="email",e.RESUME="resume",e.MEETING="meeting",e.EXIT="exit",e))(dd||{});function pd(e){const t=e.personal.name.split(" ")?.[0],{messages:r,theme:n}=e.config,u=Z[n.primary]||Z.cyanBright,s=Z[n.secondary]||Z.whiteBright,i=[{name:r.email.message.replace("email",u("email")),value:"email",description:s(`
|
|
83
|
+
`+r.email.description)},{name:r.resume.message.replace("Resume",u("Resume")),value:"resume",description:s(`
|
|
84
|
+
`+r.resume.description)},{name:r.meeting.message.replace("Meeting",u("Meeting")),value:"meeting",description:s(`
|
|
85
|
+
`+r.meeting.description)},{name:r.exit.message,value:"exit",description:s(`
|
|
86
|
+
`+r.exit.description)}],o={email:()=>{au(`mailto:${e.personal.displayEmail}?subject=Hi%20${t}!`),console.log(`
|
|
14
87
|
|
|
15
|
-
${
|
|
88
|
+
${r.email.success}
|
|
89
|
+
`)},resume:()=>{au(e.personal.resume||"https://cv.ritik.me"),console.log(`
|
|
90
|
+
|
|
91
|
+
${r.resume.success}
|
|
92
|
+
`)},meeting:()=>{au(e.personal.meeting||"https://meet.ritik.me"),console.log(`
|
|
93
|
+
|
|
94
|
+
${r.meeting.success}
|
|
16
95
|
`)},exit:()=>{console.log(`
|
|
17
96
|
|
|
18
|
-
${
|
|
19
|
-
`)}};
|
|
20
|
-
Error: ${
|
|
21
|
-
An unknown error occurred.`),process.exit(1)}};
|
|
97
|
+
${r.exit.success}
|
|
98
|
+
`)}};G0({message:"Choose an Action",choices:i}).then(D=>o[D]())}const Fd=async()=>{console.clear(),yD({pkg:Ys}).notify();const e=qh("Fetching profile data...").start();try{const t=await fetch(u0.profileUrl);if(!t.ok)throw new Error(`Failed to fetch profile: ${t.statusText}`);const r=await t.json();r.config={theme:{...Ye.theme,...r.config?.theme},ui:{...Ye.ui,...r.config?.ui},messages:{email:{...Ye.messages?.email,...r.config?.messages?.email},resume:{...Ye.messages?.resume,...r.config?.messages?.resume},meeting:{...Ye.messages?.meeting,...r.config?.messages?.meeting},exit:{...Ye.messages?.exit,...r.config?.messages?.exit}}},e.succeed(`Profile loaded (${Z.dim(`v${Ys.version}`)})`),s0(r),pd(r)}catch(t){e.fail("Failed to load profile"),t instanceof Error?console.error(`
|
|
99
|
+
Error: ${t.message}`):console.error(`
|
|
100
|
+
An unknown error occurred.`),process.exit(1)}};Fd();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ritik",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI Portfolio",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,35 +16,34 @@
|
|
|
16
16
|
"lint": "next lint",
|
|
17
17
|
"clean": "rm -rf node_modules pnpm-lock.yaml && pnpm install"
|
|
18
18
|
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@inquirer/prompts": "^8.2.0",
|
|
21
|
-
"boxen": "^8.0.1",
|
|
22
|
-
"chalk": "^5.6.2",
|
|
23
|
-
"open": "^11.0.0",
|
|
24
|
-
"ora": "^9.0.0",
|
|
25
|
-
"update-notifier": "^7.3.1"
|
|
26
|
-
},
|
|
27
19
|
"devDependencies": {
|
|
20
|
+
"@inquirer/prompts": "^8.2.0",
|
|
21
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
28
22
|
"@rollup/plugin-json": "^6.1.0",
|
|
23
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
29
24
|
"@types/node": "^25.0.9",
|
|
30
25
|
"@types/update-notifier": "^6.0.8",
|
|
31
26
|
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
32
27
|
"@typescript-eslint/parser": "^8.53.0",
|
|
28
|
+
"boxen": "^8.0.1",
|
|
29
|
+
"chalk": "^5.6.2",
|
|
33
30
|
"esbuild": "^0.27.2",
|
|
34
31
|
"eslint": "^9.39.2",
|
|
35
32
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
36
33
|
"eslint-plugin-import": "^2.32.0",
|
|
34
|
+
"open": "^11.0.0",
|
|
35
|
+
"ora": "^9.0.0",
|
|
37
36
|
"rollup": "^4.55.1",
|
|
38
37
|
"rollup-plugin-esbuild": "^6.2.1",
|
|
39
|
-
"typescript": "^5.9.3"
|
|
38
|
+
"typescript": "^5.9.3",
|
|
39
|
+
"update-notifier": "^7.3.1"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public",
|
|
43
43
|
"registry": "https://registry.npmjs.org/"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
|
-
"dist"
|
|
47
|
-
"demo.png"
|
|
46
|
+
"dist"
|
|
48
47
|
],
|
|
49
48
|
"repository": {
|
|
50
49
|
"type": "git",
|
package/demo.png
DELETED
|
Binary file
|