create-qwik 0.101.0 → 0.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -1,24 +1,24 @@
1
1
  /**
2
2
  * @license
3
- * create-qwik 0.101.0
3
+ * create-qwik 0.102.0
4
4
  * Copyright Builder.io, Inc. All Rights Reserved.
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://github.com/BuilderIO/qwik/blob/main/LICENSE
7
7
  */
8
- "use strict";var Vt=Object.create;var tu=Object.defineProperty;var Jt=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Gt=Object.getPrototypeOf,Ut=Object.prototype.hasOwnProperty;var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var D in t)tu(e,D,{get:t[D],enumerable:!0})},ne=(e,t,D,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of zt(t))!Ut.call(e,s)&&s!==D&&tu(e,s,{get:()=>t[s],enumerable:!(r=Jt(t,s))||r.enumerable});return e};var B=(e,t,D)=>(D=e!=null?Vt(Gt(e)):{},ne(t||!e||!e.__esModule?tu(D,"default",{value:e,enumerable:!0}):D,e)),Yt=e=>ne(tu({},"__esModule",{value:!0}),e);var Bu=w((Ar,ge)=>{"use strict";var fu="\x1B",d=`${fu}[`,Zt="\x07",$u={to(e,t){return t?`${d}${t+1};${e+1}H`:`${d}${e+1}G`},move(e,t){let D="";return e<0?D+=`${d}${-e}D`:e>0&&(D+=`${d}${e}C`),t<0?D+=`${d}${-t}A`:t>0&&(D+=`${d}${t}B`),D},up:(e=1)=>`${d}${e}A`,down:(e=1)=>`${d}${e}B`,forward:(e=1)=>`${d}${e}C`,backward:(e=1)=>`${d}${e}D`,nextLine:(e=1)=>`${d}E`.repeat(e),prevLine:(e=1)=>`${d}F`.repeat(e),left:`${d}G`,hide:`${d}?25l`,show:`${d}?25h`,save:`${fu}7`,restore:`${fu}8`},Qt={up:(e=1)=>`${d}S`.repeat(e),down:(e=1)=>`${d}T`.repeat(e)},Xt={screen:`${d}2J`,up:(e=1)=>`${d}1J`.repeat(e),down:(e=1)=>`${d}J`.repeat(e),line:`${d}2K`,lineEnd:`${d}K`,lineStart:`${d}1K`,lines(e){let t="";for(let D=0;D<e;D++)t+=this.line+(D<e-1?$u.up():"");return e&&(t+=$u.left),t}};ge.exports={cursor:$u,scroll:Qt,erase:Xt,beep:Zt}});var wu=w((br,yu)=>{var uD=require("tty"),eD=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||uD.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),m=(e,t,D=e)=>r=>{let s=""+r,i=s.indexOf(t,e.length);return~i?e+fe(s,t,D,i)+t:e+s+t},fe=(e,t,D,r)=>{let s=e.substring(0,r)+D,i=e.substring(r+t.length),u=i.indexOf(t);return~u?s+fe(i,t,D,u):s+i},$e=(e=eD)=>({isColorSupported:e,reset:e?t=>`\x1B[0m${t}\x1B[0m`:String,bold:e?m("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:e?m("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:e?m("\x1B[3m","\x1B[23m"):String,underline:e?m("\x1B[4m","\x1B[24m"):String,inverse:e?m("\x1B[7m","\x1B[27m"):String,hidden:e?m("\x1B[8m","\x1B[28m"):String,strikethrough:e?m("\x1B[9m","\x1B[29m"):String,black:e?m("\x1B[30m","\x1B[39m"):String,red:e?m("\x1B[31m","\x1B[39m"):String,green:e?m("\x1B[32m","\x1B[39m"):String,yellow:e?m("\x1B[33m","\x1B[39m"):String,blue:e?m("\x1B[34m","\x1B[39m"):String,magenta:e?m("\x1B[35m","\x1B[39m"):String,cyan:e?m("\x1B[36m","\x1B[39m"):String,white:e?m("\x1B[37m","\x1B[39m"):String,gray:e?m("\x1B[90m","\x1B[39m"):String,bgBlack:e?m("\x1B[40m","\x1B[49m"):String,bgRed:e?m("\x1B[41m","\x1B[49m"):String,bgGreen:e?m("\x1B[42m","\x1B[49m"):String,bgYellow:e?m("\x1B[43m","\x1B[49m"):String,bgBlue:e?m("\x1B[44m","\x1B[49m"):String,bgMagenta:e?m("\x1B[45m","\x1B[49m"):String,bgCyan:e?m("\x1B[46m","\x1B[49m"):String,bgWhite:e?m("\x1B[47m","\x1B[49m"):String});yu.exports=$e();yu.exports.createColors=$e});var We=w((Jr,qe)=>{qe.exports=Ne;Ne.sync=bD;var Re=require("fs");function AD(e,t){var D=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!D||(D=D.split(";"),D.indexOf("")!==-1))return!0;for(var r=0;r<D.length;r++){var s=D[r].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1}function Me(e,t,D){return!e.isSymbolicLink()&&!e.isFile()?!1:AD(t,D)}function Ne(e,t,D){Re.stat(e,function(r,s){D(r,r?!1:Me(s,e,t))})}function bD(e,t){return Me(Re.statSync(e),e,t)}});var Ge=w((zr,ze)=>{ze.exports=Ve;Ve.sync=xD;var Le=require("fs");function Ve(e,t,D){Le.stat(e,function(r,s){D(r,r?!1:Je(s,t))})}function xD(e,t){return Je(Le.statSync(e),t)}function Je(e,t){return e.isFile()&&kD(e,t)}function kD(e,t){var D=e.mode,r=e.uid,s=e.gid,i=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),u=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),n=parseInt("100",8),c=parseInt("010",8),a=parseInt("001",8),p=n|c,l=D&a||D&c&&s===u||D&n&&r===i||D&p&&i===0;return l}});var Ke=w((Ur,Ue)=>{var Gr=require("fs"),pu;process.platform==="win32"||global.TESTING_WINDOWS?pu=We():pu=Ge();Ue.exports=qu;qu.sync=SD;function qu(e,t,D){if(typeof t=="function"&&(D=t,t={}),!D){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(r,s){qu(e,t||{},function(i,u){i?s(i):r(u)})})}pu(e,t||{},function(r,s){r&&(r.code==="EACCES"||t&&t.ignoreErrors)&&(r=null,s=!1),D(r,s)})}function SD(e,t){try{return pu.sync(e,t||{})}catch(D){if(t&&t.ignoreErrors||D.code==="EACCES")return!1;throw D}}});var et=w((Kr,ut)=>{var V=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Ye=require("path"),jD=V?";":":",He=Ke(),Ze=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Qe=(e,t)=>{let D=t.colon||jD,r=e.match(/\//)||V&&e.match(/\\/)?[""]:[...V?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(D)],s=V?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=V?s.split(D):[""];return V&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:r,pathExt:i,pathExtExe:s}},Xe=(e,t,D)=>{typeof t=="function"&&(D=t,t={}),t||(t={});let{pathEnv:r,pathExt:s,pathExtExe:i}=Qe(e,t),u=[],n=a=>new Promise((p,l)=>{if(a===r.length)return t.all&&u.length?p(u):l(Ze(e));let F=r[a],C=/^".*"$/.test(F)?F.slice(1,-1):F,y=Ye.join(C,e),P=!C&&/^\.[\\\/]/.test(e)?e.slice(0,2)+y:y;p(c(P,a,0))}),c=(a,p,l)=>new Promise((F,C)=>{if(l===s.length)return F(n(p+1));let y=s[l];He(a+y,{pathExt:i},(P,I)=>{if(!P&&I)if(t.all)u.push(a+y);else return F(a+y);return F(c(a,p,l+1))})});return D?n(0).then(a=>D(null,a),D):n(0)},ID=(e,t)=>{t=t||{};let{pathEnv:D,pathExt:r,pathExtExe:s}=Qe(e,t),i=[];for(let u=0;u<D.length;u++){let n=D[u],c=/^".*"$/.test(n)?n.slice(1,-1):n,a=Ye.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+a:a;for(let l=0;l<r.length;l++){let F=p+r[l];try{if(He.sync(F,{pathExt:s}))if(t.all)i.push(F);else return F}catch{}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw Ze(e)};ut.exports=Xe;Xe.sync=ID});var Dt=w((Yr,Wu)=>{"use strict";var tt=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(r=>r.toUpperCase()==="PATH")||"Path"};Wu.exports=tt;Wu.exports.default=tt});var nt=w((Hr,it)=>{"use strict";var rt=require("path"),OD=et(),_D=Dt();function st(e,t){let D=e.options.env||process.env,r=process.cwd(),s=e.options.cwd!=null,i=s&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch{}let u;try{u=OD.sync(e.command,{path:D[_D({env:D})],pathExt:t?rt.delimiter:void 0})}catch{}finally{i&&process.chdir(r)}return u&&(u=rt.resolve(s?e.options.cwd:"",u)),u}function TD(e){return st(e)||st(e,!0)}it.exports=TD});var ot=w((Zr,Vu)=>{"use strict";var Lu=/([()\][%!^"`<>&|;, *?])/g;function PD(e){return e=e.replace(Lu,"^$1"),e}function RD(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(Lu,"^$1"),t&&(e=e.replace(Lu,"^$1")),e}Vu.exports.command=PD;Vu.exports.argument=RD});var ct=w((Qr,at)=>{"use strict";at.exports=/^#!(.*)/});var pt=w((Xr,lt)=>{"use strict";var MD=ct();lt.exports=(e="")=>{let t=e.match(MD);if(!t)return null;let[D,r]=t[0].replace(/#! ?/,"").split(" "),s=D.split("/").pop();return s==="env"?r:r?`${s} ${r}`:s}});var Ct=w((us,Ft)=>{"use strict";var Ju=require("fs"),ND=pt();function qD(e){let D=Buffer.alloc(150),r;try{r=Ju.openSync(e,"r"),Ju.readSync(r,D,0,150,0),Ju.closeSync(r)}catch{}return ND(D.toString())}Ft.exports=qD});var dt=w((es,Et)=>{"use strict";var WD=require("path"),ht=nt(),mt=ot(),LD=Ct(),VD=process.platform==="win32",JD=/\.(?:com|exe)$/i,zD=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function GD(e){e.file=ht(e);let t=e.file&&LD(e.file);return t?(e.args.unshift(e.file),e.command=t,ht(e)):e.file}function UD(e){if(!VD)return e;let t=GD(e),D=!JD.test(t);if(e.options.forceShell||D){let r=zD.test(t);e.command=WD.normalize(e.command),e.command=mt.command(e.command),e.args=e.args.map(i=>mt.argument(i,r));let s=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${s}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function KD(e,t,D){t&&!Array.isArray(t)&&(D=t,t=null),t=t?t.slice(0):[],D=Object.assign({},D);let r={command:e,args:t,options:D,file:void 0,original:{command:e,args:t}};return D.shell?r:UD(r)}Et.exports=KD});var $t=w((ts,ft)=>{"use strict";var zu=process.platform==="win32";function Gu(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function YD(e,t){if(!zu)return;let D=e.emit;e.emit=function(r,s){if(r==="exit"){let i=gt(s,t,"spawn");if(i)return D.call(e,"error",i)}return D.apply(e,arguments)}}function gt(e,t){return zu&&e===1&&!t.file?Gu(t.original,"spawn"):null}function HD(e,t){return zu&&e===1&&!t.file?Gu(t.original,"spawnSync"):null}ft.exports={hookChildProcess:YD,verifyENOENT:gt,verifyENOENTSync:HD,notFoundError:Gu}});var wt=w((Ds,J)=>{"use strict";var Bt=require("child_process"),Uu=dt(),Ku=$t();function yt(e,t,D){let r=Uu(e,t,D),s=Bt.spawn(r.command,r.args,r.options);return Ku.hookChildProcess(s,r),s}function ZD(e,t,D){let r=Uu(e,t,D),s=Bt.spawnSync(r.command,r.args,r.options);return s.error=s.error||Ku.verifyENOENTSync(s.status,r),s}J.exports=yt;J.exports.spawn=yt;J.exports.sync=ZD;J.exports._parse=Uu;J.exports._enoent=Ku});var At=w((rs,vt)=>{"use strict";vt.exports=function(){if(process.env.npm_config_user_agent)return QD(process.env.npm_config_user_agent)};function QD(e){let t=e.split(" ")[0],D=t.lastIndexOf("/"),r=t.substring(0,D);return{name:r==="npminstall"?"cnpm":r,version:t.substring(D+1)}}});var cr={};Kt(cr,{createApp:()=>uu,runCli:()=>or,runCreateCli:()=>De,runCreateInteractiveCli:()=>ie});module.exports=Yt(cr);var X=B(require("fs"));var gu,oe,ae,ce,le=!0;typeof process<"u"&&({FORCE_COLOR:gu,NODE_DISABLE_COLORS:oe,NO_COLOR:ae,TERM:ce}=process.env||{},le=process.stdout&&process.stdout.isTTY);var Ht={enabled:!oe&&ae==null&&ce!=="dumb"&&(gu!=null&&gu!=="0"||le)};function h(e,t){let D=new RegExp(`\\x1b\\[${t}m`,"g"),r=`\x1B[${e}m`,s=`\x1B[${t}m`;return function(i){return!Ht.enabled||i==null?i:r+(~(""+i).indexOf(s)?i.replace(D,s+r):i)+s}}var pe=h(0,0),Fe=h(1,22),pr=h(2,22),Fr=h(3,23),Cr=h(4,24),hr=h(7,27),mr=h(8,28),Er=h(9,29),dr=h(30,39),O=h(31,39),Ce=h(32,39),he=h(33,39),me=h(34,39),x=h(35,39),k=h(36,39),Ee=h(37,39),q=h(90,39),gr=h(90,39),fr=h(40,49),Du=h(41,49),$r=h(42,49),Br=h(43,49),de=h(44,49),ru=h(45,49),yr=h(46,49),wr=h(47,49);var T=require("path");var Hu=B(require("fs"),1),Zu=require("path");var v=B(Bu(),1),W=require("process"),_=B(require("readline"),1),bu=B(require("readline"),1),ke=require("tty"),iu=B(wu(),1);function tD({onlyFirst:e=!1}={}){let t=["[\\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(t,e?void 0:"g")}function Se(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(tD(),"")}var xu={},DD={get exports(){return xu},set exports(e){xu=e}};(function(e){var t={};e.exports=t,t.eastAsianWidth=function(r){var s=r.charCodeAt(0),i=r.length==2?r.charCodeAt(1):0,u=s;return 55296<=s&&s<=56319&&56320<=i&&i<=57343&&(s&=1023,i&=1023,u=s<<10|i,u+=65536),u==12288||65281<=u&&u<=65376||65504<=u&&u<=65510?"F":u==8361||65377<=u&&u<=65470||65474<=u&&u<=65479||65482<=u&&u<=65487||65490<=u&&u<=65495||65498<=u&&u<=65500||65512<=u&&u<=65518?"H":4352<=u&&u<=4447||4515<=u&&u<=4519||4602<=u&&u<=4607||9001<=u&&u<=9002||11904<=u&&u<=11929||11931<=u&&u<=12019||12032<=u&&u<=12245||12272<=u&&u<=12283||12289<=u&&u<=12350||12353<=u&&u<=12438||12441<=u&&u<=12543||12549<=u&&u<=12589||12593<=u&&u<=12686||12688<=u&&u<=12730||12736<=u&&u<=12771||12784<=u&&u<=12830||12832<=u&&u<=12871||12880<=u&&u<=13054||13056<=u&&u<=19903||19968<=u&&u<=42124||42128<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||55216<=u&&u<=55238||55243<=u&&u<=55291||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65106||65108<=u&&u<=65126||65128<=u&&u<=65131||110592<=u&&u<=110593||127488<=u&&u<=127490||127504<=u&&u<=127546||127552<=u&&u<=127560||127568<=u&&u<=127569||131072<=u&&u<=194367||177984<=u&&u<=196605||196608<=u&&u<=262141?"W":32<=u&&u<=126||162<=u&&u<=163||165<=u&&u<=166||u==172||u==175||10214<=u&&u<=10221||10629<=u&&u<=10630?"Na":u==161||u==164||167<=u&&u<=168||u==170||173<=u&&u<=174||176<=u&&u<=180||182<=u&&u<=186||188<=u&&u<=191||u==198||u==208||215<=u&&u<=216||222<=u&&u<=225||u==230||232<=u&&u<=234||236<=u&&u<=237||u==240||242<=u&&u<=243||247<=u&&u<=250||u==252||u==254||u==257||u==273||u==275||u==283||294<=u&&u<=295||u==299||305<=u&&u<=307||u==312||319<=u&&u<=322||u==324||328<=u&&u<=331||u==333||338<=u&&u<=339||358<=u&&u<=359||u==363||u==462||u==464||u==466||u==468||u==470||u==472||u==474||u==476||u==593||u==609||u==708||u==711||713<=u&&u<=715||u==717||u==720||728<=u&&u<=731||u==733||u==735||768<=u&&u<=879||913<=u&&u<=929||931<=u&&u<=937||945<=u&&u<=961||963<=u&&u<=969||u==1025||1040<=u&&u<=1103||u==1105||u==8208||8211<=u&&u<=8214||8216<=u&&u<=8217||8220<=u&&u<=8221||8224<=u&&u<=8226||8228<=u&&u<=8231||u==8240||8242<=u&&u<=8243||u==8245||u==8251||u==8254||u==8308||u==8319||8321<=u&&u<=8324||u==8364||u==8451||u==8453||u==8457||u==8467||u==8470||8481<=u&&u<=8482||u==8486||u==8491||8531<=u&&u<=8532||8539<=u&&u<=8542||8544<=u&&u<=8555||8560<=u&&u<=8569||u==8585||8592<=u&&u<=8601||8632<=u&&u<=8633||u==8658||u==8660||u==8679||u==8704||8706<=u&&u<=8707||8711<=u&&u<=8712||u==8715||u==8719||u==8721||u==8725||u==8730||8733<=u&&u<=8736||u==8739||u==8741||8743<=u&&u<=8748||u==8750||8756<=u&&u<=8759||8764<=u&&u<=8765||u==8776||u==8780||u==8786||8800<=u&&u<=8801||8804<=u&&u<=8807||8810<=u&&u<=8811||8814<=u&&u<=8815||8834<=u&&u<=8835||8838<=u&&u<=8839||u==8853||u==8857||u==8869||u==8895||u==8978||9312<=u&&u<=9449||9451<=u&&u<=9547||9552<=u&&u<=9587||9600<=u&&u<=9615||9618<=u&&u<=9621||9632<=u&&u<=9633||9635<=u&&u<=9641||9650<=u&&u<=9651||9654<=u&&u<=9655||9660<=u&&u<=9661||9664<=u&&u<=9665||9670<=u&&u<=9672||u==9675||9678<=u&&u<=9681||9698<=u&&u<=9701||u==9711||9733<=u&&u<=9734||u==9737||9742<=u&&u<=9743||9748<=u&&u<=9749||u==9756||u==9758||u==9792||u==9794||9824<=u&&u<=9825||9827<=u&&u<=9829||9831<=u&&u<=9834||9836<=u&&u<=9837||u==9839||9886<=u&&u<=9887||9918<=u&&u<=9919||9924<=u&&u<=9933||9935<=u&&u<=9953||u==9955||9960<=u&&u<=9983||u==10045||u==10071||10102<=u&&u<=10111||11093<=u&&u<=11097||12872<=u&&u<=12879||57344<=u&&u<=63743||65024<=u&&u<=65039||u==65533||127232<=u&&u<=127242||127248<=u&&u<=127277||127280<=u&&u<=127337||127344<=u&&u<=127386||917760<=u&&u<=917999||983040<=u&&u<=1048573||1048576<=u&&u<=1114109?"A":"N"},t.characterLength=function(r){var s=this.eastAsianWidth(r);return s=="F"||s=="W"||s=="A"?2:1};function D(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}t.length=function(r){for(var s=D(r),i=0,u=0;u<s.length;u++)i=i+this.characterLength(s[u]);return i},t.slice=function(r,s,i){textLen=t.length(r),s=s||0,i=i||1,s<0&&(s=textLen+s),i<0&&(i=textLen+i);for(var u="",n=0,c=D(r),a=0;a<c.length;a++){var p=c[a],l=t.length(p);if(n>=s-(l==2?1:0))if(n+l<=i)u+=p;else break;n+=l}return u}})(DD);var rD=xu,sD=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g};function K(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=Se(e),e.length===0))return 0;e=e.replace(sD()," ");let D=t.ambiguousIsNarrow?1:2,r=0;for(let s of e){let i=s.codePointAt(0);if(!(i<=31||i>=127&&i<=159||i>=768&&i<=879))switch(rD.eastAsianWidth(s)){case"F":case"W":r+=2;break;case"A":r+=D;break;default:r+=1}}return r}var vu=10,Be=(e=0)=>t=>`\x1B[${t+e}m`,ye=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,we=(e=0)=>(t,D,r)=>`\x1B[${38+e};2;${t};${D};${r}m`,E={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(E.modifier);var iD=Object.keys(E.color),nD=Object.keys(E.bgColor);[...iD,...nD];function oD(){let e=new Map;for(let[t,D]of Object.entries(E)){for(let[r,s]of Object.entries(D))E[r]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},D[r]=E[r],e.set(s[0],s[1]);Object.defineProperty(E,t,{value:D,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=Be(),E.color.ansi256=ye(),E.color.ansi16m=we(),E.bgColor.ansi=Be(vu),E.bgColor.ansi256=ye(vu),E.bgColor.ansi16m=we(vu),Object.defineProperties(E,{rgbToAnsi256:{value:(t,D,r)=>t===D&&D===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(D/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:t=>{let D=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!D)return[0,0,0];let[r]=D;r.length===3&&(r=[...r].map(i=>i+i).join(""));let s=Number.parseInt(r,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:t=>E.rgbToAnsi256(...E.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let D,r,s;if(t>=232)D=((t-232)*10+8)/255,r=D,s=D;else{t-=16;let n=t%36;D=Math.floor(t/36)/5,r=Math.floor(n/6)/5,s=n%6/5}let i=Math.max(D,r,s)*2;if(i===0)return 30;let u=30+(Math.round(s)<<2|Math.round(r)<<1|Math.round(D));return i===2&&(u+=60),u},enumerable:!1},rgbToAnsi:{value:(t,D,r)=>E.ansi256ToAnsi(E.rgbToAnsi256(t,D,r)),enumerable:!1},hexToAnsi:{value:t=>E.ansi256ToAnsi(E.hexToAnsi256(t)),enumerable:!1}}),E}var aD=oD(),cu=new Set(["\x1B","\x9B"]),cD=39,ku="\x07",je="[",lD="]",Ie="m",Su=`${lD}8;;`,ve=e=>`${cu.values().next().value}${je}${e}${Ie}`,Ae=e=>`${cu.values().next().value}${Su}${e}${ku}`,pD=e=>e.split(" ").map(t=>K(t)),Au=(e,t,D)=>{let r=[...t],s=!1,i=!1,u=K(Se(e[e.length-1]));for(let[n,c]of r.entries()){let a=K(c);if(u+a<=D?e[e.length-1]+=c:(e.push(c),u=0),cu.has(c)&&(s=!0,i=r.slice(n+1).join("").startsWith(Su)),s){i?c===ku&&(s=!1,i=!1):c===Ie&&(s=!1);continue}u+=a,u===D&&n<r.length-1&&(e.push(""),u=0)}!u&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},FD=e=>{let t=e.split(" "),D=t.length;for(;D>0&&!(K(t[D-1])>0);)D--;return D===t.length?e:t.slice(0,D).join(" ")+t.slice(D).join("")},CD=(e,t,D={})=>{if(D.trim!==!1&&e.trim()==="")return"";let r="",s,i,u=pD(e),n=[""];for(let[a,p]of e.split(" ").entries()){D.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let l=K(n[n.length-1]);if(a!==0&&(l>=t&&(D.wordWrap===!1||D.trim===!1)&&(n.push(""),l=0),(l>0||D.trim===!1)&&(n[n.length-1]+=" ",l++)),D.hard&&u[a]>t){let F=t-l,C=1+Math.floor((u[a]-F-1)/t);Math.floor((u[a]-1)/t)<C&&n.push(""),Au(n,p,t);continue}if(l+u[a]>t&&l>0&&u[a]>0){if(D.wordWrap===!1&&l<t){Au(n,p,t);continue}n.push("")}if(l+u[a]>t&&D.wordWrap===!1){Au(n,p,t);continue}n[n.length-1]+=p}D.trim!==!1&&(n=n.map(a=>FD(a)));let c=[...n.join(`
9
- `)];for(let[a,p]of c.entries()){if(r+=p,cu.has(p)){let{groups:F}=new RegExp(`(?:\\${je}(?<code>\\d+)m|\\${Su}(?<uri>.*)${ku})`).exec(c.slice(a).join(""))||{groups:{}};if(F.code!==void 0){let C=Number.parseFloat(F.code);s=C===cD?void 0:C}else F.uri!==void 0&&(i=F.uri.length===0?void 0:F.uri)}let l=aD.codes.get(Number(s));c[a+1]===`
8
+ "use strict";var Jt=Object.create;var tu=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty;var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yt=(e,t)=>{for(var D in t)tu(e,D,{get:t[D],enumerable:!0})},ne=(e,t,D,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Gt(t))!Kt.call(e,s)&&s!==D&&tu(e,s,{get:()=>t[s],enumerable:!(r=zt(t,s))||r.enumerable});return e};var B=(e,t,D)=>(D=e!=null?Jt(Ut(e)):{},ne(t||!e||!e.__esModule?tu(D,"default",{value:e,enumerable:!0}):D,e)),Ht=e=>ne(tu({},"__esModule",{value:!0}),e);var Bu=w((br,ge)=>{"use strict";var fu="\x1B",d=`${fu}[`,Qt="\x07",$u={to(e,t){return t?`${d}${t+1};${e+1}H`:`${d}${e+1}G`},move(e,t){let D="";return e<0?D+=`${d}${-e}D`:e>0&&(D+=`${d}${e}C`),t<0?D+=`${d}${-t}A`:t>0&&(D+=`${d}${t}B`),D},up:(e=1)=>`${d}${e}A`,down:(e=1)=>`${d}${e}B`,forward:(e=1)=>`${d}${e}C`,backward:(e=1)=>`${d}${e}D`,nextLine:(e=1)=>`${d}E`.repeat(e),prevLine:(e=1)=>`${d}F`.repeat(e),left:`${d}G`,hide:`${d}?25l`,show:`${d}?25h`,save:`${fu}7`,restore:`${fu}8`},Xt={up:(e=1)=>`${d}S`.repeat(e),down:(e=1)=>`${d}T`.repeat(e)},uD={screen:`${d}2J`,up:(e=1)=>`${d}1J`.repeat(e),down:(e=1)=>`${d}J`.repeat(e),line:`${d}2K`,lineEnd:`${d}K`,lineStart:`${d}1K`,lines(e){let t="";for(let D=0;D<e;D++)t+=this.line+(D<e-1?$u.up():"");return e&&(t+=$u.left),t}};ge.exports={cursor:$u,scroll:Xt,erase:uD,beep:Qt}});var wu=w((xr,yu)=>{var eD=require("tty"),tD=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||eD.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),m=(e,t,D=e)=>r=>{let s=""+r,i=s.indexOf(t,e.length);return~i?e+fe(s,t,D,i)+t:e+s+t},fe=(e,t,D,r)=>{let s=e.substring(0,r)+D,i=e.substring(r+t.length),u=i.indexOf(t);return~u?s+fe(i,t,D,u):s+i},$e=(e=tD)=>({isColorSupported:e,reset:e?t=>`\x1B[0m${t}\x1B[0m`:String,bold:e?m("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:e?m("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:e?m("\x1B[3m","\x1B[23m"):String,underline:e?m("\x1B[4m","\x1B[24m"):String,inverse:e?m("\x1B[7m","\x1B[27m"):String,hidden:e?m("\x1B[8m","\x1B[28m"):String,strikethrough:e?m("\x1B[9m","\x1B[29m"):String,black:e?m("\x1B[30m","\x1B[39m"):String,red:e?m("\x1B[31m","\x1B[39m"):String,green:e?m("\x1B[32m","\x1B[39m"):String,yellow:e?m("\x1B[33m","\x1B[39m"):String,blue:e?m("\x1B[34m","\x1B[39m"):String,magenta:e?m("\x1B[35m","\x1B[39m"):String,cyan:e?m("\x1B[36m","\x1B[39m"):String,white:e?m("\x1B[37m","\x1B[39m"):String,gray:e?m("\x1B[90m","\x1B[39m"):String,bgBlack:e?m("\x1B[40m","\x1B[49m"):String,bgRed:e?m("\x1B[41m","\x1B[49m"):String,bgGreen:e?m("\x1B[42m","\x1B[49m"):String,bgYellow:e?m("\x1B[43m","\x1B[49m"):String,bgBlue:e?m("\x1B[44m","\x1B[49m"):String,bgMagenta:e?m("\x1B[45m","\x1B[49m"):String,bgCyan:e?m("\x1B[46m","\x1B[49m"):String,bgWhite:e?m("\x1B[47m","\x1B[49m"):String});yu.exports=$e();yu.exports.createColors=$e});var We=w((zr,qe)=>{qe.exports=Ne;Ne.sync=xD;var Re=require("fs");function bD(e,t){var D=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!D||(D=D.split(";"),D.indexOf("")!==-1))return!0;for(var r=0;r<D.length;r++){var s=D[r].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1}function Me(e,t,D){return!e.isSymbolicLink()&&!e.isFile()?!1:bD(t,D)}function Ne(e,t,D){Re.stat(e,function(r,s){D(r,r?!1:Me(s,e,t))})}function xD(e,t){return Me(Re.statSync(e),e,t)}});var Ge=w((Gr,ze)=>{ze.exports=Ve;Ve.sync=kD;var Le=require("fs");function Ve(e,t,D){Le.stat(e,function(r,s){D(r,r?!1:Je(s,t))})}function kD(e,t){return Je(Le.statSync(e),t)}function Je(e,t){return e.isFile()&&SD(e,t)}function SD(e,t){var D=e.mode,r=e.uid,s=e.gid,i=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),u=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),n=parseInt("100",8),c=parseInt("010",8),a=parseInt("001",8),p=n|c,l=D&a||D&c&&s===u||D&n&&r===i||D&p&&i===0;return l}});var Ke=w((Kr,Ue)=>{var Ur=require("fs"),pu;process.platform==="win32"||global.TESTING_WINDOWS?pu=We():pu=Ge();Ue.exports=qu;qu.sync=jD;function qu(e,t,D){if(typeof t=="function"&&(D=t,t={}),!D){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(r,s){qu(e,t||{},function(i,u){i?s(i):r(u)})})}pu(e,t||{},function(r,s){r&&(r.code==="EACCES"||t&&t.ignoreErrors)&&(r=null,s=!1),D(r,s)})}function jD(e,t){try{return pu.sync(e,t||{})}catch(D){if(t&&t.ignoreErrors||D.code==="EACCES")return!1;throw D}}});var et=w((Yr,ut)=>{var V=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Ye=require("path"),ID=V?";":":",He=Ke(),Ze=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Qe=(e,t)=>{let D=t.colon||ID,r=e.match(/\//)||V&&e.match(/\\/)?[""]:[...V?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(D)],s=V?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=V?s.split(D):[""];return V&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:r,pathExt:i,pathExtExe:s}},Xe=(e,t,D)=>{typeof t=="function"&&(D=t,t={}),t||(t={});let{pathEnv:r,pathExt:s,pathExtExe:i}=Qe(e,t),u=[],n=a=>new Promise((p,l)=>{if(a===r.length)return t.all&&u.length?p(u):l(Ze(e));let F=r[a],C=/^".*"$/.test(F)?F.slice(1,-1):F,y=Ye.join(C,e),P=!C&&/^\.[\\\/]/.test(e)?e.slice(0,2)+y:y;p(c(P,a,0))}),c=(a,p,l)=>new Promise((F,C)=>{if(l===s.length)return F(n(p+1));let y=s[l];He(a+y,{pathExt:i},(P,I)=>{if(!P&&I)if(t.all)u.push(a+y);else return F(a+y);return F(c(a,p,l+1))})});return D?n(0).then(a=>D(null,a),D):n(0)},OD=(e,t)=>{t=t||{};let{pathEnv:D,pathExt:r,pathExtExe:s}=Qe(e,t),i=[];for(let u=0;u<D.length;u++){let n=D[u],c=/^".*"$/.test(n)?n.slice(1,-1):n,a=Ye.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+a:a;for(let l=0;l<r.length;l++){let F=p+r[l];try{if(He.sync(F,{pathExt:s}))if(t.all)i.push(F);else return F}catch{}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw Ze(e)};ut.exports=Xe;Xe.sync=OD});var Dt=w((Hr,Wu)=>{"use strict";var tt=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(r=>r.toUpperCase()==="PATH")||"Path"};Wu.exports=tt;Wu.exports.default=tt});var nt=w((Zr,it)=>{"use strict";var rt=require("path"),_D=et(),TD=Dt();function st(e,t){let D=e.options.env||process.env,r=process.cwd(),s=e.options.cwd!=null,i=s&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch{}let u;try{u=_D.sync(e.command,{path:D[TD({env:D})],pathExt:t?rt.delimiter:void 0})}catch{}finally{i&&process.chdir(r)}return u&&(u=rt.resolve(s?e.options.cwd:"",u)),u}function PD(e){return st(e)||st(e,!0)}it.exports=PD});var ot=w((Qr,Vu)=>{"use strict";var Lu=/([()\][%!^"`<>&|;, *?])/g;function RD(e){return e=e.replace(Lu,"^$1"),e}function MD(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(Lu,"^$1"),t&&(e=e.replace(Lu,"^$1")),e}Vu.exports.command=RD;Vu.exports.argument=MD});var ct=w((Xr,at)=>{"use strict";at.exports=/^#!(.*)/});var pt=w((us,lt)=>{"use strict";var ND=ct();lt.exports=(e="")=>{let t=e.match(ND);if(!t)return null;let[D,r]=t[0].replace(/#! ?/,"").split(" "),s=D.split("/").pop();return s==="env"?r:r?`${s} ${r}`:s}});var Ct=w((es,Ft)=>{"use strict";var Ju=require("fs"),qD=pt();function WD(e){let D=Buffer.alloc(150),r;try{r=Ju.openSync(e,"r"),Ju.readSync(r,D,0,150,0),Ju.closeSync(r)}catch{}return qD(D.toString())}Ft.exports=WD});var dt=w((ts,Et)=>{"use strict";var LD=require("path"),ht=nt(),mt=ot(),VD=Ct(),JD=process.platform==="win32",zD=/\.(?:com|exe)$/i,GD=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function UD(e){e.file=ht(e);let t=e.file&&VD(e.file);return t?(e.args.unshift(e.file),e.command=t,ht(e)):e.file}function KD(e){if(!JD)return e;let t=UD(e),D=!zD.test(t);if(e.options.forceShell||D){let r=GD.test(t);e.command=LD.normalize(e.command),e.command=mt.command(e.command),e.args=e.args.map(i=>mt.argument(i,r));let s=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${s}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function YD(e,t,D){t&&!Array.isArray(t)&&(D=t,t=null),t=t?t.slice(0):[],D=Object.assign({},D);let r={command:e,args:t,options:D,file:void 0,original:{command:e,args:t}};return D.shell?r:KD(r)}Et.exports=YD});var $t=w((Ds,ft)=>{"use strict";var zu=process.platform==="win32";function Gu(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function HD(e,t){if(!zu)return;let D=e.emit;e.emit=function(r,s){if(r==="exit"){let i=gt(s,t,"spawn");if(i)return D.call(e,"error",i)}return D.apply(e,arguments)}}function gt(e,t){return zu&&e===1&&!t.file?Gu(t.original,"spawn"):null}function ZD(e,t){return zu&&e===1&&!t.file?Gu(t.original,"spawnSync"):null}ft.exports={hookChildProcess:HD,verifyENOENT:gt,verifyENOENTSync:ZD,notFoundError:Gu}});var wt=w((rs,J)=>{"use strict";var Bt=require("child_process"),Uu=dt(),Ku=$t();function yt(e,t,D){let r=Uu(e,t,D),s=Bt.spawn(r.command,r.args,r.options);return Ku.hookChildProcess(s,r),s}function QD(e,t,D){let r=Uu(e,t,D),s=Bt.spawnSync(r.command,r.args,r.options);return s.error=s.error||Ku.verifyENOENTSync(s.status,r),s}J.exports=yt;J.exports.spawn=yt;J.exports.sync=QD;J.exports._parse=Uu;J.exports._enoent=Ku});var At=w((ss,vt)=>{"use strict";vt.exports=function(){if(process.env.npm_config_user_agent)return XD(process.env.npm_config_user_agent)};function XD(e){let t=e.split(" ")[0],D=t.lastIndexOf("/"),r=t.substring(0,D);return{name:r==="npminstall"?"cnpm":r,version:t.substring(D+1)}}});var lr={};Yt(lr,{createApp:()=>uu,runCli:()=>ar,runCreateCli:()=>De,runCreateInteractiveCli:()=>ie});module.exports=Ht(lr);var X=B(require("fs"));var gu,oe,ae,ce,le=!0;typeof process<"u"&&({FORCE_COLOR:gu,NODE_DISABLE_COLORS:oe,NO_COLOR:ae,TERM:ce}=process.env||{},le=process.stdout&&process.stdout.isTTY);var Zt={enabled:!oe&&ae==null&&ce!=="dumb"&&(gu!=null&&gu!=="0"||le)};function h(e,t){let D=new RegExp(`\\x1b\\[${t}m`,"g"),r=`\x1B[${e}m`,s=`\x1B[${t}m`;return function(i){return!Zt.enabled||i==null?i:r+(~(""+i).indexOf(s)?i.replace(D,s+r):i)+s}}var pe=h(0,0),Fe=h(1,22),Fr=h(2,22),Cr=h(3,23),hr=h(4,24),mr=h(7,27),Er=h(8,28),dr=h(9,29),gr=h(30,39),O=h(31,39),Ce=h(32,39),he=h(33,39),me=h(34,39),x=h(35,39),k=h(36,39),Ee=h(37,39),q=h(90,39),fr=h(90,39),$r=h(40,49),Du=h(41,49),Br=h(42,49),yr=h(43,49),de=h(44,49),ru=h(45,49),wr=h(46,49),vr=h(47,49);var _=require("path");var Hu=B(require("fs"),1),Zu=require("path");var v=B(Bu(),1),W=require("process"),T=B(require("readline"),1),bu=B(require("readline"),1),ke=require("tty"),iu=B(wu(),1);function DD({onlyFirst:e=!1}={}){let t=["[\\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(t,e?void 0:"g")}function Se(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(DD(),"")}var xu={},rD={get exports(){return xu},set exports(e){xu=e}};(function(e){var t={};e.exports=t,t.eastAsianWidth=function(r){var s=r.charCodeAt(0),i=r.length==2?r.charCodeAt(1):0,u=s;return 55296<=s&&s<=56319&&56320<=i&&i<=57343&&(s&=1023,i&=1023,u=s<<10|i,u+=65536),u==12288||65281<=u&&u<=65376||65504<=u&&u<=65510?"F":u==8361||65377<=u&&u<=65470||65474<=u&&u<=65479||65482<=u&&u<=65487||65490<=u&&u<=65495||65498<=u&&u<=65500||65512<=u&&u<=65518?"H":4352<=u&&u<=4447||4515<=u&&u<=4519||4602<=u&&u<=4607||9001<=u&&u<=9002||11904<=u&&u<=11929||11931<=u&&u<=12019||12032<=u&&u<=12245||12272<=u&&u<=12283||12289<=u&&u<=12350||12353<=u&&u<=12438||12441<=u&&u<=12543||12549<=u&&u<=12589||12593<=u&&u<=12686||12688<=u&&u<=12730||12736<=u&&u<=12771||12784<=u&&u<=12830||12832<=u&&u<=12871||12880<=u&&u<=13054||13056<=u&&u<=19903||19968<=u&&u<=42124||42128<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||55216<=u&&u<=55238||55243<=u&&u<=55291||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65106||65108<=u&&u<=65126||65128<=u&&u<=65131||110592<=u&&u<=110593||127488<=u&&u<=127490||127504<=u&&u<=127546||127552<=u&&u<=127560||127568<=u&&u<=127569||131072<=u&&u<=194367||177984<=u&&u<=196605||196608<=u&&u<=262141?"W":32<=u&&u<=126||162<=u&&u<=163||165<=u&&u<=166||u==172||u==175||10214<=u&&u<=10221||10629<=u&&u<=10630?"Na":u==161||u==164||167<=u&&u<=168||u==170||173<=u&&u<=174||176<=u&&u<=180||182<=u&&u<=186||188<=u&&u<=191||u==198||u==208||215<=u&&u<=216||222<=u&&u<=225||u==230||232<=u&&u<=234||236<=u&&u<=237||u==240||242<=u&&u<=243||247<=u&&u<=250||u==252||u==254||u==257||u==273||u==275||u==283||294<=u&&u<=295||u==299||305<=u&&u<=307||u==312||319<=u&&u<=322||u==324||328<=u&&u<=331||u==333||338<=u&&u<=339||358<=u&&u<=359||u==363||u==462||u==464||u==466||u==468||u==470||u==472||u==474||u==476||u==593||u==609||u==708||u==711||713<=u&&u<=715||u==717||u==720||728<=u&&u<=731||u==733||u==735||768<=u&&u<=879||913<=u&&u<=929||931<=u&&u<=937||945<=u&&u<=961||963<=u&&u<=969||u==1025||1040<=u&&u<=1103||u==1105||u==8208||8211<=u&&u<=8214||8216<=u&&u<=8217||8220<=u&&u<=8221||8224<=u&&u<=8226||8228<=u&&u<=8231||u==8240||8242<=u&&u<=8243||u==8245||u==8251||u==8254||u==8308||u==8319||8321<=u&&u<=8324||u==8364||u==8451||u==8453||u==8457||u==8467||u==8470||8481<=u&&u<=8482||u==8486||u==8491||8531<=u&&u<=8532||8539<=u&&u<=8542||8544<=u&&u<=8555||8560<=u&&u<=8569||u==8585||8592<=u&&u<=8601||8632<=u&&u<=8633||u==8658||u==8660||u==8679||u==8704||8706<=u&&u<=8707||8711<=u&&u<=8712||u==8715||u==8719||u==8721||u==8725||u==8730||8733<=u&&u<=8736||u==8739||u==8741||8743<=u&&u<=8748||u==8750||8756<=u&&u<=8759||8764<=u&&u<=8765||u==8776||u==8780||u==8786||8800<=u&&u<=8801||8804<=u&&u<=8807||8810<=u&&u<=8811||8814<=u&&u<=8815||8834<=u&&u<=8835||8838<=u&&u<=8839||u==8853||u==8857||u==8869||u==8895||u==8978||9312<=u&&u<=9449||9451<=u&&u<=9547||9552<=u&&u<=9587||9600<=u&&u<=9615||9618<=u&&u<=9621||9632<=u&&u<=9633||9635<=u&&u<=9641||9650<=u&&u<=9651||9654<=u&&u<=9655||9660<=u&&u<=9661||9664<=u&&u<=9665||9670<=u&&u<=9672||u==9675||9678<=u&&u<=9681||9698<=u&&u<=9701||u==9711||9733<=u&&u<=9734||u==9737||9742<=u&&u<=9743||9748<=u&&u<=9749||u==9756||u==9758||u==9792||u==9794||9824<=u&&u<=9825||9827<=u&&u<=9829||9831<=u&&u<=9834||9836<=u&&u<=9837||u==9839||9886<=u&&u<=9887||9918<=u&&u<=9919||9924<=u&&u<=9933||9935<=u&&u<=9953||u==9955||9960<=u&&u<=9983||u==10045||u==10071||10102<=u&&u<=10111||11093<=u&&u<=11097||12872<=u&&u<=12879||57344<=u&&u<=63743||65024<=u&&u<=65039||u==65533||127232<=u&&u<=127242||127248<=u&&u<=127277||127280<=u&&u<=127337||127344<=u&&u<=127386||917760<=u&&u<=917999||983040<=u&&u<=1048573||1048576<=u&&u<=1114109?"A":"N"},t.characterLength=function(r){var s=this.eastAsianWidth(r);return s=="F"||s=="W"||s=="A"?2:1};function D(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}t.length=function(r){for(var s=D(r),i=0,u=0;u<s.length;u++)i=i+this.characterLength(s[u]);return i},t.slice=function(r,s,i){textLen=t.length(r),s=s||0,i=i||1,s<0&&(s=textLen+s),i<0&&(i=textLen+i);for(var u="",n=0,c=D(r),a=0;a<c.length;a++){var p=c[a],l=t.length(p);if(n>=s-(l==2?1:0))if(n+l<=i)u+=p;else break;n+=l}return u}})(rD);var sD=xu,iD=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g};function K(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=Se(e),e.length===0))return 0;e=e.replace(iD()," ");let D=t.ambiguousIsNarrow?1:2,r=0;for(let s of e){let i=s.codePointAt(0);if(!(i<=31||i>=127&&i<=159||i>=768&&i<=879))switch(sD.eastAsianWidth(s)){case"F":case"W":r+=2;break;case"A":r+=D;break;default:r+=1}}return r}var vu=10,Be=(e=0)=>t=>`\x1B[${t+e}m`,ye=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,we=(e=0)=>(t,D,r)=>`\x1B[${38+e};2;${t};${D};${r}m`,E={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(E.modifier);var nD=Object.keys(E.color),oD=Object.keys(E.bgColor);[...nD,...oD];function aD(){let e=new Map;for(let[t,D]of Object.entries(E)){for(let[r,s]of Object.entries(D))E[r]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},D[r]=E[r],e.set(s[0],s[1]);Object.defineProperty(E,t,{value:D,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=Be(),E.color.ansi256=ye(),E.color.ansi16m=we(),E.bgColor.ansi=Be(vu),E.bgColor.ansi256=ye(vu),E.bgColor.ansi16m=we(vu),Object.defineProperties(E,{rgbToAnsi256:{value:(t,D,r)=>t===D&&D===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(D/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:t=>{let D=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!D)return[0,0,0];let[r]=D;r.length===3&&(r=[...r].map(i=>i+i).join(""));let s=Number.parseInt(r,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:t=>E.rgbToAnsi256(...E.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let D,r,s;if(t>=232)D=((t-232)*10+8)/255,r=D,s=D;else{t-=16;let n=t%36;D=Math.floor(t/36)/5,r=Math.floor(n/6)/5,s=n%6/5}let i=Math.max(D,r,s)*2;if(i===0)return 30;let u=30+(Math.round(s)<<2|Math.round(r)<<1|Math.round(D));return i===2&&(u+=60),u},enumerable:!1},rgbToAnsi:{value:(t,D,r)=>E.ansi256ToAnsi(E.rgbToAnsi256(t,D,r)),enumerable:!1},hexToAnsi:{value:t=>E.ansi256ToAnsi(E.hexToAnsi256(t)),enumerable:!1}}),E}var cD=aD(),cu=new Set(["\x1B","\x9B"]),lD=39,ku="\x07",je="[",pD="]",Ie="m",Su=`${pD}8;;`,ve=e=>`${cu.values().next().value}${je}${e}${Ie}`,Ae=e=>`${cu.values().next().value}${Su}${e}${ku}`,FD=e=>e.split(" ").map(t=>K(t)),Au=(e,t,D)=>{let r=[...t],s=!1,i=!1,u=K(Se(e[e.length-1]));for(let[n,c]of r.entries()){let a=K(c);if(u+a<=D?e[e.length-1]+=c:(e.push(c),u=0),cu.has(c)&&(s=!0,i=r.slice(n+1).join("").startsWith(Su)),s){i?c===ku&&(s=!1,i=!1):c===Ie&&(s=!1);continue}u+=a,u===D&&n<r.length-1&&(e.push(""),u=0)}!u&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},CD=e=>{let t=e.split(" "),D=t.length;for(;D>0&&!(K(t[D-1])>0);)D--;return D===t.length?e:t.slice(0,D).join(" ")+t.slice(D).join("")},hD=(e,t,D={})=>{if(D.trim!==!1&&e.trim()==="")return"";let r="",s,i,u=FD(e),n=[""];for(let[a,p]of e.split(" ").entries()){D.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let l=K(n[n.length-1]);if(a!==0&&(l>=t&&(D.wordWrap===!1||D.trim===!1)&&(n.push(""),l=0),(l>0||D.trim===!1)&&(n[n.length-1]+=" ",l++)),D.hard&&u[a]>t){let F=t-l,C=1+Math.floor((u[a]-F-1)/t);Math.floor((u[a]-1)/t)<C&&n.push(""),Au(n,p,t);continue}if(l+u[a]>t&&l>0&&u[a]>0){if(D.wordWrap===!1&&l<t){Au(n,p,t);continue}n.push("")}if(l+u[a]>t&&D.wordWrap===!1){Au(n,p,t);continue}n[n.length-1]+=p}D.trim!==!1&&(n=n.map(a=>CD(a)));let c=[...n.join(`
9
+ `)];for(let[a,p]of c.entries()){if(r+=p,cu.has(p)){let{groups:F}=new RegExp(`(?:\\${je}(?<code>\\d+)m|\\${Su}(?<uri>.*)${ku})`).exec(c.slice(a).join(""))||{groups:{}};if(F.code!==void 0){let C=Number.parseFloat(F.code);s=C===lD?void 0:C}else F.uri!==void 0&&(i=F.uri.length===0?void 0:F.uri)}let l=cD.codes.get(Number(s));c[a+1]===`
10
10
  `?(i&&(r+=Ae("")),s&&l&&(r+=ve(l))):p===`
11
11
  `&&(s&&l&&(r+=ve(s)),i&&(r+=Ae(i)))}return r};function be(e,t,D){return String(e).normalize().replace(/\r\n/g,`
12
12
  `).split(`
13
- `).map(r=>CD(r,t,D)).join(`
14
- `)}function hD(e,t){if(e===t)return;let D=e.split(`
13
+ `).map(r=>hD(r,t,D)).join(`
14
+ `)}function mD(e,t){if(e===t)return;let D=e.split(`
15
15
  `),r=t.split(`
16
- `),s=[];for(let i=0;i<Math.max(D.length,r.length);i++)D[i]!==r[i]&&s.push(i);return s}var Oe=Symbol("clack:cancel");function R(e){return e===Oe}function su(e,t){e.isTTY&&e.setRawMode(t)}var xe=new Map([["k","up"],["j","down"],["h","left"],["l","right"]]),mD=new Set(["up","down","left","right","space","enter"]),Y=class{constructor({render:t,input:D=W.stdin,output:r=W.stdout,...s},i=!0){this._track=!1,this._cursor=0,this.state="initial",this.error="",this.subscribers=new Map,this._prevFrame="",this.opts=s,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=t.bind(this),this._track=i,this.input=D,this.output=r}prompt(){let t=new ke.WriteStream(0);return t._write=(D,r,s)=>{this._track&&(this.value=this.rl.line.replace(/\t/g,""),this._cursor=this.rl.cursor,this.emit("value",this.value)),s()},this.input.pipe(t),this.rl=bu.default.createInterface({input:this.input,output:t,tabSize:2,prompt:"",escapeCodeTimeout:50}),bu.default.emitKeypressEvents(this.input,this.rl),this.rl.prompt(),this.opts.initialValue!==void 0&&this._track&&this.rl.write(this.opts.initialValue),this.input.on("keypress",this.onKeypress),su(this.input,!0),this.output.on("resize",this.render),this.render(),new Promise((D,r)=>{this.once("submit",()=>{this.output.write(v.cursor.show),this.output.off("resize",this.render),su(this.input,!1),D(this.value)}),this.once("cancel",()=>{this.output.write(v.cursor.show),this.output.off("resize",this.render),su(this.input,!1),D(Oe)})})}on(t,D){let r=this.subscribers.get(t)??[];r.push({cb:D}),this.subscribers.set(t,r)}once(t,D){let r=this.subscribers.get(t)??[];r.push({cb:D,once:!0}),this.subscribers.set(t,r)}emit(t,...D){let r=this.subscribers.get(t)??[],s=[];for(let i of r)i.cb(...D),i.once&&s.push(()=>r.splice(r.indexOf(i),1));for(let i of s)i()}unsubscribe(){this.subscribers.clear()}onKeypress(t,D){if(this.state==="error"&&(this.state="active"),D!=null&&D.name&&!this._track&&xe.has(D.name)&&this.emit("cursor",xe.get(D.name)),D!=null&&D.name&&mD.has(D.name)&&this.emit("cursor",D.name),t&&(t.toLowerCase()==="y"||t.toLowerCase()==="n")&&this.emit("confirm",t.toLowerCase()==="y"),t&&this.emit("key",t.toLowerCase()),(D==null?void 0:D.name)==="return"){if(this.opts.validate){let r=this.opts.validate(this.value);r&&(this.error=r,this.state="error",this.rl.write(this.value))}this.state!=="error"&&(this.state="submit")}t===""&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
16
+ `),s=[];for(let i=0;i<Math.max(D.length,r.length);i++)D[i]!==r[i]&&s.push(i);return s}var Oe=Symbol("clack:cancel");function R(e){return e===Oe}function su(e,t){e.isTTY&&e.setRawMode(t)}var xe=new Map([["k","up"],["j","down"],["h","left"],["l","right"]]),ED=new Set(["up","down","left","right","space","enter"]),Y=class{constructor({render:t,input:D=W.stdin,output:r=W.stdout,...s},i=!0){this._track=!1,this._cursor=0,this.state="initial",this.error="",this.subscribers=new Map,this._prevFrame="",this.opts=s,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=t.bind(this),this._track=i,this.input=D,this.output=r}prompt(){let t=new ke.WriteStream(0);return t._write=(D,r,s)=>{this._track&&(this.value=this.rl.line.replace(/\t/g,""),this._cursor=this.rl.cursor,this.emit("value",this.value)),s()},this.input.pipe(t),this.rl=bu.default.createInterface({input:this.input,output:t,tabSize:2,prompt:"",escapeCodeTimeout:50}),bu.default.emitKeypressEvents(this.input,this.rl),this.rl.prompt(),this.opts.initialValue!==void 0&&this._track&&this.rl.write(this.opts.initialValue),this.input.on("keypress",this.onKeypress),su(this.input,!0),this.output.on("resize",this.render),this.render(),new Promise((D,r)=>{this.once("submit",()=>{this.output.write(v.cursor.show),this.output.off("resize",this.render),su(this.input,!1),D(this.value)}),this.once("cancel",()=>{this.output.write(v.cursor.show),this.output.off("resize",this.render),su(this.input,!1),D(Oe)})})}on(t,D){let r=this.subscribers.get(t)??[];r.push({cb:D}),this.subscribers.set(t,r)}once(t,D){let r=this.subscribers.get(t)??[];r.push({cb:D,once:!0}),this.subscribers.set(t,r)}emit(t,...D){let r=this.subscribers.get(t)??[],s=[];for(let i of r)i.cb(...D),i.once&&s.push(()=>r.splice(r.indexOf(i),1));for(let i of s)i()}unsubscribe(){this.subscribers.clear()}onKeypress(t,D){if(this.state==="error"&&(this.state="active"),D!=null&&D.name&&!this._track&&xe.has(D.name)&&this.emit("cursor",xe.get(D.name)),D!=null&&D.name&&ED.has(D.name)&&this.emit("cursor",D.name),t&&(t.toLowerCase()==="y"||t.toLowerCase()==="n")&&this.emit("confirm",t.toLowerCase()==="y"),t&&this.emit("key",t.toLowerCase()),(D==null?void 0:D.name)==="return"){if(this.opts.validate){let r=this.opts.validate(this.value);r&&(this.error=r,this.state="error",this.rl.write(this.value))}this.state!=="error"&&(this.state="submit")}t===""&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
17
17
  `),su(this.input,!1),this.rl.close(),this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let t=be(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
18
- `).length-1;this.output.write(v.cursor.move(-999,t*-1))}render(){let t=be(this._render(this)??"",process.stdout.columns,{hard:!0});if(t!==this._prevFrame){if(this.state==="initial")this.output.write(v.cursor.hide);else{let D=hD(this._prevFrame,t);if(this.restoreCursor(),D&&(D==null?void 0:D.length)===1){let r=D[0];this.output.write(v.cursor.move(0,r)),this.output.write(v.erase.lines(1));let s=t.split(`
18
+ `).length-1;this.output.write(v.cursor.move(-999,t*-1))}render(){let t=be(this._render(this)??"",process.stdout.columns,{hard:!0});if(t!==this._prevFrame){if(this.state==="initial")this.output.write(v.cursor.hide);else{let D=mD(this._prevFrame,t);if(this.restoreCursor(),D&&(D==null?void 0:D.length)===1){let r=D[0];this.output.write(v.cursor.move(0,r)),this.output.write(v.erase.lines(1));let s=t.split(`
19
19
  `);this.output.write(s[r]),this._prevFrame=t,this.output.write(v.cursor.move(0,s.length-r-1));return}else if(D&&(D==null?void 0:D.length)>1){let r=D[0];this.output.write(v.cursor.move(0,r)),this.output.write(v.erase.down());let s=t.split(`
20
20
  `).slice(r);this.output.write(s.join(`
21
- `)),this._prevFrame=t;return}this.output.write(v.erase.down())}this.output.write(t),this.state==="initial"&&(this.state="active"),this._prevFrame=t}}},nu=class extends Y{get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(t){super(t,!1),this.value=!!t.initialValue,this.on("value",()=>{this.value=this._value}),this.on("confirm",D=>{this.output.write(v.cursor.move(0,-1)),this.value=D,this.state="submit",this.close()}),this.on("cursor",()=>{this.value=!this.value})}};var ou=class extends Y{constructor(t){super(t,!1),this.cursor=0,this.options=t.options,this.cursor=this.options.findIndex(({value:D})=>D===t.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",D=>{switch(D){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break}this.changeValue()})}get _value(){return this.options[this.cursor]}changeValue(){this.value=this._value.value}};var au=class extends Y{constructor(t){super(t),this.valueWithCursor="",this.on("finalize",()=>{this.value||(this.value=t.defaultValue),this.valueWithCursor=this.value}),this.on("value",()=>{if(this.cursor>=this.value.length)this.valueWithCursor=`${this.value}${iu.default.inverse(iu.default.hidden("_"))}`;else{let D=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.valueWithCursor=`${D}${iu.default.inverse(r[0])}${r.slice(1)}`}})}get cursor(){return this._cursor}};function _e({input:e=W.stdin,output:t=W.stdout,overwrite:D=!0,hideCursor:r=!0}={}){let s=_.createInterface({input:e,output:t,prompt:"",tabSize:1});_.emitKeypressEvents(e,s),e.isTTY&&e.setRawMode(!0);let i=(u,{name:n})=>{if(String(u)===""&&process.exit(0),!D)return;_.moveCursor(t,n==="return"?0:-1,n==="return"?-1:0,()=>{_.clearLine(t,1,()=>{e.once("keypress",i)})})};return r&&process.stdout.write(v.cursor.hide),e.once("keypress",i),()=>{e.off("keypress",i),r&&process.stdout.write(v.cursor.show),s.terminal=!1,s.close()}}var S=B(require("process"),1),o=B(wu(),1),H=B(Bu(),1);function ED(){return S.default.platform!=="win32"?S.default.env.TERM!=="linux":Boolean(S.default.env.CI)||Boolean(S.default.env.WT_SESSION)||Boolean(S.default.env.TERMINUS_SUBLIME)||S.default.env.ConEmuTask==="{cmd::Cmder}"||S.default.env.TERM_PROGRAM==="Terminus-Sublime"||S.default.env.TERM_PROGRAM==="vscode"||S.default.env.TERM==="xterm-256color"||S.default.env.TERM==="alacritty"||S.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var _u=ED(),$=(e,t)=>_u?e:t,dD=$("\u25C6","*"),gD=$("\u25A0","x"),fD=$("\u25B2","x"),Tu=$("\u25C7","o"),$D=$("\u250C","T"),g=$("\u2502","|"),L=$("\u2514","\u2014"),Iu=$("\u25CF",">"),Ou=$("\u25CB"," "),_r=$("\u25FB","[\u2022]"),Tr=$("\u25FC","[+]"),Pr=$("\u25FB","[ ]"),Rr=$("\u25AA","\u2022"),Mr=$("\u2500","-"),Nr=$("\u256E","+"),qr=$("\u251C","+"),Wr=$("\u256F","+"),BD=$("\u25CF","\u2022"),yD=$("\u25C6","*"),wD=$("\u25B2","!"),vD=$("\u25A0","x"),Pu=e=>{switch(e){case"initial":case"active":return o.default.cyan(dD);case"cancel":return o.default.red(gD);case"error":return o.default.yellow(fD);case"submit":return o.default.green(Tu)}},Te=e=>new au({validate:e.validate,placeholder:e.placeholder,defaultValue:e.defaultValue,initialValue:e.initialValue,render(){var s;let t=`${o.default.gray(g)}
21
+ `)),this._prevFrame=t;return}this.output.write(v.erase.down())}this.output.write(t),this.state==="initial"&&(this.state="active"),this._prevFrame=t}}},nu=class extends Y{get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(t){super(t,!1),this.value=!!t.initialValue,this.on("value",()=>{this.value=this._value}),this.on("confirm",D=>{this.output.write(v.cursor.move(0,-1)),this.value=D,this.state="submit",this.close()}),this.on("cursor",()=>{this.value=!this.value})}};var ou=class extends Y{constructor(t){super(t,!1),this.cursor=0,this.options=t.options,this.cursor=this.options.findIndex(({value:D})=>D===t.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",D=>{switch(D){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break}this.changeValue()})}get _value(){return this.options[this.cursor]}changeValue(){this.value=this._value.value}};var au=class extends Y{constructor(t){super(t),this.valueWithCursor="",this.on("finalize",()=>{this.value||(this.value=t.defaultValue),this.valueWithCursor=this.value}),this.on("value",()=>{if(this.cursor>=this.value.length)this.valueWithCursor=`${this.value}${iu.default.inverse(iu.default.hidden("_"))}`;else{let D=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.valueWithCursor=`${D}${iu.default.inverse(r[0])}${r.slice(1)}`}})}get cursor(){return this._cursor}};function _e({input:e=W.stdin,output:t=W.stdout,overwrite:D=!0,hideCursor:r=!0}={}){let s=T.createInterface({input:e,output:t,prompt:"",tabSize:1});T.emitKeypressEvents(e,s),e.isTTY&&e.setRawMode(!0);let i=(u,{name:n})=>{if(String(u)===""&&process.exit(0),!D)return;T.moveCursor(t,n==="return"?0:-1,n==="return"?-1:0,()=>{T.clearLine(t,1,()=>{e.once("keypress",i)})})};return r&&process.stdout.write(v.cursor.hide),e.once("keypress",i),()=>{e.off("keypress",i),r&&process.stdout.write(v.cursor.show),s.terminal=!1,s.close()}}var S=B(require("process"),1),o=B(wu(),1),H=B(Bu(),1);function dD(){return S.default.platform!=="win32"?S.default.env.TERM!=="linux":Boolean(S.default.env.CI)||Boolean(S.default.env.WT_SESSION)||Boolean(S.default.env.TERMINUS_SUBLIME)||S.default.env.ConEmuTask==="{cmd::Cmder}"||S.default.env.TERM_PROGRAM==="Terminus-Sublime"||S.default.env.TERM_PROGRAM==="vscode"||S.default.env.TERM==="xterm-256color"||S.default.env.TERM==="alacritty"||S.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var _u=dD(),$=(e,t)=>_u?e:t,gD=$("\u25C6","*"),fD=$("\u25A0","x"),$D=$("\u25B2","x"),Tu=$("\u25C7","o"),BD=$("\u250C","T"),g=$("\u2502","|"),L=$("\u2514","\u2014"),Iu=$("\u25CF",">"),Ou=$("\u25CB"," "),Tr=$("\u25FB","[\u2022]"),Pr=$("\u25FC","[+]"),Rr=$("\u25FB","[ ]"),Mr=$("\u25AA","\u2022"),Nr=$("\u2500","-"),qr=$("\u256E","+"),Wr=$("\u251C","+"),Lr=$("\u256F","+"),yD=$("\u25CF","\u2022"),wD=$("\u25C6","*"),vD=$("\u25B2","!"),AD=$("\u25A0","x"),Pu=e=>{switch(e){case"initial":case"active":return o.default.cyan(gD);case"cancel":return o.default.red(fD);case"error":return o.default.yellow($D);case"submit":return o.default.green(Tu)}},Te=e=>new au({validate:e.validate,placeholder:e.placeholder,defaultValue:e.defaultValue,initialValue:e.initialValue,render(){var s;let t=`${o.default.gray(g)}
22
22
  ${Pu(this.state)} ${e.message}
23
23
  `,D=e.placeholder?o.default.inverse(e.placeholder[0])+o.default.dim(e.placeholder.slice(1)):o.default.inverse(o.default.hidden("_")),r=this.value?this.valueWithCursor:D;switch(this.state){case"error":return`${t.trim()}
24
24
  ${o.default.yellow(g)} ${r}
@@ -39,14 +39,14 @@ ${o.default.cyan(g)} `)}
39
39
  ${o.default.cyan(L)}
40
40
  `}}}).prompt()};var Z=(e="")=>{process.stdout.write(`${o.default.gray(L)} ${o.default.red(e)}
41
41
 
42
- `)},Pe=(e="")=>{process.stdout.write(`${o.default.gray($D)} ${e}
42
+ `)},Pe=(e="")=>{process.stdout.write(`${o.default.gray(BD)} ${e}
43
43
  `)},Nu=(e="")=>{process.stdout.write(`${o.default.gray(g)}
44
44
  ${o.default.gray(L)} ${e}
45
45
 
46
46
  `)},A={message:(e="",{symbol:t=o.default.gray(g)}={})=>{let D=[`${o.default.gray(g)}`];if(e){let[r,...s]=e.split(`
47
47
  `);D.push(`${t} ${r}`,...s.map(i=>`${o.default.gray(g)} ${i}`))}process.stdout.write(`${D.join(`
48
48
  `)}
49
- `)},info:e=>{A.message(e,{symbol:o.default.blue(BD)})},success:e=>{A.message(e,{symbol:o.default.green(yD)})},step:e=>{A.message(e,{symbol:o.default.green(Tu)})},warn:e=>{A.message(e,{symbol:o.default.yellow(wD)})},warning:e=>{A.warn(e)},error:e=>{A.message(e,{symbol:o.default.red(vD)})}},ju=_u?["\u25D2","\u25D0","\u25D3","\u25D1"]:["\u2022","o","O","0"],lu=()=>{let e,t,D=_u?80:120;return{start(r=""){r=r.replace(/\.?\.?\.$/,""),e=_e(),process.stdout.write(`${o.default.gray(g)}
49
+ `)},info:e=>{A.message(e,{symbol:o.default.blue(yD)})},success:e=>{A.message(e,{symbol:o.default.green(wD)})},step:e=>{A.message(e,{symbol:o.default.green(Tu)})},warn:e=>{A.message(e,{symbol:o.default.yellow(vD)})},warning:e=>{A.warn(e)},error:e=>{A.message(e,{symbol:o.default.red(AD)})}},ju=_u?["\u25D2","\u25D0","\u25D3","\u25D1"]:["\u2022","o","O","0"],lu=()=>{let e,t,D=_u?80:120;return{start(r=""){r=r.replace(/\.?\.?\.$/,""),e=_e(),process.stdout.write(`${o.default.gray(g)}
50
50
  ${o.default.magenta("\u25CB")} ${r}
51
51
  `);let s=0,i=0;t=setInterval(()=>{let u=ju[s];process.stdout.write(H.cursor.move(-999,-1)),process.stdout.write(`${o.default.magenta(u)} ${r}${Math.floor(i)>=1?".".repeat(Math.floor(i)).slice(0,3):""}
52
52
  `),s=s===ju.length-1?0:s+1,i=i===ju.length?0:i+.125},D)},stop(r=""){process.stdout.write(H.cursor.move(-999,-2)),process.stdout.write(H.erase.down(2)),clearInterval(t),process.stdout.write(`${o.default.gray(g)}
@@ -68,7 +68,7 @@ ${o.default.green(Tu)} ${r}
68
68
  ..::::::::::::
69
69
  ...::::
70
70
  `),`
71
- `)}function XD(){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-nq-uy=><~]))"].join("|");return new RegExp(e,"g")}var Yu="\u2502",bt=e=>e.replace(XD(),""),Pt=(e="",t="")=>{let D=`
71
+ `)}function ur(){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-nq-uy=><~]))"].join("|");return new RegExp(e,"g")}var Yu="\u2502",bt=e=>e.replace(ur(),""),Pt=(e="",t="")=>{let D=`
72
72
  ${e}
73
73
  `.split(`
74
74
  `),r=D.reduce((i,u)=>(u=bt(u),u.length>i?u.length:i),0)+2,s=D.map(i=>`${q(Yu)} ${Ee(i)}${" ".repeat(r-bt(i).length)}${q(Yu)}`).join(`
@@ -77,18 +77,18 @@ ${Ce("\u25CB")} ${pe(t)} ${q("\u2500".repeat(r-t.length-1)+"\u256E")}
77
77
  ${s}
78
78
  ${q("\u251C"+"\u2500".repeat(r+2)+"\u256F")}
79
79
  `)};var Fu=B(require("fs"),1),Cu=require("path");var Qu=null;async function U(){if(!Qu){let e=[],t=["app","feature","adapter"],D=(0,Cu.join)(__dirname,"starters"),r=await Fu.default.promises.readdir(D);await Promise.all(r.map(async s=>{let i=s.slice(0,s.length-1);if(t.includes(i)){let u=(0,Cu.join)(D,s),n=await Fu.default.promises.readdir(u);await Promise.all(n.map(async c=>{var l,F,C;let a=(0,Cu.join)(u,c);if((await Fu.default.promises.stat(a)).isDirectory()){let y=await St(a),P={id:c,name:((l=y.__qwik__)==null?void 0:l.displayName)??_t(c),type:i,dir:a,pkgJson:y,docs:((F=y.__qwik__)==null?void 0:F.docs)??[],priority:((C=y==null?void 0:y.__qwik__)==null?void 0:C.priority)??0};e.push(P)}}))}})),e.sort((s,i)=>s.priority>i.priority?-1:s.priority<i.priority?1:s.id<i.id?-1:1),Qu=e}return Qu}function Rt(e){let t=[];return e.length>0&&(t.push(`\u{1F4C4} ${k("Relevant docs:")}`),e.forEach(D=>{t.push(` ${D}`)})),t.push(""),t.push(`\u{1F4AC} ${k("Questions? Start the conversation at:")}`),t.push(" https://qwik.builder.io/chat"),t.push(" https://twitter.com/QwikDev"),t.push(""),t.join(`
80
- `)}var qt=require("path"),ee=B(require("fs"),1);var N=B(require("fs"),1),Mt=B(require("os"),1),j=B(require("path"),1);function Xu(e,t){return z(e,["install"],t)}function Nt(e,t){let{tmpInstallDir:D}=ur(t),{install:r,abort:s}=Xu(e,D);return{abort:s,complete:async(u,n)=>{let c=!1;if(u)try{if(await r){let p=j.default.join(D,"node_modules"),l=j.default.join(n,"node_modules");await N.default.promises.rename(p,l);try{await N.default.promises.rename(j.default.join(D,"package-lock.json"),j.default.join(n,"package-lock.json"))}catch{}try{await N.default.promises.rename(j.default.join(D,"yarn.lock"),j.default.join(n,"yarn.lock"))}catch{}try{await N.default.promises.rename(j.default.join(D,"pnpm-lock.yaml"),j.default.join(n,"pnpm-lock.yaml"))}catch{}c=!0}else{let p=`${Du(` ${e} install failed `)}
80
+ `)}var qt=require("path"),ee=B(require("fs"),1);var N=B(require("fs"),1),Mt=B(require("os"),1),j=B(require("path"),1);function Xu(e,t){return z(e,["install"],t)}function Nt(e,t){let{tmpInstallDir:D}=er(t),{install:r,abort:s}=Xu(e,D);return{abort:s,complete:async(u,n)=>{let c=!1;if(u)try{if(await r){let p=j.default.join(D,"node_modules"),l=j.default.join(n,"node_modules");await N.default.promises.rename(p,l);try{await N.default.promises.rename(j.default.join(D,"package-lock.json"),j.default.join(n,"package-lock.json"))}catch{}try{await N.default.promises.rename(j.default.join(D,"yarn.lock"),j.default.join(n,"yarn.lock"))}catch{}try{await N.default.promises.rename(j.default.join(D,"pnpm-lock.yaml"),j.default.join(n,"pnpm-lock.yaml"))}catch{}c=!0}else{let p=`${Du(` ${e} install failed `)}
81
81
  You might need to run ${k(`"${e} install"`)} manually inside the root of the project.
82
82
 
83
- `;A.error(p)}}catch{}else await s();return c}}}function ur(e){let t="create-qwik-"+Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36).toLowerCase(),D=j.default.join(Mt.default.tmpdir(),t);try{N.default.mkdirSync(D)}catch(i){A.error(`\u274C ${O(String(i))}`)}let r=j.default.join(e.dir,"package.json"),s=j.default.join(D,"package.json");return N.default.copyFileSync(r,s),{tmpInstallDir:D}}var b=B(require("fs"),1),Q=require("path");async function ue(e,t,D,r){let s=await b.default.promises.readdir(D);await Promise.all(s.map(async i=>{let u=i==="gitignore"?".gitignore":i,n=(0,Q.extname)(u),c=(0,Q.join)(D,i),a=(0,Q.join)(r,u),p=await b.default.promises.stat(c);p.isDirectory()?await ue(e,t,c,a):p.isFile()&&(u==="package.json"?await er(e,c,a):u==="README.md"?await Dr(e,c,a):u===".gitignore"?await rr(e,c,a):n===".css"?await sr(e,c,a):b.default.existsSync(a)?e.files.push({path:a,content:await b.default.promises.readFile(c,"utf-8"),type:"overwrite"}):e.files.push({path:a,content:await b.default.promises.readFile(c),type:"create"}))}))}async function er(e,t,D){var u;let r=await b.default.promises.readFile(t,"utf-8"),s=JSON.parse(r),i=["scripts","dependencies","devDependencies"];try{let n=JSON.parse(await b.default.promises.readFile(D,"utf-8"));if(i.forEach(c=>{tr(s,n,c)}),(u=n.scripts)!=null&&u.qwik){let c=n.scripts.qwik;delete n.scripts.qwik,n.scripts.qwik=c}e.files.push({path:D,content:JSON.stringify(n,null,2)+`
84
- `,type:"modify"})}catch{e.files.push({path:D,content:r,type:"create"})}}function tr(e,t,D){if(e[D]){t[D]?Object.assign(t[D],{...e[D]}):t[D]={...e[D]};let r={},s=Object.keys(t[D]).sort();for(let i of s)r[i]=t[D][i];t[D]=r}}async function Dr(e,t,D){let r=await b.default.promises.readFile(t,"utf-8"),s,i="";try{i=await b.default.promises.readFile(D,"utf-8"),i=i.trim()+`
83
+ `;A.error(p)}}catch{}else await s();return c}}}function er(e){let t="create-qwik-"+Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36).toLowerCase(),D=j.default.join(Mt.default.tmpdir(),t);try{N.default.mkdirSync(D)}catch(i){A.error(`\u274C ${O(String(i))}`)}let r=j.default.join(e.dir,"package.json"),s=j.default.join(D,"package.json");return N.default.copyFileSync(r,s),{tmpInstallDir:D}}var b=B(require("fs"),1),Q=require("path");async function ue(e,t,D,r){let s=await b.default.promises.readdir(D);await Promise.all(s.map(async i=>{let u=i==="gitignore"?".gitignore":i,n=(0,Q.extname)(u),c=(0,Q.join)(D,i),a=(0,Q.join)(r,u),p=await b.default.promises.stat(c);p.isDirectory()?await ue(e,t,c,a):p.isFile()&&(u==="package.json"?await tr(e,c,a):u==="README.md"?await rr(e,c,a):u===".gitignore"?await sr(e,c,a):n===".css"?await ir(e,c,a):b.default.existsSync(a)?e.files.push({path:a,content:await b.default.promises.readFile(c,"utf-8"),type:"overwrite"}):e.files.push({path:a,content:await b.default.promises.readFile(c),type:"create"}))}))}async function tr(e,t,D){var u;let r=await b.default.promises.readFile(t,"utf-8"),s=JSON.parse(r),i=["scripts","dependencies","devDependencies"];try{let n=JSON.parse(await b.default.promises.readFile(D,"utf-8"));if(i.forEach(c=>{Dr(s,n,c)}),(u=n.scripts)!=null&&u.qwik){let c=n.scripts.qwik;delete n.scripts.qwik,n.scripts.qwik=c}e.files.push({path:D,content:JSON.stringify(n,null,2)+`
84
+ `,type:"modify"})}catch{e.files.push({path:D,content:r,type:"create"})}}function Dr(e,t,D){if(e[D]){t[D]?Object.assign(t[D],{...e[D]}):t[D]={...e[D]};let r={},s=Object.keys(t[D]).sort();for(let i of s)r[i]=t[D][i];t[D]=r}}async function rr(e,t,D){let r=await b.default.promises.readFile(t,"utf-8"),s,i="";try{i=await b.default.promises.readFile(D,"utf-8"),i=i.trim()+`
85
85
 
86
86
  `+r,s="modify"}catch{i=r,s="create"}let u=M();u!=="npm"&&(i=i.replace(/npm run/g,u)),e.files.push({path:D,content:i.trim()+`
87
- `,type:s})}async function rr(e,t,D){let r=await b.default.promises.readFile(t,"utf-8");try{let s=await b.default.promises.readFile(D,"utf-8"),i=r.trim().split(/\r?\n/),u=s.trim().split(/\r?\n/);for(let n of i)u.includes(n)||(n.startsWith("#")&&u.push(""),u.push(n));e.files.push({path:D,content:u.join(`
87
+ `,type:s})}async function sr(e,t,D){let r=await b.default.promises.readFile(t,"utf-8");try{let s=await b.default.promises.readFile(D,"utf-8"),i=r.trim().split(/\r?\n/),u=s.trim().split(/\r?\n/);for(let n of i)u.includes(n)||(n.startsWith("#")&&u.push(""),u.push(n));e.files.push({path:D,content:u.join(`
88
88
  `).trim()+`
89
- `,type:"modify"})}catch{e.files.push({path:D,content:r,type:"create"})}}async function sr(e,t,D){let r=await b.default.promises.readFile(t,"utf-8");try{let s=await b.default.promises.readFile(D,"utf-8"),i=r.trim()+`
89
+ `,type:"modify"})}catch{e.files.push({path:D,content:r,type:"create"})}}async function ir(e,t,D){let r=await b.default.promises.readFile(t,"utf-8");try{let s=await b.default.promises.readFile(D,"utf-8"),i=r.trim()+`
90
90
 
91
91
  `+s.trim()+`
92
92
  `;e.files.push({path:D,content:i,type:"modify"})}catch{e.files.push({path:D,content:r,type:"create"})}}async function te(e,t){let r=(await U()).find(n=>n.id===t.integration);if(!r)throw new Error(`Unable to find integration "${t.integration}"`);let s={files:[],installedDeps:{}};t.installDeps&&(s.installedDeps={...r.pkgJson.dependencies,...r.pkgJson.devDependencies}),await ue(s,t,r.dir,t.rootDir);let i=async n=>{let c=Object.keys(s.installedDeps).length>0,a=lu();n&&a.start(`Updating app${c?" and installing dependencies":""}...`);let p=!0;try{let l=new Set(s.files.map(C=>(0,qt.dirname)(C.path)));for(let C of Array.from(l))try{ee.default.mkdirSync(C,{recursive:!0})}catch{}let F=Promise.all(s.files.map(async C=>{await ee.default.promises.writeFile(C.path,C.content)}));if(t.installDeps&&Object.keys(s.installedDeps).length>0){let{install:C}=Xu(e,t.rootDir);p=await C}if(await F,n&&a.stop("App updated"),!p){let C=`${Du(` ${e} install failed `)}
93
- You might need to run "${k(`${e} install`)}" manually inside the root of the project.`;A.error(C)}}catch(l){n&&a.stop("App updated"),G(String(l))}};return{rootDir:t.rootDir,integration:r,updates:s,commit:i}}async function De(e,t){ir()?t=process.cwd():(t=se(t),X.default.existsSync(t)&&G(`Directory "${t}" already exists. Please either remove this directory, or choose another location.`));let D=M(),s=await uu({starterId:e,outDir:t});return re(D,s,!1),s}function re(e,t,D){let r=process.cwd()===t.outDir,s=(0,T.relative)(process.cwd(),t.outDir),i=[];r?i.push(`\u{1F984} ${ru(" Success! ")}`):i.push(`\u{1F984} ${ru(" Success! ")} ${k("Project created in")} ${Fe(x(s))} ${k("directory")}`),i.push(""),i.push(`\u{1F430} ${k("Next steps:")}`),r||i.push(` cd ${s}`),D||i.push(` ${e} install`),i.push(` ${e} start`),i.push("");let u=e!=="npm"?`${e} qwik add`:"npm run qwik add";return i.push(`\u{1F90D} ${k("Integrations? Add Netlify, Cloudflare, Tailwind...")}`),i.push(` ${u}`),i.push(""),i.push(Rt(t.docs)),i.push(`\u{1F440} ${k("Presentations, Podcasts and Videos:")}`),i.push(" https://qwik.builder.io/media/"),i.push(""),i.join(`
94
- `)}async function uu(e){let t=M();if(!Lt(e.starterId))throw new Error("Missing starter id");if(!Lt(e.outDir))throw new Error("Missing outDir");if(!(0,T.isAbsolute)(e.outDir))throw new Error("outDir must be an absolute path");X.default.existsSync(e.outDir)||X.default.mkdirSync(decodeURIComponent(e.outDir),{recursive:!0});let D={starterId:e.starterId,outDir:e.outDir,docs:[]},r=(await U()).filter(i=>i.type==="app");if(e.starterId==="library"){let i=r.find(u=>u.id==="library");if(!i)throw new Error("Unable to find base app");await Wt(t,D,i)}else{let i=r.find(n=>n.id==="base");if(!i)throw new Error("Unable to find base app");let u=r.find(n=>n.id===e.starterId);if(!u)throw new Error(`Invalid starter id "${e.starterId}". It can only be one of${r.map(n=>` "${n.id}"`)}.`);await Wt(t,D,i,u)}return D}async function Wt(e,t,D,r){t.docs.push(...D.docs);let s=r??D,i=Ot({...D.pkgJson,name:`my-${s.pkgJson.name}`,description:s.pkgJson.description,scripts:void 0,dependencies:void 0,devDependencies:void 0});await jt(t.outDir,i);let u=(0,T.join)(t.outDir,"README.md");await X.default.promises.writeFile(u,""),await(await te(e,{rootDir:t.outDir,integration:D.id,installDeps:!1})).commit(!1),r&&(t.docs.push(...r.docs),await(await te(e,{rootDir:t.outDir,integration:r.id,installDeps:!1})).commit(!1))}function Lt(e){return typeof e=="string"&&e.trim().length>0}function se(e){return(0,T.resolve)(process.cwd(),e)}function ir(){return nr()}function nr(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var hu=B(require("fs")),mu=require("path");async function ie(){Pe(`Let's create a ${de(" Qwik App ")} \u2728 (v0.101.0)`),await It(500);let e="./qwik-app",t=await Te({message:"Where would you like to create your new project?",placeholder:e,validate(f){if(f.trim()==="."||f.trim()==="./")return"Please don't use '.' or './' and let qwik create the directory for you."}})||e;R(t)&&(Z("Operation cancelled."),process.exit(0));let D=M(),s=(await U()).filter(f=>f.type==="app"),i=s.find(f=>f.id==="base"),u=s.filter(f=>f.id!==i.id),n=Nt(D,i),c=se(t.trim()),a=null;if(hu.default.existsSync(c)){let f=await Mu({message:`Directory "./${(0,mu.relative)(process.cwd(),c)}" already exists. What would you like to do?`,options:[{value:"exit",label:"Do not overwrite this directory and exit"},{value:"replace",label:"Overwrite and replace this directory"}]});(R(f)||f==="exit")&&(Z("Operation cancelled."),process.exit(0)),f==="replace"&&(a=hu.default.promises.rm(c,{recursive:!0}))}let p=await Mu({message:"Select a starter",options:u.map(f=>{var eu;return{label:f.name,value:f.id,hint:(eu=f.pkgJson)==null?void 0:eu.description}})});R(p)&&(Z("Operation cancelled."),process.exit(0));let l=p,F=await Ru({message:`Would you like to install ${D} dependencies?`,initialValue:!0});R(F)&&(Z("Operation cancelled."),process.exit(0)),F===!1&&n.abort();let C=await Ru({message:"Initialize a new git repository?",initialValue:!0});a&&await a;let y=F,P={starterId:l,outDir:c},I=lu();I.start("Creating App...");let Eu=await uu(P);if(I.stop("Created App \u{1F430}"),C)if(hu.default.existsSync((0,mu.join)(c,".git")))A.info("Git has already been initialized before. Skipping...");else{I.start("Git initializing...");try{let f=[];if(f.push(await z("git",["init"],c).install),f.push(await z("git",["add","-A"],c).install),f.push(await z("git",["commit","-m","Initial commit \u26A1\uFE0F"],c).install),f.some(eu=>eu===!1))throw"";I.stop("Git initialized \u{1F3B2}")}catch{I.stop("Git failed to initialize"),A.error(O("Git failed to initialize. You can do this manually by running: git init"))}}let du=!1;return y&&(I.start("Installing dependencies"),du=await n.complete(y,Eu.outDir),I.stop(`${du?"Installed":"Failed to install"} dependencies \u{1F4CB}`)),Pt(re(D,Eu,du),"Result"),Nu("Happy coding! \u{1F407}"),Eu}async function or(){console.clear(),Tt(),ar();try{let e=process.argv.slice(2);e.length>=2?await De(e[0],e[1]):await ie()}catch(e){G(e.message||e)}}function ar(){let e=process.version,[t,D]=e.replace("v","").split(".");Number(t)<16?(console.error(O(`Qwik requires Node.js 16.8 or higher. You are currently running Node.js ${e}.`)),process.exit(1)):Number(t)===16?Number(D)<8&&console.warn(he(`Node.js 16.8 or higher is recommended. You are currently running Node.js ${e}.`)):Number(t)===18&&Number(D)<11&&console.error(O(`Node.js 18.11 or higher is REQUIRED. From Node 18.0.0 to 18.11.0, there is a bug preventing correct behaviour of Qwik. You are currently running Node.js ${e}. https://github.com/BuilderIO/qwik/issues/3035`))}0&&(module.exports={createApp,runCli,runCreateCli,runCreateInteractiveCli});
93
+ You might need to run "${k(`${e} install`)}" manually inside the root of the project.`;A.error(C)}}catch(l){n&&a.stop("App updated"),G(String(l))}};return{rootDir:t.rootDir,integration:r,updates:s,commit:i}}var Vt=B(require("os"));async function De(e,t){nr()?t=process.cwd():(t=se(t),X.default.existsSync(t)&&G(`Directory "${t}" already exists. Please either remove this directory, or choose another location.`));let D=M(),s=await uu({starterId:e,outDir:t});return re(D,s,!1),s}function re(e,t,D){let r=process.cwd()===t.outDir,s=(0,_.relative)(process.cwd(),t.outDir),i=[];r?i.push(`\u{1F984} ${ru(" Success! ")}`):i.push(`\u{1F984} ${ru(" Success! ")} ${k("Project created in")} ${Fe(x(s))} ${k("directory")}`),i.push(""),i.push(`\u{1F430} ${k("Next steps:")}`),r||i.push(` cd ${s}`),D||i.push(` ${e} install`),i.push(` ${e} start`),i.push("");let u=e!=="npm"?`${e} qwik add`:"npm run qwik add";return i.push(`\u{1F90D} ${k("Integrations? Add Netlify, Cloudflare, Tailwind...")}`),i.push(` ${u}`),i.push(""),i.push(Rt(t.docs)),i.push(`\u{1F440} ${k("Presentations, Podcasts and Videos:")}`),i.push(" https://qwik.builder.io/media/"),i.push(""),i.join(`
94
+ `)}async function uu(e){let t=M();if(!Lt(e.starterId))throw new Error("Missing starter id");if(!Lt(e.outDir))throw new Error("Missing outDir");if(!(0,_.isAbsolute)(e.outDir))throw new Error("outDir must be an absolute path");X.default.existsSync(e.outDir)||X.default.mkdirSync(decodeURIComponent(e.outDir),{recursive:!0});let D={starterId:e.starterId,outDir:e.outDir,docs:[]},r=(await U()).filter(i=>i.type==="app");if(e.starterId==="library"){let i=r.find(u=>u.id==="library");if(!i)throw new Error("Unable to find base app");await Wt(t,D,i)}else{let i=r.find(n=>n.id==="base");if(!i)throw new Error("Unable to find base app");let u=r.find(n=>n.id===e.starterId);if(!u)throw new Error(`Invalid starter id "${e.starterId}". It can only be one of${r.map(n=>` "${n.id}"`)}.`);await Wt(t,D,i,u)}return D}async function Wt(e,t,D,r){t.docs.push(...D.docs);let s=r??D,i=Ot({...D.pkgJson,name:`my-${s.pkgJson.name}`,description:s.pkgJson.description,scripts:void 0,dependencies:void 0,devDependencies:void 0});await jt(t.outDir,i);let u=(0,_.join)(t.outDir,"README.md");await X.default.promises.writeFile(u,""),await(await te(e,{rootDir:t.outDir,integration:D.id,installDeps:!1})).commit(!1),r&&(t.docs.push(...r.docs),await(await te(e,{rootDir:t.outDir,integration:r.id,installDeps:!1})).commit(!1))}function Lt(e){return typeof e=="string"&&e.trim().length>0}function se(e){return e.startsWith("~/")?(0,_.resolve)(Vt.default.homedir(),e):(0,_.resolve)(process.cwd(),e)}function nr(){return or()}function or(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var hu=B(require("fs")),mu=require("path");async function ie(){Pe(`Let's create a ${de(" Qwik App ")} \u2728 (v0.102.0)`),await It(500);let e="./qwik-app",t=await Te({message:"Where would you like to create your new project?",placeholder:e,validate(f){if(f.trim()==="."||f.trim()==="./")return"Please don't use '.' or './' and let qwik create the directory for you."}})||e;R(t)&&(Z("Operation cancelled."),process.exit(0));let D=M(),s=(await U()).filter(f=>f.type==="app"),i=s.find(f=>f.id==="base"),u=s.filter(f=>f.id!==i.id),n=Nt(D,i),c=se(t.trim()),a=null;if(hu.default.existsSync(c)){let f=await Mu({message:`Directory "./${(0,mu.relative)(process.cwd(),c)}" already exists. What would you like to do?`,options:[{value:"exit",label:"Do not overwrite this directory and exit"},{value:"replace",label:"Overwrite and replace this directory"}]});(R(f)||f==="exit")&&(Z("Operation cancelled."),process.exit(0)),f==="replace"&&(a=hu.default.promises.rm(c,{recursive:!0}))}let p=await Mu({message:"Select a starter",options:u.map(f=>{var eu;return{label:f.name,value:f.id,hint:(eu=f.pkgJson)==null?void 0:eu.description}})});R(p)&&(Z("Operation cancelled."),process.exit(0));let l=p,F=await Ru({message:`Would you like to install ${D} dependencies?`,initialValue:!0});R(F)&&(Z("Operation cancelled."),process.exit(0)),F===!1&&n.abort();let C=await Ru({message:"Initialize a new git repository?",initialValue:!0});a&&await a;let y=F,P={starterId:l,outDir:c},I=lu();I.start("Creating App...");let Eu=await uu(P);if(I.stop("Created App \u{1F430}"),C)if(hu.default.existsSync((0,mu.join)(c,".git")))A.info("Git has already been initialized before. Skipping...");else{I.start("Git initializing...");try{let f=[];if(f.push(await z("git",["init"],c).install),f.push(await z("git",["add","-A"],c).install),f.push(await z("git",["commit","-m","Initial commit \u26A1\uFE0F"],c).install),f.some(eu=>eu===!1))throw"";I.stop("Git initialized \u{1F3B2}")}catch{I.stop("Git failed to initialize"),A.error(O("Git failed to initialize. You can do this manually by running: git init"))}}let du=!1;return y&&(I.start("Installing dependencies"),du=await n.complete(y,Eu.outDir),I.stop(`${du?"Installed":"Failed to install"} dependencies \u{1F4CB}`)),Pt(re(D,Eu,du),"Result"),Nu("Happy coding! \u{1F407}"),Eu}async function ar(){console.clear(),Tt(),cr();try{let e=process.argv.slice(2);e.length>=2?await De(e[0],e[1]):await ie()}catch(e){G(e.message||e)}}function cr(){let e=process.version,[t,D]=e.replace("v","").split(".");Number(t)<16?(console.error(O(`Qwik requires Node.js 16.8 or higher. You are currently running Node.js ${e}.`)),process.exit(1)):Number(t)===16?Number(D)<8&&console.warn(he(`Node.js 16.8 or higher is recommended. You are currently running Node.js ${e}.`)):Number(t)===18&&Number(D)<11&&console.error(O(`Node.js 18.11 or higher is REQUIRED. From Node 18.0.0 to 18.11.0, there is a bug preventing correct behaviour of Qwik. You are currently running Node.js ${e}. https://github.com/BuilderIO/qwik/issues/3035`))}0&&(module.exports={createApp,runCli,runCreateCli,runCreateInteractiveCli});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-qwik",
3
- "version": "0.101.0",
3
+ "version": "0.102.0",
4
4
  "description": "Interactive CLI for create Qwik projects and adding features.",
5
5
  "bin": "./create-qwik.cjs",
6
6
  "main": "./index.cjs",
@@ -6,6 +6,7 @@
6
6
 
7
7
  # Development
8
8
  node_modules
9
+ *.local
9
10
 
10
11
  # Cache
11
12
  .cache
@@ -16,18 +16,18 @@
16
16
  "qwik": "qwik"
17
17
  },
18
18
  "devDependencies": {
19
- "@builder.io/qwik": "0.101.0",
20
- "@builder.io/qwik-city": "~0.101.0",
19
+ "@builder.io/qwik": "0.102.0",
20
+ "@builder.io/qwik-city": "~0.102.0",
21
21
  "@types/eslint": "8.37.0",
22
22
  "@types/node": "^18.15.9",
23
23
  "@typescript-eslint/eslint-plugin": "5.57.1",
24
24
  "@typescript-eslint/parser": "5.57.1",
25
- "eslint-plugin-qwik": "0.101.0",
25
+ "eslint-plugin-qwik": "0.102.0",
26
26
  "eslint": "8.37.0",
27
27
  "undici": "5.21.0",
28
28
  "prettier": "2.8.7",
29
29
  "typescript": "5.0.3",
30
- "vite": "4.2.1",
30
+ "vite": "4.3.0-beta.3",
31
31
  "vite-tsconfig-paths": "3.5.0"
32
32
  },
33
33
  "engines": {
@@ -32,7 +32,7 @@
32
32
  "release": "np"
33
33
  },
34
34
  "devDependencies": {
35
- "@builder.io/qwik": "0.101.0",
35
+ "@builder.io/qwik": "0.102.0",
36
36
  "@types/eslint": "8.37.0",
37
37
  "@types/node": "^18.15.9",
38
38
  "@typescript-eslint/eslint-plugin": "5.57.1",
@@ -43,7 +43,7 @@
43
43
  "np": "7.6.1",
44
44
  "prettier": "2.8.7",
45
45
  "typescript": "5.0.3",
46
- "vite": "4.2.1"
46
+ "vite": "4.3.0-beta.3"
47
47
  },
48
48
  "__qwik__": {
49
49
  "displayName": "Component library",