create-eas-build-function 1.0.201 → 1.0.206-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +4 -4
package/build/index.js CHANGED
@@ -71,7 +71,7 @@ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}
71
71
  {bold npm:} {cyan npx create-eas-build-function}
72
72
  {bold yarn:} {cyan yarn create eas-custom-function-module}
73
73
  {bold pnpm:} {cyan pnpm create eas-custom-function-module}
74
- `)}try{const t=(0,p.resolveStringOrBooleanArgsAsync)(r,o,{"--template":Boolean,"-t":"--template"});const{createAsync:l}=await Promise.resolve().then((()=>u(i(1961))));await l(t.projectRoot,{template:t.args["--template"],install:!a["--no-install"]})}catch(t){if(!(t instanceof m.ExitError)){d.Log.exception(t)}}finally{await(0,g.default)()}}void run()},1961:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.logProjectReady=r.createAsync=void 0;const a=o(i(1017));const u=o(i(7147));const l=o(i(961));const h=i(6242);const p=i(9561);const d=i(1805);const m=i(3744);const g=i(2126);async function createAsync(t,r){var i;let o;if(r.template===true){o=await(0,h.promptTemplateAsync)()}else{o=(i=r.template)!==null&&i!==void 0?i:"typescript"}const a=await resolveProjectRootArgAsync(t);await u.default.promises.mkdir(a,{recursive:true});await(0,g.withSectionLog)((()=>(0,h.extractAndPrepareTemplateFunctionModuleAsync)(a,o)),{pending:l.default.bold("Locating project files..."),success:"Successfully extracted custom build function template files.",error:t=>`Something went wrong when extracting the custom build function template files: ${t.message}`});await setupDependenciesAsync(a,r)}r.createAsync=createAsync;async function resolveProjectRootArgAsync(t){if(!t){const t=a.default.resolve(process.cwd());const r=a.default.basename(t);(0,p.assertValidName)(r);(0,p.assertFolderEmpty)(t,r);return t}else{return await(0,p.resolveProjectRootAsync)(t)}}async function setupDependenciesAsync(t,r){const i=r.install;const o=(0,d.resolvePackageManager)();if(i){await installNodeDependenciesAsync(t,o)}const a=getChangeDirectoryPath(t);m.Log.log();logProjectReady({cdPath:a});if(!i){logNodeInstallWarning(a,o)}}async function installNodeDependenciesAsync(t,r){try{await(0,d.installDependenciesAsync)(t,r,{silent:false})}catch(t){m.Log.error(`Something went wrong installing JavaScript dependencies. Check your ${r} logs. Continuing to create the app.`);m.Log.exception(t)}}function getChangeDirectoryPath(t){const r=a.default.relative(process.cwd(),t);if(r.length<=t.length){return r}return t}function logNodeInstallWarning(t,r){m.Log.log(`\n⚠️ Before you start to work on your function, make sure you have modules installed:\n`);m.Log.log(` cd ${t||"."}${a.default.sep}`);m.Log.log(` ${r} install`);m.Log.log()}function logProjectReady({cdPath:t}){m.Log.log(l.default.bold(`✅ Your function is ready!`));m.Log.log();if(t){m.Log.log(`To start working on your function, navigate to the directory.`);m.Log.log();m.Log.log(`- ${l.default.bold("cd "+t)}`)}}r.logProjectReady=logProjectReady},5733:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.ExitError=void 0;class ExitError extends Error{constructor(t,r){super(t instanceof Error?t.message:t);this.cause=t;this.code=r}}r.ExitError=ExitError},3744:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.Log=r.exit=r.log=r.exception=r.error=void 0;const a=o(i(961));const u=i(5733);function error(...t){console.error(...t)}r.error=error;function exception(t){error(a.default.red(t.toString()))}r.exception=exception;function log(...t){console.log(...t)}r.log=log;function exit(t,r=1){if(t instanceof Error){exception(t)}else if(t){if(r===0){log(t)}else{error(t)}}if(r!==0){throw new u.ExitError(t,r)}process.exit(r)}r.exit=exit;r.Log={error:error,exception:exception,log:log,exit:exit}},1805:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};Object.defineProperty(r,"__esModule",{value:true});r.formatRunCommand=r.installDependenciesAsync=r.isPackageManagerAvailable=r.formatSelfCommand=r.resolvePackageManager=void 0;const l=i(2081);const h=u(i(7754));function resolvePackageManager(){const t=process.env.npm_config_user_agent;if(t===null||t===void 0?void 0:t.startsWith("yarn")){return"yarn"}else if(t===null||t===void 0?void 0:t.startsWith("pnpm")){return"pnpm"}else if(t===null||t===void 0?void 0:t.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}return"npm"}r.resolvePackageManager=resolvePackageManager;function formatSelfCommand(){const t=resolvePackageManager();switch(t){case"pnpm":return`pnpx create-eas-build-function`;case"yarn":case"npm":default:return`npx create-eas-build-function`}}r.formatSelfCommand=formatSelfCommand;function isPackageManagerAvailable(t){try{(0,l.execSync)(`${t} --version`,{stdio:"ignore"});return true}catch{}return false}r.isPackageManagerAvailable=isPackageManagerAvailable;async function installDependenciesAsync(t,r,i={silent:false}){const o={cwd:t,silent:i.silent};if(r==="yarn"){await new h.YarnPackageManager(o).installAsync()}else if(r==="pnpm"){await new h.PnpmPackageManager(o).installAsync()}else{await new h.NpmPackageManager(o).installAsync()}}r.installDependenciesAsync=installDependenciesAsync;function formatRunCommand(t,r){switch(t){case"pnpm":return`pnpm run ${r}`;case"yarn":return`yarn ${r}`;case"npm":default:return`npm run ${r}`}}r.formatRunCommand=formatRunCommand},9561:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.resolveProjectRootAsync=r.assertValidName=r.assertFolderEmpty=void 0;const a=o(i(1017));const u=o(i(7147));const l=o(i(961));const h=o(i(1112));const p=i(3744);const d=i(6462);const m=i(1805);function assertFolderEmpty(t,r){const i=(0,d.getConflictsForDirectory)(t);if(i.length){p.Log.log((0,l.default)`The directory {cyan ${r}} has files that might be overwritten:`);p.Log.log();for(const t of i){p.Log.log(` ${t}`)}p.Log.log();p.Log.exit("Try using a new directory name, or moving these files.\n")}}r.assertFolderEmpty=assertFolderEmpty;const g=["react-native","react","react-dom","react-native-web","expo","expo-router"];function assertValidName(t){const r=validateName(t);if(typeof r==="string"){p.Log.exit((0,l.default)`{red Cannot create an app named {bold "${t}"}. ${r}}`,1)}const i=isFolderNameForbidden(t);if(i){p.Log.exit((0,l.default)`{red Cannot create an app named {bold "${t}"} because it would conflict with a dependency of the same name.}`,1)}}r.assertValidName=assertValidName;async function resolveProjectRootAsync(t){let r=t===null||t===void 0?void 0:t.trim();if(!r){const{answer:t}=await(0,h.default)({type:"text",name:"answer",message:"What is your EAS Build function named?",initial:"my-function",validate:t=>{const r=validateName(a.default.basename(a.default.resolve(t)));if(typeof r==="string"){return"Invalid project name: "+r}return true}});if(typeof t==="string"){r=t.trim()}}if(!r){const t=(0,m.formatSelfCommand)();p.Log.log();p.Log.log("Please choose your app name:");p.Log.log((0,l.default)` {dim $} {cyan ${t} <name>}`);p.Log.log();p.Log.log(`For more info, run:`);p.Log.log((0,l.default)` {dim $} {cyan ${t} --help}`);p.Log.log();p.Log.exit("")}const i=a.default.resolve(r);const o=a.default.basename(i);assertValidName(o);await u.default.promises.mkdir(i,{recursive:true});assertFolderEmpty(i,o);return i}r.resolveProjectRootAsync=resolveProjectRootAsync;function validateName(t){if(typeof t!=="string"||t===""){return"The project name can not be empty."}if(!/^[a-z0-9@.\-_]+$/i.test(t)){return"The project name can only contain URL-friendly characters."}return true}function isFolderNameForbidden(t){return g.includes(t)}},6242:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.copyTemplateAsync=r.extractAndPrepareTemplateFunctionModuleAsync=r.promptTemplateAsync=r.ALIASES=r.TEMPLATES=void 0;const a=o(i(1017));const u=o(i(1621));const l=o(i(961));const h=o(i(1112));const p=i(3744);r.TEMPLATES=[{title:"TypeScript",value:"typescript",description:"a minimal module written in TypeScript"},{title:"JavaScript",value:"javascript",description:"a minimal module written in JavaScript"}];r.ALIASES=r.TEMPLATES.map((({value:t})=>t));async function promptTemplateAsync(){const{answer:t}=await(0,h.default)({type:"select",name:"answer",message:"Choose a template:",choices:r.TEMPLATES});if(!t){p.Log.log();p.Log.log((0,l.default)`Please specify the template, example: {cyan --template typescript}`);p.Log.log();process.exit(1)}return t}r.promptTemplateAsync=promptTemplateAsync;async function extractAndPrepareTemplateFunctionModuleAsync(t,r){await copyTemplateAsync(r,{cwd:t});return t}r.extractAndPrepareTemplateFunctionModuleAsync=extractAndPrepareTemplateFunctionModuleAsync;async function copyTemplateAsync(t,r){const i=a.default.resolve(__dirname,"../templates",t);try{await copyDir(i,r.cwd)}catch(r){p.Log.error("Error extracting template package: "+t);throw r}}r.copyTemplateAsync=copyTemplateAsync;async function copyDir(t,r){try{await u.default.copy(t,r)}catch(t){p.Log.error(t);throw t}}},3490:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.assertDuplicateArgs=r.assertUnknownArgs=r.collapseAliases=r._resolveStringOrBooleanArgs=r.resolveStringOrBooleanArgsAsync=r.printHelp=r.assertWithOptionsArgs=void 0;const a=o(i(4816));const u=o(i(961));const l=i(3744);const h=i(6889);function assertWithOptionsArgs(t,r){try{return(0,a.default)(t,r)}catch(t){if(t.code==="ARG_UNKNOWN_OPTION"){l.Log.exit(t.message,1)}throw t}}r.assertWithOptionsArgs=assertWithOptionsArgs;function printHelp(t,r,i,o=""){l.Log.exit((0,u.default)`
74
+ `)}try{const t=(0,p.resolveStringOrBooleanArgsAsync)(r,o,{"--template":Boolean,"-t":"--template"});const{createAsync:l}=await Promise.resolve().then((()=>u(i(1961))));await l(t.projectRoot,{template:t.args["--template"],install:!a["--no-install"]})}catch(t){if(!(t instanceof m.ExitError)){d.Log.exception(t)}}finally{await(0,g.default)()}}void run()},1961:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.createAsync=createAsync;r.logProjectReady=logProjectReady;const a=o(i(1017));const u=o(i(7147));const l=o(i(961));const h=i(6242);const p=i(9561);const d=i(1805);const m=i(3744);const g=i(2126);async function createAsync(t,r){var i;let o;if(r.template===true){o=await(0,h.promptTemplateAsync)()}else{o=(i=r.template)!==null&&i!==void 0?i:"typescript"}const a=await resolveProjectRootArgAsync(t);await u.default.promises.mkdir(a,{recursive:true});await(0,g.withSectionLog)((()=>(0,h.extractAndPrepareTemplateFunctionModuleAsync)(a,o)),{pending:l.default.bold("Locating project files..."),success:"Successfully extracted custom build function template files.",error:t=>`Something went wrong when extracting the custom build function template files: ${t.message}`});await setupDependenciesAsync(a,r)}async function resolveProjectRootArgAsync(t){if(!t){const t=a.default.resolve(process.cwd());const r=a.default.basename(t);(0,p.assertValidName)(r);(0,p.assertFolderEmpty)(t,r);return t}else{return await(0,p.resolveProjectRootAsync)(t)}}async function setupDependenciesAsync(t,r){const i=r.install;const o=(0,d.resolvePackageManager)();if(i){await installNodeDependenciesAsync(t,o)}const a=getChangeDirectoryPath(t);m.Log.log();logProjectReady({cdPath:a});if(!i){logNodeInstallWarning(a,o)}}async function installNodeDependenciesAsync(t,r){try{await(0,d.installDependenciesAsync)(t,r,{silent:false})}catch(t){m.Log.error(`Something went wrong installing JavaScript dependencies. Check your ${r} logs. Continuing to create the app.`);m.Log.exception(t)}}function getChangeDirectoryPath(t){const r=a.default.relative(process.cwd(),t);if(r.length<=t.length){return r}return t}function logNodeInstallWarning(t,r){m.Log.log(`\n⚠️ Before you start to work on your function, make sure you have modules installed:\n`);m.Log.log(` cd ${t||"."}${a.default.sep}`);m.Log.log(` ${r} install`);m.Log.log()}function logProjectReady({cdPath:t}){m.Log.log(l.default.bold(`✅ Your function is ready!`));m.Log.log();if(t){m.Log.log(`To start working on your function, navigate to the directory.`);m.Log.log();m.Log.log(`- ${l.default.bold("cd "+t)}`)}}},5733:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.ExitError=void 0;class ExitError extends Error{constructor(t,r){super(t instanceof Error?t.message:t);this.cause=t;this.code=r}}r.ExitError=ExitError},3744:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.Log=void 0;r.error=error;r.exception=exception;r.log=log;r.exit=exit;const a=o(i(961));const u=i(5733);function error(...t){console.error(...t)}function exception(t){error(a.default.red(t.toString()))}function log(...t){console.log(...t)}function exit(t,r=1){if(t instanceof Error){exception(t)}else if(t){if(r===0){log(t)}else{error(t)}}if(r!==0){throw new u.ExitError(t,r)}process.exit(r)}r.Log={error:error,exception:exception,log:log,exit:exit}},1805:function(t,r,i){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,r,i,o){if(o===undefined)o=i;var a=Object.getOwnPropertyDescriptor(r,i);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[i]}}}Object.defineProperty(t,o,a)}:function(t,r,i,o){if(o===undefined)o=i;t[o]=r[i]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var u=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i))o(r,t,i);a(r,t);return r};Object.defineProperty(r,"__esModule",{value:true});r.resolvePackageManager=resolvePackageManager;r.formatSelfCommand=formatSelfCommand;r.isPackageManagerAvailable=isPackageManagerAvailable;r.installDependenciesAsync=installDependenciesAsync;r.formatRunCommand=formatRunCommand;const l=i(2081);const h=u(i(7754));function resolvePackageManager(){const t=process.env.npm_config_user_agent;if(t===null||t===void 0?void 0:t.startsWith("yarn")){return"yarn"}else if(t===null||t===void 0?void 0:t.startsWith("pnpm")){return"pnpm"}else if(t===null||t===void 0?void 0:t.startsWith("npm")){return"npm"}if(isPackageManagerAvailable("yarn")){return"yarn"}else if(isPackageManagerAvailable("pnpm")){return"pnpm"}return"npm"}function formatSelfCommand(){const t=resolvePackageManager();switch(t){case"pnpm":return`pnpx create-eas-build-function`;case"yarn":case"npm":default:return`npx create-eas-build-function`}}function isPackageManagerAvailable(t){try{(0,l.execSync)(`${t} --version`,{stdio:"ignore"});return true}catch{}return false}async function installDependenciesAsync(t,r,i={silent:false}){const o={cwd:t,silent:i.silent};if(r==="yarn"){await new h.YarnPackageManager(o).installAsync()}else if(r==="pnpm"){await new h.PnpmPackageManager(o).installAsync()}else{await new h.NpmPackageManager(o).installAsync()}}function formatRunCommand(t,r){switch(t){case"pnpm":return`pnpm run ${r}`;case"yarn":return`yarn ${r}`;case"npm":default:return`npm run ${r}`}}},9561:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.assertFolderEmpty=assertFolderEmpty;r.assertValidName=assertValidName;r.resolveProjectRootAsync=resolveProjectRootAsync;const a=o(i(1017));const u=o(i(7147));const l=o(i(961));const h=o(i(1112));const p=i(3744);const d=i(6462);const m=i(1805);function assertFolderEmpty(t,r){const i=(0,d.getConflictsForDirectory)(t);if(i.length){p.Log.log((0,l.default)`The directory {cyan ${r}} has files that might be overwritten:`);p.Log.log();for(const t of i){p.Log.log(` ${t}`)}p.Log.log();p.Log.exit("Try using a new directory name, or moving these files.\n")}}const g=["react-native","react","react-dom","react-native-web","expo","expo-router"];function assertValidName(t){const r=validateName(t);if(typeof r==="string"){p.Log.exit((0,l.default)`{red Cannot create an app named {bold "${t}"}. ${r}}`,1)}const i=isFolderNameForbidden(t);if(i){p.Log.exit((0,l.default)`{red Cannot create an app named {bold "${t}"} because it would conflict with a dependency of the same name.}`,1)}}async function resolveProjectRootAsync(t){let r=t===null||t===void 0?void 0:t.trim();if(!r){const{answer:t}=await(0,h.default)({type:"text",name:"answer",message:"What is your EAS Build function named?",initial:"my-function",validate:t=>{const r=validateName(a.default.basename(a.default.resolve(t)));if(typeof r==="string"){return"Invalid project name: "+r}return true}});if(typeof t==="string"){r=t.trim()}}if(!r){const t=(0,m.formatSelfCommand)();p.Log.log();p.Log.log("Please choose your app name:");p.Log.log((0,l.default)` {dim $} {cyan ${t} <name>}`);p.Log.log();p.Log.log(`For more info, run:`);p.Log.log((0,l.default)` {dim $} {cyan ${t} --help}`);p.Log.log();p.Log.exit("")}const i=a.default.resolve(r);const o=a.default.basename(i);assertValidName(o);await u.default.promises.mkdir(i,{recursive:true});assertFolderEmpty(i,o);return i}function validateName(t){if(typeof t!=="string"||t===""){return"The project name can not be empty."}if(!/^[a-z0-9@.\-_]+$/i.test(t)){return"The project name can only contain URL-friendly characters."}return true}function isFolderNameForbidden(t){return g.includes(t)}},6242:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.ALIASES=r.TEMPLATES=void 0;r.promptTemplateAsync=promptTemplateAsync;r.extractAndPrepareTemplateFunctionModuleAsync=extractAndPrepareTemplateFunctionModuleAsync;r.copyTemplateAsync=copyTemplateAsync;const a=o(i(1017));const u=o(i(1621));const l=o(i(961));const h=o(i(1112));const p=i(3744);r.TEMPLATES=[{title:"TypeScript",value:"typescript",description:"a minimal module written in TypeScript"},{title:"JavaScript",value:"javascript",description:"a minimal module written in JavaScript"}];r.ALIASES=r.TEMPLATES.map((({value:t})=>t));async function promptTemplateAsync(){const{answer:t}=await(0,h.default)({type:"select",name:"answer",message:"Choose a template:",choices:r.TEMPLATES});if(!t){p.Log.log();p.Log.log((0,l.default)`Please specify the template, example: {cyan --template typescript}`);p.Log.log();process.exit(1)}return t}async function extractAndPrepareTemplateFunctionModuleAsync(t,r){await copyTemplateAsync(r,{cwd:t});return t}async function copyTemplateAsync(t,r){const i=a.default.resolve(__dirname,"../templates",t);try{await copyDir(i,r.cwd)}catch(r){p.Log.error("Error extracting template package: "+t);throw r}}async function copyDir(t,r){try{await u.default.copy(t,r)}catch(t){p.Log.error(t);throw t}}},3490:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.assertWithOptionsArgs=assertWithOptionsArgs;r.printHelp=printHelp;r.resolveStringOrBooleanArgsAsync=resolveStringOrBooleanArgsAsync;r._resolveStringOrBooleanArgs=_resolveStringOrBooleanArgs;r.collapseAliases=collapseAliases;r.assertUnknownArgs=assertUnknownArgs;r.assertDuplicateArgs=assertDuplicateArgs;const a=o(i(4816));const u=o(i(961));const l=i(3744);const h=i(6889);function assertWithOptionsArgs(t,r){try{return(0,a.default)(t,r)}catch(t){if(t.code==="ARG_UNKNOWN_OPTION"){l.Log.exit(t.message,1)}throw t}}function printHelp(t,r,i,o=""){l.Log.exit((0,u.default)`
75
75
  {bold Info}
