chvm 1.2.2 → 1.2.4
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/CHANGELOG.md +24 -0
- package/README.md +2 -2
- package/dist/cli.cjs +21 -21
- package/package.json +2 -1
package/dist/cli.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var
|
|
3
|
-
`).replace(/^/gm," ".repeat(o))}let d=[`Usage: ${r.commandUsage(e)}`,""],
|
|
2
|
+
"use strict";var ta=Object.create;var _i=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames;var ia=Object.getPrototypeOf,oa=Object.prototype.hasOwnProperty;var sa=(t,e)=>()=>(t&&(e=t(t=0)),e);var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ua=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of na(e))!oa.call(t,i)&&i!==r&&_i(t,i,{get:()=>e[i],enumerable:!(n=ra(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?ta(ia(t)):{},ua(e||!t||!t.__esModule?_i(r,"default",{value:t,enumerable:!0}):r,t));var D=sa(()=>{"use strict"});var Ft=A(Mr=>{"use strict";D();var qt=class extends Error{constructor(e,r,n){super(n),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=r,this.exitCode=e,this.nestedError=void 0}},Pr=class extends qt{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};Mr.CommanderError=qt;Mr.InvalidArgumentError=Pr});var Wt=A(kr=>{"use strict";D();var{InvalidArgumentError:aa}=Ft(),Ur=class{constructor(e,r){switch(this.description=r||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,n)=>{if(!this.argChoices.includes(r))throw new aa(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,n):r},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function la(t){let e=t.name()+(t.variadic===!0?"...":"");return t.required?"<"+e+">":"["+e+"]"}kr.Argument=Ur;kr.humanReadableArgName=la});var Hr=A(Ci=>{"use strict";D();var{humanReadableArgName:fa}=Wt(),jr=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){let r=e.commands.filter(n=>!n._hidden);if(e._hasImplicitHelpCommand()){let[,n,i]=e._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),o=e.createCommand(n).helpOption(!1);o.description(e._helpCommandDescription),i&&o.arguments(i),r.push(o)}return this.sortSubcommands&&r.sort((n,i)=>n.name().localeCompare(i.name())),r}compareOptions(e,r){let n=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return n(e).localeCompare(n(r))}visibleOptions(e){let r=e.options.filter(o=>!o.hidden),n=e._hasHelpOption&&e._helpShortFlag&&!e._findOption(e._helpShortFlag),i=e._hasHelpOption&&!e._findOption(e._helpLongFlag);if(n||i){let o;n?i?o=e.createOption(e._helpFlags,e._helpDescription):o=e.createOption(e._helpShortFlag,e._helpDescription):o=e.createOption(e._helpLongFlag,e._helpDescription),r.push(o)}return this.sortOptions&&r.sort(this.compareOptions),r}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];let r=[];for(let n=e.parent;n;n=n.parent){let i=n.options.filter(o=>!o.hidden);r.push(...i)}return this.sortOptions&&r.sort(this.compareOptions),r}visibleArguments(e){return e._argsDescription&&e.registeredArguments.forEach(r=>{r.description=r.description||e._argsDescription[r.name()]||""}),e.registeredArguments.find(r=>r.description)?e.registeredArguments:[]}subcommandTerm(e){let r=e.registeredArguments.map(n=>fa(n)).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(r?" "+r:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,r){return r.visibleCommands(e).reduce((n,i)=>Math.max(n,r.subcommandTerm(i).length),0)}longestOptionTermLength(e,r){return r.visibleOptions(e).reduce((n,i)=>Math.max(n,r.optionTerm(i).length),0)}longestGlobalOptionTermLength(e,r){return r.visibleGlobalOptions(e).reduce((n,i)=>Math.max(n,r.optionTerm(i).length),0)}longestArgumentTermLength(e,r){return r.visibleArguments(e).reduce((n,i)=>Math.max(n,r.argumentTerm(i).length),0)}commandUsage(e){let r=e._name;e._aliases[0]&&(r=r+"|"+e._aliases[0]);let n="";for(let i=e.parent;i;i=i.parent)n=i.name()+" "+n;return n+r+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){let r=[];return e.argChoices&&r.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&(e.required||e.optional||e.isBoolean()&&typeof e.defaultValue=="boolean")&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),e.presetArg!==void 0&&e.optional&&r.push(`preset: ${JSON.stringify(e.presetArg)}`),e.envVar!==void 0&&r.push(`env: ${e.envVar}`),r.length>0?`${e.description} (${r.join(", ")})`:e.description}argumentDescription(e){let r=[];if(e.argChoices&&r.push(`choices: ${e.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),e.defaultValue!==void 0&&r.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),r.length>0){let n=`(${r.join(", ")})`;return e.description?`${e.description} ${n}`:n}return e.description}formatHelp(e,r){let n=r.padWidth(e,r),i=r.helpWidth||80,o=2,s=2;function a(c,m){if(m){let p=`${c.padEnd(n+s)}${m}`;return r.wrap(p,i-o,n+s)}return c}function l(c){return c.join(`
|
|
3
|
+
`).replace(/^/gm," ".repeat(o))}let d=[`Usage: ${r.commandUsage(e)}`,""],h=r.commandDescription(e);h.length>0&&(d=d.concat([r.wrap(h,i,0),""]));let F=r.visibleArguments(e).map(c=>a(r.argumentTerm(c),r.argumentDescription(c)));F.length>0&&(d=d.concat(["Arguments:",l(F),""]));let y=r.visibleOptions(e).map(c=>a(r.optionTerm(c),r.optionDescription(c)));if(y.length>0&&(d=d.concat(["Options:",l(y),""])),this.showGlobalOptions){let c=r.visibleGlobalOptions(e).map(m=>a(r.optionTerm(m),r.optionDescription(m)));c.length>0&&(d=d.concat(["Global Options:",l(c),""]))}let f=r.visibleCommands(e).map(c=>a(r.subcommandTerm(c),r.subcommandDescription(c)));return f.length>0&&(d=d.concat(["Commands:",l(f),""])),d.join(`
|
|
4
4
|
`)}padWidth(e,r){return Math.max(r.longestOptionTermLength(e,r),r.longestGlobalOptionTermLength(e,r),r.longestSubcommandTermLength(e,r),r.longestArgumentTermLength(e,r))}wrap(e,r,n,i=40){let o=" \\f\\t\\v\xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF",s=new RegExp(`[\\n][${o}]+`);if(e.match(s))return e;let a=r-n;if(a<i)return e;let l=e.slice(0,n),d=e.slice(n).replace(`\r
|
|
5
5
|
`,`
|
|
6
|
-
`),
|
|
7
|
-
|.{1,${a-1}}([${y}]|$)|[^${y}]+?([${y}]|$)`,"g"),
|
|
8
|
-
`?"":(p>0?
|
|
9
|
-
`)}};
|
|
6
|
+
`),h=" ".repeat(n),y="\\s\u200B",f=new RegExp(`
|
|
7
|
+
|.{1,${a-1}}([${y}]|$)|[^${y}]+?([${y}]|$)`,"g"),c=d.match(f)||[];return l+c.map((m,p)=>m===`
|
|
8
|
+
`?"":(p>0?h:"")+m.trimEnd()).join(`
|
|
9
|
+
`)}};Ci.Help=jr});var qr=A(Gt=>{"use strict";D();var{InvalidArgumentError:ca}=Ft(),$r=class{constructor(e,r){this.flags=e,this.description=r||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;let n=yi(e);this.short=n.shortFlag,this.long=n.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,r){return this.defaultValue=e,this.defaultValueDescription=r,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){let r=e;return typeof e=="string"&&(r={[e]:!0}),this.implied=Object.assign(this.implied||{},r),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,r){return r===this.defaultValue||!Array.isArray(r)?[e]:r.concat(e)}choices(e){return this.argChoices=e.slice(),this.parseArg=(r,n)=>{if(!this.argChoices.includes(r))throw new ca(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(r,n):r},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return ha(this.name().replace(/^no-/,""))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},Vr=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach(r=>{r.negate?this.negativeOptions.set(r.attributeName(),r):this.positiveOptions.set(r.attributeName(),r)}),this.negativeOptions.forEach((r,n)=>{this.positiveOptions.has(n)&&this.dualOptions.add(n)})}valueFromOption(e,r){let n=r.attributeName();if(!this.dualOptions.has(n))return!0;let i=this.negativeOptions.get(n).presetArg,o=i!==void 0?i:!1;return r.negate===(o===e)}};function ha(t){return t.split("-").reduce((e,r)=>e+r[0].toUpperCase()+r.slice(1))}function yi(t){let e,r,n=t.split(/[ |,]+/);return n.length>1&&!/^[[<]/.test(n[1])&&(e=n.shift()),r=n.shift(),!e&&/^-[^-]$/.test(r)&&(e=r,r=void 0),{shortFlag:e,longFlag:r}}Gt.Option=$r;Gt.splitOptionFlags=yi;Gt.DualOptions=Vr});var vi=A(xi=>{"use strict";D();function Da(t,e){if(Math.abs(t.length-e.length)>3)return Math.max(t.length,e.length);let r=[];for(let n=0;n<=t.length;n++)r[n]=[n];for(let n=0;n<=e.length;n++)r[0][n]=n;for(let n=1;n<=e.length;n++)for(let i=1;i<=t.length;i++){let o=1;t[i-1]===e[n-1]?o=0:o=1,r[i][n]=Math.min(r[i-1][n]+1,r[i][n-1]+1,r[i-1][n-1]+o),i>1&&n>1&&t[i-1]===e[n-2]&&t[i-2]===e[n-1]&&(r[i][n]=Math.min(r[i][n],r[i-2][n-2]+1))}return r[t.length][e.length]}function da(t,e){if(!e||e.length===0)return"";e=Array.from(new Set(e));let r=t.startsWith("--");r&&(t=t.slice(2),e=e.map(s=>s.slice(2)));let n=[],i=3,o=.4;return e.forEach(s=>{if(s.length<=1)return;let a=Da(t,s),l=Math.max(t.length,s.length);(l-a)/l>o&&(a<i?(i=a,n=[s]):a===i&&n.push(s))}),n.sort((s,a)=>s.localeCompare(a)),r&&(n=n.map(s=>`--${s}`)),n.length>1?`
|
|
10
10
|
(Did you mean one of ${n.join(", ")}?)`:n.length===1?`
|
|
11
|
-
(Did you mean ${n[0]}?)`:""}
|
|
12
|
-
- specify the name in Command constructor or using .name()`);return r=r||{},r.isDefault&&(this._defaultCommandName=e._name),(r.noHelp||r.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,r){return new
|
|
13
|
-
Expecting one of '${n.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(r):this._lifeCycleHooks[e]=[r],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=r=>{if(r.code!=="commander.executeSubCommandAsync")throw r},this}_exit(e,r,n){this._exitCallback&&this._exitCallback(new
|
|
11
|
+
(Did you mean ${n[0]}?)`:""}xi.suggestSimilar=da});var Ti=A(Oi=>{"use strict";D();var pa=require("events").EventEmitter,Wr=require("child_process"),Ae=require("path"),Gr=require("fs"),q=require("process"),{Argument:ma,humanReadableArgName:ga}=Wt(),{CommanderError:zr}=Ft(),{Help:Ea}=Hr(),{Option:wi,splitOptionFlags:Fa,DualOptions:_a}=qr(),{suggestSimilar:bi}=vi(),Zr=class t extends pa{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:r=>q.stdout.write(r),writeErr:r=>q.stderr.write(r),getOutHelpWidth:()=>q.stdout.isTTY?q.stdout.columns:void 0,getErrHelpWidth:()=>q.stderr.isTTY?q.stderr.columns:void 0,outputError:(r,n)=>n(r)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._hasHelpOption=e._hasHelpOption,this._helpFlags=e._helpFlags,this._helpDescription=e._helpDescription,this._helpShortFlag=e._helpShortFlag,this._helpLongFlag=e._helpLongFlag,this._helpCommandName=e._helpCommandName,this._helpCommandnameAndArgs=e._helpCommandnameAndArgs,this._helpCommandDescription=e._helpCommandDescription,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}_getCommandAndAncestors(){let e=[];for(let r=this;r;r=r.parent)e.push(r);return e}command(e,r,n){let i=r,o=n;typeof i=="object"&&i!==null&&(o=i,i=null),o=o||{};let[,s,a]=e.match(/([^ ]+) *(.*)/),l=this.createCommand(s);return i&&(l.description(i),l._executableHandler=!0),o.isDefault&&(this._defaultCommandName=l._name),l._hidden=!!(o.noHelp||o.hidden),l._executableFile=o.executableFile||null,a&&l.arguments(a),this.commands.push(l),l.parent=this,l.copyInheritedSettings(this),i?this:l}createCommand(e){return new t(e)}createHelp(){return Object.assign(new Ea,this.configureHelp())}configureHelp(e){return e===void 0?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return e===void 0?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return typeof e!="string"&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,r){if(!e._name)throw new Error(`Command passed to .addCommand() must have a name
|
|
12
|
+
- specify the name in Command constructor or using .name()`);return r=r||{},r.isDefault&&(this._defaultCommandName=e._name),(r.noHelp||r.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,r){return new ma(e,r)}argument(e,r,n,i){let o=this.createArgument(e,r);return typeof n=="function"?o.default(i).argParser(n):o.default(n),this.addArgument(o),this}arguments(e){return e.trim().split(/ +/).forEach(r=>{this.argument(r)}),this}addArgument(e){let r=this.registeredArguments.slice(-1)[0];if(r&&r.variadic)throw new Error(`only the last argument can be variadic '${r.name()}'`);if(e.required&&e.defaultValue!==void 0&&e.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this.registeredArguments.push(e),this}addHelpCommand(e,r){return e===!1?this._addImplicitHelpCommand=!1:(this._addImplicitHelpCommand=!0,typeof e=="string"&&(this._helpCommandName=e.split(" ")[0],this._helpCommandnameAndArgs=e),this._helpCommandDescription=r||this._helpCommandDescription),this}_hasImplicitHelpCommand(){return this._addImplicitHelpCommand===void 0?this.commands.length&&!this._actionHandler&&!this._findCommand("help"):this._addImplicitHelpCommand}hook(e,r){let n=["preSubcommand","preAction","postAction"];if(!n.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.
|
|
13
|
+
Expecting one of '${n.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(r):this._lifeCycleHooks[e]=[r],this}exitOverride(e){return e?this._exitCallback=e:this._exitCallback=r=>{if(r.code!=="commander.executeSubCommandAsync")throw r},this}_exit(e,r,n){this._exitCallback&&this._exitCallback(new zr(e,r,n)),q.exit(e)}action(e){let r=n=>{let i=this.registeredArguments.length,o=n.slice(0,i);return this._storeOptionsAsProperties?o[i]=this:o[i]=this.opts(),o.push(this),e.apply(this,o)};return this._actionHandler=r,this}createOption(e,r){return new wi(e,r)}_callParseArg(e,r,n,i){try{return e.parseArg(r,n)}catch(o){if(o.code==="commander.invalidArgument"){let s=`${i} ${o.message}`;this.error(s,{exitCode:o.exitCode,code:o.code})}throw o}}addOption(e){let r=e.name(),n=e.attributeName();if(e.negate){let o=e.long.replace(/^--no-/,"--");this._findOption(o)||this.setOptionValueWithSource(n,e.defaultValue===void 0?!0:e.defaultValue,"default")}else e.defaultValue!==void 0&&this.setOptionValueWithSource(n,e.defaultValue,"default");this.options.push(e);let i=(o,s,a)=>{o==null&&e.presetArg!==void 0&&(o=e.presetArg);let l=this.getOptionValue(n);o!==null&&e.parseArg?o=this._callParseArg(e,o,l,s):o!==null&&e.variadic&&(o=e._concatValue(o,l)),o==null&&(e.negate?o=!1:e.isBoolean()||e.optional?o=!0:o=""),this.setOptionValueWithSource(n,o,a)};return this.on("option:"+r,o=>{let s=`error: option '${e.flags}' argument '${o}' is invalid.`;i(o,s,"cli")}),e.envVar&&this.on("optionEnv:"+r,o=>{let s=`error: option '${e.flags}' value '${o}' from env '${e.envVar}' is invalid.`;i(o,s,"env")}),this}_optionEx(e,r,n,i,o){if(typeof r=="object"&&r instanceof wi)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let s=this.createOption(r,n);if(s.makeOptionMandatory(!!e.mandatory),typeof i=="function")s.default(o).argParser(i);else if(i instanceof RegExp){let a=i;i=(l,d)=>{let h=a.exec(l);return h?h[0]:d},s.default(o).argParser(i)}else s.default(i);return this.addOption(s)}option(e,r,n,i){return this._optionEx({},e,r,n,i)}requiredOption(e,r,n,i){return this._optionEx({mandatory:!0},e,r,n,i)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){if(this._passThroughOptions=!!e,this.parent&&e&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties(e=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this._storeOptionsAsProperties=!!e,this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,r){return this.setOptionValueWithSource(e,r,void 0)}setOptionValueWithSource(e,r,n){return this._storeOptionsAsProperties?this[e]=r:this._optionValues[e]=r,this._optionValueSources[e]=n,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let r;return this._getCommandAndAncestors().forEach(n=>{n.getOptionValueSource(e)!==void 0&&(r=n.getOptionValueSource(e))}),r}_prepareUserArgs(e,r){if(e!==void 0&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");r=r||{},e===void 0&&(e=q.argv,q.versions&&q.versions.electron&&(r.from="electron")),this.rawArgs=e.slice();let n;switch(r.from){case void 0:case"node":this._scriptPath=e[1],n=e.slice(2);break;case"electron":q.defaultApp?(this._scriptPath=e[1],n=e.slice(2)):n=e.slice(1);break;case"user":n=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${r.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",n}parse(e,r){let n=this._prepareUserArgs(e,r);return this._parseCommand([],n),this}async parseAsync(e,r){let n=this._prepareUserArgs(e,r);return await this._parseCommand([],n),this}_executeSubCommand(e,r){r=r.slice();let n=!1,i=[".js",".ts",".tsx",".mjs",".cjs"];function o(h,F){let y=Ae.resolve(h,F);if(Gr.existsSync(y))return y;if(i.includes(Ae.extname(F)))return;let f=i.find(c=>Gr.existsSync(`${y}${c}`));if(f)return`${y}${f}`}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let s=e._executableFile||`${this._name}-${e._name}`,a=this._executableDir||"";if(this._scriptPath){let h;try{h=Gr.realpathSync(this._scriptPath)}catch{h=this._scriptPath}a=Ae.resolve(Ae.dirname(h),a)}if(a){let h=o(a,s);if(!h&&!e._executableFile&&this._scriptPath){let F=Ae.basename(this._scriptPath,Ae.extname(this._scriptPath));F!==this._name&&(h=o(a,`${F}-${e._name}`))}s=h||s}n=i.includes(Ae.extname(s));let l;q.platform!=="win32"?n?(r.unshift(s),r=Ai(q.execArgv).concat(r),l=Wr.spawn(q.argv[0],r,{stdio:"inherit"})):l=Wr.spawn(s,r,{stdio:"inherit"}):(r.unshift(s),r=Ai(q.execArgv).concat(r),l=Wr.spawn(q.execPath,r,{stdio:"inherit"})),l.killed||["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach(F=>{q.on(F,()=>{l.killed===!1&&l.exitCode===null&&l.kill(F)})});let d=this._exitCallback;d?l.on("close",()=>{d(new zr(q.exitCode||0,"commander.executeSubCommandAsync","(close)"))}):l.on("close",q.exit.bind(q)),l.on("error",h=>{if(h.code==="ENOENT"){let F=a?`searched for local subcommand relative to directory '${a}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",y=`'${s}' does not exist
|
|
14
14
|
- if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
15
15
|
- if the default executable name is not suitable, use the executableFile option to supply a custom name or path
|
|
16
|
-
- ${F}`;throw new Error(y)}else if(
|
|
16
|
+
- ${F}`;throw new Error(y)}else if(h.code==="EACCES")throw new Error(`'${s}' not executable`);if(!d)q.exit(1);else{let F=new zr(1,"commander.executeSubCommandAsync","(error)");F.nestedError=h,d(F)}}),this.runningCommand=l}_dispatchSubcommand(e,r,n){let i=this._findCommand(e);i||this.help({error:!0});let o;return o=this._chainOrCallSubCommandHook(o,i,"preSubcommand"),o=this._chainOrCall(o,()=>{if(i._executableHandler)this._executeSubCommand(i,r.concat(n));else return i._parseCommand(r,n)}),o}_dispatchHelpCommand(e){e||this.help();let r=this._findCommand(e);return r&&!r._executableHandler&&r.help(),this._dispatchSubcommand(e,[],[this._helpLongFlag||this._helpShortFlag])}_checkNumberOfArguments(){this.registeredArguments.forEach((e,r)=>{e.required&&this.args[r]==null&&this.missingArgument(e.name())}),!(this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)&&this.args.length>this.registeredArguments.length&&this._excessArguments(this.args)}_processArguments(){let e=(n,i,o)=>{let s=i;if(i!==null&&n.parseArg){let a=`error: command-argument value '${i}' is invalid for argument '${n.name()}'.`;s=this._callParseArg(n,i,o,a)}return s};this._checkNumberOfArguments();let r=[];this.registeredArguments.forEach((n,i)=>{let o=n.defaultValue;n.variadic?i<this.args.length?(o=this.args.slice(i),n.parseArg&&(o=o.reduce((s,a)=>e(n,a,s),n.defaultValue))):o===void 0&&(o=[]):i<this.args.length&&(o=this.args[i],n.parseArg&&(o=e(n,o,n.defaultValue))),r[i]=o}),this.processedArgs=r}_chainOrCall(e,r){return e&&e.then&&typeof e.then=="function"?e.then(()=>r()):r()}_chainOrCallHooks(e,r){let n=e,i=[];return this._getCommandAndAncestors().reverse().filter(o=>o._lifeCycleHooks[r]!==void 0).forEach(o=>{o._lifeCycleHooks[r].forEach(s=>{i.push({hookedCommand:o,callback:s})})}),r==="postAction"&&i.reverse(),i.forEach(o=>{n=this._chainOrCall(n,()=>o.callback(o.hookedCommand,this))}),n}_chainOrCallSubCommandHook(e,r,n){let i=e;return this._lifeCycleHooks[n]!==void 0&&this._lifeCycleHooks[n].forEach(o=>{i=this._chainOrCall(i,()=>o(this,r))}),i}_parseCommand(e,r){let n=this.parseOptions(r);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(n.operands),r=n.unknown,this.args=e.concat(r),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),r);if(this._hasImplicitHelpCommand()&&e[0]===this._helpCommandName)return this._dispatchHelpCommand(e[1]);if(this._defaultCommandName)return Si(this,r),this._dispatchSubcommand(this._defaultCommandName,e,r);this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName&&this.help({error:!0}),Si(this,n.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let i=()=>{n.unknown.length>0&&this.unknownOption(n.unknown[0])},o=`command:${this.name()}`;if(this._actionHandler){i(),this._processArguments();let s;return s=this._chainOrCallHooks(s,"preAction"),s=this._chainOrCall(s,()=>this._actionHandler(this.processedArgs)),this.parent&&(s=this._chainOrCall(s,()=>{this.parent.emit(o,e,r)})),s=this._chainOrCallHooks(s,"postAction"),s}if(this.parent&&this.parent.listenerCount(o))i(),this._processArguments(),this.parent.emit(o,e,r);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,r);this.listenerCount("command:*")?this.emit("command:*",e,r):this.commands.length?this.unknownCommand():(i(),this._processArguments())}else this.commands.length?(i(),this.help({error:!0})):(i(),this._processArguments())}_findCommand(e){if(e)return this.commands.find(r=>r._name===e||r._aliases.includes(e))}_findOption(e){return this.options.find(r=>r.is(e))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach(e=>{e.options.forEach(r=>{r.mandatory&&e.getOptionValue(r.attributeName())===void 0&&e.missingMandatoryOptionValue(r)})})}_checkForConflictingLocalOptions(){let e=this.options.filter(n=>{let i=n.attributeName();return this.getOptionValue(i)===void 0?!1:this.getOptionValueSource(i)!=="default"});e.filter(n=>n.conflictsWith.length>0).forEach(n=>{let i=e.find(o=>n.conflictsWith.includes(o.attributeName()));i&&this._conflictingOption(n,i)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach(e=>{e._checkForConflictingLocalOptions()})}parseOptions(e){let r=[],n=[],i=r,o=e.slice();function s(l){return l.length>1&&l[0]==="-"}let a=null;for(;o.length;){let l=o.shift();if(l==="--"){i===n&&i.push(l),i.push(...o);break}if(a&&!s(l)){this.emit(`option:${a.name()}`,l);continue}if(a=null,s(l)){let d=this._findOption(l);if(d){if(d.required){let h=o.shift();h===void 0&&this.optionMissingArgument(d),this.emit(`option:${d.name()}`,h)}else if(d.optional){let h=null;o.length>0&&!s(o[0])&&(h=o.shift()),this.emit(`option:${d.name()}`,h)}else this.emit(`option:${d.name()}`);a=d.variadic?d:null;continue}}if(l.length>2&&l[0]==="-"&&l[1]!=="-"){let d=this._findOption(`-${l[1]}`);if(d){d.required||d.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${d.name()}`,l.slice(2)):(this.emit(`option:${d.name()}`),o.unshift(`-${l.slice(2)}`));continue}}if(/^--[^=]+=/.test(l)){let d=l.indexOf("="),h=this._findOption(l.slice(0,d));if(h&&(h.required||h.optional)){this.emit(`option:${h.name()}`,l.slice(d+1));continue}}if(s(l)&&(i=n),(this._enablePositionalOptions||this._passThroughOptions)&&r.length===0&&n.length===0){if(this._findCommand(l)){r.push(l),o.length>0&&n.push(...o);break}else if(l===this._helpCommandName&&this._hasImplicitHelpCommand()){r.push(l),o.length>0&&r.push(...o);break}else if(this._defaultCommandName){n.push(l),o.length>0&&n.push(...o);break}}if(this._passThroughOptions){i.push(l),o.length>0&&i.push(...o);break}i.push(l)}return{operands:r,unknown:n}}opts(){if(this._storeOptionsAsProperties){let e={},r=this.options.length;for(let n=0;n<r;n++){let i=this.options[n].attributeName();e[i]=i===this._versionOptionName?this._version:this[i]}return e}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((e,r)=>Object.assign(e,r.opts()),{})}error(e,r){this._outputConfiguration.outputError(`${e}
|
|
17
17
|
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError=="string"?this._outputConfiguration.writeErr(`${this._showHelpAfterError}
|
|
18
18
|
`):this._showHelpAfterError&&(this._outputConfiguration.writeErr(`
|
|
19
|
-
`),this.outputHelp({error:!0}));let n=r||{},i=n.exitCode||1,o=n.code||"commander.error";this._exit(i,o,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in q.env){let r=e.attributeName();(this.getOptionValue(r)===void 0||["default","config","env"].includes(this.getOptionValueSource(r)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,q.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new
|
|
20
|
-
`),this._exit(0,"commander.version",e)}),this}description(e,r){return e===void 0&&r===void 0?this._description:(this._description=e,r&&(this._argsDescription=r),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let r=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(r=this.commands[this.commands.length-1]),e===r._name)throw new Error("Command alias can't be the same as its name");return r._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(r=>this.alias(r)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let r=this.registeredArguments.map(n=>
|
|
19
|
+
`),this.outputHelp({error:!0}));let n=r||{},i=n.exitCode||1,o=n.code||"commander.error";this._exit(i,o,e)}_parseOptionsEnv(){this.options.forEach(e=>{if(e.envVar&&e.envVar in q.env){let r=e.attributeName();(this.getOptionValue(r)===void 0||["default","config","env"].includes(this.getOptionValueSource(r)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,q.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}})}_parseOptionsImplied(){let e=new _a(this.options),r=n=>this.getOptionValue(n)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(n));this.options.filter(n=>n.implied!==void 0&&r(n.attributeName())&&e.valueFromOption(this.getOptionValue(n.attributeName()),n)).forEach(n=>{Object.keys(n.implied).filter(i=>!r(i)).forEach(i=>{this.setOptionValueWithSource(i,n.implied[i],"implied")})})}missingArgument(e){let r=`error: missing required argument '${e}'`;this.error(r,{code:"commander.missingArgument"})}optionMissingArgument(e){let r=`error: option '${e.flags}' argument missing`;this.error(r,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){let r=`error: required option '${e.flags}' not specified`;this.error(r,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,r){let n=s=>{let a=s.attributeName(),l=this.getOptionValue(a),d=this.options.find(F=>F.negate&&a===F.attributeName()),h=this.options.find(F=>!F.negate&&a===F.attributeName());return d&&(d.presetArg===void 0&&l===!1||d.presetArg!==void 0&&l===d.presetArg)?d:h||s},i=s=>{let a=n(s),l=a.attributeName();return this.getOptionValueSource(l)==="env"?`environment variable '${a.envVar}'`:`option '${a.flags}'`},o=`error: ${i(e)} cannot be used with ${i(r)}`;this.error(o,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let r="";if(e.startsWith("--")&&this._showSuggestionAfterError){let i=[],o=this;do{let s=o.createHelp().visibleOptions(o).filter(a=>a.long).map(a=>a.long);i=i.concat(s),o=o.parent}while(o&&!o._enablePositionalOptions);r=bi(e,i)}let n=`error: unknown option '${e}'${r}`;this.error(n,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;let r=this.registeredArguments.length,n=r===1?"":"s",o=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${r} argument${n} but got ${e.length}.`;this.error(o,{code:"commander.excessArguments"})}unknownCommand(){let e=this.args[0],r="";if(this._showSuggestionAfterError){let i=[];this.createHelp().visibleCommands(this).forEach(o=>{i.push(o.name()),o.alias()&&i.push(o.alias())}),r=bi(e,i)}let n=`error: unknown command '${e}'${r}`;this.error(n,{code:"commander.unknownCommand"})}version(e,r,n){if(e===void 0)return this._version;this._version=e,r=r||"-V, --version",n=n||"output the version number";let i=this.createOption(r,n);return this._versionOptionName=i.attributeName(),this.options.push(i),this.on("option:"+i.name(),()=>{this._outputConfiguration.writeOut(`${e}
|
|
20
|
+
`),this._exit(0,"commander.version",e)}),this}description(e,r){return e===void 0&&r===void 0?this._description:(this._description=e,r&&(this._argsDescription=r),this)}summary(e){return e===void 0?this._summary:(this._summary=e,this)}alias(e){if(e===void 0)return this._aliases[0];let r=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler&&(r=this.commands[this.commands.length-1]),e===r._name)throw new Error("Command alias can't be the same as its name");return r._aliases.push(e),this}aliases(e){return e===void 0?this._aliases:(e.forEach(r=>this.alias(r)),this)}usage(e){if(e===void 0){if(this._usage)return this._usage;let r=this.registeredArguments.map(n=>ga(n));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?r:[]).join(" ")}return this._usage=e,this}name(e){return e===void 0?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=Ae.basename(e,Ae.extname(e)),this}executableDir(e){return e===void 0?this._executableDir:(this._executableDir=e,this)}helpInformation(e){let r=this.createHelp();return r.helpWidth===void 0&&(r.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),r.formatHelp(this,r)}_getHelpContext(e){e=e||{};let r={error:!!e.error},n;return r.error?n=i=>this._outputConfiguration.writeErr(i):n=i=>this._outputConfiguration.writeOut(i),r.write=e.write||n,r.command=this,r}outputHelp(e){let r;typeof e=="function"&&(r=e,e=void 0);let n=this._getHelpContext(e);this._getCommandAndAncestors().reverse().forEach(o=>o.emit("beforeAllHelp",n)),this.emit("beforeHelp",n);let i=this.helpInformation(n);if(r&&(i=r(i),typeof i!="string"&&!Buffer.isBuffer(i)))throw new Error("outputHelp callback must return a string or a Buffer");n.write(i),this._helpLongFlag&&this.emit(this._helpLongFlag),this.emit("afterHelp",n),this._getCommandAndAncestors().forEach(o=>o.emit("afterAllHelp",n))}helpOption(e,r){if(typeof e=="boolean")return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=r||this._helpDescription;let n=Fa(this._helpFlags);return this._helpShortFlag=n.shortFlag,this._helpLongFlag=n.longFlag,this}help(e){this.outputHelp(e);let r=q.exitCode||0;r===0&&e&&typeof e!="function"&&e.error&&(r=1),this._exit(r,"commander.help","(outputHelp)")}addHelpText(e,r){let n=["beforeAll","before","after","afterAll"];if(!n.includes(e))throw new Error(`Unexpected value for position to addHelpText.
|
|
21
21
|
Expecting one of '${n.join("', '")}'`);let i=`${e}Help`;return this.on(i,o=>{let s;typeof r=="function"?s=r({error:o.error,command:o.command}):s=r,s&&o.write(`${s}
|
|
22
|
-
`)}),this}};function bi(t,e){t._hasHelpOption&&e.find(n=>n===t._helpLongFlag||n===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function Si(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let r,n="127.0.0.1",i="9229",o;return(o=e.match(/^(--inspect(-brk)?)$/))!==null?r=o[1]:(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(r=o[1],/^\d+$/.test(o[3])?i=o[3]:n=o[3]):(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(r=o[1],n=o[3],i=o[4]),r&&i!=="0"?`${r}=${n}:${parseInt(i)+1}`:e})}Ai.Command=Yr});var Ri=A((ge,Ii)=>{"use strict";D();var{Argument:Fa}=qt(),{Command:Ti}=Oi(),{CommanderError:_a,InvalidArgumentError:Bi}=Ft(),{Help:Ca}=$r(),{Option:ya}=Wr();ge=Ii.exports=new Ti;ge.program=ge;ge.Command=Ti;ge.Option=ya;ge.Argument=Fa;ge.Help=Ca;ge.CommanderError=_a;ge.InvalidArgumentError=Bi;ge.InvalidOptionArgumentError=Bi});var Ji=A((rD,rn)=>{"use strict";D();var Xi=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};rn.exports=Xi;rn.exports.default=Xi});var eo=A((iD,Kt)=>{"use strict";D();var Ua=Ji(),Yt=new WeakMap,Qi=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,n=0,i=t.displayName||t.name||"<anonymous>",o=function(...s){if(Yt.set(o,++n),n===1)r=t.apply(this,s),t=null;else if(e.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return Ua(o,t),Yt.set(o,n),o};Kt.exports=Qi;Kt.exports.default=Qi;Kt.exports.callCount=t=>{if(!Yt.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Yt.get(t)}});var to=A((sD,Xt)=>{"use strict";D();Xt.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Xt.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Xt.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var sn=A((aD,ut)=>{"use strict";D();var z=global.process,qe=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};qe(z)?(ro=require("assert"),ot=to(),no=/^win/i.test(z.platform),xt=require("events"),typeof xt!="function"&&(xt=xt.EventEmitter),z.__signal_exit_emitter__?ne=z.__signal_exit_emitter__:(ne=z.__signal_exit_emitter__=new xt,ne.count=0,ne.emitted={}),ne.infinite||(ne.setMaxListeners(1/0),ne.infinite=!0),ut.exports=function(t,e){if(!qe(global.process))return function(){};ro.equal(typeof t,"function","a callback must be provided for exit handler"),st===!1&&nn();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){ne.removeListener(r,t),ne.listeners("exit").length===0&&ne.listeners("afterexit").length===0&&Jt()};return ne.on(r,t),n},Jt=function(){!st||!qe(global.process)||(st=!1,ot.forEach(function(e){try{z.removeListener(e,Qt[e])}catch{}}),z.emit=er,z.reallyExit=on,ne.count-=1)},ut.exports.unload=Jt,We=function(e,r,n){ne.emitted[e]||(ne.emitted[e]=!0,ne.emit(e,r,n))},Qt={},ot.forEach(function(t){Qt[t]=function(){if(qe(global.process)){var r=z.listeners(t);r.length===ne.count&&(Jt(),We("exit",null,t),We("afterexit",null,t),no&&t==="SIGHUP"&&(t="SIGINT"),z.kill(z.pid,t))}}}),ut.exports.signals=function(){return ot},st=!1,nn=function(){st||!qe(global.process)||(st=!0,ne.count+=1,ot=ot.filter(function(e){try{return z.on(e,Qt[e]),!0}catch{return!1}}),z.emit=oo,z.reallyExit=io)},ut.exports.load=nn,on=z.reallyExit,io=function(e){qe(global.process)&&(z.exitCode=e||0,We("exit",z.exitCode,null),We("afterexit",z.exitCode,null),on.call(z,z.exitCode))},er=z.emit,oo=function(e,r){if(e==="exit"&&qe(global.process)){r!==void 0&&(z.exitCode=r);var n=er.apply(this,arguments);return We("exit",z.exitCode,null),We("afterexit",z.exitCode,null),n}else return er.apply(this,arguments)}):ut.exports=function(){return function(){}};var ro,ot,no,xt,ne,Jt,We,Qt,st,nn,on,io,er,oo});var fo=A((pD,ja)=>{ja.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var ln=A((mD,ho)=>{"use strict";D();var rr=Object.assign({},fo()),co=Object.keys(rr);Object.defineProperty(rr,"random",{get(){let t=Math.floor(Math.random()*co.length),e=co[t];return rr[e]}});ho.exports=rr});var po=A((OD,cn)=>{"use strict";D();var Re={};typeof cn>"u"?window.eastasianwidth=Re:cn.exports=Re;Re.eastAsianWidth=function(t){var e=t.charCodeAt(0),r=t.length==2?t.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=r&&r<=57343&&(e&=1023,r&=1023,n=e<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":n==8361||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||n==172||n==175||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":n==161||n==164||167<=n&&n<=168||n==170||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||n==198||n==208||215<=n&&n<=216||222<=n&&n<=225||n==230||232<=n&&n<=234||236<=n&&n<=237||n==240||242<=n&&n<=243||247<=n&&n<=250||n==252||n==254||n==257||n==273||n==275||n==283||294<=n&&n<=295||n==299||305<=n&&n<=307||n==312||319<=n&&n<=322||n==324||328<=n&&n<=331||n==333||338<=n&&n<=339||358<=n&&n<=359||n==363||n==462||n==464||n==466||n==468||n==470||n==472||n==474||n==476||n==593||n==609||n==708||n==711||713<=n&&n<=715||n==717||n==720||728<=n&&n<=731||n==733||n==735||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||n==1025||1040<=n&&n<=1103||n==1105||n==8208||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||n==8240||8242<=n&&n<=8243||n==8245||n==8251||n==8254||n==8308||n==8319||8321<=n&&n<=8324||n==8364||n==8451||n==8453||n==8457||n==8467||n==8470||8481<=n&&n<=8482||n==8486||n==8491||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||n==8585||8592<=n&&n<=8601||8632<=n&&n<=8633||n==8658||n==8660||n==8679||n==8704||8706<=n&&n<=8707||8711<=n&&n<=8712||n==8715||n==8719||n==8721||n==8725||n==8730||8733<=n&&n<=8736||n==8739||n==8741||8743<=n&&n<=8748||n==8750||8756<=n&&n<=8759||8764<=n&&n<=8765||n==8776||n==8780||n==8786||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||n==8853||n==8857||n==8869||n==8895||n==8978||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||n==9675||9678<=n&&n<=9681||9698<=n&&n<=9701||n==9711||9733<=n&&n<=9734||n==9737||9742<=n&&n<=9743||9748<=n&&n<=9749||n==9756||n==9758||n==9792||n==9794||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||n==9839||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||n==9955||9960<=n&&n<=9983||n==10045||n==10071||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||n==65533||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"};Re.characterLength=function(t){var e=this.eastAsianWidth(t);return e=="F"||e=="W"||e=="A"?2:1};function Do(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}Re.length=function(t){for(var e=Do(t),r=0,n=0;n<e.length;n++)r=r+this.characterLength(e[n]);return r};Re.slice=function(t,e,r){textLen=Re.length(t),e=e||0,r=r||1,e<0&&(e=textLen+e),r<0&&(r=textLen+r);for(var n="",i=0,o=Do(t),s=0;s<o.length;s++){var a=o[s],l=Re.length(a);if(i>=e-(l==2?1:0))if(i+l<=r)n+=a;else break;i+=l}return n}});var dn=A((kD,Eo)=>{"use strict";D();Eo.exports=require("stream")});var vo=A((HD,xo)=>{"use strict";D();function Fo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _o(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Fo(Object(r),!0).forEach(function(n){Wa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fo(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wa(t,e,r){return e=yo(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ga(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Co(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yo(n.key),n)}}function za(t,e,r){return e&&Co(t.prototype,e),r&&Co(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function yo(t){var e=Za(t,"string");return typeof e=="symbol"?e:String(e)}function Za(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ya=require("buffer"),nr=Ya.Buffer,Ka=require("util"),pn=Ka.inspect,Xa=pn&&pn.custom||"inspect";function Ja(t,e,r){nr.prototype.copy.call(t,e,r)}xo.exports=(function(){function t(){Ga(this,t),this.head=null,this.tail=null,this.length=0}return za(t,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return nr.alloc(0);for(var n=nr.allocUnsafe(r>>>0),i=this.head,o=0;i;)Ja(i.data,n,o),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,o=n.data;for(r-=o.length;n=n.next;){var s=n.data,a=r>s.length?s.length:r;if(a===s.length?o+=s:o+=s.slice(0,r),r-=a,r===0){a===s.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(a));break}++i}return this.length-=i,o}},{key:"_getBuffer",value:function(r){var n=nr.allocUnsafe(r),i=this.head,o=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var s=i.data,a=r>s.length?s.length:r;if(s.copy(n,n.length-r,0,a),r-=a,r===0){a===s.length?(++o,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(a));break}++o}return this.length-=o,n}},{key:Xa,value:function(r,n){return pn(this,_o(_o({},n),{},{depth:0,customInspect:!1}))}}]),t})()});var gn=A((VD,bo)=>{"use strict";D();function Qa(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(mn,this,t)):process.nextTick(mn,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(o){!e&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(ir,r):(r._writableState.errorEmitted=!0,process.nextTick(wo,r,o)):process.nextTick(wo,r,o):e?(process.nextTick(ir,r),e(o)):process.nextTick(ir,r)}),this)}function wo(t,e){mn(t,e),ir(t)}function ir(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function el(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function mn(t,e){t.emit("error",e)}function tl(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}bo.exports={destroy:Qa,undestroy:el,errorOrDestroy:tl}});var Le=A((WD,Oo)=>{"use strict";D();var Ao={};function he(t,e,r){r||(r=Error);function n(o,s,a){return typeof e=="string"?e:e(o,s,a)}class i extends r{constructor(s,a,l){super(n(s,a,l))}}i.prototype.name=r.name,i.prototype.code=t,Ao[t]=i}function So(t,e){if(Array.isArray(t)){let r=t.length;return t=t.map(n=>String(n)),r>2?`one of ${e} ${t.slice(0,r-1).join(", ")}, or `+t[r-1]:r===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function rl(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function nl(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function il(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}he("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);he("ERR_INVALID_ARG_TYPE",function(t,e,r){let n;typeof e=="string"&&rl(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";let i;if(nl(t," argument"))i=`The ${t} ${n} ${So(e,"type")}`;else{let o=il(t,".")?"property":"argument";i=`The "${t}" ${o} ${n} ${So(e,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);he("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");he("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});he("ERR_STREAM_PREMATURE_CLOSE","Premature close");he("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});he("ERR_MULTIPLE_CALLBACK","Callback called multiple times");he("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");he("ERR_STREAM_WRITE_AFTER_END","write after end");he("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);he("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);he("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Oo.exports.codes=Ao});var En=A((zD,To)=>{"use strict";D();var ol=Le().codes.ERR_INVALID_OPT_VALUE;function sl(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function ul(t,e,r,n){var i=sl(e,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var o=n?r:"highWaterMark";throw new ol(o,i)}return Math.floor(i)}return t.objectMode?16:16*1024}To.exports={getHighWaterMark:ul}});var Bo=A((YD,Fn)=>{"use strict";D();typeof Object.create=="function"?Fn.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Fn.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Ge=A((XD,Cn)=>{"use strict";D();try{if(_n=require("util"),typeof _n.inherits!="function")throw"";Cn.exports=_n.inherits}catch{Cn.exports=Bo()}var _n});var Ro=A((QD,Io)=>{"use strict";D();Io.exports=require("util").deprecate});var vn=A((td,ko)=>{"use strict";D();ko.exports=J;function No(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Ll(e,t)}}var lt;J.WritableState=At;var al={deprecate:Ro()},Po=dn(),sr=require("buffer").Buffer,ll=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function fl(t){return sr.from(t)}function cl(t){return sr.isBuffer(t)||t instanceof ll}var xn=gn(),hl=En(),Dl=hl.getHighWaterMark,Ne=Le().codes,dl=Ne.ERR_INVALID_ARG_TYPE,pl=Ne.ERR_METHOD_NOT_IMPLEMENTED,ml=Ne.ERR_MULTIPLE_CALLBACK,gl=Ne.ERR_STREAM_CANNOT_PIPE,El=Ne.ERR_STREAM_DESTROYED,Fl=Ne.ERR_STREAM_NULL_VALUES,_l=Ne.ERR_STREAM_WRITE_AFTER_END,Cl=Ne.ERR_UNKNOWN_ENCODING,ft=xn.errorOrDestroy;Ge()(J,Po);function yl(){}function At(t,e,r){lt=lt||ze(),t=t||{},typeof r!="boolean"&&(r=e instanceof lt),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=Dl(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=t.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){Ol(e,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new No(this)}At.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(At.prototype,"buffer",{get:al.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var or;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(or=Function.prototype[Symbol.hasInstance],Object.defineProperty(J,Symbol.hasInstance,{value:function(e){return or.call(this,e)?!0:this!==J?!1:e&&e._writableState instanceof At}})):or=function(e){return e instanceof this};function J(t){lt=lt||ze();var e=this instanceof lt;if(!e&&!or.call(J,this))return new J(t);this._writableState=new At(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),Po.call(this)}J.prototype.pipe=function(){ft(this,new gl)};function xl(t,e){var r=new _l;ft(t,r),process.nextTick(e,r)}function vl(t,e,r,n){var i;return r===null?i=new Fl:typeof r!="string"&&!e.objectMode&&(i=new dl("chunk",["string","Buffer"],r)),i?(ft(t,i),process.nextTick(n,i),!1):!0}J.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&cl(t);return o&&!sr.isBuffer(t)&&(t=fl(t)),typeof e=="function"&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=yl),n.ending?xl(this,r):(o||vl(this,n,t,r))&&(n.pendingcb++,i=bl(this,n,o,t,e,r)),i};J.prototype.cork=function(){this._writableState.corked++};J.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Mo(this,t))};J.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new Cl(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(J.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function wl(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=sr.from(e,r)),e}Object.defineProperty(J.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function bl(t,e,r,n,i,o){if(!r){var s=wl(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var l=e.length<e.highWaterMark;if(l||(e.needDrain=!0),e.writing||e.corked){var d=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else yn(t,e,!1,a,n,i,o);return l}function yn(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new El("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function Sl(t,e,r,n,i){--e.pendingcb,r?(process.nextTick(i,n),process.nextTick(St,t,e),t._writableState.errorEmitted=!0,ft(t,n)):(i(n),t._writableState.errorEmitted=!0,ft(t,n),St(t,e))}function Al(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function Ol(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new ml;if(Al(r),e)Sl(t,r,n,e,i);else{var o=Uo(r)||t.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Mo(t,r),n?process.nextTick(Lo,t,r,o,i):Lo(t,r,o,i)}}function Lo(t,e,r,n){r||Tl(t,e),e.pendingcb--,n(),St(t,e)}function Tl(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function Mo(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,a=!0;r;)i[s]=r,r.isBuf||(a=!1),r=r.next,s+=1;i.allBuffers=a,yn(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new No(e),e.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,d=r.encoding,c=r.callback,F=e.objectMode?1:l.length;if(yn(t,e,!1,F,l,d,c),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}J.prototype._write=function(t,e,r){r(new pl("_write()"))};J.prototype._writev=null;J.prototype.end=function(t,e,r){var n=this._writableState;return typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||Rl(this,n,r),this};Object.defineProperty(J.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Uo(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function Bl(t,e){t._final(function(r){e.pendingcb--,r&&ft(t,r),e.prefinished=!0,t.emit("prefinish"),St(t,e)})}function Il(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=!0,process.nextTick(Bl,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function St(t,e){var r=Uo(e);if(r&&(Il(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}function Rl(t,e,r){e.ending=!0,St(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function Ll(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}Object.defineProperty(J.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});J.prototype.destroy=xn.destroy;J.prototype._undestroy=xn.undestroy;J.prototype._destroy=function(t,e){e(t)}});var ze=A((nd,Ho)=>{"use strict";D();var Nl=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Ho.exports=xe;var jo=Sn(),bn=vn();Ge()(xe,jo);for(wn=Nl(bn.prototype),ur=0;ur<wn.length;ur++)ar=wn[ur],xe.prototype[ar]||(xe.prototype[ar]=bn.prototype[ar]);var wn,ar,ur;function xe(t){if(!(this instanceof xe))return new xe(t);jo.call(this,t),bn.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Pl)))}Object.defineProperty(xe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(xe.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(xe.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Pl(){this._writableState.ended||process.nextTick(Ml,this)}function Ml(t){t.end()}Object.defineProperty(xe.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var qo=A((An,Vo)=>{"use strict";D();var lr=require("buffer"),ve=lr.Buffer;function $o(t,e){for(var r in t)e[r]=t[r]}ve.from&&ve.alloc&&ve.allocUnsafe&&ve.allocUnsafeSlow?Vo.exports=lr:($o(lr,An),An.Buffer=Ze);function Ze(t,e,r){return ve(t,e,r)}Ze.prototype=Object.create(ve.prototype);$o(ve,Ze);Ze.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return ve(t,e,r)};Ze.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=ve(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};Ze.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return ve(t)};Ze.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return lr.SlowBuffer(t)}});var Bn=A(Go=>{"use strict";D();var Tn=qo().Buffer,Wo=Tn.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ul(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function kl(t){var e=Ul(t);if(typeof e!="string"&&(Tn.isEncoding===Wo||!Wo(t)))throw new Error("Unknown encoding: "+t);return e||t}Go.StringDecoder=Ot;function Ot(t){this.encoding=kl(t);var e;switch(this.encoding){case"utf16le":this.text=Wl,this.end=Gl,e=4;break;case"utf8":this.fillLast=$l,e=4;break;case"base64":this.text=zl,this.end=Zl,e=3;break;default:this.write=Yl,this.end=Kl;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Tn.allocUnsafe(e)}Ot.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};Ot.prototype.end=ql;Ot.prototype.text=Vl;Ot.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function On(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function jl(t,e,r){var n=e.length-1;if(n<r)return 0;var i=On(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||i===-2?0:(i=On(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||i===-2?0:(i=On(e[n]),i>=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function Hl(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function $l(t){var e=this.lastTotal-this.lastNeed,r=Hl(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Vl(t,e){var r=jl(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function ql(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function Wl(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Gl(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function zl(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function Zl(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Yl(t){return t.toString(this.encoding)}function Kl(t){return t&&t.length?this.write(t):""}});var fr=A((ad,Yo)=>{"use strict";D();var zo=Le().codes.ERR_STREAM_PREMATURE_CLOSE;function Xl(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}function Jl(){}function Ql(t){return t.setHeader&&typeof t.abort=="function"}function Zo(t,e,r){if(typeof e=="function")return Zo(t,null,e);e||(e={}),r=Xl(r||Jl);var n=e.readable||e.readable!==!1&&t.readable,i=e.writable||e.writable!==!1&&t.writable,o=function(){t.writable||a()},s=t._writableState&&t._writableState.finished,a=function(){i=!1,s=!0,n||r.call(t)},l=t._readableState&&t._readableState.endEmitted,d=function(){n=!1,l=!0,i||r.call(t)},c=function(h){r.call(t,h)},F=function(){var h;if(n&&!l)return(!t._readableState||!t._readableState.ended)&&(h=new zo),r.call(t,h);if(i&&!s)return(!t._writableState||!t._writableState.ended)&&(h=new zo),r.call(t,h)},y=function(){t.req.on("finish",a)};return Ql(t)?(t.on("complete",a),t.on("abort",F),t.req?y():t.on("request",y)):i&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",d),t.on("finish",a),e.error!==!1&&t.on("error",c),t.on("close",F),function(){t.removeListener("complete",a),t.removeListener("abort",F),t.removeListener("request",y),t.req&&t.req.removeListener("finish",a),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",a),t.removeListener("end",d),t.removeListener("error",c),t.removeListener("close",F)}}Yo.exports=Zo});var Xo=A((fd,Ko)=>{"use strict";D();var cr;function Pe(t,e,r){return e=ef(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ef(t){var e=tf(t,"string");return typeof e=="symbol"?e:String(e)}function tf(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var rf=fr(),Me=Symbol("lastResolve"),Ye=Symbol("lastReject"),Tt=Symbol("error"),hr=Symbol("ended"),Ke=Symbol("lastPromise"),In=Symbol("handlePromise"),Xe=Symbol("stream");function Ue(t,e){return{value:t,done:e}}function nf(t){var e=t[Me];if(e!==null){var r=t[Xe].read();r!==null&&(t[Ke]=null,t[Me]=null,t[Ye]=null,e(Ue(r,!1)))}}function of(t){process.nextTick(nf,t)}function sf(t,e){return function(r,n){t.then(function(){if(e[hr]){r(Ue(void 0,!0));return}e[In](r,n)},n)}}var uf=Object.getPrototypeOf(function(){}),af=Object.setPrototypeOf((cr={get stream(){return this[Xe]},next:function(){var e=this,r=this[Tt];if(r!==null)return Promise.reject(r);if(this[hr])return Promise.resolve(Ue(void 0,!0));if(this[Xe].destroyed)return new Promise(function(s,a){process.nextTick(function(){e[Tt]?a(e[Tt]):s(Ue(void 0,!0))})});var n=this[Ke],i;if(n)i=new Promise(sf(n,this));else{var o=this[Xe].read();if(o!==null)return Promise.resolve(Ue(o,!1));i=new Promise(this[In])}return this[Ke]=i,i}},Pe(cr,Symbol.asyncIterator,function(){return this}),Pe(cr,"return",function(){var e=this;return new Promise(function(r,n){e[Xe].destroy(null,function(i){if(i){n(i);return}r(Ue(void 0,!0))})})}),cr),uf),lf=function(e){var r,n=Object.create(af,(r={},Pe(r,Xe,{value:e,writable:!0}),Pe(r,Me,{value:null,writable:!0}),Pe(r,Ye,{value:null,writable:!0}),Pe(r,Tt,{value:null,writable:!0}),Pe(r,hr,{value:e._readableState.endEmitted,writable:!0}),Pe(r,In,{value:function(o,s){var a=n[Xe].read();a?(n[Ke]=null,n[Me]=null,n[Ye]=null,o(Ue(a,!1))):(n[Me]=o,n[Ye]=s)},writable:!0}),r));return n[Ke]=null,rf(e,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=n[Ye];o!==null&&(n[Ke]=null,n[Me]=null,n[Ye]=null,o(i)),n[Tt]=i;return}var s=n[Me];s!==null&&(n[Ke]=null,n[Me]=null,n[Ye]=null,s(Ue(void 0,!0))),n[hr]=!0}),e.on("readable",of.bind(null,n)),n};Ko.exports=lf});var ts=A((hd,es)=>{"use strict";D();function Jo(t,e,r,n,i,o,s){try{var a=t[o](s),l=a.value}catch(d){r(d);return}a.done?e(l):Promise.resolve(l).then(n,i)}function ff(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function s(l){Jo(o,n,i,s,a,"next",l)}function a(l){Jo(o,n,i,s,a,"throw",l)}s(void 0)})}}function Qo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Qo(Object(r),!0).forEach(function(n){hf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qo(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hf(t,e,r){return e=Df(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Df(t){var e=df(t,"string");return typeof e=="symbol"?e:String(e)}function df(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var pf=Le().codes.ERR_INVALID_ARG_TYPE;function mf(t,e,r){var n;if(e&&typeof e.next=="function")n=e;else if(e&&e[Symbol.asyncIterator])n=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])n=e[Symbol.iterator]();else throw new pf("iterable",["Iterable"],e);var i=new t(cf({objectMode:!0},r)),o=!1;i._read=function(){o||(o=!0,s())};function s(){return a.apply(this,arguments)}function a(){return a=ff(function*(){try{var l=yield n.next(),d=l.value,c=l.done;c?i.push(null):i.push(yield d)?s():o=!1}catch(F){i.destroy(F)}}),a.apply(this,arguments)}return i}es.exports=mf});var Sn=A((pd,cs)=>{"use strict";D();cs.exports=L;var ct;L.ReadableState=os;var dd=require("events").EventEmitter,is=function(e,r){return e.listeners(r).length},It=dn(),Dr=require("buffer").Buffer,gf=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ef(t){return Dr.from(t)}function Ff(t){return Dr.isBuffer(t)||t instanceof gf}var Rn=require("util"),B;Rn&&Rn.debuglog?B=Rn.debuglog("stream"):B=function(){};var _f=vo(),jn=gn(),Cf=En(),yf=Cf.getHighWaterMark,dr=Le().codes,xf=dr.ERR_INVALID_ARG_TYPE,vf=dr.ERR_STREAM_PUSH_AFTER_EOF,wf=dr.ERR_METHOD_NOT_IMPLEMENTED,bf=dr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ht,Ln,Nn;Ge()(L,It);var Bt=jn.errorOrDestroy,Pn=["error","close","destroy","pause","resume"];function Sf(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function os(t,e,r){ct=ct||ze(),t=t||{},typeof r!="boolean"&&(r=e instanceof ct),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=yf(this,t,"readableHighWaterMark",r),this.buffer=new _f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(ht||(ht=Bn().StringDecoder),this.decoder=new ht(t.encoding),this.encoding=t.encoding)}function L(t){if(ct=ct||ze(),!(this instanceof L))return new L(t);var e=this instanceof ct;this._readableState=new os(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),It.call(this)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});L.prototype.destroy=jn.destroy;L.prototype._undestroy=jn.undestroy;L.prototype._destroy=function(t,e){e(t)};L.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=Dr.from(t,e),e=""),n=!0),ss(this,t,e,!1,n)};L.prototype.unshift=function(t){return ss(this,t,null,!0,!1)};function ss(t,e,r,n,i){B("readableAddChunk",e);var o=t._readableState;if(e===null)o.reading=!1,Tf(t,o);else{var s;if(i||(s=Af(o,e)),s)Bt(t,s);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==Dr.prototype&&(e=Ef(e)),n)o.endEmitted?Bt(t,new bf):Mn(t,o,e,!0);else if(o.ended)Bt(t,new vf);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||e.length!==0?Mn(t,o,e,!1):kn(t,o)):Mn(t,o,e,!1)}else n||(o.reading=!1,kn(t,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function Mn(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&pr(t)),kn(t,e)}function Af(t,e){var r;return!Ff(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new xf("chunk",["string","Buffer","Uint8Array"],e)),r}L.prototype.isPaused=function(){return this._readableState.flowing===!1};L.prototype.setEncoding=function(t){ht||(ht=Bn().StringDecoder);var e=new ht(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var rs=1073741824;function Of(t){return t>=rs?t=rs:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function ns(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=Of(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}L.prototype.read=function(t){B("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return B("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Un(this):pr(this),null;if(t=ns(t,e),t===0&&e.ended)return e.length===0&&Un(this),null;var n=e.needReadable;B("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,B("length less than watermark",n)),e.ended||e.reading?(n=!1,B("reading or ended",n)):n&&(B("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=ns(r,e)));var i;return t>0?i=ls(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Un(this)),i!==null&&this.emit("data",i),i};function Tf(t,e){if(B("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?pr(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,us(t)))}}function pr(t){var e=t._readableState;B("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(B("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(us,t))}function us(t){var e=t._readableState;B("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Hn(t)}function kn(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(Bf,t,e))}function Bf(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(B("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}L.prototype._read=function(t){Bt(this,new wf("_read()"))};L.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,B("pipe count=%d opts=%j",n.pipesCount,e);var i=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,o=i?a:m;n.endEmitted?process.nextTick(o):r.once("end",o),t.on("unpipe",s);function s(p,g){B("onunpipe"),p===r&&g&&g.hasUnpiped===!1&&(g.hasUnpiped=!0,c())}function a(){B("onend"),t.end()}var l=If(r);t.on("drain",l);var d=!1;function c(){B("cleanup"),t.removeListener("close",f),t.removeListener("finish",h),t.removeListener("drain",l),t.removeListener("error",y),t.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",F),d=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&l()}r.on("data",F);function F(p){B("ondata");var g=t.write(p);B("dest.write",g),g===!1&&((n.pipesCount===1&&n.pipes===t||n.pipesCount>1&&fs(n.pipes,t)!==-1)&&!d&&(B("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function y(p){B("onerror",p),m(),t.removeListener("error",y),is(t,"error")===0&&Bt(t,p)}Sf(t,"error",y);function f(){t.removeListener("finish",h),m()}t.once("close",f);function h(){B("onfinish"),t.removeListener("close",f),m()}t.once("finish",h);function m(){B("unpipe"),r.unpipe(t)}return t.emit("pipe",r),n.flowing||(B("pipe resume"),r.resume()),t};function If(t){return function(){var r=t._readableState;B("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&is(t,"data")&&(r.flowing=!0,Hn(t))}}L.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=fs(e.pipes,t);return s===-1?this:(e.pipes.splice(s,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};L.prototype.on=function(t,e){var r=It.prototype.on.call(this,t,e),n=this._readableState;return t==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,B("on readable",n.length,n.reading),n.length?pr(this):n.reading||process.nextTick(Rf,this)),r};L.prototype.addListener=L.prototype.on;L.prototype.removeListener=function(t,e){var r=It.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(as,this),r};L.prototype.removeAllListeners=function(t){var e=It.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(as,this),e};function as(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function Rf(t){B("readable nexttick read 0"),t.read(0)}L.prototype.resume=function(){var t=this._readableState;return t.flowing||(B("resume"),t.flowing=!t.readableListening,Lf(this,t)),t.paused=!1,this};function Lf(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(Nf,t,e))}function Nf(t,e){B("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),Hn(t),e.flowing&&!e.reading&&t.read(0)}L.prototype.pause=function(){return B("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(B("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Hn(t){var e=t._readableState;for(B("flow",e.flowing);e.flowing&&t.read()!==null;);}L.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;t.on("end",function(){if(B("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),t.on("data",function(s){if(B("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var a=e.push(s);a||(n=!0,t.pause())}});for(var i in t)this[i]===void 0&&typeof t[i]=="function"&&(this[i]=(function(a){return function(){return t[a].apply(t,arguments)}})(i));for(var o=0;o<Pn.length;o++)t.on(Pn[o],this.emit.bind(this,Pn[o]));return this._read=function(s){B("wrapped _read",s),n&&(n=!1,t.resume())},this};typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return Ln===void 0&&(Ln=Xo()),Ln(this)});Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}});L._fromList=ls;Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function ls(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function Un(t){var e=t._readableState;B("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(Pf,e,t))}function Pf(t,e){if(B("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}typeof Symbol=="function"&&(L.from=function(t,e){return Nn===void 0&&(Nn=ts()),Nn(L,t,e)});function fs(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}});var $n=A((gd,Ds)=>{"use strict";D();Ds.exports=Oe;var mr=Le().codes,Mf=mr.ERR_METHOD_NOT_IMPLEMENTED,Uf=mr.ERR_MULTIPLE_CALLBACK,kf=mr.ERR_TRANSFORM_ALREADY_TRANSFORMING,jf=mr.ERR_TRANSFORM_WITH_LENGTH_0,gr=ze();Ge()(Oe,gr);function Hf(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new Uf);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Oe(t){if(!(this instanceof Oe))return new Oe(t);gr.call(this,t),this._transformState={afterTransform:Hf.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",$f)}function $f(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){hs(t,e,r)}):hs(this,null,null)}Oe.prototype.push=function(t,e){return this._transformState.needTransform=!1,gr.prototype.push.call(this,t,e)};Oe.prototype._transform=function(t,e,r){r(new Mf("_transform()"))};Oe.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Oe.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};Oe.prototype._destroy=function(t,e){gr.prototype._destroy.call(this,t,function(r){e(r)})};function hs(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new jf;if(t._transformState.transforming)throw new kf;return t.push(null)}});var ms=A((Fd,ps)=>{"use strict";D();ps.exports=Rt;var ds=$n();Ge()(Rt,ds);function Rt(t){if(!(this instanceof Rt))return new Rt(t);ds.call(this,t)}Rt.prototype._transform=function(t,e,r){r(null,t)}});var Cs=A((Cd,_s)=>{"use strict";D();var Vn;function Vf(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var Fs=Le().codes,qf=Fs.ERR_MISSING_ARGS,Wf=Fs.ERR_STREAM_DESTROYED;function gs(t){if(t)throw t}function Gf(t){return t.setHeader&&typeof t.abort=="function"}function zf(t,e,r,n){n=Vf(n);var i=!1;t.on("close",function(){i=!0}),Vn===void 0&&(Vn=fr()),Vn(t,{readable:e,writable:r},function(s){if(s)return n(s);i=!0,n()});var o=!1;return function(s){if(!i&&!o){if(o=!0,Gf(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();n(s||new Wf("pipe"))}}}function Es(t){t()}function Zf(t,e){return t.pipe(e)}function Yf(t){return!t.length||typeof t[t.length-1]!="function"?gs:t.pop()}function Kf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=Yf(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new qf("streams");var i,o=e.map(function(s,a){var l=a<e.length-1,d=a>0;return zf(s,l,d,function(c){i||(i=c),c&&o.forEach(Es),!l&&(o.forEach(Es),n(i))})});return e.reduce(Zf)}_s.exports=Kf});var ys=A((De,Nt)=>{"use strict";D();var Lt=require("stream");process.env.READABLE_STREAM==="disable"&&Lt?(Nt.exports=Lt.Readable,Object.assign(Nt.exports,Lt),Nt.exports.Stream=Lt):(De=Nt.exports=Sn(),De.Stream=Lt||De,De.Readable=De,De.Writable=vn(),De.Duplex=ze(),De.Transform=$n(),De.PassThrough=ms(),De.finished=fr(),De.pipeline=Cs())});var ws=A((vd,vs)=>{"use strict";D();var{Buffer:_e}=require("buffer"),xs=Symbol.for("BufferList");function H(t){if(!(this instanceof H))return new H(t);H._init.call(this,t)}H._init=function(e){Object.defineProperty(this,xs,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};H.prototype._new=function(e){return new H(e)};H.prototype._offset=function(e){if(e===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(e<i||n===this._bufs.length-1)return[n,e-r];r=i}};H.prototype._reverseOffset=function(t){let e=t[0],r=t[1];for(let n=0;n<e;n++)r+=this._bufs[n].length;return r};H.prototype.get=function(e){if(e>this.length||e<0)return;let r=this._offset(e);return this._bufs[r[0]][r[1]]};H.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};H.prototype.copy=function(e,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return e||_e.alloc(0);let o=!!e,s=this._offset(n),a=i-n,l=a,d=o&&r||0,c=s[1];if(n===0&&i===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:_e.concat(this._bufs,this.length);for(let F=0;F<this._bufs.length;F++)this._bufs[F].copy(e,d),d+=this._bufs[F].length;return e}if(l<=this._bufs[s[0]].length-c)return o?this._bufs[s[0]].copy(e,r,c,c+l):this._bufs[s[0]].slice(c,c+l);o||(e=_e.allocUnsafe(a));for(let F=s[0];F<this._bufs.length;F++){let y=this._bufs[F].length-c;if(l>y)this._bufs[F].copy(e,d,c),d+=y;else{this._bufs[F].copy(e,d,c,c+l),d+=y;break}l-=y,c&&(c=0)}return e.length>d?e.slice(0,d):e};H.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();let n=this._offset(e),i=this._offset(r),o=this._bufs.slice(n[0],i[0]+1);return i[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,i[1]),n[1]!==0&&(o[0]=o[0].slice(n[1])),this._new(o)};H.prototype.toString=function(e,r,n){return this.slice(r,n).toString(e)};H.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};H.prototype.duplicate=function(){let e=this._new();for(let r=0;r<this._bufs.length;r++)e.append(this._bufs[r]);return e};H.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(_e.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let r=0;r<e.length;r++)this.append(e[r]);else if(this._isBufferList(e))for(let r=0;r<e._bufs.length;r++)this.append(e._bufs[r]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(_e.from(e));return this};H.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length};H.prototype.indexOf=function(t,e,r){if(r===void 0&&typeof e=="string"&&(r=e,e=void 0),typeof t=="function"||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof t=="number"?t=_e.from([t]):typeof t=="string"?t=_e.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=_e.from(t.buffer,t.byteOffset,t.byteLength):_e.isBuffer(t)||(t=_e.from(t)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),t.length===0)return e>this.length?this.length:e;let n=this._offset(e),i=n[0],o=n[1];for(;i<this._bufs.length;i++){let s=this._bufs[i];for(;o<s.length;)if(s.length-o>=t.length){let l=s.indexOf(t,o);if(l!==-1)return this._reverseOffset([i,l]);o=s.length-t.length+1}else{let l=this._reverseOffset([i,o]);if(this._match(l,t))return l;o++}o=0}return-1};H.prototype._match=function(t,e){if(this.length-t<e.length)return!1;for(let r=0;r<e.length;r++)if(this.get(t+r)!==e[r])return!1;return!0};(function(){let t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let e in t)(function(r){t[r]===null?H.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:H.prototype[r]=function(n=0){return this.slice(n,n+t[r])[r](0)}})(e)})();H.prototype._isBufferList=function(e){return e instanceof H||H.isBufferList(e)};H.isBufferList=function(e){return e!=null&&e[xs]};vs.exports=H});var bs=A((bd,Er)=>{"use strict";D();var qn=ys().Duplex,Xf=Ge(),Pt=ws();function ue(t){if(!(this instanceof ue))return new ue(t);if(typeof t=="function"){this._callback=t;let e=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",e)}),this.on("unpipe",function(n){n.removeListener("error",e)}),t=null}Pt._init.call(this,t),qn.call(this)}Xf(ue,qn);Object.assign(ue.prototype,Pt.prototype);ue.prototype._new=function(e){return new ue(e)};ue.prototype._write=function(e,r,n){this._appendBuffer(e),typeof n=="function"&&n()};ue.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)};ue.prototype.end=function(e){qn.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ue.prototype._destroy=function(e,r){this._bufs.length=0,this.length=0,r(e)};ue.prototype._isBufferList=function(e){return e instanceof ue||e instanceof Pt||ue.isBufferList(e)};ue.isBufferList=Pt.isBufferList;Er.exports=ue;Er.exports.BufferListStream=ue;Er.exports.BufferList=Pt});var Xn=A((ep,Rs)=>{"use strict";D();Rs.exports={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24}});var Cr=A(Ns=>{"use strict";D();var Ls={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",DESCRIPTOR_NOT_EXIST:"No descriptor present",DESCRIPTOR_UNKNOWN:"Unknown descriptor format",DESCRIPTOR_FAULTY:"Descriptor data is malformed",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed {0}",FILE_IN_THE_WAY:"There is a file in the way: {0}",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",DISK_ENTRY_TOO_LARGE:"Number of disk entries is too large",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:'File not found: "{0}"',NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found",INVALID_PASS_PARAM:"Incompatible password parameter",WRONG_PASSWORD:"Wrong Password",COMMENT_TOO_LONG:"Comment is too long",EXTRA_FIELD_PARSE_ERROR:"Extra field parsing error"};function sc(t){return function(...e){return e.length&&(t=t.replace(/\{(\d)\}/g,(r,n)=>e[n]||"")),new Error("ADM-ZIP: "+t)}}for(let t of Object.keys(Ls))Ns[t]=sc(Ls[t])});var js=A((ip,ks)=>{"use strict";D();var uc=require("fs"),re=require("path"),Ps=Xn(),ac=Cr(),lc=typeof process=="object"&&process.platform==="win32",Ms=t=>typeof t=="object"&&t!==null,Us=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=3988292384^e>>>1:e>>>=1;return e>>>0});function Q(t){this.sep=re.sep,this.fs=uc,Ms(t)&&Ms(t.fs)&&typeof t.fs.statSync=="function"&&(this.fs=t.fs)}ks.exports=Q;Q.prototype.makeDir=function(t){let e=this;function r(n){let i=n.split(e.sep)[0];n.split(e.sep).forEach(function(o){if(!(!o||o.substr(-1,1)===":")){i+=e.sep+o;var s;try{s=e.fs.statSync(i)}catch{e.fs.mkdirSync(i)}if(s&&s.isFile())throw ac.FILE_IN_THE_WAY(`"${i}"`)}})}r(t)};Q.prototype.writeFileTo=function(t,e,r,n){let i=this;if(i.fs.existsSync(t)){if(!r)return!1;var o=i.fs.statSync(t);if(o.isDirectory())return!1}var s=re.dirname(t);i.fs.existsSync(s)||i.makeDir(s);var a;try{a=i.fs.openSync(t,"w",438)}catch{i.fs.chmodSync(t,438),a=i.fs.openSync(t,"w",438)}if(a)try{i.fs.writeSync(a,e,0,e.length,0)}finally{i.fs.closeSync(a)}return i.fs.chmodSync(t,n||438),!0};Q.prototype.writeFileToAsync=function(t,e,r,n,i){typeof n=="function"&&(i=n,n=void 0);let o=this;o.fs.exists(t,function(s){if(s&&!r)return i(!1);o.fs.stat(t,function(a,l){if(s&&l.isDirectory())return i(!1);var d=re.dirname(t);o.fs.exists(d,function(c){c||o.makeDir(d),o.fs.open(t,"w",438,function(F,y){F?o.fs.chmod(t,438,function(){o.fs.open(t,"w",438,function(f,h){o.fs.write(h,e,0,e.length,0,function(){o.fs.close(h,function(){o.fs.chmod(t,n||438,function(){i(!0)})})})})}):y?o.fs.write(y,e,0,e.length,0,function(){o.fs.close(y,function(){o.fs.chmod(t,n||438,function(){i(!0)})})}):o.fs.chmod(t,n||438,function(){i(!0)})})})})})};Q.prototype.findFiles=function(t){let e=this;function r(n,i,o){typeof i=="boolean"&&(o=i,i=void 0);let s=[];return e.fs.readdirSync(n).forEach(function(a){let l=re.join(n,a),d=e.fs.statSync(l);(!i||i.test(l))&&s.push(re.normalize(l)+(d.isDirectory()?e.sep:"")),d.isDirectory()&&o&&(s=s.concat(r(l,i,o)))}),s}return r(t,void 0,!0)};Q.prototype.findFilesAsync=function(t,e){let r=this,n=[];r.fs.readdir(t,function(i,o){if(i)return e(i);let s=o.length;if(!s)return e(null,n);o.forEach(function(a){a=re.join(t,a),r.fs.stat(a,function(l,d){if(l)return e(l);d&&(n.push(re.normalize(a)+(d.isDirectory()?r.sep:"")),d.isDirectory()?r.findFilesAsync(a,function(c,F){if(c)return e(c);n=n.concat(F),--s||e(null,n)}):--s||e(null,n))})})})};Q.prototype.getAttributes=function(){};Q.prototype.setAttributes=function(){};Q.crc32update=function(t,e){return Us[(t^e)&255]^t>>>8};Q.crc32=function(t){typeof t=="string"&&(t=Buffer.from(t,"utf8"));let e=t.length,r=-1;for(let n=0;n<e;)r=Q.crc32update(r,t[n++]);return~r>>>0};Q.methodToString=function(t){switch(t){case Ps.STORED:return"STORED ("+t+")";case Ps.DEFLATED:return"DEFLATED ("+t+")";default:return"UNSUPPORTED ("+t+")"}};Q.canonical=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.join(".",e)};Q.zipnamefix=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.posix.join(".",e)};Q.findLast=function(t,e){if(!Array.isArray(t))throw new TypeError("arr is not array");let r=t.length>>>0;for(let n=r-1;n>=0;n--)if(e(t[n],n,t))return t[n]};Q.sanitize=function(t,e){t=re.resolve(re.normalize(t));for(var r=e.split("/"),n=0,i=r.length;n<i;n++){var o=re.normalize(re.join(t,r.slice(n,i).join(re.sep)));if(o.indexOf(t)===0)return o}return re.normalize(re.join(t,re.basename(e)))};Q.toBuffer=function(e,r){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):typeof e=="string"?r(e):Buffer.alloc(0)};Q.readBigUInt64LE=function(t,e){var r=Buffer.from(t.slice(e,e+8));return r.swap64(),parseInt(`0x${r.toString("hex")}`)};Q.fromDOS2Date=function(t){return new Date((t>>25&127)+1980,Math.max((t>>21&15)-1,0),Math.max(t>>16&31,1),t>>11&31,t>>5&63,(t&31)<<1)};Q.fromDate2DOS=function(t){let e=0,r=0;return t.getFullYear()>1979&&(e=(t.getFullYear()-1980&127)<<9|t.getMonth()+1<<5|t.getDate(),r=t.getHours()<<11|t.getMinutes()<<5|t.getSeconds()>>1),e<<16|r};Q.isWin=lc;Q.crcTable=Us});var $s=A((sp,Hs)=>{"use strict";D();var fc=require("path");Hs.exports=function(t,{fs:e}){var r=t||"",n=o(),i=null;function o(){return{directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0}}return r&&e.existsSync(r)?(i=e.statSync(r),n.directory=i.isDirectory(),n.mtime=i.mtime,n.atime=i.atime,n.executable=(73&i.mode)!==0,n.readonly=(128&i.mode)===0,n.hidden=fc.basename(r)[0]==="."):console.warn("Invalid path: "+r),{get directory(){return n.directory},get readOnly(){return n.readonly},get hidden(){return n.hidden},get mtime(){return n.mtime},get atime(){return n.atime},get executable(){return n.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:r,isDirectory:n.directory,isReadOnly:n.readonly,isHidden:n.hidden,isExecutable:n.executable,mTime:n.mtime,aTime:n.atime}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var qs=A((ap,Vs)=>{"use strict";D();Vs.exports={efs:!0,encode:t=>Buffer.from(t,"utf8"),decode:t=>t.toString("utf8")}});var pt=A((fp,dt)=>{"use strict";D();dt.exports=js();dt.exports.Constants=Xn();dt.exports.Errors=Cr();dt.exports.FileAttr=$s();dt.exports.decoder=qs()});var Gs=A((hp,Ws)=>{"use strict";D();var He=pt(),w=He.Constants;Ws.exports=function(){var t=20,e=10,r=0,n=0,i=0,o=0,s=0,a=0,l=0,d=0,c=0,F=0,y=0,f=0,h=0;t|=He.isWin?2560:768,r|=w.FLG_EFS;let m={extraLen:0},p=u=>Math.max(0,u)>>>0,g=u=>Math.max(0,u)&65535,C=u=>Math.max(0,u)&255;return i=He.fromDate2DOS(new Date),{get made(){return t},set made(u){t=u},get version(){return e},set version(u){e=u},get flags(){return r},set flags(u){r=u},get flags_efs(){return(r&w.FLG_EFS)>0},set flags_efs(u){u?r|=w.FLG_EFS:r&=~w.FLG_EFS},get flags_desc(){return(r&w.FLG_DESC)>0},set flags_desc(u){u?r|=w.FLG_DESC:r&=~w.FLG_DESC},get method(){return n},set method(u){switch(u){case w.STORED:this.version=10;case w.DEFLATED:default:this.version=20}n=u},get time(){return He.fromDOS2Date(this.timeval)},set time(u){this.timeval=He.fromDate2DOS(u)},get timeval(){return i},set timeval(u){i=p(u)},get timeHighByte(){return C(i>>>8)},get crc(){return o},set crc(u){o=p(u)},get compressedSize(){return s},set compressedSize(u){s=p(u)},get size(){return a},set size(u){a=p(u)},get fileNameLength(){return l},set fileNameLength(u){l=u},get extraLength(){return d},set extraLength(u){d=u},get extraLocalLength(){return m.extraLen},set extraLocalLength(u){m.extraLen=u},get commentLength(){return c},set commentLength(u){c=u},get diskNumStart(){return F},set diskNumStart(u){F=p(u)},get inAttr(){return y},set inAttr(u){y=p(u)},get attr(){return f},set attr(u){f=p(u)},get fileAttr(){return(f||0)>>16&4095},get offset(){return h},set offset(u){h=p(u)},get encrypted(){return(r&w.FLG_ENC)===w.FLG_ENC},get centralHeaderSize(){return w.CENHDR+l+d+c},get realDataOffset(){return h+w.LOCHDR+m.fnameLen+m.extraLen},get localHeader(){return m},loadLocalHeaderFromBinary:function(u){var E=u.slice(h,h+w.LOCHDR);if(E.readUInt32LE(0)!==w.LOCSIG)throw He.Errors.INVALID_LOC();m.version=E.readUInt16LE(w.LOCVER),m.flags=E.readUInt16LE(w.LOCFLG),m.method=E.readUInt16LE(w.LOCHOW),m.time=E.readUInt32LE(w.LOCTIM),m.crc=E.readUInt32LE(w.LOCCRC),m.compressedSize=E.readUInt32LE(w.LOCSIZ),m.size=E.readUInt32LE(w.LOCLEN),m.fnameLen=E.readUInt16LE(w.LOCNAM),m.extraLen=E.readUInt16LE(w.LOCEXT);let _=h+w.LOCHDR+m.fnameLen,b=_+m.extraLen;return u.slice(_,b)},loadFromBinary:function(u){if(u.length!==w.CENHDR||u.readUInt32LE(0)!==w.CENSIG)throw He.Errors.INVALID_CEN();t=u.readUInt16LE(w.CENVEM),e=u.readUInt16LE(w.CENVER),r=u.readUInt16LE(w.CENFLG),n=u.readUInt16LE(w.CENHOW),i=u.readUInt32LE(w.CENTIM),o=u.readUInt32LE(w.CENCRC),s=u.readUInt32LE(w.CENSIZ),a=u.readUInt32LE(w.CENLEN),l=u.readUInt16LE(w.CENNAM),d=u.readUInt16LE(w.CENEXT),c=u.readUInt16LE(w.CENCOM),F=u.readUInt16LE(w.CENDSK),y=u.readUInt16LE(w.CENATT),f=u.readUInt32LE(w.CENATX),h=u.readUInt32LE(w.CENOFF)},localHeaderToBinary:function(){var u=Buffer.alloc(w.LOCHDR);return u.writeUInt32LE(w.LOCSIG,0),u.writeUInt16LE(e,w.LOCVER),u.writeUInt16LE(r,w.LOCFLG),u.writeUInt16LE(n,w.LOCHOW),u.writeUInt32LE(i,w.LOCTIM),u.writeUInt32LE(o,w.LOCCRC),u.writeUInt32LE(s,w.LOCSIZ),u.writeUInt32LE(a,w.LOCLEN),u.writeUInt16LE(l,w.LOCNAM),u.writeUInt16LE(m.extraLen,w.LOCEXT),u},centralHeaderToBinary:function(){var u=Buffer.alloc(w.CENHDR+l+d+c);return u.writeUInt32LE(w.CENSIG,0),u.writeUInt16LE(t,w.CENVEM),u.writeUInt16LE(e,w.CENVER),u.writeUInt16LE(r,w.CENFLG),u.writeUInt16LE(n,w.CENHOW),u.writeUInt32LE(i,w.CENTIM),u.writeUInt32LE(o,w.CENCRC),u.writeUInt32LE(s,w.CENSIZ),u.writeUInt32LE(a,w.CENLEN),u.writeUInt16LE(l,w.CENNAM),u.writeUInt16LE(d,w.CENEXT),u.writeUInt16LE(c,w.CENCOM),u.writeUInt16LE(F,w.CENDSK),u.writeUInt16LE(y,w.CENATT),u.writeUInt32LE(f,w.CENATX),u.writeUInt32LE(h,w.CENOFF),u},toJSON:function(){let u=function(E){return E+" bytes"};return{made:t,version:e,flags:r,method:He.methodToString(n),time:this.time,crc:"0x"+o.toString(16).toUpperCase(),compressedSize:u(s),size:u(a),fileNameLength:u(l),extraLength:u(d),commentLength:u(c),diskNumStart:F,inAttr:y,attr:f,offset:h,centralHeaderSize:u(w.CENHDR+l+d+c)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Zs=A((dp,zs)=>{"use strict";D();var mt=pt(),Y=mt.Constants;zs.exports=function(){var t=0,e=0,r=0,n=0,i=0;return{get diskEntries(){return t},set diskEntries(o){t=e=o},get totalEntries(){return e},set totalEntries(o){e=t=o},get size(){return r},set size(o){r=o},get offset(){return n},set offset(o){n=o},get commentLength(){return i},set commentLength(o){i=o},get mainHeaderSize(){return Y.ENDHDR+i},loadFromBinary:function(o){if((o.length!==Y.ENDHDR||o.readUInt32LE(0)!==Y.ENDSIG)&&(o.length<Y.ZIP64HDR||o.readUInt32LE(0)!==Y.ZIP64SIG))throw mt.Errors.INVALID_END();o.readUInt32LE(0)===Y.ENDSIG?(t=o.readUInt16LE(Y.ENDSUB),e=o.readUInt16LE(Y.ENDTOT),r=o.readUInt32LE(Y.ENDSIZ),n=o.readUInt32LE(Y.ENDOFF),i=o.readUInt16LE(Y.ENDCOM)):(t=mt.readBigUInt64LE(o,Y.ZIP64SUB),e=mt.readBigUInt64LE(o,Y.ZIP64TOT),r=mt.readBigUInt64LE(o,Y.ZIP64SIZE),n=mt.readBigUInt64LE(o,Y.ZIP64OFF),i=0)},toBinary:function(){var o=Buffer.alloc(Y.ENDHDR+i);return o.writeUInt32LE(Y.ENDSIG,0),o.writeUInt32LE(0,4),o.writeUInt16LE(t,Y.ENDSUB),o.writeUInt16LE(e,Y.ENDTOT),o.writeUInt32LE(r,Y.ENDSIZ),o.writeUInt32LE(n,Y.ENDOFF),o.writeUInt16LE(i,Y.ENDCOM),o.fill(" ",Y.ENDHDR),o},toJSON:function(){let o=function(s,a){let l=s.toString(16).toUpperCase();for(;l.length<a;)l="0"+l;return"0x"+l};return{diskEntries:t,totalEntries:e,size:r+" bytes",offset:o(n,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Qn=A(Jn=>{"use strict";D();Jn.EntryHeader=Gs();Jn.MainHeader=Zs()});var Ks=A((Ep,Ys)=>{"use strict";D();Ys.exports=function(t){var e=require("zlib"),r={chunkSize:(parseInt(t.length/1024)+1)*1024};return{deflate:function(){return e.deflateRawSync(t,r)},deflateAsync:function(n){var i=e.createDeflateRaw(r),o=[],s=0;i.on("data",function(a){o.push(a),s+=a.length}),i.on("end",function(){var a=Buffer.alloc(s),l=0;a.fill(0);for(var d=0;d<o.length;d++){var c=o[d];c.copy(a,l),l+=c.length}n&&n(a)}),i.end(t)}}}});var Js=A((_p,Xs)=>{"use strict";D();var cc=+(process.versions?process.versions.node:"").split(".")[0]||0;Xs.exports=function(t,e){var r=require("zlib");let n=cc>=15&&e>0?{maxOutputLength:e}:{};return{inflate:function(){return r.inflateRawSync(t,n)},inflateAsync:function(i){var o=r.createInflateRaw(n),s=[],a=0;o.on("data",function(l){s.push(l),a+=l.length}),o.on("end",function(){var l=Buffer.alloc(a),d=0;l.fill(0);for(var c=0;c<s.length;c++){var F=s[c];F.copy(l,d),d+=F.length}i&&i(l)}),o.end(t)}}}});var nu=A((yp,ru)=>{"use strict";D();var{randomFillSync:Qs}=require("crypto"),hc=Cr(),Dc=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=e>>>1^3988292384:e>>>=1;return e>>>0}),tu=(t,e)=>Math.imul(t,e)>>>0,eu=(t,e)=>Dc[(t^e)&255]^t>>>8,kt=()=>typeof Qs=="function"?Qs(Buffer.alloc(12)):kt.node();kt.node=()=>{let t=Buffer.alloc(12),e=t.length;for(let r=0;r<e;r++)t[r]=Math.random()*256&255;return t};var yr={genSalt:kt};function xr(t){let e=Buffer.isBuffer(t)?t:Buffer.from(t);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let r=0;r<e.length;r++)this.updateKeys(e[r])}xr.prototype.updateKeys=function(t){let e=this.keys;return e[0]=eu(e[0],t),e[1]+=e[0]&255,e[1]=tu(e[1],134775813)+1,e[2]=eu(e[2],e[1]>>>24),t};xr.prototype.next=function(){let t=(this.keys[2]|2)>>>0;return tu(t,t^1)>>8&255};function dc(t){let e=new xr(t);return function(r){let n=Buffer.alloc(r.length),i=0;for(let o of r)n[i++]=e.updateKeys(o^e.next());return n}}function pc(t){let e=new xr(t);return function(r,n,i=0){n||(n=Buffer.alloc(r.length));for(let o of r){let s=e.next();n[i++]=o^s,e.updateKeys(o)}return n}}function mc(t,e,r){if(!t||!Buffer.isBuffer(t)||t.length<12)return Buffer.alloc(0);let n=dc(r),i=n(t.slice(0,12)),o=(e.flags&8)===8?e.timeHighByte:e.crc>>>24;if(i[11]!==o)throw hc.WRONG_PASSWORD();return n(t.slice(12))}function gc(t){Buffer.isBuffer(t)&&t.length>=12?yr.genSalt=function(){return t.slice(0,12)}:t==="node"?yr.genSalt=kt.node:yr.genSalt=kt}function Ec(t,e,r,n=!1){t==null&&(t=Buffer.alloc(0)),Buffer.isBuffer(t)||(t=Buffer.from(t.toString()));let i=pc(r),o=yr.genSalt();o[11]=e.crc>>>24&255,n&&(o[10]=e.crc>>>16&255);let s=Buffer.alloc(t.length+12);return i(o,s),i(t,s,12)}ru.exports={decrypt:mc,encrypt:Ec,_salter:gc}});var iu=A(vr=>{"use strict";D();vr.Deflater=Ks();vr.Inflater=Js();vr.ZipCrypto=nu()});var ti=A((bp,ou)=>{"use strict";D();var P=pt(),Fc=Qn(),ee=P.Constants,ei=iu();ou.exports=function(t,e){var r=new Fc.EntryHeader,n=Buffer.alloc(0),i=Buffer.alloc(0),o=!1,s=null,a=Buffer.alloc(0),l=Buffer.alloc(0),d=!0;let c=t,F=typeof c.decoder=="object"?c.decoder:P.decoder;d=F.hasOwnProperty("efs")?F.efs:!1;function y(){return!e||!(e instanceof Uint8Array)?Buffer.alloc(0):(l=r.loadLocalHeaderFromBinary(e),e.slice(r.realDataOffset,r.realDataOffset+r.compressedSize))}function f(u){if(r.flags_desc){let E={},_=r.realDataOffset+r.compressedSize;if(e.readUInt32LE(_)==ee.LOCSIG||e.readUInt32LE(_)==ee.CENSIG)throw P.Errors.DESCRIPTOR_NOT_EXIST();if(e.readUInt32LE(_)==ee.EXTSIG)E.crc=e.readUInt32LE(_+ee.EXTCRC),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ),E.size=e.readUInt32LE(_+ee.EXTLEN);else if(e.readUInt16LE(_+12)===19280)E.crc=e.readUInt32LE(_+ee.EXTCRC-4),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ-4),E.size=e.readUInt32LE(_+ee.EXTLEN-4);else throw P.Errors.DESCRIPTOR_UNKNOWN();if(E.compressedSize!==r.compressedSize||E.size!==r.size||E.crc!==r.crc)throw P.Errors.DESCRIPTOR_FAULTY();if(P.crc32(u)!==E.crc)return!1}else if(P.crc32(u)!==r.localHeader.crc)return!1;return!0}function h(u,E,_){if(typeof E>"u"&&typeof u=="string"&&(_=u,u=void 0),o)return u&&E&&E(Buffer.alloc(0),P.Errors.DIRECTORY_CONTENT_ERROR()),Buffer.alloc(0);var b=y();if(b.length===0)return u&&E&&E(b),b;if(r.encrypted){if(typeof _!="string"&&!Buffer.isBuffer(_))throw P.Errors.INVALID_PASS_PARAM();b=ei.ZipCrypto.decrypt(b,r,_)}var S=Buffer.alloc(r.size);switch(r.method){case P.Constants.STORED:if(b.copy(S),f(S))return u&&E&&E(S),S;throw u&&E&&E(S,P.Errors.BAD_CRC()),P.Errors.BAD_CRC();case P.Constants.DEFLATED:var R=new ei.Inflater(b,r.size);if(u)R.inflateAsync(function(v){v.copy(v,0),E&&(f(v)?E(v):E(v,P.Errors.BAD_CRC()))});else{if(R.inflate(S).copy(S,0),!f(S))throw P.Errors.BAD_CRC(`"${F.decode(n)}"`);return S}break;default:throw u&&E&&E(Buffer.alloc(0),P.Errors.UNKNOWN_METHOD()),P.Errors.UNKNOWN_METHOD()}}function m(u,E){if((!s||!s.length)&&Buffer.isBuffer(e))return u&&E&&E(y()),y();if(s.length&&!o){var _;switch(r.method){case P.Constants.STORED:return r.compressedSize=r.size,_=Buffer.alloc(s.length),s.copy(_),u&&E&&E(_),_;default:case P.Constants.DEFLATED:var b=new ei.Deflater(s);if(u)b.deflateAsync(function(R){_=Buffer.alloc(R.length),r.compressedSize=R.length,R.copy(_),E&&E(_)});else{var S=b.deflate();return r.compressedSize=S.length,S}b=null;break}}else if(u&&E)E(Buffer.alloc(0));else return Buffer.alloc(0)}function p(u,E){return(u.readUInt32LE(E+4)<<4)+u.readUInt32LE(E)}function g(u){try{for(var E=0,_,b,S;E+4<u.length;)_=u.readUInt16LE(E),E+=2,b=u.readUInt16LE(E),E+=2,S=u.slice(E,E+b),E+=b,ee.ID_ZIP64===_&&C(S)}catch{throw P.Errors.EXTRA_FIELD_PARSE_ERROR()}}function C(u){var E,_,b,S;u.length>=ee.EF_ZIP64_SCOMP&&(E=p(u,ee.EF_ZIP64_SUNCOMP),r.size===ee.EF_ZIP64_OR_32&&(r.size=E)),u.length>=ee.EF_ZIP64_RHO&&(_=p(u,ee.EF_ZIP64_SCOMP),r.compressedSize===ee.EF_ZIP64_OR_32&&(r.compressedSize=_)),u.length>=ee.EF_ZIP64_DSN&&(b=p(u,ee.EF_ZIP64_RHO),r.offset===ee.EF_ZIP64_OR_32&&(r.offset=b)),u.length>=ee.EF_ZIP64_DSN+4&&(S=u.readUInt32LE(ee.EF_ZIP64_DSN),r.diskNumStart===ee.EF_ZIP64_OR_16&&(r.diskNumStart=S))}return{get entryName(){return F.decode(n)},get rawEntryName(){return n},set entryName(u){n=P.toBuffer(u,F.encode);var E=n[n.length-1];o=E===47||E===92,r.fileNameLength=n.length},get efs(){return typeof d=="function"?d(this.entryName):d},get extra(){return a},set extra(u){a=u,r.extraLength=u.length,g(u)},get comment(){return F.decode(i)},set comment(u){if(i=P.toBuffer(u,F.encode),r.commentLength=i.length,i.length>65535)throw P.Errors.COMMENT_TOO_LONG()},get name(){var u=F.decode(n);return o?u.substr(u.length-1).split("/").pop():u.split("/").pop()},get isDirectory(){return o},getCompressedData:function(){return m(!1,null)},getCompressedDataAsync:function(u){m(!0,u)},setData:function(u){s=P.toBuffer(u,P.decoder.encode),!o&&s.length?(r.size=s.length,r.method=P.Constants.DEFLATED,r.crc=P.crc32(u),r.changed=!0):r.method=P.Constants.STORED},getData:function(u){return r.changed?s:h(!1,null,u)},getDataAsync:function(u,E){r.changed?u(s):h(!0,u,E)},set attr(u){r.attr=u},get attr(){return r.attr},set header(u){r.loadFromBinary(u)},get header(){return r},packCentralHeader:function(){r.flags_efs=this.efs,r.extraLength=a.length;var u=r.centralHeaderToBinary(),E=P.Constants.CENHDR;return n.copy(u,E),E+=n.length,a.copy(u,E),E+=r.extraLength,i.copy(u,E),u},packLocalHeader:function(){let u=0;r.flags_efs=this.efs,r.extraLocalLength=l.length;let E=r.localHeaderToBinary(),_=Buffer.alloc(E.length+n.length+r.extraLocalLength);return E.copy(_,u),u+=E.length,n.copy(_,u),u+=n.length,l.copy(_,u),u+=l.length,_},toJSON:function(){let u=function(E){return"<"+(E&&E.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:r.toJSON(),compressedData:u(e),data:u(s)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var au=A((Ap,uu)=>{"use strict";D();var su=ti(),_c=Qn(),oe=pt();uu.exports=function(t,e){var r=[],n={},i=Buffer.alloc(0),o=new _c.MainHeader,s=!1,a=null;let l=new Set,d=e,{noSort:c,decoder:F}=d;t?h(d.readEntries):s=!0;function y(){let p=new Set;for(let g of Object.keys(n)){let C=g.split("/");if(C.pop(),!!C.length)for(let u=0;u<C.length;u++){let E=C.slice(0,u+1).join("/")+"/";p.add(E)}}for(let g of p)if(!(g in n)){let C=new su(d);C.entryName=g,C.attr=16,C.temporary=!0,r.push(C),n[C.entryName]=C,l.add(C)}}function f(){if(s=!0,n={},o.diskEntries>(t.length-o.offset)/oe.Constants.CENHDR)throw oe.Errors.DISK_ENTRY_TOO_LARGE();r=new Array(o.diskEntries);for(var p=o.offset,g=0;g<r.length;g++){var C=p,u=new su(d,t);u.header=t.slice(C,C+=oe.Constants.CENHDR),u.entryName=t.slice(C,C+=u.header.fileNameLength),u.header.extraLength&&(u.extra=t.slice(C,C+=u.header.extraLength)),u.header.commentLength&&(u.comment=t.slice(C,C+u.header.commentLength)),p+=u.header.centralHeaderSize,r[g]=u,n[u.entryName]=u}l.clear(),y()}function h(p){var g=t.length-oe.Constants.ENDHDR,C=Math.max(0,g-65535),u=C,E=t.length,_=-1,b=0;for(typeof d.trailingSpace=="boolean"&&d.trailingSpace&&(C=0),g;g>=u;g--)if(t[g]===80){if(t.readUInt32LE(g)===oe.Constants.ENDSIG){_=g,b=g,E=g+oe.Constants.ENDHDR,u=g-oe.Constants.END64HDR;continue}if(t.readUInt32LE(g)===oe.Constants.END64SIG){u=C;continue}if(t.readUInt32LE(g)===oe.Constants.ZIP64SIG){_=g,E=g+oe.readBigUInt64LE(t,g+oe.Constants.ZIP64SIZE)+oe.Constants.ZIP64LEAD;break}}if(_==-1)throw oe.Errors.INVALID_FORMAT();o.loadFromBinary(t.slice(_,E)),o.commentLength&&(i=t.slice(b+oe.Constants.ENDHDR)),p&&f()}function m(){r.length>1&&!c&&r.sort((p,g)=>p.entryName.toLowerCase().localeCompare(g.entryName.toLowerCase()))}return{get entries(){return s||f(),r.filter(p=>!l.has(p))},get comment(){return F.decode(i)},set comment(p){i=oe.toBuffer(p,F.encode),o.commentLength=i.length},getEntryCount:function(){return s?r.length:o.diskEntries},forEach:function(p){this.entries.forEach(p)},getEntry:function(p){return s||f(),n[p]||null},setEntry:function(p){s||f(),r.push(p),n[p.entryName]=p,o.totalEntries=r.length},deleteFile:function(p,g=!0){s||f();let C=n[p];this.getEntryChildren(C,g).map(E=>E.entryName).forEach(this.deleteEntry)},deleteEntry:function(p){s||f();let g=n[p],C=r.indexOf(g);C>=0&&(r.splice(C,1),delete n[p],o.totalEntries=r.length)},getEntryChildren:function(p,g=!0){if(s||f(),typeof p=="object")if(p.isDirectory&&g){let C=[],u=p.entryName;for(let E of r)E.entryName.startsWith(u)&&C.push(E);return C}else return[p];return[]},getChildCount:function(p){if(p&&p.isDirectory){let g=this.getEntryChildren(p);return g.includes(p)?g.length-1:g.length}return 0},compressToBuffer:function(){s||f(),m();let p=[],g=[],C=0,u=0;o.size=0,o.offset=0;let E=0;for(let S of this.entries){let R=S.getCompressedData();S.header.offset=u;let v=S.packLocalHeader(),T=v.length+R.length;u+=T,p.push(v),p.push(R);let O=S.packCentralHeader();g.push(O),o.size+=O.length,C+=T+O.length,E++}C+=o.mainHeaderSize,o.offset=u,o.totalEntries=E,u=0;let _=Buffer.alloc(C);for(let S of p)S.copy(_,u),u+=S.length;for(let S of g)S.copy(_,u),u+=S.length;let b=o.toBinary();return i&&i.copy(b,oe.Constants.ENDHDR),b.copy(_,u),t=_,s=!1,_},toAsyncBuffer:function(p,g,C,u){try{s||f(),m();let E=[],_=[],b=0,S=0,R=0;o.size=0,o.offset=0;let v=function(T){if(T.length>0){let O=T.shift(),M=O.entryName+O.extra.toString();C&&C(M),O.getCompressedDataAsync(function(N){u&&u(M),O.header.offset=S;let Z=O.packLocalHeader(),U=Z.length+N.length;S+=U,E.push(Z),E.push(N);let k=O.packCentralHeader();_.push(k),o.size+=k.length,b+=U+k.length,R++,v(T)})}else{b+=o.mainHeaderSize,o.offset=S,o.totalEntries=R,S=0;let O=Buffer.alloc(b);E.forEach(function(N){N.copy(O,S),S+=N.length}),_.forEach(function(N){N.copy(O,S),S+=N.length});let M=o.toBinary();i&&i.copy(M,oe.Constants.ENDHDR),M.copy(O,S),t=O,s=!1,p(O)}};v(Array.from(this.entries))}catch(E){g(E)}}}}});var cu=A((Tp,fu)=>{"use strict";D();var K=pt(),te=require("path"),Cc=ti(),yc=au(),et=(...t)=>K.findLast(t,e=>typeof e=="boolean"),lu=(...t)=>K.findLast(t,e=>typeof e=="string"),xc=(...t)=>K.findLast(t,e=>typeof e=="function"),vc={noSort:!1,readEntries:!1,method:K.Constants.NONE,fs:null};fu.exports=function(t,e){let r=null,n=Object.assign(Object.create(null),vc);t&&typeof t=="object"&&(t instanceof Uint8Array||(Object.assign(n,t),t=n.input?n.input:void 0,n.input&&delete n.input),Buffer.isBuffer(t)&&(r=t,n.method=K.Constants.BUFFER,t=void 0)),Object.assign(n,e);let i=new K(n);if((typeof n.decoder!="object"||typeof n.decoder.encode!="function"||typeof n.decoder.decode!="function")&&(n.decoder=K.decoder),t&&typeof t=="string")if(i.fs.existsSync(t))n.method=K.Constants.FILE,n.filename=t,r=i.fs.readFileSync(t);else throw K.Errors.INVALID_FILENAME();let o=new yc(r,n),{canonical:s,sanitize:a,zipnamefix:l}=K;function d(f){if(f&&o){var h;if(typeof f=="string"&&(h=o.getEntry(te.posix.normalize(f))),typeof f=="object"&&typeof f.entryName<"u"&&typeof f.header<"u"&&(h=o.getEntry(f.entryName)),h)return h}return null}function c(f){let{join:h,normalize:m,sep:p}=te.posix;return h(".",m(p+f.split("\\").join(p)+p))}function F(f){return f instanceof RegExp?(function(h){return function(m){return h.test(m)}})(f):typeof f!="function"?()=>!0:f}let y=(f,h)=>{let m=h.slice(-1);return m=m===i.sep?i.sep:"",te.relative(f,h)+m};return{readFile:function(f,h){var m=d(f);return m&&m.getData(h)||null},childCount:function(f){let h=d(f);if(h)return o.getChildCount(h)},readFileAsync:function(f,h){var m=d(f);m?m.getDataAsync(h):h(null,"getEntry failed for:"+f)},readAsText:function(f,h){var m=d(f);if(m){var p=m.getData();if(p&&p.length)return p.toString(h||"utf8")}return""},readAsTextAsync:function(f,h,m){var p=d(f);p?p.getDataAsync(function(g,C){if(C){h(g,C);return}g&&g.length?h(g.toString(m||"utf8")):h("")}):h("")},deleteFile:function(f,h=!0){var m=d(f);m&&o.deleteFile(m.entryName,h)},deleteEntry:function(f){var h=d(f);h&&o.deleteEntry(h.entryName)},addZipComment:function(f){o.comment=f},getZipComment:function(){return o.comment||""},addZipEntryComment:function(f,h){var m=d(f);m&&(m.comment=h)},getZipEntryComment:function(f){var h=d(f);return h&&h.comment||""},updateFile:function(f,h){var m=d(f);m&&m.setData(h)},addLocalFile:function(f,h,m,p){if(i.fs.existsSync(f)){h=h?c(h):"";let g=te.win32.basename(te.win32.normalize(f));h+=m||g;let C=i.fs.statSync(f),u=C.isFile()?i.fs.readFileSync(f):Buffer.alloc(0);C.isDirectory()&&(h+=i.sep),this.addFile(h,u,p,C)}else throw K.Errors.FILE_NOT_FOUND(f)},addLocalFileAsync:function(f,h){f=typeof f=="object"?f:{localPath:f};let m=te.resolve(f.localPath),{comment:p}=f,{zipPath:g,zipName:C}=f,u=this;i.fs.stat(m,function(E,_){if(E)return h(E,!1);g=g?c(g):"";let b=te.win32.basename(te.win32.normalize(m));if(g+=C||b,_.isFile())i.fs.readFile(m,function(S,R){return S?h(S,!1):(u.addFile(g,R,p,_),setImmediate(h,void 0,!0))});else if(_.isDirectory())return g+=i.sep,u.addFile(g,Buffer.alloc(0),p,_),setImmediate(h,void 0,!0)})},addLocalFolder:function(f,h,m){if(m=F(m),h=h?c(h):"",f=te.normalize(f),i.fs.existsSync(f)){let p=i.findFiles(f),g=this;if(p.length)for(let C of p){let u=te.join(h,y(f,C));m(u)&&g.addLocalFile(C,te.dirname(u))}}else throw K.Errors.FILE_NOT_FOUND(f)},addLocalFolderAsync:function(f,h,m,p){p=F(p),m=m?c(m):"",f=te.normalize(f);var g=this;i.fs.open(f,"r",function(C){if(C&&C.code==="ENOENT")h(void 0,K.Errors.FILE_NOT_FOUND(f));else if(C)h(void 0,C);else{var u=i.findFiles(f),E=-1,_=function(){if(E+=1,E<u.length){var b=u[E],S=y(f,b).split("\\").join("/");S=S.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),p(S)?i.fs.stat(b,function(R,v){R&&h(void 0,R),v.isFile()?i.fs.readFile(b,function(T,O){T?h(void 0,T):(g.addFile(m+S,O,"",v),_())}):(g.addFile(m+S+"/",Buffer.alloc(0),"",v),_())}):process.nextTick(()=>{_()})}else h(!0,void 0)};_()}})},addLocalFolderAsync2:function(f,h){let m=this;f=typeof f=="object"?f:{localPath:f},localPath=te.resolve(c(f.localPath));let{zipPath:p,filter:g,namefix:C}=f;g instanceof RegExp?g=(function(_){return function(b){return _.test(b)}})(g):typeof g!="function"&&(g=function(){return!0}),p=p?c(p):"",C=="latin1"&&(C=_=>_.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,"")),typeof C!="function"&&(C=_=>_);let u=_=>te.join(p,C(y(localPath,_))),E=_=>te.win32.basename(te.win32.normalize(C(_)));i.fs.open(localPath,"r",function(_){_&&_.code==="ENOENT"?h(void 0,K.Errors.FILE_NOT_FOUND(localPath)):_?h(void 0,_):i.findFilesAsync(localPath,function(b,S){if(b)return h(b);S=S.filter(R=>g(u(R))),S.length||h(void 0,!1),setImmediate(S.reverse().reduce(function(R,v){return function(T,O){if(T||O===!1)return setImmediate(R,T,!1);m.addLocalFileAsync({localPath:v,zipPath:te.dirname(u(v)),zipName:E(v)},R)}},h))})})},addLocalFolderPromise:function(f,h){return new Promise((m,p)=>{this.addLocalFolderAsync2(Object.assign({localPath:f},h),(g,C)=>{g&&p(g),C&&m(this)})})},addFile:function(f,h,m,p){f=l(f);let g=d(f),C=g!=null;C||(g=new Cc(n),g.entryName=f),g.comment=m||"";let u=typeof p=="object"&&p instanceof i.fs.Stats;u&&(g.header.time=p.mtime);var E=g.isDirectory?16:0;let _=g.isDirectory?16384:32768;return u?_|=4095&p.mode:typeof p=="number"?_|=4095&p:_|=g.isDirectory?493:420,E=(E|_<<16)>>>0,g.attr=E,g.setData(h),C||o.setEntry(g),g},getEntries:function(f){return o.password=f,o?o.entries:[]},getEntry:function(f){return d(f)},getEntryCount:function(){return o.getEntryCount()},forEach:function(f){return o.forEach(f)},extractEntryTo:function(f,h,m,p,g,C){p=et(!1,p),g=et(!1,g),m=et(!0,m),C=lu(g,C);var u=d(f);if(!u)throw K.Errors.NO_ENTRY();var E=s(u.entryName),_=a(h,C&&!u.isDirectory?C:m?E:te.basename(E));if(u.isDirectory){var b=o.getEntryChildren(u);return b.forEach(function(v){if(v.isDirectory)return;var T=v.getData();if(!T)throw K.Errors.CANT_EXTRACT_FILE();var O=s(v.entryName),M=a(h,m?O:te.basename(O));let N=g?v.header.fileAttr:void 0;i.writeFileTo(M,T,p,N)}),!0}var S=u.getData(o.password);if(!S)throw K.Errors.CANT_EXTRACT_FILE();if(i.fs.existsSync(_)&&!p)throw K.Errors.CANT_OVERRIDE();let R=g?f.header.fileAttr:void 0;return i.writeFileTo(_,S,p,R),!0},test:function(f){if(!o)return!1;for(var h in o.entries)try{if(h.isDirectory)continue;var m=o.entries[h].getData(f);if(!m)return!1}catch{return!1}return!0},extractAllTo:function(f,h,m,p){if(m=et(!1,m),p=lu(m,p),h=et(!1,h),!o)throw K.Errors.NO_ZIP();o.entries.forEach(function(g){var C=a(f,s(g.entryName));if(g.isDirectory){i.makeDir(C);return}var u=g.getData(p);if(!u)throw K.Errors.CANT_EXTRACT_FILE();let E=m?g.header.fileAttr:void 0;i.writeFileTo(C,u,h,E);try{i.fs.utimesSync(C,g.header.time,g.header.time)}catch{throw K.Errors.CANT_EXTRACT_FILE()}})},extractAllToAsync:function(f,h,m,p){if(p=xc(h,m,p),m=et(!1,m),h=et(!1,h),!p)return new Promise((_,b)=>{this.extractAllToAsync(f,h,m,function(S){S?b(S):_(this)})});if(!o){p(K.Errors.NO_ZIP());return}f=te.resolve(f);let g=_=>a(f,te.normalize(s(_.entryName))),C=(_,b)=>new Error(_+': "'+b+'"'),u=[],E=[];o.entries.forEach(_=>{_.isDirectory?u.push(_):E.push(_)});for(let _ of u){let b=g(_),S=m?_.header.fileAttr:void 0;try{i.makeDir(b),S&&i.fs.chmodSync(b,S),i.fs.utimesSync(b,_.header.time,_.header.time)}catch{p(C("Unable to create folder",b))}}E.reverse().reduce(function(_,b){return function(S){if(S)_(S);else{let R=te.normalize(s(b.entryName)),v=a(f,R);b.getDataAsync(function(T,O){if(O)_(O);else if(!T)_(K.Errors.CANT_EXTRACT_FILE());else{let M=m?b.header.fileAttr:void 0;i.writeFileToAsync(v,T,h,M,function(N){N||_(C("Unable to write file",v)),i.fs.utimes(v,b.header.time,b.header.time,function(Z){Z?_(C("Unable to set times",v)):_()})})}})}}},p)()},writeZip:function(f,h){if(arguments.length===1&&typeof f=="function"&&(h=f,f=""),!f&&n.filename&&(f=n.filename),!!f){var m=o.compressToBuffer();if(m){var p=i.writeFileTo(f,m,!0);typeof h=="function"&&h(p?null:new Error("failed"),"")}}},writeZipPromise:function(f,h){let{overwrite:m,perm:p}=Object.assign({overwrite:!0},h);return new Promise((g,C)=>{!f&&n.filename&&(f=n.filename),f||C("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then(u=>{let E=_=>_?g(_):C("ADM-ZIP: Wasn't able to write zip file");i.writeFileToAsync(f,u,m,p,E)},C)})},toBufferPromise:function(){return new Promise((f,h)=>{o.toAsyncBuffer(f,h)})},toBuffer:function(f,h,m,p){return typeof f=="function"?(o.toAsyncBuffer(f,h,m,p),null):o.compressToBuffer()}}}});var _u=A((Np,Fu)=>{"use strict";D();var $e=require("constants"),bc=process.cwd,wr=null,Sc=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return wr||(wr=bc.call(process)),wr};try{process.cwd()}catch{}typeof process.chdir=="function"&&(ni=process.chdir,process.chdir=function(t){wr=null,ni.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ni));var ni;Fu.exports=Ac;function Ac(t){$e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=o(t.chown),t.fchown=o(t.fchown),t.lchown=o(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=s(t.chownSync),t.fchownSync=s(t.fchownSync),t.lchownSync=s(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=a(t.stat),t.fstat=a(t.fstat),t.lstat=a(t.lstat),t.statSync=l(t.statSync),t.fstatSync=l(t.fstatSync),t.lstatSync=l(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(c,F,y){y&&process.nextTick(y)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(c,F,y,f){f&&process.nextTick(f)},t.lchownSync=function(){}),Sc==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(c){function F(y,f,h){var m=Date.now(),p=0;c(y,f,function g(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-m<6e4){setTimeout(function(){t.stat(f,function(u,E){u&&u.code==="ENOENT"?c(y,f,g):h(C)})},p),p<100&&(p+=10);return}h&&h(C)})}return Object.setPrototypeOf&&Object.setPrototypeOf(F,c),F})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(c){function F(y,f,h,m,p,g){var C;if(g&&typeof g=="function"){var u=0;C=function(E,_,b){if(E&&E.code==="EAGAIN"&&u<10)return u++,c.call(t,y,f,h,m,p,C);g.apply(this,arguments)}}return c.call(t,y,f,h,m,p,C)}return Object.setPrototypeOf&&Object.setPrototypeOf(F,c),F})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(c){return function(F,y,f,h,m){for(var p=0;;)try{return c.call(t,F,y,f,h,m)}catch(g){if(g.code==="EAGAIN"&&p<10){p++;continue}throw g}}})(t.readSync);function e(c){c.lchmod=function(F,y,f){c.open(F,$e.O_WRONLY|$e.O_SYMLINK,y,function(h,m){if(h){f&&f(h);return}c.fchmod(m,y,function(p){c.close(m,function(g){f&&f(p||g)})})})},c.lchmodSync=function(F,y){var f=c.openSync(F,$e.O_WRONLY|$e.O_SYMLINK,y),h=!0,m;try{m=c.fchmodSync(f,y),h=!1}finally{if(h)try{c.closeSync(f)}catch{}else c.closeSync(f)}return m}}function r(c){$e.hasOwnProperty("O_SYMLINK")&&c.futimes?(c.lutimes=function(F,y,f,h){c.open(F,$e.O_SYMLINK,function(m,p){if(m){h&&h(m);return}c.futimes(p,y,f,function(g){c.close(p,function(C){h&&h(g||C)})})})},c.lutimesSync=function(F,y,f){var h=c.openSync(F,$e.O_SYMLINK),m,p=!0;try{m=c.futimesSync(h,y,f),p=!1}finally{if(p)try{c.closeSync(h)}catch{}else c.closeSync(h)}return m}):c.futimes&&(c.lutimes=function(F,y,f,h){h&&process.nextTick(h)},c.lutimesSync=function(){})}function n(c){return c&&function(F,y,f){return c.call(t,F,y,function(h){d(h)&&(h=null),f&&f.apply(this,arguments)})}}function i(c){return c&&function(F,y){try{return c.call(t,F,y)}catch(f){if(!d(f))throw f}}}function o(c){return c&&function(F,y,f,h){return c.call(t,F,y,f,function(m){d(m)&&(m=null),h&&h.apply(this,arguments)})}}function s(c){return c&&function(F,y,f){try{return c.call(t,F,y,f)}catch(h){if(!d(h))throw h}}}function a(c){return c&&function(F,y,f){typeof y=="function"&&(f=y,y=null);function h(m,p){p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),f&&f.apply(this,arguments)}return y?c.call(t,F,y,h):c.call(t,F,h)}}function l(c){return c&&function(F,y){var f=y?c.call(t,F,y):c.call(t,F);return f&&(f.uid<0&&(f.uid+=4294967296),f.gid<0&&(f.gid+=4294967296)),f}}function d(c){if(!c||c.code==="ENOSYS")return!0;var F=!process.getuid||process.getuid()!==0;return!!(F&&(c.code==="EINVAL"||c.code==="EPERM"))}}});var xu=A((Mp,yu)=>{"use strict";D();var Cu=require("stream").Stream;yu.exports=Oc;function Oc(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);Cu.call(this);var o=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var s=Object.keys(i),a=0,l=s.length;a<l;a++){var d=s[a];this[d]=i[d]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){o._read()});return}t.open(this.path,this.flags,this.mode,function(c,F){if(c){o.emit("error",c),o.readable=!1;return}o.fd=F,o.emit("open",F),o._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);Cu.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),s=0,a=o.length;s<a;s++){var l=o[s];this[l]=i[l]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var wu=A((kp,vu)=>{"use strict";D();vu.exports=Bc;var Tc=Object.getPrototypeOf||function(t){return t.__proto__};function Bc(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:Tc(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}});var ui=A((Hp,si)=>{"use strict";D();var X=require("fs"),Ic=_u(),Rc=xu(),Lc=wu(),br=require("util"),se,Ar;typeof Symbol=="function"&&typeof Symbol.for=="function"?(se=Symbol.for("graceful-fs.queue"),Ar=Symbol.for("graceful-fs.previous")):(se="___graceful-fs.queue",Ar="___graceful-fs.previous");function Nc(){}function Au(t,e){Object.defineProperty(t,se,{get:function(){return e}})}var tt=Nc;br.debuglog?tt=br.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(tt=function(){var t=br.format.apply(br,arguments);t="GFS4: "+t.split(/\n/).join(`
|
|
23
|
-
GFS4: `),console.error(t)});X[se]||(bu=global[se]||[],Au(X,bu),X.close=(function(t){function e(r,n){return t.call(X,r,function(i){i||Su(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(e,Ar,{value:t}),e})(X.close),X.closeSync=(function(t){function e(r){t.apply(X,arguments),Su()}return Object.defineProperty(e,Ar,{value:t}),e})(X.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){tt(X[se]),require("assert").equal(X[se].length,0)}));var bu;global[se]||Au(global,X[se]);si.exports=ii(Lc(X));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!X.__patched&&(si.exports=ii(X),X.__patched=!0);function ii(t){Ic(t),t.gracefulify=ii,t.createReadStream=_,t.createWriteStream=b;var e=t.readFile;t.readFile=r;function r(v,T,O){return typeof T=="function"&&(O=T,T=null),M(v,T,O);function M(N,Z,U,k){return e(N,Z,function(j){j&&(j.code==="EMFILE"||j.code==="ENFILE")?gt([M,[N,Z,U],j,k||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments)})}}var n=t.writeFile;t.writeFile=i;function i(v,T,O,M){return typeof O=="function"&&(M=O,O=null),N(v,T,O,M);function N(Z,U,k,j,ie){return n(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var o=t.appendFile;o&&(t.appendFile=s);function s(v,T,O,M){return typeof O=="function"&&(M=O,O=null),N(v,T,O,M);function N(Z,U,k,j,ie){return o(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var a=t.copyFile;a&&(t.copyFile=l);function l(v,T,O,M){return typeof O=="function"&&(M=O,O=0),N(v,T,O,M);function N(Z,U,k,j,ie){return a(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var d=t.readdir;t.readdir=F;var c=/^v[0-5]\./;function F(v,T,O){typeof T=="function"&&(O=T,T=null);var M=c.test(process.version)?function(U,k,j,ie){return d(U,N(U,k,j,ie))}:function(U,k,j,ie){return d(U,k,N(U,k,j,ie))};return M(v,T,O);function N(Z,U,k,j){return function(ie,$){ie&&(ie.code==="EMFILE"||ie.code==="ENFILE")?gt([M,[Z,U,k],ie,j||Date.now(),Date.now()]):($&&$.sort&&$.sort(),typeof k=="function"&&k.call(this,ie,$))}}}if(process.version.substr(0,4)==="v0.8"){var y=Rc(t);g=y.ReadStream,u=y.WriteStream}var f=t.ReadStream;f&&(g.prototype=Object.create(f.prototype),g.prototype.open=C);var h=t.WriteStream;h&&(u.prototype=Object.create(h.prototype),u.prototype.open=E),Object.defineProperty(t,"ReadStream",{get:function(){return g},set:function(v){g=v},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return u},set:function(v){u=v},enumerable:!0,configurable:!0});var m=g;Object.defineProperty(t,"FileReadStream",{get:function(){return m},set:function(v){m=v},enumerable:!0,configurable:!0});var p=u;Object.defineProperty(t,"FileWriteStream",{get:function(){return p},set:function(v){p=v},enumerable:!0,configurable:!0});function g(v,T){return this instanceof g?(f.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}function C(){var v=this;R(v.path,v.flags,v.mode,function(T,O){T?(v.autoClose&&v.destroy(),v.emit("error",T)):(v.fd=O,v.emit("open",O),v.read())})}function u(v,T){return this instanceof u?(h.apply(this,arguments),this):u.apply(Object.create(u.prototype),arguments)}function E(){var v=this;R(v.path,v.flags,v.mode,function(T,O){T?(v.destroy(),v.emit("error",T)):(v.fd=O,v.emit("open",O))})}function _(v,T){return new t.ReadStream(v,T)}function b(v,T){return new t.WriteStream(v,T)}var S=t.open;t.open=R;function R(v,T,O,M){return typeof O=="function"&&(M=O,O=null),N(v,T,O,M);function N(Z,U,k,j,ie){return S(Z,U,k,function($,ah){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}return t}function gt(t){tt("ENQUEUE",t[0].name,t[1]),X[se].push(t),oi()}var Sr;function Su(){for(var t=Date.now(),e=0;e<X[se].length;++e)X[se][e].length>2&&(X[se][e][3]=t,X[se][e][4]=t);oi()}function oi(){if(clearTimeout(Sr),Sr=void 0,X[se].length!==0){var t=X[se].shift(),e=t[0],r=t[1],n=t[2],i=t[3],o=t[4];if(i===void 0)tt("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){tt("TIMEOUT",e.name,r);var s=r.pop();typeof s=="function"&&s.call(null,n)}else{var a=Date.now()-o,l=Math.max(o-i,1),d=Math.min(l*1.2,100);a>=d?(tt("RETRY",e.name,r),e.apply(null,r.concat([i]))):X[se].push(t)}Sr===void 0&&(Sr=setTimeout(oi,0))}}});var Tu=A((Vp,Ou)=>{"use strict";D();function me(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}Ou.exports=me;me.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};me.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};me.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),r=this._timeouts.shift();else return!1;var n=this,i=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r);return this._options.unref&&i.unref(),!0};me.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};me.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};me.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};me.prototype.start=me.prototype.try;me.prototype.errors=function(){return this._errors};me.prototype.attempts=function(){return this._attempts};me.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],o=i.message,s=(t[o]||0)+1;t[o]=s,s>=r&&(e=i,r=s)}return e}});var Bu=A(rt=>{"use strict";D();var Pc=Tu();rt.operation=function(t){var e=rt.timeouts(t);return new Pc(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};rt.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(o,s){return o-s}),n};rt.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*e.minTimeout*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};rt.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var o=r[i],s=t[o];t[o]=function(l){var d=rt.operation(e),c=Array.prototype.slice.call(arguments,1),F=c.pop();c.push(function(y){d.retry(y)||(y&&(arguments[0]=d.mainError()),F.apply(this,arguments))}),d.attempt(function(){l.apply(t,c)})}.bind(t,s),t[o].options=e}}});var Ru=A((zp,Iu)=>{"use strict";D();Iu.exports=Bu()});var Nu=A((Yp,ai)=>{"use strict";D();var Lu=Symbol();function Mc(t,e,r){let n=e[Lu];if(n)return e.stat(t,(o,s)=>{if(o)return r(o);r(null,s.mtime,n)});let i=new Date(Math.ceil(Date.now()/1e3)*1e3+5);e.utimes(t,i,i,o=>{if(o)return r(o);e.stat(t,(s,a)=>{if(s)return r(s);let l=a.mtime.getTime()%1e3===0?"s":"ms";Object.defineProperty(e,Lu,{value:l}),r(null,a.mtime,l)})})}function Uc(t){let e=Date.now();return t==="s"&&(e=Math.ceil(e/1e3)*1e3),new Date(e)}ai.exports.probe=Mc;ai.exports.getMtime=Uc});var ju=A((Xp,Ht)=>{"use strict";D();var kc=require("path"),ci=ui(),jc=Ru(),Hc=sn(),Pu=Nu(),Te={};function jt(t,e){return e.lockfilePath||`${t}.lock`}function hi(t,e,r){if(!e.realpath)return r(null,kc.resolve(t));e.fs.realpath(t,r)}function fi(t,e,r){let n=jt(t,e);e.fs.mkdir(n,i=>{if(!i)return Pu.probe(n,e.fs,(o,s,a)=>{if(o)return e.fs.rmdir(n,()=>{}),r(o);r(null,s,a)});if(i.code!=="EEXIST")return r(i);if(e.stale<=0)return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));e.fs.stat(n,(o,s)=>{if(o)return o.code==="ENOENT"?fi(t,{...e,stale:0},r):r(o);if(!Mu(s,e))return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));Uu(t,e,a=>{if(a)return r(a);fi(t,{...e,stale:0},r)})})})}function Mu(t,e){return t.mtime.getTime()<Date.now()-e.stale}function Uu(t,e,r){e.fs.rmdir(jt(t,e),n=>{if(n&&n.code!=="ENOENT")return r(n);r()})}function Or(t,e){let r=Te[t];r.updateTimeout||(r.updateDelay=r.updateDelay||e.update,r.updateTimeout=setTimeout(()=>{r.updateTimeout=null,e.fs.stat(r.lockfilePath,(n,i)=>{let o=r.lastUpdate+e.stale<Date.now();if(n)return n.code==="ENOENT"||o?li(t,r,Object.assign(n,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,Or(t,e));if(!(r.mtime.getTime()===i.mtime.getTime()))return li(t,r,Object.assign(new Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let a=Pu.getMtime(r.mtimePrecision);e.fs.utimes(r.lockfilePath,a,a,l=>{let d=r.lastUpdate+e.stale<Date.now();if(!r.released){if(l)return l.code==="ENOENT"||d?li(t,r,Object.assign(l,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,Or(t,e));r.mtime=a,r.lastUpdate=Date.now(),r.updateDelay=null,Or(t,e)}})})},r.updateDelay),r.updateTimeout.unref&&r.updateTimeout.unref())}function li(t,e,r){e.released=!0,e.updateTimeout&&clearTimeout(e.updateTimeout),Te[t]===e&&delete Te[t],e.options.onCompromised(r)}function $c(t,e,r){e={stale:1e4,update:null,realpath:!0,retries:0,fs:ci,onCompromised:n=>{throw n},...e},e.retries=e.retries||0,e.retries=typeof e.retries=="number"?{retries:e.retries}:e.retries,e.stale=Math.max(e.stale||0,2e3),e.update=e.update==null?e.stale/2:e.update||0,e.update=Math.max(Math.min(e.update,e.stale/2),1e3),hi(t,e,(n,i)=>{if(n)return r(n);let o=jc.operation(e.retries);o.attempt(()=>{fi(i,e,(s,a,l)=>{if(o.retry(s))return;if(s)return r(o.mainError());let d=Te[i]={lockfilePath:jt(i,e),mtime:a,mtimePrecision:l,options:e,lastUpdate:Date.now()};Or(i,e),r(null,c=>{if(d.released)return c&&c(Object.assign(new Error("Lock is already released"),{code:"ERELEASED"}));ku(i,{...e,realpath:!1},c)})})})})}function ku(t,e,r){e={fs:ci,realpath:!0,...e},hi(t,e,(n,i)=>{if(n)return r(n);let o=Te[i];if(!o)return r(Object.assign(new Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));o.updateTimeout&&clearTimeout(o.updateTimeout),o.released=!0,delete Te[i],Uu(i,e,r)})}function Vc(t,e,r){e={stale:1e4,realpath:!0,fs:ci,...e},e.stale=Math.max(e.stale||0,2e3),hi(t,e,(n,i)=>{if(n)return r(n);e.fs.stat(jt(i,e),(o,s)=>o?o.code==="ENOENT"?r(null,!1):r(o):r(null,!Mu(s,e)))})}function qc(){return Te}Hc(()=>{for(let t in Te){let e=Te[t].options;try{e.fs.rmdirSync(jt(t,e))}catch{}}});Ht.exports.lock=$c;Ht.exports.unlock=ku;Ht.exports.check=Vc;Ht.exports.getLocks=qc});var $u=A((Qp,Hu)=>{"use strict";D();var Wc=ui();function Gc(t){let e=["mkdir","realpath","stat","rmdir","utimes"],r={...t};return e.forEach(n=>{r[n]=(...i)=>{let o=i.pop(),s;try{s=t[`${n}Sync`](...i)}catch(a){return o(a)}o(null,s)}}),r}function zc(t){return(...e)=>new Promise((r,n)=>{e.push((i,o)=>{i?n(i):r(o)}),t(...e)})}function Zc(t){return(...e)=>{let r,n;if(e.push((i,o)=>{r=i,n=o}),t(...e),r)throw r;return n}}function Yc(t){if(t={...t},t.fs=Gc(t.fs||Wc),typeof t.retries=="number"&&t.retries>0||t.retries&&typeof t.retries.retries=="number"&&t.retries.retries>0)throw Object.assign(new Error("Cannot use retries with the sync api"),{code:"ESYNC"});return t}Hu.exports={toPromise:zc,toSync:Zc,toSyncOptions:Yc}});var qu=A((t0,Ve)=>{"use strict";D();var Et=ju(),{toPromise:Tr,toSync:Br,toSyncOptions:Di}=$u();async function Vu(t,e){let r=await Tr(Et.lock)(t,e);return Tr(r)}function Kc(t,e){let r=Br(Et.lock)(t,Di(e));return Br(r)}function Xc(t,e){return Tr(Et.unlock)(t,e)}function Jc(t,e){return Br(Et.unlock)(t,Di(e))}function Qc(t,e){return Tr(Et.check)(t,e)}function eh(t,e){return Br(Et.check)(t,Di(e))}Ve.exports=Vu;Ve.exports.lock=Vu;Ve.exports.unlock=Xc;Ve.exports.lockSync=Kc;Ve.exports.unlockSync=Jc;Ve.exports.check=Qc;Ve.exports.checkSync=eh});D();D();var Li=V(Ri(),1),{program:vh,createCommand:wh,createArgument:bh,createOption:Sh,CommanderError:Ah,InvalidArgumentError:Oh,InvalidOptionArgumentError:Th,Command:Ni,Argument:Bh,Option:Ih,Help:Rh}=Li.default;D();D();D();D();var Pi=(t=0)=>e=>`\x1B[${e+t}m`,Mi=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Ui=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,W={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]}},Ph=Object.keys(W.modifier),xa=Object.keys(W.color),va=Object.keys(W.bgColor),Mh=[...xa,...va];function wa(){let t=new Map;for(let[e,r]of Object.entries(W)){for(let[n,i]of Object.entries(r))W[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=W[n],t.set(i[0],i[1]);Object.defineProperty(W,e,{value:r,enumerable:!1})}return Object.defineProperty(W,"codes",{value:t,enumerable:!1}),W.color.close="\x1B[39m",W.bgColor.close="\x1B[49m",W.color.ansi=Pi(),W.color.ansi256=Mi(),W.color.ansi16m=Ui(),W.bgColor.ansi=Pi(10),W.bgColor.ansi256=Mi(10),W.bgColor.ansi16m=Ui(10),Object.defineProperties(W,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(o=>o+o).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>W.rgbToAnsi256(...W.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let o=Math.max(r,n,i)*2;if(o===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return o===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>W.ansi256ToAnsi(W.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>W.ansi256ToAnsi(W.hexToAnsi256(e)),enumerable:!1}}),W}var ba=wa(),Ee=ba;D();var zt=V(require("process"),1),ji=V(require("os"),1),Kr=V(require("tty"),1);function fe(t,e=globalThis.Deno?globalThis.Deno.args:zt.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:G}=zt.default,Gt;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?Gt=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(Gt=1);function Sa(){if("FORCE_COLOR"in G)return G.FORCE_COLOR==="true"?1:G.FORCE_COLOR==="false"?0:G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}function Aa(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Oa(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=Sa();n!==void 0&&(Gt=n);let i=r?Gt:n;if(i===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if("TF_BUILD"in G&&"AGENT_NAME"in G)return 1;if(t&&!e&&i===void 0)return 0;let o=i||0;if(G.TERM==="dumb")return o;if(zt.default.platform==="win32"){let s=ji.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in G)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(s=>s in G)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in G)||G.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in G)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0;if(G.COLORTERM==="truecolor"||G.TERM==="xterm-kitty"||G.TERM==="xterm-ghostty"||G.TERM==="wezterm")return 3;if("TERM_PROGRAM"in G){let s=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(G.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)||"COLORTERM"in G?1:o}function ki(t,e={}){let r=Oa(t,{streamIsTTY:t&&t.isTTY,...e});return Aa(r)}var Ta={stdout:ki({isTTY:Kr.default.isatty(1)}),stderr:ki({isTTY:Kr.default.isatty(2)})},Hi=Ta;D();function $i(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,o=0,s="";do s+=t.slice(o,n)+e+r,o=n+i,n=t.indexOf(e,o);while(n!==-1);return s+=t.slice(o),s}function Vi(t,e,r,n){let i=0,o="";do{let s=t[n-1]==="\r";o+=t.slice(i,s?n-1:n)+e+(s?`\r
|
|
22
|
+
`)}),this}};function Si(t,e){t._hasHelpOption&&e.find(n=>n===t._helpLongFlag||n===t._helpShortFlag)&&(t.outputHelp(),t._exit(0,"commander.helpDisplayed","(outputHelp)"))}function Ai(t){return t.map(e=>{if(!e.startsWith("--inspect"))return e;let r,n="127.0.0.1",i="9229",o;return(o=e.match(/^(--inspect(-brk)?)$/))!==null?r=o[1]:(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null?(r=o[1],/^\d+$/.test(o[3])?i=o[3]:n=o[3]):(o=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null&&(r=o[1],n=o[3],i=o[4]),r&&i!=="0"?`${r}=${n}:${parseInt(i)+1}`:e})}Oi.Command=Zr});var Li=A((Ee,Ri)=>{"use strict";D();var{Argument:Ca}=Wt(),{Command:Bi}=Ti(),{CommanderError:ya,InvalidArgumentError:Ii}=Ft(),{Help:xa}=Hr(),{Option:va}=qr();Ee=Ri.exports=new Bi;Ee.program=Ee;Ee.Command=Bi;Ee.Option=va;Ee.Argument=Ca;Ee.Help=xa;Ee.CommanderError=ya;Ee.InvalidArgumentError=Ii;Ee.InvalidOptionArgumentError=Ii});var Qi=A((iD,tn)=>{"use strict";D();var Ji=(t,e)=>{for(let r of Reflect.ownKeys(e))Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r));return t};tn.exports=Ji;tn.exports.default=Ji});var to=A((sD,Xt)=>{"use strict";D();var ja=Qi(),Kt=new WeakMap,eo=(t,e={})=>{if(typeof t!="function")throw new TypeError("Expected a function");let r,n=0,i=t.displayName||t.name||"<anonymous>",o=function(...s){if(Kt.set(o,++n),n===1)r=t.apply(this,s),t=null;else if(e.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return ja(o,t),Kt.set(o,n),o};Xt.exports=eo;Xt.exports.default=eo;Xt.exports.callCount=t=>{if(!Kt.has(t))throw new Error(`The given function \`${t.name}\` is not wrapped by the \`onetime\` package`);return Kt.get(t)}});var ro=A((aD,Jt)=>{"use strict";D();Jt.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Jt.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Jt.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var on=A((fD,ut)=>{"use strict";D();var z=global.process,qe=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};qe(z)?(no=require("assert"),ot=ro(),io=/^win/i.test(z.platform),xt=require("events"),typeof xt!="function"&&(xt=xt.EventEmitter),z.__signal_exit_emitter__?ne=z.__signal_exit_emitter__:(ne=z.__signal_exit_emitter__=new xt,ne.count=0,ne.emitted={}),ne.infinite||(ne.setMaxListeners(1/0),ne.infinite=!0),ut.exports=function(t,e){if(!qe(global.process))return function(){};no.equal(typeof t,"function","a callback must be provided for exit handler"),st===!1&&rn();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){ne.removeListener(r,t),ne.listeners("exit").length===0&&ne.listeners("afterexit").length===0&&Qt()};return ne.on(r,t),n},Qt=function(){!st||!qe(global.process)||(st=!1,ot.forEach(function(e){try{z.removeListener(e,er[e])}catch{}}),z.emit=tr,z.reallyExit=nn,ne.count-=1)},ut.exports.unload=Qt,We=function(e,r,n){ne.emitted[e]||(ne.emitted[e]=!0,ne.emit(e,r,n))},er={},ot.forEach(function(t){er[t]=function(){if(qe(global.process)){var r=z.listeners(t);r.length===ne.count&&(Qt(),We("exit",null,t),We("afterexit",null,t),io&&t==="SIGHUP"&&(t="SIGINT"),z.kill(z.pid,t))}}}),ut.exports.signals=function(){return ot},st=!1,rn=function(){st||!qe(global.process)||(st=!0,ne.count+=1,ot=ot.filter(function(e){try{return z.on(e,er[e]),!0}catch{return!1}}),z.emit=so,z.reallyExit=oo)},ut.exports.load=rn,nn=z.reallyExit,oo=function(e){qe(global.process)&&(z.exitCode=e||0,We("exit",z.exitCode,null),We("afterexit",z.exitCode,null),nn.call(z,z.exitCode))},tr=z.emit,so=function(e,r){if(e==="exit"&&qe(global.process)){r!==void 0&&(z.exitCode=r);var n=tr.apply(this,arguments);return We("exit",z.exitCode,null),We("afterexit",z.exitCode,null),n}else return tr.apply(this,arguments)}):ut.exports=function(){return function(){}};var no,ot,io,xt,ne,Qt,We,er,st,rn,nn,oo,tr,so});var co=A((gD,$a)=>{$a.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}}});var an=A((ED,Do)=>{"use strict";D();var nr=Object.assign({},co()),ho=Object.keys(nr);Object.defineProperty(nr,"random",{get(){let t=Math.floor(Math.random()*ho.length),e=ho[t];return nr[e]}});Do.exports=nr});var mo=A((BD,fn)=>{"use strict";D();var Le={};typeof fn>"u"?window.eastasianwidth=Le:fn.exports=Le;Le.eastAsianWidth=function(t){var e=t.charCodeAt(0),r=t.length==2?t.charCodeAt(1):0,n=e;return 55296<=e&&e<=56319&&56320<=r&&r<=57343&&(e&=1023,r&=1023,n=e<<10|r,n+=65536),n==12288||65281<=n&&n<=65376||65504<=n&&n<=65510?"F":n==8361||65377<=n&&n<=65470||65474<=n&&n<=65479||65482<=n&&n<=65487||65490<=n&&n<=65495||65498<=n&&n<=65500||65512<=n&&n<=65518?"H":4352<=n&&n<=4447||4515<=n&&n<=4519||4602<=n&&n<=4607||9001<=n&&n<=9002||11904<=n&&n<=11929||11931<=n&&n<=12019||12032<=n&&n<=12245||12272<=n&&n<=12283||12289<=n&&n<=12350||12353<=n&&n<=12438||12441<=n&&n<=12543||12549<=n&&n<=12589||12593<=n&&n<=12686||12688<=n&&n<=12730||12736<=n&&n<=12771||12784<=n&&n<=12830||12832<=n&&n<=12871||12880<=n&&n<=13054||13056<=n&&n<=19903||19968<=n&&n<=42124||42128<=n&&n<=42182||43360<=n&&n<=43388||44032<=n&&n<=55203||55216<=n&&n<=55238||55243<=n&&n<=55291||63744<=n&&n<=64255||65040<=n&&n<=65049||65072<=n&&n<=65106||65108<=n&&n<=65126||65128<=n&&n<=65131||110592<=n&&n<=110593||127488<=n&&n<=127490||127504<=n&&n<=127546||127552<=n&&n<=127560||127568<=n&&n<=127569||131072<=n&&n<=194367||177984<=n&&n<=196605||196608<=n&&n<=262141?"W":32<=n&&n<=126||162<=n&&n<=163||165<=n&&n<=166||n==172||n==175||10214<=n&&n<=10221||10629<=n&&n<=10630?"Na":n==161||n==164||167<=n&&n<=168||n==170||173<=n&&n<=174||176<=n&&n<=180||182<=n&&n<=186||188<=n&&n<=191||n==198||n==208||215<=n&&n<=216||222<=n&&n<=225||n==230||232<=n&&n<=234||236<=n&&n<=237||n==240||242<=n&&n<=243||247<=n&&n<=250||n==252||n==254||n==257||n==273||n==275||n==283||294<=n&&n<=295||n==299||305<=n&&n<=307||n==312||319<=n&&n<=322||n==324||328<=n&&n<=331||n==333||338<=n&&n<=339||358<=n&&n<=359||n==363||n==462||n==464||n==466||n==468||n==470||n==472||n==474||n==476||n==593||n==609||n==708||n==711||713<=n&&n<=715||n==717||n==720||728<=n&&n<=731||n==733||n==735||768<=n&&n<=879||913<=n&&n<=929||931<=n&&n<=937||945<=n&&n<=961||963<=n&&n<=969||n==1025||1040<=n&&n<=1103||n==1105||n==8208||8211<=n&&n<=8214||8216<=n&&n<=8217||8220<=n&&n<=8221||8224<=n&&n<=8226||8228<=n&&n<=8231||n==8240||8242<=n&&n<=8243||n==8245||n==8251||n==8254||n==8308||n==8319||8321<=n&&n<=8324||n==8364||n==8451||n==8453||n==8457||n==8467||n==8470||8481<=n&&n<=8482||n==8486||n==8491||8531<=n&&n<=8532||8539<=n&&n<=8542||8544<=n&&n<=8555||8560<=n&&n<=8569||n==8585||8592<=n&&n<=8601||8632<=n&&n<=8633||n==8658||n==8660||n==8679||n==8704||8706<=n&&n<=8707||8711<=n&&n<=8712||n==8715||n==8719||n==8721||n==8725||n==8730||8733<=n&&n<=8736||n==8739||n==8741||8743<=n&&n<=8748||n==8750||8756<=n&&n<=8759||8764<=n&&n<=8765||n==8776||n==8780||n==8786||8800<=n&&n<=8801||8804<=n&&n<=8807||8810<=n&&n<=8811||8814<=n&&n<=8815||8834<=n&&n<=8835||8838<=n&&n<=8839||n==8853||n==8857||n==8869||n==8895||n==8978||9312<=n&&n<=9449||9451<=n&&n<=9547||9552<=n&&n<=9587||9600<=n&&n<=9615||9618<=n&&n<=9621||9632<=n&&n<=9633||9635<=n&&n<=9641||9650<=n&&n<=9651||9654<=n&&n<=9655||9660<=n&&n<=9661||9664<=n&&n<=9665||9670<=n&&n<=9672||n==9675||9678<=n&&n<=9681||9698<=n&&n<=9701||n==9711||9733<=n&&n<=9734||n==9737||9742<=n&&n<=9743||9748<=n&&n<=9749||n==9756||n==9758||n==9792||n==9794||9824<=n&&n<=9825||9827<=n&&n<=9829||9831<=n&&n<=9834||9836<=n&&n<=9837||n==9839||9886<=n&&n<=9887||9918<=n&&n<=9919||9924<=n&&n<=9933||9935<=n&&n<=9953||n==9955||9960<=n&&n<=9983||n==10045||n==10071||10102<=n&&n<=10111||11093<=n&&n<=11097||12872<=n&&n<=12879||57344<=n&&n<=63743||65024<=n&&n<=65039||n==65533||127232<=n&&n<=127242||127248<=n&&n<=127277||127280<=n&&n<=127337||127344<=n&&n<=127386||917760<=n&&n<=917999||983040<=n&&n<=1048573||1048576<=n&&n<=1114109?"A":"N"};Le.characterLength=function(t){var e=this.eastAsianWidth(t);return e=="F"||e=="W"||e=="A"?2:1};function po(t){return t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}Le.length=function(t){for(var e=po(t),r=0,n=0;n<e.length;n++)r=r+this.characterLength(e[n]);return r};Le.slice=function(t,e,r){textLen=Le.length(t),e=e||0,r=r||1,e<0&&(e=textLen+e),r<0&&(r=textLen+r);for(var n="",i=0,o=po(t),s=0;s<o.length;s++){var a=o[s],l=Le.length(a);if(i>=e-(l==2?1:0))if(i+l<=r)n+=a;else break;i+=l}return n}});var Dn=A((HD,Fo)=>{"use strict";D();Fo.exports=require("stream")});var wo=A((VD,vo)=>{"use strict";D();function _o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Co(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_o(Object(r),!0).forEach(function(n){za(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_o(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function za(t,e,r){return e=xo(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Za(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,xo(n.key),n)}}function Ya(t,e,r){return e&&yo(t.prototype,e),r&&yo(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function xo(t){var e=Ka(t,"string");return typeof e=="symbol"?e:String(e)}function Ka(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Xa=require("buffer"),ir=Xa.Buffer,Ja=require("util"),dn=Ja.inspect,Qa=dn&&dn.custom||"inspect";function el(t,e,r){ir.prototype.copy.call(t,e,r)}vo.exports=(function(){function t(){Za(this,t),this.head=null,this.tail=null,this.length=0}return Ya(t,[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(this.length===0)return"";for(var n=this.head,i=""+n.data;n=n.next;)i+=r+n.data;return i}},{key:"concat",value:function(r){if(this.length===0)return ir.alloc(0);for(var n=ir.allocUnsafe(r>>>0),i=this.head,o=0;i;)el(i.data,n,o),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(r,n){var i;return r<this.head.data.length?(i=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?i=this.shift():i=n?this._getString(r):this._getBuffer(r),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(r){var n=this.head,i=1,o=n.data;for(r-=o.length;n=n.next;){var s=n.data,a=r>s.length?s.length:r;if(a===s.length?o+=s:o+=s.slice(0,r),r-=a,r===0){a===s.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=s.slice(a));break}++i}return this.length-=i,o}},{key:"_getBuffer",value:function(r){var n=ir.allocUnsafe(r),i=this.head,o=1;for(i.data.copy(n),r-=i.data.length;i=i.next;){var s=i.data,a=r>s.length?s.length:r;if(s.copy(n,n.length-r,0,a),r-=a,r===0){a===s.length?(++o,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=s.slice(a));break}++o}return this.length-=o,n}},{key:Qa,value:function(r,n){return dn(this,Co(Co({},n),{},{depth:0,customInspect:!1}))}}]),t})()});var mn=A((WD,So)=>{"use strict";D();function tl(t,e){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(pn,this,t)):process.nextTick(pn,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(o){!e&&o?r._writableState?r._writableState.errorEmitted?process.nextTick(or,r):(r._writableState.errorEmitted=!0,process.nextTick(bo,r,o)):process.nextTick(bo,r,o):e?(process.nextTick(or,r),e(o)):process.nextTick(or,r)}),this)}function bo(t,e){pn(t,e),or(t)}function or(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function rl(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function pn(t,e){t.emit("error",e)}function nl(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}So.exports={destroy:tl,undestroy:rl,errorOrDestroy:nl}});var Ne=A((zD,To)=>{"use strict";D();var Oo={};function he(t,e,r){r||(r=Error);function n(o,s,a){return typeof e=="string"?e:e(o,s,a)}class i extends r{constructor(s,a,l){super(n(s,a,l))}}i.prototype.name=r.name,i.prototype.code=t,Oo[t]=i}function Ao(t,e){if(Array.isArray(t)){let r=t.length;return t=t.map(n=>String(n)),r>2?`one of ${e} ${t.slice(0,r-1).join(", ")}, or `+t[r-1]:r===2?`one of ${e} ${t[0]} or ${t[1]}`:`of ${e} ${t[0]}`}else return`of ${e} ${String(t)}`}function il(t,e,r){return t.substr(!r||r<0?0:+r,e.length)===e}function ol(t,e,r){return(r===void 0||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}function sl(t,e,r){return typeof r!="number"&&(r=0),r+e.length>t.length?!1:t.indexOf(e,r)!==-1}he("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError);he("ERR_INVALID_ARG_TYPE",function(t,e,r){let n;typeof e=="string"&&il(e,"not ")?(n="must not be",e=e.replace(/^not /,"")):n="must be";let i;if(ol(t," argument"))i=`The ${t} ${n} ${Ao(e,"type")}`;else{let o=sl(t,".")?"property":"argument";i=`The "${t}" ${o} ${n} ${Ao(e,"type")}`}return i+=`. Received type ${typeof r}`,i},TypeError);he("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");he("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"});he("ERR_STREAM_PREMATURE_CLOSE","Premature close");he("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"});he("ERR_MULTIPLE_CALLBACK","Callback called multiple times");he("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");he("ERR_STREAM_WRITE_AFTER_END","write after end");he("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);he("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError);he("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");To.exports.codes=Oo});var gn=A((YD,Bo)=>{"use strict";D();var ul=Ne().codes.ERR_INVALID_OPT_VALUE;function al(t,e,r){return t.highWaterMark!=null?t.highWaterMark:e?t[r]:null}function ll(t,e,r,n){var i=al(e,n,r);if(i!=null){if(!(isFinite(i)&&Math.floor(i)===i)||i<0){var o=n?r:"highWaterMark";throw new ul(o,i)}return Math.floor(i)}return t.objectMode?16:16*1024}Bo.exports={getHighWaterMark:ll}});var Io=A((XD,En)=>{"use strict";D();typeof Object.create=="function"?En.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:En.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var Ge=A((QD,_n)=>{"use strict";D();try{if(Fn=require("util"),typeof Fn.inherits!="function")throw"";_n.exports=Fn.inherits}catch{_n.exports=Io()}var Fn});var Lo=A((td,Ro)=>{"use strict";D();Ro.exports=require("util").deprecate});var xn=A((nd,jo)=>{"use strict";D();jo.exports=J;function Po(t){var e=this;this.next=null,this.entry=null,this.finish=function(){Pl(e,t)}}var lt;J.WritableState=At;var fl={deprecate:Lo()},Mo=Dn(),ur=require("buffer").Buffer,cl=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function hl(t){return ur.from(t)}function Dl(t){return ur.isBuffer(t)||t instanceof cl}var yn=mn(),dl=gn(),pl=dl.getHighWaterMark,Pe=Ne().codes,ml=Pe.ERR_INVALID_ARG_TYPE,gl=Pe.ERR_METHOD_NOT_IMPLEMENTED,El=Pe.ERR_MULTIPLE_CALLBACK,Fl=Pe.ERR_STREAM_CANNOT_PIPE,_l=Pe.ERR_STREAM_DESTROYED,Cl=Pe.ERR_STREAM_NULL_VALUES,yl=Pe.ERR_STREAM_WRITE_AFTER_END,xl=Pe.ERR_UNKNOWN_ENCODING,ft=yn.errorOrDestroy;Ge()(J,Mo);function vl(){}function At(t,e,r){lt=lt||ze(),t=t||{},typeof r!="boolean"&&(r=e instanceof lt),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=pl(this,t,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=t.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(i){Bl(e,i)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Po(this)}At.prototype.getBuffer=function(){for(var e=this.bufferedRequest,r=[];e;)r.push(e),e=e.next;return r};(function(){try{Object.defineProperty(At.prototype,"buffer",{get:fl.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var sr;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(sr=Function.prototype[Symbol.hasInstance],Object.defineProperty(J,Symbol.hasInstance,{value:function(e){return sr.call(this,e)?!0:this!==J?!1:e&&e._writableState instanceof At}})):sr=function(e){return e instanceof this};function J(t){lt=lt||ze();var e=this instanceof lt;if(!e&&!sr.call(J,this))return new J(t);this._writableState=new At(t,this,e),this.writable=!0,t&&(typeof t.write=="function"&&(this._write=t.write),typeof t.writev=="function"&&(this._writev=t.writev),typeof t.destroy=="function"&&(this._destroy=t.destroy),typeof t.final=="function"&&(this._final=t.final)),Mo.call(this)}J.prototype.pipe=function(){ft(this,new Fl)};function wl(t,e){var r=new yl;ft(t,r),process.nextTick(e,r)}function bl(t,e,r,n){var i;return r===null?i=new Cl:typeof r!="string"&&!e.objectMode&&(i=new ml("chunk",["string","Buffer"],r)),i?(ft(t,i),process.nextTick(n,i),!1):!0}J.prototype.write=function(t,e,r){var n=this._writableState,i=!1,o=!n.objectMode&&Dl(t);return o&&!ur.isBuffer(t)&&(t=hl(t)),typeof e=="function"&&(r=e,e=null),o?e="buffer":e||(e=n.defaultEncoding),typeof r!="function"&&(r=vl),n.ending?wl(this,r):(o||bl(this,n,t,r))&&(n.pendingcb++,i=Al(this,n,o,t,e,r)),i};J.prototype.cork=function(){this._writableState.corked++};J.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,!t.writing&&!t.corked&&!t.bufferProcessing&&t.bufferedRequest&&Uo(this,t))};J.prototype.setDefaultEncoding=function(e){if(typeof e=="string"&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new xl(e);return this._writableState.defaultEncoding=e,this};Object.defineProperty(J.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Sl(t,e,r){return!t.objectMode&&t.decodeStrings!==!1&&typeof e=="string"&&(e=ur.from(e,r)),e}Object.defineProperty(J.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Al(t,e,r,n,i,o){if(!r){var s=Sl(e,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=e.objectMode?1:n.length;e.length+=a;var l=e.length<e.highWaterMark;if(l||(e.needDrain=!0),e.writing||e.corked){var d=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},d?d.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else Cn(t,e,!1,a,n,i,o);return l}function Cn(t,e,r,n,i,o,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new _l("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function Ol(t,e,r,n,i){--e.pendingcb,r?(process.nextTick(i,n),process.nextTick(St,t,e),t._writableState.errorEmitted=!0,ft(t,n)):(i(n),t._writableState.errorEmitted=!0,ft(t,n),St(t,e))}function Tl(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function Bl(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(typeof i!="function")throw new El;if(Tl(r),e)Ol(t,r,n,e,i);else{var o=ko(r)||t.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Uo(t,r),n?process.nextTick(No,t,r,o,i):No(t,r,o,i)}}function No(t,e,r,n){r||Il(t,e),e.pendingcb--,n(),St(t,e)}function Il(t,e){e.length===0&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function Uo(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,a=!0;r;)i[s]=r,r.isBuf||(a=!1),r=r.next,s+=1;i.allBuffers=a,Cn(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new Po(e),e.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,d=r.encoding,h=r.callback,F=e.objectMode?1:l.length;if(Cn(t,e,!1,F,l,d,h),r=r.next,e.bufferedRequestCount--,e.writing)break}r===null&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}J.prototype._write=function(t,e,r){r(new gl("_write()"))};J.prototype._writev=null;J.prototype.end=function(t,e,r){var n=this._writableState;return typeof t=="function"?(r=t,t=null,e=null):typeof e=="function"&&(r=e,e=null),t!=null&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||Nl(this,n,r),this};Object.defineProperty(J.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function ko(t){return t.ending&&t.length===0&&t.bufferedRequest===null&&!t.finished&&!t.writing}function Rl(t,e){t._final(function(r){e.pendingcb--,r&&ft(t,r),e.prefinished=!0,t.emit("prefinish"),St(t,e)})}function Ll(t,e){!e.prefinished&&!e.finalCalled&&(typeof t._final=="function"&&!e.destroyed?(e.pendingcb++,e.finalCalled=!0,process.nextTick(Rl,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function St(t,e){var r=ko(e);if(r&&(Ll(t,e),e.pendingcb===0&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}function Nl(t,e,r){e.ending=!0,St(t,e),r&&(e.finished?process.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}function Pl(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}Object.defineProperty(J.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});J.prototype.destroy=yn.destroy;J.prototype._undestroy=yn.undestroy;J.prototype._destroy=function(t,e){e(t)}});var ze=A((od,$o)=>{"use strict";D();var Ml=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};$o.exports=ve;var Ho=bn(),wn=xn();Ge()(ve,Ho);for(vn=Ml(wn.prototype),ar=0;ar<vn.length;ar++)lr=vn[ar],ve.prototype[lr]||(ve.prototype[lr]=wn.prototype[lr]);var vn,lr,ar;function ve(t){if(!(this instanceof ve))return new ve(t);Ho.call(this,t),wn.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",Ul)))}Object.defineProperty(ve.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(ve.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(ve.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ul(){this._writableState.ended||process.nextTick(kl,this)}function kl(t){t.end()}Object.defineProperty(ve.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})});var Wo=A((Sn,qo)=>{"use strict";D();var fr=require("buffer"),we=fr.Buffer;function Vo(t,e){for(var r in t)e[r]=t[r]}we.from&&we.alloc&&we.allocUnsafe&&we.allocUnsafeSlow?qo.exports=fr:(Vo(fr,Sn),Sn.Buffer=Ze);function Ze(t,e,r){return we(t,e,r)}Ze.prototype=Object.create(we.prototype);Vo(we,Ze);Ze.from=function(t,e,r){if(typeof t=="number")throw new TypeError("Argument must not be a number");return we(t,e,r)};Ze.alloc=function(t,e,r){if(typeof t!="number")throw new TypeError("Argument must be a number");var n=we(t);return e!==void 0?typeof r=="string"?n.fill(e,r):n.fill(e):n.fill(0),n};Ze.allocUnsafe=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return we(t)};Ze.allocUnsafeSlow=function(t){if(typeof t!="number")throw new TypeError("Argument must be a number");return fr.SlowBuffer(t)}});var Tn=A(zo=>{"use strict";D();var On=Wo().Buffer,Go=On.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function jl(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function Hl(t){var e=jl(t);if(typeof e!="string"&&(On.isEncoding===Go||!Go(t)))throw new Error("Unknown encoding: "+t);return e||t}zo.StringDecoder=Ot;function Ot(t){this.encoding=Hl(t);var e;switch(this.encoding){case"utf16le":this.text=zl,this.end=Zl,e=4;break;case"utf8":this.fillLast=ql,e=4;break;case"base64":this.text=Yl,this.end=Kl,e=3;break;default:this.write=Xl,this.end=Jl;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=On.allocUnsafe(e)}Ot.prototype.write=function(t){if(t.length===0)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),e===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""};Ot.prototype.end=Gl;Ot.prototype.text=Wl;Ot.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length};function An(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function $l(t,e,r){var n=e.length-1;if(n<r)return 0;var i=An(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||i===-2?0:(i=An(e[n]),i>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||i===-2?0:(i=An(e[n]),i>=0?(i>0&&(i===2?i=0:t.lastNeed=i-3),i):0))}function Vl(t,e,r){if((e[0]&192)!==128)return t.lastNeed=0,"\uFFFD";if(t.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return t.lastNeed=1,"\uFFFD";if(t.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return t.lastNeed=2,"\uFFFD"}}function ql(t){var e=this.lastTotal-this.lastNeed,r=Vl(this,t,e);if(r!==void 0)return r;if(this.lastNeed<=t.length)return t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function Wl(t,e){var r=$l(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function Gl(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\uFFFD":e}function zl(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function Zl(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function Yl(t,e){var r=(t.length-e)%3;return r===0?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function Kl(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function Xl(t){return t.toString(this.encoding)}function Jl(t){return t&&t.length?this.write(t):""}});var cr=A((fd,Ko)=>{"use strict";D();var Zo=Ne().codes.ERR_STREAM_PREMATURE_CLOSE;function Ql(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}function ef(){}function tf(t){return t.setHeader&&typeof t.abort=="function"}function Yo(t,e,r){if(typeof e=="function")return Yo(t,null,e);e||(e={}),r=Ql(r||ef);var n=e.readable||e.readable!==!1&&t.readable,i=e.writable||e.writable!==!1&&t.writable,o=function(){t.writable||a()},s=t._writableState&&t._writableState.finished,a=function(){i=!1,s=!0,n||r.call(t)},l=t._readableState&&t._readableState.endEmitted,d=function(){n=!1,l=!0,i||r.call(t)},h=function(c){r.call(t,c)},F=function(){var c;if(n&&!l)return(!t._readableState||!t._readableState.ended)&&(c=new Zo),r.call(t,c);if(i&&!s)return(!t._writableState||!t._writableState.ended)&&(c=new Zo),r.call(t,c)},y=function(){t.req.on("finish",a)};return tf(t)?(t.on("complete",a),t.on("abort",F),t.req?y():t.on("request",y)):i&&!t._writableState&&(t.on("end",o),t.on("close",o)),t.on("end",d),t.on("finish",a),e.error!==!1&&t.on("error",h),t.on("close",F),function(){t.removeListener("complete",a),t.removeListener("abort",F),t.removeListener("request",y),t.req&&t.req.removeListener("finish",a),t.removeListener("end",o),t.removeListener("close",o),t.removeListener("finish",a),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",F)}}Ko.exports=Yo});var Jo=A((hd,Xo)=>{"use strict";D();var hr;function Me(t,e,r){return e=rf(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rf(t){var e=nf(t,"string");return typeof e=="symbol"?e:String(e)}function nf(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var of=cr(),Ue=Symbol("lastResolve"),Ye=Symbol("lastReject"),Tt=Symbol("error"),Dr=Symbol("ended"),Ke=Symbol("lastPromise"),Bn=Symbol("handlePromise"),Xe=Symbol("stream");function ke(t,e){return{value:t,done:e}}function sf(t){var e=t[Ue];if(e!==null){var r=t[Xe].read();r!==null&&(t[Ke]=null,t[Ue]=null,t[Ye]=null,e(ke(r,!1)))}}function uf(t){process.nextTick(sf,t)}function af(t,e){return function(r,n){t.then(function(){if(e[Dr]){r(ke(void 0,!0));return}e[Bn](r,n)},n)}}var lf=Object.getPrototypeOf(function(){}),ff=Object.setPrototypeOf((hr={get stream(){return this[Xe]},next:function(){var e=this,r=this[Tt];if(r!==null)return Promise.reject(r);if(this[Dr])return Promise.resolve(ke(void 0,!0));if(this[Xe].destroyed)return new Promise(function(s,a){process.nextTick(function(){e[Tt]?a(e[Tt]):s(ke(void 0,!0))})});var n=this[Ke],i;if(n)i=new Promise(af(n,this));else{var o=this[Xe].read();if(o!==null)return Promise.resolve(ke(o,!1));i=new Promise(this[Bn])}return this[Ke]=i,i}},Me(hr,Symbol.asyncIterator,function(){return this}),Me(hr,"return",function(){var e=this;return new Promise(function(r,n){e[Xe].destroy(null,function(i){if(i){n(i);return}r(ke(void 0,!0))})})}),hr),lf),cf=function(e){var r,n=Object.create(ff,(r={},Me(r,Xe,{value:e,writable:!0}),Me(r,Ue,{value:null,writable:!0}),Me(r,Ye,{value:null,writable:!0}),Me(r,Tt,{value:null,writable:!0}),Me(r,Dr,{value:e._readableState.endEmitted,writable:!0}),Me(r,Bn,{value:function(o,s){var a=n[Xe].read();a?(n[Ke]=null,n[Ue]=null,n[Ye]=null,o(ke(a,!1))):(n[Ue]=o,n[Ye]=s)},writable:!0}),r));return n[Ke]=null,of(e,function(i){if(i&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){var o=n[Ye];o!==null&&(n[Ke]=null,n[Ue]=null,n[Ye]=null,o(i)),n[Tt]=i;return}var s=n[Ue];s!==null&&(n[Ke]=null,n[Ue]=null,n[Ye]=null,s(ke(void 0,!0))),n[Dr]=!0}),e.on("readable",uf.bind(null,n)),n};Xo.exports=cf});var rs=A((dd,ts)=>{"use strict";D();function Qo(t,e,r,n,i,o,s){try{var a=t[o](s),l=a.value}catch(d){r(d);return}a.done?e(l):Promise.resolve(l).then(n,i)}function hf(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function s(l){Qo(o,n,i,s,a,"next",l)}function a(l){Qo(o,n,i,s,a,"throw",l)}s(void 0)})}}function es(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Df(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?es(Object(r),!0).forEach(function(n){df(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):es(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function df(t,e,r){return e=pf(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pf(t){var e=mf(t,"string");return typeof e=="symbol"?e:String(e)}function mf(t,e){if(typeof t!="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var gf=Ne().codes.ERR_INVALID_ARG_TYPE;function Ef(t,e,r){var n;if(e&&typeof e.next=="function")n=e;else if(e&&e[Symbol.asyncIterator])n=e[Symbol.asyncIterator]();else if(e&&e[Symbol.iterator])n=e[Symbol.iterator]();else throw new gf("iterable",["Iterable"],e);var i=new t(Df({objectMode:!0},r)),o=!1;i._read=function(){o||(o=!0,s())};function s(){return a.apply(this,arguments)}function a(){return a=hf(function*(){try{var l=yield n.next(),d=l.value,h=l.done;h?i.push(null):i.push(yield d)?s():o=!1}catch(F){i.destroy(F)}}),a.apply(this,arguments)}return i}ts.exports=Ef});var bn=A((gd,hs)=>{"use strict";D();hs.exports=L;var ct;L.ReadableState=ss;var md=require("events").EventEmitter,os=function(e,r){return e.listeners(r).length},It=Dn(),dr=require("buffer").Buffer,Ff=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _f(t){return dr.from(t)}function Cf(t){return dr.isBuffer(t)||t instanceof Ff}var In=require("util"),I;In&&In.debuglog?I=In.debuglog("stream"):I=function(){};var yf=wo(),kn=mn(),xf=gn(),vf=xf.getHighWaterMark,pr=Ne().codes,wf=pr.ERR_INVALID_ARG_TYPE,bf=pr.ERR_STREAM_PUSH_AFTER_EOF,Sf=pr.ERR_METHOD_NOT_IMPLEMENTED,Af=pr.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ht,Rn,Ln;Ge()(L,It);var Bt=kn.errorOrDestroy,Nn=["error","close","destroy","pause","resume"];function Of(t,e,r){if(typeof t.prependListener=="function")return t.prependListener(e,r);!t._events||!t._events[e]?t.on(e,r):Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]}function ss(t,e,r){ct=ct||ze(),t=t||{},typeof r!="boolean"&&(r=e instanceof ct),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=vf(this,t,"readableHighWaterMark",r),this.buffer=new yf,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(ht||(ht=Tn().StringDecoder),this.decoder=new ht(t.encoding),this.encoding=t.encoding)}function L(t){if(ct=ct||ze(),!(this instanceof L))return new L(t);var e=this instanceof ct;this._readableState=new ss(t,this,e),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),It.call(this)}Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});L.prototype.destroy=kn.destroy;L.prototype._undestroy=kn.undestroy;L.prototype._destroy=function(t,e){e(t)};L.prototype.push=function(t,e){var r=this._readableState,n;return r.objectMode?n=!0:typeof t=="string"&&(e=e||r.defaultEncoding,e!==r.encoding&&(t=dr.from(t,e),e=""),n=!0),us(this,t,e,!1,n)};L.prototype.unshift=function(t){return us(this,t,null,!0,!1)};function us(t,e,r,n,i){I("readableAddChunk",e);var o=t._readableState;if(e===null)o.reading=!1,If(t,o);else{var s;if(i||(s=Tf(o,e)),s)Bt(t,s);else if(o.objectMode||e&&e.length>0)if(typeof e!="string"&&!o.objectMode&&Object.getPrototypeOf(e)!==dr.prototype&&(e=_f(e)),n)o.endEmitted?Bt(t,new Af):Pn(t,o,e,!0);else if(o.ended)Bt(t,new bf);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||e.length!==0?Pn(t,o,e,!1):Un(t,o)):Pn(t,o,e,!1)}else n||(o.reading=!1,Un(t,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function Pn(t,e,r,n){e.flowing&&e.length===0&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&mr(t)),Un(t,e)}function Tf(t,e){var r;return!Cf(e)&&typeof e!="string"&&e!==void 0&&!t.objectMode&&(r=new wf("chunk",["string","Buffer","Uint8Array"],e)),r}L.prototype.isPaused=function(){return this._readableState.flowing===!1};L.prototype.setEncoding=function(t){ht||(ht=Tn().StringDecoder);var e=new ht(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";r!==null;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==""&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var ns=1073741824;function Bf(t){return t>=ns?t=ns:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function is(t,e){return t<=0||e.length===0&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=Bf(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}L.prototype.read=function(t){I("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(t!==0&&(e.emittedReadable=!1),t===0&&e.needReadable&&((e.highWaterMark!==0?e.length>=e.highWaterMark:e.length>0)||e.ended))return I("read: emitReadable",e.length,e.ended),e.length===0&&e.ended?Mn(this):mr(this),null;if(t=is(t,e),t===0&&e.ended)return e.length===0&&Mn(this),null;var n=e.needReadable;I("need readable",n),(e.length===0||e.length-t<e.highWaterMark)&&(n=!0,I("length less than watermark",n)),e.ended||e.reading?(n=!1,I("reading or ended",n)):n&&(I("do read"),e.reading=!0,e.sync=!0,e.length===0&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=is(r,e)));var i;return t>0?i=fs(t,e):i=null,i===null?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),e.length===0&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Mn(this)),i!==null&&this.emit("data",i),i};function If(t,e){if(I("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?mr(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,as(t)))}}function mr(t){var e=t._readableState;I("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(I("emitReadable",e.flowing),e.emittedReadable=!0,process.nextTick(as,t))}function as(t){var e=t._readableState;I("emitReadable_",e.destroyed,e.length,e.ended),!e.destroyed&&(e.length||e.ended)&&(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,jn(t)}function Un(t,e){e.readingMore||(e.readingMore=!0,process.nextTick(Rf,t,e))}function Rf(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&e.length===0);){var r=e.length;if(I("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}L.prototype._read=function(t){Bt(this,new Sf("_read()"))};L.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t);break}n.pipesCount+=1,I("pipe count=%d opts=%j",n.pipesCount,e);var i=(!e||e.end!==!1)&&t!==process.stdout&&t!==process.stderr,o=i?a:m;n.endEmitted?process.nextTick(o):r.once("end",o),t.on("unpipe",s);function s(p,g){I("onunpipe"),p===r&&g&&g.hasUnpiped===!1&&(g.hasUnpiped=!0,h())}function a(){I("onend"),t.end()}var l=Lf(r);t.on("drain",l);var d=!1;function h(){I("cleanup"),t.removeListener("close",f),t.removeListener("finish",c),t.removeListener("drain",l),t.removeListener("error",y),t.removeListener("unpipe",s),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",F),d=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&l()}r.on("data",F);function F(p){I("ondata");var g=t.write(p);I("dest.write",g),g===!1&&((n.pipesCount===1&&n.pipes===t||n.pipesCount>1&&cs(n.pipes,t)!==-1)&&!d&&(I("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function y(p){I("onerror",p),m(),t.removeListener("error",y),os(t,"error")===0&&Bt(t,p)}Of(t,"error",y);function f(){t.removeListener("finish",c),m()}t.once("close",f);function c(){I("onfinish"),t.removeListener("close",f),m()}t.once("finish",c);function m(){I("unpipe"),r.unpipe(t)}return t.emit("pipe",r),n.flowing||(I("pipe resume"),r.resume()),t};function Lf(t){return function(){var r=t._readableState;I("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&os(t,"data")&&(r.flowing=!0,jn(t))}}L.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(e.pipesCount===0)return this;if(e.pipesCount===1)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r),this);if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=cs(e.pipes,t);return s===-1?this:(e.pipes.splice(s,1),e.pipesCount-=1,e.pipesCount===1&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r),this)};L.prototype.on=function(t,e){var r=It.prototype.on.call(this,t,e),n=this._readableState;return t==="data"?(n.readableListening=this.listenerCount("readable")>0,n.flowing!==!1&&this.resume()):t==="readable"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,I("on readable",n.length,n.reading),n.length?mr(this):n.reading||process.nextTick(Nf,this)),r};L.prototype.addListener=L.prototype.on;L.prototype.removeListener=function(t,e){var r=It.prototype.removeListener.call(this,t,e);return t==="readable"&&process.nextTick(ls,this),r};L.prototype.removeAllListeners=function(t){var e=It.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&process.nextTick(ls,this),e};function ls(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function Nf(t){I("readable nexttick read 0"),t.read(0)}L.prototype.resume=function(){var t=this._readableState;return t.flowing||(I("resume"),t.flowing=!t.readableListening,Pf(this,t)),t.paused=!1,this};function Pf(t,e){e.resumeScheduled||(e.resumeScheduled=!0,process.nextTick(Mf,t,e))}function Mf(t,e){I("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),jn(t),e.flowing&&!e.reading&&t.read(0)}L.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function jn(t){var e=t._readableState;for(I("flow",e.flowing);e.flowing&&t.read()!==null;);}L.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;t.on("end",function(){if(I("wrapped end"),r.decoder&&!r.ended){var s=r.decoder.end();s&&s.length&&e.push(s)}e.push(null)}),t.on("data",function(s){if(I("wrapped data"),r.decoder&&(s=r.decoder.write(s)),!(r.objectMode&&s==null)&&!(!r.objectMode&&(!s||!s.length))){var a=e.push(s);a||(n=!0,t.pause())}});for(var i in t)this[i]===void 0&&typeof t[i]=="function"&&(this[i]=(function(a){return function(){return t[a].apply(t,arguments)}})(i));for(var o=0;o<Nn.length;o++)t.on(Nn[o],this.emit.bind(this,Nn[o]));return this._read=function(s){I("wrapped _read",s),n&&(n=!1,t.resume())},this};typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return Rn===void 0&&(Rn=Jo()),Rn(this)});Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}});L._fromList=fs;Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function fs(t,e){if(e.length===0)return null;var r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(e.decoder?r=e.buffer.join(""):e.buffer.length===1?r=e.buffer.first():r=e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function Mn(t){var e=t._readableState;I("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,process.nextTick(Uf,e,t))}function Uf(t,e){if(I("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}typeof Symbol=="function"&&(L.from=function(t,e){return Ln===void 0&&(Ln=rs()),Ln(L,t,e)});function cs(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}});var Hn=A((Fd,ds)=>{"use strict";D();ds.exports=Te;var gr=Ne().codes,kf=gr.ERR_METHOD_NOT_IMPLEMENTED,jf=gr.ERR_MULTIPLE_CALLBACK,Hf=gr.ERR_TRANSFORM_ALREADY_TRANSFORMING,$f=gr.ERR_TRANSFORM_WITH_LENGTH_0,Er=ze();Ge()(Te,Er);function Vf(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit("error",new jf);r.writechunk=null,r.writecb=null,e!=null&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function Te(t){if(!(this instanceof Te))return new Te(t);Er.call(this,t),this._transformState={afterTransform:Vf.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&(typeof t.transform=="function"&&(this._transform=t.transform),typeof t.flush=="function"&&(this._flush=t.flush)),this.on("prefinish",qf)}function qf(){var t=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(e,r){Ds(t,e,r)}):Ds(this,null,null)}Te.prototype.push=function(t,e){return this._transformState.needTransform=!1,Er.prototype.push.call(this,t,e)};Te.prototype._transform=function(t,e,r){r(new kf("_transform()"))};Te.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}};Te.prototype._read=function(t){var e=this._transformState;e.writechunk!==null&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0};Te.prototype._destroy=function(t,e){Er.prototype._destroy.call(this,t,function(r){e(r)})};function Ds(t,e,r){if(e)return t.emit("error",e);if(r!=null&&t.push(r),t._writableState.length)throw new $f;if(t._transformState.transforming)throw new Hf;return t.push(null)}});var gs=A((Cd,ms)=>{"use strict";D();ms.exports=Rt;var ps=Hn();Ge()(Rt,ps);function Rt(t){if(!(this instanceof Rt))return new Rt(t);ps.call(this,t)}Rt.prototype._transform=function(t,e,r){r(null,t)}});var ys=A((xd,Cs)=>{"use strict";D();var $n;function Wf(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}var _s=Ne().codes,Gf=_s.ERR_MISSING_ARGS,zf=_s.ERR_STREAM_DESTROYED;function Es(t){if(t)throw t}function Zf(t){return t.setHeader&&typeof t.abort=="function"}function Yf(t,e,r,n){n=Wf(n);var i=!1;t.on("close",function(){i=!0}),$n===void 0&&($n=cr()),$n(t,{readable:e,writable:r},function(s){if(s)return n(s);i=!0,n()});var o=!1;return function(s){if(!i&&!o){if(o=!0,Zf(t))return t.abort();if(typeof t.destroy=="function")return t.destroy();n(s||new zf("pipe"))}}}function Fs(t){t()}function Kf(t,e){return t.pipe(e)}function Xf(t){return!t.length||typeof t[t.length-1]!="function"?Es:t.pop()}function Jf(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=Xf(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Gf("streams");var i,o=e.map(function(s,a){var l=a<e.length-1,d=a>0;return Yf(s,l,d,function(h){i||(i=h),h&&o.forEach(Fs),!l&&(o.forEach(Fs),n(i))})});return e.reduce(Kf)}Cs.exports=Jf});var xs=A((De,Nt)=>{"use strict";D();var Lt=require("stream");process.env.READABLE_STREAM==="disable"&&Lt?(Nt.exports=Lt.Readable,Object.assign(Nt.exports,Lt),Nt.exports.Stream=Lt):(De=Nt.exports=bn(),De.Stream=Lt||De,De.Readable=De,De.Writable=xn(),De.Duplex=ze(),De.Transform=Hn(),De.PassThrough=gs(),De.finished=cr(),De.pipeline=ys())});var bs=A((bd,ws)=>{"use strict";D();var{Buffer:_e}=require("buffer"),vs=Symbol.for("BufferList");function H(t){if(!(this instanceof H))return new H(t);H._init.call(this,t)}H._init=function(e){Object.defineProperty(this,vs,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)};H.prototype._new=function(e){return new H(e)};H.prototype._offset=function(e){if(e===0)return[0,0];let r=0;for(let n=0;n<this._bufs.length;n++){let i=r+this._bufs[n].length;if(e<i||n===this._bufs.length-1)return[n,e-r];r=i}};H.prototype._reverseOffset=function(t){let e=t[0],r=t[1];for(let n=0;n<e;n++)r+=this._bufs[n].length;return r};H.prototype.get=function(e){if(e>this.length||e<0)return;let r=this._offset(e);return this._bufs[r[0]][r[1]]};H.prototype.slice=function(e,r){return typeof e=="number"&&e<0&&(e+=this.length),typeof r=="number"&&r<0&&(r+=this.length),this.copy(null,0,e,r)};H.prototype.copy=function(e,r,n,i){if((typeof n!="number"||n<0)&&(n=0),(typeof i!="number"||i>this.length)&&(i=this.length),n>=this.length||i<=0)return e||_e.alloc(0);let o=!!e,s=this._offset(n),a=i-n,l=a,d=o&&r||0,h=s[1];if(n===0&&i===this.length){if(!o)return this._bufs.length===1?this._bufs[0]:_e.concat(this._bufs,this.length);for(let F=0;F<this._bufs.length;F++)this._bufs[F].copy(e,d),d+=this._bufs[F].length;return e}if(l<=this._bufs[s[0]].length-h)return o?this._bufs[s[0]].copy(e,r,h,h+l):this._bufs[s[0]].slice(h,h+l);o||(e=_e.allocUnsafe(a));for(let F=s[0];F<this._bufs.length;F++){let y=this._bufs[F].length-h;if(l>y)this._bufs[F].copy(e,d,h),d+=y;else{this._bufs[F].copy(e,d,h,h+l),d+=y;break}l-=y,h&&(h=0)}return e.length>d?e.slice(0,d):e};H.prototype.shallowSlice=function(e,r){if(e=e||0,r=typeof r!="number"?this.length:r,e<0&&(e+=this.length),r<0&&(r+=this.length),e===r)return this._new();let n=this._offset(e),i=this._offset(r),o=this._bufs.slice(n[0],i[0]+1);return i[1]===0?o.pop():o[o.length-1]=o[o.length-1].slice(0,i[1]),n[1]!==0&&(o[0]=o[0].slice(n[1])),this._new(o)};H.prototype.toString=function(e,r,n){return this.slice(r,n).toString(e)};H.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;)if(e>=this._bufs[0].length)e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}return this};H.prototype.duplicate=function(){let e=this._new();for(let r=0;r<this._bufs.length;r++)e.append(this._bufs[r]);return e};H.prototype.append=function(e){if(e==null)return this;if(e.buffer)this._appendBuffer(_e.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let r=0;r<e.length;r++)this.append(e[r]);else if(this._isBufferList(e))for(let r=0;r<e._bufs.length;r++)this.append(e._bufs[r]);else typeof e=="number"&&(e=e.toString()),this._appendBuffer(_e.from(e));return this};H.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length};H.prototype.indexOf=function(t,e,r){if(r===void 0&&typeof e=="string"&&(r=e,e=void 0),typeof t=="function"||Array.isArray(t))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if(typeof t=="number"?t=_e.from([t]):typeof t=="string"?t=_e.from(t,r):this._isBufferList(t)?t=t.slice():Array.isArray(t.buffer)?t=_e.from(t.buffer,t.byteOffset,t.byteLength):_e.isBuffer(t)||(t=_e.from(t)),e=Number(e||0),isNaN(e)&&(e=0),e<0&&(e=this.length+e),e<0&&(e=0),t.length===0)return e>this.length?this.length:e;let n=this._offset(e),i=n[0],o=n[1];for(;i<this._bufs.length;i++){let s=this._bufs[i];for(;o<s.length;)if(s.length-o>=t.length){let l=s.indexOf(t,o);if(l!==-1)return this._reverseOffset([i,l]);o=s.length-t.length+1}else{let l=this._reverseOffset([i,o]);if(this._match(l,t))return l;o++}o=0}return-1};H.prototype._match=function(t,e){if(this.length-t<e.length)return!1;for(let r=0;r<e.length;r++)if(this.get(t+r)!==e[r])return!1;return!0};(function(){let t={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let e in t)(function(r){t[r]===null?H.prototype[r]=function(n,i){return this.slice(n,n+i)[r](0,i)}:H.prototype[r]=function(n=0){return this.slice(n,n+t[r])[r](0)}})(e)})();H.prototype._isBufferList=function(e){return e instanceof H||H.isBufferList(e)};H.isBufferList=function(e){return e!=null&&e[vs]};ws.exports=H});var Ss=A((Ad,Fr)=>{"use strict";D();var Vn=xs().Duplex,Qf=Ge(),Pt=bs();function ue(t){if(!(this instanceof ue))return new ue(t);if(typeof t=="function"){this._callback=t;let e=function(n){this._callback&&(this._callback(n),this._callback=null)}.bind(this);this.on("pipe",function(n){n.on("error",e)}),this.on("unpipe",function(n){n.removeListener("error",e)}),t=null}Pt._init.call(this,t),Vn.call(this)}Qf(ue,Vn);Object.assign(ue.prototype,Pt.prototype);ue.prototype._new=function(e){return new ue(e)};ue.prototype._write=function(e,r,n){this._appendBuffer(e),typeof n=="function"&&n()};ue.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)};ue.prototype.end=function(e){Vn.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)};ue.prototype._destroy=function(e,r){this._bufs.length=0,this.length=0,r(e)};ue.prototype._isBufferList=function(e){return e instanceof ue||e instanceof Pt||ue.isBufferList(e)};ue.isBufferList=Pt.isBufferList;Fr.exports=ue;Fr.exports.BufferListStream=ue;Fr.exports.BufferList=Pt});var Kn=A((rp,Ns)=>{"use strict";D();Ns.exports={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24}});var Cr=A(Ms=>{"use strict";D();var Ps={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",DESCRIPTOR_NOT_EXIST:"No descriptor present",DESCRIPTOR_UNKNOWN:"Unknown descriptor format",DESCRIPTOR_FAULTY:"Descriptor data is malformed",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed {0}",FILE_IN_THE_WAY:"There is a file in the way: {0}",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",DISK_ENTRY_TOO_LARGE:"Number of disk entries is too large",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:'File not found: "{0}"',NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found",INVALID_PASS_PARAM:"Incompatible password parameter",WRONG_PASSWORD:"Wrong Password",COMMENT_TOO_LONG:"Comment is too long",EXTRA_FIELD_PARSE_ERROR:"Extra field parsing error"};function lc(t){return function(...e){return e.length&&(t=t.replace(/\{(\d)\}/g,(r,n)=>e[n]||"")),new Error("ADM-ZIP: "+t)}}for(let t of Object.keys(Ps))Ms[t]=lc(Ps[t])});var $s=A((sp,Hs)=>{"use strict";D();var fc=require("fs"),re=require("path"),Us=Kn(),cc=Cr(),hc=typeof process=="object"&&process.platform==="win32",ks=t=>typeof t=="object"&&t!==null,js=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=3988292384^e>>>1:e>>>=1;return e>>>0});function Q(t){this.sep=re.sep,this.fs=fc,ks(t)&&ks(t.fs)&&typeof t.fs.statSync=="function"&&(this.fs=t.fs)}Hs.exports=Q;Q.prototype.makeDir=function(t){let e=this;function r(n){let i=n.split(e.sep)[0];n.split(e.sep).forEach(function(o){if(!(!o||o.substr(-1,1)===":")){i+=e.sep+o;var s;try{s=e.fs.statSync(i)}catch{e.fs.mkdirSync(i)}if(s&&s.isFile())throw cc.FILE_IN_THE_WAY(`"${i}"`)}})}r(t)};Q.prototype.writeFileTo=function(t,e,r,n){let i=this;if(i.fs.existsSync(t)){if(!r)return!1;var o=i.fs.statSync(t);if(o.isDirectory())return!1}var s=re.dirname(t);i.fs.existsSync(s)||i.makeDir(s);var a;try{a=i.fs.openSync(t,"w",438)}catch{i.fs.chmodSync(t,438),a=i.fs.openSync(t,"w",438)}if(a)try{i.fs.writeSync(a,e,0,e.length,0)}finally{i.fs.closeSync(a)}return i.fs.chmodSync(t,n||438),!0};Q.prototype.writeFileToAsync=function(t,e,r,n,i){typeof n=="function"&&(i=n,n=void 0);let o=this;o.fs.exists(t,function(s){if(s&&!r)return i(!1);o.fs.stat(t,function(a,l){if(s&&l.isDirectory())return i(!1);var d=re.dirname(t);o.fs.exists(d,function(h){h||o.makeDir(d),o.fs.open(t,"w",438,function(F,y){F?o.fs.chmod(t,438,function(){o.fs.open(t,"w",438,function(f,c){o.fs.write(c,e,0,e.length,0,function(){o.fs.close(c,function(){o.fs.chmod(t,n||438,function(){i(!0)})})})})}):y?o.fs.write(y,e,0,e.length,0,function(){o.fs.close(y,function(){o.fs.chmod(t,n||438,function(){i(!0)})})}):o.fs.chmod(t,n||438,function(){i(!0)})})})})})};Q.prototype.findFiles=function(t){let e=this;function r(n,i,o){typeof i=="boolean"&&(o=i,i=void 0);let s=[];return e.fs.readdirSync(n).forEach(function(a){let l=re.join(n,a),d=e.fs.statSync(l);(!i||i.test(l))&&s.push(re.normalize(l)+(d.isDirectory()?e.sep:"")),d.isDirectory()&&o&&(s=s.concat(r(l,i,o)))}),s}return r(t,void 0,!0)};Q.prototype.findFilesAsync=function(t,e){let r=this,n=[];r.fs.readdir(t,function(i,o){if(i)return e(i);let s=o.length;if(!s)return e(null,n);o.forEach(function(a){a=re.join(t,a),r.fs.stat(a,function(l,d){if(l)return e(l);d&&(n.push(re.normalize(a)+(d.isDirectory()?r.sep:"")),d.isDirectory()?r.findFilesAsync(a,function(h,F){if(h)return e(h);n=n.concat(F),--s||e(null,n)}):--s||e(null,n))})})})};Q.prototype.getAttributes=function(){};Q.prototype.setAttributes=function(){};Q.crc32update=function(t,e){return js[(t^e)&255]^t>>>8};Q.crc32=function(t){typeof t=="string"&&(t=Buffer.from(t,"utf8"));let e=t.length,r=-1;for(let n=0;n<e;)r=Q.crc32update(r,t[n++]);return~r>>>0};Q.methodToString=function(t){switch(t){case Us.STORED:return"STORED ("+t+")";case Us.DEFLATED:return"DEFLATED ("+t+")";default:return"UNSUPPORTED ("+t+")"}};Q.canonical=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.join(".",e)};Q.zipnamefix=function(t){if(!t)return"";let e=re.posix.normalize("/"+t.split("\\").join("/"));return re.posix.join(".",e)};Q.findLast=function(t,e){if(!Array.isArray(t))throw new TypeError("arr is not array");let r=t.length>>>0;for(let n=r-1;n>=0;n--)if(e(t[n],n,t))return t[n]};Q.sanitize=function(t,e){t=re.resolve(re.normalize(t));for(var r=e.split("/"),n=0,i=r.length;n<i;n++){var o=re.normalize(re.join(t,r.slice(n,i).join(re.sep)));if(o.indexOf(t)===0)return o}return re.normalize(re.join(t,re.basename(e)))};Q.toBuffer=function(e,r){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):typeof e=="string"?r(e):Buffer.alloc(0)};Q.readBigUInt64LE=function(t,e){var r=Buffer.from(t.slice(e,e+8));return r.swap64(),parseInt(`0x${r.toString("hex")}`)};Q.fromDOS2Date=function(t){return new Date((t>>25&127)+1980,Math.max((t>>21&15)-1,0),Math.max(t>>16&31,1),t>>11&31,t>>5&63,(t&31)<<1)};Q.fromDate2DOS=function(t){let e=0,r=0;return t.getFullYear()>1979&&(e=(t.getFullYear()-1980&127)<<9|t.getMonth()+1<<5|t.getDate(),r=t.getHours()<<11|t.getMinutes()<<5|t.getSeconds()>>1),e<<16|r};Q.isWin=hc;Q.crcTable=js});var qs=A((ap,Vs)=>{"use strict";D();var Dc=require("path");Vs.exports=function(t,{fs:e}){var r=t||"",n=o(),i=null;function o(){return{directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0}}return r&&e.existsSync(r)?(i=e.statSync(r),n.directory=i.isDirectory(),n.mtime=i.mtime,n.atime=i.atime,n.executable=(73&i.mode)!==0,n.readonly=(128&i.mode)===0,n.hidden=Dc.basename(r)[0]==="."):console.warn("Invalid path: "+r),{get directory(){return n.directory},get readOnly(){return n.readonly},get hidden(){return n.hidden},get mtime(){return n.mtime},get atime(){return n.atime},get executable(){return n.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:r,isDirectory:n.directory,isReadOnly:n.readonly,isHidden:n.hidden,isExecutable:n.executable,mTime:n.mtime,aTime:n.atime}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Gs=A((fp,Ws)=>{"use strict";D();Ws.exports={efs:!0,encode:t=>Buffer.from(t,"utf8"),decode:t=>t.toString("utf8")}});var pt=A((hp,dt)=>{"use strict";D();dt.exports=$s();dt.exports.Constants=Kn();dt.exports.Errors=Cr();dt.exports.FileAttr=qs();dt.exports.decoder=Gs()});var Zs=A((dp,zs)=>{"use strict";D();var He=pt(),b=He.Constants;zs.exports=function(){var t=20,e=10,r=0,n=0,i=0,o=0,s=0,a=0,l=0,d=0,h=0,F=0,y=0,f=0,c=0;t|=He.isWin?2560:768,r|=b.FLG_EFS;let m={extraLen:0},p=u=>Math.max(0,u)>>>0,g=u=>Math.max(0,u)&65535,C=u=>Math.max(0,u)&255;return i=He.fromDate2DOS(new Date),{get made(){return t},set made(u){t=u},get version(){return e},set version(u){e=u},get flags(){return r},set flags(u){r=u},get flags_efs(){return(r&b.FLG_EFS)>0},set flags_efs(u){u?r|=b.FLG_EFS:r&=~b.FLG_EFS},get flags_desc(){return(r&b.FLG_DESC)>0},set flags_desc(u){u?r|=b.FLG_DESC:r&=~b.FLG_DESC},get method(){return n},set method(u){switch(u){case b.STORED:this.version=10;case b.DEFLATED:default:this.version=20}n=u},get time(){return He.fromDOS2Date(this.timeval)},set time(u){this.timeval=He.fromDate2DOS(u)},get timeval(){return i},set timeval(u){i=p(u)},get timeHighByte(){return C(i>>>8)},get crc(){return o},set crc(u){o=p(u)},get compressedSize(){return s},set compressedSize(u){s=p(u)},get size(){return a},set size(u){a=p(u)},get fileNameLength(){return l},set fileNameLength(u){l=u},get extraLength(){return d},set extraLength(u){d=u},get extraLocalLength(){return m.extraLen},set extraLocalLength(u){m.extraLen=u},get commentLength(){return h},set commentLength(u){h=u},get diskNumStart(){return F},set diskNumStart(u){F=p(u)},get inAttr(){return y},set inAttr(u){y=p(u)},get attr(){return f},set attr(u){f=p(u)},get fileAttr(){return(f||0)>>16&4095},get offset(){return c},set offset(u){c=p(u)},get encrypted(){return(r&b.FLG_ENC)===b.FLG_ENC},get centralHeaderSize(){return b.CENHDR+l+d+h},get realDataOffset(){return c+b.LOCHDR+m.fnameLen+m.extraLen},get localHeader(){return m},loadLocalHeaderFromBinary:function(u){var E=u.slice(c,c+b.LOCHDR);if(E.readUInt32LE(0)!==b.LOCSIG)throw He.Errors.INVALID_LOC();m.version=E.readUInt16LE(b.LOCVER),m.flags=E.readUInt16LE(b.LOCFLG),m.method=E.readUInt16LE(b.LOCHOW),m.time=E.readUInt32LE(b.LOCTIM),m.crc=E.readUInt32LE(b.LOCCRC),m.compressedSize=E.readUInt32LE(b.LOCSIZ),m.size=E.readUInt32LE(b.LOCLEN),m.fnameLen=E.readUInt16LE(b.LOCNAM),m.extraLen=E.readUInt16LE(b.LOCEXT);let _=c+b.LOCHDR+m.fnameLen,S=_+m.extraLen;return u.slice(_,S)},loadFromBinary:function(u){if(u.length!==b.CENHDR||u.readUInt32LE(0)!==b.CENSIG)throw He.Errors.INVALID_CEN();t=u.readUInt16LE(b.CENVEM),e=u.readUInt16LE(b.CENVER),r=u.readUInt16LE(b.CENFLG),n=u.readUInt16LE(b.CENHOW),i=u.readUInt32LE(b.CENTIM),o=u.readUInt32LE(b.CENCRC),s=u.readUInt32LE(b.CENSIZ),a=u.readUInt32LE(b.CENLEN),l=u.readUInt16LE(b.CENNAM),d=u.readUInt16LE(b.CENEXT),h=u.readUInt16LE(b.CENCOM),F=u.readUInt16LE(b.CENDSK),y=u.readUInt16LE(b.CENATT),f=u.readUInt32LE(b.CENATX),c=u.readUInt32LE(b.CENOFF)},localHeaderToBinary:function(){var u=Buffer.alloc(b.LOCHDR);return u.writeUInt32LE(b.LOCSIG,0),u.writeUInt16LE(e,b.LOCVER),u.writeUInt16LE(r,b.LOCFLG),u.writeUInt16LE(n,b.LOCHOW),u.writeUInt32LE(i,b.LOCTIM),u.writeUInt32LE(o,b.LOCCRC),u.writeUInt32LE(s,b.LOCSIZ),u.writeUInt32LE(a,b.LOCLEN),u.writeUInt16LE(l,b.LOCNAM),u.writeUInt16LE(m.extraLen,b.LOCEXT),u},centralHeaderToBinary:function(){var u=Buffer.alloc(b.CENHDR+l+d+h);return u.writeUInt32LE(b.CENSIG,0),u.writeUInt16LE(t,b.CENVEM),u.writeUInt16LE(e,b.CENVER),u.writeUInt16LE(r,b.CENFLG),u.writeUInt16LE(n,b.CENHOW),u.writeUInt32LE(i,b.CENTIM),u.writeUInt32LE(o,b.CENCRC),u.writeUInt32LE(s,b.CENSIZ),u.writeUInt32LE(a,b.CENLEN),u.writeUInt16LE(l,b.CENNAM),u.writeUInt16LE(d,b.CENEXT),u.writeUInt16LE(h,b.CENCOM),u.writeUInt16LE(F,b.CENDSK),u.writeUInt16LE(y,b.CENATT),u.writeUInt32LE(f,b.CENATX),u.writeUInt32LE(c,b.CENOFF),u},toJSON:function(){let u=function(E){return E+" bytes"};return{made:t,version:e,flags:r,method:He.methodToString(n),time:this.time,crc:"0x"+o.toString(16).toUpperCase(),compressedSize:u(s),size:u(a),fileNameLength:u(l),extraLength:u(d),commentLength:u(h),diskNumStart:F,inAttr:y,attr:f,offset:c,centralHeaderSize:u(b.CENHDR+l+d+h)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Ks=A((mp,Ys)=>{"use strict";D();var mt=pt(),Y=mt.Constants;Ys.exports=function(){var t=0,e=0,r=0,n=0,i=0;return{get diskEntries(){return t},set diskEntries(o){t=e=o},get totalEntries(){return e},set totalEntries(o){e=t=o},get size(){return r},set size(o){r=o},get offset(){return n},set offset(o){n=o},get commentLength(){return i},set commentLength(o){i=o},get mainHeaderSize(){return Y.ENDHDR+i},loadFromBinary:function(o){if((o.length!==Y.ENDHDR||o.readUInt32LE(0)!==Y.ENDSIG)&&(o.length<Y.ZIP64HDR||o.readUInt32LE(0)!==Y.ZIP64SIG))throw mt.Errors.INVALID_END();o.readUInt32LE(0)===Y.ENDSIG?(t=o.readUInt16LE(Y.ENDSUB),e=o.readUInt16LE(Y.ENDTOT),r=o.readUInt32LE(Y.ENDSIZ),n=o.readUInt32LE(Y.ENDOFF),i=o.readUInt16LE(Y.ENDCOM)):(t=mt.readBigUInt64LE(o,Y.ZIP64SUB),e=mt.readBigUInt64LE(o,Y.ZIP64TOT),r=mt.readBigUInt64LE(o,Y.ZIP64SIZE),n=mt.readBigUInt64LE(o,Y.ZIP64OFF),i=0)},toBinary:function(){var o=Buffer.alloc(Y.ENDHDR+i);return o.writeUInt32LE(Y.ENDSIG,0),o.writeUInt32LE(0,4),o.writeUInt16LE(t,Y.ENDSUB),o.writeUInt16LE(e,Y.ENDTOT),o.writeUInt32LE(r,Y.ENDSIZ),o.writeUInt32LE(n,Y.ENDOFF),o.writeUInt16LE(i,Y.ENDCOM),o.fill(" ",Y.ENDHDR),o},toJSON:function(){let o=function(s,a){let l=s.toString(16).toUpperCase();for(;l.length<a;)l="0"+l;return"0x"+l};return{diskEntries:t,totalEntries:e,size:r+" bytes",offset:o(n,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var Jn=A(Xn=>{"use strict";D();Xn.EntryHeader=Zs();Xn.MainHeader=Ks()});var Js=A((_p,Xs)=>{"use strict";D();Xs.exports=function(t){var e=require("zlib"),r={chunkSize:(parseInt(t.length/1024)+1)*1024};return{deflate:function(){return e.deflateRawSync(t,r)},deflateAsync:function(n){var i=e.createDeflateRaw(r),o=[],s=0;i.on("data",function(a){o.push(a),s+=a.length}),i.on("end",function(){var a=Buffer.alloc(s),l=0;a.fill(0);for(var d=0;d<o.length;d++){var h=o[d];h.copy(a,l),l+=h.length}n&&n(a)}),i.end(t)}}}});var eu=A((yp,Qs)=>{"use strict";D();var dc=+(process.versions?process.versions.node:"").split(".")[0]||0;Qs.exports=function(t,e){var r=require("zlib");let n=dc>=15&&e>0?{maxOutputLength:e}:{};return{inflate:function(){return r.inflateRawSync(t,n)},inflateAsync:function(i){var o=r.createInflateRaw(n),s=[],a=0;o.on("data",function(l){s.push(l),a+=l.length}),o.on("end",function(){var l=Buffer.alloc(a),d=0;l.fill(0);for(var h=0;h<s.length;h++){var F=s[h];F.copy(l,d),d+=F.length}i&&i(l)}),o.end(t)}}}});var ou=A((vp,iu)=>{"use strict";D();var{randomFillSync:tu}=require("crypto"),pc=Cr(),mc=new Uint32Array(256).map((t,e)=>{for(let r=0;r<8;r++)(e&1)!==0?e=e>>>1^3988292384:e>>>=1;return e>>>0}),nu=(t,e)=>Math.imul(t,e)>>>0,ru=(t,e)=>mc[(t^e)&255]^t>>>8,jt=()=>typeof tu=="function"?tu(Buffer.alloc(12)):jt.node();jt.node=()=>{let t=Buffer.alloc(12),e=t.length;for(let r=0;r<e;r++)t[r]=Math.random()*256&255;return t};var yr={genSalt:jt};function xr(t){let e=Buffer.isBuffer(t)?t:Buffer.from(t);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let r=0;r<e.length;r++)this.updateKeys(e[r])}xr.prototype.updateKeys=function(t){let e=this.keys;return e[0]=ru(e[0],t),e[1]+=e[0]&255,e[1]=nu(e[1],134775813)+1,e[2]=ru(e[2],e[1]>>>24),t};xr.prototype.next=function(){let t=(this.keys[2]|2)>>>0;return nu(t,t^1)>>8&255};function gc(t){let e=new xr(t);return function(r){let n=Buffer.alloc(r.length),i=0;for(let o of r)n[i++]=e.updateKeys(o^e.next());return n}}function Ec(t){let e=new xr(t);return function(r,n,i=0){n||(n=Buffer.alloc(r.length));for(let o of r){let s=e.next();n[i++]=o^s,e.updateKeys(o)}return n}}function Fc(t,e,r){if(!t||!Buffer.isBuffer(t)||t.length<12)return Buffer.alloc(0);let n=gc(r),i=n(t.slice(0,12)),o=(e.flags&8)===8?e.timeHighByte:e.crc>>>24;if(i[11]!==o)throw pc.WRONG_PASSWORD();return n(t.slice(12))}function _c(t){Buffer.isBuffer(t)&&t.length>=12?yr.genSalt=function(){return t.slice(0,12)}:t==="node"?yr.genSalt=jt.node:yr.genSalt=jt}function Cc(t,e,r,n=!1){t==null&&(t=Buffer.alloc(0)),Buffer.isBuffer(t)||(t=Buffer.from(t.toString()));let i=Ec(r),o=yr.genSalt();o[11]=e.crc>>>24&255,n&&(o[10]=e.crc>>>16&255);let s=Buffer.alloc(t.length+12);return i(o,s),i(t,s,12)}iu.exports={decrypt:Fc,encrypt:Cc,_salter:_c}});var su=A(vr=>{"use strict";D();vr.Deflater=Js();vr.Inflater=eu();vr.ZipCrypto=ou()});var ei=A((Ap,uu)=>{"use strict";D();var P=pt(),yc=Jn(),ee=P.Constants,Qn=su();uu.exports=function(t,e){var r=new yc.EntryHeader,n=Buffer.alloc(0),i=Buffer.alloc(0),o=!1,s=null,a=Buffer.alloc(0),l=Buffer.alloc(0),d=!0;let h=t,F=typeof h.decoder=="object"?h.decoder:P.decoder;d=F.hasOwnProperty("efs")?F.efs:!1;function y(){return!e||!(e instanceof Uint8Array)?Buffer.alloc(0):(l=r.loadLocalHeaderFromBinary(e),e.slice(r.realDataOffset,r.realDataOffset+r.compressedSize))}function f(u){if(r.flags_desc){let E={},_=r.realDataOffset+r.compressedSize;if(e.readUInt32LE(_)==ee.LOCSIG||e.readUInt32LE(_)==ee.CENSIG)throw P.Errors.DESCRIPTOR_NOT_EXIST();if(e.readUInt32LE(_)==ee.EXTSIG)E.crc=e.readUInt32LE(_+ee.EXTCRC),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ),E.size=e.readUInt32LE(_+ee.EXTLEN);else if(e.readUInt16LE(_+12)===19280)E.crc=e.readUInt32LE(_+ee.EXTCRC-4),E.compressedSize=e.readUInt32LE(_+ee.EXTSIZ-4),E.size=e.readUInt32LE(_+ee.EXTLEN-4);else throw P.Errors.DESCRIPTOR_UNKNOWN();if(E.compressedSize!==r.compressedSize||E.size!==r.size||E.crc!==r.crc)throw P.Errors.DESCRIPTOR_FAULTY();if(P.crc32(u)!==E.crc)return!1}else if(P.crc32(u)!==r.localHeader.crc)return!1;return!0}function c(u,E,_){if(typeof E>"u"&&typeof u=="string"&&(_=u,u=void 0),o)return u&&E&&E(Buffer.alloc(0),P.Errors.DIRECTORY_CONTENT_ERROR()),Buffer.alloc(0);var S=y();if(S.length===0)return u&&E&&E(S),S;if(r.encrypted){if(typeof _!="string"&&!Buffer.isBuffer(_))throw P.Errors.INVALID_PASS_PARAM();S=Qn.ZipCrypto.decrypt(S,r,_)}var v=Buffer.alloc(r.size);switch(r.method){case P.Constants.STORED:if(S.copy(v),f(v))return u&&E&&E(v),v;throw u&&E&&E(v,P.Errors.BAD_CRC()),P.Errors.BAD_CRC();case P.Constants.DEFLATED:var R=new Qn.Inflater(S,r.size);if(u)R.inflateAsync(function(w){w.copy(w,0),E&&(f(w)?E(w):E(w,P.Errors.BAD_CRC()))});else{if(R.inflate(v).copy(v,0),!f(v))throw P.Errors.BAD_CRC(`"${F.decode(n)}"`);return v}break;default:throw u&&E&&E(Buffer.alloc(0),P.Errors.UNKNOWN_METHOD()),P.Errors.UNKNOWN_METHOD()}}function m(u,E){if((!s||!s.length)&&Buffer.isBuffer(e))return u&&E&&E(y()),y();if(s.length&&!o){var _;switch(r.method){case P.Constants.STORED:return r.compressedSize=r.size,_=Buffer.alloc(s.length),s.copy(_),u&&E&&E(_),_;default:case P.Constants.DEFLATED:var S=new Qn.Deflater(s);if(u)S.deflateAsync(function(R){_=Buffer.alloc(R.length),r.compressedSize=R.length,R.copy(_),E&&E(_)});else{var v=S.deflate();return r.compressedSize=v.length,v}S=null;break}}else if(u&&E)E(Buffer.alloc(0));else return Buffer.alloc(0)}function p(u,E){return(u.readUInt32LE(E+4)<<4)+u.readUInt32LE(E)}function g(u){try{for(var E=0,_,S,v;E+4<u.length;)_=u.readUInt16LE(E),E+=2,S=u.readUInt16LE(E),E+=2,v=u.slice(E,E+S),E+=S,ee.ID_ZIP64===_&&C(v)}catch{throw P.Errors.EXTRA_FIELD_PARSE_ERROR()}}function C(u){var E,_,S,v;u.length>=ee.EF_ZIP64_SCOMP&&(E=p(u,ee.EF_ZIP64_SUNCOMP),r.size===ee.EF_ZIP64_OR_32&&(r.size=E)),u.length>=ee.EF_ZIP64_RHO&&(_=p(u,ee.EF_ZIP64_SCOMP),r.compressedSize===ee.EF_ZIP64_OR_32&&(r.compressedSize=_)),u.length>=ee.EF_ZIP64_DSN&&(S=p(u,ee.EF_ZIP64_RHO),r.offset===ee.EF_ZIP64_OR_32&&(r.offset=S)),u.length>=ee.EF_ZIP64_DSN+4&&(v=u.readUInt32LE(ee.EF_ZIP64_DSN),r.diskNumStart===ee.EF_ZIP64_OR_16&&(r.diskNumStart=v))}return{get entryName(){return F.decode(n)},get rawEntryName(){return n},set entryName(u){n=P.toBuffer(u,F.encode);var E=n[n.length-1];o=E===47||E===92,r.fileNameLength=n.length},get efs(){return typeof d=="function"?d(this.entryName):d},get extra(){return a},set extra(u){a=u,r.extraLength=u.length,g(u)},get comment(){return F.decode(i)},set comment(u){if(i=P.toBuffer(u,F.encode),r.commentLength=i.length,i.length>65535)throw P.Errors.COMMENT_TOO_LONG()},get name(){var u=F.decode(n);return o?u.substr(u.length-1).split("/").pop():u.split("/").pop()},get isDirectory(){return o},getCompressedData:function(){return m(!1,null)},getCompressedDataAsync:function(u){m(!0,u)},setData:function(u){s=P.toBuffer(u,P.decoder.encode),!o&&s.length?(r.size=s.length,r.method=P.Constants.DEFLATED,r.crc=P.crc32(u),r.changed=!0):r.method=P.Constants.STORED},getData:function(u){return r.changed?s:c(!1,null,u)},getDataAsync:function(u,E){r.changed?u(s):c(!0,u,E)},set attr(u){r.attr=u},get attr(){return r.attr},set header(u){r.loadFromBinary(u)},get header(){return r},packCentralHeader:function(){r.flags_efs=this.efs,r.extraLength=a.length;var u=r.centralHeaderToBinary(),E=P.Constants.CENHDR;return n.copy(u,E),E+=n.length,a.copy(u,E),E+=r.extraLength,i.copy(u,E),u},packLocalHeader:function(){let u=0;r.flags_efs=this.efs,r.extraLocalLength=l.length;let E=r.localHeaderToBinary(),_=Buffer.alloc(E.length+n.length+r.extraLocalLength);return E.copy(_,u),u+=E.length,n.copy(_,u),u+=n.length,l.copy(_,u),u+=l.length,_},toJSON:function(){let u=function(E){return"<"+(E&&E.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:r.toJSON(),compressedData:u(e),data:u(s)}},toString:function(){return JSON.stringify(this.toJSON(),null," ")}}}});var fu=A((Tp,lu)=>{"use strict";D();var au=ei(),xc=Jn(),oe=pt();lu.exports=function(t,e){var r=[],n={},i=Buffer.alloc(0),o=new xc.MainHeader,s=!1,a=null;let l=new Set,d=e,{noSort:h,decoder:F}=d;t?c(d.readEntries):s=!0;function y(){let p=new Set;for(let g of Object.keys(n)){let C=g.split("/");if(C.pop(),!!C.length)for(let u=0;u<C.length;u++){let E=C.slice(0,u+1).join("/")+"/";p.add(E)}}for(let g of p)if(!(g in n)){let C=new au(d);C.entryName=g,C.attr=16,C.temporary=!0,r.push(C),n[C.entryName]=C,l.add(C)}}function f(){if(s=!0,n={},o.diskEntries>(t.length-o.offset)/oe.Constants.CENHDR)throw oe.Errors.DISK_ENTRY_TOO_LARGE();r=new Array(o.diskEntries);for(var p=o.offset,g=0;g<r.length;g++){var C=p,u=new au(d,t);u.header=t.slice(C,C+=oe.Constants.CENHDR),u.entryName=t.slice(C,C+=u.header.fileNameLength),u.header.extraLength&&(u.extra=t.slice(C,C+=u.header.extraLength)),u.header.commentLength&&(u.comment=t.slice(C,C+u.header.commentLength)),p+=u.header.centralHeaderSize,r[g]=u,n[u.entryName]=u}l.clear(),y()}function c(p){var g=t.length-oe.Constants.ENDHDR,C=Math.max(0,g-65535),u=C,E=t.length,_=-1,S=0;for(typeof d.trailingSpace=="boolean"&&d.trailingSpace&&(C=0),g;g>=u;g--)if(t[g]===80){if(t.readUInt32LE(g)===oe.Constants.ENDSIG){_=g,S=g,E=g+oe.Constants.ENDHDR,u=g-oe.Constants.END64HDR;continue}if(t.readUInt32LE(g)===oe.Constants.END64SIG){u=C;continue}if(t.readUInt32LE(g)===oe.Constants.ZIP64SIG){_=g,E=g+oe.readBigUInt64LE(t,g+oe.Constants.ZIP64SIZE)+oe.Constants.ZIP64LEAD;break}}if(_==-1)throw oe.Errors.INVALID_FORMAT();o.loadFromBinary(t.slice(_,E)),o.commentLength&&(i=t.slice(S+oe.Constants.ENDHDR)),p&&f()}function m(){r.length>1&&!h&&r.sort((p,g)=>p.entryName.toLowerCase().localeCompare(g.entryName.toLowerCase()))}return{get entries(){return s||f(),r.filter(p=>!l.has(p))},get comment(){return F.decode(i)},set comment(p){i=oe.toBuffer(p,F.encode),o.commentLength=i.length},getEntryCount:function(){return s?r.length:o.diskEntries},forEach:function(p){this.entries.forEach(p)},getEntry:function(p){return s||f(),n[p]||null},setEntry:function(p){s||f(),r.push(p),n[p.entryName]=p,o.totalEntries=r.length},deleteFile:function(p,g=!0){s||f();let C=n[p];this.getEntryChildren(C,g).map(E=>E.entryName).forEach(this.deleteEntry)},deleteEntry:function(p){s||f();let g=n[p],C=r.indexOf(g);C>=0&&(r.splice(C,1),delete n[p],o.totalEntries=r.length)},getEntryChildren:function(p,g=!0){if(s||f(),typeof p=="object")if(p.isDirectory&&g){let C=[],u=p.entryName;for(let E of r)E.entryName.startsWith(u)&&C.push(E);return C}else return[p];return[]},getChildCount:function(p){if(p&&p.isDirectory){let g=this.getEntryChildren(p);return g.includes(p)?g.length-1:g.length}return 0},compressToBuffer:function(){s||f(),m();let p=[],g=[],C=0,u=0;o.size=0,o.offset=0;let E=0;for(let v of this.entries){let R=v.getCompressedData();v.header.offset=u;let w=v.packLocalHeader(),T=w.length+R.length;u+=T,p.push(w),p.push(R);let O=v.packCentralHeader();g.push(O),o.size+=O.length,C+=T+O.length,E++}C+=o.mainHeaderSize,o.offset=u,o.totalEntries=E,u=0;let _=Buffer.alloc(C);for(let v of p)v.copy(_,u),u+=v.length;for(let v of g)v.copy(_,u),u+=v.length;let S=o.toBinary();return i&&i.copy(S,oe.Constants.ENDHDR),S.copy(_,u),t=_,s=!1,_},toAsyncBuffer:function(p,g,C,u){try{s||f(),m();let E=[],_=[],S=0,v=0,R=0;o.size=0,o.offset=0;let w=function(T){if(T.length>0){let O=T.shift(),M=O.entryName+O.extra.toString();C&&C(M),O.getCompressedDataAsync(function(N){u&&u(M),O.header.offset=v;let Z=O.packLocalHeader(),U=Z.length+N.length;v+=U,E.push(Z),E.push(N);let k=O.packCentralHeader();_.push(k),o.size+=k.length,S+=U+k.length,R++,w(T)})}else{S+=o.mainHeaderSize,o.offset=v,o.totalEntries=R,v=0;let O=Buffer.alloc(S);E.forEach(function(N){N.copy(O,v),v+=N.length}),_.forEach(function(N){N.copy(O,v),v+=N.length});let M=o.toBinary();i&&i.copy(M,oe.Constants.ENDHDR),M.copy(O,v),t=O,s=!1,p(O)}};w(Array.from(this.entries))}catch(E){g(E)}}}}});var Du=A((Ip,hu)=>{"use strict";D();var K=pt(),te=require("path"),vc=ei(),wc=fu(),et=(...t)=>K.findLast(t,e=>typeof e=="boolean"),cu=(...t)=>K.findLast(t,e=>typeof e=="string"),bc=(...t)=>K.findLast(t,e=>typeof e=="function"),Sc={noSort:!1,readEntries:!1,method:K.Constants.NONE,fs:null};hu.exports=function(t,e){let r=null,n=Object.assign(Object.create(null),Sc);t&&typeof t=="object"&&(t instanceof Uint8Array||(Object.assign(n,t),t=n.input?n.input:void 0,n.input&&delete n.input),Buffer.isBuffer(t)&&(r=t,n.method=K.Constants.BUFFER,t=void 0)),Object.assign(n,e);let i=new K(n);if((typeof n.decoder!="object"||typeof n.decoder.encode!="function"||typeof n.decoder.decode!="function")&&(n.decoder=K.decoder),t&&typeof t=="string")if(i.fs.existsSync(t))n.method=K.Constants.FILE,n.filename=t,r=i.fs.readFileSync(t);else throw K.Errors.INVALID_FILENAME();let o=new wc(r,n),{canonical:s,sanitize:a,zipnamefix:l}=K;function d(f){if(f&&o){var c;if(typeof f=="string"&&(c=o.getEntry(te.posix.normalize(f))),typeof f=="object"&&typeof f.entryName<"u"&&typeof f.header<"u"&&(c=o.getEntry(f.entryName)),c)return c}return null}function h(f){let{join:c,normalize:m,sep:p}=te.posix;return c(".",m(p+f.split("\\").join(p)+p))}function F(f){return f instanceof RegExp?(function(c){return function(m){return c.test(m)}})(f):typeof f!="function"?()=>!0:f}let y=(f,c)=>{let m=c.slice(-1);return m=m===i.sep?i.sep:"",te.relative(f,c)+m};return{readFile:function(f,c){var m=d(f);return m&&m.getData(c)||null},childCount:function(f){let c=d(f);if(c)return o.getChildCount(c)},readFileAsync:function(f,c){var m=d(f);m?m.getDataAsync(c):c(null,"getEntry failed for:"+f)},readAsText:function(f,c){var m=d(f);if(m){var p=m.getData();if(p&&p.length)return p.toString(c||"utf8")}return""},readAsTextAsync:function(f,c,m){var p=d(f);p?p.getDataAsync(function(g,C){if(C){c(g,C);return}g&&g.length?c(g.toString(m||"utf8")):c("")}):c("")},deleteFile:function(f,c=!0){var m=d(f);m&&o.deleteFile(m.entryName,c)},deleteEntry:function(f){var c=d(f);c&&o.deleteEntry(c.entryName)},addZipComment:function(f){o.comment=f},getZipComment:function(){return o.comment||""},addZipEntryComment:function(f,c){var m=d(f);m&&(m.comment=c)},getZipEntryComment:function(f){var c=d(f);return c&&c.comment||""},updateFile:function(f,c){var m=d(f);m&&m.setData(c)},addLocalFile:function(f,c,m,p){if(i.fs.existsSync(f)){c=c?h(c):"";let g=te.win32.basename(te.win32.normalize(f));c+=m||g;let C=i.fs.statSync(f),u=C.isFile()?i.fs.readFileSync(f):Buffer.alloc(0);C.isDirectory()&&(c+=i.sep),this.addFile(c,u,p,C)}else throw K.Errors.FILE_NOT_FOUND(f)},addLocalFileAsync:function(f,c){f=typeof f=="object"?f:{localPath:f};let m=te.resolve(f.localPath),{comment:p}=f,{zipPath:g,zipName:C}=f,u=this;i.fs.stat(m,function(E,_){if(E)return c(E,!1);g=g?h(g):"";let S=te.win32.basename(te.win32.normalize(m));if(g+=C||S,_.isFile())i.fs.readFile(m,function(v,R){return v?c(v,!1):(u.addFile(g,R,p,_),setImmediate(c,void 0,!0))});else if(_.isDirectory())return g+=i.sep,u.addFile(g,Buffer.alloc(0),p,_),setImmediate(c,void 0,!0)})},addLocalFolder:function(f,c,m){if(m=F(m),c=c?h(c):"",f=te.normalize(f),i.fs.existsSync(f)){let p=i.findFiles(f),g=this;if(p.length)for(let C of p){let u=te.join(c,y(f,C));m(u)&&g.addLocalFile(C,te.dirname(u))}}else throw K.Errors.FILE_NOT_FOUND(f)},addLocalFolderAsync:function(f,c,m,p){p=F(p),m=m?h(m):"",f=te.normalize(f);var g=this;i.fs.open(f,"r",function(C){if(C&&C.code==="ENOENT")c(void 0,K.Errors.FILE_NOT_FOUND(f));else if(C)c(void 0,C);else{var u=i.findFiles(f),E=-1,_=function(){if(E+=1,E<u.length){var S=u[E],v=y(f,S).split("\\").join("/");v=v.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),p(v)?i.fs.stat(S,function(R,w){R&&c(void 0,R),w.isFile()?i.fs.readFile(S,function(T,O){T?c(void 0,T):(g.addFile(m+v,O,"",w),_())}):(g.addFile(m+v+"/",Buffer.alloc(0),"",w),_())}):process.nextTick(()=>{_()})}else c(!0,void 0)};_()}})},addLocalFolderAsync2:function(f,c){let m=this;f=typeof f=="object"?f:{localPath:f},localPath=te.resolve(h(f.localPath));let{zipPath:p,filter:g,namefix:C}=f;g instanceof RegExp?g=(function(_){return function(S){return _.test(S)}})(g):typeof g!="function"&&(g=function(){return!0}),p=p?h(p):"",C=="latin1"&&(C=_=>_.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,"")),typeof C!="function"&&(C=_=>_);let u=_=>te.join(p,C(y(localPath,_))),E=_=>te.win32.basename(te.win32.normalize(C(_)));i.fs.open(localPath,"r",function(_){_&&_.code==="ENOENT"?c(void 0,K.Errors.FILE_NOT_FOUND(localPath)):_?c(void 0,_):i.findFilesAsync(localPath,function(S,v){if(S)return c(S);v=v.filter(R=>g(u(R))),v.length||c(void 0,!1),setImmediate(v.reverse().reduce(function(R,w){return function(T,O){if(T||O===!1)return setImmediate(R,T,!1);m.addLocalFileAsync({localPath:w,zipPath:te.dirname(u(w)),zipName:E(w)},R)}},c))})})},addLocalFolderPromise:function(f,c){return new Promise((m,p)=>{this.addLocalFolderAsync2(Object.assign({localPath:f},c),(g,C)=>{g&&p(g),C&&m(this)})})},addFile:function(f,c,m,p){f=l(f);let g=d(f),C=g!=null;C||(g=new vc(n),g.entryName=f),g.comment=m||"";let u=typeof p=="object"&&p instanceof i.fs.Stats;u&&(g.header.time=p.mtime);var E=g.isDirectory?16:0;let _=g.isDirectory?16384:32768;return u?_|=4095&p.mode:typeof p=="number"?_|=4095&p:_|=g.isDirectory?493:420,E=(E|_<<16)>>>0,g.attr=E,g.setData(c),C||o.setEntry(g),g},getEntries:function(f){return o.password=f,o?o.entries:[]},getEntry:function(f){return d(f)},getEntryCount:function(){return o.getEntryCount()},forEach:function(f){return o.forEach(f)},extractEntryTo:function(f,c,m,p,g,C){p=et(!1,p),g=et(!1,g),m=et(!0,m),C=cu(g,C);var u=d(f);if(!u)throw K.Errors.NO_ENTRY();var E=s(u.entryName),_=a(c,C&&!u.isDirectory?C:m?E:te.basename(E));if(u.isDirectory){var S=o.getEntryChildren(u);return S.forEach(function(w){if(w.isDirectory)return;var T=w.getData();if(!T)throw K.Errors.CANT_EXTRACT_FILE();var O=s(w.entryName),M=a(c,m?O:te.basename(O));let N=g?w.header.fileAttr:void 0;i.writeFileTo(M,T,p,N)}),!0}var v=u.getData(o.password);if(!v)throw K.Errors.CANT_EXTRACT_FILE();if(i.fs.existsSync(_)&&!p)throw K.Errors.CANT_OVERRIDE();let R=g?f.header.fileAttr:void 0;return i.writeFileTo(_,v,p,R),!0},test:function(f){if(!o)return!1;for(var c in o.entries)try{if(c.isDirectory)continue;var m=o.entries[c].getData(f);if(!m)return!1}catch{return!1}return!0},extractAllTo:function(f,c,m,p){if(m=et(!1,m),p=cu(m,p),c=et(!1,c),!o)throw K.Errors.NO_ZIP();o.entries.forEach(function(g){var C=a(f,s(g.entryName));if(g.isDirectory){i.makeDir(C);return}var u=g.getData(p);if(!u)throw K.Errors.CANT_EXTRACT_FILE();let E=m?g.header.fileAttr:void 0;i.writeFileTo(C,u,c,E);try{i.fs.utimesSync(C,g.header.time,g.header.time)}catch{throw K.Errors.CANT_EXTRACT_FILE()}})},extractAllToAsync:function(f,c,m,p){if(p=bc(c,m,p),m=et(!1,m),c=et(!1,c),!p)return new Promise((_,S)=>{this.extractAllToAsync(f,c,m,function(v){v?S(v):_(this)})});if(!o){p(K.Errors.NO_ZIP());return}f=te.resolve(f);let g=_=>a(f,te.normalize(s(_.entryName))),C=(_,S)=>new Error(_+': "'+S+'"'),u=[],E=[];o.entries.forEach(_=>{_.isDirectory?u.push(_):E.push(_)});for(let _ of u){let S=g(_),v=m?_.header.fileAttr:void 0;try{i.makeDir(S),v&&i.fs.chmodSync(S,v),i.fs.utimesSync(S,_.header.time,_.header.time)}catch{p(C("Unable to create folder",S))}}E.reverse().reduce(function(_,S){return function(v){if(v)_(v);else{let R=te.normalize(s(S.entryName)),w=a(f,R);S.getDataAsync(function(T,O){if(O)_(O);else if(!T)_(K.Errors.CANT_EXTRACT_FILE());else{let M=m?S.header.fileAttr:void 0;i.writeFileToAsync(w,T,c,M,function(N){N||_(C("Unable to write file",w)),i.fs.utimes(w,S.header.time,S.header.time,function(Z){Z?_(C("Unable to set times",w)):_()})})}})}}},p)()},writeZip:function(f,c){if(arguments.length===1&&typeof f=="function"&&(c=f,f=""),!f&&n.filename&&(f=n.filename),!!f){var m=o.compressToBuffer();if(m){var p=i.writeFileTo(f,m,!0);typeof c=="function"&&c(p?null:new Error("failed"),"")}}},writeZipPromise:function(f,c){let{overwrite:m,perm:p}=Object.assign({overwrite:!0},c);return new Promise((g,C)=>{!f&&n.filename&&(f=n.filename),f||C("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then(u=>{let E=_=>_?g(_):C("ADM-ZIP: Wasn't able to write zip file");i.writeFileToAsync(f,u,m,p,E)},C)})},toBufferPromise:function(){return new Promise((f,c)=>{o.toAsyncBuffer(f,c)})},toBuffer:function(f,c,m,p){return typeof f=="function"?(o.toAsyncBuffer(f,c,m,p),null):o.compressToBuffer()}}}});var yu=A((Mp,Cu)=>{"use strict";D();var $e=require("constants"),Oc=process.cwd,wr=null,Tc=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return wr||(wr=Oc.call(process)),wr};try{process.cwd()}catch{}typeof process.chdir=="function"&&(ri=process.chdir,process.chdir=function(t){wr=null,ri.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ri));var ri;Cu.exports=Bc;function Bc(t){$e.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||r(t),t.chown=o(t.chown),t.fchown=o(t.fchown),t.lchown=o(t.lchown),t.chmod=n(t.chmod),t.fchmod=n(t.fchmod),t.lchmod=n(t.lchmod),t.chownSync=s(t.chownSync),t.fchownSync=s(t.fchownSync),t.lchownSync=s(t.lchownSync),t.chmodSync=i(t.chmodSync),t.fchmodSync=i(t.fchmodSync),t.lchmodSync=i(t.lchmodSync),t.stat=a(t.stat),t.fstat=a(t.fstat),t.lstat=a(t.lstat),t.statSync=l(t.statSync),t.fstatSync=l(t.fstatSync),t.lstatSync=l(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(h,F,y){y&&process.nextTick(y)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(h,F,y,f){f&&process.nextTick(f)},t.lchownSync=function(){}),Tc==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(h){function F(y,f,c){var m=Date.now(),p=0;h(y,f,function g(C){if(C&&(C.code==="EACCES"||C.code==="EPERM"||C.code==="EBUSY")&&Date.now()-m<6e4){setTimeout(function(){t.stat(f,function(u,E){u&&u.code==="ENOENT"?h(y,f,g):c(C)})},p),p<100&&(p+=10);return}c&&c(C)})}return Object.setPrototypeOf&&Object.setPrototypeOf(F,h),F})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(h){function F(y,f,c,m,p,g){var C;if(g&&typeof g=="function"){var u=0;C=function(E,_,S){if(E&&E.code==="EAGAIN"&&u<10)return u++,h.call(t,y,f,c,m,p,C);g.apply(this,arguments)}}return h.call(t,y,f,c,m,p,C)}return Object.setPrototypeOf&&Object.setPrototypeOf(F,h),F})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(h){return function(F,y,f,c,m){for(var p=0;;)try{return h.call(t,F,y,f,c,m)}catch(g){if(g.code==="EAGAIN"&&p<10){p++;continue}throw g}}})(t.readSync);function e(h){h.lchmod=function(F,y,f){h.open(F,$e.O_WRONLY|$e.O_SYMLINK,y,function(c,m){if(c){f&&f(c);return}h.fchmod(m,y,function(p){h.close(m,function(g){f&&f(p||g)})})})},h.lchmodSync=function(F,y){var f=h.openSync(F,$e.O_WRONLY|$e.O_SYMLINK,y),c=!0,m;try{m=h.fchmodSync(f,y),c=!1}finally{if(c)try{h.closeSync(f)}catch{}else h.closeSync(f)}return m}}function r(h){$e.hasOwnProperty("O_SYMLINK")&&h.futimes?(h.lutimes=function(F,y,f,c){h.open(F,$e.O_SYMLINK,function(m,p){if(m){c&&c(m);return}h.futimes(p,y,f,function(g){h.close(p,function(C){c&&c(g||C)})})})},h.lutimesSync=function(F,y,f){var c=h.openSync(F,$e.O_SYMLINK),m,p=!0;try{m=h.futimesSync(c,y,f),p=!1}finally{if(p)try{h.closeSync(c)}catch{}else h.closeSync(c)}return m}):h.futimes&&(h.lutimes=function(F,y,f,c){c&&process.nextTick(c)},h.lutimesSync=function(){})}function n(h){return h&&function(F,y,f){return h.call(t,F,y,function(c){d(c)&&(c=null),f&&f.apply(this,arguments)})}}function i(h){return h&&function(F,y){try{return h.call(t,F,y)}catch(f){if(!d(f))throw f}}}function o(h){return h&&function(F,y,f,c){return h.call(t,F,y,f,function(m){d(m)&&(m=null),c&&c.apply(this,arguments)})}}function s(h){return h&&function(F,y,f){try{return h.call(t,F,y,f)}catch(c){if(!d(c))throw c}}}function a(h){return h&&function(F,y,f){typeof y=="function"&&(f=y,y=null);function c(m,p){p&&(p.uid<0&&(p.uid+=4294967296),p.gid<0&&(p.gid+=4294967296)),f&&f.apply(this,arguments)}return y?h.call(t,F,y,c):h.call(t,F,c)}}function l(h){return h&&function(F,y){var f=y?h.call(t,F,y):h.call(t,F);return f&&(f.uid<0&&(f.uid+=4294967296),f.gid<0&&(f.gid+=4294967296)),f}}function d(h){if(!h||h.code==="ENOSYS")return!0;var F=!process.getuid||process.getuid()!==0;return!!(F&&(h.code==="EINVAL"||h.code==="EPERM"))}}});var wu=A((kp,vu)=>{"use strict";D();var xu=require("stream").Stream;vu.exports=Ic;function Ic(t){return{ReadStream:e,WriteStream:r};function e(n,i){if(!(this instanceof e))return new e(n,i);xu.call(this);var o=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var s=Object.keys(i),a=0,l=s.length;a<l;a++){var d=s[a];this[d]=i[d]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){o._read()});return}t.open(this.path,this.flags,this.mode,function(h,F){if(h){o.emit("error",h),o.readable=!1;return}o.fd=F,o.emit("open",F),o._read()})}function r(n,i){if(!(this instanceof r))return new r(n,i);xu.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),s=0,a=o.length;s<a;s++){var l=o[s];this[l]=i[l]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var Su=A((Hp,bu)=>{"use strict";D();bu.exports=Lc;var Rc=Object.getPrototypeOf||function(t){return t.__proto__};function Lc(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:Rc(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}});var si=A((Vp,oi)=>{"use strict";D();var X=require("fs"),Nc=yu(),Pc=wu(),Mc=Su(),br=require("util"),se,Ar;typeof Symbol=="function"&&typeof Symbol.for=="function"?(se=Symbol.for("graceful-fs.queue"),Ar=Symbol.for("graceful-fs.previous")):(se="___graceful-fs.queue",Ar="___graceful-fs.previous");function Uc(){}function Tu(t,e){Object.defineProperty(t,se,{get:function(){return e}})}var tt=Uc;br.debuglog?tt=br.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(tt=function(){var t=br.format.apply(br,arguments);t="GFS4: "+t.split(/\n/).join(`
|
|
23
|
+
GFS4: `),console.error(t)});X[se]||(Au=global[se]||[],Tu(X,Au),X.close=(function(t){function e(r,n){return t.call(X,r,function(i){i||Ou(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(e,Ar,{value:t}),e})(X.close),X.closeSync=(function(t){function e(r){t.apply(X,arguments),Ou()}return Object.defineProperty(e,Ar,{value:t}),e})(X.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){tt(X[se]),require("assert").equal(X[se].length,0)}));var Au;global[se]||Tu(global,X[se]);oi.exports=ni(Mc(X));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!X.__patched&&(oi.exports=ni(X),X.__patched=!0);function ni(t){Nc(t),t.gracefulify=ni,t.createReadStream=_,t.createWriteStream=S;var e=t.readFile;t.readFile=r;function r(w,T,O){return typeof T=="function"&&(O=T,T=null),M(w,T,O);function M(N,Z,U,k){return e(N,Z,function(j){j&&(j.code==="EMFILE"||j.code==="ENFILE")?gt([M,[N,Z,U],j,k||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments)})}}var n=t.writeFile;t.writeFile=i;function i(w,T,O,M){return typeof O=="function"&&(M=O,O=null),N(w,T,O,M);function N(Z,U,k,j,ie){return n(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var o=t.appendFile;o&&(t.appendFile=s);function s(w,T,O,M){return typeof O=="function"&&(M=O,O=null),N(w,T,O,M);function N(Z,U,k,j,ie){return o(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var a=t.copyFile;a&&(t.copyFile=l);function l(w,T,O,M){return typeof O=="function"&&(M=O,O=0),N(w,T,O,M);function N(Z,U,k,j,ie){return a(Z,U,k,function($){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}var d=t.readdir;t.readdir=F;var h=/^v[0-5]\./;function F(w,T,O){typeof T=="function"&&(O=T,T=null);var M=h.test(process.version)?function(U,k,j,ie){return d(U,N(U,k,j,ie))}:function(U,k,j,ie){return d(U,k,N(U,k,j,ie))};return M(w,T,O);function N(Z,U,k,j){return function(ie,$){ie&&(ie.code==="EMFILE"||ie.code==="ENFILE")?gt([M,[Z,U,k],ie,j||Date.now(),Date.now()]):($&&$.sort&&$.sort(),typeof k=="function"&&k.call(this,ie,$))}}}if(process.version.substr(0,4)==="v0.8"){var y=Pc(t);g=y.ReadStream,u=y.WriteStream}var f=t.ReadStream;f&&(g.prototype=Object.create(f.prototype),g.prototype.open=C);var c=t.WriteStream;c&&(u.prototype=Object.create(c.prototype),u.prototype.open=E),Object.defineProperty(t,"ReadStream",{get:function(){return g},set:function(w){g=w},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return u},set:function(w){u=w},enumerable:!0,configurable:!0});var m=g;Object.defineProperty(t,"FileReadStream",{get:function(){return m},set:function(w){m=w},enumerable:!0,configurable:!0});var p=u;Object.defineProperty(t,"FileWriteStream",{get:function(){return p},set:function(w){p=w},enumerable:!0,configurable:!0});function g(w,T){return this instanceof g?(f.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}function C(){var w=this;R(w.path,w.flags,w.mode,function(T,O){T?(w.autoClose&&w.destroy(),w.emit("error",T)):(w.fd=O,w.emit("open",O),w.read())})}function u(w,T){return this instanceof u?(c.apply(this,arguments),this):u.apply(Object.create(u.prototype),arguments)}function E(){var w=this;R(w.path,w.flags,w.mode,function(T,O){T?(w.destroy(),w.emit("error",T)):(w.fd=O,w.emit("open",O))})}function _(w,T){return new t.ReadStream(w,T)}function S(w,T){return new t.WriteStream(w,T)}var v=t.open;t.open=R;function R(w,T,O,M){return typeof O=="function"&&(M=O,O=null),N(w,T,O,M);function N(Z,U,k,j,ie){return v(Z,U,k,function($,fh){$&&($.code==="EMFILE"||$.code==="ENFILE")?gt([N,[Z,U,k,j],$,ie||Date.now(),Date.now()]):typeof j=="function"&&j.apply(this,arguments)})}}return t}function gt(t){tt("ENQUEUE",t[0].name,t[1]),X[se].push(t),ii()}var Sr;function Ou(){for(var t=Date.now(),e=0;e<X[se].length;++e)X[se][e].length>2&&(X[se][e][3]=t,X[se][e][4]=t);ii()}function ii(){if(clearTimeout(Sr),Sr=void 0,X[se].length!==0){var t=X[se].shift(),e=t[0],r=t[1],n=t[2],i=t[3],o=t[4];if(i===void 0)tt("RETRY",e.name,r),e.apply(null,r);else if(Date.now()-i>=6e4){tt("TIMEOUT",e.name,r);var s=r.pop();typeof s=="function"&&s.call(null,n)}else{var a=Date.now()-o,l=Math.max(o-i,1),d=Math.min(l*1.2,100);a>=d?(tt("RETRY",e.name,r),e.apply(null,r.concat([i]))):X[se].push(t)}Sr===void 0&&(Sr=setTimeout(ii,0))}}});var Iu=A((Wp,Bu)=>{"use strict";D();function ge(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}Bu.exports=ge;ge.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts};ge.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timeouts=[],this._cachedTimeouts=null};ge.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(this._errors.length-1,this._errors.length),this._timeouts=this._cachedTimeouts.slice(0),r=this._timeouts.shift();else return!1;var n=this,i=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r);return this._options.unref&&i.unref(),!0};ge.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};ge.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};ge.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};ge.prototype.start=ge.prototype.try;ge.prototype.errors=function(){return this._errors};ge.prototype.attempts=function(){return this._attempts};ge.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],o=i.message,s=(t[o]||0)+1;t[o]=s,s>=r&&(e=i,r=s)}return e}});var Ru=A(rt=>{"use strict";D();var kc=Iu();rt.operation=function(t){var e=rt.timeouts(t);return new kc(e,{forever:t&&t.forever,unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};rt.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(o,s){return o-s}),n};rt.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*e.minTimeout*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};rt.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var o=r[i],s=t[o];t[o]=function(l){var d=rt.operation(e),h=Array.prototype.slice.call(arguments,1),F=h.pop();h.push(function(y){d.retry(y)||(y&&(arguments[0]=d.mainError()),F.apply(this,arguments))}),d.attempt(function(){l.apply(t,h)})}.bind(t,s),t[o].options=e}}});var Nu=A((Yp,Lu)=>{"use strict";D();Lu.exports=Ru()});var Mu=A((Xp,ui)=>{"use strict";D();var Pu=Symbol();function jc(t,e,r){let n=e[Pu];if(n)return e.stat(t,(o,s)=>{if(o)return r(o);r(null,s.mtime,n)});let i=new Date(Math.ceil(Date.now()/1e3)*1e3+5);e.utimes(t,i,i,o=>{if(o)return r(o);e.stat(t,(s,a)=>{if(s)return r(s);let l=a.mtime.getTime()%1e3===0?"s":"ms";Object.defineProperty(e,Pu,{value:l}),r(null,a.mtime,l)})})}function Hc(t){let e=Date.now();return t==="s"&&(e=Math.ceil(e/1e3)*1e3),new Date(e)}ui.exports.probe=jc;ui.exports.getMtime=Hc});var $u=A((Qp,$t)=>{"use strict";D();var $c=require("path"),fi=si(),Vc=Nu(),qc=on(),Uu=Mu(),Be={};function Ht(t,e){return e.lockfilePath||`${t}.lock`}function ci(t,e,r){if(!e.realpath)return r(null,$c.resolve(t));e.fs.realpath(t,r)}function li(t,e,r){let n=Ht(t,e);e.fs.mkdir(n,i=>{if(!i)return Uu.probe(n,e.fs,(o,s,a)=>{if(o)return e.fs.rmdir(n,()=>{}),r(o);r(null,s,a)});if(i.code!=="EEXIST")return r(i);if(e.stale<=0)return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));e.fs.stat(n,(o,s)=>{if(o)return o.code==="ENOENT"?li(t,{...e,stale:0},r):r(o);if(!ku(s,e))return r(Object.assign(new Error("Lock file is already being held"),{code:"ELOCKED",file:t}));ju(t,e,a=>{if(a)return r(a);li(t,{...e,stale:0},r)})})})}function ku(t,e){return t.mtime.getTime()<Date.now()-e.stale}function ju(t,e,r){e.fs.rmdir(Ht(t,e),n=>{if(n&&n.code!=="ENOENT")return r(n);r()})}function Or(t,e){let r=Be[t];r.updateTimeout||(r.updateDelay=r.updateDelay||e.update,r.updateTimeout=setTimeout(()=>{r.updateTimeout=null,e.fs.stat(r.lockfilePath,(n,i)=>{let o=r.lastUpdate+e.stale<Date.now();if(n)return n.code==="ENOENT"||o?ai(t,r,Object.assign(n,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,Or(t,e));if(!(r.mtime.getTime()===i.mtime.getTime()))return ai(t,r,Object.assign(new Error("Unable to update lock within the stale threshold"),{code:"ECOMPROMISED"}));let a=Uu.getMtime(r.mtimePrecision);e.fs.utimes(r.lockfilePath,a,a,l=>{let d=r.lastUpdate+e.stale<Date.now();if(!r.released){if(l)return l.code==="ENOENT"||d?ai(t,r,Object.assign(l,{code:"ECOMPROMISED"})):(r.updateDelay=1e3,Or(t,e));r.mtime=a,r.lastUpdate=Date.now(),r.updateDelay=null,Or(t,e)}})})},r.updateDelay),r.updateTimeout.unref&&r.updateTimeout.unref())}function ai(t,e,r){e.released=!0,e.updateTimeout&&clearTimeout(e.updateTimeout),Be[t]===e&&delete Be[t],e.options.onCompromised(r)}function Wc(t,e,r){e={stale:1e4,update:null,realpath:!0,retries:0,fs:fi,onCompromised:n=>{throw n},...e},e.retries=e.retries||0,e.retries=typeof e.retries=="number"?{retries:e.retries}:e.retries,e.stale=Math.max(e.stale||0,2e3),e.update=e.update==null?e.stale/2:e.update||0,e.update=Math.max(Math.min(e.update,e.stale/2),1e3),ci(t,e,(n,i)=>{if(n)return r(n);let o=Vc.operation(e.retries);o.attempt(()=>{li(i,e,(s,a,l)=>{if(o.retry(s))return;if(s)return r(o.mainError());let d=Be[i]={lockfilePath:Ht(i,e),mtime:a,mtimePrecision:l,options:e,lastUpdate:Date.now()};Or(i,e),r(null,h=>{if(d.released)return h&&h(Object.assign(new Error("Lock is already released"),{code:"ERELEASED"}));Hu(i,{...e,realpath:!1},h)})})})})}function Hu(t,e,r){e={fs:fi,realpath:!0,...e},ci(t,e,(n,i)=>{if(n)return r(n);let o=Be[i];if(!o)return r(Object.assign(new Error("Lock is not acquired/owned by you"),{code:"ENOTACQUIRED"}));o.updateTimeout&&clearTimeout(o.updateTimeout),o.released=!0,delete Be[i],ju(i,e,r)})}function Gc(t,e,r){e={stale:1e4,realpath:!0,fs:fi,...e},e.stale=Math.max(e.stale||0,2e3),ci(t,e,(n,i)=>{if(n)return r(n);e.fs.stat(Ht(i,e),(o,s)=>o?o.code==="ENOENT"?r(null,!1):r(o):r(null,!ku(s,e)))})}function zc(){return Be}qc(()=>{for(let t in Be){let e=Be[t].options;try{e.fs.rmdirSync(Ht(t,e))}catch{}}});$t.exports.lock=Wc;$t.exports.unlock=Hu;$t.exports.check=Gc;$t.exports.getLocks=zc});var qu=A((t0,Vu)=>{"use strict";D();var Zc=si();function Yc(t){let e=["mkdir","realpath","stat","rmdir","utimes"],r={...t};return e.forEach(n=>{r[n]=(...i)=>{let o=i.pop(),s;try{s=t[`${n}Sync`](...i)}catch(a){return o(a)}o(null,s)}}),r}function Kc(t){return(...e)=>new Promise((r,n)=>{e.push((i,o)=>{i?n(i):r(o)}),t(...e)})}function Xc(t){return(...e)=>{let r,n;if(e.push((i,o)=>{r=i,n=o}),t(...e),r)throw r;return n}}function Jc(t){if(t={...t},t.fs=Yc(t.fs||Zc),typeof t.retries=="number"&&t.retries>0||t.retries&&typeof t.retries.retries=="number"&&t.retries.retries>0)throw Object.assign(new Error("Cannot use retries with the sync api"),{code:"ESYNC"});return t}Vu.exports={toPromise:Kc,toSync:Xc,toSyncOptions:Jc}});var Gu=A((n0,Ve)=>{"use strict";D();var Et=$u(),{toPromise:Tr,toSync:Br,toSyncOptions:hi}=qu();async function Wu(t,e){let r=await Tr(Et.lock)(t,e);return Tr(r)}function Qc(t,e){let r=Br(Et.lock)(t,hi(e));return Br(r)}function eh(t,e){return Tr(Et.unlock)(t,e)}function th(t,e){return Br(Et.unlock)(t,hi(e))}function rh(t,e){return Tr(Et.check)(t,e)}function nh(t,e){return Br(Et.check)(t,hi(e))}Ve.exports=Wu;Ve.exports.lock=Wu;Ve.exports.unlock=eh;Ve.exports.lockSync=Qc;Ve.exports.unlockSync=th;Ve.exports.check=rh;Ve.exports.checkSync=nh});D();D();var Ni=V(Li(),1),{program:bh,createCommand:Sh,createArgument:Ah,createOption:Oh,CommanderError:Th,InvalidArgumentError:Bh,InvalidOptionArgumentError:Ih,Command:Pi,Argument:Rh,Option:Lh,Help:Nh}=Ni.default;D();D();D();D();var Mi=(t=0)=>e=>`\x1B[${e+t}m`,Ui=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,ki=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,W={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]}},Uh=Object.keys(W.modifier),wa=Object.keys(W.color),ba=Object.keys(W.bgColor),kh=[...wa,...ba];function Sa(){let t=new Map;for(let[e,r]of Object.entries(W)){for(let[n,i]of Object.entries(r))W[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=W[n],t.set(i[0],i[1]);Object.defineProperty(W,e,{value:r,enumerable:!1})}return Object.defineProperty(W,"codes",{value:t,enumerable:!1}),W.color.close="\x1B[39m",W.bgColor.close="\x1B[49m",W.color.ansi=Mi(),W.color.ansi256=Ui(),W.color.ansi16m=ki(),W.bgColor.ansi=Mi(10),W.bgColor.ansi256=Ui(10),W.bgColor.ansi16m=ki(10),Object.defineProperties(W,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(o=>o+o).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>W.rgbToAnsi256(...W.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let o=Math.max(r,n,i)*2;if(o===0)return 30;let s=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return o===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>W.ansi256ToAnsi(W.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>W.ansi256ToAnsi(W.hexToAnsi256(e)),enumerable:!1}}),W}var Aa=Sa(),Fe=Aa;D();var Zt=V(require("process"),1),Hi=V(require("os"),1),Yr=V(require("tty"),1);function fe(t,e=globalThis.Deno?globalThis.Deno.args:Zt.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:G}=Zt.default,zt;fe("no-color")||fe("no-colors")||fe("color=false")||fe("color=never")?zt=0:(fe("color")||fe("colors")||fe("color=true")||fe("color=always"))&&(zt=1);function Oa(){if("FORCE_COLOR"in G)return G.FORCE_COLOR==="true"?1:G.FORCE_COLOR==="false"?0:G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}function Ta(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Ba(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=Oa();n!==void 0&&(zt=n);let i=r?zt:n;if(i===0)return 0;if(r){if(fe("color=16m")||fe("color=full")||fe("color=truecolor"))return 3;if(fe("color=256"))return 2}if("TF_BUILD"in G&&"AGENT_NAME"in G)return 1;if(t&&!e&&i===void 0)return 0;let o=i||0;if(G.TERM==="dumb")return o;if(Zt.default.platform==="win32"){let s=Hi.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in G)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(s=>s in G)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in G)||G.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in G)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0;if(G.COLORTERM==="truecolor"||G.TERM==="xterm-kitty"||G.TERM==="xterm-ghostty"||G.TERM==="wezterm")return 3;if("TERM_PROGRAM"in G){let s=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(G.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)||"COLORTERM"in G?1:o}function ji(t,e={}){let r=Ba(t,{streamIsTTY:t&&t.isTTY,...e});return Ta(r)}var Ia={stdout:ji({isTTY:Yr.default.isatty(1)}),stderr:ji({isTTY:Yr.default.isatty(2)})},$i=Ia;D();function Vi(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,o=0,s="";do s+=t.slice(o,n)+e+r,o=n+i,n=t.indexOf(e,o);while(n!==-1);return s+=t.slice(o),s}function qi(t,e,r,n){let i=0,o="";do{let s=t[n-1]==="\r";o+=t.slice(i,s?n-1:n)+e+(s?`\r
|
|
24
24
|
`:`
|
|
25
25
|
`)+r,i=n+1,n=t.indexOf(`
|
|
26
|
-
`,i)}while(n!==-1);return o+=t.slice(i),o}var{stdout:
|
|
27
|
-
`);return o!==-1&&(e=
|
|
26
|
+
`,i)}while(n!==-1);return o+=t.slice(i),o}var{stdout:Wi,stderr:Gi}=$i,Kr=Symbol("GENERATOR"),nt=Symbol("STYLER"),_t=Symbol("IS_EMPTY"),zi=["ansi","ansi","ansi256","ansi16m"],it=Object.create(null),Ra=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Wi?Wi.level:0;t.level=e.level===void 0?r:e.level};var La=t=>{let e=(...r)=>r.join(" ");return Ra(e,t),Object.setPrototypeOf(e,Ct.prototype),e};function Ct(t){return La(t)}Object.setPrototypeOf(Ct.prototype,Function.prototype);for(let[t,e]of Object.entries(Fe))it[t]={get(){let r=Yt(this,Jr(e.open,e.close,this[nt]),this[_t]);return Object.defineProperty(this,t,{value:r}),r}};it.visible={get(){let t=Yt(this,this[nt],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var Xr=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?Fe[r].ansi16m(...n):e==="ansi256"?Fe[r].ansi256(Fe.rgbToAnsi256(...n)):Fe[r].ansi(Fe.rgbToAnsi(...n)):t==="hex"?Xr("rgb",e,r,...Fe.hexToRgb(...n)):Fe[r][t](...n),Na=["rgb","hex","ansi256"];for(let t of Na){it[t]={get(){let{level:r}=this;return function(...n){let i=Jr(Xr(t,zi[r],"color",...n),Fe.color.close,this[nt]);return Yt(this,i,this[_t])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);it[e]={get(){let{level:r}=this;return function(...n){let i=Jr(Xr(t,zi[r],"bgColor",...n),Fe.bgColor.close,this[nt]);return Yt(this,i,this[_t])}}}}var Pa=Object.defineProperties(()=>{},{...it,level:{enumerable:!0,get(){return this[Kr].level},set(t){this[Kr].level=t}}}),Jr=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},Yt=(t,e,r)=>{let n=(...i)=>Ma(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,Pa),n[Kr]=t,n[nt]=e,n[_t]=r,n},Ma=(t,e)=>{if(t.level<=0||!e)return t[_t]?"":e;let r=t[nt];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=Vi(e,r.close,r.open),r=r.parent;let o=e.indexOf(`
|
|
27
|
+
`);return o!==-1&&(e=qi(e,i,n,o)),n+e+i};Object.defineProperties(Ct.prototype,it);var Ua=Ct(),Yh=Ct({level:Gi?Gi.level:0});var B=Ua;D();var Zi=require("os"),Oe=require("path"),yt=V(require("fs/promises"),1),Qr=require("fs");function Ce(){return process.env.CHVM_HOME||(0,Oe.join)((0,Zi.homedir)(),".chvm")}async function ye(t){let e=[t,(0,Oe.join)(t,"installs"),(0,Oe.join)(t,"profiles"),(0,Oe.join)(t,"tmp"),(0,Oe.join)(t,"logs")];for(let r of e)await yt.default.mkdir(r,{recursive:!0})}async function Re(t){let e=(0,Oe.join)(t,"available.json");if(!(0,Qr.existsSync)(e))return[];let r=await yt.default.readFile(e,"utf8");return JSON.parse(r)}async function xe(t){let e=(0,Oe.join)(t,"installed.json");if(!(0,Qr.existsSync)(e))return{};let r=await yt.default.readFile(e,"utf8");return JSON.parse(r)}async function Yi(t,e){let r=(0,Oe.join)(t,"installed.json");await yt.default.writeFile(r,JSON.stringify(e,null,2),"utf8")}async function Ki(t,e){let r=await xe(t);r[e.version]={revision:e.revision,path:e.path,installedAt:new Date().toISOString(),size:e.size},await Yi(t,r)}async function Xi(t,e){let r=await xe(t);delete r[e],await Yi(t,r)}async function ka(t){try{let e=Ce();await ye(e);let r=await Re(e),n=await xe(e);if(t.json)console.log(JSON.stringify({available:r,installed:n},null,2));else{if(r.length===0){console.log(B.yellow('No versions available. Run "chvm update" first.'));return}console.log(B.bold(`
|
|
28
28
|
Available Chromium Versions:
|
|
29
|
-
`)),console.log(I.gray("VERSION CHANNEL STATUS")),console.log(I.gray("\u2500".repeat(60)));for(let i of r){let s=n[i.version]?I.green("* installed"):"";console.log(`${i.version.split(".")[0]} ${i.channel} ${s}`)}console.log()}}catch(e){console.error(I.red(`Error: ${e.message}`)),process.exit(1)}}function tn(t){t.command("ls").description("List available and installed Chromium versions").option("--json","Output in JSON format").action(Ma)}D();D();var Mt=V(require("process"),1);D();var un=V(require("process"),1);D();var so=V(require("process"),1),uo=V(eo(),1),ao=V(sn(),1),ka=(0,uo.default)(()=>{(0,ao.default)(()=>{so.default.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),lo=ka;var tr=!1,at={};at.show=(t=un.default.stderr)=>{t.isTTY&&(tr=!1,t.write("\x1B[?25h"))};at.hide=(t=un.default.stderr)=>{t.isTTY&&(lo(),tr=!0,t.write("\x1B[?25l"))};at.toggle=(t,e)=>{t!==void 0&&(tr=t),tr?at.show(e):at.hide(e)};var an=at;var Ut=V(ln(),1);D();D();var ce=V(require("process"),1);function vt(){return ce.default.platform!=="win32"?ce.default.env.TERM!=="linux":!!ce.default.env.CI||!!ce.default.env.WT_SESSION||!!ce.default.env.TERMINUS_SUBLIME||ce.default.env.ConEmuTask==="{cmd::Cmder}"||ce.default.env.TERM_PROGRAM==="Terminus-Sublime"||ce.default.env.TERM_PROGRAM==="vscode"||ce.default.env.TERM==="xterm-256color"||ce.default.env.TERM==="alacritty"||ce.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Ha={info:I.blue("\u2139"),success:I.green("\u2714"),warning:I.yellow("\u26A0"),error:I.red("\u2716")},$a={info:I.blue("i"),success:I.green("\u221A"),warning:I.yellow("\u203C"),error:I.red("\xD7")},Va=vt()?Ha:$a,wt=Va;D();D();function fn({onlyFirst:t=!1}={}){let i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,t?void 0:"g")}var qa=fn();function bt(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(qa,"")}D();var go=V(po(),1);D();var mo=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function hn(t,e){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,countAnsiEscapeCodes:!1,...e},e.countAnsiEscapeCodes||(t=bt(t)),t.length===0))return 0;let r=e.ambiguousIsNarrow?1:2,n=0;for(let{segment:i}of new Intl.Segmenter().segment(t)){let o=i.codePointAt(0);if(o<=31||o>=127&&o<=159||o>=768&&o<=879)continue;if(mo().test(i)){n+=2;continue}switch(go.default.eastAsianWidth(i)){case"F":case"W":{n+=2;break}case"A":{n+=r;break}default:n+=1}}return n}D();function Dn({stream:t=process.stdout}={}){return!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}D();var de=V(require("process"),1),Ss=V(require("readline"),1),As=V(bs(),1),Jf=3,Wn=class{#r=0;#c=new As.BufferListStream;#i;#n;constructor(){this.#c.pipe(de.default.stdout);let e=this;this.#i=function(r,n,...i){let{stdin:o}=de.default;if(e.#r>0||o.emit===e.#i){if(r==="keypress")return;r==="data"&&n.includes(Jf)&&de.default.emit("SIGINT"),Reflect.apply(e.#i,this,[r,n,...i])}else Reflect.apply(de.default.stdin.emit,this,[r,n,...i])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){de.default.platform!=="win32"&&(this.#n=Ss.default.createInterface({input:de.default.stdin,output:this.#c}),this.#n.on("SIGINT",()=>{de.default.listenerCount("SIGINT")===0?de.default.emit("SIGINT"):(this.#n.close(),de.default.kill(de.default.pid,"SIGINT"))}))}_realStop(){de.default.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}},Qf=new Wn,Gn=Qf;var ec=V(ln(),1),zn=class{#r=0;#c=!1;#i=0;#n=0;#e;#u;#t;#h;#d;#a;#l;#f;#p;#o;#s;color;constructor(e){typeof e=="string"&&(e={text:e}),this.#e={color:"cyan",stream:Mt.default.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#d=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:Dn({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.suffixText=this.#e.suffixText,this.indent=this.#e.indent,Mt.default.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#i}}))}get indent(){return this.#f}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=e,this.#D()}get interval(){return this.#d??this.#u.interval??100}get spinner(){return this.#u}set spinner(e){if(this.#n=0,this.#d=void 0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#u=e}else if(!vt())this.#u=Ut.default.line;else if(e===void 0)this.#u=Ut.default.dots;else if(e!=="default"&&Ut.default[e])this.#u=Ut.default[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(e=""){this.#p=e,this.#D()}get prefixText(){return this.#o}set prefixText(e=""){this.#o=e,this.#D()}get suffixText(){return this.#s}set suffixText(e=""){this.#s=e,this.#D()}get isSpinning(){return this.#h!==void 0}#m(e=this.#o,r=" "){return typeof e=="string"&&e!==""?e+r:typeof e=="function"?e()+r:""}#g(e=this.#s,r=" "){return typeof e=="string"&&e!==""?r+e:typeof e=="function"?r+e():""}#D(){let e=this.#t.columns??80,r=this.#m(this.#o,"-"),n=this.#g(this.#s,"-"),i=" ".repeat(this.#f)+r+"--"+this.#p+"--"+n;this.#i=0;for(let o of bt(i).split(`
|
|
30
|
-
`))this.#i+=Math.max(1,Math.ceil(
|
|
31
|
-
`),this)}stop(){return this.#a?(clearInterval(this.#h),this.#h=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&
|
|
32
|
-
`;return this.stop(),this.#t.write(d),this}};function Je(t){return new
|
|
33
|
-
`,"utf8")}catch{}};return{debug:a=>s("debug",a),info:a=>s("info",a),warn:a=>s("warn",a),error:a=>s("error",a)}}function oc(t,e){return`${new Date().toISOString()} [${t.toLowerCase()}] ${e}`}D();function Dt(t,e){if(!e||e.length===0)return null;if(t==="latest")return e[0];if(t==="oldest")return e[e.length-1];let r=e.find(n=>n.version===t);return r||(r=e.find(n=>n.version&&n.version.startsWith(t)),r)?r:null}D();var _r=require("fs");D();function je(){return process.platform==="darwin"&&process.arch==="arm64"}function we(){return process.platform==="win32"&&process.arch==="x64"}function Ts(){if(je())return"Mac_Arm";if(we())return"Win_x64";throw new Error(`Unsupported platform: ${process.platform} ${process.arch}`)}async function Bs(t){let e=Ts(),r=new URL("https://www.googleapis.com/storage/v1/b/chromium-browser-snapshots/o");r.searchParams.set("delimiter","/"),r.searchParams.set("prefix",`${e}/${t}/`),r.searchParams.set("fields","items(kind,mediaLink,metadata,name,size,updated),kind,prefixes,nextPageToken");let n=await fetch(r.toString());if(!n.ok)throw new Error(`Failed to fetch metadata for revision ${t}: ${n.statusText} (${n.status})`);let i=await n.json();if(!i.items||i.items.length===0)throw new Error(`No files found for revision ${t}`);return i}async function Is(t,e,r){let n=await fetch(t);if(!n.ok)throw new Error(`Failed to download: ${n.statusText}`);let i=parseInt(n.headers.get("content-length")||"0",10),o=0,s=(0,_r.createWriteStream)(e);if(!n.body)throw new Error("Response body is null");let a=n.body.getReader();try{for(;;){let{done:l,value:d}=await a.read();if(l)break;if(s.write(d),o+=d.length,r&&i>0){let c={downloaded:o,total:i,percentage:Math.round(o/i*100)};r(c)}}s.end(),await new Promise((l,d)=>{s.on("finish",()=>l()),s.on("error",d)})}catch(l){throw s.close(),l}}D();var ae=V(require("fs/promises"),1),Du=V(cu(),1),pe=require("fs"),le=require("path"),du=require("crypto");async function pu(t,e,r){await ae.default.mkdir(e,{recursive:!0});try{let i=new Du.default(t).getEntries(),o=0;for(let s of i){let a=(0,le.join)(e,s.entryName);if(s.isDirectory)await ae.default.mkdir(a,{recursive:!0});else{await ae.default.mkdir((0,le.dirname)(a),{recursive:!0});let l=s.getData();await ae.default.writeFile(a,l);let d=s.attr>>16&65535;d!==0&&await ae.default.chmod(a,d),o++,r&&r({extractedFiles:o})}}r&&o===0&&r({extractedFiles:0})}catch(n){throw new Error(`Failed to extract zip: ${n.message}`)}}async function mu(t,e,r){let n=(0,le.join)(r,"tmp",`install-${(0,du.randomBytes)(8).toString("hex")}`);try{await ae.default.mkdir(n,{recursive:!0});let i=await t(n);we()&&(i=ri(i)),await wc(i,e),await hu(n)}catch(i){throw(0,pe.existsSync)(n)&&await hu(n),i}}async function gu(t){if(!(0,pe.existsSync)(t))return!1;if(je()){let e=(0,le.join)(t,"Contents"),r=(0,le.join)(e,"MacOS");if(!(0,pe.existsSync)(e)||!(0,pe.existsSync)(r))return!1;try{let n=await ae.default.readdir(r);for(let i of n){let o=(0,le.join)(r,i);(await ae.default.stat(o)).isFile()&&await ae.default.chmod(o,493)}}catch(n){console.log("Error setting permissions:",n)}return!0}if(we()){let e=(0,le.join)(t,"chrome.exe"),r=(0,le.join)(t,"chrome-headless-shell.exe"),n=(0,le.join)(t,"chrome-win","chrome.exe");return!!((0,pe.existsSync)(e)||(0,pe.existsSync)(r)||(0,pe.existsSync)(n))}return!1}async function Eu(t){if(!(0,pe.existsSync)(t))throw new Error(`Directory does not exist: ${t}`);let e=0;async function r(n){let i=await ae.default.stat(n);if(i.isDirectory()){let o=await ae.default.readdir(n);for(let s of o)await r((0,le.join)(n,s))}else e+=i.size}return await r(t),e}async function wc(t,e){try{await ae.default.rename(t,e)}catch{await ae.default.cp(t,e,{recursive:!0}),await ae.default.rm(t,{recursive:!0,force:!0})}}async function hu(t){(0,pe.existsSync)(t)&&await ae.default.rm(t,{recursive:!0,force:!0})}function ri(t){let e=(0,le.join)(t,"chrome.exe"),r=(0,le.join)(t,"chrome-win","chrome.exe");return(0,pe.existsSync)(e)?t:(0,pe.existsSync)(r)?(0,le.join)(t,"chrome-win"):t}D();var Wu=V(qu(),1),Gu=require("path"),zu=require("fs"),Zu=V(require("fs/promises"),1);async function th(t,e={}){let{timeout:r=5e3,staleTimeout:n=6e4}=e,i=(0,Gu.join)(t,"chvm.lock");(0,zu.existsSync)(i)||await Zu.default.writeFile(i,JSON.stringify({pid:process.pid,timestamp:Date.now()}),"utf8");try{return await Wu.default.lock(i,{retries:{retries:Math.floor(r/100),minTimeout:100,maxTimeout:1e3},stale:n,realpath:!1})}catch(o){throw new Error(`Failed to acquire lock: ${o.message}`)}}async function rh(t){typeof t=="function"&&await t()}async function Ir(t,e,r={}){let n=await th(t,r);try{return await e()}finally{await rh(n)}}async function nh(t,e){try{let r=Ce();await ye(r);let n=Os({chvmHome:r,level:e.quiet?"error":"info"});await Ir(r,async()=>{let i=await Ie(r);if(i.length===0)throw new Error('No versions available. Please run "chvm update" first.');let o=Dt(t,i);if(!o)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let s=String(o.chromium_main_branch_position),a=o.version||`Revision ${s}`;console.log(I.blue(`Resolving '${t}' -> ${a} (revision: ${s})`));let l=await Fe(r),d=o.version||s;if(l[d]){console.log(I.yellow(`Version ${a} is already installed.`));return}let c=Je("Fetching revision metadata...").start(),F=await Bs(s),y="";if(we())y="chrome-win.zip";else if(je())y="chrome-mac.zip";else throw new Error("Unsupported platform");let f=F.items.find(C=>C.name.includes(y));if(!f)throw new Error(`${y} not found in revision`);c.text=`Downloading Chromium ${a}...`;let h=(0,Be.join)(r,"tmp",`chrome-${s}.zip`);await $t.default.mkdir((0,Be.join)(r,"tmp"),{recursive:!0}),await Is(f.mediaLink,h,C=>{c.text=`Downloading: ${C.percentage}% (${Math.round(C.downloaded/1024/1024)}MB / ${Math.round(C.total/1024/1024)}MB)`}),c.text="Extracting...";let m=(0,Be.join)(r,"installs",we()?d:`${d}.app`);if(await mu(async C=>{let u=(0,Be.join)(C,"extracted");c.text="Extracting zip...",await pu(h,u,_=>{c.text=`Extracting: ${_.extractedFiles} files...`}),c.text="Looking for executable/bundle...";let E=await $t.default.readdir(u);if(console.log("Extracted files:",E.slice(0,10).join(", ")),we()){let _=E.find(b=>b==="chrome-win"||b.includes("chrome-win"));if(_)return(0,Be.join)(u,_);if(E.includes("chrome.exe"))return u;throw new Error("chrome.exe or chrome-win folder not found")}else if(je()){let _=E.find(b=>b.endsWith(".app"));if(!_){let b=(0,Be.join)(u,"chrome-mac");if((0,Yu.existsSync)(b)){let R=(await $t.default.readdir(b)).find(v=>v.endsWith(".app"));if(R)return(0,Be.join)(b,R)}throw new Error("App bundle not found in extracted files")}return(0,Be.join)(u,_)}throw new Error("Unsupported platform")},m,r),await $t.default.unlink(h).catch(()=>{}),c.text="Verifying installation...",!await gu(m))throw new Error("Installation verification failed: Invalid app bundle structure");let g=await Eu(m);await Yi(r,{version:d,revision:s,path:m,size:g}),c.succeed(I.green(`Installed ${a} to ${m}`)),n.info(`Installed version ${a}`)},{timeout:6e5})}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function di(t){t.command("install <version>").alias("i").description("Install a specific Chromium version").option("--no-cache","Skip cache and download fresh").option("--quiet","Minimal output").action(nh)}D();var Lr=require("child_process"),Ku=require("util"),Xu=V(require("fs/promises"),1),pi=require("fs"),Rr=require("path");var ih=(0,Ku.promisify)(Lr.exec);async function oh(t,e){try{let r=Ce();await ye(r);let n=await Fe(r),i=await Ie(r),o=null;if(n[t])o={version:t,...n[t]};else{let l=Dt(t,i);if(!l)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let d=String(l.chromium_main_branch_position),c=l.version;if(n[c])o={version:c,...n[c]};else{console.log(I.blue(`${l.version} not installed. Installing...`)),await ih(`node ${process.argv[1]} install ${d}`);let F=await Fe(r);o={version:c,...F[c]}}}if(!o)throw new Error("Failed to prepare version for opening");e.disableCors&&console.log(I.yellow("\u26A0\uFE0F WARNING: Running with --disable-web-security. This is insecure and should only be used for development."));let s=(0,Rr.join)(r,"profiles",o.version);await Xu.default.mkdir(s,{recursive:!0});let a=[`--user-data-dir=${s}`];if(e.disableCors&&a.push("--disable-web-security"),console.log(I.green(`Opening Chromium ${o.version}...`)),je()){let l=(0,Rr.join)(o.path,"Contents","MacOS","Chromium");if(!(0,pi.existsSync)(l))throw new Error(`Chromium executable not found at ${l}`);let d=`open -a "${o.path}" --args ${a.join(" ")}`;(0,Lr.exec)(d,c=>{c&&(console.error(I.red(`Failed to open: ${c.message}`)),process.exit(1))});return}if(we()){let l=ri(o.path),d=(0,Rr.join)(l,"chrome.exe");if(!(0,pi.existsSync)(d))throw new Error(`chrome.exe not found at ${d}`);let c=`"${d}" ${a.join(" ")}`;(0,Lr.exec)(c,F=>{F&&console.error(I.red(`Failed to open: ${F.message}`))});return}throw new Error("Unsupported platform")}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function mi(t){t.command("open <version>").description("Open a specific Chromium version").option("--disable-cors","Disable CORS (useful for development)").action(oh)}D();var Nr=V(require("fs/promises"),1),Pr=require("fs"),gi=require("path");async function sh(t,e){try{let r=Ce();await ye(r),await Ir(r,async()=>{let n=await Fe(r),i=await Ie(r),o=t;if(!n[t]){let c=Dt(t,i);if(c&&c.version&&n[c.version])o=c.version;else throw new Error(`Version "${t}" is not installed.`)}let s=n[o],a=Je(`Uninstalling ${o}...`).start();(0,Pr.existsSync)(s.path)&&(await Nr.default.rm(s.path,{recursive:!0,force:!0}),a.text="Removed app bundle...");let l=(0,gi.join)(r,"profiles",o);(0,Pr.existsSync)(l)&&(await Nr.default.rm(l,{recursive:!0,force:!0}),a.text="Removed profile...");let d=(0,gi.join)(r,"tmp",o);(0,Pr.existsSync)(d)&&await Nr.default.rm(d,{recursive:!0,force:!0}),await Ki(r,o),a.succeed(I.green(`Uninstalled ${o}`))})}catch(r){console.error(I.red(`Error: ${r.message}`)),process.exit(1)}}function Ei(t){t.command("uninstall <version>").description("Uninstall a specific Chromium version").option("--force","Force uninstall even if running").action(sh)}var Ju={name:"chvm",version:"1.2.2",description:"Chromium Version Manager - Manage and run multiple Chromium versions on macOS ARM",type:"module",main:"./dist/cli.cjs",bin:{chvm:"./dist/cli.cjs"},scripts:{"manifest:fetch-versions":"tsx ./src/manifest/fetch-versions.ts",build:"tsup","build:watch":"tsup --watch",clean:"rimraf dist",prebuild:"npm run clean",prepublishOnly:"npm run build",test:"cross-env NODE_OPTIONS=--experimental-vm-modules jest","test:watch":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch","test:e2e":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/e2e/**/*.test.ts'","test:unit":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/unit/**/*.test.ts'","test:coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage","semantic-release":"semantic-release"},keywords:["chrome","chromium","version-manager","macos","arm","cli"],author:"Amir Kabiri <akabiridev@gmail.com>",repository:{type:"git",url:"https://github.com/amirkabiri/chvm.git"},license:"MIT",engines:{node:">=20.0.0"},files:["dist/cli.cjs","README.md","package.json","CHANGELOG.md"],devDependencies:{"@jest/globals":"^29.7.0","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.1","@semantic-release/npm":"^13.1.1","@types/adm-zip":"^0.5.7","@types/node":"^20.0.0","@types/proper-lockfile":"^4.1.4","adm-zip":"^0.5.16",chalk:"^5.3.0","cli-progress":"^3.12.0",commander:"^11.1.0","conventional-changelog-conventionalcommits":"^9.1.0","cross-env":"^10.1.0",jest:"^29.7.0",ora:"^7.0.1",prettier:"^3.6.2","proper-lockfile":"^4.1.2",rimraf:"^6.1.2","semantic-release":"^25.0.2","ts-jest":"^29.1.0",tsup:"^8.5.1",tsx:"^4.21.0",typescript:"^5.3.0"}};var be=new Ni;be.name("chvm").description("Chromium Version Manager - Manage multiple Chromium versions on macOS ARM").version(Ju.version);be.command("help",{isDefault:!1}).description("Show help information").action(()=>{be.outputHelp()});tn(be);Zn(be);di(be);mi(be);Ei(be);process.argv.length===2&&(be.outputHelp(),process.exit(0));be.parse();
|
|
29
|
+
`)),console.log(B.gray("VERSION CHANNEL STATUS")),console.log(B.gray("\u2500".repeat(60)));for(let i of r){let s=n[i.version]?B.green("* installed"):"";console.log(`${i.version.split(".")[0]} ${i.channel} ${s}`)}console.log()}}catch(e){console.error(B.red(`Error: ${e.message}`)),process.exit(1)}}function en(t){t.command("ls").description("List available and installed Chromium versions").option("--json","Output in JSON format").action(ka)}D();D();var Mt=V(require("process"),1);D();var sn=V(require("process"),1);D();var uo=V(require("process"),1),ao=V(to(),1),lo=V(on(),1),Ha=(0,ao.default)(()=>{(0,lo.default)(()=>{uo.default.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),fo=Ha;var rr=!1,at={};at.show=(t=sn.default.stderr)=>{t.isTTY&&(rr=!1,t.write("\x1B[?25h"))};at.hide=(t=sn.default.stderr)=>{t.isTTY&&(fo(),rr=!0,t.write("\x1B[?25l"))};at.toggle=(t,e)=>{t!==void 0&&(rr=t),rr?at.show(e):at.hide(e)};var un=at;var Ut=V(an(),1);D();D();var ce=V(require("process"),1);function vt(){return ce.default.platform!=="win32"?ce.default.env.TERM!=="linux":!!ce.default.env.CI||!!ce.default.env.WT_SESSION||!!ce.default.env.TERMINUS_SUBLIME||ce.default.env.ConEmuTask==="{cmd::Cmder}"||ce.default.env.TERM_PROGRAM==="Terminus-Sublime"||ce.default.env.TERM_PROGRAM==="vscode"||ce.default.env.TERM==="xterm-256color"||ce.default.env.TERM==="alacritty"||ce.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Va={info:B.blue("\u2139"),success:B.green("\u2714"),warning:B.yellow("\u26A0"),error:B.red("\u2716")},qa={info:B.blue("i"),success:B.green("\u221A"),warning:B.yellow("\u203C"),error:B.red("\xD7")},Wa=vt()?Va:qa,wt=Wa;D();D();function ln({onlyFirst:t=!1}={}){let i="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(i,t?void 0:"g")}var Ga=ln();function bt(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(Ga,"")}D();var Eo=V(mo(),1);D();var go=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\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?|[\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](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function cn(t,e){if(typeof t!="string"||t.length===0||(e={ambiguousIsNarrow:!0,countAnsiEscapeCodes:!1,...e},e.countAnsiEscapeCodes||(t=bt(t)),t.length===0))return 0;let r=e.ambiguousIsNarrow?1:2,n=0;for(let{segment:i}of new Intl.Segmenter().segment(t)){let o=i.codePointAt(0);if(o<=31||o>=127&&o<=159||o>=768&&o<=879)continue;if(go().test(i)){n+=2;continue}switch(Eo.default.eastAsianWidth(i)){case"F":case"W":{n+=2;break}case"A":{n+=r;break}default:n+=1}}return n}D();function hn({stream:t=process.stdout}={}){return!!(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}D();var de=V(require("process"),1),As=V(require("readline"),1),Os=V(Ss(),1),ec=3,qn=class{#r=0;#c=new Os.BufferListStream;#i;#n;constructor(){this.#c.pipe(de.default.stdout);let e=this;this.#i=function(r,n,...i){let{stdin:o}=de.default;if(e.#r>0||o.emit===e.#i){if(r==="keypress")return;r==="data"&&n.includes(ec)&&de.default.emit("SIGINT"),Reflect.apply(e.#i,this,[r,n,...i])}else Reflect.apply(de.default.stdin.emit,this,[r,n,...i])}}start(){this.#r++,this.#r===1&&this._realStart()}stop(){if(this.#r<=0)throw new Error("`stop` called more times than `start`");this.#r--,this.#r===0&&this._realStop()}_realStart(){de.default.platform!=="win32"&&(this.#n=As.default.createInterface({input:de.default.stdin,output:this.#c}),this.#n.on("SIGINT",()=>{de.default.listenerCount("SIGINT")===0?de.default.emit("SIGINT"):(this.#n.close(),de.default.kill(de.default.pid,"SIGINT"))}))}_realStop(){de.default.platform!=="win32"&&(this.#n.close(),this.#n=void 0)}},tc=new qn,Wn=tc;var rc=V(an(),1),Gn=class{#r=0;#c=!1;#i=0;#n=0;#e;#u;#t;#h;#d;#a;#l;#f;#p;#o;#s;color;constructor(e){typeof e=="string"&&(e={text:e}),this.#e={color:"cyan",stream:Mt.default.stderr,discardStdin:!0,hideCursor:!0,...e},this.color=this.#e.color,this.spinner=this.#e.spinner,this.#d=this.#e.interval,this.#t=this.#e.stream,this.#a=typeof this.#e.isEnabled=="boolean"?this.#e.isEnabled:hn({stream:this.#t}),this.#l=typeof this.#e.isSilent=="boolean"?this.#e.isSilent:!1,this.text=this.#e.text,this.prefixText=this.#e.prefixText,this.suffixText=this.#e.suffixText,this.indent=this.#e.indent,Mt.default.env.NODE_ENV==="test"&&(this._stream=this.#t,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#r},set(r){this.#r=r}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#n}}),Object.defineProperty(this,"_lineCount",{get(){return this.#i}}))}get indent(){return this.#f}set indent(e=0){if(!(e>=0&&Number.isInteger(e)))throw new Error("The `indent` option must be an integer from 0 and up");this.#f=e,this.#D()}get interval(){return this.#d??this.#u.interval??100}get spinner(){return this.#u}set spinner(e){if(this.#n=0,this.#d=void 0,typeof e=="object"){if(e.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#u=e}else if(!vt())this.#u=Ut.default.line;else if(e===void 0)this.#u=Ut.default.dots;else if(e!=="default"&&Ut.default[e])this.#u=Ut.default[e];else throw new Error(`There is no built-in spinner named '${e}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(e=""){this.#p=e,this.#D()}get prefixText(){return this.#o}set prefixText(e=""){this.#o=e,this.#D()}get suffixText(){return this.#s}set suffixText(e=""){this.#s=e,this.#D()}get isSpinning(){return this.#h!==void 0}#m(e=this.#o,r=" "){return typeof e=="string"&&e!==""?e+r:typeof e=="function"?e()+r:""}#g(e=this.#s,r=" "){return typeof e=="string"&&e!==""?r+e:typeof e=="function"?r+e():""}#D(){let e=this.#t.columns??80,r=this.#m(this.#o,"-"),n=this.#g(this.#s,"-"),i=" ".repeat(this.#f)+r+"--"+this.#p+"--"+n;this.#i=0;for(let o of bt(i).split(`
|
|
30
|
+
`))this.#i+=Math.max(1,Math.ceil(cn(o,{countAnsiEscapeCodes:!0})/e))}get isEnabled(){return this.#a&&!this.#l}set isEnabled(e){if(typeof e!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=e}get isSilent(){return this.#l}set isSilent(e){if(typeof e!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#l=e}frame(){let{frames:e}=this.#u,r=e[this.#n];this.color&&(r=B[this.color](r)),this.#n=++this.#n%e.length;let n=typeof this.#o=="string"&&this.#o!==""?this.#o+" ":"",i=typeof this.text=="string"?" "+this.text:"",o=typeof this.#s=="string"&&this.#s!==""?" "+this.#s:"";return n+r+i+o}clear(){if(!this.#a||!this.#t.isTTY)return this;this.#t.cursorTo(0);for(let e=0;e<this.#r;e++)e>0&&this.#t.moveCursor(0,-1),this.#t.clearLine(1);return(this.#f||this.lastIndent!==this.#f)&&this.#t.cursorTo(this.#f),this.lastIndent=this.#f,this.#r=0,this}render(){return this.#l?this:(this.clear(),this.#t.write(this.frame()),this.#r=this.#i,this)}start(e){return e&&(this.text=e),this.#l?this:this.#a?this.isSpinning?this:(this.#e.hideCursor&&un.hide(this.#t),this.#e.discardStdin&&Mt.default.stdin.isTTY&&(this.#c=!0,Wn.start()),this.render(),this.#h=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#t.write(`- ${this.text}
|
|
31
|
+
`),this)}stop(){return this.#a?(clearInterval(this.#h),this.#h=void 0,this.#n=0,this.clear(),this.#e.hideCursor&&un.show(this.#t),this.#e.discardStdin&&Mt.default.stdin.isTTY&&this.#c&&(Wn.stop(),this.#c=!1),this):this}succeed(e){return this.stopAndPersist({symbol:wt.success,text:e})}fail(e){return this.stopAndPersist({symbol:wt.error,text:e})}warn(e){return this.stopAndPersist({symbol:wt.warning,text:e})}info(e){return this.stopAndPersist({symbol:wt.info,text:e})}stopAndPersist(e={}){if(this.#l)return this;let r=e.prefixText??this.#o,n=this.#m(r," "),i=e.symbol??" ",o=e.text??this.text,s=typeof o=="string"?" "+o:"",a=e.suffixText??this.#s,l=this.#g(a," "),d=n+i+s+l+`
|
|
32
|
+
`;return this.stop(),this.#t.write(d),this}};function Je(t){return new Gn(t)}var pe=require("fs/promises"),kt=require("path"),nc=3600*1e3;function ic(){let t=process.platform,e=process.arch;if(t==="linux")return e==="x64"?"linux_x64":e==="arm"||e==="arm64"?"linux_arm":"linux";if(t==="darwin")return e==="arm64"?"mac_arm":"mac";if(t==="win32")return e==="x64"?"win_x64":e==="arm64"?"win_arm64":e==="ia32"?"win32":"win";throw new Error(`Your platform is not supported yet: ${t} ${e}`)}function Ts(t){return Array.isArray(t)&&t.every(e=>{if(typeof e!="object"||e===null)return!1;let r=e,n=r.chromium_main_branch_position;return typeof r.version=="string"&&/^\d+\.\d+\.\d+\.\d+$/.test(r.version)&&typeof r.channel=="string"&&(n===null||typeof n=="number"&&Number.isSafeInteger(n)&&n>0)})}async function oc(t){try{let e=await(0,pe.stat)(t),r=Date.now()-e.mtimeMs;if(!e.isFile()||r<0||r>=nc)return;let n=JSON.parse(await(0,pe.readFile)(t,"utf8"));return Ts(n)?n.length:void 0}catch{return}}async function sc(t,e){let r=await(0,pe.mkdtemp)((0,kt.join)(t,".manifest-")),n=(0,kt.join)(r,"available.json");try{await(0,pe.writeFile)(n,JSON.stringify(e,null,2),"utf8"),await(0,pe.rename)(n,(0,kt.join)(t,"available.json"))}finally{await(0,pe.rm)(r,{recursive:!0,force:!0}).catch(()=>{})}}async function uc(t){try{let e=Ce();if(await ye(e),!t.force){let n=await oc((0,kt.join)(e,"available.json"));if(n!==void 0){console.log(B.green(`Using cached list (${n} versions). Use --force to refresh.`));return}}let r=Je("Fetching available Chromium versions...").start();try{let n=await fetch(`https://raw.githubusercontent.com/amirkabiri/chvm/refs/heads/main/public/manifest/${ic()}.json`,t.force?{headers:{"Cache-Control":"no-cache"}}:void 0);if(!n.ok)throw new Error(`HTTP ${n.status}: ${n.statusText}`);let i=await n.json();if(!Ts(i))throw new Error("Invalid Chromium version manifest");await sc(e,i),r.succeed(B.green(`Updated! ${i.length} versions available.`))}catch(n){throw r.fail(B.red(`Failed to update: ${n.message}`)),n}}catch(e){console.error(B.red(`Error: ${e.message}`)),process.exit(1)}}function zn(t){t.command("update").description("Update the list of available Chromium versions").option("--force","Force update, bypass cache").action(uc)}D();var Vt=V(require("fs/promises"),1),Xu=require("fs"),Ie=require("path");D();var Qe=require("fs"),Yn=require("path"),Zn={debug:0,info:1,warn:2,error:3};function Bs(t){let{chvmHome:e,level:r="info"}=t,n=Zn[r]||Zn.info,i=(0,Yn.join)(e,"logs"),o=(0,Yn.join)(i,"chvm.log");(0,Qe.existsSync)(i)||(0,Qe.mkdirSync)(i,{recursive:!0});let s=(a,l)=>{if(Zn[a]<n)return;let d=ac(a,l);try{(0,Qe.appendFileSync)(o,d+`
|
|
33
|
+
`,"utf8")}catch{}};return{debug:a=>s("debug",a),info:a=>s("info",a),warn:a=>s("warn",a),error:a=>s("error",a)}}function ac(t,e){return`${new Date().toISOString()} [${t.toLowerCase()}] ${e}`}D();function Dt(t,e){if(!e||e.length===0)return null;if(t==="latest")return e[0];if(t==="oldest")return e[e.length-1];let r=e.find(n=>n.version===t);return r||/^[1-9]\d*$/.test(t)&&(r=e.find(n=>n.chromium_main_branch_position?.toString()===t),r)||(r=e.find(n=>n.version&&n.version.startsWith(t)),r)?r:null}D();var _r=require("fs");D();function je(){return process.platform==="darwin"&&process.arch==="arm64"}function be(){return process.platform==="win32"&&process.arch==="x64"}function Is(){if(je())return"Mac_Arm";if(be())return"Win_x64";throw new Error(`Unsupported platform: ${process.platform} ${process.arch}`)}async function Rs(t){let e=Is(),r=new URL("https://www.googleapis.com/storage/v1/b/chromium-browser-snapshots/o");r.searchParams.set("delimiter","/"),r.searchParams.set("prefix",`${e}/${t}/`),r.searchParams.set("fields","items(kind,mediaLink,metadata,name,size,updated),kind,prefixes,nextPageToken");let n=await fetch(r.toString());if(!n.ok)throw new Error(`Failed to fetch metadata for revision ${t}: ${n.statusText} (${n.status})`);let i=await n.json();if(!i.items||i.items.length===0)throw new Error(`No files found for revision ${t}`);return i}async function Ls(t,e,r){let n=await fetch(t);if(!n.ok)throw new Error(`Failed to download: ${n.statusText}`);let i=parseInt(n.headers.get("content-length")||"0",10),o=0,s=(0,_r.createWriteStream)(e);if(!n.body)throw new Error("Response body is null");let a=n.body.getReader();try{for(;;){let{done:l,value:d}=await a.read();if(l)break;if(s.write(d),o+=d.length,r&&i>0){let h={downloaded:o,total:i,percentage:Math.round(o/i*100)};r(h)}}s.end(),await new Promise((l,d)=>{s.on("finish",()=>l()),s.on("error",d)})}catch(l){throw s.close(),l}}D();var ae=V(require("fs/promises"),1),pu=V(Du(),1),me=require("fs"),le=require("path"),mu=require("crypto");async function gu(t,e,r){await ae.default.mkdir(e,{recursive:!0});try{let i=new pu.default(t).getEntries(),o=0;for(let s of i){let a=(0,le.join)(e,s.entryName);if(s.isDirectory)await ae.default.mkdir(a,{recursive:!0});else{await ae.default.mkdir((0,le.dirname)(a),{recursive:!0});let l=s.getData();await ae.default.writeFile(a,l);let d=s.attr>>16&65535;d!==0&&await ae.default.chmod(a,d),o++,r&&r({extractedFiles:o})}}r&&o===0&&r({extractedFiles:0})}catch(n){throw new Error(`Failed to extract zip: ${n.message}`)}}async function Eu(t,e,r){let n=(0,le.join)(r,"tmp",`install-${(0,mu.randomBytes)(8).toString("hex")}`);try{await ae.default.mkdir(n,{recursive:!0});let i=await t(n);be()&&(i=ti(i)),await Ac(i,e),await du(n)}catch(i){throw(0,me.existsSync)(n)&&await du(n),i}}async function Fu(t){if(!(0,me.existsSync)(t))return!1;if(je()){let e=(0,le.join)(t,"Contents"),r=(0,le.join)(e,"MacOS");if(!(0,me.existsSync)(e)||!(0,me.existsSync)(r))return!1;try{let n=await ae.default.readdir(r);for(let i of n){let o=(0,le.join)(r,i);(await ae.default.stat(o)).isFile()&&await ae.default.chmod(o,493)}}catch(n){console.log("Error setting permissions:",n)}return!0}if(be()){let e=(0,le.join)(t,"chrome.exe"),r=(0,le.join)(t,"chrome-headless-shell.exe"),n=(0,le.join)(t,"chrome-win","chrome.exe");return!!((0,me.existsSync)(e)||(0,me.existsSync)(r)||(0,me.existsSync)(n))}return!1}async function _u(t){if(!(0,me.existsSync)(t))throw new Error(`Directory does not exist: ${t}`);let e=0;async function r(n){let i=await ae.default.stat(n);if(i.isDirectory()){let o=await ae.default.readdir(n);for(let s of o)await r((0,le.join)(n,s))}else e+=i.size}return await r(t),e}async function Ac(t,e){try{await ae.default.rename(t,e)}catch{await ae.default.cp(t,e,{recursive:!0}),await ae.default.rm(t,{recursive:!0,force:!0})}}async function du(t){(0,me.existsSync)(t)&&await ae.default.rm(t,{recursive:!0,force:!0})}function ti(t){let e=(0,le.join)(t,"chrome.exe"),r=(0,le.join)(t,"chrome-win","chrome.exe");return(0,me.existsSync)(e)?t:(0,me.existsSync)(r)?(0,le.join)(t,"chrome-win"):t}D();var zu=V(Gu(),1),Zu=require("path"),Yu=require("fs"),Ku=V(require("fs/promises"),1);async function ih(t,e={}){let{timeout:r=5e3,staleTimeout:n=6e4}=e,i=(0,Zu.join)(t,"chvm.lock");(0,Yu.existsSync)(i)||await Ku.default.writeFile(i,JSON.stringify({pid:process.pid,timestamp:Date.now()}),"utf8");try{return await zu.default.lock(i,{retries:{retries:Math.floor(r/100),minTimeout:100,maxTimeout:1e3},stale:n,realpath:!1})}catch(o){throw new Error(`Failed to acquire lock: ${o.message}`)}}async function oh(t){typeof t=="function"&&await t()}async function Ir(t,e,r={}){let n=await ih(t,r);try{return await e()}finally{await oh(n)}}async function Di(t,e){let r=Ce();await ye(r);let n=Bs({chvmHome:r,level:e.quiet?"error":"info"});return Ir(r,async()=>{let i=await Re(r);if(i.length===0)throw new Error('No versions available. Please run "chvm update" first.');let o=Dt(t,i);if(!o)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);let s=o.chromium_main_branch_position;if(!Number.isSafeInteger(s)||s===null||s<=0)throw new Error(`No Chromium snapshot revision is available for ${o.version}.`);let a=String(s),l=o.version||`Revision ${a}`;console.log(B.blue(`Resolving '${t}' -> ${l} (revision: ${a})`));let d=await xe(r),h=o.version||a;if(Object.hasOwn(d,h)){let{path:u}=d[h];if(typeof u!="string"||!u)throw new Error(`Installed version ${l} has no browser path.`);return console.log(B.yellow(`Version ${l} is already installed.`)),{version:h,path:u}}let F=Je("Fetching revision metadata...").start(),y=await Rs(a),f="";if(be())f="chrome-win.zip";else if(je())f="chrome-mac.zip";else throw new Error("Unsupported platform");let c=y.items.find(u=>u.name.includes(f));if(!c)throw new Error(`${f} not found in revision`);F.text=`Downloading Chromium ${l}...`;let m=(0,Ie.join)(r,"tmp",`chrome-${a}.zip`);await Vt.default.mkdir((0,Ie.join)(r,"tmp"),{recursive:!0}),await Ls(c.mediaLink,m,u=>{F.text=`Downloading: ${u.percentage}% (${Math.round(u.downloaded/1024/1024)}MB / ${Math.round(u.total/1024/1024)}MB)`}),F.text="Extracting...";let p=(0,Ie.join)(r,"installs",be()?h:`${h}.app`);if(await Eu(async u=>{let E=(0,Ie.join)(u,"extracted");F.text="Extracting zip...",await gu(m,E,S=>{F.text=`Extracting: ${S.extractedFiles} files...`}),F.text="Looking for executable/bundle...";let _=await Vt.default.readdir(E);if(console.log("Extracted files:",_.slice(0,10).join(", ")),be()){let S=_.find(v=>v==="chrome-win"||v.includes("chrome-win"));if(S)return(0,Ie.join)(E,S);if(_.includes("chrome.exe"))return E;throw new Error("chrome.exe or chrome-win folder not found")}else if(je()){let S=_.find(v=>v.endsWith(".app"));if(!S){let v=(0,Ie.join)(E,"chrome-mac");if((0,Xu.existsSync)(v)){let w=(await Vt.default.readdir(v)).find(T=>T.endsWith(".app"));if(w)return(0,Ie.join)(v,w)}throw new Error("App bundle not found in extracted files")}return(0,Ie.join)(E,S)}throw new Error("Unsupported platform")},p,r),await Vt.default.unlink(m).catch(()=>{}),F.text="Verifying installation...",!await Fu(p))throw new Error("Installation verification failed: Invalid app bundle structure");let C=await _u(p);return await Ki(r,{version:h,revision:a,path:p,size:C}),F.succeed(B.green(`Installed ${l} to ${p}`)),n.info(`Installed version ${l}`),{version:h,path:p}},{timeout:6e5})}async function sh(t,e){try{await Di(t,e)}catch(r){console.error(B.red(`Error: ${r.message}`)),process.exit(1)}}function di(t){t.command("install <version>").alias("i").description("Install a specific Chromium version").option("--no-cache","Skip cache and download fresh").option("--quiet","Minimal output").action(sh)}D();var pi=require("child_process"),Qu=V(require("fs/promises"),1),mi=require("fs"),Rr=require("path");D();async function Ju(t,e,r,n){function i(a){if(!Object.hasOwn(e,a))return;let l=e[a]?.path;if(typeof l!="string"||!l)throw new Error(`Installed version ${a} has no browser path.`);return{version:a,path:l}}let o=i(t);if(o)return o;let s=Dt(t,await r());if(!s)throw new Error(`Version "${t}" not found. Run "chvm ls" to see available versions.`);return i(s.version)??n(s.version)}async function uh(t,e){try{let r=Ce();await ye(r);let n=await xe(r),i=await Ju(t,n,()=>Re(r),async a=>(console.log(B.blue(`${a} not installed. Installing...`)),Di(a,{})));e.disableCors&&console.log(B.yellow("\u26A0\uFE0F WARNING: Running with --disable-web-security. This is insecure and should only be used for development."));let o=(0,Rr.join)(r,"profiles",i.version);await Qu.default.mkdir(o,{recursive:!0});let s=[`--user-data-dir=${o}`];if(e.disableCors&&s.push("--disable-web-security"),console.log(B.green(`Opening Chromium ${i.version}...`)),je()){let a=(0,Rr.join)(i.path,"Contents","MacOS","Chromium");if(!(0,mi.existsSync)(a))throw new Error(`Chromium executable not found at ${a}`);let l=`open -a "${i.path}" --args ${s.join(" ")}`;(0,pi.exec)(l,d=>{d&&(console.error(B.red(`Failed to open: ${d.message}`)),process.exit(1))});return}if(be()){let a=ti(i.path),l=(0,Rr.join)(a,"chrome.exe");if(!(0,mi.existsSync)(l))throw new Error(`chrome.exe not found at ${l}`);let d=`"${l}" ${s.join(" ")}`;(0,pi.exec)(d,h=>{h&&console.error(B.red(`Failed to open: ${h.message}`))});return}throw new Error("Unsupported platform")}catch(r){console.error(B.red(`Error: ${r.message}`)),process.exit(1)}}function gi(t){t.command("open <version>").description("Open a specific Chromium version").option("--disable-cors","Disable CORS (useful for development)").action(uh)}D();var Lr=V(require("fs/promises"),1),Nr=require("fs"),Ei=require("path");async function ah(t,e){try{let r=Ce();await ye(r),await Ir(r,async()=>{let n=await xe(r),i=await Re(r),o=t;if(!n[t]){let h=Dt(t,i);if(h&&h.version&&n[h.version])o=h.version;else throw new Error(`Version "${t}" is not installed.`)}let s=n[o],a=Je(`Uninstalling ${o}...`).start();(0,Nr.existsSync)(s.path)&&(await Lr.default.rm(s.path,{recursive:!0,force:!0}),a.text="Removed app bundle...");let l=(0,Ei.join)(r,"profiles",o);(0,Nr.existsSync)(l)&&(await Lr.default.rm(l,{recursive:!0,force:!0}),a.text="Removed profile...");let d=(0,Ei.join)(r,"tmp",o);(0,Nr.existsSync)(d)&&await Lr.default.rm(d,{recursive:!0,force:!0}),await Xi(r,o),a.succeed(B.green(`Uninstalled ${o}`))})}catch(r){console.error(B.red(`Error: ${r.message}`)),process.exit(1)}}function Fi(t){t.command("uninstall <version>").description("Uninstall a specific Chromium version").option("--force","Force uninstall even if running").action(ah)}var ea={name:"chvm",version:"1.2.4",description:"Chromium Version Manager - Manage and run multiple Chromium versions on macOS ARM",type:"module",main:"./dist/cli.cjs",bin:{chvm:"./dist/cli.cjs"},scripts:{"manifest:fetch-versions":"tsx ./src/manifest/fetch-versions.ts",build:"tsup","build:watch":"tsup --watch",clean:"rimraf dist",prebuild:"npm run clean",prepublishOnly:"npm run build",test:"cross-env NODE_OPTIONS=--experimental-vm-modules jest","test:pack":"node scripts/check-packed-cli.mjs","test:watch":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch","test:e2e":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/e2e/**/*.test.ts'","test:unit":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --testMatch='**/tests/unit/**/*.test.ts'","test:coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage","semantic-release":"semantic-release"},keywords:["chrome","chromium","version-manager","macos","arm","cli"],author:"Amir Kabiri <akabiridev@gmail.com>",repository:{type:"git",url:"https://github.com/amirkabiri/chvm.git"},license:"MIT",engines:{node:">=20.0.0"},files:["dist/cli.cjs","README.md","package.json","CHANGELOG.md"],devDependencies:{"@jest/globals":"^29.7.0","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.1","@semantic-release/npm":"^13.1.1","@types/adm-zip":"^0.5.7","@types/node":"^20.0.0","@types/proper-lockfile":"^4.1.4","adm-zip":"^0.5.16",chalk:"^5.3.0","cli-progress":"^3.12.0",commander:"^11.1.0","conventional-changelog-conventionalcommits":"^9.1.0","cross-env":"^10.1.0",jest:"^29.7.0",ora:"^7.0.1",prettier:"^3.6.2","proper-lockfile":"^4.1.2",rimraf:"^6.1.2","semantic-release":"^25.0.2","ts-jest":"^29.1.0",tsup:"^8.5.1",tsx:"^4.21.0",typescript:"^5.3.0"}};var Se=new Pi;Se.name("chvm").description("Chromium Version Manager - Manage multiple Chromium versions on macOS ARM").version(ea.version);Se.command("help",{isDefault:!1}).description("Show help information").action(()=>{Se.outputHelp()});en(Se);zn(Se);di(Se);gi(Se);Fi(Se);process.argv.length===2&&(Se.outputHelp(),process.exit(0));Se.parse();
|
|
34
34
|
/*! Bundled license information:
|
|
35
35
|
|
|
36
36
|
safe-buffer/index.js:
|