nhqydlsh 0.0.5 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.js +32 -29
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,33 +1,36 @@
1
- import{createRequire as _H}from"node:module";var oH=Object.create;var{getPrototypeOf:rH,defineProperty:d$,getOwnPropertyNames:XH}=Object;var dH=Object.prototype.hasOwnProperty;var M=(T,H,D)=>{D=T!=null?oH(rH(T)):{};let L=H||!T||!T.__esModule?d$(D,"default",{value:T,enumerable:!0}):D;for(let p of XH(T))if(!dH.call(L,p))d$(L,p,{get:()=>T[p],enumerable:!0});return L};var P=(T,H)=>()=>(H||T((H={exports:{}}).exports,H),H.exports);var X=_H(import.meta.url);var Q=P((MT,_$)=>{var U={to(T,H){if(!H)return`\x1B[${T+1}G`;return`\x1B[${H+1};${T+1}H`},move(T,H){let D="";if(T<0)D+=`\x1B[${-T}D`;else if(T>0)D+=`\x1B[${T}C`;if(H<0)D+=`\x1B[${-H}A`;else if(H>0)D+=`\x1B[${H}B`;return D},up:(T=1)=>`\x1B[${T}A`,down:(T=1)=>`\x1B[${T}B`,forward:(T=1)=>`\x1B[${T}C`,backward:(T=1)=>`\x1B[${T}D`,nextLine:(T=1)=>"\x1B[E".repeat(T),prevLine:(T=1)=>"\x1B[F".repeat(T),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},tH={up:(T=1)=>"\x1B[S".repeat(T),down:(T=1)=>"\x1B[T".repeat(T)},xH={screen:"\x1B[2J",up:(T=1)=>"\x1B[1J".repeat(T),down:(T=1)=>"\x1B[J".repeat(T),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(T){let H="";for(let D=0;D<T;D++)H+=this.line+(D<T-1?U.up():"");if(T)H+=U.left;return H}};_$.exports={cursor:U,scroll:tH,erase:xH,beep:"\x07"}});var w=P((FT,y)=>{var W=process||{},t$=W.argv||[],b=W.env||{},PH=!(!!b.NO_COLOR||t$.includes("--no-color"))&&(!!b.FORCE_COLOR||t$.includes("--color")||W.platform==="win32"||(W.stdout||{}).isTTY&&b.TERM!=="dumb"||!!b.CI),AH=(T,H,D=T)=>(L)=>{let p=""+L,e=p.indexOf(H,T.length);return~e?T+IH(p,H,D,e)+H:T+p+H},IH=(T,H,D,L)=>{let p="",e=0;do p+=T.substring(e,L)+D,e=L+H.length,L=T.indexOf(H,e);while(~L);return p+T.substring(e)},x$=(T=PH)=>{let H=T?AH:()=>String;return{isColorSupported:T,reset:H("\x1B[0m","\x1B[0m"),bold:H("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:H("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:H("\x1B[3m","\x1B[23m"),underline:H("\x1B[4m","\x1B[24m"),inverse:H("\x1B[7m","\x1B[27m"),hidden:H("\x1B[8m","\x1B[28m"),strikethrough:H("\x1B[9m","\x1B[29m"),black:H("\x1B[30m","\x1B[39m"),red:H("\x1B[31m","\x1B[39m"),green:H("\x1B[32m","\x1B[39m"),yellow:H("\x1B[33m","\x1B[39m"),blue:H("\x1B[34m","\x1B[39m"),magenta:H("\x1B[35m","\x1B[39m"),cyan:H("\x1B[36m","\x1B[39m"),white:H("\x1B[37m","\x1B[39m"),gray:H("\x1B[90m","\x1B[39m"),bgBlack:H("\x1B[40m","\x1B[49m"),bgRed:H("\x1B[41m","\x1B[49m"),bgGreen:H("\x1B[42m","\x1B[49m"),bgYellow:H("\x1B[43m","\x1B[49m"),bgBlue:H("\x1B[44m","\x1B[49m"),bgMagenta:H("\x1B[45m","\x1B[49m"),bgCyan:H("\x1B[46m","\x1B[49m"),bgWhite:H("\x1B[47m","\x1B[49m"),blackBright:H("\x1B[90m","\x1B[39m"),redBright:H("\x1B[91m","\x1B[39m"),greenBright:H("\x1B[92m","\x1B[39m"),yellowBright:H("\x1B[93m","\x1B[39m"),blueBright:H("\x1B[94m","\x1B[39m"),magentaBright:H("\x1B[95m","\x1B[39m"),cyanBright:H("\x1B[96m","\x1B[39m"),whiteBright:H("\x1B[97m","\x1B[39m"),bgBlackBright:H("\x1B[100m","\x1B[49m"),bgRedBright:H("\x1B[101m","\x1B[49m"),bgGreenBright:H("\x1B[102m","\x1B[49m"),bgYellowBright:H("\x1B[103m","\x1B[49m"),bgBlueBright:H("\x1B[104m","\x1B[49m"),bgMagentaBright:H("\x1B[105m","\x1B[49m"),bgCyanBright:H("\x1B[106m","\x1B[49m"),bgWhiteBright:H("\x1B[107m","\x1B[49m")}};y.exports=x$();y.exports.createColors=x$});var F$=P((dD,TT)=>{TT.exports=X("./koffi-s61f7w9d.node")});var s$=P((_D,DT)=>{DT.exports=X("./koffi-55z8z9xz.node")});var b$=P((tD,LT)=>{LT.exports=X("./koffi-f63nmft8.node")});var W$=P((xD,pT)=>{pT.exports=X("./koffi-a4pekmv4.node")});var j$=P((PD,mT)=>{mT.exports=X("./koffi-4nktnnb9.node")});var O$=P((AD,eT)=>{eT.exports=X("./koffi-s5efe150.node")});var q$=P((ID,aT)=>{aT.exports=X("./koffi-40kasmrm.node")});var v$=P((ED,lT)=>{lT.exports=X("./koffi-8m620cym.node")});var k$=P((KD,iT)=>{iT.exports=X("./koffi-a0sjcyyx.node")});var Z$=P((BD,nT)=>{nT.exports=X("./koffi-smxxaj2h.node")});var U$=P((cD,oT)=>{oT.exports=X("./koffi-88ed5pe7.node")});var Q$=P((CD,rT)=>{rT.exports=X("./koffi-cx3j53c6.node")});var y$=P((hD,XT)=>{XT.exports=X("./koffi-5tm6jtw0.node")});var w$=P((GD,dT)=>{dT.exports=X("./koffi-wx4jmq8s.node")});var z$=P((uD,_T)=>{_T.exports=X("./koffi-9b4rqdsw.node")});var Y$=P((fD,tT)=>{tT.exports=X("./koffi-63r45r88.node")});var $H=P((JD,xT)=>{xT.exports=X("./koffi-dv8d12dn.node")});var HH=P((ND,PT)=>{PT.exports=X("./koffi-zgnt69v4.node")});var DH=P((TH,l$)=>{var __dirname="D:\\projects\\NodeJs\\mmo-android-cc-checker-automation\\node_modules\\koffi",AT=Object.getOwnPropertyNames,a$=(T,H)=>function(){return H||(0,T[AT(T)[0]])((H={exports:{}}).exports,H),H.exports},IT=a$({"bin/Koffi/package/src/cnoke/src/tools.js"(T,H){var D=X("crypto"),L=X("fs"),p=X("https"),e=X("path"),$=X("zlib");async function l(m,a){console.log(">> Downloading "+m);let[n,o]=K(a);try{await new Promise((_,E)=>{p.get(m,(f)=>{if(f.statusCode!=200){let S=Error(`Download failed: ${f.statusMessage} [${f.statusCode}]`);S.code=f.statusCode,E(S);return}f.pipe(o),o.on("finish",()=>o.close(()=>{try{L.renameSync(o.path,a)}catch(S){if(!L.existsSync(a))E(S)}_()}))}).on("error",E),o.on("error",E)})}catch(_){o.close();try{L.unlinkSync(n)}catch(E){if(E.code!="ENOENT")throw E}throw _}}function K(m){let a=Buffer.allocUnsafe(4);for(;;)try{D.randomFillSync(a);let n=a.toString("hex").padStart(8,"0"),o=`${m}.${n}`,_=L.createWriteStream(o,{flags:"wx",mode:420});return[o,_]}catch(n){if(n.code!="EEXIST")throw n}}function x(m,a,n=0){let o=L.createReadStream(m).pipe($.createGunzip());return new Promise((_,E)=>{let r=null,f={};o.on("readable",()=>{try{for(;;){if(r==null){let c=o.read(512);if(c==null)break;if(!c[0])continue;if(r={filename:c.toString("utf-8",0,100).replace(/\0/g,""),mode:parseInt(c.toString("ascii",100,109),8),size:parseInt(c.toString("ascii",124,137),8),type:String.fromCharCode(c[156])},Object.assign(r,f),f={},r.filename=r.filename.replace(/\\/g,"/"),!r.filename.length)throw Error("Insecure empty filename inside TAR archive");if(B(r.filename[0]))throw Error("Insecure filename starting with / inside TAR archive");if(d(r.filename))throw Error("Insecure filename containing '..' inside TAR archive");for(let N=0;N<n;N++)r.filename=r.filename.substr(r.filename.indexOf("/")+1)}let S=Math.floor((r.size+511)/512)*512,V=r.size?o.read(S):null;if(V==null){if(r.size)break;V=Buffer.alloc(0)}if(V=V.subarray(0,r.size),r.type=="0"||r.type=="7"){let c=a+"/"+r.filename,N=e.dirname(c);L.mkdirSync(N,{recursive:!0,mode:493}),L.writeFileSync(c,V,{mode:r.mode})}else if(r.type=="5"){let c=a+"/"+r.filename;L.mkdirSync(c,{recursive:!0,mode:r.mode})}else if(r.type=="L")f.filename=V.toString("utf-8").replace(/\0/g,"");else if(r.type=="x"){let c=V.toString("utf-8");try{while(c.length){let N=c.match(/^([0-9]+) ([a-zA-Z0-9\._]+)=(.*)\n/),iH=parseInt(N[1],10),nH=N[2],X$=N[3];switch(nH){case"path":f.filename=X$;break;case"size":f.size=parseInt(X$,10);break}c=c.substr(iH).trimStart()}}catch(N){throw Error("Malformed PAX entry")}}r=null}}catch(S){E(S)}}),o.on("error",E),o.on("end",_)})}function B(m){if(process.platform=="win32"&&m.match(/^[a-zA-Z]:/))m=m.substr(2);return h(m[0])}function d(m){let a=0;for(;;){let n=m.indexOf("..",a);if(n<0)break;if(a=n+2,n&&!h(m[n-1]))continue;if(n+2<m.length&&!h(m[n+2]))continue;return!0}return!1}function h(m){if(m=="/")return!0;if(process.platform=="win32"&&m=="\\")return!0;return!1}function R(m,a){let n=new Set;{let o=L.readdirSync(m,{withFileTypes:!0});for(let _ of o){if(!_.isFile())continue;n.add(_.name),L.copyFileSync(m+`/${_.name}`,a+`/${_.name}`)}}{let o=L.readdirSync(a,{withFileTypes:!0});for(let _ of o){if(!_.isFile())continue;if(n.has(_.name))continue;L.unlinkSync(a+`/${_.name}`)}}}function Z(){let m=process.arch;if(m=="riscv32"||m=="riscv64"){let a=o$(process.execPath,512);switch(r$(a).e_flags&6){case 0:break;case 2:m+="f";break;case 4:m+="d";break;case 6:m+="q";break}}else if(m=="arm"){let a=o$(process.execPath,512),n=r$(a);if(n.e_flags&1024)m+="hf";else if(n.e_flags&512)m+="sf";else throw Error("Unknown ARM floating-point ABI")}return m}function o$(m,a){let n=null;try{let o=L.openSync(m),_=Buffer.allocUnsafe(a),E=L.readSync(o,_);return _.subarray(0,E)}finally{if(n!=null)L.closeSync(n)}}function r$(m){let a={};if(m.length<16)throw Error("Truncated header");if(m[0]!=127||m[1]!=69||m[2]!=76||m[3]!=70)throw Error("Invalid magic number");if(m[6]!=1)throw Error("Invalid ELF version");if(m[5]!=1)throw Error("Big-endian architectures are not supported");switch(m.readUInt16LE(18)){case 3:a.e_machine="ia32";break;case 40:a.e_machine="arm";break;case 62:a.e_machine="amd64";break;case 183:a.e_machine="arm64";break;case 243:switch(m[4]){case 1:a.e_machine="riscv32";break;case 2:a.e_machine="riscv64";break}break;case 248:switch(m[4]){case 1:a.e_machine="loong32";break;case 2:a.e_machine="loong64";break}break;default:throw Error("Unknown ELF machine type")}switch(m[4]){case 1:{if(m=m.subarray(0,68),m.length<68)throw Error("Truncated ELF header");a.ei_class=32,a.e_flags=m.readUInt32LE(36)}break;case 2:{if(m=m.subarray(0,120),m.length<120)throw Error("Truncated ELF header");a.ei_class=64,a.e_flags=m.readUInt32LE(48)}break;default:throw Error("Invalid ELF class")}return a}function eH(m){try{if(L.rmSync!=null)L.rmSync(m,{recursive:!0,maxRetries:process.platform=="win32"?3:0});else L.rmdirSync(m,{recursive:!0,maxRetries:process.platform=="win32"?3:0})}catch(a){if(a.code!=="ENOENT")throw a}}function aH(m,a){if(m>8)return null;let n={6:["6.14.2","6.14.2","6.14.2"],8:["8.6.0","8.10.0","8.11.2"],9:["9.0.0","9.3.0","9.11.0"],10:["10.0.0","10.0.0","10.0.0","10.16.0","10.17.0","10.20.0","10.23.0"],11:["11.0.0","11.0.0","11.0.0","11.8.0"],12:["12.0.0","12.0.0","12.0.0","12.0.0","12.11.0","12.17.0","12.19.0","12.22.0"],13:["13.0.0","13.0.0","13.0.0","13.0.0","13.0.0"],14:["14.0.0","14.0.0","14.0.0","14.0.0","14.0.0","14.0.0","14.12.0","14.17.0"],15:["15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.12.0"]},o=Math.max(...Object.keys(n).map((E)=>parseInt(E,10)));if(a>o)return a+".0.0";if(n[a]==null)return null;return n[a][m-1]||null}function lH(m,a){return m=String(m).replace(/-.*$/,"").split(".").reduce((o,_,E)=>o+parseInt(_,10)*Math.pow(10,2*(5-E)),0),a=String(a).replace(/-.*$/,"").split(".").reduce((o,_,E)=>o+parseInt(_,10)*Math.pow(10,2*(5-E)),0),Math.min(Math.max(m-a,-1),1)}H.exports={download_http:l,extract_targz:x,path_is_absolute:B,path_has_dotdot:d,sync_files:R,determine_arch:Z,unlink_recursive:eH,get_napi_version:aH,cmp_version:lH}}}),ET=a$({"bin/Koffi/package/src/koffi/package.json"(T,H){H.exports={name:"koffi",version:"2.15.0",description:"Fast and simple C FFI (foreign function interface) for Node.js",keywords:["foreign","function","interface","ffi","binding","c","napi"],repository:{type:"git",url:"https://github.com/Koromix/koffi"},homepage:"https://koffi.dev/",author:{name:"Niels Martignène",email:"niels.martignene@protonmail.com",url:"https://koromix.dev/"},main:"./index.js",types:"./index.d.ts",scripts:{test:"node tools/koffi.js test",prepack:`echo 'Use "npm run package" instead' && false`,prepublishOnly:`echo 'Use "npm run package" instead' && false`,package:"node tools/koffi.js build"},license:"MIT",cnoke:{api:"../../vendor/node-api-headers",output:"../../bin/Koffi/{{ platform }}_{{ arch }}",node:16,napi:8,require:"./index.js"},funding:"https://buymeacoffee.com/koromix"}}}),KT=a$({"bin/Koffi/package/src/koffi/src/init.js"(exports,module){var fs=X("fs"),path=X("path"),util=X("util"),{get_napi_version,determine_arch}=IT(),pkg=ET();function detect(){if(process.versions.napi==null||process.versions.napi<pkg.cnoke.napi){let D=parseInt(process.versions.node,10),L=get_napi_version(pkg.cnoke.napi,D);if(L!=null)throw Error(`This engine is based on Node ${process.versions.node}, but ${pkg.name} requires Node >= ${L} in the Node ${D}.x branch (N-API >= ${pkg.cnoke.napi})`);else throw Error(`This engine is based on Node ${process.versions.node}, but ${pkg.name} does not support the Node ${D}.x branch (N-API < ${pkg.cnoke.napi})`)}let T=determine_arch();return`${process.platform}_${T}`}function init(triplet,native){if(native==null){let roots=[path.join(__dirname,"..")],triplets=[triplet];if(process.resourcesPath!=null)roots.push(process.resourcesPath);if(triplet.startsWith("linux_")){let T=triplet.replace(/^linux_/,"musl_");triplets.push(T)}let filenames=roots.flatMap((T)=>triplets.flatMap((H)=>[`${T}/build/koffi/${H}/koffi.node`,`${T}/koffi/${H}/koffi.node`,`${T}/node_modules/koffi/build/koffi/${H}/koffi.node`,`${T}/../../bin/Koffi/${H}/koffi.node`])),first_err=null;for(let filename of filenames){if(!fs.existsSync(filename))continue;try{native=eval("require")(filename)}catch(T){if(first_err==null)first_err=T;continue}break}if(first_err!=null)throw first_err}if(native==null)throw Error("Cannot find the native Koffi module; did you bundle it correctly?");if(native.version!=pkg.version)throw Error("Mismatched native Koffi modules");let mod=wrap(native);return mod}function wrap(T){let H={...T,handle:util.deprecate(T.opaque,"The koffi.handle() function was deprecated in Koffi 2.1, use koffi.opaque() instead","KOFFI001"),callback:util.deprecate(T.proto,"The koffi.callback() function was deprecated in Koffi 2.4, use koffi.proto() instead","KOFFI002")};return H.load=(...D)=>{let L=T.load(...D);return L.cdecl=util.deprecate((...p)=>L.func("__cdecl",...p),"The koffi.cdecl() function was deprecated in Koffi 2.7, use koffi.func(...) instead","KOFFI003"),L.stdcall=util.deprecate((...p)=>L.func("__stdcall",...p),'The koffi.stdcall() function was deprecated in Koffi 2.7, use koffi.func("__stdcall", ...) instead',"KOFFI004"),L.fastcall=util.deprecate((...p)=>L.func("__fastcall",...p),'The koffi.fastcall() function was deprecated in Koffi 2.7, use koffi.func("__fastcall", ...) instead',"KOFFI005"),L.thiscall=util.deprecate((...p)=>L.func("__thiscall",...p),'The koffi.thiscall() function was deprecated in Koffi 2.7, use koffi.func("__thiscall", ...) instead',"KOFFI006"),L},H}module.exports={detect,init}}}),{detect:BT,init:cT}=KT(),e$=BT(),I=null;try{switch(e$){case"darwin_arm64":I=F$();break;case"darwin_x64":I=s$();break;case"freebsd_arm64":I=b$();break;case"freebsd_ia32":I=W$();break;case"freebsd_x64":I=j$();break;case"linux_armhf":I=O$();break;case"linux_arm64":I=q$();break;case"linux_ia32":I=v$();break;case"linux_loong64":I=k$();break;case"linux_riscv64d":I=Z$();break;case"linux_x64":I=U$();break;case"openbsd_ia32":I=Q$();break;case"openbsd_x64":I=y$();break;case"win32_arm64":I=w$();break;case"win32_ia32":I=z$();break;case"win32_x64":I=Y$();break}}catch{try{switch(e$){case"linux_arm64":I=$H();break;case"linux_x64":I=HH();break}}catch{}}var CT=cT(e$,I);l$.exports=CT});import{spawn as fT}from"node:child_process";import JT from"node:path";var u=M(Q(),1);import{stdin as EH,stdout as KH}from"node:process";var h$=M(w(),1);import P$ from"node:readline";import{Writable as BH}from"node:stream";function cH({onlyFirst:T=!1}={}){let H=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(H,T?void 0:"g")}var CH=cH();function G$(T){if(typeof T!="string")throw TypeError(`Expected a \`string\`, got \`${typeof T}\``);return T.replace(CH,"")}function u$(T){return T&&T.__esModule&&Object.prototype.hasOwnProperty.call(T,"default")?T.default:T}var f$={exports:{}};(function(T){var H={};T.exports=H,H.eastAsianWidth=function(L){var p=L.charCodeAt(0),e=L.length==2?L.charCodeAt(1):0,$=p;return 55296<=p&&p<=56319&&56320<=e&&e<=57343&&(p&=1023,e&=1023,$=p<<10|e,$+=65536),$==12288||65281<=$&&$<=65376||65504<=$&&$<=65510?"F":$==8361||65377<=$&&$<=65470||65474<=$&&$<=65479||65482<=$&&$<=65487||65490<=$&&$<=65495||65498<=$&&$<=65500||65512<=$&&$<=65518?"H":4352<=$&&$<=4447||4515<=$&&$<=4519||4602<=$&&$<=4607||9001<=$&&$<=9002||11904<=$&&$<=11929||11931<=$&&$<=12019||12032<=$&&$<=12245||12272<=$&&$<=12283||12289<=$&&$<=12350||12353<=$&&$<=12438||12441<=$&&$<=12543||12549<=$&&$<=12589||12593<=$&&$<=12686||12688<=$&&$<=12730||12736<=$&&$<=12771||12784<=$&&$<=12830||12832<=$&&$<=12871||12880<=$&&$<=13054||13056<=$&&$<=19903||19968<=$&&$<=42124||42128<=$&&$<=42182||43360<=$&&$<=43388||44032<=$&&$<=55203||55216<=$&&$<=55238||55243<=$&&$<=55291||63744<=$&&$<=64255||65040<=$&&$<=65049||65072<=$&&$<=65106||65108<=$&&$<=65126||65128<=$&&$<=65131||110592<=$&&$<=110593||127488<=$&&$<=127490||127504<=$&&$<=127546||127552<=$&&$<=127560||127568<=$&&$<=127569||131072<=$&&$<=194367||177984<=$&&$<=196605||196608<=$&&$<=262141?"W":32<=$&&$<=126||162<=$&&$<=163||165<=$&&$<=166||$==172||$==175||10214<=$&&$<=10221||10629<=$&&$<=10630?"Na":$==161||$==164||167<=$&&$<=168||$==170||173<=$&&$<=174||176<=$&&$<=180||182<=$&&$<=186||188<=$&&$<=191||$==198||$==208||215<=$&&$<=216||222<=$&&$<=225||$==230||232<=$&&$<=234||236<=$&&$<=237||$==240||242<=$&&$<=243||247<=$&&$<=250||$==252||$==254||$==257||$==273||$==275||$==283||294<=$&&$<=295||$==299||305<=$&&$<=307||$==312||319<=$&&$<=322||$==324||328<=$&&$<=331||$==333||338<=$&&$<=339||358<=$&&$<=359||$==363||$==462||$==464||$==466||$==468||$==470||$==472||$==474||$==476||$==593||$==609||$==708||$==711||713<=$&&$<=715||$==717||$==720||728<=$&&$<=731||$==733||$==735||768<=$&&$<=879||913<=$&&$<=929||931<=$&&$<=937||945<=$&&$<=961||963<=$&&$<=969||$==1025||1040<=$&&$<=1103||$==1105||$==8208||8211<=$&&$<=8214||8216<=$&&$<=8217||8220<=$&&$<=8221||8224<=$&&$<=8226||8228<=$&&$<=8231||$==8240||8242<=$&&$<=8243||$==8245||$==8251||$==8254||$==8308||$==8319||8321<=$&&$<=8324||$==8364||$==8451||$==8453||$==8457||$==8467||$==8470||8481<=$&&$<=8482||$==8486||$==8491||8531<=$&&$<=8532||8539<=$&&$<=8542||8544<=$&&$<=8555||8560<=$&&$<=8569||$==8585||8592<=$&&$<=8601||8632<=$&&$<=8633||$==8658||$==8660||$==8679||$==8704||8706<=$&&$<=8707||8711<=$&&$<=8712||$==8715||$==8719||$==8721||$==8725||$==8730||8733<=$&&$<=8736||$==8739||$==8741||8743<=$&&$<=8748||$==8750||8756<=$&&$<=8759||8764<=$&&$<=8765||$==8776||$==8780||$==8786||8800<=$&&$<=8801||8804<=$&&$<=8807||8810<=$&&$<=8811||8814<=$&&$<=8815||8834<=$&&$<=8835||8838<=$&&$<=8839||$==8853||$==8857||$==8869||$==8895||$==8978||9312<=$&&$<=9449||9451<=$&&$<=9547||9552<=$&&$<=9587||9600<=$&&$<=9615||9618<=$&&$<=9621||9632<=$&&$<=9633||9635<=$&&$<=9641||9650<=$&&$<=9651||9654<=$&&$<=9655||9660<=$&&$<=9661||9664<=$&&$<=9665||9670<=$&&$<=9672||$==9675||9678<=$&&$<=9681||9698<=$&&$<=9701||$==9711||9733<=$&&$<=9734||$==9737||9742<=$&&$<=9743||9748<=$&&$<=9749||$==9756||$==9758||$==9792||$==9794||9824<=$&&$<=9825||9827<=$&&$<=9829||9831<=$&&$<=9834||9836<=$&&$<=9837||$==9839||9886<=$&&$<=9887||9918<=$&&$<=9919||9924<=$&&$<=9933||9935<=$&&$<=9953||$==9955||9960<=$&&$<=9983||$==10045||$==10071||10102<=$&&$<=10111||11093<=$&&$<=11097||12872<=$&&$<=12879||57344<=$&&$<=63743||65024<=$&&$<=65039||$==65533||127232<=$&&$<=127242||127248<=$&&$<=127277||127280<=$&&$<=127337||127344<=$&&$<=127386||917760<=$&&$<=917999||983040<=$&&$<=1048573||1048576<=$&&$<=1114109?"A":"N"},H.characterLength=function(L){var p=this.eastAsianWidth(L);return p=="F"||p=="W"||p=="A"?2:1};function D(L){return L.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}H.length=function(L){for(var p=D(L),e=0,$=0;$<p.length;$++)e=e+this.characterLength(p[$]);return e},H.slice=function(L,p,e){textLen=H.length(L),p=p||0,e=e||1,p<0&&(p=textLen+p),e<0&&(e=textLen+e);for(var $="",l=0,K=D(L),x=0;x<K.length;x++){var B=K[x],d=H.length(B);if(l>=p-(d==2?1:0))if(l+d<=e)$+=B;else break;l+=d}return $}})(f$);var hH=f$.exports,GH=u$(hH),uH=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},fH=u$(uH);function F(T,H={}){if(typeof T!="string"||T.length===0||(H={ambiguousIsNarrow:!0,...H},T=G$(T),T.length===0))return 0;T=T.replace(fH()," ");let D=H.ambiguousIsNarrow?1:2,L=0;for(let p of T){let e=p.codePointAt(0);if(e<=31||e>=127&&e<=159||e>=768&&e<=879)continue;switch(GH.eastAsianWidth(p)){case"F":case"W":L+=2;break;case"A":L+=D;break;default:L+=1}}return L}var z=10,A$=(T=0)=>(H)=>`\x1B[${H+T}m`,I$=(T=0)=>(H)=>`\x1B[${38+T};5;${H}m`,E$=(T=0)=>(H,D,L)=>`\x1B[${38+T};2;${H};${D};${L}m`,t={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(t.modifier);var JH=Object.keys(t.color),NH=Object.keys(t.bgColor);[...JH,...NH];function RH(){let T=new Map;for(let[H,D]of Object.entries(t)){for(let[L,p]of Object.entries(D))t[L]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},D[L]=t[L],T.set(p[0],p[1]);Object.defineProperty(t,H,{value:D,enumerable:!1})}return Object.defineProperty(t,"codes",{value:T,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=A$(),t.color.ansi256=I$(),t.color.ansi16m=E$(),t.bgColor.ansi=A$(z),t.bgColor.ansi256=I$(z),t.bgColor.ansi16m=E$(z),Object.defineProperties(t,{rgbToAnsi256:{value:(H,D,L)=>H===D&&D===L?H<8?16:H>248?231:Math.round((H-8)/247*24)+232:16+36*Math.round(H/255*5)+6*Math.round(D/255*5)+Math.round(L/255*5),enumerable:!1},hexToRgb:{value:(H)=>{let D=/[a-f\d]{6}|[a-f\d]{3}/i.exec(H.toString(16));if(!D)return[0,0,0];let[L]=D;L.length===3&&(L=[...L].map((e)=>e+e).join(""));let p=Number.parseInt(L,16);return[p>>16&255,p>>8&255,p&255]},enumerable:!1},hexToAnsi256:{value:(H)=>t.rgbToAnsi256(...t.hexToRgb(H)),enumerable:!1},ansi256ToAnsi:{value:(H)=>{if(H<8)return 30+H;if(H<16)return 90+(H-8);let D,L,p;if(H>=232)D=((H-232)*10+8)/255,L=D,p=D;else{H-=16;let l=H%36;D=Math.floor(H/36)/5,L=Math.floor(l/6)/5,p=l%6/5}let e=Math.max(D,L,p)*2;if(e===0)return 30;let $=30+(Math.round(p)<<2|Math.round(L)<<1|Math.round(D));return e===2&&($+=60),$},enumerable:!1},rgbToAnsi:{value:(H,D,L)=>t.ansi256ToAnsi(t.rgbToAnsi256(H,D,L)),enumerable:!1},hexToAnsi:{value:(H)=>t.ansi256ToAnsi(t.hexToAnsi256(H)),enumerable:!1}}),t}var SH=RH(),q=new Set(["\x1B","›"]),VH=39,H$="\x07",J$="[",gH="]",N$="m",T$=`${gH}8;;`,K$=(T)=>`${q.values().next().value}${J$}${T}${N$}`,B$=(T)=>`${q.values().next().value}${T$}${T}${H$}`,MH=(T)=>T.split(" ").map((H)=>F(H)),Y=(T,H,D)=>{let L=[...H],p=!1,e=!1,$=F(G$(T[T.length-1]));for(let[l,K]of L.entries()){let x=F(K);if($+x<=D?T[T.length-1]+=K:(T.push(K),$=0),q.has(K)&&(p=!0,e=L.slice(l+1).join("").startsWith(T$)),p){e?K===H$&&(p=!1,e=!1):K===N$&&(p=!1);continue}$+=x,$===D&&l<L.length-1&&(T.push(""),$=0)}!$&&T[T.length-1].length>0&&T.length>1&&(T[T.length-2]+=T.pop())},FH=(T)=>{let H=T.split(" "),D=H.length;for(;D>0&&!(F(H[D-1])>0);)D--;return D===H.length?T:H.slice(0,D).join(" ")+H.slice(D).join("")},sH=(T,H,D={})=>{if(D.trim!==!1&&T.trim()==="")return"";let L="",p,e,$=MH(T),l=[""];for(let[x,B]of T.split(" ").entries()){D.trim!==!1&&(l[l.length-1]=l[l.length-1].trimStart());let d=F(l[l.length-1]);if(x!==0&&(d>=H&&(D.wordWrap===!1||D.trim===!1)&&(l.push(""),d=0),(d>0||D.trim===!1)&&(l[l.length-1]+=" ",d++)),D.hard&&$[x]>H){let h=H-d,R=1+Math.floor(($[x]-h-1)/H);Math.floor(($[x]-1)/H)<R&&l.push(""),Y(l,B,H);continue}if(d+$[x]>H&&d>0&&$[x]>0){if(D.wordWrap===!1&&d<H){Y(l,B,H);continue}l.push("")}if(d+$[x]>H&&D.wordWrap===!1){Y(l,B,H);continue}l[l.length-1]+=B}D.trim!==!1&&(l=l.map((x)=>FH(x)));let K=[...l.join(`
2
- `)];for(let[x,B]of K.entries()){if(L+=B,q.has(B)){let{groups:h}=new RegExp(`(?:\\${J$}(?<code>\\d+)m|\\${T$}(?<uri>.*)${H$})`).exec(K.slice(x).join(""))||{groups:{}};if(h.code!==void 0){let R=Number.parseFloat(h.code);p=R===VH?void 0:R}else h.uri!==void 0&&(e=h.uri.length===0?void 0:h.uri)}let d=SH.codes.get(Number(p));K[x+1]===`
3
- `?(e&&(L+=B$("")),p&&d&&(L+=K$(d))):B===`
4
- `&&(p&&d&&(L+=K$(p)),e&&(L+=B$(e)))}return L};function c$(T,H,D){return String(T).normalize().replace(/\r\n/g,`
1
+ import{createRequire as AH}from"node:module";var _H=Object.create;var{getPrototypeOf:tH,defineProperty:P$,getOwnPropertyNames:xH}=Object;var PH=Object.prototype.hasOwnProperty;var s=(H,T,D)=>{D=H!=null?_H(tH(H)):{};let L=T||!H||!H.__esModule?P$(D,"default",{value:H,enumerable:!0}):D;for(let p of xH(H))if(!PH.call(L,p))P$(L,p,{get:()=>H[p],enumerable:!0});return L};var P=(H,T)=>()=>(T||H((T={exports:{}}).exports,T),T.exports);var X=AH(import.meta.url);var w=P((qT,A$)=>{var y={to(H,T){if(!T)return`\x1B[${H+1}G`;return`\x1B[${T+1};${H+1}H`},move(H,T){let D="";if(H<0)D+=`\x1B[${-H}D`;else if(H>0)D+=`\x1B[${H}C`;if(T<0)D+=`\x1B[${-T}A`;else if(T>0)D+=`\x1B[${T}B`;return D},up:(H=1)=>`\x1B[${H}A`,down:(H=1)=>`\x1B[${H}B`,forward:(H=1)=>`\x1B[${H}C`,backward:(H=1)=>`\x1B[${H}D`,nextLine:(H=1)=>"\x1B[E".repeat(H),prevLine:(H=1)=>"\x1B[F".repeat(H),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},IH={up:(H=1)=>"\x1B[S".repeat(H),down:(H=1)=>"\x1B[T".repeat(H)},EH={screen:"\x1B[2J",up:(H=1)=>"\x1B[1J".repeat(H),down:(H=1)=>"\x1B[J".repeat(H),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(H){let T="";for(let D=0;D<H;D++)T+=this.line+(D<H-1?y.up():"");if(H)T+=y.left;return T}};A$.exports={cursor:y,scroll:IH,erase:EH,beep:"\x07"}});var Y=P((vT,z)=>{var q=process||{},I$=q.argv||[],O=q.env||{},KH=!(!!O.NO_COLOR||I$.includes("--no-color"))&&(!!O.FORCE_COLOR||I$.includes("--color")||q.platform==="win32"||(q.stdout||{}).isTTY&&O.TERM!=="dumb"||!!O.CI),BH=(H,T,D=H)=>(L)=>{let p=""+L,e=p.indexOf(T,H.length);return~e?H+cH(p,T,D,e)+T:H+p+T},cH=(H,T,D,L)=>{let p="",e=0;do p+=H.substring(e,L)+D,e=L+T.length,L=H.indexOf(T,e);while(~L);return p+H.substring(e)},E$=(H=KH)=>{let T=H?BH:()=>String;return{isColorSupported:H,reset:T("\x1B[0m","\x1B[0m"),bold:T("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:T("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:T("\x1B[3m","\x1B[23m"),underline:T("\x1B[4m","\x1B[24m"),inverse:T("\x1B[7m","\x1B[27m"),hidden:T("\x1B[8m","\x1B[28m"),strikethrough:T("\x1B[9m","\x1B[29m"),black:T("\x1B[30m","\x1B[39m"),red:T("\x1B[31m","\x1B[39m"),green:T("\x1B[32m","\x1B[39m"),yellow:T("\x1B[33m","\x1B[39m"),blue:T("\x1B[34m","\x1B[39m"),magenta:T("\x1B[35m","\x1B[39m"),cyan:T("\x1B[36m","\x1B[39m"),white:T("\x1B[37m","\x1B[39m"),gray:T("\x1B[90m","\x1B[39m"),bgBlack:T("\x1B[40m","\x1B[49m"),bgRed:T("\x1B[41m","\x1B[49m"),bgGreen:T("\x1B[42m","\x1B[49m"),bgYellow:T("\x1B[43m","\x1B[49m"),bgBlue:T("\x1B[44m","\x1B[49m"),bgMagenta:T("\x1B[45m","\x1B[49m"),bgCyan:T("\x1B[46m","\x1B[49m"),bgWhite:T("\x1B[47m","\x1B[49m"),blackBright:T("\x1B[90m","\x1B[39m"),redBright:T("\x1B[91m","\x1B[39m"),greenBright:T("\x1B[92m","\x1B[39m"),yellowBright:T("\x1B[93m","\x1B[39m"),blueBright:T("\x1B[94m","\x1B[39m"),magentaBright:T("\x1B[95m","\x1B[39m"),cyanBright:T("\x1B[96m","\x1B[39m"),whiteBright:T("\x1B[97m","\x1B[39m"),bgBlackBright:T("\x1B[100m","\x1B[49m"),bgRedBright:T("\x1B[101m","\x1B[49m"),bgGreenBright:T("\x1B[102m","\x1B[49m"),bgYellowBright:T("\x1B[103m","\x1B[49m"),bgBlueBright:T("\x1B[104m","\x1B[49m"),bgMagentaBright:T("\x1B[105m","\x1B[49m"),bgCyanBright:T("\x1B[106m","\x1B[49m"),bgWhiteBright:T("\x1B[107m","\x1B[49m")}};z.exports=E$();z.exports.createColors=E$});var O$=P((xD,lT)=>{lT.exports=X("./koffi-s61f7w9d.node")});var q$=P((PD,iT)=>{iT.exports=X("./koffi-55z8z9xz.node")});var v$=P((AD,nT)=>{nT.exports=X("./koffi-f63nmft8.node")});var k$=P((ID,oT)=>{oT.exports=X("./koffi-a4pekmv4.node")});var Z$=P((ED,rT)=>{rT.exports=X("./koffi-4nktnnb9.node")});var U$=P((KD,XT)=>{XT.exports=X("./koffi-s5efe150.node")});var Q$=P((BD,dT)=>{dT.exports=X("./koffi-40kasmrm.node")});var y$=P((cD,_T)=>{_T.exports=X("./koffi-8m620cym.node")});var w$=P((CD,tT)=>{tT.exports=X("./koffi-a0sjcyyx.node")});var z$=P((hD,xT)=>{xT.exports=X("./koffi-smxxaj2h.node")});var Y$=P((GD,PT)=>{PT.exports=X("./koffi-88ed5pe7.node")});var $H=P((uD,AT)=>{AT.exports=X("./koffi-cx3j53c6.node")});var HH=P((fD,IT)=>{IT.exports=X("./koffi-5tm6jtw0.node")});var TH=P((JD,ET)=>{ET.exports=X("./koffi-wx4jmq8s.node")});var DH=P((ND,KT)=>{KT.exports=X("./koffi-9b4rqdsw.node")});var LH=P((RD,BT)=>{BT.exports=X("./koffi-63r45r88.node")});var pH=P((SD,cT)=>{cT.exports=X("./koffi-dv8d12dn.node")});var mH=P((VD,CT)=>{CT.exports=X("./koffi-zgnt69v4.node")});var aH=P((eH,n$)=>{var __dirname="D:\\projects\\NodeJs\\mmo-android-cc-checker-automation\\node_modules\\koffi",hT=Object.getOwnPropertyNames,i$=(H,T)=>function(){return T||(0,H[hT(H)[0]])((T={exports:{}}).exports,T),T.exports},GT=i$({"bin/Koffi/package/src/cnoke/src/tools.js"(H,T){var D=X("crypto"),L=X("fs"),p=X("https"),e=X("path"),$=X("zlib");async function i(m,l){console.log(">> Downloading "+m);let[n,o]=K(l);try{await new Promise((_,E)=>{p.get(m,(f)=>{if(f.statusCode!=200){let V=Error(`Download failed: ${f.statusMessage} [${f.statusCode}]`);V.code=f.statusCode,E(V);return}f.pipe(o),o.on("finish",()=>o.close(()=>{try{L.renameSync(o.path,l)}catch(V){if(!L.existsSync(l))E(V)}_()}))}).on("error",E),o.on("error",E)})}catch(_){o.close();try{L.unlinkSync(n)}catch(E){if(E.code!="ENOENT")throw E}throw _}}function K(m){let l=Buffer.allocUnsafe(4);for(;;)try{D.randomFillSync(l);let n=l.toString("hex").padStart(8,"0"),o=`${m}.${n}`,_=L.createWriteStream(o,{flags:"wx",mode:420});return[o,_]}catch(n){if(n.code!="EEXIST")throw n}}function x(m,l,n=0){let o=L.createReadStream(m).pipe($.createGunzip());return new Promise((_,E)=>{let r=null,f={};o.on("readable",()=>{try{for(;;){if(r==null){let C=o.read(512);if(C==null)break;if(!C[0])continue;if(r={filename:C.toString("utf-8",0,100).replace(/\0/g,""),mode:parseInt(C.toString("ascii",100,109),8),size:parseInt(C.toString("ascii",124,137),8),type:String.fromCharCode(C[156])},Object.assign(r,f),f={},r.filename=r.filename.replace(/\\/g,"/"),!r.filename.length)throw Error("Insecure empty filename inside TAR archive");if(c(r.filename[0]))throw Error("Insecure filename starting with / inside TAR archive");if(d(r.filename))throw Error("Insecure filename containing '..' inside TAR archive");for(let N=0;N<n;N++)r.filename=r.filename.substr(r.filename.indexOf("/")+1)}let V=Math.floor((r.size+511)/512)*512,g=r.size?o.read(V):null;if(g==null){if(r.size)break;g=Buffer.alloc(0)}if(g=g.subarray(0,r.size),r.type=="0"||r.type=="7"){let C=l+"/"+r.filename,N=e.dirname(C);L.mkdirSync(N,{recursive:!0,mode:493}),L.writeFileSync(C,g,{mode:r.mode})}else if(r.type=="5"){let C=l+"/"+r.filename;L.mkdirSync(C,{recursive:!0,mode:r.mode})}else if(r.type=="L")f.filename=g.toString("utf-8").replace(/\0/g,"");else if(r.type=="x"){let C=g.toString("utf-8");try{while(C.length){let N=C.match(/^([0-9]+) ([a-zA-Z0-9\._]+)=(.*)\n/),XH=parseInt(N[1],10),dH=N[2],x$=N[3];switch(dH){case"path":f.filename=x$;break;case"size":f.size=parseInt(x$,10);break}C=C.substr(XH).trimStart()}}catch(N){throw Error("Malformed PAX entry")}}r=null}}catch(V){E(V)}}),o.on("error",E),o.on("end",_)})}function c(m){if(process.platform=="win32"&&m.match(/^[a-zA-Z]:/))m=m.substr(2);return h(m[0])}function d(m){let l=0;for(;;){let n=m.indexOf("..",l);if(n<0)break;if(l=n+2,n&&!h(m[n-1]))continue;if(n+2<m.length&&!h(m[n+2]))continue;return!0}return!1}function h(m){if(m=="/")return!0;if(process.platform=="win32"&&m=="\\")return!0;return!1}function S(m,l){let n=new Set;{let o=L.readdirSync(m,{withFileTypes:!0});for(let _ of o){if(!_.isFile())continue;n.add(_.name),L.copyFileSync(m+`/${_.name}`,l+`/${_.name}`)}}{let o=L.readdirSync(l,{withFileTypes:!0});for(let _ of o){if(!_.isFile())continue;if(n.has(_.name))continue;L.unlinkSync(l+`/${_.name}`)}}}function Q(){let m=process.arch;if(m=="riscv32"||m=="riscv64"){let l=_$(process.execPath,512);switch(t$(l).e_flags&6){case 0:break;case 2:m+="f";break;case 4:m+="d";break;case 6:m+="q";break}}else if(m=="arm"){let l=_$(process.execPath,512),n=t$(l);if(n.e_flags&1024)m+="hf";else if(n.e_flags&512)m+="sf";else throw Error("Unknown ARM floating-point ABI")}return m}function _$(m,l){let n=null;try{let o=L.openSync(m),_=Buffer.allocUnsafe(l),E=L.readSync(o,_);return _.subarray(0,E)}finally{if(n!=null)L.closeSync(n)}}function t$(m){let l={};if(m.length<16)throw Error("Truncated header");if(m[0]!=127||m[1]!=69||m[2]!=76||m[3]!=70)throw Error("Invalid magic number");if(m[6]!=1)throw Error("Invalid ELF version");if(m[5]!=1)throw Error("Big-endian architectures are not supported");switch(m.readUInt16LE(18)){case 3:l.e_machine="ia32";break;case 40:l.e_machine="arm";break;case 62:l.e_machine="amd64";break;case 183:l.e_machine="arm64";break;case 243:switch(m[4]){case 1:l.e_machine="riscv32";break;case 2:l.e_machine="riscv64";break}break;case 248:switch(m[4]){case 1:l.e_machine="loong32";break;case 2:l.e_machine="loong64";break}break;default:throw Error("Unknown ELF machine type")}switch(m[4]){case 1:{if(m=m.subarray(0,68),m.length<68)throw Error("Truncated ELF header");l.ei_class=32,l.e_flags=m.readUInt32LE(36)}break;case 2:{if(m=m.subarray(0,120),m.length<120)throw Error("Truncated ELF header");l.ei_class=64,l.e_flags=m.readUInt32LE(48)}break;default:throw Error("Invalid ELF class")}return l}function nH(m){try{if(L.rmSync!=null)L.rmSync(m,{recursive:!0,maxRetries:process.platform=="win32"?3:0});else L.rmdirSync(m,{recursive:!0,maxRetries:process.platform=="win32"?3:0})}catch(l){if(l.code!=="ENOENT")throw l}}function oH(m,l){if(m>8)return null;let n={6:["6.14.2","6.14.2","6.14.2"],8:["8.6.0","8.10.0","8.11.2"],9:["9.0.0","9.3.0","9.11.0"],10:["10.0.0","10.0.0","10.0.0","10.16.0","10.17.0","10.20.0","10.23.0"],11:["11.0.0","11.0.0","11.0.0","11.8.0"],12:["12.0.0","12.0.0","12.0.0","12.0.0","12.11.0","12.17.0","12.19.0","12.22.0"],13:["13.0.0","13.0.0","13.0.0","13.0.0","13.0.0"],14:["14.0.0","14.0.0","14.0.0","14.0.0","14.0.0","14.0.0","14.12.0","14.17.0"],15:["15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.0.0","15.12.0"]},o=Math.max(...Object.keys(n).map((E)=>parseInt(E,10)));if(l>o)return l+".0.0";if(n[l]==null)return null;return n[l][m-1]||null}function rH(m,l){return m=String(m).replace(/-.*$/,"").split(".").reduce((o,_,E)=>o+parseInt(_,10)*Math.pow(10,2*(5-E)),0),l=String(l).replace(/-.*$/,"").split(".").reduce((o,_,E)=>o+parseInt(_,10)*Math.pow(10,2*(5-E)),0),Math.min(Math.max(m-l,-1),1)}T.exports={download_http:i,extract_targz:x,path_is_absolute:c,path_has_dotdot:d,sync_files:S,determine_arch:Q,unlink_recursive:nH,get_napi_version:oH,cmp_version:rH}}}),uT=i$({"bin/Koffi/package/src/koffi/package.json"(H,T){T.exports={name:"koffi",version:"2.15.0",description:"Fast and simple C FFI (foreign function interface) for Node.js",keywords:["foreign","function","interface","ffi","binding","c","napi"],repository:{type:"git",url:"https://github.com/Koromix/koffi"},homepage:"https://koffi.dev/",author:{name:"Niels Martignène",email:"niels.martignene@protonmail.com",url:"https://koromix.dev/"},main:"./index.js",types:"./index.d.ts",scripts:{test:"node tools/koffi.js test",prepack:`echo 'Use "npm run package" instead' && false`,prepublishOnly:`echo 'Use "npm run package" instead' && false`,package:"node tools/koffi.js build"},license:"MIT",cnoke:{api:"../../vendor/node-api-headers",output:"../../bin/Koffi/{{ platform }}_{{ arch }}",node:16,napi:8,require:"./index.js"},funding:"https://buymeacoffee.com/koromix"}}}),fT=i$({"bin/Koffi/package/src/koffi/src/init.js"(exports,module){var fs=X("fs"),path=X("path"),util=X("util"),{get_napi_version,determine_arch}=GT(),pkg=uT();function detect(){if(process.versions.napi==null||process.versions.napi<pkg.cnoke.napi){let D=parseInt(process.versions.node,10),L=get_napi_version(pkg.cnoke.napi,D);if(L!=null)throw Error(`This engine is based on Node ${process.versions.node}, but ${pkg.name} requires Node >= ${L} in the Node ${D}.x branch (N-API >= ${pkg.cnoke.napi})`);else throw Error(`This engine is based on Node ${process.versions.node}, but ${pkg.name} does not support the Node ${D}.x branch (N-API < ${pkg.cnoke.napi})`)}let H=determine_arch();return`${process.platform}_${H}`}function init(triplet,native){if(native==null){let roots=[path.join(__dirname,"..")],triplets=[triplet];if(process.resourcesPath!=null)roots.push(process.resourcesPath);if(triplet.startsWith("linux_")){let H=triplet.replace(/^linux_/,"musl_");triplets.push(H)}let filenames=roots.flatMap((H)=>triplets.flatMap((T)=>[`${H}/build/koffi/${T}/koffi.node`,`${H}/koffi/${T}/koffi.node`,`${H}/node_modules/koffi/build/koffi/${T}/koffi.node`,`${H}/../../bin/Koffi/${T}/koffi.node`])),first_err=null;for(let filename of filenames){if(!fs.existsSync(filename))continue;try{native=eval("require")(filename)}catch(H){if(first_err==null)first_err=H;continue}break}if(first_err!=null)throw first_err}if(native==null)throw Error("Cannot find the native Koffi module; did you bundle it correctly?");if(native.version!=pkg.version)throw Error("Mismatched native Koffi modules");let mod=wrap(native);return mod}function wrap(H){let T={...H,handle:util.deprecate(H.opaque,"The koffi.handle() function was deprecated in Koffi 2.1, use koffi.opaque() instead","KOFFI001"),callback:util.deprecate(H.proto,"The koffi.callback() function was deprecated in Koffi 2.4, use koffi.proto() instead","KOFFI002")};return T.load=(...D)=>{let L=H.load(...D);return L.cdecl=util.deprecate((...p)=>L.func("__cdecl",...p),"The koffi.cdecl() function was deprecated in Koffi 2.7, use koffi.func(...) instead","KOFFI003"),L.stdcall=util.deprecate((...p)=>L.func("__stdcall",...p),'The koffi.stdcall() function was deprecated in Koffi 2.7, use koffi.func("__stdcall", ...) instead',"KOFFI004"),L.fastcall=util.deprecate((...p)=>L.func("__fastcall",...p),'The koffi.fastcall() function was deprecated in Koffi 2.7, use koffi.func("__fastcall", ...) instead',"KOFFI005"),L.thiscall=util.deprecate((...p)=>L.func("__thiscall",...p),'The koffi.thiscall() function was deprecated in Koffi 2.7, use koffi.func("__thiscall", ...) instead',"KOFFI006"),L},T}module.exports={detect,init}}}),{detect:JT,init:NT}=fT(),l$=JT(),I=null;try{switch(l$){case"darwin_arm64":I=O$();break;case"darwin_x64":I=q$();break;case"freebsd_arm64":I=v$();break;case"freebsd_ia32":I=k$();break;case"freebsd_x64":I=Z$();break;case"linux_armhf":I=U$();break;case"linux_arm64":I=Q$();break;case"linux_ia32":I=y$();break;case"linux_loong64":I=w$();break;case"linux_riscv64d":I=z$();break;case"linux_x64":I=Y$();break;case"openbsd_ia32":I=$H();break;case"openbsd_x64":I=HH();break;case"win32_arm64":I=TH();break;case"win32_ia32":I=DH();break;case"win32_x64":I=LH();break}}catch{try{switch(l$){case"linux_arm64":I=pH();break;case"linux_x64":I=mH();break}}catch{}}var RT=NT(l$,I);n$.exports=RT});import{spawn as MT}from"node:child_process";import FT from"node:path";var u=s(w(),1);import{stdin as CH,stdout as hH}from"node:process";var J$=s(Y(),1);import K$ from"node:readline";import{Writable as GH}from"node:stream";function uH({onlyFirst:H=!1}={}){let T=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(T,H?void 0:"g")}var fH=uH();function N$(H){if(typeof H!="string")throw TypeError(`Expected a \`string\`, got \`${typeof H}\``);return H.replace(fH,"")}function R$(H){return H&&H.__esModule&&Object.prototype.hasOwnProperty.call(H,"default")?H.default:H}var S$={exports:{}};(function(H){var T={};H.exports=T,T.eastAsianWidth=function(L){var p=L.charCodeAt(0),e=L.length==2?L.charCodeAt(1):0,$=p;return 55296<=p&&p<=56319&&56320<=e&&e<=57343&&(p&=1023,e&=1023,$=p<<10|e,$+=65536),$==12288||65281<=$&&$<=65376||65504<=$&&$<=65510?"F":$==8361||65377<=$&&$<=65470||65474<=$&&$<=65479||65482<=$&&$<=65487||65490<=$&&$<=65495||65498<=$&&$<=65500||65512<=$&&$<=65518?"H":4352<=$&&$<=4447||4515<=$&&$<=4519||4602<=$&&$<=4607||9001<=$&&$<=9002||11904<=$&&$<=11929||11931<=$&&$<=12019||12032<=$&&$<=12245||12272<=$&&$<=12283||12289<=$&&$<=12350||12353<=$&&$<=12438||12441<=$&&$<=12543||12549<=$&&$<=12589||12593<=$&&$<=12686||12688<=$&&$<=12730||12736<=$&&$<=12771||12784<=$&&$<=12830||12832<=$&&$<=12871||12880<=$&&$<=13054||13056<=$&&$<=19903||19968<=$&&$<=42124||42128<=$&&$<=42182||43360<=$&&$<=43388||44032<=$&&$<=55203||55216<=$&&$<=55238||55243<=$&&$<=55291||63744<=$&&$<=64255||65040<=$&&$<=65049||65072<=$&&$<=65106||65108<=$&&$<=65126||65128<=$&&$<=65131||110592<=$&&$<=110593||127488<=$&&$<=127490||127504<=$&&$<=127546||127552<=$&&$<=127560||127568<=$&&$<=127569||131072<=$&&$<=194367||177984<=$&&$<=196605||196608<=$&&$<=262141?"W":32<=$&&$<=126||162<=$&&$<=163||165<=$&&$<=166||$==172||$==175||10214<=$&&$<=10221||10629<=$&&$<=10630?"Na":$==161||$==164||167<=$&&$<=168||$==170||173<=$&&$<=174||176<=$&&$<=180||182<=$&&$<=186||188<=$&&$<=191||$==198||$==208||215<=$&&$<=216||222<=$&&$<=225||$==230||232<=$&&$<=234||236<=$&&$<=237||$==240||242<=$&&$<=243||247<=$&&$<=250||$==252||$==254||$==257||$==273||$==275||$==283||294<=$&&$<=295||$==299||305<=$&&$<=307||$==312||319<=$&&$<=322||$==324||328<=$&&$<=331||$==333||338<=$&&$<=339||358<=$&&$<=359||$==363||$==462||$==464||$==466||$==468||$==470||$==472||$==474||$==476||$==593||$==609||$==708||$==711||713<=$&&$<=715||$==717||$==720||728<=$&&$<=731||$==733||$==735||768<=$&&$<=879||913<=$&&$<=929||931<=$&&$<=937||945<=$&&$<=961||963<=$&&$<=969||$==1025||1040<=$&&$<=1103||$==1105||$==8208||8211<=$&&$<=8214||8216<=$&&$<=8217||8220<=$&&$<=8221||8224<=$&&$<=8226||8228<=$&&$<=8231||$==8240||8242<=$&&$<=8243||$==8245||$==8251||$==8254||$==8308||$==8319||8321<=$&&$<=8324||$==8364||$==8451||$==8453||$==8457||$==8467||$==8470||8481<=$&&$<=8482||$==8486||$==8491||8531<=$&&$<=8532||8539<=$&&$<=8542||8544<=$&&$<=8555||8560<=$&&$<=8569||$==8585||8592<=$&&$<=8601||8632<=$&&$<=8633||$==8658||$==8660||$==8679||$==8704||8706<=$&&$<=8707||8711<=$&&$<=8712||$==8715||$==8719||$==8721||$==8725||$==8730||8733<=$&&$<=8736||$==8739||$==8741||8743<=$&&$<=8748||$==8750||8756<=$&&$<=8759||8764<=$&&$<=8765||$==8776||$==8780||$==8786||8800<=$&&$<=8801||8804<=$&&$<=8807||8810<=$&&$<=8811||8814<=$&&$<=8815||8834<=$&&$<=8835||8838<=$&&$<=8839||$==8853||$==8857||$==8869||$==8895||$==8978||9312<=$&&$<=9449||9451<=$&&$<=9547||9552<=$&&$<=9587||9600<=$&&$<=9615||9618<=$&&$<=9621||9632<=$&&$<=9633||9635<=$&&$<=9641||9650<=$&&$<=9651||9654<=$&&$<=9655||9660<=$&&$<=9661||9664<=$&&$<=9665||9670<=$&&$<=9672||$==9675||9678<=$&&$<=9681||9698<=$&&$<=9701||$==9711||9733<=$&&$<=9734||$==9737||9742<=$&&$<=9743||9748<=$&&$<=9749||$==9756||$==9758||$==9792||$==9794||9824<=$&&$<=9825||9827<=$&&$<=9829||9831<=$&&$<=9834||9836<=$&&$<=9837||$==9839||9886<=$&&$<=9887||9918<=$&&$<=9919||9924<=$&&$<=9933||9935<=$&&$<=9953||$==9955||9960<=$&&$<=9983||$==10045||$==10071||10102<=$&&$<=10111||11093<=$&&$<=11097||12872<=$&&$<=12879||57344<=$&&$<=63743||65024<=$&&$<=65039||$==65533||127232<=$&&$<=127242||127248<=$&&$<=127277||127280<=$&&$<=127337||127344<=$&&$<=127386||917760<=$&&$<=917999||983040<=$&&$<=1048573||1048576<=$&&$<=1114109?"A":"N"},T.characterLength=function(L){var p=this.eastAsianWidth(L);return p=="F"||p=="W"||p=="A"?2:1};function D(L){return L.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}T.length=function(L){for(var p=D(L),e=0,$=0;$<p.length;$++)e=e+this.characterLength(p[$]);return e},T.slice=function(L,p,e){textLen=T.length(L),p=p||0,e=e||1,p<0&&(p=textLen+p),e<0&&(e=textLen+e);for(var $="",i=0,K=D(L),x=0;x<K.length;x++){var c=K[x],d=T.length(c);if(i>=p-(d==2?1:0))if(i+d<=e)$+=c;else break;i+=d}return $}})(S$);var JH=S$.exports,NH=R$(JH),RH=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},SH=R$(RH);function b(H,T={}){if(typeof H!="string"||H.length===0||(T={ambiguousIsNarrow:!0,...T},H=N$(H),H.length===0))return 0;H=H.replace(SH()," ");let D=T.ambiguousIsNarrow?1:2,L=0;for(let p of H){let e=p.codePointAt(0);if(e<=31||e>=127&&e<=159||e>=768&&e<=879)continue;switch(NH.eastAsianWidth(p)){case"F":case"W":L+=2;break;case"A":L+=D;break;default:L+=1}}return L}var $$=10,B$=(H=0)=>(T)=>`\x1B[${T+H}m`,c$=(H=0)=>(T)=>`\x1B[${38+H};5;${T}m`,C$=(H=0)=>(T,D,L)=>`\x1B[${38+H};2;${T};${D};${L}m`,t={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(t.modifier);var VH=Object.keys(t.color),gH=Object.keys(t.bgColor);[...VH,...gH];function MH(){let H=new Map;for(let[T,D]of Object.entries(t)){for(let[L,p]of Object.entries(D))t[L]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},D[L]=t[L],H.set(p[0],p[1]);Object.defineProperty(t,T,{value:D,enumerable:!1})}return Object.defineProperty(t,"codes",{value:H,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=B$(),t.color.ansi256=c$(),t.color.ansi16m=C$(),t.bgColor.ansi=B$($$),t.bgColor.ansi256=c$($$),t.bgColor.ansi16m=C$($$),Object.defineProperties(t,{rgbToAnsi256:{value:(T,D,L)=>T===D&&D===L?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(L/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[L]=D;L.length===3&&(L=[...L].map((e)=>e+e).join(""));let p=Number.parseInt(L,16);return[p>>16&255,p>>8&255,p&255]},enumerable:!1},hexToAnsi256:{value:(T)=>t.rgbToAnsi256(...t.hexToRgb(T)),enumerable:!1},ansi256ToAnsi:{value:(T)=>{if(T<8)return 30+T;if(T<16)return 90+(T-8);let D,L,p;if(T>=232)D=((T-232)*10+8)/255,L=D,p=D;else{T-=16;let i=T%36;D=Math.floor(T/36)/5,L=Math.floor(i/6)/5,p=i%6/5}let e=Math.max(D,L,p)*2;if(e===0)return 30;let $=30+(Math.round(p)<<2|Math.round(L)<<1|Math.round(D));return e===2&&($+=60),$},enumerable:!1},rgbToAnsi:{value:(T,D,L)=>t.ansi256ToAnsi(t.rgbToAnsi256(T,D,L)),enumerable:!1},hexToAnsi:{value:(T)=>t.ansi256ToAnsi(t.hexToAnsi256(T)),enumerable:!1}}),t}var FH=MH(),Z=new Set(["\x1B","›"]),sH=39,D$="\x07",V$="[",bH="]",g$="m",L$=`${bH}8;;`,h$=(H)=>`${Z.values().next().value}${V$}${H}${g$}`,G$=(H)=>`${Z.values().next().value}${L$}${H}${D$}`,WH=(H)=>H.split(" ").map((T)=>b(T)),H$=(H,T,D)=>{let L=[...T],p=!1,e=!1,$=b(N$(H[H.length-1]));for(let[i,K]of L.entries()){let x=b(K);if($+x<=D?H[H.length-1]+=K:(H.push(K),$=0),Z.has(K)&&(p=!0,e=L.slice(i+1).join("").startsWith(L$)),p){e?K===D$&&(p=!1,e=!1):K===g$&&(p=!1);continue}$+=x,$===D&&i<L.length-1&&(H.push(""),$=0)}!$&&H[H.length-1].length>0&&H.length>1&&(H[H.length-2]+=H.pop())},jH=(H)=>{let T=H.split(" "),D=T.length;for(;D>0&&!(b(T[D-1])>0);)D--;return D===T.length?H:T.slice(0,D).join(" ")+T.slice(D).join("")},OH=(H,T,D={})=>{if(D.trim!==!1&&H.trim()==="")return"";let L="",p,e,$=WH(H),i=[""];for(let[x,c]of H.split(" ").entries()){D.trim!==!1&&(i[i.length-1]=i[i.length-1].trimStart());let d=b(i[i.length-1]);if(x!==0&&(d>=T&&(D.wordWrap===!1||D.trim===!1)&&(i.push(""),d=0),(d>0||D.trim===!1)&&(i[i.length-1]+=" ",d++)),D.hard&&$[x]>T){let h=T-d,S=1+Math.floor(($[x]-h-1)/T);Math.floor(($[x]-1)/T)<S&&i.push(""),H$(i,c,T);continue}if(d+$[x]>T&&d>0&&$[x]>0){if(D.wordWrap===!1&&d<T){H$(i,c,T);continue}i.push("")}if(d+$[x]>T&&D.wordWrap===!1){H$(i,c,T);continue}i[i.length-1]+=c}D.trim!==!1&&(i=i.map((x)=>jH(x)));let K=[...i.join(`
2
+ `)];for(let[x,c]of K.entries()){if(L+=c,Z.has(c)){let{groups:h}=new RegExp(`(?:\\${V$}(?<code>\\d+)m|\\${L$}(?<uri>.*)${D$})`).exec(K.slice(x).join(""))||{groups:{}};if(h.code!==void 0){let S=Number.parseFloat(h.code);p=S===sH?void 0:S}else h.uri!==void 0&&(e=h.uri.length===0?void 0:h.uri)}let d=FH.codes.get(Number(p));K[x+1]===`
3
+ `?(e&&(L+=G$("")),p&&d&&(L+=h$(d))):c===`
4
+ `&&(p&&d&&(L+=h$(p)),e&&(L+=G$(e)))}return L};function u$(H,T,D){return String(H).normalize().replace(/\r\n/g,`
5
5
  `).split(`
6
- `).map((L)=>sH(L,H,D)).join(`
7
- `)}var bH=["up","down","left","right","space","enter","cancel"],O={actions:new Set(bH),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["\x03","cancel"],["escape","cancel"]])};function R$(T,H){if(typeof T=="string")return O.aliases.get(T)===H;for(let D of T)if(D!==void 0&&R$(D,H))return!0;return!1}function WH(T,H){if(T===H)return;let D=T.split(`
8
- `),L=H.split(`
9
- `),p=[];for(let e=0;e<Math.max(D.length,L.length);e++)D[e]!==L[e]&&p.push(e);return p}var jT=globalThis.process.platform.startsWith("win"),$$=Symbol("clack:cancel");function g(T){return T===$$}function j(T,H){let D=T;D.isTTY&&D.setRawMode(H)}var jH=Object.defineProperty,OH=(T,H,D)=>(H in T)?jH(T,H,{enumerable:!0,configurable:!0,writable:!0,value:D}):T[H]=D,G=(T,H,D)=>(OH(T,typeof H!="symbol"?H+"":H,D),D);class D${constructor(T,H=!0){G(this,"input"),G(this,"output"),G(this,"_abortSignal"),G(this,"rl"),G(this,"opts"),G(this,"_render"),G(this,"_track",!1),G(this,"_prevFrame",""),G(this,"_subscribers",new Map),G(this,"_cursor",0),G(this,"state","initial"),G(this,"error",""),G(this,"value");let{input:D=EH,output:L=KH,render:p,signal:e,...$}=T;this.opts=$,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=p.bind(this),this._track=H,this._abortSignal=e,this.input=D,this.output=L}unsubscribe(){this._subscribers.clear()}setSubscriber(T,H){let D=this._subscribers.get(T)??[];D.push(H),this._subscribers.set(T,D)}on(T,H){this.setSubscriber(T,{cb:H})}once(T,H){this.setSubscriber(T,{cb:H,once:!0})}emit(T,...H){let D=this._subscribers.get(T)??[],L=[];for(let p of D)p.cb(...H),p.once&&L.push(()=>D.splice(D.indexOf(p),1));for(let p of L)p()}prompt(){return new Promise((T,H)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),T($$);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}let D=new BH;D._write=(L,p,e)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),e()},this.input.pipe(D),this.rl=P$.createInterface({input:this.input,output:D,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),P$.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),j(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(u.cursor.show),this.output.off("resize",this.render),j(this.input,!1),T(this.value)}),this.once("cancel",()=>{this.output.write(u.cursor.show),this.output.off("resize",this.render),j(this.input,!1),T($$)})})}onKeypress(T,H){if(this.state==="error"&&(this.state="active"),H?.name&&(!this._track&&O.aliases.has(H.name)&&this.emit("cursor",O.aliases.get(H.name)),O.actions.has(H.name)&&this.emit("cursor",H.name)),T&&(T.toLowerCase()==="y"||T.toLowerCase()==="n")&&this.emit("confirm",T.toLowerCase()==="y"),T==="\t"&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder))),T&&this.emit("key",T.toLowerCase()),H?.name==="return"){if(this.opts.validate){let D=this.opts.validate(this.value);D&&(this.error=D instanceof Error?D.message:D,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}R$([T,H?.name,H?.sequence],"cancel")&&(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(`
10
- `),j(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let T=c$(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
11
- `).length-1;this.output.write(u.cursor.move(-999,T*-1))}render(){let T=c$(this._render(this)??"",process.stdout.columns,{hard:!0});if(T!==this._prevFrame){if(this.state==="initial")this.output.write(u.cursor.hide);else{let H=WH(this._prevFrame,T);if(this.restoreCursor(),H&&H?.length===1){let D=H[0];this.output.write(u.cursor.move(0,D)),this.output.write(u.erase.lines(1));let L=T.split(`
12
- `);this.output.write(L[D]),this._prevFrame=T,this.output.write(u.cursor.move(0,L.length-D-1));return}if(H&&H?.length>1){let D=H[0];this.output.write(u.cursor.move(0,D)),this.output.write(u.erase.down());let L=T.split(`
6
+ `).map((L)=>OH(L,T,D)).join(`
7
+ `)}var qH=["up","down","left","right","space","enter","cancel"],k={actions:new Set(qH),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["\x03","cancel"],["escape","cancel"]])};function M$(H,T){if(typeof H=="string")return k.aliases.get(H)===T;for(let D of H)if(D!==void 0&&M$(D,T))return!0;return!1}function vH(H,T){if(H===T)return;let D=H.split(`
8
+ `),L=T.split(`
9
+ `),p=[];for(let e=0;e<Math.max(D.length,L.length);e++)D[e]!==L[e]&&p.push(e);return p}var QT=globalThis.process.platform.startsWith("win"),T$=Symbol("clack:cancel");function M(H){return H===T$}function v(H,T){let D=H;D.isTTY&&D.setRawMode(T)}var kH=Object.defineProperty,ZH=(H,T,D)=>(T in H)?kH(H,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):H[T]=D,G=(H,T,D)=>(ZH(H,typeof T!="symbol"?T+"":T,D),D);class p${constructor(H,T=!0){G(this,"input"),G(this,"output"),G(this,"_abortSignal"),G(this,"rl"),G(this,"opts"),G(this,"_render"),G(this,"_track",!1),G(this,"_prevFrame",""),G(this,"_subscribers",new Map),G(this,"_cursor",0),G(this,"state","initial"),G(this,"error",""),G(this,"value");let{input:D=CH,output:L=hH,render:p,signal:e,...$}=H;this.opts=$,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=p.bind(this),this._track=T,this._abortSignal=e,this.input=D,this.output=L}unsubscribe(){this._subscribers.clear()}setSubscriber(H,T){let D=this._subscribers.get(H)??[];D.push(T),this._subscribers.set(H,D)}on(H,T){this.setSubscriber(H,{cb:T})}once(H,T){this.setSubscriber(H,{cb:T,once:!0})}emit(H,...T){let D=this._subscribers.get(H)??[],L=[];for(let p of D)p.cb(...T),p.once&&L.push(()=>D.splice(D.indexOf(p),1));for(let p of L)p()}prompt(){return new Promise((H,T)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),H(T$);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}let D=new GH;D._write=(L,p,e)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),e()},this.input.pipe(D),this.rl=K$.createInterface({input:this.input,output:D,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),K$.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),v(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(u.cursor.show),this.output.off("resize",this.render),v(this.input,!1),H(this.value)}),this.once("cancel",()=>{this.output.write(u.cursor.show),this.output.off("resize",this.render),v(this.input,!1),H(T$)})})}onKeypress(H,T){if(this.state==="error"&&(this.state="active"),T?.name&&(!this._track&&k.aliases.has(T.name)&&this.emit("cursor",k.aliases.get(T.name)),k.actions.has(T.name)&&this.emit("cursor",T.name)),H&&(H.toLowerCase()==="y"||H.toLowerCase()==="n")&&this.emit("confirm",H.toLowerCase()==="y"),H==="\t"&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this.emit("value",this.opts.placeholder))),H&&this.emit("key",H.toLowerCase()),T?.name==="return"){if(this.opts.validate){let D=this.opts.validate(this.value);D&&(this.error=D instanceof Error?D.message:D,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}M$([H,T?.name,T?.sequence],"cancel")&&(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(`
10
+ `),v(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let H=u$(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
11
+ `).length-1;this.output.write(u.cursor.move(-999,H*-1))}render(){let H=u$(this._render(this)??"",process.stdout.columns,{hard:!0});if(H!==this._prevFrame){if(this.state==="initial")this.output.write(u.cursor.hide);else{let T=vH(this._prevFrame,H);if(this.restoreCursor(),T&&T?.length===1){let D=T[0];this.output.write(u.cursor.move(0,D)),this.output.write(u.erase.lines(1));let L=H.split(`
12
+ `);this.output.write(L[D]),this._prevFrame=H,this.output.write(u.cursor.move(0,L.length-D-1));return}if(T&&T?.length>1){let D=T[0];this.output.write(u.cursor.move(0,D)),this.output.write(u.erase.down());let L=H.split(`
13
13
  `).slice(D);this.output.write(L.join(`
14
- `)),this._prevFrame=T;return}this.output.write(u.erase.down())}this.output.write(T),this.state==="initial"&&(this.state="active"),this._prevFrame=T}}}var qH;qH=new WeakMap;var vH=Object.defineProperty,kH=(T,H,D)=>(H in T)?vH(T,H,{enumerable:!0,configurable:!0,writable:!0,value:D}):T[H]=D,C$=(T,H,D)=>(kH(T,typeof H!="symbol"?H+"":H,D),D);class L$ extends D${constructor(T){super(T,!1),C$(this,"options"),C$(this,"cursor",0),this.options=T.options,this.cursor=this.options.findIndex(({value:H})=>H===T.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",(H)=>{switch(H){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}}class p$ extends D${get valueWithCursor(){if(this.state==="submit")return this.value;if(this.cursor>=this.value.length)return`${this.value}█`;let T=this.value.slice(0,this.cursor),[H,...D]=this.value.slice(this.cursor);return`${T}${h$.default.inverse(H)}${D.join("")}`}get cursor(){return this._cursor}constructor(T){super(T),this.on("finalize",()=>{this.value||(this.value=T.defaultValue)})}}var i=M(w(),1),S$=M(Q(),1);import J from"node:process";function ZH(){return J.platform!=="win32"?J.env.TERM!=="linux":!!J.env.CI||!!J.env.WT_SESSION||!!J.env.TERMINUS_SUBLIME||J.env.ConEmuTask==="{cmd::Cmder}"||J.env.TERM_PROGRAM==="Terminus-Sublime"||J.env.TERM_PROGRAM==="vscode"||J.env.TERM==="xterm-256color"||J.env.TERM==="alacritty"||J.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var UH=ZH(),A=(T,H)=>UH?T:H,QH=A("◆","*"),yH=A("■","x"),wH=A("▲","x"),zH=A("◇","o"),YT=A("┌","T"),C=A("│","|"),s=A("└","—"),YH=A("●",">"),$T=A("○"," "),$D=A("◻","[•]"),HD=A("◼","[+]"),TD=A("◻","[ ]"),DD=A("▪","•"),LD=A("─","-"),pD=A("╮","+"),mD=A("├","+"),eD=A("╯","+"),aD=A("●","•"),lD=A("◆","*"),iD=A("▲","!"),nD=A("■","x"),V$=(T)=>{switch(T){case"initial":case"active":return i.default.cyan(QH);case"cancel":return i.default.red(yH);case"error":return i.default.yellow(wH);case"submit":return i.default.green(zH)}},HT=(T)=>{let{cursor:H,options:D,style:L}=T,p=T.maxItems??Number.POSITIVE_INFINITY,e=Math.max(process.stdout.rows-4,0),$=Math.min(e,Math.max(p,5)),l=0;H>=l+$-3?l=Math.max(Math.min(H-$+3,D.length-$),0):H<l+2&&(l=Math.max(H-2,0));let K=$<D.length&&l>0,x=$<D.length&&l+$<D.length;return D.slice(l,l+$).map((B,d,h)=>{let R=d===0&&K,Z=d===h.length-1&&x;return R||Z?i.default.dim("..."):L(B,d+l===H)})},m$=(T)=>new p$({validate:T.validate,placeholder:T.placeholder,defaultValue:T.defaultValue,initialValue:T.initialValue,render(){let H=`${i.default.gray(C)}
15
- ${V$(this.state)} ${T.message}
16
- `,D=T.placeholder?i.default.inverse(T.placeholder[0])+i.default.dim(T.placeholder.slice(1)):i.default.inverse(i.default.hidden("_")),L=this.value?this.valueWithCursor:D;switch(this.state){case"error":return`${H.trim()}
17
- ${i.default.yellow(C)} ${L}
18
- ${i.default.yellow(s)} ${i.default.yellow(this.error)}
19
- `;case"submit":return`${H}${i.default.gray(C)} ${i.default.dim(this.value||T.placeholder)}`;case"cancel":return`${H}${i.default.gray(C)} ${i.default.strikethrough(i.default.dim(this.value??""))}${this.value?.trim()?`
20
- ${i.default.gray(C)}`:""}`;default:return`${H}${i.default.cyan(C)} ${L}
21
- ${i.default.cyan(s)}
22
- `}}}).prompt();var g$=(T)=>{let H=(D,L)=>{let p=D.label??String(D.value);switch(L){case"selected":return`${i.default.dim(p)}`;case"active":return`${i.default.green(YH)} ${p} ${D.hint?i.default.dim(`(${D.hint})`):""}`;case"cancelled":return`${i.default.strikethrough(i.default.dim(p))}`;default:return`${i.default.dim($T)} ${i.default.dim(p)}`}};return new L$({options:T.options,initialValue:T.initialValue,render(){let D=`${i.default.gray(C)}
23
- ${V$(this.state)} ${T.message}
24
- `;switch(this.state){case"submit":return`${D}${i.default.gray(C)} ${H(this.options[this.cursor],"selected")}`;case"cancel":return`${D}${i.default.gray(C)} ${H(this.options[this.cursor],"cancelled")}
25
- ${i.default.gray(C)}`;default:return`${D}${i.default.cyan(C)} ${HT({cursor:this.cursor,options:this.options,maxItems:T.maxItems,style:(L,p)=>H(L,p?"active":"inactive")}).join(`
26
- ${i.default.cyan(C)} `)}
27
- ${i.default.cyan(s)}
28
- `}}}).prompt()};var v=(T="")=>{process.stdout.write(`${i.default.gray(s)} ${i.default.red(T)}
14
+ `)),this._prevFrame=H;return}this.output.write(u.erase.down())}this.output.write(H),this.state==="initial"&&(this.state="active"),this._prevFrame=H}}}var UH;UH=new WeakMap;var QH=Object.defineProperty,yH=(H,T,D)=>(T in H)?QH(H,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):H[T]=D,f$=(H,T,D)=>(yH(H,typeof T!="symbol"?T+"":T,D),D);class m$ extends p${constructor(H){super(H,!1),f$(this,"options"),f$(this,"cursor",0),this.options=H.options,this.cursor=this.options.findIndex(({value:T})=>T===H.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",(T)=>{switch(T){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}}class e$ extends p${get valueWithCursor(){if(this.state==="submit")return this.value;if(this.cursor>=this.value.length)return`${this.value}█`;let H=this.value.slice(0,this.cursor),[T,...D]=this.value.slice(this.cursor);return`${H}${J$.default.inverse(T)}${D.join("")}`}get cursor(){return this._cursor}constructor(H){super(H),this.on("finalize",()=>{this.value||(this.value=H.defaultValue)})}}var a=s(Y(),1),F$=s(w(),1);import J from"node:process";function wH(){return J.platform!=="win32"?J.env.TERM!=="linux":!!J.env.CI||!!J.env.WT_SESSION||!!J.env.TERMINUS_SUBLIME||J.env.ConEmuTask==="{cmd::Cmder}"||J.env.TERM_PROGRAM==="Terminus-Sublime"||J.env.TERM_PROGRAM==="vscode"||J.env.TERM==="xterm-256color"||J.env.TERM==="alacritty"||J.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var zH=wH(),A=(H,T)=>zH?H:T,YH=A("◆","*"),$T=A("■","x"),HT=A("▲","x"),s$=A("◇","o"),mD=A("┌","T"),B=A("│","|"),W=A("└","—"),TT=A("●",">"),DT=A("○"," "),eD=A("◻","[•]"),aD=A("◼","[+]"),lD=A("◻","[ ]"),iD=A("▪","•"),nD=A("─","-"),oD=A("╮","+"),rD=A("├","+"),XD=A("╯","+"),LT=A("●","•"),pT=A("◆","*"),mT=A("▲","!"),eT=A("■","x"),b$=(H)=>{switch(H){case"initial":case"active":return a.default.cyan(YH);case"cancel":return a.default.red($T);case"error":return a.default.yellow(HT);case"submit":return a.default.green(s$)}},aT=(H)=>{let{cursor:T,options:D,style:L}=H,p=H.maxItems??Number.POSITIVE_INFINITY,e=Math.max(process.stdout.rows-4,0),$=Math.min(e,Math.max(p,5)),i=0;T>=i+$-3?i=Math.max(Math.min(T-$+3,D.length-$),0):T<i+2&&(i=Math.max(T-2,0));let K=$<D.length&&i>0,x=$<D.length&&i+$<D.length;return D.slice(i,i+$).map((c,d,h)=>{let S=d===0&&K,Q=d===h.length-1&&x;return S||Q?a.default.dim("..."):L(c,d+i===T)})},a$=(H)=>new e$({validate:H.validate,placeholder:H.placeholder,defaultValue:H.defaultValue,initialValue:H.initialValue,render(){let T=`${a.default.gray(B)}
15
+ ${b$(this.state)} ${H.message}
16
+ `,D=H.placeholder?a.default.inverse(H.placeholder[0])+a.default.dim(H.placeholder.slice(1)):a.default.inverse(a.default.hidden("_")),L=this.value?this.valueWithCursor:D;switch(this.state){case"error":return`${T.trim()}
17
+ ${a.default.yellow(B)} ${L}
18
+ ${a.default.yellow(W)} ${a.default.yellow(this.error)}
19
+ `;case"submit":return`${T}${a.default.gray(B)} ${a.default.dim(this.value||H.placeholder)}`;case"cancel":return`${T}${a.default.gray(B)} ${a.default.strikethrough(a.default.dim(this.value??""))}${this.value?.trim()?`
20
+ ${a.default.gray(B)}`:""}`;default:return`${T}${a.default.cyan(B)} ${L}
21
+ ${a.default.cyan(W)}
22
+ `}}}).prompt();var W$=(H)=>{let T=(D,L)=>{let p=D.label??String(D.value);switch(L){case"selected":return`${a.default.dim(p)}`;case"active":return`${a.default.green(TT)} ${p} ${D.hint?a.default.dim(`(${D.hint})`):""}`;case"cancelled":return`${a.default.strikethrough(a.default.dim(p))}`;default:return`${a.default.dim(DT)} ${a.default.dim(p)}`}};return new m$({options:H.options,initialValue:H.initialValue,render(){let D=`${a.default.gray(B)}
23
+ ${b$(this.state)} ${H.message}
24
+ `;switch(this.state){case"submit":return`${D}${a.default.gray(B)} ${T(this.options[this.cursor],"selected")}`;case"cancel":return`${D}${a.default.gray(B)} ${T(this.options[this.cursor],"cancelled")}
25
+ ${a.default.gray(B)}`;default:return`${D}${a.default.cyan(B)} ${aT({cursor:this.cursor,options:this.options,maxItems:H.maxItems,style:(L,p)=>T(L,p?"active":"inactive")}).join(`
26
+ ${a.default.cyan(B)} `)}
27
+ ${a.default.cyan(W)}
28
+ `}}}).prompt()};var U=(H="")=>{process.stdout.write(`${a.default.gray(W)} ${a.default.red(H)}
29
29
 
30
- `)};var M$=(T="")=>{process.stdout.write(`${i.default.gray(C)}
31
- ${i.default.gray(s)} ${T}
30
+ `)};var j$=(H="")=>{process.stdout.write(`${a.default.gray(B)}
31
+ ${a.default.gray(W)} ${H}
32
32
 
33
- `)};var oD=`${i.default.gray(C)} `;var mH=M(DH(),1);import LH from"node:os";import hT from"node:path";function GT(){let H=LH.arch()==="x64"?"AutoItX3_x64.dll":"AutoItX3.dll";return hT.join(import.meta.dirname,"dlls",H)}var k=null,pH=null,i$=null,uT={async init(){if(k!==null)return;let T=GT();try{k=mH.default.load(T)}catch(H){throw Error(`Failed to load AutoIt DLL from "${T}". Make sure the DLL files exist in the src/dlls directory. Original error: ${H instanceof Error?H.message:String(H)}`)}pH=k.func("AU3_Init","void",[]),i$=k.func("AU3_MouseMove","int",["int","int","int"]),pH()},async mouseMove(T,H,D=-1){if(i$===null)throw Error("AutoIt is not initialized. Call init() first.");return i$(T,H,D)}},n$=uT;async function NT(){let T=await m$({message:"Nhập X:"});if(g(T))v("Đã hủy thao tác."),process.exit(0);let H=await m$({message:"Nhập Y:"});if(g(H))v("Đã hủy thao tác."),process.exit(0);let D=parseInt(T,10),L=parseInt(H,10);if(Number.isNaN(D)||Number.isNaN(L)){console.log("Tọa độ không hợp lệ. Vui lòng nhập số hợp lệ.");return}await n$.mouseMove(D,L),console.log(`Đã di chuyển chuột đến (${D}, ${L})`)}async function RT(){let T=!0;while(T){let H=await g$({message:"Chọn tùy chọn:",options:[{value:"move",label:"Di chuyển chuột"},{value:"au3info",label:"Mở Au3Info"},{value:"exit",label:"Thoát"}]});if(g(H))v("Đã hủy thao tác."),process.exit(0);switch(H){case"move":await NT();break;case"au3info":{let D=JT.join(import.meta.dirname,"dlls","Au3Info.exe");fT(D,[],{detached:!0,stdio:"ignore"}).unref(),console.log("Đã mở Au3Info.exe");break}case"exit":T=!1;break}}}async function ST(){await n$.init(),await RT(),M$("Tạm biệt!")}ST().catch(console.error);
33
+ `)},R={message:(H="",{symbol:T=a.default.gray(B)}={})=>{let D=[`${a.default.gray(B)}`];if(H){let[L,...p]=H.split(`
34
+ `);D.push(`${T} ${L}`,...p.map((e)=>`${a.default.gray(B)} ${e}`))}process.stdout.write(`${D.join(`
35
+ `)}
36
+ `)},info:(H)=>{R.message(H,{symbol:a.default.blue(LT)})},success:(H)=>{R.message(H,{symbol:a.default.green(pT)})},step:(H)=>{R.message(H,{symbol:a.default.green(s$)})},warn:(H)=>{R.message(H,{symbol:a.default.yellow(mT)})},warning:(H)=>{R.warn(H)},error:(H)=>{R.message(H,{symbol:a.default.red(eT)})}},dD=`${a.default.gray(B)} `;var d$=s(aH(),1);import lH from"node:os";import ST from"node:path";function VT(){let T=lH.arch()==="x64"?"AutoItX3_x64.dll":"AutoItX3.dll";return ST.join(import.meta.dirname,"dlls",T)}var F=null,iH=null,o$=null,r$=null,X$=null,gT={async init(){if(F!==null)return;let H=VT();try{F=d$.default.load(H)}catch(T){throw Error(`Failed to load AutoIt DLL from "${H}". Make sure the DLL files exist in the src/dlls directory. Original error: ${T instanceof Error?T.message:String(T)}`)}iH=F.func("AU3_Init","void",[]),o$=F.func("AU3_MouseMove","int",["int","int","int"]),r$=F.func("AU3_ControlGetText","void",["str16","str16","str16","char16 *","int"]),X$=F.func("AU3_ControlClick","int",["str16","str16","str16","str16","int","int","int"]),iH()},async mouseMove(H,T,D=-1){if(o$===null)throw Error("AutoIt is not initialized. Call init() first.");return o$(H,T,D)},async controlGetText(H,T,D,L=1024){if(r$===null)throw Error("AutoIt is not initialized. Call init() first.");let p=Buffer.alloc(L*2);return r$(H,T,D,p,L),d$.default.decode(p,"char16",L).replace(/\0.*$/,"")},async controlClick(H,T,D,L="left",p=1,e=-2147483647,$=-2147483647){if(X$===null)throw Error("AutoIt is not initialized. Call init() first.");return X$(H,T,D,L,p,e,$)}},j=gT;async function sT(){let H=await a$({message:"Nhập X:"});if(M(H))U("Đã hủy thao tác."),process.exit(0);let T=await a$({message:"Nhập Y:"});if(M(T))U("Đã hủy thao tác."),process.exit(0);let D=parseInt(H,10),L=parseInt(T,10);if(Number.isNaN(D)||Number.isNaN(L)){console.log("Tọa độ không hợp lệ. Vui lòng nhập số hợp lệ.");return}await j.mouseMove(D,L),console.log(`Đã di chuyển chuột đến (${D}, ${L})`)}async function bT(){let H=!0;while(H){let T=await W$({message:"Chọn tùy chọn:",options:[{value:"move",label:"Di chuyển chuột"},{value:"au3info",label:"Mở Au3Info"},{value:"change-all",label:"Change all"},{value:"exit",label:"Thoát"}]});if(M(T))U("Đã hủy thao tác."),process.exit(0);switch(T){case"move":await sT();break;case"au3info":{let D=FT.join(import.meta.dirname,"dlls","Au3Info.exe");MT(D,[],{detached:!0,stdio:"ignore"}).unref(),console.log("Đã mở Au3Info.exe");break}case"change-all":{if(await j.controlClick("MiChanger Plus | v5.2.5 | offersthainguyen@gmail.com","","[CLASS:WindowsForms10.BUTTON.app.0.213697a_r8_ad1; INSTANCE:23]")===1)R.success('Đã click nút "Change ALL" thành công.');else R.error('Không thể click nút "Change ALL". Kiểm tra xem cửa sổ MiChanger Plus có đang mở không.');break}case"exit":H=!1;break}}}async function WT(){await j.init(),await bT(),j$("Tạm biệt!")}WT().catch(console.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nhqydlsh",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "module": "src/index.ts",
5
5
  "type": "module",
6
6
  "private": false,