76
76
  ${t}
77
77
 
@@ -80,4 +80,4 @@ var o=i(4300);var a=o.Buffer;function copyProps(t,r){for(var i in t){r[i]=t[i]}}
80
80
 
81
81
  {bold Options}
82
82
  ${i.split("\n").join("\n ")}
83
- `+o,0)}r.printHelp=printHelp;function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}r.resolveStringOrBooleanArgsAsync=resolveStringOrBooleanArgsAsync;function _resolveStringOrBooleanArgs(t,r){let i="";const o={};const a=Object.entries(t).filter((([,t])=>typeof t!=="string")).map((([t])=>t));for(let t=r.length-1;t>-1;t--){const u=r[t];if(u.startsWith("--")){o[u]=true}else{const l=t>0?r[t-1]:null;if(l&&a.includes(l)){o[l]=u;t--}else if(!i&&(t===r.length-1||t===0)){i=u}else{throw new Error(`Unknown argument: ${u}`)}}}return{args:o,projectRoot:i}}r._resolveStringOrBooleanArgs=_resolveStringOrBooleanArgs;function collapseAliases(t,r){const i=getAliasTuples(t);for(const[t,o]of i){r=(0,h.replaceValue)(r,t,o)}assertDuplicateArgs(r,i);return r}r.collapseAliases=collapseAliases;function assertUnknownArgs(t,r){const i=Object.keys(t);const o=r.filter((t=>!i.includes(t)&&t.startsWith("-")));if(o.length>0){throw new Error(`Unknown arguments: ${o.join(", ")}`)}}r.assertUnknownArgs=assertUnknownArgs;function getAliasTuples(t){return Object.entries(t).filter((([,t])=>typeof t==="string"))}function assertDuplicateArgs(t,r){for(const[i,o]of r){if(t.filter((t=>[i,o].includes(t))).length>1){throw new Error(`Can only provide one instance of ${i} or ${o}`)}}}r.assertDuplicateArgs=assertDuplicateArgs},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=void 0;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}r.replaceValue=replaceValue},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=void 0;const o=i(7147);const a=[".DS_Store","Thumbs.db",".git",".gitattributes",".gitignore",".npmignore","LICENSE","docs",".idea","npm-debug.log","yarn-debug.log","yarn-error.log"];function getConflictsForDirectory(t){return(0,o.readdirSync)(t).filter((t=>!(t.endsWith(".iml")||a.includes(t))))}r.getConflictsForDirectory=getConflictsForDirectory},2126:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.withSectionLog=void 0;const a=o(i(774));function withSectionLog(t,r){const i=(0,a.default)({text:r.pending,stream:process.stderr});i.start();return t(i).then((t=>{i.succeed(r.success);return t}),(t=>{i.fail(r.error(t));throw t}))}r.withSectionLog=withSectionLog},5075:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});const a=o(i(961));const u=o(i(5418));const l=i(3744);const h=i(9756);async function shouldUpdate(){try{const t=await(0,u.default)(h);if(t===null||t===void 0?void 0:t.latest){l.Log.log();l.Log.log(a.default.yellow.bold(`A new version of \`${h.name}\` is available`));l.Log.log((0,a.default)`You can update by running: {cyan npm install -g ${h.name}}`);l.Log.log()}}catch{}}r["default"]=shouldUpdate},9756:module=>{module.exports=eval("require")("../package.json")},9491:t=>{"use strict";t.exports=require("assert")},4300:t=>{"use strict";t.exports=require("buffer")},2081:t=>{"use strict";t.exports=require("child_process")},2057:t=>{"use strict";t.exports=require("constants")},6113:t=>{"use strict";t.exports=require("crypto")},9523:t=>{"use strict";t.exports=require("dns")},2361:t=>{"use strict";t.exports=require("events")},7147:t=>{"use strict";t.exports=require("fs")},3685:t=>{"use strict";t.exports=require("http")},5687:t=>{"use strict";t.exports=require("https")},7561:t=>{"use strict";t.exports=require("node:fs")},9411:t=>{"use strict";t.exports=require("node:path")},7742:t=>{"use strict";t.exports=require("node:process")},7261:t=>{"use strict";t.exports=require("node:util")},2037:t=>{"use strict";t.exports=require("os")},1017:t=>{"use strict";t.exports=require("path")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},6224:t=>{"use strict";t.exports=require("tty")},7310:t=>{"use strict";t.exports=require("url")},3837:t=>{"use strict";t.exports=require("util")},1267:t=>{"use strict";t.exports=require("worker_threads")},849:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.LRUCache=void 0;const i=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const o=new Set;const a=typeof process==="object"&&!!process?process:{};const emitWarning=(t,r,i,o)=>{typeof a.emitWarning==="function"?a.emitWarning(t,r,i,o):console.error(`[${i}] ${r}: ${t}`)};let u=globalThis.AbortController;let l=globalThis.AbortSignal;if(typeof u==="undefined"){l=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(t,r){this._onabort.push(r)}};u=class AbortController{constructor(){warnACPolyfill()}signal=new l;abort(t){if(this.signal.aborted)return;this.signal.reason=t;this.signal.aborted=true;for(const r of this.signal._onabort){r(t)}this.signal.onabort?.(t)}};let t=a.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!t)return;t=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=t=>!o.has(t);const h=Symbol("type");const isPosInt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t);const getUintArray=t=>!isPosInt(t)?null:t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(t){super(t);this.fill(0)}}class Stack{heap;length;static#n=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#n=true;const i=new Stack(t,r);Stack.#n=false;return i}constructor(t,r){if(!Stack.#n){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new r(t);this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class LRUCache{#i;#s;#o;#a;#u;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#f;#h;#p;#d;#m;#g;#y;#v;#A;#b;#w;#E;#S;#_;#D;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#S,sizes:t.#w,keyMap:t.#h,keyList:t.#p,valList:t.#d,next:t.#m,prev:t.#g,get head(){return t.#y},get tail(){return t.#v},free:t.#A,isBackgroundFetch:r=>t.#x(r),backgroundFetch:(r,i,o,a)=>t.#F(r,i,o,a),moveToTail:r=>t.#O(r),indexes:r=>t.#R(r),rindexes:r=>t.#k(r),isStale:r=>t.#T(r)}}get max(){return this.#i}get maxSize(){return this.#s}get calculatedSize(){return this.#f}get size(){return this.#c}get fetchMethod(){return this.#u}get memoMethod(){return this.#l}get dispose(){return this.#o}get disposeAfter(){return this.#a}constructor(t){const{max:r=0,ttl:i,ttlResolution:a=1,ttlAutopurge:u,updateAgeOnGet:l,updateAgeOnHas:h,allowStale:p,dispose:d,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:y,maxSize:v=0,maxEntrySize:A=0,sizeCalculation:b,fetchMethod:w,memoMethod:E,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:x}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const O=r?getUintArray(r):Array;if(!O){throw new Error("invalid max value: "+r)}this.#i=r;this.#s=v;this.maxEntrySize=A||this.#s;this.sizeCalculation=b;if(this.sizeCalculation){if(!this.#s&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=E;if(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#D=!!w;this.#h=new Map;this.#p=new Array(r).fill(undefined);this.#d=new Array(r).fill(undefined);this.#m=new O(r);this.#g=new O(r);this.#y=0;this.#v=0;this.#A=Stack.create(r);this.#c=0;this.#f=0;if(typeof d==="function"){this.#o=d}if(typeof m==="function"){this.#a=m;this.#b=[]}else{this.#a=undefined;this.#b=undefined}this.#_=!!this.#o;this.#C=!!this.#a;this.noDisposeOnSet=!!g;this.noUpdateTTL=!!y;this.noDeleteOnFetchRejection=!!S;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!x;if(this.maxEntrySize!==0){if(this.#s!==0){if(!isPosInt(this.#s)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#P()}this.allowStale=!!p;this.noDeleteOnStaleGet=!!_;this.updateAgeOnGet=!!l;this.updateAgeOnHas=!!h;this.ttlResolution=isPosInt(a)||a===0?a:1;this.ttlAutopurge=!!u;this.ttl=i||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#L()}if(this.#i===0&&this.ttl===0&&this.#s===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#s){const t="LRU_CACHE_UNBOUNDED";if(shouldWarn(t)){o.add(t);const r="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(r,"UnboundedCacheWarning",t,LRUCache)}}}getRemainingTTL(t){return this.#h.has(t)?Infinity:0}#L(){const t=new ZeroArray(this.#i);const r=new ZeroArray(this.#i);this.#S=t;this.#E=r;this.#I=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#T(o)){this.#M(this.#p[o],"expire")}}),a+1);if(t.unref){t.unref()}}};this.#B=o=>{r[o]=t[o]!==0?i.now():0};this.#N=(i,a)=>{if(t[a]){const u=t[a];const l=r[a];if(!u||!l)return;i.ttl=u;i.start=l;i.now=o||getNow();const h=i.now-l;i.remainingTTL=u-h}};let o=0;const getNow=()=>{const t=i.now();if(this.ttlResolution>0){o=t;const r=setTimeout((()=>o=0),this.ttlResolution);if(r.unref){r.unref()}}return t};this.getRemainingTTL=i=>{const a=this.#h.get(i);if(a===undefined){return 0}const u=t[a];const l=r[a];if(!u||!l){return Infinity}const h=(o||getNow())-l;return u-h};this.#T=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#B=()=>{};#N=()=>{};#I=()=>{};#T=()=>false;#P(){const t=new ZeroArray(this.#i);this.#f=0;this.#w=t;this.#$=r=>{this.#f-=t[r];t[r]=0};this.#j=(t,r,i,o)=>{if(this.#x(r)){return 0}if(!isPosInt(i)){if(o){if(typeof o!=="function"){throw new TypeError("sizeCalculation must be a function")}i=o(r,t);if(!isPosInt(i)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return i};this.#W=(r,i,o)=>{t[r]=i;if(this.#s){const i=this.#s-t[r];while(this.#f>i){this.#H(true)}}this.#f+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#f}}}#$=t=>{};#W=(t,r,i)=>{};#j=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#v;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#y){break}else{r=this.#g[r]}}}}*#k({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#y;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#v){break}else{r=this.#m[r]}}}}#U(t){return t!==undefined&&this.#h.get(this.#p[t])===t}*entries(){for(const t of this.#R()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*rentries(){for(const t of this.#k()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*keys(){for(const t of this.#R()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*rkeys(){for(const t of this.#k()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*values(){for(const t of this.#R()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}*rvalues(){for(const t of this.#k()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#p[i],this)){return this.get(this.#p[i],r)}}}forEach(t,r=this){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}rforEach(t,r=this){for(const i of this.#k()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}purgeStale(){let t=false;for(const r of this.#k({allowStale:true})){if(this.#T(r)){this.#M(this.#p[r],"expire");t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#d[r];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#S&&this.#E){const t=this.#S[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#w){u.size=this.#w[r]}return u}dump(){const t=[];for(const r of this.#R({allowStale:true})){const o=this.#p[r];const a=this.#d[r];const u=this.#x(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#S&&this.#E){l.ttl=this.#S[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#w){l.size=this.#w[r]}t.unshift([o,l])}return t}load(t){this.clear();for(const[r,o]of t){if(o.start){const t=Date.now()-o.start;o.start=i.now()-t}this.set(r,o.value,o)}}set(t,r,i={}){if(r===undefined){this.delete(t);return this}const{ttl:o=this.ttl,start:a,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:h}=i;let{noUpdateTTL:p=this.noUpdateTTL}=i;const d=this.#j(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.#M(t,"set");return this}let m=this.#c===0?undefined:this.#h.get(t);if(m===undefined){m=this.#c===0?this.#v:this.#A.length!==0?this.#A.pop():this.#c===this.#i?this.#H(false):this.#c;this.#p[m]=t;this.#d[m]=r;this.#h.set(t,m);this.#m[this.#v]=m;this.#g[m]=this.#v;this.#v=m;this.#c++;this.#W(m,d,h);if(h)h.set="add";p=false}else{this.#O(m);const i=this.#d[m];if(r!==i){if(this.#D&&this.#x(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:r}=i;if(r!==undefined&&!u){if(this.#_){this.#o?.(r,t,"set")}if(this.#C){this.#b?.push([r,t,"set"])}}}else if(!u){if(this.#_){this.#o?.(i,t,"set")}if(this.#C){this.#b?.push([i,t,"set"])}}this.#$(m);this.#W(m,d,h);this.#d[m]=r;if(h){h.set="replace";const t=i&&this.#x(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#S){this.#L()}if(this.#S){if(!p){this.#I(m,o,a)}if(h)this.#N(h,m)}if(!u&&this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return this}pop(){try{while(this.#c){const t=this.#d[this.#y];this.#H(true);if(this.#x(t)){if(t.__staleWhileFetching){return t.__staleWhileFetching}}else if(t!==undefined){return t}}}finally{if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}#H(t){const r=this.#y;const i=this.#p[r];const o=this.#d[r];if(this.#D&&this.#x(o)){o.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(o,i,"evict")}if(this.#C){this.#b?.push([o,i,"evict"])}}this.#$(r);if(t){this.#p[r]=undefined;this.#d[r]=undefined;this.#A.push(r)}if(this.#c===1){this.#y=this.#v=0;this.#A.length=0}else{this.#y=this.#m[r]}this.#h.delete(i);this.#c--;return r}has(t,r={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:o}=r;const a=this.#h.get(t);if(a!==undefined){const t=this.#d[a];if(this.#x(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#T(a)){if(i){this.#B(a)}if(o){o.has="hit";this.#N(o,a)}return true}else if(o){o.has="stale";this.#N(o,a)}}else if(o){o.has="miss"}return false}peek(t,r={}){const{allowStale:i=this.allowStale}=r;const o=this.#h.get(t);if(o===undefined||!i&&this.#T(o)){return}const a=this.#d[o];return this.#x(a)?a.__staleWhileFetching:a}#F(t,r,i,o){const a=r===undefined?undefined:this.#d[r];if(this.#x(a)){return a}const l=new u;const{signal:h}=i;h?.addEventListener("abort",(()=>l.abort(h.reason)),{signal:l.signal});const p={signal:l.signal,options:i,context:o};const cb=(o,a=false)=>{const{aborted:u}=l.signal;const h=i.ignoreFetchAbort&&o!==undefined;if(i.status){if(u&&!a){i.status.fetchAborted=true;i.status.fetchError=l.signal.reason;if(h)i.status.fetchAbortIgnored=true}else{i.status.fetchResolved=true}}if(u&&!h&&!a){return fetchFail(l.signal.reason)}const m=d;if(this.#d[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#d[r]=m.__staleWhileFetching}else{this.#M(t,"fetch")}}else{if(i.status)i.status.fetchUpdated=true;this.set(t,o,p.options)}}return o};const eb=t=>{if(i.status){i.status.fetchRejected=true;i.status.fetchError=t}return fetchFail(t)};const fetchFail=o=>{const{aborted:a}=l.signal;const u=a&&i.allowStaleOnFetchAbort;const h=u||i.allowStaleOnFetchRejection;const p=h||i.noDeleteOnFetchRejection;const m=d;if(this.#d[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.#M(t,"fetch")}else if(!u){this.#d[r]=m.__staleWhileFetching}}if(h){if(i.status&&m.__staleWhileFetching!==undefined){i.status.returnedStale=true}return m.__staleWhileFetching}else if(m.__returned===m){throw o}};const pcall=(r,o)=>{const u=this.#u?.(t,a,p);if(u&&u instanceof Promise){u.then((t=>r(t===undefined?undefined:t)),o)}l.signal.addEventListener("abort",(()=>{if(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort){r(undefined);if(i.allowStaleOnFetchAbort){r=t=>cb(t,true)}}}))};if(i.status)i.status.fetchDispatched=true;const d=new Promise(pcall).then(cb,eb);const m=Object.assign(d,{__abortController:l,__staleWhileFetching:a,__returned:undefined});if(r===undefined){this.set(t,m,{...p.options,status:undefined});r=this.#h.get(t)}else{this.#d[r]=m}return m}#x(t){if(!this.#D)return false;const r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof u}async fetch(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:h=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:m=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:A,forceRefresh:b=false,status:w,signal:E}=r;if(!this.#D){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}const S={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:v,ignoreFetchAbort:y,status:w,signal:E};let _=this.#h.get(t);if(_===undefined){if(w)w.fetch="miss";const r=this.#F(t,_,S,A);return r.__returned=r}else{const r=this.#d[_];if(this.#x(r)){const t=i&&r.__staleWhileFetching!==undefined;if(w){w.fetch="inflight";if(t)w.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#T(_);if(!b&&!a){if(w)w.fetch="hit";this.#O(_);if(o){this.#B(_)}if(w)this.#N(w,_);return r}const u=this.#F(t,_,S,A);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(w){w.fetch=a?"stale":"refresh";if(h&&a)w.returnedStale=true}return h?u.__staleWhileFetching:u.__returned=u}}async forceFetch(t,r={}){const i=await this.fetch(t,r);if(i===undefined)throw new Error("fetch() returned undefined");return i}memo(t,r={}){const i=this.#l;if(!i){throw new Error("no memoMethod provided to constructor")}const{context:o,forceRefresh:a,...u}=r;const l=this.get(t,u);if(!a&&l!==undefined)return l;const h=i(t,l,{options:u,context:o});this.set(t,h,u);return h}get(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:u}=r;const l=this.#h.get(t);if(l!==undefined){const r=this.#d[l];const h=this.#x(r);if(u)this.#N(u,l);if(this.#T(l)){if(u)u.get="stale";if(!h){if(!a){this.#M(t,"expire")}if(u&&i)u.returnedStale=true;return i?r:undefined}else{if(u&&i&&r.__staleWhileFetching!==undefined){u.returnedStale=true}return i?r.__staleWhileFetching:undefined}}else{if(u)u.get="hit";if(h){return r.__staleWhileFetching}this.#O(l);if(o){this.#B(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#g[r]=t;this.#m[t]=r}#O(t){if(t!==this.#v){if(t===this.#y){this.#y=this.#m[t]}else{this.#G(this.#g[t],this.#m[t])}this.#G(this.#v,t);this.#v=t}}delete(t){return this.#M(t,"delete")}#M(t,r){let i=false;if(this.#c!==0){const o=this.#h.get(t);if(o!==undefined){i=true;if(this.#c===1){this.#Y(r)}else{this.#$(o);const i=this.#d[o];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(i,t,r)}if(this.#C){this.#b?.push([i,t,r])}}this.#h.delete(t);this.#p[o]=undefined;this.#d[o]=undefined;if(o===this.#v){this.#v=this.#g[o]}else if(o===this.#y){this.#y=this.#m[o]}else{const t=this.#g[o];this.#m[t]=this.#m[o];const r=this.#m[o];this.#g[r]=this.#g[o]}this.#c--;this.#A.push(o)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return i}clear(){return this.#Y("delete")}#Y(t){for(const r of this.#k({allowStale:true})){const i=this.#d[r];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else{const o=this.#p[r];if(this.#_){this.#o?.(i,o,t)}if(this.#C){this.#b?.push([i,o,t])}}}this.#h.clear();this.#d.fill(undefined);this.#p.fill(undefined);if(this.#S&&this.#E){this.#S.fill(0);this.#E.fill(0)}if(this.#w){this.#w.fill(0)}this.#y=0;this.#v=0;this.#A.length=0;this.#f=0;this.#c=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},774:(t,r,i)=>{"use strict";i.r(r);i.d(r,{default:()=>ora,oraPromise:()=>oraPromise,spinners:()=>U});var o=i(7742);const a=10;const wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const u={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]}};const l=Object.keys(u.modifier);const h=Object.keys(u.color);const p=Object.keys(u.bgColor);const d=[...h,...p];function assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(u)){for(const[r,o]of Object.entries(i)){u[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=u[r];t.set(o[0],o[1])}Object.defineProperty(u,r,{value:i,enumerable:false})}Object.defineProperty(u,"codes",{value:t,enumerable:false});u.color.close="";u.bgColor.close="";u.color.ansi=wrapAnsi16();u.color.ansi256=wrapAnsi256();u.color.ansi16m=wrapAnsi16m();u.bgColor.ansi=wrapAnsi16(a);u.bgColor.ansi256=wrapAnsi256(a);u.bgColor.ansi16m=wrapAnsi16m(a);Object.defineProperties(u,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>u.rgbToAnsi256(...u.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>u.ansi256ToAnsi(u.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>u.ansi256ToAnsi(u.hexToAnsi256(t)),enumerable:false}});return u}const m=assembleStyles();const g=m;const y=require("node:os");const v=require("node:tty");function hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:A}=o;let b;if(hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")){b=0}else if(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always")){b=1}function envForceColor(){if("FORCE_COLOR"in A){if(A.FORCE_COLOR==="true"){return 1}if(A.FORCE_COLOR==="false"){return 0}return A.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(A.FORCE_COLOR,10),3)}}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function _supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=envForceColor();if(a!==undefined){b=a}const u=i?b:a;if(u===0){return 0}if(i){if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor")){return 3}if(hasFlag("color=256")){return 2}}if("TF_BUILD"in A&&"AGENT_NAME"in A){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(A.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in A){if("GITHUB_ACTIONS"in A||"GITEA_ACTIONS"in A){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in A))||A.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in A){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(A.TEAMCITY_VERSION)?1:0}if(A.COLORTERM==="truecolor"){return 3}if(A.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in A){const t=Number.parseInt((A.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(A.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(A.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(A.TERM)){return 1}if("COLORTERM"in A){return 1}return l}function createSupportsColor(t,r={}){const i=_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return translateLevel(i)}const w={stdout:createSupportsColor({isTTY:v.isatty(1)}),stderr:createSupportsColor({isTTY:v.isatty(2)})};const E=w;function stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:S,stderr:_}=E;const D=Symbol("GENERATOR");const C=Symbol("STYLER");const x=Symbol("IS_EMPTY");const O=["ansi","ansi","ansi256","ansi16m"];const R=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=S?S.level:0;t.level=r.level===undefined?i:r.level};class Chalk{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const chalk=(...t)=>t.join(" ");applyOptions(chalk,t);Object.setPrototypeOf(chalk,createChalk.prototype);return chalk};function createChalk(t){return chalkFactory(t)}Object.setPrototypeOf(createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(g)){R[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this[C]),this[x]);Object.defineProperty(this,t,{value:i});return i}}}R.visible={get(){const t=createBuilder(this,this[C],true);Object.defineProperty(this,"visible",{value:t});return t}};const getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return g[i].ansi16m(...o)}if(r==="ansi256"){return g[i].ansi256(g.rgbToAnsi256(...o))}return g[i].ansi(g.rgbToAnsi(...o))}if(t==="hex"){return getModelAnsi("rgb",r,i,...g.hexToRgb(...o))}return g[i][t](...o)};const k=["rgb","hex","ansi256"];for(const t of k){R[t]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"color",...i),g.color.close,this[C]);return createBuilder(this,o,this[x])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);R[r]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"bgColor",...i),g.bgColor.close,this[C]);return createBuilder(this,o,this[x])}}}}const T=Object.defineProperties((()=>{}),{...R,level:{enumerable:true,get(){return this[D].level},set(t){this[D].level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,T);builder[D]=t;builder[C]=r;builder[x]=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t[x]?"":r}let i=t[C];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(createChalk.prototype,R);const P=createChalk();const L=createChalk({level:_?_.level:0});const I=P;var M=i(7462);var B=i(9545);const N=M((()=>{B((()=>{o.stderr.write("[?25h")}),{alwaysLast:true})}));const $=N;let j=false;const W={};W.show=(t=o.stderr)=>{if(!t.isTTY){return}j=false;t.write("[?25h")};W.hide=(t=o.stderr)=>{if(!t.isTTY){return}$();j=true;t.write("[?25l")};W.toggle=(t,r)=>{if(t!==undefined){j=t}if(j){W.show(r)}else{W.hide(r)}};const H=W;var U=i(5549);const G=10;const ansi_styles_wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const ansi_styles_wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const ansi_styles_wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const Y={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]}};const V=Object.keys(Y.modifier);const z=Object.keys(Y.color);const q=Object.keys(Y.bgColor);const Q=[...z,...q];function ansi_styles_assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(Y)){for(const[r,o]of Object.entries(i)){Y[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=Y[r];t.set(o[0],o[1])}Object.defineProperty(Y,r,{value:i,enumerable:false})}Object.defineProperty(Y,"codes",{value:t,enumerable:false});Y.color.close="";Y.bgColor.close="";Y.color.ansi=ansi_styles_wrapAnsi16();Y.color.ansi256=ansi_styles_wrapAnsi256();Y.color.ansi16m=ansi_styles_wrapAnsi16m();Y.bgColor.ansi=ansi_styles_wrapAnsi16(G);Y.bgColor.ansi256=ansi_styles_wrapAnsi256(G);Y.bgColor.ansi16m=ansi_styles_wrapAnsi16m(G);Object.defineProperties(Y,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>Y.rgbToAnsi256(...Y.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>Y.ansi256ToAnsi(Y.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>Y.ansi256ToAnsi(Y.hexToAnsi256(t)),enumerable:false}});return Y}const K=ansi_styles_assembleStyles();const J=K;function supports_color_hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:X}=o;let Z;if(supports_color_hasFlag("no-color")||supports_color_hasFlag("no-colors")||supports_color_hasFlag("color=false")||supports_color_hasFlag("color=never")){Z=0}else if(supports_color_hasFlag("color")||supports_color_hasFlag("colors")||supports_color_hasFlag("color=true")||supports_color_hasFlag("color=always")){Z=1}function supports_color_envForceColor(){if("FORCE_COLOR"in X){if(X.FORCE_COLOR==="true"){return 1}if(X.FORCE_COLOR==="false"){return 0}return X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}}function supports_color_translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supports_color_supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=supports_color_envForceColor();if(a!==undefined){Z=a}const u=i?Z:a;if(u===0){return 0}if(i){if(supports_color_hasFlag("color=16m")||supports_color_hasFlag("color=full")||supports_color_hasFlag("color=truecolor")){return 3}if(supports_color_hasFlag("color=256")){return 2}}if("TF_BUILD"in X&&"AGENT_NAME"in X){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(X.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in X){if("GITHUB_ACTIONS"in X||"GITEA_ACTIONS"in X){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in X))||X.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in X){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0}if(X.COLORTERM==="truecolor"){return 3}if(X.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in X){const t=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(X.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)){return 1}if("COLORTERM"in X){return 1}return l}function supports_color_createSupportsColor(t,r={}){const i=supports_color_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return supports_color_translateLevel(i)}const ee={stdout:supports_color_createSupportsColor({isTTY:v.isatty(1)}),stderr:supports_color_createSupportsColor({isTTY:v.isatty(2)})};const te=ee;function utilities_stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function utilities_stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:re,stderr:ne}=te;const ie=Symbol("GENERATOR");const se=Symbol("STYLER");const oe=Symbol("IS_EMPTY");const ae=["ansi","ansi","ansi256","ansi16m"];const ue=Object.create(null);const source_applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=re?re.level:0;t.level=r.level===undefined?i:r.level};class source_Chalk{constructor(t){return source_chalkFactory(t)}}const source_chalkFactory=t=>{const chalk=(...t)=>t.join(" ");source_applyOptions(chalk,t);Object.setPrototypeOf(chalk,source_createChalk.prototype);return chalk};function source_createChalk(t){return source_chalkFactory(t)}Object.setPrototypeOf(source_createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(J)){ue[t]={get(){const i=source_createBuilder(this,source_createStyler(r.open,r.close,this[se]),this[oe]);Object.defineProperty(this,t,{value:i});return i}}}ue.visible={get(){const t=source_createBuilder(this,this[se],true);Object.defineProperty(this,"visible",{value:t});return t}};const source_getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return J[i].ansi16m(...o)}if(r==="ansi256"){return J[i].ansi256(J.rgbToAnsi256(...o))}return J[i].ansi(J.rgbToAnsi(...o))}if(t==="hex"){return source_getModelAnsi("rgb",r,i,...J.hexToRgb(...o))}return J[i][t](...o)};const le=["rgb","hex","ansi256"];for(const t of le){ue[t]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"color",...i),J.color.close,this[se]);return source_createBuilder(this,o,this[oe])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);ue[r]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"bgColor",...i),J.bgColor.close,this[se]);return source_createBuilder(this,o,this[oe])}}}}const ce=Object.defineProperties((()=>{}),{...ue,level:{enumerable:true,get(){return this[ie].level},set(t){this[ie].level=t}}});const source_createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const source_createBuilder=(t,r,i)=>{const builder=(...t)=>source_applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,ce);builder[ie]=t;builder[se]=r;builder[oe]=i;return builder};const source_applyStyle=(t,r)=>{if(t.level<=0||!r){return t[oe]?"":r}let i=t[se];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=utilities_stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=utilities_stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(source_createChalk.prototype,ue);const fe=source_createChalk();const he=source_createChalk({level:ne?ne.level:0});const pe=fe;function isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const de={info:pe.blue("ℹ"),success:pe.green("✔"),warning:pe.yellow("⚠"),error:pe.red("✖")};const me={info:pe.blue("i"),success:pe.green("√"),warning:pe.yellow("‼"),error:pe.red("×")};const ge=isUnicodeSupported()?de:me;const ye=ge;function ansiRegex({onlyFirst:t=false}={}){const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,t?undefined:"g")}const ve=ansiRegex();function stripAnsi(t){if(typeof t!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``)}return t.replace(ve,"")}var Ae=i(1205);function isInteractive({stream:t=process.stdout}={}){return Boolean(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function is_unicode_supported_isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const be=require("node:readline");var we=i(2167);const Ee=3;class StdinDiscarder{#V=0;#z=new we.BufferListStream;#q;#Q;constructor(){this.#z.pipe(o.stdout);const t=this;this.#q=function(r,i,...a){const{stdin:u}=o;if(t.#V>0||u.emit===t.#q){if(r==="keypress"){return}if(r==="data"&&i.includes(Ee)){o.emit("SIGINT")}Reflect.apply(t.#q,this,[r,i,...a])}else{Reflect.apply(o.stdin.emit,this,[r,i,...a])}}}start(){this.#V++;if(this.#V===1){this._realStart()}}stop(){if(this.#V<=0){throw new Error("`stop` called more times than `start`")}this.#V--;if(this.#V===0){this._realStop()}}_realStart(){if(o.platform==="win32"){return}this.#Q=be.createInterface({input:o.stdin,output:this.#z});this.#Q.on("SIGINT",(()=>{if(o.listenerCount("SIGINT")===0){o.emit("SIGINT")}else{this.#Q.close();o.kill(o.pid,"SIGINT")}}))}_realStop(){if(o.platform==="win32"){return}this.#Q.close();this.#Q=undefined}}const Se=new StdinDiscarder;const _e=Se;class Ora{#K=0;#J=false;#X=0;#Z=0;#ee;#te;#re;#ne;#ie;#se;#oe;#ae;#ue;#le;#ce;color;constructor(t){if(typeof t==="string"){t={text:t}}this.#ee={color:"cyan",stream:o.stderr,discardStdin:true,hideCursor:true,...t};this.color=this.#ee.color;this.spinner=this.#ee.spinner;this.#ie=this.#ee.interval;this.#re=this.#ee.stream;this.#se=typeof this.#ee.isEnabled==="boolean"?this.#ee.isEnabled:isInteractive({stream:this.#re});this.#oe=typeof this.#ee.isSilent==="boolean"?this.#ee.isSilent:false;this.text=this.#ee.text;this.prefixText=this.#ee.prefixText;this.suffixText=this.#ee.suffixText;this.indent=this.#ee.indent;if(o.env.NODE_ENV==="test"){this._stream=this.#re;this._isEnabled=this.#se;Object.defineProperty(this,"_linesToClear",{get(){return this.#K},set(t){this.#K=t}});Object.defineProperty(this,"_frameIndex",{get(){return this.#Z}});Object.defineProperty(this,"_lineCount",{get(){return this.#X}})}}get indent(){return this.#ae}set indent(t=0){if(!(t>=0&&Number.isInteger(t))){throw new Error("The `indent` option must be an integer from 0 and up")}this.#ae=t;this.updateLineCount()}get interval(){return this.#ie||this.#te.interval||100}get spinner(){return this.#te}set spinner(t){this.#Z=0;this.#ie=undefined;if(typeof t==="object"){if(t.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this.#te=t}else if(!is_unicode_supported_isUnicodeSupported()){this.#te=U.line}else if(t===undefined){this.#te=U.dots}else if(t!=="default"&&U[t]){this.#te=U[t]}else{throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}}get text(){return this.#ue}set text(t){this.#ue=t||"";this.updateLineCount()}get prefixText(){return this.#le}set prefixText(t){this.#le=t||"";this.updateLineCount()}get suffixText(){return this.#ce}set suffixText(t){this.#ce=t||"";this.updateLineCount()}get isSpinning(){return this.#ne!==undefined}getFullPrefixText(t=this.#le,r=" "){if(typeof t==="string"&&t!==""){return t+r}if(typeof t==="function"){return t()+r}return""}getFullSuffixText(t=this.#ce,r=" "){if(typeof t==="string"&&t!==""){return r+t}if(typeof t==="function"){return r+t()}return""}updateLineCount(){const t=this.#re.columns||80;const r=this.getFullPrefixText(this.#le,"-");const i=this.getFullSuffixText(this.#ce,"-");const o=" ".repeat(this.#ae)+r+"--"+this.#ue+"--"+i;this.#X=0;for(const r of stripAnsi(o).split("\n")){this.#X+=Math.max(1,Math.ceil(Ae(r)/t))}}get isEnabled(){return this.#se&&!this.#oe}set isEnabled(t){if(typeof t!=="boolean"){throw new TypeError("The `isEnabled` option must be a boolean")}this.#se=t}get isSilent(){return this.#oe}set isSilent(t){if(typeof t!=="boolean"){throw new TypeError("The `isSilent` option must be a boolean")}this.#oe=t}frame(){const{frames:t}=this.#te;let r=t[this.#Z];if(this.color){r=I[this.color](r)}this.#Z=++this.#Z%t.length;const i=typeof this.#le==="string"&&this.#le!==""?this.#le+" ":"";const o=typeof this.text==="string"?" "+this.text:"";const a=typeof this.#ce==="string"&&this.#ce!==""?" "+this.#ce:"";return i+r+o+a}clear(){if(!this.#se||!this.#re.isTTY){return this}this.#re.cursorTo(0);for(let t=0;t<this.#K;t++){if(t>0){this.#re.moveCursor(0,-1)}this.#re.clearLine(1)}if(this.#ae||this.lastIndent!==this.#ae){this.#re.cursorTo(this.#ae)}this.lastIndent=this.#ae;this.#K=0;return this}render(){if(this.#oe){return this}this.clear();this.#re.write(this.frame());this.#K=this.#X;return this}start(t){if(t){this.text=t}if(this.#oe){return this}if(!this.#se){if(this.text){this.#re.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.#ee.hideCursor){H.hide(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY){this.#J=true;_e.start()}this.render();this.#ne=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.#se){return this}clearInterval(this.#ne);this.#ne=undefined;this.#Z=0;this.clear();if(this.#ee.hideCursor){H.show(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY&&this.#J){_e.stop();this.#J=false}return this}succeed(t){return this.stopAndPersist({symbol:ye.success,text:t})}fail(t){return this.stopAndPersist({symbol:ye.error,text:t})}warn(t){return this.stopAndPersist({symbol:ye.warning,text:t})}info(t){return this.stopAndPersist({symbol:ye.info,text:t})}stopAndPersist(t={}){if(this.#oe){return this}const r=t.prefixText||this.#le;const i=this.getFullPrefixText(r," ");const o=t.symbol||" ";const a=t.text||this.text;const u=typeof a==="string"?" "+a:"";const l=t.suffixText!==undefined?t.suffixText:this.#ce;const h=this.getFullSuffixText(l," ");const p=i+o+u+h+"\n";this.stop();this.#re.write(p);return this}}function ora(t){return new Ora(t)}async function oraPromise(t,r){const i=typeof t==="function";const o=typeof t.then==="function";if(!i&&!o){throw new TypeError("Parameter `action` must be a Function or a Promise")}const{successText:a,failText:u}=typeof r==="object"?r:{successText:undefined,failText:undefined};const l=ora(r).start();try{const r=i?t(l):t;const o=await r;l.succeed(a===undefined?undefined:typeof a==="string"?a:a(o));return o}catch(t){l.fail(u===undefined?undefined:typeof u==="string"?u:u(t));throw t}}},3300:t=>{"use strict";t.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4147:t=>{"use strict";t.exports={i8:"1.0.201"}}};var __webpack_module_cache__={};function __nccwpck_require__(t){var r=__webpack_module_cache__[t];if(r!==undefined){return r.exports}var i=__webpack_module_cache__[t]={id:t,loaded:false,exports:{}};var o=true;try{__webpack_modules__[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete __webpack_module_cache__[t]}i.loaded=true;return i.exports}(()=>{__nccwpck_require__.d=(t,r)=>{for(var i in r){if(__nccwpck_require__.o(r,i)&&!__nccwpck_require__.o(t,i)){Object.defineProperty(t,i,{enumerable:true,get:r[i]})}}}})();(()=>{__nccwpck_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=t=>{t.paths=[];if(!t.children)t.children=[];return t}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__(9436)})();module.exports=__webpack_exports__})();
83
+ `+o,0)}function resolveStringOrBooleanArgsAsync(t,r,i){const o={...r,...i};assertUnknownArgs(o,t);t=collapseAliases(o,t);return _resolveStringOrBooleanArgs(i,t)}function _resolveStringOrBooleanArgs(t,r){let i="";const o={};const a=Object.entries(t).filter((([,t])=>typeof t!=="string")).map((([t])=>t));for(let t=r.length-1;t>-1;t--){const u=r[t];if(u.startsWith("--")){o[u]=true}else{const l=t>0?r[t-1]:null;if(l&&a.includes(l)){o[l]=u;t--}else if(!i&&(t===r.length-1||t===0)){i=u}else{throw new Error(`Unknown argument: ${u}`)}}}return{args:o,projectRoot:i}}function collapseAliases(t,r){const i=getAliasTuples(t);for(const[t,o]of i){r=(0,h.replaceValue)(r,t,o)}assertDuplicateArgs(r,i);return r}function assertUnknownArgs(t,r){const i=Object.keys(t);const o=r.filter((t=>!i.includes(t)&&t.startsWith("-")));if(o.length>0){throw new Error(`Unknown arguments: ${o.join(", ")}`)}}function getAliasTuples(t){return Object.entries(t).filter((([,t])=>typeof t==="string"))}function assertDuplicateArgs(t,r){for(const[i,o]of r){if(t.filter((t=>[i,o].includes(t))).length>1){throw new Error(`Can only provide one instance of ${i} or ${o}`)}}}},6889:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.replaceValue=replaceValue;function replaceValue(t,r,i){const o=t.indexOf(r);if(o>-1){t[o]=i}return t}},6462:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.getConflictsForDirectory=getConflictsForDirectory;const o=i(7147);const a=[".DS_Store","Thumbs.db",".git",".gitattributes",".gitignore",".npmignore","LICENSE","docs",".idea","npm-debug.log","yarn-debug.log","yarn-error.log"];function getConflictsForDirectory(t){return(0,o.readdirSync)(t).filter((t=>!(t.endsWith(".iml")||a.includes(t))))}},2126:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r.withSectionLog=withSectionLog;const a=o(i(774));function withSectionLog(t,r){const i=(0,a.default)({text:r.pending,stream:process.stderr});i.start();return t(i).then((t=>{i.succeed(r.success);return t}),(t=>{i.fail(r.error(t));throw t}))}},5075:function(t,r,i){"use strict";var o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:true});r["default"]=shouldUpdate;const a=o(i(961));const u=o(i(5418));const l=i(3744);const h=i(9756);async function shouldUpdate(){try{const t=await(0,u.default)(h);if(t===null||t===void 0?void 0:t.latest){l.Log.log();l.Log.log(a.default.yellow.bold(`A new version of \`${h.name}\` is available`));l.Log.log((0,a.default)`You can update by running: {cyan npm install -g ${h.name}}`);l.Log.log()}}catch{}}},9756:module=>{module.exports=eval("require")("../package.json")},9491:t=>{"use strict";t.exports=require("assert")},4300:t=>{"use strict";t.exports=require("buffer")},2081:t=>{"use strict";t.exports=require("child_process")},2057:t=>{"use strict";t.exports=require("constants")},6113:t=>{"use strict";t.exports=require("crypto")},9523:t=>{"use strict";t.exports=require("dns")},2361:t=>{"use strict";t.exports=require("events")},7147:t=>{"use strict";t.exports=require("fs")},3685:t=>{"use strict";t.exports=require("http")},5687:t=>{"use strict";t.exports=require("https")},7561:t=>{"use strict";t.exports=require("node:fs")},9411:t=>{"use strict";t.exports=require("node:path")},7742:t=>{"use strict";t.exports=require("node:process")},7261:t=>{"use strict";t.exports=require("node:util")},2037:t=>{"use strict";t.exports=require("os")},1017:t=>{"use strict";t.exports=require("path")},4521:t=>{"use strict";t.exports=require("readline")},2781:t=>{"use strict";t.exports=require("stream")},6224:t=>{"use strict";t.exports=require("tty")},7310:t=>{"use strict";t.exports=require("url")},3837:t=>{"use strict";t.exports=require("util")},1267:t=>{"use strict";t.exports=require("worker_threads")},849:(t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:true});r.LRUCache=void 0;const i=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const o=new Set;const a=typeof process==="object"&&!!process?process:{};const emitWarning=(t,r,i,o)=>{typeof a.emitWarning==="function"?a.emitWarning(t,r,i,o):console.error(`[${i}] ${r}: ${t}`)};let u=globalThis.AbortController;let l=globalThis.AbortSignal;if(typeof u==="undefined"){l=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(t,r){this._onabort.push(r)}};u=class AbortController{constructor(){warnACPolyfill()}signal=new l;abort(t){if(this.signal.aborted)return;this.signal.reason=t;this.signal.aborted=true;for(const r of this.signal._onabort){r(t)}this.signal.onabort?.(t)}};let t=a.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!t)return;t=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=t=>!o.has(t);const h=Symbol("type");const isPosInt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t);const getUintArray=t=>!isPosInt(t)?null:t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(t){super(t);this.fill(0)}}class Stack{heap;length;static#n=false;static create(t){const r=getUintArray(t);if(!r)return[];Stack.#n=true;const i=new Stack(t,r);Stack.#n=false;return i}constructor(t,r){if(!Stack.#n){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new r(t);this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class LRUCache{#i;#s;#o;#a;#u;#l;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#f;#h;#p;#d;#m;#g;#y;#v;#A;#b;#w;#E;#S;#_;#D;#C;static unsafeExposeInternals(t){return{starts:t.#E,ttls:t.#S,sizes:t.#w,keyMap:t.#h,keyList:t.#p,valList:t.#d,next:t.#m,prev:t.#g,get head(){return t.#y},get tail(){return t.#v},free:t.#A,isBackgroundFetch:r=>t.#x(r),backgroundFetch:(r,i,o,a)=>t.#F(r,i,o,a),moveToTail:r=>t.#O(r),indexes:r=>t.#R(r),rindexes:r=>t.#k(r),isStale:r=>t.#T(r)}}get max(){return this.#i}get maxSize(){return this.#s}get calculatedSize(){return this.#f}get size(){return this.#c}get fetchMethod(){return this.#u}get memoMethod(){return this.#l}get dispose(){return this.#o}get disposeAfter(){return this.#a}constructor(t){const{max:r=0,ttl:i,ttlResolution:a=1,ttlAutopurge:u,updateAgeOnGet:l,updateAgeOnHas:h,allowStale:p,dispose:d,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:y,maxSize:v=0,maxEntrySize:A=0,sizeCalculation:b,fetchMethod:w,memoMethod:E,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:_,allowStaleOnFetchRejection:D,allowStaleOnFetchAbort:C,ignoreFetchAbort:x}=t;if(r!==0&&!isPosInt(r)){throw new TypeError("max option must be a nonnegative integer")}const O=r?getUintArray(r):Array;if(!O){throw new Error("invalid max value: "+r)}this.#i=r;this.#s=v;this.maxEntrySize=A||this.#s;this.sizeCalculation=b;if(this.sizeCalculation){if(!this.#s&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(E!==undefined&&typeof E!=="function"){throw new TypeError("memoMethod must be a function if defined")}this.#l=E;if(w!==undefined&&typeof w!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#u=w;this.#D=!!w;this.#h=new Map;this.#p=new Array(r).fill(undefined);this.#d=new Array(r).fill(undefined);this.#m=new O(r);this.#g=new O(r);this.#y=0;this.#v=0;this.#A=Stack.create(r);this.#c=0;this.#f=0;if(typeof d==="function"){this.#o=d}if(typeof m==="function"){this.#a=m;this.#b=[]}else{this.#a=undefined;this.#b=undefined}this.#_=!!this.#o;this.#C=!!this.#a;this.noDisposeOnSet=!!g;this.noUpdateTTL=!!y;this.noDeleteOnFetchRejection=!!S;this.allowStaleOnFetchRejection=!!D;this.allowStaleOnFetchAbort=!!C;this.ignoreFetchAbort=!!x;if(this.maxEntrySize!==0){if(this.#s!==0){if(!isPosInt(this.#s)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#P()}this.allowStale=!!p;this.noDeleteOnStaleGet=!!_;this.updateAgeOnGet=!!l;this.updateAgeOnHas=!!h;this.ttlResolution=isPosInt(a)||a===0?a:1;this.ttlAutopurge=!!u;this.ttl=i||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#L()}if(this.#i===0&&this.ttl===0&&this.#s===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#i&&!this.#s){const t="LRU_CACHE_UNBOUNDED";if(shouldWarn(t)){o.add(t);const r="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(r,"UnboundedCacheWarning",t,LRUCache)}}}getRemainingTTL(t){return this.#h.has(t)?Infinity:0}#L(){const t=new ZeroArray(this.#i);const r=new ZeroArray(this.#i);this.#S=t;this.#E=r;this.#I=(o,a,u=i.now())=>{r[o]=a!==0?u:0;t[o]=a;if(a!==0&&this.ttlAutopurge){const t=setTimeout((()=>{if(this.#T(o)){this.#M(this.#p[o],"expire")}}),a+1);if(t.unref){t.unref()}}};this.#B=o=>{r[o]=t[o]!==0?i.now():0};this.#N=(i,a)=>{if(t[a]){const u=t[a];const l=r[a];if(!u||!l)return;i.ttl=u;i.start=l;i.now=o||getNow();const h=i.now-l;i.remainingTTL=u-h}};let o=0;const getNow=()=>{const t=i.now();if(this.ttlResolution>0){o=t;const r=setTimeout((()=>o=0),this.ttlResolution);if(r.unref){r.unref()}}return t};this.getRemainingTTL=i=>{const a=this.#h.get(i);if(a===undefined){return 0}const u=t[a];const l=r[a];if(!u||!l){return Infinity}const h=(o||getNow())-l;return u-h};this.#T=i=>{const a=r[i];const u=t[i];return!!u&&!!a&&(o||getNow())-a>u}}#B=()=>{};#N=()=>{};#I=()=>{};#T=()=>false;#P(){const t=new ZeroArray(this.#i);this.#f=0;this.#w=t;this.#$=r=>{this.#f-=t[r];t[r]=0};this.#j=(t,r,i,o)=>{if(this.#x(r)){return 0}if(!isPosInt(i)){if(o){if(typeof o!=="function"){throw new TypeError("sizeCalculation must be a function")}i=o(r,t);if(!isPosInt(i)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return i};this.#W=(r,i,o)=>{t[r]=i;if(this.#s){const i=this.#s-t[r];while(this.#f>i){this.#H(true)}}this.#f+=t[r];if(o){o.entrySize=i;o.totalCalculatedSize=this.#f}}}#$=t=>{};#W=(t,r,i)=>{};#j=(t,r,i,o)=>{if(i||o){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#R({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#v;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#y){break}else{r=this.#g[r]}}}}*#k({allowStale:t=this.allowStale}={}){if(this.#c){for(let r=this.#y;true;){if(!this.#U(r)){break}if(t||!this.#T(r)){yield r}if(r===this.#v){break}else{r=this.#m[r]}}}}#U(t){return t!==undefined&&this.#h.get(this.#p[t])===t}*entries(){for(const t of this.#R()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*rentries(){for(const t of this.#k()){if(this.#d[t]!==undefined&&this.#p[t]!==undefined&&!this.#x(this.#d[t])){yield[this.#p[t],this.#d[t]]}}}*keys(){for(const t of this.#R()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*rkeys(){for(const t of this.#k()){const r=this.#p[t];if(r!==undefined&&!this.#x(this.#d[t])){yield r}}}*values(){for(const t of this.#R()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}*rvalues(){for(const t of this.#k()){const r=this.#d[t];if(r!==undefined&&!this.#x(this.#d[t])){yield this.#d[t]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;if(t(a,this.#p[i],this)){return this.get(this.#p[i],r)}}}forEach(t,r=this){for(const i of this.#R()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}rforEach(t,r=this){for(const i of this.#k()){const o=this.#d[i];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)continue;t.call(r,a,this.#p[i],this)}}purgeStale(){let t=false;for(const r of this.#k({allowStale:true})){if(this.#T(r)){this.#M(this.#p[r],"expire");t=true}}return t}info(t){const r=this.#h.get(t);if(r===undefined)return undefined;const o=this.#d[r];const a=this.#x(o)?o.__staleWhileFetching:o;if(a===undefined)return undefined;const u={value:a};if(this.#S&&this.#E){const t=this.#S[r];const o=this.#E[r];if(t&&o){const r=t-(i.now()-o);u.ttl=r;u.start=Date.now()}}if(this.#w){u.size=this.#w[r]}return u}dump(){const t=[];for(const r of this.#R({allowStale:true})){const o=this.#p[r];const a=this.#d[r];const u=this.#x(a)?a.__staleWhileFetching:a;if(u===undefined||o===undefined)continue;const l={value:u};if(this.#S&&this.#E){l.ttl=this.#S[r];const t=i.now()-this.#E[r];l.start=Math.floor(Date.now()-t)}if(this.#w){l.size=this.#w[r]}t.unshift([o,l])}return t}load(t){this.clear();for(const[r,o]of t){if(o.start){const t=Date.now()-o.start;o.start=i.now()-t}this.set(r,o.value,o)}}set(t,r,i={}){if(r===undefined){this.delete(t);return this}const{ttl:o=this.ttl,start:a,noDisposeOnSet:u=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:h}=i;let{noUpdateTTL:p=this.noUpdateTTL}=i;const d=this.#j(t,r,i.size||0,l);if(this.maxEntrySize&&d>this.maxEntrySize){if(h){h.set="miss";h.maxEntrySizeExceeded=true}this.#M(t,"set");return this}let m=this.#c===0?undefined:this.#h.get(t);if(m===undefined){m=this.#c===0?this.#v:this.#A.length!==0?this.#A.pop():this.#c===this.#i?this.#H(false):this.#c;this.#p[m]=t;this.#d[m]=r;this.#h.set(t,m);this.#m[this.#v]=m;this.#g[m]=this.#v;this.#v=m;this.#c++;this.#W(m,d,h);if(h)h.set="add";p=false}else{this.#O(m);const i=this.#d[m];if(r!==i){if(this.#D&&this.#x(i)){i.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:r}=i;if(r!==undefined&&!u){if(this.#_){this.#o?.(r,t,"set")}if(this.#C){this.#b?.push([r,t,"set"])}}}else if(!u){if(this.#_){this.#o?.(i,t,"set")}if(this.#C){this.#b?.push([i,t,"set"])}}this.#$(m);this.#W(m,d,h);this.#d[m]=r;if(h){h.set="replace";const t=i&&this.#x(i)?i.__staleWhileFetching:i;if(t!==undefined)h.oldValue=t}}else if(h){h.set="update"}}if(o!==0&&!this.#S){this.#L()}if(this.#S){if(!p){this.#I(m,o,a)}if(h)this.#N(h,m)}if(!u&&this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return this}pop(){try{while(this.#c){const t=this.#d[this.#y];this.#H(true);if(this.#x(t)){if(t.__staleWhileFetching){return t.__staleWhileFetching}}else if(t!==undefined){return t}}}finally{if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}#H(t){const r=this.#y;const i=this.#p[r];const o=this.#d[r];if(this.#D&&this.#x(o)){o.__abortController.abort(new Error("evicted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(o,i,"evict")}if(this.#C){this.#b?.push([o,i,"evict"])}}this.#$(r);if(t){this.#p[r]=undefined;this.#d[r]=undefined;this.#A.push(r)}if(this.#c===1){this.#y=this.#v=0;this.#A.length=0}else{this.#y=this.#m[r]}this.#h.delete(i);this.#c--;return r}has(t,r={}){const{updateAgeOnHas:i=this.updateAgeOnHas,status:o}=r;const a=this.#h.get(t);if(a!==undefined){const t=this.#d[a];if(this.#x(t)&&t.__staleWhileFetching===undefined){return false}if(!this.#T(a)){if(i){this.#B(a)}if(o){o.has="hit";this.#N(o,a)}return true}else if(o){o.has="stale";this.#N(o,a)}}else if(o){o.has="miss"}return false}peek(t,r={}){const{allowStale:i=this.allowStale}=r;const o=this.#h.get(t);if(o===undefined||!i&&this.#T(o)){return}const a=this.#d[o];return this.#x(a)?a.__staleWhileFetching:a}#F(t,r,i,o){const a=r===undefined?undefined:this.#d[r];if(this.#x(a)){return a}const l=new u;const{signal:h}=i;h?.addEventListener("abort",(()=>l.abort(h.reason)),{signal:l.signal});const p={signal:l.signal,options:i,context:o};const cb=(o,a=false)=>{const{aborted:u}=l.signal;const h=i.ignoreFetchAbort&&o!==undefined;if(i.status){if(u&&!a){i.status.fetchAborted=true;i.status.fetchError=l.signal.reason;if(h)i.status.fetchAbortIgnored=true}else{i.status.fetchResolved=true}}if(u&&!h&&!a){return fetchFail(l.signal.reason)}const m=d;if(this.#d[r]===d){if(o===undefined){if(m.__staleWhileFetching){this.#d[r]=m.__staleWhileFetching}else{this.#M(t,"fetch")}}else{if(i.status)i.status.fetchUpdated=true;this.set(t,o,p.options)}}return o};const eb=t=>{if(i.status){i.status.fetchRejected=true;i.status.fetchError=t}return fetchFail(t)};const fetchFail=o=>{const{aborted:a}=l.signal;const u=a&&i.allowStaleOnFetchAbort;const h=u||i.allowStaleOnFetchRejection;const p=h||i.noDeleteOnFetchRejection;const m=d;if(this.#d[r]===d){const i=!p||m.__staleWhileFetching===undefined;if(i){this.#M(t,"fetch")}else if(!u){this.#d[r]=m.__staleWhileFetching}}if(h){if(i.status&&m.__staleWhileFetching!==undefined){i.status.returnedStale=true}return m.__staleWhileFetching}else if(m.__returned===m){throw o}};const pcall=(r,o)=>{const u=this.#u?.(t,a,p);if(u&&u instanceof Promise){u.then((t=>r(t===undefined?undefined:t)),o)}l.signal.addEventListener("abort",(()=>{if(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort){r(undefined);if(i.allowStaleOnFetchAbort){r=t=>cb(t,true)}}}))};if(i.status)i.status.fetchDispatched=true;const d=new Promise(pcall).then(cb,eb);const m=Object.assign(d,{__abortController:l,__staleWhileFetching:a,__returned:undefined});if(r===undefined){this.set(t,m,{...p.options,status:undefined});r=this.#h.get(t)}else{this.#d[r]=m}return m}#x(t){if(!this.#D)return false;const r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof u}async fetch(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:u=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:h=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:m=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:y=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:A,forceRefresh:b=false,status:w,signal:E}=r;if(!this.#D){if(w)w.fetch="get";return this.get(t,{allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:w})}const S={allowStale:i,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:u,noDisposeOnSet:l,size:h,sizeCalculation:p,noUpdateTTL:d,noDeleteOnFetchRejection:m,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:v,ignoreFetchAbort:y,status:w,signal:E};let _=this.#h.get(t);if(_===undefined){if(w)w.fetch="miss";const r=this.#F(t,_,S,A);return r.__returned=r}else{const r=this.#d[_];if(this.#x(r)){const t=i&&r.__staleWhileFetching!==undefined;if(w){w.fetch="inflight";if(t)w.returnedStale=true}return t?r.__staleWhileFetching:r.__returned=r}const a=this.#T(_);if(!b&&!a){if(w)w.fetch="hit";this.#O(_);if(o){this.#B(_)}if(w)this.#N(w,_);return r}const u=this.#F(t,_,S,A);const l=u.__staleWhileFetching!==undefined;const h=l&&i;if(w){w.fetch=a?"stale":"refresh";if(h&&a)w.returnedStale=true}return h?u.__staleWhileFetching:u.__returned=u}}async forceFetch(t,r={}){const i=await this.fetch(t,r);if(i===undefined)throw new Error("fetch() returned undefined");return i}memo(t,r={}){const i=this.#l;if(!i){throw new Error("no memoMethod provided to constructor")}const{context:o,forceRefresh:a,...u}=r;const l=this.get(t,u);if(!a&&l!==undefined)return l;const h=i(t,l,{options:u,context:o});this.set(t,h,u);return h}get(t,r={}){const{allowStale:i=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:u}=r;const l=this.#h.get(t);if(l!==undefined){const r=this.#d[l];const h=this.#x(r);if(u)this.#N(u,l);if(this.#T(l)){if(u)u.get="stale";if(!h){if(!a){this.#M(t,"expire")}if(u&&i)u.returnedStale=true;return i?r:undefined}else{if(u&&i&&r.__staleWhileFetching!==undefined){u.returnedStale=true}return i?r.__staleWhileFetching:undefined}}else{if(u)u.get="hit";if(h){return r.__staleWhileFetching}this.#O(l);if(o){this.#B(l)}return r}}else if(u){u.get="miss"}}#G(t,r){this.#g[r]=t;this.#m[t]=r}#O(t){if(t!==this.#v){if(t===this.#y){this.#y=this.#m[t]}else{this.#G(this.#g[t],this.#m[t])}this.#G(this.#v,t);this.#v=t}}delete(t){return this.#M(t,"delete")}#M(t,r){let i=false;if(this.#c!==0){const o=this.#h.get(t);if(o!==undefined){i=true;if(this.#c===1){this.#Y(r)}else{this.#$(o);const i=this.#d[o];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else if(this.#_||this.#C){if(this.#_){this.#o?.(i,t,r)}if(this.#C){this.#b?.push([i,t,r])}}this.#h.delete(t);this.#p[o]=undefined;this.#d[o]=undefined;if(o===this.#v){this.#v=this.#g[o]}else if(o===this.#y){this.#y=this.#m[o]}else{const t=this.#g[o];this.#m[t]=this.#m[o];const r=this.#m[o];this.#g[r]=this.#g[o]}this.#c--;this.#A.push(o)}}}if(this.#C&&this.#b?.length){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}return i}clear(){return this.#Y("delete")}#Y(t){for(const r of this.#k({allowStale:true})){const i=this.#d[r];if(this.#x(i)){i.__abortController.abort(new Error("deleted"))}else{const o=this.#p[r];if(this.#_){this.#o?.(i,o,t)}if(this.#C){this.#b?.push([i,o,t])}}}this.#h.clear();this.#d.fill(undefined);this.#p.fill(undefined);if(this.#S&&this.#E){this.#S.fill(0);this.#E.fill(0)}if(this.#w){this.#w.fill(0)}this.#y=0;this.#v=0;this.#A.length=0;this.#f=0;this.#c=0;if(this.#C&&this.#b){const t=this.#b;let r;while(r=t?.shift()){this.#a?.(...r)}}}}r.LRUCache=LRUCache},774:(t,r,i)=>{"use strict";i.r(r);i.d(r,{default:()=>ora,oraPromise:()=>oraPromise,spinners:()=>U});var o=i(7742);const a=10;const wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const u={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]}};const l=Object.keys(u.modifier);const h=Object.keys(u.color);const p=Object.keys(u.bgColor);const d=[...h,...p];function assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(u)){for(const[r,o]of Object.entries(i)){u[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=u[r];t.set(o[0],o[1])}Object.defineProperty(u,r,{value:i,enumerable:false})}Object.defineProperty(u,"codes",{value:t,enumerable:false});u.color.close="";u.bgColor.close="";u.color.ansi=wrapAnsi16();u.color.ansi256=wrapAnsi256();u.color.ansi16m=wrapAnsi16m();u.bgColor.ansi=wrapAnsi16(a);u.bgColor.ansi256=wrapAnsi256(a);u.bgColor.ansi16m=wrapAnsi16m(a);Object.defineProperties(u,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>u.rgbToAnsi256(...u.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>u.ansi256ToAnsi(u.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>u.ansi256ToAnsi(u.hexToAnsi256(t)),enumerable:false}});return u}const m=assembleStyles();const g=m;const y=require("node:os");const v=require("node:tty");function hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:A}=o;let b;if(hasFlag("no-color")||hasFlag("no-colors")||hasFlag("color=false")||hasFlag("color=never")){b=0}else if(hasFlag("color")||hasFlag("colors")||hasFlag("color=true")||hasFlag("color=always")){b=1}function envForceColor(){if("FORCE_COLOR"in A){if(A.FORCE_COLOR==="true"){return 1}if(A.FORCE_COLOR==="false"){return 0}return A.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(A.FORCE_COLOR,10),3)}}function translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function _supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=envForceColor();if(a!==undefined){b=a}const u=i?b:a;if(u===0){return 0}if(i){if(hasFlag("color=16m")||hasFlag("color=full")||hasFlag("color=truecolor")){return 3}if(hasFlag("color=256")){return 2}}if("TF_BUILD"in A&&"AGENT_NAME"in A){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(A.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in A){if("GITHUB_ACTIONS"in A||"GITEA_ACTIONS"in A){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in A))||A.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in A){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(A.TEAMCITY_VERSION)?1:0}if(A.COLORTERM==="truecolor"){return 3}if(A.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in A){const t=Number.parseInt((A.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(A.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(A.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(A.TERM)){return 1}if("COLORTERM"in A){return 1}return l}function createSupportsColor(t,r={}){const i=_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return translateLevel(i)}const w={stdout:createSupportsColor({isTTY:v.isatty(1)}),stderr:createSupportsColor({isTTY:v.isatty(2)})};const E=w;function stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:S,stderr:_}=E;const D=Symbol("GENERATOR");const C=Symbol("STYLER");const x=Symbol("IS_EMPTY");const O=["ansi","ansi","ansi256","ansi16m"];const R=Object.create(null);const applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=S?S.level:0;t.level=r.level===undefined?i:r.level};class Chalk{constructor(t){return chalkFactory(t)}}const chalkFactory=t=>{const chalk=(...t)=>t.join(" ");applyOptions(chalk,t);Object.setPrototypeOf(chalk,createChalk.prototype);return chalk};function createChalk(t){return chalkFactory(t)}Object.setPrototypeOf(createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(g)){R[t]={get(){const i=createBuilder(this,createStyler(r.open,r.close,this[C]),this[x]);Object.defineProperty(this,t,{value:i});return i}}}R.visible={get(){const t=createBuilder(this,this[C],true);Object.defineProperty(this,"visible",{value:t});return t}};const getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return g[i].ansi16m(...o)}if(r==="ansi256"){return g[i].ansi256(g.rgbToAnsi256(...o))}return g[i].ansi(g.rgbToAnsi(...o))}if(t==="hex"){return getModelAnsi("rgb",r,i,...g.hexToRgb(...o))}return g[i][t](...o)};const k=["rgb","hex","ansi256"];for(const t of k){R[t]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"color",...i),g.color.close,this[C]);return createBuilder(this,o,this[x])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);R[r]={get(){const{level:r}=this;return function(...i){const o=createStyler(getModelAnsi(t,O[r],"bgColor",...i),g.bgColor.close,this[C]);return createBuilder(this,o,this[x])}}}}const T=Object.defineProperties((()=>{}),{...R,level:{enumerable:true,get(){return this[D].level},set(t){this[D].level=t}}});const createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const createBuilder=(t,r,i)=>{const builder=(...t)=>applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,T);builder[D]=t;builder[C]=r;builder[x]=i;return builder};const applyStyle=(t,r)=>{if(t.level<=0||!r){return t[x]?"":r}let i=t[C];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(createChalk.prototype,R);const P=createChalk();const L=createChalk({level:_?_.level:0});const I=P;var M=i(7462);var B=i(9545);const N=M((()=>{B((()=>{o.stderr.write("[?25h")}),{alwaysLast:true})}));const $=N;let j=false;const W={};W.show=(t=o.stderr)=>{if(!t.isTTY){return}j=false;t.write("[?25h")};W.hide=(t=o.stderr)=>{if(!t.isTTY){return}$();j=true;t.write("[?25l")};W.toggle=(t,r)=>{if(t!==undefined){j=t}if(j){W.show(r)}else{W.hide(r)}};const H=W;var U=i(5549);const G=10;const ansi_styles_wrapAnsi16=(t=0)=>r=>`[${r+t}m`;const ansi_styles_wrapAnsi256=(t=0)=>r=>`[${38+t};5;${r}m`;const ansi_styles_wrapAnsi16m=(t=0)=>(r,i,o)=>`[${38+t};2;${r};${i};${o}m`;const Y={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]}};const V=Object.keys(Y.modifier);const z=Object.keys(Y.color);const q=Object.keys(Y.bgColor);const Q=[...z,...q];function ansi_styles_assembleStyles(){const t=new Map;for(const[r,i]of Object.entries(Y)){for(const[r,o]of Object.entries(i)){Y[r]={open:`[${o[0]}m`,close:`[${o[1]}m`};i[r]=Y[r];t.set(o[0],o[1])}Object.defineProperty(Y,r,{value:i,enumerable:false})}Object.defineProperty(Y,"codes",{value:t,enumerable:false});Y.color.close="";Y.bgColor.close="";Y.color.ansi=ansi_styles_wrapAnsi16();Y.color.ansi256=ansi_styles_wrapAnsi256();Y.color.ansi16m=ansi_styles_wrapAnsi16m();Y.bgColor.ansi=ansi_styles_wrapAnsi16(G);Y.bgColor.ansi256=ansi_styles_wrapAnsi256(G);Y.bgColor.ansi16m=ansi_styles_wrapAnsi16m(G);Object.defineProperties(Y,{rgbToAnsi256:{value(t,r,i){if(t===r&&r===i){if(t<8){return 16}if(t>248){return 231}return Math.round((t-8)/247*24)+232}return 16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5)},enumerable:false},hexToRgb:{value(t){const r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r){return[0,0,0]}let[i]=r;if(i.length===3){i=[...i].map((t=>t+t)).join("")}const o=Number.parseInt(i,16);return[o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>Y.rgbToAnsi256(...Y.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8){return 30+t}if(t<16){return 90+(t-8)}let r;let i;let o;if(t>=232){r=((t-232)*10+8)/255;i=r;o=r}else{t-=16;const a=t%36;r=Math.floor(t/36)/5;i=Math.floor(a/6)/5;o=a%6/5}const a=Math.max(r,i,o)*2;if(a===0){return 30}let u=30+(Math.round(o)<<2|Math.round(i)<<1|Math.round(r));if(a===2){u+=60}return u},enumerable:false},rgbToAnsi:{value:(t,r,i)=>Y.ansi256ToAnsi(Y.rgbToAnsi256(t,r,i)),enumerable:false},hexToAnsi:{value:t=>Y.ansi256ToAnsi(Y.hexToAnsi256(t)),enumerable:false}});return Y}const K=ansi_styles_assembleStyles();const J=K;function supports_color_hasFlag(t,r=(globalThis.Deno?globalThis.Deno.args:o.argv)){const i=t.startsWith("-")?"":t.length===1?"-":"--";const a=r.indexOf(i+t);const u=r.indexOf("--");return a!==-1&&(u===-1||a<u)}const{env:X}=o;let Z;if(supports_color_hasFlag("no-color")||supports_color_hasFlag("no-colors")||supports_color_hasFlag("color=false")||supports_color_hasFlag("color=never")){Z=0}else if(supports_color_hasFlag("color")||supports_color_hasFlag("colors")||supports_color_hasFlag("color=true")||supports_color_hasFlag("color=always")){Z=1}function supports_color_envForceColor(){if("FORCE_COLOR"in X){if(X.FORCE_COLOR==="true"){return 1}if(X.FORCE_COLOR==="false"){return 0}return X.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(X.FORCE_COLOR,10),3)}}function supports_color_translateLevel(t){if(t===0){return false}return{level:t,hasBasic:true,has256:t>=2,has16m:t>=3}}function supports_color_supportsColor(t,{streamIsTTY:r,sniffFlags:i=true}={}){const a=supports_color_envForceColor();if(a!==undefined){Z=a}const u=i?Z:a;if(u===0){return 0}if(i){if(supports_color_hasFlag("color=16m")||supports_color_hasFlag("color=full")||supports_color_hasFlag("color=truecolor")){return 3}if(supports_color_hasFlag("color=256")){return 2}}if("TF_BUILD"in X&&"AGENT_NAME"in X){return 1}if(t&&!r&&u===undefined){return 0}const l=u||0;if(X.TERM==="dumb"){return l}if(o.platform==="win32"){const t=y.release().split(".");if(Number(t[0])>=10&&Number(t[2])>=10586){return Number(t[2])>=14931?3:2}return 1}if("CI"in X){if("GITHUB_ACTIONS"in X||"GITEA_ACTIONS"in X){return 3}if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((t=>t in X))||X.CI_NAME==="codeship"){return 1}return l}if("TEAMCITY_VERSION"in X){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(X.TEAMCITY_VERSION)?1:0}if(X.COLORTERM==="truecolor"){return 3}if(X.TERM==="xterm-kitty"){return 3}if("TERM_PROGRAM"in X){const t=Number.parseInt((X.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(X.TERM_PROGRAM){case"iTerm.app":{return t>=3?3:2}case"Apple_Terminal":{return 2}}}if(/-256(color)?$/i.test(X.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(X.TERM)){return 1}if("COLORTERM"in X){return 1}return l}function supports_color_createSupportsColor(t,r={}){const i=supports_color_supportsColor(t,{streamIsTTY:t&&t.isTTY,...r});return supports_color_translateLevel(i)}const ee={stdout:supports_color_createSupportsColor({isTTY:v.isatty(1)}),stderr:supports_color_createSupportsColor({isTTY:v.isatty(2)})};const te=ee;function utilities_stringReplaceAll(t,r,i){let o=t.indexOf(r);if(o===-1){return t}const a=r.length;let u=0;let l="";do{l+=t.slice(u,o)+r+i;u=o+a;o=t.indexOf(r,u)}while(o!==-1);l+=t.slice(u);return l}function utilities_stringEncaseCRLFWithFirstIndex(t,r,i,o){let a=0;let u="";do{const l=t[o-1]==="\r";u+=t.slice(a,l?o-1:o)+r+(l?"\r\n":"\n")+i;a=o+1;o=t.indexOf("\n",a)}while(o!==-1);u+=t.slice(a);return u}const{stdout:re,stderr:ne}=te;const ie=Symbol("GENERATOR");const se=Symbol("STYLER");const oe=Symbol("IS_EMPTY");const ae=["ansi","ansi","ansi256","ansi16m"];const ue=Object.create(null);const source_applyOptions=(t,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const i=re?re.level:0;t.level=r.level===undefined?i:r.level};class source_Chalk{constructor(t){return source_chalkFactory(t)}}const source_chalkFactory=t=>{const chalk=(...t)=>t.join(" ");source_applyOptions(chalk,t);Object.setPrototypeOf(chalk,source_createChalk.prototype);return chalk};function source_createChalk(t){return source_chalkFactory(t)}Object.setPrototypeOf(source_createChalk.prototype,Function.prototype);for(const[t,r]of Object.entries(J)){ue[t]={get(){const i=source_createBuilder(this,source_createStyler(r.open,r.close,this[se]),this[oe]);Object.defineProperty(this,t,{value:i});return i}}}ue.visible={get(){const t=source_createBuilder(this,this[se],true);Object.defineProperty(this,"visible",{value:t});return t}};const source_getModelAnsi=(t,r,i,...o)=>{if(t==="rgb"){if(r==="ansi16m"){return J[i].ansi16m(...o)}if(r==="ansi256"){return J[i].ansi256(J.rgbToAnsi256(...o))}return J[i].ansi(J.rgbToAnsi(...o))}if(t==="hex"){return source_getModelAnsi("rgb",r,i,...J.hexToRgb(...o))}return J[i][t](...o)};const le=["rgb","hex","ansi256"];for(const t of le){ue[t]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"color",...i),J.color.close,this[se]);return source_createBuilder(this,o,this[oe])}}};const r="bg"+t[0].toUpperCase()+t.slice(1);ue[r]={get(){const{level:r}=this;return function(...i){const o=source_createStyler(source_getModelAnsi(t,ae[r],"bgColor",...i),J.bgColor.close,this[se]);return source_createBuilder(this,o,this[oe])}}}}const ce=Object.defineProperties((()=>{}),{...ue,level:{enumerable:true,get(){return this[ie].level},set(t){this[ie].level=t}}});const source_createStyler=(t,r,i)=>{let o;let a;if(i===undefined){o=t;a=r}else{o=i.openAll+t;a=r+i.closeAll}return{open:t,close:r,openAll:o,closeAll:a,parent:i}};const source_createBuilder=(t,r,i)=>{const builder=(...t)=>source_applyStyle(builder,t.length===1?""+t[0]:t.join(" "));Object.setPrototypeOf(builder,ce);builder[ie]=t;builder[se]=r;builder[oe]=i;return builder};const source_applyStyle=(t,r)=>{if(t.level<=0||!r){return t[oe]?"":r}let i=t[se];if(i===undefined){return r}const{openAll:o,closeAll:a}=i;if(r.includes("")){while(i!==undefined){r=utilities_stringReplaceAll(r,i.close,i.open);i=i.parent}}const u=r.indexOf("\n");if(u!==-1){r=utilities_stringEncaseCRLFWithFirstIndex(r,a,o,u)}return o+r+a};Object.defineProperties(source_createChalk.prototype,ue);const fe=source_createChalk();const he=source_createChalk({level:ne?ne.level:0});const pe=fe;function isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const de={info:pe.blue("ℹ"),success:pe.green("✔"),warning:pe.yellow("⚠"),error:pe.red("✖")};const me={info:pe.blue("i"),success:pe.green("√"),warning:pe.yellow("‼"),error:pe.red("×")};const ge=isUnicodeSupported()?de:me;const ye=ge;function ansiRegex({onlyFirst:t=false}={}){const r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,t?undefined:"g")}const ve=ansiRegex();function stripAnsi(t){if(typeof t!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``)}return t.replace(ve,"")}var Ae=i(1205);function isInteractive({stream:t=process.stdout}={}){return Boolean(t&&t.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function is_unicode_supported_isUnicodeSupported(){if(o.platform!=="win32"){return o.env.TERM!=="linux"}return Boolean(o.env.CI)||Boolean(o.env.WT_SESSION)||Boolean(o.env.TERMINUS_SUBLIME)||o.env.ConEmuTask==="{cmd::Cmder}"||o.env.TERM_PROGRAM==="Terminus-Sublime"||o.env.TERM_PROGRAM==="vscode"||o.env.TERM==="xterm-256color"||o.env.TERM==="alacritty"||o.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}const be=require("node:readline");var we=i(2167);const Ee=3;class StdinDiscarder{#V=0;#z=new we.BufferListStream;#q;#Q;constructor(){this.#z.pipe(o.stdout);const t=this;this.#q=function(r,i,...a){const{stdin:u}=o;if(t.#V>0||u.emit===t.#q){if(r==="keypress"){return}if(r==="data"&&i.includes(Ee)){o.emit("SIGINT")}Reflect.apply(t.#q,this,[r,i,...a])}else{Reflect.apply(o.stdin.emit,this,[r,i,...a])}}}start(){this.#V++;if(this.#V===1){this._realStart()}}stop(){if(this.#V<=0){throw new Error("`stop` called more times than `start`")}this.#V--;if(this.#V===0){this._realStop()}}_realStart(){if(o.platform==="win32"){return}this.#Q=be.createInterface({input:o.stdin,output:this.#z});this.#Q.on("SIGINT",(()=>{if(o.listenerCount("SIGINT")===0){o.emit("SIGINT")}else{this.#Q.close();o.kill(o.pid,"SIGINT")}}))}_realStop(){if(o.platform==="win32"){return}this.#Q.close();this.#Q=undefined}}const Se=new StdinDiscarder;const _e=Se;class Ora{#K=0;#J=false;#X=0;#Z=0;#ee;#te;#re;#ne;#ie;#se;#oe;#ae;#ue;#le;#ce;color;constructor(t){if(typeof t==="string"){t={text:t}}this.#ee={color:"cyan",stream:o.stderr,discardStdin:true,hideCursor:true,...t};this.color=this.#ee.color;this.spinner=this.#ee.spinner;this.#ie=this.#ee.interval;this.#re=this.#ee.stream;this.#se=typeof this.#ee.isEnabled==="boolean"?this.#ee.isEnabled:isInteractive({stream:this.#re});this.#oe=typeof this.#ee.isSilent==="boolean"?this.#ee.isSilent:false;this.text=this.#ee.text;this.prefixText=this.#ee.prefixText;this.suffixText=this.#ee.suffixText;this.indent=this.#ee.indent;if(o.env.NODE_ENV==="test"){this._stream=this.#re;this._isEnabled=this.#se;Object.defineProperty(this,"_linesToClear",{get(){return this.#K},set(t){this.#K=t}});Object.defineProperty(this,"_frameIndex",{get(){return this.#Z}});Object.defineProperty(this,"_lineCount",{get(){return this.#X}})}}get indent(){return this.#ae}set indent(t=0){if(!(t>=0&&Number.isInteger(t))){throw new Error("The `indent` option must be an integer from 0 and up")}this.#ae=t;this.updateLineCount()}get interval(){return this.#ie||this.#te.interval||100}get spinner(){return this.#te}set spinner(t){this.#Z=0;this.#ie=undefined;if(typeof t==="object"){if(t.frames===undefined){throw new Error("The given spinner must have a `frames` property")}this.#te=t}else if(!is_unicode_supported_isUnicodeSupported()){this.#te=U.line}else if(t===undefined){this.#te=U.dots}else if(t!=="default"&&U[t]){this.#te=U[t]}else{throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}}get text(){return this.#ue}set text(t){this.#ue=t||"";this.updateLineCount()}get prefixText(){return this.#le}set prefixText(t){this.#le=t||"";this.updateLineCount()}get suffixText(){return this.#ce}set suffixText(t){this.#ce=t||"";this.updateLineCount()}get isSpinning(){return this.#ne!==undefined}getFullPrefixText(t=this.#le,r=" "){if(typeof t==="string"&&t!==""){return t+r}if(typeof t==="function"){return t()+r}return""}getFullSuffixText(t=this.#ce,r=" "){if(typeof t==="string"&&t!==""){return r+t}if(typeof t==="function"){return r+t()}return""}updateLineCount(){const t=this.#re.columns||80;const r=this.getFullPrefixText(this.#le,"-");const i=this.getFullSuffixText(this.#ce,"-");const o=" ".repeat(this.#ae)+r+"--"+this.#ue+"--"+i;this.#X=0;for(const r of stripAnsi(o).split("\n")){this.#X+=Math.max(1,Math.ceil(Ae(r)/t))}}get isEnabled(){return this.#se&&!this.#oe}set isEnabled(t){if(typeof t!=="boolean"){throw new TypeError("The `isEnabled` option must be a boolean")}this.#se=t}get isSilent(){return this.#oe}set isSilent(t){if(typeof t!=="boolean"){throw new TypeError("The `isSilent` option must be a boolean")}this.#oe=t}frame(){const{frames:t}=this.#te;let r=t[this.#Z];if(this.color){r=I[this.color](r)}this.#Z=++this.#Z%t.length;const i=typeof this.#le==="string"&&this.#le!==""?this.#le+" ":"";const o=typeof this.text==="string"?" "+this.text:"";const a=typeof this.#ce==="string"&&this.#ce!==""?" "+this.#ce:"";return i+r+o+a}clear(){if(!this.#se||!this.#re.isTTY){return this}this.#re.cursorTo(0);for(let t=0;t<this.#K;t++){if(t>0){this.#re.moveCursor(0,-1)}this.#re.clearLine(1)}if(this.#ae||this.lastIndent!==this.#ae){this.#re.cursorTo(this.#ae)}this.lastIndent=this.#ae;this.#K=0;return this}render(){if(this.#oe){return this}this.clear();this.#re.write(this.frame());this.#K=this.#X;return this}start(t){if(t){this.text=t}if(this.#oe){return this}if(!this.#se){if(this.text){this.#re.write(`- ${this.text}\n`)}return this}if(this.isSpinning){return this}if(this.#ee.hideCursor){H.hide(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY){this.#J=true;_e.start()}this.render();this.#ne=setInterval(this.render.bind(this),this.interval);return this}stop(){if(!this.#se){return this}clearInterval(this.#ne);this.#ne=undefined;this.#Z=0;this.clear();if(this.#ee.hideCursor){H.show(this.#re)}if(this.#ee.discardStdin&&o.stdin.isTTY&&this.#J){_e.stop();this.#J=false}return this}succeed(t){return this.stopAndPersist({symbol:ye.success,text:t})}fail(t){return this.stopAndPersist({symbol:ye.error,text:t})}warn(t){return this.stopAndPersist({symbol:ye.warning,text:t})}info(t){return this.stopAndPersist({symbol:ye.info,text:t})}stopAndPersist(t={}){if(this.#oe){return this}const r=t.prefixText||this.#le;const i=this.getFullPrefixText(r," ");const o=t.symbol||" ";const a=t.text||this.text;const u=typeof a==="string"?" "+a:"";const l=t.suffixText!==undefined?t.suffixText:this.#ce;const h=this.getFullSuffixText(l," ");const p=i+o+u+h+"\n";this.stop();this.#re.write(p);return this}}function ora(t){return new Ora(t)}async function oraPromise(t,r){const i=typeof t==="function";const o=typeof t.then==="function";if(!i&&!o){throw new TypeError("Parameter `action` must be a Function or a Promise")}const{successText:a,failText:u}=typeof r==="object"?r:{successText:undefined,failText:undefined};const l=ora(r).start();try{const r=i?t(l):t;const o=await r;l.succeed(a===undefined?undefined:typeof a==="string"?a:a(o));return o}catch(t){l.fail(u===undefined?undefined:typeof u==="string"?u:u(t));throw t}}},3300:t=>{"use strict";t.exports=JSON.parse('{"dots":{"interval":80,"frames":["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"]},"dots2":{"interval":80,"frames":["⣾","⣽","⣻","⢿","⡿","⣟","⣯","⣷"]},"dots3":{"interval":80,"frames":["⠋","⠙","⠚","⠞","⠖","⠦","⠴","⠲","⠳","⠓"]},"dots4":{"interval":80,"frames":["⠄","⠆","⠇","⠋","⠙","⠸","⠰","⠠","⠰","⠸","⠙","⠋","⠇","⠆"]},"dots5":{"interval":80,"frames":["⠋","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋"]},"dots6":{"interval":80,"frames":["⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠴","⠲","⠒","⠂","⠂","⠒","⠚","⠙","⠉","⠁"]},"dots7":{"interval":80,"frames":["⠈","⠉","⠋","⠓","⠒","⠐","⠐","⠒","⠖","⠦","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈"]},"dots8":{"interval":80,"frames":["⠁","⠁","⠉","⠙","⠚","⠒","⠂","⠂","⠒","⠲","⠴","⠤","⠄","⠄","⠤","⠠","⠠","⠤","⠦","⠖","⠒","⠐","⠐","⠒","⠓","⠋","⠉","⠈","⠈"]},"dots9":{"interval":80,"frames":["⢹","⢺","⢼","⣸","⣇","⡧","⡗","⡏"]},"dots10":{"interval":80,"frames":["⢄","⢂","⢁","⡁","⡈","⡐","⡠"]},"dots11":{"interval":100,"frames":["⠁","⠂","⠄","⡀","⢀","⠠","⠐","⠈"]},"dots12":{"interval":80,"frames":["⢀⠀","⡀⠀","⠄⠀","⢂⠀","⡂⠀","⠅⠀","⢃⠀","⡃⠀","⠍⠀","⢋⠀","⡋⠀","⠍⠁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⢈⠩","⡀⢙","⠄⡙","⢂⠩","⡂⢘","⠅⡘","⢃⠨","⡃⢐","⠍⡐","⢋⠠","⡋⢀","⠍⡁","⢋⠁","⡋⠁","⠍⠉","⠋⠉","⠋⠉","⠉⠙","⠉⠙","⠉⠩","⠈⢙","⠈⡙","⠈⠩","⠀⢙","⠀⡙","⠀⠩","⠀⢘","⠀⡘","⠀⠨","⠀⢐","⠀⡐","⠀⠠","⠀⢀","⠀⡀"]},"dots13":{"interval":80,"frames":["⣼","⣹","⢻","⠿","⡟","⣏","⣧","⣶"]},"dots8Bit":{"interval":80,"frames":["⠀","⠁","⠂","⠃","⠄","⠅","⠆","⠇","⡀","⡁","⡂","⡃","⡄","⡅","⡆","⡇","⠈","⠉","⠊","⠋","⠌","⠍","⠎","⠏","⡈","⡉","⡊","⡋","⡌","⡍","⡎","⡏","⠐","⠑","⠒","⠓","⠔","⠕","⠖","⠗","⡐","⡑","⡒","⡓","⡔","⡕","⡖","⡗","⠘","⠙","⠚","⠛","⠜","⠝","⠞","⠟","⡘","⡙","⡚","⡛","⡜","⡝","⡞","⡟","⠠","⠡","⠢","⠣","⠤","⠥","⠦","⠧","⡠","⡡","⡢","⡣","⡤","⡥","⡦","⡧","⠨","⠩","⠪","⠫","⠬","⠭","⠮","⠯","⡨","⡩","⡪","⡫","⡬","⡭","⡮","⡯","⠰","⠱","⠲","⠳","⠴","⠵","⠶","⠷","⡰","⡱","⡲","⡳","⡴","⡵","⡶","⡷","⠸","⠹","⠺","⠻","⠼","⠽","⠾","⠿","⡸","⡹","⡺","⡻","⡼","⡽","⡾","⡿","⢀","⢁","⢂","⢃","⢄","⢅","⢆","⢇","⣀","⣁","⣂","⣃","⣄","⣅","⣆","⣇","⢈","⢉","⢊","⢋","⢌","⢍","⢎","⢏","⣈","⣉","⣊","⣋","⣌","⣍","⣎","⣏","⢐","⢑","⢒","⢓","⢔","⢕","⢖","⢗","⣐","⣑","⣒","⣓","⣔","⣕","⣖","⣗","⢘","⢙","⢚","⢛","⢜","⢝","⢞","⢟","⣘","⣙","⣚","⣛","⣜","⣝","⣞","⣟","⢠","⢡","⢢","⢣","⢤","⢥","⢦","⢧","⣠","⣡","⣢","⣣","⣤","⣥","⣦","⣧","⢨","⢩","⢪","⢫","⢬","⢭","⢮","⢯","⣨","⣩","⣪","⣫","⣬","⣭","⣮","⣯","⢰","⢱","⢲","⢳","⢴","⢵","⢶","⢷","⣰","⣱","⣲","⣳","⣴","⣵","⣶","⣷","⢸","⢹","⢺","⢻","⢼","⢽","⢾","⢿","⣸","⣹","⣺","⣻","⣼","⣽","⣾","⣿"]},"sand":{"interval":80,"frames":["⠁","⠂","⠄","⡀","⡈","⡐","⡠","⣀","⣁","⣂","⣄","⣌","⣔","⣤","⣥","⣦","⣮","⣶","⣷","⣿","⡿","⠿","⢟","⠟","⡛","⠛","⠫","⢋","⠋","⠍","⡉","⠉","⠑","⠡","⢁"]},"line":{"interval":130,"frames":["-","\\\\","|","/"]},"line2":{"interval":100,"frames":["⠂","-","–","—","–","-"]},"pipe":{"interval":100,"frames":["┤","┘","┴","└","├","┌","┬","┐"]},"simpleDots":{"interval":400,"frames":[". ",".. ","..."," "]},"simpleDotsScrolling":{"interval":200,"frames":[". ",".. ","..."," .."," ."," "]},"star":{"interval":70,"frames":["✶","✸","✹","✺","✹","✷"]},"star2":{"interval":80,"frames":["+","x","*"]},"flip":{"interval":70,"frames":["_","_","_","-","`","`","\'","´","-","_","_","_"]},"hamburger":{"interval":100,"frames":["☱","☲","☴"]},"growVertical":{"interval":120,"frames":["▁","▃","▄","▅","▆","▇","▆","▅","▄","▃"]},"growHorizontal":{"interval":120,"frames":["▏","▎","▍","▌","▋","▊","▉","▊","▋","▌","▍","▎"]},"balloon":{"interval":140,"frames":[" ",".","o","O","@","*"," "]},"balloon2":{"interval":120,"frames":[".","o","O","°","O","o","."]},"noise":{"interval":100,"frames":["▓","▒","░"]},"bounce":{"interval":120,"frames":["⠁","⠂","⠄","⠂"]},"boxBounce":{"interval":120,"frames":["▖","▘","▝","▗"]},"boxBounce2":{"interval":100,"frames":["▌","▀","▐","▄"]},"triangle":{"interval":50,"frames":["◢","◣","◤","◥"]},"binary":{"interval":80,"frames":["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},"arc":{"interval":100,"frames":["◜","◠","◝","◞","◡","◟"]},"circle":{"interval":120,"frames":["◡","⊙","◠"]},"squareCorners":{"interval":180,"frames":["◰","◳","◲","◱"]},"circleQuarters":{"interval":120,"frames":["◴","◷","◶","◵"]},"circleHalves":{"interval":50,"frames":["◐","◓","◑","◒"]},"squish":{"interval":100,"frames":["╫","╪"]},"toggle":{"interval":250,"frames":["⊶","⊷"]},"toggle2":{"interval":80,"frames":["▫","▪"]},"toggle3":{"interval":120,"frames":["□","■"]},"toggle4":{"interval":100,"frames":["■","□","▪","▫"]},"toggle5":{"interval":100,"frames":["▮","▯"]},"toggle6":{"interval":300,"frames":["ဝ","၀"]},"toggle7":{"interval":80,"frames":["⦾","⦿"]},"toggle8":{"interval":100,"frames":["◍","◌"]},"toggle9":{"interval":100,"frames":["◉","◎"]},"toggle10":{"interval":100,"frames":["㊂","㊀","㊁"]},"toggle11":{"interval":50,"frames":["⧇","⧆"]},"toggle12":{"interval":120,"frames":["☗","☖"]},"toggle13":{"interval":80,"frames":["=","*","-"]},"arrow":{"interval":100,"frames":["←","↖","↑","↗","→","↘","↓","↙"]},"arrow2":{"interval":80,"frames":["⬆️ ","↗️ ","➡️ ","↘️ ","⬇️ ","↙️ ","⬅️ ","↖️ "]},"arrow3":{"interval":120,"frames":["▹▹▹▹▹","▸▹▹▹▹","▹▸▹▹▹","▹▹▸▹▹","▹▹▹▸▹","▹▹▹▹▸"]},"bouncingBar":{"interval":80,"frames":["[ ]","[= ]","[== ]","[=== ]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},"bouncingBall":{"interval":80,"frames":["( ● )","( ● )","( ● )","( ● )","( ●)","( ● )","( ● )","( ● )","( ● )","(● )"]},"smiley":{"interval":200,"frames":["😄 ","😝 "]},"monkey":{"interval":300,"frames":["🙈 ","🙈 ","🙉 ","🙊 "]},"hearts":{"interval":100,"frames":["💛 ","💙 ","💜 ","💚 ","❤️ "]},"clock":{"interval":100,"frames":["🕛 ","🕐 ","🕑 ","🕒 ","🕓 ","🕔 ","🕕 ","🕖 ","🕗 ","🕘 ","🕙 ","🕚 "]},"earth":{"interval":180,"frames":["🌍 ","🌎 ","🌏 "]},"material":{"interval":17,"frames":["█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁","███████▁▁▁▁▁▁▁▁▁▁▁▁▁","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","██████████▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","█████████████▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁██████████████▁▁▁▁","▁▁▁██████████████▁▁▁","▁▁▁▁█████████████▁▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁██████████████▁▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁██████████████▁","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁██████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁█████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁████████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁███████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁██████████","▁▁▁▁▁▁▁▁▁▁▁▁████████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","██████▁▁▁▁▁▁▁▁▁▁▁▁▁█","████████▁▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","█████████▁▁▁▁▁▁▁▁▁▁▁","███████████▁▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","████████████▁▁▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","██████████████▁▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁██████████████▁▁▁▁▁","▁▁▁█████████████▁▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁████████████▁▁▁","▁▁▁▁▁▁███████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁█████████▁▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁█████████▁▁","▁▁▁▁▁▁▁▁▁▁█████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁████████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁███████▁","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁███████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁","▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁"]},"moon":{"interval":80,"frames":["🌑 ","🌒 ","🌓 ","🌔 ","🌕 ","🌖 ","🌗 ","🌘 "]},"runner":{"interval":140,"frames":["🚶 ","🏃 "]},"pong":{"interval":80,"frames":["▐⠂ ▌","▐⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂▌","▐ ⠠▌","▐ ⡀▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐ ⠠ ▌","▐ ⠂ ▌","▐ ⠈ ▌","▐ ⠂ ▌","▐ ⠠ ▌","▐ ⡀ ▌","▐⠠ ▌"]},"shark":{"interval":120,"frames":["▐|\\\\____________▌","▐_|\\\\___________▌","▐__|\\\\__________▌","▐___|\\\\_________▌","▐____|\\\\________▌","▐_____|\\\\_______▌","▐______|\\\\______▌","▐_______|\\\\_____▌","▐________|\\\\____▌","▐_________|\\\\___▌","▐__________|\\\\__▌","▐___________|\\\\_▌","▐____________|\\\\▌","▐____________/|▌","▐___________/|_▌","▐__________/|__▌","▐_________/|___▌","▐________/|____▌","▐_______/|_____▌","▐______/|______▌","▐_____/|_______▌","▐____/|________▌","▐___/|_________▌","▐__/|__________▌","▐_/|___________▌","▐/|____________▌"]},"dqpb":{"interval":100,"frames":["d","q","p","b"]},"weather":{"interval":100,"frames":["☀️ ","☀️ ","☀️ ","🌤 ","⛅️ ","🌥 ","☁️ ","🌧 ","🌨 ","🌧 ","🌨 ","🌧 ","🌨 ","⛈ ","🌨 ","🌧 ","🌨 ","☁️ ","🌥 ","⛅️ ","🌤 ","☀️ ","☀️ "]},"christmas":{"interval":400,"frames":["🌲","🎄"]},"grenade":{"interval":80,"frames":["، ","′ "," ´ "," ‾ "," ⸌"," ⸊"," |"," ⁎"," ⁕"," ෴ "," ⁓"," "," "," "]},"point":{"interval":125,"frames":["∙∙∙","●∙∙","∙●∙","∙∙●","∙∙∙"]},"layer":{"interval":150,"frames":["-","=","≡"]},"betaWave":{"interval":80,"frames":["ρββββββ","βρβββββ","ββρββββ","βββρβββ","ββββρββ","βββββρβ","ββββββρ"]},"fingerDance":{"interval":160,"frames":["🤘 ","🤟 ","🖖 ","✋ ","🤚 ","👆 "]},"fistBump":{"interval":80,"frames":["🤜    🤛 ","🤜    🤛 ","🤜    🤛 "," 🤜  🤛  ","  🤜🤛   "," 🤜✨🤛   ","🤜 ✨ 🤛  "]},"soccerHeader":{"interval":80,"frames":[" 🧑⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 ","🧑 ⚽️ 🧑 "]},"mindblown":{"interval":160,"frames":["😐 ","😐 ","😮 ","😮 ","😦 ","😦 ","😧 ","😧 ","🤯 ","💥 ","✨ ","  ","  ","  "]},"speaker":{"interval":160,"frames":["🔈 ","🔉 ","🔊 ","🔉 "]},"orangePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 "]},"bluePulse":{"interval":100,"frames":["🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"orangeBluePulse":{"interval":100,"frames":["🔸 ","🔶 ","🟠 ","🟠 ","🔶 ","🔹 ","🔷 ","🔵 ","🔵 ","🔷 "]},"timeTravel":{"interval":100,"frames":["🕛 ","🕚 ","🕙 ","🕘 ","🕗 ","🕖 ","🕕 ","🕔 ","🕓 ","🕒 ","🕑 ","🕐 "]},"aesthetic":{"interval":80,"frames":["▰▱▱▱▱▱▱","▰▰▱▱▱▱▱","▰▰▰▱▱▱▱","▰▰▰▰▱▱▱","▰▰▰▰▰▱▱","▰▰▰▰▰▰▱","▰▰▰▰▰▰▰","▰▱▱▱▱▱▱"]},"dwarfFortress":{"interval":80,"frames":[" ██████£££ ","☺██████£££ ","☺██████£££ ","☺▓█████£££ ","☺▓█████£££ ","☺▒█████£££ ","☺▒█████£££ ","☺░█████£££ ","☺░█████£££ ","☺ █████£££ "," ☺█████£££ "," ☺█████£££ "," ☺▓████£££ "," ☺▓████£££ "," ☺▒████£££ "," ☺▒████£££ "," ☺░████£££ "," ☺░████£££ "," ☺ ████£££ "," ☺████£££ "," ☺████£££ "," ☺▓███£££ "," ☺▓███£££ "," ☺▒███£££ "," ☺▒███£££ "," ☺░███£££ "," ☺░███£££ "," ☺ ███£££ "," ☺███£££ "," ☺███£££ "," ☺▓██£££ "," ☺▓██£££ "," ☺▒██£££ "," ☺▒██£££ "," ☺░██£££ "," ☺░██£££ "," ☺ ██£££ "," ☺██£££ "," ☺██£££ "," ☺▓█£££ "," ☺▓█£££ "," ☺▒█£££ "," ☺▒█£££ "," ☺░█£££ "," ☺░█£££ "," ☺ █£££ "," ☺█£££ "," ☺█£££ "," ☺▓£££ "," ☺▓£££ "," ☺▒£££ "," ☺▒£££ "," ☺░£££ "," ☺░£££ "," ☺ £££ "," ☺£££ "," ☺£££ "," ☺▓££ "," ☺▓££ "," ☺▒££ "," ☺▒££ "," ☺░££ "," ☺░££ "," ☺ ££ "," ☺££ "," ☺££ "," ☺▓£ "," ☺▓£ "," ☺▒£ "," ☺▒£ "," ☺░£ "," ☺░£ "," ☺ £ "," ☺£ "," ☺£ "," ☺▓ "," ☺▓ "," ☺▒ "," ☺▒ "," ☺░ "," ☺░ "," ☺ "," ☺ &"," ☺ ☼&"," ☺ ☼ &"," ☺☼ &"," ☺☼ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & "," ‼ & "," ☺ & ","‼ & "," & "," & "," & ░ "," & ▒ "," & ▓ "," & £ "," & ░£ "," & ▒£ "," & ▓£ "," & ££ "," & ░££ "," & ▒££ ","& ▓££ ","& £££ "," ░£££ "," ▒£££ "," ▓£££ "," █£££ "," ░█£££ "," ▒█£££ "," ▓█£££ "," ██£££ "," ░██£££ "," ▒██£££ "," ▓██£££ "," ███£££ "," ░███£££ "," ▒███£££ "," ▓███£££ "," ████£££ "," ░████£££ "," ▒████£££ "," ▓████£££ "," █████£££ "," ░█████£££ "," ▒█████£££ "," ▓█████£££ "," ██████£££ "," ██████£££ "]}}')},4147:t=>{"use strict";t.exports=JSON.parse('{"i8":"1.0.206-alpha.0"}')}};var __webpack_module_cache__={};function __nccwpck_require__(t){var r=__webpack_module_cache__[t];if(r!==undefined){return r.exports}var i=__webpack_module_cache__[t]={id:t,loaded:false,exports:{}};var o=true;try{__webpack_modules__[t].call(i.exports,i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete __webpack_module_cache__[t]}i.loaded=true;return i.exports}(()=>{__nccwpck_require__.d=(t,r)=>{for(var i in r){if(__nccwpck_require__.o(r,i)&&!__nccwpck_require__.o(t,i)){Object.defineProperty(t,i,{enumerable:true,get:r[i]})}}}})();(()=>{__nccwpck_require__.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r)})();(()=>{__nccwpck_require__.r=t=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=t=>{t.paths=[];if(!t.children)t.children=[];return t}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__(9436)})();module.exports=__webpack_exports__})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-eas-build-function",
3
- "version": "1.0.201",
3
+ "version": "1.0.206-alpha.0",
4
4
  "bin": {
5
5
  "create-eas-build-function": "./build/index.js"
6
6
  },
@@ -33,7 +33,7 @@
33
33
  "clean": "rimraf ./build/"
34
34
  },
35
35
  "dependencies": {
36
- "@expo/steps": "1.0.201"
36
+ "@expo/steps": "1.0.206-alpha.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@expo/package-manager": "1.7.0",
@@ -47,7 +47,7 @@
47
47
  "ora": "^6.3.1",
48
48
  "prompts": "^2.4.2",
49
49
  "ts-node": "^10.9.2",
50
- "typescript": "^5.4.5",
50
+ "typescript": "^5.5.4",
51
51
  "update-check": "^1.5.4"
52
52
  },
53
53
  "publishConfig": {
@@ -57,5 +57,5 @@
57
57
  "node": "20.14.0",
58
58
  "yarn": "1.22.21"
59
59
  },
60
- "gitHead": "e21b7635fbf5b790298aab532f7968f5647718a5"
60
+ "gitHead": "2afd3dccd564307d8a9e44a4180f80e1628372bd"
61
61
  }