nhqydlsh 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +40 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,36 +1,46 @@
|
|
|
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,
|
|
3
|
-
`?(
|
|
4
|
-
`&&(p&&
|
|
1
|
+
import{createRequire as VH}from"node:module";var JH=Object.create;var{getPrototypeOf:NH,defineProperty:M$,getOwnPropertyNames:RH}=Object;var SH=Object.prototype.hasOwnProperty;var $$=(H,T,D)=>{D=H!=null?JH(NH(H)):{};let L=T||!H||!H.__esModule?M$(D,"default",{value:H,enumerable:!0}):D;for(let p of RH(H))if(!SH.call(L,p))M$(L,p,{get:()=>H[p],enumerable:!0});return L};var G=(H,T)=>()=>(T||H((T={exports:{}}).exports,T),T.exports);var B=VH(import.meta.url);var n$=G((rD,F$)=>{var i$={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"},gH={up:(H=1)=>"\x1B[S".repeat(H),down:(H=1)=>"\x1B[T".repeat(H)},MH={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?i$.up():"");if(H)T+=i$.left;return T}};F$.exports={cursor:i$,scroll:gH,erase:MH,beep:"\x07"}});var r$=G((XD,o$)=>{var L$=process||{},s$=L$.argv||[],D$=L$.env||{},FH=!(!!D$.NO_COLOR||s$.includes("--no-color"))&&(!!D$.FORCE_COLOR||s$.includes("--color")||L$.platform==="win32"||(L$.stdout||{}).isTTY&&D$.TERM!=="dumb"||!!D$.CI),sH=(H,T,D=H)=>(L)=>{let p=""+L,m=p.indexOf(T,H.length);return~m?H+bH(p,T,D,m)+T:H+p+T},bH=(H,T,D,L)=>{let p="",m=0;do p+=H.substring(m,L)+D,m=L+T.length,L=H.indexOf(T,m);while(~L);return p+H.substring(m)},b$=(H=FH)=>{let T=H?sH:()=>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")}};o$.exports=b$();o$.exports.createColors=b$});var eH=G((FD,xT)=>{xT.exports=B("./koffi-s61f7w9d.node")});var aH=G((sD,PT)=>{PT.exports=B("./koffi-55z8z9xz.node")});var lH=G((bD,AT)=>{AT.exports=B("./koffi-f63nmft8.node")});var iH=G((WD,IT)=>{IT.exports=B("./koffi-a4pekmv4.node")});var nH=G((jD,ET)=>{ET.exports=B("./koffi-4nktnnb9.node")});var oH=G((OD,KT)=>{KT.exports=B("./koffi-s5efe150.node")});var rH=G((qD,BT)=>{BT.exports=B("./koffi-40kasmrm.node")});var XH=G((vD,cT)=>{cT.exports=B("./koffi-8m620cym.node")});var dH=G((kD,CT)=>{CT.exports=B("./koffi-a0sjcyyx.node")});var _H=G((ZD,hT)=>{hT.exports=B("./koffi-smxxaj2h.node")});var tH=G((UD,GT)=>{GT.exports=B("./koffi-88ed5pe7.node")});var xH=G((QD,uT)=>{uT.exports=B("./koffi-cx3j53c6.node")});var PH=G((yD,fT)=>{fT.exports=B("./koffi-5tm6jtw0.node")});var AH=G((wD,JT)=>{JT.exports=B("./koffi-wx4jmq8s.node")});var IH=G((zD,NT)=>{NT.exports=B("./koffi-9b4rqdsw.node")});var EH=G((YD,RT)=>{RT.exports=B("./koffi-63r45r88.node")});var KH=G(($L,ST)=>{ST.exports=B("./koffi-dv8d12dn.node")});var BH=G((HL,VT)=>{VT.exports=B("./koffi-zgnt69v4.node")});var CH=G((cH,f$)=>{var __dirname="D:\\projects\\NodeJs\\mmo-android-cc-checker-automation\\node_modules\\koffi",gT=Object.getOwnPropertyNames,u$=(H,T)=>function(){return T||(0,H[gT(H)[0]])((T={exports:{}}).exports,T),T.exports},MT=u$({"bin/Koffi/package/src/cnoke/src/tools.js"(H,T){var D=B("crypto"),L=B("fs"),p=B("https"),m=B("path"),$=B("zlib");async function a(e,l){console.log(">> Downloading "+e);let[X,P]=t(l);try{await new Promise((E,c)=>{p.get(e,(j)=>{if(j.statusCode!=200){let U=Error(`Download failed: ${j.statusMessage} [${j.statusCode}]`);U.code=j.statusCode,c(U);return}j.pipe(P),P.on("finish",()=>P.close(()=>{try{L.renameSync(P.path,l)}catch(U){if(!L.existsSync(l))c(U)}E()}))}).on("error",c),P.on("error",c)})}catch(E){P.close();try{L.unlinkSync(X)}catch(c){if(c.code!="ENOENT")throw c}throw E}}function t(e){let l=Buffer.allocUnsafe(4);for(;;)try{D.randomFillSync(l);let X=l.toString("hex").padStart(8,"0"),P=`${e}.${X}`,E=L.createWriteStream(P,{flags:"wx",mode:420});return[P,E]}catch(X){if(X.code!="EEXIST")throw X}}function x(e,l,X=0){let P=L.createReadStream(e).pipe($.createGunzip());return new Promise((E,c)=>{let K=null,j={};P.on("readable",()=>{try{for(;;){if(K==null){let R=P.read(512);if(R==null)break;if(!R[0])continue;if(K={filename:R.toString("utf-8",0,100).replace(/\0/g,""),mode:parseInt(R.toString("ascii",100,109),8),size:parseInt(R.toString("ascii",124,137),8),type:String.fromCharCode(R[156])},Object.assign(K,j),j={},K.filename=K.filename.replace(/\\/g,"/"),!K.filename.length)throw Error("Insecure empty filename inside TAR archive");if(_(K.filename[0]))throw Error("Insecure filename starting with / inside TAR archive");if(A(K.filename))throw Error("Insecure filename containing '..' inside TAR archive");for(let Z=0;Z<X;Z++)K.filename=K.filename.substr(K.filename.indexOf("/")+1)}let U=Math.floor((K.size+511)/512)*512,y=K.size?P.read(U):null;if(y==null){if(K.size)break;y=Buffer.alloc(0)}if(y=y.subarray(0,K.size),K.type=="0"||K.type=="7"){let R=l+"/"+K.filename,Z=m.dirname(R);L.mkdirSync(Z,{recursive:!0,mode:493}),L.writeFileSync(R,y,{mode:K.mode})}else if(K.type=="5"){let R=l+"/"+K.filename;L.mkdirSync(R,{recursive:!0,mode:K.mode})}else if(K.type=="L")j.filename=y.toString("utf-8").replace(/\0/g,"");else if(K.type=="x"){let R=y.toString("utf-8");try{while(R.length){let Z=R.match(/^([0-9]+) ([a-zA-Z0-9\._]+)=(.*)\n/),uH=parseInt(Z[1],10),fH=Z[2],g$=Z[3];switch(fH){case"path":j.filename=g$;break;case"size":j.size=parseInt(g$,10);break}R=R.substr(uH).trimStart()}}catch(Z){throw Error("Malformed PAX entry")}}K=null}}catch(U){c(U)}}),P.on("error",c),P.on("end",E)})}function _(e){if(process.platform=="win32"&&e.match(/^[a-zA-Z]:/))e=e.substr(2);return I(e[0])}function A(e){let l=0;for(;;){let X=e.indexOf("..",l);if(X<0)break;if(l=X+2,X&&!I(e[X-1]))continue;if(X+2<e.length&&!I(e[X+2]))continue;return!0}return!1}function I(e){if(e=="/")return!0;if(process.platform=="win32"&&e=="\\")return!0;return!1}function N(e,l){let X=new Set;{let P=L.readdirSync(e,{withFileTypes:!0});for(let E of P){if(!E.isFile())continue;X.add(E.name),L.copyFileSync(e+`/${E.name}`,l+`/${E.name}`)}}{let P=L.readdirSync(l,{withFileTypes:!0});for(let E of P){if(!E.isFile())continue;if(X.has(E.name))continue;L.unlinkSync(l+`/${E.name}`)}}}function b(){let e=process.arch;if(e=="riscv32"||e=="riscv64"){let l=s(process.execPath,512);switch(J(l).e_flags&6){case 0:break;case 2:e+="f";break;case 4:e+="d";break;case 6:e+="q";break}}else if(e=="arm"){let l=s(process.execPath,512),X=J(l);if(X.e_flags&1024)e+="hf";else if(X.e_flags&512)e+="sf";else throw Error("Unknown ARM floating-point ABI")}return e}function s(e,l){let X=null;try{let P=L.openSync(e),E=Buffer.allocUnsafe(l),c=L.readSync(P,E);return E.subarray(0,c)}finally{if(X!=null)L.closeSync(X)}}function J(e){let l={};if(e.length<16)throw Error("Truncated header");if(e[0]!=127||e[1]!=69||e[2]!=76||e[3]!=70)throw Error("Invalid magic number");if(e[6]!=1)throw Error("Invalid ELF version");if(e[5]!=1)throw Error("Big-endian architectures are not supported");switch(e.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(e[4]){case 1:l.e_machine="riscv32";break;case 2:l.e_machine="riscv64";break}break;case 248:switch(e[4]){case 1:l.e_machine="loong32";break;case 2:l.e_machine="loong64";break}break;default:throw Error("Unknown ELF machine type")}switch(e[4]){case 1:{if(e=e.subarray(0,68),e.length<68)throw Error("Truncated ELF header");l.ei_class=32,l.e_flags=e.readUInt32LE(36)}break;case 2:{if(e=e.subarray(0,120),e.length<120)throw Error("Truncated ELF header");l.ei_class=64,l.e_flags=e.readUInt32LE(48)}break;default:throw Error("Invalid ELF class")}return l}function v(e){try{if(L.rmSync!=null)L.rmSync(e,{recursive:!0,maxRetries:process.platform=="win32"?3:0});else L.rmdirSync(e,{recursive:!0,maxRetries:process.platform=="win32"?3:0})}catch(l){if(l.code!=="ENOENT")throw l}}function k(e,l){if(e>8)return null;let X={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"]},P=Math.max(...Object.keys(X).map((c)=>parseInt(c,10)));if(l>P)return l+".0.0";if(X[l]==null)return null;return X[l][e-1]||null}function W(e,l){return e=String(e).replace(/-.*$/,"").split(".").reduce((P,E,c)=>P+parseInt(E,10)*Math.pow(10,2*(5-c)),0),l=String(l).replace(/-.*$/,"").split(".").reduce((P,E,c)=>P+parseInt(E,10)*Math.pow(10,2*(5-c)),0),Math.min(Math.max(e-l,-1),1)}T.exports={download_http:a,extract_targz:x,path_is_absolute:_,path_has_dotdot:A,sync_files:N,determine_arch:b,unlink_recursive:v,get_napi_version:k,cmp_version:W}}}),FT=u$({"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"}}}),sT=u$({"bin/Koffi/package/src/koffi/src/init.js"(exports,module){var fs=B("fs"),path=B("path"),util=B("util"),{get_napi_version,determine_arch}=MT(),pkg=FT();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:bT,init:WT}=sT(),G$=bT(),f=null;try{switch(G$){case"darwin_arm64":f=eH();break;case"darwin_x64":f=aH();break;case"freebsd_arm64":f=lH();break;case"freebsd_ia32":f=iH();break;case"freebsd_x64":f=nH();break;case"linux_armhf":f=oH();break;case"linux_arm64":f=rH();break;case"linux_ia32":f=XH();break;case"linux_loong64":f=dH();break;case"linux_riscv64d":f=_H();break;case"linux_x64":f=tH();break;case"openbsd_ia32":f=xH();break;case"openbsd_x64":f=PH();break;case"win32_arm64":f=AH();break;case"win32_ia32":f=IH();break;case"win32_x64":f=EH();break}}catch{try{switch(G$){case"linux_arm64":f=KH();break;case"linux_x64":f=BH();break}}catch{}}var jT=WT(G$,f);f$.exports=jT});var S=$$(n$(),1),w$=$$(r$(),1);import{stdin as Q$,stdout as y$}from"node:process";import*as Q from"node:readline";import W$ from"node:readline";import{Writable as WH}from"node:stream";function jH({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 OH=jH();function z$(H){if(typeof H!="string")throw TypeError(`Expected a \`string\`, got \`${typeof H}\``);return H.replace(OH,"")}function Y$(H){return H&&H.__esModule&&Object.prototype.hasOwnProperty.call(H,"default")?H.default:H}var $H={exports:{}};(function(H){var T={};H.exports=T,T.eastAsianWidth=function(L){var p=L.charCodeAt(0),m=L.length==2?L.charCodeAt(1):0,$=p;return 55296<=p&&p<=56319&&56320<=m&&m<=57343&&(p&=1023,m&=1023,$=p<<10|m,$+=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),m=0,$=0;$<p.length;$++)m=m+this.characterLength(p[$]);return m},T.slice=function(L,p,m){textLen=T.length(L),p=p||0,m=m||1,p<0&&(p=textLen+p),m<0&&(m=textLen+m);for(var $="",a=0,t=D(L),x=0;x<t.length;x++){var _=t[x],A=T.length(_);if(a>=p-(A==2?1:0))if(a+A<=m)$+=_;else break;a+=A}return $}})($H);var qH=$H.exports,vH=Y$(qH),kH=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},ZH=Y$(kH);function H$(H,T={}){if(typeof H!="string"||H.length===0||(T={ambiguousIsNarrow:!0,...T},H=z$(H),H.length===0))return 0;H=H.replace(ZH()," ");let D=T.ambiguousIsNarrow?1:2,L=0;for(let p of H){let m=p.codePointAt(0);if(m<=31||m>=127&&m<=159||m>=768&&m<=879)continue;switch(vH.eastAsianWidth(p)){case"F":case"W":L+=2;break;case"A":L+=D;break;default:L+=1}}return L}var X$=10,j$=(H=0)=>(T)=>`\x1B[${T+H}m`,O$=(H=0)=>(T)=>`\x1B[${38+H};5;${T}m`,q$=(H=0)=>(T,D,L)=>`\x1B[${38+H};2;${T};${D};${L}m`,C={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(C.modifier);var UH=Object.keys(C.color),QH=Object.keys(C.bgColor);[...UH,...QH];function yH(){let H=new Map;for(let[T,D]of Object.entries(C)){for(let[L,p]of Object.entries(D))C[L]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},D[L]=C[L],H.set(p[0],p[1]);Object.defineProperty(C,T,{value:D,enumerable:!1})}return Object.defineProperty(C,"codes",{value:H,enumerable:!1}),C.color.close="\x1B[39m",C.bgColor.close="\x1B[49m",C.color.ansi=j$(),C.color.ansi256=O$(),C.color.ansi16m=q$(),C.bgColor.ansi=j$(X$),C.bgColor.ansi256=O$(X$),C.bgColor.ansi16m=q$(X$),Object.defineProperties(C,{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((m)=>m+m).join(""));let p=Number.parseInt(L,16);return[p>>16&255,p>>8&255,p&255]},enumerable:!1},hexToAnsi256:{value:(T)=>C.rgbToAnsi256(...C.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 a=T%36;D=Math.floor(T/36)/5,L=Math.floor(a/6)/5,p=a%6/5}let m=Math.max(D,L,p)*2;if(m===0)return 30;let $=30+(Math.round(p)<<2|Math.round(L)<<1|Math.round(D));return m===2&&($+=60),$},enumerable:!1},rgbToAnsi:{value:(T,D,L)=>C.ansi256ToAnsi(C.rgbToAnsi256(T,D,L)),enumerable:!1},hexToAnsi:{value:(T)=>C.ansi256ToAnsi(C.hexToAnsi256(T)),enumerable:!1}}),C}var wH=yH(),e$=new Set(["\x1B",""]),zH=39,t$="\x07",HH="[",YH="]",TH="m",x$=`${YH}8;;`,v$=(H)=>`${e$.values().next().value}${HH}${H}${TH}`,k$=(H)=>`${e$.values().next().value}${x$}${H}${t$}`,$T=(H)=>H.split(" ").map((T)=>H$(T)),d$=(H,T,D)=>{let L=[...T],p=!1,m=!1,$=H$(z$(H[H.length-1]));for(let[a,t]of L.entries()){let x=H$(t);if($+x<=D?H[H.length-1]+=t:(H.push(t),$=0),e$.has(t)&&(p=!0,m=L.slice(a+1).join("").startsWith(x$)),p){m?t===t$&&(p=!1,m=!1):t===TH&&(p=!1);continue}$+=x,$===D&&a<L.length-1&&(H.push(""),$=0)}!$&&H[H.length-1].length>0&&H.length>1&&(H[H.length-2]+=H.pop())},HT=(H)=>{let T=H.split(" "),D=T.length;for(;D>0&&!(H$(T[D-1])>0);)D--;return D===T.length?H:T.slice(0,D).join(" ")+T.slice(D).join("")},TT=(H,T,D={})=>{if(D.trim!==!1&&H.trim()==="")return"";let L="",p,m,$=$T(H),a=[""];for(let[x,_]of H.split(" ").entries()){D.trim!==!1&&(a[a.length-1]=a[a.length-1].trimStart());let A=H$(a[a.length-1]);if(x!==0&&(A>=T&&(D.wordWrap===!1||D.trim===!1)&&(a.push(""),A=0),(A>0||D.trim===!1)&&(a[a.length-1]+=" ",A++)),D.hard&&$[x]>T){let I=T-A,N=1+Math.floor(($[x]-I-1)/T);Math.floor(($[x]-1)/T)<N&&a.push(""),d$(a,_,T);continue}if(A+$[x]>T&&A>0&&$[x]>0){if(D.wordWrap===!1&&A<T){d$(a,_,T);continue}a.push("")}if(A+$[x]>T&&D.wordWrap===!1){d$(a,_,T);continue}a[a.length-1]+=_}D.trim!==!1&&(a=a.map((x)=>HT(x)));let t=[...a.join(`
|
|
2
|
+
`)];for(let[x,_]of t.entries()){if(L+=_,e$.has(_)){let{groups:I}=new RegExp(`(?:\\${HH}(?<code>\\d+)m|\\${x$}(?<uri>.*)${t$})`).exec(t.slice(x).join(""))||{groups:{}};if(I.code!==void 0){let N=Number.parseFloat(I.code);p=N===zH?void 0:N}else I.uri!==void 0&&(m=I.uri.length===0?void 0:I.uri)}let A=wH.codes.get(Number(p));t[x+1]===`
|
|
3
|
+
`?(m&&(L+=k$("")),p&&A&&(L+=v$(A))):_===`
|
|
4
|
+
`&&(p&&A&&(L+=v$(p)),m&&(L+=k$(m)))}return L};function Z$(H,T,D){return String(H).normalize().replace(/\r\n/g,`
|
|
5
5
|
`).split(`
|
|
6
|
-
`).map((L)=>
|
|
7
|
-
`)}var
|
|
6
|
+
`).map((L)=>TT(L,T,D)).join(`
|
|
7
|
+
`)}var DT=["up","down","left","right","space","enter","cancel"],m$={actions:new Set(DT),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["\x03","cancel"],["escape","cancel"]])};function P$(H,T){if(typeof H=="string")return m$.aliases.get(H)===T;for(let D of H)if(D!==void 0&&P$(D,T))return!0;return!1}function LT(H,T){if(H===T)return;let D=H.split(`
|
|
8
8
|
`),L=T.split(`
|
|
9
|
-
`),p=[];for(let
|
|
10
|
-
`),
|
|
11
|
-
`).length-1;this.output.write(
|
|
12
|
-
`);this.output.write(L[D]),this._prevFrame=H,this.output.write(
|
|
9
|
+
`),p=[];for(let m=0;m<Math.max(D.length,L.length);m++)D[m]!==L[m]&&p.push(m);return p}var pT=globalThis.process.platform.startsWith("win"),_$=Symbol("clack:cancel");function n(H){return H===_$}function p$(H,T){let D=H;D.isTTY&&D.setRawMode(T)}function DH({input:H=Q$,output:T=y$,overwrite:D=!0,hideCursor:L=!0}={}){let p=Q.createInterface({input:H,output:T,prompt:"",tabSize:1});Q.emitKeypressEvents(H,p),H.isTTY&&H.setRawMode(!0);let m=($,{name:a,sequence:t})=>{let x=String($);if(P$([x,a,t],"cancel")){L&&T.write(S.cursor.show),process.exit(0);return}if(!D)return;Q.moveCursor(T,a==="return"?0:-1,a==="return"?-1:0,()=>{Q.clearLine(T,1,()=>{H.once("keypress",m)})})};return L&&T.write(S.cursor.hide),H.once("keypress",m),()=>{H.off("keypress",m),L&&T.write(S.cursor.show),H.isTTY&&!pT&&H.setRawMode(!1),p.terminal=!1,p.close()}}var mT=Object.defineProperty,eT=(H,T,D)=>(T in H)?mT(H,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):H[T]=D,M=(H,T,D)=>(eT(H,typeof T!="symbol"?T+"":T,D),D);class a${constructor(H,T=!0){M(this,"input"),M(this,"output"),M(this,"_abortSignal"),M(this,"rl"),M(this,"opts"),M(this,"_render"),M(this,"_track",!1),M(this,"_prevFrame",""),M(this,"_subscribers",new Map),M(this,"_cursor",0),M(this,"state","initial"),M(this,"error",""),M(this,"value");let{input:D=Q$,output:L=y$,render:p,signal:m,...$}=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=m,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(_$);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}let D=new WH;D._write=(L,p,m)=>{this._track&&(this.value=this.rl?.line.replace(/\t/g,""),this._cursor=this.rl?.cursor??0,this.emit("value",this.value)),m()},this.input.pipe(D),this.rl=W$.createInterface({input:this.input,output:D,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),W$.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),p$(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),p$(this.input,!1),H(this.value)}),this.once("cancel",()=>{this.output.write(S.cursor.show),this.output.off("resize",this.render),p$(this.input,!1),H(_$)})})}onKeypress(H,T){if(this.state==="error"&&(this.state="active"),T?.name&&(!this._track&&m$.aliases.has(T.name)&&this.emit("cursor",m$.aliases.get(T.name)),m$.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")}P$([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
|
+
`),p$(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let H=Z$(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
|
|
11
|
+
`).length-1;this.output.write(S.cursor.move(-999,H*-1))}render(){let H=Z$(this._render(this)??"",process.stdout.columns,{hard:!0});if(H!==this._prevFrame){if(this.state==="initial")this.output.write(S.cursor.hide);else{let T=LT(this._prevFrame,H);if(this.restoreCursor(),T&&T?.length===1){let D=T[0];this.output.write(S.cursor.move(0,D)),this.output.write(S.erase.lines(1));let L=H.split(`
|
|
12
|
+
`);this.output.write(L[D]),this._prevFrame=H,this.output.write(S.cursor.move(0,L.length-D-1));return}if(T&&T?.length>1){let D=T[0];this.output.write(S.cursor.move(0,D)),this.output.write(S.erase.down());let L=H.split(`
|
|
13
13
|
`).slice(D);this.output.write(L.join(`
|
|
14
|
-
`)),this._prevFrame=H;return}this.output.write(
|
|
15
|
-
${
|
|
16
|
-
`,D=H.placeholder?
|
|
17
|
-
${
|
|
18
|
-
${
|
|
19
|
-
`;case"submit":return`${T}${
|
|
20
|
-
${
|
|
21
|
-
${
|
|
22
|
-
`}}}).prompt();var
|
|
23
|
-
${
|
|
24
|
-
|
|
25
|
-
${
|
|
26
|
-
${
|
|
27
|
-
${
|
|
28
|
-
|
|
14
|
+
`)),this._prevFrame=H;return}this.output.write(S.erase.down())}this.output.write(H),this.state==="initial"&&(this.state="active"),this._prevFrame=H}}}class A$ extends a${get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(H){super(H,!1),this.value=!!H.initialValue,this.on("value",()=>{this.value=this._value}),this.on("confirm",(T)=>{this.output.write(S.cursor.move(0,-1)),this.value=T,this.state="submit",this.close()}),this.on("cursor",()=>{this.value=!this.value})}}var aT;aT=new WeakMap;var lT=Object.defineProperty,iT=(H,T,D)=>(T in H)?lT(H,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):H[T]=D,U$=(H,T,D)=>(iT(H,typeof T!="symbol"?T+"":T,D),D);class I$ extends a${constructor(H){super(H,!1),U$(this,"options"),U$(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 a${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}${w$.default.inverse(T)}${D.join("")}`}get cursor(){return this._cursor}constructor(H){super(H),this.on("finalize",()=>{this.value||(this.value=H.defaultValue)})}}var i=$$(r$(),1),l$=$$(n$(),1);import O from"node:process";function nT(){return O.platform!=="win32"?O.env.TERM!=="linux":!!O.env.CI||!!O.env.WT_SESSION||!!O.env.TERMINUS_SUBLIME||O.env.ConEmuTask==="{cmd::Cmder}"||O.env.TERM_PROGRAM==="Terminus-Sublime"||O.env.TERM_PROGRAM==="vscode"||O.env.TERM==="xterm-256color"||O.env.TERM==="alacritty"||O.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var K$=nT(),u=(H,T)=>K$?H:T,oT=u("◆","*"),LH=u("■","x"),pH=u("▲","x"),C$=u("◇","o"),CD=u("┌","T"),h=u("│","|"),z=u("└","—"),B$=u("●",">"),c$=u("○"," "),hD=u("◻","[•]"),GD=u("◼","[+]"),uD=u("◻","[ ]"),fD=u("▪","•"),JD=u("─","-"),ND=u("╮","+"),RD=u("├","+"),SD=u("╯","+"),rT=u("●","•"),XT=u("◆","*"),dT=u("▲","!"),_T=u("■","x"),h$=(H)=>{switch(H){case"initial":case"active":return i.default.cyan(oT);case"cancel":return i.default.red(LH);case"error":return i.default.yellow(pH);case"submit":return i.default.green(C$)}},tT=(H)=>{let{cursor:T,options:D,style:L}=H,p=H.maxItems??Number.POSITIVE_INFINITY,m=Math.max(process.stdout.rows-4,0),$=Math.min(m,Math.max(p,5)),a=0;T>=a+$-3?a=Math.max(Math.min(T-$+3,D.length-$),0):T<a+2&&(a=Math.max(T-2,0));let t=$<D.length&&a>0,x=$<D.length&&a+$<D.length;return D.slice(a,a+$).map((_,A,I)=>{let N=A===0&&t,b=A===I.length-1&&x;return N||b?i.default.dim("..."):L(_,A+a===T)})},d=(H)=>new E$({validate:H.validate,placeholder:H.placeholder,defaultValue:H.defaultValue,initialValue:H.initialValue,render(){let T=`${i.default.gray(h)}
|
|
15
|
+
${h$(this.state)} ${H.message}
|
|
16
|
+
`,D=H.placeholder?i.default.inverse(H.placeholder[0])+i.default.dim(H.placeholder.slice(1)):i.default.inverse(i.default.hidden("_")),L=this.value?this.valueWithCursor:D;switch(this.state){case"error":return`${T.trim()}
|
|
17
|
+
${i.default.yellow(h)} ${L}
|
|
18
|
+
${i.default.yellow(z)} ${i.default.yellow(this.error)}
|
|
19
|
+
`;case"submit":return`${T}${i.default.gray(h)} ${i.default.dim(this.value||H.placeholder)}`;case"cancel":return`${T}${i.default.gray(h)} ${i.default.strikethrough(i.default.dim(this.value??""))}${this.value?.trim()?`
|
|
20
|
+
${i.default.gray(h)}`:""}`;default:return`${T}${i.default.cyan(h)} ${L}
|
|
21
|
+
${i.default.cyan(z)}
|
|
22
|
+
`}}}).prompt();var w=(H)=>{let T=H.active??"Yes",D=H.inactive??"No";return new A$({active:T,inactive:D,initialValue:H.initialValue??!0,render(){let L=`${i.default.gray(h)}
|
|
23
|
+
${h$(this.state)} ${H.message}
|
|
24
|
+
`,p=this.value?T:D;switch(this.state){case"submit":return`${L}${i.default.gray(h)} ${i.default.dim(p)}`;case"cancel":return`${L}${i.default.gray(h)} ${i.default.strikethrough(i.default.dim(p))}
|
|
25
|
+
${i.default.gray(h)}`;default:return`${L}${i.default.cyan(h)} ${this.value?`${i.default.green(B$)} ${T}`:`${i.default.dim(c$)} ${i.default.dim(T)}`} ${i.default.dim("/")} ${this.value?`${i.default.dim(c$)} ${i.default.dim(D)}`:`${i.default.green(B$)} ${D}`}
|
|
26
|
+
${i.default.cyan(z)}
|
|
27
|
+
`}}}).prompt()},T$=(H)=>{let T=(D,L)=>{let p=D.label??String(D.value);switch(L){case"selected":return`${i.default.dim(p)}`;case"active":return`${i.default.green(B$)} ${p} ${D.hint?i.default.dim(`(${D.hint})`):""}`;case"cancelled":return`${i.default.strikethrough(i.default.dim(p))}`;default:return`${i.default.dim(c$)} ${i.default.dim(p)}`}};return new I$({options:H.options,initialValue:H.initialValue,render(){let D=`${i.default.gray(h)}
|
|
28
|
+
${h$(this.state)} ${H.message}
|
|
29
|
+
`;switch(this.state){case"submit":return`${D}${i.default.gray(h)} ${T(this.options[this.cursor],"selected")}`;case"cancel":return`${D}${i.default.gray(h)} ${T(this.options[this.cursor],"cancelled")}
|
|
30
|
+
${i.default.gray(h)}`;default:return`${D}${i.default.cyan(h)} ${tT({cursor:this.cursor,options:this.options,maxItems:H.maxItems,style:(L,p)=>T(L,p?"active":"inactive")}).join(`
|
|
31
|
+
${i.default.cyan(h)} `)}
|
|
32
|
+
${i.default.cyan(z)}
|
|
33
|
+
`}}}).prompt()};var o=(H="")=>{process.stdout.write(`${i.default.gray(z)} ${i.default.red(H)}
|
|
29
34
|
|
|
30
|
-
`)};var
|
|
31
|
-
${
|
|
35
|
+
`)};var mH=(H="")=>{process.stdout.write(`${i.default.gray(h)}
|
|
36
|
+
${i.default.gray(z)} ${H}
|
|
32
37
|
|
|
33
|
-
`)},
|
|
34
|
-
`);D.push(`${T} ${L}`,...p.map((
|
|
38
|
+
`)},r={message:(H="",{symbol:T=i.default.gray(h)}={})=>{let D=[`${i.default.gray(h)}`];if(H){let[L,...p]=H.split(`
|
|
39
|
+
`);D.push(`${T} ${L}`,...p.map((m)=>`${i.default.gray(h)} ${m}`))}process.stdout.write(`${D.join(`
|
|
35
40
|
`)}
|
|
36
|
-
`)},info:(H)=>{
|
|
41
|
+
`)},info:(H)=>{r.message(H,{symbol:i.default.blue(rT)})},success:(H)=>{r.message(H,{symbol:i.default.green(XT)})},step:(H)=>{r.message(H,{symbol:i.default.green(C$)})},warn:(H)=>{r.message(H,{symbol:i.default.yellow(dT)})},warning:(H)=>{r.warn(H)},error:(H)=>{r.message(H,{symbol:i.default.red(_T)})}},VD=`${i.default.gray(h)} `;var V=({indicator:H="dots"}={})=>{let T=K$?["◒","◐","◓","◑"]:["•","o","O","0"],D=K$?80:120,L=process.env.CI==="true",p,m,$=!1,a="",t,x=performance.now(),_=(e)=>{let l=e>1?"Something went wrong":"Canceled";$&&W(l,e)},A=()=>_(2),I=()=>_(1),N=()=>{process.on("uncaughtExceptionMonitor",A),process.on("unhandledRejection",A),process.on("SIGINT",I),process.on("SIGTERM",I),process.on("exit",_)},b=()=>{process.removeListener("uncaughtExceptionMonitor",A),process.removeListener("unhandledRejection",A),process.removeListener("SIGINT",I),process.removeListener("SIGTERM",I),process.removeListener("exit",_)},s=()=>{if(t===void 0)return;L&&process.stdout.write(`
|
|
42
|
+
`);let e=t.split(`
|
|
43
|
+
`);process.stdout.write(l$.cursor.move(-999,e.length-1)),process.stdout.write(l$.erase.down(e.length))},J=(e)=>e.replace(/\.+$/,""),v=(e)=>{let l=(performance.now()-e)/1000,X=Math.floor(l/60),P=Math.floor(l%60);return X>0?`[${X}m ${P}s]`:`[${P}s]`},k=(e="")=>{$=!0,p=DH(),a=J(e),x=performance.now(),process.stdout.write(`${i.default.gray(h)}
|
|
44
|
+
`);let l=0,X=0;N(),m=setInterval(()=>{if(L&&a===t)return;s(),t=a;let P=i.default.magenta(T[l]);if(L)process.stdout.write(`${P} ${a}...`);else if(H==="timer")process.stdout.write(`${P} ${a} ${v(x)}`);else{let E=".".repeat(Math.floor(X)).slice(0,3);process.stdout.write(`${P} ${a}${E}`)}l=l+1<T.length?l+1:0,X=X<T.length?X+0.125:0},D)},W=(e="",l=0)=>{$=!1,clearInterval(m),s();let X=l===0?i.default.green(C$):l===1?i.default.red(LH):i.default.red(pH);a=J(e??a),H==="timer"?process.stdout.write(`${X} ${a} ${v(x)}
|
|
45
|
+
`):process.stdout.write(`${X} ${a}
|
|
46
|
+
`),b(),p()};return{start:k,stop:W,message:(e="")=>{a=J(e??a)}}};var S$=$$(CH(),1);import hH from"node:os";import OT from"node:path";function qT(){let T=hH.arch()==="x64"?"AutoItX3_x64.dll":"AutoItX3.dll";return OT.join(import.meta.dirname,"dlls",T)}var Y=null,GH=null,J$=null,N$=null,R$=null,vT={async init(){if(Y!==null)return;let H=qT();try{Y=S$.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)}`)}GH=Y.func("AU3_Init","void",[]),J$=Y.func("AU3_MouseMove","int",["int","int","int"]),N$=Y.func("AU3_ControlGetText","void",["str16","str16","str16","char16 *","int"]),R$=Y.func("AU3_ControlClick","int",["str16","str16","str16","str16","int","int","int"]),GH()},async mouseMove(H,T,D=-1){if(J$===null)throw Error("AutoIt is not initialized. Call init() first.");return J$(H,T,D)},async controlGetText(H,T,D,L=1024){if(N$===null)throw Error("AutoIt is not initialized. Call init() first.");let p=Buffer.alloc(L*2);return N$(H,T,D,p,L),S$.default.decode(p,"char16",L).replace(/\0.*$/,"")},async controlClick(H,T,D,L="left",p=1,m=-2147483647,$=-2147483647){if(R$===null)throw Error("AutoIt is not initialized. Call init() first.");return R$(H,T,D,L,p,m,$)}},V$=vT;function F(H,T,D){let L=new URL(T,H);for(let[p,m]of Object.entries(D)){if(m===void 0)continue;let $;if(typeof m==="boolean")$=m?"True":"False";else $=String(m);L.searchParams.append(p,$)}return L.toString()}var kT={config:{baseUrl:"http://localhost:9999"},setBaseUrl(H){this.config.baseUrl=H},async test(){let H=F(this.config.baseUrl,"/test",{});return(await fetch(H)).json()},async change(H){let T=F(this.config.baseUrl,"/change",{serial:H.serial,filter_brand:H.filterBrand,filter_model:H.filterModel,filter_os:H.filterOs,filter_country:H.filterCountry,filter_carrier:H.filterCarrier,custom_carrier:H.customCarrier,lat:H.lat,long:H.long,factory_reset:H.factoryReset});return(await fetch(T)).json()},async changeSimOnly(H){let T=F(this.config.baseUrl,"/changesimonly",{serial:H.serial,filter_country:H.filterCountry,filter_carrier:H.filterCarrier,custom_carrier:H.customCarrier,wipe:H.wipe});return(await fetch(T)).json()},async changeLocationOnly(H){let T=F(this.config.baseUrl,"/changelocationonly",{serial:H.serial,lat:H.lat,long:H.long,wipe:H.wipe});return(await fetch(T)).json()},async backupOnly(H){let T=F(this.config.baseUrl,"/backuponly",{serial:H.serial,note:H.note,filename:H.filename});return(await fetch(T)).json()},async backup(H){let T=F(this.config.baseUrl,"/backup",{serial:H.serial,note:H.note,filename:H.filename,filter_brand:H.filterBrand,filter_model:H.filterModel,filter_os:H.filterOs,filter_country:H.filterCountry,filter_carrier:H.filterCarrier,custom_carrier:H.customCarrier,lat:H.lat,long:H.long,factory_reset:H.factoryReset});return(await fetch(T)).json()},async getList(H){let T=F(this.config.baseUrl,"/getlist",{type:H});return(await fetch(T)).json()},async restore(H){let T=F(this.config.baseUrl,"/restore",{serial:H.serial,filename:H.filename,gmail:H.gmail,lat:H.lat,long:H.long});return(await fetch(T)).json()},async setProxy(H,T){let D=F(this.config.baseUrl,"/setproxy",{serial:H,proxy:T});return(await fetch(D)).json()},async clearProxy(H){let T=F(this.config.baseUrl,"/clearproxy",{serial:H});return(await fetch(T)).json()},async setSocks(H,T){let D=F(this.config.baseUrl,"/setsocks",{serial:H,socks:T});return(await fetch(D)).json()},async clearSocks(H){let T=F(this.config.baseUrl,"/clearsocks",{serial:H});return(await fetch(T)).json()},async getCarrier(H){let T=F(this.config.baseUrl,"/getcarrier",{country:H});return(await fetch(T)).json()}},g=kT;async function ZT(){let H=await d({message:"Nhập X:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);let T=await d({message:"Nhập Y:"});if(n(T))o("Đã 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 V$.mouseMove(D,L),console.log(`Đã di chuyển chuột đến (${D}, ${L})`)}function q(H){if(H.Success)r.success(`${H.Message} (${H.ProcessTime})`);else r.error(`${H.Message} (${H.ProcessTime})`);r.info(JSON.stringify(H,null,2))}async function UT(){let H=V();H.start("Đang kiểm tra kết nối...");try{let T=await g.test();H.stop("Hoàn thành!"),q(T)}catch(T){H.stop("Lỗi!"),r.error(`Lỗi: ${T instanceof Error?T.message:String(T)}`)}}async function QT(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await w({message:"Bạn có muốn thêm filter không?"});if(n(T))o("Đã hủy thao tác."),process.exit(0);let D,L,p,m,$,a,t,x,_;if(T){let I=await d({message:"Filter Brand (để trống để bỏ qua):"});if(n(I))o("Đã hủy thao tác."),process.exit(0);D=I||void 0;let N=await d({message:"Filter Model (để trống để bỏ qua):"});if(n(N))o("Đã hủy thao tác."),process.exit(0);L=N||void 0;let b=await d({message:"Filter OS (để trống để bỏ qua):"});if(n(b))o("Đã hủy thao tác."),process.exit(0);p=b||void 0;let s=await d({message:"Filter Country (để trống để bỏ qua):"});if(n(s))o("Đã hủy thao tác."),process.exit(0);m=s||void 0;let J=await d({message:"Filter Carrier (để trống để bỏ qua):"});if(n(J))o("Đã hủy thao tác."),process.exit(0);$=J||void 0;let v=await d({message:"Custom Carrier (để trống để bỏ qua):"});if(n(v))o("Đã hủy thao tác."),process.exit(0);a=v||void 0;let k=await d({message:"Latitude (để trống để bỏ qua):"});if(n(k))o("Đã hủy thao tác."),process.exit(0);if(k){let l=parseFloat(k);if(!Number.isNaN(l))t=l}let W=await d({message:"Longitude (để trống để bỏ qua):"});if(n(W))o("Đã hủy thao tác."),process.exit(0);if(W){let l=parseFloat(W);if(!Number.isNaN(l))x=l}let e=await w({message:"Factory Reset?"});if(n(e))o("Đã hủy thao tác."),process.exit(0);_=e}let A=V();A.start("Đang thay đổi thông tin thiết bị...");try{let I=await g.change({serial:H,filterBrand:D,filterModel:L,filterOs:p,filterCountry:m,filterCarrier:$,customCarrier:a,lat:t,long:x,factoryReset:_});A.stop("Hoàn thành!"),q(I)}catch(I){A.stop("Lỗi!"),r.error(`Lỗi: ${I instanceof Error?I.message:String(I)}`)}}async function yT(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Filter Country (bắt buộc):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);if(!T){r.error("Filter Country là bắt buộc.");return}let D=await d({message:"Filter Carrier (để trống để bỏ qua):"});if(n(D))o("Đã hủy thao tác."),process.exit(0);let L=D||void 0,p=await d({message:"Custom Carrier (để trống để bỏ qua):"});if(n(p))o("Đã hủy thao tác."),process.exit(0);let m=p||void 0,$=await w({message:"Wipe?"});if(n($))o("Đã hủy thao tác."),process.exit(0);let a=V();a.start("Đang thay đổi thông tin SIM...");try{let t=await g.changeSimOnly({serial:H,filterCountry:T,filterCarrier:L,customCarrier:m,wipe:$});a.stop("Hoàn thành!"),q(t)}catch(t){a.stop("Lỗi!"),r.error(`Lỗi: ${t instanceof Error?t.message:String(t)}`)}}async function wT(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Latitude (bắt buộc):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);if(!T){r.error("Latitude là bắt buộc.");return}let D=parseFloat(T);if(Number.isNaN(D)){r.error("Latitude phải là số.");return}let L=await d({message:"Longitude (bắt buộc):"});if(n(L))o("Đã hủy thao tác."),process.exit(0);if(!L){r.error("Longitude là bắt buộc.");return}let p=parseFloat(L);if(Number.isNaN(p)){r.error("Longitude phải là số.");return}let m=await w({message:"Wipe?"});if(n(m))o("Đã hủy thao tác."),process.exit(0);let $=V();$.start("Đang thay đổi vị trí...");try{let a=await g.changeLocationOnly({serial:H,lat:D,long:p,wipe:m});$.stop("Hoàn thành!"),q(a)}catch(a){$.stop("Lỗi!"),r.error(`Lỗi: ${a instanceof Error?a.message:String(a)}`)}}async function zT(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Note (để trống để bỏ qua):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);let D=T||void 0,L=await d({message:"Filename (để trống để bỏ qua):"});if(n(L))o("Đã hủy thao tác."),process.exit(0);let p=L||void 0,m=V();m.start("Đang backup dữ liệu...");try{let $=await g.backupOnly({serial:H,note:D,filename:p});m.stop("Hoàn thành!"),q($)}catch($){m.stop("Lỗi!"),r.error(`Lỗi: ${$ instanceof Error?$.message:String($)}`)}}async function YT(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Note (để trống để bỏ qua):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);let D=T||void 0,L=await d({message:"Filename (để trống để bỏ qua):"});if(n(L))o("Đã hủy thao tác."),process.exit(0);let p=L||void 0,m=await w({message:"Bạn có muốn thêm filter không?"});if(n(m))o("Đã hủy thao tác."),process.exit(0);let $,a,t,x,_,A,I,N,b;if(m){let J=await d({message:"Filter Brand (để trống để bỏ qua):"});if(n(J))o("Đã hủy thao tác."),process.exit(0);$=J||void 0;let v=await d({message:"Filter Model (để trống để bỏ qua):"});if(n(v))o("Đã hủy thao tác."),process.exit(0);a=v||void 0;let k=await d({message:"Filter OS (để trống để bỏ qua):"});if(n(k))o("Đã hủy thao tác."),process.exit(0);t=k||void 0;let W=await d({message:"Filter Country (để trống để bỏ qua):"});if(n(W))o("Đã hủy thao tác."),process.exit(0);x=W||void 0;let e=await d({message:"Filter Carrier (để trống để bỏ qua):"});if(n(e))o("Đã hủy thao tác."),process.exit(0);_=e||void 0;let l=await d({message:"Custom Carrier (để trống để bỏ qua):"});if(n(l))o("Đã hủy thao tác."),process.exit(0);A=l||void 0;let X=await d({message:"Latitude (để trống để bỏ qua):"});if(n(X))o("Đã hủy thao tác."),process.exit(0);if(X){let c=parseFloat(X);if(!Number.isNaN(c))I=c}let P=await d({message:"Longitude (để trống để bỏ qua):"});if(n(P))o("Đã hủy thao tác."),process.exit(0);if(P){let c=parseFloat(P);if(!Number.isNaN(c))N=c}let E=await w({message:"Factory Reset?"});if(n(E))o("Đã hủy thao tác."),process.exit(0);b=E}let s=V();s.start("Đang backup và thay đổi thông tin...");try{let J=await g.backup({serial:H,note:D,filename:p,filterBrand:$,filterModel:a,filterOs:t,filterCountry:x,filterCarrier:_,customCarrier:A,lat:I,long:N,factoryReset:b});s.stop("Hoàn thành!"),q(J)}catch(J){s.stop("Lỗi!"),r.error(`Lỗi: ${J instanceof Error?J.message:String(J)}`)}}async function $D(){let H=await T$({message:"Chọn loại thiết bị:",options:[{value:"all",label:"All"},{value:"XiaomiA1",label:"Xiaomi A1"},{value:"XiaomiA1New",label:"Xiaomi A1 New"},{value:"SamsungS9",label:"Samsung S9"},{value:"SamsungS9New",label:"Samsung S9 New"},{value:"Pixel3",label:"Pixel 3"},{value:"Pixel3XL",label:"Pixel 3 XL"},{value:"Pixel3a",label:"Pixel 3a"},{value:"Pixel3aXL",label:"Pixel 3a XL"},{value:"Pixel4",label:"Pixel 4"},{value:"Pixel4XL",label:"Pixel 4 XL"}]});if(n(H))o("Đã hủy thao tác."),process.exit(0);let T=V();T.start("Đang lấy danh sách backup...");try{let D=await g.getList(H);T.stop("Hoàn thành!"),r.success(`Tìm thấy ${D.length} file backup.`),r.info(JSON.stringify(D,null,2))}catch(D){T.stop("Lỗi!"),r.error(`Lỗi: ${D instanceof Error?D.message:String(D)}`)}}async function HD(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Filename (để trống để bỏ qua):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);let D=T||void 0,L=await d({message:"Gmail (để trống để bỏ qua):"});if(n(L))o("Đã hủy thao tác."),process.exit(0);let p=L||void 0,m=await d({message:"Latitude (để trống để bỏ qua):"});if(n(m))o("Đã hủy thao tác."),process.exit(0);let $;if(m){let _=parseFloat(m);if(!Number.isNaN(_))$=_}let a=await d({message:"Longitude (để trống để bỏ qua):"});if(n(a))o("Đã hủy thao tác."),process.exit(0);let t;if(a){let _=parseFloat(a);if(!Number.isNaN(_))t=_}let x=V();x.start("Đang restore dữ liệu...");try{let _=await g.restore({serial:H,filename:D,gmail:p,lat:$,long:t});x.stop("Hoàn thành!"),q(_)}catch(_){x.stop("Lỗi!"),r.error(`Lỗi: ${_ instanceof Error?_.message:String(_)}`)}}async function TD(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"Proxy (HOST:PORT):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);if(!T){r.error("Proxy là bắt buộc.");return}let D=V();D.start("Đang cài đặt proxy...");try{let L=await g.setProxy(H,T);D.stop("Hoàn thành!"),q(L)}catch(L){D.stop("Lỗi!"),r.error(`Lỗi: ${L instanceof Error?L.message:String(L)}`)}}async function DD(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=V();T.start("Đang xóa proxy...");try{let D=await g.clearProxy(H);T.stop("Hoàn thành!"),q(D)}catch(D){T.stop("Lỗi!"),r.error(`Lỗi: ${D instanceof Error?D.message:String(D)}`)}}async function LD(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=await d({message:"SOCKS5 (HOST:PORT hoặc HOST:PORT:USER:PASSWORD):"});if(n(T))o("Đã hủy thao tác."),process.exit(0);if(!T){r.error("SOCKS5 là bắt buộc.");return}let D=V();D.start("Đang cài đặt SOCKS5...");try{let L=await g.setSocks(H,T);D.stop("Hoàn thành!"),q(L)}catch(L){D.stop("Lỗi!"),r.error(`Lỗi: ${L instanceof Error?L.message:String(L)}`)}}async function pD(){let H=await d({message:"Nhập serial thiết bị:"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Serial là bắt buộc.");return}let T=V();T.start("Đang xóa SOCKS5...");try{let D=await g.clearSocks(H);T.stop("Hoàn thành!"),q(D)}catch(D){T.stop("Lỗi!"),r.error(`Lỗi: ${D instanceof Error?D.message:String(D)}`)}}async function mD(){let H=await d({message:"Country code (vd: us, vn, all):"});if(n(H))o("Đã hủy thao tác."),process.exit(0);if(!H){r.error("Country code là bắt buộc.");return}let T=V();T.start("Đang lấy danh sách nhà mạng...");try{let D=await g.getCarrier(H);T.stop("Hoàn thành!"),r.success(`Tìm thấy ${D.length} nhà mạng.`);for(let L of D)r.info(`${L.CountryName} (${L.CountryIso}) - ${L.CarrierName} [MCC: ${L.Mcc}, MNC: ${L.Mnc}]`);if(D.length===0)r.info("Không tìm thấy carrier nào.");r.info(JSON.stringify(D,null,2))}catch(D){T.stop("Lỗi!"),r.error(`Lỗi: ${D instanceof Error?D.message:String(D)}`)}}async function eD(){let H=!0;while(H){let T=await T$({message:"MiChanger Menu:",options:[{value:"test",label:"Test Connection"},{value:"change",label:"Change Device Info"},{value:"change-sim",label:"Change SIM Only"},{value:"change-location",label:"Change Location Only"},{value:"backup-only",label:"Backup Only"},{value:"backup",label:"Backup & Change"},{value:"get-list",label:"Get Backup List"},{value:"restore",label:"Restore"},{value:"set-proxy",label:"Set Proxy"},{value:"clear-proxy",label:"Clear Proxy"},{value:"set-socks",label:"Set SOCKS5"},{value:"clear-socks",label:"Clear SOCKS5"},{value:"get-carrier",label:"Get Carriers"},{value:"back",label:"← Quay lại"}]});if(n(T))o("Đã hủy thao tác."),process.exit(0);switch(T){case"test":await UT();break;case"change":await QT();break;case"change-sim":await yT();break;case"change-location":await wT();break;case"backup-only":await zT();break;case"backup":await YT();break;case"get-list":await $D();break;case"restore":await HD();break;case"set-proxy":await TD();break;case"clear-proxy":await DD();break;case"set-socks":await LD();break;case"clear-socks":await pD();break;case"get-carrier":await mD();break;case"back":H=!1;break}}}async function aD(){let H=await T$({message:"Dev Menu:",options:[{value:"michanger",label:"MiChanger"},{value:"move",label:"Di chuyển chuột"},{value:"back",label:"← Quay lại"}]});if(n(H))o("Đã hủy thao tác."),process.exit(0);switch(H){case"michanger":await eD();break;case"move":await ZT();break;case"back":break}}async function lD(){let H=!0;while(H){let T=await T$({message:"Chọn tùy chọn:",options:[{value:"dev",label:"Dev"},{value:"exit",label:"Thoát"}]});if(n(T))o("Đã hủy thao tác."),process.exit(0);switch(T){case"dev":await aD();break;case"exit":H=!1;break}}}async function iD(){await V$.init(),await lD(),mH("Tạm biệt!")}iD().catch(console.error);
|