@tsmodule/tsmodule 40.0.3 → 40.0.6
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/README.md +50 -40
- package/dist/commands/build/index.js +2 -2
- package/dist/commands/convert/index.d.ts +7 -0
- package/dist/commands/convert/index.js +51 -0
- package/dist/commands/create/index.js +45 -12
- package/dist/commands/create/lib/templates.d.ts +32 -0
- package/dist/commands/create/lib/templates.js +51 -0
- package/dist/commands/dev/index.js +9 -9
- package/dist/commands/execute/index.js +4 -4
- package/dist/commands/index.js +17 -17
- package/dist/constants.d.ts +0 -8
- package/dist/constants.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +32 -32
- package/dist/specification/index.d.ts +6 -0
- package/dist/specification/index.js +4 -0
- package/dist/specification/types.d.ts +11 -0
- package/dist/{commands/create/lib/rewritePkgJson.js → specification/types.js} +0 -1
- package/dist/types/index.js +17 -17
- package/dist/utils/packageJson.d.ts +24 -0
- package/dist/utils/packageJson.js +4 -0
- package/package.json +2 -2
- package/templates/default/package.json +1 -33
- package/templates/react/package.json +1 -39
- package/dist/commands/create/lib/copyTemplate.d.ts +0 -1
- package/dist/commands/create/lib/copyTemplate.js +0 -10
- package/dist/commands/create/lib/rewritePkgJson.d.ts +0 -1
- package/dist/utils/pkgJson.d.ts +0 -2
- package/dist/utils/pkgJson.js +0 -4
@@ -1,18 +1,51 @@
|
|
1
1
|
|
2
2
|
typeof document>"u"&&await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=i(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}})();
|
3
3
|
|
4
|
-
var wn=Object.create;var _r=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var Rn=Object.getOwnPropertyNames;var Sn=Object.getPrototypeOf,Tn=Object.prototype.hasOwnProperty;var O=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var p=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var On=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rn(t))!Tn.call(e,n)&&n!==r&&_r(e,n,{get:()=>t[n],enumerable:!(i=En(t,n))||i.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?wn(Sn(e)):{},On(t||!e||!e.__esModule?_r(r,"default",{value:e,enumerable:!0}):r,e));var Pr=p((Ql,Rt)=>{"use strict";var Nr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};Rt.exports=Nr;Rt.exports.default=Nr});var jr=p((Xl,qe)=>{"use strict";var co=Pr(),ke=new WeakMap,Fr=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...s){if(ke.set(o,++i),i===1)r=e.apply(this,s),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return co(o,e),ke.set(o,i),o};qe.exports=Fr;qe.exports.default=Fr;qe.exports.callCount=e=>{if(!ke.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ke.get(e)}});var kr=p((zl,Ue)=>{Ue.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ue.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ue.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var $r=p((ea,le)=>{var b=global.process,V=function(e){return 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"};V(b)?(qr=O("assert"),oe=kr(),Ur=/^win/i.test(b.platform),xe=O("events"),typeof xe!="function"&&(xe=xe.EventEmitter),b.__signal_exit_emitter__?R=b.__signal_exit_emitter__:(R=b.__signal_exit_emitter__=new xe,R.count=0,R.emitted={}),R.infinite||(R.setMaxListeners(1/0),R.infinite=!0),le.exports=function(e,t){if(!V(global.process))return function(){};qr.equal(typeof e,"function","a callback must be provided for exit handler"),se===!1&&St();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){R.removeListener(r,e),R.listeners("exit").length===0&&R.listeners("afterexit").length===0&&Ge()};return R.on(r,e),i},Ge=function(){!se||!V(global.process)||(se=!1,oe.forEach(function(t){try{b.removeListener(t,We[t])}catch{}}),b.emit=$e,b.reallyExit=Tt,R.count-=1)},le.exports.unload=Ge,K=function(t,r,i){R.emitted[t]||(R.emitted[t]=!0,R.emit(t,r,i))},We={},oe.forEach(function(e){We[e]=function(){if(!!V(global.process)){var r=b.listeners(e);r.length===R.count&&(Ge(),K("exit",null,e),K("afterexit",null,e),Ur&&e==="SIGHUP"&&(e="SIGINT"),b.kill(b.pid,e))}}}),le.exports.signals=function(){return oe},se=!1,St=function(){se||!V(global.process)||(se=!0,R.count+=1,oe=oe.filter(function(t){try{return b.on(t,We[t]),!0}catch{return!1}}),b.emit=Wr,b.reallyExit=Gr)},le.exports.load=St,Tt=b.reallyExit,Gr=function(t){!V(global.process)||(b.exitCode=t||0,K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),Tt.call(b,b.exitCode))},$e=b.emit,Wr=function(t,r){if(t==="exit"&&V(global.process)){r!==void 0&&(b.exitCode=r);var i=$e.apply(this,arguments);return K("exit",b.exitCode,null),K("afterexit",b.exitCode,null),i}else return $e.apply(this,arguments)}):le.exports=function(){return function(){}};var qr,oe,Ur,xe,R,Ge,K,We,se,St,Tt,Gr,$e,Wr});var Jr=p((sa,go)=>{go.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var Xr=p((la,Qr)=>{"use strict";var He=Object.assign({},Jr()),Zr=Object.keys(He);Object.defineProperty(He,"random",{get(){let e=Math.floor(Math.random()*Zr.length),t=Zr[e];return He[t]}});Qr.exports=He});var zr=p((ga,Ve)=>{var mo=function(){"use strict";function e(s,l,a,f){var c;typeof l=="object"&&(a=l.depth,f=l.prototype,c=l.filter,l=l.circular);var d=[],y=[],m=typeof Buffer<"u";typeof l>"u"&&(l=!0),typeof a>"u"&&(a=1/0);function S(_,k){if(_===null)return null;if(k==0)return _;var v,de;if(typeof _!="object")return _;if(e.__isArray(_))v=[];else if(e.__isRegExp(_))v=new RegExp(_.source,o(_)),_.lastIndex&&(v.lastIndex=_.lastIndex);else if(e.__isDate(_))v=new Date(_.getTime());else{if(m&&Buffer.isBuffer(_))return Buffer.allocUnsafe?v=Buffer.allocUnsafe(_.length):v=new Buffer(_.length),_.copy(v),v;typeof f>"u"?(de=Object.getPrototypeOf(_),v=Object.create(de)):(v=Object.create(f),de=f)}if(l){var pr=d.indexOf(_);if(pr!=-1)return y[pr];d.push(_),y.push(v)}for(var dt in _){var pt;de&&(pt=Object.getOwnPropertyDescriptor(de,dt)),!(pt&&pt.set==null)&&(v[dt]=S(_[dt],k-1))}return v}return S(s,a)}e.clonePrototype=function(l){if(l===null)return null;var a=function(){};return a.prototype=l,new a};function t(s){return Object.prototype.toString.call(s)}e.__objToStr=t;function r(s){return typeof s=="object"&&t(s)==="[object Date]"}e.__isDate=r;function i(s){return typeof s=="object"&&t(s)==="[object Array]"}e.__isArray=i;function n(s){return typeof s=="object"&&t(s)==="[object RegExp]"}e.__isRegExp=n;function o(s){var l="";return s.global&&(l+="g"),s.ignoreCase&&(l+="i"),s.multiline&&(l+="m"),l}return e.__getRegExpFlags=o,e}();typeof Ve=="object"&&Ve.exports&&(Ve.exports=mo)});var ti=p((ba,ei)=>{var vo=zr();ei.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=vo(t[r]))}),e}});var ii=p((ya,ri)=>{ri.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var li=p((xa,Bt)=>{"use strict";var wo=ti(),we=ii(),oi={nul:0,control:0};Bt.exports=function(t){return si(t,oi)};Bt.exports.config=function(e){return e=wo(e||{},oi),function(r){return si(r,e)}};function si(e,t){if(typeof e!="string")return ni(e,t);for(var r=0,i=0;i<e.length;i++){var n=ni(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function ni(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Eo(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function Eo(e){var t=0,r=we.length-1,i;if(e<we[0][0]||e>we[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>we[i][1])t=i+1;else if(e<we[i][0])r=i-1;else return!0;return!1}});var It=p((va,ai)=>{ai.exports=O("stream")});var ci=p((wa,hi)=>{"use strict";function fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fi(Object(r),!0).forEach(function(i){So(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function So(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function To(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Oo(e,t,r){return t&&ui(e.prototype,t),r&&ui(e,r),e}var Ao=O("buffer"),Ke=Ao.Buffer,Co=O("util"),Dt=Co.inspect,Bo=Dt&&Dt.custom||"inspect";function Mo(e,t,r){Ke.prototype.copy.call(e,t,r)}hi.exports=function(){function e(){To(this,e),this.head=null,this.tail=null,this.length=0}return Oo(e,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return Ke.alloc(0);for(var i=Ke.allocUnsafe(r>>>0),n=this.head,o=0;n;)Mo(n.data,i,o),o+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,o=i.data;for(r-=o.length;i=i.next;){var s=i.data,l=r>s.length?s.length:r;if(l===s.length?o+=s:o+=s.slice(0,r),r-=l,r===0){l===s.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(l));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=Ke.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var s=n.data,l=r>s.length?s.length:r;if(s.copy(i,i.length-r,0,l),r-=l,r===0){l===s.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(l));break}++o}return this.length-=o,i}},{key:Bo,value:function(r,i){return Dt(this,Ro({},i,{depth:0,customInspect:!1}))}}]),e}()});var Nt=p((Ea,pi)=>{"use strict";function Io(e,t){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(Lt,this,e)):process.nextTick(Lt,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(o){!t&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(Je,r):(r._writableState.errorEmitted=!0,process.nextTick(di,r,o)):process.nextTick(di,r,o):t?(process.nextTick(Je,r),t(o)):process.nextTick(Je,r)}),this)}function di(e,t){Lt(e,t),Je(e)}function Je(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Do(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Lt(e,t){e.emit("error",t)}function Lo(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}pi.exports={destroy:Io,undestroy:Do,errorOrDestroy:Lo}});var G=p((Ra,bi)=>{"use strict";var gi={};function M(e,t,r){r||(r=Error);function i(o,s,l){return typeof t=="string"?t:t(o,s,l)}class n extends r{constructor(s,l,a){super(i(s,l,a))}}n.prototype.name=r.name,n.prototype.code=e,gi[e]=n}function _i(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(i=>String(i)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function No(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function Po(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Fo(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}M("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);M("ERR_INVALID_ARG_TYPE",function(e,t,r){let i;typeof t=="string"&&No(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(Po(e," argument"))n=`The ${e} ${i} ${_i(t,"type")}`;else{let o=Fo(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${_i(t,"type")}`}return n+=`. Received type ${typeof r}`,n},TypeError);M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");M("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});M("ERR_STREAM_PREMATURE_CLOSE","Premature close");M("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});M("ERR_MULTIPLE_CALLBACK","Callback called multiple times");M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");M("ERR_STREAM_WRITE_AFTER_END","write after end");M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);M("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");bi.exports.codes=gi});var Pt=p((Sa,yi)=>{"use strict";var jo=G().codes.ERR_INVALID_OPT_VALUE;function ko(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function qo(e,t,r,i){var n=ko(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new jo(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}yi.exports={getHighWaterMark:qo}});var xi=p((Ta,Ft)=>{typeof Object.create=="function"?Ft.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ft.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}});var J=p((Oa,kt)=>{try{if(jt=O("util"),typeof jt.inherits!="function")throw"";kt.exports=jt.inherits}catch{kt.exports=xi()}var jt});var vi=p((Aa,mi)=>{mi.exports=O("util").deprecate});var Gt=p((Ca,Oi)=>{"use strict";Oi.exports=x;function Ei(e){var t=this;this.next=null,this.entry=null,this.finish=function(){ds(t,e)}}var fe;x.WritableState=Re;var Uo={deprecate:vi()},Ri=It(),Qe=O("buffer").Buffer,Go=global.Uint8Array||function(){};function Wo(e){return Qe.from(e)}function $o(e){return Qe.isBuffer(e)||e instanceof Go}var Ut=Nt(),Yo=Pt(),Ho=Yo.getHighWaterMark,W=G().codes,Vo=W.ERR_INVALID_ARG_TYPE,Ko=W.ERR_METHOD_NOT_IMPLEMENTED,Jo=W.ERR_MULTIPLE_CALLBACK,Zo=W.ERR_STREAM_CANNOT_PIPE,Qo=W.ERR_STREAM_DESTROYED,Xo=W.ERR_STREAM_NULL_VALUES,zo=W.ERR_STREAM_WRITE_AFTER_END,es=W.ERR_UNKNOWN_ENCODING,ue=Ut.errorOrDestroy;J()(x,Ri);function ts(){}function Re(e,t,r){fe=fe||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof fe),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ho(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=e.decodeStrings===!1;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(n){as(t,n)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ei(this)}Re.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Re.prototype,"buffer",{get:Uo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ze;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ze=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return Ze.call(this,t)?!0:this!==x?!1:t&&t._writableState instanceof Re}})):Ze=function(t){return t instanceof this};function x(e){fe=fe||Z();var t=this instanceof fe;if(!t&&!Ze.call(x,this))return new x(e);this._writableState=new Re(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),Ri.call(this)}x.prototype.pipe=function(){ue(this,new Zo)};function rs(e,t){var r=new zo;ue(e,r),process.nextTick(t,r)}function is(e,t,r,i){var n;return r===null?n=new Xo:typeof r!="string"&&!t.objectMode&&(n=new Vo("chunk",["string","Buffer"],r)),n?(ue(e,n),process.nextTick(i,n),!1):!0}x.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&$o(e);return o&&!Qe.isBuffer(e)&&(e=Wo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=ts),i.ending?rs(this,r):(o||is(this,i,e,r))&&(i.pendingcb++,n=os(this,i,o,e,t,r)),n};x.prototype.cork=function(){this._writableState.corked++};x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Si(this,e))};x.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new es(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ns(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Qe.from(t,r)),t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function os(e,t,r,i,n,o){if(!r){var s=ns(t,i,n);i!==s&&(r=!0,n="buffer",i=s)}var l=t.objectMode?1:i.length;t.length+=l;var a=t.length<t.highWaterMark;if(a||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else qt(e,t,!1,l,i,n,o);return a}function qt(e,t,r,i,n,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Qo("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function ss(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(Ee,e,t),e._writableState.errorEmitted=!0,ue(e,i)):(n(i),e._writableState.errorEmitted=!0,ue(e,i),Ee(e,t))}function ls(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function as(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Jo;if(ls(r),t)ss(e,r,i,t,n);else{var o=Ti(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Si(e,r),i?process.nextTick(wi,e,r,o,n):wi(e,r,o,n)}}function wi(e,t,r,i){r||fs(e,t),t.pendingcb--,i(),Ee(e,t)}function fs(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Si(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,n=new Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)n[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;n.allBuffers=l,qt(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Ei(t),t.bufferedRequestCount=0}else{for(;r;){var a=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:a.length;if(qt(e,t,!1,d,a,f,c),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}x.prototype._write=function(e,t,r){r(new Ko("_write()"))};x.prototype._writev=null;x.prototype.end=function(e,t,r){var i=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||cs(this,i,r),this};Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ti(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function us(e,t){e._final(function(r){t.pendingcb--,r&&ue(e,r),t.prefinished=!0,e.emit("prefinish"),Ee(e,t)})}function hs(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(us,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Ee(e,t){var r=Ti(t);if(r&&(hs(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function cs(e,t,r){t.ending=!0,Ee(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function ds(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});x.prototype.destroy=Ut.destroy;x.prototype._undestroy=Ut.undestroy;x.prototype._destroy=function(e,t){t(e)}});var Z=p((Ba,Ci)=>{"use strict";var ps=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Ci.exports=F;var Ai=Yt(),$t=Gt();J()(F,Ai);for(Wt=ps($t.prototype),Xe=0;Xe<Wt.length;Xe++)ze=Wt[Xe],F.prototype[ze]||(F.prototype[ze]=$t.prototype[ze]);var Wt,ze,Xe;function F(e){if(!(this instanceof F))return new F(e);Ai.call(this,e),$t.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",_s)))}Object.defineProperty(F.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(F.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(F.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function _s(){this._writableState.ended||process.nextTick(gs,this)}function gs(e){e.end()}Object.defineProperty(F.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Ii=p((Ht,Mi)=>{var et=O("buffer"),j=et.Buffer;function Bi(e,t){for(var r in e)t[r]=e[r]}j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow?Mi.exports=et:(Bi(et,Ht),Ht.Buffer=Q);function Q(e,t,r){return j(e,t,r)}Q.prototype=Object.create(j.prototype);Bi(j,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return j(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=j(e);return t!==void 0?typeof r=="string"?i.fill(t,r):i.fill(t):i.fill(0),i};Q.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return j(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return et.SlowBuffer(e)}});var Jt=p(Li=>{"use strict";var Kt=Ii().Buffer,Di=Kt.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function bs(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function ys(e){var t=bs(e);if(typeof t!="string"&&(Kt.isEncoding===Di||!Di(e)))throw new Error("Unknown encoding: "+e);return t||e}Li.StringDecoder=Se;function Se(e){this.encoding=ys(e);var t;switch(this.encoding){case"utf16le":this.text=Rs,this.end=Ss,t=4;break;case"utf8":this.fillLast=vs,t=4;break;case"base64":this.text=Ts,this.end=Os,t=3;break;default:this.write=As,this.end=Cs;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Kt.allocUnsafe(t)}Se.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};Se.prototype.end=Es;Se.prototype.text=ws;Se.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Vt(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function xs(e,t,r){var i=t.length-1;if(i<r)return 0;var n=Vt(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=Vt(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=Vt(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function ms(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function vs(e){var t=this.lastTotal-this.lastNeed,r=ms(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function ws(e,t){var r=xs(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function Es(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Rs(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Ss(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function Ts(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function Os(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function As(e){return e.toString(this.encoding)}function Cs(e){return e&&e.length?this.write(e):""}});var tt=p((Ia,Fi)=>{"use strict";var Ni=G().codes.ERR_STREAM_PREMATURE_CLOSE;function Bs(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function Ms(){}function Is(e){return e.setHeader&&typeof e.abort=="function"}function Pi(e,t,r){if(typeof t=="function")return Pi(e,null,t);t||(t={}),r=Bs(r||Ms);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||l()},s=e._writableState&&e._writableState.finished,l=function(){n=!1,s=!0,i||r.call(e)},a=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,a=!0,n||r.call(e)},c=function(S){r.call(e,S)},d=function(){var S;if(i&&!a)return(!e._readableState||!e._readableState.ended)&&(S=new Ni),r.call(e,S);if(n&&!s)return(!e._writableState||!e._writableState.ended)&&(S=new Ni),r.call(e,S)},y=function(){e.req.on("finish",l)};return Is(e)?(e.on("complete",l),e.on("abort",d),e.req?y():e.on("request",y)):n&&!e._writableState&&(e.on("end",o),e.on("close",o)),e.on("end",f),e.on("finish",l),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",l),e.removeListener("abort",d),e.removeListener("request",y),e.req&&e.req.removeListener("finish",l),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",l),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Fi.exports=Pi});var ki=p((Da,ji)=>{"use strict";var rt;function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ds=tt(),Y=Symbol("lastResolve"),X=Symbol("lastReject"),Te=Symbol("error"),it=Symbol("ended"),z=Symbol("lastPromise"),Zt=Symbol("handlePromise"),ee=Symbol("stream");function H(e,t){return{value:e,done:t}}function Ls(e){var t=e[Y];if(t!==null){var r=e[ee].read();r!==null&&(e[z]=null,e[Y]=null,e[X]=null,t(H(r,!1)))}}function Ns(e){process.nextTick(Ls,e)}function Ps(e,t){return function(r,i){e.then(function(){if(t[it]){r(H(void 0,!0));return}t[Zt](r,i)},i)}}var Fs=Object.getPrototypeOf(function(){}),js=Object.setPrototypeOf((rt={get stream(){return this[ee]},next:function(){var t=this,r=this[Te];if(r!==null)return Promise.reject(r);if(this[it])return Promise.resolve(H(void 0,!0));if(this[ee].destroyed)return new Promise(function(s,l){process.nextTick(function(){t[Te]?l(t[Te]):s(H(void 0,!0))})});var i=this[z],n;if(i)n=new Promise(Ps(i,this));else{var o=this[ee].read();if(o!==null)return Promise.resolve(H(o,!1));n=new Promise(this[Zt])}return this[z]=n,n}},$(rt,Symbol.asyncIterator,function(){return this}),$(rt,"return",function(){var t=this;return new Promise(function(r,i){t[ee].destroy(null,function(n){if(n){i(n);return}r(H(void 0,!0))})})}),rt),Fs),ks=function(t){var r,i=Object.create(js,(r={},$(r,ee,{value:t,writable:!0}),$(r,Y,{value:null,writable:!0}),$(r,X,{value:null,writable:!0}),$(r,Te,{value:null,writable:!0}),$(r,it,{value:t._readableState.endEmitted,writable:!0}),$(r,Zt,{value:function(o,s){var l=i[ee].read();l?(i[z]=null,i[Y]=null,i[X]=null,o(H(l,!1))):(i[Y]=o,i[X]=s)},writable:!0}),r));return i[z]=null,Ds(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[X];o!==null&&(i[z]=null,i[Y]=null,i[X]=null,o(n)),i[Te]=n;return}var s=i[Y];s!==null&&(i[z]=null,i[Y]=null,i[X]=null,s(H(void 0,!0))),i[it]=!0}),t.on("readable",Ns.bind(null,i)),i};ji.exports=ks});var Wi=p((La,Gi)=>{"use strict";function qi(e,t,r,i,n,o,s){try{var l=e[o](s),a=l.value}catch(f){r(f);return}l.done?t(a):Promise.resolve(a).then(i,n)}function qs(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function s(a){qi(o,i,n,s,l,"next",a)}function l(a){qi(o,i,n,s,l,"throw",a)}s(void 0)})}}function Ui(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,i)}return r}function Us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ui(Object(r),!0).forEach(function(i){Gs(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ui(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ws=G().codes.ERR_INVALID_ARG_TYPE;function $s(e,t,r){var i;if(t&&typeof t.next=="function")i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new Ws("iterable",["Iterable"],t);var n=new e(Us({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,s())};function s(){return l.apply(this,arguments)}function l(){return l=qs(function*(){try{var a=yield i.next(),f=a.value,c=a.done;c?n.push(null):n.push(yield f)?s():o=!1}catch(d){n.destroy(d)}}),l.apply(this,arguments)}return n}Gi.exports=$s});var Yt=p((Pa,zi)=>{"use strict";zi.exports=h;var he;h.ReadableState=Vi;var Na=O("events").EventEmitter,Hi=function(t,r){return t.listeners(r).length},Ae=It(),nt=O("buffer").Buffer,Ys=global.Uint8Array||function(){};function Hs(e){return nt.from(e)}function Vs(e){return nt.isBuffer(e)||e instanceof Ys}var Qt=O("util"),u;Qt&&Qt.debuglog?u=Qt.debuglog("stream"):u=function(){};var Ks=ci(),nr=Nt(),Js=Pt(),Zs=Js.getHighWaterMark,ot=G().codes,Qs=ot.ERR_INVALID_ARG_TYPE,Xs=ot.ERR_STREAM_PUSH_AFTER_EOF,zs=ot.ERR_METHOD_NOT_IMPLEMENTED,el=ot.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ce,Xt,zt;J()(h,Ae);var Oe=nr.errorOrDestroy,er=["error","close","destroy","pause","resume"];function tl(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Vi(e,t,r){he=he||Z(),e=e||{},typeof r!="boolean"&&(r=t instanceof he),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Zs(this,e,"readableHighWaterMark",r),this.buffer=new Ks,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(ce||(ce=Jt().StringDecoder),this.decoder=new ce(e.encoding),this.encoding=e.encoding)}function h(e){if(he=he||Z(),!(this instanceof h))return new h(e);var t=this instanceof he;this._readableState=new Vi(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ae.call(this)}Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});h.prototype.destroy=nr.destroy;h.prototype._undestroy=nr.undestroy;h.prototype._destroy=function(e,t){t(e)};h.prototype.push=function(e,t){var r=this._readableState,i;return r.objectMode?i=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=nt.from(e,t),t=""),i=!0),Ki(this,e,t,!1,i)};h.prototype.unshift=function(e){return Ki(this,e,null,!0,!1)};function Ki(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,nl(e,o);else{var s;if(n||(s=rl(o,t)),s)Oe(e,s);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==nt.prototype&&(t=Hs(t)),i)o.endEmitted?Oe(e,new el):tr(e,o,t,!0);else if(o.ended)Oe(e,new Xs);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?tr(e,o,t,!1):ir(e,o)):tr(e,o,t,!1)}else i||(o.reading=!1,ir(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function tr(e,t,r,i){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&st(e)),ir(e,t)}function rl(e,t){var r;return!Vs(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Qs("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){ce||(ce=Jt().StringDecoder);var t=new ce(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var $i=1073741824;function il(e){return e>=$i?e=$i:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Yi(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=il(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}h.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?rr(this):st(this),null;if(e=Yi(e,t),e===0&&t.ended)return t.length===0&&rr(this),null;var i=t.needReadable;u("need readable",i),(t.length===0||t.length-e<t.highWaterMark)&&(i=!0,u("length less than watermark",i)),t.ended||t.reading?(i=!1,u("reading or ended",i)):i&&(u("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Yi(r,t)));var n;return e>0?n=Qi(e,t):n=null,n===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&rr(this)),n!==null&&this.emit("data",n),n};function nl(e,t){if(u("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?st(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Ji(e)))}}function st(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Ji,e))}function Ji(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,or(e)}function ir(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(ol,e,t))}function ol(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}h.prototype._read=function(e){Oe(this,new zs("_read()"))};h.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,o=n?l:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",s);function s(k,v){u("onunpipe"),k===r&&v&&v.hasUnpiped===!1&&(v.hasUnpiped=!0,c())}function l(){u("onend"),e.end()}var a=sl(r);e.on("drain",a);var f=!1;function c(){u("cleanup"),e.removeListener("close",m),e.removeListener("finish",S),e.removeListener("drain",a),e.removeListener("error",y),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&a()}r.on("data",d);function d(k){u("ondata");var v=e.write(k);u("dest.write",v),v===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Xi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function y(k){u("onerror",k),_(),e.removeListener("error",y),Hi(e,"error")===0&&Oe(e,k)}tl(e,"error",y);function m(){e.removeListener("finish",S),_()}e.once("close",m);function S(){u("onfinish"),e.removeListener("close",m),_()}e.once("finish",S);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function sl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Hi(e,"data")&&(r.flowing=!0,or(e))}}h.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<n;o++)i[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Xi(t.pipes,e);return s===-1?this:(t.pipes.splice(s,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};h.prototype.on=function(e,t){var r=Ae.prototype.on.call(this,e,t),i=this._readableState;return e==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==!1&&this.resume()):e==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?st(this):i.reading||process.nextTick(ll,this)),r};h.prototype.addListener=h.prototype.on;h.prototype.removeListener=function(e,t){var r=Ae.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Zi,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Zi,this),t};function Zi(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function ll(e){u("readable nexttick read 0"),e.read(0)}h.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,al(this,e)),e.paused=!1,this};function al(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(fl,e,t))}function fl(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),or(e),t.flowing&&!t.reading&&e.read(0)}h.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function or(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&e.read()!==null;);}h.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&t.push(s)}t.push(null)}),e.on("data",function(s){if(u("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var l=t.push(s);l||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(l){return function(){return e[l].apply(e,arguments)}}(n));for(var o=0;o<er.length;o++)e.on(er[o],this.emit.bind(this,er[o]));return this._read=function(s){u("wrapped _read",s),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Xt===void 0&&(Xt=ki()),Xt(this)});Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(h.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(h.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});h._fromList=Qi;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Qi(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function rr(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(ul,t,e))}function ul(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(h.from=function(e,t){return zt===void 0&&(zt=Wi()),zt(h,e,t)});function Xi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var sr=p((Fa,tn)=>{"use strict";tn.exports=U;var lt=G().codes,hl=lt.ERR_METHOD_NOT_IMPLEMENTED,cl=lt.ERR_MULTIPLE_CALLBACK,dl=lt.ERR_TRANSFORM_ALREADY_TRANSFORMING,pl=lt.ERR_TRANSFORM_WITH_LENGTH_0,at=Z();J()(U,at);function _l(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new cl);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function U(e){if(!(this instanceof U))return new U(e);at.call(this,e),this._transformState={afterTransform:_l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",gl)}function gl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){en(e,t,r)}):en(this,null,null)}U.prototype.push=function(e,t){return this._transformState.needTransform=!1,at.prototype.push.call(this,e,t)};U.prototype._transform=function(e,t,r){r(new hl("_transform()"))};U.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};U.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};U.prototype._destroy=function(e,t){at.prototype._destroy.call(this,e,function(r){t(r)})};function en(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new pl;if(e._transformState.transforming)throw new dl;return e.push(null)}});var on=p((ja,nn)=>{"use strict";nn.exports=Ce;var rn=sr();J()(Ce,rn);function Ce(e){if(!(this instanceof Ce))return new Ce(e);rn.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var un=p((ka,fn)=>{"use strict";var lr;function bl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var an=G().codes,yl=an.ERR_MISSING_ARGS,xl=an.ERR_STREAM_DESTROYED;function sn(e){if(e)throw e}function ml(e){return e.setHeader&&typeof e.abort=="function"}function vl(e,t,r,i){i=bl(i);var n=!1;e.on("close",function(){n=!0}),lr===void 0&&(lr=tt()),lr(e,{readable:t,writable:r},function(s){if(s)return i(s);n=!0,i()});var o=!1;return function(s){if(!n&&!o){if(o=!0,ml(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(s||new xl("pipe"))}}}function ln(e){e()}function wl(e,t){return e.pipe(t)}function El(e){return!e.length||typeof e[e.length-1]!="function"?sn:e.pop()}function Rl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=El(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new yl("streams");var n,o=t.map(function(s,l){var a=l<t.length-1,f=l>0;return vl(s,a,f,function(c){n||(n=c),c&&o.forEach(ln),!a&&(o.forEach(ln),i(n))})});return t.reduce(wl)}fn.exports=Rl});var hn=p((I,Me)=>{var Be=O("stream");process.env.READABLE_STREAM==="disable"&&Be?(Me.exports=Be.Readable,Object.assign(Me.exports,Be),Me.exports.Stream=Be):(I=Me.exports=Yt(),I.Stream=Be||I,I.Readable=I,I.Writable=Gt(),I.Duplex=Z(),I.Transform=sr(),I.PassThrough=on(),I.finished=tt(),I.pipeline=un())});var pn=p((qa,dn)=>{"use strict";var{Buffer:L}=O("buffer"),cn=Symbol.for("BufferList");function g(e){if(!(this instanceof g))return new g(e);g._init.call(this,e)}g._init=function(t){Object.defineProperty(this,cn,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};g.prototype._new=function(t){return new g(t)};g.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(t<n||i===this._bufs.length-1)return[i,t-r];r=n}};g.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r};g.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};g.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};g.prototype.copy=function(t,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return t||L.alloc(0);let o=!!t,s=this._offset(i),l=n-i,a=l,f=o&&r||0,c=s[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:L.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,f),f+=this._bufs[d].length;return t}if(a<=this._bufs[s[0]].length-c)return o?this._bufs[s[0]].copy(t,r,c,c+a):this._bufs[s[0]].slice(c,c+a);o||(t=L.allocUnsafe(l));for(let d=s[0];d<this._bufs.length;d++){let y=this._bufs[d].length-c;if(a>y)this._bufs[d].copy(t,f,c),f+=y;else{this._bufs[d].copy(t,f,c,c+a),f+=y;break}a-=y,c&&(c=0)}return t.length>f?t.slice(0,f):t};g.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let i=this._offset(t),n=this._offset(r),o=this._bufs.slice(i[0],n[0]+1);return n[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,n[1]),i[1]!==0&&(o[0]=o[0].slice(i[1])),this._new(o)};g.prototype.toString=function(t,r,i){return this.slice(r,i).toString(t)};g.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};g.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};g.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(L.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(L.from(t));return this};g.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};g.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=L.from([e]):typeof e=="string"?e=L.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=L.from(e.buffer,e.byteOffset,e.byteLength):L.isBuffer(e)||(e=L.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let i=this._offset(t),n=i[0],o=i[1];for(;n<this._bufs.length;n++){let s=this._bufs[n];for(;o<s.length;)if(s.length-o>=e.length){let a=s.indexOf(e,o);if(a!==-1)return this._reverseOffset([n,a]);o=s.length-e.length+1}else{let a=this._reverseOffset([n,o]);if(this._match(a,e))return a;o++}o=0}return-1};g.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?g.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:g.prototype[r]=function(i=0){return this.slice(i,i+e[r])[r](0)}})(t)})();g.prototype._isBufferList=function(t){return t instanceof g||g.isBufferList(t)};g.isBufferList=function(t){return t!=null&&t[cn]};dn.exports=g});var _n=p((Ua,ft)=>{"use strict";var ar=hn().Duplex,Sl=J(),Ie=pn();function T(e){if(!(this instanceof T))return new T(e);if(typeof e=="function"){this._callback=e;let t=function(i){this._callback&&(this._callback(i),this._callback=null)}.bind(this);this.on("pipe",function(i){i.on("error",t)}),this.on("unpipe",function(i){i.removeListener("error",t)}),e=null}Ie._init.call(this,e),ar.call(this)}Sl(T,ar);Object.assign(T.prototype,Ie.prototype);T.prototype._new=function(t){return new T(t)};T.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};T.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};T.prototype.end=function(t){ar.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};T.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};T.prototype._isBufferList=function(t){return t instanceof T||t instanceof Ie||T.isBufferList(t)};T.isBufferList=Ie.isBufferList;ft.exports=T;ft.exports.BufferListStream=T;ft.exports.BufferList=Ie});var gr=(e=0)=>t=>`\x1B[${t+e}m`,br=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,yr=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`;function An(){let e=new Map,t={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],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,i]of Object.entries(t)){for(let[n,o]of Object.entries(i))t[n]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},i[n]=t[n],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:i,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=gr(),t.color.ansi256=br(),t.color.ansi16m=yr(),t.bgColor.ansi=gr(10),t.bgColor.ansi256=br(10),t.bgColor.ansi16m=yr(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,i,n)=>r===i&&i===n?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5),enumerable:!1},hexToRgb:{value:r=>{let i=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!i)return[0,0,0];let{colorString:n}=i.groups;n.length===3&&(n=[...n].map(s=>s+s).join(""));let o=Number.parseInt(n,16);return[o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let i,n,o;if(r>=232)i=((r-232)*10+8)/255,n=i,o=i;else{r-=16;let a=r%36;i=Math.floor(r/36)/5,n=Math.floor(a/6)/5,o=a%6/5}let s=Math.max(i,n,o)*2;if(s===0)return 30;let l=30+(Math.round(o)<<2|Math.round(n)<<1|Math.round(i));return s===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(r,i,n)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,i,n)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var Cn=An(),D=Cn;import _t from"node:process";import Bn from"node:os";import xr from"node:tty";function C(e,t=_t.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return i!==-1&&(n===-1||i<n)}var{env:w}=_t,Le;C("no-color")||C("no-colors")||C("color=false")||C("color=never")?Le=0:(C("color")||C("colors")||C("color=true")||C("color=always"))&&(Le=1);function Mn(){if("FORCE_COLOR"in w)return w.FORCE_COLOR==="true"?1:w.FORCE_COLOR==="false"?0:w.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(w.FORCE_COLOR,10),3)}function In(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Dn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Mn();i!==void 0&&(Le=i);let n=r?Le:i;if(n===0)return 0;if(r){if(C("color=16m")||C("color=full")||C("color=truecolor"))return 3;if(C("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(w.TERM==="dumb")return o;if(_t.platform==="win32"){let s=Bn.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in w)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in w)||w.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in w)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(w.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in w&&"AGENT_NAME"in w)return 1;if(w.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in w){let s=Number.parseInt((w.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(w.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(w.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(w.TERM)||"COLORTERM"in w?1:o}function mr(e,t={}){let r=Dn(e,{streamIsTTY:e&&e.isTTY,...t});return In(r)}var Ln={stdout:mr({isTTY:xr.isatty(1)}),stderr:mr({isTTY:xr.isatty(2)})},vr=Ln;function wr(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,s="";do s+=e.substr(o,i-o)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return s+=e.slice(o),s}function Er(e,t,r,i){let n=0,o="";do{let s=e[i-1]==="\r";o+=e.substr(n,(s?i-1:i)-n)+t+(s?`\r
|
4
|
+
var $f=Object.create;var Ws=Object.defineProperty;var Gf=Object.getOwnPropertyDescriptor;var Uf=Object.getOwnPropertyNames;var Wf=Object.getPrototypeOf,Vf=Object.prototype.hasOwnProperty;var L=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(t,r)=>(typeof require!="undefined"?require:t)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Yf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Uf(t))!Vf.call(e,i)&&i!==r&&Ws(e,i,{get:()=>t[i],enumerable:!(n=Gf(t,i))||n.enumerable});return e};var st=(e,t,r)=>(r=e!=null?$f(Wf(e)):{},Yf(t||!e||!e.__esModule?Ws(r,"default",{value:e,enumerable:!0}):r,e));var ho=g((Ey,bn)=>{"use strict";var co=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};bn.exports=co;bn.exports.default=co});var _o=g((Ry,lr)=>{"use strict";var Mc=ho(),ar=new WeakMap,po=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0,i=e.displayName||e.name||"<anonymous>",s=function(...o){if(ar.set(s,++n),n===1)r=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return Mc(s,e),ar.set(s,n),s};lr.exports=po;lr.exports.default=po;lr.exports.callCount=e=>{if(!ar.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ar.get(e)}});var go=g((Ay,ur)=>{ur.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&ur.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&ur.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var xo=g((wy,ht)=>{var $=global.process,Ve=function(e){return 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"};Ve($)?(yo=L("assert"),ft=go(),mo=/^win/i.test($.platform),Dt=L("events"),typeof Dt!="function"&&(Dt=Dt.EventEmitter),$.__signal_exit_emitter__?X=$.__signal_exit_emitter__:(X=$.__signal_exit_emitter__=new Dt,X.count=0,X.emitted={}),X.infinite||(X.setMaxListeners(1/0),X.infinite=!0),ht.exports=function(e,t){if(!Ve(global.process))return function(){};yo.equal(typeof e,"function","a callback must be provided for exit handler"),ct===!1&&vn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){X.removeListener(r,e),X.listeners("exit").length===0&&X.listeners("afterexit").length===0&&fr()};return X.on(r,e),n},fr=function(){!ct||!Ve(global.process)||(ct=!1,ft.forEach(function(t){try{$.removeListener(t,cr[t])}catch{}}),$.emit=hr,$.reallyExit=xn,X.count-=1)},ht.exports.unload=fr,Ye=function(t,r,n){X.emitted[t]||(X.emitted[t]=!0,X.emit(t,r,n))},cr={},ft.forEach(function(e){cr[e]=function(){if(!!Ve(global.process)){var r=$.listeners(e);r.length===X.count&&(fr(),Ye("exit",null,e),Ye("afterexit",null,e),mo&&e==="SIGHUP"&&(e="SIGINT"),$.kill($.pid,e))}}}),ht.exports.signals=function(){return ft},ct=!1,vn=function(){ct||!Ve(global.process)||(ct=!0,X.count+=1,ft=ft.filter(function(t){try{return $.on(t,cr[t]),!0}catch{return!1}}),$.emit=vo,$.reallyExit=bo)},ht.exports.load=vn,xn=$.reallyExit,bo=function(t){!Ve(global.process)||($.exitCode=t||0,Ye("exit",$.exitCode,null),Ye("afterexit",$.exitCode,null),xn.call($,$.exitCode))},hr=$.emit,vo=function(t,r){if(t==="exit"&&Ve(global.process)){r!==void 0&&($.exitCode=r);var n=hr.apply(this,arguments);return Ye("exit",$.exitCode,null),Ye("afterexit",$.exitCode,null),n}else return hr.apply(this,arguments)}):ht.exports=function(){return function(){}};var yo,ft,mo,Dt,X,fr,Ye,cr,ct,vn,xn,bo,hr,vo});var wo=g((My,Ic)=>{Ic.exports={dots:{interval:80,frames:["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},dots2:{interval:80,frames:["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},dots3:{interval:80,frames:["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},dots4:{interval:80,frames:["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},dots5:{interval:80,frames:["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},dots6:{interval:80,frames:["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},dots7:{interval:80,frames:["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},dots8:{interval:80,frames:["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},dots9:{interval:80,frames:["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},dots10:{interval:80,frames:["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},dots11:{interval:100,frames:["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},dots12:{interval:80,frames:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["⠂","-","–","—","–","-"]},pipe:{interval:100,frames:["┤","┘","┴","└","├","┌","┬","┐"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["✶","✸","✹","✺","✹","✷"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","´","-","_","_","_"]},hamburger:{interval:100,frames:["☱","☲","☴"]},growVertical:{interval:120,frames:["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},growHorizontal:{interval:120,frames:["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","°","O","o","."]},noise:{interval:100,frames:["▓","▒","░"]},bounce:{interval:120,frames:["⠁","⠂","⠄","⠂"]},boxBounce:{interval:120,frames:["▖","▘","▝","▗"]},boxBounce2:{interval:100,frames:["▌","▀","▐","▄"]},triangle:{interval:50,frames:["◢","◣","◤","◥"]},arc:{interval:100,frames:["◜","◠","◝","◞","◡","◟"]},circle:{interval:120,frames:["◡","⊙","◠"]},squareCorners:{interval:180,frames:["◰","◳","◲","◱"]},circleQuarters:{interval:120,frames:["◴","◷","◶","◵"]},circleHalves:{interval:50,frames:["◐","◓","◑","◒"]},squish:{interval:100,frames:["╫","╪"]},toggle:{interval:250,frames:["⊶","⊷"]},toggle2:{interval:80,frames:["▫","▪"]},toggle3:{interval:120,frames:["□","■"]},toggle4:{interval:100,frames:["■","□","▪","▫"]},toggle5:{interval:100,frames:["▮","▯"]},toggle6:{interval:300,frames:["ဝ","၀"]},toggle7:{interval:80,frames:["⦾","⦿"]},toggle8:{interval:100,frames:["◍","◌"]},toggle9:{interval:100,frames:["◉","◎"]},toggle10:{interval:100,frames:["㊂","㊀","㊁"]},toggle11:{interval:50,frames:["⧇","⧆"]},toggle12:{interval:120,frames:["☗","☖"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["←","↖","↑","↗","→","↘","↓","↙"]},arrow2:{interval:80,frames:["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},arrow3:{interval:120,frames:["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},smiley:{interval:200,frames:["😄 ","😝 "]},monkey:{interval:300,frames:["🙈 ","🙈 ","🙉 ","🙊 "]},hearts:{interval:100,frames:["💛 ","💙 ","💜 ","💚 ","❤️ "]},clock:{interval:100,frames:["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},earth:{interval:180,frames:["🌍 ","🌎 ","🌏 "]},material:{interval:17,frames:["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},moon:{interval:80,frames:["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},runner:{interval:140,frames:["🚶 ","🏃 "]},pong:{interval:80,frames:["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},shark:{interval:120,frames:["▐|\\____________▌","▐_|\\___________▌","▐__|\\__________▌","▐___|\\_________▌","▐____|\\________▌","▐_____|\\_______▌","▐______|\\______▌","▐_______|\\_____▌","▐________|\\____▌","▐_________|\\___▌","▐__________|\\__▌","▐___________|\\_▌","▐____________|\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},christmas:{interval:400,frames:["🌲","🎄"]},grenade:{interval:80,frames:["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},point:{interval:125,frames:["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},layer:{interval:150,frames:["-","=","≡"]},betaWave:{interval:80,frames:["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},fingerDance:{interval:160,frames:["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},fistBump:{interval:80,frames:["🤜 🤛 ","🤜 🤛 ","🤜 🤛 "," 🤜 🤛 "," 🤜🤛 "," 🤜✨🤛 ","🤜 ✨ 🤛 "]},soccerHeader:{interval:80,frames:[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},mindblown:{interval:160,frames:["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ "," "," "," "]},speaker:{interval:160,frames:["🔈 ","🔉 ","🔊 ","🔉 "]},orangePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},bluePulse:{interval:100,frames:["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},orangeBluePulse:{interval:100,frames:["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},timeTravel:{interval:100,frames:["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},aesthetic:{interval:80,frames:["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]}}});var Oo=g((By,Co)=>{"use strict";var dr=Object.assign({},wo()),To=Object.keys(dr);Object.defineProperty(dr,"random",{get(){let e=Math.floor(Math.random()*To.length),t=To[e];return dr[t]}});Co.exports=dr});var Po=g(($y,_r)=>{var qc=function(){"use strict";function e(o,a,l,c){var u;typeof a=="object"&&(l=a.depth,c=a.prototype,u=a.filter,a=a.circular);var d=[],f=[],S=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof l>"u"&&(l=1/0);function m(y,E){if(y===null)return null;if(E==0)return y;var x,D;if(typeof y!="object")return y;if(e.__isArray(y))x=[];else if(e.__isRegExp(y))x=new RegExp(y.source,s(y)),y.lastIndex&&(x.lastIndex=y.lastIndex);else if(e.__isDate(y))x=new Date(y.getTime());else{if(S&&Buffer.isBuffer(y))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(y.length):x=new Buffer(y.length),y.copy(x),x;typeof c>"u"?(D=Object.getPrototypeOf(y),x=Object.create(D)):(x=Object.create(c),D=c)}if(a){var k=d.indexOf(y);if(k!=-1)return f[k];d.push(y),f.push(x)}for(var Z in y){var w;D&&(w=Object.getOwnPropertyDescriptor(D,Z)),!(w&&w.set==null)&&(x[Z]=m(y[Z],E-1))}return x}return m(o,l)}e.clonePrototype=function(a){if(a===null)return null;var l=function(){};return l.prototype=a,new l};function t(o){return Object.prototype.toString.call(o)}e.__objToStr=t;function r(o){return typeof o=="object"&&t(o)==="[object Date]"}e.__isDate=r;function n(o){return typeof o=="object"&&t(o)==="[object Array]"}e.__isArray=n;function i(o){return typeof o=="object"&&t(o)==="[object RegExp]"}e.__isRegExp=i;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return e.__getRegExpFlags=s,e}();typeof _r=="object"&&_r.exports&&(_r.exports=qc)});var Mo=g((Gy,Lo)=>{var jc=Po();Lo.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=jc(t[r]))}),e}});var Do=g((Uy,Bo)=>{Bo.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var Fo=g((Wy,An)=>{"use strict";var Hc=Mo(),Nt=Do(),ko={nul:0,control:0};An.exports=function(t){return No(t,ko)};An.exports.config=function(e){return e=Hc(e||{},ko),function(r){return No(r,e)}};function No(e,t){if(typeof e!="string")return Io(e,t);for(var r=0,n=0;n<e.length;n++){var i=Io(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function Io(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:$c(e)?0:1+(e>=4352&&(e<=4447||e==9001||e==9002||e>=11904&&e<=42191&&e!=12351||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}function $c(e){var t=0,r=Nt.length-1,n;if(e<Nt[0][0]||e>Nt[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>Nt[n][1])t=n+1;else if(e<Nt[n][0])r=n-1;else return!0;return!1}});var Tn=g((Yy,qo)=>{qo.exports=L("stream")});var Go=g((Ky,$o)=>{"use strict";function jo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Gc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jo(Object(r),!0).forEach(function(n){Uc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vc(e,t,r){return t&&Ho(e.prototype,t),r&&Ho(e,r),e}var Yc=L("buffer"),gr=Yc.Buffer,Kc=L("util"),Cn=Kc.inspect,Qc=Cn&&Cn.custom||"inspect";function Xc(e,t,r){gr.prototype.copy.call(e,t,r)}$o.exports=function(){function e(){Wc(this,e),this.head=null,this.tail=null,this.length=0}return Vc(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return gr.alloc(0);for(var n=gr.allocUnsafe(r>>>0),i=this.head,s=0;i;)Xc(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,s=n.data;for(r-=s.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=gr.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,a),r-=a,r===0){a===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++s}return this.length-=s,n}},{key:Qc,value:function(r,n){return Cn(this,Gc({},n,{depth:0,customInspect:!1}))}}]),e}()});var Pn=g((Qy,Wo)=>{"use strict";function Jc(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(On,this,e)):process.nextTick(On,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(yr,r):(r._writableState.errorEmitted=!0,process.nextTick(Uo,r,s)):process.nextTick(Uo,r,s):t?(process.nextTick(yr,r),t(s)):process.nextTick(yr,r)}),this)}function Uo(e,t){On(e,t),yr(e)}function yr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Zc(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function On(e,t){e.emit("error",t)}function zc(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Wo.exports={destroy:Jc,undestroy:Zc,errorOrDestroy:zc}});var De=g((Xy,Ko)=>{"use strict";var Yo={};function ce(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}class i extends r{constructor(o,a,l){super(n(o,a,l))}}i.prototype.name=r.name,i.prototype.code=e,Yo[e]=i}function Vo(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function eh(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function th(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function rh(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ce("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ce("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&eh(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(th(e," argument"))i=`The ${e} ${n} ${Vo(t,"type")}`;else{let s=rh(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${Vo(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);ce("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ce("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ce("ERR_STREAM_PREMATURE_CLOSE","Premature close");ce("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ce("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ce("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ce("ERR_STREAM_WRITE_AFTER_END","write after end");ce("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ce("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ce("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Ko.exports.codes=Yo});var Ln=g((Jy,Qo)=>{"use strict";var nh=De().codes.ERR_INVALID_OPT_VALUE;function ih(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function sh(e,t,r,n){var i=ih(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new nh(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}Qo.exports={getHighWaterMark:sh}});var Xo=g((Zy,Mn)=>{typeof Object.create=="function"?Mn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Mn.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Ke=g((zy,Dn)=>{try{if(Bn=L("util"),typeof Bn.inherits!="function")throw"";Dn.exports=Bn.inherits}catch{Dn.exports=Xo()}var Bn});var Zo=g((em,Jo)=>{Jo.exports=L("util").deprecate});var Nn=g((tm,ia)=>{"use strict";ia.exports=W;function ea(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Mh(t,e)}}var dt;W.WritableState=qt;var oh={deprecate:Zo()},ta=Tn(),br=L("buffer").Buffer,ah=global.Uint8Array||function(){};function lh(e){return br.from(e)}function uh(e){return br.isBuffer(e)||e instanceof ah}var kn=Pn(),fh=Ln(),ch=fh.getHighWaterMark,Ie=De().codes,hh=Ie.ERR_INVALID_ARG_TYPE,ph=Ie.ERR_METHOD_NOT_IMPLEMENTED,dh=Ie.ERR_MULTIPLE_CALLBACK,_h=Ie.ERR_STREAM_CANNOT_PIPE,gh=Ie.ERR_STREAM_DESTROYED,yh=Ie.ERR_STREAM_NULL_VALUES,mh=Ie.ERR_STREAM_WRITE_AFTER_END,bh=Ie.ERR_UNKNOWN_ENCODING,_t=kn.errorOrDestroy;Ke()(W,ta);function vh(){}function qt(e,t,r){dt=dt||Qe(),e=e||{},typeof r!="boolean"&&(r=t instanceof dt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=ch(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){Th(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ea(this)}qt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(qt.prototype,"buffer",{get:oh.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var mr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(mr=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(t){return mr.call(this,t)?!0:this!==W?!1:t&&t._writableState instanceof qt}})):mr=function(t){return t instanceof this};function W(e){dt=dt||Qe();var t=this instanceof dt;if(!t&&!mr.call(W,this))return new W(e);this._writableState=new qt(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),ta.call(this)}W.prototype.pipe=function(){_t(this,new _h)};function xh(e,t){var r=new mh;_t(e,r),process.nextTick(t,r)}function Sh(e,t,r,n){var i;return r===null?i=new yh:typeof r!="string"&&!t.objectMode&&(i=new hh("chunk",["string","Buffer"],r)),i?(_t(e,i),process.nextTick(n,i),!1):!0}W.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&uh(e);return s&&!br.isBuffer(e)&&(e=lh(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=vh),n.ending?xh(this,r):(s||Sh(this,n,e,r))&&(n.pendingcb++,i=Rh(this,n,s,e,t,r)),i};W.prototype.cork=function(){this._writableState.corked++};W.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ra(this,e))};W.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new bh(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(W.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Eh(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=br.from(t,r)),t}Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Rh(e,t,r,n,i,s){if(!r){var o=Eh(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else In(e,t,!1,a,n,i,s);return l}function In(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new gh("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Ah(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Ft,e,t),e._writableState.errorEmitted=!0,_t(e,n)):(i(n),e._writableState.errorEmitted=!0,_t(e,n),Ft(e,t))}function wh(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Th(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new dh;if(wh(r),t)Ah(e,r,n,t,i);else{var s=na(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ra(e,r),n?process.nextTick(zo,e,r,s,i):zo(e,r,s,i)}}function zo(e,t,r,n){r||Ch(e,t),t.pendingcb--,n(),Ft(e,t)}function Ch(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ra(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)i[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;i.allBuffers=a,In(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new ea(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,u=r.callback,d=t.objectMode?1:l.length;if(In(e,t,!1,d,l,c,u),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}W.prototype._write=function(e,t,r){r(new ph("_write()"))};W.prototype._writev=null;W.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||Lh(this,n,r),this};Object.defineProperty(W.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function na(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Oh(e,t){e._final(function(r){t.pendingcb--,r&&_t(e,r),t.prefinished=!0,e.emit("prefinish"),Ft(e,t)})}function Ph(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Oh,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Ft(e,t){var r=na(t);if(r&&(Ph(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function Lh(e,t,r){t.ending=!0,Ft(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Mh(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(W.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});W.prototype.destroy=kn.destroy;W.prototype._undestroy=kn.undestroy;W.prototype._destroy=function(e,t){t(e)}});var Qe=g((rm,oa)=>{"use strict";var Bh=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};oa.exports=xe;var sa=jn(),qn=Nn();Ke()(xe,sa);for(Fn=Bh(qn.prototype),vr=0;vr<Fn.length;vr++)xr=Fn[vr],xe.prototype[xr]||(xe.prototype[xr]=qn.prototype[xr]);var Fn,xr,vr;function xe(e){if(!(this instanceof xe))return new xe(e);sa.call(this,e),qn.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Dh)))}Object.defineProperty(xe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(xe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(xe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Dh(){this._writableState.ended||process.nextTick(Ih,this)}function Ih(e){e.end()}Object.defineProperty(xe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var ua=g((Hn,la)=>{var Sr=L("buffer"),Se=Sr.Buffer;function aa(e,t){for(var r in e)t[r]=e[r]}Se.from&&Se.alloc&&Se.allocUnsafe&&Se.allocUnsafeSlow?la.exports=Sr:(aa(Sr,Hn),Hn.Buffer=Xe);function Xe(e,t,r){return Se(e,t,r)}Xe.prototype=Object.create(Se.prototype);aa(Se,Xe);Xe.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Se(e,t,r)};Xe.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Se(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Xe.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Se(e)};Xe.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Sr.SlowBuffer(e)}});var Un=g(ca=>{"use strict";var Gn=ua().Buffer,fa=Gn.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function kh(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function Nh(e){var t=kh(e);if(typeof t!="string"&&(Gn.isEncoding===fa||!fa(e)))throw new Error("Unknown encoding: "+e);return t||e}ca.StringDecoder=jt;function jt(e){this.encoding=Nh(e);var t;switch(this.encoding){case"utf16le":this.text=Gh,this.end=Uh,t=4;break;case"utf8":this.fillLast=jh,t=4;break;case"base64":this.text=Wh,this.end=Vh,t=3;break;default:this.write=Yh,this.end=Kh;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Gn.allocUnsafe(t)}jt.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""};jt.prototype.end=$h;jt.prototype.text=Hh;jt.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function $n(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Fh(e,t,r){var n=t.length-1;if(n<r)return 0;var i=$n(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function qh(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function jh(e){var t=this.lastTotal-this.lastNeed,r=qh(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function Hh(e,t){var r=Fh(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function $h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Gh(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Uh(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function Wh(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function Vh(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Yh(e){return e.toString(this.encoding)}function Kh(e){return e&&e.length?this.write(e):""}});var Er=g((im,da)=>{"use strict";var ha=De().codes.ERR_STREAM_PREMATURE_CLOSE;function Qh(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function Xh(){}function Jh(e){return e.setHeader&&typeof e.abort=="function"}function pa(e,t,r){if(typeof t=="function")return pa(e,null,t);t||(t={}),r=Qh(r||Xh);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){i=!1,o=!0,n||r.call(e)},l=e._readableState&&e._readableState.endEmitted,c=function(){n=!1,l=!0,i||r.call(e)},u=function(m){r.call(e,m)},d=function(){var m;if(n&&!l)return(!e._readableState||!e._readableState.ended)&&(m=new ha),r.call(e,m);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(m=new ha),r.call(e,m)},f=function(){e.req.on("finish",a)};return Jh(e)?(e.on("complete",a),e.on("abort",d),e.req?f():e.on("request",f)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",c),e.on("finish",a),t.error!==!1&&e.on("error",u),e.on("close",d),function(){e.removeListener("complete",a),e.removeListener("abort",d),e.removeListener("request",f),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",c),e.removeListener("error",u),e.removeListener("close",d)}}da.exports=pa});var ga=g((sm,_a)=>{"use strict";var Rr;function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zh=Er(),Ne=Symbol("lastResolve"),Je=Symbol("lastReject"),Ht=Symbol("error"),Ar=Symbol("ended"),Ze=Symbol("lastPromise"),Wn=Symbol("handlePromise"),ze=Symbol("stream");function Fe(e,t){return{value:e,done:t}}function zh(e){var t=e[Ne];if(t!==null){var r=e[ze].read();r!==null&&(e[Ze]=null,e[Ne]=null,e[Je]=null,t(Fe(r,!1)))}}function ep(e){process.nextTick(zh,e)}function tp(e,t){return function(r,n){e.then(function(){if(t[Ar]){r(Fe(void 0,!0));return}t[Wn](r,n)},n)}}var rp=Object.getPrototypeOf(function(){}),np=Object.setPrototypeOf((Rr={get stream(){return this[ze]},next:function(){var t=this,r=this[Ht];if(r!==null)return Promise.reject(r);if(this[Ar])return Promise.resolve(Fe(void 0,!0));if(this[ze].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[Ht]?a(t[Ht]):o(Fe(void 0,!0))})});var n=this[Ze],i;if(n)i=new Promise(tp(n,this));else{var s=this[ze].read();if(s!==null)return Promise.resolve(Fe(s,!1));i=new Promise(this[Wn])}return this[Ze]=i,i}},ke(Rr,Symbol.asyncIterator,function(){return this}),ke(Rr,"return",function(){var t=this;return new Promise(function(r,n){t[ze].destroy(null,function(i){if(i){n(i);return}r(Fe(void 0,!0))})})}),Rr),rp),ip=function(t){var r,n=Object.create(np,(r={},ke(r,ze,{value:t,writable:!0}),ke(r,Ne,{value:null,writable:!0}),ke(r,Je,{value:null,writable:!0}),ke(r,Ht,{value:null,writable:!0}),ke(r,Ar,{value:t._readableState.endEmitted,writable:!0}),ke(r,Wn,{value:function(s,o){var a=n[ze].read();a?(n[Ze]=null,n[Ne]=null,n[Je]=null,s(Fe(a,!1))):(n[Ne]=s,n[Je]=o)},writable:!0}),r));return n[Ze]=null,Zh(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[Je];s!==null&&(n[Ze]=null,n[Ne]=null,n[Je]=null,s(i)),n[Ht]=i;return}var o=n[Ne];o!==null&&(n[Ze]=null,n[Ne]=null,n[Je]=null,o(Fe(void 0,!0))),n[Ar]=!0}),t.on("readable",ep.bind(null,n)),n};_a.exports=ip});var va=g((om,ba)=>{"use strict";function ya(e,t,r,n,i,s,o){try{var a=e[s](o),l=a.value}catch(c){r(c);return}a.done?t(l):Promise.resolve(l).then(n,i)}function sp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(l){ya(s,n,i,o,a,"next",l)}function a(l){ya(s,n,i,o,a,"throw",l)}o(void 0)})}}function ma(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function op(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ma(Object(r),!0).forEach(function(n){ap(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ma(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var lp=De().codes.ERR_INVALID_ARG_TYPE;function up(e,t,r){var n;if(t&&typeof t.next=="function")n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])n=t[Symbol.iterator]();else throw new lp("iterable",["Iterable"],t);var i=new e(op({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=sp(function*(){try{var l=yield n.next(),c=l.value,u=l.done;u?i.push(null):i.push(yield c)?o():s=!1}catch(d){i.destroy(d)}}),a.apply(this,arguments)}return i}ba.exports=up});var jn=g((lm,Pa)=>{"use strict";Pa.exports=M;var gt;M.ReadableState=Ra;var am=L("events").EventEmitter,Ea=function(t,r){return t.listeners(r).length},Gt=Tn(),wr=L("buffer").Buffer,fp=global.Uint8Array||function(){};function cp(e){return wr.from(e)}function hp(e){return wr.isBuffer(e)||e instanceof fp}var Vn=L("util"),O;Vn&&Vn.debuglog?O=Vn.debuglog("stream"):O=function(){};var pp=Go(),zn=Pn(),dp=Ln(),_p=dp.getHighWaterMark,Tr=De().codes,gp=Tr.ERR_INVALID_ARG_TYPE,yp=Tr.ERR_STREAM_PUSH_AFTER_EOF,mp=Tr.ERR_METHOD_NOT_IMPLEMENTED,bp=Tr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,yt,Yn,Kn;Ke()(M,Gt);var $t=zn.errorOrDestroy,Qn=["error","close","destroy","pause","resume"];function vp(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Ra(e,t,r){gt=gt||Qe(),e=e||{},typeof r!="boolean"&&(r=t instanceof gt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=_p(this,e,"readableHighWaterMark",r),this.buffer=new pp,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(yt||(yt=Un().StringDecoder),this.decoder=new yt(e.encoding),this.encoding=e.encoding)}function M(e){if(gt=gt||Qe(),!(this instanceof M))return new M(e);var t=this instanceof gt;this._readableState=new Ra(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Gt.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});M.prototype.destroy=zn.destroy;M.prototype._undestroy=zn.undestroy;M.prototype._destroy=function(e,t){t(e)};M.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=wr.from(e,t),t=""),n=!0),Aa(this,e,t,!1,n)};M.prototype.unshift=function(e){return Aa(this,e,null,!0,!1)};function Aa(e,t,r,n,i){O("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,Ep(e,s);else{var o;if(i||(o=xp(s,t)),o)$t(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==wr.prototype&&(t=cp(t)),n)s.endEmitted?$t(e,new bp):Xn(e,s,t,!0);else if(s.ended)$t(e,new yp);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Xn(e,s,t,!1):Zn(e,s)):Xn(e,s,t,!1)}else n||(s.reading=!1,Zn(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function Xn(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Cr(e)),Zn(e,t)}function xp(e,t){var r;return!hp(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new gp("chunk",["string","Buffer","Uint8Array"],t)),r}M.prototype.isPaused=function(){return this._readableState.flowing===!1};M.prototype.setEncoding=function(e){yt||(yt=Un().StringDecoder);var t=new yt(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var xa=1073741824;function Sp(e){return e>=xa?e=xa:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Sa(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=Sp(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}M.prototype.read=function(e){O("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return O("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Jn(this):Cr(this),null;if(e=Sa(e,t),e===0&&t.ended)return t.length===0&&Jn(this),null;var n=t.needReadable;O("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,O("length less than watermark",n)),t.ended||t.reading?(n=!1,O("reading or ended",n)):n&&(O("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Sa(r,t)));var i;return e>0?i=Ca(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Jn(this)),i!==null&&this.emit("data",i),i};function Ep(e,t){if(O("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?Cr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,wa(e)))}}function Cr(e){var t=e._readableState;O("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(wa,e))}function wa(e){var t=e._readableState;O("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ei(e)}function Zn(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Rp,e,t))}function Rp(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(O("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}M.prototype._read=function(e){$t(this,new mp("_read()"))};M.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,O("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:y;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(E,x){O("onunpipe"),E===r&&x&&x.hasUnpiped===!1&&(x.hasUnpiped=!0,u())}function a(){O("onend"),e.end()}var l=Ap(r);e.on("drain",l);var c=!1;function u(){O("cleanup"),e.removeListener("close",S),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",y),r.removeListener("data",d),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}r.on("data",d);function d(E){O("ondata");var x=e.write(E);O("dest.write",x),x===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Oa(n.pipes,e)!==-1)&&!c&&(O("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(E){O("onerror",E),y(),e.removeListener("error",f),Ea(e,"error")===0&&$t(e,E)}vp(e,"error",f);function S(){e.removeListener("finish",m),y()}e.once("close",S);function m(){O("onfinish"),e.removeListener("close",S),y()}e.once("finish",m);function y(){O("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(O("pipe resume"),r.resume()),e};function Ap(e){return function(){var r=e._readableState;O("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Ea(e,"data")&&(r.flowing=!0,ei(e))}}M.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Oa(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};M.prototype.on=function(e,t){var r=Gt.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,O("on readable",n.length,n.reading),n.length?Cr(this):n.reading||process.nextTick(wp,this)),r};M.prototype.addListener=M.prototype.on;M.prototype.removeListener=function(e,t){var r=Gt.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Ta,this),r};M.prototype.removeAllListeners=function(e){var t=Gt.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Ta,this),t};function Ta(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function wp(e){O("readable nexttick read 0"),e.read(0)}M.prototype.resume=function(){var e=this._readableState;return e.flowing||(O("resume"),e.flowing=!e.readableListening,Tp(this,e)),e.paused=!1,this};function Tp(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Cp,e,t))}function Cp(e,t){O("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ei(e),t.flowing&&!t.reading&&e.read(0)}M.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ei(e){var t=e._readableState;for(O("flow",t.flowing);t.flowing&&e.read()!==null;);}M.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(O("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(O("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(a){return function(){return e[a].apply(e,arguments)}}(i));for(var s=0;s<Qn.length;s++)e.on(Qn[s],this.emit.bind(this,Qn[s]));return this._read=function(o){O("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return Yn===void 0&&(Yn=ga()),Yn(this)});Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});M._fromList=Ca;Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ca(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Jn(e){var t=e._readableState;O("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Op,t,e))}function Op(e,t){if(O("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(M.from=function(e,t){return Kn===void 0&&(Kn=va()),Kn(M,e,t)});function Oa(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var ti=g((um,Ma)=>{"use strict";Ma.exports=Oe;var Or=De().codes,Pp=Or.ERR_METHOD_NOT_IMPLEMENTED,Lp=Or.ERR_MULTIPLE_CALLBACK,Mp=Or.ERR_TRANSFORM_ALREADY_TRANSFORMING,Bp=Or.ERR_TRANSFORM_WITH_LENGTH_0,Pr=Qe();Ke()(Oe,Pr);function Dp(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new Lp);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Oe(e){if(!(this instanceof Oe))return new Oe(e);Pr.call(this,e),this._transformState={afterTransform:Dp.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Ip)}function Ip(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){La(e,t,r)}):La(this,null,null)}Oe.prototype.push=function(e,t){return this._transformState.needTransform=!1,Pr.prototype.push.call(this,e,t)};Oe.prototype._transform=function(e,t,r){r(new Pp("_transform()"))};Oe.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Oe.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Oe.prototype._destroy=function(e,t){Pr.prototype._destroy.call(this,e,function(r){t(r)})};function La(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Bp;if(e._transformState.transforming)throw new Mp;return e.push(null)}});var Ia=g((fm,Da)=>{"use strict";Da.exports=Ut;var Ba=ti();Ke()(Ut,Ba);function Ut(e){if(!(this instanceof Ut))return new Ut(e);Ba.call(this,e)}Ut.prototype._transform=function(e,t,r){r(null,e)}});var ja=g((cm,qa)=>{"use strict";var ri;function kp(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Fa=De().codes,Np=Fa.ERR_MISSING_ARGS,Fp=Fa.ERR_STREAM_DESTROYED;function ka(e){if(e)throw e}function qp(e){return e.setHeader&&typeof e.abort=="function"}function jp(e,t,r,n){n=kp(n);var i=!1;e.on("close",function(){i=!0}),ri===void 0&&(ri=Er()),ri(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,qp(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Fp("pipe"))}}}function Na(e){e()}function Hp(e,t){return e.pipe(t)}function $p(e){return!e.length||typeof e[e.length-1]!="function"?ka:e.pop()}function Gp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=$p(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Np("streams");var i,s=t.map(function(o,a){var l=a<t.length-1,c=a>0;return jp(o,l,c,function(u){i||(i=u),u&&s.forEach(Na),!l&&(s.forEach(Na),n(i))})});return t.reduce(Hp)}qa.exports=Gp});var Ha=g((he,Vt)=>{var Wt=L("stream");process.env.READABLE_STREAM==="disable"&&Wt?(Vt.exports=Wt.Readable,Object.assign(Vt.exports,Wt),Vt.exports.Stream=Wt):(he=Vt.exports=jn(),he.Stream=Wt||he,he.Readable=he,he.Writable=Nn(),he.Duplex=Qe(),he.Transform=ti(),he.PassThrough=Ia(),he.finished=Er(),he.pipeline=ja())});var Ua=g((hm,Ga)=>{"use strict";var{Buffer:ge}=L("buffer"),$a=Symbol.for("BufferList");function N(e){if(!(this instanceof N))return new N(e);N._init.call(this,e)}N._init=function(t){Object.defineProperty(this,$a,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};N.prototype._new=function(t){return new N(t)};N.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(t<i||n===this._bufs.length-1)return[n,t-r];r=i}};N.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let n=0;n<t;n++)r+=this._bufs[n].length;return r};N.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};N.prototype.slice=function(t,r){return typeof t=="number"&&t<0&&(t+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,t,r)};N.prototype.copy=function(t,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return t||ge.alloc(0);let s=!!t,o=this._offset(n),a=i-n,l=a,c=s&&r||0,u=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:ge.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,c),c+=this._bufs[d].length;return t}if(l<=this._bufs[o[0]].length-u)return s?this._bufs[o[0]].copy(t,r,u,u+l):this._bufs[o[0]].slice(u,u+l);s||(t=ge.allocUnsafe(a));for(let d=o[0];d<this._bufs.length;d++){let f=this._bufs[d].length-u;if(l>f)this._bufs[d].copy(t,c,u),c+=f;else{this._bufs[d].copy(t,c,u,u+l),c+=f;break}l-=f,u&&(u=0)}return t.length>c?t.slice(0,c):t};N.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let n=this._offset(t),i=this._offset(r),s=this._bufs.slice(n[0],i[0]+1);return i[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,i[1]),n[1]!==0&&(s[0]=s[0].slice(n[1])),this._new(s)};N.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};N.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};N.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};N.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(ge.from(t.buffer,t.byteOffset,t.byteLength));else if(Array.isArray(t))for(let r=0;r<t.length;r++)this.append(t[r]);else if(this._isBufferList(t))for(let r=0;r<t._bufs.length;r++)this.append(t._bufs[r]);else typeof t=="number"&&(t=t.toString()),this._appendBuffer(ge.from(t));return this};N.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};N.prototype.indexOf=function(e,t,r){if(r===void 0&&typeof t=="string"&&(r=t,t=void 0),typeof e=="function"||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof e=="number"?e=ge.from([e]):typeof e=="string"?e=ge.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=ge.from(e.buffer,e.byteOffset,e.byteLength):ge.isBuffer(e)||(e=ge.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let n=this._offset(t),i=n[0],s=n[1];for(;i<this._bufs.length;i++){let o=this._bufs[i];for(;s<o.length;)if(o.length-s>=e.length){let l=o.indexOf(e,s);if(l!==-1)return this._reverseOffset([i,l]);s=o.length-e.length+1}else{let l=this._reverseOffset([i,s]);if(this._match(l,e))return l;s++}s=0}return-1};N.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0};(function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)(function(r){e[r]===null?N.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:N.prototype[r]=function(n=0){return this.slice(n,n+e[r])[r](0)}})(t)})();N.prototype._isBufferList=function(t){return t instanceof N||N.isBufferList(t)};N.isBufferList=function(t){return t!=null&&t[$a]};Ga.exports=N});var Wa=g((pm,Lr)=>{"use strict";var ni=Ha().Duplex,Up=Ke(),Yt=Ua();function z(e){if(!(this instanceof z))return new z(e);if(typeof e=="function"){this._callback=e;let t=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",t)}),this.on("unpipe",function(n){n.removeListener("error",t)}),e=null}Yt._init.call(this,e),ni.call(this)}Up(z,ni);Object.assign(z.prototype,Yt.prototype);z.prototype._new=function(t){return new z(t)};z.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};z.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};z.prototype.end=function(t){ni.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};z.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};z.prototype._isBufferList=function(t){return t instanceof z||t instanceof Yt||z.isBufferList(t)};z.isBufferList=Yt.isBufferList;Lr.exports=z;Lr.exports.BufferListStream=z;Lr.exports.BufferList=Yt});var Ka=g(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.splitWhen=mt.flatten=void 0;function Yp(e){return e.reduce((t,r)=>[].concat(t,r),[])}mt.flatten=Yp;function Kp(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}mt.splitWhen=Kp});var Qa=g(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.isEnoentCodeError=void 0;function Qp(e){return e.code==="ENOENT"}Ir.isEnoentCodeError=Qp});var Xa=g(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.createDirentFromStats=void 0;var oi=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Xp(e,t){return new oi(e,t)}kr.createDirentFromStats=Xp});var Ja=g(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.removeLeadingDotSegment=Ee.escape=Ee.makeAbsolute=Ee.unixify=void 0;var Jp=L("path"),Zp=2,zp=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function ed(e){return e.replace(/\\/g,"/")}Ee.unixify=ed;function td(e,t){return Jp.resolve(e,t)}Ee.makeAbsolute=td;function rd(e){return e.replace(zp,"\\$2")}Ee.escape=rd;function nd(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(Zp)}return e}Ee.removeLeadingDotSegment=nd});var za=g((Pm,Za)=>{Za.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var rl=g((Lm,tl)=>{var id=za(),el={"{":"}","(":")","[":"]"},sd=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,i=-2,s=-2,o=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(o===-1||o>n||(o=e.indexOf("\\",t),o===-1||o>n)))||i!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(i=e.indexOf("}",t),i>t&&(o=e.indexOf("\\",t),o===-1||o>i))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(o=e.indexOf("\\",t),o===-1||o>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(o=e.indexOf("\\",r),o===-1||o>s))))return!0;if(e[t]==="\\"){var a=e[t+1];t+=2;var l=el[a];if(l){var c=e.indexOf(l,t);c!==-1&&(t=c+1)}if(e[t]==="!")return!0}else t++}return!1},od=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var n=el[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};tl.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(id(t))return!0;var n=sd;return r&&r.strict===!1&&(n=od),n(t)}});var il=g((Mm,nl)=>{"use strict";var ad=rl(),ld=L("path").posix.dirname,ud=L("os").platform()==="win32",ai="/",fd=/\\/g,cd=/[\{\[].*[\}\]]$/,hd=/(^|[^\\])([\{\[]|\([^\)]+$)/,pd=/\\([\!\*\?\|\[\]\(\)\{\}])/g;nl.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&ud&&t.indexOf(ai)<0&&(t=t.replace(fd,ai)),cd.test(t)&&(t+=ai),t+="a";do t=ld(t);while(ad(t)||hd.test(t));return t.replace(pd,"$1")}});var Nr=g(pe=>{"use strict";pe.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;pe.find=(e,t)=>e.nodes.find(r=>r.type===t);pe.exceedsLimit=(e,t,r=1,n)=>n===!1||!pe.isInteger(e)||!pe.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;pe.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];!n||(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};pe.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;pe.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0===0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;pe.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;pe.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);pe.flatten=(...e)=>{let t=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];Array.isArray(s)?r(s,t):s!==void 0&&t.push(s)}return t};return r(e),t}});var Fr=g((Dm,ol)=>{"use strict";var sl=Nr();ol.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&sl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&sl.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let l of n.nodes)a+=r(l);return a};return r(e)}});var ll=g((Im,al)=>{"use strict";al.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var yl=g((km,gl)=>{"use strict";var ul=ll(),et=(e,t,r)=>{if(ul(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(ul(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),l=e+":"+t+"="+i+s+o+a;if(et.cache.hasOwnProperty(l))return et.cache[l].result;let c=Math.min(e,t),u=Math.max(e,t);if(Math.abs(c-u)===1){let y=e+"|"+t;return n.capture?`(${y})`:n.wrap===!1?y:`(?:${y})`}let d=_l(e)||_l(t),f={min:e,max:t,a:c,b:u},S=[],m=[];if(d&&(f.isPadded=d,f.maxLen=String(f.max).length),c<0){let y=u<0?Math.abs(u):1;m=fl(y,Math.abs(c),f,n),c=f.a=0}return u>=0&&(S=fl(c,u,f,n)),f.negatives=m,f.positives=S,f.result=dd(m,S,n),n.capture===!0?f.result=`(${f.result})`:n.wrap!==!1&&S.length+m.length>1&&(f.result=`(?:${f.result})`),et.cache[l]=f,f.result};function dd(e,t,r){let n=li(e,t,"-",!1,r)||[],i=li(t,e,"",!1,r)||[],s=li(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function _d(e,t){let r=1,n=1,i=hl(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=hl(e,r);for(i=pl(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=pl(t+1,n)-1;return s=[...s],s.sort(md),s}function gd(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=yd(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[l,c]=n[a];l===c?s+=l:l!=="0"||c!=="9"?s+=bd(l,c,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function fl(e,t,r,n){let i=_d(e,t),s=[],o=e,a;for(let l=0;l<i.length;l++){let c=i[l],u=gd(String(o),String(c),n),d="";if(!r.isPadded&&a&&a.pattern===u.pattern){a.count.length>1&&a.count.pop(),a.count.push(u.count[0]),a.string=a.pattern+dl(a.count),o=c+1;continue}r.isPadded&&(d=vd(c,r,n)),u.string=d+u.pattern+dl(u.count),s.push(u),o=c+1,a=u}return s}function li(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!cl(t,"string",a)&&s.push(r+a),n&&cl(t,"string",a)&&s.push(r+a)}return s}function yd(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function md(e,t){return e>t?1:t>e?-1:0}function cl(e,t,r){return e.some(n=>n[t]===r)}function hl(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function pl(e,t){return e-e%Math.pow(10,t)}function dl(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function bd(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function _l(e){return/^-?(0+)\d/.test(e)}function vd(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}et.cache={};et.clearCache=()=>et.cache={};gl.exports=et});var ci=g((Nm,Al)=>{"use strict";var xd=L("util"),vl=yl(),ml=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Sd=e=>t=>e===!0?Number(t):String(t),ui=e=>typeof e=="number"||typeof e=="string"&&e!=="",Qt=e=>Number.isInteger(+e),fi=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},Ed=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,Rd=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},bl=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},Ad=(e,t)=>{e.negatives.sort((o,a)=>o<a?-1:o>a?1:0),e.positives.sort((o,a)=>o<a?-1:o>a?1:0);let r=t.capture?"":"?:",n="",i="",s;return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${r}${e.negatives.join("|")})`),n&&i?s=`${n}|${i}`:s=n||i,t.wrap?`(${r}${s})`:s},xl=(e,t,r,n)=>{if(r)return vl(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Sl=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return vl(e,t,r)},El=(...e)=>new RangeError("Invalid range arguments: "+xd.inspect(...e)),Rl=(e,t,r)=>{if(r.strictRanges===!0)throw El([e,t]);return[]},wd=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},Td=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw El([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),l=String(t),c=String(r);r=Math.max(Math.abs(r),1);let u=fi(a)||fi(l)||fi(c),d=u?Math.max(a.length,l.length,c.length):0,f=u===!1&&Ed(e,t,n)===!1,S=n.transform||Sd(f);if(n.toRegex&&r===1)return xl(bl(e,d),bl(t,d),!0,n);let m={negatives:[],positives:[]},y=D=>m[D<0?"negatives":"positives"].push(Math.abs(D)),E=[],x=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?y(i):E.push(Rd(S(i,x),d,f)),i=o?i-r:i+r,x++;return n.toRegex===!0?r>1?Ad(m,n):Sl(E,null,{wrap:!1,...n}):E},Cd=(e,t,r=1,n={})=>{if(!Qt(e)&&e.length>1||!Qt(t)&&t.length>1)return Rl(e,t,n);let i=n.transform||(f=>String.fromCharCode(f)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,l=Math.min(s,o),c=Math.max(s,o);if(n.toRegex&&r===1)return xl(l,c,!1,n);let u=[],d=0;for(;a?s>=o:s<=o;)u.push(i(s,d)),s=a?s-r:s+r,d++;return n.toRegex===!0?Sl(u,null,{wrap:!1,options:n}):u},qr=(e,t,r,n={})=>{if(t==null&&ui(e))return[e];if(!ui(e)||!ui(t))return Rl(e,t,n);if(typeof r=="function")return qr(e,t,1,{transform:r});if(ml(r))return qr(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,Qt(r)?Qt(e)&&Qt(t)?Td(e,t,r,i):Cd(e,t,Math.max(Math.abs(r),1),i):r!=null&&!ml(r)?wd(r,i):qr(e,t,1,r)};Al.exports=qr});var Cl=g((Fm,Tl)=>{"use strict";var Od=ci(),wl=Nr(),Pd=(e,t={})=>{let r=(n,i={})=>{let s=wl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,l=t.escapeInvalid===!0?"\\":"",c="";if(n.isOpen===!0||n.isClose===!0)return l+n.value;if(n.type==="open")return a?l+n.value:"(";if(n.type==="close")return a?l+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let u=wl.reduce(n.nodes),d=Od(...u,{...t,wrap:!1,toRegex:!0});if(d.length!==0)return u.length>1&&d.length>1?`(${d})`:d}if(n.nodes)for(let u of n.nodes)c+=r(u,n);return c};return r(e)};Tl.exports=Pd});var Ll=g((qm,Pl)=>{"use strict";var Ld=ci(),Ol=Fr(),bt=Nr(),tt=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?bt.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(tt(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?tt(i,s,r):i+s);return bt.flatten(n)},Md=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(tt(a.pop(),Ol(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(tt(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let d=bt.reduce(i.nodes);if(bt.exceedsLimit(...d,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=Ld(...d,t);f.length===0&&(f=Ol(i,t)),a.push(tt(a.pop(),f)),i.nodes=[];return}let l=bt.encloseBrace(i),c=i.queue,u=i;for(;u.type!=="brace"&&u.type!=="root"&&u.parent;)u=u.parent,c=u.queue;for(let d=0;d<i.nodes.length;d++){let f=i.nodes[d];if(f.type==="comma"&&i.type==="brace"){d===1&&c.push(""),c.push("");continue}if(f.type==="close"){a.push(tt(a.pop(),c,l));continue}if(f.value&&f.type!=="open"){c.push(tt(c.pop(),f.value));continue}f.nodes&&n(f,i)}return c};return bt.flatten(n(e))};Pl.exports=Md});var Bl=g((jm,Ml)=>{"use strict";Ml.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
5
|
+
`,CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Fl=g((Hm,Nl)=>{"use strict";var Bd=Fr(),{MAX_LENGTH:Dl,CHAR_BACKSLASH:hi,CHAR_BACKTICK:Dd,CHAR_COMMA:Id,CHAR_DOT:kd,CHAR_LEFT_PARENTHESES:Nd,CHAR_RIGHT_PARENTHESES:Fd,CHAR_LEFT_CURLY_BRACE:qd,CHAR_RIGHT_CURLY_BRACE:jd,CHAR_LEFT_SQUARE_BRACKET:Il,CHAR_RIGHT_SQUARE_BRACKET:kl,CHAR_DOUBLE_QUOTE:Hd,CHAR_SINGLE_QUOTE:$d,CHAR_NO_BREAK_SPACE:Gd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Ud}=Bl(),Wd=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(Dl,r.maxLength):Dl;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let i={type:"root",input:e,nodes:[]},s=[i],o=i,a=i,l=0,c=e.length,u=0,d=0,f,S={},m=()=>e[u++],y=E=>{if(E.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&E.type==="text"){a.value+=E.value;return}return o.nodes.push(E),E.parent=o,E.prev=a,a=E,E};for(y({type:"bos"});u<c;)if(o=s[s.length-1],f=m(),!(f===Ud||f===Gd)){if(f===hi){y({type:"text",value:(t.keepEscaping?f:"")+m()});continue}if(f===kl){y({type:"text",value:"\\"+f});continue}if(f===Il){l++;let E=!0,x;for(;u<c&&(x=m());){if(f+=x,x===Il){l++;continue}if(x===hi){f+=m();continue}if(x===kl&&(l--,l===0))break}y({type:"text",value:f});continue}if(f===Nd){o=y({type:"paren",nodes:[]}),s.push(o),y({type:"text",value:f});continue}if(f===Fd){if(o.type!=="paren"){y({type:"text",value:f});continue}o=s.pop(),y({type:"text",value:f}),o=s[s.length-1];continue}if(f===Hd||f===$d||f===Dd){let E=f,x;for(t.keepQuotes!==!0&&(f="");u<c&&(x=m());){if(x===hi){f+=x+m();continue}if(x===E){t.keepQuotes===!0&&(f+=x);break}f+=x}y({type:"text",value:f});continue}if(f===qd){d++;let E=a.value&&a.value.slice(-1)==="$"||o.dollar===!0;o=y({type:"brace",open:!0,close:!1,dollar:E,depth:d,commas:0,ranges:0,nodes:[]}),s.push(o),y({type:"open",value:f});continue}if(f===jd){if(o.type!=="brace"){y({type:"text",value:f});continue}let E="close";o=s.pop(),o.close=!0,y({type:E,value:f}),d--,o=s[s.length-1];continue}if(f===Id&&d>0){if(o.ranges>0){o.ranges=0;let E=o.nodes.shift();o.nodes=[E,{type:"text",value:Bd(o)}]}y({type:"comma",value:f}),o.commas++;continue}if(f===kd&&d>0&&o.commas===0){let E=o.nodes;if(d===0||E.length===0){y({type:"text",value:f});continue}if(a.type==="dot"){if(o.range=[],a.value+=f,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){E.pop();let x=E[E.length-1];x.value+=a.value+f,a=x,o.ranges--;continue}y({type:"dot",value:f});continue}y({type:"text",value:f})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(D=>{D.nodes||(D.type==="open"&&(D.isOpen=!0),D.type==="close"&&(D.isClose=!0),D.nodes||(D.type="text"),D.invalid=!0)});let E=s[s.length-1],x=E.nodes.indexOf(o);E.nodes.splice(x,1,...o.nodes)}while(s.length>0);return y({type:"eos"}),i};Nl.exports=Wd});var Hl=g(($m,jl)=>{"use strict";var ql=Fr(),Vd=Cl(),Yd=Ll(),Kd=Fl(),ae=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=ae.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(ae.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};ae.parse=(e,t={})=>Kd(e,t);ae.stringify=(e,t={})=>ql(typeof e=="string"?ae.parse(e,t):e,t);ae.compile=(e,t={})=>(typeof e=="string"&&(e=ae.parse(e,t)),Vd(e,t));ae.expand=(e,t={})=>{typeof e=="string"&&(e=ae.parse(e,t));let r=Yd(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};ae.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?ae.compile(e,t):ae.expand(e,t);jl.exports=ae});var Xt=g((Gm,Vl)=>{"use strict";var Qd=L("path"),Re="\\\\/",$l=`[^${Re}]`,Pe="\\.",Xd="\\+",Jd="\\?",jr="\\/",Zd="(?=.)",Gl="[^/]",pi=`(?:${jr}|$)`,Ul=`(?:^|${jr})`,di=`${Pe}{1,2}${pi}`,zd=`(?!${Pe})`,e_=`(?!${Ul}${di})`,t_=`(?!${Pe}{0,1}${pi})`,r_=`(?!${di})`,n_=`[^.${jr}]`,i_=`${Gl}*?`,Wl={DOT_LITERAL:Pe,PLUS_LITERAL:Xd,QMARK_LITERAL:Jd,SLASH_LITERAL:jr,ONE_CHAR:Zd,QMARK:Gl,END_ANCHOR:pi,DOTS_SLASH:di,NO_DOT:zd,NO_DOTS:e_,NO_DOT_SLASH:t_,NO_DOTS_SLASH:r_,QMARK_NO_DOT:n_,STAR:i_,START_ANCHOR:Ul},s_={...Wl,SLASH_LITERAL:`[${Re}]`,QMARK:$l,STAR:`${$l}*?`,DOTS_SLASH:`${Pe}{1,2}(?:[${Re}]|$)`,NO_DOT:`(?!${Pe})`,NO_DOTS:`(?!(?:^|[${Re}])${Pe}{1,2}(?:[${Re}]|$))`,NO_DOT_SLASH:`(?!${Pe}{0,1}(?:[${Re}]|$))`,NO_DOTS_SLASH:`(?!${Pe}{1,2}(?:[${Re}]|$))`,QMARK_NO_DOT:`[^.${Re}]`,START_ANCHOR:`(?:^|[${Re}])`,END_ANCHOR:`(?:[${Re}]|$)`},o_={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Vl.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:o_,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Qd.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?s_:Wl}}});var Jt=g(se=>{"use strict";var a_=L("path"),l_=process.platform==="win32",{REGEX_BACKSLASH:u_,REGEX_REMOVE_BACKSLASH:f_,REGEX_SPECIAL_CHARS:c_,REGEX_SPECIAL_CHARS_GLOBAL:h_}=Xt();se.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);se.hasRegexChars=e=>c_.test(e);se.isRegexChar=e=>e.length===1&&se.hasRegexChars(e);se.escapeRegex=e=>e.replace(h_,"\\$1");se.toPosixSlashes=e=>e.replace(u_,"/");se.removeBackslashes=e=>e.replace(f_,t=>t==="\\"?"":t);se.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};se.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:l_===!0||a_.sep==="\\";se.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?se.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};se.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};se.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var eu=g((Wm,zl)=>{"use strict";var Yl=Jt(),{CHAR_ASTERISK:_i,CHAR_AT:p_,CHAR_BACKWARD_SLASH:Zt,CHAR_COMMA:d_,CHAR_DOT:gi,CHAR_EXCLAMATION_MARK:yi,CHAR_FORWARD_SLASH:Zl,CHAR_LEFT_CURLY_BRACE:mi,CHAR_LEFT_PARENTHESES:bi,CHAR_LEFT_SQUARE_BRACKET:__,CHAR_PLUS:g_,CHAR_QUESTION_MARK:Kl,CHAR_RIGHT_CURLY_BRACE:y_,CHAR_RIGHT_PARENTHESES:Ql,CHAR_RIGHT_SQUARE_BRACKET:m_}=Xt(),Xl=e=>e===Zl||e===Zt,Jl=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},b_=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],l=e,c=-1,u=0,d=0,f=!1,S=!1,m=!1,y=!1,E=!1,x=!1,D=!1,k=!1,Z=!1,w=!1,j=0,T,R,I={value:"",depth:0,isGlob:!1},J=()=>c>=n,_=()=>l.charCodeAt(c+1),H=()=>(T=R,l.charCodeAt(++c));for(;c<n;){R=H();let re;if(R===Zt){D=I.backslashes=!0,R=H(),R===mi&&(x=!0);continue}if(x===!0||R===mi){for(j++;J()!==!0&&(R=H());){if(R===Zt){D=I.backslashes=!0,H();continue}if(R===mi){j++;continue}if(x!==!0&&R===gi&&(R=H())===gi){if(f=I.isBrace=!0,m=I.isGlob=!0,w=!0,i===!0)continue;break}if(x!==!0&&R===d_){if(f=I.isBrace=!0,m=I.isGlob=!0,w=!0,i===!0)continue;break}if(R===y_&&(j--,j===0)){x=!1,f=I.isBrace=!0,w=!0;break}}if(i===!0)continue;break}if(R===Zl){if(s.push(c),o.push(I),I={value:"",depth:0,isGlob:!1},w===!0)continue;if(T===gi&&c===u+1){u+=2;continue}d=c+1;continue}if(r.noext!==!0&&(R===g_||R===p_||R===_i||R===Kl||R===yi)===!0&&_()===bi){if(m=I.isGlob=!0,y=I.isExtglob=!0,w=!0,R===yi&&c===u&&(Z=!0),i===!0){for(;J()!==!0&&(R=H());){if(R===Zt){D=I.backslashes=!0,R=H();continue}if(R===Ql){m=I.isGlob=!0,w=!0;break}}continue}break}if(R===_i){if(T===_i&&(E=I.isGlobstar=!0),m=I.isGlob=!0,w=!0,i===!0)continue;break}if(R===Kl){if(m=I.isGlob=!0,w=!0,i===!0)continue;break}if(R===__){for(;J()!==!0&&(re=H());){if(re===Zt){D=I.backslashes=!0,H();continue}if(re===m_){S=I.isBracket=!0,m=I.isGlob=!0,w=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&R===yi&&c===u){k=I.negated=!0,u++;continue}if(r.noparen!==!0&&R===bi){if(m=I.isGlob=!0,i===!0){for(;J()!==!0&&(R=H());){if(R===bi){D=I.backslashes=!0,R=H();continue}if(R===Ql){w=!0;break}}continue}break}if(m===!0){if(w=!0,i===!0)continue;break}}r.noext===!0&&(y=!1,m=!1);let F=l,Be="",h="";u>0&&(Be=l.slice(0,u),l=l.slice(u),d-=u),F&&m===!0&&d>0?(F=l.slice(0,d),h=l.slice(d)):m===!0?(F="",h=l):F=l,F&&F!==""&&F!=="/"&&F!==l&&Xl(F.charCodeAt(F.length-1))&&(F=F.slice(0,-1)),r.unescape===!0&&(h&&(h=Yl.removeBackslashes(h)),F&&D===!0&&(F=Yl.removeBackslashes(F)));let p={prefix:Be,input:e,start:u,base:F,glob:h,isBrace:f,isBracket:S,isGlob:m,isExtglob:y,isGlobstar:E,negated:k,negatedExtglob:Z};if(r.tokens===!0&&(p.maxDepth=0,Xl(R)||o.push(I),p.tokens=o),r.parts===!0||r.tokens===!0){let re;for(let B=0;B<s.length;B++){let me=re?re+1:u,be=s[B],oe=e.slice(me,be);r.tokens&&(B===0&&u!==0?(o[B].isPrefix=!0,o[B].value=Be):o[B].value=oe,Jl(o[B]),p.maxDepth+=o[B].depth),(B!==0||oe!=="")&&a.push(oe),re=be}if(re&&re+1<e.length){let B=e.slice(re+1);a.push(B),r.tokens&&(o[o.length-1].value=B,Jl(o[o.length-1]),p.maxDepth+=o[o.length-1].depth)}p.slashes=s,p.parts=a}return p};zl.exports=b_});var nu=g((Vm,ru)=>{"use strict";var Hr=Xt(),le=Jt(),{MAX_LENGTH:$r,POSIX_REGEX_SOURCE:v_,REGEX_NON_SPECIAL_CHARS:x_,REGEX_SPECIAL_CHARS_BACKREF:S_,REPLACEMENTS:tu}=Hr,E_=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>le.escapeRegex(i)).join("..")}return r},vt=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,vi=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=tu[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min($r,r.maxLength):$r,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",l=le.isWindows(t),c=Hr.globChars(l),u=Hr.extglobChars(c),{DOT_LITERAL:d,PLUS_LITERAL:f,SLASH_LITERAL:S,ONE_CHAR:m,DOTS_SLASH:y,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:D,QMARK:k,QMARK_NO_DOT:Z,STAR:w,START_ANCHOR:j}=c,T=v=>`(${a}(?:(?!${j}${v.dot?y:d}).)*?)`,R=r.dot?"":E,I=r.dot?k:Z,J=r.bash===!0?T(r):w;r.capture&&(J=`(${J})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let _={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=le.removePrefix(e,_),i=e.length;let H=[],F=[],Be=[],h=s,p,re=()=>_.index===i-1,B=_.peek=(v=1)=>e[_.index+v],me=_.advance=()=>e[++_.index]||"",be=()=>e.slice(_.index+1),oe=(v="",q=0)=>{_.consumed+=v,_.index+=q},zt=v=>{_.output+=v.output!=null?v.output:v.value,oe(v.value)},jf=()=>{let v=1;for(;B()==="!"&&(B(2)!=="("||B(3)==="?");)me(),_.start++,v++;return v%2===0?!1:(_.negated=!0,_.start++,!0)},er=v=>{_[v]++,Be.push(v)},We=v=>{_[v]--,Be.pop()},P=v=>{if(h.type==="globstar"){let q=_.braces>0&&(v.type==="comma"||v.type==="brace"),b=v.extglob===!0||H.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!q&&!b&&(_.output=_.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=J,_.output+=h.output)}if(H.length&&v.type!=="paren"&&(H[H.length-1].inner+=v.value),(v.value||v.output)&&zt(v),h&&h.type==="text"&&v.type==="text"){h.value+=v.value,h.output=(h.output||"")+v.value;return}v.prev=h,o.push(v),h=v},tr=(v,q)=>{let b={...u[q],conditions:1,inner:""};b.prev=h,b.parens=_.parens,b.output=_.output;let C=(r.capture?"(":"")+b.open;er("parens"),P({type:v,value:q,output:_.output?"":m}),P({type:"paren",extglob:!0,value:me(),output:C}),H.push(b)},Hf=v=>{let q=v.close+(r.capture?")":""),b;if(v.type==="negate"){let C=J;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(C=T(r)),(C!==J||re()||/^\)+$/.test(be()))&&(q=v.close=`)$))${C}`),v.inner.includes("*")&&(b=be())&&/^\.[^\\/.]+$/.test(b)){let U=vi(b,{...t,fastpaths:!1}).output;q=v.close=`)${U})${C})`}v.prev.type==="bos"&&(_.negatedExtglob=!0)}P({type:"paren",extglob:!0,value:p,output:q}),We("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let v=!1,q=e.replace(S_,(b,C,U,ne,Q,un)=>ne==="\\"?(v=!0,b):ne==="?"?C?C+ne+(Q?k.repeat(Q.length):""):un===0?I+(Q?k.repeat(Q.length):""):k.repeat(U.length):ne==="."?d.repeat(U.length):ne==="*"?C?C+ne+(Q?J:""):J:C?b:`\\${b}`);return v===!0&&(r.unescape===!0?q=q.replace(/\\/g,""):q=q.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),q===e&&r.contains===!0?(_.output=e,_):(_.output=le.wrapOutput(q,_,t),_)}for(;!re();){if(p=me(),p==="\0")continue;if(p==="\\"){let b=B();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){p+="\\",P({type:"text",value:p});continue}let C=/^\\+/.exec(be()),U=0;if(C&&C[0].length>2&&(U=C[0].length,_.index+=U,U%2!==0&&(p+="\\")),r.unescape===!0?p=me():p+=me(),_.brackets===0){P({type:"text",value:p});continue}}if(_.brackets>0&&(p!=="]"||h.value==="["||h.value==="[^")){if(r.posix!==!1&&p===":"){let b=h.value.slice(1);if(b.includes("[")&&(h.posix=!0,b.includes(":"))){let C=h.value.lastIndexOf("["),U=h.value.slice(0,C),ne=h.value.slice(C+2),Q=v_[ne];if(Q){h.value=U+Q,_.backtrack=!0,me(),!s.output&&o.indexOf(h)===1&&(s.output=m);continue}}}(p==="["&&B()!==":"||p==="-"&&B()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,zt({value:p});continue}if(_.quotes===1&&p!=='"'){p=le.escapeRegex(p),h.value+=p,zt({value:p});continue}if(p==='"'){_.quotes=_.quotes===1?0:1,r.keepQuotes===!0&&P({type:"text",value:p});continue}if(p==="("){er("parens"),P({type:"paren",value:p});continue}if(p===")"){if(_.parens===0&&r.strictBrackets===!0)throw new SyntaxError(vt("opening","("));let b=H[H.length-1];if(b&&_.parens===b.parens+1){Hf(H.pop());continue}P({type:"paren",value:p,output:_.parens?")":"\\)"}),We("parens");continue}if(p==="["){if(r.nobracket===!0||!be().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(vt("closing","]"));p=`\\${p}`}else er("brackets");P({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){P({type:"text",value:p,output:`\\${p}`});continue}if(_.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(vt("opening","["));P({type:"text",value:p,output:`\\${p}`});continue}We("brackets");let b=h.value.slice(1);if(h.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(p=`/${p}`),h.value+=p,zt({value:p}),r.literalBrackets===!1||le.hasRegexChars(b))continue;let C=le.escapeRegex(h.value);if(_.output=_.output.slice(0,-h.value.length),r.literalBrackets===!0){_.output+=C,h.value=C;continue}h.value=`(${a}${C}|${h.value})`,_.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){er("braces");let b={type:"brace",value:p,output:"(",outputIndex:_.output.length,tokensIndex:_.tokens.length};F.push(b),P(b);continue}if(p==="}"){let b=F[F.length-1];if(r.nobrace===!0||!b){P({type:"text",value:p,output:p});continue}let C=")";if(b.dots===!0){let U=o.slice(),ne=[];for(let Q=U.length-1;Q>=0&&(o.pop(),U[Q].type!=="brace");Q--)U[Q].type!=="dots"&&ne.unshift(U[Q].value);C=E_(ne,r),_.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let U=_.output.slice(0,b.outputIndex),ne=_.tokens.slice(b.tokensIndex);b.value=b.output="\\{",p=C="\\}",_.output=U;for(let Q of ne)_.output+=Q.output||Q.value}P({type:"brace",value:p,output:C}),We("braces"),F.pop();continue}if(p==="|"){H.length>0&&H[H.length-1].conditions++,P({type:"text",value:p});continue}if(p===","){let b=p,C=F[F.length-1];C&&Be[Be.length-1]==="braces"&&(C.comma=!0,b="|"),P({type:"comma",value:p,output:b});continue}if(p==="/"){if(h.type==="dot"&&_.index===_.start+1){_.start=_.index+1,_.consumed="",_.output="",o.pop(),h=s;continue}P({type:"slash",value:p,output:S});continue}if(p==="."){if(_.braces>0&&h.type==="dot"){h.value==="."&&(h.output=d);let b=F[F.length-1];h.type="dots",h.output+=p,h.value+=p,b.dots=!0;continue}if(_.braces+_.parens===0&&h.type!=="bos"&&h.type!=="slash"){P({type:"text",value:p,output:d});continue}P({type:"dot",value:p,output:d});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&B()==="("&&B(2)!=="?"){tr("qmark",p);continue}if(h&&h.type==="paren"){let C=B(),U=p;if(C==="<"&&!le.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(be()))&&(U=`\\${p}`),P({type:"text",value:p,output:U});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){P({type:"qmark",value:p,output:Z});continue}P({type:"qmark",value:p,output:k});continue}if(p==="!"){if(r.noextglob!==!0&&B()==="("&&(B(2)!=="?"||!/[!=<:]/.test(B(3)))){tr("negate",p);continue}if(r.nonegate!==!0&&_.index===0){jf();continue}}if(p==="+"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){tr("plus",p);continue}if(h&&h.value==="("||r.regex===!1){P({type:"plus",value:p,output:f});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||_.parens>0){P({type:"plus",value:p});continue}P({type:"plus",value:f});continue}if(p==="@"){if(r.noextglob!==!0&&B()==="("&&B(2)!=="?"){P({type:"at",extglob:!0,value:p,output:""});continue}P({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let b=x_.exec(be());b&&(p+=b[0],_.index+=b[0].length),P({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=J,_.backtrack=!0,_.globstar=!0,oe(p);continue}let v=be();if(r.noextglob!==!0&&/^\([^?]/.test(v)){tr("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){oe(p);continue}let b=h.prev,C=b.prev,U=b.type==="slash"||b.type==="bos",ne=C&&(C.type==="star"||C.type==="globstar");if(r.bash===!0&&(!U||v[0]&&v[0]!=="/")){P({type:"star",value:p,output:""});continue}let Q=_.braces>0&&(b.type==="comma"||b.type==="brace"),un=H.length&&(b.type==="pipe"||b.type==="paren");if(!U&&b.type!=="paren"&&!Q&&!un){P({type:"star",value:p,output:""});continue}for(;v.slice(0,3)==="/**";){let rr=e[_.index+4];if(rr&&rr!=="/")break;v=v.slice(3),oe("/**",3)}if(b.type==="bos"&&re()){h.type="globstar",h.value+=p,h.output=T(r),_.output=h.output,_.globstar=!0,oe(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!ne&&re()){_.output=_.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=T(r)+(r.strictSlashes?")":"|$)"),h.value+=p,_.globstar=!0,_.output+=b.output+h.output,oe(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&v[0]==="/"){let rr=v[1]!==void 0?"|$":"";_.output=_.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=`${T(r)}${S}|${S}${rr})`,h.value+=p,_.output+=b.output+h.output,_.globstar=!0,oe(p+me()),P({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&v[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${S}|${T(r)}${S})`,_.output=h.output,_.globstar=!0,oe(p+me()),P({type:"slash",value:"/",output:""});continue}_.output=_.output.slice(0,-h.output.length),h.type="globstar",h.output=T(r),h.value+=p,_.output+=h.output,_.globstar=!0,oe(p);continue}let q={type:"star",value:p,output:J};if(r.bash===!0){q.output=".*?",(h.type==="bos"||h.type==="slash")&&(q.output=R+q.output),P(q);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){q.output=p,P(q);continue}(_.index===_.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(_.output+=x,h.output+=x):r.dot===!0?(_.output+=D,h.output+=D):(_.output+=R,h.output+=R),B()!=="*"&&(_.output+=m,h.output+=m)),P(q)}for(;_.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(vt("closing","]"));_.output=le.escapeLast(_.output,"["),We("brackets")}for(;_.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(vt("closing",")"));_.output=le.escapeLast(_.output,"("),We("parens")}for(;_.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(vt("closing","}"));_.output=le.escapeLast(_.output,"{"),We("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&P({type:"maybe_slash",value:"",output:`${S}?`}),_.backtrack===!0){_.output="";for(let v of _.tokens)_.output+=v.output!=null?v.output:v.value,v.suffix&&(_.output+=v.suffix)}return _};vi.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min($r,r.maxLength):$r,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=tu[e]||e;let s=le.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:l,DOTS_SLASH:c,NO_DOT:u,NO_DOTS:d,NO_DOTS_SLASH:f,STAR:S,START_ANCHOR:m}=Hr.globChars(s),y=r.dot?d:u,E=r.dot?f:u,x=r.capture?"":"?:",D={negated:!1,prefix:""},k=r.bash===!0?".*?":S;r.capture&&(k=`(${k})`);let Z=R=>R.noglobstar===!0?k:`(${x}(?:(?!${m}${R.dot?c:o}).)*?)`,w=R=>{switch(R){case"*":return`${y}${l}${k}`;case".*":return`${o}${l}${k}`;case"*.*":return`${y}${k}${o}${l}${k}`;case"*/*":return`${y}${k}${a}${l}${E}${k}`;case"**":return y+Z(r);case"**/*":return`(?:${y}${Z(r)}${a})?${E}${l}${k}`;case"**/*.*":return`(?:${y}${Z(r)}${a})?${E}${k}${o}${l}${k}`;case"**/.*":return`(?:${y}${Z(r)}${a})?${o}${l}${k}`;default:{let I=/^(.*?)\.(\w+)$/.exec(R);if(!I)return;let J=w(I[1]);return J?J+o+I[2]:void 0}}},j=le.removePrefix(e,D),T=w(j);return T&&r.strictSlashes!==!0&&(T+=`${a}?`),T};ru.exports=vi});var su=g((Ym,iu)=>{"use strict";var R_=L("path"),A_=eu(),xi=nu(),Si=Jt(),w_=Xt(),T_=e=>e&&typeof e=="object"&&!Array.isArray(e),V=(e,t,r=!1)=>{if(Array.isArray(e)){let u=e.map(f=>V(f,t,r));return f=>{for(let S of u){let m=S(f);if(m)return m}return!1}}let n=T_(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=Si.isWindows(t),o=n?V.compileRe(e,t):V.makeRe(e,t,!1,!0),a=o.state;delete o.state;let l=()=>!1;if(i.ignore){let u={...t,ignore:null,onMatch:null,onResult:null};l=V(i.ignore,u,r)}let c=(u,d=!1)=>{let{isMatch:f,match:S,output:m}=V.test(u,o,t,{glob:e,posix:s}),y={glob:e,state:a,regex:o,posix:s,input:u,output:m,match:S,isMatch:f};return typeof i.onResult=="function"&&i.onResult(y),f===!1?(y.isMatch=!1,d?y:!1):l(u)?(typeof i.onIgnore=="function"&&i.onIgnore(y),y.isMatch=!1,d?y:!1):(typeof i.onMatch=="function"&&i.onMatch(y),d?y:!0)};return r&&(c.state=a),c};V.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?Si.toPosixSlashes:null),a=e===n,l=a&&o?o(e):e;return a===!1&&(l=o?o(e):e,a=l===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=V.matchBase(e,t,r,i):a=t.exec(l)),{isMatch:Boolean(a),match:a,output:l}};V.matchBase=(e,t,r,n=Si.isWindows(r))=>(t instanceof RegExp?t:V.makeRe(t,r)).test(R_.basename(e));V.isMatch=(e,t,r)=>V(t,r)(e);V.parse=(e,t)=>Array.isArray(e)?e.map(r=>V.parse(r,t)):xi(e,{...t,fastpaths:!1});V.scan=(e,t)=>A_(e,t);V.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let l=V.toRegex(a,t);return n===!0&&(l.state=e),l};V.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=xi.fastpaths(e,t)),i.output||(i=xi(e,t)),V.compileRe(i,t,r,n)};V.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};V.constants=w_;iu.exports=V});var au=g((Km,ou)=>{"use strict";ou.exports=su()});var hu=g((Qm,cu)=>{"use strict";var uu=L("util"),fu=Hl(),Ae=au(),Ei=Jt(),lu=e=>e===""||e==="./",G=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=u=>{s.add(u.output),r&&r.onResult&&r.onResult(u)};for(let u=0;u<t.length;u++){let d=Ae(String(t[u]),{...r,onResult:a},!0),f=d.state.negated||d.state.negatedExtglob;f&&o++;for(let S of e){let m=d(S,!0);!(f?!m.isMatch:m.isMatch)||(f?n.add(m.output):(n.delete(m.output),i.add(m.output)))}}let c=(o===t.length?[...s]:[...i]).filter(u=>!n.has(u));if(r&&c.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(u=>u.replace(/\\/g,"")):t}return c};G.match=G;G.matcher=(e,t)=>Ae(e,t);G.isMatch=(e,t,r)=>Ae(t,r)(e);G.any=G.isMatch;G.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(G(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};G.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${uu.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>G.contains(e,n,r));if(typeof t=="string"){if(lu(e)||lu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return G.isMatch(e,t,{...r,contains:!0})};G.matchKeys=(e,t,r)=>{if(!Ei.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=G(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};G.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Ae(String(i),r);if(n.some(o=>s(o)))return!0}return!1};G.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Ae(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};G.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${uu.inspect(e)}"`);return[].concat(t).every(n=>Ae(n,r)(e))};G.capture=(e,t,r)=>{let n=Ei.isWindows(r),s=Ae.makeRe(String(e),{...r,capture:!0}).exec(n?Ei.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};G.makeRe=(...e)=>Ae.makeRe(...e);G.scan=(...e)=>Ae.scan(...e);G.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of fu(String(n),t))r.push(Ae.parse(i,t));return r};G.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:fu(e,t)};G.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return G.braces(e,{...t,expand:!0})};cu.exports=G});var vu=g(A=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0});A.matchAny=A.convertPatternsToRe=A.makeRe=A.getPatternParts=A.expandBraceExpansion=A.expandPatternsWithBraceExpansion=A.isAffectDepthOfReadingPattern=A.endsWithSlashGlobStar=A.hasGlobStar=A.getBaseDirectory=A.isPatternRelatedToParentDirectory=A.getPatternsOutsideCurrentDirectory=A.getPatternsInsideCurrentDirectory=A.getPositivePatterns=A.getNegativePatterns=A.isPositivePattern=A.isNegativePattern=A.convertToNegativePattern=A.convertToPositivePattern=A.isDynamicPattern=A.isStaticPattern=void 0;var C_=L("path"),O_=il(),Ri=hu(),pu="**",P_="\\",L_=/[*?]|^!/,M_=/\[[^[]*]/,B_=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,D_=/[!*+?@]\([^(]*\)/,I_=/,|\.\./;function du(e,t={}){return!_u(e,t)}A.isStaticPattern=du;function _u(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(P_)||L_.test(e)||M_.test(e)||B_.test(e)||t.extglob!==!1&&D_.test(e)||t.braceExpansion!==!1&&k_(e))}A.isDynamicPattern=_u;function k_(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return I_.test(n)}function N_(e){return Gr(e)?e.slice(1):e}A.convertToPositivePattern=N_;function F_(e){return"!"+e}A.convertToNegativePattern=F_;function Gr(e){return e.startsWith("!")&&e[1]!=="("}A.isNegativePattern=Gr;function gu(e){return!Gr(e)}A.isPositivePattern=gu;function q_(e){return e.filter(Gr)}A.getNegativePatterns=q_;function j_(e){return e.filter(gu)}A.getPositivePatterns=j_;function H_(e){return e.filter(t=>!Ai(t))}A.getPatternsInsideCurrentDirectory=H_;function $_(e){return e.filter(Ai)}A.getPatternsOutsideCurrentDirectory=$_;function Ai(e){return e.startsWith("..")||e.startsWith("./..")}A.isPatternRelatedToParentDirectory=Ai;function G_(e){return O_(e,{flipBackslashes:!1})}A.getBaseDirectory=G_;function U_(e){return e.includes(pu)}A.hasGlobStar=U_;function yu(e){return e.endsWith("/"+pu)}A.endsWithSlashGlobStar=yu;function W_(e){let t=C_.basename(e);return yu(e)||du(t)}A.isAffectDepthOfReadingPattern=W_;function V_(e){return e.reduce((t,r)=>t.concat(mu(r)),[])}A.expandPatternsWithBraceExpansion=V_;function mu(e){return Ri.braces(e,{expand:!0,nodupes:!0})}A.expandBraceExpansion=mu;function Y_(e,t){let{parts:r}=Ri.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}A.getPatternParts=Y_;function bu(e,t){return Ri.makeRe(e,t)}A.makeRe=bu;function K_(e,t){return e.map(r=>bu(r,t))}A.convertPatternsToRe=K_;function Q_(e,t){return t.some(r=>r.test(e))}A.matchAny=Q_});var Ru=g((Jm,Eu)=>{"use strict";var X_=L("stream"),xu=X_.PassThrough,J_=Array.prototype.slice;Eu.exports=Z_;function Z_(){let e=[],t=J_.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=xu(n);function a(){for(let u=0,d=arguments.length;u<d;u++)e.push(Su(arguments[u],n));return l(),this}function l(){if(r)return;r=!0;let u=e.shift();if(!u){process.nextTick(c);return}Array.isArray(u)||(u=[u]);let d=u.length+1;function f(){--d>0||(r=!1,l())}function S(m){function y(){m.removeListener("merge2UnpipeEnd",y),m.removeListener("end",y),s&&m.removeListener("error",E),f()}function E(x){o.emit("error",x)}if(m._readableState.endEmitted)return f();m.on("merge2UnpipeEnd",y),m.on("end",y),s&&m.on("error",E),m.pipe(o,{end:!1}),m.resume()}for(let m=0;m<u.length;m++)S(u[m]);f()}function c(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(u){u.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Su(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Su(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(xu(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var wu=g(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.merge=void 0;var z_=Ru();function eg(e){let t=z_(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Au(e)),t.once("end",()=>Au(e)),t}Ur.merge=eg;function Au(e){e.forEach(t=>t.emit("close"))}});var Tu=g(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.isEmpty=xt.isString=void 0;function tg(e){return typeof e=="string"}xt.isString=tg;function rg(e){return e===""}xt.isEmpty=rg});var Le=g(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.string=ee.stream=ee.pattern=ee.path=ee.fs=ee.errno=ee.array=void 0;var ng=Ka();ee.array=ng;var ig=Qa();ee.errno=ig;var sg=Xa();ee.fs=sg;var og=Ja();ee.path=og;var ag=vu();ee.pattern=ag;var lg=wu();ee.stream=lg;var ug=Tu();ee.string=ug});var Pu=g(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.convertPatternGroupToTask=te.convertPatternGroupsToTasks=te.groupPatternsByBaseDirectory=te.getNegativePatternsAsPositive=te.getPositivePatterns=te.convertPatternsToTasks=te.generate=void 0;var Me=Le();function fg(e,t){let r=Cu(e),n=Ou(e,t.ignore),i=r.filter(l=>Me.pattern.isStaticPattern(l,t)),s=r.filter(l=>Me.pattern.isDynamicPattern(l,t)),o=wi(i,n,!1),a=wi(s,n,!0);return o.concat(a)}te.generate=fg;function wi(e,t,r){let n=[],i=Me.pattern.getPatternsOutsideCurrentDirectory(e),s=Me.pattern.getPatternsInsideCurrentDirectory(e),o=Ti(i),a=Ti(s);return n.push(...Ci(o,t,r)),"."in a?n.push(Oi(".",s,t,r)):n.push(...Ci(a,t,r)),n}te.convertPatternsToTasks=wi;function Cu(e){return Me.pattern.getPositivePatterns(e)}te.getPositivePatterns=Cu;function Ou(e,t){return Me.pattern.getNegativePatterns(e).concat(t).map(Me.pattern.convertToPositivePattern)}te.getNegativePatternsAsPositive=Ou;function Ti(e){let t={};return e.reduce((r,n)=>{let i=Me.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}te.groupPatternsByBaseDirectory=Ti;function Ci(e,t,r){return Object.keys(e).map(n=>Oi(n,e[n],t,r))}te.convertPatternGroupsToTasks=Ci;function Oi(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(Me.pattern.convertToNegativePattern))}}te.convertPatternGroupToTask=Oi});var Mu=g(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.removeDuplicateSlashes=St.transform=void 0;var cg=/(?!^)\/{2,}/g;function hg(e){return e.map(t=>Lu(t))}St.transform=hg;function Lu(e){return e.replace(cg,"/")}St.removeDuplicateSlashes=Lu});var Du=g(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.read=void 0;function pg(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){Bu(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){Pi(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){Bu(r,s);return}Pi(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Pi(r,o)})})}Wr.read=pg;function Bu(e,t){e(t)}function Pi(e,t){e(null,t)}});var Iu=g(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.read=void 0;function dg(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}Vr.read=dg});var ku=g(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.createFileSystemAdapter=qe.FILE_SYSTEM_ADAPTER=void 0;var Yr=L("fs");qe.FILE_SYSTEM_ADAPTER={lstat:Yr.lstat,stat:Yr.stat,lstatSync:Yr.lstatSync,statSync:Yr.statSync};function _g(e){return e===void 0?qe.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},qe.FILE_SYSTEM_ADAPTER),e)}qe.createFileSystemAdapter=_g});var Nu=g(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});var gg=ku(),Li=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=gg.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};Mi.default=Li});var rt=g(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.statSync=je.stat=je.Settings=void 0;var Fu=Du(),yg=Iu(),Bi=Nu();je.Settings=Bi.default;function mg(e,t,r){if(typeof t=="function"){Fu.read(e,Di(),t);return}Fu.read(e,Di(t),r)}je.stat=mg;function bg(e,t){let r=Di(t);return yg.read(e,r)}je.statSync=bg;function Di(e={}){return e instanceof Bi.default?e:new Bi.default(e)}});var Hu=g((lb,ju)=>{var qu;ju.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(qu||(qu=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var Gu=g((ub,$u)=>{$u.exports=xg;var vg=Hu();function xg(e,t){let r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(l){function c(){t&&t(l,r),t=null}s?vg(c):c()}function a(l,c,u){r[l]=u,(--n===0||c)&&o(c)}n?i?i.forEach(function(l){e[l](function(c,u){a(l,c,u)})}):e.forEach(function(l,c){l(function(u,d){a(c,u,d)})}):o(null),s=!1}});var Ii=g(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Kr=process.versions.node.split(".");if(Kr[0]===void 0||Kr[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Uu=Number.parseInt(Kr[0],10),Sg=Number.parseInt(Kr[1],10),Wu=10,Eg=10,Rg=Uu>Wu,Ag=Uu===Wu&&Sg>=Eg;Qr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Rg||Ag});var Vu=g(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.createDirentFromStats=void 0;var ki=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function wg(e,t){return new ki(e,t)}Xr.createDirentFromStats=wg});var Ni=g(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.fs=void 0;var Tg=Vu();Jr.fs=Tg});var Fi=g(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.joinPathSegments=void 0;function Cg(e,t,r){return e.endsWith(r)?e+t:e+r+t}Zr.joinPathSegments=Cg});var Zu=g(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.readdir=He.readdirWithFileTypes=He.read=void 0;var Og=rt(),Yu=Gu(),Pg=Ii(),Ku=Ni(),Qu=Fi();function Lg(e,t,r){if(!t.stats&&Pg.IS_SUPPORT_READDIR_WITH_FILE_TYPES){Xu(e,t,r);return}Ju(e,t,r)}He.read=Lg;function Xu(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){zr(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:Qu.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){qi(r,s);return}let o=s.map(a=>Mg(a,t));Yu(o,(a,l)=>{if(a!==null){zr(r,a);return}qi(r,l)})})}He.readdirWithFileTypes=Xu;function Mg(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=Ku.fs.createDirentFromStats(e.name,i),r(null,e)})}}function Ju(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){zr(r,n);return}let s=i.map(o=>{let a=Qu.joinPathSegments(e,o,t.pathSegmentSeparator);return l=>{Og.stat(a,t.fsStatSettings,(c,u)=>{if(c!==null){l(c);return}let d={name:o,path:a,dirent:Ku.fs.createDirentFromStats(o,u)};t.stats&&(d.stats=u),l(null,d)})}});Yu(s,(o,a)=>{if(o!==null){zr(r,o);return}qi(r,a)})})}He.readdir=Ju;function zr(e,t){e(t)}function qi(e,t){e(null,t)}});var nf=g($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.readdir=$e.readdirWithFileTypes=$e.read=void 0;var Bg=rt(),Dg=Ii(),zu=Ni(),ef=Fi();function Ig(e,t){return!t.stats&&Dg.IS_SUPPORT_READDIR_WITH_FILE_TYPES?tf(e,t):rf(e,t)}$e.read=Ig;function tf(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:ef.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=zu.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}$e.readdirWithFileTypes=tf;function rf(e,t){return t.fs.readdirSync(e).map(n=>{let i=ef.joinPathSegments(e,n,t.pathSegmentSeparator),s=Bg.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:zu.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}$e.readdir=rf});var sf=g(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.createFileSystemAdapter=Ge.FILE_SYSTEM_ADAPTER=void 0;var Et=L("fs");Ge.FILE_SYSTEM_ADAPTER={lstat:Et.lstat,stat:Et.stat,lstatSync:Et.lstatSync,statSync:Et.statSync,readdir:Et.readdir,readdirSync:Et.readdirSync};function kg(e){return e===void 0?Ge.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ge.FILE_SYSTEM_ADAPTER),e)}Ge.createFileSystemAdapter=kg});var of=g(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});var Ng=L("path"),Fg=rt(),qg=sf(),ji=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=qg.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Ng.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Fg.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};Hi.default=ji});var en=g(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.Settings=Ue.scandirSync=Ue.scandir=void 0;var af=Zu(),jg=nf(),$i=of();Ue.Settings=$i.default;function Hg(e,t,r){if(typeof t=="function"){af.read(e,Gi(),t);return}af.read(e,Gi(t),r)}Ue.scandir=Hg;function $g(e,t){let r=Gi(t);return jg.read(e,r)}Ue.scandirSync=$g;function Gi(e={}){return e instanceof $i.default?e:new $i.default(e)}});var uf=g((bb,lf)=>{"use strict";function Gg(e){var t=new e,r=t;function n(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}lf.exports=Gg});var cf=g((vb,Ui)=>{"use strict";var Ug=uf();function ff(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var n=Ug(Wg),i=null,s=null,o=0,a=null,l={push:y,drain:de,saturated:de,pause:u,paused:!1,concurrency:r,running:c,resume:S,idle:m,length:d,getQueue:f,unshift:E,empty:de,kill:D,killAndDrain:k,error:Z};return l;function c(){return o}function u(){l.paused=!0}function d(){for(var w=i,j=0;w;)w=w.next,j++;return j}function f(){for(var w=i,j=[];w;)j.push(w.value),w=w.next;return j}function S(){if(!!l.paused){l.paused=!1;for(var w=0;w<l.concurrency;w++)o++,x()}}function m(){return o===0&&l.length()===0}function y(w,j){var T=n.get();T.context=e,T.release=x,T.value=w,T.callback=j||de,T.errorHandler=a,o===l.concurrency||l.paused?s?(s.next=T,s=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function E(w,j){var T=n.get();T.context=e,T.release=x,T.value=w,T.callback=j||de,o===l.concurrency||l.paused?i?(T.next=i,i=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function x(w){w&&n.release(w);var j=i;j?l.paused?o--:(s===i&&(s=null),i=j.next,j.next=null,t.call(e,j.value,j.worked),s===null&&l.empty()):--o===0&&l.drain()}function D(){i=null,s=null,l.drain=de}function k(){i=null,s=null,l.drain(),l.drain=de}function Z(w){a=w}}function de(){}function Wg(){this.value=null,this.callback=de,this.next=null,this.release=de,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=de,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function Vg(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(u,d){t.call(this,u).then(function(f){d(null,f)},d)}var i=ff(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=l,i.drained=c,i;function a(u){var d=new Promise(function(f,S){s(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(de),d}function l(u){var d=new Promise(function(f,S){o(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(de),d}function c(){var u=i.drain,d=new Promise(function(f){i.drain=function(){u(),f()}});return d}}Ui.exports=ff;Ui.exports.promise=Vg});var tn=g(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.joinPathSegments=we.replacePathSegmentSeparator=we.isAppliedFilter=we.isFatalError=void 0;function Yg(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}we.isFatalError=Yg;function Kg(e,t){return e===null||e(t)}we.isAppliedFilter=Kg;function Qg(e,t){return e.split(/[/\\]/).join(t)}we.replacePathSegmentSeparator=Qg;function Xg(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}we.joinPathSegments=Xg});var Yi=g(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var Jg=tn(),Wi=class{constructor(t,r){this._root=t,this._settings=r,this._root=Jg.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};Vi.default=Wi});var Xi=g(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});var Zg=L("events"),zg=en(),e0=cf(),rn=tn(),t0=Yi(),Ki=class extends t0.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=zg.scandir,this._emitter=new Zg.EventEmitter,this._queue=e0(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let n={directory:t,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!rn.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let n=t.path;r!==void 0&&(t.path=rn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),rn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&rn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};Qi.default=Ki});var hf=g(Zi=>{"use strict";Object.defineProperty(Zi,"__esModule",{value:!0});var r0=Xi(),Ji=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new r0.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{n0(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{i0(t,this._storage)}),this._reader.read()}};Zi.default=Ji;function n0(e,t){e(t)}function i0(e,t){e(null,t)}});var pf=g(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var s0=L("stream"),o0=Xi(),zi=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new o0.default(this._root,this._settings),this._stream=new s0.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};es.default=zi});var df=g(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});var a0=en(),nn=tn(),l0=Yi(),ts=class extends l0.default{constructor(){super(...arguments),this._scandir=a0.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let n=this._scandir(t,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(t){if(!!nn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=nn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),nn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&nn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};rs.default=ts});var _f=g(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});var u0=df(),ns=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new u0.default(this._root,this._settings)}read(){return this._reader.read()}};is.default=ns});var gf=g(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});var f0=L("path"),c0=en(),ss=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,f0.sep),this.fsScandirSettings=new c0.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};os.default=ss});var ls=g(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});Te.Settings=Te.walkStream=Te.walkSync=Te.walk=void 0;var yf=hf(),h0=pf(),p0=_f(),as=gf();Te.Settings=as.default;function d0(e,t,r){if(typeof t=="function"){new yf.default(e,sn()).read(t);return}new yf.default(e,sn(t)).read(r)}Te.walk=d0;function _0(e,t){let r=sn(t);return new p0.default(e,r).read()}Te.walkSync=_0;function g0(e,t){let r=sn(t);return new h0.default(e,r).read()}Te.walkStream=g0;function sn(e={}){return e instanceof as.default?e:new as.default(e)}});var cs=g(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});var y0=L("path"),m0=rt(),mf=Le(),us=class{constructor(t){this._settings=t,this._fsStatSettings=new m0.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return y0.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:mf.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!mf.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};fs.default=us});var ds=g(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var b0=L("stream"),v0=rt(),x0=ls(),S0=cs(),hs=class extends S0.default{constructor(){super(...arguments),this._walkStream=x0.walkStream,this._stat=v0.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new b0.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(l=>{l!==null&&r.entryFilter(l)&&i.push(l),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(t,r,n){return this._getStat(t).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};ps.default=hs});var bf=g(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var Rt=Le(),_s=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=Rt.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of t){let n=this._getPatternSegments(r),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:r,segments:n,sections:i})}}_getPatternSegments(t){return Rt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Rt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Rt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Rt.array.splitWhen(t,r=>r.dynamic&&Rt.pattern.hasGlobStar(r.pattern))}};gs.default=_s});var vf=g(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});var E0=bf(),ys=class extends E0.default{match(t){let r=t.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((l,c)=>{let u=s.segments[c];return!!(u.dynamic&&u.patternRe.test(l)||!u.dynamic&&u.pattern===l)}))return!0}return!1}};ms.default=ys});var xf=g(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var on=Le(),R0=vf(),bs=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(t,o,i,s)}_getMatcher(t){return new R0.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(on.pattern.isAffectDepthOfReadingPattern);return on.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=on.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let i=t.split("/").length;return n-i}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!on.pattern.matchAny(t,r)}};vs.default=bs});var Sf=g(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});var nt=Le(),xs=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=nt.pattern.convertPatternsToRe(t,this._micromatchOptions),i=nt.pattern.convertPatternsToRe(r,this._micromatchOptions);return s=>this._filter(s,n,i)}_filter(t,r,n){if(this._settings.unique&&this._isDuplicateEntry(t)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(t.path,n))return!1;let i=this._settings.baseNameMatch?t.name:t.path,s=this._isMatchToPatterns(i,r)&&!this._isMatchToPatterns(t.path,n);return this._settings.unique&&s&&this._createIndexRecord(t),s}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let n=nt.path.makeAbsolute(this._settings.cwd,t);return nt.pattern.matchAny(n,r)}_isMatchToPatterns(t,r){let n=nt.path.removeLeadingDotSegment(t);return nt.pattern.matchAny(n,r)||nt.pattern.matchAny(n+"/",r)}};Ss.default=xs});var Ef=g(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});var A0=Le(),Es=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return A0.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Rs.default=Es});var Af=g(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});var Rf=Le(),As=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=Rf.path.makeAbsolute(this._settings.cwd,r),r=Rf.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};ws.default=As});var an=g(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var w0=L("path"),T0=xf(),C0=Sf(),O0=Ef(),P0=Af(),Ts=class{constructor(t){this._settings=t,this.errorFilter=new O0.default(this._settings),this.entryFilter=new C0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new T0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new P0.default(this._settings)}_getRootDirectory(t){return w0.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Cs.default=Ts});var wf=g(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});var L0=ds(),M0=an(),Os=class extends M0.default{constructor(){super(...arguments),this._reader=new L0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=[];return new Promise((s,o)=>{let a=this.api(r,t,n);a.once("error",o),a.on("data",l=>i.push(n.transform(l))),a.once("end",()=>s(i))})}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Ps.default=Os});var Tf=g(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});var B0=L("stream"),D0=ds(),I0=an(),Ls=class extends I0.default{constructor(){super(...arguments),this._reader=new D0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new B0.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Ms.default=Ls});var Cf=g(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});var k0=rt(),N0=ls(),F0=cs(),Bs=class extends F0.default{constructor(){super(...arguments),this._walkSync=N0.walkSync,this._statSync=k0.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let i of t){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(t,r,n){try{let i=this._getStat(t);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};Ds.default=Bs});var Of=g(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});var q0=Cf(),j0=an(),Is=class extends j0.default{constructor(){super(...arguments),this._reader=new q0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};ks.default=Is});var Pf=g(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var At=L("fs"),H0=L("os"),$0=Math.max(H0.cpus().length,1);wt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:At.lstat,lstatSync:At.lstatSync,stat:At.stat,statSync:At.statSync,readdir:At.readdir,readdirSync:At.readdirSync};var Ns=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,$0),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},wt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};wt.default=Ns});var Df=g((Ub,Bf)=>{"use strict";var Lf=Pu(),Mf=Mu(),G0=wf(),U0=Tf(),W0=Of(),Fs=Pf(),it=Le();async function qs(e,t){Tt(e);let r=js(e,G0.default,t),n=await Promise.all(r);return it.array.flatten(n)}(function(e){function t(o,a){Tt(o);let l=js(o,W0.default,a);return it.array.flatten(l)}e.sync=t;function r(o,a){Tt(o);let l=js(o,U0.default,a);return it.stream.merge(l)}e.stream=r;function n(o,a){Tt(o);let l=Mf.transform([].concat(o)),c=new Fs.default(a);return Lf.generate(l,c)}e.generateTasks=n;function i(o,a){Tt(o);let l=new Fs.default(a);return it.pattern.isDynamicPattern(o,l)}e.isDynamicPattern=i;function s(o){return Tt(o),it.path.escape(o)}e.escapePath=s})(qs||(qs={}));function js(e,t,r){let n=Mf.transform([].concat(e)),i=new Fs.default(r),s=Lf.generate(n,i),o=new t(i);return s.map(o.read,o)}function Tt(e){if(![].concat(e).every(n=>it.string.isString(n)&&!it.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Bf.exports=qs});var Vs=(e=0)=>t=>`\x1B[${t+e}m`,Ys=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ks=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Kf(){let e=new Map,t={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],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[i,s]of Object.entries(n))t[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=t[i],e.set(s[0],s[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=Vs(),t.color.ansi256=Ys(),t.color.ansi16m=Ks(),t.bgColor.ansi=Vs(10),t.bgColor.ansi256=Ys(10),t.bgColor.ansi16m=Ks(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,i)=>r===n&&n===i?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:i}=n.groups;i.length===3&&(i=[...i].map(o=>o+o).join(""));let s=Number.parseInt(i,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let n,i,s;if(r>=232)n=((r-232)*10+8)/255,i=n,s=n;else{r-=16;let l=r%36;n=Math.floor(r/36)/5,i=Math.floor(l/6)/5,s=l%6/5}let o=Math.max(n,i,s)*2;if(o===0)return 30;let a=30+(Math.round(s)<<2|Math.round(i)<<1|Math.round(n));return o===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(r,n,i)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,n,i)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var Qf=Kf(),_e=Qf;import fn from"node:process";import Xf from"node:os";import Qs from"node:tty";function ue(e,t=fn.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:Y}=fn,nr;ue("no-color")||ue("no-colors")||ue("color=false")||ue("color=never")?nr=0:(ue("color")||ue("colors")||ue("color=true")||ue("color=always"))&&(nr=1);function Jf(){if("FORCE_COLOR"in Y)return Y.FORCE_COLOR==="true"?1:Y.FORCE_COLOR==="false"?0:Y.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Y.FORCE_COLOR,10),3)}function Zf(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function zf(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=Jf();n!==void 0&&(nr=n);let i=r?nr:n;if(i===0)return 0;if(r){if(ue("color=16m")||ue("color=full")||ue("color=truecolor"))return 3;if(ue("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(Y.TERM==="dumb")return s;if(fn.platform==="win32"){let o=Xf.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Y)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in Y)||Y.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Y)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Y.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in Y&&"AGENT_NAME"in Y)return 1;if(Y.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Y){let o=Number.parseInt((Y.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Y.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Y.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Y.TERM)||"COLORTERM"in Y?1:s}function Xs(e,t={}){let r=zf(e,{streamIsTTY:e&&e.isTTY,...t});return Zf(r)}var ec={stdout:Xs({isTTY:Qs.isatty(1)}),stderr:Xs({isTTY:Qs.isatty(2)})},Js=ec;function Zs(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let i=t.length,s=0,o="";do o+=e.substr(s,n-s)+t+r,s=n+i,n=e.indexOf(t,s);while(n!==-1);return o+=e.slice(s),o}function zs(e,t,r,n){let i=0,s="";do{let o=e[n-1]==="\r";s+=e.substr(i,(o?n-1:n)-i)+t+(o?`\r
|
5
6
|
`:`
|
6
|
-
`)+r,n
|
7
|
-
`,
|
8
|
-
`);return
|
7
|
+
`)+r,i=n+1,n=e.indexOf(`
|
8
|
+
`,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:eo,stderr:to}=Js,cn=Symbol("GENERATOR"),ot=Symbol("STYLER"),Ot=Symbol("IS_EMPTY"),ro=["ansi","ansi","ansi256","ansi16m"],at=Object.create(null),tc=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=eo?eo.level:0;e.level=t.level===void 0?r:t.level};var rc=e=>{let t=(...r)=>r.join(" ");return tc(t,e),Object.setPrototypeOf(t,Pt.prototype),t};function Pt(e){return rc(e)}Object.setPrototypeOf(Pt.prototype,Function.prototype);for(let[e,t]of Object.entries(_e))at[e]={get(){let r=ir(this,pn(t.open,t.close,this[ot]),this[Ot]);return Object.defineProperty(this,e,{value:r}),r}};at.visible={get(){let e=ir(this,this[ot],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var hn=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?_e[r].ansi16m(...n):t==="ansi256"?_e[r].ansi256(_e.rgbToAnsi256(...n)):_e[r].ansi(_e.rgbToAnsi(...n)):e==="hex"?hn("rgb",t,r,..._e.hexToRgb(...n)):_e[r][e](...n),nc=["rgb","hex","ansi256"];for(let e of nc){at[e]={get(){let{level:r}=this;return function(...n){let i=pn(hn(e,ro[r],"color",...n),_e.color.close,this[ot]);return ir(this,i,this[Ot])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);at[t]={get(){let{level:r}=this;return function(...n){let i=pn(hn(e,ro[r],"bgColor",...n),_e.bgColor.close,this[ot]);return ir(this,i,this[Ot])}}}}var ic=Object.defineProperties(()=>{},{...at,level:{enumerable:!0,get(){return this[cn].level},set(e){this[cn].level=e}}}),pn=(e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},ir=(e,t,r)=>{let n=(...i)=>sc(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,ic),n[cn]=e,n[ot]=t,n[Ot]=r,n},sc=(e,t)=>{if(e.level<=0||!t)return e[Ot]?"":t;let r=e[ot];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Zs(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
|
9
|
+
`);return s!==-1&&(t=zs(t,i,n,s)),n+t+i};Object.defineProperties(Pt.prototype,at);var oc=Pt(),_y=Pt({level:to?to.level:0});var ie=oc;import{spawn as ac,execSync as lc}from"child_process";import mn from"node:process";import cc from"node:os";import oo from"node:tty";await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:t}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=t(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:r}=await import("module");globalThis.require=r.createRequire(import.meta.url)}})();var no=(e=0)=>t=>`\x1B[${t+e}m`,io=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,so=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function uc(){let e=new Map,t={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],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[i,s]of Object.entries(n))t[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=t[i],e.set(s[0],s[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=no(),t.color.ansi256=io(),t.color.ansi16m=so(),t.bgColor.ansi=no(10),t.bgColor.ansi256=io(10),t.bgColor.ansi16m=so(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,i)=>r===n&&n===i?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:i}=n.groups;i.length===3&&(i=[...i].map(o=>o+o).join(""));let s=Number.parseInt(i,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1},ansi256ToAnsi:{value:r=>{if(r<8)return 30+r;if(r<16)return 90+(r-8);let n,i,s;if(r>=232)n=((r-232)*10+8)/255,i=n,s=n;else{r-=16;let l=r%36;n=Math.floor(r/36)/5,i=Math.floor(l/6)/5,s=l%6/5}let o=Math.max(n,i,s)*2;if(o===0)return 30;let a=30+(Math.round(s)<<2|Math.round(i)<<1|Math.round(n));return o===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(r,n,i)=>t.ansi256ToAnsi(t.rgbToAnsi256(r,n,i)),enumerable:!1},hexToAnsi:{value:r=>t.ansi256ToAnsi(t.hexToAnsi256(r)),enumerable:!1}}),t}var fc=uc(),ve=fc;function fe(e,t=mn.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:K}=mn,sr;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?sr=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(sr=1);function hc(){if("FORCE_COLOR"in K)return K.FORCE_COLOR==="true"?1:K.FORCE_COLOR==="false"?0:K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}function pc(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function dc(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=hc();n!==void 0&&(sr=n);let i=r?sr:n;if(i===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(K.TERM==="dumb")return s;if(mn.platform==="win32"){let o=cc.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in K)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in K)||K.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(K.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in K){let o=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(K.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM)||"COLORTERM"in K?1:s}function ao(e,t={}){let r=dc(e,{streamIsTTY:e&&e.isTTY,...t});return pc(r)}var _c={stdout:ao({isTTY:oo.isatty(1)}),stderr:ao({isTTY:oo.isatty(2)})},gc=_c;function yc(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let i=t.length,s=0,o="";do o+=e.substr(s,n-s)+t+r,s=n+i,n=e.indexOf(t,s);while(n!==-1);return o+=e.slice(s),o}function mc(e,t,r,n){let i=0,s="";do{let o=e[n-1]==="\r";s+=e.substr(i,(o?n-1:n)-i)+t+(o?`\r
|
9
10
|
`:`
|
10
|
-
`)+r,n
|
11
|
-
`,
|
12
|
-
`);return
|
13
|
-
$ ${
|
14
|
-
`)),await new Promise((
|
15
|
-
`))this.#
|
16
|
-
`),this)}stop(){return this.#
|
17
|
-
`),this}};function
|
11
|
+
`)+r,i=n+1,n=e.indexOf(`
|
12
|
+
`,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:lo,stderr:uo}=gc,dn=Symbol("GENERATOR"),lt=Symbol("STYLER"),Lt=Symbol("IS_EMPTY"),fo=["ansi","ansi","ansi256","ansi16m"],ut=Object.create(null),bc=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=lo?lo.level:0;e.level=t.level===void 0?r:t.level},vc=e=>{let t=(...r)=>r.join(" ");return bc(t,e),Object.setPrototypeOf(t,Mt.prototype),t};function Mt(e){return vc(e)}Object.setPrototypeOf(Mt.prototype,Function.prototype);for(let[e,t]of Object.entries(ve))ut[e]={get(){let r=or(this,gn(t.open,t.close,this[lt]),this[Lt]);return Object.defineProperty(this,e,{value:r}),r}};ut.visible={get(){let e=or(this,this[lt],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var _n=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?ve[r].ansi16m(...n):t==="ansi256"?ve[r].ansi256(ve.rgbToAnsi256(...n)):ve[r].ansi(ve.rgbToAnsi(...n)):e==="hex"?_n("rgb",t,r,...ve.hexToRgb(...n)):ve[r][e](...n),xc=["rgb","hex","ansi256"];for(let e of xc){ut[e]={get(){let{level:r}=this;return function(...n){let i=gn(_n(e,fo[r],"color",...n),ve.color.close,this[lt]);return or(this,i,this[Lt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);ut[t]={get(){let{level:r}=this;return function(...n){let i=gn(_n(e,fo[r],"bgColor",...n),ve.bgColor.close,this[lt]);return or(this,i,this[Lt])}}}}var Sc=Object.defineProperties(()=>{},{...ut,level:{enumerable:!0,get(){return this[dn].level},set(e){this[dn].level=e}}}),gn=(e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},or=(e,t,r)=>{let n=(...i)=>Ec(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Sc),n[dn]=e,n[lt]=t,n[Lt]=r,n},Ec=(e,t)=>{if(e.level<=0||!t)return e[Lt]?"":t;let r=e[lt];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=yc(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
|
13
|
+
`);return s!==-1&&(t=mc(t,i,n,s)),n+t+i};Object.defineProperties(Mt.prototype,ut);var Rc=Mt(),xy=Mt({level:uo?uo.level:0}),Ac=Rc,wc={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Tc={"cp -rf":{win32:e=>{let t="xcopy /E /S /G /Q /Y",r=e.map(n=>n.endsWith("\\")?n:`${n}\\`).map(n=>n.replace(/\*\\$/,""));return`${t} ${r.join(" ")}`}},ln:{win32:e=>`mklink /D ${e.join(" ")}`},pkill:{win32:e=>`taskkill /T /F /pid ${e.join(" ")}`}},Cc=(e,t,r)=>{let n={...wc,...t},i={...Tc,...r},s=a=>{let l=process.platform,c=n[l];if(c)return c(a);let[u,...d]=a.split(" ");return{cmd:u,args:d}},o=(a=>{let l=Object.entries(i);for(let[c,u]of l)if(a.startsWith(c)){let d=process.platform,f=u[d];if(!f)break;let S=a.slice(c.length).trim().split(" ");return f(S)}return a})(e);return s(o)},Oc=process.platform==="linux"||process.platform==="darwin",yn=process.platform==="win32",Pc={stdio:"pipe",shell:!0,detached:!yn,env:process.env},Lc={log:!0,commandTranslations:{},shellTranslations:{},...Pc},Bt=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...n}=Lc)=>{let i=null;return{childProcess:i,async run(s){if(i)throw new Error("Only one command per shell.");if(typeof s=="object"){let l=process.platform;s.posix&&Oc&&(l="posix");let c=s[l];if(!c)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:s}));s=c}let{cmd:o,args:a}=Cc(s,r,t);return e&&console.log(Ac.dim(`
|
14
|
+
$ ${o} ${a.join(" ")}
|
15
|
+
`)),await new Promise((l,c)=>{i=ac(o,a,n);let u="",d="";if(!i)throw new Error("Child process was not set.");let f=S=>{i=null;let m={code:S,stdout:u,stderr:d};S===0||S===1&&!yn?l(m):c(m)};i.stdout?.on("data",S=>{u+=S.toString()}),i.stderr?.on("data",S=>{d+=S.toString()}),i.on("close",f),i.on("exit",f),i.on("error",f),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(yn)lc(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};import Br from"node:process";import Ao from"node:process";var So=st(_o(),1),Eo=st(xo(),1);import Bc from"node:process";var Dc=(0,So.default)(()=>{(0,Eo.default)(()=>{Bc.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),Ro=Dc;var pr=!1,pt={};pt.show=(e=Ao.stderr)=>{!e.isTTY||(pr=!1,e.write("\x1B[?25h"))};pt.hide=(e=Ao.stderr)=>{!e.isTTY||(Ro(),pr=!0,e.write("\x1B[?25l"))};pt.toggle=(e,t)=>{e!==void 0&&(pr=e),pr?pt.show(t):pt.hide(t)};var Sn=pt;var Kt=st(Oo(),1);import Ce from"node:process";function It(){return Ce.platform!=="win32"?Ce.env.TERM!=="linux":Boolean(Ce.env.CI)||Boolean(Ce.env.WT_SESSION)||Ce.env.ConEmuTask==="{cmd::Cmder}"||Ce.env.TERM_PROGRAM==="vscode"||Ce.env.TERM==="xterm-256color"||Ce.env.TERM==="alacritty"||Ce.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var kc={info:ie.blue("ℹ"),success:ie.green("✔"),warning:ie.yellow("⚠"),error:ie.red("✖")},Nc={info:ie.blue("i"),success:ie.green("√"),warning:ie.yellow("‼"),error:ie.red("×")},Fc=It()?kc:Nc,kt=Fc;function En({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}function Rn(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(En(),"")}var Ya=st(Fo(),1);function wn({stream:e=process.stdout}={}){return Boolean(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}var Va=st(Wa(),1);import ye from"node:process";import Wp from"node:readline";var Vp=3,Mr=class{#r=0;#f=new Va.BufferListStream;#i;#n;constructor(){this.#f.pipe(ye.stdout);let t=this;this.#i=function(r,n,...i){let{stdin:s}=ye;if(t.#r>0||s.emit===t.#i){if(r==="keypress")return;r==="data"&&n.includes(Vp)&&ye.emit("SIGINT"),Reflect.apply(t.#i,this,[r,n,...i])}else Reflect.apply(ye.stdin.emit,this,[r,n,...i])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){ye.platform!=="win32"&&(this.#n=Wp.createInterface({input:ye.stdin,output:this.#f}),this.#n.on("SIGINT",()=>{ye.listenerCount("SIGINT")===0?ye.emit("SIGINT"):(this.#n.close(),ye.kill(ye.pid,"SIGINT"))}))}_realStop(){ye.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}};var Dr,ii=class{#r=0;#f=!1;#i=0;#n=0;#e;#o;#t;#c;#h;#a;#l;#u;#p;#s;color;constructor(t){Dr||(Dr=new Mr),typeof t=="string"&&(t={text:t}),this.#e={color:"cyan",stream:Br.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#h=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:wn({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.indent=this.#e.indent,Br.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#i}}))}get indent(){return this.#u}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.#u=t,this.updateLineCount()}get interval(){return this.#h||this.#o.interval||100}get spinner(){return this.#o}set spinner(t){if(this.#n=0,this.#h=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#o=t}else if(!It())this.#o=Kt.default.line;else if(t===void 0)this.#o=Kt.default.dots;else if(t!=="default"&&Kt.default[t])this.#o=Kt.default[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.#p}set text(t){this.#p=t||"",this.updateLineCount()}get prefixText(){return this.#s}set prefixText(t){this.#s=t||"",this.updateLineCount()}get isSpinning(){return this.#c!==void 0}getFullPrefixText(t=this.#s,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}updateLineCount(){let t=this.#t.columns||80,r=this.getFullPrefixText(this.#s,"-");this.#i=0;for(let n of Rn(" ".repeat(this.#u)+r+"--"+this.#p).split(`
|
16
|
+
`))this.#i+=Math.max(1,Math.ceil((0,Ya.default)(n)/t))}get isEnabled(){return this.#a&&!this.#l}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t}get isSilent(){return this.#l}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#l=t}frame(){let{frames:t}=this.#o,r=t[this.#n];this.color&&(r=ie[this.color](r)),this.#n=++this.#n%t.length;let n=typeof this.#s=="string"&&this.#s!==""?this.#s+" ":"",i=typeof this.text=="string"?" "+this.text:"";return n+r+i}clear(){if(!this.#a||!this.#t.isTTY)return this;this.#t.cursorTo(0);for(let t=0;t<this.#r;t++)t>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return(this.#u||this.lastIndent!==this.#u)&&this.#t.cursorTo(this.#u),this.lastIndent=this.#u,this.#r=0,this}render(){return this.#l?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(t){return t&&(this.text=t),this.#l?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&Sn.hide(this.#t),this.#e.discardStdin&&Br.stdin.isTTY&&(this.#f=!0,Dr.start()),this.render(),this.#c=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
|
17
|
+
`),this)}stop(){return this.#a?(clearInterval(this.#c),this.#c=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&Sn.show(this.#t),this.#e.discardStdin&&Br.stdin.isTTY&&this.#f&&(Dr.stop(),this.#f=!1),this):this}succeed(t){return this.stopAndPersist({symbol:kt.success,text:t})}fail(t){return this.stopAndPersist({symbol:kt.error,text:t})}warn(t){return this.stopAndPersist({symbol:kt.warning,text:t})}info(t){return this.stopAndPersist({symbol:kt.info,text:t})}stopAndPersist(t={}){if(this.#l)return this;let r=t.prefixText||this.#s,n=t.text||this.text,i=typeof n=="string"?" "+n:"";return this.stop(),this.#t.write(`${this.getFullPrefixText(r," ")}${t.symbol||" "}${i}
|
18
|
+
`),this}};function si(e){return new ii(e)}import{resolve as iy}from"path";var ty=st(Df(),1);import{copyFile as fv,mkdir as ry}from"fs/promises";import{dirname as hv,resolve as Hs}from"path";var If={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(If.NODE_ENV=e.NODE_ENV)}catch{}var kf=If.NODE_ENV==="development";import{Console as V0}from"console";var Qb=new V0({stdout:process.stdout,stderr:process.stderr,groupIndentation:4});var Nf={packageJson:{type:"module",platform:"node",types:"dist/index.d.ts",files:["dist"],exports:{"./package.json":"./package.json",".":"./dist/index.js","./*":"./dist/*/index.js"},scripts:{dev:"tsmodule dev",build:"tsmodule build",test:"ava",pretest:"tsmodule build --runtime-only",prepublishOnly:"yarn build && yarn test",lint:"eslint src --fix"},ava:{timeout:24e4,files:["test/**/*.test.ts"],extensions:{ts:"module"},nodeArguments:["--no-warnings","--loader=@tsmodule/tsmodule"]}},files:["tsconfig.json",".eslintrc"],dependencies:[],devDependencies:["@types/node","@tsmodule/tsmodule","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","ava","eslint","typescript"]},Ct={default:Nf,react:{packageJson:{platform:"browser",style:"dist/bundle.css",exports:{"./package.json":"./package.json",".":"./dist/index.js","./styles":"./dist/bundle.css","./styles/*":"./dist/components/*/index.css","./*":"./dist/components/*/index.js"},scripts:{export:"tsmodule build",dev:"next dev",build:"next build",start:"next start",lint:"next lint --fix",pretest:"tsmodule build --runtime-only",test:"ava",prepublishOnly:"yarn export && yarn test"},resolutions:{"@types/react":"^17.0.38","@types/react-dom":"^17.0.11"}},files:[".eslintrc","next-env.d.ts","next.config.js","postcss.config.js","tailwind.config.js"],dependencies:["react@^17.0.2","react-dom@^17.0.2"],devDependencies:[...Nf.devDependencies,"@types/react@^17.0.39","@types/react-dom@^17.0.11","eslint-config-next","@tsmodule/react","next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]}};import{dirname as K0,resolve as Q0}from"path";import{fileURLToPath as X0}from"url";var Ff=Q0(K0(X0(import.meta.url)),"..");import{readFile as J0,writeFile as Z0}from"fs/promises";import{resolve as qf}from"path";var z0=async(e=process.cwd())=>{let t=qf(e,"package.json");return await J0(t,"utf-8")},ey=async(e=process.cwd())=>{let t=await z0(e);return JSON.parse(t)},ln=async(e=process.cwd(),t)=>{let r=qf(e,"package.json"),n=await ey(e);return Object.assign(n,t),await Z0(r,JSON.stringify(n,null,2),"utf-8"),n};var ny=e=>Hs(Ff,`./templates/${e}`),$s=async({template:e,targetDir:t=process.cwd()})=>{let r=Bt(),n=ny(e),i=Hs(t);await ry(i,{recursive:!0}),await r.run({posix:`cp -rf ${n}/. ${i}`,win32:`xcopy /E /I /Q /Y ${n}\\ ${i}\\`})};var Gs=async({template:e,targetDir:t=process.cwd()})=>{let r=Hs(t),n=Ct[e].packageJson;return await ln(r,n)},Us=async({template:e,targetDir:t=process.cwd()})=>{let r=Bt({cwd:t}),n=[...Ct.default.dependencies],i=[...Ct.default.devDependencies];switch(e){case"react":n.push(...Ct.react.dependencies),i.push(...Ct.react.devDependencies);break}n.length&&await r.run(`yarn add ${n.join(" ")}`),i.length&&await r.run(`yarn add -D ${i.join(" ")}`)};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var Tv=async(e,{react:t=!1})=>{let r=Bt(),n=si(`Creating new module ${ie.blueBright(e)}.`).start(),i={template:"default",targetDir:e};if(await $s(i),await Gs(i),t){let s={template:"react",targetDir:e};await $s(s),await Gs(s)}await ln(iy(process.cwd(),e),{name:e}),n.succeed("Project created."),await Us({template:"default",targetDir:e}),t&&await Us({template:"react",targetDir:e}),n.succeed("Dependencies installed."),await r.run("git init"),n.succeed("Set up as Git repository.")};export{Tv as create};
|
19
|
+
/*!
|
20
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
21
|
+
*
|
22
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
23
|
+
* Licensed under the MIT License.
|
24
|
+
*/
|
25
|
+
/*!
|
26
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
27
|
+
*
|
28
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
29
|
+
* Licensed under the MIT License.
|
30
|
+
*/
|
31
|
+
/*!
|
32
|
+
* is-glob <https://github.com/jonschlinkert/is-glob>
|
33
|
+
*
|
34
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
35
|
+
* Released under the MIT License.
|
36
|
+
*/
|
37
|
+
/*!
|
38
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
39
|
+
*
|
40
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
41
|
+
* Released under the MIT License.
|
42
|
+
*/
|
43
|
+
/*!
|
44
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
45
|
+
*
|
46
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
47
|
+
* Released under the MIT License.
|
48
|
+
*/
|
49
|
+
/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
50
|
+
/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
18
51
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|