jk-ui-cli 0.0.6 → 0.0.8
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 +12 -341
- package/dist/index.cjs.map +1 -1
- package/package.json +1 -1
- package/stubs/css/base-both.stub +130 -0
- package/stubs/css/base-dark.stub +80 -0
- package/stubs/css/base-inline.stub +43 -0
- package/stubs/css/base-light.stub +77 -0
- package/stubs/themes/energy.stub +54 -0
- package/stubs/themes/mystery.stub +54 -0
- package/stubs/themes/nature.stub +54 -0
- package/stubs/themes/oz.stub +80 -0
- package/stubs/themes/passion.stub +54 -0
- package/stubs/themes/romance.stub +54 -0
- package/stubs/themes/spring.stub +54 -0
- package/stubs/themes/trust.stub +54 -0
- package/stubs/themes/winter.stub +93 -0
- package/stubs/css/jk-ui/base.stub +0 -48
- package/stubs/css/jk-ui/button.stub +0 -100
- package/stubs/css/jk-ui/form.stub +0 -259
- package/stubs/css/jk-ui/ui.stub +0 -186
- package/stubs/css/jk-ui/utils.stub +0 -252
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(
|
|
4
|
-
`),this)}stop(){return this.isEnabled?(clearInterval(this.id),this.id=void 0,this.frameIndex=0,this.clear(),this.hideCursor&&
|
|
5
|
-
`),this}},
|
|
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'),we=require('path'),child_process=require('child_process'),url=require('url'),Rt=require('prompts'),vt=require('chalk'),zod=require('zod');var _documentCurrentScript=typeof document!=='undefined'?document.currentScript:null;function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var we__default=/*#__PURE__*/_interopDefault(we);var Rt__default=/*#__PURE__*/_interopDefault(Rt);var vt__default=/*#__PURE__*/_interopDefault(vt);var Ln=Object.create;var xr=Object.defineProperty;var On=Object.getOwnPropertyDescriptor;var Bn=Object.getOwnPropertyNames;var Fn=Object.getPrototypeOf,Nn=Object.prototype.hasOwnProperty;var D=(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 f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var qn=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Bn(e))!Nn.call(t,n)&&n!==r&&xr(t,n,{get:()=>e[n],enumerable:!(i=On(e,n))||i.enumerable});return t};var $n=(t,e,r)=>(r=t!=null?Ln(Fn(t)):{},qn(xr(r,"default",{value:t,enumerable:true}),t));var Er=f((cl,Tt)=>{var Sr=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};Tt.exports=Sr;Tt.exports.default=Sr;});var kr=f((ul,Ue)=>{var Un=Er(),$e=new WeakMap,Rr=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,i=0,n=t.displayName||t.name||"<anonymous>",o=function(...s){if($e.set(o,++i),i===1)r=t.apply(this,s),t=null;else if(e.throw===true)throw new Error(`Function \`${n}\` can only be called once`);return r};return Un(o,t),$e.set(o,i),o};Ue.exports=Rr;Ue.exports.default=Rr;Ue.exports.callCount=t=>{if(!$e.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return $e.get(t)};});var Pr=f((fl,We)=>{We.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&We.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&We.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");});var Mr=f((hl,pe)=>{var x=global.process,re=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"};re(x)?(Tr=D("assert"),he=Pr(),Cr=/^win/i.test(x.platform),xe=D("events"),typeof xe!="function"&&(xe=xe.EventEmitter),x.__signal_exit_emitter__?M=x.__signal_exit_emitter__:(M=x.__signal_exit_emitter__=new xe,M.count=0,M.emitted={}),M.infinite||(M.setMaxListeners(1/0),M.infinite=true),pe.exports=function(t,e){if(!re(global.process))return function(){};Tr.equal(typeof t,"function","a callback must be provided for exit handler"),de===false&&Ct();var r="exit";e&&e.alwaysLast&&(r="afterexit");var i=function(){M.removeListener(r,t),M.listeners("exit").length===0&&M.listeners("afterexit").length===0&&Ge();};return M.on(r,t),i},Ge=function(){!de||!re(global.process)||(de=false,he.forEach(function(e){try{x.removeListener(e,He[e]);}catch{}}),x.emit=Je,x.reallyExit=It,M.count-=1);},pe.exports.unload=Ge,ie=function(e,r,i){M.emitted[e]||(M.emitted[e]=true,M.emit(e,r,i));},He={},he.forEach(function(t){He[t]=function(){if(re(global.process)){var r=x.listeners(t);r.length===M.count&&(Ge(),ie("exit",null,t),ie("afterexit",null,t),Cr&&t==="SIGHUP"&&(t="SIGINT"),x.kill(x.pid,t));}};}),pe.exports.signals=function(){return he},de=false,Ct=function(){de||!re(global.process)||(de=true,M.count+=1,he=he.filter(function(e){try{return x.on(e,He[e]),!0}catch{return false}}),x.emit=Ar,x.reallyExit=Ir);},pe.exports.load=Ct,It=x.reallyExit,Ir=function(e){re(global.process)&&(x.exitCode=e||0,ie("exit",x.exitCode,null),ie("afterexit",x.exitCode,null),It.call(x,x.exitCode));},Je=x.emit,Ar=function(e,r){if(e==="exit"&&re(global.process)){r!==void 0&&(x.exitCode=r);var i=Je.apply(this,arguments);return ie("exit",x.exitCode,null),ie("afterexit",x.exitCode,null),i}else return Je.apply(this,arguments)}):pe.exports=function(){return function(){}};var Tr,he,Cr,xe,M,Ge,ie,He,de,Ct,It,Ir,Je,Ar;});var Dr=f((dl,jr)=>{var Wn=kr(),Gn=Mr();jr.exports=Wn(()=>{Gn(()=>{process.stderr.write("\x1B[?25h");},{alwaysLast:true});});});var Lr=f(ge=>{var Hn=Dr(),Ve=false;ge.show=(t=process.stderr)=>{t.isTTY&&(Ve=false,t.write("\x1B[?25h"));};ge.hide=(t=process.stderr)=>{t.isTTY&&(Hn(),Ve=true,t.write("\x1B[?25l"));};ge.toggle=(t,e)=>{t!==void 0&&(Ve=t),Ve?ge.show(e):ge.hide(e);};});var Or=f((gl,Jn)=>{Jn.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 Nr=f((ml,Fr)=>{var ze=Object.assign({},Or()),Br=Object.keys(ze);Object.defineProperty(ze,"random",{get(){let t=Math.floor(Math.random()*Br.length),e=Br[t];return ze[e]}});Fr.exports=ze;});var At=f((_l,qr)=>{qr.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 Ur=f((yl,$r)=>{var z=D("chalk"),Vn=At(),zn={info:z.blue("\u2139"),success:z.green("\u2714"),warning:z.yellow("\u26A0"),error:z.red("\u2716")},Yn={info:z.blue("i"),success:z.green("\u221A"),warning:z.yellow("\u203C"),error:z.red("\xD7")};$r.exports=Vn()?zn:Yn;});var Gr=f((bl,Wr)=>{Wr.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 Jr=f((wl,Hr)=>{var Kn=Gr();Hr.exports=t=>typeof t=="string"?t.replace(Kn(),""):t;});var Vr=f((vl,Ye)=>{var Xn=(function(){function t(s,a,l,u){typeof a=="object"&&(l=a.depth,u=a.prototype,a.filter,a=a.circular);var d=[],y=[],T=typeof Buffer<"u";typeof a>"u"&&(a=true),typeof l>"u"&&(l=1/0);function S(m,I){if(m===null)return null;if(I==0)return m;var b,E;if(typeof m!="object")return m;if(t.__isArray(m))b=[];else if(t.__isRegExp(m))b=new RegExp(m.source,o(m)),m.lastIndex&&(b.lastIndex=m.lastIndex);else if(t.__isDate(m))b=new Date(m.getTime());else {if(T&&Buffer.isBuffer(m))return Buffer.allocUnsafe?b=Buffer.allocUnsafe(m.length):b=new Buffer(m.length),m.copy(b),b;typeof u>"u"?(E=Object.getPrototypeOf(m),b=Object.create(E)):(b=Object.create(u),E=u);}if(a){var P=d.indexOf(m);if(P!=-1)return y[P];d.push(m),y.push(b);}for(var A in m){var H;E&&(H=Object.getOwnPropertyDescriptor(E,A)),!(H&&H.set==null)&&(b[A]=S(m[A],I-1));}return b}return S(s,l)}t.clonePrototype=function(a){if(a===null)return null;var l=function(){};return l.prototype=a,new l};function e(s){return Object.prototype.toString.call(s)}t.__objToStr=e;function r(s){return typeof s=="object"&&e(s)==="[object Date]"}t.__isDate=r;function i(s){return typeof s=="object"&&e(s)==="[object Array]"}t.__isArray=i;function n(s){return typeof s=="object"&&e(s)==="[object RegExp]"}t.__isRegExp=n;function o(s){var a="";return s.global&&(a+="g"),s.ignoreCase&&(a+="i"),s.multiline&&(a+="m"),a}return t.__getRegExpFlags=o,t})();typeof Ye=="object"&&Ye.exports&&(Ye.exports=Xn);});var Yr=f((xl,zr)=>{var Zn=Vr();zr.exports=function(t,e){return t=t||{},Object.keys(e).forEach(function(r){typeof t[r]>"u"&&(t[r]=Zn(e[r]));}),t};});var Xr=f((Sl,Kr)=>{Kr.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 ti=f((El,Mt)=>{var Qn=Yr(),Se=Xr(),Qr={nul:0,control:0};Mt.exports=function(e){return ei(e,Qr)};Mt.exports.config=function(t){return t=Qn(t||{},Qr),function(r){return ei(r,t)}};function ei(t,e){if(typeof t!="string")return Zr(t,e);for(var r=0,i=0;i<t.length;i++){var n=Zr(t.charCodeAt(i),e);if(n<0)return -1;r+=n;}return r}function Zr(t,e){return t===0?e.nul:t<32||t>=127&&t<160?e.control:eo(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 eo(t){var e=0,r=Se.length-1,i;if(t<Se[0][0]||t>Se[r][1])return false;for(;r>=e;)if(i=Math.floor((e+r)/2),t>Se[i][1])e=i+1;else if(t<Se[i][0])r=i-1;else return true;return false}});var ii=f((Rl,ri)=>{ri.exports=({stream:t=process.stdout}={})=>!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env));});var jt=f((kl,ni)=>{ni.exports=D("stream");});var ui=f((Pl,ci)=>{function oi(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 si(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?oi(Object(r),true).forEach(function(i){to(t,i,r[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oi(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i));});}return t}function to(t,e,r){return e=li(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function ro(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(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,li(i.key),i);}}function io(t,e,r){return e&&ai(t.prototype,e),Object.defineProperty(t,"prototype",{writable:false}),t}function li(t){var e=no(t,"string");return typeof e=="symbol"?e:String(e)}function no(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 oo=D("buffer"),Ke=oo.Buffer,so=D("util"),Dt=so.inspect,ao=Dt&&Dt.custom||"inspect";function lo(t,e,r){Ke.prototype.copy.call(t,e,r);}ci.exports=(function(){function t(){ro(this,t),this.head=null,this.tail=null,this.length=0;}return io(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 Ke.alloc(0);for(var i=Ke.allocUnsafe(r>>>0),n=this.head,o=0;n;)lo(n.data,i,o),o+=n.data.length,n=n.next;return i}},{key:"consume",value:function(r,i){var n;return r<this.head.data.length?(n=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?n=this.shift():n=i?this._getString(r):this._getBuffer(r),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var i=this.head,n=1,o=i.data;for(r-=o.length;i=i.next;){var s=i.data,a=r>s.length?s.length:r;if(a===s.length?o+=s:o+=s.slice(0,r),r-=a,r===0){a===s.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(a));break}++n;}return this.length-=n,o}},{key:"_getBuffer",value:function(r){var i=Ke.allocUnsafe(r),n=this.head,o=1;for(n.data.copy(i),r-=n.data.length;n=n.next;){var s=n.data,a=r>s.length?s.length:r;if(s.copy(i,i.length-r,0,a),r-=a,r===0){a===s.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(a));break}++o;}return this.length-=o,i}},{key:ao,value:function(r,i){return Dt(this,si(si({},i),{},{depth:0,customInspect:false}))}}]),t})();});var Ot=f((Tl,hi)=>{function co(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(Lt,this,t)):process.nextTick(Lt,this,t)),this):(this._readableState&&(this._readableState.destroyed=true),this._writableState&&(this._writableState.destroyed=true),this._destroy(t||null,function(o){!e&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(Xe,r):(r._writableState.errorEmitted=true,process.nextTick(fi,r,o)):process.nextTick(fi,r,o):e?(process.nextTick(Xe,r),e(o)):process.nextTick(Xe,r);}),this)}function fi(t,e){Lt(t,e),Xe(t);}function Xe(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close");}function uo(){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 Lt(t,e){t.emit("error",e);}function fo(t,e){var r=t._readableState,i=t._writableState;r&&r.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e);}hi.exports={destroy:co,undestroy:uo,errorOrDestroy:fo};});var Y=f((Cl,gi)=>{var pi={};function F(t,e,r){r||(r=Error);function i(o,s,a){return typeof e=="string"?e:e(o,s,a)}class n extends r{constructor(s,a,l){super(i(s,a,l));}}n.prototype.name=r.name,n.prototype.code=t,pi[t]=n;}function di(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 ho(t,e,r){return t.substr(0,e.length)===e}function po(t,e,r){return (r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function go(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?false:t.indexOf(e,r)!==-1}F("ERR_INVALID_OPT_VALUE",function(t,e){return 'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);F("ERR_INVALID_ARG_TYPE",function(t,e,r){let i;typeof e=="string"&&ho(e,"not ")?(i="must not be",e=e.replace(/^not /,"")):i="must be";let n;if(po(t," argument"))n=`The ${t} ${i} ${di(e,"type")}`;else {let o=go(t,".")?"property":"argument";n=`The "${t}" ${o} ${i} ${di(e,"type")}`;}return n+=`. Received type ${typeof r}`,n},TypeError);F("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");F("ERR_METHOD_NOT_IMPLEMENTED",function(t){return "The "+t+" method is not implemented"});F("ERR_STREAM_PREMATURE_CLOSE","Premature close");F("ERR_STREAM_DESTROYED",function(t){return "Cannot call "+t+" after a stream was destroyed"});F("ERR_MULTIPLE_CALLBACK","Callback called multiple times");F("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");F("ERR_STREAM_WRITE_AFTER_END","write after end");F("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);F("ERR_UNKNOWN_ENCODING",function(t){return "Unknown encoding: "+t},TypeError);F("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");gi.exports.codes=pi;});var Bt=f((Il,mi)=>{var mo=Y().codes.ERR_INVALID_OPT_VALUE;function _o(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function yo(t,e,r,i){var n=_o(e,i,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var o=i?r:"highWaterMark";throw new mo(o,n)}return Math.floor(n)}return t.objectMode?16:16*1024}mi.exports={getHighWaterMark:yo};});var _i=f((Al,Ft)=>{typeof Object.create=="function"?Ft.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}}));}:Ft.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 ne=f((Ml,qt)=>{try{if(Nt=D("util"),typeof Nt.inherits!="function")throw "";qt.exports=Nt.inherits;}catch{qt.exports=_i();}var Nt;});var bi=f((jl,yi)=>{yi.exports=D("util").deprecate;});var Wt=f((Dl,Ri)=>{Ri.exports=k;function vi(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Ho(e,t);};}var me;k.WritableState=Re;var bo={deprecate:bi()},xi=jt(),Qe=D("buffer").Buffer,wo=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function vo(t){return Qe.from(t)}function xo(t){return Qe.isBuffer(t)||t instanceof wo}var Ut=Ot(),So=Bt(),Eo=So.getHighWaterMark,K=Y().codes,Ro=K.ERR_INVALID_ARG_TYPE,ko=K.ERR_METHOD_NOT_IMPLEMENTED,Po=K.ERR_MULTIPLE_CALLBACK,To=K.ERR_STREAM_CANNOT_PIPE,Co=K.ERR_STREAM_DESTROYED,Io=K.ERR_STREAM_NULL_VALUES,Ao=K.ERR_STREAM_WRITE_AFTER_END,Mo=K.ERR_UNKNOWN_ENCODING,_e=Ut.errorOrDestroy;ne()(k,xi);function jo(){}function Re(t,e,r){me=me||oe(),t=t||{},typeof r!="boolean"&&(r=e instanceof me),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=Eo(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){qo(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 vi(this);}Re.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(Re.prototype,"buffer",{get:bo.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")});}catch{}})();var Ze;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ze=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return Ze.call(this,e)?true:this!==k?false:e&&e._writableState instanceof Re}})):Ze=function(e){return e instanceof this};function k(t){me=me||oe();var e=this instanceof me;if(!e&&!Ze.call(k,this))return new k(t);this._writableState=new Re(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)),xi.call(this);}k.prototype.pipe=function(){_e(this,new To);};function Do(t,e){var r=new Ao;_e(t,r),process.nextTick(e,r);}function Lo(t,e,r,i){var n;return r===null?n=new Io:typeof r!="string"&&!e.objectMode&&(n=new Ro("chunk",["string","Buffer"],r)),n?(_e(t,n),process.nextTick(i,n),false):true}k.prototype.write=function(t,e,r){var i=this._writableState,n=false,o=!i.objectMode&&xo(t);return o&&!Qe.isBuffer(t)&&(t=vo(t)),typeof e=="function"&&(r=e,e=null),o?e="buffer":e||(e=i.defaultEncoding),typeof r!="function"&&(r=jo),i.ending?Do(this,r):(o||Lo(this,i,t,r))&&(i.pendingcb++,n=Bo(this,i,o,t,e,r)),n};k.prototype.cork=function(){this._writableState.corked++;};k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Si(this,t));};k.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 Mo(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(k.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Oo(t,e,r){return !t.objectMode&&t.decodeStrings!==false&&typeof e=="string"&&(e=Qe.from(e,r)),e}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function Bo(t,e,r,i,n,o){if(!r){var s=Oo(e,i,n);i!==s&&(r=true,n="buffer",i=s);}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 u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1;}else $t(t,e,false,a,i,n,o);return l}function $t(t,e,r,i,n,o,s){e.writelen=i,e.writecb=s,e.writing=true,e.sync=true,e.destroyed?e.onwrite(new Co("write")):r?t._writev(n,e.onwrite):t._write(n,o,e.onwrite),e.sync=false;}function Fo(t,e,r,i,n){--e.pendingcb,r?(process.nextTick(n,i),process.nextTick(Ee,t,e),t._writableState.errorEmitted=true,_e(t,i)):(n(i),t._writableState.errorEmitted=true,_e(t,i),Ee(t,e));}function No(t){t.writing=false,t.writecb=null,t.length-=t.writelen,t.writelen=0;}function qo(t,e){var r=t._writableState,i=r.sync,n=r.writecb;if(typeof n!="function")throw new Po;if(No(r),e)Fo(t,r,i,e,n);else {var o=Ei(r)||t.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Si(t,r),i?process.nextTick(wi,t,r,o,n):wi(t,r,o,n);}}function wi(t,e,r,i){r||$o(t,e),e.pendingcb--,i(),Ee(t,e);}function $o(t,e){e.length===0&&e.needDrain&&(e.needDrain=false,t.emit("drain"));}function Si(t,e){e.bufferProcessing=true;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var i=e.bufferedRequestCount,n=new Array(i),o=e.corkedRequestsFree;o.entry=r;for(var s=0,a=true;r;)n[s]=r,r.isBuf||(a=false),r=r.next,s+=1;n.allBuffers=a,$t(t,e,true,e.length,n,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new vi(e),e.bufferedRequestCount=0;}else {for(;r;){var l=r.chunk,u=r.encoding,h=r.callback,d=e.objectMode?1:l.length;if($t(t,e,false,d,l,u,h),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null);}e.bufferedRequest=r,e.bufferProcessing=false;}k.prototype._write=function(t,e,r){r(new ko("_write()"));};k.prototype._writev=null;k.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||Go(this,i,r),this};Object.defineProperty(k.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function Ei(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function Uo(t,e){t._final(function(r){e.pendingcb--,r&&_e(t,r),e.prefinished=true,t.emit("prefinish"),Ee(t,e);});}function Wo(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=true,process.nextTick(Uo,t,e)):(e.prefinished=true,t.emit("prefinish")));}function Ee(t,e){var r=Ei(e);if(r&&(Wo(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 Go(t,e,r){e.ending=true,Ee(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=true,t.writable=false;}function Ho(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(k.prototype,"destroyed",{enumerable:false,get:function(){return this._writableState===void 0?false:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e);}});k.prototype.destroy=Ut.destroy;k.prototype._undestroy=Ut.undestroy;k.prototype._destroy=function(t,e){e(t);};});var oe=f((Ll,Pi)=>{var Jo=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Pi.exports=$;var ki=Jt(),Ht=Wt();ne()($,ki);for(Gt=Jo(Ht.prototype),et=0;et<Gt.length;et++)tt=Gt[et],$.prototype[tt]||($.prototype[tt]=Ht.prototype[tt]);var Gt,tt,et;function $(t){if(!(this instanceof $))return new $(t);ki.call(this,t),Ht.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",Vo)));}Object.defineProperty($.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});Object.defineProperty($.prototype,"writableBuffer",{enumerable:false,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty($.prototype,"writableLength",{enumerable:false,get:function(){return this._writableState.length}});function Vo(){this._writableState.ended||process.nextTick(zo,this);}function zo(t){t.end();}Object.defineProperty($.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 Ii=f((Vt,Ci)=>{var rt=D("buffer"),U=rt.Buffer;function Ti(t,e){for(var r in t)e[r]=t[r];}U.from&&U.alloc&&U.allocUnsafe&&U.allocUnsafeSlow?Ci.exports=rt:(Ti(rt,Vt),Vt.Buffer=se);function se(t,e,r){return U(t,e,r)}se.prototype=Object.create(U.prototype);Ti(U,se);se.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return U(t,e,r)};se.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var i=U(t);return e!==void 0?typeof r=="string"?i.fill(e,r):i.fill(e):i.fill(0),i};se.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return U(t)};se.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return rt.SlowBuffer(t)};});var Kt=f(Mi=>{var Yt=Ii().Buffer,Ai=Yt.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 Yo(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 Ko(t){var e=Yo(t);if(typeof e!="string"&&(Yt.isEncoding===Ai||!Ai(t)))throw new Error("Unknown encoding: "+t);return e||t}Mi.StringDecoder=ke;function ke(t){this.encoding=Ko(t);var e;switch(this.encoding){case "utf16le":this.text=rs,this.end=is,e=4;break;case "utf8":this.fillLast=Qo,e=4;break;case "base64":this.text=ns,this.end=os,e=3;break;default:this.write=ss,this.end=as;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yt.allocUnsafe(e);}ke.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||""};ke.prototype.end=ts;ke.prototype.text=es;ke.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 zt(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function Xo(t,e,r){var i=e.length-1;if(i<r)return 0;var n=zt(e[i]);return n>=0?(n>0&&(t.lastNeed=n-1),n):--i<r||n===-2?0:(n=zt(e[i]),n>=0?(n>0&&(t.lastNeed=n-2),n):--i<r||n===-2?0:(n=zt(e[i]),n>=0?(n>0&&(n===2?n=0:t.lastNeed=n-3),n):0))}function Zo(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 Qo(t){var e=this.lastTotal-this.lastNeed,r=Zo(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 es(t,e){var r=Xo(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 ts(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function rs(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 is(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 os(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function ss(t){return t.toString(this.encoding)}function as(t){return t&&t.length?this.write(t):""}});var it=f((Bl,Li)=>{var ji=Y().codes.ERR_STREAM_PREMATURE_CLOSE;function ls(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 cs(){}function us(t){return t.setHeader&&typeof t.abort=="function"}function Di(t,e,r){if(typeof e=="function")return Di(t,null,e);e||(e={}),r=ls(r||cs);var i=e.readable||e.readable!==false&&t.readable,n=e.writable||e.writable!==false&&t.writable,o=function(){t.writable||a();},s=t._writableState&&t._writableState.finished,a=function(){n=false,s=true,i||r.call(t);},l=t._readableState&&t._readableState.endEmitted,u=function(){i=false,l=true,n||r.call(t);},h=function(S){r.call(t,S);},d=function(){var S;if(i&&!l)return (!t._readableState||!t._readableState.ended)&&(S=new ji),r.call(t,S);if(n&&!s)return (!t._writableState||!t._writableState.ended)&&(S=new ji),r.call(t,S)},y=function(){t.req.on("finish",a);};return us(t)?(t.on("complete",a),t.on("abort",d),t.req?y():t.on("request",y)):n&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",u),t.on("finish",a),e.error!==false&&t.on("error",h),t.on("close",d),function(){t.removeListener("complete",a),t.removeListener("abort",d),t.removeListener("request",y),t.req&&t.req.removeListener("finish",a),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",a),t.removeListener("end",u),t.removeListener("error",h),t.removeListener("close",d);}}Li.exports=Di;});var Bi=f((Fl,Oi)=>{var nt;function X(t,e,r){return e=fs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function fs(t){var e=hs(t,"string");return typeof e=="symbol"?e:String(e)}function hs(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 ds=it(),Z=Symbol("lastResolve"),ae=Symbol("lastReject"),Pe=Symbol("error"),ot=Symbol("ended"),le=Symbol("lastPromise"),Xt=Symbol("handlePromise"),ce=Symbol("stream");function Q(t,e){return {value:t,done:e}}function ps(t){var e=t[Z];if(e!==null){var r=t[ce].read();r!==null&&(t[le]=null,t[Z]=null,t[ae]=null,e(Q(r,false)));}}function gs(t){process.nextTick(ps,t);}function ms(t,e){return function(r,i){t.then(function(){if(e[ot]){r(Q(void 0,true));return}e[Xt](r,i);},i);}}var _s=Object.getPrototypeOf(function(){}),ys=Object.setPrototypeOf((nt={get stream(){return this[ce]},next:function(){var e=this,r=this[Pe];if(r!==null)return Promise.reject(r);if(this[ot])return Promise.resolve(Q(void 0,true));if(this[ce].destroyed)return new Promise(function(s,a){process.nextTick(function(){e[Pe]?a(e[Pe]):s(Q(void 0,true));});});var i=this[le],n;if(i)n=new Promise(ms(i,this));else {var o=this[ce].read();if(o!==null)return Promise.resolve(Q(o,false));n=new Promise(this[Xt]);}return this[le]=n,n}},X(nt,Symbol.asyncIterator,function(){return this}),X(nt,"return",function(){var e=this;return new Promise(function(r,i){e[ce].destroy(null,function(n){if(n){i(n);return}r(Q(void 0,true));});})}),nt),_s),bs=function(e){var r,i=Object.create(ys,(r={},X(r,ce,{value:e,writable:true}),X(r,Z,{value:null,writable:true}),X(r,ae,{value:null,writable:true}),X(r,Pe,{value:null,writable:true}),X(r,ot,{value:e._readableState.endEmitted,writable:true}),X(r,Xt,{value:function(o,s){var a=i[ce].read();a?(i[le]=null,i[Z]=null,i[ae]=null,o(Q(a,false))):(i[Z]=o,i[ae]=s);},writable:true}),r));return i[le]=null,ds(e,function(n){if(n&&n.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=i[ae];o!==null&&(i[le]=null,i[Z]=null,i[ae]=null,o(n)),i[Pe]=n;return}var s=i[Z];s!==null&&(i[le]=null,i[Z]=null,i[ae]=null,s(Q(void 0,true))),i[ot]=true;}),e.on("readable",gs.bind(null,i)),i};Oi.exports=bs;});var $i=f((Nl,qi)=>{function Fi(t,e,r,i,n,o,s){try{var a=t[o](s),l=a.value;}catch(u){r(u);return}a.done?e(l):Promise.resolve(l).then(i,n);}function ws(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var o=t.apply(e,r);function s(l){Fi(o,i,n,s,a,"next",l);}function a(l){Fi(o,i,n,s,a,"throw",l);}s(void 0);})}}function Ni(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 vs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ni(Object(r),true).forEach(function(i){xs(t,i,r[i]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ni(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i));});}return t}function xs(t,e,r){return e=Ss(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true}):t[e]=r,t}function Ss(t){var e=Es(t,"string");return typeof e=="symbol"?e:String(e)}function Es(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 Rs=Y().codes.ERR_INVALID_ARG_TYPE;function ks(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 Rs("iterable",["Iterable"],e);var n=new t(vs({objectMode:true},r)),o=false;n._read=function(){o||(o=true,s());};function s(){return a.apply(this,arguments)}function a(){return a=ws(function*(){try{var l=yield i.next(),u=l.value,h=l.done;h?n.push(null):n.push(yield u)?s():o=!1;}catch(d){n.destroy(d);}}),a.apply(this,arguments)}return n}qi.exports=ks;});var Jt=f(($l,Xi)=>{Xi.exports=_;var ye;_.ReadableState=Hi;D("events").EventEmitter;var Gi=function(e,r){return e.listeners(r).length},Ce=jt(),st=D("buffer").Buffer,Ps=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ts(t){return st.from(t)}function Cs(t){return st.isBuffer(t)||t instanceof Ps}var Zt=D("util"),g;Zt&&Zt.debuglog?g=Zt.debuglog("stream"):g=function(){};var Is=ui(),or=Ot(),As=Bt(),Ms=As.getHighWaterMark,at=Y().codes,js=at.ERR_INVALID_ARG_TYPE,Ds=at.ERR_STREAM_PUSH_AFTER_EOF,Ls=at.ERR_METHOD_NOT_IMPLEMENTED,Os=at.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,be,Qt,er;ne()(_,Ce);var Te=or.errorOrDestroy,tr=["error","close","destroy","pause","resume"];function Bs(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 Hi(t,e,r){ye=ye||oe(),t=t||{},typeof r!="boolean"&&(r=e instanceof ye),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=Ms(this,t,"readableHighWaterMark",r),this.buffer=new Is,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&&(be||(be=Kt().StringDecoder),this.decoder=new be(t.encoding),this.encoding=t.encoding);}function _(t){if(ye=ye||oe(),!(this instanceof _))return new _(t);var e=this instanceof ye;this._readableState=new Hi(t,this,e),this.readable=true,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),Ce.call(this);}Object.defineProperty(_.prototype,"destroyed",{enumerable:false,get:function(){return this._readableState===void 0?false:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e);}});_.prototype.destroy=or.destroy;_.prototype._undestroy=or.undestroy;_.prototype._destroy=function(t,e){e(t);};_.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=st.from(t,e),e=""),i=true),Ji(this,t,e,false,i)};_.prototype.unshift=function(t){return Ji(this,t,null,true,false)};function Ji(t,e,r,i,n){g("readableAddChunk",e);var o=t._readableState;if(e===null)o.reading=false,qs(t,o);else {var s;if(n||(s=Fs(o,e)),s)Te(t,s);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==st.prototype&&(e=Ts(e)),i)o.endEmitted?Te(t,new Os):rr(t,o,e,true);else if(o.ended)Te(t,new Ds);else {if(o.destroyed)return false;o.reading=false,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||e.length!==0?rr(t,o,e,false):nr(t,o)):rr(t,o,e,false);}else i||(o.reading=false,nr(t,o));}return !o.ended&&(o.length<o.highWaterMark||o.length===0)}function rr(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&<(t)),nr(t,e);}function Fs(t,e){var r;return !Cs(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new js("chunk",["string","Buffer","Uint8Array"],e)),r}_.prototype.isPaused=function(){return this._readableState.flowing===false};_.prototype.setEncoding=function(t){be||(be=Kt().StringDecoder);var e=new be(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 Ui=1073741824;function Ns(t){return t>=Ui?t=Ui:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function Wi(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=Ns(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=true,0))}_.prototype.read=function(t){g("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 g("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?ir(this):lt(this),null;if(t=Wi(t,e),t===0&&e.ended)return e.length===0&&ir(this),null;var i=e.needReadable;g("need readable",i),(e.length===0||e.length-t<e.highWaterMark)&&(i=true,g("length less than watermark",i)),e.ended||e.reading?(i=false,g("reading or ended",i)):i&&(g("do read"),e.reading=true,e.sync=true,e.length===0&&(e.needReadable=true),this._read(e.highWaterMark),e.sync=false,e.reading||(t=Wi(r,e)));var n;return t>0?n=Yi(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&&ir(this)),n!==null&&this.emit("data",n),n};function qs(t,e){if(g("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?lt(t):(e.needReadable=false,e.emittedReadable||(e.emittedReadable=true,Vi(t)));}}function lt(t){var e=t._readableState;g("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=false,e.emittedReadable||(g("emitReadable",e.flowing),e.emittedReadable=true,process.nextTick(Vi,t));}function Vi(t){var e=t._readableState;g("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,sr(t);}function nr(t,e){e.readingMore||(e.readingMore=true,process.nextTick($s,t,e));}function $s(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(g("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=false;}_.prototype._read=function(t){Te(this,new Ls("_read()"));};_.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,g("pipe count=%d opts=%j",i.pipesCount,e);var n=(!e||e.end!==false)&&t!==process.stdout&&t!==process.stderr,o=n?a:m;i.endEmitted?process.nextTick(o):r.once("end",o),t.on("unpipe",s);function s(I,b){g("onunpipe"),I===r&&b&&b.hasUnpiped===false&&(b.hasUnpiped=true,h());}function a(){g("onend"),t.end();}var l=Us(r);t.on("drain",l);var u=false;function h(){g("cleanup"),t.removeListener("close",T),t.removeListener("finish",S),t.removeListener("drain",l),t.removeListener("error",y),t.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",d),u=true,i.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&l();}r.on("data",d);function d(I){g("ondata");var b=t.write(I);g("dest.write",b),b===false&&((i.pipesCount===1&&i.pipes===t||i.pipesCount>1&&Ki(i.pipes,t)!==-1)&&!u&&(g("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause());}function y(I){g("onerror",I),m(),t.removeListener("error",y),Gi(t,"error")===0&&Te(t,I);}Bs(t,"error",y);function T(){t.removeListener("finish",S),m();}t.once("close",T);function S(){g("onfinish"),t.removeListener("close",T),m();}t.once("finish",S);function m(){g("unpipe"),r.unpipe(t);}return t.emit("pipe",r),i.flowing||(g("pipe resume"),r.resume()),t};function Us(t){return function(){var r=t._readableState;g("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&Gi(t,"data")&&(r.flowing=true,sr(t));}}_.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 o=0;o<n;o++)i[o].emit("unpipe",this,{hasUnpiped:false});return this}var s=Ki(e.pipes,t);return s===-1?this:(e.pipes.splice(s,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};_.prototype.on=function(t,e){var r=Ce.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,g("on readable",i.length,i.reading),i.length?lt(this):i.reading||process.nextTick(Ws,this)),r};_.prototype.addListener=_.prototype.on;_.prototype.removeListener=function(t,e){var r=Ce.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(zi,this),r};_.prototype.removeAllListeners=function(t){var e=Ce.prototype.removeAllListeners.apply(this,arguments);return (t==="readable"||t===void 0)&&process.nextTick(zi,this),e};function zi(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 Ws(t){g("readable nexttick read 0"),t.read(0);}_.prototype.resume=function(){var t=this._readableState;return t.flowing||(g("resume"),t.flowing=!t.readableListening,Gs(this,t)),t.paused=false,this};function Gs(t,e){e.resumeScheduled||(e.resumeScheduled=true,process.nextTick(Hs,t,e));}function Hs(t,e){g("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=false,t.emit("resume"),sr(t),e.flowing&&!e.reading&&t.read(0);}_.prototype.pause=function(){return g("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==false&&(g("pause"),this._readableState.flowing=false,this.emit("pause")),this._readableState.paused=true,this};function sr(t){var e=t._readableState;for(g("flow",e.flowing);e.flowing&&t.read()!==null;);}_.prototype.wrap=function(t){var e=this,r=this._readableState,i=false;t.on("end",function(){if(g("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&e.push(s);}e.push(null);}),t.on("data",function(s){if(g("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var a=e.push(s);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 o=0;o<tr.length;o++)t.on(tr[o],this.emit.bind(this,tr[o]));return this._read=function(s){g("wrapped _read",s),i&&(i=false,t.resume());},this};typeof Symbol=="function"&&(_.prototype[Symbol.asyncIterator]=function(){return Qt===void 0&&(Qt=Bi()),Qt(this)});Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(_.prototype,"readableBuffer",{enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(_.prototype,"readableFlowing",{enumerable:false,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e);}});_._fromList=Yi;Object.defineProperty(_.prototype,"readableLength",{enumerable:false,get:function(){return this._readableState.length}});function Yi(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 ir(t){var e=t._readableState;g("endReadable",e.endEmitted),e.endEmitted||(e.ended=true,process.nextTick(Js,e,t));}function Js(t,e){if(g("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"&&(_.from=function(t,e){return er===void 0&&(er=$i()),er(_,t,e)});function Ki(t,e){for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return r;return -1}});var ar=f((Ul,Qi)=>{Qi.exports=V;var ct=Y().codes,Vs=ct.ERR_METHOD_NOT_IMPLEMENTED,zs=ct.ERR_MULTIPLE_CALLBACK,Ys=ct.ERR_TRANSFORM_ALREADY_TRANSFORMING,Ks=ct.ERR_TRANSFORM_WITH_LENGTH_0,ut=oe();ne()(V,ut);function Xs(t,e){var r=this._transformState;r.transforming=false;var i=r.writecb;if(i===null)return this.emit("error",new zs);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 V(t){if(!(this instanceof V))return new V(t);ut.call(this,t),this._transformState={afterTransform:Xs.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",Zs);}function Zs(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){Zi(t,e,r);}):Zi(this,null,null);}V.prototype.push=function(t,e){return this._transformState.needTransform=false,ut.prototype.push.call(this,t,e)};V.prototype._transform=function(t,e,r){r(new Vs("_transform()"));};V.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);}};V.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;};V.prototype._destroy=function(t,e){ut.prototype._destroy.call(this,t,function(r){e(r);});};function Zi(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new Ks;if(t._transformState.transforming)throw new Ys;return t.push(null)}});var rn=f((Wl,tn)=>{tn.exports=Ie;var en=ar();ne()(Ie,en);function Ie(t){if(!(this instanceof Ie))return new Ie(t);en.call(this,t);}Ie.prototype._transform=function(t,e,r){r(null,t);};});var ln=f((Gl,an)=>{var lr;function Qs(t){var e=false;return function(){e||(e=true,t.apply(void 0,arguments));}}var sn=Y().codes,ea=sn.ERR_MISSING_ARGS,ta=sn.ERR_STREAM_DESTROYED;function nn(t){if(t)throw t}function ra(t){return t.setHeader&&typeof t.abort=="function"}function ia(t,e,r,i){i=Qs(i);var n=false;t.on("close",function(){n=true;}),lr===void 0&&(lr=it()),lr(t,{readable:e,writable:r},function(s){if(s)return i(s);n=true,i();});var o=false;return function(s){if(!n&&!o){if(o=true,ra(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();i(s||new ta("pipe"));}}}function on(t){t();}function na(t,e){return t.pipe(e)}function oa(t){return !t.length||typeof t[t.length-1]!="function"?nn:t.pop()}function sa(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=oa(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new ea("streams");var n,o=e.map(function(s,a){var l=a<e.length-1,u=a>0;return ia(s,l,u,function(h){n||(n=h),h&&o.forEach(on),!l&&(o.forEach(on),i(n));})});return e.reduce(na)}an.exports=sa;});var cn=f((N,Me)=>{var Ae=D("stream");process.env.READABLE_STREAM==="disable"&&Ae?(Me.exports=Ae.Readable,Object.assign(Me.exports,Ae),Me.exports.Stream=Ae):(N=Me.exports=Jt(),N.Stream=Ae||N,N.Readable=N,N.Writable=Wt(),N.Duplex=oe(),N.Transform=ar(),N.PassThrough=rn(),N.finished=it(),N.pipeline=ln());});var hn=f((Hl,fn)=>{var{Buffer:q}=D("buffer"),un=Symbol.for("BufferList");function w(t){if(!(this instanceof w))return new w(t);w._init.call(this,t);}w._init=function(e){Object.defineProperty(this,un,{value:true}),this._bufs=[],this.length=0,e&&this.append(e);};w.prototype._new=function(e){return new w(e)};w.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;}};w.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};w.prototype.get=function(e){if(e>this.length||e<0)return;let r=this._offset(e);return this._bufs[r[0]][r[1]]};w.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)};w.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||q.alloc(0);let o=!!e,s=this._offset(i),a=n-i,l=a,u=o&&r||0,h=s[1];if(i===0&&n===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:q.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[s[0]].length-h)return o?this._bufs[s[0]].copy(e,r,h,h+l):this._bufs[s[0]].slice(h,h+l);o||(e=q.allocUnsafe(a));for(let d=s[0];d<this._bufs.length;d++){let y=this._bufs[d].length-h;if(l>y)this._bufs[d].copy(e,u,h),u+=y;else {this._bufs[d].copy(e,u,h,h+l),u+=y;break}l-=y,h&&(h=0);}return e.length>u?e.slice(0,u):e};w.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),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)};w.prototype.toString=function(e,r,i){return this.slice(r,i).toString(e)};w.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};w.prototype.duplicate=function(){let e=this._new();for(let r=0;r<this._bufs.length;r++)e.append(this._bufs[r]);return e};w.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(q.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(q.from(e));return this};w.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length;};w.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=q.from([t]):typeof t=="string"?t=q.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=q.from(t.buffer,t.byteOffset,t.byteLength):q.isBuffer(t)||(t=q.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],o=i[1];for(;n<this._bufs.length;n++){let s=this._bufs[n];for(;o<s.length;)if(s.length-o>=t.length){let l=s.indexOf(t,o);if(l!==-1)return this._reverseOffset([n,l]);o=s.length-t.length+1;}else {let l=this._reverseOffset([n,o]);if(this._match(l,t))return l;o++;}o=0;}return -1};w.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?w.prototype[r]=function(i,n){return this.slice(i,i+n)[r](0,n)}:w.prototype[r]=function(i=0){return this.slice(i,i+t[r])[r](0)};})(e);})();w.prototype._isBufferList=function(e){return e instanceof w||w.isBufferList(e)};w.isBufferList=function(e){return e!=null&&e[un]};fn.exports=w;});var dn=f((Jl,ft)=>{var cr=cn().Duplex,aa=ne(),je=hn();function L(t){if(!(this instanceof L))return new L(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;}je._init.call(this,t),cr.call(this);}aa(L,cr);Object.assign(L.prototype,je.prototype);L.prototype._new=function(e){return new L(e)};L.prototype._write=function(e,r,i){this._appendBuffer(e),typeof i=="function"&&i();};L.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);};L.prototype.end=function(e){cr.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null);};L.prototype._destroy=function(e,r){this._bufs.length=0,this.length=0,r(e);};L.prototype._isBufferList=function(e){return e instanceof L||e instanceof je||L.isBufferList(e)};L.isBufferList=je.isBufferList;ft.exports=L;ft.exports.BufferListStream=L;ft.exports.BufferList=je;});var gn=f((Vl,dr)=>{var la=D("readline"),ca=D("chalk"),pn=Lr(),ht=Nr(),dt=Ur(),ua=Jr(),fa=ti(),ha=ii(),da=At(),{BufferListStream:pa}=dn(),ur=Symbol("text"),fr=Symbol("prefixText"),ga=3,hr=class{constructor(){this.requests=0,this.mutedStream=new pa,this.mutedStream.pipe(process.stdout);let e=this;this.ourEmit=function(r,i,...n){let{stdin:o}=process;if(e.requests>0||o.emit===e.ourEmit){if(r==="keypress")return;r==="data"&&i.includes(ga)&&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=la.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);}},pt,gt=class{constructor(e){pt||(pt=new hr),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:ha({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(!da())this._spinner=ht.line;else if(e===void 0)this._spinner=ht.dots;else if(e!=="default"&&ht[e])this._spinner=ht[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[ur]}set text(e){this[ur]=e,this.updateLineCount();}get prefixText(){return this[fr]}set prefixText(e){this[fr]=e,this.updateLineCount();}get isSpinning(){return this.id!==void 0}getFullPrefixText(e=this[fr],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 ua(r+"--"+this[ur]).split(`
|
|
3
|
+
`))this.lineCount+=Math.max(1,Math.ceil(fa(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=ca[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&&pn.hide(this.stream),this.discardStdin&&process.stdin.isTTY&&(this.isDiscardingStdin=true,pt.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&&pn.show(this.stream),this.discardStdin&&process.stdin.isTTY&&this.isDiscardingStdin&&(pt.stop(),this.isDiscardingStdin=false),this):this}succeed(e){return this.stopAndPersist({symbol:dt.success,text:e})}fail(e){return this.stopAndPersist({symbol:dt.error,text:e})}warn(e){return this.stopAndPersist({symbol:dt.warning,text:e})}info(e){return this.stopAndPersist({symbol:dt.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}},ma=function(t){return new gt(t)};dr.exports=ma;dr.exports.promise=(t,e)=>{if(typeof t.then!="function")throw new TypeError("Parameter `action` must be a Promise");let r=new gt(e);return r.start(),(async()=>{try{await t,r.succeed();}catch{r.fail();}})(),r};});var mn=$n(gn()),W=()=>{let t=(0, mn.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 ve=class{constructor(e,r=process.cwd(),i=W()){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(we__default.default.join(e,"pnpm-lock.yaml"))?"pnpm":fs.existsSync(we__default.default.join(e,"yarn.lock"))?"yarn":fs.existsSync(we__default.default.join(e,"bun.lockb"))?"bun":"npm";ensurePackageJson(){if(!fs.existsSync(we__default.default.join(this.workingDir,"package.json")))throw new Error(`package.json not found in ${this.workingDir}`)}changeDirectory(e){this.workingDir=we__default.default.isAbsolute(e)?e:we__default.default.resolve(this.workingDir,e);}runCommand(e,r,i,n=false,o){let s=o||`Running command: ${e}`;try{return n?(this.ui_spinner.start(s),child_process.execSync(e,{cwd:this.workingDir,stdio:"ignore"}),this.ui_spinner.succeed(r??`Command: ${e}`),!0):(this.ui_spinner.start(s),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 _t=class{constructor(e,r,i=new ve(r),n=W()){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 wa=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))),yn=we.dirname(wa),j=class{static basePath=(()=>{let e=we.join(yn,"../stubs"),r=we.join(yn,"../../stubs");return fs.existsSync(e)?e:r})();static get(e){let r=e.replace(/\./g,"/")+".stub",i=we.join(this.basePath,r);if(!fs.existsSync(i))throw new Error(`Stub not found: ${i}`);return fs.readFileSync(i,"utf-8")}};var bn="https://raw.githubusercontent.com/Johnkat-Mj/jk_ui/refs/heads/main/public/r/{name}.json",wn=[{title:"Both",value:"both",selected:true},{title:"Light",value:"light",selected:false},{title:"Dark",value:"dark",selected:false}],vn=[{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}],Le=[{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}],ee=493,gr=[{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 yt=class{static get(e,r,i){let n=j.get(`themes.${i.toLowerCase()}`),o=j.get("css.scroll-config"),s=r.toLowerCase(),a=Le.find(I=>I.value===e.iconLibrary)??Le[1],l=j.get("css.base-inline"),u=`
|
|
337
6
|
@import "tailwindcss";
|
|
338
7
|
@import "tw-animate-css";
|
|
339
8
|
|
|
@@ -344,23 +13,25 @@
|
|
|
344
13
|
@reference "./jk-ui/utils.css";
|
|
345
14
|
|
|
346
15
|
@reference "./button-styles.css";
|
|
347
|
-
@reference "./utilities.css";`,
|
|
16
|
+
@reference "./utilities.css";`,h=`@plugin "@iconify/tailwind4" {
|
|
348
17
|
prefixes: ${a.value};
|
|
349
18
|
scale: 1.0;
|
|
350
19
|
}
|
|
351
|
-
`,
|
|
20
|
+
`,d=j.get("css.base-dark"),y=j.get("css.base-light"),T=j.get("css.base-both");return `${u}
|
|
352
21
|
|
|
353
22
|
|
|
354
|
-
${
|
|
23
|
+
${h}
|
|
355
24
|
|
|
356
25
|
|
|
357
|
-
${y}
|
|
26
|
+
${s==="both"?T:s==="dark"?d:y}
|
|
358
27
|
|
|
359
28
|
${n}
|
|
360
29
|
|
|
361
|
-
${
|
|
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
|
+
${o}`}};var C=class{static packageJsonCache=new Map;static async askPackageManager(){return (await Rt__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[s,a]of Object.entries(o))if((Array.isArray(a)?a:[a]).some(u=>u in n))return s;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(we.join(e,i)))return n;return "generic"}static hasPackageJson(e){return fs.existsSync(we.join(e,"package.json"))}static getPackageJson(e){if(this.packageJsonCache.has(e))return this.packageJsonCache.get(e);let r=we.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:we.basename(e)}static hasSrcDir(){return fs.existsSync(we.join(process.cwd(),"src"))}static isTypeScript(){let e=process.cwd();return fs.existsSync(we.join(e,"tsconfig.json"))}};var bt=class{static generateBaseFiles(e,r){let i=this.getMainCssFileName();this.createJkUIFiles(r,i),this.createFrameworkSpecificFiles(e,r),this.generateConfigFiles();}static createShared(e){let r=e.cssPath||"src/css/",i=e.libPath;fs.existsSync(r)||fs.mkdirSync(r,{recursive:true,mode:ee}),fs.existsSync(`${r}/jk-ui`)||fs.mkdirSync(`${r}/jk-ui`,{recursive:true,mode:ee}),fs.existsSync(`${i}`)||fs.mkdirSync(`${i}`,{recursive:true,mode:ee});}static createJkUIFiles(e,r){let i=e.cssPath,n=e.libPath,o=e.themingMode||"light",s=e.theme||"jk-ui";this.createShared(e);let a=o.toLowerCase()==="both"?"":`${o.toLowerCase()}.`,l=yt.get(e,o,s);fs.writeFileSync(we.join(i,`${r}.css`),l),fs.writeFileSync(we.join(i,"button-styles.css"),j.get(`css.${a}buttons`)),fs.writeFileSync(we.join(i,"utilities.css"),j.get(`css.${a}utilities`)),fs.writeFileSync(we.join(n,"utils.ts"),j.get("utils.lib"));}static generateConfigFiles(){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":bn}},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=C.hasSrcDir()?"src/":"";fs.existsSync(we.join(r,"components"))||fs.mkdirSync(we.join(r,"components"),{recursive:true,mode:ee}),fs.existsSync(we.join(r,"components/seo"))||fs.mkdirSync(we.join(r,"components/seo"),{recursive:true,mode:ee}),fs.existsSync(we.join(r,"layouts"))||fs.mkdirSync(we.join(r,"layouts"),{recursive:true,mode:ee}),fs.writeFileSync("tsconfig.json",j.get("astro.tsconfig")),fs.writeFileSync(we.join(r,"layouts/Layout.astro"),j.get("astro.layout")),fs.writeFileSync(we.join(r,"components/seo/SEO.astro"),j.get("astro.seo"));}static createRasenganFiles(){let r=C.hasSrcDir()?"src/":"";fs.existsSync(we.join(r,"components"))||fs.mkdirSync(we.join(r,"components"),{recursive:true,mode:ee}),fs.writeFileSync("rasengan.config.js",j.get("rasengan.config"));}static createReactFiles(e){let r=C.isTypeScript()?"ts":"js";fs.writeFileSync(`vite.config.${r}`,j.get("vite.vanilla"));}};var wt=class{constructor(e,r,i,n,o=new _t(e,n)){this.answers=r;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){bt.generateBaseFiles(e,this.answers);}};var Fe={error:vt__default.default.red,warn:vt__default.default.yellow,info:vt__default.default.cyan,success:vt__default.default.green};var c={error(...t){console.log(Fe.error(t.join(" ")));},warn(...t){console.log(Fe.warn(t.join(" ")));},info(...t){console.log(Fe.info(t.join(" ")));},success(...t){console.log(Fe.success(t.join(" ")));},log(...t){console.log(t.join(" "));},break(){console.log("");}};var xn=()=>{},Sn=()=>{let t=we.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}},mr=t=>{if(!t)return t;let e=String(t).trim().replace(/\\/g,"/");return e=e.replace(/^\.\//,""),e=e.replace(/\/+/,"/"),e.endsWith("/")||(e+="/"),e},_r=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 xt=class{get(){return [{type:"select",name:"theme",message:"\u{1F3A8} Which theme would you like to use?",choices:vn.map(e=>({title:e.title,value:e.value,selected:e.selected}))},{type:"select",name:"themingMode",message:"Your theming mode",choices:wn.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:Le.map(e=>({title:e.title,value:e.value,selected:e.selected}))}]}async askFolders(e){let r=C.hasSrcDir(),i=e==="next"&&fs.existsSync(we.join(process.cwd(),"app")),n=gr.find(a=>a.framework===e)??{cssPath:i?"styles":"src/styles"},o={cssPath:r?n.cssPath:n.cssPath?.startsWith("src/")?n.cssPath.replace("src/",""):n.cssPath,libPath:r?"src/lib":"lib"},s=await Rt__default.default([{type:"text",name:"cssPath",message:"Path to the CSS file",initial:o.cssPath,validate:a=>_r(a),format:a=>mr(a)},{type:"text",name:"libPath",message:"Path to the lib utils folder",initial:o.libPath,validate:a=>_r(a),format:a=>mr(a)}]);return {cssPath:s.cssPath,libPath:s.libPath}}};var St=class{constructor(e=new xt){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:C.getProjectName(),framework:"",theme:"",cssPath:"",themingMode:"both",iconLibrary:"",libPath:""};if(e.cwd&&e.cwd!==process.cwd()&&process.chdir(e.cwd),!C.hasPackageJson(process.cwd()))c.error("\u2718 No package.json found."),c.info("Please create a project first using your framework's CLI."),c.info("Example: npm create vite@latest"),process.exit(0);else {let i=C.detect();!this.supportedFrameworks.includes(i)&&!["vite-js","vite-ts"].includes(i)&&(c.error(`\u274C Sorry, the CLI does not support the '${i}' framework for the moment.`),c.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){c.info(`\u{1F4E6} Detected ${e} project`),C.checkTailwindCSS()||c.info("\u2139\uFE0F Tailwind CSS will be configured for your project");let n=await Rt__default.default(this.themingPrompts.get()),o="",s=r.libPath||"";if(r.cssPath&&(o=r.cssPath),o===""){let a=await this.themingPrompts.askFolders(e);o=a.cssPath,s=a.libPath;}return {projectName:C.getProjectName(),framework:e,theme:n.theme,themingMode:n.themingMode,iconLibrary:n.iconLibrary,cssPath:o,libPath:s}}};var te=t=>{t instanceof Error?c.error(t.message):c.error("An unexpected error occurred"),process.exit(1);};var En=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(Sn()){c.info("Project already initialized");return}xn();let r=new St,i=W(),{projectAnswers:n}=await r.initialize(e),o=ve.detectPackageManager();new wt(n.projectName,n,n.framework,o).setup(!1),i.succeed("Project setup successfully"),i.stop();}catch(e){te(e);}});var Et=[{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 kn=new commander.Command("fix-icons").description("Replace icons in components - switch between icon libraries or select specific icons").action(async()=>{try{let t=process.cwd(),e=we.join(t,"components.json");if(!fs.existsSync(e)){c.error("\u2718 No components.json found. Please initialize the project first.");return}let i=JSON.parse(fs.readFileSync(e,"utf-8")).iconLibrary;if(!i){c.error("\u2718 No icon library specified in components.json.");return}let n=C.detect(),o="";if(n==="inertia-react"||n==="laravel"?o=we.join(t,"resources","js","components"):C.hasSrcDir()?o=we.join(t,"src","components"):o=we.join(t,"components"),!fs.existsSync(o)){c.warn(`\u26A0 components/ui directory not found at: ${o}`);return}c.info(`\u{1F50D} Scanning ${o} for icons...`);let s=Pn(o),a=new Map,l=["ph","heroicons","lucide","hugeicons","solar"];for(let p of l)a.set(p,new Map);for(let p of s){let v=fs.readFileSync(p,"utf-8");for(let R of l){let J=Fa(R),Pt=new RegExp(`${J}([a-z0-9-]+)`,"g"),br;for(;(br=Pt.exec(v))!==null;){let wr=br[0],vr=a.get(R);vr.set(wr,(vr.get(wr)??0)+1);}}}let u=[];for(let[p,v]of a.entries())for(let[R,J]of v.entries())u.push({iconKey:R,library:p,count:J});if(u.length===0){c.info("\u2728 No supported icons were found in your components.");return}let h=new Map;for(let p of u)h.has(p.library)||h.set(p.library,[]),h.get(p.library).push(p.iconKey);c.info(`
|
|
33
|
+
\u{1F4CA} Found icons by library:`);for(let[p,v]of h.entries())c.info(` ${p}: ${v.length} unique icons (${u.filter(R=>R.library===p).reduce((R,J)=>R+J.count,0)} occurrences)`);let d=i;if(h.size>1){let p=Array.from(h.keys()).filter(v=>h.get(v).length>0).map(v=>({title:v,value:v}));p.length>1&&(d=(await Rt__default.default({type:"select",name:"value",message:"Which icon library do you want to replace?",choices:p,initial:p.findIndex(R=>R.value===i)})).value);}let y=h.get(d)??[];if(y.length===0){c.info(`\u2728 No ${d} icons found in your components.`);return}let S=(await Rt__default.default({type:"select",name:"value",message:"Which icon library do you want to switch to?",choices:l.filter(p=>p!==d).map(p=>({title:p,value:p}))})).value,I=(await Rt__default.default({type:"multiselect",name:"value",message:`Select which ${d} icons to replace (${y.length} found):`,choices:y.sort().map(p=>({title:p,value:p})),hint:"- Space to select. Return to submit"})).value;if(I.length===0){c.info("Operation cancelled.");return}let b=[];for(let p of I){let v=Et.find(R=>R[d]===p);if(v){let R=v[S];R&&b.push({from:p,to:R});}}if(b.length===0){c.error("\u2718 Could not find mappings for selected icons.");return}let E=0,P=[];for(let p of s){let v=fs.readFileSync(p,"utf-8"),R=b.filter(J=>v.includes(J.from));R.length>0&&(E+=R.reduce((J,Pt)=>J+(v.match(new RegExp(Pt.from,"g"))??[]).length,0),P.push({path:p,content:v,replacements:R}));}if(E===0){c.info("\u2728 No replacements needed.");return}if(!(await Rt__default.default({type:"confirm",name:"value",message:`Replace ${E} icon occurrences in ${P.length} files from ${d} to ${S}?`,initial:!0})).value){c.info("Operation cancelled.");return}let H=W();H.start("Replacing icons...");for(let p of P){let v=p.content;for(let R of p.replacements)v=v.replace(new RegExp(R.from,"g"),R.to);fs.writeFileSync(p.path,v);}H.succeed(`\u2728 Successfully replaced ${E} icons in ${P.length} files (${d} \u2192 ${S}).`);}catch(t){te(t);}});function Fa(t){return {ph:"ph--",heroicons:"heroicons--",lucide:"lucide--",hugeicons:"hugeicons--",solar:"solar--"}[t]}function Pn(t,e=[]){return fs.readdirSync(t).forEach(i=>{let n=we.join(t,i);if(fs.statSync(n).isDirectory())e=Pn(n,e);else {let o=we.extname(n);[".tsx",".jsx",".ts",".js",".astro"].includes(o)&&e.push(n);}}),e}var Cn=new commander.Command("replace-icon").description("Replace all icons from one library to another (non-interactive)").argument("<fromLibrary>","Icon library to replace (ph, heroicons, lucide, hugeicons, solar)").option("--with <toLibrary>","Target icon library to replace with").option("--skip-confirm","Skip confirmation prompt").action(async(t,e)=>{try{let r=["ph","heroicons","lucide","hugeicons","solar"];if(!r.includes(t)){c.error(`\u2718 Invalid source library: ${t}`),c.info(` Supported libraries: ${r.join(", ")}`);return}if(!e.with){c.error("\u2718 Target library required. Use --with <library>"),c.info(` Supported libraries: ${r.join(", ")}`);return}if(!r.includes(e.with)){c.error(`\u2718 Invalid target library: ${e.with}`),c.info(` Supported libraries: ${r.join(", ")}`);return}let i=t,n=e.with;if(i===n){c.error("\u2718 Source and target libraries cannot be the same.");return}let o=process.cwd(),s=we.join(o,"components.json");if(!fs.existsSync(s)){c.error("\u2718 No components.json found. Please initialize the project first.");return}let a=C.detect(),l="";if(a==="inertia-react"||a==="laravel"?l=we.join(o,"resources","js","components"):C.hasSrcDir()?l=we.join(o,"src","components"):l=we.join(o,"components"),!fs.existsSync(l)){c.error(`\u2718 Components directory not found at: ${l}`);return}c.info(`\u{1F50D} Scanning ${l} for ${i} icons...`);let u=In(l),h=Ha(i),d=new RegExp(`${h}([a-z0-9-]+)`,"g"),y=new Map,T=[];for(let E of u){let P=fs.readFileSync(E,"utf-8"),A=!1,H,p=new RegExp(d);for(;(H=p.exec(P))!==null;){let v=H[0];y.set(v,(y.get(v)??0)+1),A=!0;}A&&T.push({path:E,content:P});}if(y.size===0){c.info(`\u2728 No ${i} icons found in your components.`);return}let S=[],m=0;for(let E of y.keys()){let P=Et.find(A=>A[i]===E);if(P){let A=P[n];A?S.push({from:E,to:A}):m++;}else m++;}if(S.length===0){c.error("\u2718 No icon mappings found for the specified libraries.");return}let I=0;for(let E of T)for(let P of S){let A=E.content.match(new RegExp(P.from,"g"));A&&(I+=A.length);}if(c.info(`
|
|
34
|
+
\u{1F4CA} Replacement Summary:`),c.info(` Source library: ${i} (${y.size} unique icons)`),c.info(` Target library: ${n}`),c.info(` Total replacements: ${I} occurrences in ${T.length} files`),m>0&&c.warn(` \u26A0 ${m} icons have no mapping`),!e.skipConfirm&&!(await import('prompts').then(P=>P.default({type:"confirm",name:"value",message:`Proceed with replacing ${I} icons from ${i} to ${n}?`,initial:!0}))).value){c.info("Operation cancelled.");return}let b=W();b.start("Replacing icons...");for(let E of T){let P=E.content;for(let A of S)P=P.replace(new RegExp(A.from,"g"),A.to);fs.writeFileSync(E.path,P);}b.succeed(`\u2728 Successfully replaced ${I} icons (${i} \u2192 ${n}) in ${T.length} files.`);}catch(r){te(r);}});function Ha(t){return {ph:"ph--",heroicons:"heroicons--",lucide:"lucide--",hugeicons:"hugeicons--",solar:"solar--"}[t]}function In(t,e=[]){return fs.readdirSync(t).forEach(i=>{let n=we.join(t,i);if(fs.statSync(n).isDirectory())e=In(n,e);else {let o=we.extname(n);[".tsx",".jsx",".ts",".js",".astro"].includes(o)&&e.push(n);}}),e}var Ka=[".tsx",".ts",".jsx",".js",".mdx"],Xa=/^\s*(['"])use client\1\s*;?\s*(\r?\n)?/gm;function jn(t,e=[]){let r=fs.readdirSync(t);for(let i of r){let n=we.join(t,i);if(fs.statSync(n).isDirectory())jn(n,e);else {let o=we.extname(n).toLowerCase();Ka.includes(o)&&e.push(n);}}return e}function Za(t){let r=[we.join(t,"src","components"),we.join(t,"src","app","components"),we.join(t,"app","components"),we.join(t,"components"),we.join(t,"resources","js","components"),we.join(t,"views","resources","js","components"),we.join(t,"resources","js","components","ui"),we.join(t,"components","ui"),we.join(t,"src","components","ui"),we.join(t,"src","app","components","ui")].filter(n=>fs.existsSync(n)&&fs.statSync(n).isDirectory());if(r.length>0)return Array.from(new Set(r));let i=[we.join(t,"src"),we.join(t,"app"),we.join(t,"resources","js"),we.join(t,"views","resources","js"),t];for(let n of i){if(!fs.existsSync(n)||!fs.statSync(n).isDirectory())continue;let o=fs.readdirSync(n);for(let s of o)if(s==="components"){let a=we.join(n,s);fs.statSync(a).isDirectory()&&r.push(a);}if(r.length>0)break}return Array.from(new Set(r))}function Qa(t){let e=fs.readFileSync(t,"utf-8"),r=e.replace(Xa,"");return r===e?false:(fs.writeFileSync(t,r,"utf-8"),true)}var Dn=new commander.Command("remove-use-client").description("Remove 'use client' directives from component files in common React and Inertia layouts").action(()=>{try{let t=process.cwd(),e=Za(t);if(e.length===0){c.warn("\u26A0 No components directory found. Tried src/components, components, app/components, resources/js/components, and views/resources/js/components.");return}c.info(`\u{1F50D} Found ${e.length} component directory(ies). Scanning for 'use client' directives...`);let r=0,i=0,n=[];for(let o of e){let s=jn(o);for(let a of s)n.push(a),Qa(a)&&(r+=1,i+=1);}if(n.length===0){c.warn(`\u26A0 No supported component files found in ${e.join(", ")}.`);return}r===0?c.success("\u2705 No 'use client' directives were found in component files."):c.success(`\u2705 Removed 'use client' from ${r} component file(s).`);}catch(t){te(t);}});var ol=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))),sl=we.dirname(ol);process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function al(){let t=we.resolve(sl,"../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(En),r.addCommand(kn),r.addCommand(Cn),r.addCommand(Dn),r.parse();}al();
|
|
364
35
|
/*! Bundled license information:
|
|
365
36
|
|
|
366
37
|
safe-buffer/index.js:
|