@tsmodule/tsmodule 40.17.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 cA=Object.create;var No=Object.defineProperty;var AA=Object.getOwnPropertyDescriptor;var hA=Object.getOwnPropertyNames;var pA=Object.getPrototypeOf,dA=Object.prototype.hasOwnProperty;var w=(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 d=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of hA(t))!dA.call(e,i)&&i!==r&&No(e,i,{get:()=>t[i],enumerable:!(n=AA(t,i))||n.enumerable});return e};var je=(e,t,r)=>(r=e!=null?cA(pA(e)):{},gA(t||!e||!e.__esModule?No(r,"default",{value:e,enumerable:!0}):r,e));var oa=d((Gm,Yn)=>{"use strict";var sa=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};Yn.exports=sa;Yn.exports.default=sa});var ua=d(($m,Rr)=>{"use strict";var rh=oa(),Qr=new WeakMap,aa=(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(Qr.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 rh(s,e),Qr.set(s,n),s};Rr.exports=aa;Rr.exports.default=aa;Rr.exports.callCount=e=>{if(!Qr.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Qr.get(e)}});var la=d((Jm,Ir)=>{Ir.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Ir.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ir.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var pa=d((Ym,vt)=>{var $=global.process,tt=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"};tt($)?(fa=w("assert"),Ct=la(),ca=/^win/i.test($.platform),Yt=w("events"),typeof Yt!="function"&&(Yt=Yt.EventEmitter),$.__signal_exit_emitter__?re=$.__signal_exit_emitter__:(re=$.__signal_exit_emitter__=new Yt,re.count=0,re.emitted={}),re.infinite||(re.setMaxListeners(1/0),re.infinite=!0),vt.exports=function(e,t){if(!tt(global.process))return function(){};fa.equal(typeof e,"function","a callback must be provided for exit handler"),bt===!1&&Wn();var r="exit";t&&t.alwaysLast&&(r="afterexit");var n=function(){re.removeListener(r,e),re.listeners("exit").length===0&&re.listeners("afterexit").length===0&&Tr()};return re.on(r,e),n},Tr=function(){!bt||!tt(global.process)||(bt=!1,Ct.forEach(function(t){try{$.removeListener(t,Dr[t])}catch{}}),$.emit=kr,$.reallyExit=Vn,re.count-=1)},vt.exports.unload=Tr,rt=function(t,r,n){re.emitted[t]||(re.emitted[t]=!0,re.emit(t,r,n))},Dr={},Ct.forEach(function(e){Dr[e]=function(){if(!!tt(global.process)){var r=$.listeners(e);r.length===re.count&&(Tr(),rt("exit",null,e),rt("afterexit",null,e),ca&&e==="SIGHUP"&&(e="SIGINT"),$.kill($.pid,e))}}}),vt.exports.signals=function(){return Ct},bt=!1,Wn=function(){bt||!tt(global.process)||(bt=!0,re.count+=1,Ct=Ct.filter(function(t){try{return $.on(t,Dr[t]),!0}catch{return!1}}),$.emit=ha,$.reallyExit=Aa)},vt.exports.load=Wn,Vn=$.reallyExit,Aa=function(t){!tt(global.process)||($.exitCode=t||0,rt("exit",$.exitCode,null),rt("afterexit",$.exitCode,null),Vn.call($,$.exitCode))},kr=$.emit,ha=function(t,r){if(t==="exit"&&tt(global.process)){r!==void 0&&($.exitCode=r);var n=kr.apply(this,arguments);return rt("exit",$.exitCode,null),rt("afterexit",$.exitCode,null),n}else return kr.apply(this,arguments)}):vt.exports=function(){return function(){}};var fa,Ct,ca,Yt,re,Tr,rt,Dr,bt,Wn,Vn,Aa,kr,ha});var ma=d((ey,sh)=>{sh.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 ba=d((ty,Ca)=>{"use strict";var Lr=Object.assign({},ma()),ya=Object.keys(Lr);Object.defineProperty(Lr,"random",{get(){let e=Math.floor(Math.random()*ya.length),t=ya[e];return Lr[t]}});Ca.exports=Lr});var va=d((fy,Nr)=>{var lh=function(){"use strict";function e(o,a,u,f){var l;typeof a=="object"&&(u=a.depth,f=a.prototype,l=a.filter,a=a.circular);var A=[],c=[],C=typeof Buffer<"u";typeof a>"u"&&(a=!0),typeof u>"u"&&(u=1/0);function _(E,B){if(E===null)return null;if(B==0)return E;var v,O;if(typeof E!="object")return E;if(e.__isArray(E))v=[];else if(e.__isRegExp(E))v=new RegExp(E.source,s(E)),E.lastIndex&&(v.lastIndex=E.lastIndex);else if(e.__isDate(E))v=new Date(E.getTime());else{if(C&&Buffer.isBuffer(E))return Buffer.allocUnsafe?v=Buffer.allocUnsafe(E.length):v=new Buffer(E.length),E.copy(v),v;typeof f>"u"?(O=Object.getPrototypeOf(E),v=Object.create(O)):(v=Object.create(f),O=f)}if(a){var q=A.indexOf(E);if(q!=-1)return c[q];A.push(E),c.push(v)}for(var X in E){var x;O&&(x=Object.getOwnPropertyDescriptor(O,X)),!(x&&x.set==null)&&(v[X]=_(E[X],B-1))}return v}return _(o,u)}e.clonePrototype=function(a){if(a===null)return null;var u=function(){};return u.prototype=a,new u};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 Nr=="object"&&Nr.exports&&(Nr.exports=lh)});var xa=d((cy,Ba)=>{var fh=va();Ba.exports=function(e,t){return e=e||{},Object.keys(t).forEach(function(r){typeof e[r]>"u"&&(e[r]=fh(t[r]))}),e}});var wa=d((Ay,Sa)=>{Sa.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 Ta=d((hy,ei)=>{"use strict";var ch=xa(),Xt=wa(),Ra={nul:0,control:0};ei.exports=function(t){return Ia(t,Ra)};ei.exports.config=function(e){return e=ch(e||{},Ra),function(r){return Ia(r,e)}};function Ia(e,t){if(typeof e!="string")return Qa(e,t);for(var r=0,n=0;n<e.length;n++){var i=Qa(e.charCodeAt(n),t);if(i<0)return-1;r+=i}return r}function Qa(e,t){return e===0?t.nul:e<32||e>=127&&e<160?t.control:Ah(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 Ah(e){var t=0,r=Xt.length-1,n;if(e<Xt[0][0]||e>Xt[r][1])return!1;for(;r>=t;)if(n=Math.floor((t+r)/2),e>Xt[n][1])t=n+1;else if(e<Xt[n][0])r=n-1;else return!0;return!1}});var ri=d((dy,Da)=>{Da.exports=w("stream")});var Na=d((gy,La)=>{"use strict";function ka(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 hh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ka(Object(r),!0).forEach(function(n){ph(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oa(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 gh(e,t,r){return t&&Oa(e.prototype,t),r&&Oa(e,r),e}var _h=w("buffer"),Pr=_h.Buffer,Eh=w("util"),ni=Eh.inspect,mh=ni&&ni.custom||"inspect";function yh(e,t,r){Pr.prototype.copy.call(e,t,r)}La.exports=function(){function e(){dh(this,e),this.head=null,this.tail=null,this.length=0}return gh(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 Pr.alloc(0);for(var n=Pr.allocUnsafe(r>>>0),i=this.head,s=0;i;)yh(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=Pr.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:mh,value:function(r,n){return ni(this,hh({},n,{depth:0,customInspect:!1}))}}]),e}()});var si=d((_y,Ma)=>{"use strict";function Ch(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(ii,this,e)):process.nextTick(ii,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(Mr,r):(r._writableState.errorEmitted=!0,process.nextTick(Pa,r,s)):process.nextTick(Pa,r,s):t?(process.nextTick(Mr,r),t(s)):process.nextTick(Mr,r)}),this)}function Pa(e,t){ii(e,t),Mr(e)}function Mr(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function bh(){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 ii(e,t){e.emit("error",t)}function vh(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}Ma.exports={destroy:Ch,undestroy:bh,errorOrDestroy:vh}});var He=d((Ey,ja)=>{"use strict";var qa={};function ge(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,u){super(n(o,a,u))}}i.prototype.name=r.name,i.prototype.code=e,qa[e]=i}function Fa(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 Bh(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function xh(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function Sh(e,t,r){return typeof r!="number"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}ge("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);ge("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;typeof t=="string"&&Bh(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";let i;if(xh(e," argument"))i=`The ${e} ${n} ${Fa(t,"type")}`;else{let s=Sh(e,".")?"property":"argument";i=`The "${e}" ${s} ${n} ${Fa(t,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);ge("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");ge("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});ge("ERR_STREAM_PREMATURE_CLOSE","Premature close");ge("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});ge("ERR_MULTIPLE_CALLBACK","Callback called multiple times");ge("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");ge("ERR_STREAM_WRITE_AFTER_END","write after end");ge("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);ge("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);ge("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ja.exports.codes=qa});var oi=d((my,Ha)=>{"use strict";var wh=He().codes.ERR_INVALID_OPT_VALUE;function Qh(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function Rh(e,t,r,n){var i=Qh(t,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var s=n?r:"highWaterMark";throw new wh(s,i)}return Math.floor(i)}return e.objectMode?16:16*1024}Ha.exports={getHighWaterMark:Rh}});var Ka=d((yy,ai)=>{typeof Object.create=="function"?ai.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:ai.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 nt=d((Cy,li)=>{try{if(ui=w("util"),typeof ui.inherits!="function")throw"";li.exports=ui.inherits}catch{li.exports=Ka()}var ui});var Ga=d((by,Ua)=>{Ua.exports=w("util").deprecate});var Ai=d((vy,Xa)=>{"use strict";Xa.exports=W;function Ja(e){var t=this;this.next=null,this.entry=null,this.finish=function(){rp(t,e)}}var xt;W.WritableState=zt;var Ih={deprecate:Ga()},Ya=ri(),qr=w("buffer").Buffer,Th=global.Uint8Array||function(){};function Dh(e){return qr.from(e)}function kh(e){return qr.isBuffer(e)||e instanceof Th}var ci=si(),Oh=oi(),Lh=Oh.getHighWaterMark,Ke=He().codes,Nh=Ke.ERR_INVALID_ARG_TYPE,Ph=Ke.ERR_METHOD_NOT_IMPLEMENTED,Mh=Ke.ERR_MULTIPLE_CALLBACK,Fh=Ke.ERR_STREAM_CANNOT_PIPE,qh=Ke.ERR_STREAM_DESTROYED,jh=Ke.ERR_STREAM_NULL_VALUES,Hh=Ke.ERR_STREAM_WRITE_AFTER_END,Kh=Ke.ERR_UNKNOWN_ENCODING,St=ci.errorOrDestroy;nt()(W,Ya);function Uh(){}function zt(e,t,r){xt=xt||it(),e=e||{},typeof r!="boolean"&&(r=t instanceof xt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Lh(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){Xh(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 Ja(this)}zt.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(zt.prototype,"buffer",{get:Ih.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var Fr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Fr=Function.prototype[Symbol.hasInstance],Object.defineProperty(W,Symbol.hasInstance,{value:function(t){return Fr.call(this,t)?!0:this!==W?!1:t&&t._writableState instanceof zt}})):Fr=function(t){return t instanceof this};function W(e){xt=xt||it();var t=this instanceof xt;if(!t&&!Fr.call(W,this))return new W(e);this._writableState=new zt(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)),Ya.call(this)}W.prototype.pipe=function(){St(this,new Fh)};function Gh(e,t){var r=new Hh;St(e,r),process.nextTick(t,r)}function $h(e,t,r,n){var i;return r===null?i=new jh:typeof r!="string"&&!t.objectMode&&(i=new Nh("chunk",["string","Buffer"],r)),i?(St(e,i),process.nextTick(n,i),!1):!0}W.prototype.write=function(e,t,r){var n=this._writableState,i=!1,s=!n.objectMode&&kh(e);return s&&!qr.isBuffer(e)&&(e=Dh(e)),typeof t=="function"&&(r=t,t=null),s?t="buffer":t||(t=n.defaultEncoding),typeof r!="function"&&(r=Uh),n.ending?Gh(this,r):(s||$h(this,n,e,r))&&(n.pendingcb++,i=Yh(this,n,s,e,t,r)),i};W.prototype.cork=function(){this._writableState.corked++};W.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Wa(this,e))};W.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new Kh(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(W.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Jh(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=qr.from(t,r)),t}Object.defineProperty(W.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Yh(e,t,r,n,i,s){if(!r){var o=Jh(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length;t.length+=a;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else fi(e,t,!1,a,n,i,s);return u}function fi(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new qh("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function Wh(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(Zt,e,t),e._writableState.errorEmitted=!0,St(e,n)):(i(n),e._writableState.errorEmitted=!0,St(e,n),Zt(e,t))}function Vh(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function Xh(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new Mh;if(Vh(r),t)Wh(e,r,n,t,i);else{var s=Va(r)||e.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Wa(e,r),n?process.nextTick($a,e,r,s,i):$a(e,r,s,i)}}function $a(e,t,r,n){r||Zh(e,t),t.pendingcb--,n(),Zt(e,t)}function Zh(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function Wa(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,fi(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 Ja(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,f=r.encoding,l=r.callback,A=t.objectMode?1:u.length;if(fi(e,t,!1,A,u,f,l),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}W.prototype._write=function(e,t,r){r(new Ph("_write()"))};W.prototype._writev=null;W.prototype.end=function(e,t,r){var n=this._writableState;return typeof e=="function"?(r=e,e=null,t=null):typeof t=="function"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||tp(this,n,r),this};Object.defineProperty(W.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Va(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function zh(e,t){e._final(function(r){t.pendingcb--,r&&St(e,r),t.prefinished=!0,e.emit("prefinish"),Zt(e,t)})}function ep(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(zh,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function Zt(e,t){var r=Va(t);if(r&&(ep(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 tp(e,t,r){t.ending=!0,Zt(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function rp(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(W.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){!this._writableState||(this._writableState.destroyed=t)}});W.prototype.destroy=ci.destroy;W.prototype._undestroy=ci.undestroy;W.prototype._destroy=function(e,t){t(e)}});var it=d((By,za)=>{"use strict";var np=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};za.exports=Qe;var Za=di(),pi=Ai();nt()(Qe,Za);for(hi=np(pi.prototype),jr=0;jr<hi.length;jr++)Hr=hi[jr],Qe.prototype[Hr]||(Qe.prototype[Hr]=pi.prototype[Hr]);var hi,Hr,jr;function Qe(e){if(!(this instanceof Qe))return new Qe(e);Za.call(this,e),pi.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",ip)))}Object.defineProperty(Qe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(Qe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Qe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ip(){this._writableState.ended||process.nextTick(sp,this)}function sp(e){e.end()}Object.defineProperty(Qe.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 ru=d((gi,tu)=>{var Kr=w("buffer"),Re=Kr.Buffer;function eu(e,t){for(var r in e)t[r]=e[r]}Re.from&&Re.alloc&&Re.allocUnsafe&&Re.allocUnsafeSlow?tu.exports=Kr:(eu(Kr,gi),gi.Buffer=st);function st(e,t,r){return Re(e,t,r)}st.prototype=Object.create(Re.prototype);eu(Re,st);st.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Re(e,t,r)};st.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=Re(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};st.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Re(e)};st.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Kr.SlowBuffer(e)}});var mi=d(iu=>{"use strict";var Ei=ru().Buffer,nu=Ei.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 op(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 ap(e){var t=op(e);if(typeof t!="string"&&(Ei.isEncoding===nu||!nu(e)))throw new Error("Unknown encoding: "+e);return t||e}iu.StringDecoder=er;function er(e){this.encoding=ap(e);var t;switch(this.encoding){case"utf16le":this.text=hp,this.end=pp,t=4;break;case"utf8":this.fillLast=fp,t=4;break;case"base64":this.text=dp,this.end=gp,t=3;break;default:this.write=_p,this.end=Ep;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ei.allocUnsafe(t)}er.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||""};er.prototype.end=Ap;er.prototype.text=cp;er.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 _i(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function up(e,t,r){var n=t.length-1;if(n<r)return 0;var i=_i(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||i===-2?0:(i=_i(t[n]),i>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||i===-2?0:(i=_i(t[n]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function lp(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 fp(e){var t=this.lastTotal-this.lastNeed,r=lp(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 cp(e,t){var r=up(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 Ap(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function hp(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 pp(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 dp(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 gp(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _p(e){return e.toString(this.encoding)}function Ep(e){return e&&e.length?this.write(e):""}});var Ur=d((Sy,au)=>{"use strict";var su=He().codes.ERR_STREAM_PREMATURE_CLOSE;function mp(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 yp(){}function Cp(e){return e.setHeader&&typeof e.abort=="function"}function ou(e,t,r){if(typeof t=="function")return ou(e,null,t);t||(t={}),r=mp(r||yp);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)},u=e._readableState&&e._readableState.endEmitted,f=function(){n=!1,u=!0,i||r.call(e)},l=function(_){r.call(e,_)},A=function(){var _;if(n&&!u)return(!e._readableState||!e._readableState.ended)&&(_=new su),r.call(e,_);if(i&&!o)return(!e._writableState||!e._writableState.ended)&&(_=new su),r.call(e,_)},c=function(){e.req.on("finish",a)};return Cp(e)?(e.on("complete",a),e.on("abort",A),e.req?c():e.on("request",c)):i&&!e._writableState&&(e.on("end",s),e.on("close",s)),e.on("end",f),e.on("finish",a),t.error!==!1&&e.on("error",l),e.on("close",A),function(){e.removeListener("complete",a),e.removeListener("abort",A),e.removeListener("request",c),e.req&&e.req.removeListener("finish",a),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",a),e.removeListener("end",f),e.removeListener("error",l),e.removeListener("close",A)}}au.exports=ou});var lu=d((wy,uu)=>{"use strict";var Gr;function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bp=Ur(),Ge=Symbol("lastResolve"),ot=Symbol("lastReject"),tr=Symbol("error"),$r=Symbol("ended"),at=Symbol("lastPromise"),yi=Symbol("handlePromise"),ut=Symbol("stream");function $e(e,t){return{value:e,done:t}}function vp(e){var t=e[Ge];if(t!==null){var r=e[ut].read();r!==null&&(e[at]=null,e[Ge]=null,e[ot]=null,t($e(r,!1)))}}function Bp(e){process.nextTick(vp,e)}function xp(e,t){return function(r,n){e.then(function(){if(t[$r]){r($e(void 0,!0));return}t[yi](r,n)},n)}}var Sp=Object.getPrototypeOf(function(){}),wp=Object.setPrototypeOf((Gr={get stream(){return this[ut]},next:function(){var t=this,r=this[tr];if(r!==null)return Promise.reject(r);if(this[$r])return Promise.resolve($e(void 0,!0));if(this[ut].destroyed)return new Promise(function(o,a){process.nextTick(function(){t[tr]?a(t[tr]):o($e(void 0,!0))})});var n=this[at],i;if(n)i=new Promise(xp(n,this));else{var s=this[ut].read();if(s!==null)return Promise.resolve($e(s,!1));i=new Promise(this[yi])}return this[at]=i,i}},Ue(Gr,Symbol.asyncIterator,function(){return this}),Ue(Gr,"return",function(){var t=this;return new Promise(function(r,n){t[ut].destroy(null,function(i){if(i){n(i);return}r($e(void 0,!0))})})}),Gr),Sp),Qp=function(t){var r,n=Object.create(wp,(r={},Ue(r,ut,{value:t,writable:!0}),Ue(r,Ge,{value:null,writable:!0}),Ue(r,ot,{value:null,writable:!0}),Ue(r,tr,{value:null,writable:!0}),Ue(r,$r,{value:t._readableState.endEmitted,writable:!0}),Ue(r,yi,{value:function(s,o){var a=n[ut].read();a?(n[at]=null,n[Ge]=null,n[ot]=null,s($e(a,!1))):(n[Ge]=s,n[ot]=o)},writable:!0}),r));return n[at]=null,bp(t,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=n[ot];s!==null&&(n[at]=null,n[Ge]=null,n[ot]=null,s(i)),n[tr]=i;return}var o=n[Ge];o!==null&&(n[at]=null,n[Ge]=null,n[ot]=null,o($e(void 0,!0))),n[$r]=!0}),t.on("readable",Bp.bind(null,n)),n};uu.exports=Qp});var hu=d((Qy,Au)=>{"use strict";function fu(e,t,r,n,i,s,o){try{var a=e[s](o),u=a.value}catch(f){r(f);return}a.done?t(u):Promise.resolve(u).then(n,i)}function Rp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var s=e.apply(t,r);function o(u){fu(s,n,i,o,a,"next",u)}function a(u){fu(s,n,i,o,a,"throw",u)}o(void 0)})}}function cu(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 Ip(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cu(Object(r),!0).forEach(function(n){Tp(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Tp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Dp=He().codes.ERR_INVALID_ARG_TYPE;function kp(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 Dp("iterable",["Iterable"],t);var i=new e(Ip({objectMode:!0},r)),s=!1;i._read=function(){s||(s=!0,o())};function o(){return a.apply(this,arguments)}function a(){return a=Rp(function*(){try{var u=yield n.next(),f=u.value,l=u.done;l?i.push(null):i.push(yield f)?o():s=!1}catch(A){i.destroy(A)}}),a.apply(this,arguments)}return i}Au.exports=kp});var di=d((Iy,vu)=>{"use strict";vu.exports=N;var wt;N.ReadableState=_u;var Ry=w("events").EventEmitter,gu=function(t,r){return t.listeners(r).length},nr=ri(),Jr=w("buffer").Buffer,Op=global.Uint8Array||function(){};function Lp(e){return Jr.from(e)}function Np(e){return Jr.isBuffer(e)||e instanceof Op}var Ci=w("util"),T;Ci&&Ci.debuglog?T=Ci.debuglog("stream"):T=function(){};var Pp=Na(),Qi=si(),Mp=oi(),Fp=Mp.getHighWaterMark,Yr=He().codes,qp=Yr.ERR_INVALID_ARG_TYPE,jp=Yr.ERR_STREAM_PUSH_AFTER_EOF,Hp=Yr.ERR_METHOD_NOT_IMPLEMENTED,Kp=Yr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,Qt,bi,vi;nt()(N,nr);var rr=Qi.errorOrDestroy,Bi=["error","close","destroy","pause","resume"];function Up(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 _u(e,t,r){wt=wt||it(),e=e||{},typeof r!="boolean"&&(r=t instanceof wt),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=Fp(this,e,"readableHighWaterMark",r),this.buffer=new Pp,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(Qt||(Qt=mi().StringDecoder),this.decoder=new Qt(e.encoding),this.encoding=e.encoding)}function N(e){if(wt=wt||it(),!(this instanceof N))return new N(e);var t=this instanceof wt;this._readableState=new _u(e,this,t),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),nr.call(this)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){!this._readableState||(this._readableState.destroyed=t)}});N.prototype.destroy=Qi.destroy;N.prototype._undestroy=Qi.undestroy;N.prototype._destroy=function(e,t){t(e)};N.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=Jr.from(e,t),t=""),n=!0),Eu(this,e,t,!1,n)};N.prototype.unshift=function(e){return Eu(this,e,null,!0,!1)};function Eu(e,t,r,n,i){T("readableAddChunk",t);var s=e._readableState;if(t===null)s.reading=!1,Jp(e,s);else{var o;if(i||(o=Gp(s,t)),o)rr(e,o);else if(s.objectMode||t&&t.length>0)if(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==Jr.prototype&&(t=Lp(t)),n)s.endEmitted?rr(e,new Kp):xi(e,s,t,!0);else if(s.ended)rr(e,new jp);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||t.length!==0?xi(e,s,t,!1):wi(e,s)):xi(e,s,t,!1)}else n||(s.reading=!1,wi(e,s))}return!s.ended&&(s.length<s.highWaterMark||s.length===0)}function xi(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&&Wr(e)),wi(e,t)}function Gp(e,t){var r;return!Np(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(r=new qp("chunk",["string","Buffer","Uint8Array"],t)),r}N.prototype.isPaused=function(){return this._readableState.flowing===!1};N.prototype.setEncoding=function(e){Qt||(Qt=mi().StringDecoder);var t=new Qt(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 pu=1073741824;function $p(e){return e>=pu?e=pu:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function du(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=$p(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}N.prototype.read=function(e){T("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 T("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Si(this):Wr(this),null;if(e=du(e,t),e===0&&t.ended)return t.length===0&&Si(this),null;var n=t.needReadable;T("need readable",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,T("length less than watermark",n)),t.ended||t.reading?(n=!1,T("reading or ended",n)):n&&(T("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=du(r,t)));var i;return e>0?i=Cu(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&&Si(this)),i!==null&&this.emit("data",i),i};function Jp(e,t){if(T("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?Wr(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,mu(e)))}}function Wr(e){var t=e._readableState;T("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(T("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(mu,e))}function mu(e){var t=e._readableState;T("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,Ri(e)}function wi(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(Yp,e,t))}function Yp(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(T("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}N.prototype._read=function(e){rr(this,new Hp("_read()"))};N.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,T("pipe count=%d opts=%j",n.pipesCount,t);var i=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=i?a:E;n.endEmitted?process.nextTick(s):r.once("end",s),e.on("unpipe",o);function o(B,v){T("onunpipe"),B===r&&v&&v.hasUnpiped===!1&&(v.hasUnpiped=!0,l())}function a(){T("onend"),e.end()}var u=Wp(r);e.on("drain",u);var f=!1;function l(){T("cleanup"),e.removeListener("close",C),e.removeListener("finish",_),e.removeListener("drain",u),e.removeListener("error",c),e.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",E),r.removeListener("data",A),f=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}r.on("data",A);function A(B){T("ondata");var v=e.write(B);T("dest.write",v),v===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&bu(n.pipes,e)!==-1)&&!f&&(T("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function c(B){T("onerror",B),E(),e.removeListener("error",c),gu(e,"error")===0&&rr(e,B)}Up(e,"error",c);function C(){e.removeListener("finish",_),E()}e.once("close",C);function _(){T("onfinish"),e.removeListener("close",C),E()}e.once("finish",_);function E(){T("unpipe"),r.unpipe(e)}return e.emit("pipe",r),n.flowing||(T("pipe resume"),r.resume()),e};function Wp(e){return function(){var r=e._readableState;T("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&gu(e,"data")&&(r.flowing=!0,Ri(e))}}N.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=bu(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)};N.prototype.on=function(e,t){var r=nr.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,T("on readable",n.length,n.reading),n.length?Wr(this):n.reading||process.nextTick(Vp,this)),r};N.prototype.addListener=N.prototype.on;N.prototype.removeListener=function(e,t){var r=nr.prototype.removeListener.call(this,e,t);return e==="readable"&&process.nextTick(yu,this),r};N.prototype.removeAllListeners=function(e){var t=nr.prototype.removeAllListeners.apply(this,arguments);return(e==="readable"||e===void 0)&&process.nextTick(yu,this),t};function yu(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 Vp(e){T("readable nexttick read 0"),e.read(0)}N.prototype.resume=function(){var e=this._readableState;return e.flowing||(T("resume"),e.flowing=!e.readableListening,Xp(this,e)),e.paused=!1,this};function Xp(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(Zp,e,t))}function Zp(e,t){T("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Ri(e),t.flowing&&!t.reading&&e.read(0)}N.prototype.pause=function(){return T("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(T("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ri(e){var t=e._readableState;for(T("flow",t.flowing);t.flowing&&e.read()!==null;);}N.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on("end",function(){if(T("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(T("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<Bi.length;s++)e.on(Bi[s],this.emit.bind(this,Bi[s]));return this._read=function(o){T("wrapped _read",o),n&&(n=!1,e.resume())},this};typeof Symbol=="function"&&(N.prototype[Symbol.asyncIterator]=function(){return bi===void 0&&(bi=lu()),bi(this)});Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});N._fromList=Cu;Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Cu(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 Si(e){var t=e._readableState;T("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(zp,t,e))}function zp(e,t){if(T("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"&&(N.from=function(e,t){return vi===void 0&&(vi=hu()),vi(N,e,t)});function bu(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var Ii=d((Ty,xu)=>{"use strict";xu.exports=Ne;var Vr=He().codes,ed=Vr.ERR_METHOD_NOT_IMPLEMENTED,td=Vr.ERR_MULTIPLE_CALLBACK,rd=Vr.ERR_TRANSFORM_ALREADY_TRANSFORMING,nd=Vr.ERR_TRANSFORM_WITH_LENGTH_0,Xr=it();nt()(Ne,Xr);function id(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new td);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 Ne(e){if(!(this instanceof Ne))return new Ne(e);Xr.call(this,e),this._transformState={afterTransform:id.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",sd)}function sd(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(t,r){Bu(e,t,r)}):Bu(this,null,null)}Ne.prototype.push=function(e,t){return this._transformState.needTransform=!1,Xr.prototype.push.call(this,e,t)};Ne.prototype._transform=function(e,t,r){r(new ed("_transform()"))};Ne.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)}};Ne.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};Ne.prototype._destroy=function(e,t){Xr.prototype._destroy.call(this,e,function(r){t(r)})};function Bu(e,t,r){if(t)return e.emit("error",t);if(r!=null&&e.push(r),e._writableState.length)throw new nd;if(e._transformState.transforming)throw new rd;return e.push(null)}});var Qu=d((Dy,wu)=>{"use strict";wu.exports=ir;var Su=Ii();nt()(ir,Su);function ir(e){if(!(this instanceof ir))return new ir(e);Su.call(this,e)}ir.prototype._transform=function(e,t,r){r(null,e)}});var ku=d((ky,Du)=>{"use strict";var Ti;function od(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var Tu=He().codes,ad=Tu.ERR_MISSING_ARGS,ud=Tu.ERR_STREAM_DESTROYED;function Ru(e){if(e)throw e}function ld(e){return e.setHeader&&typeof e.abort=="function"}function fd(e,t,r,n){n=od(n);var i=!1;e.on("close",function(){i=!0}),Ti===void 0&&(Ti=Ur()),Ti(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,ld(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();n(o||new ud("pipe"))}}}function Iu(e){e()}function cd(e,t){return e.pipe(t)}function Ad(e){return!e.length||typeof e[e.length-1]!="function"?Ru:e.pop()}function hd(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ad(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new ad("streams");var i,s=t.map(function(o,a){var u=a<t.length-1,f=a>0;return fd(o,u,f,function(l){i||(i=l),l&&s.forEach(Iu),!u&&(s.forEach(Iu),n(i))})});return t.reduce(cd)}Du.exports=hd});var Ou=d((_e,or)=>{var sr=w("stream");process.env.READABLE_STREAM==="disable"&&sr?(or.exports=sr.Readable,Object.assign(or.exports,sr),or.exports.Stream=sr):(_e=or.exports=di(),_e.Stream=sr||_e,_e.Readable=_e,_e.Writable=Ai(),_e.Duplex=it(),_e.Transform=Ii(),_e.PassThrough=Qu(),_e.finished=Ur(),_e.pipeline=ku())});var Pu=d((Oy,Nu)=>{"use strict";var{Buffer:ve}=w("buffer"),Lu=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,Lu,{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||ve.alloc(0);let s=!!t,o=this._offset(n),a=i-n,u=a,f=s&&r||0,l=o[1];if(n===0&&i===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:ve.concat(this._bufs,this.length);for(let A=0;A<this._bufs.length;A++)this._bufs[A].copy(t,f),f+=this._bufs[A].length;return t}if(u<=this._bufs[o[0]].length-l)return s?this._bufs[o[0]].copy(t,r,l,l+u):this._bufs[o[0]].slice(l,l+u);s||(t=ve.allocUnsafe(a));for(let A=o[0];A<this._bufs.length;A++){let c=this._bufs[A].length-l;if(u>c)this._bufs[A].copy(t,f,l),f+=c;else{this._bufs[A].copy(t,f,l,l+u),f+=c;break}u-=c,l&&(l=0)}return t.length>f?t.slice(0,f):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(ve.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(ve.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=ve.from([e]):typeof e=="string"?e=ve.from(e,r):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=ve.from(e.buffer,e.byteOffset,e.byteLength):ve.isBuffer(e)||(e=ve.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 u=o.indexOf(e,s);if(u!==-1)return this._reverseOffset([i,u]);s=o.length-e.length+1}else{let u=this._reverseOffset([i,s]);if(this._match(u,e))return u;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[Lu]};Nu.exports=K});var Mu=d((Ly,Zr)=>{"use strict";var Di=Ou().Duplex,pd=nt(),ar=Pu();function ne(e){if(!(this instanceof ne))return new ne(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}ar._init.call(this,e),Di.call(this)}pd(ne,Di);Object.assign(ne.prototype,ar.prototype);ne.prototype._new=function(t){return new ne(t)};ne.prototype._write=function(t,r,n){this._appendBuffer(t),typeof n=="function"&&n()};ne.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)};ne.prototype.end=function(t){Di.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ne.prototype._destroy=function(t,r){this._bufs.length=0,this.length=0,r(t)};ne.prototype._isBufferList=function(t){return t instanceof ne||t instanceof ar||ne.isBufferList(t)};ne.isBufferList=ar.isBufferList;Zr.exports=ne;Zr.exports.BufferListStream=ne;Zr.exports.BufferList=ar});var Ni=d((Yy,Hu)=>{var rn=w("fs"),ju=w("path"),_d=w("os");function Oi(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function Li(e,t){try{return t(e)}catch(r){if(/^(ENOENT|EPERM|EACCES)$/.test(r.code))return r.code!=="ENOENT"&&console.warn("Warning: Cannot access %s",e),!1;throw r}}var Ed={nil:function(e){return e==null},array:function(e){return Array.isArray(e)},emptyObject:function(e){for(var t in e)return!1;return!0},buffer:function(e){return Buffer.isBuffer(e)},regExp:function(e){return Oi(e,"RegExp")},string:function(e){return Oi(e,"String")},func:function(e){return typeof e=="function"},number:function(e){return Oi(e,"Number")},exists:function(e){return rn.existsSync(e)},file:function(e){return Li(e,function(t){return rn.statSync(t).isFile()})},samePath:function(e,t){return ju.resolve(e)===ju.resolve(t)},directory:function(e){return Li(e,function(t){return rn.statSync(t).isDirectory()})},symbolicLink:function(e){return Li(e,function(t){return rn.lstatSync(t).isSymbolicLink()})},windows:function(){return _d.platform()==="win32"}};Hu.exports=Ed});var Ju=d((Wy,$u)=>{var fr=w("fs"),Ku=w("os"),Pi=w("path"),nn=Ni(),lr,md=Ku.tmpdir&&Ku.tmpdir()||process.env.TMPDIR||process.env.TEMP||process.cwd();function Gu(){this.stack=[]}Gu.prototype={create:function(e,t){var r=Pi.join(t,"node-watch-"+Math.random().toString(16).substr(2));return this.stack.push({name:r,type:e}),r},write:function(){for(var e=0;e<arguments.length;++e)fr.writeFileSync(arguments[e]," ")},mkdir:function(){for(var e=0;e<arguments.length;++e)fr.mkdirSync(arguments[e])},cleanup:function(e){try{for(var t;t=this.stack.pop();){var r=t.type,n=t.name;r==="file"&&nn.file(n)?fr.unlinkSync(n):r==="dir"&&nn.directory(n)&&fr.rmdirSync(n)}}finally{nn.func(e)&&e()}}};var Uu=!1;$u.exports=function e(t){if(!nn.func(t))return!1;if(lr!==void 0)return t(lr);if(!Uu)Uu=!0;else return setTimeout(function(){e(t)},300);var r=new Gu,n=r.create("dir",md),i=r.create("dir",n),s=r.create("file",i);r.mkdir(n,i);var o={recursive:!0},a;try{a=fr.watch(n,o)}catch(f){if(f.code=="ERR_FEATURE_UNAVAILABLE_ON_PLATFORM")return t(lr=!1);throw f}if(!a)return!1;var u=setTimeout(function(){a.close(),r.cleanup(function(){t(lr=!1)})},200);a.on("change",function(f,l){Pi.basename(s)===Pi.basename(l)&&(a.close(),clearTimeout(u),r.cleanup(function(){t(lr=!0)}))}),r.write(s)}});var il=d((Vy,ji)=>{var Fi=w("fs"),cr=w("path"),Wu=w("util"),Vu=w("events"),Xu=Ju(),j=Ni(),yd="update",Zu="remove",Yu=Symbol("skip");function Cd(e){return e.some(function(t,r,n){return n.indexOf(t)!==r})}function qi(e){return e.filter(function(t,r,n){return n.indexOf(t)===r})}function bd(e){return e.reduce(function(t,r){return t.concat(r)},[])}function vd(e){if(e&&e!=="buffer"&&!Buffer.isEncoding(e))throw new Error("Unknown encoding: "+e)}function Bd(e){return j.func(e)?function(t,r){e(t,!1)&&r()}:j.regExp(e)?function(t,r){e.test(t)&&r()}:function(t,r){r()}}function xd(e){return e.map(function(t){return j.exists(t)?[yd,t]:[Zu,t]})}function Sd(e){var t=qi(e),r=/~$|^\.#|^##$/g,n=e.some(function(s){return r.test(s)});if(n){var i=Cd(e.map(function(s){return s.replace(r,"")}));i&&(t=t.filter(function(s){return j.exists(s)}))}return xd(t)}function wd(e,t){var r,n=[],i=e.options.encoding,s=e.options.delay;j.number(s)||(s=200);function o(){Sd(n).forEach(function(a){a[1]=Buffer.from(a[1]),i!=="buffer"&&(a[1]=a[1].toString(i)),t.apply(null,a)}),r=null,n=[]}return function(a,u){n.push(u),r||(r=setTimeout(o,s))}}function zu(){var e={};return function(t){return function(r,n){e[r+n]=[r,n],setTimeout(function(){Object.keys(e).forEach(function(i){t.apply(null,e[i])}),e={}})}}}function el(e,t,r=function(){}){j.directory(e)?Fi.readdir(e,function(n,i){if(n)if(/^(EPERM|EACCES)$/.test(n.code))console.warn("Warning: Cannot access %s.",e);else throw n;else i.forEach(function(s){var o=cr.join(e,s);j.directory(o)&&t(o)}),r()}):r()}function Qd(e){var t=0;return function(){return t++,function(){t--,t===0&&e()}}}function Rd(){return function(){}}function tl(e,t){return!j.func(t)||t(e,Yu)!==Yu}var rl=Wu.deprecate(function(){},"(node-watch) First param in callback function is replaced with event name since 0.5.0, use `(evt, filename) => {}` if you want to get the filename");function Ie(){Vu.EventEmitter.call(this),this.watchers={},this._isReady=!1,this._isClosed=!1}Wu.inherits(Ie,Vu.EventEmitter);Ie.prototype.expose=function(){var e={},t=this,r=["on","emit","once","close","isClosed","listeners","setMaxListeners","getMaxListeners","getWatchedPaths"];return r.forEach(function(n){e[n]=function(){return t[n].apply(t,arguments)}}),e};Ie.prototype.isClosed=function(){return this._isClosed};Ie.prototype.close=function(e){var t=this;if(e){var r=this.watchers[e];r&&r.close&&(r.close(),delete t.watchers[e]),el(e,function(n){t.close(n)})}else Object.keys(t.watchers).forEach(function(n){var i=t.watchers[n];i&&i.close&&i.close()}),this.watchers={};j.emptyObject(t.watchers)&&(this._isClosed||(this._isClosed=!0,process.nextTick(nl,this)))};Ie.prototype.getWatchedPaths=function(e){if(j.func(e)){var t=this;t._isReady?e(Object.keys(t.watchers)):t.on("ready",function(){e(Object.keys(t.watchers))})}};function Mi(e){e._isReady||(e._isReady=!0,process.nextTick(function(){e.emit("ready")}))}function nl(e){e.emit("close")}Ie.prototype.add=function(e,t){var r=this;t=t||{fpath:""};var n=cr.resolve(t.fpath);this.watchers[n]=e;var i=function(o,a){if(!r.isClosed()){var u=a;j.nil(u)&&(u=""),u=cr.join(t.fpath,u),t.options.recursive&&Xu(function(f){if(!f){var l=cr.resolve(u);if(!j.exists(u))r.close(l);else{var A=j.directory(u)&&!r.watchers[l]&&tl(u,t.options.filter);A&&r.watchDirectory(u,t.options)}}}),s(o,u)}},s=wd(t,function(o,a){if(t.compareName)t.compareName(a)&&r.emit("change",o,a);else{var u=Bd(t.options.filter);u(a,function(){r.flag?r.flag="":r.emit("change",o,a)})}});e.on("error",function(o){r.isClosed()||(j.windows()&&o.code==="EPERM"?(e.emit("change",Zu,t.fpath&&""),r.flag="windows-error",r.close(n)):r.emit("error",o))}),e.on("change",i)};Ie.prototype.watchFile=function(e,t,r){var n=cr.join(e,"../"),i=Object.assign({},t,{filter:null,encoding:"utf8"});delete i.recursive;var s=Fi.watch(n,i);this.add(s,{type:"file",fpath:n,options:Object.assign({},i,{encoding:t.encoding}),compareName:function(o){return j.samePath(o,e)}}),j.func(r)&&(r.length===1&&rl(),this.on("change",r))};Ie.prototype.watchDirectory=function(e,t,r,n=Rd){var i=this,s=n();Xu(function(o){t.recursive=!!t.recursive;var a=Object.assign({},t,{encoding:"utf8"});if(o||delete a.recursive,i._isClosed)return s(),i.close();var u=Fi.watch(e,a);i.add(u,{type:"dir",fpath:e,options:t}),j.func(r)&&(r.length===1&&rl(),i.on("change",r)),t.recursive&&!o&&el(e,function(f){tl(f,t.filter)&&i.watchDirectory(f,t,null,n)},n()),s()})};function Id(e){var t=new Ie,r=zu(),n=e.length;return e.forEach(function(i){i.on("change",r(function(s,o){t.emit("change",s,o)})),i.on("error",function(s){t.emit("error",s)}),i.on("ready",function(){--n||Mi(t)})}),t.close=function(){e.forEach(function(i){i.close()}),process.nextTick(nl,t)},t.getWatchedPaths=function(i){if(j.func(i)){var s=e.map(function(o){return new Promise(function(a){o.getWatchedPaths(a)})});Promise.all(s).then(function(o){var a=qi(bd(o));i(a)})}},t.expose()}function sn(e,t,r){var n=new Ie;if(j.buffer(e)&&(e=e.toString()),!j.array(e)&&!j.exists(e)&&n.emit("error",new Error(e+" does not exist.")),j.string(t)&&(t={encoding:t}),j.func(t)&&(r=t,t={}),arguments.length<2&&(t={}),t.encoding?vd(t.encoding):t.encoding="utf8",j.array(e)){if(e.length===1)return sn(e[0],t,r);var i=zu();return Id(qi(e).map(function(o){var a=sn(o,t);return j.func(r)&&a.on("change",i(r)),a}))}if(j.file(e))n.watchFile(e,t,r),Mi(n);else if(j.directory(e)){var s=Qd(function(){Mi(n)});n.watchDirectory(e,t,r,s)}return n.expose()}ji.exports=sn;ji.exports.default=sn});var sl=d(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.splitWhen=Rt.flatten=void 0;function Td(e){return e.reduce((t,r)=>[].concat(t,r),[])}Rt.flatten=Td;function Dd(e,t){let r=[[]],n=0;for(let i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}Rt.splitWhen=Dd});var ol=d(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.isEnoentCodeError=void 0;function kd(e){return e.code==="ENOENT"}on.isEnoentCodeError=kd});var al=d(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.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 Od(e,t){return new Hi(e,t)}an.createDirentFromStats=Od});var ul=d(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});Te.removeLeadingDotSegment=Te.escape=Te.makeAbsolute=Te.unixify=void 0;var Ld=w("path"),Nd=2,Pd=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function Md(e){return e.replace(/\\/g,"/")}Te.unixify=Md;function Fd(e,t){return Ld.resolve(e,t)}Te.makeAbsolute=Fd;function qd(e){return e.replace(Pd,"\\$2")}Te.escape=qd;function jd(e){if(e.charAt(0)==="."){let t=e.charAt(1);if(t==="/"||t==="\\")return e.slice(Nd)}return e}Te.removeLeadingDotSegment=jd});var fl=d((tC,ll)=>{ll.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 hl=d((rC,Al)=>{var Hd=fl(),cl={"{":"}","(":")","[":"]"},Kd=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 u=cl[a];if(u){var f=e.indexOf(u,t);f!==-1&&(t=f+1)}if(e[t]==="!")return!0}else t++}return!1},Ud=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=cl[r];if(n){var i=e.indexOf(n,t);i!==-1&&(t=i+1)}if(e[t]==="!")return!0}else t++}return!1};Al.exports=function(t,r){if(typeof t!="string"||t==="")return!1;if(Hd(t))return!0;var n=Kd;return r&&r.strict===!1&&(n=Ud),n(t)}});var dl=d((nC,pl)=>{"use strict";var Gd=hl(),$d=w("path").posix.dirname,Jd=w("os").platform()==="win32",Ki="/",Yd=/\\/g,Wd=/[\{\[].*[\}\]]$/,Vd=/(^|[^\\])([\{\[]|\([^\)]+$)/,Xd=/\\([\!\*\?\|\[\]\(\)\{\}])/g;pl.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&Jd&&t.indexOf(Ki)<0&&(t=t.replace(Yd,Ki)),Wd.test(t)&&(t+=Ki),t+="a";do t=$d(t);while(Gd(t)||Vd.test(t));return t.replace(Xd,"$1")}});var un=d(Ee=>{"use strict";Ee.isInteger=e=>typeof e=="number"?Number.isInteger(e):typeof e=="string"&&e.trim()!==""?Number.isInteger(Number(e)):!1;Ee.find=(e,t)=>e.nodes.find(r=>r.type===t);Ee.exceedsLimit=(e,t,r=1,n)=>n===!1||!Ee.isInteger(e)||!Ee.isInteger(t)?!1:(Number(t)-Number(e))/Number(r)>=n;Ee.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)};Ee.encloseBrace=e=>e.type!=="brace"?!1:e.commas>>0+e.ranges>>0===0?(e.invalid=!0,!0):!1;Ee.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;Ee.isOpenOrClose=e=>e.type==="open"||e.type==="close"?!0:e.open===!0||e.close===!0;Ee.reduce=e=>e.reduce((t,r)=>(r.type==="text"&&t.push(r.value),r.type==="range"&&(r.type="text"),t),[]);Ee.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 ln=d((sC,_l)=>{"use strict";var gl=un();_l.exports=(e,t={})=>{let r=(n,i={})=>{let s=t.escapeInvalid&&gl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a="";if(n.value)return(s||o)&&gl.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(e)}});var ml=d((oC,El)=>{"use strict";El.exports=function(e){return typeof e=="number"?e-e===0:typeof e=="string"&&e.trim()!==""?Number.isFinite?Number.isFinite(+e):isFinite(+e):!1}});var Ql=d((aC,wl)=>{"use strict";var yl=ml(),ft=(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),u=e+":"+t+"="+i+s+o+a;if(ft.cache.hasOwnProperty(u))return ft.cache[u].result;let f=Math.min(e,t),l=Math.max(e,t);if(Math.abs(f-l)===1){let E=e+"|"+t;return n.capture?`(${E})`:n.wrap===!1?E:`(?:${E})`}let A=Sl(e)||Sl(t),c={min:e,max:t,a:f,b:l},C=[],_=[];if(A&&(c.isPadded=A,c.maxLen=String(c.max).length),f<0){let E=l<0?Math.abs(l):1;_=Cl(E,Math.abs(f),c,n),f=c.a=0}return l>=0&&(C=Cl(f,l,c,n)),c.negatives=_,c.positives=C,c.result=Zd(_,C,n),n.capture===!0?c.result=`(${c.result})`:n.wrap!==!1&&C.length+_.length>1&&(c.result=`(?:${c.result})`),ft.cache[u]=c,c.result};function Zd(e,t,r){let n=Ui(e,t,"-",!1,r)||[],i=Ui(t,e,"",!1,r)||[],s=Ui(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function zd(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=Bl(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=Bl(t+1,n)-1;return s=[...s],s.sort(rg),s}function eg(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=tg(e,t),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[u,f]=n[a];u===f?s+=u:u!=="0"||f!=="9"?s+=ng(u,f,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function Cl(e,t,r,n){let i=zd(e,t),s=[],o=e,a;for(let u=0;u<i.length;u++){let f=i[u],l=eg(String(o),String(f),n),A="";if(!r.isPadded&&a&&a.pattern===l.pattern){a.count.length>1&&a.count.pop(),a.count.push(l.count[0]),a.string=a.pattern+xl(a.count),o=f+1;continue}r.isPadded&&(A=ig(f,r,n)),l.string=A+l.pattern+xl(l.count),s.push(l),o=f+1,a=l}return s}function Ui(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 tg(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}function rg(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 Bl(e,t){return e-e%Math.pow(10,t)}function xl(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function ng(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function Sl(e){return/^-?(0+)\d/.test(e)}function ig(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}}`}}ft.cache={};ft.clearCache=()=>ft.cache={};wl.exports=ft});var Ji=d((uC,Nl)=>{"use strict";var sg=w("util"),Tl=Ql(),Rl=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),og=e=>t=>e===!0?Number(t):String(t),Gi=e=>typeof e=="number"||typeof e=="string"&&e!=="",Ar=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},ag=(e,t,r)=>typeof e=="string"||typeof t=="string"?!0:r.stringify===!0,ug=(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},Il=(e,t)=>{let r=e[0]==="-"?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},lg=(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},Dl=(e,t,r,n)=>{if(r)return Tl(e,t,{wrap:!1,...n});let i=String.fromCharCode(e);if(e===t)return i;let s=String.fromCharCode(t);return`[${i}-${s}]`},kl=(e,t,r)=>{if(Array.isArray(e)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${e.join("|")})`:e.join("|")}return Tl(e,t,r)},Ol=(...e)=>new RangeError("Invalid range arguments: "+sg.inspect(...e)),Ll=(e,t,r)=>{if(r.strictRanges===!0)throw Ol([e,t]);return[]},fg=(e,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${e}" to be a number`);return[]},cg=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw Ol([e,t]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(e),u=String(t),f=String(r);r=Math.max(Math.abs(r),1);let l=$i(a)||$i(u)||$i(f),A=l?Math.max(a.length,u.length,f.length):0,c=l===!1&&ag(e,t,n)===!1,C=n.transform||og(c);if(n.toRegex&&r===1)return Dl(Il(e,A),Il(t,A),!0,n);let _={negatives:[],positives:[]},E=O=>_[O<0?"negatives":"positives"].push(Math.abs(O)),B=[],v=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?E(i):B.push(ug(C(i,v),A,c)),i=o?i-r:i+r,v++;return n.toRegex===!0?r>1?lg(_,n):kl(B,null,{wrap:!1,...n}):B},Ag=(e,t,r=1,n={})=>{if(!Ar(e)&&e.length>1||!Ar(t)&&t.length>1)return Ll(e,t,n);let i=n.transform||(c=>String.fromCharCode(c)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=s>o,u=Math.min(s,o),f=Math.max(s,o);if(n.toRegex&&r===1)return Dl(u,f,!1,n);let l=[],A=0;for(;a?s>=o:s<=o;)l.push(i(s,A)),s=a?s-r:s+r,A++;return n.toRegex===!0?kl(l,null,{wrap:!1,options:n}):l},fn=(e,t,r,n={})=>{if(t==null&&Gi(e))return[e];if(!Gi(e)||!Gi(t))return Ll(e,t,n);if(typeof r=="function")return fn(e,t,1,{transform:r});if(Rl(r))return fn(e,t,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,Ar(r)?Ar(e)&&Ar(t)?cg(e,t,r,i):Ag(e,t,Math.max(Math.abs(r),1),i):r!=null&&!Rl(r)?fg(r,i):fn(e,t,1,r)};Nl.exports=fn});var Fl=d((lC,Ml)=>{"use strict";var hg=Ji(),Pl=un(),pg=(e,t={})=>{let r=(n,i={})=>{let s=Pl.isInvalidBrace(i),o=n.invalid===!0&&t.escapeInvalid===!0,a=s===!0||o===!0,u=t.escapeInvalid===!0?"\\":"",f="";if(n.isOpen===!0||n.isClose===!0)return u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let l=Pl.reduce(n.nodes),A=hg(...l,{...t,wrap:!1,toRegex:!0});if(A.length!==0)return l.length>1&&A.length>1?`(${A})`:A}if(n.nodes)for(let l of n.nodes)f+=r(l,n);return f};return r(e)};Ml.exports=pg});var Hl=d((fC,jl)=>{"use strict";var dg=Ji(),ql=ln(),It=un(),ct=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),t=[].concat(t),!t.length)return e;if(!e.length)return r?It.flatten(t).map(i=>`{${i}}`):t;for(let i of e)if(Array.isArray(i))for(let s of i)n.push(ct(s,t,r));else for(let s of t)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?ct(i,s,r):i+s);return It.flatten(n)},gg=(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(ct(a.pop(),ql(i,t)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(ct(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let A=It.reduce(i.nodes);if(It.exceedsLimit(...A,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=dg(...A,t);c.length===0&&(c=ql(i,t)),a.push(ct(a.pop(),c)),i.nodes=[];return}let u=It.encloseBrace(i),f=i.queue,l=i;for(;l.type!=="brace"&&l.type!=="root"&&l.parent;)l=l.parent,f=l.queue;for(let A=0;A<i.nodes.length;A++){let c=i.nodes[A];if(c.type==="comma"&&i.type==="brace"){A===1&&f.push(""),f.push("");continue}if(c.type==="close"){a.push(ct(a.pop(),f,u));continue}if(c.value&&c.type!=="open"){f.push(ct(f.pop(),c.value));continue}c.nodes&&n(c,i)}return f};return It.flatten(n(e))};jl.exports=gg});var Ul=d((cC,Kl)=>{"use strict";Kl.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 Wl=d((AC,Yl)=>{"use strict";var _g=ln(),{MAX_LENGTH:Gl,CHAR_BACKSLASH:Yi,CHAR_BACKTICK:Eg,CHAR_COMMA:mg,CHAR_DOT:yg,CHAR_LEFT_PARENTHESES:Cg,CHAR_RIGHT_PARENTHESES:bg,CHAR_LEFT_CURLY_BRACE:vg,CHAR_RIGHT_CURLY_BRACE:Bg,CHAR_LEFT_SQUARE_BRACKET:$l,CHAR_RIGHT_SQUARE_BRACKET:Jl,CHAR_DOUBLE_QUOTE:xg,CHAR_SINGLE_QUOTE:Sg,CHAR_NO_BREAK_SPACE:wg,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Qg}=Ul(),Rg=(e,t={})=>{if(typeof e!="string")throw new TypeError("Expected a string");let r=t||{},n=typeof r.maxLength=="number"?Math.min(Gl,r.maxLength):Gl;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,u=0,f=e.length,l=0,A=0,c,C={},_=()=>e[l++],E=B=>{if(B.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&B.type==="text"){a.value+=B.value;return}return o.nodes.push(B),B.parent=o,B.prev=a,a=B,B};for(E({type:"bos"});l<f;)if(o=s[s.length-1],c=_(),!(c===Qg||c===wg)){if(c===Yi){E({type:"text",value:(t.keepEscaping?c:"")+_()});continue}if(c===Jl){E({type:"text",value:"\\"+c});continue}if(c===$l){u++;let B=!0,v;for(;l<f&&(v=_());){if(c+=v,v===$l){u++;continue}if(v===Yi){c+=_();continue}if(v===Jl&&(u--,u===0))break}E({type:"text",value:c});continue}if(c===Cg){o=E({type:"paren",nodes:[]}),s.push(o),E({type:"text",value:c});continue}if(c===bg){if(o.type!=="paren"){E({type:"text",value:c});continue}o=s.pop(),E({type:"text",value:c}),o=s[s.length-1];continue}if(c===xg||c===Sg||c===Eg){let B=c,v;for(t.keepQuotes!==!0&&(c="");l<f&&(v=_());){if(v===Yi){c+=v+_();continue}if(v===B){t.keepQuotes===!0&&(c+=v);break}c+=v}E({type:"text",value:c});continue}if(c===vg){A++;let v={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:A,commas:0,ranges:0,nodes:[]};o=E(v),s.push(o),E({type:"open",value:c});continue}if(c===Bg){if(o.type!=="brace"){E({type:"text",value:c});continue}let B="close";o=s.pop(),o.close=!0,E({type:B,value:c}),A--,o=s[s.length-1];continue}if(c===mg&&A>0){if(o.ranges>0){o.ranges=0;let B=o.nodes.shift();o.nodes=[B,{type:"text",value:_g(o)}]}E({type:"comma",value:c}),o.commas++;continue}if(c===yg&&A>0&&o.commas===0){let B=o.nodes;if(A===0||B.length===0){E({type:"text",value:c});continue}if(a.type==="dot"){if(o.range=[],a.value+=c,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"){B.pop();let v=B[B.length-1];v.value+=a.value+c,a=v,o.ranges--;continue}E({type:"dot",value:c});continue}E({type:"text",value:c})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(O=>{O.nodes||(O.type==="open"&&(O.isOpen=!0),O.type==="close"&&(O.isClose=!0),O.nodes||(O.type="text"),O.invalid=!0)});let B=s[s.length-1],v=B.nodes.indexOf(o);B.nodes.splice(v,1,...o.nodes)}while(s.length>0);return E({type:"eos"}),i};Yl.exports=Rg});var Zl=d((hC,Xl)=>{"use strict";var Vl=ln(),Ig=Fl(),Tg=Hl(),Dg=Wl(),ce=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let i=ce.create(n,t);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(ce.create(e,t));return t&&t.expand===!0&&t.nodupes===!0&&(r=[...new Set(r)]),r};ce.parse=(e,t={})=>Dg(e,t);ce.stringify=(e,t={})=>Vl(typeof e=="string"?ce.parse(e,t):e,t);ce.compile=(e,t={})=>(typeof e=="string"&&(e=ce.parse(e,t)),Ig(e,t));ce.expand=(e,t={})=>{typeof e=="string"&&(e=ce.parse(e,t));let r=Tg(e,t);return t.noempty===!0&&(r=r.filter(Boolean)),t.nodupes===!0&&(r=[...new Set(r)]),r};ce.create=(e,t={})=>e===""||e.length<3?[e]:t.expand!==!0?ce.compile(e,t):ce.expand(e,t);Xl.exports=ce});var hr=d((pC,nf)=>{"use strict";var kg=w("path"),De="\\\\/",zl=`[^${De}]`,Pe="\\.",Og="\\+",Lg="\\?",cn="\\/",Ng="(?=.)",ef="[^/]",Wi=`(?:${cn}|$)`,tf=`(?:^|${cn})`,Vi=`${Pe}{1,2}${Wi}`,Pg=`(?!${Pe})`,Mg=`(?!${tf}${Vi})`,Fg=`(?!${Pe}{0,1}${Wi})`,qg=`(?!${Vi})`,jg=`[^.${cn}]`,Hg=`${ef}*?`,rf={DOT_LITERAL:Pe,PLUS_LITERAL:Og,QMARK_LITERAL:Lg,SLASH_LITERAL:cn,ONE_CHAR:Ng,QMARK:ef,END_ANCHOR:Wi,DOTS_SLASH:Vi,NO_DOT:Pg,NO_DOTS:Mg,NO_DOT_SLASH:Fg,NO_DOTS_SLASH:qg,QMARK_NO_DOT:jg,STAR:Hg,START_ANCHOR:tf},Kg={...rf,SLASH_LITERAL:`[${De}]`,QMARK:zl,STAR:`${zl}*?`,DOTS_SLASH:`${Pe}{1,2}(?:[${De}]|$)`,NO_DOT:`(?!${Pe})`,NO_DOTS:`(?!(?:^|[${De}])${Pe}{1,2}(?:[${De}]|$))`,NO_DOT_SLASH:`(?!${Pe}{0,1}(?:[${De}]|$))`,NO_DOTS_SLASH:`(?!${Pe}{1,2}(?:[${De}]|$))`,QMARK_NO_DOT:`[^.${De}]`,START_ANCHOR:`(?:^|[${De}])`,END_ANCHOR:`(?:[${De}]|$)`},Ug={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"};nf.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Ug,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:kg.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?Kg:rf}}});var pr=d(ue=>{"use strict";var Gg=w("path"),$g=process.platform==="win32",{REGEX_BACKSLASH:Jg,REGEX_REMOVE_BACKSLASH:Yg,REGEX_SPECIAL_CHARS:Wg,REGEX_SPECIAL_CHARS_GLOBAL:Vg}=hr();ue.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);ue.hasRegexChars=e=>Wg.test(e);ue.isRegexChar=e=>e.length===1&&ue.hasRegexChars(e);ue.escapeRegex=e=>e.replace(Vg,"\\$1");ue.toPosixSlashes=e=>e.replace(Jg,"/");ue.removeBackslashes=e=>e.replace(Yg,t=>t==="\\"?"":t);ue.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".").map(Number);return e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10};ue.isWindows=e=>e&&typeof e.windows=="boolean"?e.windows:$g===!0||Gg.sep==="\\";ue.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?ue.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};ue.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};ue.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var Af=d((gC,cf)=>{"use strict";var sf=pr(),{CHAR_ASTERISK:Xi,CHAR_AT:Xg,CHAR_BACKWARD_SLASH:dr,CHAR_COMMA:Zg,CHAR_DOT:Zi,CHAR_EXCLAMATION_MARK:zi,CHAR_FORWARD_SLASH:ff,CHAR_LEFT_CURLY_BRACE:es,CHAR_LEFT_PARENTHESES:ts,CHAR_LEFT_SQUARE_BRACKET:zg,CHAR_PLUS:e_,CHAR_QUESTION_MARK:of,CHAR_RIGHT_CURLY_BRACE:t_,CHAR_RIGHT_PARENTHESES:af,CHAR_RIGHT_SQUARE_BRACKET:r_}=hr(),uf=e=>e===ff||e===dr,lf=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},n_=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],u=e,f=-1,l=0,A=0,c=!1,C=!1,_=!1,E=!1,B=!1,v=!1,O=!1,q=!1,X=!1,x=!1,F=0,R,S,P={value:"",depth:0,isGlob:!1},ee=()=>f>=n,g=()=>u.charCodeAt(f+1),b=()=>(R=S,u.charCodeAt(++f));for(;f<n;){S=b();let oe;if(S===dr){O=P.backslashes=!0,S=b(),S===es&&(v=!0);continue}if(v===!0||S===es){for(F++;ee()!==!0&&(S=b());){if(S===dr){O=P.backslashes=!0,b();continue}if(S===es){F++;continue}if(v!==!0&&S===Zi&&(S=b())===Zi){if(c=P.isBrace=!0,_=P.isGlob=!0,x=!0,i===!0)continue;break}if(v!==!0&&S===Zg){if(c=P.isBrace=!0,_=P.isGlob=!0,x=!0,i===!0)continue;break}if(S===t_&&(F--,F===0)){v=!1,c=P.isBrace=!0,x=!0;break}}if(i===!0)continue;break}if(S===ff){if(s.push(f),o.push(P),P={value:"",depth:0,isGlob:!1},x===!0)continue;if(R===Zi&&f===l+1){l+=2;continue}A=f+1;continue}if(r.noext!==!0&&(S===e_||S===Xg||S===Xi||S===of||S===zi)===!0&&g()===ts){if(_=P.isGlob=!0,E=P.isExtglob=!0,x=!0,S===zi&&f===l&&(X=!0),i===!0){for(;ee()!==!0&&(S=b());){if(S===dr){O=P.backslashes=!0,S=b();continue}if(S===af){_=P.isGlob=!0,x=!0;break}}continue}break}if(S===Xi){if(R===Xi&&(B=P.isGlobstar=!0),_=P.isGlob=!0,x=!0,i===!0)continue;break}if(S===of){if(_=P.isGlob=!0,x=!0,i===!0)continue;break}if(S===zg){for(;ee()!==!0&&(oe=b());){if(oe===dr){O=P.backslashes=!0,b();continue}if(oe===r_){C=P.isBracket=!0,_=P.isGlob=!0,x=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&S===zi&&f===l){q=P.negated=!0,l++;continue}if(r.noparen!==!0&&S===ts){if(_=P.isGlob=!0,i===!0){for(;ee()!==!0&&(S=b());){if(S===ts){O=P.backslashes=!0,S=b();continue}if(S===af){x=!0;break}}continue}break}if(_===!0){if(x=!0,i===!0)continue;break}}r.noext===!0&&(E=!1,_=!1);let D=u,le="",h="";l>0&&(le=u.slice(0,l),u=u.slice(l),A-=l),D&&_===!0&&A>0?(D=u.slice(0,A),h=u.slice(A)):_===!0?(D="",h=u):D=u,D&&D!==""&&D!=="/"&&D!==u&&uf(D.charCodeAt(D.length-1))&&(D=D.slice(0,-1)),r.unescape===!0&&(h&&(h=sf.removeBackslashes(h)),D&&O===!0&&(D=sf.removeBackslashes(D)));let p={prefix:le,input:e,start:l,base:D,glob:h,isBrace:c,isBracket:C,isGlob:_,isExtglob:E,isGlobstar:B,negated:q,negatedExtglob:X};if(r.tokens===!0&&(p.maxDepth=0,uf(S)||o.push(P),p.tokens=o),r.parts===!0||r.tokens===!0){let oe;for(let M=0;M<s.length;M++){let xe=oe?oe+1:l,Se=s[M],fe=e.slice(xe,Se);r.tokens&&(M===0&&l!==0?(o[M].isPrefix=!0,o[M].value=le):o[M].value=fe,lf(o[M]),p.maxDepth+=o[M].depth),(M!==0||fe!=="")&&a.push(fe),oe=Se}if(oe&&oe+1<e.length){let M=e.slice(oe+1);a.push(M),r.tokens&&(o[o.length-1].value=M,lf(o[o.length-1]),p.maxDepth+=o[o.length-1].depth)}p.slashes=s,p.parts=a}return p};cf.exports=n_});var df=d((_C,pf)=>{"use strict";var An=hr(),Ae=pr(),{MAX_LENGTH:hn,POSIX_REGEX_SOURCE:i_,REGEX_NON_SPECIAL_CHARS:s_,REGEX_SPECIAL_CHARS_BACKREF:o_,REPLACEMENTS:hf}=An,a_=(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=>Ae.escapeRegex(i)).join("..")}return r},Tt=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,rs=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=hf[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(hn,r.maxLength):hn,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?"":"?:",u=Ae.isWindows(t),f=An.globChars(u),l=An.extglobChars(f),{DOT_LITERAL:A,PLUS_LITERAL:c,SLASH_LITERAL:C,ONE_CHAR:_,DOTS_SLASH:E,NO_DOT:B,NO_DOT_SLASH:v,NO_DOTS_SLASH:O,QMARK:q,QMARK_NO_DOT:X,STAR:x,START_ANCHOR:F}=f,R=y=>`(${a}(?:(?!${F}${y.dot?E:A}).)*?)`,S=r.dot?"":B,P=r.dot?q:X,ee=r.bash===!0?R(r):x;r.capture&&(ee=`(${ee})`),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=Ae.removePrefix(e,g),i=e.length;let b=[],D=[],le=[],h=s,p,oe=()=>g.index===i-1,M=g.peek=(y=1)=>e[g.index+y],xe=g.advance=()=>e[++g.index]||"",Se=()=>e.slice(g.index+1),fe=(y="",U=0)=>{g.consumed+=y,g.index+=U},mr=y=>{g.output+=y.output!=null?y.output:y.value,fe(y.value)},lA=()=>{let y=1;for(;M()==="!"&&(M(2)!=="("||M(3)==="?");)xe(),g.start++,y++;return y%2===0?!1:(g.negated=!0,g.start++,!0)},yr=y=>{g[y]++,le.push(y)},ze=y=>{g[y]--,le.pop()},k=y=>{if(h.type==="globstar"){let U=g.braces>0&&(y.type==="comma"||y.type==="brace"),m=y.extglob===!0||b.length&&(y.type==="pipe"||y.type==="paren");y.type!=="slash"&&y.type!=="paren"&&!U&&!m&&(g.output=g.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=ee,g.output+=h.output)}if(b.length&&y.type!=="paren"&&(b[b.length-1].inner+=y.value),(y.value||y.output)&&mr(y),h&&h.type==="text"&&y.type==="text"){h.value+=y.value,h.output=(h.output||"")+y.value;return}y.prev=h,o.push(y),h=y},Cr=(y,U)=>{let m={...l[U],conditions:1,inner:""};m.prev=h,m.parens=g.parens,m.output=g.output;let I=(r.capture?"(":"")+m.open;yr("parens"),k({type:y,value:U,output:g.output?"":_}),k({type:"paren",extglob:!0,value:xe(),output:I}),b.push(m)},fA=y=>{let U=y.close+(r.capture?")":""),m;if(y.type==="negate"){let I=ee;if(y.inner&&y.inner.length>1&&y.inner.includes("/")&&(I=R(r)),(I!==ee||oe()||/^\)+$/.test(Se()))&&(U=y.close=`)$))${I}`),y.inner.includes("*")&&(m=Se())&&/^\.[^\\/.]+$/.test(m)){let Y=rs(m,{...t,fastpaths:!1}).output;U=y.close=`)${Y})${I})`}y.prev.type==="bos"&&(g.negatedExtglob=!0)}k({type:"paren",extglob:!0,value:p,output:U}),ze("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let y=!1,U=e.replace(o_,(m,I,Y,ae,te,Nn)=>ae==="\\"?(y=!0,m):ae==="?"?I?I+ae+(te?q.repeat(te.length):""):Nn===0?P+(te?q.repeat(te.length):""):q.repeat(Y.length):ae==="."?A.repeat(Y.length):ae==="*"?I?I+ae+(te?ee:""):ee:I?m:`\\${m}`);return y===!0&&(r.unescape===!0?U=U.replace(/\\/g,""):U=U.replace(/\\+/g,m=>m.length%2===0?"\\\\":m?"\\":"")),U===e&&r.contains===!0?(g.output=e,g):(g.output=Ae.wrapOutput(U,g,t),g)}for(;!oe();){if(p=xe(),p==="\0")continue;if(p==="\\"){let m=M();if(m==="/"&&r.bash!==!0||m==="."||m===";")continue;if(!m){p+="\\",k({type:"text",value:p});continue}let I=/^\\+/.exec(Se()),Y=0;if(I&&I[0].length>2&&(Y=I[0].length,g.index+=Y,Y%2!==0&&(p+="\\")),r.unescape===!0?p=xe():p+=xe(),g.brackets===0){k({type:"text",value:p});continue}}if(g.brackets>0&&(p!=="]"||h.value==="["||h.value==="[^")){if(r.posix!==!1&&p===":"){let m=h.value.slice(1);if(m.includes("[")&&(h.posix=!0,m.includes(":"))){let I=h.value.lastIndexOf("["),Y=h.value.slice(0,I),ae=h.value.slice(I+2),te=i_[ae];if(te){h.value=Y+te,g.backtrack=!0,xe(),!s.output&&o.indexOf(h)===1&&(s.output=_);continue}}}(p==="["&&M()!==":"||p==="-"&&M()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,mr({value:p});continue}if(g.quotes===1&&p!=='"'){p=Ae.escapeRegex(p),h.value+=p,mr({value:p});continue}if(p==='"'){g.quotes=g.quotes===1?0:1,r.keepQuotes===!0&&k({type:"text",value:p});continue}if(p==="("){yr("parens"),k({type:"paren",value:p});continue}if(p===")"){if(g.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Tt("opening","("));let m=b[b.length-1];if(m&&g.parens===m.parens+1){fA(b.pop());continue}k({type:"paren",value:p,output:g.parens?")":"\\)"}),ze("parens");continue}if(p==="["){if(r.nobracket===!0||!Se().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Tt("closing","]"));p=`\\${p}`}else yr("brackets");k({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){k({type:"text",value:p,output:`\\${p}`});continue}if(g.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Tt("opening","["));k({type:"text",value:p,output:`\\${p}`});continue}ze("brackets");let m=h.value.slice(1);if(h.posix!==!0&&m[0]==="^"&&!m.includes("/")&&(p=`/${p}`),h.value+=p,mr({value:p}),r.literalBrackets===!1||Ae.hasRegexChars(m))continue;let I=Ae.escapeRegex(h.value);if(g.output=g.output.slice(0,-h.value.length),r.literalBrackets===!0){g.output+=I,h.value=I;continue}h.value=`(${a}${I}|${h.value})`,g.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){yr("braces");let m={type:"brace",value:p,output:"(",outputIndex:g.output.length,tokensIndex:g.tokens.length};D.push(m),k(m);continue}if(p==="}"){let m=D[D.length-1];if(r.nobrace===!0||!m){k({type:"text",value:p,output:p});continue}let I=")";if(m.dots===!0){let Y=o.slice(),ae=[];for(let te=Y.length-1;te>=0&&(o.pop(),Y[te].type!=="brace");te--)Y[te].type!=="dots"&&ae.unshift(Y[te].value);I=a_(ae,r),g.backtrack=!0}if(m.comma!==!0&&m.dots!==!0){let Y=g.output.slice(0,m.outputIndex),ae=g.tokens.slice(m.tokensIndex);m.value=m.output="\\{",p=I="\\}",g.output=Y;for(let te of ae)g.output+=te.output||te.value}k({type:"brace",value:p,output:I}),ze("braces"),D.pop();continue}if(p==="|"){b.length>0&&b[b.length-1].conditions++,k({type:"text",value:p});continue}if(p===","){let m=p,I=D[D.length-1];I&&le[le.length-1]==="braces"&&(I.comma=!0,m="|"),k({type:"comma",value:p,output:m});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}k({type:"slash",value:p,output:C});continue}if(p==="."){if(g.braces>0&&h.type==="dot"){h.value==="."&&(h.output=A);let m=D[D.length-1];h.type="dots",h.output+=p,h.value+=p,m.dots=!0;continue}if(g.braces+g.parens===0&&h.type!=="bos"&&h.type!=="slash"){k({type:"text",value:p,output:A});continue}k({type:"dot",value:p,output:A});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&M()==="("&&M(2)!=="?"){Cr("qmark",p);continue}if(h&&h.type==="paren"){let I=M(),Y=p;if(I==="<"&&!Ae.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(I)||I==="<"&&!/<([!=]|\w+>)/.test(Se()))&&(Y=`\\${p}`),k({type:"text",value:p,output:Y});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){k({type:"qmark",value:p,output:X});continue}k({type:"qmark",value:p,output:q});continue}if(p==="!"){if(r.noextglob!==!0&&M()==="("&&(M(2)!=="?"||!/[!=<:]/.test(M(3)))){Cr("negate",p);continue}if(r.nonegate!==!0&&g.index===0){lA();continue}}if(p==="+"){if(r.noextglob!==!0&&M()==="("&&M(2)!=="?"){Cr("plus",p);continue}if(h&&h.value==="("||r.regex===!1){k({type:"plus",value:p,output:c});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||g.parens>0){k({type:"plus",value:p});continue}k({type:"plus",value:c});continue}if(p==="@"){if(r.noextglob!==!0&&M()==="("&&M(2)!=="?"){k({type:"at",extglob:!0,value:p,output:""});continue}k({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let m=s_.exec(Se());m&&(p+=m[0],g.index+=m[0].length),k({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=ee,g.backtrack=!0,g.globstar=!0,fe(p);continue}let y=Se();if(r.noextglob!==!0&&/^\([^?]/.test(y)){Cr("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){fe(p);continue}let m=h.prev,I=m.prev,Y=m.type==="slash"||m.type==="bos",ae=I&&(I.type==="star"||I.type==="globstar");if(r.bash===!0&&(!Y||y[0]&&y[0]!=="/")){k({type:"star",value:p,output:""});continue}let te=g.braces>0&&(m.type==="comma"||m.type==="brace"),Nn=b.length&&(m.type==="pipe"||m.type==="paren");if(!Y&&m.type!=="paren"&&!te&&!Nn){k({type:"star",value:p,output:""});continue}for(;y.slice(0,3)==="/**";){let br=e[g.index+4];if(br&&br!=="/")break;y=y.slice(3),fe("/**",3)}if(m.type==="bos"&&oe()){h.type="globstar",h.value+=p,h.output=R(r),g.output=h.output,g.globstar=!0,fe(p);continue}if(m.type==="slash"&&m.prev.type!=="bos"&&!ae&&oe()){g.output=g.output.slice(0,-(m.output+h.output).length),m.output=`(?:${m.output}`,h.type="globstar",h.output=R(r)+(r.strictSlashes?")":"|$)"),h.value+=p,g.globstar=!0,g.output+=m.output+h.output,fe(p);continue}if(m.type==="slash"&&m.prev.type!=="bos"&&y[0]==="/"){let br=y[1]!==void 0?"|$":"";g.output=g.output.slice(0,-(m.output+h.output).length),m.output=`(?:${m.output}`,h.type="globstar",h.output=`${R(r)}${C}|${C}${br})`,h.value+=p,g.output+=m.output+h.output,g.globstar=!0,fe(p+xe()),k({type:"slash",value:"/",output:""});continue}if(m.type==="bos"&&y[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${C}|${R(r)}${C})`,g.output=h.output,g.globstar=!0,fe(p+xe()),k({type:"slash",value:"/",output:""});continue}g.output=g.output.slice(0,-h.output.length),h.type="globstar",h.output=R(r),h.value+=p,g.output+=h.output,g.globstar=!0,fe(p);continue}let U={type:"star",value:p,output:ee};if(r.bash===!0){U.output=".*?",(h.type==="bos"||h.type==="slash")&&(U.output=S+U.output),k(U);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){U.output=p,k(U);continue}(g.index===g.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(g.output+=v,h.output+=v):r.dot===!0?(g.output+=O,h.output+=O):(g.output+=S,h.output+=S),M()!=="*"&&(g.output+=_,h.output+=_)),k(U)}for(;g.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Tt("closing","]"));g.output=Ae.escapeLast(g.output,"["),ze("brackets")}for(;g.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Tt("closing",")"));g.output=Ae.escapeLast(g.output,"("),ze("parens")}for(;g.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Tt("closing","}"));g.output=Ae.escapeLast(g.output,"{"),ze("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&k({type:"maybe_slash",value:"",output:`${C}?`}),g.backtrack===!0){g.output="";for(let y of g.tokens)g.output+=y.output!=null?y.output:y.value,y.suffix&&(g.output+=y.suffix)}return g};rs.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(hn,r.maxLength):hn,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=hf[e]||e;let s=Ae.isWindows(t),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:f,NO_DOT:l,NO_DOTS:A,NO_DOTS_SLASH:c,STAR:C,START_ANCHOR:_}=An.globChars(s),E=r.dot?A:l,B=r.dot?c:l,v=r.capture?"":"?:",O={negated:!1,prefix:""},q=r.bash===!0?".*?":C;r.capture&&(q=`(${q})`);let X=S=>S.noglobstar===!0?q:`(${v}(?:(?!${_}${S.dot?f:o}).)*?)`,x=S=>{switch(S){case"*":return`${E}${u}${q}`;case".*":return`${o}${u}${q}`;case"*.*":return`${E}${q}${o}${u}${q}`;case"*/*":return`${E}${q}${a}${u}${B}${q}`;case"**":return E+X(r);case"**/*":return`(?:${E}${X(r)}${a})?${B}${u}${q}`;case"**/*.*":return`(?:${E}${X(r)}${a})?${B}${q}${o}${u}${q}`;case"**/.*":return`(?:${E}${X(r)}${a})?${o}${u}${q}`;default:{let P=/^(.*?)\.(\w+)$/.exec(S);if(!P)return;let ee=x(P[1]);return ee?ee+o+P[2]:void 0}}},F=Ae.removePrefix(e,O),R=x(F);return R&&r.strictSlashes!==!0&&(R+=`${a}?`),R};pf.exports=rs});var _f=d((EC,gf)=>{"use strict";var u_=w("path"),l_=Af(),ns=df(),is=pr(),f_=hr(),c_=e=>e&&typeof e=="object"&&!Array.isArray(e),V=(e,t,r=!1)=>{if(Array.isArray(e)){let l=e.map(c=>V(c,t,r));return c=>{for(let C of l){let _=C(c);if(_)return _}return!1}}let n=c_(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=is.isWindows(t),o=n?V.compileRe(e,t):V.makeRe(e,t,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(i.ignore){let l={...t,ignore:null,onMatch:null,onResult:null};u=V(i.ignore,l,r)}let f=(l,A=!1)=>{let{isMatch:c,match:C,output:_}=V.test(l,o,t,{glob:e,posix:s}),E={glob:e,state:a,regex:o,posix:s,input:l,output:_,match:C,isMatch:c};return typeof i.onResult=="function"&&i.onResult(E),c===!1?(E.isMatch=!1,A?E:!1):u(l)?(typeof i.onIgnore=="function"&&i.onIgnore(E),E.isMatch=!1,A?E:!1):(typeof i.onMatch=="function"&&i.onMatch(E),A?E:!0)};return r&&(f.state=a),f};V.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?is.toPosixSlashes:null),a=e===n,u=a&&o?o(e):e;return a===!1&&(u=o?o(e):e,a=u===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=V.matchBase(e,t,r,i):a=t.exec(u)),{isMatch:Boolean(a),match:a,output:u}};V.matchBase=(e,t,r,n=is.isWindows(r))=>(t instanceof RegExp?t:V.makeRe(t,r)).test(u_.basename(e));V.isMatch=(e,t,r)=>V(t,r)(e);V.parse=(e,t)=>Array.isArray(e)?e.map(r=>V.parse(r,t)):ns(e,{...t,fastpaths:!1});V.scan=(e,t)=>l_(e,t);V.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${e.output})${o}`;e&&e.negated===!0&&(a=`^(?!${a}).*$`);let u=V.toRegex(a,t);return n===!0&&(u.state=e),u};V.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=ns.fastpaths(e,t)),i.output||(i=ns(e,t)),V.compileRe(i,t,r,n)};V.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};V.constants=f_;gf.exports=V});var mf=d((mC,Ef)=>{"use strict";Ef.exports=_f()});var Bf=d((yC,vf)=>{"use strict";var Cf=w("util"),bf=Zl(),ke=mf(),ss=pr(),yf=e=>e===""||e==="./",J=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,o=0,a=l=>{s.add(l.output),r&&r.onResult&&r.onResult(l)};for(let l=0;l<t.length;l++){let A=ke(String(t[l]),{...r,onResult:a},!0),c=A.state.negated||A.state.negatedExtglob;c&&o++;for(let C of e){let _=A(C,!0);!(c?!_.isMatch:_.isMatch)||(c?n.add(_.output):(n.delete(_.output),i.add(_.output)))}}let f=(o===t.length?[...s]:[...i]).filter(l=>!n.has(l));if(r&&f.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(l=>l.replace(/\\/g,"")):t}return f};J.match=J;J.matcher=(e,t)=>ke(e,t);J.isMatch=(e,t,r)=>ke(t,r)(e);J.any=J.isMatch;J.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(J(e,t,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};J.contains=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Cf.inspect(e)}"`);if(Array.isArray(t))return t.some(n=>J.contains(e,n,r));if(typeof t=="string"){if(yf(e)||yf(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return J.isMatch(e,t,{...r,contains:!0})};J.matchKeys=(e,t,r)=>{if(!ss.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=J(Object.keys(e),t,r),i={};for(let s of n)i[s]=e[s];return i};J.some=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=ke(String(i),r);if(n.some(o=>s(o)))return!0}return!1};J.every=(e,t,r)=>{let n=[].concat(e);for(let i of[].concat(t)){let s=ke(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};J.all=(e,t,r)=>{if(typeof e!="string")throw new TypeError(`Expected a string: "${Cf.inspect(e)}"`);return[].concat(t).every(n=>ke(n,r)(e))};J.capture=(e,t,r)=>{let n=ss.isWindows(r),s=ke.makeRe(String(e),{...r,capture:!0}).exec(n?ss.toPosixSlashes(t):t);if(s)return s.slice(1).map(o=>o===void 0?"":o)};J.makeRe=(...e)=>ke.makeRe(...e);J.scan=(...e)=>ke.scan(...e);J.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let i of bf(String(n),t))r.push(ke.parse(i,t));return r};J.braces=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(e)?[e]:bf(e,t)};J.braceExpand=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");return J.braces(e,{...t,expand:!0})};vf.exports=J});var Df=d(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.matchAny=Q.convertPatternsToRe=Q.makeRe=Q.getPatternParts=Q.expandBraceExpansion=Q.expandPatternsWithBraceExpansion=Q.isAffectDepthOfReadingPattern=Q.endsWithSlashGlobStar=Q.hasGlobStar=Q.getBaseDirectory=Q.isPatternRelatedToParentDirectory=Q.getPatternsOutsideCurrentDirectory=Q.getPatternsInsideCurrentDirectory=Q.getPositivePatterns=Q.getNegativePatterns=Q.isPositivePattern=Q.isNegativePattern=Q.convertToNegativePattern=Q.convertToPositivePattern=Q.isDynamicPattern=Q.isStaticPattern=void 0;var A_=w("path"),h_=dl(),os=Bf(),xf="**",p_="\\",d_=/[*?]|^!/,g_=/\[[^[]*]/,__=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,E_=/[!*+?@]\([^(]*\)/,m_=/,|\.\./;function Sf(e,t={}){return!wf(e,t)}Q.isStaticPattern=Sf;function wf(e,t={}){return e===""?!1:!!(t.caseSensitiveMatch===!1||e.includes(p_)||d_.test(e)||g_.test(e)||__.test(e)||t.extglob!==!1&&E_.test(e)||t.braceExpansion!==!1&&y_(e))}Q.isDynamicPattern=wf;function y_(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 m_.test(n)}function C_(e){return pn(e)?e.slice(1):e}Q.convertToPositivePattern=C_;function b_(e){return"!"+e}Q.convertToNegativePattern=b_;function pn(e){return e.startsWith("!")&&e[1]!=="("}Q.isNegativePattern=pn;function Qf(e){return!pn(e)}Q.isPositivePattern=Qf;function v_(e){return e.filter(pn)}Q.getNegativePatterns=v_;function B_(e){return e.filter(Qf)}Q.getPositivePatterns=B_;function x_(e){return e.filter(t=>!as(t))}Q.getPatternsInsideCurrentDirectory=x_;function S_(e){return e.filter(as)}Q.getPatternsOutsideCurrentDirectory=S_;function as(e){return e.startsWith("..")||e.startsWith("./..")}Q.isPatternRelatedToParentDirectory=as;function w_(e){return h_(e,{flipBackslashes:!1})}Q.getBaseDirectory=w_;function Q_(e){return e.includes(xf)}Q.hasGlobStar=Q_;function Rf(e){return e.endsWith("/"+xf)}Q.endsWithSlashGlobStar=Rf;function R_(e){let t=A_.basename(e);return Rf(e)||Sf(t)}Q.isAffectDepthOfReadingPattern=R_;function I_(e){return e.reduce((t,r)=>t.concat(If(r)),[])}Q.expandPatternsWithBraceExpansion=I_;function If(e){return os.braces(e,{expand:!0,nodupes:!0})}Q.expandBraceExpansion=If;function T_(e,t){let{parts:r}=os.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}Q.getPatternParts=T_;function Tf(e,t){return os.makeRe(e,t)}Q.makeRe=Tf;function D_(e,t){return e.map(r=>Tf(r,t))}Q.convertPatternsToRe=D_;function k_(e,t){return t.some(r=>r.test(e))}Q.matchAny=k_});var Nf=d((bC,Lf)=>{"use strict";var O_=w("stream"),kf=O_.PassThrough,L_=Array.prototype.slice;Lf.exports=N_;function N_(){let e=[],t=L_.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=kf(n);function a(){for(let l=0,A=arguments.length;l<A;l++)e.push(Of(arguments[l],n));return u(),this}function u(){if(r)return;r=!0;let l=e.shift();if(!l){process.nextTick(f);return}Array.isArray(l)||(l=[l]);let A=l.length+1;function c(){--A>0||(r=!1,u())}function C(_){function E(){_.removeListener("merge2UnpipeEnd",E),_.removeListener("end",E),s&&_.removeListener("error",B),c()}function B(v){o.emit("error",v)}if(_._readableState.endEmitted)return c();_.on("merge2UnpipeEnd",E),_.on("end",E),s&&_.on("error",B),_.pipe(o,{end:!1}),_.resume()}for(let _=0;_<l.length;_++)C(l[_]);c()}function f(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(l){l.emit("merge2UnpipeEnd")}),t.length&&a.apply(null,t),o}function Of(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=Of(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(kf(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}});var Mf=d(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.merge=void 0;var P_=Nf();function M_(e){let t=P_(e);return e.forEach(r=>{r.once("error",n=>t.emit("error",n))}),t.once("close",()=>Pf(e)),t.once("end",()=>Pf(e)),t}dn.merge=M_;function Pf(e){e.forEach(t=>t.emit("close"))}});var Ff=d(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.isEmpty=Dt.isString=void 0;function F_(e){return typeof e=="string"}Dt.isString=F_;function q_(e){return e===""}Dt.isEmpty=q_});var Me=d(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.string=ie.stream=ie.pattern=ie.path=ie.fs=ie.errno=ie.array=void 0;var j_=sl();ie.array=j_;var H_=ol();ie.errno=H_;var K_=al();ie.fs=K_;var U_=ul();ie.path=U_;var G_=Df();ie.pattern=G_;var $_=Mf();ie.stream=$_;var J_=Ff();ie.string=J_});var Hf=d(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.convertPatternGroupToTask=se.convertPatternGroupsToTasks=se.groupPatternsByBaseDirectory=se.getNegativePatternsAsPositive=se.getPositivePatterns=se.convertPatternsToTasks=se.generate=void 0;var Fe=Me();function Y_(e,t){let r=qf(e),n=jf(e,t.ignore),i=r.filter(u=>Fe.pattern.isStaticPattern(u,t)),s=r.filter(u=>Fe.pattern.isDynamicPattern(u,t)),o=us(i,n,!1),a=us(s,n,!0);return o.concat(a)}se.generate=Y_;function us(e,t,r){let n=[],i=Fe.pattern.getPatternsOutsideCurrentDirectory(e),s=Fe.pattern.getPatternsInsideCurrentDirectory(e),o=ls(i),a=ls(s);return n.push(...fs(o,t,r)),"."in a?n.push(cs(".",s,t,r)):n.push(...fs(a,t,r)),n}se.convertPatternsToTasks=us;function qf(e){return Fe.pattern.getPositivePatterns(e)}se.getPositivePatterns=qf;function jf(e,t){return Fe.pattern.getNegativePatterns(e).concat(t).map(Fe.pattern.convertToPositivePattern)}se.getNegativePatternsAsPositive=jf;function ls(e){let t={};return e.reduce((r,n)=>{let i=Fe.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},t)}se.groupPatternsByBaseDirectory=ls;function fs(e,t,r){return Object.keys(e).map(n=>cs(n,e[n],t,r))}se.convertPatternGroupsToTasks=fs;function cs(e,t,r,n){return{dynamic:n,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(Fe.pattern.convertToNegativePattern))}}se.convertPatternGroupToTask=cs});var Uf=d(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.removeDuplicateSlashes=kt.transform=void 0;var W_=/(?!^)\/{2,}/g;function V_(e){return e.map(t=>Kf(t))}kt.transform=V_;function Kf(e){return e.replace(W_,"/")}kt.removeDuplicateSlashes=Kf});var $f=d(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.read=void 0;function X_(e,t,r){t.fs.lstat(e,(n,i)=>{if(n!==null){Gf(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){As(r,i);return}t.fs.stat(e,(s,o)=>{if(s!==null){if(t.throwErrorOnBrokenSymbolicLink){Gf(r,s);return}As(r,i);return}t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),As(r,o)})})}gn.read=X_;function Gf(e,t){e(t)}function As(e,t){e(null,t)}});var Jf=d(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.read=void 0;function Z_(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}}_n.read=Z_});var Yf=d(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.createFileSystemAdapter=Je.FILE_SYSTEM_ADAPTER=void 0;var En=w("fs");Je.FILE_SYSTEM_ADAPTER={lstat:En.lstat,stat:En.stat,lstatSync:En.lstatSync,statSync:En.statSync};function z_(e){return e===void 0?Je.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Je.FILE_SYSTEM_ADAPTER),e)}Je.createFileSystemAdapter=z_});var Wf=d(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var eE=Yf(),hs=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=eE.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}};ps.default=hs});var At=d(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.statSync=Ye.stat=Ye.Settings=void 0;var Vf=$f(),tE=Jf(),ds=Wf();Ye.Settings=ds.default;function rE(e,t,r){if(typeof t=="function"){Vf.read(e,gs(),t);return}Vf.read(e,gs(t),r)}Ye.stat=rE;function nE(e,t){let r=gs(t);return tE.read(e,r)}Ye.statSync=nE;function gs(e={}){return e instanceof ds.default?e:new ds.default(e)}});var zf=d((kC,Zf)=>{var Xf;Zf.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):e=>(Xf||(Xf=Promise.resolve())).then(e).catch(t=>setTimeout(()=>{throw t},0))});var tc=d((OC,ec)=>{ec.exports=sE;var iE=zf();function sE(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(u){function f(){t&&t(u,r),t=null}s?iE(f):f()}function a(u,f,l){r[u]=l,(--n===0||f)&&o(f)}n?i?i.forEach(function(u){e[u](function(f,l){a(u,f,l)})}):e.forEach(function(u,f){u(function(l,A){a(f,l,A)})}):o(null),s=!1}});var _s=d(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var mn=process.versions.node.split(".");if(mn[0]===void 0||mn[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var rc=Number.parseInt(mn[0],10),oE=Number.parseInt(mn[1],10),nc=10,aE=10,uE=rc>nc,lE=rc===nc&&oE>=aE;yn.IS_SUPPORT_READDIR_WITH_FILE_TYPES=uE||lE});var ic=d(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.createDirentFromStats=void 0;var Es=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 fE(e,t){return new Es(e,t)}Cn.createDirentFromStats=fE});var ms=d(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.fs=void 0;var cE=ic();bn.fs=cE});var ys=d(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.joinPathSegments=void 0;function AE(e,t,r){return e.endsWith(r)?e+t:e+r+t}vn.joinPathSegments=AE});var fc=d(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.readdir=We.readdirWithFileTypes=We.read=void 0;var hE=At(),sc=tc(),pE=_s(),oc=ms(),ac=ys();function dE(e,t,r){if(!t.stats&&pE.IS_SUPPORT_READDIR_WITH_FILE_TYPES){uc(e,t,r);return}lc(e,t,r)}We.read=dE;function uc(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,i)=>{if(n!==null){Bn(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:ac.joinPathSegments(e,a.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){Cs(r,s);return}let o=s.map(a=>gE(a,t));sc(o,(a,u)=>{if(a!==null){Bn(r,a);return}Cs(r,u)})})}We.readdirWithFileTypes=uc;function gE(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=oc.fs.createDirentFromStats(e.name,i),r(null,e)})}}function lc(e,t,r){t.fs.readdir(e,(n,i)=>{if(n!==null){Bn(r,n);return}let s=i.map(o=>{let a=ac.joinPathSegments(e,o,t.pathSegmentSeparator);return u=>{hE.stat(a,t.fsStatSettings,(f,l)=>{if(f!==null){u(f);return}let A={name:o,path:a,dirent:oc.fs.createDirentFromStats(o,l)};t.stats&&(A.stats=l),u(null,A)})}});sc(s,(o,a)=>{if(o!==null){Bn(r,o);return}Cs(r,a)})})}We.readdir=lc;function Bn(e,t){e(t)}function Cs(e,t){e(null,t)}});var dc=d(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.readdir=Ve.readdirWithFileTypes=Ve.read=void 0;var _E=At(),EE=_s(),cc=ms(),Ac=ys();function mE(e,t){return!t.stats&&EE.IS_SUPPORT_READDIR_WITH_FILE_TYPES?hc(e,t):pc(e,t)}Ve.read=mE;function hc(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:Ac.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let s=t.fs.statSync(i.path);i.dirent=cc.fs.createDirentFromStats(i.name,s)}catch(s){if(t.throwErrorOnBrokenSymbolicLink)throw s}return i})}Ve.readdirWithFileTypes=hc;function pc(e,t){return t.fs.readdirSync(e).map(n=>{let i=Ac.joinPathSegments(e,n,t.pathSegmentSeparator),s=_E.statSync(i,t.fsStatSettings),o={name:n,path:i,dirent:cc.fs.createDirentFromStats(n,s)};return t.stats&&(o.stats=s),o})}Ve.readdir=pc});var gc=d(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.createFileSystemAdapter=Xe.FILE_SYSTEM_ADAPTER=void 0;var Ot=w("fs");Xe.FILE_SYSTEM_ADAPTER={lstat:Ot.lstat,stat:Ot.stat,lstatSync:Ot.lstatSync,statSync:Ot.statSync,readdir:Ot.readdir,readdirSync:Ot.readdirSync};function yE(e){return e===void 0?Xe.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Xe.FILE_SYSTEM_ADAPTER),e)}Xe.createFileSystemAdapter=yE});var _c=d(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var CE=w("path"),bE=At(),vE=gc(),bs=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=vE.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,CE.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new bE.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,r){return t??r}};vs.default=bs});var xn=d(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});Ze.Settings=Ze.scandirSync=Ze.scandir=void 0;var Ec=fc(),BE=dc(),Bs=_c();Ze.Settings=Bs.default;function xE(e,t,r){if(typeof t=="function"){Ec.read(e,xs(),t);return}Ec.read(e,xs(t),r)}Ze.scandir=xE;function SE(e,t){let r=xs(t);return BE.read(e,r)}Ze.scandirSync=SE;function xs(e={}){return e instanceof Bs.default?e:new Bs.default(e)}});var yc=d((UC,mc)=>{"use strict";function wE(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}}mc.exports=wE});var bc=d((GC,Ss)=>{"use strict";var QE=yc();function Cc(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=QE(RE),i=null,s=null,o=0,a=null,u={push:E,drain:me,saturated:me,pause:l,paused:!1,concurrency:r,running:f,resume:C,idle:_,length:A,getQueue:c,unshift:B,empty:me,kill:O,killAndDrain:q,error:X};return u;function f(){return o}function l(){u.paused=!0}function A(){for(var x=i,F=0;x;)x=x.next,F++;return F}function c(){for(var x=i,F=[];x;)F.push(x.value),x=x.next;return F}function C(){if(!!u.paused){u.paused=!1;for(var x=0;x<u.concurrency;x++)o++,v()}}function _(){return o===0&&u.length()===0}function E(x,F){var R=n.get();R.context=e,R.release=v,R.value=x,R.callback=F||me,R.errorHandler=a,o===u.concurrency||u.paused?s?(s.next=R,s=R):(i=R,s=R,u.saturated()):(o++,t.call(e,R.value,R.worked))}function B(x,F){var R=n.get();R.context=e,R.release=v,R.value=x,R.callback=F||me,o===u.concurrency||u.paused?i?(R.next=i,i=R):(i=R,s=R,u.saturated()):(o++,t.call(e,R.value,R.worked))}function v(x){x&&n.release(x);var F=i;F?u.paused?o--:(s===i&&(s=null),i=F.next,F.next=null,t.call(e,F.value,F.worked),s===null&&u.empty()):--o===0&&u.drain()}function O(){i=null,s=null,u.drain=me}function q(){i=null,s=null,u.drain(),u.drain=me}function X(x){a=x}}function me(){}function RE(){this.value=null,this.callback=me,this.next=null,this.release=me,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=me,e.errorHandler&&s(r,o),i.call(e.context,r,n),e.release(e)}}function IE(e,t,r){typeof e=="function"&&(r=t,t=e,e=null);function n(l,A){t.call(this,l).then(function(c){A(null,c)},A)}var i=Cc(e,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=u,i.drained=f,i;function a(l){var A=new Promise(function(c,C){s(l,function(_,E){if(_){C(_);return}c(E)})});return A.catch(me),A}function u(l){var A=new Promise(function(c,C){o(l,function(_,E){if(_){C(_);return}c(E)})});return A.catch(me),A}function f(){var l=i.drain,A=new Promise(function(c){i.drain=function(){l(),c()}});return A}}Ss.exports=Cc;Ss.exports.promise=IE});var Sn=d(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.joinPathSegments=Oe.replacePathSegmentSeparator=Oe.isAppliedFilter=Oe.isFatalError=void 0;function TE(e,t){return e.errorFilter===null?!0:!e.errorFilter(t)}Oe.isFatalError=TE;function DE(e,t){return e===null||e(t)}Oe.isAppliedFilter=DE;function kE(e,t){return e.split(/[/\\]/).join(t)}Oe.replacePathSegmentSeparator=kE;function OE(e,t,r){return e===""?t:e.endsWith(r)?e+t:e+r+t}Oe.joinPathSegments=OE});var Rs=d(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});var LE=Sn(),ws=class{constructor(t,r){this._root=t,this._settings=r,this._root=LE.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}};Qs.default=ws});var Ds=d(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var NE=w("events"),PE=xn(),ME=bc(),wn=Sn(),FE=Rs(),Is=class extends FE.default{constructor(t,r){super(t,r),this._settings=r,this._scandir=PE.scandir,this._emitter=new NE.EventEmitter,this._queue=ME(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||!wn.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=wn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),wn.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&wn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};Ts.default=Is});var vc=d(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});var qE=Ds(),ks=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new qE.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(r=>{jE(t,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{HE(t,this._storage)}),this._reader.read()}};Os.default=ks;function jE(e,t){e(t)}function HE(e,t){e(null,t)}});var Bc=d(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});var KE=w("stream"),UE=Ds(),Ls=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new UE.default(this._root,this._settings),this._stream=new KE.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}};Ns.default=Ls});var xc=d(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});var GE=xn(),Qn=Sn(),$E=Rs(),Ps=class extends $E.default{constructor(){super(...arguments),this._scandir=GE.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(!!Qn.isFatalError(this._settings,t))throw t}_handleEntry(t,r){let n=t.path;r!==void 0&&(t.path=Qn.joinPathSegments(r,t.name,this._settings.pathSegmentSeparator)),Qn.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&Qn.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,r===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};Ms.default=Ps});var Sc=d(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});var JE=xc(),Fs=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new JE.default(this._root,this._settings)}read(){return this._reader.read()}};qs.default=Fs});var wc=d(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});var YE=w("path"),WE=xn(),js=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,YE.sep),this.fsScandirSettings=new WE.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}};Hs.default=js});var In=d(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.Settings=Le.walkStream=Le.walkSync=Le.walk=void 0;var Qc=vc(),VE=Bc(),XE=Sc(),Ks=wc();Le.Settings=Ks.default;function ZE(e,t,r){if(typeof t=="function"){new Qc.default(e,Rn()).read(t);return}new Qc.default(e,Rn(t)).read(r)}Le.walk=ZE;function zE(e,t){let r=Rn(t);return new XE.default(e,r).read()}Le.walkSync=zE;function e0(e,t){let r=Rn(t);return new VE.default(e,r).read()}Le.walkStream=e0;function Rn(e={}){return e instanceof Ks.default?e:new Ks.default(e)}});var Tn=d(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});var t0=w("path"),r0=At(),Rc=Me(),Us=class{constructor(t){this._settings=t,this._fsStatSettings=new r0.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:Rc.fs.createDirentFromStats(r,t)};return this._settings.stats&&(n.stats=t),n}_isFatalError(t){return!Rc.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};Gs.default=Us});var Ys=d(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});var n0=w("stream"),i0=At(),s0=In(),o0=Tn(),$s=class extends o0.default{constructor(){super(...arguments),this._walkStream=s0.walkStream,this._stat=i0.stat}dynamic(t,r){return this._walkStream(t,r)}static(t,r){let n=t.map(this._getFullEntryPath,this),i=new n0.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],t[s],r).then(u=>{u!==null&&r.entryFilter(u)&&i.push(u),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))})}};Js.default=$s});var Ic=d(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});var a0=In(),u0=Tn(),l0=Ys(),Ws=class extends u0.default{constructor(){super(...arguments),this._walkAsync=a0.walk,this._readerStream=new l0.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))})}};Vs.default=Ws});var Tc=d(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});var Lt=Me(),Xs=class{constructor(t,r,n){this._patterns=t,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let t=Lt.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 Lt.pattern.getPatternParts(t,this._micromatchOptions).map(n=>Lt.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:Lt.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(t){return Lt.array.splitWhen(t,r=>r.dynamic&&Lt.pattern.hasGlobStar(r.pattern))}};Zs.default=Xs});var Dc=d(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});var f0=Tc(),zs=class extends f0.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((u,f)=>{let l=s.segments[f];return!!(l.dynamic&&l.patternRe.test(u)||!l.dynamic&&l.pattern===u)}))return!0}return!1}};eo.default=zs});var kc=d(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});var Dn=Me(),c0=Dc(),to=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 c0.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let r=t.filter(Dn.pattern.isAffectDepthOfReadingPattern);return Dn.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=Dn.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!Dn.pattern.matchAny(t,r)}};ro.default=to});var Oc=d(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var ht=Me(),no=class{constructor(t,r){this._settings=t,this._micromatchOptions=r,this.index=new Map}getFilter(t,r){let n=ht.pattern.convertPatternsToRe(t,this._micromatchOptions),i=ht.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=ht.path.makeAbsolute(this._settings.cwd,t);return ht.pattern.matchAny(n,r)}_isMatchToPatterns(t,r,n){let i=ht.path.removeLeadingDotSegment(t),s=ht.pattern.matchAny(i,r);return!s&&n?ht.pattern.matchAny(i+"/",r):s}};io.default=no});var Lc=d(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});var A0=Me(),so=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return A0.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};oo.default=so});var Pc=d(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});var Nc=Me(),ao=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let r=t.path;return this._settings.absolute&&(r=Nc.path.makeAbsolute(this._settings.cwd,r),r=Nc.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}};uo.default=ao});var kn=d(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});var h0=w("path"),p0=kc(),d0=Oc(),g0=Lc(),_0=Pc(),lo=class{constructor(t){this._settings=t,this.errorFilter=new g0.default(this._settings),this.entryFilter=new d0.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new p0.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new _0.default(this._settings)}_getRootDirectory(t){return h0.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}}};fo.default=lo});var Mc=d(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var E0=Ic(),m0=kn(),co=class extends m0.default{constructor(){super(...arguments),this._reader=new E0.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)}};Ao.default=co});var Fc=d(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});var y0=w("stream"),C0=Ys(),b0=kn(),ho=class extends b0.default{constructor(){super(...arguments),this._reader=new C0.default(this._settings)}read(t){let r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),s=new y0.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)}};po.default=ho});var qc=d(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});var v0=At(),B0=In(),x0=Tn(),go=class extends x0.default{constructor(){super(...arguments),this._walkSync=B0.walkSync,this._statSync=v0.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)}};_o.default=go});var jc=d(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});var S0=qc(),w0=kn(),Eo=class extends w0.default{constructor(){super(...arguments),this._reader=new S0.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)}};mo.default=Eo});var Hc=d(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Nt=w("fs"),Q0=w("os"),R0=Math.max(Q0.cpus().length,1);Pt.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Nt.lstat,lstatSync:Nt.lstatSync,stat:Nt.stat,statSync:Nt.statSync,readdir:Nt.readdir,readdirSync:Nt.readdirSync};var yo=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,R0),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({},Pt.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};Pt.default=yo});var Bo=d((gb,Gc)=>{"use strict";var Kc=Hf(),Uc=Uf(),I0=Mc(),T0=Fc(),D0=jc(),Co=Hc(),pt=Me();async function bo(e,t){Mt(e);let r=vo(e,I0.default,t),n=await Promise.all(r);return pt.array.flatten(n)}(function(e){function t(o,a){Mt(o);let u=vo(o,D0.default,a);return pt.array.flatten(u)}e.sync=t;function r(o,a){Mt(o);let u=vo(o,T0.default,a);return pt.stream.merge(u)}e.stream=r;function n(o,a){Mt(o);let u=Uc.transform([].concat(o)),f=new Co.default(a);return Kc.generate(u,f)}e.generateTasks=n;function i(o,a){Mt(o);let u=new Co.default(a);return pt.pattern.isDynamicPattern(o,u)}e.isDynamicPattern=i;function s(o){return Mt(o),pt.path.escape(o)}e.escapePath=s})(bo||(bo={}));function vo(e,t,r){let n=Uc.transform([].concat(e)),i=new Co.default(r),s=Kc.generate(n,i),o=new t(i);return s.map(o.read,o)}function Mt(e){if(![].concat(e).every(n=>pt.string.isString(n)&&!pt.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Gc.exports=bo});import{relative as um,resolve as lm}from"path";import{existsSync as fm}from"fs";import{lstat as cm}from"fs/promises";var Po=(e=0)=>t=>`\x1B[${t+e}m`,Mo=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Fo=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`,G={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]}},qo=Object.keys(G.modifier),Pn=Object.keys(G.color),Mn=Object.keys(G.bgColor),jo=[...Pn,...Mn];function _A(){let e=new Map;for(let[t,r]of Object.entries(G)){for(let[n,i]of Object.entries(r))G[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=G[n],e.set(i[0],i[1]);Object.defineProperty(G,t,{value:r,enumerable:!1})}return Object.defineProperty(G,"codes",{value:e,enumerable:!1}),G.color.close="\x1B[39m",G.bgColor.close="\x1B[49m",G.color.ansi=Po(),G.color.ansi256=Mo(),G.color.ansi16m=Fo(),G.bgColor.ansi=Po(10),G.bgColor.ansi256=Mo(10),G.bgColor.ansi16m=Fo(10),Object.defineProperties(G,{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=>G.rgbToAnsi256(...G.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)=>G.ansi256ToAnsi(G.rgbToAnsi256(t,r,n)),enumerable:!1},hexToAnsi:{value:t=>G.ansi256ToAnsi(G.hexToAnsi256(t)),enumerable:!1}}),G}var EA=_A(),ye=EA;import Fn from"node:process";import mA from"node:os";import Ho from"node:tty";function he(e,t=Fn.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:Z}=Fn,vr;he("no-color")||he("no-colors")||he("color=false")||he("color=never")?vr=0:(he("color")||he("colors")||he("color=true")||he("color=always"))&&(vr=1);function yA(){if("FORCE_COLOR"in Z)return Z.FORCE_COLOR==="true"?1:Z.FORCE_COLOR==="false"?0:Z.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Z.FORCE_COLOR,10),3)}function CA(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function bA(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=yA();n!==void 0&&(vr=n);let i=r?vr:n;if(i===0)return 0;if(r){if(he("color=16m")||he("color=full")||he("color=truecolor"))return 3;if(he("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let s=i||0;if(Z.TERM==="dumb")return s;if(Fn.platform==="win32"){let o=mA.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Z)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in Z)||Z.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Z)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Z.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in Z&&"AGENT_NAME"in Z)return 1;if(Z.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Z){let o=Number.parseInt((Z.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Z.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Z.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Z.TERM)||"COLORTERM"in Z?1:s}function Ko(e,t={}){let r=bA(e,{streamIsTTY:e&&e.isTTY,...t});return CA(r)}var vA={stdout:Ko({isTTY:Ho.isatty(1)}),stderr:Ko({isTTY:Ho.isatty(2)})},Uo=vA;function Go(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 $o(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
@@ -26,7 +26,7 @@ import ReactDOM from "react-dom";
26
26
  `,eA=e=>{let t=` ${e} `;Ce(L.bgBlue(L.bold(L.white(t))))};var om=async()=>{let e;if(Er("dist")||await nA("dist"),Er("dist/package.json")?e=JSON.parse(await iA("dist/package.json","utf-8")):e={},e?.module==="module")return!0;e.type="module",await em("dist/package.json",JSON.stringify(e,null,2))},tA=(e,t,r)=>{t=Kt(t);let n=wo(t);return{stdin:{contents:e,sourcefile:t,resolveDir:sA(t),loader:r},outdir:void 0,outfile:n}},rA=async(e,t,r)=>{e=Kt(e),t=Kt(t);let o=["yarn tailwindcss",r?"":"--minify","--postcss postcss.config.js",`-i ${e}`,`-o ${t}`];Er(Kt(process.cwd(),"tailwind.config.js"))&&o.push("--config tailwind.config.js");let a=yt({log:!1,stdio:"ignore"}),u=o.join(" "),{code:f,stdout:l,stderr:A}=await a.run(u);if(f!==0)throw new Error(`Building CSS bundle exited with code ${f} for ${e}.
27
27
  \rTried running: ${u}.
28
28
  \rError: ${l+A}`)},am=`
29
- 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)}})();
29
+ 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)}}
30
30
  `,Ln=async({input:e="src/**/*",styles:t="src/components/index.css",target:r="esnext",dev:n=!1,bundle:i=!1,runtimeOnly:s=!1,jsOnly:o=!1,noWrite:a=!1,stdin:u=void 0,stdinFile:f=void 0})=>{zc.NODE_ENV=n?"development":"production";let l=de(Ln);n&&(s=!0);let{cwd:A,srcDir:c,outDir:C}=So(),_=await Jc(),E=JSON.parse(_),B={treeShaking:i,target:r,minify:!n,jsx:"transform",jsxFactory:"React.createElement",format:"esm",charset:"utf8",logLevel:n?"warning":"error",define:{"process.env.NODE_ENV":n?JSON.stringify("development"):JSON.stringify("production")}},v=["esbuild","*.png"],O=Kt(A,"tsconfig.export.json"),q=Er(O),X={...B,tsconfig:q?O:void 0,bundle:i,absWorkingDir:A,outbase:"src",outdir:"dist",assetNames:"[name].js",format:"esm",target:"esnext",platform:E?.platform??"node",write:!a,external:i?v:void 0,banner:i?{js:am}:void 0},x="";if(u){l.log("Building file from stdin",{stdin:u,stdinFile:f,noWrite:a}),f||(Ce(L.red("ERROR: --stdin-file must be specified to emulate a file location when using stdin.")),process.exit(1)),typeof u=="string"&&u.length?x=u:x=await ko();let b={...B,sourcefile:f,loader:"tsx",banner:void 0,footer:void 0};if(a)return(await im(x,b)).code;{let D=tA(x,f,"tsx");await qe(async()=>await Oo({...X,...D}),{start:"Building stdin to dist/.",success:"Built stdin to dist/.",error:"Error building stdin to dist/."}),Ce(L.grey("Use --no-write to print to stdout instead."));return}}l.log("Building",{files:e,dev:n,runtimeOnly:s}),eA(`${L.bold("TS Module")} [${zc.NODE_ENV}]`);let F=Lo.default.sync(e,{cwd:A}).filter(b=>tm(b)!==".d.ts").map(b=>Kt(b));if(rm(e)){F.length||F.push(e);let b=e.replace(c,C).replace(qt,".js").replace(dt,".js");l.log("Cleaning emitted file:",{outfile:b}),await Zc(b,{force:!0})}else l.log("Cleaning old output:",{outDir:C}),await Zc(C,{force:!0,recursive:!0});let R=F.filter(b=>dt.test(b));l.log("Compiling TSX files:",{tsxJsxInput:R});let S=R.filter(b=>!b.endsWith(".d.ts"));await qe(async()=>await Promise.all(S.map(async b=>{let D=await iA(b,"utf-8"),le=sm+D,h=tA(le,b,"tsx");await Oo({...X,...h})})),{start:"Compiling TSX files.",success:"Compiled TSX files.",error:"Failed to compile TSX files."});let P=F.filter(b=>qt.test(b)).filter(b=>!dt.test(b));l.log("Compiling TS files:",{tsJsInput:P}),await qe(async()=>await Oo({...X,entryPoints:P.filter(b=>!b.endsWith(".d.ts"))}),{start:"Compiling TS/JS files.",success:"Compiled TS/JS files.",error:"Failed to compile TS/JS files."});let ee=F.filter(b=>!$c.test(b));if(await qe(async()=>{for(let b of ee){let D=wo(b);l.log("Copying non-source file:",{file:b,emittedFile:D}),await nA(sA(D),{recursive:!0}),await z0(b,D,Z0.COPYFILE_FICLONE)}},{start:"Copying non-source files to dist/.",success:"Copied non-source files to dist/.",error:"Failed to copy non-source files to dist/."}),!process.env.NO_REWRITES){let b=e.replace(c,C).replace(/^(\.\/)?src\//,"dist/").replace(qt,".js").replace(dt,".js");l.log("Normalizing import specifiers in emitted JS.",{emittedJs:b}),await qe(async()=>await On(b.endsWith(".js")?b:`${b}.js`),{start:"Normalizing import specifiers.",success:"Normalized import specifiers.",error:"Failed to normalize import specifiers."}),await On(b.endsWith(".js")?b:`${b}.js`)}if(await om()&&lt('Forced "type": "module" in output.').succeed(),!s){if(!o)if(Er(nm(t))){l.log("Building styles for production.");let{style:b="./dist/bundle.css"}=E;if(l.log("Building style bundle.",{bundleInput:t,bundleOutput:b,dev:n}),await qe(async()=>await rA(t,b,n),{start:"Bundling styles with Tailwind.",success:"Bundled styles with Tailwind.",error:"Failed to bundle styles."}),i){l.log("Bundling all styles.");let D=Lo.default.sync("dist/**/*.css");await qe(async()=>await Promise.all(D.map(async le=>await rA(le,le,n))),{start:"Bundling emitted styles",success:`Bundled all styles to ${L.bold(b)}.`,error:"Failed to bundle styles."})}}else Ce(L.grey(`Bundle styles not found for this project.
31
31
  \rChecked: `+L.bold(t)));eA("Running post-build setup."),await qe(async()=>await Qo(),{start:"Generating type declarations.",success:`Generated declarations for ${F.length} files.`,error:"Failed to generate type declarations."}),Ce(L.green("Build complete."))}};var oA=()=>{console.clear()},aA=e=>{Ce(`
32
32
  `,L.gray(`Built ${L.bold(e)}.`),`
@@ -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
  import{spawn as G,execSync as Y}from"child_process";import A from"node:process";import V from"node:os";import j from"node:tty";typeof document>"u"&&await(async()=>{let{dirname:r}=await import("path"),{fileURLToPath:e}=await import("url");if(typeof globalThis.__filename>"u"&&(globalThis.__filename=e(import.meta.url)),typeof globalThis.__dirname>"u"&&(globalThis.__dirname=r(globalThis.__filename)),typeof globalThis.require>"u"){let{default:t}=await import("module");globalThis.require=t.createRequire(import.meta.url)}})();var M=(r=0)=>e=>`\x1B[${e+r}m`,_=(r=0)=>e=>`\x1B[${38+r};5;${e}m`,I=(r=0)=>(e,t,o)=>`\x1B[${38+r};2;${e};${t};${o}m`;function F(){let r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[t,o]of Object.entries(e)){for(let[l,i]of Object.entries(o))e[l]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},o[l]=e[l],r.set(i[0],i[1]);Object.defineProperty(e,t,{value:o,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi=M(),e.color.ansi256=_(),e.color.ansi16m=I(),e.bgColor.ansi=M(10),e.bgColor.ansi256=_(10),e.bgColor.ansi16m=I(10),Object.defineProperties(e,{rgbToAnsi256:{value:(t,o,l)=>t===o&&o===l?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(o/255*5)+Math.round(l/255*5),enumerable:!1},hexToRgb:{value:t=>{let o=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(t.toString(16));if(!o)return[0,0,0];let{colorString:l}=o.groups;l.length===3&&(l=[...l].map(n=>n+n).join(""));let i=Number.parseInt(l,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>e.rgbToAnsi256(...e.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let o,l,i;if(t>=232)o=((t-232)*10+8)/255,l=o,i=o;else{t-=16;let u=t%36;o=Math.floor(t/36)/5,l=Math.floor(u/6)/5,i=u%6/5}let n=Math.max(o,l,i)*2;if(n===0)return 30;let a=30+(Math.round(i)<<2|Math.round(l)<<1|Math.round(o));return n===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(t,o,l)=>e.ansi256ToAnsi(e.rgbToAnsi256(t,o,l)),enumerable:!1},hexToAnsi:{value:t=>e.ansi256ToAnsi(e.hexToAnsi256(t)),enumerable:!1}}),e}var U=F(),p=U;function c(r,e=A.argv){let t=r.startsWith("-")?"":r.length===1?"-":"--",o=e.indexOf(t+r),l=e.indexOf("--");return o!==-1&&(l===-1||o<l)}var{env:s}=A,R;c("no-color")||c("no-colors")||c("color=false")||c("color=never")?R=0:(c("color")||c("colors")||c("color=true")||c("color=always"))&&(R=1);function W(){if("FORCE_COLOR"in s)return s.FORCE_COLOR==="true"?1:s.FORCE_COLOR==="false"?0:s.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(s.FORCE_COLOR,10),3)}function D(r){return r===0?!1:{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function J(r,{streamIsTTY:e,sniffFlags:t=!0}={}){let o=W();o!==void 0&&(R=o);let l=t?R:o;if(l===0)return 0;if(t){if(c("color=16m")||c("color=full")||c("color=truecolor"))return 3;if(c("color=256"))return 2}if(r&&!e&&l===void 0)return 0;let i=l||0;if(s.TERM==="dumb")return i;if(A.platform==="win32"){let n=V.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(n=>n in s)||s.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("TF_BUILD"in s&&"AGENT_NAME"in s)return 1;if(s.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in s){let n=Number.parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:i}function S(r,e={}){let t=J(r,{streamIsTTY:r&&r.isTTY,...e});return D(t)}var q={stdout:S({isTTY:j.isatty(1)}),stderr:S({isTTY:j.isatty(2)})},K=q;function H(r,e,t){let o=r.indexOf(e);if(o===-1)return r;let l=e.length,i=0,n="";do n+=r.substr(i,o-i)+e+t,i=o+l,o=r.indexOf(e,i);while(o!==-1);return n+=r.slice(i),n}function Q(r,e,t,o){let l=0,i="";do{let n=r[o-1]==="\r";i+=r.substr(l,(n?o-1:o)-l)+e+(n?`\r
5
5
  `:`