jk-ui-cli 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,339 +1,8 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';var commander=require('commander'),fs=require('fs'),ue=require('path'),child_process=require('child_process'),url=require('url'),cs=require('prompts'),gr=require('chalk'),zod=require('zod');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var ue__default=/*#__PURE__*/_interopDefault(ue);var cs__default=/*#__PURE__*/_interopDefault(cs);var gr__default=/*#__PURE__*/_interopDefault(gr);var wn=Object.create;var ut=Object.defineProperty;var xn=Object.getOwnPropertyDescriptor;var Sn=Object.getOwnPropertyNames;var En=Object.getPrototypeOf,kn=Object.prototype.hasOwnProperty;var R=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var c=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var Rn=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sn(e))!kn.call(r,n)&&n!==t&&ut(r,n,{get:()=>e[n],enumerable:!(i=xn(e,n))||i.enumerable});return r};var Pn=(r,e,t)=>(t=r!=null?wn(En(r)):{},Rn(ut(t,"default",{value:r,enumerable:true}),r));var ht=c((Ds,wr)=>{var dt=(r,e)=>{for(let t of Reflect.ownKeys(e))Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t));return r};wr.exports=dt;wr.exports.default=dt;});var gt=c((Os,je)=>{var Tn=ht(),Me=new WeakMap,pt=(r,e={})=>{if(typeof r!="function")throw new TypeError("Expected a function");let t,i=0,n=r.displayName||r.name||"<anonymous>",o=function(...a){if(Me.set(o,++i),i===1)t=r.apply(this,a),r=null;else if(e.throw===true)throw new Error(`Function \`${n}\` can only be called once`);return t};return Tn(o,r),Me.set(o,i),o};je.exports=pt;je.exports.default=pt;je.exports.callCount=r=>{if(!Me.has(r))throw new Error(`The given function \`${r.name}\` is not wrapped by the \`onetime\` package`);return Me.get(r)};});var vt=c((Ls,De)=>{De.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&De.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&De.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");});var wt=c((Bs,oe)=>{var _=global.process,Y=function(r){return r&&typeof r=="object"&&typeof r.removeListener=="function"&&typeof r.emit=="function"&&typeof r.reallyExit=="function"&&typeof r.listeners=="function"&&typeof r.kill=="function"&&typeof r.pid=="number"&&typeof r.on=="function"};Y(_)?(mt=R("assert"),ie=vt(),_t=/^win/i.test(_.platform),he=R("events"),typeof he!="function"&&(he=he.EventEmitter),_.__signal_exit_emitter__?k=_.__signal_exit_emitter__:(k=_.__signal_exit_emitter__=new he,k.count=0,k.emitted={}),k.infinite||(k.setMaxListeners(1/0),k.infinite=true),oe.exports=function(r,e){if(!Y(global.process))return function(){};mt.equal(typeof r,"function","a callback must be provided for exit handler"),ne===false&&xr();var t="exit";e&&e.alwaysLast&&(t="afterexit");var i=function(){k.removeListener(t,r),k.listeners("exit").length===0&&k.listeners("afterexit").length===0&&Oe();};return k.on(t,r),i},Oe=function(){!ne||!Y(global.process)||(ne=false,ie.forEach(function(e){try{_.removeListener(e,Le[e]);}catch{}}),_.emit=Be,_.reallyExit=Sr,k.count-=1);},oe.exports.unload=Oe,V=function(e,t,i){k.emitted[e]||(k.emitted[e]=true,k.emit(e,t,i));},Le={},ie.forEach(function(r){Le[r]=function(){if(Y(global.process)){var t=_.listeners(r);t.length===k.count&&(Oe(),V("exit",null,r),V("afterexit",null,r),_t&&r==="SIGHUP"&&(r="SIGINT"),_.kill(_.pid,r));}};}),oe.exports.signals=function(){return ie},ne=false,xr=function(){ne||!Y(global.process)||(ne=true,k.count+=1,ie=ie.filter(function(e){try{return _.on(e,Le[e]),!0}catch{return false}}),_.emit=yt,_.reallyExit=bt);},oe.exports.load=xr,Sr=_.reallyExit,bt=function(e){Y(global.process)&&(_.exitCode=e||0,V("exit",_.exitCode,null),V("afterexit",_.exitCode,null),Sr.call(_,_.exitCode));},Be=_.emit,yt=function(e,t){if(e==="exit"&&Y(global.process)){t!==void 0&&(_.exitCode=t);var i=Be.apply(this,arguments);return V("exit",_.exitCode,null),V("afterexit",_.exitCode,null),i}else return Be.apply(this,arguments)}):oe.exports=function(){return function(){}};var mt,ie,_t,he,k,Oe,V,Le,ne,xr,Sr,bt,Be,yt;});var St=c((Fs,xt)=>{var Cn=gt(),An=wt();xt.exports=Cn(()=>{An(()=>{process.stderr.write("\x1B[?25h");},{alwaysLast:true});});});var Et=c(ae=>{var In=St(),Fe=false;ae.show=(r=process.stderr)=>{r.isTTY&&(Fe=false,r.write("\x1B[?25h"));};ae.hide=(r=process.stderr)=>{r.isTTY&&(In(),Fe=true,r.write("\x1B[?25l"));};ae.toggle=(r,e)=>{r!==void 0&&(Fe=r),Fe?ae.show(e):ae.hide(e);};});var kt=c((qs,Mn)=>{Mn.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]}};});var Tt=c((Us,Pt)=>{var Ne=Object.assign({},kt()),Rt=Object.keys(Ne);Object.defineProperty(Ne,"random",{get(){let r=Math.floor(Math.random()*Rt.length),e=Rt[r];return Ne[e]}});Pt.exports=Ne;});var Er=c(($s,Ct)=>{Ct.exports=()=>process.platform!=="win32"?true:!!process.env.CI||!!process.env.WT_SESSION||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty";});var It=c((Ws,At)=>{var N=R("chalk"),jn=Er(),Dn={info:N.blue("\u2139"),success:N.green("\u2714"),warning:N.yellow("\u26A0"),error:N.red("\u2716")},On={info:N.blue("i"),success:N.green("\u221A"),warning:N.yellow("\u203C"),error:N.red("\xD7")};At.exports=jn()?Dn:On;});var jt=c((Gs,Mt)=>{Mt.exports=({onlyFirst:r=false}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,r?void 0:"g")};});var Ot=c((Hs,Dt)=>{var Ln=jt();Dt.exports=r=>typeof r=="string"?r.replace(Ln(),""):r;});var Lt=c((Js,qe)=>{var Bn=(function(){function r(a,s,l,u){typeof s=="object"&&(l=s.depth,u=s.prototype,s.filter,s=s.circular);var d=[],m=[],y=typeof Buffer<"u";typeof s>"u"&&(s=true),typeof l>"u"&&(l=1/0);function T(h,I){if(h===null)return null;if(I==0)return h;var w,B;if(typeof h!="object")return h;if(r.__isArray(h))w=[];else if(r.__isRegExp(h))w=new RegExp(h.source,o(h)),h.lastIndex&&(w.lastIndex=h.lastIndex);else if(r.__isDate(h))w=new Date(h.getTime());else {if(y&&Buffer.isBuffer(h))return Buffer.allocUnsafe?w=Buffer.allocUnsafe(h.length):w=new Buffer(h.length),h.copy(w),w;typeof u>"u"?(B=Object.getPrototypeOf(h),w=Object.create(B)):(w=Object.create(u),B=u);}if(s){var Ie=d.indexOf(h);if(Ie!=-1)return m[Ie];d.push(h),m.push(w);}for(var br in h){var yr;B&&(yr=Object.getOwnPropertyDescriptor(B,br)),!(yr&&yr.set==null)&&(w[br]=T(h[br],I-1));}return w}return T(a,l)}r.clonePrototype=function(s){if(s===null)return null;var l=function(){};return l.prototype=s,new l};function e(a){return Object.prototype.toString.call(a)}r.__objToStr=e;function t(a){return typeof a=="object"&&e(a)==="[object Date]"}r.__isDate=t;function i(a){return typeof a=="object"&&e(a)==="[object Array]"}r.__isArray=i;function n(a){return typeof a=="object"&&e(a)==="[object RegExp]"}r.__isRegExp=n;function o(a){var s="";return a.global&&(s+="g"),a.ignoreCase&&(s+="i"),a.multiline&&(s+="m"),s}return r.__getRegExpFlags=o,r})();typeof qe=="object"&&qe.exports&&(qe.exports=Bn);});var Ft=c((Ys,Bt)=>{var Fn=Lt();Bt.exports=function(r,e){return r=r||{},Object.keys(e).forEach(function(t){typeof r[t]>"u"&&(r[t]=Fn(e[t]));}),r};});var qt=c((Vs,Nt)=>{Nt.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 Gt=c((Ks,kr)=>{var Nn=Ft(),pe=qt(),$t={nul:0,control:0};kr.exports=function(e){return Wt(e,$t)};kr.exports.config=function(r){return r=Nn(r||{},$t),function(t){return Wt(t,r)}};function Wt(r,e){if(typeof r!="string")return Ut(r,e);for(var t=0,i=0;i<r.length;i++){var n=Ut(r.charCodeAt(i),e);if(n<0)return -1;t+=n;}return t}function Ut(r,e){return r===0?e.nul:r<32||r>=127&&r<160?e.control:qn(r)?0:1+(r>=4352&&(r<=4447||r==9001||r==9002||r>=11904&&r<=42191&&r!=12351||r>=44032&&r<=55203||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65135||r>=65280&&r<=65376||r>=65504&&r<=65510||r>=131072&&r<=196605||r>=196608&&r<=262141))}function qn(r){var e=0,t=pe.length-1,i;if(r<pe[0][0]||r>pe[t][1])return false;for(;t>=e;)if(i=Math.floor((e+t)/2),r>pe[i][1])e=i+1;else if(r<pe[i][0])t=i-1;else return true;return false}});var Jt=c((zs,Ht)=>{Ht.exports=({stream:r=process.stdout}={})=>!!(r&&r.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env));});var Rr=c((Xs,Yt)=>{Yt.exports=R("stream");});var Qt=c((Zs,Zt)=>{function Vt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i);}return t}function Kt(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Vt(Object(t),true).forEach(function(i){Un(r,i,t[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Vt(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i));});}return r}function Un(r,e,t){return e=Xt(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:true,configurable:true,writable:true}):r[e]=t,r}function $n(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function zt(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||false,i.configurable=true,"value"in i&&(i.writable=true),Object.defineProperty(r,Xt(i.key),i);}}function Wn(r,e,t){return e&&zt(r.prototype,e),Object.defineProperty(r,"prototype",{writable:false}),r}function Xt(r){var e=Gn(r,"string");return typeof e=="symbol"?e:String(e)}function Gn(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(r)}var Hn=R("buffer"),Ue=Hn.Buffer,Jn=R("util"),Pr=Jn.inspect,Yn=Pr&&Pr.custom||"inspect";function Vn(r,e,t){Ue.prototype.copy.call(r,e,t);}Zt.exports=(function(){function r(){$n(this,r),this.head=null,this.tail=null,this.length=0;}return Wn(r,[{key:"push",value:function(t){var i={data:t,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length;}},{key:"unshift",value:function(t){var i={data:t,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length;}},{key:"shift",value:function(){if(this.length!==0){var t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0;}},{key:"join",value:function(t){if(this.length===0)return "";for(var i=this.head,n=""+i.data;i=i.next;)n+=t+i.data;return n}},{key:"concat",value:function(t){if(this.length===0)return Ue.alloc(0);for(var i=Ue.allocUnsafe(t>>>0),n=this.head,o=0;n;)Vn(n.data,i,o),o+=n.data.length,n=n.next;return i}},{key:"consume",value:function(t,i){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):t===this.head.data.length?n=this.shift():n=i?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var i=this.head,n=1,o=i.data;for(t-=o.length;i=i.next;){var a=i.data,s=t>a.length?a.length:t;if(s===a.length?o+=a:o+=a.slice(0,t),t-=s,t===0){s===a.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=a.slice(s));break}++n;}return this.length-=n,o}},{key:"_getBuffer",value:function(t){var i=Ue.allocUnsafe(t),n=this.head,o=1;for(n.data.copy(i),t-=n.data.length;n=n.next;){var a=n.data,s=t>a.length?a.length:t;if(a.copy(i,i.length-t,0,s),t-=s,t===0){s===a.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=a.slice(s));break}++o;}return this.length-=o,i}},{key:Yn,value:function(t,i){return Pr(this,Kt(Kt({},i),{},{depth:0,customInspect:false}))}}]),r})();});var Cr=c((Qs,ri)=>{function Kn(r,e){var t=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(e?e(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=true,process.nextTick(Tr,this,r)):process.nextTick(Tr,this,r)),this):(this._readableState&&(this._readableState.destroyed=true),this._writableState&&(this._writableState.destroyed=true),this._destroy(r||null,function(o){!e&&o?t._writableState?t._writableState.errorEmitted?process.nextTick($e,t):(t._writableState.errorEmitted=true,process.nextTick(ei,t,o)):process.nextTick(ei,t,o):e?(process.nextTick($e,t),e(o)):process.nextTick($e,t);}),this)}function ei(r,e){Tr(r,e),$e(r);}function $e(r){r._writableState&&!r._writableState.emitClose||r._readableState&&!r._readableState.emitClose||r.emit("close");}function zn(){this._readableState&&(this._readableState.destroyed=false,this._readableState.reading=false,this._readableState.ended=false,this._readableState.endEmitted=false),this._writableState&&(this._writableState.destroyed=false,this._writableState.ended=false,this._writableState.ending=false,this._writableState.finalCalled=false,this._writableState.prefinished=false,this._writableState.finished=false,this._writableState.errorEmitted=false);}function Tr(r,e){r.emit("error",e);}function Xn(r,e){var t=r._readableState,i=r._writableState;t&&t.autoDestroy||i&&i.autoDestroy?r.destroy(e):r.emit("error",e);}ri.exports={destroy:Kn,undestroy:zn,errorOrDestroy:Xn};});var q=c((el,ni)=>{var ii={};function M(r,e,t){t||(t=Error);function i(o,a,s){return typeof e=="string"?e:e(o,a,s)}class n extends t{constructor(a,s,l){super(i(a,s,l));}}n.prototype.name=t.name,n.prototype.code=r,ii[r]=n;}function ti(r,e){if(Array.isArray(r)){let t=r.length;return r=r.map(i=>String(i)),t>2?`one of ${e} ${r.slice(0,t-1).join(", ")}, or `+r[t-1]:t===2?`one of ${e} ${r[0]} or ${r[1]}`:`of ${e} ${r[0]}`}else return `of ${e} ${String(r)}`}function Zn(r,e,t){return r.substr(0,e.length)===e}function Qn(r,e,t){return (t===void 0||t>r.length)&&(t=r.length),r.substring(t-e.length,t)===e}function eo(r,e,t){return typeof t!="number"&&(t=0),t+e.length>r.length?false:r.indexOf(e,t)!==-1}M("ERR_INVALID_OPT_VALUE",function(r,e){return 'The value "'+e+'" is invalid for option "'+r+'"'},TypeError);M("ERR_INVALID_ARG_TYPE",function(r,e,t){let i;typeof e=="string"&&Zn(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let n;if(Qn(r," argument"))n=`The ${r} ${i} ${ti(e,"type")}`;else {let o=eo(r,".")?"property":"argument";n=`The "${r}" ${o} ${i} ${ti(e,"type")}`;}return n+=`. Received type ${typeof t}`,n},TypeError);M("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");M("ERR_METHOD_NOT_IMPLEMENTED",function(r){return "The "+r+" method is not implemented"});M("ERR_STREAM_PREMATURE_CLOSE","Premature close");M("ERR_STREAM_DESTROYED",function(r){return "Cannot call "+r+" after a stream was destroyed"});M("ERR_MULTIPLE_CALLBACK","Callback called multiple times");M("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");M("ERR_STREAM_WRITE_AFTER_END","write after end");M("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);M("ERR_UNKNOWN_ENCODING",function(r){return "Unknown encoding: "+r},TypeError);M("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ni.exports.codes=ii;});var Ar=c((rl,oi)=>{var ro=q().codes.ERR_INVALID_OPT_VALUE;function to(r,e,t){return r.highWaterMark!=null?r.highWaterMark:e?r[t]:null}function io(r,e,t,i){var n=to(e,i,t);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?t:"highWaterMark";throw new ro(o,n)}return Math.floor(n)}return r.objectMode?16:16*1024}oi.exports={getHighWaterMark:io};});var ai=c((tl,Ir)=>{typeof Object.create=="function"?Ir.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}}));}:Ir.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e;}};});var K=c((il,jr)=>{try{if(Mr=R("util"),typeof Mr.inherits!="function")throw "";jr.exports=Mr.inherits;}catch{jr.exports=ai();}var Mr;});var li=c((nl,si)=>{si.exports=R("util").deprecate;});var Lr=c((ol,pi)=>{pi.exports=b;function fi(r){var e=this;this.next=null,this.entry=null,this.finish=function(){Io(e,r);};}var se;b.WritableState=ve;var no={deprecate:li()},ui=Rr(),Ge=R("buffer").Buffer,oo=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ao(r){return Ge.from(r)}function so(r){return Ge.isBuffer(r)||r instanceof oo}var Or=Cr(),lo=Ar(),co=lo.getHighWaterMark,U=q().codes,fo=U.ERR_INVALID_ARG_TYPE,uo=U.ERR_METHOD_NOT_IMPLEMENTED,ho=U.ERR_MULTIPLE_CALLBACK,po=U.ERR_STREAM_CANNOT_PIPE,go=U.ERR_STREAM_DESTROYED,vo=U.ERR_STREAM_NULL_VALUES,mo=U.ERR_STREAM_WRITE_AFTER_END,_o=U.ERR_UNKNOWN_ENCODING,le=Or.errorOrDestroy;K()(b,ui);function bo(){}function ve(r,e,t){se=se||z(),r=r||{},typeof t!="boolean"&&(t=e instanceof se),this.objectMode=!!r.objectMode,t&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=co(this,r,"writableHighWaterMark",t),this.finalCalled=false,this.needDrain=false,this.ending=false,this.ended=false,this.finished=false,this.destroyed=false;var i=r.decodeStrings===false;this.decodeStrings=!i,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=false,this.corked=0,this.sync=true,this.bufferProcessing=false,this.onwrite=function(n){Ro(e,n);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=false,this.errorEmitted=false,this.emitClose=r.emitClose!==false,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new fi(this);}ve.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t};(function(){try{Object.defineProperty(ve.prototype,"buffer",{get:no.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var We;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(We=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return We.call(this,e)?true:this!==b?false:e&&e._writableState instanceof ve}})):We=function(e){return e instanceof this};function b(r){se=se||z();var e=this instanceof se;if(!e&&!We.call(b,this))return new b(r);this._writableState=new ve(r,this,e),this.writable=true,r&&(typeof r.write=="function"&&(this._write=r.write),typeof r.writev=="function"&&(this._writev=r.writev),typeof r.destroy=="function"&&(this._destroy=r.destroy),typeof r.final=="function"&&(this._final=r.final)),ui.call(this);}b.prototype.pipe=function(){le(this,new po);};function yo(r,e){var t=new mo;le(r,t),process.nextTick(e,t);}function wo(r,e,t,i){var n;return t===null?n=new vo:typeof t!="string"&&!e.objectMode&&(n=new fo("chunk",["string","Buffer"],t)),n?(le(r,n),process.nextTick(i,n),false):true}b.prototype.write=function(r,e,t){var i=this._writableState,n=false,o=!i.objectMode&&so(r);return o&&!Ge.isBuffer(r)&&(r=ao(r)),typeof e=="function"&&(t=e,e=null),o?e="buffer":e||(e=i.defaultEncoding),typeof t!="function"&&(t=bo),i.ending?yo(this,t):(o||wo(this,i,r,t))&&(i.pendingcb++,n=So(this,i,o,r,e,t)),n};b.prototype.cork=function(){this._writableState.corked++;};b.prototype.uncork=function(){var r=this._writableState;r.corked&&(r.corked--,!r.writing&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&di(this,r));};b.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new _o(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(b.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});function xo(r,e,t){return !r.objectMode&&r.decodeStrings!==false&&typeof e=="string"&&(e=Ge.from(e,t)),e}Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function So(r,e,t,i,n,o){if(!t){var a=xo(e,i,n);i!==a&&(t=true,n="buffer",i=a);}var s=e.objectMode?1:i.length;e.length+=s;var l=e.length<e.highWaterMark;if(l||(e.needDrain=true),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:n,isBuf:t,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1;}else Dr(r,e,false,s,i,n,o);return l}function Dr(r,e,t,i,n,o,a){e.writelen=i,e.writecb=a,e.writing=true,e.sync=true,e.destroyed?e.onwrite(new go("write")):t?r._writev(n,e.onwrite):r._write(n,o,e.onwrite),e.sync=false;}function Eo(r,e,t,i,n){--e.pendingcb,t?(process.nextTick(n,i),process.nextTick(ge,r,e),r._writableState.errorEmitted=true,le(r,i)):(n(i),r._writableState.errorEmitted=true,le(r,i),ge(r,e));}function ko(r){r.writing=false,r.writecb=null,r.length-=r.writelen,r.writelen=0;}function Ro(r,e){var t=r._writableState,i=t.sync,n=t.writecb;if(typeof n!="function")throw new ho;if(ko(t),e)Eo(r,t,i,e,n);else {var o=hi(t)||r.destroyed;!o&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&di(r,t),i?process.nextTick(ci,r,t,o,n):ci(r,t,o,n);}}function ci(r,e,t,i){t||Po(r,e),e.pendingcb--,i(),ge(r,e);}function Po(r,e){e.length===0&&e.needDrain&&(e.needDrain=false,r.emit("drain"));}function di(r,e){e.bufferProcessing=true;var t=e.bufferedRequest;if(r._writev&&t&&t.next){var i=e.bufferedRequestCount,n=new Array(i),o=e.corkedRequestsFree;o.entry=t;for(var a=0,s=true;t;)n[a]=t,t.isBuf||(s=false),t=t.next,a+=1;n.allBuffers=s,Dr(r,e,true,e.length,n,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new fi(e),e.bufferedRequestCount=0;}else {for(;t;){var l=t.chunk,u=t.encoding,g=t.callback,d=e.objectMode?1:l.length;if(Dr(r,e,false,d,l,u,g),t=t.next,e.bufferedRequestCount--,e.writing)break}t===null&&(e.lastBufferedRequest=null);}e.bufferedRequest=t,e.bufferProcessing=false;}b.prototype._write=function(r,e,t){t(new uo("_write()"));};b.prototype._writev=null;b.prototype.end=function(r,e,t){var i=this._writableState;return typeof r=="function"?(t=r,r=null,e=null):typeof e=="function"&&(t=e,e=null),r!=null&&this.write(r,e),i.corked&&(i.corked=1,this.uncork()),i.ending||Ao(this,i,t),this};Object.defineProperty(b.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function hi(r){return r.ending&&r.length===0&&r.bufferedRequest===null&&!r.finished&&!r.writing}function To(r,e){r._final(function(t){e.pendingcb--,t&&le(r,t),e.prefinished=true,r.emit("prefinish"),ge(r,e);});}function Co(r,e){!e.prefinished&&!e.finalCalled&&(typeof r._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=true,process.nextTick(To,r,e)):(e.prefinished=true,r.emit("prefinish")));}function ge(r,e){var t=hi(e);if(t&&(Co(r,e),e.pendingcb===0&&(e.finished=true,r.emit("finish"),e.autoDestroy))){var i=r._readableState;(!i||i.autoDestroy&&i.endEmitted)&&r.destroy();}return t}function Ao(r,e,t){e.ending=true,ge(r,e),t&&(e.finished?process.nextTick(t):r.once("finish",t)),e.ended=true,r.writable=false;}function Io(r,e,t){var i=r.entry;for(r.entry=null;i;){var n=i.callback;e.pendingcb--,n(t),i=i.next;}e.corkedRequestsFree.next=r;}Object.defineProperty(b.prototype,"destroyed",{enumerable:false,get:function(){return this._writableState===void 0?false:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e);}});b.prototype.destroy=Or.destroy;b.prototype._undestroy=Or.undestroy;b.prototype._destroy=function(r,e){e(r);};});var z=c((al,vi)=>{var Mo=Object.keys||function(r){var e=[];for(var t in r)e.push(t);return e};vi.exports=O;var gi=Nr(),Fr=Lr();K()(O,gi);for(Br=Mo(Fr.prototype),He=0;He<Br.length;He++)Je=Br[He],O.prototype[Je]||(O.prototype[Je]=Fr.prototype[Je]);var Br,Je,He;function O(r){if(!(this instanceof O))return new O(r);gi.call(this,r),Fr.call(this,r),this.allowHalfOpen=true,r&&(r.readable===false&&(this.readable=false),r.writable===false&&(this.writable=false),r.allowHalfOpen===false&&(this.allowHalfOpen=false,this.once("end",jo)));}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(O.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(O.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function jo(){this._writableState.ended||process.nextTick(Do,this);}function Do(r){r.end();}Object.defineProperty(O.prototype,"destroyed",{enumerable:false,get:function(){return this._readableState===void 0||this._writableState===void 0?false:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e);}});});var bi=c((qr,_i)=>{var Ye=R("buffer"),L=Ye.Buffer;function mi(r,e){for(var t in r)e[t]=r[t];}L.from&&L.alloc&&L.allocUnsafe&&L.allocUnsafeSlow?_i.exports=Ye:(mi(Ye,qr),qr.Buffer=X);function X(r,e,t){return L(r,e,t)}X.prototype=Object.create(L.prototype);mi(L,X);X.from=function(r,e,t){if(typeof r=="number")throw new TypeError("Argument must not be a number");return L(r,e,t)};X.alloc=function(r,e,t){if(typeof r!="number")throw new TypeError("Argument must be a number");var i=L(r);return e!==void 0?typeof t=="string"?i.fill(e,t):i.fill(e):i.fill(0),i};X.allocUnsafe=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return L(r)};X.allocUnsafeSlow=function(r){if(typeof r!="number")throw new TypeError("Argument must be a number");return Ye.SlowBuffer(r)};});var Wr=c(wi=>{var $r=bi().Buffer,yi=$r.isEncoding||function(r){switch(r=""+r,r&&r.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 true;default:return false}};function Oo(r){if(!r)return "utf8";for(var e;;)switch(r){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 r;default:if(e)return;r=(""+r).toLowerCase(),e=true;}}function Lo(r){var e=Oo(r);if(typeof e!="string"&&($r.isEncoding===yi||!yi(r)))throw new Error("Unknown encoding: "+r);return e||r}wi.StringDecoder=me;function me(r){this.encoding=Lo(r);var e;switch(this.encoding){case "utf16le":this.text=$o,this.end=Wo,e=4;break;case "utf8":this.fillLast=No,e=4;break;case "base64":this.text=Go,this.end=Ho,e=3;break;default:this.write=Jo,this.end=Yo;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=$r.allocUnsafe(e);}me.prototype.write=function(r){if(r.length===0)return "";var e,t;if(this.lastNeed){if(e=this.fillLast(r),e===void 0)return "";t=this.lastNeed,this.lastNeed=0;}else t=0;return t<r.length?e?e+this.text(r,t):this.text(r,t):e||""};me.prototype.end=Uo;me.prototype.text=qo;me.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length;};function Ur(r){return r<=127?0:r>>5===6?2:r>>4===14?3:r>>3===30?4:r>>6===2?-1:-2}function Bo(r,e,t){var i=e.length-1;if(i<t)return 0;var n=Ur(e[i]);return n>=0?(n>0&&(r.lastNeed=n-1),n):--i<t||n===-2?0:(n=Ur(e[i]),n>=0?(n>0&&(r.lastNeed=n-2),n):--i<t||n===-2?0:(n=Ur(e[i]),n>=0?(n>0&&(n===2?n=0:r.lastNeed=n-3),n):0))}function Fo(r,e,t){if((e[0]&192)!==128)return r.lastNeed=0,"\uFFFD";if(r.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return r.lastNeed=1,"\uFFFD";if(r.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return r.lastNeed=2,"\uFFFD"}}function No(r){var e=this.lastTotal-this.lastNeed,t=Fo(this,r);if(t!==void 0)return t;if(this.lastNeed<=r.length)return r.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,e,0,r.length),this.lastNeed-=r.length;}function qo(r,e){var t=Bo(this,r,e);if(!this.lastNeed)return r.toString("utf8",e);this.lastTotal=t;var i=r.length-(t-this.lastNeed);return r.copy(this.lastChar,0,i),r.toString("utf8",e,i)}function Uo(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+"\uFFFD":e}function $o(r,e){if((r.length-e)%2===0){var t=r.toString("utf16le",e);if(t){var i=t.charCodeAt(t.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",e,r.length-1)}function Wo(r){var e=r&&r.length?this.write(r):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function Go(r,e){var t=(r.length-e)%3;return t===0?r.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",e,r.length-t))}function Ho(r){var e=r&&r.length?this.write(r):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Jo(r){return r.toString(this.encoding)}function Yo(r){return r&&r.length?this.write(r):""}});var Ve=c((ll,Ei)=>{var xi=q().codes.ERR_STREAM_PREMATURE_CLOSE;function Vo(r){var e=false;return function(){if(!e){e=true;for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];r.apply(this,i);}}}function Ko(){}function zo(r){return r.setHeader&&typeof r.abort=="function"}function Si(r,e,t){if(typeof e=="function")return Si(r,null,e);e||(e={}),t=Vo(t||Ko);var i=e.readable||e.readable!==false&&r.readable,n=e.writable||e.writable!==false&&r.writable,o=function(){r.writable||s();},a=r._writableState&&r._writableState.finished,s=function(){n=false,a=true,i||t.call(r);},l=r._readableState&&r._readableState.endEmitted,u=function(){i=false,l=true,n||t.call(r);},g=function(T){t.call(r,T);},d=function(){var T;if(i&&!l)return (!r._readableState||!r._readableState.ended)&&(T=new xi),t.call(r,T);if(n&&!a)return (!r._writableState||!r._writableState.ended)&&(T=new xi),t.call(r,T)},m=function(){r.req.on("finish",s);};return zo(r)?(r.on("complete",s),r.on("abort",d),r.req?m():r.on("request",m)):n&&!r._writableState&&(r.on("end",o),r.on("close",o)),r.on("end",u),r.on("finish",s),e.error!==false&&r.on("error",g),r.on("close",d),function(){r.removeListener("complete",s),r.removeListener("abort",d),r.removeListener("request",m),r.req&&r.req.removeListener("finish",s),r.removeListener("end",o),r.removeListener("close",o),r.removeListener("finish",s),r.removeListener("end",u),r.removeListener("error",g),r.removeListener("close",d);}}Ei.exports=Si;});var Ri=c((cl,ki)=>{var Ke;function $(r,e,t){return e=Xo(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:true,configurable:true,writable:true}):r[e]=t,r}function Xo(r){var e=Zo(r,"string");return typeof e=="symbol"?e:String(e)}function Zo(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (e==="string"?String:Number)(r)}var Qo=Ve(),W=Symbol("lastResolve"),Z=Symbol("lastReject"),_e=Symbol("error"),ze=Symbol("ended"),Q=Symbol("lastPromise"),Gr=Symbol("handlePromise"),ee=Symbol("stream");function G(r,e){return {value:r,done:e}}function ea(r){var e=r[W];if(e!==null){var t=r[ee].read();t!==null&&(r[Q]=null,r[W]=null,r[Z]=null,e(G(t,false)));}}function ra(r){process.nextTick(ea,r);}function ta(r,e){return function(t,i){r.then(function(){if(e[ze]){t(G(void 0,true));return}e[Gr](t,i);},i);}}var ia=Object.getPrototypeOf(function(){}),na=Object.setPrototypeOf((Ke={get stream(){return this[ee]},next:function(){var e=this,t=this[_e];if(t!==null)return Promise.reject(t);if(this[ze])return Promise.resolve(G(void 0,true));if(this[ee].destroyed)return new Promise(function(a,s){process.nextTick(function(){e[_e]?s(e[_e]):a(G(void 0,true));});});var i=this[Q],n;if(i)n=new Promise(ta(i,this));else {var o=this[ee].read();if(o!==null)return Promise.resolve(G(o,false));n=new Promise(this[Gr]);}return this[Q]=n,n}},$(Ke,Symbol.asyncIterator,function(){return this}),$(Ke,"return",function(){var e=this;return new Promise(function(t,i){e[ee].destroy(null,function(n){if(n){i(n);return}t(G(void 0,true));});})}),Ke),ia),oa=function(e){var t,i=Object.create(na,(t={},$(t,ee,{value:e,writable:true}),$(t,W,{value:null,writable:true}),$(t,Z,{value:null,writable:true}),$(t,_e,{value:null,writable:true}),$(t,ze,{value:e._readableState.endEmitted,writable:true}),$(t,Gr,{value:function(o,a){var s=i[ee].read();s?(i[Q]=null,i[W]=null,i[Z]=null,o(G(s,false))):(i[W]=o,i[Z]=a);},writable:true}),t));return i[Q]=null,Qo(e,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[Z];o!==null&&(i[Q]=null,i[W]=null,i[Z]=null,o(n)),i[_e]=n;return}var a=i[W];a!==null&&(i[Q]=null,i[W]=null,i[Z]=null,a(G(void 0,true))),i[ze]=true;}),e.on("readable",ra.bind(null,i)),i};ki.exports=oa;});var Ai=c((fl,Ci)=>{function Pi(r,e,t,i,n,o,a){try{var s=r[o](a),l=s.value;}catch(u){t(u);return}s.done?e(l):Promise.resolve(l).then(i,n);}function aa(r){return function(){var e=this,t=arguments;return new Promise(function(i,n){var o=r.apply(e,t);function a(l){Pi(o,i,n,a,s,"next",l);}function s(l){Pi(o,i,n,a,s,"throw",l);}a(void 0);})}}function Ti(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),t.push.apply(t,i);}return t}function sa(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ti(Object(t),true).forEach(function(i){la(r,i,t[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ti(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i));});}return r}function la(r,e,t){return e=ca(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:true,configurable:true,writable:true}):r[e]=t,r}function ca(r){var e=fa(r,"string");return typeof e=="symbol"?e:String(e)}function fa(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var i=t.call(r,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (e==="string"?String:Number)(r)}var ua=q().codes.ERR_INVALID_ARG_TYPE;function da(r,e,t){var i;if(e&&typeof e.next=="function")i=e;else if(e&&e[Symbol.asyncIterator])i=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])i=e[Symbol.iterator]();else throw new ua("iterable",["Iterable"],e);var n=new r(sa({objectMode:true},t)),o=false;n._read=function(){o||(o=true,a());};function a(){return s.apply(this,arguments)}function s(){return s=aa(function*(){try{var l=yield i.next(),u=l.value,g=l.done;g?n.push(null):n.push(yield u)?a():o=!1;}catch(d){n.destroy(d);}}),s.apply(this,arguments)}return n}Ci.exports=da;});var Nr=c((dl,qi)=>{qi.exports=p;var ce;p.ReadableState=Di;R("events").EventEmitter;var ji=function(e,t){return e.listeners(t).length},ye=Rr(),Xe=R("buffer").Buffer,ha=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pa(r){return Xe.from(r)}function ga(r){return Xe.isBuffer(r)||r instanceof ha}var Hr=R("util"),f;Hr&&Hr.debuglog?f=Hr.debuglog("stream"):f=function(){};var va=Qt(),Zr=Cr(),ma=Ar(),_a=ma.getHighWaterMark,Ze=q().codes,ba=Ze.ERR_INVALID_ARG_TYPE,ya=Ze.ERR_STREAM_PUSH_AFTER_EOF,wa=Ze.ERR_METHOD_NOT_IMPLEMENTED,xa=Ze.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,fe,Jr,Yr;K()(p,ye);var be=Zr.errorOrDestroy,Vr=["error","close","destroy","pause","resume"];function Sa(r,e,t){if(typeof r.prependListener=="function")return r.prependListener(e,t);!r._events||!r._events[e]?r.on(e,t):Array.isArray(r._events[e])?r._events[e].unshift(t):r._events[e]=[t,r._events[e]];}function Di(r,e,t){ce=ce||z(),r=r||{},typeof t!="boolean"&&(t=e instanceof ce),this.objectMode=!!r.objectMode,t&&(this.objectMode=this.objectMode||!!r.readableObjectMode),this.highWaterMark=_a(this,r,"readableHighWaterMark",t),this.buffer=new va,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=false,this.endEmitted=false,this.reading=false,this.sync=true,this.needReadable=false,this.emittedReadable=false,this.readableListening=false,this.resumeScheduled=false,this.paused=true,this.emitClose=r.emitClose!==false,this.autoDestroy=!!r.autoDestroy,this.destroyed=false,this.defaultEncoding=r.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=false,this.decoder=null,this.encoding=null,r.encoding&&(fe||(fe=Wr().StringDecoder),this.decoder=new fe(r.encoding),this.encoding=r.encoding);}function p(r){if(ce=ce||z(),!(this instanceof p))return new p(r);var e=this instanceof ce;this._readableState=new Di(r,this,e),this.readable=true,r&&(typeof r.read=="function"&&(this._read=r.read),typeof r.destroy=="function"&&(this._destroy=r.destroy)),ye.call(this);}Object.defineProperty(p.prototype,"destroyed",{enumerable:false,get:function(){return this._readableState===void 0?false:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e);}});p.prototype.destroy=Zr.destroy;p.prototype._undestroy=Zr.undestroy;p.prototype._destroy=function(r,e){e(r);};p.prototype.push=function(r,e){var t=this._readableState,i;return t.objectMode?i=true:typeof r=="string"&&(e=e||t.defaultEncoding,e!==t.encoding&&(r=Xe.from(r,e),e=""),i=true),Oi(this,r,e,false,i)};p.prototype.unshift=function(r){return Oi(this,r,null,true,false)};function Oi(r,e,t,i,n){f("readableAddChunk",e);var o=r._readableState;if(e===null)o.reading=false,Ra(r,o);else {var a;if(n||(a=Ea(o,e)),a)be(r,a);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==Xe.prototype&&(e=pa(e)),i)o.endEmitted?be(r,new xa):Kr(r,o,e,true);else if(o.ended)be(r,new ya);else {if(o.destroyed)return false;o.reading=false,o.decoder&&!t?(e=o.decoder.write(e),o.objectMode||e.length!==0?Kr(r,o,e,false):Xr(r,o)):Kr(r,o,e,false);}else i||(o.reading=false,Xr(r,o));}return !o.ended&&(o.length<o.highWaterMark||o.length===0)}function Kr(r,e,t,i){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,r.emit("data",t)):(e.length+=e.objectMode?1:t.length,i?e.buffer.unshift(t):e.buffer.push(t),e.needReadable&&Qe(r)),Xr(r,e);}function Ea(r,e){var t;return !ga(e)&&typeof e!="string"&&e!==void 0&&!r.objectMode&&(t=new ba("chunk",["string","Buffer","Uint8Array"],e)),t}p.prototype.isPaused=function(){return this._readableState.flowing===false};p.prototype.setEncoding=function(r){fe||(fe=Wr().StringDecoder);var e=new fe(r);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var t=this._readableState.buffer.head,i="";t!==null;)i+=e.write(t.data),t=t.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Ii=1073741824;function ka(r){return r>=Ii?r=Ii:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r}function Mi(r,e){return r<=0||e.length===0&&e.ended?0:e.objectMode?1:r!==r?e.flowing&&e.length?e.buffer.head.data.length:e.length:(r>e.highWaterMark&&(e.highWaterMark=ka(r)),r<=e.length?r:e.ended?e.length:(e.needReadable=true,0))}p.prototype.read=function(r){f("read",r),r=parseInt(r,10);var e=this._readableState,t=r;if(r!==0&&(e.emittedReadable=false),r===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?zr(this):Qe(this),null;if(r=Mi(r,e),r===0&&e.ended)return e.length===0&&zr(this),null;var i=e.needReadable;f("need readable",i),(e.length===0||e.length-r<e.highWaterMark)&&(i=true,f("length less than watermark",i)),e.ended||e.reading?(i=false,f("reading or ended",i)):i&&(f("do read"),e.reading=true,e.sync=true,e.length===0&&(e.needReadable=true),this._read(e.highWaterMark),e.sync=false,e.reading||(r=Mi(t,e)));var n;return r>0?n=Fi(r,e):n=null,n===null?(e.needReadable=e.length<=e.highWaterMark,r=0):(e.length-=r,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=true),t!==r&&e.ended&&zr(this)),n!==null&&this.emit("data",n),n};function Ra(r,e){if(f("onEofChunk"),!e.ended){if(e.decoder){var t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length);}e.ended=true,e.sync?Qe(r):(e.needReadable=false,e.emittedReadable||(e.emittedReadable=true,Li(r)));}}function Qe(r){var e=r._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=false,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=true,process.nextTick(Li,r));}function Li(r){var e=r._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(r.emit("readable"),e.emittedReadable=false),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Qr(r);}function Xr(r,e){e.readingMore||(e.readingMore=true,process.nextTick(Pa,r,e));}function Pa(r,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var t=e.length;if(f("maybeReadMore read 0"),r.read(0),t===e.length)break}e.readingMore=false;}p.prototype._read=function(r){be(this,new wa("_read()"));};p.prototype.pipe=function(r,e){var t=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=r;break;case 1:i.pipes=[i.pipes,r];break;default:i.pipes.push(r);break}i.pipesCount+=1,f("pipe count=%d opts=%j",i.pipesCount,e);var n=(!e||e.end!==false)&&r!==process.stdout&&r!==process.stderr,o=n?s:h;i.endEmitted?process.nextTick(o):t.once("end",o),r.on("unpipe",a);function a(I,w){f("onunpipe"),I===t&&w&&w.hasUnpiped===false&&(w.hasUnpiped=true,g());}function s(){f("onend"),r.end();}var l=Ta(t);r.on("drain",l);var u=false;function g(){f("cleanup"),r.removeListener("close",y),r.removeListener("finish",T),r.removeListener("drain",l),r.removeListener("error",m),r.removeListener("unpipe",a),t.removeListener("end",s),t.removeListener("end",h),t.removeListener("data",d),u=true,i.awaitDrain&&(!r._writableState||r._writableState.needDrain)&&l();}t.on("data",d);function d(I){f("ondata");var w=r.write(I);f("dest.write",w),w===false&&((i.pipesCount===1&&i.pipes===r||i.pipesCount>1&&Ni(i.pipes,r)!==-1)&&!u&&(f("false write response, pause",i.awaitDrain),i.awaitDrain++),t.pause());}function m(I){f("onerror",I),h(),r.removeListener("error",m),ji(r,"error")===0&&be(r,I);}Sa(r,"error",m);function y(){r.removeListener("finish",T),h();}r.once("close",y);function T(){f("onfinish"),r.removeListener("close",y),h();}r.once("finish",T);function h(){f("unpipe"),t.unpipe(r);}return r.emit("pipe",t),i.flowing||(f("pipe resume"),t.resume()),r};function Ta(r){return function(){var t=r._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&ji(r,"data")&&(t.flowing=true,Qr(r));}}p.prototype.unpipe=function(r){var e=this._readableState,t={hasUnpiped:false};if(e.pipesCount===0)return this;if(e.pipesCount===1)return r&&r!==e.pipes?this:(r||(r=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=false,r&&r.emit("unpipe",this,t),this);if(!r){var i=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=false;for(var o=0;o<n;o++)i[o].emit("unpipe",this,{hasUnpiped:false});return this}var a=Ni(e.pipes,r);return a===-1?this:(e.pipes.splice(a,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),r.emit("unpipe",this,t),this)};p.prototype.on=function(r,e){var t=ye.prototype.on.call(this,r,e),i=this._readableState;return r==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==false&&this.resume()):r==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=true,i.flowing=false,i.emittedReadable=false,f("on readable",i.length,i.reading),i.length?Qe(this):i.reading||process.nextTick(Ca,this)),t};p.prototype.addListener=p.prototype.on;p.prototype.removeListener=function(r,e){var t=ye.prototype.removeListener.call(this,r,e);return r==="readable"&&process.nextTick(Bi,this),t};p.prototype.removeAllListeners=function(r){var e=ye.prototype.removeAllListeners.apply(this,arguments);return (r==="readable"||r===void 0)&&process.nextTick(Bi,this),e};function Bi(r){var e=r._readableState;e.readableListening=r.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=true:r.listenerCount("data")>0&&r.resume();}function Ca(r){f("readable nexttick read 0"),r.read(0);}p.prototype.resume=function(){var r=this._readableState;return r.flowing||(f("resume"),r.flowing=!r.readableListening,Aa(this,r)),r.paused=false,this};function Aa(r,e){e.resumeScheduled||(e.resumeScheduled=true,process.nextTick(Ia,r,e));}function Ia(r,e){f("resume",e.reading),e.reading||r.read(0),e.resumeScheduled=false,r.emit("resume"),Qr(r),e.flowing&&!e.reading&&r.read(0);}p.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==false&&(f("pause"),this._readableState.flowing=false,this.emit("pause")),this._readableState.paused=true,this};function Qr(r){var e=r._readableState;for(f("flow",e.flowing);e.flowing&&r.read()!==null;);}p.prototype.wrap=function(r){var e=this,t=this._readableState,i=false;r.on("end",function(){if(f("wrapped end"),t.decoder&&!t.ended){var a=t.decoder.end();a&&a.length&&e.push(a);}e.push(null);}),r.on("data",function(a){if(f("wrapped data"),t.decoder&&(a=t.decoder.write(a)),!(t.objectMode&&a==null)&&!(!t.objectMode&&(!a||!a.length))){var s=e.push(a);s||(i=true,r.pause());}});for(var n in r)this[n]===void 0&&typeof r[n]=="function"&&(this[n]=(function(s){return function(){return r[s].apply(r,arguments)}})(n));for(var o=0;o<Vr.length;o++)r.on(Vr[o],this.emit.bind(this,Vr[o]));return this._read=function(a){f("wrapped _read",a),i&&(i=false,r.resume());},this};typeof Symbol=="function"&&(p.prototype[Symbol.asyncIterator]=function(){return Jr===void 0&&(Jr=Ri()),Jr(this)});Object.defineProperty(p.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(p.prototype,"readableBuffer",{enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(p.prototype,"readableFlowing",{enumerable:false,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e);}});p._fromList=Fi;Object.defineProperty(p.prototype,"readableLength",{enumerable:false,get:function(){return this._readableState.length}});function Fi(r,e){if(e.length===0)return null;var t;return e.objectMode?t=e.buffer.shift():!r||r>=e.length?(e.decoder?t=e.buffer.join(""):e.buffer.length===1?t=e.buffer.first():t=e.buffer.concat(e.length),e.buffer.clear()):t=e.buffer.consume(r,e.decoder),t}function zr(r){var e=r._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=true,process.nextTick(Ma,e,r));}function Ma(r,e){if(f("endReadableNT",r.endEmitted,r.length),!r.endEmitted&&r.length===0&&(r.endEmitted=true,e.readable=false,e.emit("end"),r.autoDestroy)){var t=e._writableState;(!t||t.autoDestroy&&t.finished)&&e.destroy();}}typeof Symbol=="function"&&(p.from=function(r,e){return Yr===void 0&&(Yr=Ai()),Yr(p,r,e)});function Ni(r,e){for(var t=0,i=r.length;t<i;t++)if(r[t]===e)return t;return -1}});var et=c((hl,$i)=>{$i.exports=F;var er=q().codes,ja=er.ERR_METHOD_NOT_IMPLEMENTED,Da=er.ERR_MULTIPLE_CALLBACK,Oa=er.ERR_TRANSFORM_ALREADY_TRANSFORMING,La=er.ERR_TRANSFORM_WITH_LENGTH_0,rr=z();K()(F,rr);function Ba(r,e){var t=this._transformState;t.transforming=false;var i=t.writecb;if(i===null)return this.emit("error",new Da);t.writechunk=null,t.writecb=null,e!=null&&this.push(e),i(r);var n=this._readableState;n.reading=false,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}function F(r){if(!(this instanceof F))return new F(r);rr.call(this,r),this._transformState={afterTransform:Ba.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=true,this._readableState.sync=false,r&&(typeof r.transform=="function"&&(this._transform=r.transform),typeof r.flush=="function"&&(this._flush=r.flush)),this.on("prefinish",Fa);}function Fa(){var r=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,t){Ui(r,e,t);}):Ui(this,null,null);}F.prototype.push=function(r,e){return this._transformState.needTransform=false,rr.prototype.push.call(this,r,e)};F.prototype._transform=function(r,e,t){t(new ja("_transform()"));};F.prototype._write=function(r,e,t){var i=this._transformState;if(i.writecb=t,i.writechunk=r,i.writeencoding=e,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}};F.prototype._read=function(r){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=true,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=true;};F.prototype._destroy=function(r,e){rr.prototype._destroy.call(this,r,function(t){e(t);});};function Ui(r,e,t){if(e)return r.emit("error",e);if(t!=null&&r.push(t),r._writableState.length)throw new La;if(r._transformState.transforming)throw new Oa;return r.push(null)}});var Hi=c((pl,Gi)=>{Gi.exports=we;var Wi=et();K()(we,Wi);function we(r){if(!(this instanceof we))return new we(r);Wi.call(this,r);}we.prototype._transform=function(r,e,t){t(null,r);};});var zi=c((gl,Ki)=>{var rt;function Na(r){var e=false;return function(){e||(e=true,r.apply(void 0,arguments));}}var Vi=q().codes,qa=Vi.ERR_MISSING_ARGS,Ua=Vi.ERR_STREAM_DESTROYED;function Ji(r){if(r)throw r}function $a(r){return r.setHeader&&typeof r.abort=="function"}function Wa(r,e,t,i){i=Na(i);var n=false;r.on("close",function(){n=true;}),rt===void 0&&(rt=Ve()),rt(r,{readable:e,writable:t},function(a){if(a)return i(a);n=true,i();});var o=false;return function(a){if(!n&&!o){if(o=true,$a(r))return r.abort();if(typeof r.destroy=="function")return r.destroy();i(a||new Ua("pipe"));}}}function Yi(r){r();}function Ga(r,e){return r.pipe(e)}function Ha(r){return !r.length||typeof r[r.length-1]!="function"?Ji:r.pop()}function Ja(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];var i=Ha(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new qa("streams");var n,o=e.map(function(a,s){var l=s<e.length-1,u=s>0;return Wa(a,l,u,function(g){n||(n=g),g&&o.forEach(Yi),!l&&(o.forEach(Yi),i(n));})});return e.reduce(Ga)}Ki.exports=Ja;});var Xi=c((j,Se)=>{var xe=R("stream");process.env.READABLE_STREAM==="disable"&&xe?(Se.exports=xe.Readable,Object.assign(Se.exports,xe),Se.exports.Stream=xe):(j=Se.exports=Nr(),j.Stream=xe||j,j.Readable=j,j.Writable=Lr(),j.Duplex=z(),j.Transform=et(),j.PassThrough=Hi(),j.finished=Ve(),j.pipeline=zi());});var en=c((vl,Qi)=>{var{Buffer:D}=R("buffer"),Zi=Symbol.for("BufferList");function v(r){if(!(this instanceof v))return new v(r);v._init.call(this,r);}v._init=function(e){Object.defineProperty(this,Zi,{value:true}),this._bufs=[],this.length=0,e&&this.append(e);};v.prototype._new=function(e){return new v(e)};v.prototype._offset=function(e){if(e===0)return [0,0];let t=0;for(let i=0;i<this._bufs.length;i++){let n=t+this._bufs[i].length;if(e<n||i===this._bufs.length-1)return [i,e-t];t=n;}};v.prototype._reverseOffset=function(r){let e=r[0],t=r[1];for(let i=0;i<e;i++)t+=this._bufs[i].length;return t};v.prototype.get=function(e){if(e>this.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]};v.prototype.slice=function(e,t){return typeof e=="number"&&e<0&&(e+=this.length),typeof t=="number"&&t<0&&(t+=this.length),this.copy(null,0,e,t)};v.prototype.copy=function(e,t,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return e||D.alloc(0);let o=!!e,a=this._offset(i),s=n-i,l=s,u=o&&t||0,g=a[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:D.concat(this._bufs,this.length);for(let d=0;d<this._bufs.length;d++)this._bufs[d].copy(e,u),u+=this._bufs[d].length;return e}if(l<=this._bufs[a[0]].length-g)return o?this._bufs[a[0]].copy(e,t,g,g+l):this._bufs[a[0]].slice(g,g+l);o||(e=D.allocUnsafe(s));for(let d=a[0];d<this._bufs.length;d++){let m=this._bufs[d].length-g;if(l>m)this._bufs[d].copy(e,u,g),u+=m;else {this._bufs[d].copy(e,u,g,g+l),u+=m;break}l-=m,g&&(g=0);}return e.length>u?e.slice(0,u):e};v.prototype.shallowSlice=function(e,t){if(e=e||0,t=typeof t!="number"?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let i=this._offset(e),n=this._offset(t),o=this._bufs.slice(i[0],n[0]+1);return n[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,n[1]),i[1]!==0&&(o[0]=o[0].slice(i[1])),this._new(o)};v.prototype.toString=function(e,t,i){return this.slice(t,i).toString(e)};v.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else {this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};v.prototype.duplicate=function(){let e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e};v.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(D.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let t=0;t<e.length;t++)this.append(e[t]);else if(this._isBufferList(e))for(let t=0;t<e._bufs.length;t++)this.append(e._bufs[t]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(D.from(e));return this};v.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length;};v.prototype.indexOf=function(r,e,t){if(t===void 0&&typeof e=="string"&&(t=e,e=void 0),typeof r=="function"||Array.isArray(r))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof r=="number"?r=D.from([r]):typeof r=="string"?r=D.from(r,t):this._isBufferList(r)?r=r.slice():Array.isArray(r.buffer)?r=D.from(r.buffer,r.byteOffset,r.byteLength):D.isBuffer(r)||(r=D.from(r)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),r.length===0)return e>this.length?this.length:e;let i=this._offset(e),n=i[0],o=i[1];for(;n<this._bufs.length;n++){let a=this._bufs[n];for(;o<a.length;)if(a.length-o>=r.length){let l=a.indexOf(r,o);if(l!==-1)return this._reverseOffset([n,l]);o=a.length-r.length+1;}else {let l=this._reverseOffset([n,o]);if(this._match(l,r))return l;o++;}o=0;}return -1};v.prototype._match=function(r,e){if(this.length-r<e.length)return false;for(let t=0;t<e.length;t++)if(this.get(r+t)!==e[t])return false;return true};(function(){let r={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 e in r)(function(t){r[t]===null?v.prototype[t]=function(i,n){return this.slice(i,i+n)[t](0,n)}:v.prototype[t]=function(i=0){return this.slice(i,i+r[t])[t](0)};})(e);})();v.prototype._isBufferList=function(e){return e instanceof v||v.isBufferList(e)};v.isBufferList=function(e){return e!=null&&e[Zi]};Qi.exports=v;});var rn=c((ml,tr)=>{var tt=Xi().Duplex,Ya=K(),Ee=en();function C(r){if(!(this instanceof C))return new C(r);if(typeof r=="function"){this._callback=r;let e=function(i){this._callback&&(this._callback(i),this._callback=null);}.bind(this);this.on("pipe",function(i){i.on("error",e);}),this.on("unpipe",function(i){i.removeListener("error",e);}),r=null;}Ee._init.call(this,r),tt.call(this);}Ya(C,tt);Object.assign(C.prototype,Ee.prototype);C.prototype._new=function(e){return new C(e)};C.prototype._write=function(e,t,i){this._appendBuffer(e),typeof i=="function"&&i();};C.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e);};C.prototype.end=function(e){tt.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null);};C.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e);};C.prototype._isBufferList=function(e){return e instanceof C||e instanceof Ee||C.isBufferList(e)};C.isBufferList=Ee.isBufferList;tr.exports=C;tr.exports.BufferListStream=C;tr.exports.BufferList=Ee;});var nn=c((_l,at)=>{var Va=R("readline"),Ka=R("chalk"),tn=Et(),ir=Tt(),nr=It(),za=Ot(),Xa=Gt(),Za=Jt(),Qa=Er(),{BufferListStream:es}=rn(),it=Symbol("text"),nt=Symbol("prefixText"),rs=3,ot=class{constructor(){this.requests=0,this.mutedStream=new es,this.mutedStream.pipe(process.stdout);let e=this;this.ourEmit=function(t,i,...n){let{stdin:o}=process;if(e.requests>0||o.emit===e.ourEmit){if(t==="keypress")return;t==="data"&&i.includes(rs)&&process.emit("SIGINT"),Reflect.apply(e.oldEmit,this,[t,i,...n]);}else Reflect.apply(process.stdin.emit,this,[t,i,...n]);};}start(){this.requests++,this.requests===1&&this.realStart();}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop();}realStart(){process.platform!=="win32"&&(this.rl=Va.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"));}));}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0);}},or,ar=class{constructor(e){or||(or=new ot),typeof e=="string"&&(e={text:e}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==false,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:Za({stream:this.stream}),this.isSilent=typeof this.options.isSilent=="boolean"?this.options.isSilent:false,this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=false;}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=e;}_updateInterval(e){e!==void 0&&(this.interval=e);}get spinner(){return this._spinner}set spinner(e){if(this.frameIndex=0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=e;}else if(!Qa())this._spinner=ir.line;else if(e===void 0)this._spinner=ir.dots;else if(e!=="default"&&ir[e])this._spinner=ir[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);this._updateInterval(this._spinner.interval);}get text(){return this[it]}set text(e){this[it]=e,this.updateLineCount();}get prefixText(){return this[nt]}set prefixText(e){this[nt]=e,this.updateLineCount();}get isSpinning(){return this.id!==void 0}getFullPrefixText(e=this[nt],t=" "){return typeof e=="string"?e+t:typeof e=="function"?e()+t:""}updateLineCount(){let e=this.stream.columns||80,t=this.getFullPrefixText(this.prefixText,"-");this.lineCount=0;for(let i of za(t+"--"+this[it]).split(`
3
- `))this.lineCount+=Math.max(1,Math.ceil(Xa(i)/e));}get isEnabled(){return this._isEnabled&&!this.isSilent}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this._isEnabled=e;}get isSilent(){return this._isSilent}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this._isSilent=e;}frame(){let{frames:e}=this.spinner,t=e[this.frameIndex];this.color&&(t=Ka[this.color](t)),this.frameIndex=++this.frameIndex%e.length;let i=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",n=typeof this.text=="string"?" "+this.text:"";return i+t+n}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let e=0;e<this.linesToClear;e++)e>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.isSilent?this:(this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this)}start(e){return e&&(this.text=e),this.isSilent?this:this.isEnabled?this.isSpinning?this:(this.hideCursor&&tn.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=true,or.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
4
- `),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&tn.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(or.stop(),this.isDiscardingStdin=false),this):this}succeed(e){return this.stopAndPersist({symbol:nr.success,text:e})}fail(e){return this.stopAndPersist({symbol:nr.error,text:e})}warn(e){return this.stopAndPersist({symbol:nr.warning,text:e})}info(e){return this.stopAndPersist({symbol:nr.info,text:e})}stopAndPersist(e={}){if(this.isSilent)return this;let t=e.prefixText||this.prefixText,i=e.text||this.text,n=typeof i=="string"?" "+i:"";return this.stop(),this.stream.write(`${this.getFullPrefixText(t," ")}${e.symbol||" "}${n}
5
- `),this}},ts=function(r){return new ar(r)};at.exports=ts;at.exports.promise=(r,e)=>{if(typeof r.then!="function")throw new TypeError("Parameter `action` must be a Promise");let t=new ar(e);return t.start(),(async()=>{try{await r,t.succeed();}catch{t.fail();}})(),t};});var on=Pn(nn()),H=()=>{let r=(0, on.default)({text:"Loading...",color:"blue"});return {start:e=>{e&&(r.text=e),r.start();},stop:()=>{r.stop();},succeed:e=>{r.succeed(e);},fail:e=>{r.fail(e);}}};var de=class{constructor(e,t=process.cwd(),i=H()){this.packageManager=e;this.ui_spinner=i;if(this.workingDir=t,!this.validManagers.includes(this.packageManager))throw new Error(`Invalid package manager: ${this.packageManager}`)}validManagers=["npm","yarn","pnpm","bun"];workingDir;static detectPackageManager=(e=process.cwd())=>fs.existsSync(ue__default.default.join(e,"pnpm-lock.yaml"))?"pnpm":fs.existsSync(ue__default.default.join(e,"yarn.lock"))?"yarn":fs.existsSync(ue__default.default.join(e,"bun.lockb"))?"bun":"npm";ensurePackageJson(){if(!fs.existsSync(ue__default.default.join(this.workingDir,"package.json")))throw new Error(`package.json not found in ${this.workingDir}`)}changeDirectory(e){this.workingDir=ue__default.default.isAbsolute(e)?e:ue__default.default.resolve(this.workingDir,e);}runCommand(e,t,i,n=false,o){let a=o||`Running command: ${e}`;try{return n?(this.ui_spinner.start(a),child_process.execSync(e,{cwd:this.workingDir,stdio:"ignore"}),this.ui_spinner.succeed(t??`Command: ${e}`),!0):(this.ui_spinner.start(a),child_process.execSync(e,{cwd:this.workingDir,stdio:"inherit"}),this.ui_spinner.succeed(t??`Command: ${e}`),!0)}catch{return this.ui_spinner.fail(i??`Failed to run command: ${e}`),false}}install(e,t=false,i=false){return this.ensurePackageJson(),this.runCommand(this.buildInstallCommand(e,t),`Installed ${e}`,`Failed to install ${e}`,i,`Installing ${e}...`)}remove(e){return this.ensurePackageJson(),this.runCommand(this.buildRemoveCommand(e),`Removed ${e}`,`Failed to remove ${e}`)}isInstalled(e){this.ensurePackageJson();try{let t=child_process.execSync(`${this.packageManager} list --depth=0 --json`,{cwd:this.workingDir,stdio:"pipe",encoding:"utf8"});return !!JSON.parse(t).dependencies?.[e]}catch{return false}}getInstalledPackages(){this.ensurePackageJson();try{let e=child_process.execSync(`${this.packageManager} list --depth=0 --json`,{cwd:this.workingDir,stdio:"pipe",encoding:"utf8"});return JSON.parse(e).dependencies??{}}catch{return {}}}getVersion(e){return this.getInstalledPackages()[e]?.version??null}isAvailable(){try{return child_process.execSync(`${this.packageManager} --version`,{stdio:"ignore"}),!0}catch{return false}}buildInstallCommand(e,t){switch(this.packageManager){case "npm":return `npm install ${e}${t?" -D":""}`;case "yarn":return `yarn add ${e}${t?" --dev":""}`;case "pnpm":return `pnpm add ${e}${t?" --save-dev":" --save"}`;case "bun":return `bun add ${e}${t?" --development":""}`}}buildRemoveCommand(e){switch(this.packageManager){case "npm":return `npm uninstall ${e}`;case "yarn":return `yarn remove ${e}`;case "pnpm":return `pnpm remove ${e}`;case "bun":return `bun remove ${e}`}}};var lr=class{constructor(e,t,i=new de(t),n=H()){this.dir=e;this.packageManager=t;this.pkgManager=i;this.spin=n;}baseInstallation(){this.pkgManager.changeDirectory(this.dir);let e=`${this.packageManager} install`;try{this.spin.start("Installing dependencies..."),this.pkgManager.runCommand(e,"Installed dependencies","Installation failed",!0),this.spin.stop();}catch{this.spin.fail(`Failed to install dependencies, please run manually : ${e}`),process.exit(1);}}installTailwindCSSForNextJS(){this.pkgManager.isInstalled("tailwindcss")?(this.pkgManager.isInstalled("postcss")||this.pkgManager.install("postcss",true),this.pkgManager.isInstalled("autoprefixer")||this.pkgManager.install("autoprefixer",true)):this.pkgManager.install("tailwindcss postcss autoprefixer",true);}installTailwindCSS(){this.pkgManager.isInstalled("tailwindcss")?this.pkgManager.isInstalled("@tailwindcss/vite")?console.log("TailwindCSS is already installed."):this.pkgManager.install("@tailwindcss/vite",true):this.pkgManager.install("tailwindcss @tailwindcss/vite",true);}installIconLibrary(e){this.pkgManager.isInstalled("@iconify/tailwind4")||this.pkgManager.install("@iconify/tailwind4",true);try{this.pkgManager.install(`@iconify-json/${e}`,!0,!0);}catch{console.log("Icon library is already installed.");}}installShadcnCli(){this.pkgManager.isInstalled("shadcn")||this.pkgManager.install("shadcn",true,true),this.pkgManager.isInstalled("tailwind-variants")||this.pkgManager.install("tailwind-variants",false,true),this.pkgManager.isInstalled("tw-animate-css")||this.pkgManager.install("tw-animate-css",false,true),this.pkgManager.isInstalled("react-aria-components")||this.pkgManager.install("react-aria-components",false,true),this.pkgManager.isInstalled("motion")||this.pkgManager.install("motion",false,true);}};var as=url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))),sn=ue.dirname(as),S=class{static basePath=(()=>{let e=ue.join(sn,"../stubs"),t=ue.join(sn,"../../stubs");return fs.existsSync(e)?e:t})();static get(e){let t=e.replace(/\./g,"/")+".stub",i=ue.join(this.basePath,t);if(!fs.existsSync(i))throw new Error(`Stub not found: ${i}`);return fs.readFileSync(i,"utf-8")}};var ln="http://localhost:3000/jk/{name}.json",cn="http://localhost:3000/next/{name}.json",fn=[{title:"Both",value:"both",selected:true},{title:"Light",value:"light",selected:false},{title:"Dark",value:"dark",selected:false},{title:"Multi theming",value:"multi",selected:false}],un=[{title:"JK Default",value:"jk-ui",selected:true},{title:"Water",value:"water",selected:false},{title:"Earth",value:"earth",selected:false},{title:"Fire",value:"fire",selected:false},{title:"Air",value:"air",selected:false}],Re=[{title:"Hugeicons",value:"hugeicons",selected:true},{title:"Phosphore",value:"ph",selected:false},{title:"Heroicons",value:"heroicons",selected:false},{title:"Lucide",value:"lucide",selected:false}],J=493,lt=[{framework:"astro",cssPath:"src/assets/css/"},{framework:"react",cssPath:"src/"},{framework:"rasengan",cssPath:"src/"},{framework:"tanstack-start",cssPath:"app/"},{framework:"react-router",cssPath:"app/"},{framework:"inertia-react",cssPath:"resources/css/"},{framework:"laravel",cssPath:"resources/css/"}];var cr=class{static get(){return `
6
- :root {
7
- --color-primary: var(--color-primary-500);
8
- --color-secondary: var(--color-secondary-500);
9
- --color-accent: var(--color-accent-500);
10
- --color-info: var(--color-info-500);
11
- --color-warning: var(--color-warning-500);
12
- --color-danger: var(--color-danger-500);
13
- --color-success: var(--color-success-500);
14
-
15
- --fg-title: var(--color-white);
16
- --fg-subtitle: var(--color-gray-100);
17
- --fg: var(--color-gray-300);
18
- --fg-muted: var(--color-gray-400);
19
-
20
- --bg: var(--color-gray-950);
21
- --bg-subtle: var(--color-gray-900);
22
- --bg-surface: --alpha(var(--color-gray-900)/70%);
23
- --bg-muted: var(--color-gray-800);
24
- --card: var(--bg);
25
- --overlay: var(--bg);
26
-
27
- --border-strong: var(--color-gray-700);
28
- --border: var(--color-gray-900);
29
- --border-card: var(--color-gray-800);
30
- --border-input: var(--color-gray-700);
31
-
32
- --ui-input-focus-outline: var(--color-primary);
33
- --ui-input-place-holder: var(--color-gray-500);
34
- --ui-input-invalid-outline: var(--color-danger);
35
- --ring-bg: var(--color-primary);
36
- --ring-offset-color: var(--bg);
37
-
38
- --focus-ring: --alpha(var(--primary-800)/30%);
39
-
40
- --ui-radius: var(--radius-lg);
41
- --card-radius: var(--radius-lg);
42
- --checkbox-radius: var(--radius-sm);
43
-
44
- --checkbox-bg: var(--bg);
45
- --checkbox-fg: transparent;
46
- --checkbox-bg-checked: var(--color-primary);
47
- --checkbox-fg-checked: var(--color-white);
48
- --checkbox-bg-invalid: var(--color-danger);
49
- --checkbox-fg-invalid: var(--color-white);
50
-
51
-
52
- --dropdown-item-hover-and-select: var(--bg-muted);
53
- --dropdown-item-hover-and-select-fg: var(--fg-title);
54
- --dropdown-item-selected-fg: var(--fg-title);
55
-
56
- --dropdown-item-danger-fg: var(--color-danger);
57
- --dropdown-item-warning-fg: var(--color-warning);
58
- --dropdown-item-danger-hover-and-select: --alpha(var(--color-danger-900)/30%);
59
- --dropdown-item-danger-hover-and-select-fg: var(--color-danger-300);
60
- --dropdown-item-warning-hover-and-select: --alpha(var(--color-warning-900)/30%);
61
- --dropdown-item-warning-hover-and-select-fg: var(--color-warning-300);
62
-
63
- --date-segment-focus-bg: var(--color-primary);
64
- --date-segment-focus-fg: var(--color-white);
65
-
66
- --range-selected-bg: --alpha(var(--color-primary-900)/30%);
67
- --range-selected-invalid-bg: --alpha(var(--color-danger-800)/30%);
68
-
69
- --range-selected-bg-hover: var(--color-primary-800);
70
- --range-selected-invalid-bg-hover: var(--color-danger-800);
71
-
72
- --range-selected-fg: var(--color-primary-200);
73
- --range-selected-invalid-fg: var(--color-danger-200);
74
-
75
- --range-selected-bg-pressed: var(--color-primary-700);
76
- --range-selected-invalid-bg-pressed: var(--color-danger-700);
77
-
78
-
79
-
80
- --chart-1: oklch(0.488 0.243 264.376);
81
- --chart-2: oklch(0.623 0.214 259.815);
82
- --chart-3: oklch(0.707 0.165 254.624);
83
- --chart-4: oklch(0.809 0.105 251.813);
84
- --chart-5: oklch(0.882 0.059 254.128);
85
- }`}};var fr=class{static get(){return `
86
- :root {
87
- --primary: var(--color-primary-600);
88
- --secondary: var(--color-secondary-600);
89
- --accent: var(--color-accent-600);
90
- --info: var(--color-info-600);
91
- --warning: var(--color-warning-600);
92
- --danger: var(--color-danger-600);
93
- --success: var(--color-success-600);
94
-
95
- --fg-title: var(--color-gray-900);
96
- --fg-subtitle: var(--color-gray-800);
97
- --fg: var(--color-gray-700);
98
- --fg-muted: var(--color-gray-600);
99
-
100
- --bg: var(--color-white);
101
- --bg-subtle: var(--color-gray-100);
102
- --bg-surface: var(--color-gray-50);
103
- --bg-muted: var(--color-gray-200);
104
- --card: var(--bg);
105
- --overlay: var(--bg);
106
-
107
- --border-strong: var(--color-gray-300);
108
- --border: var(--color-gray-200);
109
- --border-card: var(--color-gray-200);
110
- --border-input: var(--color-gray-200);
111
-
112
- --ui-input-focus-outline: var(--color-primary);
113
- --ui-input-place-holder: var(--color-gray-500);
114
- --ui-input-invalid-outline: var(--color-danger);
115
- --ring-bg: var(--color-primary);
116
- --ring-offset-color: var(--bg);
117
-
118
- --focus-ring: var(--color-primary-200);
119
-
120
- --ui-radius: var(--radius-lg);
121
- --card-radius: var(--radius-lg);
122
- --checkbox-radius: var(--radius-sm);
123
-
124
- --checkbox-bg: var(--bg);
125
- --checkbox-fg: transparent;
126
- --checkbox-bg-checked: var(--color-primary);
127
- --checkbox-fg-checked: var(--color-white);
128
- --checkbox-bg-invalid: var(--color-danger);
129
- --checkbox-fg-invalid: var(--color-white);
130
-
131
-
132
- --dropdown-item-hover-and-select: var(--bg-muted);
133
- --dropdown-item-hover-and-select-fg: var(--fg-title);
134
- --dropdown-item-selected-fg: var(--fg-title);
135
-
136
- --dropdown-item-danger-fg: var(--color-danger);
137
- --dropdown-item-warning-fg: var(--color-warning);
138
- --dropdown-item-danger-hover-and-select: --alpha(var(--color-danger-100)/40%);
139
- --dropdown-item-danger-hover-and-select-fg: var(--color-danger-600);
140
- --dropdown-item-warning-hover-and-select: --alpha(var(--color-warning-100)/40%);
141
- --dropdown-item-warning-hover-and-select-fg: var(--color-warning-600);
142
-
143
- --date-segment-focus-bg: var(--color-primary);
144
- --date-segment-focus-fg: var(--color-white);
145
- --range-selected-bg: var(--color-primary-100);
146
- --range-selected-invalid-bg: var(--color-danger-100);
147
-
148
- --range-selected-bg-hover: var(--color-primary-200);
149
- --range-selected-invalid-bg-hover: var(--color-danger-200);
150
-
151
- --range-selected-fg: var(--color-primary-600);
152
- --range-selected-invalid-fg: var(--color-danger-600);
153
-
154
- --range-selected-bg-pressed: var(--color-primary-300);
155
- --range-selected-invalid-bg-pressed: var(--color-danger-300);
156
-
157
- --chart-1: oklch(0.546 0.245 262.881);
158
- --chart-2: oklch(0.623 0.214 259.815);
159
- --chart-3: oklch(0.707 0.165 254.624);
160
- --chart-4: oklch(0.809 0.105 251.813);
161
- --chart-5: oklch(0.882 0.059 254.128);
162
- }`}};var ur=class{static get(){return `
163
- @custom-variant dark (&:is(.dark *));
164
-
165
- :root {
166
- --primary: var(--color-primary-600);
167
- --secondary: var(--color-secondary-600);
168
- --accent: var(--color-accent-600);
169
- --info: var(--color-info-600);
170
- --warning: var(--color-warning-600);
171
- --danger: var(--color-danger-600);
172
- --success: var(--color-success-600);
173
-
174
- --fg-title: var(--color-gray-900);
175
- --fg-subtitle: var(--color-gray-800);
176
- --fg: var(--color-gray-700);
177
- --fg-muted: var(--color-gray-600);
178
-
179
- --bg: var(--color-white);
180
- --bg-subtle: var(--color-gray-100);
181
- --bg-surface: var(--color-gray-50);
182
- --bg-muted: var(--color-gray-200);
183
- --card: var(--bg);
184
- --overlay: var(--bg);
185
-
186
- --border-strong: var(--color-gray-300);
187
- --border: var(--color-gray-200);
188
- --border-card: var(--color-gray-200);
189
- --border-input: var(--color-gray-200);
190
-
191
- --ui-input-focus-outline: var(--color-primary);
192
- --ui-input-place-holder: var(--color-gray-500);
193
- --ui-input-invalid-outline: var(--color-danger);
194
- --ring-bg: var(--color-primary);
195
- --ring-offset-color: var(--bg);
196
-
197
- --focus-ring: var(--color-primary-200);
198
-
199
- --ui-radius: var(--radius-lg);
200
- --card-radius: var(--radius-lg);
201
- --checkbox-radius: var(--radius-sm);
202
-
203
- --checkbox-bg: var(--bg);
204
- --checkbox-fg: transparent;
205
- --checkbox-bg-checked: var(--color-primary);
206
- --checkbox-fg-checked: var(--color-white);
207
- --checkbox-bg-invalid: var(--color-danger);
208
- --checkbox-fg-invalid: var(--color-white);
209
-
210
-
211
- --dropdown-item-hover-and-select: var(--bg-muted);
212
- --dropdown-item-hover-and-select-fg: var(--fg-title);
213
- --dropdown-item-selected-fg: var(--fg-title);
214
-
215
- --dropdown-item-danger-fg: var(--color-danger);
216
- --dropdown-item-warning-fg: var(--color-warning);
217
- --dropdown-item-danger-hover-and-select: --alpha(var(--color-danger-100)/40%);
218
- --dropdown-item-danger-hover-and-select-fg: var(--color-danger-600);
219
- --dropdown-item-warning-hover-and-select: --alpha(var(--color-warning-100)/40%);
220
- --dropdown-item-warning-hover-and-select-fg: var(--color-warning-600);
221
-
222
- --date-segment-focus-bg: var(--color-primary);
223
- --date-segment-focus-fg: var(--color-white);
224
- --range-selected-bg: var(--color-primary-100);
225
- --range-selected-invalid-bg: var(--color-danger-100);
226
-
227
- --range-selected-bg-hover: var(--color-primary-200);
228
- --range-selected-invalid-bg-hover: var(--color-danger-200);
229
-
230
- --range-selected-fg: var(--color-primary-600);
231
- --range-selected-invalid-fg: var(--color-danger-600);
232
-
233
- --range-selected-bg-pressed: var(--color-primary-300);
234
- --range-selected-invalid-bg-pressed: var(--color-danger-300);
235
-
236
- --chart-1: oklch(0.546 0.245 262.881);
237
- --chart-2: oklch(0.623 0.214 259.815);
238
- --chart-3: oklch(0.707 0.165 254.624);
239
- --chart-4: oklch(0.809 0.105 251.813);
240
- --chart-5: oklch(0.882 0.059 254.128);
241
- }
242
-
243
- .dark {
244
- --primary: var(--color-primary-500);
245
- --secondary: var(--color-secondary-500);
246
- --accent: var(--color-accent-500);
247
- --info: var(--color-info-500);
248
- --warning: var(--color-warning-500);
249
- --danger: var(--color-danger-500);
250
- --success: var(--color-success-500);
251
-
252
- --fg-title: var(--color-white);
253
- --fg-subtitle: var(--color-gray-100);
254
- --fg: var(--color-gray-300);
255
- --fg-muted: var(--color-gray-400);
256
-
257
- --bg: var(--color-gray-950);
258
- --bg-subtle: var(--color-gray-900);
259
- --bg-surface: --alpha(var(--color-gray-900)/70%);
260
- --bg-muted: var(--color-gray-800);
261
-
262
- --border-strong: var(--color-gray-700);
263
- --border: var(--color-gray-900);
264
- --border-card: var(--color-gray-800);
265
- --border-input: var(--color-gray-700);
266
-
267
- --focus-ring: --alpha(var(--primary-800)/30%);
268
-
269
- --dropdown-item-danger-hover-and-select: --alpha(var(--color-danger-900)/30%);
270
- --dropdown-item-danger-hover-and-select-fg: var(--color-danger-300);
271
- --dropdown-item-warning-hover-and-select: --alpha(var(--color-warning-900)/30%);
272
- --dropdown-item-warning-hover-and-select-fg: var(--color-warning-300);
273
-
274
- --range-selected-bg: --alpha(var(--color-primary-900)/30%);
275
- --range-selected-invalid-bg: --alpha(var(--color-danger-800)/30%);
276
-
277
- --range-selected-bg-hover: var(--color-primary-800);
278
- --range-selected-invalid-bg-hover: var(--color-danger-800);
279
-
280
- --range-selected-fg: var(--color-primary-200);
281
- --range-selected-invalid-fg: var(--color-danger-200);
282
-
283
- --range-selected-bg-pressed: var(--color-primary-700);
284
- --range-selected-invalid-bg-pressed: var(--color-danger-700);
285
-
286
-
287
- --chart-1: oklch(0.488 0.243 264.376);
288
- --chart-2: oklch(0.623 0.214 259.815);
289
- --chart-3: oklch(0.707 0.165 254.624);
290
- --chart-4: oklch(0.809 0.105 251.813);
291
- --chart-5: oklch(0.882 0.059 254.128);
292
- }
293
- `}};var dn=`
294
- @theme inline {
295
- --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
296
-
297
- --radius-ui: var(--ui-radius);
298
- --radius-card: var(--card-radius);
299
- --radius-checkbox: var(--checkbox-radius);
300
- --radius-dropdown-item: var(--popover-inner-radius, 0px);
301
-
302
- --color-dark: var(--color-gray-950);
303
- --color-ring: var(--color-primary-600);
304
-
305
- --color-primary: var(--primary);
306
- --color-secondary: var(--secondary);
307
- --color-accent: var(--accent);
308
- --color-info: var(--info);
309
- --color-warning: var(--warning);
310
- --color-danger: var(--danger);
311
- --color-success: var(--success);
312
-
313
- --color-fg-title: var(--fg-title);
314
- --color-fg-subtitle: var(--fg-subtitle);
315
- --color-fg: var(--fg);
316
- --color-fg-muted: var(--fg-muted);
317
-
318
- --color-bg: var(--bg);
319
- --color-bg-subtle: var(--bg-subtle);
320
- --color-bg-surface: var(--bg-surface);
321
- --color-bg-muted: var(--bg-muted);
322
- --color-card: var(--card);
323
- --color-popover: var(--bg);
324
- --color-overlay: var(--overlay);
325
-
326
- --color-border-strong: var(--border-strong);
327
- --color-border: var(--border);
328
- --color-border-card: var(--border-card);
329
- --color-border-input: var(--border-input);
330
-
331
- --color-chart-1: var(--chart-1);
332
- --color-chart-2: var(--chart-2);
333
- --color-chart-3: var(--chart-3);
334
- --color-chart-4: var(--chart-4);
335
- --color-chart-5: var(--chart-5);
336
- }`;var dr=class{static get(e,t,i){let n=S.get(`themes.${i.toLowerCase()}`),o=S.get("css.scroll-config"),a=Re.find(h=>h.value===e.iconLibrary)??Re[1],s=dn,l=`
2
+ 'use strict';var commander=require('commander'),fs=require('fs'),fe=require('path'),child_process=require('child_process'),url=require('url'),sa=require('prompts'),ht=require('chalk'),zod=require('zod');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var fe__default=/*#__PURE__*/_interopDefault(fe);var sa__default=/*#__PURE__*/_interopDefault(sa);var ht__default=/*#__PURE__*/_interopDefault(ht);var mn=Object.create;var lr=Object.defineProperty;var bn=Object.getOwnPropertyDescriptor;var yn=Object.getOwnPropertyNames;var wn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var R=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var c=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var xn=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of yn(e))!vn.call(t,n)&&n!==r&&lr(t,n,{get:()=>e[n],enumerable:!(i=bn(e,n))||i.enumerable});return t};var Sn=(t,e,r)=>(r=t!=null?mn(wn(t)):{},xn(lr(r,"default",{value:t,enumerable:true}),t));var ur=c((Ca,bt)=>{var cr=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};bt.exports=cr;bt.exports.default=cr;});var hr=c((Ma,je)=>{var En=ur(),Ie=new WeakMap,fr=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,i=0,n=t.displayName||t.name||"<anonymous>",s=function(...o){if(Ie.set(s,++i),i===1)r=t.apply(this,o),t=null;else if(e.throw===true)throw new Error(`Function \`${n}\` can only be called once`);return r};return En(s,t),Ie.set(s,i),s};je.exports=fr;je.exports.default=fr;je.exports.callCount=t=>{if(!Ie.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Ie.get(t)};});var dr=c((Ia,De)=>{De.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&De.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&De.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");});var br=c((ja,se)=>{var b=global.process,Y=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};Y(b)?(pr=R("assert"),ie=dr(),gr=/^win/i.test(b.platform),de=R("events"),typeof de!="function"&&(de=de.EventEmitter),b.__signal_exit_emitter__?k=b.__signal_exit_emitter__:(k=b.__signal_exit_emitter__=new de,k.count=0,k.emitted={}),k.infinite||(k.setMaxListeners(1/0),k.infinite=true),se.exports=function(t,e){if(!Y(global.process))return function(){};pr.equal(typeof t,"function","a callback must be provided for exit handler"),ne===false&&yt();var r="exit";e&&e.alwaysLast&&(r="afterexit");var i=function(){k.removeListener(r,t),k.listeners("exit").length===0&&k.listeners("afterexit").length===0&&Oe();};return k.on(r,t),i},Oe=function(){!ne||!Y(global.process)||(ne=false,ie.forEach(function(e){try{b.removeListener(e,Le[e]);}catch{}}),b.emit=Be,b.reallyExit=wt,k.count-=1);},se.exports.unload=Oe,V=function(e,r,i){k.emitted[e]||(k.emitted[e]=true,k.emit(e,r,i));},Le={},ie.forEach(function(t){Le[t]=function(){if(Y(global.process)){var r=b.listeners(t);r.length===k.count&&(Oe(),V("exit",null,t),V("afterexit",null,t),gr&&t==="SIGHUP"&&(t="SIGINT"),b.kill(b.pid,t));}};}),se.exports.signals=function(){return ie},ne=false,yt=function(){ne||!Y(global.process)||(ne=true,k.count+=1,ie=ie.filter(function(e){try{return b.on(e,Le[e]),!0}catch{return false}}),b.emit=mr,b.reallyExit=_r);},se.exports.load=yt,wt=b.reallyExit,_r=function(e){Y(global.process)&&(b.exitCode=e||0,V("exit",b.exitCode,null),V("afterexit",b.exitCode,null),wt.call(b,b.exitCode));},Be=b.emit,mr=function(e,r){if(e==="exit"&&Y(global.process)){r!==void 0&&(b.exitCode=r);var i=Be.apply(this,arguments);return V("exit",b.exitCode,null),V("afterexit",b.exitCode,null),i}else return Be.apply(this,arguments)}):se.exports=function(){return function(){}};var pr,ie,gr,de,k,Oe,V,Le,ne,yt,wt,_r,Be,mr;});var wr=c((Da,yr)=>{var kn=hr(),Rn=br();yr.exports=kn(()=>{Rn(()=>{process.stderr.write("\x1B[?25h");},{alwaysLast:true});});});var vr=c(oe=>{var Pn=wr(),Fe=false;oe.show=(t=process.stderr)=>{t.isTTY&&(Fe=false,t.write("\x1B[?25h"));};oe.hide=(t=process.stderr)=>{t.isTTY&&(Pn(),Fe=true,t.write("\x1B[?25l"));};oe.toggle=(t,e)=>{t!==void 0&&(Fe=t),Fe?oe.show(e):oe.hide(e);};});var xr=c((La,Tn)=>{Tn.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]}};});var kr=c((Ba,Er)=>{var Ne=Object.assign({},xr()),Sr=Object.keys(Ne);Object.defineProperty(Ne,"random",{get(){let t=Math.floor(Math.random()*Sr.length),e=Sr[t];return Ne[e]}});Er.exports=Ne;});var vt=c((Fa,Rr)=>{Rr.exports=()=>process.platform!=="win32"?true:!!process.env.CI||!!process.env.WT_SESSION||process.env.TERM_PROGRAM==="vscode"||process.env.TERM==="xterm-256color"||process.env.TERM==="alacritty";});var Tr=c((Na,Pr)=>{var N=R("chalk"),An=vt(),Cn={info:N.blue("\u2139"),success:N.green("\u2714"),warning:N.yellow("\u26A0"),error:N.red("\u2716")},Mn={info:N.blue("i"),success:N.green("\u221A"),warning:N.yellow("\u203C"),error:N.red("\xD7")};Pr.exports=An()?Cn:Mn;});var Cr=c((qa,Ar)=>{Ar.exports=({onlyFirst:t=false}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")};});var Ir=c((Ua,Mr)=>{var In=Cr();Mr.exports=t=>typeof t=="string"?t.replace(In(),""):t;});var jr=c(($a,qe)=>{var jn=(function(){function t(o,a,l,f){typeof a=="object"&&(l=a.depth,f=a.prototype,a.filter,a=a.circular);var h=[],m=[],v=typeof Buffer<"u";typeof a>"u"&&(a=true),typeof l>"u"&&(l=1/0);function T(p,M){if(p===null)return null;if(M==0)return p;var x,B;if(typeof p!="object")return p;if(t.__isArray(p))x=[];else if(t.__isRegExp(p))x=new RegExp(p.source,s(p)),p.lastIndex&&(x.lastIndex=p.lastIndex);else if(t.__isDate(p))x=new Date(p.getTime());else {if(v&&Buffer.isBuffer(p))return Buffer.allocUnsafe?x=Buffer.allocUnsafe(p.length):x=new Buffer(p.length),p.copy(x),x;typeof f>"u"?(B=Object.getPrototypeOf(p),x=Object.create(B)):(x=Object.create(f),B=f);}if(a){var Me=h.indexOf(p);if(Me!=-1)return m[Me];h.push(p),m.push(x);}for(var _t in p){var mt;B&&(mt=Object.getOwnPropertyDescriptor(B,_t)),!(mt&&mt.set==null)&&(x[_t]=T(p[_t],M-1));}return x}return T(o,l)}t.clonePrototype=function(a){if(a===null)return null;var l=function(){};return l.prototype=a,new l};function e(o){return Object.prototype.toString.call(o)}t.__objToStr=e;function r(o){return typeof o=="object"&&e(o)==="[object Date]"}t.__isDate=r;function i(o){return typeof o=="object"&&e(o)==="[object Array]"}t.__isArray=i;function n(o){return typeof o=="object"&&e(o)==="[object RegExp]"}t.__isRegExp=n;function s(o){var a="";return o.global&&(a+="g"),o.ignoreCase&&(a+="i"),o.multiline&&(a+="m"),a}return t.__getRegExpFlags=s,t})();typeof qe=="object"&&qe.exports&&(qe.exports=jn);});var Or=c((Wa,Dr)=>{var Dn=jr();Dr.exports=function(t,e){return t=t||{},Object.keys(e).forEach(function(r){typeof t[r]>"u"&&(t[r]=Dn(e[r]));}),t};});var Br=c((Ga,Lr)=>{Lr.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 Ur=c((Ha,xt)=>{var On=Or(),pe=Br(),Nr={nul:0,control:0};xt.exports=function(e){return qr(e,Nr)};xt.exports.config=function(t){return t=On(t||{},Nr),function(r){return qr(r,t)}};function qr(t,e){if(typeof t!="string")return Fr(t,e);for(var r=0,i=0;i<t.length;i++){var n=Fr(t.charCodeAt(i),e);if(n<0)return -1;r+=n;}return r}function Fr(t,e){return t===0?e.nul:t<32||t>=127&&t<160?e.control:Ln(t)?0:1+(t>=4352&&(t<=4447||t==9001||t==9002||t>=11904&&t<=42191&&t!=12351||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65135||t>=65280&&t<=65376||t>=65504&&t<=65510||t>=131072&&t<=196605||t>=196608&&t<=262141))}function Ln(t){var e=0,r=pe.length-1,i;if(t<pe[0][0]||t>pe[r][1])return false;for(;r>=e;)if(i=Math.floor((e+r)/2),t>pe[i][1])e=i+1;else if(t<pe[i][0])r=i-1;else return true;return false}});var Wr=c((Ja,$r)=>{$r.exports=({stream:t=process.stdout}={})=>!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env));});var St=c((Ya,Gr)=>{Gr.exports=R("stream");});var Kr=c((Va,zr)=>{function Hr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i);}return r}function Jr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Hr(Object(r),true).forEach(function(i){Bn(t,i,r[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hr(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i));});}return t}function Bn(t,e,r){return e=Vr(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function Fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||false,i.configurable=true,"value"in i&&(i.writable=true),Object.defineProperty(t,Vr(i.key),i);}}function Nn(t,e,r){return e&&Yr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:false}),t}function Vr(t){var e=qn(t,"string");return typeof e=="symbol"?e:String(e)}function qn(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(t)}var Un=R("buffer"),Ue=Un.Buffer,$n=R("util"),Et=$n.inspect,Wn=Et&&Et.custom||"inspect";function Gn(t,e,r){Ue.prototype.copy.call(t,e,r);}zr.exports=(function(){function t(){Fn(this,t),this.head=null,this.tail=null,this.length=0;}return Nn(t,[{key:"push",value:function(r){var i={data:r,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length;}},{key:"unshift",value:function(r){var i={data:r,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length;}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0;}},{key:"join",value:function(r){if(this.length===0)return "";for(var i=this.head,n=""+i.data;i=i.next;)n+=r+i.data;return n}},{key:"concat",value:function(r){if(this.length===0)return Ue.alloc(0);for(var i=Ue.allocUnsafe(r>>>0),n=this.head,s=0;n;)Gn(n.data,i,s),s+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,s=i.data;for(r-=s.length;i=i.next;){var o=i.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?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++n;}return this.length-=n,s}},{key:"_getBuffer",value:function(r){var i=Ue.allocUnsafe(r),n=this.head,s=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var o=n.data,a=r>o.length?o.length:r;if(o.copy(i,i.length-r,0,a),r-=a,r===0){a===o.length?(++s,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++s;}return this.length-=s,i}},{key:Wn,value:function(r,i){return Et(this,Jr(Jr({},i),{},{depth:0,customInspect:false}))}}]),t})();});var Rt=c((za,Zr)=>{function Hn(t,e){var r=this,i=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return i||n?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=true,process.nextTick(kt,this,t)):process.nextTick(kt,this,t)),this):(this._readableState&&(this._readableState.destroyed=true),this._writableState&&(this._writableState.destroyed=true),this._destroy(t||null,function(s){!e&&s?r._writableState?r._writableState.errorEmitted?process.nextTick($e,r):(r._writableState.errorEmitted=true,process.nextTick(Xr,r,s)):process.nextTick(Xr,r,s):e?(process.nextTick($e,r),e(s)):process.nextTick($e,r);}),this)}function Xr(t,e){kt(t,e),$e(t);}function $e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close");}function Jn(){this._readableState&&(this._readableState.destroyed=false,this._readableState.reading=false,this._readableState.ended=false,this._readableState.endEmitted=false),this._writableState&&(this._writableState.destroyed=false,this._writableState.ended=false,this._writableState.ending=false,this._writableState.finalCalled=false,this._writableState.prefinished=false,this._writableState.finished=false,this._writableState.errorEmitted=false);}function kt(t,e){t.emit("error",e);}function Yn(t,e){var r=t._readableState,i=t._writableState;r&&r.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e);}Zr.exports={destroy:Hn,undestroy:Jn,errorOrDestroy:Yn};});var q=c((Ka,ti)=>{var ei={};function I(t,e,r){r||(r=Error);function i(s,o,a){return typeof e=="string"?e:e(s,o,a)}class n extends r{constructor(o,a,l){super(i(o,a,l));}}n.prototype.name=r.name,n.prototype.code=t,ei[t]=n;}function Qr(t,e){if(Array.isArray(t)){let r=t.length;return t=t.map(i=>String(i)),r>2?`one of ${e} ${t.slice(0,r-1).join(", ")}, or `+t[r-1]:r===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return `of ${e} ${String(t)}`}function Vn(t,e,r){return t.substr(0,e.length)===e}function zn(t,e,r){return (r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function Kn(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?false:t.indexOf(e,r)!==-1}I("ERR_INVALID_OPT_VALUE",function(t,e){return 'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);I("ERR_INVALID_ARG_TYPE",function(t,e,r){let i;typeof e=="string"&&Vn(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let n;if(zn(t," argument"))n=`The ${t} ${i} ${Qr(e,"type")}`;else {let s=Kn(t,".")?"property":"argument";n=`The "${t}" ${s} ${i} ${Qr(e,"type")}`;}return n+=`. Received type ${typeof r}`,n},TypeError);I("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");I("ERR_METHOD_NOT_IMPLEMENTED",function(t){return "The "+t+" method is not implemented"});I("ERR_STREAM_PREMATURE_CLOSE","Premature close");I("ERR_STREAM_DESTROYED",function(t){return "Cannot call "+t+" after a stream was destroyed"});I("ERR_MULTIPLE_CALLBACK","Callback called multiple times");I("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");I("ERR_STREAM_WRITE_AFTER_END","write after end");I("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);I("ERR_UNKNOWN_ENCODING",function(t){return "Unknown encoding: "+t},TypeError);I("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");ti.exports.codes=ei;});var Pt=c((Xa,ri)=>{var Xn=q().codes.ERR_INVALID_OPT_VALUE;function Zn(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function Qn(t,e,r,i){var n=Zn(e,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var s=i?r:"highWaterMark";throw new Xn(s,n)}return Math.floor(n)}return t.objectMode?16:16*1024}ri.exports={getHighWaterMark:Qn};});var ii=c((Za,Tt)=>{typeof Object.create=="function"?Tt.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}}));}:Tt.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e;}};});var z=c((Qa,Ct)=>{try{if(At=R("util"),typeof At.inherits!="function")throw "";Ct.exports=At.inherits;}catch{Ct.exports=ii();}var At;});var si=c((el,ni)=>{ni.exports=R("util").deprecate;});var jt=c((tl,fi)=>{fi.exports=w;function ai(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Rs(e,t);};}var ae;w.WritableState=_e;var es={deprecate:si()},li=St(),Ge=R("buffer").Buffer,ts=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function rs(t){return Ge.from(t)}function is(t){return Ge.isBuffer(t)||t instanceof ts}var It=Rt(),ns=Pt(),ss=ns.getHighWaterMark,U=q().codes,os=U.ERR_INVALID_ARG_TYPE,as=U.ERR_METHOD_NOT_IMPLEMENTED,ls=U.ERR_MULTIPLE_CALLBACK,cs=U.ERR_STREAM_CANNOT_PIPE,us=U.ERR_STREAM_DESTROYED,fs=U.ERR_STREAM_NULL_VALUES,hs=U.ERR_STREAM_WRITE_AFTER_END,ds=U.ERR_UNKNOWN_ENCODING,le=It.errorOrDestroy;z()(w,li);function ps(){}function _e(t,e,r){ae=ae||K(),t=t||{},typeof r!="boolean"&&(r=e instanceof ae),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=ss(this,t,"writableHighWaterMark",r),this.finalCalled=false,this.needDrain=false,this.ending=false,this.ended=false,this.finished=false,this.destroyed=false;var i=t.decodeStrings===false;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=false,this.corked=0,this.sync=true,this.bufferProcessing=false,this.onwrite=function(n){vs(e,n);},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=false,this.errorEmitted=false,this.emitClose=t.emitClose!==false,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ai(this);}_e.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(_e.prototype,"buffer",{get:es.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var We;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(We=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(e){return We.call(this,e)?true:this!==w?false:e&&e._writableState instanceof _e}})):We=function(e){return e instanceof this};function w(t){ae=ae||K();var e=this instanceof ae;if(!e&&!We.call(w,this))return new w(t);this._writableState=new _e(t,this,e),this.writable=true,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),li.call(this);}w.prototype.pipe=function(){le(this,new cs);};function gs(t,e){var r=new hs;le(t,r),process.nextTick(e,r);}function _s(t,e,r,i){var n;return r===null?n=new fs:typeof r!="string"&&!e.objectMode&&(n=new os("chunk",["string","Buffer"],r)),n?(le(t,n),process.nextTick(i,n),false):true}w.prototype.write=function(t,e,r){var i=this._writableState,n=false,s=!i.objectMode&&is(t);return s&&!Ge.isBuffer(t)&&(t=rs(t)),typeof e=="function"&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),typeof r!="function"&&(r=ps),i.ending?gs(this,r):(s||_s(this,i,t,r))&&(i.pendingcb++,n=bs(this,i,s,t,e,r)),n};w.prototype.cork=function(){this._writableState.corked++;};w.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&ci(this,t));};w.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new ds(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(w.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ms(t,e,r){return !t.objectMode&&t.decodeStrings!==false&&typeof e=="string"&&(e=Ge.from(e,r)),e}Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function bs(t,e,r,i,n,s){if(!r){var o=ms(e,i,n);i!==o&&(r=true,n="buffer",i=o);}var a=e.objectMode?1:i.length;e.length+=a;var l=e.length<e.highWaterMark;if(l||(e.needDrain=true),e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:s,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1;}else Mt(t,e,false,a,i,n,s);return l}function Mt(t,e,r,i,n,s,o){e.writelen=i,e.writecb=o,e.writing=true,e.sync=true,e.destroyed?e.onwrite(new us("write")):r?t._writev(n,e.onwrite):t._write(n,s,e.onwrite),e.sync=false;}function ys(t,e,r,i,n){--e.pendingcb,r?(process.nextTick(n,i),process.nextTick(ge,t,e),t._writableState.errorEmitted=true,le(t,i)):(n(i),t._writableState.errorEmitted=true,le(t,i),ge(t,e));}function ws(t){t.writing=false,t.writecb=null,t.length-=t.writelen,t.writelen=0;}function vs(t,e){var r=t._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new ls;if(ws(r),e)ys(t,r,i,e,n);else {var s=ui(r)||t.destroyed;!s&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&ci(t,r),i?process.nextTick(oi,t,r,s,n):oi(t,r,s,n);}}function oi(t,e,r,i){r||xs(t,e),e.pendingcb--,i(),ge(t,e);}function xs(t,e){e.length===0&&e.needDrain&&(e.needDrain=false,t.emit("drain"));}function ci(t,e){e.bufferProcessing=true;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var i=e.bufferedRequestCount,n=new Array(i),s=e.corkedRequestsFree;s.entry=r;for(var o=0,a=true;r;)n[o]=r,r.isBuf||(a=false),r=r.next,o+=1;n.allBuffers=a,Mt(t,e,true,e.length,n,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new ai(e),e.bufferedRequestCount=0;}else {for(;r;){var l=r.chunk,f=r.encoding,g=r.callback,h=e.objectMode?1:l.length;if(Mt(t,e,false,h,l,f,g),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null);}e.bufferedRequest=r,e.bufferProcessing=false;}w.prototype._write=function(t,e,r){r(new as("_write()"));};w.prototype._writev=null;w.prototype.end=function(t,e,r){var i=this._writableState;return typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||ks(this,i,r),this};Object.defineProperty(w.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function ui(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function Ss(t,e){t._final(function(r){e.pendingcb--,r&&le(t,r),e.prefinished=true,t.emit("prefinish"),ge(t,e);});}function Es(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=true,process.nextTick(Ss,t,e)):(e.prefinished=true,t.emit("prefinish")));}function ge(t,e){var r=ui(e);if(r&&(Es(t,e),e.pendingcb===0&&(e.finished=true,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy();}return r}function ks(t,e,r){e.ending=true,ge(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=true,t.writable=false;}function Rs(t,e,r){var i=t.entry;for(t.entry=null;i;){var n=i.callback;e.pendingcb--,n(r),i=i.next;}e.corkedRequestsFree.next=t;}Object.defineProperty(w.prototype,"destroyed",{enumerable:false,get:function(){return this._writableState===void 0?false:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e);}});w.prototype.destroy=It.destroy;w.prototype._undestroy=It.undestroy;w.prototype._destroy=function(t,e){e(t);};});var K=c((rl,di)=>{var Ps=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};di.exports=O;var hi=Lt(),Ot=jt();z()(O,hi);for(Dt=Ps(Ot.prototype),He=0;He<Dt.length;He++)Je=Dt[He],O.prototype[Je]||(O.prototype[Je]=Ot.prototype[Je]);var Dt,Je,He;function O(t){if(!(this instanceof O))return new O(t);hi.call(this,t),Ot.call(this,t),this.allowHalfOpen=true,t&&(t.readable===false&&(this.readable=false),t.writable===false&&(this.writable=false),t.allowHalfOpen===false&&(this.allowHalfOpen=false,this.once("end",Ts)));}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(O.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(O.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function Ts(){this._writableState.ended||process.nextTick(As,this);}function As(t){t.end();}Object.defineProperty(O.prototype,"destroyed",{enumerable:false,get:function(){return this._readableState===void 0||this._writableState===void 0?false:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e);}});});var _i=c((Bt,gi)=>{var Ye=R("buffer"),L=Ye.Buffer;function pi(t,e){for(var r in t)e[r]=t[r];}L.from&&L.alloc&&L.allocUnsafe&&L.allocUnsafeSlow?gi.exports=Ye:(pi(Ye,Bt),Bt.Buffer=X);function X(t,e,r){return L(t,e,r)}X.prototype=Object.create(L.prototype);pi(L,X);X.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return L(t,e,r)};X.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=L(t);return e!==void 0?typeof r=="string"?i.fill(e,r):i.fill(e):i.fill(0),i};X.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return L(t)};X.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return Ye.SlowBuffer(t)};});var qt=c(bi=>{var Nt=_i().Buffer,mi=Nt.isEncoding||function(t){switch(t=""+t,t&&t.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 true;default:return false}};function Cs(t){if(!t)return "utf8";for(var e;;)switch(t){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 t;default:if(e)return;t=(""+t).toLowerCase(),e=true;}}function Ms(t){var e=Cs(t);if(typeof e!="string"&&(Nt.isEncoding===mi||!mi(t)))throw new Error("Unknown encoding: "+t);return e||t}bi.StringDecoder=me;function me(t){this.encoding=Ms(t);var e;switch(this.encoding){case "utf16le":this.text=Bs,this.end=Fs,e=4;break;case "utf8":this.fillLast=Ds,e=4;break;case "base64":this.text=Ns,this.end=qs,e=3;break;default:this.write=Us,this.end=$s;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Nt.allocUnsafe(e);}me.prototype.write=function(t){if(t.length===0)return "";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return "";r=this.lastNeed,this.lastNeed=0;}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};me.prototype.end=Ls;me.prototype.text=Os;me.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length;};function Ft(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Is(t,e,r){var i=e.length-1;if(i<r)return 0;var n=Ft(e[i]);return n>=0?(n>0&&(t.lastNeed=n-1),n):--i<r||n===-2?0:(n=Ft(e[i]),n>=0?(n>0&&(t.lastNeed=n-2),n):--i<r||n===-2?0:(n=Ft(e[i]),n>=0?(n>0&&(n===2?n=0:t.lastNeed=n-3),n):0))}function js(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function Ds(t){var e=this.lastTotal-this.lastNeed,r=js(this,t);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length;}function Os(t,e){var r=Is(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var i=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)}function Ls(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Bs(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Fs(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function Ns(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function qs(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Us(t){return t.toString(this.encoding)}function $s(t){return t&&t.length?this.write(t):""}});var Ve=c((nl,vi)=>{var yi=q().codes.ERR_STREAM_PREMATURE_CLOSE;function Ws(t){var e=false;return function(){if(!e){e=true;for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];t.apply(this,i);}}}function Gs(){}function Hs(t){return t.setHeader&&typeof t.abort=="function"}function wi(t,e,r){if(typeof e=="function")return wi(t,null,e);e||(e={}),r=Ws(r||Gs);var i=e.readable||e.readable!==false&&t.readable,n=e.writable||e.writable!==false&&t.writable,s=function(){t.writable||a();},o=t._writableState&&t._writableState.finished,a=function(){n=false,o=true,i||r.call(t);},l=t._readableState&&t._readableState.endEmitted,f=function(){i=false,l=true,n||r.call(t);},g=function(T){r.call(t,T);},h=function(){var T;if(i&&!l)return (!t._readableState||!t._readableState.ended)&&(T=new yi),r.call(t,T);if(n&&!o)return (!t._writableState||!t._writableState.ended)&&(T=new yi),r.call(t,T)},m=function(){t.req.on("finish",a);};return Hs(t)?(t.on("complete",a),t.on("abort",h),t.req?m():t.on("request",m)):n&&!t._writableState&&(t.on("end",s),t.on("close",s)),t.on("end",f),t.on("finish",a),e.error!==false&&t.on("error",g),t.on("close",h),function(){t.removeListener("complete",a),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",a),t.removeListener("end",s),t.removeListener("close",s),t.removeListener("finish",a),t.removeListener("end",f),t.removeListener("error",g),t.removeListener("close",h);}}vi.exports=wi;});var Si=c((sl,xi)=>{var ze;function $(t,e,r){return e=Js(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function Js(t){var e=Ys(t,"string");return typeof e=="symbol"?e:String(e)}function Ys(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (e==="string"?String:Number)(t)}var Vs=Ve(),W=Symbol("lastResolve"),Z=Symbol("lastReject"),be=Symbol("error"),Ke=Symbol("ended"),Q=Symbol("lastPromise"),Ut=Symbol("handlePromise"),ee=Symbol("stream");function G(t,e){return {value:t,done:e}}function zs(t){var e=t[W];if(e!==null){var r=t[ee].read();r!==null&&(t[Q]=null,t[W]=null,t[Z]=null,e(G(r,false)));}}function Ks(t){process.nextTick(zs,t);}function Xs(t,e){return function(r,i){t.then(function(){if(e[Ke]){r(G(void 0,true));return}e[Ut](r,i);},i);}}var Zs=Object.getPrototypeOf(function(){}),Qs=Object.setPrototypeOf((ze={get stream(){return this[ee]},next:function(){var e=this,r=this[be];if(r!==null)return Promise.reject(r);if(this[Ke])return Promise.resolve(G(void 0,true));if(this[ee].destroyed)return new Promise(function(o,a){process.nextTick(function(){e[be]?a(e[be]):o(G(void 0,true));});});var i=this[Q],n;if(i)n=new Promise(Xs(i,this));else {var s=this[ee].read();if(s!==null)return Promise.resolve(G(s,false));n=new Promise(this[Ut]);}return this[Q]=n,n}},$(ze,Symbol.asyncIterator,function(){return this}),$(ze,"return",function(){var e=this;return new Promise(function(r,i){e[ee].destroy(null,function(n){if(n){i(n);return}r(G(void 0,true));});})}),ze),Zs),eo=function(e){var r,i=Object.create(Qs,(r={},$(r,ee,{value:e,writable:true}),$(r,W,{value:null,writable:true}),$(r,Z,{value:null,writable:true}),$(r,be,{value:null,writable:true}),$(r,Ke,{value:e._readableState.endEmitted,writable:true}),$(r,Ut,{value:function(s,o){var a=i[ee].read();a?(i[Q]=null,i[W]=null,i[Z]=null,s(G(a,false))):(i[W]=s,i[Z]=o);},writable:true}),r));return i[Q]=null,Vs(e,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var s=i[Z];s!==null&&(i[Q]=null,i[W]=null,i[Z]=null,s(n)),i[be]=n;return}var o=i[W];o!==null&&(i[Q]=null,i[W]=null,i[Z]=null,o(G(void 0,true))),i[Ke]=true;}),e.on("readable",Ks.bind(null,i)),i};xi.exports=eo;});var Pi=c((ol,Ri)=>{function Ei(t,e,r,i,n,s,o){try{var a=t[s](o),l=a.value;}catch(f){r(f);return}a.done?e(l):Promise.resolve(l).then(i,n);}function to(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var s=t.apply(e,r);function o(l){Ei(s,i,n,o,a,"next",l);}function a(l){Ei(s,i,n,o,a,"throw",l);}o(void 0);})}}function ki(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i);}return r}function ro(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ki(Object(r),true).forEach(function(i){io(t,i,r[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ki(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i));});}return t}function io(t,e,r){return e=no(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function no(t){var e=so(t,"string");return typeof e=="symbol"?e:String(e)}function so(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return (e==="string"?String:Number)(t)}var oo=q().codes.ERR_INVALID_ARG_TYPE;function ao(t,e,r){var i;if(e&&typeof e.next=="function")i=e;else if(e&&e[Symbol.asyncIterator])i=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])i=e[Symbol.iterator]();else throw new oo("iterable",["Iterable"],e);var n=new t(ro({objectMode:true},r)),s=false;n._read=function(){s||(s=true,o());};function o(){return a.apply(this,arguments)}function a(){return a=to(function*(){try{var l=yield i.next(),f=l.value,g=l.done;g?n.push(null):n.push(yield f)?o():s=!1;}catch(h){n.destroy(h);}}),a.apply(this,arguments)}return n}Ri.exports=ao;});var Lt=c((ll,Bi)=>{Bi.exports=d;var ce;d.ReadableState=Mi;R("events").EventEmitter;var Ci=function(e,r){return e.listeners(r).length},we=St(),Xe=R("buffer").Buffer,lo=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function co(t){return Xe.from(t)}function uo(t){return Xe.isBuffer(t)||t instanceof lo}var $t=R("util"),u;$t&&$t.debuglog?u=$t.debuglog("stream"):u=function(){};var fo=Kr(),zt=Rt(),ho=Pt(),po=ho.getHighWaterMark,Ze=q().codes,go=Ze.ERR_INVALID_ARG_TYPE,_o=Ze.ERR_STREAM_PUSH_AFTER_EOF,mo=Ze.ERR_METHOD_NOT_IMPLEMENTED,bo=Ze.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ue,Wt,Gt;z()(d,we);var ye=zt.errorOrDestroy,Ht=["error","close","destroy","pause","resume"];function yo(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]];}function Mi(t,e,r){ce=ce||K(),t=t||{},typeof r!="boolean"&&(r=e instanceof ce),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=po(this,t,"readableHighWaterMark",r),this.buffer=new fo,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=false,this.endEmitted=false,this.reading=false,this.sync=true,this.needReadable=false,this.emittedReadable=false,this.readableListening=false,this.resumeScheduled=false,this.paused=true,this.emitClose=t.emitClose!==false,this.autoDestroy=!!t.autoDestroy,this.destroyed=false,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=false,this.decoder=null,this.encoding=null,t.encoding&&(ue||(ue=qt().StringDecoder),this.decoder=new ue(t.encoding),this.encoding=t.encoding);}function d(t){if(ce=ce||K(),!(this instanceof d))return new d(t);var e=this instanceof ce;this._readableState=new Mi(t,this,e),this.readable=true,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),we.call(this);}Object.defineProperty(d.prototype,"destroyed",{enumerable:false,get:function(){return this._readableState===void 0?false:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e);}});d.prototype.destroy=zt.destroy;d.prototype._undestroy=zt.undestroy;d.prototype._destroy=function(t,e){e(t);};d.prototype.push=function(t,e){var r=this._readableState,i;return r.objectMode?i=true:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=Xe.from(t,e),e=""),i=true),Ii(this,t,e,false,i)};d.prototype.unshift=function(t){return Ii(this,t,null,true,false)};function Ii(t,e,r,i,n){u("readableAddChunk",e);var s=t._readableState;if(e===null)s.reading=false,xo(t,s);else {var o;if(n||(o=wo(s,e)),o)ye(t,o);else if(s.objectMode||e&&e.length>0)if(typeof e!="string"&&!s.objectMode&&Object.getPrototypeOf(e)!==Xe.prototype&&(e=co(e)),i)s.endEmitted?ye(t,new bo):Jt(t,s,e,true);else if(s.ended)ye(t,new _o);else {if(s.destroyed)return false;s.reading=false,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||e.length!==0?Jt(t,s,e,false):Vt(t,s)):Jt(t,s,e,false);}else i||(s.reading=false,Vt(t,s));}return !s.ended&&(s.length<s.highWaterMark||s.length===0)}function Jt(t,e,r,i){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,i?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&Qe(t)),Vt(t,e);}function wo(t,e){var r;return !uo(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new go("chunk",["string","Buffer","Uint8Array"],e)),r}d.prototype.isPaused=function(){return this._readableState.flowing===false};d.prototype.setEncoding=function(t){ue||(ue=qt().StringDecoder);var e=new ue(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";r!==null;)i+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),i!==""&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Ti=1073741824;function vo(t){return t>=Ti?t=Ti:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function Ai(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=vo(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=true,0))}d.prototype.read=function(t){u("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=false),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return u("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Yt(this):Qe(this),null;if(t=Ai(t,e),t===0&&e.ended)return e.length===0&&Yt(this),null;var i=e.needReadable;u("need readable",i),(e.length===0||e.length-t<e.highWaterMark)&&(i=true,u("length less than watermark",i)),e.ended||e.reading?(i=false,u("reading or ended",i)):i&&(u("do read"),e.reading=true,e.sync=true,e.length===0&&(e.needReadable=true),this._read(e.highWaterMark),e.sync=false,e.reading||(t=Ai(r,e)));var n;return t>0?n=Oi(t,e):n=null,n===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=true),r!==t&&e.ended&&Yt(this)),n!==null&&this.emit("data",n),n};function xo(t,e){if(u("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length);}e.ended=true,e.sync?Qe(t):(e.needReadable=false,e.emittedReadable||(e.emittedReadable=true,ji(t)));}}function Qe(t){var e=t._readableState;u("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=false,e.emittedReadable||(u("emitReadable",e.flowing),e.emittedReadable=true,process.nextTick(ji,t));}function ji(t){var e=t._readableState;u("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=false),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Kt(t);}function Vt(t,e){e.readingMore||(e.readingMore=true,process.nextTick(So,t,e));}function So(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(u("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=false;}d.prototype._read=function(t){ye(this,new mo("_read()"));};d.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t);break}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,e);var n=(!e||e.end!==false)&&t!==process.stdout&&t!==process.stderr,s=n?a:p;i.endEmitted?process.nextTick(s):r.once("end",s),t.on("unpipe",o);function o(M,x){u("onunpipe"),M===r&&x&&x.hasUnpiped===false&&(x.hasUnpiped=true,g());}function a(){u("onend"),t.end();}var l=Eo(r);t.on("drain",l);var f=false;function g(){u("cleanup"),t.removeListener("close",v),t.removeListener("finish",T),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",o),r.removeListener("end",a),r.removeListener("end",p),r.removeListener("data",h),f=true,i.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&l();}r.on("data",h);function h(M){u("ondata");var x=t.write(M);u("dest.write",x),x===false&&((i.pipesCount===1&&i.pipes===t||i.pipesCount>1&&Li(i.pipes,t)!==-1)&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause());}function m(M){u("onerror",M),p(),t.removeListener("error",m),Ci(t,"error")===0&&ye(t,M);}yo(t,"error",m);function v(){t.removeListener("finish",T),p();}t.once("close",v);function T(){u("onfinish"),t.removeListener("close",v),p();}t.once("finish",T);function p(){u("unpipe"),r.unpipe(t);}return t.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),t};function Eo(t){return function(){var r=t._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Ci(t,"data")&&(r.flowing=true,Kt(t));}}d.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:false};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=false,t&&t.emit("unpipe",this,r),this);if(!t){var i=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=false;for(var s=0;s<n;s++)i[s].emit("unpipe",this,{hasUnpiped:false});return this}var o=Li(e.pipes,t);return o===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};d.prototype.on=function(t,e){var r=we.prototype.on.call(this,t,e),i=this._readableState;return t==="data"?(i.readableListening=this.listenerCount("readable")>0,i.flowing!==false&&this.resume()):t==="readable"&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=true,i.flowing=false,i.emittedReadable=false,u("on readable",i.length,i.reading),i.length?Qe(this):i.reading||process.nextTick(ko,this)),r};d.prototype.addListener=d.prototype.on;d.prototype.removeListener=function(t,e){var r=we.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(Di,this),r};d.prototype.removeAllListeners=function(t){var e=we.prototype.removeAllListeners.apply(this,arguments);return (t==="readable"||t===void 0)&&process.nextTick(Di,this),e};function Di(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=true:t.listenerCount("data")>0&&t.resume();}function ko(t){u("readable nexttick read 0"),t.read(0);}d.prototype.resume=function(){var t=this._readableState;return t.flowing||(u("resume"),t.flowing=!t.readableListening,Ro(this,t)),t.paused=false,this};function Ro(t,e){e.resumeScheduled||(e.resumeScheduled=true,process.nextTick(Po,t,e));}function Po(t,e){u("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=false,t.emit("resume"),Kt(t),e.flowing&&!e.reading&&t.read(0);}d.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==false&&(u("pause"),this._readableState.flowing=false,this.emit("pause")),this._readableState.paused=true,this};function Kt(t){var e=t._readableState;for(u("flow",e.flowing);e.flowing&&t.read()!==null;);}d.prototype.wrap=function(t){var e=this,r=this._readableState,i=false;t.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var o=r.decoder.end();o&&o.length&&e.push(o);}e.push(null);}),t.on("data",function(o){if(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!(r.objectMode&&o==null)&&!(!r.objectMode&&(!o||!o.length))){var a=e.push(o);a||(i=true,t.pause());}});for(var n in t)this[n]===void 0&&typeof t[n]=="function"&&(this[n]=(function(a){return function(){return t[a].apply(t,arguments)}})(n));for(var s=0;s<Ht.length;s++)t.on(Ht[s],this.emit.bind(this,Ht[s]));return this._read=function(o){u("wrapped _read",o),i&&(i=false,t.resume());},this};typeof Symbol=="function"&&(d.prototype[Symbol.asyncIterator]=function(){return Wt===void 0&&(Wt=Si()),Wt(this)});Object.defineProperty(d.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(d.prototype,"readableBuffer",{enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(d.prototype,"readableFlowing",{enumerable:false,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e);}});d._fromList=Oi;Object.defineProperty(d.prototype,"readableLength",{enumerable:false,get:function(){return this._readableState.length}});function Oi(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function Yt(t){var e=t._readableState;u("endReadable",e.endEmitted),e.endEmitted||(e.ended=true,process.nextTick(To,e,t));}function To(t,e){if(u("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=true,e.readable=false,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy();}}typeof Symbol=="function"&&(d.from=function(t,e){return Gt===void 0&&(Gt=Pi()),Gt(d,t,e)});function Li(t,e){for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return -1}});var Xt=c((cl,Ni)=>{Ni.exports=F;var et=q().codes,Ao=et.ERR_METHOD_NOT_IMPLEMENTED,Co=et.ERR_MULTIPLE_CALLBACK,Mo=et.ERR_TRANSFORM_ALREADY_TRANSFORMING,Io=et.ERR_TRANSFORM_WITH_LENGTH_0,tt=K();z()(F,tt);function jo(t,e){var r=this._transformState;r.transforming=false;var i=r.writecb;if(i===null)return this.emit("error",new Co);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),i(t);var n=this._readableState;n.reading=false,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}function F(t){if(!(this instanceof F))return new F(t);tt.call(this,t),this._transformState={afterTransform:jo.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=true,this._readableState.sync=false,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",Do);}function Do(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){Fi(t,e,r);}):Fi(this,null,null);}F.prototype.push=function(t,e){return this._transformState.needTransform=false,tt.prototype.push.call(this,t,e)};F.prototype._transform=function(t,e,r){r(new Ao("_transform()"));};F.prototype._write=function(t,e,r){var i=this._transformState;if(i.writecb=r,i.writechunk=t,i.writeencoding=e,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark);}};F.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=true,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=true;};F.prototype._destroy=function(t,e){tt.prototype._destroy.call(this,t,function(r){e(r);});};function Fi(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new Io;if(t._transformState.transforming)throw new Mo;return t.push(null)}});var $i=c((ul,Ui)=>{Ui.exports=ve;var qi=Xt();z()(ve,qi);function ve(t){if(!(this instanceof ve))return new ve(t);qi.call(this,t);}ve.prototype._transform=function(t,e,r){r(null,t);};});var Yi=c((fl,Ji)=>{var Zt;function Oo(t){var e=false;return function(){e||(e=true,t.apply(void 0,arguments));}}var Hi=q().codes,Lo=Hi.ERR_MISSING_ARGS,Bo=Hi.ERR_STREAM_DESTROYED;function Wi(t){if(t)throw t}function Fo(t){return t.setHeader&&typeof t.abort=="function"}function No(t,e,r,i){i=Oo(i);var n=false;t.on("close",function(){n=true;}),Zt===void 0&&(Zt=Ve()),Zt(t,{readable:e,writable:r},function(o){if(o)return i(o);n=true,i();});var s=false;return function(o){if(!n&&!s){if(s=true,Fo(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(o||new Bo("pipe"));}}}function Gi(t){t();}function qo(t,e){return t.pipe(e)}function Uo(t){return !t.length||typeof t[t.length-1]!="function"?Wi:t.pop()}function $o(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=Uo(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Lo("streams");var n,s=e.map(function(o,a){var l=a<e.length-1,f=a>0;return No(o,l,f,function(g){n||(n=g),g&&s.forEach(Gi),!l&&(s.forEach(Gi),i(n));})});return e.reduce(qo)}Ji.exports=$o;});var Vi=c((j,Se)=>{var xe=R("stream");process.env.READABLE_STREAM==="disable"&&xe?(Se.exports=xe.Readable,Object.assign(Se.exports,xe),Se.exports.Stream=xe):(j=Se.exports=Lt(),j.Stream=xe||j,j.Readable=j,j.Writable=jt(),j.Duplex=K(),j.Transform=Xt(),j.PassThrough=$i(),j.finished=Ve(),j.pipeline=Yi());});var Xi=c((hl,Ki)=>{var{Buffer:D}=R("buffer"),zi=Symbol.for("BufferList");function _(t){if(!(this instanceof _))return new _(t);_._init.call(this,t);}_._init=function(e){Object.defineProperty(this,zi,{value:true}),this._bufs=[],this.length=0,e&&this.append(e);};_.prototype._new=function(e){return new _(e)};_.prototype._offset=function(e){if(e===0)return [0,0];let r=0;for(let i=0;i<this._bufs.length;i++){let n=r+this._bufs[i].length;if(e<n||i===this._bufs.length-1)return [i,e-r];r=n;}};_.prototype._reverseOffset=function(t){let e=t[0],r=t[1];for(let i=0;i<e;i++)r+=this._bufs[i].length;return r};_.prototype.get=function(e){if(e>this.length||e<0)return;let r=this._offset(e);return this._bufs[r[0]][r[1]]};_.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};_.prototype.copy=function(e,r,i,n){if((typeof i!="number"||i<0)&&(i=0),(typeof n!="number"||n>this.length)&&(n=this.length),i>=this.length||n<=0)return e||D.alloc(0);let s=!!e,o=this._offset(i),a=n-i,l=a,f=s&&r||0,g=o[1];if(i===0&&n===this.length){if(!s)return this._bufs.length===1?this._bufs[0]:D.concat(this._bufs,this.length);for(let h=0;h<this._bufs.length;h++)this._bufs[h].copy(e,f),f+=this._bufs[h].length;return e}if(l<=this._bufs[o[0]].length-g)return s?this._bufs[o[0]].copy(e,r,g,g+l):this._bufs[o[0]].slice(g,g+l);s||(e=D.allocUnsafe(a));for(let h=o[0];h<this._bufs.length;h++){let m=this._bufs[h].length-g;if(l>m)this._bufs[h].copy(e,f,g),f+=m;else {this._bufs[h].copy(e,f,g,g+l),f+=m;break}l-=m,g&&(g=0);}return e.length>f?e.slice(0,f):e};_.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();let i=this._offset(e),n=this._offset(r),s=this._bufs.slice(i[0],n[0]+1);return n[1]===0?s.pop():s[s.length-1]=s[s.length-1].slice(0,n[1]),i[1]!==0&&(s[0]=s[0].slice(i[1])),this._new(s)};_.prototype.toString=function(e,r,i){return this.slice(r,i).toString(e)};_.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else {this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};_.prototype.duplicate=function(){let e=this._new();for(let r=0;r<this._bufs.length;r++)e.append(this._bufs[r]);return e};_.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(D.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let r=0;r<e.length;r++)this.append(e[r]);else if(this._isBufferList(e))for(let r=0;r<e._bufs.length;r++)this.append(e._bufs[r]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(D.from(e));return this};_.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length;};_.prototype.indexOf=function(t,e,r){if(r===void 0&&typeof e=="string"&&(r=e,e=void 0),typeof t=="function"||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof t=="number"?t=D.from([t]):typeof t=="string"?t=D.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=D.from(t.buffer,t.byteOffset,t.byteLength):D.isBuffer(t)||(t=D.from(t)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),t.length===0)return e>this.length?this.length:e;let i=this._offset(e),n=i[0],s=i[1];for(;n<this._bufs.length;n++){let o=this._bufs[n];for(;s<o.length;)if(o.length-s>=t.length){let l=o.indexOf(t,s);if(l!==-1)return this._reverseOffset([n,l]);s=o.length-t.length+1;}else {let l=this._reverseOffset([n,s]);if(this._match(l,t))return l;s++;}s=0;}return -1};_.prototype._match=function(t,e){if(this.length-t<e.length)return false;for(let r=0;r<e.length;r++)if(this.get(t+r)!==e[r])return false;return true};(function(){let t={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 e in t)(function(r){t[r]===null?_.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:_.prototype[r]=function(i=0){return this.slice(i,i+t[r])[r](0)};})(e);})();_.prototype._isBufferList=function(e){return e instanceof _||_.isBufferList(e)};_.isBufferList=function(e){return e!=null&&e[zi]};Ki.exports=_;});var Zi=c((dl,rt)=>{var Qt=Vi().Duplex,Wo=z(),Ee=Xi();function A(t){if(!(this instanceof A))return new A(t);if(typeof t=="function"){this._callback=t;let e=function(i){this._callback&&(this._callback(i),this._callback=null);}.bind(this);this.on("pipe",function(i){i.on("error",e);}),this.on("unpipe",function(i){i.removeListener("error",e);}),t=null;}Ee._init.call(this,t),Qt.call(this);}Wo(A,Qt);Object.assign(A.prototype,Ee.prototype);A.prototype._new=function(e){return new A(e)};A.prototype._write=function(e,r,i){this._appendBuffer(e),typeof i=="function"&&i();};A.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e);};A.prototype.end=function(e){Qt.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null);};A.prototype._destroy=function(e,r){this._bufs.length=0,this.length=0,r(e);};A.prototype._isBufferList=function(e){return e instanceof A||e instanceof Ee||A.isBufferList(e)};A.isBufferList=Ee.isBufferList;rt.exports=A;rt.exports.BufferListStream=A;rt.exports.BufferList=Ee;});var en=c((pl,ir)=>{var Go=R("readline"),Ho=R("chalk"),Qi=vr(),it=kr(),nt=Tr(),Jo=Ir(),Yo=Ur(),Vo=Wr(),zo=vt(),{BufferListStream:Ko}=Zi(),er=Symbol("text"),tr=Symbol("prefixText"),Xo=3,rr=class{constructor(){this.requests=0,this.mutedStream=new Ko,this.mutedStream.pipe(process.stdout);let e=this;this.ourEmit=function(r,i,...n){let{stdin:s}=process;if(e.requests>0||s.emit===e.ourEmit){if(r==="keypress")return;r==="data"&&i.includes(Xo)&&process.emit("SIGINT"),Reflect.apply(e.oldEmit,this,[r,i,...n]);}else Reflect.apply(process.stdin.emit,this,[r,i,...n]);};}start(){this.requests++,this.requests===1&&this.realStart();}stop(){if(this.requests<=0)throw new Error("`stop` called more times than `start`");this.requests--,this.requests===0&&this.realStop();}realStart(){process.platform!=="win32"&&(this.rl=Go.createInterface({input:process.stdin,output:this.mutedStream}),this.rl.on("SIGINT",()=>{process.listenerCount("SIGINT")===0?process.emit("SIGINT"):(this.rl.close(),process.kill(process.pid,"SIGINT"));}));}realStop(){process.platform!=="win32"&&(this.rl.close(),this.rl=void 0);}},st,ot=class{constructor(e){st||(st=new rr),typeof e=="string"&&(e={text:e}),this.options={text:"",color:"cyan",stream:process.stderr,discardStdin:true,...e},this.spinner=this.options.spinner,this.color=this.options.color,this.hideCursor=this.options.hideCursor!==false,this.interval=this.options.interval||this.spinner.interval||100,this.stream=this.options.stream,this.id=void 0,this.isEnabled=typeof this.options.isEnabled=="boolean"?this.options.isEnabled:Vo({stream:this.stream}),this.isSilent=typeof this.options.isSilent=="boolean"?this.options.isSilent:false,this.text=this.options.text,this.prefixText=this.options.prefixText,this.linesToClear=0,this.indent=this.options.indent,this.discardStdin=this.options.discardStdin,this.isDiscardingStdin=false;}get indent(){return this._indent}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this._indent=e;}_updateInterval(e){e!==void 0&&(this.interval=e);}get spinner(){return this._spinner}set spinner(e){if(this.frameIndex=0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this._spinner=e;}else if(!zo())this._spinner=it.line;else if(e===void 0)this._spinner=it.dots;else if(e!=="default"&&it[e])this._spinner=it[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`);this._updateInterval(this._spinner.interval);}get text(){return this[er]}set text(e){this[er]=e,this.updateLineCount();}get prefixText(){return this[tr]}set prefixText(e){this[tr]=e,this.updateLineCount();}get isSpinning(){return this.id!==void 0}getFullPrefixText(e=this[tr],r=" "){return typeof e=="string"?e+r:typeof e=="function"?e()+r:""}updateLineCount(){let e=this.stream.columns||80,r=this.getFullPrefixText(this.prefixText,"-");this.lineCount=0;for(let i of Jo(r+"--"+this[er]).split(`
3
+ `))this.lineCount+=Math.max(1,Math.ceil(Yo(i)/e));}get isEnabled(){return this._isEnabled&&!this.isSilent}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this._isEnabled=e;}get isSilent(){return this._isSilent}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this._isSilent=e;}frame(){let{frames:e}=this.spinner,r=e[this.frameIndex];this.color&&(r=Ho[this.color](r)),this.frameIndex=++this.frameIndex%e.length;let i=typeof this.prefixText=="string"&&this.prefixText!==""?this.prefixText+" ":"",n=typeof this.text=="string"?" "+this.text:"";return i+r+n}clear(){if(!this.isEnabled||!this.stream.isTTY)return this;for(let e=0;e<this.linesToClear;e++)e>0&&this.stream.moveCursor(0,-1),this.stream.clearLine(),this.stream.cursorTo(this.indent);return this.linesToClear=0,this}render(){return this.isSilent?this:(this.clear(),this.stream.write(this.frame()),this.linesToClear=this.lineCount,this)}start(e){return e&&(this.text=e),this.isSilent?this:this.isEnabled?this.isSpinning?this:(this.hideCursor&&Qi.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=true,st.start()),this.render(),this.id=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.stream.write(`- ${this.text}
4
+ `),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&Qi.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(st.stop(),this.isDiscardingStdin=false),this):this}succeed(e){return this.stopAndPersist({symbol:nt.success,text:e})}fail(e){return this.stopAndPersist({symbol:nt.error,text:e})}warn(e){return this.stopAndPersist({symbol:nt.warning,text:e})}info(e){return this.stopAndPersist({symbol:nt.info,text:e})}stopAndPersist(e={}){if(this.isSilent)return this;let r=e.prefixText||this.prefixText,i=e.text||this.text,n=typeof i=="string"?" "+i:"";return this.stop(),this.stream.write(`${this.getFullPrefixText(r," ")}${e.symbol||" "}${n}
5
+ `),this}},Zo=function(t){return new ot(t)};ir.exports=Zo;ir.exports.promise=(t,e)=>{if(typeof t.then!="function")throw new TypeError("Parameter `action` must be a Promise");let r=new ot(e);return r.start(),(async()=>{try{await t,r.succeed();}catch{r.fail();}})(),r};});var tn=Sn(en()),H=()=>{let t=(0, tn.default)({text:"Loading...",color:"blue"});return {start:e=>{e&&(t.text=e),t.start();},stop:()=>{t.stop();},succeed:e=>{t.succeed(e);},fail:e=>{t.fail(e);}}};var he=class{constructor(e,r=process.cwd(),i=H()){this.packageManager=e;this.ui_spinner=i;if(this.workingDir=r,!this.validManagers.includes(this.packageManager))throw new Error(`Invalid package manager: ${this.packageManager}`)}validManagers=["npm","yarn","pnpm","bun"];workingDir;static detectPackageManager=(e=process.cwd())=>fs.existsSync(fe__default.default.join(e,"pnpm-lock.yaml"))?"pnpm":fs.existsSync(fe__default.default.join(e,"yarn.lock"))?"yarn":fs.existsSync(fe__default.default.join(e,"bun.lockb"))?"bun":"npm";ensurePackageJson(){if(!fs.existsSync(fe__default.default.join(this.workingDir,"package.json")))throw new Error(`package.json not found in ${this.workingDir}`)}changeDirectory(e){this.workingDir=fe__default.default.isAbsolute(e)?e:fe__default.default.resolve(this.workingDir,e);}runCommand(e,r,i,n=false,s){let o=s||`Running command: ${e}`;try{return n?(this.ui_spinner.start(o),child_process.execSync(e,{cwd:this.workingDir,stdio:"ignore"}),this.ui_spinner.succeed(r??`Command: ${e}`),!0):(this.ui_spinner.start(o),child_process.execSync(e,{cwd:this.workingDir,stdio:"inherit"}),this.ui_spinner.succeed(r??`Command: ${e}`),!0)}catch{return this.ui_spinner.fail(i??`Failed to run command: ${e}`),false}}install(e,r=false,i=false){return this.ensurePackageJson(),this.runCommand(this.buildInstallCommand(e,r),`Installed ${e}`,`Failed to install ${e}`,i,`Installing ${e}...`)}remove(e){return this.ensurePackageJson(),this.runCommand(this.buildRemoveCommand(e),`Removed ${e}`,`Failed to remove ${e}`)}isInstalled(e){this.ensurePackageJson();try{let r=child_process.execSync(`${this.packageManager} list --depth=0 --json`,{cwd:this.workingDir,stdio:"pipe",encoding:"utf8"});return !!JSON.parse(r).dependencies?.[e]}catch{return false}}getInstalledPackages(){this.ensurePackageJson();try{let e=child_process.execSync(`${this.packageManager} list --depth=0 --json`,{cwd:this.workingDir,stdio:"pipe",encoding:"utf8"});return JSON.parse(e).dependencies??{}}catch{return {}}}getVersion(e){return this.getInstalledPackages()[e]?.version??null}isAvailable(){try{return child_process.execSync(`${this.packageManager} --version`,{stdio:"ignore"}),!0}catch{return false}}buildInstallCommand(e,r){switch(this.packageManager){case "npm":return `npm install ${e}${r?" -D":""}`;case "yarn":return `yarn add ${e}${r?" --dev":""}`;case "pnpm":return `pnpm add ${e}${r?" --save-dev":" --save"}`;case "bun":return `bun add ${e}${r?" --development":""}`}}buildRemoveCommand(e){switch(this.packageManager){case "npm":return `npm uninstall ${e}`;case "yarn":return `yarn remove ${e}`;case "pnpm":return `pnpm remove ${e}`;case "bun":return `bun remove ${e}`}}};var lt=class{constructor(e,r,i=new he(r),n=H()){this.dir=e;this.packageManager=r;this.pkgManager=i;this.spin=n;}baseInstallation(){this.pkgManager.changeDirectory(this.dir);let e=`${this.packageManager} install`;try{this.spin.start("Installing dependencies..."),this.pkgManager.runCommand(e,"Installed dependencies","Installation failed",!0),this.spin.stop();}catch{this.spin.fail(`Failed to install dependencies, please run manually : ${e}`),process.exit(1);}}installTailwindCSSForNextJS(){this.pkgManager.isInstalled("tailwindcss")?(this.pkgManager.isInstalled("postcss")||this.pkgManager.install("postcss",true),this.pkgManager.isInstalled("autoprefixer")||this.pkgManager.install("autoprefixer",true)):this.pkgManager.install("tailwindcss postcss autoprefixer",true);}installTailwindCSS(){this.pkgManager.isInstalled("tailwindcss")?this.pkgManager.isInstalled("@tailwindcss/vite")?console.log("TailwindCSS is already installed."):this.pkgManager.install("@tailwindcss/vite",true):this.pkgManager.install("tailwindcss @tailwindcss/vite",true);}installIconLibrary(e){this.pkgManager.isInstalled("@iconify/tailwind4")||this.pkgManager.install("@iconify/tailwind4",true);try{this.pkgManager.install(`@iconify-json/${e}`,!0,!0);}catch{console.log("Icon library is already installed.");}}installShadcnCli(){this.pkgManager.isInstalled("tailwind-variants")||this.pkgManager.install("tailwind-variants",false,true),this.pkgManager.isInstalled("tw-animate-css")||this.pkgManager.install("tw-animate-css",false,true),this.pkgManager.isInstalled("react-aria-components")||this.pkgManager.install("react-aria-components",false,true),this.pkgManager.isInstalled("motion")||this.pkgManager.install("motion",false,true);}};var ra=url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))),nn=fe.dirname(ra),y=class{static basePath=(()=>{let e=fe.join(nn,"../stubs"),r=fe.join(nn,"../../stubs");return fs.existsSync(e)?e:r})();static get(e){let r=e.replace(/\./g,"/")+".stub",i=fe.join(this.basePath,r);if(!fs.existsSync(i))throw new Error(`Stub not found: ${i}`);return fs.readFileSync(i,"utf-8")}};var sn="http://localhost:3000/jk/{name}.json",on="http://localhost:3000/next/{name}.json",an=[{title:"Both",value:"both",selected:true},{title:"Light",value:"light",selected:false},{title:"Dark",value:"dark",selected:false}],ln=[{title:"JK Default",value:"jk-ui",selected:true},{title:"Water",value:"water",selected:false},{title:"Earth",value:"earth",selected:false},{title:"Fire",value:"fire",selected:false},{title:"Air",value:"air",selected:false},{title:"Energy",value:"energy",selected:false},{title:"Mystery",value:"mystery",selected:false},{title:"Nature",value:"nature",selected:false},{title:"Oz",value:"oz",selected:false},{title:"Passion",value:"passion",selected:false},{title:"Romance",value:"romance",selected:false},{title:"Spring",value:"spring",selected:false},{title:"Winter",value:"winter",selected:false},{title:"Trust",value:"trust",selected:false}],Re=[{title:"Hugeicons",value:"hugeicons",selected:true},{title:"Phosphore",value:"ph",selected:false},{title:"Heroicons",value:"heroicons",selected:false},{title:"Lucide",value:"lucide",selected:false},{title:"Solar icon",value:"solar",selected:false}],J=493,sr=[{framework:"astro",cssPath:"src/assets/css/"},{framework:"react",cssPath:"src/"},{framework:"rasengan",cssPath:"src/"},{framework:"tanstack-start",cssPath:"src/"},{framework:"react-router",cssPath:"src/"},{framework:"inertia-react",cssPath:"resources/css/"},{framework:"laravel",cssPath:"resources/css/"}];var ct=class{static get(e,r,i){let n=y.get(`themes.${i.toLowerCase()}`),s=y.get("css.scroll-config"),o=r.toLowerCase(),a=Re.find(M=>M.value===e.iconLibrary)??Re[1],l=y.get("css.base-inline"),f=`
337
6
  @import "tailwindcss";
338
7
  @import "tw-animate-css";
339
8
 
@@ -344,23 +13,23 @@
344
13
  @reference "./jk-ui/utils.css";
345
14
 
346
15
  @reference "./button-styles.css";
347
- @reference "./utilities.css";`,u=`@plugin "@iconify/tailwind4" {
16
+ @reference "./utilities.css";`,g=`@plugin "@iconify/tailwind4" {
348
17
  prefixes: ${a.value};
349
18
  scale: 1.0;
350
19
  }
351
- `,g=cr.get(),d=fr.get(),m=ur.get(),y=t.toLowerCase()==="both"?m:t.toLowerCase()==="dark"?g:d;return `${l}
20
+ `,h=y.get("css.base-dark"),m=y.get("css.base-light"),v=y.get("css.base-both");return `${f}
352
21
 
353
22
 
354
- ${u}
23
+ ${g}
355
24
 
356
25
 
357
- ${y}
26
+ ${o==="both"?v:o==="dark"?h:m}
358
27
 
359
28
  ${n}
360
29
 
361
- ${s}
30
+ ${l}
362
31
 
363
- ${o}`}};var P=class{static packageJsonCache=new Map;static async askPackageManager(){return (await cs__default.default([{type:"select",name:"packageManager",message:"Which package manager would you like to use?",choices:[{title:"npm",value:"npm"},{title:"yarn",value:"yarn"},{title:"pnpm",value:"pnpm"},{title:"bun",value:"bun"}]}])).packageManager}static detect(){let e=process.cwd();if(this.hasPackageJson(e)){let i=this.getPackageJson(e);if(i){let n={...i.dependencies,...i.devDependencies},o={astro:"astro",rasengan:"rasengan","tanstack-start":"@tanstack/react-start","react-router":"@react-router/node","tanstack-router":"@tanstack/react-router","inertia-react":"@inertiajs/react",next:"next",react:"react"};for(let[a,s]of Object.entries(o))if((Array.isArray(s)?s:[s]).some(u=>u in n))return a;if("vite"in n)return "@vitejs/plugin-react"in n||"@vitejs/plugin-react-swc"in n?"react":"typescript"in n?"vite-ts":"vite-js"}}let t={artisan:"laravel","bin/console":"symfony","manage.py":"django"};for(let[i,n]of Object.entries(t))if(fs.existsSync(ue.join(e,i)))return n;return "generic"}static hasPackageJson(e){return fs.existsSync(ue.join(e,"package.json"))}static getPackageJson(e){if(this.packageJsonCache.has(e))return this.packageJsonCache.get(e);let t=ue.join(e,"package.json");if(!fs.existsSync(t))return this.packageJsonCache.set(e,null),null;try{let i=fs.readFileSync(t,"utf-8"),n=JSON.parse(i);return this.packageJsonCache.set(e,n),n}catch{return this.packageJsonCache.set(e,null),null}}static checkCSSFramework(e){let t=process.cwd(),i=this.getPackageJson(t);if(i){let n={...i.dependencies,...i.devDependencies};if(e==="tailwindcss"&&"tailwindcss"in n)return true}return false}static checkTailwindCSS(){return this.checkCSSFramework("tailwindcss")}static getProjectName(){let e=process.cwd(),t=this.getPackageJson(e);return t&&t.name?t.name:ue.basename(e)}static hasSrcDir(){return fs.existsSync(ue.join(process.cwd(),"src"))}static isTypeScript(){let e=process.cwd();return fs.existsSync(ue.join(e,"tsconfig.json"))}};var hr=class{static generateBaseFiles(e,t){let i=this.getMainCssFileName();this.createJkUIFiles(t,i),this.createFrameworkSpecificFiles(e,t),this.generateConfigFiles(t);}static createShared(e){let t=e.cssPath||"src/css/",i=e.libPath;fs.existsSync(t)||fs.mkdirSync(t,{recursive:true,mode:J}),fs.existsSync(`${t}/jk-ui`)||fs.mkdirSync(`${t}/jk-ui`,{recursive:true,mode:J}),fs.existsSync(`${i}`)||fs.mkdirSync(`${i}`,{recursive:true,mode:J});}static createJkUIFiles(e,t){let i=e.cssPath,n=e.libPath,o=e.themingMode||"light",a=e.theme||"jk-ui";this.createShared(e);let s=o.toLowerCase()==="both"?"":`${o.toLowerCase()}.`,l=dr.get(e,o,a);fs.writeFileSync(ue.join(i,`${t}.css`),l),fs.writeFileSync(ue.join(i,"jk-ui/base.css"),S.get("css.jk-ui.base")),fs.writeFileSync(ue.join(i,"jk-ui/form.css"),S.get("css.jk-ui.form")),fs.writeFileSync(ue.join(i,"jk-ui/button.css"),S.get("css.jk-ui.button")),fs.writeFileSync(ue.join(i,"jk-ui/ui.css"),S.get("css.jk-ui.ui")),fs.writeFileSync(ue.join(i,"jk-ui/utils.css"),S.get("css.jk-ui.utils")),fs.writeFileSync(ue.join(i,"button-styles.css"),S.get(`css.${s}buttons`)),fs.writeFileSync(ue.join(i,"utilities.css"),S.get(`css.${s}utilities`)),fs.writeFileSync(ue.join(n,"utils.ts"),S.get("utils.lib"));}static generateConfigFiles(e){let t=e.framework==="next";fs.writeFileSync("components.json",JSON.stringify({$schema:"https://ui.shadcn.com/schema.json",style:"radix-nova",rsc:false,tsx:true,tailwind:{config:"",css:"src/styles/globals.css",baseColor:"neutral",cssVariables:true,prefix:""},aliases:{components:"@/components",utils:"@/lib/utils",ui:"@/components/ui",lib:"@/lib",hooks:"@/hooks"},iconLibrary:"lucide",registries:{"@jk-ui":t?cn:ln}},null,2));}static getMainCssFileName(){return "globals"}static createFrameworkSpecificFiles(e,t){switch(e){case "astro":this.createAstroFiles();break;case "rasengan":this.createRasenganFiles();break;case "next":break;case "inertia-react":break;case "tanstack-start":break;case "react":case "react-js":case "react-ts":case "vite-js":case "vite-ts":this.createReactFiles(t);break}}static createAstroFiles(){let t=P.hasSrcDir()?"src/":"";fs.existsSync(ue.join(t,"components"))||fs.mkdirSync(ue.join(t,"components"),{recursive:true,mode:J}),fs.existsSync(ue.join(t,"components/seo"))||fs.mkdirSync(ue.join(t,"components/seo"),{recursive:true,mode:J}),fs.existsSync(ue.join(t,"layouts"))||fs.mkdirSync(ue.join(t,"layouts"),{recursive:true,mode:J}),fs.writeFileSync("tsconfig.json",S.get("astro.tsconfig")),fs.writeFileSync(ue.join(t,"layouts/Layout.astro"),S.get("astro.layout")),fs.writeFileSync(ue.join(t,"components/seo/SEO.astro"),S.get("astro.seo"));}static createRasenganFiles(){let t=P.hasSrcDir()?"src/":"";fs.existsSync(ue.join(t,"components"))||fs.mkdirSync(ue.join(t,"components"),{recursive:true,mode:J}),fs.writeFileSync("rasengan.config.js",S.get("rasengan.config"));}static createReactFiles(e){let t=P.isTypeScript()?"ts":"js";fs.writeFileSync(`vite.config.${t}`,S.get("vite.vanilla"));}};var pr=class{constructor(e,t,i,n,o=new lr(e,n)){this.answers=t;this.framework=i;this.installer=o;}setup(e=false){this.installDependencies(e),this.generateFiles(this.framework);}installDependencies(e){e&&this.installer.baseInstallation(),this.framework==="next"?this.installer.installTailwindCSSForNextJS():this.installer.installTailwindCSS(),this.answers.framework==="vite"||this.answers.framework,this.installer.installIconLibrary(this.answers.iconLibrary),this.installer.installShadcnCli();}generateFiles(e){hr.generateBaseFiles(e,this.answers);}};var Ce={error:gr__default.default.red,warn:gr__default.default.yellow,info:gr__default.default.cyan,success:gr__default.default.green};var x={error(...r){console.log(Ce.error(r.join(" ")));},warn(...r){console.log(Ce.warn(r.join(" ")));},info(...r){console.log(Ce.info(r.join(" ")));},success(...r){console.log(Ce.success(r.join(" ")));},log(...r){console.log(r.join(" "));},break(){console.log("");}};var hn=()=>{},pn=()=>{let r=ue.join(process.cwd(),"flexi-cli.json");if(!fs.existsSync(r))return false;try{let e=fs.readFileSync(r,"utf-8"),t=JSON.parse(e),i=["framework","defaultSource","registries"];for(let n of i)if(!(n in t))return !1;return !(!Array.isArray(t.registries)||t.registries.length===0)}catch{return false}},ct=r=>{if(!r)return r;let e=String(r).trim().replace(/\\/g,"/");return e=e.replace(/^\.\//,""),e=e.replace(/\/+/,"/"),e.endsWith("/")||(e+="/"),e},ft=r=>{let e=n=>n.startsWith("/")||/^[A-Za-z]:[\\/]/.test(n),i=zod.z.string().min(1,"Path is required").refine(n=>!e(n),"Please provide a relative path (do not start with a drive letter or '/')").refine(n=>!n.includes("../"),"Path cannot contain '..'").regex(/^[A-Za-z0-9_\-\.\/]+$/,"Path contains invalid characters").safeParse(String(r??"").trim());return i.success?true:i.error.issues[0]?.message||"Invalid path"};var vr=class{get(){return [{type:"select",name:"theme",message:"\u{1F3A8} Which theme would you like to use?",choices:un.map(e=>({title:e.title,value:e.value,selected:e.selected}))},{type:"select",name:"themingMode",message:"Your theming mode",choices:fn.map(e=>({title:e.title,value:e.value,selected:e.selected}))},{type:"select",name:"iconLibrary",message:"\u{1F3A8} Which Icon Library would you like to use?",choices:Re.map(e=>({title:e.title,value:e.value,selected:e.selected}))}]}async askFolders(e){let t=P.hasSrcDir(),i=e==="next"&&fs.existsSync(ue.join(process.cwd(),"app")),n=lt.find(s=>s.framework===e)??{cssPath:i?"styles":"src/styles"},o={cssPath:t?n.cssPath:n.cssPath?.startsWith("src/")?n.cssPath.replace("src/",""):n.cssPath,libPath:t?"src/lib":"lib"},a=await cs__default.default([{type:"text",name:"cssPath",message:"Path to the CSS file",initial:o.cssPath,validate:s=>ft(s),format:s=>ct(s)},{type:"text",name:"libPath",message:"Path to the lib utils folder",initial:o.libPath,validate:s=>ft(s),format:s=>ct(s)}]);return {cssPath:a.cssPath,libPath:a.libPath}}};var mr=class{constructor(e=new vr){this.themingPrompts=e;}supportedFrameworks=["astro","rasengan","react","react-js","react-ts","tanstack-start","tanstack-router","react-router","inertia-react","next"];async initialize(e){let t={projectName:P.getProjectName(),framework:"",theme:"",cssPath:"",themingMode:"both",iconLibrary:"",libPath:""};if(e.cwd&&e.cwd!==process.cwd()&&process.chdir(e.cwd),!P.hasPackageJson(process.cwd()))x.error("\u2718 No package.json found."),x.info("Please create a project first using your framework's CLI."),x.info("Example: npm create vite@latest"),process.exit(0);else {let i=P.detect();!this.supportedFrameworks.includes(i)&&!["vite-js","vite-ts"].includes(i)&&(x.error(`\u274C Sorry, the CLI does not support the '${i}' framework for the moment.`),x.info("Supported frameworks: Astro, React, Rasengan, Tanstack Start, Tanstack Router, React Router 7, Inertia React"),process.exit(0));let n=i;t=await this.handleInitInProject(n,e);}return {projectAnswers:t}}async handleInitInProject(e,t){x.info(`\u{1F4E6} Detected ${e} project`),P.checkTailwindCSS()||x.info("\u2139\uFE0F Tailwind CSS will be configured for your project");let n=await cs__default.default(this.themingPrompts.get()),o="",a=t.libPath||"";if(t.cssPath&&(o=t.cssPath),o===""){let s=await this.themingPrompts.askFolders(e);o=s.cssPath,a=s.libPath;}return {projectName:P.getProjectName(),framework:e,theme:n.theme,themingMode:n.themingMode,iconLibrary:n.iconLibrary,cssPath:o,libPath:a}}};var _r=r=>{r instanceof Error?x.error(r.message):x.error("An unexpected error occurred"),process.exit(1);};var gn=new commander.Command("init").description("Initialize a new project or configure an existing one").option("--css-path <path>","Path to the CSS file, Only For Vite Vanilla and Astro").option("-c, --cwd <cwd>","the working directory. defaults to the current directory.",process.cwd()).action(async r=>{try{let e={cssPath:r.cssPath,cwd:r.cwd};if(pn()){x.info("Project already initialized");return}hn();let t=new mr,i=H(),{projectAnswers:n}=await t.initialize(e),o=de.detectPackageManager();new pr(n.projectName,n,n.framework,o).setup(!1),i.succeed("Project setup successfully"),i.stop();}catch(e){_r(e);}});var vn=[{ph:"ph--house",hugeicons:"hugeicons--home-03",heroicons:"heroicons--home-solid",lucide:"lucide--home"},{ph:"ph--check",hugeicons:"hugeicons--check-mark-01",heroicons:"heroicons--check-solid",lucide:"lucide--check"},{ph:"ph--x",hugeicons:"hugeicons--cancel-01",heroicons:"heroicons--x-mark-solid",lucide:"lucide--x"},{ph:"ph--chevron-down",hugeicons:"hugeicons--arrow-down-01",heroicons:"heroicons--chevron-down-solid",lucide:"lucide--chevron-down"},{ph:"ph--plus",hugeicons:"hugeicons--plus-01",heroicons:"heroicons--plus-solid",lucide:"lucide--plus"},{ph:"ph--trash",hugeicons:"hugeicons--delete-02",heroicons:"heroicons--trash-solid",lucide:"lucide--trash-2"},{ph:"ph--user",hugeicons:"hugeicons--user",heroicons:"heroicons--user-solid",lucide:"lucide--user"},{ph:"ph--gear",hugeicons:"hugeicons--settings-02",heroicons:"heroicons--cog-6-tooth-solid",lucide:"lucide--settings"},{ph:"ph--magnifying-glass",hugeicons:"hugeicons--search-02",heroicons:"heroicons--magnifying-glass-solid",lucide:"lucide--search"},{ph:"ph--bell",hugeicons:"hugeicons--notification-03",heroicons:"heroicons--bell-solid",lucide:"lucide--bell"},{ph:"ph--calendar",hugeicons:"hugeicons--calendar-03",heroicons:"heroicons--calendar-solid",lucide:"lucide--calendar"},{ph:"ph--envelope",hugeicons:"hugeicons--mail-02",heroicons:"heroicons--envelope-solid",lucide:"lucide--mail"},{ph:"ph--eye",hugeicons:"hugeicons--view",heroicons:"heroicons--eye-solid",lucide:"lucide--eye"},{ph:"ph--eye-slash",hugeicons:"hugeicons--view-off",heroicons:"heroicons--eye-slash-solid",lucide:"lucide--eye-off"},{ph:"ph--arrow-right",hugeicons:"hugeicons--arrow-right-01",heroicons:"heroicons--arrow-right-solid",lucide:"lucide--arrow-right"},{ph:"ph--arrow-left",hugeicons:"hugeicons--arrow-left-01",heroicons:"heroicons--arrow-left-solid",lucide:"lucide--arrow-left"},{ph:"ph--pencil",hugeicons:"hugeicons--pencil-edit-02",heroicons:"heroicons--pencil-solid",lucide:"lucide--pencil"},{ph:"ph--info",hugeicons:"hugeicons--information-circle",heroicons:"heroicons--information-circle-solid",lucide:"lucide--info"},{ph:"ph--warning",hugeicons:"hugeicons--alert-circle",heroicons:"heroicons--exclamation-circle-solid",lucide:"lucide--alert-circle"},{ph:"ph--list",hugeicons:"hugeicons--menu-01",heroicons:"heroicons--bars-3-solid",lucide:"lucide--menu"}];var bn=new commander.Command("fix-icons").description("Scan components and replace Phosphor icons with the selected icon library").action(async()=>{try{let r=process.cwd(),e=ue.join(r,"components.json");if(!fs.existsSync(e)){x.error("\u2718 No components.json found. Please initialize the project first.");return}let i=JSON.parse(fs.readFileSync(e,"utf-8")).iconLibrary;if(!i){x.error("\u2718 No icon library specified in components.json.");return}if(i==="ph"){x.info("\u2139 Your project is already using Phosphor icons. No changes needed.");return}let n=P.detect(),o="";if(n==="inertia-react"||n==="laravel"?o=ue.join(r,"resources","js","components","ui"):P.hasSrcDir()?o=ue.join(r,"src","components","ui"):o=ue.join(r,"components","ui"),!fs.existsSync(o)){x.warn(`\u26A0 components/ui directory not found at: ${o}`);return}x.info(`\u{1F50D} Scanning ${o} for icons to replace with ${i}...`);let a=yn(o),s=0,l=[];for(let d of a){let m=fs.readFileSync(d,"utf-8"),y=[],T=/ph--([a-z0-9-]+)/g,h;for(;(h=T.exec(m))!==null;){let I=h[0],w=h[1],B=vn.find(Ie=>Ie.ph===I);B&&B[i]&&y.push({from:I,to:B[i]});}y.length>0&&(s+=y.length,l.push({path:d,content:m,replacements:y}));}if(s===0){x.info("\u2728 No Phosphor icons were found in your components.");return}if(!(await cs__default.default({type:"confirm",name:"value",message:`Found ${s} icons in ${l.length} files. Do you want to replace them with ${i} icons?`,initial:!0})).value){x.info("Operation cancelled.");return}let g=H();g.start("Replacing icons...");for(let d of l){let m=d.content;for(let y of d.replacements)m=m.replace(new RegExp(y.from,"g"),y.to);fs.writeFileSync(d.path,m);}g.succeed(`Successfully replaced ${s} icons in ${l.length} files.`);}catch(r){_r(r);}});function yn(r,e=[]){return fs.readdirSync(r).forEach(i=>{let n=ue.join(r,i);if(fs.statSync(n).isDirectory())e=yn(n,e);else {let o=ue.extname(n);[".tsx",".jsx",".ts",".js",".astro"].includes(o)&&e.push(n);}}),e}var As=url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))),Is=ue.dirname(As);process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function Ms(){let r=ue.resolve(Is,"../package.json"),e=JSON.parse(fs.readFileSync(r,"utf-8")),t=new commander.Command().name("jk-ui-cli").description("A CLI tool for rapidly scaffolding ReactJS based applications using JK UI").version(e.version||"0.0.1","-v, --version","display the version number");t.addCommand(gn),t.addCommand(bn),t.parse();}Ms();
32
+ ${s}`}};var P=class{static packageJsonCache=new Map;static async askPackageManager(){return (await sa__default.default([{type:"select",name:"packageManager",message:"Which package manager would you like to use?",choices:[{title:"npm",value:"npm"},{title:"yarn",value:"yarn"},{title:"pnpm",value:"pnpm"},{title:"bun",value:"bun"}]}])).packageManager}static detect(){let e=process.cwd();if(this.hasPackageJson(e)){let i=this.getPackageJson(e);if(i){let n={...i.dependencies,...i.devDependencies},s={astro:"astro",rasengan:"rasengan","tanstack-start":"@tanstack/react-start","react-router":"@react-router/node","tanstack-router":"@tanstack/react-router","inertia-react":"@inertiajs/react",next:"next",react:"react"};for(let[o,a]of Object.entries(s))if((Array.isArray(a)?a:[a]).some(f=>f in n))return o;if("vite"in n)return "@vitejs/plugin-react"in n||"@vitejs/plugin-react-swc"in n?"react":"typescript"in n?"vite-ts":"vite-js"}}let r={artisan:"laravel","bin/console":"symfony","manage.py":"django"};for(let[i,n]of Object.entries(r))if(fs.existsSync(fe.join(e,i)))return n;return "generic"}static hasPackageJson(e){return fs.existsSync(fe.join(e,"package.json"))}static getPackageJson(e){if(this.packageJsonCache.has(e))return this.packageJsonCache.get(e);let r=fe.join(e,"package.json");if(!fs.existsSync(r))return this.packageJsonCache.set(e,null),null;try{let i=fs.readFileSync(r,"utf-8"),n=JSON.parse(i);return this.packageJsonCache.set(e,n),n}catch{return this.packageJsonCache.set(e,null),null}}static checkCSSFramework(e){let r=process.cwd(),i=this.getPackageJson(r);if(i){let n={...i.dependencies,...i.devDependencies};if(e==="tailwindcss"&&"tailwindcss"in n)return true}return false}static checkTailwindCSS(){return this.checkCSSFramework("tailwindcss")}static getProjectName(){let e=process.cwd(),r=this.getPackageJson(e);return r&&r.name?r.name:fe.basename(e)}static hasSrcDir(){return fs.existsSync(fe.join(process.cwd(),"src"))}static isTypeScript(){let e=process.cwd();return fs.existsSync(fe.join(e,"tsconfig.json"))}};var ut=class{static generateBaseFiles(e,r){let i=this.getMainCssFileName();this.createJkUIFiles(r,i),this.createFrameworkSpecificFiles(e,r),this.generateConfigFiles(r);}static createShared(e){let r=e.cssPath||"src/css/",i=e.libPath;fs.existsSync(r)||fs.mkdirSync(r,{recursive:true,mode:J}),fs.existsSync(`${r}/jk-ui`)||fs.mkdirSync(`${r}/jk-ui`,{recursive:true,mode:J}),fs.existsSync(`${i}`)||fs.mkdirSync(`${i}`,{recursive:true,mode:J});}static createJkUIFiles(e,r){let i=e.cssPath,n=e.libPath,s=e.themingMode||"light",o=e.theme||"jk-ui";this.createShared(e);let a=s.toLowerCase()==="both"?"":`${s.toLowerCase()}.`,l=ct.get(e,s,o);fs.writeFileSync(fe.join(i,`${r}.css`),l),fs.writeFileSync(fe.join(i,"jk-ui/base.css"),y.get("css.jk-ui.base")),fs.writeFileSync(fe.join(i,"jk-ui/form.css"),y.get("css.jk-ui.form")),fs.writeFileSync(fe.join(i,"jk-ui/button.css"),y.get("css.jk-ui.button")),fs.writeFileSync(fe.join(i,"jk-ui/ui.css"),y.get("css.jk-ui.ui")),fs.writeFileSync(fe.join(i,"jk-ui/utils.css"),y.get("css.jk-ui.utils")),fs.writeFileSync(fe.join(i,"button-styles.css"),y.get(`css.${a}buttons`)),fs.writeFileSync(fe.join(i,"utilities.css"),y.get(`css.${a}utilities`)),fs.writeFileSync(fe.join(n,"utils.ts"),y.get("utils.lib"));}static generateConfigFiles(e){let r=e.framework==="next";fs.writeFileSync("components.json",JSON.stringify({$schema:"https://ui.shadcn.com/schema.json",style:"radix-nova",rsc:false,tsx:true,tailwind:{config:"",css:"src/styles/globals.css",baseColor:"neutral",cssVariables:true,prefix:""},aliases:{components:"@/components",utils:"@/lib/utils",ui:"@/components/ui",lib:"@/lib",hooks:"@/hooks"},iconLibrary:"lucide",registries:{"@jk-ui":r?on:sn}},null,2));}static getMainCssFileName(){return "globals"}static createFrameworkSpecificFiles(e,r){switch(e){case "astro":this.createAstroFiles();break;case "rasengan":this.createRasenganFiles();break;case "next":break;case "inertia-react":break;case "tanstack-start":break;case "react":case "react-js":case "react-ts":case "vite-js":case "vite-ts":this.createReactFiles(r);break}}static createAstroFiles(){let r=P.hasSrcDir()?"src/":"";fs.existsSync(fe.join(r,"components"))||fs.mkdirSync(fe.join(r,"components"),{recursive:true,mode:J}),fs.existsSync(fe.join(r,"components/seo"))||fs.mkdirSync(fe.join(r,"components/seo"),{recursive:true,mode:J}),fs.existsSync(fe.join(r,"layouts"))||fs.mkdirSync(fe.join(r,"layouts"),{recursive:true,mode:J}),fs.writeFileSync("tsconfig.json",y.get("astro.tsconfig")),fs.writeFileSync(fe.join(r,"layouts/Layout.astro"),y.get("astro.layout")),fs.writeFileSync(fe.join(r,"components/seo/SEO.astro"),y.get("astro.seo"));}static createRasenganFiles(){let r=P.hasSrcDir()?"src/":"";fs.existsSync(fe.join(r,"components"))||fs.mkdirSync(fe.join(r,"components"),{recursive:true,mode:J}),fs.writeFileSync("rasengan.config.js",y.get("rasengan.config"));}static createReactFiles(e){let r=P.isTypeScript()?"ts":"js";fs.writeFileSync(`vite.config.${r}`,y.get("vite.vanilla"));}};var ft=class{constructor(e,r,i,n,s=new lt(e,n)){this.answers=r;this.framework=i;this.installer=s;}setup(e=false){this.installDependencies(e),this.generateFiles(this.framework);}installDependencies(e){e&&this.installer.baseInstallation(),this.framework==="next"?this.installer.installTailwindCSSForNextJS():this.installer.installTailwindCSS(),this.answers.framework==="vite"||this.answers.framework,this.installer.installIconLibrary(this.answers.iconLibrary),this.installer.installShadcnCli();}generateFiles(e){ut.generateBaseFiles(e,this.answers);}};var Ae={error:ht__default.default.red,warn:ht__default.default.yellow,info:ht__default.default.cyan,success:ht__default.default.green};var S={error(...t){console.log(Ae.error(t.join(" ")));},warn(...t){console.log(Ae.warn(t.join(" ")));},info(...t){console.log(Ae.info(t.join(" ")));},success(...t){console.log(Ae.success(t.join(" ")));},log(...t){console.log(t.join(" "));},break(){console.log("");}};var cn=()=>{},un=()=>{let t=fe.join(process.cwd(),"flexi-cli.json");if(!fs.existsSync(t))return false;try{let e=fs.readFileSync(t,"utf-8"),r=JSON.parse(e),i=["framework","defaultSource","registries"];for(let n of i)if(!(n in r))return !1;return !(!Array.isArray(r.registries)||r.registries.length===0)}catch{return false}},or=t=>{if(!t)return t;let e=String(t).trim().replace(/\\/g,"/");return e=e.replace(/^\.\//,""),e=e.replace(/\/+/,"/"),e.endsWith("/")||(e+="/"),e},ar=t=>{let e=n=>n.startsWith("/")||/^[A-Za-z]:[\\/]/.test(n),i=zod.z.string().min(1,"Path is required").refine(n=>!e(n),"Please provide a relative path (do not start with a drive letter or '/')").refine(n=>!n.includes("../"),"Path cannot contain '..'").regex(/^[A-Za-z0-9_\-\.\/]+$/,"Path contains invalid characters").safeParse(String(t??"").trim());return i.success?true:i.error.issues[0]?.message||"Invalid path"};var dt=class{get(){return [{type:"select",name:"theme",message:"\u{1F3A8} Which theme would you like to use?",choices:ln.map(e=>({title:e.title,value:e.value,selected:e.selected}))},{type:"select",name:"themingMode",message:"Your theming mode",choices:an.map(e=>({title:e.title,value:e.value,selected:e.selected}))},{type:"select",name:"iconLibrary",message:"\u{1F3A8} Which Icon Library would you like to use?",choices:Re.map(e=>({title:e.title,value:e.value,selected:e.selected}))}]}async askFolders(e){let r=P.hasSrcDir(),i=e==="next"&&fs.existsSync(fe.join(process.cwd(),"app")),n=sr.find(a=>a.framework===e)??{cssPath:i?"styles":"src/styles"},s={cssPath:r?n.cssPath:n.cssPath?.startsWith("src/")?n.cssPath.replace("src/",""):n.cssPath,libPath:r?"src/lib":"lib"},o=await sa__default.default([{type:"text",name:"cssPath",message:"Path to the CSS file",initial:s.cssPath,validate:a=>ar(a),format:a=>or(a)},{type:"text",name:"libPath",message:"Path to the lib utils folder",initial:s.libPath,validate:a=>ar(a),format:a=>or(a)}]);return {cssPath:o.cssPath,libPath:o.libPath}}};var pt=class{constructor(e=new dt){this.themingPrompts=e;}supportedFrameworks=["astro","rasengan","react","react-js","react-ts","tanstack-start","tanstack-router","react-router","inertia-react","next"];async initialize(e){let r={projectName:P.getProjectName(),framework:"",theme:"",cssPath:"",themingMode:"both",iconLibrary:"",libPath:""};if(e.cwd&&e.cwd!==process.cwd()&&process.chdir(e.cwd),!P.hasPackageJson(process.cwd()))S.error("\u2718 No package.json found."),S.info("Please create a project first using your framework's CLI."),S.info("Example: npm create vite@latest"),process.exit(0);else {let i=P.detect();!this.supportedFrameworks.includes(i)&&!["vite-js","vite-ts"].includes(i)&&(S.error(`\u274C Sorry, the CLI does not support the '${i}' framework for the moment.`),S.info("Supported frameworks: Astro, React, Rasengan, Tanstack Start, Tanstack Router, React Router 7, Inertia React"),process.exit(0));let n=i;r=await this.handleInitInProject(n,e);}return {projectAnswers:r}}async handleInitInProject(e,r){S.info(`\u{1F4E6} Detected ${e} project`),P.checkTailwindCSS()||S.info("\u2139\uFE0F Tailwind CSS will be configured for your project");let n=await sa__default.default(this.themingPrompts.get()),s="",o=r.libPath||"";if(r.cssPath&&(s=r.cssPath),s===""){let a=await this.themingPrompts.askFolders(e);s=a.cssPath,o=a.libPath;}return {projectName:P.getProjectName(),framework:e,theme:n.theme,themingMode:n.themingMode,iconLibrary:n.iconLibrary,cssPath:s,libPath:o}}};var gt=t=>{t instanceof Error?S.error(t.message):S.error("An unexpected error occurred"),process.exit(1);};var fn=new commander.Command("init").description("Initialize a new project or configure an existing one").option("--css-path <path>","Path to the CSS file, Only For Vite Vanilla and Astro").option("-c, --cwd <cwd>","the working directory. defaults to the current directory.",process.cwd()).action(async t=>{try{let e={cssPath:t.cssPath,cwd:t.cwd};if(un()){S.info("Project already initialized");return}cn();let r=new pt,i=H(),{projectAnswers:n}=await r.initialize(e),s=he.detectPackageManager();new ft(n.projectName,n,n.framework,s).setup(!1),i.succeed("Project setup successfully"),i.stop();}catch(e){gt(e);}});var hn=[{ph:"ph--user",heroicons:"heroicons--user",lucide:"lucide--user",hugeicons:"hugeicons--user",solar:"solar--user-linear"},{ph:"ph--user-circle",heroicons:"heroicons--user",lucide:"lucide--user-circle",hugeicons:"hugeicons--user-circle",solar:"solar--user-circle-linear"},{ph:"ph--user-bold",heroicons:"heroicons--user-solid",lucide:"lucide--user",hugeicons:"hugeicons--user",solar:"solar--user-bold"},{ph:"ph--magnifying-glass",heroicons:"heroicons--magnifying-glass",lucide:"lucide--search",hugeicons:"hugeicons--search-01",solar:"solar--magnifer-linear"},{ph:"ph--magnifying-glass-bold",heroicons:"heroicons--magnifying-glass",lucide:"lucide--search",hugeicons:"hugeicons--search-02",solar:"solar--magnifer-bold"},{ph:"ph--bell",heroicons:"heroicons--bell",lucide:"lucide--bell",hugeicons:"hugeicons--notification-01",solar:"solar--bell-linear"},{ph:"ph--bell-ringing",heroicons:"heroicons--bell-alert",lucide:"lucide--bell-ring",hugeicons:"hugeicons--notification-03",solar:"solar--bell-bing-linear"},{ph:"ph--bell-bold",heroicons:"heroicons--bell",lucide:"lucide--bell",hugeicons:"hugeicons--notification-01",solar:"solar--bell-bold"},{ph:"ph--house",heroicons:"heroicons--home",lucide:"lucide--house",hugeicons:"hugeicons--home-02",solar:"solar--home-2-linear"},{ph:"ph--house-simple",heroicons:"heroicons--home",lucide:"lucide--home",hugeicons:"hugeicons--home-01",solar:"solar--home-linear"},{ph:"ph--house-bold",heroicons:"heroicons--home",lucide:"lucide--home",hugeicons:"hugeicons--home-01",solar:"solar--home-bold"},{ph:"ph--gear",heroicons:"heroicons--cog-6-tooth",lucide:"lucide--settings",hugeicons:"hugeicons--settings-01",solar:"solar--settings-linear"},{ph:"ph--gear-six",heroicons:"heroicons--cog-6-tooth",lucide:"lucide--settings",hugeicons:"hugeicons--settings-03",solar:"solar--settings-linear"},{ph:"ph--gear-bold",heroicons:"heroicons--cog-6-tooth",lucide:"lucide--settings",hugeicons:"hugeicons--settings-02",solar:"solar--settings-bold"},{ph:"ph--sign-out",heroicons:"heroicons--arrow-right-on-rectangle",lucide:"lucide--log-out",hugeicons:"hugeicons--logout-02",solar:"solar--logout-2-linear"},{ph:"ph--sign-out-bold",heroicons:"heroicons--arrow-right-on-rectangle",lucide:"lucide--log-out",hugeicons:"hugeicons--logout-01",solar:"solar--logout-2-bold"},{ph:"ph--plus",heroicons:"heroicons--plus",lucide:"lucide--plus",hugeicons:"hugeicons--plus-sign",solar:"solar--add-circle-linear"},{ph:"ph--plus-bold",heroicons:"heroicons--plus",lucide:"lucide--plus",hugeicons:"hugeicons--plus-sign",solar:"solar--add-circle-bold"},{ph:"ph--minus",heroicons:"heroicons--minus",lucide:"lucide--minus",hugeicons:"hugeicons--minus-sign",solar:"solar--minus-circle-linear"},{ph:"ph--minus-bold",heroicons:"heroicons--minus",lucide:"lucide--minus",hugeicons:"hugeicons--minus-sign",solar:"solar--minus-circle-bold"},{ph:"ph--x",heroicons:"heroicons--x-mark",lucide:"lucide--x",hugeicons:"hugeicons--cancel-01",solar:"solar--close-circle-linear"},{ph:"ph--x-bold",heroicons:"heroicons--x-mark",lucide:"lucide--x",hugeicons:"hugeicons--cancel-01",solar:"solar--close-circle-bold"},{ph:"ph--check",heroicons:"heroicons--check",lucide:"lucide--check",hugeicons:"hugeicons--tick-01",solar:"solar--check-circle-linear"},{ph:"ph--check-bold",heroicons:"heroicons--check",lucide:"lucide--check",hugeicons:"hugeicons--tick-02",solar:"solar--check-circle-bold"},{ph:"ph--arrow-left",heroicons:"heroicons--arrow-left",lucide:"lucide--arrow-left",hugeicons:"hugeicons--arrow-left-02",solar:"solar--arrow-left-linear"},{ph:"ph--arrow-right",heroicons:"heroicons--arrow-right",lucide:"lucide--arrow-right",hugeicons:"hugeicons--arrow-right-02",solar:"solar--arrow-right-linear"},{ph:"ph--arrow-up",heroicons:"heroicons--arrow-up",lucide:"lucide--arrow-up",hugeicons:"hugeicons--arrow-up-02",solar:"solar--arrow-up-linear"},{ph:"ph--arrow-down",heroicons:"heroicons--arrow-down",lucide:"lucide--arrow-down",hugeicons:"hugeicons--arrow-down-02",solar:"solar--arrow-down-linear"},{ph:"ph--arrow-left-bold",heroicons:"heroicons--arrow-left",lucide:"lucide--arrow-left",hugeicons:"hugeicons--arrow-left-02",solar:"solar--arrow-left-bold"},{ph:"ph--arrow-right-bold",heroicons:"heroicons--arrow-right",lucide:"lucide--arrow-right",hugeicons:"hugeicons--arrow-right-02",solar:"solar--arrow-right-bold"},{ph:"ph--caret-left",heroicons:"heroicons--chevron-left",lucide:"lucide--chevron-left",hugeicons:"hugeicons--arrow-left-01",solar:"solar--alt-arrow-left-linear"},{ph:"ph--caret-right",heroicons:"heroicons--chevron-right",lucide:"lucide--chevron-right",hugeicons:"hugeicons--arrow-right-01",solar:"solar--alt-arrow-right-linear"},{ph:"ph--caret-up",heroicons:"heroicons--chevron-up",lucide:"lucide--chevron-up",hugeicons:"hugeicons--arrow-up-01",solar:"solar--alt-arrow-up-linear"},{ph:"ph--caret-down",heroicons:"heroicons--chevron-down",lucide:"lucide--chevron-down",hugeicons:"hugeicons--arrow-down-01",solar:"solar--alt-arrow-down-linear"},{ph:"ph--trash",heroicons:"heroicons--trash",lucide:"lucide--trash-2",hugeicons:"hugeicons--delete-02",solar:"solar--trash-bin-trash-linear"},{ph:"ph--trash-bold",heroicons:"heroicons--trash",lucide:"lucide--trash-2",hugeicons:"hugeicons--delete-03",solar:"solar--trash-bin-trash-bold"},{ph:"ph--pencil",heroicons:"heroicons--pencil",lucide:"lucide--pencil",hugeicons:"hugeicons--pencil-edit-01",solar:"solar--pen-linear"},{ph:"ph--pencil-simple",heroicons:"heroicons--pencil",lucide:"lucide--pencil",hugeicons:"hugeicons--pencil-edit-02",solar:"solar--pen-linear"},{ph:"ph--pencil-bold",heroicons:"heroicons--pencil",lucide:"lucide--pencil",hugeicons:"hugeicons--pen-02",solar:"solar--pen-bold"},{ph:"ph--eye",heroicons:"heroicons--eye",lucide:"lucide--eye",hugeicons:"hugeicons--eye",solar:"solar--eye-linear"},{ph:"ph--eye-slash",heroicons:"heroicons--eye-slash",lucide:"lucide--eye-off",hugeicons:"hugeicons--view-off-slash",solar:"solar--eye-closed-linear"},{ph:"ph--eye-bold",heroicons:"heroicons--eye",lucide:"lucide--eye",hugeicons:"hugeicons--eye",solar:"solar--eye-bold"},{ph:"ph--lock",heroicons:"heroicons--lock-closed",lucide:"lucide--lock",hugeicons:"hugeicons--lock-key",solar:"solar--lock-linear"},{ph:"ph--lock-key",heroicons:"heroicons--key",lucide:"lucide--key",hugeicons:"hugeicons--key-02",solar:"solar--key-linear"},{ph:"ph--lock-bold",heroicons:"heroicons--lock-closed",lucide:"lucide--lock",hugeicons:"hugeicons--lock",solar:"solar--lock-bold"},{ph:"ph--lock-key-open",heroicons:"heroicons--lock-open",lucide:"lucide--lock-open",hugeicons:"hugeicons--circle-unlock-02",solar:"solar--lock-unlocked-linear"},{ph:"ph--envelope",heroicons:"heroicons--envelope",lucide:"lucide--mail",hugeicons:"hugeicons--mail-01",solar:"solar--letter-linear"},{ph:"ph--envelope-simple",heroicons:"heroicons--envelope",lucide:"lucide--mail",hugeicons:"hugeicons--mail-01",solar:"solar--letter-linear"},{ph:"ph--envelope-bold",heroicons:"heroicons--envelope",lucide:"lucide--mail",hugeicons:"hugeicons--mail-01",solar:"solar--letter-bold"},{ph:"ph--key",heroicons:"heroicons--key",lucide:"lucide--key",hugeicons:"hugeicons--key-01",solar:"solar--key-linear"},{ph:"ph--key-bold",heroicons:"heroicons--key",lucide:"lucide--key",hugeicons:"hugeicons--key-02",solar:"solar--key-bold"},{ph:"ph--calendar",heroicons:"heroicons--calendar",lucide:"lucide--calendar",hugeicons:"hugeicons--calendar-01",solar:"solar--calendar-linear"},{ph:"ph--calendar-blank",heroicons:"heroicons--calendar",lucide:"lucide--calendar",hugeicons:"hugeicons--calendar-02",solar:"solar--calendar-linear"},{ph:"ph--calendar-bold",heroicons:"heroicons--calendar",lucide:"lucide--calendar",hugeicons:"hugeicons--calendar-01",solar:"solar--calendar-bold"},{ph:"ph--clock",heroicons:"heroicons--clock",lucide:"lucide--clock",hugeicons:"hugeicons--clock-01",solar:"solar--clock-circle-linear"},{ph:"ph--clock-bold",heroicons:"heroicons--clock",lucide:"lucide--clock",hugeicons:"hugeicons--clock-01",solar:"solar--clock-circle-bold"},{ph:"ph--clock-clockwise",heroicons:"heroicons--arrow-path",lucide:"lucide--rotate-cw",hugeicons:"hugeicons--rotate-clockwise",solar:"solar--refresh-circle-linear"},{ph:"ph--image",heroicons:"heroicons--photo",lucide:"lucide--image",hugeicons:"hugeicons--image-01",solar:"solar--gallery-linear"},{ph:"ph--image-bold",heroicons:"heroicons--photo",lucide:"lucide--image",hugeicons:"hugeicons--image-02",solar:"solar--gallery-bold"},{ph:"ph--file",heroicons:"heroicons--document",lucide:"lucide--file",hugeicons:"hugeicons--file-01",solar:"solar--file-linear"},{ph:"ph--file-text",heroicons:"heroicons--document-text",lucide:"lucide--file-text",hugeicons:"hugeicons--file-02",solar:"solar--file-text-linear"},{ph:"ph--file-bold",heroicons:"heroicons--document",lucide:"lucide--file",hugeicons:"hugeicons--file-01",solar:"solar--file-bold"},{ph:"ph--folder",heroicons:"heroicons--folder",lucide:"lucide--folder",hugeicons:"hugeicons--folder-01",solar:"solar--folder-linear"},{ph:"ph--folder-open",heroicons:"heroicons--folder-open",lucide:"lucide--folder-open",hugeicons:"hugeicons--folder-open",solar:"solar--folder-open-linear"},{ph:"ph--download",heroicons:"heroicons--arrow-down-tray",lucide:"lucide--download",hugeicons:"hugeicons--download-01",solar:"solar--download-linear"},{ph:"ph--download-bold",heroicons:"heroicons--arrow-down-tray",lucide:"lucide--download",hugeicons:"hugeicons--download-01",solar:"solar--download-bold"},{ph:"ph--upload",heroicons:"heroicons--arrow-up-tray",lucide:"lucide--upload",hugeicons:"hugeicons--upload-01",solar:"solar--upload-linear"},{ph:"ph--upload-bold",heroicons:"heroicons--arrow-up-tray",lucide:"lucide--upload",hugeicons:"hugeicons--upload-01",solar:"solar--upload-bold"},{ph:"ph--link",heroicons:"heroicons--link",lucide:"lucide--link",hugeicons:"hugeicons--link-01",solar:"solar--link-linear"},{ph:"ph--link-bold",heroicons:"heroicons--link",lucide:"lucide--link",hugeicons:"hugeicons--link-01",solar:"solar--link-bold"},{ph:"ph--share",heroicons:"heroicons--share",lucide:"lucide--share-2",hugeicons:"hugeicons--share-01",solar:"solar--share-linear"},{ph:"ph--share-network",heroicons:"heroicons--share",lucide:"lucide--share-2",hugeicons:"hugeicons--share-01",solar:"solar--share-linear"},{ph:"ph--heart",heroicons:"heroicons--heart",lucide:"lucide--heart",hugeicons:"hugeicons--favourite",solar:"solar--heart-linear"},{ph:"ph--heart-bold",heroicons:"heroicons--heart",lucide:"lucide--heart",hugeicons:"hugeicons--favourite",solar:"solar--heart-bold"},{ph:"ph--star",heroicons:"heroicons--star",lucide:"lucide--star",hugeicons:"hugeicons--star",solar:"solar--star-linear"},{ph:"ph--star-bold",heroicons:"heroicons--star",lucide:"lucide--star",hugeicons:"hugeicons--star",solar:"solar--star-bold"},{ph:"ph--menu",heroicons:"heroicons--bars-3",lucide:"lucide--menu",hugeicons:"hugeicons--menu-01",solar:"solar--hamburger-menu-linear"},{ph:"ph--list",heroicons:"heroicons--list-bullet",lucide:"lucide--list",hugeicons:"hugeicons--left-to-right-list-bullet",solar:"solar--list-linear"},{ph:"ph--grid",heroicons:"heroicons--squares-2x2",lucide:"lucide--grid-3x3",hugeicons:"hugeicons--grid",solar:"solar--widget-2-linear"},{ph:"ph--squares-four",heroicons:"heroicons--squares-2x2",lucide:"lucide--grid-3x3",hugeicons:"hugeicons--grid",solar:"solar--widget-2-linear"},{ph:"ph--dots-three",heroicons:"heroicons--ellipsis-horizontal",lucide:"lucide--more-horizontal",hugeicons:"hugeicons--more-horizontal",solar:"solar--menu-dots-linear"},{ph:"ph--dots-three-vertical",heroicons:"heroicons--ellipsis-vertical",lucide:"lucide--more-vertical",hugeicons:"hugeicons--more-vertical",solar:"solar--menu-dots-vertical-linear"},{ph:"ph--warning",heroicons:"heroicons--exclamation-triangle",lucide:"lucide--alert-triangle",hugeicons:"hugeicons--alert-01",solar:"solar--danger-triangle-linear"},{ph:"ph--warning-bold",heroicons:"heroicons--exclamation-triangle",lucide:"lucide--alert-triangle",hugeicons:"hugeicons--alert-01",solar:"solar--danger-triangle-bold"},{ph:"ph--info",heroicons:"heroicons--information-circle",lucide:"lucide--info",hugeicons:"hugeicons--alert-circle",solar:"solar--info-circle-linear"},{ph:"ph--info-bold",heroicons:"heroicons--information-circle",lucide:"lucide--info",hugeicons:"hugeicons--alert-circle",solar:"solar--info-circle-bold"},{ph:"ph--question",heroicons:"heroicons--question-mark-circle",lucide:"lucide--help-circle",hugeicons:"hugeicons--question",solar:"solar--question-circle-linear"},{ph:"ph--question-bold",heroicons:"heroicons--question-mark-circle",lucide:"lucide--help-circle",hugeicons:"hugeicons--question",solar:"solar--question-circle-bold"},{ph:"ph--smiley-sad",heroicons:"heroicons--face-frown",lucide:"lucide--frown",hugeicons:"hugeicons--sad-01",solar:"solar--sad-circle-linear"},{ph:"ph--lightbulb-filament",heroicons:"heroicons--light-bulb",lucide:"lucide--lightbulb",hugeicons:"hugeicons--idea",solar:"solar--lightbulb-linear"},{ph:"ph--circle",heroicons:"heroicons--circle",lucide:"lucide--circle",hugeicons:"hugeicons--circle",solar:"solar--full-screen-circle-linear"},{ph:"ph--circle-filled",heroicons:"heroicons--check-circle",lucide:"lucide--circle",hugeicons:"hugeicons--circle",solar:"solar--check-circle-bold"},{ph:"ph--square",heroicons:"heroicons--square-3-stack-3d",lucide:"lucide--square",hugeicons:"hugeicons--square",solar:"solar--full-screen-square-linear"},{ph:"ph--square-fill",heroicons:"heroicons--square-3-stack-3d",lucide:"lucide--square",hugeicons:"hugeicons--square",solar:"solar--full-screen-square-bold"}];var gn=new commander.Command("fix-icons").description("Scan components and replace Phosphor icons with the selected icon library").action(async()=>{try{let t=process.cwd(),e=fe.join(t,"components.json");if(!fs.existsSync(e)){S.error("\u2718 No components.json found. Please initialize the project first.");return}let i=JSON.parse(fs.readFileSync(e,"utf-8")).iconLibrary;if(!i){S.error("\u2718 No icon library specified in components.json.");return}if(i==="ph"){S.info("\u2139 Your project is already using Phosphor icons. No changes needed.");return}let n=P.detect(),s="";if(n==="inertia-react"||n==="laravel"?s=fe.join(t,"resources","js","components","ui"):P.hasSrcDir()?s=fe.join(t,"src","components","ui"):s=fe.join(t,"components","ui"),!fs.existsSync(s)){S.warn(`\u26A0 components/ui directory not found at: ${s}`);return}S.info(`\u{1F50D} Scanning ${s} for icons to replace with ${i}...`);let o=_n(s),a=0,l=[];for(let h of o){let m=fs.readFileSync(h,"utf-8"),v=[],T=/ph--([a-z0-9-]+)/g,p;for(;(p=T.exec(m))!==null;){let M=p[0],x=p[1],B=hn.find(Me=>Me.ph===M);B&&B[i]&&v.push({from:M,to:B[i]});}v.length>0&&(a+=v.length,l.push({path:h,content:m,replacements:v}));}if(a===0){S.info("\u2728 No Phosphor icons were found in your components.");return}if(!(await sa__default.default({type:"confirm",name:"value",message:`Found ${a} icons in ${l.length} files. Do you want to replace them with ${i} icons?`,initial:!0})).value){S.info("Operation cancelled.");return}let g=H();g.start("Replacing icons...");for(let h of l){let m=h.content;for(let v of h.replacements)m=m.replace(new RegExp(v.from,"g"),v.to);fs.writeFileSync(h.path,m);}g.succeed(`Successfully replaced ${a} icons in ${l.length} files.`);}catch(t){gt(t);}});function _n(t,e=[]){return fs.readdirSync(t).forEach(i=>{let n=fe.join(t,i);if(fs.statSync(n).isDirectory())e=_n(n,e);else {let s=fe.extname(n);[".tsx",".jsx",".ts",".js",".astro"].includes(s)&&e.push(n);}}),e}var Ra=url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))),Pa=fe.dirname(Ra);process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function Ta(){let t=fe.resolve(Pa,"../package.json"),e=JSON.parse(fs.readFileSync(t,"utf-8")),r=new commander.Command().name("jk-ui-cli").description("A CLI tool for rapidly scaffolding ReactJS based applications using JK UI").version(e.version||"0.0.1","-v, --version","display the version number");r.addCommand(fn),r.addCommand(gn),r.parse();}Ta();
364
33
  /*! Bundled license information:
365
34
 
366
35
  safe-buffer/index.js: