create-qwik 1.2.5 → 1.2.6
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,103 +1,118 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* create-qwik 1.2.
|
|
3
|
+
* create-qwik 1.2.6
|
|
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 zt=Object.create;var nu=Object.defineProperty;var Gt=Object.getOwnPropertyDescriptor;var Ut=Object.getOwnPropertyNames;var Kt=Object.getPrototypeOf,Yt=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ht=(e,t)=>{for(var D in t)nu(e,D,{get:t[D],enumerable:!0})},oe=(e,t,D,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Ut(t))!Yt.call(e,r)&&r!==D&&nu(e,r,{get:()=>t[r],enumerable:!(s=Gt(t,r))||s.enumerable});return e};var y=(e,t,D)=>(D=e!=null?zt(Kt(e)):{},oe(t||!e||!e.__esModule?nu(D,"default",{value:e,enumerable:!0}):D,e)),Zt=e=>oe(nu({},"__esModule",{value:!0}),e);var wu=v((ks,ge)=>{"use strict";var Bu="\x1B",d=`${Bu}[`,Xt="\x07",yu={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:`${Bu}7`,restore:`${Bu}8`},uD={up:(e=1)=>`${d}S`.repeat(e),down:(e=1)=>`${d}T`.repeat(e)},eD={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?yu.up():"");return e&&(t+=yu.left),t}};ge.exports={cursor:yu,scroll:uD,erase:eD,beep:Xt}});var Au=v((Ss,vu)=>{var tD=require("tty"),DD=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||tD.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),m=(e,t,D=e)=>s=>{let r=""+s,i=r.indexOf(t,e.length);return~i?e+fe(r,t,D,i)+t:e+r+t},fe=(e,t,D,s)=>{let r=e.substring(0,s)+D,i=e.substring(s+t.length),u=i.indexOf(t);return~u?r+fe(i,t,D,u):r+i},$e=(e=DD)=>({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});vu.exports=$e();vu.exports.createColors=$e});var We=v((Us,qe)=>{qe.exports=Me;Me.sync=kD;var Re=require("fs");function xD(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 s=0;s<D.length;s++){var r=D[s].toLowerCase();if(r&&e.substr(-r.length).toLowerCase()===r)return!0}return!1}function Ne(e,t,D){return!e.isSymbolicLink()&&!e.isFile()?!1:xD(t,D)}function Me(e,t,D){Re.stat(e,function(s,r){D(s,s?!1:Ne(r,e,t))})}function kD(e,t){return Ne(Re.statSync(e),e,t)}});var Ge=v((Ks,ze)=>{ze.exports=Le;Le.sync=SD;var Je=require("fs");function Le(e,t,D){Je.stat(e,function(s,r){D(s,s?!1:Ve(r,t))})}function SD(e,t){return Ve(Je.statSync(e),t)}function Ve(e,t){return e.isFile()&&jD(e,t)}function jD(e,t){var D=e.mode,s=e.uid,r=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),a=parseInt("010",8),c=parseInt("001",8),p=n|a,l=D&c||D&a&&r===u||D&n&&s===i||D&p&&i===0;return l}});var Ke=v((Hs,Ue)=>{var Ys=require("fs"),mu;process.platform==="win32"||global.TESTING_WINDOWS?mu=We():mu=Ge();Ue.exports=Ju;Ju.sync=ID;function Ju(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(s,r){Ju(e,t||{},function(i,u){i?r(i):s(u)})})}mu(e,t||{},function(s,r){s&&(s.code==="EACCES"||t&&t.ignoreErrors)&&(s=null,r=!1),D(s,r)})}function ID(e,t){try{return mu.sync(e,t||{})}catch(D){if(t&&t.ignoreErrors||D.code==="EACCES")return!1;throw D}}});var et=v((Zs,ut)=>{var V=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Ye=require("path"),OD=V?";":":",He=Ke(),Ze=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),Qe=(e,t)=>{let D=t.colon||OD,s=e.match(/\//)||V&&e.match(/\\/)?[""]:[...V?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(D)],r=V?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=V?r.split(D):[""];return V&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:s,pathExt:i,pathExtExe:r}},Xe=(e,t,D)=>{typeof t=="function"&&(D=t,t={}),t||(t={});let{pathEnv:s,pathExt:r,pathExtExe:i}=Qe(e,t),u=[],n=c=>new Promise((p,l)=>{if(c===s.length)return t.all&&u.length?p(u):l(Ze(e));let F=s[c],C=/^".*"$/.test(F)?F.slice(1,-1):F,w=Ye.join(C,e),R=!C&&/^\.[\\\/]/.test(e)?e.slice(0,2)+w:w;p(a(R,c,0))}),a=(c,p,l)=>new Promise((F,C)=>{if(l===r.length)return F(n(p+1));let w=r[l];He(c+w,{pathExt:i},(R,O)=>{if(!R&&O)if(t.all)u.push(c+w);else return F(c+w);return F(a(c,p,l+1))})});return D?n(0).then(c=>D(null,c),D):n(0)},_D=(e,t)=>{t=t||{};let{pathEnv:D,pathExt:s,pathExtExe:r}=Qe(e,t),i=[];for(let u=0;u<D.length;u++){let n=D[u],a=/^".*"$/.test(n)?n.slice(1,-1):n,c=Ye.join(a,e),p=!a&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let l=0;l<s.length;l++){let F=p+s[l];try{if(He.sync(F,{pathExt:r}))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=_D});var Dt=v((Qs,Lu)=>{"use strict";var tt=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};Lu.exports=tt;Lu.exports.default=tt});var nt=v((Xs,it)=>{"use strict";var st=require("path"),TD=et(),PD=Dt();function rt(e,t){let D=e.options.env||process.env,s=process.cwd(),r=e.options.cwd!=null,i=r&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch{}let u;try{u=TD.sync(e.command,{path:D[PD({env:D})],pathExt:t?st.delimiter:void 0})}catch{}finally{i&&process.chdir(s)}return u&&(u=st.resolve(r?e.options.cwd:"",u)),u}function RD(e){return rt(e)||rt(e,!0)}it.exports=RD});var ot=v((ur,zu)=>{"use strict";var Vu=/([()\][%!^"`<>&|;, *?])/g;function ND(e){return e=e.replace(Vu,"^$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(Vu,"^$1"),t&&(e=e.replace(Vu,"^$1")),e}zu.exports.command=ND;zu.exports.argument=MD});var ct=v((er,at)=>{"use strict";at.exports=/^#!(.*)/});var pt=v((tr,lt)=>{"use strict";var qD=ct();lt.exports=(e="")=>{let t=e.match(qD);if(!t)return null;let[D,s]=t[0].replace(/#! ?/,"").split(" "),r=D.split("/").pop();return r==="env"?s:s?`${r} ${s}`:r}});var Ct=v((Dr,Ft)=>{"use strict";var Gu=require("fs"),WD=pt();function JD(e){let D=Buffer.alloc(150),s;try{s=Gu.openSync(e,"r"),Gu.readSync(s,D,0,150,0),Gu.closeSync(s)}catch{}return WD(D.toString())}Ft.exports=JD});var dt=v((sr,Et)=>{"use strict";var LD=require("path"),ht=nt(),mt=ot(),VD=Ct(),zD=process.platform==="win32",GD=/\.(?:com|exe)$/i,UD=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function KD(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 YD(e){if(!zD)return e;let t=KD(e),D=!GD.test(t);if(e.options.forceShell||D){let s=UD.test(t);e.command=LD.normalize(e.command),e.command=mt.command(e.command),e.args=e.args.map(i=>mt.argument(i,s));let r=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${r}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function HD(e,t,D){t&&!Array.isArray(t)&&(D=t,t=null),t=t?t.slice(0):[],D=Object.assign({},D);let s={command:e,args:t,options:D,file:void 0,original:{command:e,args:t}};return D.shell?s:YD(s)}Et.exports=HD});var $t=v((rr,ft)=>{"use strict";var Uu=process.platform==="win32";function Ku(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 ZD(e,t){if(!Uu)return;let D=e.emit;e.emit=function(s,r){if(s==="exit"){let i=gt(r,t,"spawn");if(i)return D.call(e,"error",i)}return D.apply(e,arguments)}}function gt(e,t){return Uu&&e===1&&!t.file?Ku(t.original,"spawn"):null}function QD(e,t){return Uu&&e===1&&!t.file?Ku(t.original,"spawnSync"):null}ft.exports={hookChildProcess:ZD,verifyENOENT:gt,verifyENOENTSync:QD,notFoundError:Ku}});var wt=v((ir,z)=>{"use strict";var Bt=require("child_process"),Yu=dt(),Hu=$t();function yt(e,t,D){let s=Yu(e,t,D),r=Bt.spawn(s.command,s.args,s.options);return Hu.hookChildProcess(r,s),r}function XD(e,t,D){let s=Yu(e,t,D),r=Bt.spawnSync(s.command,s.args,s.options);return r.error=r.error||Hu.verifyENOENTSync(r.status,s),r}z.exports=yt;z.exports.spawn=yt;z.exports.sync=XD;z.exports._parse=Yu;z.exports._enoent=Hu});var At=v((nr,vt)=>{"use strict";vt.exports=function(){if(process.env.npm_config_user_agent)return us(process.env.npm_config_user_agent)};function us(e){let t=e.split(" ")[0],D=t.lastIndexOf("/"),s=t.substring(0,D);return{name:s==="npminstall"?"cnpm":s,version:t.substring(D+1)}}});var Fs={};Ht(Fs,{createApp:()=>su,runCli:()=>ls,runCreateCli:()=>se,runCreateInteractiveCli:()=>ne});module.exports=Zt(Fs);var Du=y(require("fs"));var gu,ae,ce,le,pe=!0;typeof process<"u"&&({FORCE_COLOR:gu,NODE_DISABLE_COLORS:ae,NO_COLOR:ce,TERM:le}=process.env||{},pe=process.stdout&&process.stdout.isTTY);var Qt={enabled:!ae&&ce==null&&le!=="dumb"&&(gu!=null&&gu!=="0"||pe)};function h(e,t){let D=new RegExp(`\\x1b\\[${t}m`,"g"),s=`\x1B[${e}m`,r=`\x1B[${t}m`;return function(i){return!Qt.enabled||i==null?i:s+(~(""+i).indexOf(r)?i.replace(D,r+s):i)+r}}var Fe=h(0,0),Ce=h(1,22),hs=h(2,22),ms=h(3,23),Es=h(4,24),ds=h(7,27),gs=h(8,28),fs=h(9,29),$s=h(30,39),x=h(31,39),he=h(32,39),me=h(33,39),Ee=h(34,39),k=h(35,39),S=h(36,39),de=h(37,39),T=h(90,39),Bs=h(90,39),ys=h(40,49),ou=h(41,49),ws=h(42,49),vs=h(43,49),fu=h(44,49),$u=h(45,49),As=h(46,49),bs=h(47,49);var _=require("path");var Qu=y(require("fs"),1),Xu=require("path");var b=y(wu(),1),J=require("process"),P=y(require("readline"),1),ku=y(require("readline"),1),ke=require("tty"),cu=y(Au(),1);function sD({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(sD(),"")}var Su={},rD={get exports(){return Su},set exports(e){Su=e}};(function(e){var t={};e.exports=t,t.eastAsianWidth=function(s){var r=s.charCodeAt(0),i=s.length==2?s.charCodeAt(1):0,u=r;return 55296<=r&&r<=56319&&56320<=i&&i<=57343&&(r&=1023,i&=1023,u=r<<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(s){var r=this.eastAsianWidth(s);return r=="F"||r=="W"||r=="A"?2:1};function D(s){return s.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}t.length=function(s){for(var r=D(s),i=0,u=0;u<r.length;u++)i=i+this.characterLength(r[u]);return i},t.slice=function(s,r,i){textLen=t.length(s),r=r||0,i=i||1,r<0&&(r=textLen+r),i<0&&(i=textLen+i);for(var u="",n=0,a=D(s),c=0;c<a.length;c++){var p=a[c],l=t.length(p);if(n>=r-(l==2?1:0))if(n+l<=i)u+=p;else break;n+=l}return u}})(rD);var iD=Su,nD=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 Z(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=Se(e),e.length===0))return 0;e=e.replace(nD()," ");let D=t.ambiguousIsNarrow?1:2,s=0;for(let r of e){let i=r.codePointAt(0);if(!(i<=31||i>=127&&i<=159||i>=768&&i<=879))switch(iD.eastAsianWidth(r)){case"F":case"W":s+=2;break;case"A":s+=D;break;default:s+=1}}return s}var bu=10,Be=(e=0)=>t=>`\x1B[${t+e}m`,ye=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,we=(e=0)=>(t,D,s)=>`\x1B[${38+e};2;${t};${D};${s}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 oD=Object.keys(E.color),aD=Object.keys(E.bgColor);[...oD,...aD];function cD(){let e=new Map;for(let[t,D]of Object.entries(E)){for(let[s,r]of Object.entries(D))E[s]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},D[s]=E[s],e.set(r[0],r[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(bu),E.bgColor.ansi256=ye(bu),E.bgColor.ansi16m=we(bu),Object.defineProperties(E,{rgbToAnsi256:{value:(t,D,s)=>t===D&&D===s?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(s/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[s]=D;s.length===3&&(s=[...s].map(i=>i+i).join(""));let r=Number.parseInt(s,16);return[r>>16&255,r>>8&255,r&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,s,r;if(t>=232)D=((t-232)*10+8)/255,s=D,r=D;else{t-=16;let n=t%36;D=Math.floor(t/36)/5,s=Math.floor(n/6)/5,r=n%6/5}let i=Math.max(D,s,r)*2;if(i===0)return 30;let u=30+(Math.round(r)<<2|Math.round(s)<<1|Math.round(D));return i===2&&(u+=60),u},enumerable:!1},rgbToAnsi:{value:(t,D,s)=>E.ansi256ToAnsi(E.rgbToAnsi256(t,D,s)),enumerable:!1},hexToAnsi:{value:t=>E.ansi256ToAnsi(E.hexToAnsi256(t)),enumerable:!1}}),E}var lD=cD(),Cu=new Set(["\x1B","\x9B"]),pD=39,ju="\x07",je="[",FD="]",Ie="m",Iu=`${FD}8;;`,ve=e=>`${Cu.values().next().value}${je}${e}${Ie}`,Ae=e=>`${Cu.values().next().value}${Iu}${e}${ju}`,CD=e=>e.split(" ").map(t=>Z(t)),xu=(e,t,D)=>{let s=[...t],r=!1,i=!1,u=Z(Se(e[e.length-1]));for(let[n,a]of s.entries()){let c=Z(a);if(u+c<=D?e[e.length-1]+=a:(e.push(a),u=0),Cu.has(a)&&(r=!0,i=s.slice(n+1).join("").startsWith(Iu)),r){i?a===ju&&(r=!1,i=!1):a===Ie&&(r=!1);continue}u+=c,u===D&&n<s.length-1&&(e.push(""),u=0)}!u&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},hD=e=>{let t=e.split(" "),D=t.length;for(;D>0&&!(Z(t[D-1])>0);)D--;return D===t.length?e:t.slice(0,D).join(" ")+t.slice(D).join("")},mD=(e,t,D={})=>{if(D.trim!==!1&&e.trim()==="")return"";let s="",r,i,u=CD(e),n=[""];for(let[c,p]of e.split(" ").entries()){D.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let l=Z(n[n.length-1]);if(c!==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[c]>t){let F=t-l,C=1+Math.floor((u[c]-F-1)/t);Math.floor((u[c]-1)/t)<C&&n.push(""),xu(n,p,t);continue}if(l+u[c]>t&&l>0&&u[c]>0){if(D.wordWrap===!1&&l<t){xu(n,p,t);continue}n.push("")}if(l+u[c]>t&&D.wordWrap===!1){xu(n,p,t);continue}n[n.length-1]+=p}D.trim!==!1&&(n=n.map(c=>hD(c)));let a=[...n.join(`
|
|
9
|
-
`)];for(let[c,
|
|
10
|
-
`?(i&&(s+=
|
|
11
|
-
`&&(r&&l&&(s+=
|
|
8
|
+
"use strict";var Gt=Object.create;var ne=Object.defineProperty;var Ut=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames;var Yt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty;var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Qt=(e,t)=>{for(var D in t)ne(e,D,{get:t[D],enumerable:!0})},lu=(e,t,D,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Kt(t))!Zt.call(e,r)&&r!==D&&ne(e,r,{get:()=>t[r],enumerable:!(s=Ut(t,r))||s.enumerable});return e};var B=(e,t,D)=>(D=e!=null?Gt(Yt(e)):{},lu(t||!e||!e.__esModule?ne(D,"default",{value:e,enumerable:!0}):D,e)),Xt=e=>lu(ne({},"__esModule",{value:!0}),e);var ve=b((js,wu)=>{"use strict";var $e="\x1B",f=`${$e}[`,uD="\x07",be={to(e,t){return t?`${f}${t+1};${e+1}H`:`${f}${e+1}G`},move(e,t){let D="";return e<0?D+=`${f}${-e}D`:e>0&&(D+=`${f}${e}C`),t<0?D+=`${f}${-t}A`:t>0&&(D+=`${f}${t}B`),D},up:(e=1)=>`${f}${e}A`,down:(e=1)=>`${f}${e}B`,forward:(e=1)=>`${f}${e}C`,backward:(e=1)=>`${f}${e}D`,nextLine:(e=1)=>`${f}E`.repeat(e),prevLine:(e=1)=>`${f}F`.repeat(e),left:`${f}G`,hide:`${f}?25l`,show:`${f}?25h`,save:`${$e}7`,restore:`${$e}8`},tD={up:(e=1)=>`${f}S`.repeat(e),down:(e=1)=>`${f}T`.repeat(e)},DD={screen:`${f}2J`,up:(e=1)=>`${f}1J`.repeat(e),down:(e=1)=>`${f}J`.repeat(e),line:`${f}2K`,lineEnd:`${f}K`,lineStart:`${f}1K`,lines(e){let t="";for(let D=0;D<e;D++)t+=this.line+(D<e-1?be.up():"");return e&&(t+=be.left),t}};wu.exports={cursor:be,scroll:tD,erase:DD,beep:uD}});var xe=b((Ws,Ae)=>{var sD=require("tty"),rD=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||sD.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),C=(e,t,D=e)=>s=>{let r=""+s,i=r.indexOf(t,e.length);return~i?e+Bu(r,t,D,i)+t:e+r+t},Bu=(e,t,D,s)=>{let r=e.substring(0,s)+D,i=e.substring(s+t.length),u=i.indexOf(t);return~u?r+Bu(i,t,D,u):r+i},$u=(e=rD)=>({isColorSupported:e,reset:e?t=>`\x1B[0m${t}\x1B[0m`:String,bold:e?C("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:e?C("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:e?C("\x1B[3m","\x1B[23m"):String,underline:e?C("\x1B[4m","\x1B[24m"):String,inverse:e?C("\x1B[7m","\x1B[27m"):String,hidden:e?C("\x1B[8m","\x1B[28m"):String,strikethrough:e?C("\x1B[9m","\x1B[29m"):String,black:e?C("\x1B[30m","\x1B[39m"):String,red:e?C("\x1B[31m","\x1B[39m"):String,green:e?C("\x1B[32m","\x1B[39m"):String,yellow:e?C("\x1B[33m","\x1B[39m"):String,blue:e?C("\x1B[34m","\x1B[39m"):String,magenta:e?C("\x1B[35m","\x1B[39m"):String,cyan:e?C("\x1B[36m","\x1B[39m"):String,white:e?C("\x1B[37m","\x1B[39m"):String,gray:e?C("\x1B[90m","\x1B[39m"):String,bgBlack:e?C("\x1B[40m","\x1B[49m"):String,bgRed:e?C("\x1B[41m","\x1B[49m"):String,bgGreen:e?C("\x1B[42m","\x1B[49m"):String,bgYellow:e?C("\x1B[43m","\x1B[49m"):String,bgBlue:e?C("\x1B[44m","\x1B[49m"):String,bgMagenta:e?C("\x1B[45m","\x1B[49m"):String,bgCyan:e?C("\x1B[46m","\x1B[49m"):String,bgWhite:e?C("\x1B[47m","\x1B[49m"):String});Ae.exports=$u();Ae.exports.createColors=$u});var Vu=b((Ys,Ju)=>{Ju.exports=Lu;Lu.sync=SD;var Ru=require("fs");function ID(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 s=0;s<D.length;s++){var r=D[s].toLowerCase();if(r&&e.substr(-r.length).toLowerCase()===r)return!0}return!1}function qu(e,t,D){return!e.isSymbolicLink()&&!e.isFile()?!1:ID(t,D)}function Lu(e,t,D){Ru.stat(e,function(s,r){D(s,s?!1:qu(r,e,t))})}function SD(e,t){return qu(Ru.statSync(e),e,t)}});var Ku=b((Zs,Uu)=>{Uu.exports=zu;zu.sync=jD;var Hu=require("fs");function zu(e,t,D){Hu.stat(e,function(s,r){D(s,s?!1:Gu(r,t))})}function jD(e,t){return Gu(Hu.statSync(e),t)}function Gu(e,t){return e.isFile()&&WD(e,t)}function WD(e,t){var D=e.mode,s=e.uid,r=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),a=parseInt("010",8),c=parseInt("001",8),h=n|a,l=D&c||D&a&&r===u||D&n&&s===i||D&h&&i===0;return l}});var Zu=b((Xs,Yu)=>{var Qs=require("fs"),Ce;process.platform==="win32"||global.TESTING_WINDOWS?Ce=Vu():Ce=Ku();Yu.exports=Je;Je.sync=TD;function Je(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(s,r){Je(e,t||{},function(i,u){i?r(i):s(u)})})}Ce(e,t||{},function(s,r){s&&(s.code==="EACCES"||t&&t.ignoreErrors)&&(s=null,r=!1),D(s,r)})}function TD(e,t){try{return Ce.sync(e,t||{})}catch(D){if(t&&t.ignoreErrors||D.code==="EACCES")return!1;throw D}}});var st=b((er,Dt)=>{var V=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Qu=require("path"),OD=V?";":":",Xu=Zu(),et=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),ut=(e,t)=>{let D=t.colon||OD,s=e.match(/\//)||V&&e.match(/\\/)?[""]:[...V?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(D)],r=V?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=V?r.split(D):[""];return V&&e.indexOf(".")!==-1&&i[0]!==""&&i.unshift(""),{pathEnv:s,pathExt:i,pathExtExe:r}},tt=(e,t,D)=>{typeof t=="function"&&(D=t,t={}),t||(t={});let{pathEnv:s,pathExt:r,pathExtExe:i}=ut(e,t),u=[],n=c=>new Promise((h,l)=>{if(c===s.length)return t.all&&u.length?h(u):l(et(e));let p=s[c],F=/^".*"$/.test(p)?p.slice(1,-1):p,$=Qu.join(F,e),M=!F&&/^\.[\\\/]/.test(e)?e.slice(0,2)+$:$;h(a(M,c,0))}),a=(c,h,l)=>new Promise((p,F)=>{if(l===r.length)return p(n(h+1));let $=r[l];Xu(c+$,{pathExt:i},(M,W)=>{if(!M&&W)if(t.all)u.push(c+$);else return p(c+$);return p(a(c,h,l+1))})});return D?n(0).then(c=>D(null,c),D):n(0)},_D=(e,t)=>{t=t||{};let{pathEnv:D,pathExt:s,pathExtExe:r}=ut(e,t),i=[];for(let u=0;u<D.length;u++){let n=D[u],a=/^".*"$/.test(n)?n.slice(1,-1):n,c=Qu.join(a,e),h=!a&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let l=0;l<s.length;l++){let p=h+s[l];try{if(Xu.sync(p,{pathExt:r}))if(t.all)i.push(p);else return p}catch{}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw et(e)};Dt.exports=tt;tt.sync=_D});var it=b((ur,Ve)=>{"use strict";var rt=(e={})=>{let t=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(t).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};Ve.exports=rt;Ve.exports.default=rt});var ct=b((tr,at)=>{"use strict";var nt=require("path"),PD=st(),ND=it();function ot(e,t){let D=e.options.env||process.env,s=process.cwd(),r=e.options.cwd!=null,i=r&&process.chdir!==void 0&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch{}let u;try{u=PD.sync(e.command,{path:D[ND({env:D})],pathExt:t?nt.delimiter:void 0})}catch{}finally{i&&process.chdir(s)}return u&&(u=nt.resolve(r?e.options.cwd:"",u)),u}function MD(e){return ot(e)||ot(e,!0)}at.exports=MD});var lt=b((Dr,ze)=>{"use strict";var He=/([()\][%!^"`<>&|;, *?])/g;function RD(e){return e=e.replace(He,"^$1"),e}function qD(e,t){return e=`${e}`,e=e.replace(/(\\*)"/g,'$1$1\\"'),e=e.replace(/(\\*)$/,"$1$1"),e=`"${e}"`,e=e.replace(He,"^$1"),t&&(e=e.replace(He,"^$1")),e}ze.exports.command=RD;ze.exports.argument=qD});var pt=b((sr,ht)=>{"use strict";ht.exports=/^#!(.*)/});var dt=b((rr,Ft)=>{"use strict";var LD=pt();Ft.exports=(e="")=>{let t=e.match(LD);if(!t)return null;let[D,s]=t[0].replace(/#! ?/,"").split(" "),r=D.split("/").pop();return r==="env"?s:s?`${r} ${s}`:r}});var Ct=b((ir,mt)=>{"use strict";var Ge=require("fs"),JD=dt();function VD(e){let D=Buffer.alloc(150),s;try{s=Ge.openSync(e,"r"),Ge.readSync(s,D,0,150,0),Ge.closeSync(s)}catch{}return JD(D.toString())}mt.exports=VD});var yt=b((nr,Et)=>{"use strict";var HD=require("path"),gt=ct(),ft=lt(),zD=Ct(),GD=process.platform==="win32",UD=/\.(?:com|exe)$/i,KD=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function YD(e){e.file=gt(e);let t=e.file&&zD(e.file);return t?(e.args.unshift(e.file),e.command=t,gt(e)):e.file}function ZD(e){if(!GD)return e;let t=YD(e),D=!UD.test(t);if(e.options.forceShell||D){let s=KD.test(t);e.command=HD.normalize(e.command),e.command=ft.command(e.command),e.args=e.args.map(i=>ft.argument(i,s));let r=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${r}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function QD(e,t,D){t&&!Array.isArray(t)&&(D=t,t=null),t=t?t.slice(0):[],D=Object.assign({},D);let s={command:e,args:t,options:D,file:void 0,original:{command:e,args:t}};return D.shell?s:ZD(s)}Et.exports=QD});var $t=b((or,Bt)=>{"use strict";var Ue=process.platform==="win32";function Ke(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 XD(e,t){if(!Ue)return;let D=e.emit;e.emit=function(s,r){if(s==="exit"){let i=wt(r,t,"spawn");if(i)return D.call(e,"error",i)}return D.apply(e,arguments)}}function wt(e,t){return Ue&&e===1&&!t.file?Ke(t.original,"spawn"):null}function es(e,t){return Ue&&e===1&&!t.file?Ke(t.original,"spawnSync"):null}Bt.exports={hookChildProcess:XD,verifyENOENT:wt,verifyENOENTSync:es,notFoundError:Ke}});var At=b((ar,H)=>{"use strict";var bt=require("child_process"),Ye=yt(),Ze=$t();function vt(e,t,D){let s=Ye(e,t,D),r=bt.spawn(s.command,s.args,s.options);return Ze.hookChildProcess(r,s),r}function us(e,t,D){let s=Ye(e,t,D),r=bt.spawnSync(s.command,s.args,s.options);return r.error=r.error||Ze.verifyENOENTSync(r.status,s),r}H.exports=vt;H.exports.spawn=vt;H.exports.sync=us;H.exports._parse=Ye;H.exports._enoent=Ze});var kt=b((cr,xt)=>{"use strict";xt.exports=function(){if(process.env.npm_config_user_agent)return ts(process.env.npm_config_user_agent)};function ts(e){let t=e.split(" ")[0],D=t.lastIndexOf("/"),s=t.substring(0,D);return{name:s==="npminstall"?"cnpm":s,version:t.substring(D+1)}}});var ms={};Qt(ms,{createApp:()=>se,runCli:()=>Fs,runCreateCli:()=>iu,runCreateInteractiveCli:()=>cu});module.exports=Xt(ms);var K=B(require("fs"));var ye,hu,pu,Fu,du=!0;typeof process<"u"&&({FORCE_COLOR:ye,NODE_DISABLE_COLORS:hu,NO_COLOR:pu,TERM:Fu}=process.env||{},du=process.stdout&&process.stdout.isTTY);var eD={enabled:!hu&&pu==null&&Fu!=="dumb"&&(ye!=null&&ye!=="0"||du)};function d(e,t){let D=new RegExp(`\\x1b\\[${t}m`,"g"),s=`\x1B[${e}m`,r=`\x1B[${t}m`;return function(i){return!eD.enabled||i==null?i:s+(~(""+i).indexOf(r)?i.replace(D,r+s):i)+r}}var mu=d(0,0),Cu=d(1,22),gs=d(2,22),fs=d(3,23),Es=d(4,24),ys=d(7,27),ws=d(8,28),Bs=d(9,29),$s=d(30,39),k=d(31,39),gu=d(32,39),fu=d(33,39),Eu=d(34,39),A=d(35,39),I=d(36,39),yu=d(37,39),_=d(90,39),bs=d(90,39),vs=d(40,49),oe=d(41,49),As=d(42,49),xs=d(43,49),we=d(44,49),Be=d(45,49),ks=d(46,49),Is=d(47,49);var T=require("path");var Xe=B(require("fs"),1),eu=require("path");var x=B(ve(),1),L=require("process"),P=B(require("readline"),1),Se=B(require("readline"),1),ju=require("tty"),ce=B(xe(),1);function iD({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 Wu(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(iD(),"")}var je={},nD={get exports(){return je},set exports(e){je=e}};(function(e){var t={};e.exports=t,t.eastAsianWidth=function(s){var r=s.charCodeAt(0),i=s.length==2?s.charCodeAt(1):0,u=r;return 55296<=r&&r<=56319&&56320<=i&&i<=57343&&(r&=1023,i&=1023,u=r<<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(s){var r=this.eastAsianWidth(s);return r=="F"||r=="W"||r=="A"?2:1};function D(s){return s.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}t.length=function(s){for(var r=D(s),i=0,u=0;u<r.length;u++)i=i+this.characterLength(r[u]);return i},t.slice=function(s,r,i){textLen=t.length(s),r=r||0,i=i||1,r<0&&(r=textLen+r),i<0&&(i=textLen+i);for(var u="",n=0,a=D(s),c=0;c<a.length;c++){var h=a[c],l=t.length(h);if(n>=r-(l==2?1:0))if(n+l<=i)u+=h;else break;n+=l}return u}})(nD);var oD=je,aD=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 Q(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=Wu(e),e.length===0))return 0;e=e.replace(aD()," ");let D=t.ambiguousIsNarrow?1:2,s=0;for(let r of e){let i=r.codePointAt(0);if(!(i<=31||i>=127&&i<=159||i>=768&&i<=879))switch(oD.eastAsianWidth(r)){case"F":case"W":s+=2;break;case"A":s+=D;break;default:s+=1}}return s}var ke=10,bu=(e=0)=>t=>`\x1B[${t+e}m`,vu=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Au=(e=0)=>(t,D,s)=>`\x1B[${38+e};2;${t};${D};${s}m`,g={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(g.modifier);var cD=Object.keys(g.color),lD=Object.keys(g.bgColor);[...cD,...lD];function hD(){let e=new Map;for(let[t,D]of Object.entries(g)){for(let[s,r]of Object.entries(D))g[s]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},D[s]=g[s],e.set(r[0],r[1]);Object.defineProperty(g,t,{value:D,enumerable:!1})}return Object.defineProperty(g,"codes",{value:e,enumerable:!1}),g.color.close="\x1B[39m",g.bgColor.close="\x1B[49m",g.color.ansi=bu(),g.color.ansi256=vu(),g.color.ansi16m=Au(),g.bgColor.ansi=bu(ke),g.bgColor.ansi256=vu(ke),g.bgColor.ansi16m=Au(ke),Object.defineProperties(g,{rgbToAnsi256:{value:(t,D,s)=>t===D&&D===s?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(s/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[s]=D;s.length===3&&(s=[...s].map(i=>i+i).join(""));let r=Number.parseInt(s,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:t=>g.rgbToAnsi256(...g.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let D,s,r;if(t>=232)D=((t-232)*10+8)/255,s=D,r=D;else{t-=16;let n=t%36;D=Math.floor(t/36)/5,s=Math.floor(n/6)/5,r=n%6/5}let i=Math.max(D,s,r)*2;if(i===0)return 30;let u=30+(Math.round(r)<<2|Math.round(s)<<1|Math.round(D));return i===2&&(u+=60),u},enumerable:!1},rgbToAnsi:{value:(t,D,s)=>g.ansi256ToAnsi(g.rgbToAnsi256(t,D,s)),enumerable:!1},hexToAnsi:{value:t=>g.ansi256ToAnsi(g.hexToAnsi256(t)),enumerable:!1}}),g}var pD=hD(),Fe=new Set(["\x1B","\x9B"]),FD=39,We="\x07",Tu="[",dD="]",Ou="m",Te=`${dD}8;;`,xu=e=>`${Fe.values().next().value}${Tu}${e}${Ou}`,ku=e=>`${Fe.values().next().value}${Te}${e}${We}`,mD=e=>e.split(" ").map(t=>Q(t)),Ie=(e,t,D)=>{let s=[...t],r=!1,i=!1,u=Q(Wu(e[e.length-1]));for(let[n,a]of s.entries()){let c=Q(a);if(u+c<=D?e[e.length-1]+=a:(e.push(a),u=0),Fe.has(a)&&(r=!0,i=s.slice(n+1).join("").startsWith(Te)),r){i?a===We&&(r=!1,i=!1):a===Ou&&(r=!1);continue}u+=c,u===D&&n<s.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&&!(Q(t[D-1])>0);)D--;return D===t.length?e:t.slice(0,D).join(" ")+t.slice(D).join("")},gD=(e,t,D={})=>{if(D.trim!==!1&&e.trim()==="")return"";let s="",r,i,u=mD(e),n=[""];for(let[c,h]of e.split(" ").entries()){D.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let l=Q(n[n.length-1]);if(c!==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[c]>t){let p=t-l,F=1+Math.floor((u[c]-p-1)/t);Math.floor((u[c]-1)/t)<F&&n.push(""),Ie(n,h,t);continue}if(l+u[c]>t&&l>0&&u[c]>0){if(D.wordWrap===!1&&l<t){Ie(n,h,t);continue}n.push("")}if(l+u[c]>t&&D.wordWrap===!1){Ie(n,h,t);continue}n[n.length-1]+=h}D.trim!==!1&&(n=n.map(c=>CD(c)));let a=[...n.join(`
|
|
9
|
+
`)];for(let[c,h]of a.entries()){if(s+=h,Fe.has(h)){let{groups:p}=new RegExp(`(?:\\${Tu}(?<code>\\d+)m|\\${Te}(?<uri>.*)${We})`).exec(a.slice(c).join(""))||{groups:{}};if(p.code!==void 0){let F=Number.parseFloat(p.code);r=F===FD?void 0:F}else p.uri!==void 0&&(i=p.uri.length===0?void 0:p.uri)}let l=pD.codes.get(Number(r));a[c+1]===`
|
|
10
|
+
`?(i&&(s+=ku("")),r&&l&&(s+=xu(l))):h===`
|
|
11
|
+
`&&(r&&l&&(s+=xu(r)),i&&(s+=ku(i)))}return s};function Iu(e,t,D){return String(e).normalize().replace(/\r\n/g,`
|
|
12
12
|
`).split(`
|
|
13
|
-
`).map(s=>
|
|
14
|
-
`)}function
|
|
13
|
+
`).map(s=>gD(s,t,D)).join(`
|
|
14
|
+
`)}function fD(e,t){if(e===t)return;let D=e.split(`
|
|
15
15
|
`),s=t.split(`
|
|
16
|
-
`),r=[];for(let i=0;i<Math.max(D.length,s.length);i++)D[i]!==s[i]&&r.push(i);return r}var
|
|
17
|
-
`),
|
|
18
|
-
`).length-1;this.output.write(
|
|
19
|
-
`);this.output.write(r[s]),this._prevFrame=t,this.output.write(
|
|
16
|
+
`),r=[];for(let i=0;i<Math.max(D.length,s.length);i++)D[i]!==s[i]&&r.push(i);return r}var _u=Symbol("clack:cancel");function N(e){return e===_u}function ae(e,t){e.isTTY&&e.setRawMode(t)}var Su=new Map([["k","up"],["j","down"],["h","left"],["l","right"]]),ED=new Set(["up","down","left","right","space","enter"]),X=class{constructor({render:t,input:D=L.stdin,output:s=L.stdout,...r},i=!0){this._track=!1,this._cursor=0,this.state="initial",this.error="",this.subscribers=new Map,this._prevFrame="",this.opts=r,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=s}prompt(){let t=new ju.WriteStream(0);return t._write=(D,s,r)=>{this._track&&(this.value=this.rl.line.replace(/\t/g,""),this._cursor=this.rl.cursor,this.emit("value",this.value)),r()},this.input.pipe(t),this.rl=Se.default.createInterface({input:this.input,output:t,tabSize:2,prompt:"",escapeCodeTimeout:50}),Se.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),ae(this.input,!0),this.output.on("resize",this.render),this.render(),new Promise((D,s)=>{this.once("submit",()=>{this.output.write(x.cursor.show),this.output.off("resize",this.render),ae(this.input,!1),D(this.value)}),this.once("cancel",()=>{this.output.write(x.cursor.show),this.output.off("resize",this.render),ae(this.input,!1),D(_u)})})}on(t,D){let s=this.subscribers.get(t)??[];s.push({cb:D}),this.subscribers.set(t,s)}once(t,D){let s=this.subscribers.get(t)??[];s.push({cb:D,once:!0}),this.subscribers.set(t,s)}emit(t,...D){let s=this.subscribers.get(t)??[],r=[];for(let i of s)i.cb(...D),i.once&&r.push(()=>s.splice(s.indexOf(i),1));for(let i of r)i()}unsubscribe(){this.subscribers.clear()}onKeypress(t,D){if(this.state==="error"&&(this.state="active"),D!=null&&D.name&&!this._track&&Su.has(D.name)&&this.emit("cursor",Su.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 s=this.opts.validate(this.value);s&&(this.error=s,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
|
+
`),ae(this.input,!1),this.rl.close(),this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let t=Iu(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
|
|
18
|
+
`).length-1;this.output.write(x.cursor.move(-999,t*-1))}render(){let t=Iu(this._render(this)??"",process.stdout.columns,{hard:!0});if(t!==this._prevFrame){if(this.state==="initial")this.output.write(x.cursor.hide);else{let D=fD(this._prevFrame,t);if(this.restoreCursor(),D&&(D==null?void 0:D.length)===1){let s=D[0];this.output.write(x.cursor.move(0,s)),this.output.write(x.erase.lines(1));let r=t.split(`
|
|
19
|
+
`);this.output.write(r[s]),this._prevFrame=t,this.output.write(x.cursor.move(0,r.length-s-1));return}else if(D&&(D==null?void 0:D.length)>1){let s=D[0];this.output.write(x.cursor.move(0,s)),this.output.write(x.erase.down());let r=t.split(`
|
|
20
20
|
`).slice(s);this.output.write(r.join(`
|
|
21
|
-
`)),this._prevFrame=t;return}this.output.write(
|
|
22
|
-
${
|
|
21
|
+
`)),this._prevFrame=t;return}this.output.write(x.erase.down())}this.output.write(t),this.state==="initial"&&(this.state="active"),this._prevFrame=t}}},le=class extends X{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(x.cursor.move(0,-1)),this.value=D,this.state="submit",this.close()}),this.on("cursor",()=>{this.value=!this.value})}};var he=class extends X{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 pe=class extends X{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}${ce.default.inverse(ce.default.hidden("_"))}`;else{let D=this.value.slice(0,this.cursor),s=this.value.slice(this.cursor);this.valueWithCursor=`${D}${ce.default.inverse(s[0])}${s.slice(1)}`}})}get cursor(){return this._cursor}};function Pu({input:e=L.stdin,output:t=L.stdout,overwrite:D=!0,hideCursor:s=!0}={}){let r=P.createInterface({input:e,output:t,prompt:"",tabSize:1});P.emitKeypressEvents(e,r),e.isTTY&&e.setRawMode(!0);let i=(u,{name:n})=>{if(String(u)===""&&process.exit(0),!D)return;P.moveCursor(t,n==="return"?0:-1,n==="return"?-1:0,()=>{P.clearLine(t,1,()=>{e.once("keypress",i)})})};return s&&process.stdout.write(x.cursor.hide),e.once("keypress",i),()=>{e.off("keypress",i),s&&process.stdout.write(x.cursor.show),r.terminal=!1,r.close()}}var S=B(require("process"),1),o=B(xe(),1),ee=B(ve(),1);function yD(){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 Ne=yD(),y=(e,t)=>Ne?e:t,wD=y("\u25C6","*"),BD=y("\u25A0","x"),$D=y("\u25B2","x"),Me=y("\u25C7","o"),bD=y("\u250C","T"),E=y("\u2502","|"),J=y("\u2514","\u2014"),_e=y("\u25CF",">"),Pe=y("\u25CB"," "),Rs=y("\u25FB","[\u2022]"),qs=y("\u25FC","[+]"),Ls=y("\u25FB","[ ]"),Js=y("\u25AA","\u2022"),Vs=y("\u2500","-"),Hs=y("\u256E","+"),zs=y("\u251C","+"),Gs=y("\u256F","+"),vD=y("\u25CF","\u2022"),AD=y("\u25C6","*"),xD=y("\u25B2","!"),kD=y("\u25A0","x"),Re=e=>{switch(e){case"initial":case"active":return o.default.cyan(wD);case"cancel":return o.default.red(BD);case"error":return o.default.yellow($D);case"submit":return o.default.green(Me)}},Nu=e=>new pe({validate:e.validate,placeholder:e.placeholder,defaultValue:e.defaultValue,initialValue:e.initialValue,render(){var r;let t=`${o.default.gray(E)}
|
|
22
|
+
${Re(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("_")),s=this.value?this.valueWithCursor:D;switch(this.state){case"error":return`${t.trim()}
|
|
24
|
-
${o.default.yellow(
|
|
25
|
-
${o.default.yellow(
|
|
26
|
-
`;case"submit":return`${t}${o.default.gray(
|
|
27
|
-
`+o.default.gray(
|
|
28
|
-
${o.default.cyan(
|
|
29
|
-
`}}}).prompt();var
|
|
30
|
-
${
|
|
31
|
-
`,r=this.value?t:D;switch(this.state){case"submit":return`${s}${o.default.gray(
|
|
32
|
-
${o.default.gray(
|
|
33
|
-
${o.default.cyan(
|
|
34
|
-
`}}}).prompt()},
|
|
35
|
-
${
|
|
36
|
-
`;switch(this.state){case"submit":return`${D}${o.default.gray(
|
|
37
|
-
${o.default.gray(
|
|
38
|
-
${o.default.cyan(
|
|
39
|
-
${o.default.cyan(
|
|
40
|
-
`}}}).prompt()};var
|
|
24
|
+
${o.default.yellow(E)} ${s}
|
|
25
|
+
${o.default.yellow(J)} ${o.default.yellow(this.error)}
|
|
26
|
+
`;case"submit":return`${t}${o.default.gray(E)} ${o.default.dim(this.value||e.placeholder)}`;case"cancel":return`${t}${o.default.gray(E)} ${o.default.strikethrough(o.default.dim(this.value??""))}${(r=this.value)!=null&&r.trim()?`
|
|
27
|
+
`+o.default.gray(E):""}`;default:return`${t}${o.default.cyan(E)} ${s}
|
|
28
|
+
${o.default.cyan(J)}
|
|
29
|
+
`}}}).prompt();var de=e=>{let t=e.active??"Yes",D=e.inactive??"No";return new le({active:t,inactive:D,initialValue:e.initialValue??!0,render(){let s=`${o.default.gray(E)}
|
|
30
|
+
${Re(this.state)} ${e.message}
|
|
31
|
+
`,r=this.value?t:D;switch(this.state){case"submit":return`${s}${o.default.gray(E)} ${o.default.dim(r)}`;case"cancel":return`${s}${o.default.gray(E)} ${o.default.strikethrough(o.default.dim(r))}
|
|
32
|
+
${o.default.gray(E)}`;default:return`${s}${o.default.cyan(E)} ${this.value?`${o.default.green(_e)} ${t}`:`${o.default.dim(Pe)} ${o.default.dim(t)}`} ${o.default.dim("/")} ${this.value?`${o.default.dim(Pe)} ${o.default.dim(D)}`:`${o.default.green(_e)} ${D}`}
|
|
33
|
+
${o.default.cyan(J)}
|
|
34
|
+
`}}}).prompt()},qe=e=>{let t=(D,s)=>{let r=D.label??String(D.value);return s==="active"?`${o.default.green(_e)} ${r} ${D.hint?o.default.dim(`(${D.hint})`):""}`:s==="selected"?`${o.default.dim(r)}`:s==="cancelled"?`${o.default.strikethrough(o.default.dim(r))}`:`${o.default.dim(Pe)} ${o.default.dim(r)}`};return new he({options:e.options,initialValue:e.initialValue,render(){let D=`${o.default.gray(E)}
|
|
35
|
+
${Re(this.state)} ${e.message}
|
|
36
|
+
`;switch(this.state){case"submit":return`${D}${o.default.gray(E)} ${t(this.options[this.cursor],"selected")}`;case"cancel":return`${D}${o.default.gray(E)} ${t(this.options[this.cursor],"cancelled")}
|
|
37
|
+
${o.default.gray(E)}`;default:return`${D}${o.default.cyan(E)} ${this.options.map((s,r)=>t(s,r===this.cursor?"active":"inactive")).join(`
|
|
38
|
+
${o.default.cyan(E)} `)}
|
|
39
|
+
${o.default.cyan(J)}
|
|
40
|
+
`}}}).prompt()};var ue=(e="")=>{process.stdout.write(`${o.default.gray(J)} ${o.default.red(e)}
|
|
41
41
|
|
|
42
|
-
`)},
|
|
43
|
-
`)},
|
|
44
|
-
${o.default.gray(
|
|
42
|
+
`)},Mu=(e="")=>{process.stdout.write(`${o.default.gray(bD)} ${e}
|
|
43
|
+
`)},Le=(e="")=>{process.stdout.write(`${o.default.gray(E)}
|
|
44
|
+
${o.default.gray(J)} ${e}
|
|
45
45
|
|
|
46
|
-
`)},
|
|
47
|
-
`);D.push(`${t} ${s}`,...r.map(i=>`${o.default.gray(
|
|
46
|
+
`)},w={message:(e="",{symbol:t=o.default.gray(E)}={})=>{let D=[`${o.default.gray(E)}`];if(e){let[s,...r]=e.split(`
|
|
47
|
+
`);D.push(`${t} ${s}`,...r.map(i=>`${o.default.gray(E)} ${i}`))}process.stdout.write(`${D.join(`
|
|
48
48
|
`)}
|
|
49
|
-
`)},info:e=>{
|
|
49
|
+
`)},info:e=>{w.message(e,{symbol:o.default.blue(vD)})},success:e=>{w.message(e,{symbol:o.default.green(AD)})},step:e=>{w.message(e,{symbol:o.default.green(Me)})},warn:e=>{w.message(e,{symbol:o.default.yellow(xD)})},warning:e=>{w.warn(e)},error:e=>{w.message(e,{symbol:o.default.red(kD)})}},Oe=Ne?["\u25D2","\u25D0","\u25D3","\u25D1"]:["\u2022","o","O","0"],me=()=>{let e,t,D=Ne?80:120;return{start(s=""){s=s.replace(/\.?\.?\.$/,""),e=Pu(),process.stdout.write(`${o.default.gray(E)}
|
|
50
50
|
${o.default.magenta("\u25CB")} ${s}
|
|
51
|
-
`);let r=0,i=0;t=setInterval(()=>{let u=
|
|
52
|
-
`),r=r===
|
|
53
|
-
${o.default.green(
|
|
54
|
-
`),e()}}};var
|
|
51
|
+
`);let r=0,i=0;t=setInterval(()=>{let u=Oe[r];process.stdout.write(ee.cursor.move(-999,-1)),process.stdout.write(`${o.default.magenta(u)} ${s}${Math.floor(i)>=1?".".repeat(Math.floor(i)).slice(0,3):""}
|
|
52
|
+
`),r=r===Oe.length-1?0:r+1,i=i===Oe.length?0:i+.125},D)},stop(s=""){process.stdout.write(ee.cursor.move(-999,-2)),process.stdout.write(ee.erase.down(2)),clearInterval(t),process.stdout.write(`${o.default.gray(E)}
|
|
53
|
+
${o.default.green(Me)} ${s}
|
|
54
|
+
`),e()}}};var St=B(At(),1),jt=B(kt(),1);function z(e,t,D){let s,r=new Promise(u=>{try{s=(0,St.default)(e,t,{cwd:D,stdio:"ignore"}),s.on("error",n=>{n&&(n.message?w.error(k(String(n.message))+`
|
|
55
55
|
|
|
56
|
-
`):
|
|
56
|
+
`):w.error(k(String(n))+`
|
|
57
57
|
|
|
58
|
-
`)),u(!1)}),s.on("close",n=>{u(n===0)})}catch{u(!1)}});return{abort:async()=>{s&&s.kill("SIGINT")},install:r}}async function
|
|
59
|
-
`)}function
|
|
60
|
-
\u274C ${
|
|
61
|
-
`),process.exit(1)}function
|
|
62
|
-
${
|
|
63
|
-
.::: ${
|
|
64
|
-
.:::: ${
|
|
65
|
-
.:::::. ${
|
|
66
|
-
::::::. ${
|
|
67
|
-
::::::. ${
|
|
68
|
-
::::::. ${
|
|
69
|
-
:::::::. ${
|
|
70
|
-
::::::::.. ${
|
|
71
|
-
.:::::::::. ${
|
|
58
|
+
`)),u(!1)}),s.on("close",n=>{u(n===0)})}catch{u(!1)}});return{abort:async()=>{s&&s.kill("SIGINT")},install:r}}async function Wt(e){let t=(0,eu.join)(e,"package.json");return JSON.parse(await Xe.default.promises.readFile(t,"utf-8"))}async function Tt(e,t){let D=(0,eu.join)(e,"package.json");await Xe.default.promises.writeFile(D,JSON.stringify(t,null,2)+`
|
|
59
|
+
`)}function Ot(e){return new Promise(t=>setTimeout(t,e))}function _t(e){e={...e};let t={name:e.name,version:e.version,description:e.description,scripts:e.scripts,dependencies:e.dependencies,devDependencies:e.devDependencies,main:e.main,qwik:e.qwik,module:e.module,types:e.types,exports:e.exports,files:e.files,engines:{node:">=15.0.0"}};Object.keys(t).forEach(s=>{delete e[s]}),delete e.__qwik__;let D=Object.keys(e).sort();for(let s of D)t[s]=e[s];return t}function Pt(e){return e.toLocaleLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}function R(){var e;return((e=(0,jt.default)())==null?void 0:e.name)||"npm"}function G(e){console.error(`
|
|
60
|
+
\u274C ${k(e)}
|
|
61
|
+
`),process.exit(1)}function Nt(){console.log(Eu(`
|
|
62
|
+
${A("............")}
|
|
63
|
+
.::: ${A(":--------:.")}
|
|
64
|
+
.:::: ${A(".:-------:.")}
|
|
65
|
+
.:::::. ${A(".:-------.")}
|
|
66
|
+
::::::. ${A(".:------.")}
|
|
67
|
+
::::::. ${A(":-----:")}
|
|
68
|
+
::::::. ${A(".:-----.")}
|
|
69
|
+
:::::::. ${A(".-----.")}
|
|
70
|
+
::::::::.. ${A("---:.")}
|
|
71
|
+
.:::::::::. ${A(":-:.")}
|
|
72
72
|
..::::::::::::
|
|
73
73
|
...::::
|
|
74
74
|
`),`
|
|
75
|
-
`)}function
|
|
75
|
+
`)}function Ds(){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 Qe="\u2502",It=e=>e.replace(Ds(),""),uu=(e="",t="")=>{let D=`
|
|
76
76
|
${e}
|
|
77
77
|
`.split(`
|
|
78
|
-
`),s=D.reduce((i,u)=>(u=
|
|
79
|
-
`);process.stdout.write(`${
|
|
80
|
-
${
|
|
78
|
+
`),s=D.reduce((i,u)=>(u=It(u),u.length>i?u.length:i),0)+2,r=D.map(i=>`${_(Qe)} ${yu(i)}${" ".repeat(s-It(i).length)}${_(Qe)}`).join(`
|
|
79
|
+
`);process.stdout.write(`${_(Qe)}
|
|
80
|
+
${gu("\u25CB")} ${mu(t)} ${_("\u2500".repeat(s-t.length-1)+"\u256E")}
|
|
81
81
|
${r}
|
|
82
|
-
${
|
|
83
|
-
`)};var
|
|
84
|
-
`)}var
|
|
82
|
+
${_("\u251C"+"\u2500".repeat(s+2)+"\u256F")}
|
|
83
|
+
`)};var ge=B(require("fs"),1),fe=require("path");var tu=null;async function U(){if(!tu){let e=[],t=["app","feature","adapter"],D=(0,fe.join)(__dirname,"starters"),s=await ge.default.promises.readdir(D);await Promise.all(s.map(async r=>{let i=r.slice(0,r.length-1);if(t.includes(i)){let u=(0,fe.join)(D,r),n=await ge.default.promises.readdir(u);await Promise.all(n.map(async a=>{var l,p,F;let c=(0,fe.join)(u,a);if((await ge.default.promises.stat(c)).isDirectory()){let $=await Wt(c),M={id:a,name:((l=$.__qwik__)==null?void 0:l.displayName)??Pt(a),type:i,dir:c,pkgJson:$,docs:((p=$.__qwik__)==null?void 0:p.docs)??[],priority:((F=$==null?void 0:$.__qwik__)==null?void 0:F.priority)??0};e.push(M)}}))}})),e.sort((r,i)=>r.priority>i.priority?-1:r.priority<i.priority?1:r.id<i.id?-1:1),tu=e}return tu}function Mt(e){let t=[];return e.length>0&&(t.push(`\u{1F4C4} ${I("Relevant docs:")}`),e.forEach(D=>{t.push(` ${D}`)})),t.push(""),t.push(`\u{1F4AC} ${I("Questions? Start the conversation at:")}`),t.push(" https://qwik.builder.io/chat"),t.push(" https://twitter.com/QwikDev"),t.push(""),t.join(`
|
|
84
|
+
`)}var Lt=require("path"),su=B(require("fs"),1);var q=B(require("fs"),1),Rt=B(require("os"),1),j=B(require("path"),1);function te(e,t){return z(e,["install"],t)}function qt(e,t){let{tmpInstallDir:D}=ss(t),{install:s,abort:r}=te(e,D);return{abort:r,complete:async u=>{let n=!1;try{if(await s){let c=j.default.join(D,"node_modules"),h=j.default.join(u,"node_modules");await q.default.promises.rename(c,h);try{await q.default.promises.rename(j.default.join(D,"package-lock.json"),j.default.join(u,"package-lock.json"))}catch{}try{await q.default.promises.rename(j.default.join(D,"yarn.lock"),j.default.join(u,"yarn.lock"))}catch{}try{await q.default.promises.rename(j.default.join(D,"pnpm-lock.yaml"),j.default.join(u,"pnpm-lock.yaml"))}catch{}n=!0}}catch(a){a&&(a.message?w.error(k(String(a.message))+`
|
|
85
85
|
|
|
86
|
-
`):
|
|
86
|
+
`):w.error(k(String(a))+`
|
|
87
87
|
|
|
88
|
-
`))}if(!n){let a=`${
|
|
89
|
-
You might need to run ${
|
|
88
|
+
`))}if(!n){let a=`${oe(` ${e} install failed `)}
|
|
89
|
+
You might need to run ${I(`"${e} install"`)} manually inside the root of the project.
|
|
90
90
|
|
|
91
|
-
`;
|
|
92
|
-
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function
|
|
93
|
-
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}function
|
|
91
|
+
`;w.error(a)}return n}}}function ss(e){let t="create-qwik-"+Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36).toLowerCase(),D=j.default.join(Rt.default.tmpdir(),t);try{q.default.mkdirSync(D)}catch(i){w.error(`\u274C ${k(String(i))}`)}let s=j.default.join(e.dir,"package.json"),r=j.default.join(D,"package.json");return q.default.copyFileSync(s,r),{tmpInstallDir:D}}var v=B(require("fs"),1),De=require("path");async function Du(e,t,D,s){let r=await v.default.promises.readdir(D);await Promise.all(r.map(async i=>{let u=i==="gitignore"?".gitignore":i,n=(0,De.extname)(u),a=(0,De.join)(D,i),c=(0,De.join)(s,u),h=await v.default.promises.stat(a);h.isDirectory()?await Du(e,t,a,c):h.isFile()&&(u==="package.json"?await rs(e,a,c):u==="settings.json"?await is(e,a,c):u==="README.md"?await os(e,a,c):u===".gitignore"||u===".prettierignore"||u===".eslintignore"?await as(e,a,c):n===".css"?await cs(e,a,c):v.default.existsSync(c)?e.files.push({path:c,content:await v.default.promises.readFile(a),type:"overwrite"}):e.files.push({path:c,content:await v.default.promises.readFile(a),type:"create"}))}))}async function rs(e,t,D){var r;let s=await v.default.promises.readFile(t,"utf-8");try{let i=JSON.parse(s),u=["scripts","dependencies","devDependencies"],n=JSON.parse(await v.default.promises.readFile(D,"utf-8"));if(u.forEach(a=>{ns(i,n,a)}),(r=n.scripts)!=null&&r.qwik){let a=n.scripts.qwik;delete n.scripts.qwik,n.scripts.qwik=a}e.files.push({path:D,content:JSON.stringify(n,null,2)+`
|
|
92
|
+
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function is(e,t,D){let s=await v.default.promises.readFile(t,"utf-8");try{let r=JSON.parse(s),i=JSON.parse(await v.default.promises.readFile(D,"utf-8"));Object.assign(r,i),e.files.push({path:D,content:JSON.stringify(r,null,2)+`
|
|
93
|
+
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}function ns(e,t,D){if(e[D]){t[D]?Object.assign(t[D],{...e[D]}):t[D]={...e[D]};let s={},r=Object.keys(t[D]).sort();for(let i of r)s[i]=t[D][i];t[D]=s}}async function os(e,t,D){let s=await v.default.promises.readFile(t,"utf-8"),r,i="";try{i=await v.default.promises.readFile(D,"utf-8"),i=i.trim()+`
|
|
94
94
|
|
|
95
|
-
`+s,r="modify"}catch{i=s,r="create"}let u=
|
|
96
|
-
`,type:r})}async function
|
|
95
|
+
`+s,r="modify"}catch{i=s,r="create"}let u=R();u!=="npm"&&(i=i.replace(/npm run/g,u)),e.files.push({path:D,content:i.trim()+`
|
|
96
|
+
`,type:r})}async function as(e,t,D){let s=await v.default.promises.readFile(t,"utf-8");try{let r=await v.default.promises.readFile(D,"utf-8"),i=s.trim().split(/\r?\n/),u=r.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(`
|
|
97
97
|
`).trim()+`
|
|
98
|
-
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function
|
|
98
|
+
`,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function cs(e,t,D){let s=await v.default.promises.readFile(t,"utf-8");try{let r=await v.default.promises.readFile(D,"utf-8"),i=s.trim()+`
|
|
99
99
|
|
|
100
100
|
`+r.trim()+`
|
|
101
|
-
`;e.files.push({path:D,content:i,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function
|
|
102
|
-
You might need to run "${
|
|
103
|
-
`)}async function su(e){let t=M();if(!Jt(e.starterId))throw new Error("Missing starter id");if(!Jt(e.outDir))throw new Error("Missing outDir");if(!(0,_.isAbsolute)(e.outDir))throw new Error("outDir must be an absolute path");Du.default.existsSync(e.outDir)||Du.default.mkdirSync(decodeURIComponent(e.outDir),{recursive:!0});let D={starterId:e.starterId,outDir:e.outDir,docs:[]},s=(await K()).filter(i=>i.type==="app");if(e.starterId==="library"){let i=s.find(u=>u.id==="library");if(!i)throw new Error("Unable to find base app");await Wt(t,D,i)}else{let i=s.find(n=>n.id==="base");if(!i)throw new Error("Unable to find base app");let u=s.find(n=>n.id===e.starterId);if(!u)throw new Error(`Invalid starter id "${e.starterId}". It can only be one of${s.map(n=>` "${n.id}"`)}.`);await Wt(t,D,i,u)}return D}async function Wt(e,t,D,s){t.docs.push(...D.docs);let r=s??D,i=Ot({...D.pkgJson,name:`my-${r.pkgJson.name}`,description:r.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 Du.default.promises.writeFile(u,""),await(await De(e,{rootDir:t.outDir,integration:D.id,installDeps:!1})).commit(!1),s&&(t.docs.push(...s.docs),await(await De(e,{rootDir:t.outDir,integration:s.id,installDeps:!1})).commit(!1))}function Jt(e){return typeof e=="string"&&e.trim().length>0}function ie(e){return e.startsWith("~/")?(0,_.resolve)(Lt.default.homedir(),e):(0,_.resolve)(process.cwd(),e)}function as(){return cs()}function cs(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var Y=y(require("fs")),ru=require("path");async function ne(){Pe(`Let's create a ${fu(" Qwik App ")} \u2728 (v1.2.5)`),await It(500);let e="./qwik-app",t=await Te({message:`Where would you like to create your new project? ${T("(Use '.' or './' for current directory)")}`,placeholder:e})||e;N(t)&&(uu("Operation cancelled."),process.exit(0));let D=M(),r=(await K()).filter($=>$.type==="app"),i=r.find($=>$.id==="base"),u=r.filter($=>$.id!==i.id),n=Mt(D,i),a=ie(t.trim());B.info(`Creating new project in ${fu(" "+a+" ")} ... \u{1F407}`);let c=null;if(Y.default.existsSync(a)&&Y.default.readdirSync(a).length>0){let $=await qu({message:`Directory "./${(0,ru.relative)(process.cwd(),a)}" already exists and is not empty. What would you like to do?`,options:[{value:"exit",label:"Do not overwrite this directory and exit"},{value:"replace",label:"Remove contents of this directory"}]});(N($)||$==="exit")&&(uu("Operation cancelled."),process.exit(0)),$==="replace"&&(c=Y.default.promises.readdir(a).then(W=>Promise.all(W.map(Vt=>Y.default.promises.rm((0,ru.join)(a,Vt),{recursive:!0})))))}let p=await qu({message:"Select a starter",options:u.map($=>{var W;return{label:$.name,value:$.id,hint:(W=$.pkgJson)==null?void 0:W.description}})});N(p)&&(uu("Operation cancelled."),process.exit(0));let l=p,F=await Mu({message:`Would you like to install ${D} dependencies?`,initialValue:!0});N(F)&&(uu("Operation cancelled."),process.exit(0));let C=await Mu({message:"Initialize a new git repository?",initialValue:!0});c&&await c;let w=F;w||n.abort();let R={starterId:l,outDir:a},O=hu();O.start("Creating App...");let iu=await su(R);if(O.stop("App Created \u{1F430}"),C)if(Y.default.existsSync((0,ru.join)(a,".git")))B.info("Git has already been initialized before. Skipping...");else{O.start("Git initializing...");try{let $=[];if($.push(await G("git",["init"],a).install),$.push(await G("git",["add","-A"],a).install),$.push(await G("git",["commit","-m","Initial commit \u26A1\uFE0F"],a).install),$.some(W=>W===!1))throw"";O.stop("Git initialized \u{1F3B2}")}catch{O.stop("Git failed to initialize"),B.error(x("Git failed to initialize. You can do this manually by running: git init"))}}let H=!1;return w&&(O.start(`Installing ${D} dependencies...`),H=await n.complete(iu.outDir),H&&(H=await eu(D,iu.outDir).install),O.stop(`${H?"Installed":"Failed to install"} ${D} dependencies \u{1F4CB}`)),Pt(re(D,iu,H),"Result"),Wu("Happy coding! \u{1F407}"),iu}async function ls(){console.clear(),Tt(),ps();try{let e=process.argv.slice(2);e.length>=2?await se(e[0],e[1]):await ne()}catch(e){U(e.message||e)}}function ps(){let e=process.version,[t,D]=e.replace("v","").split(".");Number(t)<16?(console.error(x(`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(me(`Node.js 16.8 or higher is recommended. You are currently running Node.js ${e}.`)):Number(t)===18&&Number(D)<11&&console.error(x(`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});
|
|
101
|
+
`;e.files.push({path:D,content:i,type:"modify"})}catch{e.files.push({path:D,content:s,type:"create"})}}async function ru(e,t){let s=(await U()).find(n=>n.id===t.integration);if(!s)throw new Error(`Unable to find integration "${t.integration}"`);let r={files:[],installedDeps:{},installedScripts:Object.keys(s.pkgJson.scripts||{})};t.installDeps&&(r.installedDeps={...s.pkgJson.dependencies,...s.pkgJson.devDependencies}),await Du(r,t,s.dir,t.rootDir);let i=async n=>{let a=Object.keys(r.installedDeps).length>0,c=me();n&&c.start(`Updating app${a?" and installing dependencies":""}...`);let h=!0;try{let l=new Set(r.files.map(F=>(0,Lt.dirname)(F.path)));for(let F of Array.from(l))try{su.default.mkdirSync(F,{recursive:!0})}catch{}let p=Promise.all(r.files.map(async F=>{await su.default.promises.writeFile(F.path,F.content)}));if(t.installDeps&&Object.keys(r.installedDeps).length>0){let{install:F}=te(e,t.rootDir);h=await F}if(await p,n&&c.stop("App updated"),!h){let F=`${oe(` ${e} install failed `)}
|
|
102
|
+
You might need to run "${I(`${e} install`)}" manually inside the root of the project.`;w.error(F)}}catch(l){n&&c.stop("App updated"),G(String(l))}};return{rootDir:t.rootDir,integration:s,updates:r,commit:i}}var Ht=B(require("os"));async function iu(e,t){ls()?t=process.cwd():(t=ou(t),K.default.existsSync(t)&&K.default.readdirSync(t).length>0&&G(`Directory "${t}" already exists. Please either remove this directory, or choose another location.`));let D=R(),r=await se({starterId:e,outDir:t});return nu(D,r,!1),r}function nu(e,t,D){let s=process.cwd()===t.outDir,r=(0,T.relative)(process.cwd(),t.outDir),i=[];s?i.push(`\u{1F984} ${Be(" Success! ")}`):i.push(`\u{1F984} ${Be(" Success! ")} ${I("Project created in")} ${Cu(A(r))} ${I("directory")}`),i.push(""),i.push(`\u{1F430} ${I("Next steps:")}`),s||i.push(` cd ${r}`),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} ${I("Integrations? Add Netlify, Cloudflare, Tailwind...")}`),i.push(` ${u}`),i.push(""),i.push(Mt(t.docs)),i.push(`\u{1F440} ${I("Presentations, Podcasts and Videos:")}`),i.push(" https://qwik.builder.io/media/"),i.push(""),i.join(`
|
|
103
|
+
`)}async function se(e){let t=R();if(!Vt(e.starterId))throw new Error("Missing starter id");if(!Vt(e.outDir))throw new Error("Missing outDir");if(!(0,T.isAbsolute)(e.outDir))throw new Error("outDir must be an absolute path");K.default.existsSync(e.outDir)||K.default.mkdirSync(decodeURIComponent(e.outDir),{recursive:!0});let D={starterId:e.starterId,outDir:e.outDir,docs:[]},s=(await U()).filter(i=>i.type==="app");if(e.starterId==="library"){let i=s.find(u=>u.id==="library");if(!i)throw new Error("Unable to find base app");await Jt(t,D,i)}else{let i=s.find(n=>n.id==="base");if(!i)throw new Error("Unable to find base app");let u=s.find(n=>n.id===e.starterId);if(!u)throw new Error(`Invalid starter id "${e.starterId}". It can only be one of${s.map(n=>` "${n.id}"`)}.`);await Jt(t,D,i,u)}return D}async function Jt(e,t,D,s){t.docs.push(...D.docs);let r=s??D,i=_t({...D.pkgJson,name:`my-${r.pkgJson.name}`,description:r.pkgJson.description,scripts:void 0,dependencies:void 0,devDependencies:void 0});await Tt(t.outDir,i);let u=(0,T.join)(t.outDir,"README.md");await K.default.promises.writeFile(u,""),await(await ru(e,{rootDir:t.outDir,integration:D.id,installDeps:!1})).commit(!1),s&&(t.docs.push(...s.docs),await(await ru(e,{rootDir:t.outDir,integration:s.id,installDeps:!1})).commit(!1))}function Vt(e){return typeof e=="string"&&e.trim().length>0}function ou(e){return e.startsWith("~/")?(0,T.resolve)(Ht.default.homedir(),e):(0,T.resolve)(process.cwd(),e)}function ls(){return hs()}function hs(){try{return process.cwd().startsWith("/home/projects/")}catch{}return!1}var Y=B(require("fs")),re=require("path");var au=[["Dad, can you put my shoes on?","I don't think they'll fit me."],["What do ghosts call their true love?","Their ghoul-friend"],["How do the trees get on the internet?","They log on."],["Lady: How do I spread love in this cruel world?","Random Dude: [...\u{1F498}]"],["How do you find Will Smith in the snow?"," Look for fresh prints."],["Why did the mushroom get invited to the party?","Because he was a fungi."],["Why is peter pan always flying?","Because he neverlands"],["How do you know if there\u2019s an elephant under your bed?","Your head hits the ceiling!"],["How do you fix a broken pizza?","With tomato paste."],["Why did the butcher work extra hours at the shop?","To make ends meat."],["What time is it?","I don't know... it keeps changing."],["What did the traffic light say to the car as it passed?","Don't look I'm changing!"],["What do you call someone with no nose?","Nobody knows."],["Why did the worker get fired from the orange juice factory?","Lack of concentration."],["What did the say to the ?","Nice belt."],["What animal is always at a game of cricket?","A bat."],["Why did the tomato blush?","Because it saw the salad dressing."],["What\u2019s E.T. short for?","He\u2019s only got little legs."],["What did the beaver say to the tree?","It's been nice gnawing you."],["What do you call a girl between two posts?","Annette."],["What do you call a boomerang that won't come back?","A stick."],["What do you do on a remote island?","Try and find the TV island it belongs to."],["Why did the barber win the race?","He took a short cut."],["Do you want a brief explanation of what an acorn is?","In a nutshell, it's an oak tree."],["What do you call a belt made out of watches?","A waist of time."],["How many lips does a flower have?","Tulips"],["Did you hear about the guy who invented Lifesavers?","They say he made a mint."],["I Got Hit In the Head By A Soda Can, But It Didn't Hurt That Much...","It was a soft drink."],["When a dad drives past a graveyard: Did you know that's a popular cemetery?","Yep, people are just dying to get in there"],["What did the fish say when it hit the wall?","Dam."],["Want to hear a joke about a piece of paper?","Never mind...it's tearable"],["What did the big flower say to the littler flower?","Hi, bud!"],["What has ears but cannot hear?","A field of corn."],["What's the best thing about elevator jokes?","They work on so many levels."],["Why can't your nose be inches long?","Because then it'd be a foot!"],["Why does Superman get invited to dinners?","Because he is a Supperhero."],["What's red and bad for your teeth?","A Brick."],["What's the difference between a guitar and a fish?",`You can tune a guitar but you can't "tuna"fish!`],["Why did the coffee file a police report?","It got mugged."],["What do you do when you see a space man?","Park your car, man."],["What do you give a sick lemon?","Lemonaid."],["Where do rabbits go after they get married?","On a bunny-moon."],["What creature is smarter than a talking parrot?","A spelling bee."],["How does the moon cut his hair?","Eclipse it."],["What do you get when you cross a chicken with a skunk?","A fowl smell!"],["Why do crabs never give to charity?","Because they\u2019re shellfish."],["did you know the first French fries weren't cooked in France?","they were cooked in Greece"],["Did you hear that the police have a warrant out on a midget psychic ripping people off?",'It reads "Small medium at large."'],["A termite walks into a bar and says...","'Where is the bar tended?'"],["Why do chicken coops only have two doors?","Because if they had four, they would be chicken sedans"],["What's the best thing about a Boolean?","Even if you're wrong, you're only off by a bit."],["If you put a million monkeys at a million keyboards, one of them will eventually write a Java program","the rest of them will write Perl"],["How many programmers does it take to change a lightbulb?","None that's a hardware problem"],["A user interface is like a joke.","If you have to explain it then it is not that good."],["['hip', 'hip']","(hip hip array)"],["A SQL query walks into a bar, walks up to two tables and asks...","'Can I join you?'"],["Which song would an exception sing?","Can't catch me - Avicii"],["Why do C# and Java developers keep breaking their keyboards?","Because they use a strongly typed language."],["What's the object-oriented way to become wealthy?","Inheritance"],["Where do programmers like to hangout?","The Foo Bar."],["Why do Java programmers wear glasses?","Because they don't C#"],["To understand what recursion is...","You must first understand what recursion is"],["The punchline often arrives before the set-up.","Do you know the problem with UDP jokes?"],["Why did the programmer quit his job?","Because he didn't get arrays."],["How do you check if a webpage is HTML?","Try it out on Internet Explorer"],["There are 10 types of people in this world...","Those who understand binary and those who don't"],["Why do programmers always mix up Halloween and Christmas?","Because Oct == Dec "],["I was gonna tell you a joke about UDP...","...but you might not get it."],["How do you get a squirrel to like you"," Act like a nut."],["Why did the math book look so sad"," Because of all of its problems!"],["What's the best way to watch a fly fishing tournament"," Live stream."],["Why couldn't the bicycle stand up by itself"," It was two tired."],["Why did the scarecrow win an award"," Because he was outstanding in his field."],["I ordered a chicken and an egg online. I\u2019ll let you know."," I\u2019ll let you know"],["How do you make a Kleenex dance"," Put a little boogie in it!"],["I'm reading a book about anti-gravity. It's impossible to put down!"," It's impossible to put down!"],["Why can't you hear a psychiatrist using the bathroom"," Because the 'P' is silent."],["I like telling Dad jokes. Sometimes he laughs!"," Sometimes he laughs!"],["I'm so good at sleeping, I can do it with my eyes closed!"," I can do it with my eyes closed!"],["How do you make a tissue dance"," You put a little boogie in it."],["What do you call cheese that isn't yours"," Nacho cheese."],["What kind of shoes do ninjas wear"," Sneakers!"],["What do you call a fake noodle"," An impasta."],["I made a pencil with two erasers. It was pointless."," It was pointless"],["I've got a great joke about construction, but I'm still working on it.",""],["Did I tell you the time I fell in love during a backflip"," I was heels over head!"],["What\u2019s an astronaut\u2019s favorite part of a computer"," The space bar."],["What time did the man go to the dentist"," Tooth hurt-y."],["It's inappropriate to make a 'dad joke' if you're not a dad. It's a faux pa."," It's a faux pa"],["What did the fish say when he hit the wall"," Dam."],["I don't trust stairs. They're always up to something."," They're always up to something"],["What do you call someone with no body and no nose"," Nobody knows."],["Did you hear the rumor about butter"," Well, I'm not going to spread it!"],["I used to hate facial hair...but then it grew on me.",null],["What's brown and sticky"," A stick."],["Can February March"," No, but April May!"],["Don't trust atoms. They make up everything!"," They make up everything!"],["Why don't eggs tell jokes"," They'd crack each other up."],["Did you hear about the circus fire"," It was in tents."],["How do lawyers say goodbye"," We'll be suing ya!"],["When does a joke become a dad joke"," When it becomes apparent."],["Wanna hear a joke about paper"," Never mind\u2014it's tearable."],["What did the coffee report to the police"," A mugging."],["Dad, can you put my shoes on","No, I don't think they'll fit me."],["How many tickles does it take to make an octopus laugh"," Ten tickles."],["Dad, did you get a haircut","No, I got them all cut!"],["My wife is really mad at the fact that I have no sense of direction."," So I packed up my stuff and right!"],["Why do bees have sticky hair"," Because they use a honeycomb."],["Which state has the most streets"," Rhode Island."],["I'm on a seafood diet. I see food and I eat it."," I see food and I eat it"],["Did you hear about the guy who invented the knock-knock joke"," He won the 'no-bell' prize."],["How does a penguin build its house"," Igloos it together."],["What do you call an elephant that doesn't matter"," An irrelephant."],["I wouldn't buy anything with velcro. It's a total rip-off."," It's a total rip-off"],["Dad, can you put the cat out","I didn't know it was on fire."],["What concert costs just 45 cents"," 50 Cent featuring Nickelback!"],["Why are elevator jokes so classic and good"," They work on many levels."],["Is this pool safe for diving"," It deep ends."],[`Knock knock.
|
|
104
|
+
Who's there?
|
|
105
|
+
Cows go.
|
|
106
|
+
Cows go who?`,"No, cows go moo."],[`Knock knock.
|
|
107
|
+
Who's there?
|
|
108
|
+
Little old lady.
|
|
109
|
+
Little old lady who?`,"I didn't know you could yodel!"],[`Knock knock.
|
|
110
|
+
Who's there?
|
|
111
|
+
A broken pencil.
|
|
112
|
+
A broken pencil who?`,"Never mind. It's pointless."],[`Knock knock.
|
|
113
|
+
Who's there?
|
|
114
|
+
Opportunity.`,"That is impossible. Opportunity doesn\u2019t come knocking twice!"],[`Knock knock.
|
|
115
|
+
Who's there?
|
|
116
|
+
Hatch.
|
|
117
|
+
Hatch who?`,"Bless you!"]];function zt(){let e=Math.floor(Math.random()*au.length);return au[e]}async function cu(){Mu(`Let's create a ${we(" Qwik App ")} \u2728 (v1.2.6)`),await Ot(500);let e="./qwik-app",t=await Nu({message:`Where would you like to create your new project? ${_("(Use '.' or './' for current directory)")}`,placeholder:e})||e;N(t)&&(ue("Operation cancelled."),process.exit(0));let D=R(),r=(await U()).filter(m=>m.type==="app"),i=r.find(m=>m.id==="base"),u=r.filter(m=>m.id!==i.id),n=qt(D,i),a=ou(t.trim());w.info(`Creating new project in ${we(" "+a+" ")} ... \u{1F407}`);let c=null;if(Y.default.existsSync(a)&&Y.default.readdirSync(a).length>0){let m=await qe({message:`Directory "./${(0,re.relative)(process.cwd(),a)}" already exists and is not empty. What would you like to do?`,options:[{value:"exit",label:"Do not overwrite this directory and exit"},{value:"replace",label:"Remove contents of this directory"}]});(N(m)||m==="exit")&&(ue("Operation cancelled."),process.exit(0)),m==="replace"&&(c=Y.default.promises.readdir(a).then(O=>Promise.all(O.map(Ee=>Y.default.promises.rm((0,re.join)(a,Ee),{recursive:!0})))))}let h=await qe({message:"Select a starter",options:u.map(m=>{var O;return{label:m.name,value:m.id,hint:(O=m.pkgJson)==null?void 0:O.description}})});N(h)&&(ue("Operation cancelled."),process.exit(0));let l=h,p=await de({message:`Would you like to install ${D} dependencies?`,initialValue:!0});N(p)&&(ue("Operation cancelled."),process.exit(0));let F=await de({message:"Initialize a new git repository?",initialValue:!0});c&&await c;let $=p;if(!$)n.abort();else try{let m=await de({message:"Finishing the install. Wanna hear a joke?",initialValue:!0});if(!N(m)&&m){let[O,Ee]=zt();uu(A(`${O.trim()}
|
|
118
|
+
${Ee.trim()}`),"\u{1F648}")}}catch{}let M={starterId:l,outDir:a},W=me();W.start("Creating App...");let ie=await se(M);if(W.stop("App Created \u{1F430}"),F)if(Y.default.existsSync((0,re.join)(a,".git")))w.info("Git has already been initialized before. Skipping...");else{W.start("Git initializing...");try{let m=[];if(m.push(await z("git",["init"],a).install),m.push(await z("git",["add","-A"],a).install),m.push(await z("git",["commit","-m","Initial commit \u26A1\uFE0F"],a).install),m.some(O=>O===!1))throw"";W.stop("Git initialized \u{1F3B2}")}catch{W.stop("Git failed to initialize"),w.error(k("Git failed to initialize. You can do this manually by running: git init"))}}let Z=!1;return $&&(W.start(`Installing ${D} dependencies...`),Z=await n.complete(ie.outDir),Z&&(Z=await te(D,ie.outDir).install),W.stop(`${Z?"Installed":"Failed to install"} ${D} dependencies \u{1F4CB}`)),uu(nu(D,ie,Z),"Result"),Le("Happy coding! \u{1F407}"),ie}async function Fs(){console.clear(),Nt(),ds();try{let e=process.argv.slice(2);e.length>=2?await iu(e[0],e[1]):await cu()}catch(e){G(e.message||e)}}function ds(){let e=process.version,[t,D]=e.replace("v","").split(".");Number(t)<16?(console.error(k(`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(fu(`Node.js 16.8 or higher is recommended. You are currently running Node.js ${e}.`)):Number(t)===18&&Number(D)<11&&console.error(k(`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
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"qwik": "qwik"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@builder.io/qwik": "^1.2.
|
|
20
|
-
"@builder.io/qwik-city": "^1.2.
|
|
19
|
+
"@builder.io/qwik": "^1.2.6",
|
|
20
|
+
"@builder.io/qwik-city": "^1.2.6",
|
|
21
21
|
"@types/eslint": "8.40.2",
|
|
22
|
-
"@types/node": "^20.
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
24
|
-
"@typescript-eslint/parser": "5.
|
|
25
|
-
"eslint-plugin-qwik": "^1.2.
|
|
22
|
+
"@types/node": "^20.4.0",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "5.61.0",
|
|
24
|
+
"@typescript-eslint/parser": "5.61.0",
|
|
25
|
+
"eslint-plugin-qwik": "^1.2.6",
|
|
26
26
|
"eslint": "8.44.0",
|
|
27
27
|
"undici": "5.22.1",
|
|
28
28
|
"prettier": "2.8.8",
|
|
29
29
|
"typescript": "5.1.6",
|
|
30
|
-
"vite": "4.
|
|
30
|
+
"vite": "4.4.0",
|
|
31
31
|
"vite-tsconfig-paths": "4.2.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -32,18 +32,19 @@
|
|
|
32
32
|
"release": "np"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@builder.io/qwik": "1.2.
|
|
35
|
+
"@builder.io/qwik": "1.2.6",
|
|
36
36
|
"@types/eslint": "8.40.2",
|
|
37
|
-
"@types/node": "^20.
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
39
|
-
"@typescript-eslint/parser": "5.
|
|
37
|
+
"@types/node": "^20.4.0",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "5.61.0",
|
|
39
|
+
"@typescript-eslint/parser": "5.61.0",
|
|
40
40
|
"eslint-plugin-qwik": "latest",
|
|
41
41
|
"eslint": "8.44.0",
|
|
42
42
|
"undici": "5.22.1",
|
|
43
43
|
"np": "7.6.1",
|
|
44
44
|
"prettier": "2.8.8",
|
|
45
45
|
"typescript": "5.1.6",
|
|
46
|
-
"vite": "4.
|
|
46
|
+
"vite": "4.4.0",
|
|
47
|
+
"vite-tsconfig-paths": "4.2.0"
|
|
47
48
|
},
|
|
48
49
|
"__qwik__": {
|
|
49
50
|
"displayName": "Component library",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineConfig } from "vite";
|
|
2
2
|
import { qwikVite } from "@builder.io/qwik/optimizer";
|
|
3
|
+
import tsconfigPaths from "vite-tsconfig-paths";
|
|
3
4
|
|
|
4
5
|
export default defineConfig(() => {
|
|
5
6
|
return {
|
|
@@ -11,6 +12,6 @@ export default defineConfig(() => {
|
|
|
11
12
|
fileName: (format) => `index.qwik.${format === "es" ? "mjs" : "cjs"}`,
|
|
12
13
|
},
|
|
13
14
|
},
|
|
14
|
-
plugins: [qwikVite()],
|
|
15
|
+
plugins: [qwikVite(), tsconfigPaths()],
|
|
15
16
|
};
|
|
16
17
|
});
|
|
@@ -2,9 +2,10 @@ import { defineConfig } from "vite";
|
|
|
2
2
|
import { qwikVite } from "@builder.io/qwik/optimizer";
|
|
3
3
|
import { qwikCity } from "@builder.io/qwik-city/vite";
|
|
4
4
|
import { builderDevTools } from "@builder.io/dev-tools/vite";
|
|
5
|
+
import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
6
|
|
|
6
7
|
export default defineConfig(() => {
|
|
7
8
|
return {
|
|
8
|
-
plugins: [builderDevTools(), qwikCity(), qwikVite()],
|
|
9
|
+
plugins: [builderDevTools(), qwikCity(), qwikVite(), tsconfigPaths()],
|
|
9
10
|
};
|
|
10
11
|
});
|