@tsmodule/tsmodule 41.3.0 → 41.4.0

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.
@@ -1,5 +1,5 @@
1
1
 
2
- if(typeof process<"u"){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)}}
2
+ if(typeof process<"u"){let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");globalThis.__filename=i(import.meta.url),globalThis.__dirname=e(globalThis.__filename);let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}
3
3
 
4
4
  var Tn=Object.create;var pr=Object.defineProperty;var Sn=Object.getOwnPropertyDescriptor;var An=Object.getOwnPropertyNames;var Cn=Object.getPrototypeOf,On=Object.prototype.hasOwnProperty;var C=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")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 Bn=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of An(t))!On.call(e,n)&&n!==r&&pr(e,n,{get:()=>t[n],enumerable:!(i=Sn(t,n))||i.enumerable});return e};var _e=(e,t,r)=>(r=e!=null?Tn(Cn(e)):{},Bn(t||!e||!e.__esModule?pr(r,"default",{value:e,enumerable:!0}):r,e));var Or=p(($a,vt)=>{"use strict";var Cr=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};vt.exports=Cr;vt.exports.default=Cr});var Mr=p((Ya,je)=>{"use strict";var $n=Or(),Fe=new WeakMap,Br=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,i=0,n=e.displayName||e.name||"<anonymous>",o=function(...l){if(Fe.set(o,++i),i===1)r=e.apply(this,l),e=null;else if(t.throw===!0)throw new Error(`Function \`${n}\` can only be called once`);return r};return $n(o,e),Fe.set(o,i),o};je.exports=Br;je.exports.default=Br;je.exports.callCount=e=>{if(!Fe.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Fe.get(e)}});var Ir=p((Ha,qe)=>{qe.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&qe.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&qe.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Fr=p((Va,le)=>{var m=global.process,K=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"};K(m)?(Dr=C("assert"),ne=Ir(),Lr=/^win/i.test(m.platform),me=C("events"),typeof me!="function"&&(me=me.EventEmitter),m.__signal_exit_emitter__?T=m.__signal_exit_emitter__:(T=m.__signal_exit_emitter__=new me,T.count=0,T.emitted={}),T.infinite||(T.setMaxListeners(1/0),T.infinite=!0),le.exports=function(e,t){if(!K(global.process))return function(){};Dr.equal(typeof e,"function","a callback must be provided for exit handler"),oe===!1&&wt();var r="exit";t&&t.alwaysLast&&(r="afterexit");var i=function(){T.removeListener(r,e),T.listeners("exit").length===0&&T.listeners("afterexit").length===0&&ke()};return T.on(r,e),i},ke=function(){!oe||!K(global.process)||(oe=!1,ne.forEach(function(t){try{m.removeListener(t,Ue[t])}catch{}}),m.emit=Ge,m.reallyExit=Et,T.count-=1)},le.exports.unload=ke,J=function(t,r,i){T.emitted[t]||(T.emitted[t]=!0,T.emit(t,r,i))},Ue={},ne.forEach(function(e){Ue[e]=function(){if(!!K(global.process)){var r=m.listeners(e);r.length===T.count&&(ke(),J("exit",null,e),J("afterexit",null,e),Lr&&e==="SIGHUP"&&(e="SIGINT"),m.kill(m.pid,e))}}}),le.exports.signals=function(){return ne},oe=!1,wt=function(){oe||!K(global.process)||(oe=!0,T.count+=1,ne=ne.filter(function(t){try{return m.on(t,Ue[t]),!0}catch{return!1}}),m.emit=Pr,m.reallyExit=Nr)},le.exports.load=wt,Et=m.reallyExit,Nr=function(t){!K(global.process)||(m.exitCode=t||0,J("exit",m.exitCode,null),J("afterexit",m.exitCode,null),Et.call(m,m.exitCode))},Ge=m.emit,Pr=function(t,r){if(t==="exit"&&K(global.process)){r!==void 0&&(m.exitCode=r);var i=Ge.apply(this,arguments);return J("exit",m.exitCode,null),J("afterexit",m.exitCode,null),i}else return Ge.apply(this,arguments)}):le.exports=function(){return function(){}};var Dr,ne,Lr,me,T,ke,J,Ue,oe,wt,Et,Nr,Ge,Pr});var Gr=p((za,Vn)=>{Vn.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:["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},dots13:{interval:80,frames:["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},dots8Bit:{interval:80,frames:["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},sand:{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 Yr=p((es,$r)=>{"use strict";var $e=Object.assign({},Gr()),Wr=Object.keys($e);Object.defineProperty($e,"random",{get(){let e=Math.floor(Math.random()*Wr.length),t=Wr[e];return $e[t]}});$r.exports=$e});var Hr=p((fs,Ye)=>{var Xn=function(){"use strict";function e(l,a,s,f){var c;typeof a=="object"&&(s=a.depth,f=a.prototype,c=a.filter,a=a.circular);var d=[],y=[],v=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof s>"u"&&(s=1/0);function S(_,U){if(_===null)return null;if(U==0)return _;var w,pe;if(typeof _!="object")return _;if(e.__isArray(_))w=[];else if(e.__isRegExp(_))w=new RegExp(_.source,o(_)),_.lastIndex&&(w.lastIndex=_.lastIndex);else if(e.__isDate(_))w=new Date(_.getTime());else{if(v&&Buffer.isBuffer(_))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(_.length):w=new Buffer(_.length),_.copy(w),w;typeof f>"u"?(pe=Object.getPrototypeOf(_),w=Object.create(pe)):(w=Object.create(f),pe=f)}if(a){var dr=d.indexOf(_);if(dr!=-1)return y[dr];d.push(_),y.push(w)}for(var dt in _){var pt;pe&&(pt=Object.getOwnPropertyDescriptor(pe,dt)),!(pt&&pt.set==null)&&(w[dt]=S(_[dt],U-1))}return w}return S(l,s)}e.clonePrototype=function(a){if(a===null)return null;var s=function(){};return s.prototype=a,new s};function t(l){return Object.prototype.toString.call(l)}e.__objToStr=t;function r(l){return typeof l=="object"&&t(l)==="[object Date]"}e.__isDate=r;function i(l){return typeof l=="object"&&t(l)==="[object Array]"}e.__isArray=i;function n(l){return typeof l=="object"&&t(l)==="[object RegExp]"}e.__isRegExp=n;function o(l){var a="";return l.global&&(a+="g"),l.ignoreCase&&(a+="i"),l.multiline&&(a+="m"),a}return e.__getRegExpFlags=o,e}();typeof Ye=="object"&&Ye.exports&&(Ye.exports=Xn)});var Kr=p((us,Vr)=>{var Qn=Hr();Vr.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=Qn(t[r]))}),e}});var Zr=p((hs,Jr)=>{Jr.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 ei=p((cs,At)=>{"use strict";var zn=Kr(),ve=Zr(),Qr={nul:0,control:0};At.exports=function(t){return zr(t,Qr)};At.exports.config=function(e){return e=zn(e||{},Qr),function(r){return zr(r,e)}};function zr(e,t){if(typeof e!="string")return Xr(e,t);for(var r=0,i=0;i<e.length;i++){var n=Xr(e.charCodeAt(i),t);if(n<0)return-1;r+=n}return r}function Xr(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=ve.length-1,i;if(e<ve[0][0]||e>ve[r][1])return!1;for(;r>=t;)if(i=Math.floor((t+r)/2),e>ve[i][1])t=i+1;else if(e<ve[i][0])r=i-1;else return!0;return!1}});var Ot=p((ps,ti)=>{ti.exports=C("stream")});var oi=p((_s,ni)=>{"use strict";function ri(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 to(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ri(Object(r),!0).forEach(function(i){ro(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ri(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function io(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ii(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 no(e,t,r){return t&&ii(e.prototype,t),r&&ii(e,r),e}var oo=C("buffer"),He=oo.Buffer,lo=C("util"),Bt=lo.inspect,ao=Bt&&Bt.custom||"inspect";function so(e,t,r){He.prototype.copy.call(e,t,r)}ni.exports=function(){function e(){io(this,e),this.head=null,this.tail=null,this.length=0}return no(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 He.alloc(0);for(var i=He.allocUnsafe(r>>>0),n=this.head,o=0;n;)so(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 l=i.data,a=r>l.length?l.length:r;if(a===l.length?o+=l:o+=l.slice(0,r),r-=a,r===0){a===l.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=l.slice(a));break}++n}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=He.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var l=n.data,a=r>l.length?l.length:r;if(l.copy(i,i.length-r,0,a),r-=a,r===0){a===l.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=l.slice(a));break}++o}return this.length-=o,i}},{key:ao,value:function(r,i){return Bt(this,to({},i,{depth:0,customInspect:!1}))}}]),e}()});var It=p((gs,ai)=>{"use strict";function fo(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(Mt,this,e)):process.nextTick(Mt,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(Ve,r):(r._writableState.errorEmitted=!0,process.nextTick(li,r,o)):process.nextTick(li,r,o):t?(process.nextTick(Ve,r),t(o)):process.nextTick(Ve,r)}),this)}function li(e,t){Mt(e,t),Ve(e)}function Ve(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function uo(){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 Mt(e,t){e.emit("error",t)}function ho(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}ai.exports={destroy:fo,undestroy:uo,errorOrDestroy:ho}});var W=p((bs,ui)=>{"use strict";var fi={};function M(e,t,r){r||(r=Error);function i(o,l,a){return typeof t=="string"?t:t(o,l,a)}class n extends r{constructor(l,a,s){super(i(l,a,s))}}n.prototype.name=r.name,n.prototype.code=e,fi[e]=n}function si(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 co(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 _o(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"&&co(t,"not ")?(i="must not be",t=t.replace(/^not /,"")):i="must be";let n;if(po(e," argument"))n=`The ${e} ${i} ${si(t,"type")}`;else{let o=_o(e,".")?"property":"argument";n=`The "${e}" ${o} ${i} ${si(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");ui.exports.codes=fi});var Dt=p((ms,hi)=>{"use strict";var go=W().codes.ERR_INVALID_OPT_VALUE;function bo(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function mo(e,t,r,i){var n=bo(t,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new go(o,n)}return Math.floor(n)}return e.objectMode?16:16*1024}hi.exports={getHighWaterMark:mo}});var ci=p((ys,Lt)=>{typeof Object.create=="function"?Lt.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Lt.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 Z=p((xs,Pt)=>{try{if(Nt=C("util"),typeof Nt.inherits!="function")throw"";Pt.exports=Nt.inherits}catch{Pt.exports=ci()}var Nt});var pi=p((vs,di)=>{di.exports=C("util").deprecate});var qt=p((ws,xi)=>{"use strict";xi.exports=x;function gi(e){var t=this;this.next=null,this.entry=null,this.finish=function(){Yo(t,e)}}var se;x.WritableState=Ee;var yo={deprecate:pi()},bi=Ot(),Je=C("buffer").Buffer,xo=global.Uint8Array||function(){};function vo(e){return Je.from(e)}function wo(e){return Je.isBuffer(e)||e instanceof xo}var jt=It(),Eo=Dt(),Ro=Eo.getHighWaterMark,$=W().codes,To=$.ERR_INVALID_ARG_TYPE,So=$.ERR_METHOD_NOT_IMPLEMENTED,Ao=$.ERR_MULTIPLE_CALLBACK,Co=$.ERR_STREAM_CANNOT_PIPE,Oo=$.ERR_STREAM_DESTROYED,Bo=$.ERR_STREAM_NULL_VALUES,Mo=$.ERR_STREAM_WRITE_AFTER_END,Io=$.ERR_UNKNOWN_ENCODING,fe=jt.errorOrDestroy;Z()(x,bi);function Do(){}function Ee(e,t,r){se=se||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof se),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Ro(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){ko(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 gi(this)}Ee.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(Ee.prototype,"buffer",{get:yo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Ke;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ke=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(t){return Ke.call(this,t)?!0:this!==x?!1:t&&t._writableState instanceof Ee}})):Ke=function(t){return t instanceof this};function x(e){se=se||X();var t=this instanceof se;if(!t&&!Ke.call(x,this))return new x(e);this._writableState=new Ee(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)),bi.call(this)}x.prototype.pipe=function(){fe(this,new Co)};function Lo(e,t){var r=new Mo;fe(e,r),process.nextTick(t,r)}function No(e,t,r,i){var n;return r===null?n=new Bo:typeof r!="string"&&!t.objectMode&&(n=new To("chunk",["string","Buffer"],r)),n?(fe(e,n),process.nextTick(i,n),!1):!0}x.prototype.write=function(e,t,r){var i=this._writableState,n=!1,o=!i.objectMode&&wo(e);return o&&!Je.isBuffer(e)&&(e=vo(e)),typeof t=="function"&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),typeof r!="function"&&(r=Do),i.ending?Lo(this,r):(o||No(this,i,e,r))&&(i.pendingcb++,n=Fo(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&&mi(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 Io(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Po(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=Je.from(t,r)),t}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Fo(e,t,r,i,n,o){if(!r){var l=Po(t,i,n);i!==l&&(r=!0,n="buffer",i=l)}var a=t.objectMode?1:i.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(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 Ft(e,t,!1,a,i,n,o);return s}function Ft(e,t,r,i,n,o,l){t.writelen=i,t.writecb=l,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Oo("write")):r?e._writev(n,t.onwrite):e._write(n,o,t.onwrite),t.sync=!1}function jo(e,t,r,i,n){--t.pendingcb,r?(process.nextTick(n,i),process.nextTick(we,e,t),e._writableState.errorEmitted=!0,fe(e,i)):(n(i),e._writableState.errorEmitted=!0,fe(e,i),we(e,t))}function qo(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function ko(e,t){var r=e._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Ao;if(qo(r),t)jo(e,r,i,t,n);else{var o=yi(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&mi(e,r),i?process.nextTick(_i,e,r,o,n):_i(e,r,o,n)}}function _i(e,t,r,i){r||Uo(e,t),t.pendingcb--,i(),we(e,t)}function Uo(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function mi(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 l=0,a=!0;r;)n[l]=r,r.isBuf||(a=!1),r=r.next,l+=1;n.allBuffers=a,Ft(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 gi(t),t.bufferedRequestCount=0}else{for(;r;){var s=r.chunk,f=r.encoding,c=r.callback,d=t.objectMode?1:s.length;if(Ft(e,t,!1,d,s,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 So("_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||$o(this,i,r),this};Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function yi(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function Go(e,t){e._final(function(r){t.pendingcb--,r&&fe(e,r),t.prefinished=!0,e.emit("prefinish"),we(e,t)})}function Wo(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(Go,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function we(e,t){var r=yi(t);if(r&&(Wo(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 $o(e,t,r){t.ending=!0,we(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function Yo(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=jt.destroy;x.prototype._undestroy=jt.undestroy;x.prototype._destroy=function(e,t){t(e)}});var X=p((Es,wi)=>{"use strict";var Ho=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};wi.exports=j;var vi=Gt(),Ut=qt();Z()(j,vi);for(kt=Ho(Ut.prototype),Ze=0;Ze<kt.length;Ze++)Xe=kt[Ze],j.prototype[Xe]||(j.prototype[Xe]=Ut.prototype[Xe]);var kt,Xe,Ze;function j(e){if(!(this instanceof j))return new j(e);vi.call(this,e),Ut.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",Vo)))}Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Vo(){this._writableState.ended||process.nextTick(Ko,this)}function Ko(e){e.end()}Object.defineProperty(j.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 Ti=p((Wt,Ri)=>{var Qe=C("buffer"),q=Qe.Buffer;function Ei(e,t){for(var r in e)t[r]=e[r]}q.from&&q.alloc&&q.allocUnsafe&&q.allocUnsafeSlow?Ri.exports=Qe:(Ei(Qe,Wt),Wt.Buffer=Q);function Q(e,t,r){return q(e,t,r)}Q.prototype=Object.create(q.prototype);Ei(q,Q);Q.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return q(e,t,r)};Q.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var i=q(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 q(e)};Q.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Qe.SlowBuffer(e)}});var Ht=p(Ai=>{"use strict";var Yt=Ti().Buffer,Si=Yt.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 Jo(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 Zo(e){var t=Jo(e);if(typeof t!="string"&&(Yt.isEncoding===Si||!Si(e)))throw new Error("Unknown encoding: "+e);return t||e}Ai.StringDecoder=Re;function Re(e){this.encoding=Zo(e);var t;switch(this.encoding){case"utf16le":this.text=rl,this.end=il,t=4;break;case"utf8":this.fillLast=zo,t=4;break;case"base64":this.text=nl,this.end=ol,t=3;break;default:this.write=ll,this.end=al;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yt.allocUnsafe(t)}Re.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||""};Re.prototype.end=tl;Re.prototype.text=el;Re.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 $t(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Xo(e,t,r){var i=t.length-1;if(i<r)return 0;var n=$t(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||n===-2?0:(n=$t(t[i]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function Qo(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 zo(e){var t=this.lastTotal-this.lastNeed,r=Qo(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 el(e,t){var r=Xo(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 tl(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function rl(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 il(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 nl(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 ol(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function ll(e){return e.toString(this.encoding)}function al(e){return e&&e.length?this.write(e):""}});var ze=p((Ts,Bi)=>{"use strict";var Ci=W().codes.ERR_STREAM_PREMATURE_CLOSE;function sl(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 fl(){}function ul(e){return e.setHeader&&typeof e.abort=="function"}function Oi(e,t,r){if(typeof t=="function")return Oi(e,null,t);t||(t={}),r=sl(r||fl);var i=t.readable||t.readable!==!1&&e.readable,n=t.writable||t.writable!==!1&&e.writable,o=function(){e.writable||a()},l=e._writableState&&e._writableState.finished,a=function(){n=!1,l=!0,i||r.call(e)},s=e._readableState&&e._readableState.endEmitted,f=function(){i=!1,s=!0,n||r.call(e)},c=function(S){r.call(e,S)},d=function(){var S;if(i&&!s)return(!e._readableState||!e._readableState.ended)&&(S=new Ci),r.call(e,S);if(n&&!l)return(!e._writableState||!e._writableState.ended)&&(S=new Ci),r.call(e,S)},y=function(){e.req.on("finish",a)};return ul(e)?(e.on("complete",a),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",a),t.error!==!1&&e.on("error",c),e.on("close",d),function(){e.removeListener("complete",a),e.removeListener("abort",d),e.removeListener("request",y),e.req&&e.req.removeListener("finish",a),e.removeListener("end",o),e.removeListener("close",o),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",c),e.removeListener("close",d)}}Bi.exports=Oi});var Ii=p((Ss,Mi)=>{"use strict";var et;function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hl=ze(),H=Symbol("lastResolve"),z=Symbol("lastReject"),Te=Symbol("error"),tt=Symbol("ended"),ee=Symbol("lastPromise"),Vt=Symbol("handlePromise"),te=Symbol("stream");function V(e,t){return{value:e,done:t}}function cl(e){var t=e[H];if(t!==null){var r=e[te].read();r!==null&&(e[ee]=null,e[H]=null,e[z]=null,t(V(r,!1)))}}function dl(e){process.nextTick(cl,e)}function pl(e,t){return function(r,i){e.then(function(){if(t[tt]){r(V(void 0,!0));return}t[Vt](r,i)},i)}}var _l=Object.getPrototypeOf(function(){}),gl=Object.setPrototypeOf((et={get stream(){return this[te]},next:function(){var t=this,r=this[Te];if(r!==null)return Promise.reject(r);if(this[tt])return Promise.resolve(V(void 0,!0));if(this[te].destroyed)return new Promise(function(l,a){process.nextTick(function(){t[Te]?a(t[Te]):l(V(void 0,!0))})});var i=this[ee],n;if(i)n=new Promise(pl(i,this));else{var o=this[te].read();if(o!==null)return Promise.resolve(V(o,!1));n=new Promise(this[Vt])}return this[ee]=n,n}},Y(et,Symbol.asyncIterator,function(){return this}),Y(et,"return",function(){var t=this;return new Promise(function(r,i){t[te].destroy(null,function(n){if(n){i(n);return}r(V(void 0,!0))})})}),et),_l),bl=function(t){var r,i=Object.create(gl,(r={},Y(r,te,{value:t,writable:!0}),Y(r,H,{value:null,writable:!0}),Y(r,z,{value:null,writable:!0}),Y(r,Te,{value:null,writable:!0}),Y(r,tt,{value:t._readableState.endEmitted,writable:!0}),Y(r,Vt,{value:function(o,l){var a=i[te].read();a?(i[ee]=null,i[H]=null,i[z]=null,o(V(a,!1))):(i[H]=o,i[z]=l)},writable:!0}),r));return i[ee]=null,hl(t,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[z];o!==null&&(i[ee]=null,i[H]=null,i[z]=null,o(n)),i[Te]=n;return}var l=i[H];l!==null&&(i[ee]=null,i[H]=null,i[z]=null,l(V(void 0,!0))),i[tt]=!0}),t.on("readable",dl.bind(null,i)),i};Mi.exports=bl});var Pi=p((As,Ni)=>{"use strict";function Di(e,t,r,i,n,o,l){try{var a=e[o](l),s=a.value}catch(f){r(f);return}a.done?t(s):Promise.resolve(s).then(i,n)}function ml(e){return function(){var t=this,r=arguments;return new Promise(function(i,n){var o=e.apply(t,r);function l(s){Di(o,i,n,l,a,"next",s)}function a(s){Di(o,i,n,l,a,"throw",s)}l(void 0)})}}function Li(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 yl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Li(Object(r),!0).forEach(function(i){xl(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vl=W().codes.ERR_INVALID_ARG_TYPE;function wl(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 vl("iterable",["Iterable"],t);var n=new e(yl({objectMode:!0},r)),o=!1;n._read=function(){o||(o=!0,l())};function l(){return a.apply(this,arguments)}function a(){return a=ml(function*(){try{var s=yield i.next(),f=s.value,c=s.done;c?n.push(null):n.push(yield f)?l():o=!1}catch(d){n.destroy(d)}}),a.apply(this,arguments)}return n}Ni.exports=wl});var Gt=p((Os,Hi)=>{"use strict";Hi.exports=h;var ue;h.ReadableState=ki;var Cs=C("events").EventEmitter,qi=function(t,r){return t.listeners(r).length},Ae=Ot(),rt=C("buffer").Buffer,El=global.Uint8Array||function(){};function Rl(e){return rt.from(e)}function Tl(e){return rt.isBuffer(e)||e instanceof El}var Kt=C("util"),u;Kt&&Kt.debuglog?u=Kt.debuglog("stream"):u=function(){};var Sl=oi(),tr=It(),Al=Dt(),Cl=Al.getHighWaterMark,it=W().codes,Ol=it.ERR_INVALID_ARG_TYPE,Bl=it.ERR_STREAM_PUSH_AFTER_EOF,Ml=it.ERR_METHOD_NOT_IMPLEMENTED,Il=it.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,he,Jt,Zt;Z()(h,Ae);var Se=tr.errorOrDestroy,Xt=["error","close","destroy","pause","resume"];function Dl(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 ki(e,t,r){ue=ue||X(),e=e||{},typeof r!="boolean"&&(r=t instanceof ue),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Cl(this,e,"readableHighWaterMark",r),this.buffer=new Sl,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&&(he||(he=Ht().StringDecoder),this.decoder=new he(e.encoding),this.encoding=e.encoding)}function h(e){if(ue=ue||X(),!(this instanceof h))return new h(e);var t=this instanceof ue;this._readableState=new ki(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=tr.destroy;h.prototype._undestroy=tr.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=rt.from(e,t),t=""),i=!0),Ui(this,e,t,!1,i)};h.prototype.unshift=function(e){return Ui(this,e,null,!0,!1)};function Ui(e,t,r,i,n){u("readableAddChunk",t);var o=e._readableState;if(t===null)o.reading=!1,Pl(e,o);else{var l;if(n||(l=Ll(o,t)),l)Se(e,l);else if(o.objectMode||t&&t.length>0)if(typeof t!="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==rt.prototype&&(t=Rl(t)),i)o.endEmitted?Se(e,new Il):Qt(e,o,t,!0);else if(o.ended)Se(e,new Bl);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||t.length!==0?Qt(e,o,t,!1):er(e,o)):Qt(e,o,t,!1)}else i||(o.reading=!1,er(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function Qt(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&&nt(e)),er(e,t)}function Ll(e,t){var r;return!Tl(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new Ol("chunk",["string","Buffer","Uint8Array"],t)),r}h.prototype.isPaused=function(){return this._readableState.flowing===!1};h.prototype.setEncoding=function(e){he||(he=Ht().StringDecoder);var t=new he(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 Fi=1073741824;function Nl(e){return e>=Fi?e=Fi:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function ji(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=Nl(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?zt(this):nt(this),null;if(e=ji(e,t),e===0&&t.ended)return t.length===0&&zt(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=ji(r,t)));var n;return e>0?n=$i(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&&zt(this)),n!==null&&this.emit("data",n),n};function Pl(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?nt(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Gi(e)))}}function nt(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(Gi,e))}function Gi(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,rr(e)}function er(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Fl,e,t))}function Fl(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){Se(this,new Ml("_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?a:_;i.endEmitted?process.nextTick(o):r.once("end",o),e.on("unpipe",l);function l(U,w){u("onunpipe"),U===r&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,c())}function a(){u("onend"),e.end()}var s=jl(r);e.on("drain",s);var f=!1;function c(){u("cleanup"),e.removeListener("close",v),e.removeListener("finish",S),e.removeListener("drain",s),e.removeListener("error",y),e.removeListener("unpipe",l),r.removeListener("end",a),r.removeListener("end",_),r.removeListener("data",d),f=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s()}r.on("data",d);function d(U){u("ondata");var w=e.write(U);u("dest.write",w),w===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&Yi(i.pipes,e)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function y(U){u("onerror",U),_(),e.removeListener("error",y),qi(e,"error")===0&&Se(e,U)}Dl(e,"error",y);function v(){e.removeListener("finish",S),_()}e.once("close",v);function S(){u("onfinish"),e.removeListener("close",v),_()}e.once("finish",S);function _(){u("unpipe"),r.unpipe(e)}return e.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),e};function jl(e){return function(){var r=e._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&qi(e,"data")&&(r.flowing=!0,rr(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 l=Yi(t.pipes,e);return l===-1?this:(t.pipes.splice(l,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?nt(this):i.reading||process.nextTick(ql,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(Wi,this),r};h.prototype.removeAllListeners=function(e){var t=Ae.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Wi,this),t};function Wi(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 ql(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,kl(this,e)),e.paused=!1,this};function kl(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Ul,e,t))}function Ul(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),rr(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 rr(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 l=r.decoder.end();l&&l.length&&t.push(l)}t.push(null)}),e.on("data",function(l){if(u("wrapped data"),r.decoder&&(l=r.decoder.write(l)),!(r.objectMode&&l==null)&&!(!r.objectMode&&(!l||!l.length))){var a=t.push(l);a||(i=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(a){return function(){return e[a].apply(e,arguments)}}(n));for(var o=0;o<Xt.length;o++)e.on(Xt[o],this.emit.bind(this,Xt[o]));return this._read=function(l){u("wrapped _read",l),i&&(i=!1,e.resume())},this};typeof Symbol=="function"&&(h.prototype[Symbol.asyncIterator]=function(){return Jt===void 0&&(Jt=Ii()),Jt(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=$i;Object.defineProperty(h.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function $i(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 zt(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(Gl,t,e))}function Gl(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=Pi()),Zt(h,e,t)});function Yi(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}});var ir=p((Bs,Ki)=>{"use strict";Ki.exports=G;var ot=W().codes,Wl=ot.ERR_METHOD_NOT_IMPLEMENTED,$l=ot.ERR_MULTIPLE_CALLBACK,Yl=ot.ERR_TRANSFORM_ALREADY_TRANSFORMING,Hl=ot.ERR_TRANSFORM_WITH_LENGTH_0,lt=X();Z()(G,lt);function Vl(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(i===null)return this.emit("error",new $l);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 G(e){if(!(this instanceof G))return new G(e);lt.call(this,e),this._transformState={afterTransform:Vl.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",Kl)}function Kl(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Vi(e,t,r)}):Vi(this,null,null)}G.prototype.push=function(e,t){return this._transformState.needTransform=!1,lt.prototype.push.call(this,e,t)};G.prototype._transform=function(e,t,r){r(new Wl("_transform()"))};G.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)}};G.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};G.prototype._destroy=function(e,t){lt.prototype._destroy.call(this,e,function(r){t(r)})};function Vi(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new Hl;if(e._transformState.transforming)throw new Yl;return e.push(null)}});var Xi=p((Ms,Zi)=>{"use strict";Zi.exports=Ce;var Ji=ir();Z()(Ce,Ji);function Ce(e){if(!(this instanceof Ce))return new Ce(e);Ji.call(this,e)}Ce.prototype._transform=function(e,t,r){r(null,e)}});var rn=p((Is,tn)=>{"use strict";var nr;function Jl(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var en=W().codes,Zl=en.ERR_MISSING_ARGS,Xl=en.ERR_STREAM_DESTROYED;function Qi(e){if(e)throw e}function Ql(e){return e.setHeader&&typeof e.abort=="function"}function zl(e,t,r,i){i=Jl(i);var n=!1;e.on("close",function(){n=!0}),nr===void 0&&(nr=ze()),nr(e,{readable:t,writable:r},function(l){if(l)return i(l);n=!0,i()});var o=!1;return function(l){if(!n&&!o){if(o=!0,Ql(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();i(l||new Xl("pipe"))}}}function zi(e){e()}function ea(e,t){return e.pipe(t)}function ta(e){return!e.length||typeof e[e.length-1]!="function"?Qi:e.pop()}function ra(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=ta(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Zl("streams");var n,o=t.map(function(l,a){var s=a<t.length-1,f=a>0;return zl(l,s,f,function(c){n||(n=c),c&&o.forEach(zi),!s&&(o.forEach(zi),i(n))})});return t.reduce(ea)}tn.exports=ra});var nn=p((I,Be)=>{var Oe=C("stream");process.env.READABLE_STREAM==="disable"&&Oe?(Be.exports=Oe.Readable,Object.assign(Be.exports,Oe),Be.exports.Stream=Oe):(I=Be.exports=Gt(),I.Stream=Oe||I,I.Readable=I,I.Writable=qt(),I.Duplex=X(),I.Transform=ir(),I.PassThrough=Xi(),I.finished=ze(),I.pipeline=rn())});var an=p((Ds,ln)=>{"use strict";var{Buffer:P}=C("buffer"),on=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,on,{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||P.alloc(0);let o=!!t,l=this._offset(i),a=n-i,s=a,f=o&&r||0,c=l[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:P.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(s<=this._bufs[l[0]].length-c)return o?this._bufs[l[0]].copy(t,r,c,c+s):this._bufs[l[0]].slice(c,c+s);o||(t=P.allocUnsafe(a));for(let d=l[0];d<this._bufs.length;d++){let y=this._bufs[d].length-c;if(s>y)this._bufs[d].copy(t,f,c),f+=y;else{this._bufs[d].copy(t,f,c,c+s),f+=y;break}s-=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(P.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(P.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=P.from([e]):typeof e=="string"?e=P.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=P.from(e.buffer,e.byteOffset,e.byteLength):P.isBuffer(e)||(e=P.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 l=this._bufs[n];for(;o<l.length;)if(l.length-o>=e.length){let s=l.indexOf(e,o);if(s!==-1)return this._reverseOffset([n,s]);o=l.length-e.length+1}else{let s=this._reverseOffset([n,o]);if(this._match(s,e))return s;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[on]};ln.exports=g});var sn=p((Ls,at)=>{"use strict";var or=nn().Duplex,ia=Z(),Me=an();function A(e){if(!(this instanceof A))return new A(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}Me._init.call(this,e),or.call(this)}ia(A,or);Object.assign(A.prototype,Me.prototype);A.prototype._new=function(t){return new A(t)};A.prototype._write=function(t,r,i){this._appendBuffer(t),typeof i=="function"&&i()};A.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)};A.prototype.end=function(t){or.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};A.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};A.prototype._isBufferList=function(t){return t instanceof A||t instanceof Me||A.isBufferList(t)};A.isBufferList=Me.isBufferList;at.exports=A;at.exports.BufferListStream=A;at.exports.BufferList=Me});var _r=(e=0)=>t=>`\x1B[${t+e}m`,gr=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,br=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`,b={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},mr=Object.keys(b.modifier),_t=Object.keys(b.color),gt=Object.keys(b.bgColor),yr=[..._t,...gt];function Mn(){let e=new Map;for(let[t,r]of Object.entries(b)){for(let[i,n]of Object.entries(r))b[i]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[i]=b[i],e.set(n[0],n[1]);Object.defineProperty(b,t,{value:r,enumerable:!1})}return Object.defineProperty(b,"codes",{value:e,enumerable:!1}),b.color.close="\x1B[39m",b.bgColor.close="\x1B[49m",b.color.ansi=_r(),b.color.ansi256=gr(),b.color.ansi16m=br(),b.bgColor.ansi=_r(10),b.bgColor.ansi256=gr(10),b.bgColor.ansi16m=br(10),Object.defineProperties(b,{rgbToAnsi256:{value(t,r,i){return t===r&&r===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[i]=r;i.length===3&&(i=[...i].map(o=>o+o).join(""));let n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>b.rgbToAnsi256(...b.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,i,n;if(t>=232)r=((t-232)*10+8)/255,i=r,n=r;else{t-=16;let a=t%36;r=Math.floor(t/36)/5,i=Math.floor(a/6)/5,n=a%6/5}let o=Math.max(r,i,n)*2;if(o===0)return 30;let l=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(r));return o===2&&(l+=60),l},enumerable:!1},rgbToAnsi:{value:(t,r,i)=>b.ansi256ToAnsi(b.rgbToAnsi256(t,r,i)),enumerable:!1},hexToAnsi:{value:t=>b.ansi256ToAnsi(b.hexToAnsi256(t)),enumerable:!1}}),b}var In=Mn(),L=In;import bt from"node:process";import Dn from"node:os";import xr from"node:tty";function B(e,t=bt.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:E}=bt,Ne;B("no-color")||B("no-colors")||B("color=false")||B("color=never")?Ne=0:(B("color")||B("colors")||B("color=true")||B("color=always"))&&(Ne=1);function Ln(){if("FORCE_COLOR"in E)return E.FORCE_COLOR==="true"?1:E.FORCE_COLOR==="false"?0:E.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(E.FORCE_COLOR,10),3)}function Nn(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Pn(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let i=Ln();i!==void 0&&(Ne=i);let n=r?Ne:i;if(n===0)return 0;if(r){if(B("color=16m")||B("color=full")||B("color=truecolor"))return 3;if(B("color=256"))return 2}if(e&&!t&&n===void 0)return 0;let o=n||0;if(E.TERM==="dumb")return o;if(bt.platform==="win32"){let l=Dn.release().split(".");return Number(l[0])>=10&&Number(l[2])>=10586?Number(l[2])>=14931?3:2:1}if("CI"in E)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(l=>l in E)||E.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in E)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(E.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in E&&"AGENT_NAME"in E)return 1;if(E.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in E){let l=Number.parseInt((E.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(E.TERM_PROGRAM){case"iTerm.app":return l>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(E.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(E.TERM)||"COLORTERM"in E?1:o}function vr(e,t={}){let r=Pn(e,{streamIsTTY:e&&e.isTTY,...t});return Nn(r)}var Fn={stdout:vr({isTTY:xr.isatty(1)}),stderr:vr({isTTY:xr.isatty(2)})},wr=Fn;function Er(e,t,r){let i=e.indexOf(t);if(i===-1)return e;let n=t.length,o=0,l="";do l+=e.slice(o,i)+t+r,o=i+n,i=e.indexOf(t,o);while(i!==-1);return l+=e.slice(o),l}function Rr(e,t,r,i){let n=0,o="";do{let l=e[i-1]==="\r";o+=e.slice(n,l?i-1:i)+t+(l?`\r
5
5
  `:`
@@ -1,5 +1,5 @@
1
1
 
2
- if(typeof process<"u"){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)}}
2
+ if(typeof process<"u"){let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");globalThis.__filename=i(import.meta.url),globalThis.__dirname=e(globalThis.__filename);let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}
3
3
 
4
4
  var ta=Object.create;var $n=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames;var sa=Object.getPrototypeOf,ia=Object.prototype.hasOwnProperty;var q=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var oa=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of na(e))!ia.call(t,s)&&s!==r&&$n(t,s,{get:()=>e[s],enumerable:!(n=ra(e,s))||n.enumerable});return t};var aa=(t,e,r)=>(r=t!=null?ta(sa(t)):{},oa(e||!t||!t.__esModule?$n(r,"default",{value:t,enumerable:!0}):r,t));var Hn=m(ke=>{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});ke.splitWhen=ke.flatten=void 0;function ua(t){return t.reduce((e,r)=>[].concat(e,r),[])}ke.flatten=ua;function la(t,e){let r=[[]],n=0;for(let s of t)e(s)?(n++,r[n]=[]):r[n].push(s);return r}ke.splitWhen=la});var Fn=m(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.isEnoentCodeError=void 0;function ca(t){return t.code==="ENOENT"}ot.isEnoentCodeError=ca});var qn=m(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.createDirentFromStats=void 0;var Ft=class{constructor(e,r){this.name=e,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 fa(t,e){return new Ft(t,e)}at.createDirentFromStats=fa});var jn=m(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});le.removeLeadingDotSegment=le.escape=le.makeAbsolute=le.unixify=void 0;var pa=q("path"),ha=2,da=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function ga(t){return t.replace(/\\/g,"/")}le.unixify=ga;function _a(t,e){return pa.resolve(t,e)}le.makeAbsolute=_a;function ma(t){return t.replace(da,"\\$2")}le.escape=ma;function ya(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(ha)}return t}le.removeLeadingDotSegment=ya});var Un=m((ip,Gn)=>{Gn.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var Yn=m((op,Wn)=>{var Sa=Un(),Vn={"{":"}","(":")","[":"]"},ba=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,n=-2,s=-2,i=-2,o=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||n!==-1&&t[e]==="["&&t[e+1]!=="]"&&(n<e&&(n=t.indexOf("]",e)),n>e&&(o===-1||o>n||(o=t.indexOf("\\",e),o===-1||o>n)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||i!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(i=t.indexOf(")",e),i>e&&(o=t.indexOf("\\",e),o===-1||o>i))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(i=t.indexOf(")",r),i>r&&(o=t.indexOf("\\",r),o===-1||o>i))))return!0;if(t[e]==="\\"){var a=t[e+1];e+=2;var u=Vn[a];if(u){var d=t.indexOf(u,e);d!==-1&&(e=d+1)}if(t[e]==="!")return!0}else e++}return!1},Ea=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var n=Vn[r];if(n){var s=t.indexOf(n,e);s!==-1&&(e=s+1)}if(t[e]==="!")return!0}else e++}return!1};Wn.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(Sa(e))return!0;var n=ba;return r&&r.strict===!1&&(n=Ea),n(e)}});var Qn=m((ap,Kn)=>{"use strict";var Aa=Yn(),Ra=q("path").posix.dirname,va=q("os").platform()==="win32",qt="/",Ta=/\\/g,xa=/[\{\[].*[\}\]]$/,Ca=/(^|[^\\])([\{\[]|\([^\)]+$)/,Oa=/\\([\!\*\?\|\[\]\(\)\{\}])/g;Kn.exports=function(e,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&va&&e.indexOf(qt)<0&&(e=e.replace(Ta,qt)),xa.test(e)&&(e+=qt),e+="a";do e=Ra(e);while(Aa(e)||Ca.test(e));return e.replace(Oa,"$1")}});var ut=m(re=>{"use strict";re.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;re.find=(t,e)=>t.nodes.find(r=>r.type===e);re.exceedsLimit=(t,e,r=1,n)=>n===!1||!re.isInteger(t)||!re.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=n;re.escapeNode=(t,e=0,r)=>{let n=t.nodes[e];!n||(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};re.encloseBrace=t=>t.type!=="brace"?!1:t.commas>>0+t.ranges>>0===0?(t.invalid=!0,!0):!1;re.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:t.commas>>0+t.ranges>>0===0||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;re.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;re.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);re.flatten=(...t)=>{let e=[],r=n=>{for(let s=0;s<n.length;s++){let i=n[s];Array.isArray(i)?r(i,e):i!==void 0&&e.push(i)}return e};return r(t),e}});var lt=m((lp,Zn)=>{"use strict";var Xn=ut();Zn.exports=(t,e={})=>{let r=(n,s={})=>{let i=e.escapeInvalid&&Xn.isInvalidBrace(s),o=n.invalid===!0&&e.escapeInvalid===!0,a="";if(n.value)return(i||o)&&Xn.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(t)}});var zn=m((cp,Jn)=>{"use strict";Jn.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var us=m((fp,as)=>{"use strict";var es=zn(),xe=(t,e,r)=>{if(es(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(es(e)===!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 s=String(n.relaxZeros),i=String(n.shorthand),o=String(n.capture),a=String(n.wrap),u=t+":"+e+"="+s+i+o+a;if(xe.cache.hasOwnProperty(u))return xe.cache[u].result;let d=Math.min(t,e),l=Math.max(t,e);if(Math.abs(d-l)===1){let b=t+"|"+e;return n.capture?`(${b})`:n.wrap===!1?b:`(?:${b})`}let g=os(t)||os(e),p={min:t,max:e,a:d,b:l},R=[],y=[];if(g&&(p.isPadded=g,p.maxLen=String(p.max).length),d<0){let b=l<0?Math.abs(l):1;y=ts(b,Math.abs(d),p,n),d=p.a=0}return l>=0&&(R=ts(d,l,p,n)),p.negatives=y,p.positives=R,p.result=Pa(y,R,n),n.capture===!0?p.result=`(${p.result})`:n.wrap!==!1&&R.length+y.length>1&&(p.result=`(?:${p.result})`),xe.cache[u]=p,p.result};function Pa(t,e,r){let n=jt(t,e,"-",!1,r)||[],s=jt(e,t,"",!1,r)||[],i=jt(t,e,"-?",!0,r)||[];return n.concat(i).concat(s).join("|")}function wa(t,e){let r=1,n=1,s=ns(t,r),i=new Set([e]);for(;t<=s&&s<=e;)i.add(s),r+=1,s=ns(t,r);for(s=ss(e+1,n)-1;t<s&&s<=e;)i.add(s),n+=1,s=ss(e+1,n)-1;return i=[...i],i.sort(Ma),i}function La(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let n=ka(t,e),s=n.length,i="",o=0;for(let a=0;a<s;a++){let[u,d]=n[a];u===d?i+=u:u!=="0"||d!=="9"?i+=Na(u,d,r):o++}return o&&(i+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:i,count:[o],digits:s}}function ts(t,e,r,n){let s=wa(t,e),i=[],o=t,a;for(let u=0;u<s.length;u++){let d=s[u],l=La(String(o),String(d),n),g="";if(!r.isPadded&&a&&a.pattern===l.pattern){a.count.length>1&&a.count.pop(),a.count.push(l.count[0]),a.string=a.pattern+is(a.count),o=d+1;continue}r.isPadded&&(g=Ia(d,r,n)),l.string=g+l.pattern+is(l.count),i.push(l),o=d+1,a=l}return i}function jt(t,e,r,n,s){let i=[];for(let o of t){let{string:a}=o;!n&&!rs(e,"string",a)&&i.push(r+a),n&&rs(e,"string",a)&&i.push(r+a)}return i}function ka(t,e){let r=[];for(let n=0;n<t.length;n++)r.push([t[n],e[n]]);return r}function Ma(t,e){return t>e?1:e>t?-1:0}function rs(t,e,r){return t.some(n=>n[e]===r)}function ns(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function ss(t,e){return t-t%Math.pow(10,e)}function is(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function Na(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function os(t){return/^-?(0+)\d/.test(t)}function Ia(t,e,r){if(!e.isPadded)return t;let n=Math.abs(e.maxLen-String(t).length),s=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${n}}`:`0{${n}}`}}xe.cache={};xe.clearCache=()=>xe.cache={};as.exports=xe});var Vt=m((pp,_s)=>{"use strict";var Ba=q("util"),fs=us(),ls=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Da=t=>e=>t===!0?Number(e):String(e),Gt=t=>typeof t=="number"||typeof t=="string"&&t!=="",Ke=t=>Number.isInteger(+t),Ut=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},$a=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,Ha=(t,e,r)=>{if(e>0){let n=t[0]==="-"?"-":"";n&&(t=t.slice(1)),t=n+t.padStart(n?e-1:e,"0")}return r===!1?String(t):t},cs=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},Fa=(t,e)=>{t.negatives.sort((o,a)=>o<a?-1:o>a?1:0),t.positives.sort((o,a)=>o<a?-1:o>a?1:0);let r=e.capture?"":"?:",n="",s="",i;return t.positives.length&&(n=t.positives.join("|")),t.negatives.length&&(s=`-(${r}${t.negatives.join("|")})`),n&&s?i=`${n}|${s}`:i=n||s,e.wrap?`(${r}${i})`:i},ps=(t,e,r,n)=>{if(r)return fs(t,e,{wrap:!1,...n});let s=String.fromCharCode(t);if(t===e)return s;let i=String.fromCharCode(e);return`[${s}-${i}]`},hs=(t,e,r)=>{if(Array.isArray(t)){let n=r.wrap===!0,s=r.capture?"":"?:";return n?`(${s}${t.join("|")})`:t.join("|")}return fs(t,e,r)},ds=(...t)=>new RangeError("Invalid range arguments: "+Ba.inspect(...t)),gs=(t,e,r)=>{if(r.strictRanges===!0)throw ds([t,e]);return[]},qa=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},ja=(t,e,r=1,n={})=>{let s=Number(t),i=Number(e);if(!Number.isInteger(s)||!Number.isInteger(i)){if(n.strictRanges===!0)throw ds([t,e]);return[]}s===0&&(s=0),i===0&&(i=0);let o=s>i,a=String(t),u=String(e),d=String(r);r=Math.max(Math.abs(r),1);let l=Ut(a)||Ut(u)||Ut(d),g=l?Math.max(a.length,u.length,d.length):0,p=l===!1&&$a(t,e,n)===!1,R=n.transform||Da(p);if(n.toRegex&&r===1)return ps(cs(t,g),cs(e,g),!0,n);let y={negatives:[],positives:[]},b=k=>y[k<0?"negatives":"positives"].push(Math.abs(k)),v=[],T=0;for(;o?s>=i:s<=i;)n.toRegex===!0&&r>1?b(s):v.push(Ha(R(s,T),g,p)),s=o?s-r:s+r,T++;return n.toRegex===!0?r>1?Fa(y,n):hs(v,null,{wrap:!1,...n}):v},Ga=(t,e,r=1,n={})=>{if(!Ke(t)&&t.length>1||!Ke(e)&&e.length>1)return gs(t,e,n);let s=n.transform||(p=>String.fromCharCode(p)),i=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),a=i>o,u=Math.min(i,o),d=Math.max(i,o);if(n.toRegex&&r===1)return ps(u,d,!1,n);let l=[],g=0;for(;a?i>=o:i<=o;)l.push(s(i,g)),i=a?i-r:i+r,g++;return n.toRegex===!0?hs(l,null,{wrap:!1,options:n}):l},ct=(t,e,r,n={})=>{if(e==null&&Gt(t))return[t];if(!Gt(t)||!Gt(e))return gs(t,e,n);if(typeof r=="function")return ct(t,e,1,{transform:r});if(ls(r))return ct(t,e,0,r);let s={...n};return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,Ke(r)?Ke(t)&&Ke(e)?ja(t,e,r,s):Ga(t,e,Math.max(Math.abs(r),1),s):r!=null&&!ls(r)?qa(r,s):ct(t,e,1,r)};_s.exports=ct});var Ss=m((hp,ys)=>{"use strict";var Ua=Vt(),ms=ut(),Va=(t,e={})=>{let r=(n,s={})=>{let i=ms.isInvalidBrace(s),o=n.invalid===!0&&e.escapeInvalid===!0,a=i===!0||o===!0,u=e.escapeInvalid===!0?"\\":"",d="";if(n.isOpen===!0||n.isClose===!0)return u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+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 l=ms.reduce(n.nodes),g=Ua(...l,{...e,wrap:!1,toRegex:!0});if(g.length!==0)return l.length>1&&g.length>1?`(${g})`:g}if(n.nodes)for(let l of n.nodes)d+=r(l,n);return d};return r(t)};ys.exports=Va});var As=m((dp,Es)=>{"use strict";var Wa=Vt(),bs=lt(),Me=ut(),Ce=(t="",e="",r=!1)=>{let n=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?Me.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let i of s)n.push(Ce(i,e,r));else for(let i of e)r===!0&&typeof i=="string"&&(i=`{${i}}`),n.push(Array.isArray(i)?Ce(s,i,r):s+i);return Me.flatten(n)},Ya=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,n=(s,i={})=>{s.queue=[];let o=i,a=i.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(s.invalid||s.dollar){a.push(Ce(a.pop(),bs(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){a.push(Ce(a.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let g=Me.reduce(s.nodes);if(Me.exceedsLimit(...g,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let p=Wa(...g,e);p.length===0&&(p=bs(s,e)),a.push(Ce(a.pop(),p)),s.nodes=[];return}let u=Me.encloseBrace(s),d=s.queue,l=s;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,d=l.queue;for(let g=0;g<s.nodes.length;g++){let p=s.nodes[g];if(p.type==="comma"&&s.type==="brace"){g===1&&d.push(""),d.push("");continue}if(p.type==="close"){a.push(Ce(a.pop(),d,u));continue}if(p.value&&p.type!=="open"){d.push(Ce(d.pop(),p.value));continue}p.nodes&&n(p,s)}return d};return Me.flatten(n(t))};Es.exports=Ya});var vs=m((gp,Rs)=>{"use strict";Rs.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
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 Ps=m((_p,Os)=>{"use strict";var Ka=lt(),{MAX_LENGTH:Ts,CHAR_BACKSLASH:Wt,CHAR_BACKTICK:Qa,CHAR_COMMA:Xa,CHAR_DOT:Za,CHAR_LEFT_PARENTHESES:Ja,CHAR_RIGHT_PARENTHESES:za,CHAR_LEFT_CURLY_BRACE:eu,CHAR_RIGHT_CURLY_BRACE:tu,CHAR_LEFT_SQUARE_BRACKET:xs,CHAR_RIGHT_SQUARE_BRACKET:Cs,CHAR_DOUBLE_QUOTE:ru,CHAR_SINGLE_QUOTE:nu,CHAR_NO_BREAK_SPACE:su,CHAR_ZERO_WIDTH_NOBREAK_SPACE:iu}=vs(),ou=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},n=typeof r.maxLength=="number"?Math.min(Ts,r.maxLength):Ts;if(t.length>n)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${n})`);let s={type:"root",input:t,nodes:[]},i=[s],o=s,a=s,u=0,d=t.length,l=0,g=0,p,R={},y=()=>t[l++],b=v=>{if(v.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&v.type==="text"){a.value+=v.value;return}return o.nodes.push(v),v.parent=o,v.prev=a,a=v,v};for(b({type:"bos"});l<d;)if(o=i[i.length-1],p=y(),!(p===iu||p===su)){if(p===Wt){b({type:"text",value:(e.keepEscaping?p:"")+y()});continue}if(p===Cs){b({type:"text",value:"\\"+p});continue}if(p===xs){u++;let v=!0,T;for(;l<d&&(T=y());){if(p+=T,T===xs){u++;continue}if(T===Wt){p+=y();continue}if(T===Cs&&(u--,u===0))break}b({type:"text",value:p});continue}if(p===Ja){o=b({type:"paren",nodes:[]}),i.push(o),b({type:"text",value:p});continue}if(p===za){if(o.type!=="paren"){b({type:"text",value:p});continue}o=i.pop(),b({type:"text",value:p}),o=i[i.length-1];continue}if(p===ru||p===nu||p===Qa){let v=p,T;for(e.keepQuotes!==!0&&(p="");l<d&&(T=y());){if(T===Wt){p+=T+y();continue}if(T===v){e.keepQuotes===!0&&(p+=T);break}p+=T}b({type:"text",value:p});continue}if(p===eu){g++;let T={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:g,commas:0,ranges:0,nodes:[]};o=b(T),i.push(o),b({type:"open",value:p});continue}if(p===tu){if(o.type!=="brace"){b({type:"text",value:p});continue}let v="close";o=i.pop(),o.close=!0,b({type:v,value:p}),g--,o=i[i.length-1];continue}if(p===Xa&&g>0){if(o.ranges>0){o.ranges=0;let v=o.nodes.shift();o.nodes=[v,{type:"text",value:Ka(o)}]}b({type:"comma",value:p}),o.commas++;continue}if(p===Za&&g>0&&o.commas===0){let v=o.nodes;if(g===0||v.length===0){b({type:"text",value:p});continue}if(a.type==="dot"){if(o.range=[],a.value+=p,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"){v.pop();let T=v[v.length-1];T.value+=a.value+p,a=T,o.ranges--;continue}b({type:"dot",value:p});continue}b({type:"text",value:p})}do if(o=i.pop(),o.type!=="root"){o.nodes.forEach(k=>{k.nodes||(k.type==="open"&&(k.isOpen=!0),k.type==="close"&&(k.isClose=!0),k.nodes||(k.type="text"),k.invalid=!0)});let v=i[i.length-1],T=v.nodes.indexOf(o);v.nodes.splice(T,1,...o.nodes)}while(i.length>0);return b({type:"eos"}),s};Os.exports=ou});var ks=m((mp,Ls)=>{"use strict";var ws=lt(),au=Ss(),uu=As(),lu=Ps(),z=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let s=z.create(n,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(z.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};z.parse=(t,e={})=>lu(t,e);z.stringify=(t,e={})=>ws(typeof t=="string"?z.parse(t,e):t,e);z.compile=(t,e={})=>(typeof t=="string"&&(t=z.parse(t,e)),au(t,e));z.expand=(t,e={})=>{typeof t=="string"&&(t=z.parse(t,e));let r=uu(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};z.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?z.compile(t,e):z.expand(t,e);Ls.exports=z});var Qe=m((yp,Ds)=>{"use strict";var cu=q("path"),ce="\\\\/",Ms=`[^${ce}]`,ge="\\.",fu="\\+",pu="\\?",ft="\\/",hu="(?=.)",Ns="[^/]",Yt=`(?:${ft}|$)`,Is=`(?:^|${ft})`,Kt=`${ge}{1,2}${Yt}`,du=`(?!${ge})`,gu=`(?!${Is}${Kt})`,_u=`(?!${ge}{0,1}${Yt})`,mu=`(?!${Kt})`,yu=`[^.${ft}]`,Su=`${Ns}*?`,Bs={DOT_LITERAL:ge,PLUS_LITERAL:fu,QMARK_LITERAL:pu,SLASH_LITERAL:ft,ONE_CHAR:hu,QMARK:Ns,END_ANCHOR:Yt,DOTS_SLASH:Kt,NO_DOT:du,NO_DOTS:gu,NO_DOT_SLASH:_u,NO_DOTS_SLASH:mu,QMARK_NO_DOT:yu,STAR:Su,START_ANCHOR:Is},bu={...Bs,SLASH_LITERAL:`[${ce}]`,QMARK:Ms,STAR:`${Ms}*?`,DOTS_SLASH:`${ge}{1,2}(?:[${ce}]|$)`,NO_DOT:`(?!${ge})`,NO_DOTS:`(?!(?:^|[${ce}])${ge}{1,2}(?:[${ce}]|$))`,NO_DOT_SLASH:`(?!${ge}{0,1}(?:[${ce}]|$))`,NO_DOTS_SLASH:`(?!${ge}{1,2}(?:[${ce}]|$))`,QMARK_NO_DOT:`[^.${ce}]`,START_ANCHOR:`(?:^|[${ce}])`,END_ANCHOR:`(?:[${ce}]|$)`},Eu={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"};Ds.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Eu,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:cu.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?bu:Bs}}});var Xe=m(Z=>{"use strict";var Au=q("path"),Ru=process.platform==="win32",{REGEX_BACKSLASH:vu,REGEX_REMOVE_BACKSLASH:Tu,REGEX_SPECIAL_CHARS:xu,REGEX_SPECIAL_CHARS_GLOBAL:Cu}=Qe();Z.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);Z.hasRegexChars=t=>xu.test(t);Z.isRegexChar=t=>t.length===1&&Z.hasRegexChars(t);Z.escapeRegex=t=>t.replace(Cu,"\\$1");Z.toPosixSlashes=t=>t.replace(vu,"/");Z.removeBackslashes=t=>t.replace(Tu,e=>e==="\\"?"":e);Z.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};Z.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:Ru===!0||Au.sep==="\\";Z.escapeLast=(t,e,r)=>{let n=t.lastIndexOf(e,r);return n===-1?t:t[n-1]==="\\"?Z.escapeLast(t,e,n-1):`${t.slice(0,n)}\\${t.slice(n)}`};Z.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};Z.wrapOutput=(t,e={},r={})=>{let n=r.contains?"":"^",s=r.contains?"":"$",i=`${n}(?:${t})${s}`;return e.negated===!0&&(i=`(?:^(?!${i}).*$)`),i}});var Vs=m((bp,Us)=>{"use strict";var $s=Xe(),{CHAR_ASTERISK:Qt,CHAR_AT:Ou,CHAR_BACKWARD_SLASH:Ze,CHAR_COMMA:Pu,CHAR_DOT:Xt,CHAR_EXCLAMATION_MARK:Zt,CHAR_FORWARD_SLASH:Gs,CHAR_LEFT_CURLY_BRACE:Jt,CHAR_LEFT_PARENTHESES:zt,CHAR_LEFT_SQUARE_BRACKET:wu,CHAR_PLUS:Lu,CHAR_QUESTION_MARK:Hs,CHAR_RIGHT_CURLY_BRACE:ku,CHAR_RIGHT_PARENTHESES:Fs,CHAR_RIGHT_SQUARE_BRACKET:Mu}=Qe(),qs=t=>t===Gs||t===Ze,js=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},Nu=(t,e)=>{let r=e||{},n=t.length-1,s=r.parts===!0||r.scanToEnd===!0,i=[],o=[],a=[],u=t,d=-1,l=0,g=0,p=!1,R=!1,y=!1,b=!1,v=!1,T=!1,k=!1,I=!1,te=!1,O=!1,B=0,x,E,L={value:"",depth:0,isGlob:!1},W=()=>d>=n,h=()=>u.charCodeAt(d+1),D=()=>(x=E,u.charCodeAt(++d));for(;d<n;){E=D();let Q;if(E===Ze){k=L.backslashes=!0,E=D(),E===Jt&&(T=!0);continue}if(T===!0||E===Jt){for(B++;W()!==!0&&(E=D());){if(E===Ze){k=L.backslashes=!0,D();continue}if(E===Jt){B++;continue}if(T!==!0&&E===Xt&&(E=D())===Xt){if(p=L.isBrace=!0,y=L.isGlob=!0,O=!0,s===!0)continue;break}if(T!==!0&&E===Pu){if(p=L.isBrace=!0,y=L.isGlob=!0,O=!0,s===!0)continue;break}if(E===ku&&(B--,B===0)){T=!1,p=L.isBrace=!0,O=!0;break}}if(s===!0)continue;break}if(E===Gs){if(i.push(d),o.push(L),L={value:"",depth:0,isGlob:!1},O===!0)continue;if(x===Xt&&d===l+1){l+=2;continue}g=d+1;continue}if(r.noext!==!0&&(E===Lu||E===Ou||E===Qt||E===Hs||E===Zt)===!0&&h()===zt){if(y=L.isGlob=!0,b=L.isExtglob=!0,O=!0,E===Zt&&d===l&&(te=!0),s===!0){for(;W()!==!0&&(E=D());){if(E===Ze){k=L.backslashes=!0,E=D();continue}if(E===Fs){y=L.isGlob=!0,O=!0;break}}continue}break}if(E===Qt){if(x===Qt&&(v=L.isGlobstar=!0),y=L.isGlob=!0,O=!0,s===!0)continue;break}if(E===Hs){if(y=L.isGlob=!0,O=!0,s===!0)continue;break}if(E===wu){for(;W()!==!0&&(Q=D());){if(Q===Ze){k=L.backslashes=!0,D();continue}if(Q===Mu){R=L.isBracket=!0,y=L.isGlob=!0,O=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&E===Zt&&d===l){I=L.negated=!0,l++;continue}if(r.noparen!==!0&&E===zt){if(y=L.isGlob=!0,s===!0){for(;W()!==!0&&(E=D());){if(E===zt){k=L.backslashes=!0,E=D();continue}if(E===Fs){O=!0;break}}continue}break}if(y===!0){if(O=!0,s===!0)continue;break}}r.noext===!0&&(b=!1,y=!1);let M=u,ye="",c="";l>0&&(ye=u.slice(0,l),u=u.slice(l),g-=l),M&&y===!0&&g>0?(M=u.slice(0,g),c=u.slice(g)):y===!0?(M="",c=u):M=u,M&&M!==""&&M!=="/"&&M!==u&&qs(M.charCodeAt(M.length-1))&&(M=M.slice(0,-1)),r.unescape===!0&&(c&&(c=$s.removeBackslashes(c)),M&&k===!0&&(M=$s.removeBackslashes(M)));let f={prefix:ye,input:t,start:l,base:M,glob:c,isBrace:p,isBracket:R,isGlob:y,isExtglob:b,isGlobstar:v,negated:I,negatedExtglob:te};if(r.tokens===!0&&(f.maxDepth=0,qs(E)||o.push(L),f.tokens=o),r.parts===!0||r.tokens===!0){let Q;for(let w=0;w<i.length;w++){let ae=Q?Q+1:l,ue=i[w],J=t.slice(ae,ue);r.tokens&&(w===0&&l!==0?(o[w].isPrefix=!0,o[w].value=ye):o[w].value=J,js(o[w]),f.maxDepth+=o[w].depth),(w!==0||J!=="")&&a.push(J),Q=ue}if(Q&&Q+1<t.length){let w=t.slice(Q+1);a.push(w),r.tokens&&(o[o.length-1].value=w,js(o[o.length-1]),f.maxDepth+=o[o.length-1].depth)}f.slashes=i,f.parts=a}return f};Us.exports=Nu});var Ks=m((Ep,Ys)=>{"use strict";var pt=Qe(),ee=Xe(),{MAX_LENGTH:ht,POSIX_REGEX_SOURCE:Iu,REGEX_NON_SPECIAL_CHARS:Bu,REGEX_SPECIAL_CHARS_BACKREF:Du,REPLACEMENTS:Ws}=pt,$u=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(s=>ee.escapeRegex(s)).join("..")}return r},Ne=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,er=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=Ws[t]||t;let r={...e},n=typeof r.maxLength=="number"?Math.min(ht,r.maxLength):ht,s=t.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);let i={type:"bos",value:"",output:r.prepend||""},o=[i],a=r.capture?"":"?:",u=ee.isWindows(e),d=pt.globChars(u),l=pt.extglobChars(d),{DOT_LITERAL:g,PLUS_LITERAL:p,SLASH_LITERAL:R,ONE_CHAR:y,DOTS_SLASH:b,NO_DOT:v,NO_DOT_SLASH:T,NO_DOTS_SLASH:k,QMARK:I,QMARK_NO_DOT:te,STAR:O,START_ANCHOR:B}=d,x=S=>`(${a}(?:(?!${B}${S.dot?b:g}).)*?)`,E=r.dot?"":v,L=r.dot?I:te,W=r.bash===!0?x(r):O;r.capture&&(W=`(${W})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let h={input:t,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};t=ee.removePrefix(t,h),s=t.length;let D=[],M=[],ye=[],c=i,f,Q=()=>h.index===s-1,w=h.peek=(S=1)=>t[h.index+S],ae=h.advance=()=>t[++h.index]||"",ue=()=>t.slice(h.index+1),J=(S="",N=0)=>{h.consumed+=S,h.index+=N},rt=S=>{h.output+=S.output!=null?S.output:S.value,J(S.value)},zo=()=>{let S=1;for(;w()==="!"&&(w(2)!=="("||w(3)==="?");)ae(),h.start++,S++;return S%2===0?!1:(h.negated=!0,h.start++,!0)},nt=S=>{h[S]++,ye.push(S)},Te=S=>{h[S]--,ye.pop()},P=S=>{if(c.type==="globstar"){let N=h.braces>0&&(S.type==="comma"||S.type==="brace"),_=S.extglob===!0||D.length&&(S.type==="pipe"||S.type==="paren");S.type!=="slash"&&S.type!=="paren"&&!N&&!_&&(h.output=h.output.slice(0,-c.output.length),c.type="star",c.value="*",c.output=W,h.output+=c.output)}if(D.length&&S.type!=="paren"&&(D[D.length-1].inner+=S.value),(S.value||S.output)&&rt(S),c&&c.type==="text"&&S.type==="text"){c.value+=S.value,c.output=(c.output||"")+S.value;return}S.prev=c,o.push(S),c=S},st=(S,N)=>{let _={...l[N],conditions:1,inner:""};_.prev=c,_.parens=h.parens,_.output=h.output;let C=(r.capture?"(":"")+_.open;nt("parens"),P({type:S,value:N,output:h.output?"":y}),P({type:"paren",extglob:!0,value:ae(),output:C}),D.push(_)},ea=S=>{let N=S.close+(r.capture?")":""),_;if(S.type==="negate"){let C=W;if(S.inner&&S.inner.length>1&&S.inner.includes("/")&&(C=x(r)),(C!==W||Q()||/^\)+$/.test(ue()))&&(N=S.close=`)$))${C}`),S.inner.includes("*")&&(_=ue())&&/^\.[^\\/.]+$/.test(_)){let F=er(_,{...e,fastpaths:!1}).output;N=S.close=`)${F})${C})`}S.prev.type==="bos"&&(h.negatedExtglob=!0)}P({type:"paren",extglob:!0,value:f,output:N}),Te("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let S=!1,N=t.replace(Du,(_,C,F,X,V,Ht)=>X==="\\"?(S=!0,_):X==="?"?C?C+X+(V?I.repeat(V.length):""):Ht===0?L+(V?I.repeat(V.length):""):I.repeat(F.length):X==="."?g.repeat(F.length):X==="*"?C?C+X+(V?W:""):W:C?_:`\\${_}`);return S===!0&&(r.unescape===!0?N=N.replace(/\\/g,""):N=N.replace(/\\+/g,_=>_.length%2===0?"\\\\":_?"\\":"")),N===t&&r.contains===!0?(h.output=t,h):(h.output=ee.wrapOutput(N,h,e),h)}for(;!Q();){if(f=ae(),f==="\0")continue;if(f==="\\"){let _=w();if(_==="/"&&r.bash!==!0||_==="."||_===";")continue;if(!_){f+="\\",P({type:"text",value:f});continue}let C=/^\\+/.exec(ue()),F=0;if(C&&C[0].length>2&&(F=C[0].length,h.index+=F,F%2!==0&&(f+="\\")),r.unescape===!0?f=ae():f+=ae(),h.brackets===0){P({type:"text",value:f});continue}}if(h.brackets>0&&(f!=="]"||c.value==="["||c.value==="[^")){if(r.posix!==!1&&f===":"){let _=c.value.slice(1);if(_.includes("[")&&(c.posix=!0,_.includes(":"))){let C=c.value.lastIndexOf("["),F=c.value.slice(0,C),X=c.value.slice(C+2),V=Iu[X];if(V){c.value=F+V,h.backtrack=!0,ae(),!i.output&&o.indexOf(c)===1&&(i.output=y);continue}}}(f==="["&&w()!==":"||f==="-"&&w()==="]")&&(f=`\\${f}`),f==="]"&&(c.value==="["||c.value==="[^")&&(f=`\\${f}`),r.posix===!0&&f==="!"&&c.value==="["&&(f="^"),c.value+=f,rt({value:f});continue}if(h.quotes===1&&f!=='"'){f=ee.escapeRegex(f),c.value+=f,rt({value:f});continue}if(f==='"'){h.quotes=h.quotes===1?0:1,r.keepQuotes===!0&&P({type:"text",value:f});continue}if(f==="("){nt("parens"),P({type:"paren",value:f});continue}if(f===")"){if(h.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Ne("opening","("));let _=D[D.length-1];if(_&&h.parens===_.parens+1){ea(D.pop());continue}P({type:"paren",value:f,output:h.parens?")":"\\)"}),Te("parens");continue}if(f==="["){if(r.nobracket===!0||!ue().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Ne("closing","]"));f=`\\${f}`}else nt("brackets");P({type:"bracket",value:f});continue}if(f==="]"){if(r.nobracket===!0||c&&c.type==="bracket"&&c.value.length===1){P({type:"text",value:f,output:`\\${f}`});continue}if(h.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Ne("opening","["));P({type:"text",value:f,output:`\\${f}`});continue}Te("brackets");let _=c.value.slice(1);if(c.posix!==!0&&_[0]==="^"&&!_.includes("/")&&(f=`/${f}`),c.value+=f,rt({value:f}),r.literalBrackets===!1||ee.hasRegexChars(_))continue;let C=ee.escapeRegex(c.value);if(h.output=h.output.slice(0,-c.value.length),r.literalBrackets===!0){h.output+=C,c.value=C;continue}c.value=`(${a}${C}|${c.value})`,h.output+=c.value;continue}if(f==="{"&&r.nobrace!==!0){nt("braces");let _={type:"brace",value:f,output:"(",outputIndex:h.output.length,tokensIndex:h.tokens.length};M.push(_),P(_);continue}if(f==="}"){let _=M[M.length-1];if(r.nobrace===!0||!_){P({type:"text",value:f,output:f});continue}let C=")";if(_.dots===!0){let F=o.slice(),X=[];for(let V=F.length-1;V>=0&&(o.pop(),F[V].type!=="brace");V--)F[V].type!=="dots"&&X.unshift(F[V].value);C=$u(X,r),h.backtrack=!0}if(_.comma!==!0&&_.dots!==!0){let F=h.output.slice(0,_.outputIndex),X=h.tokens.slice(_.tokensIndex);_.value=_.output="\\{",f=C="\\}",h.output=F;for(let V of X)h.output+=V.output||V.value}P({type:"brace",value:f,output:C}),Te("braces"),M.pop();continue}if(f==="|"){D.length>0&&D[D.length-1].conditions++,P({type:"text",value:f});continue}if(f===","){let _=f,C=M[M.length-1];C&&ye[ye.length-1]==="braces"&&(C.comma=!0,_="|"),P({type:"comma",value:f,output:_});continue}if(f==="/"){if(c.type==="dot"&&h.index===h.start+1){h.start=h.index+1,h.consumed="",h.output="",o.pop(),c=i;continue}P({type:"slash",value:f,output:R});continue}if(f==="."){if(h.braces>0&&c.type==="dot"){c.value==="."&&(c.output=g);let _=M[M.length-1];c.type="dots",c.output+=f,c.value+=f,_.dots=!0;continue}if(h.braces+h.parens===0&&c.type!=="bos"&&c.type!=="slash"){P({type:"text",value:f,output:g});continue}P({type:"dot",value:f,output:g});continue}if(f==="?"){if(!(c&&c.value==="(")&&r.noextglob!==!0&&w()==="("&&w(2)!=="?"){st("qmark",f);continue}if(c&&c.type==="paren"){let C=w(),F=f;if(C==="<"&&!ee.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(c.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(ue()))&&(F=`\\${f}`),P({type:"text",value:f,output:F});continue}if(r.dot!==!0&&(c.type==="slash"||c.type==="bos")){P({type:"qmark",value:f,output:te});continue}P({type:"qmark",value:f,output:I});continue}if(f==="!"){if(r.noextglob!==!0&&w()==="("&&(w(2)!=="?"||!/[!=<:]/.test(w(3)))){st("negate",f);continue}if(r.nonegate!==!0&&h.index===0){zo();continue}}if(f==="+"){if(r.noextglob!==!0&&w()==="("&&w(2)!=="?"){st("plus",f);continue}if(c&&c.value==="("||r.regex===!1){P({type:"plus",value:f,output:p});continue}if(c&&(c.type==="bracket"||c.type==="paren"||c.type==="brace")||h.parens>0){P({type:"plus",value:f});continue}P({type:"plus",value:p});continue}if(f==="@"){if(r.noextglob!==!0&&w()==="("&&w(2)!=="?"){P({type:"at",extglob:!0,value:f,output:""});continue}P({type:"text",value:f});continue}if(f!=="*"){(f==="$"||f==="^")&&(f=`\\${f}`);let _=Bu.exec(ue());_&&(f+=_[0],h.index+=_[0].length),P({type:"text",value:f});continue}if(c&&(c.type==="globstar"||c.star===!0)){c.type="star",c.star=!0,c.value+=f,c.output=W,h.backtrack=!0,h.globstar=!0,J(f);continue}let S=ue();if(r.noextglob!==!0&&/^\([^?]/.test(S)){st("star",f);continue}if(c.type==="star"){if(r.noglobstar===!0){J(f);continue}let _=c.prev,C=_.prev,F=_.type==="slash"||_.type==="bos",X=C&&(C.type==="star"||C.type==="globstar");if(r.bash===!0&&(!F||S[0]&&S[0]!=="/")){P({type:"star",value:f,output:""});continue}let V=h.braces>0&&(_.type==="comma"||_.type==="brace"),Ht=D.length&&(_.type==="pipe"||_.type==="paren");if(!F&&_.type!=="paren"&&!V&&!Ht){P({type:"star",value:f,output:""});continue}for(;S.slice(0,3)==="/**";){let it=t[h.index+4];if(it&&it!=="/")break;S=S.slice(3),J("/**",3)}if(_.type==="bos"&&Q()){c.type="globstar",c.value+=f,c.output=x(r),h.output=c.output,h.globstar=!0,J(f);continue}if(_.type==="slash"&&_.prev.type!=="bos"&&!X&&Q()){h.output=h.output.slice(0,-(_.output+c.output).length),_.output=`(?:${_.output}`,c.type="globstar",c.output=x(r)+(r.strictSlashes?")":"|$)"),c.value+=f,h.globstar=!0,h.output+=_.output+c.output,J(f);continue}if(_.type==="slash"&&_.prev.type!=="bos"&&S[0]==="/"){let it=S[1]!==void 0?"|$":"";h.output=h.output.slice(0,-(_.output+c.output).length),_.output=`(?:${_.output}`,c.type="globstar",c.output=`${x(r)}${R}|${R}${it})`,c.value+=f,h.output+=_.output+c.output,h.globstar=!0,J(f+ae()),P({type:"slash",value:"/",output:""});continue}if(_.type==="bos"&&S[0]==="/"){c.type="globstar",c.value+=f,c.output=`(?:^|${R}|${x(r)}${R})`,h.output=c.output,h.globstar=!0,J(f+ae()),P({type:"slash",value:"/",output:""});continue}h.output=h.output.slice(0,-c.output.length),c.type="globstar",c.output=x(r),c.value+=f,h.output+=c.output,h.globstar=!0,J(f);continue}let N={type:"star",value:f,output:W};if(r.bash===!0){N.output=".*?",(c.type==="bos"||c.type==="slash")&&(N.output=E+N.output),P(N);continue}if(c&&(c.type==="bracket"||c.type==="paren")&&r.regex===!0){N.output=f,P(N);continue}(h.index===h.start||c.type==="slash"||c.type==="dot")&&(c.type==="dot"?(h.output+=T,c.output+=T):r.dot===!0?(h.output+=k,c.output+=k):(h.output+=E,c.output+=E),w()!=="*"&&(h.output+=y,c.output+=y)),P(N)}for(;h.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ne("closing","]"));h.output=ee.escapeLast(h.output,"["),Te("brackets")}for(;h.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ne("closing",")"));h.output=ee.escapeLast(h.output,"("),Te("parens")}for(;h.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ne("closing","}"));h.output=ee.escapeLast(h.output,"{"),Te("braces")}if(r.strictSlashes!==!0&&(c.type==="star"||c.type==="bracket")&&P({type:"maybe_slash",value:"",output:`${R}?`}),h.backtrack===!0){h.output="";for(let S of h.tokens)h.output+=S.output!=null?S.output:S.value,S.suffix&&(h.output+=S.suffix)}return h};er.fastpaths=(t,e)=>{let r={...e},n=typeof r.maxLength=="number"?Math.min(ht,r.maxLength):ht,s=t.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);t=Ws[t]||t;let i=ee.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:d,NO_DOT:l,NO_DOTS:g,NO_DOTS_SLASH:p,STAR:R,START_ANCHOR:y}=pt.globChars(i),b=r.dot?g:l,v=r.dot?p:l,T=r.capture?"":"?:",k={negated:!1,prefix:""},I=r.bash===!0?".*?":R;r.capture&&(I=`(${I})`);let te=E=>E.noglobstar===!0?I:`(${T}(?:(?!${y}${E.dot?d:o}).)*?)`,O=E=>{switch(E){case"*":return`${b}${u}${I}`;case".*":return`${o}${u}${I}`;case"*.*":return`${b}${I}${o}${u}${I}`;case"*/*":return`${b}${I}${a}${u}${v}${I}`;case"**":return b+te(r);case"**/*":return`(?:${b}${te(r)}${a})?${v}${u}${I}`;case"**/*.*":return`(?:${b}${te(r)}${a})?${v}${I}${o}${u}${I}`;case"**/.*":return`(?:${b}${te(r)}${a})?${o}${u}${I}`;default:{let L=/^(.*?)\.(\w+)$/.exec(E);if(!L)return;let W=O(L[1]);return W?W+o+L[2]:void 0}}},B=ee.removePrefix(t,k),x=O(B);return x&&r.strictSlashes!==!0&&(x+=`${a}?`),x};Ys.exports=er});var Xs=m((Ap,Qs)=>{"use strict";var Hu=q("path"),Fu=Vs(),tr=Ks(),rr=Xe(),qu=Qe(),ju=t=>t&&typeof t=="object"&&!Array.isArray(t),j=(t,e,r=!1)=>{if(Array.isArray(t)){let l=t.map(p=>j(p,e,r));return p=>{for(let R of l){let y=R(p);if(y)return y}return!1}}let n=ju(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},i=rr.isWindows(e),o=n?j.compileRe(t,e):j.makeRe(t,e,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(s.ignore){let l={...e,ignore:null,onMatch:null,onResult:null};u=j(s.ignore,l,r)}let d=(l,g=!1)=>{let{isMatch:p,match:R,output:y}=j.test(l,o,e,{glob:t,posix:i}),b={glob:t,state:a,regex:o,posix:i,input:l,output:y,match:R,isMatch:p};return typeof s.onResult=="function"&&s.onResult(b),p===!1?(b.isMatch=!1,g?b:!1):u(l)?(typeof s.onIgnore=="function"&&s.onIgnore(b),b.isMatch=!1,g?b:!1):(typeof s.onMatch=="function"&&s.onMatch(b),g?b:!0)};return r&&(d.state=a),d};j.test=(t,e,r,{glob:n,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let i=r||{},o=i.format||(s?rr.toPosixSlashes:null),a=t===n,u=a&&o?o(t):t;return a===!1&&(u=o?o(t):t,a=u===n),(a===!1||i.capture===!0)&&(i.matchBase===!0||i.basename===!0?a=j.matchBase(t,e,r,s):a=e.exec(u)),{isMatch:Boolean(a),match:a,output:u}};j.matchBase=(t,e,r,n=rr.isWindows(r))=>(e instanceof RegExp?e:j.makeRe(e,r)).test(Hu.basename(t));j.isMatch=(t,e,r)=>j(e,r)(t);j.parse=(t,e)=>Array.isArray(t)?t.map(r=>j.parse(r,e)):tr(t,{...e,fastpaths:!1});j.scan=(t,e)=>Fu(t,e);j.compileRe=(t,e,r=!1,n=!1)=>{if(r===!0)return t.output;let s=e||{},i=s.contains?"":"^",o=s.contains?"":"$",a=`${i}(?:${t.output})${o}`;t&&t.negated===!0&&(a=`^(?!${a}).*$`);let u=j.toRegex(a,e);return n===!0&&(u.state=t),u};j.makeRe=(t,e={},r=!1,n=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=tr.fastpaths(t,e)),s.output||(s=tr(t,e)),j.compileRe(s,e,r,n)};j.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};j.constants=qu;Qs.exports=j});var Js=m((Rp,Zs)=>{"use strict";Zs.exports=Xs()});var ni=m((vp,ri)=>{"use strict";var ei=q("util"),ti=ks(),fe=Js(),nr=Xe(),zs=t=>t===""||t==="./",$=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let n=new Set,s=new Set,i=new Set,o=0,a=l=>{i.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<e.length;l++){let g=fe(String(e[l]),{...r,onResult:a},!0),p=g.state.negated||g.state.negatedExtglob;p&&o++;for(let R of t){let y=g(R,!0);!(p?!y.isMatch:y.isMatch)||(p?n.add(y.output):(n.delete(y.output),s.add(y.output)))}}let d=(o===e.length?[...i]:[...s]).filter(l=>!n.has(l));if(r&&d.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(l=>l.replace(/\\/g,"")):e}return d};$.match=$;$.matcher=(t,e)=>fe(t,e);$.isMatch=(t,e,r)=>fe(e,r)(t);$.any=$.isMatch;$.not=(t,e,r={})=>{e=[].concat(e).map(String);let n=new Set,s=[],i=a=>{r.onResult&&r.onResult(a),s.push(a.output)},o=new Set($(t,e,{...r,onResult:i}));for(let a of s)o.has(a)||n.add(a);return[...n]};$.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${ei.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>$.contains(t,n,r));if(typeof e=="string"){if(zs(t)||zs(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return $.isMatch(t,e,{...r,contains:!0})};$.matchKeys=(t,e,r)=>{if(!nr.isObject(t))throw new TypeError("Expected the first argument to be an object");let n=$(Object.keys(t),e,r),s={};for(let i of n)s[i]=t[i];return s};$.some=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=fe(String(s),r);if(n.some(o=>i(o)))return!0}return!1};$.every=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=fe(String(s),r);if(!n.every(o=>i(o)))return!1}return!0};$.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${ei.inspect(t)}"`);return[].concat(e).every(n=>fe(n,r)(t))};$.capture=(t,e,r)=>{let n=nr.isWindows(r),i=fe.makeRe(String(t),{...r,capture:!0}).exec(n?nr.toPosixSlashes(e):e);if(i)return i.slice(1).map(o=>o===void 0?"":o)};$.makeRe=(...t)=>fe.makeRe(...t);$.scan=(...t)=>fe.scan(...t);$.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let s of ti(String(n),e))r.push(fe.parse(s,e));return r};$.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:ti(t,e)};$.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return $.braces(t,{...e,expand:!0})};ri.exports=$});var fi=m(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 Gu=q("path"),Uu=Qn(),sr=ni(),si="**",Vu="\\",Wu=/[*?]|^!/,Yu=/\[[^[]*]/,Ku=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Qu=/[!*+?@]\([^(]*\)/,Xu=/,|\.\./;function ii(t,e={}){return!oi(t,e)}A.isStaticPattern=ii;function oi(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(Vu)||Wu.test(t)||Yu.test(t)||Ku.test(t)||e.extglob!==!1&&Qu.test(t)||e.braceExpansion!==!1&&Zu(t))}A.isDynamicPattern=oi;function Zu(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let n=t.slice(e,r);return Xu.test(n)}function Ju(t){return dt(t)?t.slice(1):t}A.convertToPositivePattern=Ju;function zu(t){return"!"+t}A.convertToNegativePattern=zu;function dt(t){return t.startsWith("!")&&t[1]!=="("}A.isNegativePattern=dt;function ai(t){return!dt(t)}A.isPositivePattern=ai;function el(t){return t.filter(dt)}A.getNegativePatterns=el;function tl(t){return t.filter(ai)}A.getPositivePatterns=tl;function rl(t){return t.filter(e=>!ir(e))}A.getPatternsInsideCurrentDirectory=rl;function nl(t){return t.filter(ir)}A.getPatternsOutsideCurrentDirectory=nl;function ir(t){return t.startsWith("..")||t.startsWith("./..")}A.isPatternRelatedToParentDirectory=ir;function sl(t){return Uu(t,{flipBackslashes:!1})}A.getBaseDirectory=sl;function il(t){return t.includes(si)}A.hasGlobStar=il;function ui(t){return t.endsWith("/"+si)}A.endsWithSlashGlobStar=ui;function ol(t){let e=Gu.basename(t);return ui(t)||ii(e)}A.isAffectDepthOfReadingPattern=ol;function al(t){return t.reduce((e,r)=>e.concat(li(r)),[])}A.expandPatternsWithBraceExpansion=al;function li(t){return sr.braces(t,{expand:!0,nodupes:!0})}A.expandBraceExpansion=li;function ul(t,e){let{parts:r}=sr.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}A.getPatternParts=ul;function ci(t,e){return sr.makeRe(t,e)}A.makeRe=ci;function ll(t,e){return t.map(r=>ci(r,e))}A.convertPatternsToRe=ll;function cl(t,e){return e.some(r=>r.test(t))}A.matchAny=cl});var gi=m((xp,di)=>{"use strict";var fl=q("stream"),pi=fl.PassThrough,pl=Array.prototype.slice;di.exports=hl;function hl(){let t=[],e=pl.call(arguments),r=!1,n=e[e.length-1];n&&!Array.isArray(n)&&n.pipe==null?e.pop():n={};let s=n.end!==!1,i=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=pi(n);function a(){for(let l=0,g=arguments.length;l<g;l++)t.push(hi(arguments[l],n));return u(),this}function u(){if(r)return;r=!0;let l=t.shift();if(!l){process.nextTick(d);return}Array.isArray(l)||(l=[l]);let g=l.length+1;function p(){--g>0||(r=!1,u())}function R(y){function b(){y.removeListener("merge2UnpipeEnd",b),y.removeListener("end",b),i&&y.removeListener("error",v),p()}function v(T){o.emit("error",T)}if(y._readableState.endEmitted)return p();y.on("merge2UnpipeEnd",b),y.on("end",b),i&&y.on("error",v),y.pipe(o,{end:!1}),y.resume()}for(let y=0;y<l.length;y++)R(l[y]);p()}function d(){r=!1,o.emit("queueDrain"),s&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),e.length&&a.apply(null,e),o}function hi(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=hi(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(pi(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var mi=m(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.merge=void 0;var dl=gi();function gl(t){let e=dl(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>_i(t)),e.once("end",()=>_i(t)),e}gt.merge=gl;function _i(t){t.forEach(e=>e.emit("close"))}});var yi=m(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.isEmpty=Ie.isString=void 0;function _l(t){return typeof t=="string"}Ie.isString=_l;function ml(t){return t===""}Ie.isEmpty=ml});var _e=m(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});Y.string=Y.stream=Y.pattern=Y.path=Y.fs=Y.errno=Y.array=void 0;var yl=Hn();Y.array=yl;var Sl=Fn();Y.errno=Sl;var bl=qn();Y.fs=bl;var El=jn();Y.path=El;var Al=fi();Y.pattern=Al;var Rl=mi();Y.stream=Rl;var vl=yi();Y.string=vl});var Ei=m(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.convertPatternGroupToTask=K.convertPatternGroupsToTasks=K.groupPatternsByBaseDirectory=K.getNegativePatternsAsPositive=K.getPositivePatterns=K.convertPatternsToTasks=K.generate=void 0;var me=_e();function Tl(t,e){let r=Si(t),n=bi(t,e.ignore),s=r.filter(u=>me.pattern.isStaticPattern(u,e)),i=r.filter(u=>me.pattern.isDynamicPattern(u,e)),o=or(s,n,!1),a=or(i,n,!0);return o.concat(a)}K.generate=Tl;function or(t,e,r){let n=[],s=me.pattern.getPatternsOutsideCurrentDirectory(t),i=me.pattern.getPatternsInsideCurrentDirectory(t),o=ar(s),a=ar(i);return n.push(...ur(o,e,r)),"."in a?n.push(lr(".",i,e,r)):n.push(...ur(a,e,r)),n}K.convertPatternsToTasks=or;function Si(t){return me.pattern.getPositivePatterns(t)}K.getPositivePatterns=Si;function bi(t,e){return me.pattern.getNegativePatterns(t).concat(e).map(me.pattern.convertToPositivePattern)}K.getNegativePatternsAsPositive=bi;function ar(t){let e={};return t.reduce((r,n)=>{let s=me.pattern.getBaseDirectory(n);return s in r?r[s].push(n):r[s]=[n],r},e)}K.groupPatternsByBaseDirectory=ar;function ur(t,e,r){return Object.keys(t).map(n=>lr(n,t[n],e,r))}K.convertPatternGroupsToTasks=ur;function lr(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(me.pattern.convertToNegativePattern))}}K.convertPatternGroupToTask=lr});var Ri=m(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.removeDuplicateSlashes=Be.transform=void 0;var xl=/(?!^)\/{2,}/g;function Cl(t){return t.map(e=>Ai(e))}Be.transform=Cl;function Ai(t){return t.replace(xl,"/")}Be.removeDuplicateSlashes=Ai});var Ti=m(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.read=void 0;function Ol(t,e,r){e.fs.lstat(t,(n,s)=>{if(n!==null){vi(r,n);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){cr(r,s);return}e.fs.stat(t,(i,o)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){vi(r,i);return}cr(r,s);return}e.markSymbolicLink&&(o.isSymbolicLink=()=>!0),cr(r,o)})})}_t.read=Ol;function vi(t,e){t(e)}function cr(t,e){t(null,e)}});var xi=m(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.read=void 0;function Pl(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw n}}mt.read=Pl});var Ci=m(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.createFileSystemAdapter=Se.FILE_SYSTEM_ADAPTER=void 0;var yt=q("fs");Se.FILE_SYSTEM_ADAPTER={lstat:yt.lstat,stat:yt.stat,lstatSync:yt.lstatSync,statSync:yt.statSync};function wl(t){return t===void 0?Se.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Se.FILE_SYSTEM_ADAPTER),t)}Se.createFileSystemAdapter=wl});var Oi=m(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});var Ll=Ci(),fr=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ll.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};pr.default=fr});var Oe=m(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.statSync=be.stat=be.Settings=void 0;var Pi=Ti(),kl=xi(),hr=Oi();be.Settings=hr.default;function Ml(t,e,r){if(typeof e=="function"){Pi.read(t,dr(),e);return}Pi.read(t,dr(e),r)}be.stat=Ml;function Nl(t,e){let r=dr(e);return kl.read(t,r)}be.statSync=Nl;function dr(t={}){return t instanceof hr.default?t:new hr.default(t)}});var ki=m((Dp,Li)=>{var wi;Li.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(wi||(wi=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Ni=m(($p,Mi)=>{Mi.exports=Bl;var Il=ki();function Bl(t,e){let r,n,s,i=!0;Array.isArray(t)?(r=[],n=t.length):(s=Object.keys(t),r={},n=s.length);function o(u){function d(){e&&e(u,r),e=null}i?Il(d):d()}function a(u,d,l){r[u]=l,(--n===0||d)&&o(d)}n?s?s.forEach(function(u){t[u](function(d,l){a(u,d,l)})}):t.forEach(function(u,d){u(function(l,g){a(d,l,g)})}):o(null),i=!1}});var gr=m(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var St=process.versions.node.split(".");if(St[0]===void 0||St[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Ii=Number.parseInt(St[0],10),Dl=Number.parseInt(St[1],10),Bi=10,$l=10,Hl=Ii>Bi,Fl=Ii===Bi&&Dl>=$l;bt.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Hl||Fl});var Di=m(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.createDirentFromStats=void 0;var _r=class{constructor(e,r){this.name=e,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 ql(t,e){return new _r(t,e)}Et.createDirentFromStats=ql});var mr=m(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At.fs=void 0;var jl=Di();At.fs=jl});var yr=m(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.joinPathSegments=void 0;function Gl(t,e,r){return t.endsWith(r)?t+e:t+r+e}Rt.joinPathSegments=Gl});var Gi=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.readdir=Ee.readdirWithFileTypes=Ee.read=void 0;var Ul=Oe(),$i=Ni(),Vl=gr(),Hi=mr(),Fi=yr();function Wl(t,e,r){if(!e.stats&&Vl.IS_SUPPORT_READDIR_WITH_FILE_TYPES){qi(t,e,r);return}ji(t,e,r)}Ee.read=Wl;function qi(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,s)=>{if(n!==null){vt(r,n);return}let i=s.map(a=>({dirent:a,name:a.name,path:Fi.joinPathSegments(t,a.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Sr(r,i);return}let o=i.map(a=>Yl(a,e));$i(o,(a,u)=>{if(a!==null){vt(r,a);return}Sr(r,u)})})}Ee.readdirWithFileTypes=qi;function Yl(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(n,s)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,t);return}t.dirent=Hi.fs.createDirentFromStats(t.name,s),r(null,t)})}}function ji(t,e,r){e.fs.readdir(t,(n,s)=>{if(n!==null){vt(r,n);return}let i=s.map(o=>{let a=Fi.joinPathSegments(t,o,e.pathSegmentSeparator);return u=>{Ul.stat(a,e.fsStatSettings,(d,l)=>{if(d!==null){u(d);return}let g={name:o,path:a,dirent:Hi.fs.createDirentFromStats(o,l)};e.stats&&(g.stats=l),u(null,g)})}});$i(i,(o,a)=>{if(o!==null){vt(r,o);return}Sr(r,a)})})}Ee.readdir=ji;function vt(t,e){t(e)}function Sr(t,e){t(null,e)}});var Ki=m(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.readdir=Ae.readdirWithFileTypes=Ae.read=void 0;var Kl=Oe(),Ql=gr(),Ui=mr(),Vi=yr();function Xl(t,e){return!e.stats&&Ql.IS_SUPPORT_READDIR_WITH_FILE_TYPES?Wi(t,e):Yi(t,e)}Ae.read=Xl;function Wi(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let s={dirent:n,name:n.name,path:Vi.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let i=e.fs.statSync(s.path);s.dirent=Ui.fs.createDirentFromStats(s.name,i)}catch(i){if(e.throwErrorOnBrokenSymbolicLink)throw i}return s})}Ae.readdirWithFileTypes=Wi;function Yi(t,e){return e.fs.readdirSync(t).map(n=>{let s=Vi.joinPathSegments(t,n,e.pathSegmentSeparator),i=Kl.statSync(s,e.fsStatSettings),o={name:n,path:s,dirent:Ui.fs.createDirentFromStats(n,i)};return e.stats&&(o.stats=i),o})}Ae.readdir=Yi});var Qi=m(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.createFileSystemAdapter=Re.FILE_SYSTEM_ADAPTER=void 0;var De=q("fs");Re.FILE_SYSTEM_ADAPTER={lstat:De.lstat,stat:De.stat,lstatSync:De.lstatSync,statSync:De.statSync,readdir:De.readdir,readdirSync:De.readdirSync};function Zl(t){return t===void 0?Re.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Re.FILE_SYSTEM_ADAPTER),t)}Re.createFileSystemAdapter=Zl});var Xi=m(Er=>{"use strict";Object.defineProperty(Er,"__esModule",{value:!0});var Jl=q("path"),zl=Oe(),ec=Qi(),br=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=ec.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Jl.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new zl.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};Er.default=br});var Tt=m(ve=>{"use strict";Object.defineProperty(ve,"__esModule",{value:!0});ve.Settings=ve.scandirSync=ve.scandir=void 0;var Zi=Gi(),tc=Ki(),Ar=Xi();ve.Settings=Ar.default;function rc(t,e,r){if(typeof e=="function"){Zi.read(t,Rr(),e);return}Zi.read(t,Rr(e),r)}ve.scandir=rc;function nc(t,e){let r=Rr(e);return tc.read(t,r)}ve.scandirSync=nc;function Rr(t={}){return t instanceof Ar.default?t:new Ar.default(t)}});var zi=m((Kp,Ji)=>{"use strict";function sc(t){var e=new t,r=e;function n(){var i=e;return i.next?e=i.next:(e=new t,r=e),i.next=null,i}function s(i){r.next=i,r=i}return{get:n,release:s}}Ji.exports=sc});var to=m((Qp,vr)=>{"use strict";var ic=zi();function eo(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var n=ic(oc),s=null,i=null,o=0,a=null,u={push:b,drain:ne,saturated:ne,pause:l,paused:!1,concurrency:r,running:d,resume:R,idle:y,length:g,getQueue:p,unshift:v,empty:ne,kill:k,killAndDrain:I,error:te};return u;function d(){return o}function l(){u.paused=!0}function g(){for(var O=s,B=0;O;)O=O.next,B++;return B}function p(){for(var O=s,B=[];O;)B.push(O.value),O=O.next;return B}function R(){if(!!u.paused){u.paused=!1;for(var O=0;O<u.concurrency;O++)o++,T()}}function y(){return o===0&&u.length()===0}function b(O,B){var x=n.get();x.context=t,x.release=T,x.value=O,x.callback=B||ne,x.errorHandler=a,o===u.concurrency||u.paused?i?(i.next=x,i=x):(s=x,i=x,u.saturated()):(o++,e.call(t,x.value,x.worked))}function v(O,B){var x=n.get();x.context=t,x.release=T,x.value=O,x.callback=B||ne,o===u.concurrency||u.paused?s?(x.next=s,s=x):(s=x,i=x,u.saturated()):(o++,e.call(t,x.value,x.worked))}function T(O){O&&n.release(O);var B=s;B?u.paused?o--:(i===s&&(i=null),s=B.next,B.next=null,e.call(t,B.value,B.worked),i===null&&u.empty()):--o===0&&u.drain()}function k(){s=null,i=null,u.drain=ne}function I(){s=null,i=null,u.drain(),u.drain=ne}function te(O){a=O}}function ne(){}function oc(){this.value=null,this.callback=ne,this.next=null,this.release=ne,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,n){var s=t.callback,i=t.errorHandler,o=t.value;t.value=null,t.callback=ne,t.errorHandler&&i(r,o),s.call(t.context,r,n),t.release(t)}}function ac(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function n(l,g){e.call(this,l).then(function(p){g(null,p)},g)}var s=eo(t,n,r),i=s.push,o=s.unshift;return s.push=a,s.unshift=u,s.drained=d,s;function a(l){var g=new Promise(function(p,R){i(l,function(y,b){if(y){R(y);return}p(b)})});return g.catch(ne),g}function u(l){var g=new Promise(function(p,R){o(l,function(y,b){if(y){R(y);return}p(b)})});return g.catch(ne),g}function d(){var l=s.drain,g=new Promise(function(p){s.drain=function(){l(),p()}});return g}}vr.exports=eo;vr.exports.promise=ac});var xt=m(pe=>{"use strict";Object.defineProperty(pe,"__esModule",{value:!0});pe.joinPathSegments=pe.replacePathSegmentSeparator=pe.isAppliedFilter=pe.isFatalError=void 0;function uc(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}pe.isFatalError=uc;function lc(t,e){return t===null||t(e)}pe.isAppliedFilter=lc;function cc(t,e){return t.split(/[/\\]/).join(e)}pe.replacePathSegmentSeparator=cc;function fc(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}pe.joinPathSegments=fc});var Cr=m(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var pc=xt(),Tr=class{constructor(e,r){this._root=e,this._settings=r,this._root=pc.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};xr.default=Tr});var wr=m(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});var hc=q("events"),dc=Tt(),gc=to(),Ct=xt(),_c=Cr(),Or=class extends _c.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=dc.scandir,this._emitter=new hc.EventEmitter,this._queue=gc(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(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let n={directory:e,base:r};this._queue.push(n,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(n,s)=>{if(n!==null){r(n,void 0);return}for(let i of s)this._handleEntry(i,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!Ct.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let n=e.path;r!==void 0&&(e.path=Ct.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Ct.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Ct.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};Pr.default=Or});var ro=m(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});var mc=wr(),Lr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new mc.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{yc(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{Sc(e,this._storage)}),this._reader.read()}};kr.default=Lr;function yc(t,e){t(e)}function Sc(t,e){t(null,e)}});var no=m(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});var bc=q("stream"),Ec=wr(),Mr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Ec.default(this._root,this._settings),this._stream=new bc.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};Nr.default=Mr});var so=m(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});var Ac=Tt(),Ot=xt(),Rc=Cr(),Ir=class extends Rc.default{constructor(){super(...arguments),this._scandir=Ac.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let s of n)this._handleEntry(s,r)}catch(n){this._handleError(n)}}_handleError(e){if(!!Ot.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=Ot.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Ot.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Ot.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};Br.default=Ir});var io=m($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});var vc=so(),Dr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new vc.default(this._root,this._settings)}read(){return this._reader.read()}};$r.default=Dr});var oo=m(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});var Tc=q("path"),xc=Tt(),Hr=class{constructor(e={}){this._options=e,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,Tc.sep),this.fsScandirSettings=new xc.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};Fr.default=Hr});var wt=m(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.Settings=he.walkStream=he.walkSync=he.walk=void 0;var ao=ro(),Cc=no(),Oc=io(),qr=oo();he.Settings=qr.default;function Pc(t,e,r){if(typeof e=="function"){new ao.default(t,Pt()).read(e);return}new ao.default(t,Pt(e)).read(r)}he.walk=Pc;function wc(t,e){let r=Pt(e);return new Oc.default(t,r).read()}he.walkSync=wc;function Lc(t,e){let r=Pt(e);return new Cc.default(t,r).read()}he.walkStream=Lc;function Pt(t={}){return t instanceof qr.default?t:new qr.default(t)}});var Lt=m(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});var kc=q("path"),Mc=Oe(),uo=_e(),jr=class{constructor(e){this._settings=e,this._fsStatSettings=new Mc.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return kc.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:uo.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!uo.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};Gr.default=jr});var Wr=m(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});var Nc=q("stream"),Ic=Oe(),Bc=wt(),Dc=Lt(),Ur=class extends Dc.default{constructor(){super(...arguments),this._walkStream=Bc.walkStream,this._stat=Ic.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),s=new Nc.PassThrough({objectMode:!0});s._write=(i,o,a)=>this._getEntry(n[i],e[i],r).then(u=>{u!==null&&r.entryFilter(u)&&s.push(u),i===n.length-1&&s.end(),a()}).catch(a);for(let i=0;i<n.length;i++)s.write(i);return s}_getEntry(e,r,n){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(n.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,n)=>{this._stat(e,this._fsStatSettings,(s,i)=>s===null?r(i):n(s))})}};Vr.default=Ur});var lo=m(Kr=>{"use strict";Object.defineProperty(Kr,"__esModule",{value:!0});var $c=wt(),Hc=Lt(),Fc=Wr(),Yr=class extends Hc.default{constructor(){super(...arguments),this._walkAsync=$c.walk,this._readerStream=new Fc.default(this._settings)}dynamic(e,r){return new Promise((n,s)=>{this._walkAsync(e,r,(i,o)=>{i===null?n(o):s(i)})})}async static(e,r){let n=[],s=this._readerStream.static(e,r);return new Promise((i,o)=>{s.once("error",o),s.on("data",a=>n.push(a)),s.once("end",()=>i(n))})}};Kr.default=Yr});var co=m(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});var $e=_e(),Qr=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let e=$e.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of e){let n=this._getPatternSegments(r),s=this._splitSegmentsIntoSections(n);this._storage.push({complete:s.length<=1,pattern:r,segments:n,sections:s})}}_getPatternSegments(e){return $e.pattern.getPatternParts(e,this._micromatchOptions).map(n=>$e.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:$e.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return $e.array.splitWhen(e,r=>r.dynamic&&$e.pattern.hasGlobStar(r.pattern))}};Xr.default=Qr});var fo=m(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});var qc=co(),Zr=class extends qc.default{match(e){let r=e.split("/"),n=r.length,s=this._storage.filter(i=>!i.complete||i.segments.length>n);for(let i of s){let o=i.sections[0];if(!i.complete&&n>o.length||r.every((u,d)=>{let l=i.segments[d];return!!(l.dynamic&&l.patternRe.test(u)||!l.dynamic&&l.pattern===u)}))return!0}return!1}};Jr.default=Zr});var po=m(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});var kt=_e(),jc=fo(),zr=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,n){let s=this._getMatcher(r),i=this._getNegativePatternsRe(n);return o=>this._filter(e,o,s,i)}_getMatcher(e){return new jc.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(kt.pattern.isAffectDepthOfReadingPattern);return kt.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let i=kt.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(i,n)?!1:this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let n=r.split("/").length;if(e==="")return n;let s=e.split("/").length;return n-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!kt.pattern.matchAny(e,r)}};en.default=zr});var ho=m(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});var Pe=_e(),tn=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let n=Pe.pattern.convertPatternsToRe(e,this._micromatchOptions),s=Pe.pattern.convertPatternsToRe(r,this._micromatchOptions);return i=>this._filter(i,n,s)}_filter(e,r,n){if(this._settings.unique&&this._isDuplicateEntry(e)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;let s=this._settings.baseNameMatch?e.name:e.path,i=e.dirent.isDirectory(),o=this._isMatchToPatterns(s,r,i)&&!this._isMatchToPatterns(e.path,n,i);return this._settings.unique&&o&&this._createIndexRecord(e),o}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)return!1;let n=Pe.path.makeAbsolute(this._settings.cwd,e);return Pe.pattern.matchAny(n,r)}_isMatchToPatterns(e,r,n){let s=Pe.path.removeLeadingDotSegment(e),i=Pe.pattern.matchAny(s,r);return!i&&n?Pe.pattern.matchAny(s+"/",r):i}};rn.default=tn});var go=m(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});var Gc=_e(),nn=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return Gc.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};sn.default=nn});var mo=m(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});var _o=_e(),on=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=_o.path.makeAbsolute(this._settings.cwd,r),r=_o.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};an.default=on});var Mt=m(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});var Uc=q("path"),Vc=po(),Wc=ho(),Yc=go(),Kc=mo(),un=class{constructor(e){this._settings=e,this.errorFilter=new Yc.default(this._settings),this.entryFilter=new Wc.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Vc.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Kc.default(this._settings)}_getRootDirectory(e){return Uc.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.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}}};ln.default=un});var yo=m(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});var Qc=lo(),Xc=Mt(),cn=class extends Xc.default{constructor(){super(...arguments),this._reader=new Qc.default(this._settings)}async read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(r,e,n)).map(i=>n.transform(i))}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};fn.default=cn});var So=m(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});var Zc=q("stream"),Jc=Wr(),zc=Mt(),pn=class extends zc.default{constructor(){super(...arguments),this._reader=new Jc.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),s=this.api(r,e,n),i=new Zc.Readable({objectMode:!0,read:()=>{}});return s.once("error",o=>i.emit("error",o)).on("data",o=>i.emit("data",n.transform(o))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};hn.default=pn});var bo=m(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});var ef=Oe(),tf=wt(),rf=Lt(),dn=class extends rf.default{constructor(){super(...arguments),this._walkSync=tf.walkSync,this._statSync=ef.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let n=[];for(let s of e){let i=this._getFullEntryPath(s),o=this._getEntry(i,s,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(e,r,n){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(n.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};gn.default=dn});var Eo=m(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});var nf=bo(),sf=Mt(),_n=class extends sf.default{constructor(){super(...arguments),this._reader=new nf.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(r,e,n).map(n.transform)}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};mn.default=_n});var Ao=m(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var He=q("fs"),of=q("os"),af=Math.max(of.cpus().length,1);Fe.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:He.lstat,lstatSync:He.lstatSync,stat:He.stat,statSync:He.statSync,readdir:He.readdir,readdirSync:He.readdirSync};var yn=class{constructor(e={}){this._options=e,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,af),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(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},Fe.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Fe.default=yn});var xo=m((bh,To)=>{"use strict";var Ro=Ei(),vo=Ri(),uf=yo(),lf=So(),cf=Eo(),Sn=Ao(),we=_e();async function bn(t,e){qe(t);let r=En(t,uf.default,e),n=await Promise.all(r);return we.array.flatten(n)}(function(t){function e(o,a){qe(o);let u=En(o,cf.default,a);return we.array.flatten(u)}t.sync=e;function r(o,a){qe(o);let u=En(o,lf.default,a);return we.stream.merge(u)}t.stream=r;function n(o,a){qe(o);let u=vo.transform([].concat(o)),d=new Sn.default(a);return Ro.generate(u,d)}t.generateTasks=n;function s(o,a){qe(o);let u=new Sn.default(a);return we.pattern.isDynamicPattern(o,u)}t.isDynamicPattern=s;function i(o){return qe(o),we.path.escape(o)}t.escapePath=i})(bn||(bn={}));function En(t,e,r){let n=vo.transform([].concat(t)),s=new Sn.default(r),i=Ro.generate(n,s),o=new e(s);return i.map(o.read,o)}function qe(t){if(![].concat(t).every(n=>we.string.isString(n)&&!we.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}To.exports=bn});var Zo=aa(xo(),1);import{copyFile as Qf,mkdir as Bn}from"fs/promises";import{dirname as Xf,resolve as Ye}from"path";var Co={NODE_ENV:"production"};try{let{env:t}=await import("process");t.NODE_ENV&&(Co.NODE_ENV=t.NODE_ENV)}catch{}var Nt=typeof window>"u"&&Co.NODE_ENV==="development";import{Console as vf}from"console";var Oo=(t=0)=>e=>`\x1B[${e+t}m`,Po=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,wo=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,H={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Lo=Object.keys(H.modifier),An=Object.keys(H.color),Rn=Object.keys(H.bgColor),ko=[...An,...Rn];function ff(){let t=new Map;for(let[e,r]of Object.entries(H)){for(let[n,s]of Object.entries(r))H[n]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},r[n]=H[n],t.set(s[0],s[1]);Object.defineProperty(H,e,{value:r,enumerable:!1})}return Object.defineProperty(H,"codes",{value:t,enumerable:!1}),H.color.close="\x1B[39m",H.bgColor.close="\x1B[49m",H.color.ansi=Oo(),H.color.ansi256=Po(),H.color.ansi16m=wo(),H.bgColor.ansi=Oo(10),H.bgColor.ansi256=Po(10),H.bgColor.ansi16m=wo(10),Object.defineProperties(H,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(i=>i+i).join(""));let s=Number.parseInt(n,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:e=>H.rgbToAnsi256(...H.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,s;if(e>=232)r=((e-232)*10+8)/255,n=r,s=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,s=a%6/5}let i=Math.max(r,n,s)*2;if(i===0)return 30;let o=30+(Math.round(s)<<2|Math.round(n)<<1|Math.round(r));return i===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>H.ansi256ToAnsi(H.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>H.ansi256ToAnsi(H.hexToAnsi256(e)),enumerable:!1}}),H}var pf=ff(),oe=pf;import vn from"node:process";import hf from"node:os";import Mo from"node:tty";function se(t,e=vn.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),s=e.indexOf("--");return n!==-1&&(s===-1||n<s)}var{env:G}=vn,It;se("no-color")||se("no-colors")||se("color=false")||se("color=never")?It=0:(se("color")||se("colors")||se("color=true")||se("color=always"))&&(It=1);function df(){if("FORCE_COLOR"in G)return G.FORCE_COLOR==="true"?1:G.FORCE_COLOR==="false"?0:G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}function gf(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function _f(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=df();n!==void 0&&(It=n);let s=r?It:n;if(s===0)return 0;if(r){if(se("color=16m")||se("color=full")||se("color=truecolor"))return 3;if(se("color=256"))return 2}if(t&&!e&&s===void 0)return 0;let i=s||0;if(G.TERM==="dumb")return i;if(vn.platform==="win32"){let o=hf.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in G)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in G)||G.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in G)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in G&&"AGENT_NAME"in G)return 1;if(G.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in G){let o=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(G.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)||"COLORTERM"in G?1:i}function No(t,e={}){let r=_f(t,{streamIsTTY:t&&t.isTTY,...e});return gf(r)}var mf={stdout:No({isTTY:Mo.isatty(1)}),stderr:No({isTTY:Mo.isatty(2)})},Io=mf;function Bo(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let s=e.length,i=0,o="";do o+=t.slice(i,n)+e+r,i=n+s,n=t.indexOf(e,i);while(n!==-1);return o+=t.slice(i),o}function Do(t,e,r,n){let s=0,i="";do{let o=t[n-1]==="\r";i+=t.slice(s,o?n-1:n)+e+(o?`\r