@tsmodule/tsmodule 40.18.0 → 40.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
 
2
- typeof document>"u"&&await(async()=>{let{dirname:e}=await import("path"),{fileURLToPath:i}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=i(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=e(globalThis.__filename)),typeof globalThis.require>"u"){let{default:a}=await import("module");globalThis.require=a.createRequire(import.meta.url)}})();
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)}}
3
3
 
4
4
  var Zf=Object.create;var Js=Object.defineProperty;var zf=Object.getOwnPropertyDescriptor;var ec=Object.getOwnPropertyNames;var tc=Object.getPrototypeOf,rc=Object.prototype.hasOwnProperty;var L=(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 _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var nc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ec(t))!rc.call(e,i)&&i!==r&&Js(e,i,{get:()=>t[i],enumerable:!(n=zf(t,i))||n.enumerable});return e};var ot=(e,t,r)=>(r=e!=null?Zf(tc(e)):{},nc(t||!e||!e.__esModule?Js(r,"default",{value:e,enumerable:!0}):r,e));var ho=_((Py,bn)=>{"use strict";var co=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};bn.exports=co;bn.exports.default=co});var _o=_((Ly,ar)=>{"use strict";var yc=ho(),or=new WeakMap,po=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0,i=e.displayName||e.name||"<anonymous>",s=function(...o){if(or.set(s,++n),n===1)r=e.apply(this,o),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return yc(s,e),or.set(s,n),s};ar.exports=po;ar.exports.default=po;ar.exports.callCount=e=>{if(!or.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return or.get(e)}});var go=_((My,lr)=>{lr.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&lr.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&lr.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var xo=_((Dy,ct)=>{var G=global.process,Ye=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"};Ye(G)?(yo=L("assert"),ut=go(),mo=/^win/i.test(G.platform),Mt=L("events"),typeof Mt!="function"&&(Mt=Mt.EventEmitter),G.__signal_exit_emitter__?J=G.__signal_exit_emitter__:(J=G.__signal_exit_emitter__=new Mt,J.count=0,J.emitted={}),J.infinite||(J.setMaxListeners(1/0),J.infinite=!0),ct.exports=function(e,t){if(!Ye(global.process))return function(){};yo.equal(typeof e,"function","a callback must be provided for exit handler"),ft===!1&&vn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){J.removeListener(r,e),J.listeners("exit").length===0&&J.listeners("afterexit").length===0&&ur()};return J.on(r,e),n},ur=function(){!ft||!Ye(global.process)||(ft=!1,ut.forEach(function(t){try{G.removeListener(t,fr[t])}catch{}}),G.emit=cr,G.reallyExit=xn,J.count-=1)},ct.exports.unload=ur,Ke=function(t,r,n){J.emitted[t]||(J.emitted[t]=!0,J.emit(t,r,n))},fr={},ut.forEach(function(e){fr[e]=function(){if(!!Ye(global.process)){var r=G.listeners(e);r.length===J.count&&(ur(),Ke("exit",null,e),Ke("afterexit",null,e),mo&&e==="SIGHUP"&&(e="SIGINT"),G.kill(G.pid,e))}}}),ct.exports.signals=function(){return ut},ft=!1,vn=function(){ft||!Ye(global.process)||(ft=!0,J.count+=1,ut=ut.filter(function(t){try{return G.on(t,fr[t]),!0}catch{return!1}}),G.emit=vo,G.reallyExit=bo)},ct.exports.load=vn,xn=G.reallyExit,bo=function(t){!Ye(global.process)||(G.exitCode=t||0,Ke("exit",G.exitCode,null),Ke("afterexit",G.exitCode,null),xn.call(G,G.exitCode))},cr=G.emit,vo=function(t,r){if(t==="exit"&&Ye(global.process)){r!==void 0&&(G.exitCode=r);var n=cr.apply(this,arguments);return Ke("exit",G.exitCode,null),Ke("afterexit",G.exitCode,null),n}else return cr.apply(this,arguments)}):ct.exports=function(){return function(){}};var yo,ut,mo,Mt,J,ur,Ke,fr,ft,vn,xn,bo,cr,vo});var Ao=_((qy,vc)=>{vc.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 Oo=_((jy,Co)=>{"use strict";var pr=Object.assign({},Ao()),To=Object.keys(pr);Object.defineProperty(pr,"random",{get(){let e=Math.floor(Math.random()*To.length),t=To[e];return pr[t]}});Co.exports=pr});var Po=_((Qy,dr)=>{var Rc=function(){"use strict";function e(o,a,l,c){var u;typeof a=="object"&&(l=a.depth,c=a.prototype,u=a.filter,a=a.circular);var d=[],f=[],S=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof l>"u"&&(l=1/0);function m(y,E){if(y===null)return null;if(E==0)return y;var x,B;if(typeof y!="object")return y;if(e.__isArray(y))x=[];else if(e.__isRegExp(y))x=new RegExp(y.source,s(y)),y.lastIndex&&(x.lastIndex=y.lastIndex);else if(e.__isDate(y))x=new Date(y.getTime());else{if(S&&Buffer.isBuffer(y))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(y.length):x=new Buffer(y.length),y.copy(x),x;typeof c>"u"?(B=Object.getPrototypeOf(y),x=Object.create(B)):(x=Object.create(c),B=c)}if(a){var N=d.indexOf(y);if(N!=-1)return f[N];d.push(y),f.push(x)}for(var z in y){var A;B&&(A=Object.getOwnPropertyDescriptor(B,z)),!(A&&A.set==null)&&(x[z]=m(y[z],E-1))}return x}return m(o,l)}e.clonePrototype=function(a){if(a===null)return null;var l=function(){};return l.prototype=a,new l};function t(o){return Object.prototype.toString.call(o)}e.__objToStr=t;function r(o){return typeof o=="object"&&t(o)==="[object Date]"}e.__isDate=r;function n(o){return typeof o=="object"&&t(o)==="[object Array]"}e.__isArray=n;function i(o){return typeof o=="object"&&t(o)==="[object RegExp]"}e.__isRegExp=i;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return e.__getRegExpFlags=s,e}();typeof dr=="object"&&dr.exports&&(dr.exports=Rc)});var Mo=_((Xy,Lo)=>{var wc=Po();Lo.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=wc(t[r]))}),e}});var Bo=_((Jy,Do)=>{Do.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]});var Fo=_((Zy,wn)=>{"use strict";var Ac=Mo(),It=Bo(),No={nul:0,control:0};wn.exports=function(t){return ko(t,No)};wn.exports.config=function(e){return e=Ac(e||{},No),function(r){return ko(r,e)}};function ko(e,t){if(typeof e!="string")return Io(e,t);for(var r=0,n=0;n<e.length;n++){var i=Io(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function Io(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Tc(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 Tc(e){var t=0,r=It.length-1,n;if(e<It[0][0]||e>It[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>It[n][1])t=n+1;else if(e<It[n][0])r=n-1;else return!0;return!1}});var Tn=_((em,qo)=>{qo.exports=L("stream")});var Go=_((tm,$o)=>{"use strict";function jo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Cc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jo(Object(r),!0).forEach(function(n){Oc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lc(e,t,r){return t&&Ho(e.prototype,t),r&&Ho(e,r),e}var Mc=L("buffer"),_r=Mc.Buffer,Dc=L("util"),Cn=Dc.inspect,Bc=Cn&&Cn.custom||"inspect";function Ic(e,t,r){_r.prototype.copy.call(e,t,r)}$o.exports=function(){function e(){Pc(this,e),this.head=null,this.tail=null,this.length=0}return Lc(e,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return _r.alloc(0);for(var n=_r.allocUnsafe(r>>>0),i=this.head,s=0;i;)Ic(i.data,n,s),s+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,s=n.data;for(r-=s.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(a===o.length?s+=o:s+=o.slice(0,r),r-=a,r===0){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,s}},{key:"_getBuffer",value:function(r){var n=_r.allocUnsafe(r),i=this.head,s=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var o=i.data,a=r>o.length?o.length:r;if(o.copy(n,n.length-r,0,a),r-=a,r===0){a===o.length?(++s,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++s}return this.length-=s,n}},{key:Bc,value:function(r,n){return Cn(this,Cc({},n,{depth:0,customInspect:!1}))}}]),e}()});var Pn=_((rm,Wo)=>{"use strict";function Nc(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(On,this,e)):process.nextTick(On,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?r._writableState?r._writableState.errorEmitted?process.nextTick(gr,r):(r._writableState.errorEmitted=!0,process.nextTick(Uo,r,s)):process.nextTick(Uo,r,s):t?(process.nextTick(gr,r),t(s)):process.nextTick(gr,r)}),this)}function Uo(e,t){On(e,t),gr(e)}function gr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function kc(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function On(e,t){e.emit("error",t)}function Fc(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Wo.exports={destroy:Nc,undestroy:kc,errorOrDestroy:Fc}});var Ie=_((nm,Ko)=>{"use strict";var Yo={};function ce(e,t,r){r||(r=Error);function n(s,o,a){return typeof t=="string"?t:t(s,o,a)}class i extends r{constructor(o,a,l){super(n(o,a,l))}}i.prototype.name=r.name,i.prototype.code=e,Yo[e]=i}function Vo(e,t){if(Array.isArray(e)){let r=e.length;return e=e.map(n=>String(n)),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:r===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}else return`of ${t} ${String(e)}`}function qc(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function jc(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Hc(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ce("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ce("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&qc(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(jc(e," argument"))i=`The ${e} ${n} ${Vo(t,"type")}`;else{let s=Hc(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${Vo(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);ce("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ce("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ce("ERR_STREAM_PREMATURE_CLOSE","Premature close");ce("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ce("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ce("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ce("ERR_STREAM_WRITE_AFTER_END","write after end");ce("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ce("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ce("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Ko.exports.codes=Yo});var Ln=_((im,Qo)=>{"use strict";var $c=Ie().codes.ERR_INVALID_OPT_VALUE;function Gc(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Uc(e,t,r,n){var i=Gc(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new $c(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}Qo.exports={getHighWaterMark:Uc}});var Xo=_((sm,Mn)=>{typeof Object.create=="function"?Mn.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Mn.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Qe=_((om,Bn)=>{try{if(Dn=L("util"),typeof Dn.inherits!="function")throw"";Bn.exports=Dn.inherits}catch{Bn.exports=Xo()}var Dn});var Zo=_((am,Jo)=>{Jo.exports=L("util").deprecate});var kn=_((lm,ia)=>{"use strict";ia.exports=V;function ea(e){var t=this;this.next=null,this.entry=null,this.finish=function(){yh(t,e)}}var pt;V.WritableState=kt;var Wc={deprecate:Zo()},ta=Tn(),mr=L("buffer").Buffer,Vc=global.Uint8Array||function(){};function Yc(e){return mr.from(e)}function Kc(e){return mr.isBuffer(e)||e instanceof Vc}var Nn=Pn(),Qc=Ln(),Xc=Qc.getHighWaterMark,Ne=Ie().codes,Jc=Ne.ERR_INVALID_ARG_TYPE,Zc=Ne.ERR_METHOD_NOT_IMPLEMENTED,zc=Ne.ERR_MULTIPLE_CALLBACK,eh=Ne.ERR_STREAM_CANNOT_PIPE,th=Ne.ERR_STREAM_DESTROYED,rh=Ne.ERR_STREAM_NULL_VALUES,nh=Ne.ERR_STREAM_WRITE_AFTER_END,ih=Ne.ERR_UNKNOWN_ENCODING,dt=Nn.errorOrDestroy;Qe()(V,ta);function sh(){}function kt(e,t,r){pt=pt||Xe(),e=e||{},typeof r!="boolean"&&(r=t instanceof pt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Xc(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){hh(t,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ea(this)}kt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(kt.prototype,"buffer",{get:Wc.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var yr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(yr=Function.prototype[Symbol.hasInstance],Object.defineProperty(V,Symbol.hasInstance,{value:function(t){return yr.call(this,t)?!0:this!==V?!1:t&&t._writableState instanceof kt}})):yr=function(t){return t instanceof this};function V(e){pt=pt||Xe();var t=this instanceof pt;if(!t&&!yr.call(V,this))return new V(e);this._writableState=new kt(e,this,t),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),ta.call(this)}V.prototype.pipe=function(){dt(this,new eh)};function oh(e,t){var r=new nh;dt(e,r),process.nextTick(t,r)}function ah(e,t,r,n){var i;return r===null?i=new rh:typeof r!="string"&&!t.objectMode&&(i=new Jc("chunk",["string","Buffer"],r)),i?(dt(e,i),process.nextTick(n,i),!1):!0}V.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&Kc(e);return s&&!mr.isBuffer(e)&&(e=Yc(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=sh),n.ending?oh(this,r):(s||ah(this,n,e,r))&&(n.pendingcb++,i=uh(this,n,s,e,t,r)),i};V.prototype.cork=function(){this._writableState.corked++};V.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&ra(this,e))};V.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 ih(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(V.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function lh(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=mr.from(t,r)),t}Object.defineProperty(V.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function uh(e,t,r,n,i,s){if(!r){var o=lh(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else In(e,t,!1,a,n,i,s);return l}function In(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new th("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function fh(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Nt,e,t),e._writableState.errorEmitted=!0,dt(e,n)):(i(n),e._writableState.errorEmitted=!0,dt(e,n),Nt(e,t))}function ch(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function hh(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new zc;if(ch(r),t)fh(e,r,n,t,i);else{var s=na(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ra(e,r),n?process.nextTick(zo,e,r,s,i):zo(e,r,s,i)}}function zo(e,t,r,n){r||ph(e,t),t.pendingcb--,n(),Nt(e,t)}function ph(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function ra(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),s=t.corkedRequestsFree;s.entry=r;for(var o=0,a=!0;r;)i[o]=r,r.isBuf||(a=!1),r=r.next,o+=1;i.allBuffers=a,In(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new ea(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,u=r.callback,d=t.objectMode?1:l.length;if(In(e,t,!1,d,l,c,u),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}V.prototype._write=function(e,t,r){r(new Zc("_write()"))};V.prototype._writev=null;V.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||gh(this,n,r),this};Object.defineProperty(V.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function na(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function dh(e,t){e._final(function(r){t.pendingcb--,r&&dt(e,r),t.prefinished=!0,e.emit("prefinish"),Nt(e,t)})}function _h(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(dh,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Nt(e,t){var r=na(t);if(r&&(_h(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function gh(e,t,r){t.ending=!0,Nt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function yh(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(V.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});V.prototype.destroy=Nn.destroy;V.prototype._undestroy=Nn.undestroy;V.prototype._destroy=function(e,t){t(e)}});var Xe=_((um,oa)=>{"use strict";var mh=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};oa.exports=Se;var sa=jn(),qn=kn();Qe()(Se,sa);for(Fn=mh(qn.prototype),br=0;br<Fn.length;br++)vr=Fn[br],Se.prototype[vr]||(Se.prototype[vr]=qn.prototype[vr]);var Fn,vr,br;function Se(e){if(!(this instanceof Se))return new Se(e);sa.call(this,e),qn.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",bh)))}Object.defineProperty(Se.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Se.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Se.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function bh(){this._writableState.ended||process.nextTick(vh,this)}function vh(e){e.end()}Object.defineProperty(Se.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var ua=_((Hn,la)=>{var xr=L("buffer"),Ee=xr.Buffer;function aa(e,t){for(var r in e)t[r]=e[r]}Ee.from&&Ee.alloc&&Ee.allocUnsafe&&Ee.allocUnsafeSlow?la.exports=xr:(aa(xr,Hn),Hn.Buffer=Je);function Je(e,t,r){return Ee(e,t,r)}Je.prototype=Object.create(Ee.prototype);aa(Ee,Je);Je.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Ee(e,t,r)};Je.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Ee(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};Je.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Ee(e)};Je.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return xr.SlowBuffer(e)}});var Un=_(ca=>{"use strict";var Gn=ua().Buffer,fa=Gn.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function xh(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 Sh(e){var t=xh(e);if(typeof t!="string"&&(Gn.isEncoding===fa||!fa(e)))throw new Error("Unknown encoding: "+e);return t||e}ca.StringDecoder=Ft;function Ft(e){this.encoding=Sh(e);var t;switch(this.encoding){case"utf16le":this.text=Ch,this.end=Oh,t=4;break;case"utf8":this.fillLast=wh,t=4;break;case"base64":this.text=Ph,this.end=Lh,t=3;break;default:this.write=Mh,this.end=Dh;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Gn.allocUnsafe(t)}Ft.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||""};Ft.prototype.end=Th;Ft.prototype.text=Ah;Ft.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function $n(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function Eh(e,t,r){var n=t.length-1;if(n<r)return 0;var i=$n(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=$n(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function Rh(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 wh(e){var t=this.lastTotal-this.lastNeed,r=Rh(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 Ah(e,t){var r=Eh(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)}function Th(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function Ch(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function Oh(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 Ph(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 Lh(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function Mh(e){return e.toString(this.encoding)}function Dh(e){return e&&e.length?this.write(e):""}});var Sr=_((cm,da)=>{"use strict";var ha=Ie().codes.ERR_STREAM_PREMATURE_CLOSE;function Bh(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}function Ih(){}function Nh(e){return e.setHeader&&typeof e.abort=="function"}function pa(e,t,r){if(typeof t=="function")return pa(e,null,t);t||(t={}),r=Bh(r||Ih);var n=t.readable||t.readable!==!1&&e.readable,i=t.writable||t.writable!==!1&&e.writable,s=function(){e.writable||a()},o=e._writableState&&e._writableState.finished,a=function(){i=!1,o=!0,n||r.call(e)},l=e._readableState&&e._readableState.endEmitted,c=function(){n=!1,l=!0,i||r.call(e)},u=function(m){r.call(e,m)},d=function(){var m;if(n&&!l)return(!e._readableState||!e._readableState.ended)&&(m=new ha),r.call(e,m);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(m=new ha),r.call(e,m)},f=function(){e.req.on("finish",a)};return Nh(e)?(e.on("complete",a),e.on("abort",d),e.req?f():e.on("request",f)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",c),e.on("finish",a),t.error!==!1&&e.on("error",u),e.on("close",d),function(){e.removeListener("complete",a),e.removeListener("abort",d),e.removeListener("request",f),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",c),e.removeListener("error",u),e.removeListener("close",d)}}da.exports=pa});var ga=_((hm,_a)=>{"use strict";var Er;function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kh=Sr(),Fe=Symbol("lastResolve"),Ze=Symbol("lastReject"),qt=Symbol("error"),Rr=Symbol("ended"),ze=Symbol("lastPromise"),Wn=Symbol("handlePromise"),et=Symbol("stream");function qe(e,t){return{value:e,done:t}}function Fh(e){var t=e[Fe];if(t!==null){var r=e[et].read();r!==null&&(e[ze]=null,e[Fe]=null,e[Ze]=null,t(qe(r,!1)))}}function qh(e){process.nextTick(Fh,e)}function jh(e,t){return function(r,n){e.then(function(){if(t[Rr]){r(qe(void 0,!0));return}t[Wn](r,n)},n)}}var Hh=Object.getPrototypeOf(function(){}),$h=Object.setPrototypeOf((Er={get stream(){return this[et]},next:function(){var t=this,r=this[qt];if(r!==null)return Promise.reject(r);if(this[Rr])return Promise.resolve(qe(void 0,!0));if(this[et].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[qt]?a(t[qt]):o(qe(void 0,!0))})});var n=this[ze],i;if(n)i=new Promise(jh(n,this));else{var s=this[et].read();if(s!==null)return Promise.resolve(qe(s,!1));i=new Promise(this[Wn])}return this[ze]=i,i}},ke(Er,Symbol.asyncIterator,function(){return this}),ke(Er,"return",function(){var t=this;return new Promise(function(r,n){t[et].destroy(null,function(i){if(i){n(i);return}r(qe(void 0,!0))})})}),Er),Hh),Gh=function(t){var r,n=Object.create($h,(r={},ke(r,et,{value:t,writable:!0}),ke(r,Fe,{value:null,writable:!0}),ke(r,Ze,{value:null,writable:!0}),ke(r,qt,{value:null,writable:!0}),ke(r,Rr,{value:t._readableState.endEmitted,writable:!0}),ke(r,Wn,{value:function(s,o){var a=n[et].read();a?(n[ze]=null,n[Fe]=null,n[Ze]=null,s(qe(a,!1))):(n[Fe]=s,n[Ze]=o)},writable:!0}),r));return n[ze]=null,kh(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[Ze];s!==null&&(n[ze]=null,n[Fe]=null,n[Ze]=null,s(i)),n[qt]=i;return}var o=n[Fe];o!==null&&(n[ze]=null,n[Fe]=null,n[Ze]=null,o(qe(void 0,!0))),n[Rr]=!0}),t.on("readable",qh.bind(null,n)),n};_a.exports=Gh});var va=_((pm,ba)=>{"use strict";function ya(e,t,r,n,i,s,o){try{var a=e[s](o),l=a.value}catch(c){r(c);return}a.done?t(l):Promise.resolve(l).then(n,i)}function Uh(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(l){ya(s,n,i,o,a,"next",l)}function a(l){ya(s,n,i,o,a,"throw",l)}o(void 0)})}}function ma(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Wh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ma(Object(r),!0).forEach(function(n){Vh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ma(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Vh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yh=Ie().codes.ERR_INVALID_ARG_TYPE;function Kh(e,t,r){var n;if(t&&typeof t.next=="function")n=t;else if(t&&t[Symbol.asyncIterator])n=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])n=t[Symbol.iterator]();else throw new Yh("iterable",["Iterable"],t);var i=new e(Wh({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=Uh(function*(){try{var l=yield n.next(),c=l.value,u=l.done;u?i.push(null):i.push(yield c)?o():s=!1}catch(d){i.destroy(d)}}),a.apply(this,arguments)}return i}ba.exports=Kh});var jn=_((_m,Pa)=>{"use strict";Pa.exports=M;var _t;M.ReadableState=Ra;var dm=L("events").EventEmitter,Ea=function(t,r){return t.listeners(r).length},Ht=Tn(),wr=L("buffer").Buffer,Qh=global.Uint8Array||function(){};function Xh(e){return wr.from(e)}function Jh(e){return wr.isBuffer(e)||e instanceof Qh}var Vn=L("util"),O;Vn&&Vn.debuglog?O=Vn.debuglog("stream"):O=function(){};var Zh=Go(),zn=Pn(),zh=Ln(),ep=zh.getHighWaterMark,Ar=Ie().codes,tp=Ar.ERR_INVALID_ARG_TYPE,rp=Ar.ERR_STREAM_PUSH_AFTER_EOF,np=Ar.ERR_METHOD_NOT_IMPLEMENTED,ip=Ar.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,gt,Yn,Kn;Qe()(M,Ht);var jt=zn.errorOrDestroy,Qn=["error","close","destroy","pause","resume"];function sp(e,t,r){if(typeof e.prependListener=="function")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function Ra(e,t,r){_t=_t||Xe(),e=e||{},typeof r!="boolean"&&(r=t instanceof _t),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=ep(this,e,"readableHighWaterMark",r),this.buffer=new Zh,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&&(gt||(gt=Un().StringDecoder),this.decoder=new gt(e.encoding),this.encoding=e.encoding)}function M(e){if(_t=_t||Xe(),!(this instanceof M))return new M(e);var t=this instanceof _t;this._readableState=new Ra(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Ht.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});M.prototype.destroy=zn.destroy;M.prototype._undestroy=zn.undestroy;M.prototype._destroy=function(e,t){t(e)};M.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e=="string"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=wr.from(e,t),t=""),n=!0),wa(this,e,t,!1,n)};M.prototype.unshift=function(e){return wa(this,e,null,!0,!1)};function wa(e,t,r,n,i){O("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,lp(e,s);else{var o;if(i||(o=op(s,t)),o)jt(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==wr.prototype&&(t=Xh(t)),n)s.endEmitted?jt(e,new ip):Xn(e,s,t,!0);else if(s.ended)jt(e,new rp);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?Xn(e,s,t,!1):Zn(e,s)):Xn(e,s,t,!1)}else n||(s.reading=!1,Zn(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function Xn(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&Tr(e)),Zn(e,t)}function op(e,t){var r;return!Jh(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new tp("chunk",["string","Buffer","Uint8Array"],t)),r}M.prototype.isPaused=function(){return this._readableState.flowing===!1};M.prototype.setEncoding=function(e){gt||(gt=Un().StringDecoder);var t=new gt(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var xa=1073741824;function ap(e){return e>=xa?e=xa:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function Sa(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=ap(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}M.prototype.read=function(e){O("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return O("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Jn(this):Tr(this),null;if(e=Sa(e,t),e===0&&t.ended)return t.length===0&&Jn(this),null;var n=t.needReadable;O("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,O("length less than watermark",n)),t.ended||t.reading?(n=!1,O("reading or ended",n)):n&&(O("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Sa(r,t)));var i;return e>0?i=Ca(e,t):i=null,i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Jn(this)),i!==null&&this.emit("data",i),i};function lp(e,t){if(O("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?Tr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,Aa(e)))}}function Tr(e){var t=e._readableState;O("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(Aa,e))}function Aa(e){var t=e._readableState;O("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,ei(e)}function Zn(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(up,e,t))}function up(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(O("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}M.prototype._read=function(e){jt(this,new np("_read()"))};M.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,O("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:y;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(E,x){O("onunpipe"),E===r&&x&&x.hasUnpiped===!1&&(x.hasUnpiped=!0,u())}function a(){O("onend"),e.end()}var l=fp(r);e.on("drain",l);var c=!1;function u(){O("cleanup"),e.removeListener("close",S),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",y),r.removeListener("data",d),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l()}r.on("data",d);function d(E){O("ondata");var x=e.write(E);O("dest.write",x),x===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&Oa(n.pipes,e)!==-1)&&!c&&(O("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(E){O("onerror",E),y(),e.removeListener("error",f),Ea(e,"error")===0&&jt(e,E)}sp(e,"error",f);function S(){e.removeListener("finish",m),y()}e.once("close",S);function m(){O("onfinish"),e.removeListener("close",S),y()}e.once("finish",m);function y(){O("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(O("pipe resume"),r.resume()),e};function fp(e){return function(){var r=e._readableState;O("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Ea(e,"data")&&(r.flowing=!0,ei(e))}}M.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Oa(t.pipes,e);return o===-1?this:(t.pipes.splice(o,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)};M.prototype.on=function(e,t){var r=Ht.prototype.on.call(this,e,t),n=this._readableState;return e==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):e==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,O("on readable",n.length,n.reading),n.length?Tr(this):n.reading||process.nextTick(cp,this)),r};M.prototype.addListener=M.prototype.on;M.prototype.removeListener=function(e,t){var r=Ht.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(Ta,this),r};M.prototype.removeAllListeners=function(e){var t=Ht.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(Ta,this),t};function Ta(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function cp(e){O("readable nexttick read 0"),e.read(0)}M.prototype.resume=function(){var e=this._readableState;return e.flowing||(O("resume"),e.flowing=!e.readableListening,hp(this,e)),e.paused=!1,this};function hp(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(pp,e,t))}function pp(e,t){O("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),ei(e),t.flowing&&!t.reading&&e.read(0)}M.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function ei(e){var t=e._readableState;for(O("flow",t.flowing);t.flowing&&e.read()!==null;);}M.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(O("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&t.push(o)}t.push(null)}),e.on("data",function(o){if(O("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=t.push(o);a||(n=!0,e.pause())}});for(var i in e)this[i]===void 0&&typeof e[i]=="function"&&(this[i]=function(a){return function(){return e[a].apply(e,arguments)}}(i));for(var s=0;s<Qn.length;s++)e.on(Qn[s],this.emit.bind(this,Qn[s]));return this._read=function(o){O("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return Yn===void 0&&(Yn=ga()),Yn(this)});Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});M._fromList=Ca;Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ca(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(""):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Jn(e){var t=e._readableState;O("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(dp,t,e))}function dp(e,t){if(O("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol=="function"&&(M.from=function(e,t){return Kn===void 0&&(Kn=va()),Kn(M,e,t)});function Oa(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var ti=_((gm,Ma)=>{"use strict";Ma.exports=Pe;var Cr=Ie().codes,_p=Cr.ERR_METHOD_NOT_IMPLEMENTED,gp=Cr.ERR_MULTIPLE_CALLBACK,yp=Cr.ERR_TRANSFORM_ALREADY_TRANSFORMING,mp=Cr.ERR_TRANSFORM_WITH_LENGTH_0,Or=Xe();Qe()(Pe,Or);function bp(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new gp);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Pe(e){if(!(this instanceof Pe))return new Pe(e);Or.call(this,e),this._transformState={afterTransform:bp.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",vp)}function vp(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){La(e,t,r)}):La(this,null,null)}Pe.prototype.push=function(e,t){return this._transformState.needTransform=!1,Or.prototype.push.call(this,e,t)};Pe.prototype._transform=function(e,t,r){r(new _p("_transform()"))};Pe.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Pe.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};Pe.prototype._destroy=function(e,t){Or.prototype._destroy.call(this,e,function(r){t(r)})};function La(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new mp;if(e._transformState.transforming)throw new yp;return e.push(null)}});var Ia=_((ym,Ba)=>{"use strict";Ba.exports=$t;var Da=ti();Qe()($t,Da);function $t(e){if(!(this instanceof $t))return new $t(e);Da.call(this,e)}$t.prototype._transform=function(e,t,r){r(null,e)}});var ja=_((mm,qa)=>{"use strict";var ri;function xp(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Fa=Ie().codes,Sp=Fa.ERR_MISSING_ARGS,Ep=Fa.ERR_STREAM_DESTROYED;function Na(e){if(e)throw e}function Rp(e){return e.setHeader&&typeof e.abort=="function"}function wp(e,t,r,n){n=xp(n);var i=!1;e.on("close",function(){i=!0}),ri===void 0&&(ri=Sr()),ri(e,{readable:t,writable:r},function(o){if(o)return n(o);i=!0,n()});var s=!1;return function(o){if(!i&&!s){if(s=!0,Rp(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new Ep("pipe"))}}}function ka(e){e()}function Ap(e,t){return e.pipe(t)}function Tp(e){return!e.length||typeof e[e.length-1]!="function"?Na:e.pop()}function Cp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Tp(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Sp("streams");var i,s=t.map(function(o,a){var l=a<t.length-1,c=a>0;return wp(o,l,c,function(u){i||(i=u),u&&s.forEach(ka),!l&&(s.forEach(ka),n(i))})});return t.reduce(Ap)}qa.exports=Cp});var Ha=_((he,Ut)=>{var Gt=L("stream");process.env.READABLE_STREAM==="disable"&&Gt?(Ut.exports=Gt.Readable,Object.assign(Ut.exports,Gt),Ut.exports.Stream=Gt):(he=Ut.exports=jn(),he.Stream=Gt||he,he.Readable=he,he.Writable=kn(),he.Duplex=Xe(),he.Transform=ti(),he.PassThrough=Ia(),he.finished=Sr(),he.pipeline=ja())});var Ua=_((bm,Ga)=>{"use strict";var{Buffer:me}=L("buffer"),$a=Symbol.for("BufferList");function k(e){if(!(this instanceof k))return new k(e);k._init.call(this,e)}k._init=function(t){Object.defineProperty(this,$a,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)};k.prototype._new=function(t){return new k(t)};k.prototype._offset=function(t){if(t===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(t<i||n===this._bufs.length-1)return[n,t-r];r=i}};k.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let n=0;n<t;n++)r+=this._bufs[n].length;return r};k.prototype.get=function(t){if(t>this.length||t<0)return;let r=this._offset(t);return this._bufs[r[0]][r[1]]};k.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)};k.prototype.copy=function(t,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return t||me.alloc(0);let s=!!t,o=this._offset(n),a=i-n,l=a,c=s&&r||0,u=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:me.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(t,c),c+=this._bufs[d].length;return t}if(l<=this._bufs[o[0]].length-u)return s?this._bufs[o[0]].copy(t,r,u,u+l):this._bufs[o[0]].slice(u,u+l);s||(t=me.allocUnsafe(a));for(let d=o[0];d<this._bufs.length;d++){let f=this._bufs[d].length-u;if(l>f)this._bufs[d].copy(t,c,u),c+=f;else{this._bufs[d].copy(t,c,u,u+l),c+=f;break}l-=f,u&&(u=0)}return t.length>c?t.slice(0,c):t};k.prototype.shallowSlice=function(t,r){if(t=t||0,r=typeof r!="number"?this.length:r,t<0&&(t+=this.length),r<0&&(r+=this.length),t===r)return this._new();let n=this._offset(t),i=this._offset(r),s=this._bufs.slice(n[0],i[0]+1);return i[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,i[1]),n[1]!==0&&(s[0]=s[0].slice(n[1])),this._new(s)};k.prototype.toString=function(t,r,n){return this.slice(r,n).toString(t)};k.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};k.prototype.duplicate=function(){let t=this._new();for(let r=0;r<this._bufs.length;r++)t.append(this._bufs[r]);return t};k.prototype.append=function(t){if(t==null)return this;if(t.buffer)this._appendBuffer(me.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(me.from(t));return this};k.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};k.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=me.from([e]):typeof e=="string"?e=me.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=me.from(e.buffer,e.byteOffset,e.byteLength):me.isBuffer(e)||(e=me.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),e.length===0)return t>this.length?this.length:t;let n=this._offset(t),i=n[0],s=n[1];for(;i<this._bufs.length;i++){let o=this._bufs[i];for(;s<o.length;)if(o.length-s>=e.length){let l=o.indexOf(e,s);if(l!==-1)return this._reverseOffset([i,l]);s=o.length-e.length+1}else{let l=this._reverseOffset([i,s]);if(this._match(l,e))return l;s++}s=0}return-1};k.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?k.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:k.prototype[r]=function(n=0){return this.slice(n,n+e[r])[r](0)}})(t)})();k.prototype._isBufferList=function(t){return t instanceof k||k.isBufferList(t)};k.isBufferList=function(t){return t!=null&&t[$a]};Ga.exports=k});var Wa=_((vm,Pr)=>{"use strict";var ni=Ha().Duplex,Op=Qe(),Wt=Ua();function ee(e){if(!(this instanceof ee))return new ee(e);if(typeof e=="function"){this._callback=e;let t=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",t)}),this.on("unpipe",function(n){n.removeListener("error",t)}),e=null}Wt._init.call(this,e),ni.call(this)}Op(ee,ni);Object.assign(ee.prototype,Wt.prototype);ee.prototype._new=function(t){return new ee(t)};ee.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};ee.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)};ee.prototype.end=function(t){ni.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ee.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};ee.prototype._isBufferList=function(t){return t instanceof ee||t instanceof Wt||ee.isBufferList(t)};ee.isBufferList=Wt.isBufferList;Pr.exports=ee;Pr.exports.BufferListStream=ee;Pr.exports.BufferList=Wt});var rl=_(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.splitWhen=bt.flatten=void 0;function nd(e){return e.reduce((t,r)=>[].concat(t,r),[])}bt.flatten=nd;function id(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}bt.splitWhen=id});var nl=_(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.isEnoentCodeError=void 0;function sd(e){return e.code==="ENOENT"}Nr.isEnoentCodeError=sd});var il=_(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.createDirentFromStats=void 0;var ci=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function od(e,t){return new ci(e,t)}kr.createDirentFromStats=od});var sl=_(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.removeLeadingDotSegment=we.escape=we.makeAbsolute=we.unixify=void 0;var ad=L("path"),ld=2,ud=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function fd(e){return e.replace(/\\/g,"/")}we.unixify=fd;function cd(e,t){return ad.resolve(e,t)}we.makeAbsolute=cd;function hd(e){return e.replace(ud,"\\$2")}we.escape=hd;function pd(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(ld)}return e}we.removeLeadingDotSegment=pd});var al=_((Gm,ol)=>{ol.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(r[2])return!0;t=t.slice(r.index+r[0].length)}return!1}});var fl=_((Um,ul)=>{var dd=al(),ll={"{":"}","(":")","[":"]"},_d=function(e){if(e[0]==="!")return!0;for(var t=0,r=-2,n=-2,i=-2,s=-2,o=-2;t<e.length;){if(e[t]==="*"||e[t+1]==="?"&&/[\].+)]/.test(e[t])||n!==-1&&e[t]==="["&&e[t+1]!=="]"&&(n<t&&(n=e.indexOf("]",t)),n>t&&(o===-1||o>n||(o=e.indexOf("\\",t),o===-1||o>n)))||i!==-1&&e[t]==="{"&&e[t+1]!=="}"&&(i=e.indexOf("}",t),i>t&&(o=e.indexOf("\\",t),o===-1||o>i))||s!==-1&&e[t]==="("&&e[t+1]==="?"&&/[:!=]/.test(e[t+2])&&e[t+3]!==")"&&(s=e.indexOf(")",t),s>t&&(o=e.indexOf("\\",t),o===-1||o>s))||r!==-1&&e[t]==="("&&e[t+1]!=="|"&&(r<t&&(r=e.indexOf("|",t)),r!==-1&&e[r+1]!==")"&&(s=e.indexOf(")",r),s>r&&(o=e.indexOf("\\",r),o===-1||o>s))))return!0;if(e[t]==="\\"){var a=e[t+1];t+=2;var l=ll[a];if(l){var c=e.indexOf(l,t);c!==-1&&(t=c+1)}if(e[t]==="!")return!0}else t++}return!1},gd=function(e){if(e[0]==="!")return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if(e[t]==="\\"){var r=e[t+1];t+=2;var n=ll[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};ul.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(dd(t))return!0;var n=_d;return r&&r.strict===!1&&(n=gd),n(t)}});var hl=_((Wm,cl)=>{"use strict";var yd=fl(),md=L("path").posix.dirname,bd=L("os").platform()==="win32",hi="/",vd=/\\/g,xd=/[\{\[].*[\}\]]$/,Sd=/(^|[^\\])([\{\[]|\([^\)]+$)/,Ed=/\\([\!\*\?\|\[\]\(\)\{\}])/g;cl.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&bd&&t.indexOf(hi)<0&&(t=t.replace(vd,hi)),xd.test(t)&&(t+=hi),t+="a";do t=md(t);while(yd(t)||Sd.test(t));return t.replace(Ed,"$1")}});var Fr=_(de=>{"use strict";de.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;de.find=(e,t)=>e.nodes.find(r=>r.type===t);de.exceedsLimit=(e,t,r=1,n)=>n===!1||!de.isInteger(e)||!de.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;de.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];!n||(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};de.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;de.isInvalidBrace=e=>e.type!=="brace"?!1:e.invalid===!0||e.dollar?!0:e.commas>>0+e.ranges>>0===0||e.open!==!0||e.close!==!0?(e.invalid=!0,!0):!1;de.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;de.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);de.flatten=(...e)=>{let t=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];Array.isArray(s)?r(s,t):s!==void 0&&t.push(s)}return t};return r(e),t}});var qr=_((Ym,dl)=>{"use strict";var pl=Fr();dl.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&pl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&pl.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let l of n.nodes)a+=r(l);return a};return r(e)}});var gl=_((Km,_l)=>{"use strict";_l.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var wl=_((Qm,Rl)=>{"use strict";var yl=gl(),tt=(e,t,r)=>{if(yl(e)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||e===t)return String(e);if(yl(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),l=e+":"+t+"="+i+s+o+a;if(tt.cache.hasOwnProperty(l))return tt.cache[l].result;let c=Math.min(e,t),u=Math.max(e,t);if(Math.abs(c-u)===1){let y=e+"|"+t;return n.capture?`(${y})`:n.wrap===!1?y:`(?:${y})`}let d=El(e)||El(t),f={min:e,max:t,a:c,b:u},S=[],m=[];if(d&&(f.isPadded=d,f.maxLen=String(f.max).length),c<0){let y=u<0?Math.abs(u):1;m=ml(y,Math.abs(c),f,n),c=f.a=0}return u>=0&&(S=ml(c,u,f,n)),f.negatives=m,f.positives=S,f.result=Rd(m,S,n),n.capture===!0?f.result=`(${f.result})`:n.wrap!==!1&&S.length+m.length>1&&(f.result=`(?:${f.result})`),tt.cache[l]=f,f.result};function Rd(e,t,r){let n=pi(e,t,"-",!1,r)||[],i=pi(t,e,"",!1,r)||[],s=pi(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function wd(e,t){let r=1,n=1,i=vl(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=vl(e,r);for(i=xl(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=xl(t+1,n)-1;return s=[...s],s.sort(Cd),s}function Ad(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=Td(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[l,c]=n[a];l===c?s+=l:l!=="0"||c!=="9"?s+=Od(l,c,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function ml(e,t,r,n){let i=wd(e,t),s=[],o=e,a;for(let l=0;l<i.length;l++){let c=i[l],u=Ad(String(o),String(c),n),d="";if(!r.isPadded&&a&&a.pattern===u.pattern){a.count.length>1&&a.count.pop(),a.count.push(u.count[0]),a.string=a.pattern+Sl(a.count),o=c+1;continue}r.isPadded&&(d=Pd(c,r,n)),u.string=d+u.pattern+Sl(u.count),s.push(u),o=c+1,a=u}return s}function pi(e,t,r,n,i){let s=[];for(let o of e){let{string:a}=o;!n&&!bl(t,"string",a)&&s.push(r+a),n&&bl(t,"string",a)&&s.push(r+a)}return s}function Td(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function Cd(e,t){return e>t?1:t>e?-1:0}function bl(e,t,r){return e.some(n=>n[t]===r)}function vl(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function xl(e,t){return e-e%Math.pow(10,t)}function Sl(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function Od(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function El(e){return/^-?(0+)\d/.test(e)}function Pd(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}tt.cache={};tt.clearCache=()=>tt.cache={};Rl.exports=tt});var gi=_((Xm,Dl)=>{"use strict";var Ld=L("util"),Cl=wl(),Al=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),Md=e=>t=>e===!0?Number(t):String(t),di=e=>typeof e=="number"||typeof e=="string"&&e!=="",Xt=e=>Number.isInteger(+e),_i=e=>{let t=`${e}`,r=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++r]==="0";);return r>0},Dd=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,Bd=(e,t,r)=>{if(t>0){let n=e[0]==="-"?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return r===!1?String(e):e},Tl=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},Id=(e,t)=>{e.negatives.sort((o,a)=>o<a?-1:o>a?1:0),e.positives.sort((o,a)=>o<a?-1:o>a?1:0);let r=t.capture?"":"?:",n="",i="",s;return e.positives.length&&(n=e.positives.join("|")),e.negatives.length&&(i=`-(${r}${e.negatives.join("|")})`),n&&i?s=`${n}|${i}`:s=n||i,t.wrap?`(${r}${s})`:s},Ol=(e,t,r,n)=>{if(r)return Cl(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},Pl=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Cl(e,t,r)},Ll=(...e)=>new RangeError("Invalid range arguments: "+Ld.inspect(...e)),Ml=(e,t,r)=>{if(r.strictRanges===!0)throw Ll([e,t]);return[]},Nd=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},kd=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Ll([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),l=String(t),c=String(r);r=Math.max(Math.abs(r),1);let u=_i(a)||_i(l)||_i(c),d=u?Math.max(a.length,l.length,c.length):0,f=u===!1&&Dd(e,t,n)===!1,S=n.transform||Md(f);if(n.toRegex&&r===1)return Ol(Tl(e,d),Tl(t,d),!0,n);let m={negatives:[],positives:[]},y=B=>m[B<0?"negatives":"positives"].push(Math.abs(B)),E=[],x=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?y(i):E.push(Bd(S(i,x),d,f)),i=o?i-r:i+r,x++;return n.toRegex===!0?r>1?Id(m,n):Pl(E,null,{wrap:!1,...n}):E},Fd=(e,t,r=1,n={})=>{if(!Xt(e)&&e.length>1||!Xt(t)&&t.length>1)return Ml(e,t,n);let i=n.transform||(f=>String.fromCharCode(f)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,l=Math.min(s,o),c=Math.max(s,o);if(n.toRegex&&r===1)return Ol(l,c,!1,n);let u=[],d=0;for(;a?s>=o:s<=o;)u.push(i(s,d)),s=a?s-r:s+r,d++;return n.toRegex===!0?Pl(u,null,{wrap:!1,options:n}):u},jr=(e,t,r,n={})=>{if(t==null&&di(e))return[e];if(!di(e)||!di(t))return Ml(e,t,n);if(typeof r=="function")return jr(e,t,1,{transform:r});if(Al(r))return jr(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,Xt(r)?Xt(e)&&Xt(t)?kd(e,t,r,i):Fd(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Al(r)?Nd(r,i):jr(e,t,1,r)};Dl.exports=jr});var Nl=_((Jm,Il)=>{"use strict";var qd=gi(),Bl=Fr(),jd=(e,t={})=>{let r=(n,i={})=>{let s=Bl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,l=t.escapeInvalid===!0?"\\":"",c="";if(n.isOpen===!0||n.isClose===!0)return l+n.value;if(n.type==="open")return a?l+n.value:"(";if(n.type==="close")return a?l+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let u=Bl.reduce(n.nodes),d=qd(...u,{...t,wrap:!1,toRegex:!0});if(d.length!==0)return u.length>1&&d.length>1?`(${d})`:d}if(n.nodes)for(let u of n.nodes)c+=r(u,n);return c};return r(e)};Il.exports=jd});var ql=_((Zm,Fl)=>{"use strict";var Hd=gi(),kl=qr(),vt=Fr(),rt=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?vt.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(rt(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?rt(i,s,r):i+s);return vt.flatten(n)},$d=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(rt(a.pop(),kl(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(rt(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let d=vt.reduce(i.nodes);if(vt.exceedsLimit(...d,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=Hd(...d,t);f.length===0&&(f=kl(i,t)),a.push(rt(a.pop(),f)),i.nodes=[];return}let l=vt.encloseBrace(i),c=i.queue,u=i;for(;u.type!=="brace"&&u.type!=="root"&&u.parent;)u=u.parent,c=u.queue;for(let d=0;d<i.nodes.length;d++){let f=i.nodes[d];if(f.type==="comma"&&i.type==="brace"){d===1&&c.push(""),c.push("");continue}if(f.type==="close"){a.push(rt(a.pop(),c,l));continue}if(f.value&&f.type!=="open"){c.push(rt(c.pop(),f.value));continue}f.nodes&&n(f,i)}return c};return vt.flatten(n(e))};Fl.exports=$d});var Hl=_((zm,jl)=>{"use strict";jl.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 Vl=_((eb,Wl)=>{"use strict";var Gd=qr(),{MAX_LENGTH:$l,CHAR_BACKSLASH:yi,CHAR_BACKTICK:Ud,CHAR_COMMA:Wd,CHAR_DOT:Vd,CHAR_LEFT_PARENTHESES:Yd,CHAR_RIGHT_PARENTHESES:Kd,CHAR_LEFT_CURLY_BRACE:Qd,CHAR_RIGHT_CURLY_BRACE:Xd,CHAR_LEFT_SQUARE_BRACKET:Gl,CHAR_RIGHT_SQUARE_BRACKET:Ul,CHAR_DOUBLE_QUOTE:Jd,CHAR_SINGLE_QUOTE:Zd,CHAR_NO_BREAK_SPACE:zd,CHAR_ZERO_WIDTH_NOBREAK_SPACE:e_}=Hl(),t_=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min($l,r.maxLength):$l;if(e.length>n)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`);let i={type:"root",input:e,nodes:[]},s=[i],o=i,a=i,l=0,c=e.length,u=0,d=0,f,S={},m=()=>e[u++],y=E=>{if(E.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&E.type==="text"){a.value+=E.value;return}return o.nodes.push(E),E.parent=o,E.prev=a,a=E,E};for(y({type:"bos"});u<c;)if(o=s[s.length-1],f=m(),!(f===e_||f===zd)){if(f===yi){y({type:"text",value:(t.keepEscaping?f:"")+m()});continue}if(f===Ul){y({type:"text",value:"\\"+f});continue}if(f===Gl){l++;let E=!0,x;for(;u<c&&(x=m());){if(f+=x,x===Gl){l++;continue}if(x===yi){f+=m();continue}if(x===Ul&&(l--,l===0))break}y({type:"text",value:f});continue}if(f===Yd){o=y({type:"paren",nodes:[]}),s.push(o),y({type:"text",value:f});continue}if(f===Kd){if(o.type!=="paren"){y({type:"text",value:f});continue}o=s.pop(),y({type:"text",value:f}),o=s[s.length-1];continue}if(f===Jd||f===Zd||f===Ud){let E=f,x;for(t.keepQuotes!==!0&&(f="");u<c&&(x=m());){if(x===yi){f+=x+m();continue}if(x===E){t.keepQuotes===!0&&(f+=x);break}f+=x}y({type:"text",value:f});continue}if(f===Qd){d++;let x={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:d,commas:0,ranges:0,nodes:[]};o=y(x),s.push(o),y({type:"open",value:f});continue}if(f===Xd){if(o.type!=="brace"){y({type:"text",value:f});continue}let E="close";o=s.pop(),o.close=!0,y({type:E,value:f}),d--,o=s[s.length-1];continue}if(f===Wd&&d>0){if(o.ranges>0){o.ranges=0;let E=o.nodes.shift();o.nodes=[E,{type:"text",value:Gd(o)}]}y({type:"comma",value:f}),o.commas++;continue}if(f===Vd&&d>0&&o.commas===0){let E=o.nodes;if(d===0||E.length===0){y({type:"text",value:f});continue}if(a.type==="dot"){if(o.range=[],a.value+=f,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){E.pop();let x=E[E.length-1];x.value+=a.value+f,a=x,o.ranges--;continue}y({type:"dot",value:f});continue}y({type:"text",value:f})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(B=>{B.nodes||(B.type==="open"&&(B.isOpen=!0),B.type==="close"&&(B.isClose=!0),B.nodes||(B.type="text"),B.invalid=!0)});let E=s[s.length-1],x=E.nodes.indexOf(o);E.nodes.splice(x,1,...o.nodes)}while(s.length>0);return y({type:"eos"}),i};Wl.exports=t_});var Ql=_((tb,Kl)=>{"use strict";var Yl=qr(),r_=Nl(),n_=ql(),i_=Vl(),le=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=le.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(le.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};le.parse=(e,t={})=>i_(e,t);le.stringify=(e,t={})=>Yl(typeof e=="string"?le.parse(e,t):e,t);le.compile=(e,t={})=>(typeof e=="string"&&(e=le.parse(e,t)),r_(e,t));le.expand=(e,t={})=>{typeof e=="string"&&(e=le.parse(e,t));let r=n_(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};le.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?le.compile(e,t):le.expand(e,t);Kl.exports=le});var Jt=_((rb,eu)=>{"use strict";var s_=L("path"),Ae="\\\\/",Xl=`[^${Ae}]`,Le="\\.",o_="\\+",a_="\\?",Hr="\\/",l_="(?=.)",Jl="[^/]",mi=`(?:${Hr}|$)`,Zl=`(?:^|${Hr})`,bi=`${Le}{1,2}${mi}`,u_=`(?!${Le})`,f_=`(?!${Zl}${bi})`,c_=`(?!${Le}{0,1}${mi})`,h_=`(?!${bi})`,p_=`[^.${Hr}]`,d_=`${Jl}*?`,zl={DOT_LITERAL:Le,PLUS_LITERAL:o_,QMARK_LITERAL:a_,SLASH_LITERAL:Hr,ONE_CHAR:l_,QMARK:Jl,END_ANCHOR:mi,DOTS_SLASH:bi,NO_DOT:u_,NO_DOTS:f_,NO_DOT_SLASH:c_,NO_DOTS_SLASH:h_,QMARK_NO_DOT:p_,STAR:d_,START_ANCHOR:Zl},__={...zl,SLASH_LITERAL:`[${Ae}]`,QMARK:Xl,STAR:`${Xl}*?`,DOTS_SLASH:`${Le}{1,2}(?:[${Ae}]|$)`,NO_DOT:`(?!${Le})`,NO_DOTS:`(?!(?:^|[${Ae}])${Le}{1,2}(?:[${Ae}]|$))`,NO_DOT_SLASH:`(?!${Le}{0,1}(?:[${Ae}]|$))`,NO_DOTS_SLASH:`(?!${Le}{1,2}(?:[${Ae}]|$))`,QMARK_NO_DOT:`[^.${Ae}]`,START_ANCHOR:`(?:^|[${Ae}])`,END_ANCHOR:`(?:[${Ae}]|$)`},g_={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"};eu.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:g_,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:s_.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?__:zl}}});var Zt=_(oe=>{"use strict";var y_=L("path"),m_=process.platform==="win32",{REGEX_BACKSLASH:b_,REGEX_REMOVE_BACKSLASH:v_,REGEX_SPECIAL_CHARS:x_,REGEX_SPECIAL_CHARS_GLOBAL:S_}=Jt();oe.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);oe.hasRegexChars=e=>x_.test(e);oe.isRegexChar=e=>e.length===1&&oe.hasRegexChars(e);oe.escapeRegex=e=>e.replace(S_,"\\$1");oe.toPosixSlashes=e=>e.replace(b_,"/");oe.removeBackslashes=e=>e.replace(v_,t=>t==="\\"?"":t);oe.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};oe.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:m_===!0||y_.sep==="\\";oe.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?oe.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};oe.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};oe.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var lu=_((ib,au)=>{"use strict";var tu=Zt(),{CHAR_ASTERISK:vi,CHAR_AT:E_,CHAR_BACKWARD_SLASH:zt,CHAR_COMMA:R_,CHAR_DOT:xi,CHAR_EXCLAMATION_MARK:Si,CHAR_FORWARD_SLASH:ou,CHAR_LEFT_CURLY_BRACE:Ei,CHAR_LEFT_PARENTHESES:Ri,CHAR_LEFT_SQUARE_BRACKET:w_,CHAR_PLUS:A_,CHAR_QUESTION_MARK:ru,CHAR_RIGHT_CURLY_BRACE:T_,CHAR_RIGHT_PARENTHESES:nu,CHAR_RIGHT_SQUARE_BRACKET:C_}=Jt(),iu=e=>e===ou||e===zt,su=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},O_=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],l=e,c=-1,u=0,d=0,f=!1,S=!1,m=!1,y=!1,E=!1,x=!1,B=!1,N=!1,z=!1,A=!1,j=0,T,R,I={value:"",depth:0,isGlob:!1},Z=()=>c>=n,g=()=>l.charCodeAt(c+1),H=()=>(T=R,l.charCodeAt(++c));for(;c<n;){R=H();let ne;if(R===zt){B=I.backslashes=!0,R=H(),R===Ei&&(x=!0);continue}if(x===!0||R===Ei){for(j++;Z()!==!0&&(R=H());){if(R===zt){B=I.backslashes=!0,H();continue}if(R===Ei){j++;continue}if(x!==!0&&R===xi&&(R=H())===xi){if(f=I.isBrace=!0,m=I.isGlob=!0,A=!0,i===!0)continue;break}if(x!==!0&&R===R_){if(f=I.isBrace=!0,m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===T_&&(j--,j===0)){x=!1,f=I.isBrace=!0,A=!0;break}}if(i===!0)continue;break}if(R===ou){if(s.push(c),o.push(I),I={value:"",depth:0,isGlob:!1},A===!0)continue;if(T===xi&&c===u+1){u+=2;continue}d=c+1;continue}if(r.noext!==!0&&(R===A_||R===E_||R===vi||R===ru||R===Si)===!0&&g()===Ri){if(m=I.isGlob=!0,y=I.isExtglob=!0,A=!0,R===Si&&c===u&&(z=!0),i===!0){for(;Z()!==!0&&(R=H());){if(R===zt){B=I.backslashes=!0,R=H();continue}if(R===nu){m=I.isGlob=!0,A=!0;break}}continue}break}if(R===vi){if(T===vi&&(E=I.isGlobstar=!0),m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===ru){if(m=I.isGlob=!0,A=!0,i===!0)continue;break}if(R===w_){for(;Z()!==!0&&(ne=H());){if(ne===zt){B=I.backslashes=!0,H();continue}if(ne===C_){S=I.isBracket=!0,m=I.isGlob=!0,A=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&R===Si&&c===u){N=I.negated=!0,u++;continue}if(r.noparen!==!0&&R===Ri){if(m=I.isGlob=!0,i===!0){for(;Z()!==!0&&(R=H());){if(R===Ri){B=I.backslashes=!0,R=H();continue}if(R===nu){A=!0;break}}continue}break}if(m===!0){if(A=!0,i===!0)continue;break}}r.noext===!0&&(y=!1,m=!1);let F=l,Be="",h="";u>0&&(Be=l.slice(0,u),l=l.slice(u),d-=u),F&&m===!0&&d>0?(F=l.slice(0,d),h=l.slice(d)):m===!0?(F="",h=l):F=l,F&&F!==""&&F!=="/"&&F!==l&&iu(F.charCodeAt(F.length-1))&&(F=F.slice(0,-1)),r.unescape===!0&&(h&&(h=tu.removeBackslashes(h)),F&&B===!0&&(F=tu.removeBackslashes(F)));let p={prefix:Be,input:e,start:u,base:F,glob:h,isBrace:f,isBracket:S,isGlob:m,isExtglob:y,isGlobstar:E,negated:N,negatedExtglob:z};if(r.tokens===!0&&(p.maxDepth=0,iu(R)||o.push(I),p.tokens=o),r.parts===!0||r.tokens===!0){let ne;for(let D=0;D<s.length;D++){let ve=ne?ne+1:u,xe=s[D],ae=e.slice(ve,xe);r.tokens&&(D===0&&u!==0?(o[D].isPrefix=!0,o[D].value=Be):o[D].value=ae,su(o[D]),p.maxDepth+=o[D].depth),(D!==0||ae!=="")&&a.push(ae),ne=xe}if(ne&&ne+1<e.length){let D=e.slice(ne+1);a.push(D),r.tokens&&(o[o.length-1].value=D,su(o[o.length-1]),p.maxDepth+=o[o.length-1].depth)}p.slashes=s,p.parts=a}return p};au.exports=O_});var cu=_((sb,fu)=>{"use strict";var $r=Jt(),ue=Zt(),{MAX_LENGTH:Gr,POSIX_REGEX_SOURCE:P_,REGEX_NON_SPECIAL_CHARS:L_,REGEX_SPECIAL_CHARS_BACKREF:M_,REPLACEMENTS:uu}=$r,D_=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>ue.escapeRegex(i)).join("..")}return r},xt=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,wi=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=uu[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(Gr,r.maxLength):Gr,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",l=ue.isWindows(t),c=$r.globChars(l),u=$r.extglobChars(c),{DOT_LITERAL:d,PLUS_LITERAL:f,SLASH_LITERAL:S,ONE_CHAR:m,DOTS_SLASH:y,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:B,QMARK:N,QMARK_NO_DOT:z,STAR:A,START_ANCHOR:j}=c,T=v=>`(${a}(?:(?!${j}${v.dot?y:d}).)*?)`,R=r.dot?"":E,I=r.dot?N:z,Z=r.bash===!0?T(r):A;r.capture&&(Z=`(${Z})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let g={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};e=ue.removePrefix(e,g),i=e.length;let H=[],F=[],Be=[],h=s,p,ne=()=>g.index===i-1,D=g.peek=(v=1)=>e[g.index+v],ve=g.advance=()=>e[++g.index]||"",xe=()=>e.slice(g.index+1),ae=(v="",q=0)=>{g.consumed+=v,g.index+=q},er=v=>{g.output+=v.output!=null?v.output:v.value,ae(v.value)},Xf=()=>{let v=1;for(;D()==="!"&&(D(2)!=="("||D(3)==="?");)ve(),g.start++,v++;return v%2===0?!1:(g.negated=!0,g.start++,!0)},tr=v=>{g[v]++,Be.push(v)},Ve=v=>{g[v]--,Be.pop()},P=v=>{if(h.type==="globstar"){let q=g.braces>0&&(v.type==="comma"||v.type==="brace"),b=v.extglob===!0||H.length&&(v.type==="pipe"||v.type==="paren");v.type!=="slash"&&v.type!=="paren"&&!q&&!b&&(g.output=g.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=Z,g.output+=h.output)}if(H.length&&v.type!=="paren"&&(H[H.length-1].inner+=v.value),(v.value||v.output)&&er(v),h&&h.type==="text"&&v.type==="text"){h.value+=v.value,h.output=(h.output||"")+v.value;return}v.prev=h,o.push(v),h=v},rr=(v,q)=>{let b={...u[q],conditions:1,inner:""};b.prev=h,b.parens=g.parens,b.output=g.output;let C=(r.capture?"(":"")+b.open;tr("parens"),P({type:v,value:q,output:g.output?"":m}),P({type:"paren",extglob:!0,value:ve(),output:C}),H.push(b)},Jf=v=>{let q=v.close+(r.capture?")":""),b;if(v.type==="negate"){let C=Z;if(v.inner&&v.inner.length>1&&v.inner.includes("/")&&(C=T(r)),(C!==Z||ne()||/^\)+$/.test(xe()))&&(q=v.close=`)$))${C}`),v.inner.includes("*")&&(b=xe())&&/^\.[^\\/.]+$/.test(b)){let W=wi(b,{...t,fastpaths:!1}).output;q=v.close=`)${W})${C})`}v.prev.type==="bos"&&(g.negatedExtglob=!0)}P({type:"paren",extglob:!0,value:p,output:q}),Ve("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let v=!1,q=e.replace(M_,(b,C,W,ie,X,hn)=>ie==="\\"?(v=!0,b):ie==="?"?C?C+ie+(X?N.repeat(X.length):""):hn===0?I+(X?N.repeat(X.length):""):N.repeat(W.length):ie==="."?d.repeat(W.length):ie==="*"?C?C+ie+(X?Z:""):Z:C?b:`\\${b}`);return v===!0&&(r.unescape===!0?q=q.replace(/\\/g,""):q=q.replace(/\\+/g,b=>b.length%2===0?"\\\\":b?"\\":"")),q===e&&r.contains===!0?(g.output=e,g):(g.output=ue.wrapOutput(q,g,t),g)}for(;!ne();){if(p=ve(),p==="\0")continue;if(p==="\\"){let b=D();if(b==="/"&&r.bash!==!0||b==="."||b===";")continue;if(!b){p+="\\",P({type:"text",value:p});continue}let C=/^\\+/.exec(xe()),W=0;if(C&&C[0].length>2&&(W=C[0].length,g.index+=W,W%2!==0&&(p+="\\")),r.unescape===!0?p=ve():p+=ve(),g.brackets===0){P({type:"text",value:p});continue}}if(g.brackets>0&&(p!=="]"||h.value==="["||h.value==="[^")){if(r.posix!==!1&&p===":"){let b=h.value.slice(1);if(b.includes("[")&&(h.posix=!0,b.includes(":"))){let C=h.value.lastIndexOf("["),W=h.value.slice(0,C),ie=h.value.slice(C+2),X=P_[ie];if(X){h.value=W+X,g.backtrack=!0,ve(),!s.output&&o.indexOf(h)===1&&(s.output=m);continue}}}(p==="["&&D()!==":"||p==="-"&&D()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,er({value:p});continue}if(g.quotes===1&&p!=='"'){p=ue.escapeRegex(p),h.value+=p,er({value:p});continue}if(p==='"'){g.quotes=g.quotes===1?0:1,r.keepQuotes===!0&&P({type:"text",value:p});continue}if(p==="("){tr("parens"),P({type:"paren",value:p});continue}if(p===")"){if(g.parens===0&&r.strictBrackets===!0)throw new SyntaxError(xt("opening","("));let b=H[H.length-1];if(b&&g.parens===b.parens+1){Jf(H.pop());continue}P({type:"paren",value:p,output:g.parens?")":"\\)"}),Ve("parens");continue}if(p==="["){if(r.nobracket===!0||!xe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(xt("closing","]"));p=`\\${p}`}else tr("brackets");P({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){P({type:"text",value:p,output:`\\${p}`});continue}if(g.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(xt("opening","["));P({type:"text",value:p,output:`\\${p}`});continue}Ve("brackets");let b=h.value.slice(1);if(h.posix!==!0&&b[0]==="^"&&!b.includes("/")&&(p=`/${p}`),h.value+=p,er({value:p}),r.literalBrackets===!1||ue.hasRegexChars(b))continue;let C=ue.escapeRegex(h.value);if(g.output=g.output.slice(0,-h.value.length),r.literalBrackets===!0){g.output+=C,h.value=C;continue}h.value=`(${a}${C}|${h.value})`,g.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){tr("braces");let b={type:"brace",value:p,output:"(",outputIndex:g.output.length,tokensIndex:g.tokens.length};F.push(b),P(b);continue}if(p==="}"){let b=F[F.length-1];if(r.nobrace===!0||!b){P({type:"text",value:p,output:p});continue}let C=")";if(b.dots===!0){let W=o.slice(),ie=[];for(let X=W.length-1;X>=0&&(o.pop(),W[X].type!=="brace");X--)W[X].type!=="dots"&&ie.unshift(W[X].value);C=D_(ie,r),g.backtrack=!0}if(b.comma!==!0&&b.dots!==!0){let W=g.output.slice(0,b.outputIndex),ie=g.tokens.slice(b.tokensIndex);b.value=b.output="\\{",p=C="\\}",g.output=W;for(let X of ie)g.output+=X.output||X.value}P({type:"brace",value:p,output:C}),Ve("braces"),F.pop();continue}if(p==="|"){H.length>0&&H[H.length-1].conditions++,P({type:"text",value:p});continue}if(p===","){let b=p,C=F[F.length-1];C&&Be[Be.length-1]==="braces"&&(C.comma=!0,b="|"),P({type:"comma",value:p,output:b});continue}if(p==="/"){if(h.type==="dot"&&g.index===g.start+1){g.start=g.index+1,g.consumed="",g.output="",o.pop(),h=s;continue}P({type:"slash",value:p,output:S});continue}if(p==="."){if(g.braces>0&&h.type==="dot"){h.value==="."&&(h.output=d);let b=F[F.length-1];h.type="dots",h.output+=p,h.value+=p,b.dots=!0;continue}if(g.braces+g.parens===0&&h.type!=="bos"&&h.type!=="slash"){P({type:"text",value:p,output:d});continue}P({type:"dot",value:p,output:d});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&D()==="("&&D(2)!=="?"){rr("qmark",p);continue}if(h&&h.type==="paren"){let C=D(),W=p;if(C==="<"&&!ue.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(C)||C==="<"&&!/<([!=]|\w+>)/.test(xe()))&&(W=`\\${p}`),P({type:"text",value:p,output:W});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){P({type:"qmark",value:p,output:z});continue}P({type:"qmark",value:p,output:N});continue}if(p==="!"){if(r.noextglob!==!0&&D()==="("&&(D(2)!=="?"||!/[!=<:]/.test(D(3)))){rr("negate",p);continue}if(r.nonegate!==!0&&g.index===0){Xf();continue}}if(p==="+"){if(r.noextglob!==!0&&D()==="("&&D(2)!=="?"){rr("plus",p);continue}if(h&&h.value==="("||r.regex===!1){P({type:"plus",value:p,output:f});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||g.parens>0){P({type:"plus",value:p});continue}P({type:"plus",value:f});continue}if(p==="@"){if(r.noextglob!==!0&&D()==="("&&D(2)!=="?"){P({type:"at",extglob:!0,value:p,output:""});continue}P({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let b=L_.exec(xe());b&&(p+=b[0],g.index+=b[0].length),P({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=Z,g.backtrack=!0,g.globstar=!0,ae(p);continue}let v=xe();if(r.noextglob!==!0&&/^\([^?]/.test(v)){rr("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){ae(p);continue}let b=h.prev,C=b.prev,W=b.type==="slash"||b.type==="bos",ie=C&&(C.type==="star"||C.type==="globstar");if(r.bash===!0&&(!W||v[0]&&v[0]!=="/")){P({type:"star",value:p,output:""});continue}let X=g.braces>0&&(b.type==="comma"||b.type==="brace"),hn=H.length&&(b.type==="pipe"||b.type==="paren");if(!W&&b.type!=="paren"&&!X&&!hn){P({type:"star",value:p,output:""});continue}for(;v.slice(0,3)==="/**";){let nr=e[g.index+4];if(nr&&nr!=="/")break;v=v.slice(3),ae("/**",3)}if(b.type==="bos"&&ne()){h.type="globstar",h.value+=p,h.output=T(r),g.output=h.output,g.globstar=!0,ae(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&!ie&&ne()){g.output=g.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=T(r)+(r.strictSlashes?")":"|$)"),h.value+=p,g.globstar=!0,g.output+=b.output+h.output,ae(p);continue}if(b.type==="slash"&&b.prev.type!=="bos"&&v[0]==="/"){let nr=v[1]!==void 0?"|$":"";g.output=g.output.slice(0,-(b.output+h.output).length),b.output=`(?:${b.output}`,h.type="globstar",h.output=`${T(r)}${S}|${S}${nr})`,h.value+=p,g.output+=b.output+h.output,g.globstar=!0,ae(p+ve()),P({type:"slash",value:"/",output:""});continue}if(b.type==="bos"&&v[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${S}|${T(r)}${S})`,g.output=h.output,g.globstar=!0,ae(p+ve()),P({type:"slash",value:"/",output:""});continue}g.output=g.output.slice(0,-h.output.length),h.type="globstar",h.output=T(r),h.value+=p,g.output+=h.output,g.globstar=!0,ae(p);continue}let q={type:"star",value:p,output:Z};if(r.bash===!0){q.output=".*?",(h.type==="bos"||h.type==="slash")&&(q.output=R+q.output),P(q);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){q.output=p,P(q);continue}(g.index===g.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(g.output+=x,h.output+=x):r.dot===!0?(g.output+=B,h.output+=B):(g.output+=R,h.output+=R),D()!=="*"&&(g.output+=m,h.output+=m)),P(q)}for(;g.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing","]"));g.output=ue.escapeLast(g.output,"["),Ve("brackets")}for(;g.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing",")"));g.output=ue.escapeLast(g.output,"("),Ve("parens")}for(;g.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(xt("closing","}"));g.output=ue.escapeLast(g.output,"{"),Ve("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&P({type:"maybe_slash",value:"",output:`${S}?`}),g.backtrack===!0){g.output="";for(let v of g.tokens)g.output+=v.output!=null?v.output:v.value,v.suffix&&(g.output+=v.suffix)}return g};wi.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(Gr,r.maxLength):Gr,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=uu[e]||e;let s=ue.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:l,DOTS_SLASH:c,NO_DOT:u,NO_DOTS:d,NO_DOTS_SLASH:f,STAR:S,START_ANCHOR:m}=$r.globChars(s),y=r.dot?d:u,E=r.dot?f:u,x=r.capture?"":"?:",B={negated:!1,prefix:""},N=r.bash===!0?".*?":S;r.capture&&(N=`(${N})`);let z=R=>R.noglobstar===!0?N:`(${x}(?:(?!${m}${R.dot?c:o}).)*?)`,A=R=>{switch(R){case"*":return`${y}${l}${N}`;case".*":return`${o}${l}${N}`;case"*.*":return`${y}${N}${o}${l}${N}`;case"*/*":return`${y}${N}${a}${l}${E}${N}`;case"**":return y+z(r);case"**/*":return`(?:${y}${z(r)}${a})?${E}${l}${N}`;case"**/*.*":return`(?:${y}${z(r)}${a})?${E}${N}${o}${l}${N}`;case"**/.*":return`(?:${y}${z(r)}${a})?${o}${l}${N}`;default:{let I=/^(.*?)\.(\w+)$/.exec(R);if(!I)return;let Z=A(I[1]);return Z?Z+o+I[2]:void 0}}},j=ue.removePrefix(e,B),T=A(j);return T&&r.strictSlashes!==!0&&(T+=`${a}?`),T};fu.exports=wi});var pu=_((ob,hu)=>{"use strict";var B_=L("path"),I_=lu(),Ai=cu(),Ti=Zt(),N_=Jt(),k_=e=>e&&typeof e=="object"&&!Array.isArray(e),Y=(e,t,r=!1)=>{if(Array.isArray(e)){let u=e.map(f=>Y(f,t,r));return f=>{for(let S of u){let m=S(f);if(m)return m}return!1}}let n=k_(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=Ti.isWindows(t),o=n?Y.compileRe(e,t):Y.makeRe(e,t,!1,!0),a=o.state;delete o.state;let l=()=>!1;if(i.ignore){let u={...t,ignore:null,onMatch:null,onResult:null};l=Y(i.ignore,u,r)}let c=(u,d=!1)=>{let{isMatch:f,match:S,output:m}=Y.test(u,o,t,{glob:e,posix:s}),y={glob:e,state:a,regex:o,posix:s,input:u,output:m,match:S,isMatch:f};return typeof i.onResult=="function"&&i.onResult(y),f===!1?(y.isMatch=!1,d?y:!1):l(u)?(typeof i.onIgnore=="function"&&i.onIgnore(y),y.isMatch=!1,d?y:!1):(typeof i.onMatch=="function"&&i.onMatch(y),d?y:!0)};return r&&(c.state=a),c};Y.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?Ti.toPosixSlashes:null),a=e===n,l=a&&o?o(e):e;return a===!1&&(l=o?o(e):e,a=l===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Y.matchBase(e,t,r,i):a=t.exec(l)),{isMatch:Boolean(a),match:a,output:l}};Y.matchBase=(e,t,r,n=Ti.isWindows(r))=>(t instanceof RegExp?t:Y.makeRe(t,r)).test(B_.basename(e));Y.isMatch=(e,t,r)=>Y(t,r)(e);Y.parse=(e,t)=>Array.isArray(e)?e.map(r=>Y.parse(r,t)):Ai(e,{...t,fastpaths:!1});Y.scan=(e,t)=>I_(e,t);Y.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let l=Y.toRegex(a,t);return n===!0&&(l.state=e),l};Y.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=Ai.fastpaths(e,t)),i.output||(i=Ai(e,t)),Y.compileRe(i,t,r,n)};Y.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};Y.constants=N_;hu.exports=Y});var _u=_((ab,du)=>{"use strict";du.exports=pu()});var vu=_((lb,bu)=>{"use strict";var yu=L("util"),mu=Ql(),Te=_u(),Ci=Zt(),gu=e=>e===""||e==="./",U=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=u=>{s.add(u.output),r&&r.onResult&&r.onResult(u)};for(let u=0;u<t.length;u++){let d=Te(String(t[u]),{...r,onResult:a},!0),f=d.state.negated||d.state.negatedExtglob;f&&o++;for(let S of e){let m=d(S,!0);!(f?!m.isMatch:m.isMatch)||(f?n.add(m.output):(n.delete(m.output),i.add(m.output)))}}let c=(o===t.length?[...s]:[...i]).filter(u=>!n.has(u));if(r&&c.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?t.map(u=>u.replace(/\\/g,"")):t}return c};U.match=U;U.matcher=(e,t)=>Te(e,t);U.isMatch=(e,t,r)=>Te(t,r)(e);U.any=U.isMatch;U.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(U(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};U.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${yu.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>U.contains(e,n,r));if(typeof t=="string"){if(gu(e)||gu(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return U.isMatch(e,t,{...r,contains:!0})};U.matchKeys=(e,t,r)=>{if(!Ci.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=U(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};U.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Te(String(i),r);if(n.some(o=>s(o)))return!0}return!1};U.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=Te(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};U.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${yu.inspect(e)}"`);return[].concat(t).every(n=>Te(n,r)(e))};U.capture=(e,t,r)=>{let n=Ci.isWindows(r),s=Te.makeRe(String(e),{...r,capture:!0}).exec(n?Ci.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};U.makeRe=(...e)=>Te.makeRe(...e);U.scan=(...e)=>Te.scan(...e);U.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of mu(String(n),t))r.push(Te.parse(i,t));return r};U.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:mu(e,t)};U.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return U.braces(e,{...t,expand:!0})};bu.exports=U});var Cu=_(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});w.matchAny=w.convertPatternsToRe=w.makeRe=w.getPatternParts=w.expandBraceExpansion=w.expandPatternsWithBraceExpansion=w.isAffectDepthOfReadingPattern=w.endsWithSlashGlobStar=w.hasGlobStar=w.getBaseDirectory=w.isPatternRelatedToParentDirectory=w.getPatternsOutsideCurrentDirectory=w.getPatternsInsideCurrentDirectory=w.getPositivePatterns=w.getNegativePatterns=w.isPositivePattern=w.isNegativePattern=w.convertToNegativePattern=w.convertToPositivePattern=w.isDynamicPattern=w.isStaticPattern=void 0;var F_=L("path"),q_=hl(),Oi=vu(),xu="**",j_="\\",H_=/[*?]|^!/,$_=/\[[^[]*]/,G_=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,U_=/[!*+?@]\([^(]*\)/,W_=/,|\.\./;function Su(e,t={}){return!Eu(e,t)}w.isStaticPattern=Su;function Eu(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(j_)||H_.test(e)||$_.test(e)||G_.test(e)||t.extglob!==!1&&U_.test(e)||t.braceExpansion!==!1&&V_(e))}w.isDynamicPattern=Eu;function V_(e){let t=e.indexOf("{");if(t===-1)return!1;let r=e.indexOf("}",t+1);if(r===-1)return!1;let n=e.slice(t,r);return W_.test(n)}function Y_(e){return Ur(e)?e.slice(1):e}w.convertToPositivePattern=Y_;function K_(e){return"!"+e}w.convertToNegativePattern=K_;function Ur(e){return e.startsWith("!")&&e[1]!=="("}w.isNegativePattern=Ur;function Ru(e){return!Ur(e)}w.isPositivePattern=Ru;function Q_(e){return e.filter(Ur)}w.getNegativePatterns=Q_;function X_(e){return e.filter(Ru)}w.getPositivePatterns=X_;function J_(e){return e.filter(t=>!Pi(t))}w.getPatternsInsideCurrentDirectory=J_;function Z_(e){return e.filter(Pi)}w.getPatternsOutsideCurrentDirectory=Z_;function Pi(e){return e.startsWith("..")||e.startsWith("./..")}w.isPatternRelatedToParentDirectory=Pi;function z_(e){return q_(e,{flipBackslashes:!1})}w.getBaseDirectory=z_;function eg(e){return e.includes(xu)}w.hasGlobStar=eg;function wu(e){return e.endsWith("/"+xu)}w.endsWithSlashGlobStar=wu;function tg(e){let t=F_.basename(e);return wu(e)||Su(t)}w.isAffectDepthOfReadingPattern=tg;function rg(e){return e.reduce((t,r)=>t.concat(Au(r)),[])}w.expandPatternsWithBraceExpansion=rg;function Au(e){return Oi.braces(e,{expand:!0,nodupes:!0})}w.expandBraceExpansion=Au;function ng(e,t){let{parts:r}=Oi.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return r.length===0&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}w.getPatternParts=ng;function Tu(e,t){return Oi.makeRe(e,t)}w.makeRe=Tu;function ig(e,t){return e.map(r=>Tu(r,t))}w.convertPatternsToRe=ig;function sg(e,t){return t.some(r=>r.test(e))}w.matchAny=sg});var Mu=_((fb,Lu)=>{"use strict";var og=L("stream"),Ou=og.PassThrough,ag=Array.prototype.slice;Lu.exports=lg;function lg(){let e=[],t=ag.call(arguments),r=!1,n=t[t.length-1];n&&!Array.isArray(n)&&n.pipe==null?t.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=Ou(n);function a(){for(let u=0,d=arguments.length;u<d;u++)e.push(Pu(arguments[u],n));return l(),this}function l(){if(r)return;r=!0;let u=e.shift();if(!u){process.nextTick(c);return}Array.isArray(u)||(u=[u]);let d=u.length+1;function f(){--d>0||(r=!1,l())}function S(m){function y(){m.removeListener("merge2UnpipeEnd",y),m.removeListener("end",y),s&&m.removeListener("error",E),f()}function E(x){o.emit("error",x)}if(m._readableState.endEmitted)return f();m.on("merge2UnpipeEnd",y),m.on("end",y),s&&m.on("error",E),m.pipe(o,{end:!1}),m.resume()}for(let m=0;m<u.length;m++)S(u[m]);f()}function c(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(u){u.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Pu(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Pu(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(Ou(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var Bu=_(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.merge=void 0;var ug=Mu();function fg(e){let t=ug(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Du(e)),t.once("end",()=>Du(e)),t}Wr.merge=fg;function Du(e){e.forEach(t=>t.emit("close"))}});var Iu=_(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.isEmpty=St.isString=void 0;function cg(e){return typeof e=="string"}St.isString=cg;function hg(e){return e===""}St.isEmpty=hg});var Me=_(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.string=te.stream=te.pattern=te.path=te.fs=te.errno=te.array=void 0;var pg=rl();te.array=pg;var dg=nl();te.errno=dg;var _g=il();te.fs=_g;var gg=sl();te.path=gg;var yg=Cu();te.pattern=yg;var mg=Bu();te.stream=mg;var bg=Iu();te.string=bg});var Fu=_(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.convertPatternGroupToTask=re.convertPatternGroupsToTasks=re.groupPatternsByBaseDirectory=re.getNegativePatternsAsPositive=re.getPositivePatterns=re.convertPatternsToTasks=re.generate=void 0;var De=Me();function vg(e,t){let r=Nu(e),n=ku(e,t.ignore),i=r.filter(l=>De.pattern.isStaticPattern(l,t)),s=r.filter(l=>De.pattern.isDynamicPattern(l,t)),o=Li(i,n,!1),a=Li(s,n,!0);return o.concat(a)}re.generate=vg;function Li(e,t,r){let n=[],i=De.pattern.getPatternsOutsideCurrentDirectory(e),s=De.pattern.getPatternsInsideCurrentDirectory(e),o=Mi(i),a=Mi(s);return n.push(...Di(o,t,r)),"."in a?n.push(Bi(".",s,t,r)):n.push(...Di(a,t,r)),n}re.convertPatternsToTasks=Li;function Nu(e){return De.pattern.getPositivePatterns(e)}re.getPositivePatterns=Nu;function ku(e,t){return De.pattern.getNegativePatterns(e).concat(t).map(De.pattern.convertToPositivePattern)}re.getNegativePatternsAsPositive=ku;function Mi(e){let t={};return e.reduce((r,n)=>{let i=De.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}re.groupPatternsByBaseDirectory=Mi;function Di(e,t,r){return Object.keys(e).map(n=>Bi(n,e[n],t,r))}re.convertPatternGroupsToTasks=Di;function Bi(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(De.pattern.convertToNegativePattern))}}re.convertPatternGroupToTask=Bi});var ju=_(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.removeDuplicateSlashes=Et.transform=void 0;var xg=/(?!^)\/{2,}/g;function Sg(e){return e.map(t=>qu(t))}Et.transform=Sg;function qu(e){return e.replace(xg,"/")}Et.removeDuplicateSlashes=qu});var $u=_(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.read=void 0;function Eg(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){Hu(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){Ii(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){Hu(r,s);return}Ii(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),Ii(r,o)})})}Vr.read=Eg;function Hu(e,t){e(t)}function Ii(e,t){e(null,t)}});var Gu=_(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.read=void 0;function Rg(e,t){let r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw n}}Yr.read=Rg});var Uu=_(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.createFileSystemAdapter=je.FILE_SYSTEM_ADAPTER=void 0;var Kr=L("fs");je.FILE_SYSTEM_ADAPTER={lstat:Kr.lstat,stat:Kr.stat,lstatSync:Kr.lstatSync,statSync:Kr.statSync};function wg(e){return e===void 0?je.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},je.FILE_SYSTEM_ADAPTER),e)}je.createFileSystemAdapter=wg});var Wu=_(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});var Ag=Uu(),Ni=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Ag.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,r){return t??r}};ki.default=Ni});var nt=_(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.statSync=He.stat=He.Settings=void 0;var Vu=$u(),Tg=Gu(),Fi=Wu();He.Settings=Fi.default;function Cg(e,t,r){if(typeof t=="function"){Vu.read(e,qi(),t);return}Vu.read(e,qi(t),r)}He.stat=Cg;function Og(e,t){let r=qi(t);return Tg.read(e,r)}He.statSync=Og;function qi(e={}){return e instanceof Fi.default?e:new Fi.default(e)}});var Qu=_((xb,Ku)=>{var Yu;Ku.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(Yu||(Yu=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var Ju=_((Sb,Xu)=>{Xu.exports=Lg;var Pg=Qu();function Lg(e,t){let r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(l){function c(){t&&t(l,r),t=null}s?Pg(c):c()}function a(l,c,u){r[l]=u,(--n===0||c)&&o(c)}n?i?i.forEach(function(l){e[l](function(c,u){a(l,c,u)})}):e.forEach(function(l,c){l(function(u,d){a(c,u,d)})}):o(null),s=!1}});var ji=_(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Qr=process.versions.node.split(".");if(Qr[0]===void 0||Qr[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Zu=Number.parseInt(Qr[0],10),Mg=Number.parseInt(Qr[1],10),zu=10,Dg=10,Bg=Zu>zu,Ig=Zu===zu&&Mg>=Dg;Xr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Bg||Ig});var ef=_(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.createDirentFromStats=void 0;var Hi=class{constructor(t,r){this.name=t,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Ng(e,t){return new Hi(e,t)}Jr.createDirentFromStats=Ng});var $i=_(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.fs=void 0;var kg=ef();Zr.fs=kg});var Gi=_(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.joinPathSegments=void 0;function Fg(e,t,r){return e.endsWith(r)?e+t:e+r+t}zr.joinPathSegments=Fg});var af=_($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.readdir=$e.readdirWithFileTypes=$e.read=void 0;var qg=nt(),tf=Ju(),jg=ji(),rf=$i(),nf=Gi();function Hg(e,t,r){if(!t.stats&&jg.IS_SUPPORT_READDIR_WITH_FILE_TYPES){sf(e,t,r);return}of(e,t,r)}$e.read=Hg;function sf(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){en(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:nf.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){Ui(r,s);return}let o=s.map(a=>$g(a,t));tf(o,(a,l)=>{if(a!==null){en(r,a);return}Ui(r,l)})})}$e.readdirWithFileTypes=sf;function $g(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,(n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=rf.fs.createDirentFromStats(e.name,i),r(null,e)})}}function of(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){en(r,n);return}let s=i.map(o=>{let a=nf.joinPathSegments(e,o,t.pathSegmentSeparator);return l=>{qg.stat(a,t.fsStatSettings,(c,u)=>{if(c!==null){l(c);return}let d={name:o,path:a,dirent:rf.fs.createDirentFromStats(o,u)};t.stats&&(d.stats=u),l(null,d)})}});tf(s,(o,a)=>{if(o!==null){en(r,o);return}Ui(r,a)})})}$e.readdir=of;function en(e,t){e(t)}function Ui(e,t){e(null,t)}});var hf=_(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.readdir=Ge.readdirWithFileTypes=Ge.read=void 0;var Gg=nt(),Ug=ji(),lf=$i(),uf=Gi();function Wg(e,t){return!t.stats&&Ug.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ff(e,t):cf(e,t)}Ge.read=Wg;function ff(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:uf.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=lf.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}Ge.readdirWithFileTypes=ff;function cf(e,t){return t.fs.readdirSync(e).map(n=>{let i=uf.joinPathSegments(e,n,t.pathSegmentSeparator),s=Gg.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:lf.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}Ge.readdir=cf});var pf=_(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.createFileSystemAdapter=Ue.FILE_SYSTEM_ADAPTER=void 0;var Rt=L("fs");Ue.FILE_SYSTEM_ADAPTER={lstat:Rt.lstat,stat:Rt.stat,lstatSync:Rt.lstatSync,statSync:Rt.statSync,readdir:Rt.readdir,readdirSync:Rt.readdirSync};function Vg(e){return e===void 0?Ue.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ue.FILE_SYSTEM_ADAPTER),e)}Ue.createFileSystemAdapter=Vg});var df=_(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});var Yg=L("path"),Kg=nt(),Qg=pf(),Wi=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Qg.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Yg.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new Kg.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};Vi.default=Wi});var tn=_(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.Settings=We.scandirSync=We.scandir=void 0;var _f=af(),Xg=hf(),Yi=df();We.Settings=Yi.default;function Jg(e,t,r){if(typeof t=="function"){_f.read(e,Ki(),t);return}_f.read(e,Ki(t),r)}We.scandir=Jg;function Zg(e,t){let r=Ki(t);return Xg.read(e,r)}We.scandirSync=Zg;function Ki(e={}){return e instanceof Yi.default?e:new Yi.default(e)}});var yf=_((Mb,gf)=>{"use strict";function zg(e){var t=new e,r=t;function n(){var s=t;return s.next?t=s.next:(t=new e,r=t),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}gf.exports=zg});var bf=_((Db,Qi)=>{"use strict";var e0=yf();function mf(e,t,r){if(typeof e=="function"&&(r=t,t=e,e=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var n=e0(t0),i=null,s=null,o=0,a=null,l={push:y,drain:_e,saturated:_e,pause:u,paused:!1,concurrency:r,running:c,resume:S,idle:m,length:d,getQueue:f,unshift:E,empty:_e,kill:B,killAndDrain:N,error:z};return l;function c(){return o}function u(){l.paused=!0}function d(){for(var A=i,j=0;A;)A=A.next,j++;return j}function f(){for(var A=i,j=[];A;)j.push(A.value),A=A.next;return j}function S(){if(!!l.paused){l.paused=!1;for(var A=0;A<l.concurrency;A++)o++,x()}}function m(){return o===0&&l.length()===0}function y(A,j){var T=n.get();T.context=e,T.release=x,T.value=A,T.callback=j||_e,T.errorHandler=a,o===l.concurrency||l.paused?s?(s.next=T,s=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function E(A,j){var T=n.get();T.context=e,T.release=x,T.value=A,T.callback=j||_e,o===l.concurrency||l.paused?i?(T.next=i,i=T):(i=T,s=T,l.saturated()):(o++,t.call(e,T.value,T.worked))}function x(A){A&&n.release(A);var j=i;j?l.paused?o--:(s===i&&(s=null),i=j.next,j.next=null,t.call(e,j.value,j.worked),s===null&&l.empty()):--o===0&&l.drain()}function B(){i=null,s=null,l.drain=_e}function N(){i=null,s=null,l.drain(),l.drain=_e}function z(A){a=A}}function _e(){}function t0(){this.value=null,this.callback=_e,this.next=null,this.release=_e,this.context=null,this.errorHandler=null;var e=this;this.worked=function(r,n){var i=e.callback,s=e.errorHandler,o=e.value;e.value=null,e.callback=_e,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function r0(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(u,d){t.call(this,u).then(function(f){d(null,f)},d)}var i=mf(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=l,i.drained=c,i;function a(u){var d=new Promise(function(f,S){s(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(_e),d}function l(u){var d=new Promise(function(f,S){o(u,function(m,y){if(m){S(m);return}f(y)})});return d.catch(_e),d}function c(){var u=i.drain,d=new Promise(function(f){i.drain=function(){u(),f()}});return d}}Qi.exports=mf;Qi.exports.promise=r0});var rn=_(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.joinPathSegments=Ce.replacePathSegmentSeparator=Ce.isAppliedFilter=Ce.isFatalError=void 0;function n0(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Ce.isFatalError=n0;function i0(e,t){return e===null||e(t)}Ce.isAppliedFilter=i0;function s0(e,t){return e.split(/[/\\]/).join(t)}Ce.replacePathSegmentSeparator=s0;function o0(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Ce.joinPathSegments=o0});var Zi=_(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});var a0=rn(),Xi=class{constructor(t,r){this._root=t,this._settings=r,this._root=a0.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};Ji.default=Xi});var ts=_(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var l0=L("events"),u0=tn(),f0=bf(),nn=rn(),c0=Zi(),zi=class extends c0.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=u0.scandir,this._emitter=new l0.EventEmitter,this._queue=f0(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,r){let n={directory:t,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(t,r){this._scandir(t.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,t.base);r(null,void 0)})}_handleError(t){this._isDestroyed||!nn.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,r){if(this._isDestroyed||this._isFatalError)return;let n=t.path;r!==void 0&&(t.path=nn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),nn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&nn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};es.default=zi});var vf=_(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});var h0=ts(),rs=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new h0.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{p0(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{d0(t,this._storage)}),this._reader.read()}};ns.default=rs;function p0(e,t){e(t)}function d0(e,t){e(null,t)}});var xf=_(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});var _0=L("stream"),g0=ts(),is=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new g0.default(this._root,this._settings),this._stream=new _0.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};ss.default=is});var Sf=_(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});var y0=tn(),sn=rn(),m0=Zi(),os=class extends m0.default{constructor(){super(...arguments),this._scandir=y0.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,r){this._queue.add({directory:t,base:r})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,r){try{let n=this._scandir(t,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(t){if(!!sn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=sn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),sn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&sn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};as.default=os});var Ef=_(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});var b0=Sf(),ls=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new b0.default(this._root,this._settings)}read(){return this._reader.read()}};us.default=ls});var Rf=_(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var v0=L("path"),x0=tn(),fs=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,v0.sep),this.fsScandirSettings=new x0.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};cs.default=fs});var an=_(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.Settings=Oe.walkStream=Oe.walkSync=Oe.walk=void 0;var wf=vf(),S0=xf(),E0=Ef(),hs=Rf();Oe.Settings=hs.default;function R0(e,t,r){if(typeof t=="function"){new wf.default(e,on()).read(t);return}new wf.default(e,on(t)).read(r)}Oe.walk=R0;function w0(e,t){let r=on(t);return new E0.default(e,r).read()}Oe.walkSync=w0;function A0(e,t){let r=on(t);return new S0.default(e,r).read()}Oe.walkStream=A0;function on(e={}){return e instanceof hs.default?e:new hs.default(e)}});var ln=_(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});var T0=L("path"),C0=nt(),Af=Me(),ps=class{constructor(t){this._settings=t,this._fsStatSettings=new C0.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return T0.resolve(this._settings.cwd,t)}_makeEntry(t,r){let n={name:r,path:r,dirent:Af.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!Af.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};ds.default=ps});var ys=_(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var O0=L("stream"),P0=nt(),L0=an(),M0=ln(),_s=class extends M0.default{constructor(){super(...arguments),this._walkStream=L0.walkStream,this._stat=P0.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new O0.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(l=>{l!==null&&r.entryFilter(l)&&i.push(l),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(t,r,n){return this._getStat(t).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(t){return new Promise((r,n)=>{this._stat(t,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};gs.default=_s});var Tf=_(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var D0=an(),B0=ln(),I0=ys(),ms=class extends B0.default{constructor(){super(...arguments),this._walkAsync=D0.walk,this._readerStream=new I0.default(this._settings)}dynamic(t,r){return new Promise((n,i)=>{this._walkAsync(t,r,(s,o)=>{s===null?n(o):i(s)})})}async static(t,r){let n=[],i=this._readerStream.static(t,r);return new Promise((s,o)=>{i.once("error",o),i.on("data",a=>n.push(a)),i.once("end",()=>s(n))})}};bs.default=ms});var Cf=_(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});var wt=Me(),vs=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=wt.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of t){let n=this._getPatternSegments(r),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:r,segments:n,sections:i})}}_getPatternSegments(t){return wt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>wt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:wt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return wt.array.splitWhen(t,r=>r.dynamic&&wt.pattern.hasGlobStar(r.pattern))}};xs.default=vs});var Of=_(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});var N0=Cf(),Ss=class extends N0.default{match(t){let r=t.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((l,c)=>{let u=s.segments[c];return!!(u.dynamic&&u.patternRe.test(l)||!u.dynamic&&u.pattern===l)}))return!0}return!1}};Es.default=Ss});var Pf=_(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});var un=Me(),k0=Of(),Rs=class{constructor(t,r){this._settings=t,this._micromatchOptions=r}getFilter(t,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(t,o,i,s)}_getMatcher(t){return new k0.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(un.pattern.isAffectDepthOfReadingPattern);return un.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=un.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(t,r){return this._settings.deep===1/0?!1:this._getEntryLevel(t,r)>=this._settings.deep}_getEntryLevel(t,r){let n=r.split("/").length;if(t==="")return n;let i=t.split("/").length;return n-i}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,r){return!this._settings.baseNameMatch&&!r.match(t)}_isSkippedByNegativePatterns(t,r){return!un.pattern.matchAny(t,r)}};ws.default=Rs});var Lf=_(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var it=Me(),As=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=it.pattern.convertPatternsToRe(t,this._micromatchOptions),i=it.pattern.convertPatternsToRe(r,this._micromatchOptions);return s=>this._filter(s,n,i)}_filter(t,r,n){if(this._settings.unique&&this._isDuplicateEntry(t)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(t.path,n))return!1;let i=this._settings.baseNameMatch?t.name:t.path,s=t.dirent.isDirectory(),o=this._isMatchToPatterns(i,r,s)&&!this._isMatchToPatterns(t.path,n,s);return this._settings.unique&&o&&this._createIndexRecord(t),o}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,r){if(!this._settings.absolute)return!1;let n=it.path.makeAbsolute(this._settings.cwd,t);return it.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let i=it.path.removeLeadingDotSegment(t),s=it.pattern.matchAny(i,r);return!s&&n?it.pattern.matchAny(i+"/",r):s}};Ts.default=As});var Mf=_(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var F0=Me(),Cs=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return F0.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Os.default=Cs});var Bf=_(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});var Df=Me(),Ps=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=Df.path.makeAbsolute(this._settings.cwd,r),r=Df.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};Ls.default=Ps});var fn=_(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});var q0=L("path"),j0=Pf(),H0=Lf(),$0=Mf(),G0=Bf(),Ms=class{constructor(t){this._settings=t,this.errorFilter=new $0.default(this._settings),this.entryFilter=new H0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new j0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new G0.default(this._settings)}_getRootDirectory(t){return q0.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let r=t.base==="."?"":t.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};Ds.default=Ms});var If=_(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});var U0=Tf(),W0=fn(),Bs=class extends W0.default{constructor(){super(...arguments),this._reader=new U0.default(this._settings)}async read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return(await this.api(r,t,n)).map(s=>n.transform(s))}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Is.default=Bs});var Nf=_(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});var V0=L("stream"),Y0=ys(),K0=fn(),Ns=class extends K0.default{constructor(){super(...arguments),this._reader=new Y0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new V0.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};ks.default=Ns});var kf=_(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});var Q0=nt(),X0=an(),J0=ln(),Fs=class extends J0.default{constructor(){super(...arguments),this._walkSync=X0.walkSync,this._statSync=Q0.statSync}dynamic(t,r){return this._walkSync(t,r)}static(t,r){let n=[];for(let i of t){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(t,r,n){try{let i=this._getStat(t);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};qs.default=Fs});var Ff=_(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});var Z0=kf(),z0=fn(),js=class extends z0.default{constructor(){super(...arguments),this._reader=new Z0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(r,t,n).map(n.transform)}api(t,r,n){return r.dynamic?this._reader.dynamic(t,n):this._reader.static(r.patterns,n)}};Hs.default=js});var qf=_(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var At=L("fs"),ey=L("os"),ty=Math.max(ey.cpus().length,1);Tt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:At.lstat,lstatSync:At.lstatSync,stat:At.stat,statSync:At.statSync,readdir:At.readdir,readdirSync:At.readdirSync};var $s=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,ty),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(t,r){return t===void 0?r:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},Tt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Tt.default=$s});var Gf=_((iv,$f)=>{"use strict";var jf=Fu(),Hf=ju(),ry=If(),ny=Nf(),iy=Ff(),Gs=qf(),st=Me();async function Us(e,t){Ct(e);let r=Ws(e,ry.default,t),n=await Promise.all(r);return st.array.flatten(n)}(function(e){function t(o,a){Ct(o);let l=Ws(o,iy.default,a);return st.array.flatten(l)}e.sync=t;function r(o,a){Ct(o);let l=Ws(o,ny.default,a);return st.stream.merge(l)}e.stream=r;function n(o,a){Ct(o);let l=Hf.transform([].concat(o)),c=new Gs.default(a);return jf.generate(l,c)}e.generateTasks=n;function i(o,a){Ct(o);let l=new Gs.default(a);return st.pattern.isDynamicPattern(o,l)}e.isDynamicPattern=i;function s(o){return Ct(o),st.path.escape(o)}e.escapePath=s})(Us||(Us={}));function Ws(e,t,r){let n=Hf.transform([].concat(e)),i=new Gs.default(r),s=jf.generate(n,i),o=new t(i);return s.map(o.read,o)}function Ct(e){if(![].concat(e).every(n=>st.string.isString(n)&&!st.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}$f.exports=Us});var Zs=(e=0)=>t=>`\x1B[${t+e}m`,zs=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,eo=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,$={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]}},to=Object.keys($.modifier),pn=Object.keys($.color),dn=Object.keys($.bgColor),ro=[...pn,...dn];function ic(){let e=new Map;for(let[t,r]of Object.entries($)){for(let[n,i]of Object.entries(r))$[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=$[n],e.set(i[0],i[1]);Object.defineProperty($,t,{value:r,enumerable:!1})}return Object.defineProperty($,"codes",{value:e,enumerable:!1}),$.color.close="\x1B[39m",$.bgColor.close="\x1B[49m",$.color.ansi=Zs(),$.color.ansi256=zs(),$.color.ansi16m=eo(),$.bgColor.ansi=Zs(10),$.bgColor.ansi256=zs(10),$.bgColor.ansi16m=eo(10),Object.defineProperties($,{rgbToAnsi256:{value(t,r,n){return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>$.rgbToAnsi256(...$.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,n,i;if(t>=232)r=((t-232)*10+8)/255,n=r,i=r;else{t-=16;let a=t%36;r=Math.floor(t/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(t,r,n)=>$.ansi256ToAnsi($.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>$.ansi256ToAnsi($.hexToAnsi256(t)),enumerable:!1}}),$}var sc=ic(),ge=sc;import _n from"node:process";import oc from"node:os";import no from"node:tty";function fe(e,t=_n.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:K}=_n,ir;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?ir=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(ir=1);function ac(){if("FORCE_COLOR"in K)return K.FORCE_COLOR==="true"?1:K.FORCE_COLOR==="false"?0:K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}function lc(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function uc(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ac();n!==void 0&&(ir=n);let i=r?ir:n;if(i===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(K.TERM==="dumb")return s;if(_n.platform==="win32"){let o=oc.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in K)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in K)||K.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(K.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in K){let o=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(K.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM)||"COLORTERM"in K?1:s}function io(e,t={}){let r=uc(e,{streamIsTTY:e&&e.isTTY,...t});return lc(r)}var fc={stdout:io({isTTY:no.isatty(1)}),stderr:io({isTTY:no.isatty(2)})},so=fc;function oo(e,t,r){let n=e.indexOf(t);if(n===-1)return e;let i=t.length,s=0,o="";do o+=e.slice(s,n)+t+r,s=n+i,n=e.indexOf(t,s);while(n!==-1);return o+=e.slice(s),o}function ao(e,t,r,n){let i=0,s="";do{let o=e[n-1]==="\r";s+=e.slice(i,o?n-1:n)+t+(o?`\r
@@ -15,7 +15,7 @@ var Zf=Object.create;var Js=Object.defineProperty;var zf=Object.getOwnPropertyDe
15
15
  `,i)}while(n!==-1);return s+=e.slice(i),s}var{stdout:za,stderr:el}=Hp,oi=Symbol("GENERATOR"),yt=Symbol("STYLER"),Yt=Symbol("IS_EMPTY"),tl=["ansi","ansi","ansi256","ansi16m"],mt=Object.create(null),Up=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=za?za.level:0;e.level=t.level===void 0?r:t.level},Wp=e=>{let t=(...r)=>r.join(" ");return Up(t,e),Object.setPrototypeOf(t,Kt.prototype),t};function Kt(e){return Wp(e)}Object.setPrototypeOf(Kt.prototype,Function.prototype);for(let[e,t]of Object.entries(Re))mt[e]={get(){let r=Ir(this,li(t.open,t.close,this[yt]),this[Yt]);return Object.defineProperty(this,e,{value:r}),r}};mt.visible={get(){let e=Ir(this,this[yt],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var ai=(e,t,r,...n)=>e==="rgb"?t==="ansi16m"?Re[r].ansi16m(...n):t==="ansi256"?Re[r].ansi256(Re.rgbToAnsi256(...n)):Re[r].ansi(Re.rgbToAnsi(...n)):e==="hex"?ai("rgb",t,r,...Re.hexToRgb(...n)):Re[r][e](...n),Vp=["rgb","hex","ansi256"];for(let e of Vp){mt[e]={get(){let{level:r}=this;return function(...n){let i=li(ai(e,tl[r],"color",...n),Re.color.close,this[yt]);return Ir(this,i,this[Yt])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);mt[t]={get(){let{level:r}=this;return function(...n){let i=li(ai(e,tl[r],"bgColor",...n),Re.bgColor.close,this[yt]);return Ir(this,i,this[Yt])}}}}var Yp=Object.defineProperties(()=>{},{...mt,level:{enumerable:!0,get(){return this[oi].level},set(e){this[oi].level=e}}}),li=(e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},Ir=(e,t,r)=>{let n=(...i)=>Kp(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Yp),n[oi]=e,n[yt]=t,n[Yt]=r,n},Kp=(e,t)=>{if(e.level<=0||!t)return e[Yt]?"":t;let r=e[yt];if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=$p(t,r.close,r.open),r=r.parent;let s=t.indexOf(`
16
16
  `);return s!==-1&&(t=Gp(t,i,n,s)),n+t+i};Object.defineProperties(Kt.prototype,mt);var Qp=Kt(),km=Kt({level:el?el.level:0}),Xp=Qp,Jp={win32:e=>({cmd:"cmd.exe",args:["/d","/s","/c",e]})},Zp={"cp -rf":{win32:e=>{let t="xcopy /E /S /G /Q /Y",r=e.map(n=>n.endsWith("\\")?n:`${n}\\`).map(n=>n.replace(/\*\\$/,""));return`${t} ${r.join(" ")}`}},ln:{win32:e=>`mklink /D ${e.join(" ")}`},pkill:{win32:e=>`taskkill /T /F /pid ${e.join(" ")}`}},zp=(e,t,r)=>{let n={...Jp,...t},i={...Zp,...r},s=a=>{let l=process.platform,c=n[l];if(c)return c(a);let[u,...d]=a.split(" ");return{cmd:u,args:d}},o=(a=>{let l=Object.entries(i);for(let[c,u]of l)if(a.startsWith(c)){let d=process.platform,f=u[d];if(!f)break;let S=a.slice(c.length).trim().split(" ");return f(S)}return a})(e);return s(o)},ed=process.platform==="linux"||process.platform==="darwin",ui=process.platform==="win32",td={stdio:"pipe",shell:!0,detached:!ui,env:process.env},rd={log:!0,commandTranslations:{},shellTranslations:{},...td},Qt=({log:e=!0,commandTranslations:t={},shellTranslations:r={},...n}=rd)=>{let i=null;return{childProcess:i,async run(s){if(i)throw new Error("Only one command per shell.");if(typeof s=="object"){let l=process.platform;s.posix&&ed&&(l="posix");let c=s[l];if(!c)throw new Error("No command found for platform: "+JSON.stringify({platform:process.platform,command:s}));s=c}let{cmd:o,args:a}=zp(s,r,t);return e&&console.log(Xp.dim(`
17
17
  $ ${o} ${a.join(" ")}
18
- `)),await new Promise((l,c)=>{i=Mp(o,a,n);let u="",d="";if(!i)throw new Error("Child process was not set.");let f=S=>{i=null;let m={code:S,stdout:u,stderr:d};S===0||S===1&&!ui?l(m):c(m)};i.stdout?.on("data",S=>{u+=S.toString()}),i.stderr?.on("data",S=>{d+=S.toString()}),i.on("close",f),i.on("exit",f),i.on("error",f),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(ui)Dp(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};import{resolve as Qf}from"path";var dy=ot(Gf(),1);import{copyFile as Ov,mkdir as _y}from"fs/promises";import{dirname as Lv,resolve as Ys}from"path";var Uf={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(Uf.NODE_ENV=e.NODE_ENV)}catch{}var Vs=typeof window>"u"&&Uf.NODE_ENV==="development";import{Console as sy}from"console";var uv=new sy({stdout:process.stdout,stderr:process.stderr,groupIndentation:4});var Vf={"./package.json":"./package.json",".":"./dist/index.js","./*":"./dist/*/index.js"},Wf={packageJson:{type:"module",platform:"node",types:"dist/index.d.ts",files:["dist"],exports:Vf,scripts:{dev:"tsmodule dev",build:"tsmodule build",test:"ava",pretest:"tsmodule build",prepublishOnly:"yarn test",lint:"eslint src --fix"}},files:["tsconfig.json",".eslintrc",".gitignore","tsconfig.export.json","LICENSE","ava.config.mjs"],dependencies:[],devDependencies:["@types/node","@tsmodule/tsmodule","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","ava","eslint","typescript"]},Ot={default:Wf,react:{packageJson:{platform:"browser",style:"dist/bundle.css",exports:{...Vf,"./*":"./dist/components/*/index.js","./styles":"./dist/bundle.css","./styles/*":"./dist/components/*/index.css"},scripts:{export:"tsmodule build",dev:"next dev",build:"next build",start:"next start",lint:"next lint --fix",pretest:"tsmodule build --runtime-only",test:"ava",prepublishOnly:"yarn export && yarn test"}},files:["next-env.d.ts","next.config.js","postcss.config.js","tailwind.config.js"],dependencies:["react@^18.2.0","react-dom@^18.2.0"],devDependencies:[...Wf.devDependencies,"@types/react@^18.0.23","@types/react-dom@^18.0.7","eslint-config-next","@tsmodule/react","next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]}};import{dirname as ay,resolve as ly}from"path";import{fileURLToPath as uy}from"url";var Yf=ly(ay(uy(import.meta.url)),"..");import{readFile as fy,writeFile as cy}from"fs/promises";import{resolve as Kf}from"path";var hy=async(e=process.cwd())=>{let t=Kf(e,"package.json");return await fy(t,"utf-8")},py=async(e=process.cwd())=>{let t=await hy(e);return JSON.parse(t)},cn=async(e=process.cwd(),t)=>{let r=Kf(e,"package.json"),n=await py(e);return Object.assign(n,t),await cy(r,JSON.stringify(n,null,2),"utf-8"),n};var gy=e=>Ys(Yf,`./templates/${e}`),Ks=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt(),n=gy(e),i=Ys(t);await _y(i,{recursive:!0}),await r.run({posix:`cp -rf ${n}/. ${i}`,win32:`xcopy /E /I /Q /Y ${n}\\ ${i}\\`})};var Qs=async({template:e,targetDir:t=process.cwd()})=>{let r=Ys(t),n=Ot[e].packageJson;return await cn(r,n)},Xs=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt({cwd:t}),n=[...Ot.default.dependencies],i=[...Ot.default.devDependencies];switch(e){case"react":n.push(...Ot.react.dependencies),i.push(...Ot.react.devDependencies);break}n.length&&await r.run(`yarn add ${n.join(" ")}`),i.length&&await r.run(`yarn add -D ${i.join(" ")}`)};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var Vv=async(e,{react:t=!1})=>{let r=si(`Creating new module ${se.blueBright(e)}.`).start(),n={template:"default",targetDir:e};if(await Ks(n),await Qs(n),t){let s={template:"react",targetDir:e};await Ks(s),await Qs(s)}await cn(Qf(process.cwd(),e),{name:e}),r.succeed("Project created."),await Xs({template:"default",targetDir:e}),t&&await Xs({template:"react",targetDir:e}),r.succeed("Dependencies installed."),await Qt({cwd:Qf(e)}).run("git init"),r.succeed("Set up as Git repository.")};export{Vv as create};
18
+ `)),await new Promise((l,c)=>{i=Mp(o,a,n);let u="",d="";if(!i)throw new Error("Child process was not set.");let f=S=>{i=null;let m={code:S,stdout:u,stderr:d};S===0||S===1&&!ui?l(m):c(m)};i.stdout?.on("data",S=>{u+=S.toString()}),i.stderr?.on("data",S=>{d+=S.toString()}),i.on("close",f),i.on("exit",f),i.on("error",f),i.stdout?.pipe(process.stdout),i.stderr?.pipe(process.stderr)})},kill(s="SIGKILL"){if(i?.pid)if(ui)Dp(`taskkill /t /f /pid ${i.pid}`);else return process.kill(-i.pid,s);return!0}}};import{resolve as Qf}from"path";var dy=ot(Gf(),1);import{copyFile as Ov,mkdir as _y}from"fs/promises";import{dirname as Lv,resolve as Ys}from"path";var Uf={NODE_ENV:"production"};try{let{env:e}=await import("process");e.NODE_ENV&&(Uf.NODE_ENV=e.NODE_ENV)}catch{}var Vs=typeof window>"u"&&Uf.NODE_ENV==="development";import{Console as sy}from"console";var uv=new sy({stdout:process.stdout,stderr:process.stderr,groupIndentation:4});var Vf={"./package.json":"./package.json",".":"./dist/index.js","./*":"./dist/*/index.js"},Wf={packageJson:{type:"module",platform:"node",engines:{node:">=14"},types:"dist/index.d.ts",files:["dist"],exports:Vf,scripts:{dev:"tsmodule dev",build:"tsmodule build",test:"ava",pretest:"tsmodule build",prepublishOnly:"yarn test",lint:"eslint src --fix"}},files:["tsconfig.json",".eslintrc",".gitignore","tsconfig.export.json","LICENSE","ava.config.mjs"],dependencies:[],devDependencies:["@types/node","@tsmodule/tsmodule","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","ava","eslint","typescript"]},Ot={default:Wf,react:{packageJson:{platform:"browser",style:"dist/bundle.css",exports:{...Vf,"./*":"./dist/components/*/index.js","./styles":"./dist/bundle.css","./styles/*":"./dist/components/*/index.css"},scripts:{export:"tsmodule build",dev:"next dev",build:"next build",start:"next start",lint:"next lint --fix",pretest:"tsmodule build --runtime-only",test:"ava",prepublishOnly:"yarn export && yarn test"}},files:["next-env.d.ts","next.config.js","postcss.config.js","tailwind.config.js"],dependencies:["react@^18.2.0","react-dom@^18.2.0"],devDependencies:[...Wf.devDependencies,"@types/react@^18.0.23","@types/react-dom@^18.0.7","eslint-config-next","@tsmodule/react","next","tailwindcss","autoprefixer","cssnano","postcss","postcss-import"]}};import{dirname as ay,resolve as ly}from"path";import{fileURLToPath as uy}from"url";var Yf=ly(ay(uy(import.meta.url)),"..");import{readFile as fy,writeFile as cy}from"fs/promises";import{resolve as Kf}from"path";var hy=async(e=process.cwd())=>{let t=Kf(e,"package.json");return await fy(t,"utf-8")},py=async(e=process.cwd())=>{let t=await hy(e);return JSON.parse(t)},cn=async(e=process.cwd(),t)=>{let r=Kf(e,"package.json"),n=await py(e);return Object.assign(n,t),await cy(r,JSON.stringify(n,null,2),"utf-8"),n};var gy=e=>Ys(Yf,`./templates/${e}`),Ks=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt(),n=gy(e),i=Ys(t);await _y(i,{recursive:!0}),await r.run({posix:`cp -rf ${n}/. ${i}`,win32:`xcopy /E /I /Q /Y ${n}\\ ${i}\\`})};var Qs=async({template:e,targetDir:t=process.cwd()})=>{let r=Ys(t),n=Ot[e].packageJson;return await cn(r,n)},Xs=async({template:e,targetDir:t=process.cwd()})=>{let r=Qt({cwd:t}),n=[...Ot.default.dependencies],i=[...Ot.default.devDependencies];switch(e){case"react":n.push(...Ot.react.dependencies),i.push(...Ot.react.devDependencies);break}n.length&&await r.run(`yarn add ${n.join(" ")}`),i.length&&await r.run(`yarn add -D ${i.join(" ")}`)};globalThis.SHELL_OPTIONS={stdio:["ignore","ignore","inherit"]};var Vv=async(e,{react:t=!1})=>{let r=si(`Creating new module ${se.blueBright(e)}.`).start(),n={template:"default",targetDir:e};if(await Ks(n),await Qs(n),t){let s={template:"react",targetDir:e};await Ks(s),await Qs(s)}await cn(Qf(process.cwd(),e),{name:e}),r.succeed("Project created."),await Xs({template:"default",targetDir:e}),t&&await Xs({template:"react",targetDir:e}),r.succeed("Dependencies installed."),await Qt({cwd:Qf(e)}).run("git init"),r.succeed("Set up as Git repository.")};export{Vv as create};
19
19
  /*!
20
20
  * fill-range <https://github.com/jonschlinkert/fill-range>
21
21
  *