mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
2 lines
74 KiB
JavaScript
2 lines
74 KiB
JavaScript
(()=>{var e={3215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveGlobalYarnPath=t.resolveGlobalNodePath=void 0;const n=r(2081),s=r(1017);function o(){return"win32"===process.platform}t.resolveGlobalNodePath=function(e){let t="npm";const r={encoding:"utf8"};o()&&(t="npm.cmd",r.shell=!0);const i=()=>{};try{process.on("SIGPIPE",i);const a=(0,n.spawnSync)(t,["config","get","prefix"],r).stdout;if(!a)return void(e&&e("'npm config get prefix' didn't return a value."));const l=a.trim();return e&&e(`'npm config get prefix' value is: ${l}`),l.length>0?o()?s.join(l,"node_modules"):s.join(l,"lib","node_modules"):void 0}catch(e){return}finally{process.removeListener("SIGPIPE",i)}},t.resolveGlobalYarnPath=function(e){let t="yarn";const r={encoding:"utf8"};o()&&(t="yarn.cmd",r.shell=!0);const i=()=>{};try{process.on("SIGPIPE",i);const o=(0,n.spawnSync)(t,["global","dir","--json"],r),a=o.stdout;if(!a)return void(e&&(e("'yarn global dir' didn't return a value."),o.stderr&&e(o.stderr)));const l=a.trim().split(/\r?\n/);for(const e of l)try{const t=JSON.parse(e);if("log"===t.type)return s.join(t.data,"node_modules")}catch(e){}return}catch(e){return}finally{process.removeListener("SIGPIPE",i)}}},9854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingService=void 0;const n=r(9496);t.LoggingService=class{constructor(){this.outputChannel=n.window.createOutputChannel("Prettier"),this.logLevel="INFO"}setOutputLevel(e){this.logLevel=e}logDebug(e,t){"NONE"!==this.logLevel&&"INFO"!==this.logLevel&&"WARN"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"DEBUG"),t&&this.logObject(t))}logInfo(e,t){"NONE"!==this.logLevel&&"WARN"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"INFO"),t&&this.logObject(t))}logWarning(e,t){"NONE"!==this.logLevel&&"ERROR"!==this.logLevel&&(this.logMessage(e,"WARN"),t&&this.logObject(t))}logError(e,t){"NONE"!==this.logLevel&&(this.logMessage(e,"ERROR"),"string"==typeof t?this.outputChannel.appendLine(t):t instanceof Error?(t?.message&&this.logMessage(t.message,"ERROR"),t?.stack&&this.outputChannel.appendLine(t.stack)):t&&this.logObject(t))}show(){this.outputChannel.show()}logObject(e){const t=JSON.stringify(e,null,2);this.outputChannel.appendLine(t)}logMessage(e,t){const r=(new Date).toLocaleTimeString();this.outputChannel.appendLine(`["${t}" - ${r}] ${e}`)}}},604:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleResolver=void 0;const n=r(2081),s=r(9536),o=r(7147),i=r(1017),a=r(3920),l=r(5559),c=r(9100),u=r(9496),h=r(3215),p=r(6906),d=r(9923),g={npm:{cache:void 0,get:()=>(0,h.resolveGlobalNodePath)()},pnpm:{cache:void 0,get:()=>(0,n.execSync)("pnpm root -g").toString().trim()},yarn:{cache:void 0,get:()=>(0,h.resolveGlobalYarnPath)()}};t.ModuleResolver=class{constructor(e){this.loggingService=e,this.path2Module=new Map,this.findPkgCache=new Map}getGlobalPrettierInstance(){return a}async getPrettierInstance(e){if(!u.workspace.isTrusted)return this.loggingService.logDebug(p.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER),a;const{prettierPath:t,resolveGlobalModules:r}=(0,d.getConfig)(u.Uri.file(e));let n,s;try{n=t?(0,d.getWorkspaceRelativePath)(e,t):this.findPkg(e,"prettier")}catch(e){let t="";if(!n&&e instanceof Error){const r=/Cannot find module '.*' from '(.*)'/.exec(e.message);r&&r[1]&&(t=r[1])}return this.loggingService.logInfo(`Attempted to determine module path from ${n||t||"package.json"}`),void this.loggingService.logError(p.FAILED_TO_LOAD_MODULE_MESSAGE,e)}if(r&&!n){const e=function(e){const t=g[e];if(t)return void 0===t.cache&&(t.cache=t.get()),t.cache}(await u.commands.executeCommand("npm.packageManager"));if(e){const t=i.join(e,"prettier");o.existsSync(t)&&(n=t)}}if(void 0!==n){if(this.loggingService.logDebug(`Local prettier module path: '${n}'`),s=this.path2Module.get(n),s)return s;try{s=this.loadNodeModule(n),s&&this.path2Module.set(n,s)}catch(e){return this.loggingService.logInfo(`Attempted to load Prettier module from ${n||"package.json"}`),void this.loggingService.logError(p.FAILED_TO_LOAD_MODULE_MESSAGE,e)}}if(s){const e=!!s.format,r=s.version&&!!s.getSupportInfo&&!!s.getFileInfo&&!!s.resolveConfig&&c.gte(s.version,"1.13.0");return!e&&t?void this.loggingService.logError(p.INVALID_PRETTIER_PATH_MESSAGE):r?(this.loggingService.logDebug(`Using prettier version ${s.version}`),s):(this.loggingService.logInfo(`Attempted to load Prettier module from ${n}`),void this.loggingService.logError(p.OUTDATED_PRETTIER_VERSION_MESSAGE))}return this.loggingService.logDebug(p.USING_BUNDLED_PRETTIER),a}async getResolvedConfig({fileName:e,uri:t},r){const n="file"!==t.scheme;let s;try{n||(s=await a.resolveConfigFile(e)??void 0)}catch(t){return this.loggingService.logError(`Error resolving prettier configuration for ${e}`,t),"error"}const o={config:n?void 0:r.configPath?(0,d.getWorkspaceRelativePath)(e,r.configPath):s,editorconfig:n?void 0:r.useEditorConfig};let i;try{i=n?null:await a.resolveConfig(e,o)}catch(e){return this.loggingService.logError("Invalid prettier configuration file detected.",e),this.loggingService.logError(p.INVALID_PRETTIER_CONFIG),"error"}return o.config&&this.loggingService.logInfo(`Using config file at '${o.config}'`),n||i||!r.requireConfig?i:(this.loggingService.logInfo("Require config set to true and no config present. Skipping file."),"disabled")}async dispose(){a.clearConfigCache(),this.path2Module.forEach((e=>{try{e.clearConfigCache()}catch(e){this.loggingService.logError("Error clearing module cache.",e)}})),this.path2Module.clear()}loadNodeModule(e){const t=require;try{return t(e)}catch(t){this.loggingService.logError(`Error loading node module '${e}'`,t)}}isInternalTestRoot(e){return!1}findPkg(e,t){const r=`${e}:${t}`,n=this.findPkgCache.get(r);if(n)return n;const a=e.split("/");let c=e;const u=a.indexOf("node_modules");u>1&&(c=a.slice(0,u).join("/"));const h=s.sync((e=>{if(o.existsSync(i.join(e,"package.json"))){let r;try{r=JSON.parse(o.readFileSync(i.join(e,"package.json"),"utf8"))}catch(e){}if(r&&(r.dependencies&&r.dependencies[t]||r.devDependencies&&r.devDependencies[t]))return e}if(this.isInternalTestRoot(e))return s.stop}),{cwd:c,type:"directory"});if(h){const e=l.sync(t,{basedir:h});return this.findPkgCache.set(r,e),e}const p=s.sync((e=>o.existsSync(i.join(e,"node_modules",t))?e:this.isInternalTestRoot(e)?s.stop:void 0),{cwd:c,type:"directory"});if(p){const e=l.sync(t,{basedir:p});return this.findPkgCache.set(r,e),e}}}},7732:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PrettierEditProvider=void 0,t.PrettierEditProvider=class{constructor(e){this.provideEdits=e}async provideDocumentRangeFormattingEdits(e,t,r,n){return this.provideEdits(e,{rangeEnd:e.offsetAt(t.end),rangeStart:e.offsetAt(t.start),force:!1})}async provideDocumentFormattingEdits(e,t,r){return this.provideEdits(e,{force:!1})}}},1923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(9496),s=r(803),o=r(6906),i=r(7732),a=r(2331),l=r(9923),c=[".prettierrc",".prettierrc.json",".prettierrc.json5",".prettierrc.yaml",".prettierrc.yml",".prettierrc.toml",".prettierrc.js",".prettierrc.cjs","package.json","prettier.config.js","prettier.config.cjs",".editorconfig"];t.default=class{constructor(e,t,r){this.moduleResolver=e,this.loggingService=t,this.statusBar=r,this.registeredWorkspaces=new Set,this.allLanguages=[],this.allExtensions=[],this.allRangeLanguages=["javascript","javascriptreact","typescript","typescriptreact","json","graphql","handlebars"],this.forceFormatDocument=async()=>{try{const e=n.window.activeTextEditor;if(!e)return void this.loggingService.logInfo("No active document. Nothing was formatted.");this.loggingService.logInfo("Forced formatting will not use ignore files.");const t=await this.provideEdits(e.document,{force:!0});if(1!==t.length)return;await e.edit((e=>{e.replace(t[0].range,t[0].newText)}))}catch(e){this.loggingService.logError("Error formatting document",e)}},this.prettierConfigChanged=async e=>this.resetFormatters(e),this.resetFormatters=async e=>{if(e){const t=n.workspace.getWorkspaceFolder(e);this.registeredWorkspaces.delete(t?.uri.fsPath??"global")}else this.registeredWorkspaces.clear();this.statusBar.update(a.FormatterStatus.Ready)},this.handleActiveTextEditorChanged=async e=>{if(!e)return void this.statusBar.hide();const{document:t}=e;if("file"!==t.uri.scheme)return void this.statusBar.update(a.FormatterStatus.Ready);const r=n.workspace.getWorkspaceFolder(t.uri);if(!r)return;const s=await this.moduleResolver.getPrettierInstance(r.uri.fsPath),o=this.registeredWorkspaces.has(r.uri.fsPath);if(!s)return void this.statusBar.update(a.FormatterStatus.Error);const i=await this.getSelectors(s,r.uri);o||(this.registerDocumentFormatEditorProviders(i),this.registeredWorkspaces.add(r.uri.fsPath),this.loggingService.logDebug(`Enabling Prettier for Workspace ${r.uri.fsPath}`,i)),n.languages.match(i.languageSelector,t)>0?this.statusBar.update(a.FormatterStatus.Ready):this.statusBar.update(a.FormatterStatus.Disabled)},this.dispose=()=>{this.moduleResolver.dispose(),this.formatterHandler?.dispose(),this.rangeFormatterHandler?.dispose(),this.formatterHandler=void 0,this.rangeFormatterHandler=void 0},this.getSelectors=async(e,t)=>{const{languages:r}=e.getSupportInfo();r.forEach((e=>{e&&e.vscodeLanguageIds&&this.allLanguages.push(...e.vscodeLanguageIds)})),this.allLanguages=this.allLanguages.filter(((e,t,r)=>r.indexOf(e)===t)),r.forEach((e=>{e&&e.extensions&&this.allExtensions.push(...e.extensions)})),this.allExtensions=this.allExtensions.filter(((e,t,r)=>r.indexOf(e)===t));const{documentSelectors:n}=(0,l.getConfig)(),s=t?0===this.allExtensions.length?[]:[{pattern:`${t.fsPath}/**/*.{${this.allExtensions.map((e=>e.substring(1))).join(",")}}`,scheme:"file"}]:[];return{languageSelector:[...t?n.map((e=>({pattern:`${t.fsPath}/${e}`,scheme:"file"}))):[],...s,...this.allLanguages.map((e=>({language:e}))),{language:"jsonc",scheme:"vscode-userdata"}],rangeLanguageSelector:[...this.allRangeLanguages.map((e=>({language:e})))]}},this.provideEdits=async(e,t)=>{const r=(new Date).getTime(),n=await this.format(e.getText(),e,t);if(!n)return[];const s=(new Date).getTime()-r;return this.loggingService.logInfo(`Formatting completed in ${s/1e3}ms.`),[this.minimalEdit(e,n)]}}registerDisposables(){const e=n.workspace.createFileSystemWatcher("**/package.json");e.onDidChange(this.resetFormatters),e.onDidCreate(this.resetFormatters),e.onDidDelete(this.resetFormatters);const t=n.workspace.onDidChangeConfiguration((e=>{e.affectsConfiguration("prettier.enable")?this.loggingService.logWarning(o.RESTART_TO_ENABLE):e.affectsConfiguration("prettier")&&this.resetFormatters()})),r=n.workspace.createFileSystemWatcher(`**/{${c.join(",")}}`);r.onDidChange(this.prettierConfigChanged),r.onDidCreate(this.prettierConfigChanged),r.onDidDelete(this.prettierConfigChanged);const s=n.window.onDidChangeActiveTextEditor(this.handleActiveTextEditorChanged);return this.handleActiveTextEditorChanged(n.window.activeTextEditor),[e,t,r,s]}async registerGlobal(){const e=await this.getSelectors(this.moduleResolver.getGlobalPrettierInstance());this.registerDocumentFormatEditorProviders(e),this.loggingService.logDebug("Enabling Prettier globally",e)}registerDocumentFormatEditorProviders({languageSelector:e,rangeLanguageSelector:t}){this.dispose();const r=new i.PrettierEditProvider(this.provideEdits);this.rangeFormatterHandler=n.languages.registerDocumentRangeFormattingEditProvider(t,r),this.formatterHandler=n.languages.registerDocumentFormattingEditProvider(e,r)}minimalEdit(e,t){const r=e.getText();let s=0;for(;s<r.length&&s<t.length&&r[s]===t[s];)++s;let o=0;for(;s+o<r.length&&s+o<t.length&&r[r.length-o-1]===t[t.length-o-1];)++o;const i=t.substring(s,t.length-o),a=e.positionAt(s),l=e.positionAt(r.length-o);return n.TextEdit.replace(new n.Range(a,l),i)}async format(e,t,r){const{fileName:n,uri:o,languageId:i}=t;this.loggingService.logInfo(`Formatting ${o}`);const c=(0,l.getConfig)(o),u=await this.moduleResolver.getResolvedConfig(t,c);if("error"===u)return void this.statusBar.update(a.FormatterStatus.Error);if("disabled"===u)return void this.statusBar.update(a.FormatterStatus.Disabled);const h=await this.moduleResolver.getPrettierInstance(n);if(!h)return this.loggingService.logError("Prettier could not be loaded. See previous logs for more information."),void this.statusBar.update(a.FormatterStatus.Error);let p,d,g;if(c.ignorePath&&(p=(0,l.getWorkspaceRelativePath)(n,c.ignorePath),p&&this.loggingService.logInfo(`Using ignore file (if present) at ${p}`)),n&&(d=await h.getFileInfo(n,{ignorePath:p,resolveConfig:!0,withNodeModules:c.withNodeModules}),this.loggingService.logInfo("File Info:",d)),!r.force&&d&&d.ignored)return this.loggingService.logInfo("File is ignored, skipping."),void this.statusBar.update(a.FormatterStatus.Ignore);if(d&&d.inferredParser)g=d.inferredParser;else if("plaintext"!==i){this.loggingService.logWarning("Parser not inferred, trying VS Code language.");const e=h.getSupportInfo().languages;g=(0,s.getParserFromLanguageId)(e,o,i)}if(!g)return this.loggingService.logError("Failed to resolve a parser, skipping file. If you registered a custom file extension, be sure to configure the parser."),void this.statusBar.update(a.FormatterStatus.Error);const f=this.getPrettierOptions(n,g,c,u,r);this.loggingService.logInfo("Prettier Options:",f);try{const t=h.format(e,f);return this.statusBar.update(a.FormatterStatus.Success),t}catch(t){return this.loggingService.logError("Error formatting document.",t),this.statusBar.update(a.FormatterStatus.Error),e}}getPrettierOptions(e,t,r,n,s){const o=null===n,i={};let a;o&&(i.arrowParens=r.arrowParens,i.bracketSpacing=r.bracketSpacing,i.endOfLine=r.endOfLine,i.htmlWhitespaceSensitivity=r.htmlWhitespaceSensitivity,i.insertPragma=r.insertPragma,i.jsxBracketSameLine=r.jsxBracketSameLine,i.jsxSingleQuote=r.jsxSingleQuote,i.printWidth=r.printWidth,i.proseWrap=r.proseWrap,i.quoteProps=r.quoteProps,i.requirePragma=r.requirePragma,i.semi=r.semi,i.singleQuote=r.singleQuote,i.tabWidth=r.tabWidth,i.trailingComma=r.trailingComma,i.useTabs=r.useTabs,i.vueIndentScriptAndStyle=r.vueIndentScriptAndStyle),this.loggingService.logInfo(o?"No local configuration (i.e. .prettierrc or .editorconfig) detected, falling back to VS Code configuration":"Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used"),s.rangeEnd&&s.rangeStart&&(a={rangeEnd:s.rangeEnd,rangeStart:s.rangeStart});const l={...o?i:{},filepath:e,parser:t,...a||{},...n||{}};return s.force&&!0===l.requirePragma&&(l.requirePragma=!1),l}}},2331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=t.FormatterStatus=void 0;const n=r(9496);var s;!function(e){e.Ready="check-all",e.Success="check",e.Ignore="x",e.Warn="warning",e.Error="alert",e.Disabled="circle-slash"}(s=t.FormatterStatus||(t.FormatterStatus={})),t.StatusBar=class{constructor(){this.statusBarItem=n.window.createStatusBarItem("prettier.status",n.StatusBarAlignment.Right,-1),this.statusBarItem.name="Prettier",this.statusBarItem.text="Prettier",this.statusBarItem.command="prettier.openOutput",this.update(s.Ready),this.statusBarItem.show()}update(e){this.statusBarItem.text=`$(${e.toString()}) Prettier`,this.statusBarItem.show()}hide(){this.statusBarItem.hide()}}},3938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateService=void 0;const n=r(3837),s=r(9496);t.TemplateService=class{constructor(e,t){this.loggingService=e,this.prettierModule=t}async writeConfigFile(e){const t={tabWidth:2,useTabs:!1},r=s.Uri.joinPath(e,".prettierrc"),o={filepath:"file"===r.scheme?r.fsPath:void 0,tabWidth:t.tabWidth,useTabs:t.useTabs},i=this.prettierModule.format(JSON.stringify(t,null,2),o);this.loggingService.logInfo(`Writing .prettierrc to '${r}'`),await s.workspace.fs.writeFile(r,(new n.TextEncoder).encode(i))}}},5415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigFile=void 0;const n=r(9496);t.createConfigFile=e=>async()=>{const t=await n.window.showOpenDialog({canSelectFiles:!1,canSelectFolders:!0,canSelectMany:!1});if(t&&1===t.length){const r=t[0];await e.writeConfigFile(r)}}},803:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParserFromLanguageId=void 0,t.getParserFromLanguageId=function(e,t,r){if("file"!==t.scheme&&["html","json"].includes(r))return r;const n=e.find((e=>e&&e.extensions&&Array.isArray(e.vscodeLanguageIds)&&e.vscodeLanguageIds.includes(r)));return n&&n.parsers?.length>0?n.parsers[0]:void 0}},6906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER=t.EXTENSION_DISABLED=t.USING_BUNDLED_PRETTIER=t.RESTART_TO_ENABLE=t.INVALID_PRETTIER_CONFIG=t.FAILED_TO_LOAD_MODULE_MESSAGE=t.INVALID_PRETTIER_PATH_MESSAGE=t.OUTDATED_PRETTIER_VERSION_MESSAGE=void 0,t.OUTDATED_PRETTIER_VERSION_MESSAGE="Your project is configured to use an outdated version of prettier that cannot be used by this extension. Upgrade to the latest version of prettier.",t.INVALID_PRETTIER_PATH_MESSAGE="`prettierPath` option does not reference a valid instance of Prettier. Please ensure you are passing a path to the prettier module, not the binary. Falling back to bundled version of prettier.",t.FAILED_TO_LOAD_MODULE_MESSAGE="Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run `npm install`",t.INVALID_PRETTIER_CONFIG="Invalid prettier configuration file detected. See log for details.",t.RESTART_TO_ENABLE="To enable or disable prettier after changing the `enable` setting, you must restart VS Code.",t.USING_BUNDLED_PRETTIER="Using bundled version of prettier.",t.EXTENSION_DISABLED="Extension is disabled. No formatters will be registered. To enable, change the `prettier.enable` to `true` and restart VS Code.",t.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER="This workspace is not trusted. Using the bundled version of prettier."},9923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.getWorkspaceRelativePath=void 0;const n=r(2037),s=r(1017),o=r(9496);t.getWorkspaceRelativePath=function(e,t){if("darwin"===process.platform&&0===t.indexOf("~")&&n.homedir())return t.replace(/^~(?=$|\/|\\)/,n.homedir());if(o.workspace.workspaceFolders){const r=o.workspace.getWorkspaceFolder(o.Uri.file(e));return r?s.isAbsolute(t)?t:s.join(r.uri.fsPath,t):void 0}},t.getConfig=function(e){const t=o.workspace.getConfiguration("prettier",e);return o.workspace.isTrusted?t:{...t,prettierPath:void 0,configPath:void 0,ignorePath:".prettierignore",documentSelectors:[],useEditorConfig:!1,withNodeModules:!1,resolveGlobalModules:!1}}},9536:(e,t,r)=>{"use strict";const n=r(1017),s=r(7310),o=r(8185),i=Symbol("findUp.stop");e.exports=async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r),a=[].concat(e),l=async t=>{if("function"!=typeof e)return s(a,t);const r=await e(t.cwd);return"string"==typeof r?s([r],t):r};for(;;){const e=await l({...t,cwd:r});if(e===i)return;if(e)return n.resolve(r,e);if(r===o)return;r=n.dirname(r)}},e.exports.sync=(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r),a=[].concat(e),l=t=>{if("function"!=typeof e)return s.sync(a,t);const r=e(t.cwd);return"string"==typeof r?s.sync([r],t):r};for(;;){const e=l({...t,cwd:r});if(e===i)return;if(e)return n.resolve(r,e);if(r===o)return;r=n.dirname(r)}},e.exports.exists=o,e.exports.sync.exists=o.sync,e.exports.stop=i},202:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,s="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||n.call(o)!==s)throw new TypeError(t+o);for(var i,a=r.call(arguments,1),l=function(){if(this instanceof i){var t=o.apply(this,a.concat(r.call(arguments)));return Object(t)===t?t:this}return o.apply(e,a.concat(r.call(arguments)))},c=Math.max(0,o.length-a.length),u=[],h=0;h<c;h++)u.push("$"+h);if(i=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(l),o.prototype){var p=function(){};p.prototype=o.prototype,i.prototype=new p,p.prototype=null}return i}},8284:(e,t,r)=>{"use strict";var n=r(202);e.exports=Function.prototype.bind||n},6144:(e,t,r)=>{"use strict";var n=r(8284);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},2009:(e,t,r)=>{"use strict";var n=r(6144);function s(e,t){for(var r=e.split("."),n=t.split(" "),s=n.length>1?n[0]:"=",o=(n.length>1?n[1]:n[0]).split("."),i=0;i<3;++i){var a=parseInt(r[i]||0,10),l=parseInt(o[i]||0,10);if(a!==l)return"<"===s?a<l:">="===s&&a>=l}return">="===s}function o(e,t){var r=t.split(/ ?&& ?/);if(0===r.length)return!1;for(var n=0;n<r.length;++n)if(!s(e,r[n]))return!1;return!0}var i=r(9789);e.exports=function(e,t){return n(i,e)&&function(e,t){if("boolean"==typeof t)return t;var r=void 0===e?process.versions&&process.versions.node:e;if("string"!=typeof r)throw new TypeError(void 0===e?"Unable to determine current node version":"If provided, a valid node version is required");if(t&&"object"==typeof t){for(var n=0;n<t.length;++n)if(o(r,t[n]))return!0;return!1}return o(r,t)}(t,i[e])}},7310:(e,t,r)=>{"use strict";const n=r(1017),s=r(7147),{promisify:o}=r(3837),i=r(4092),a=o(s.stat),l=o(s.lstat),c={directory:"isDirectory",file:"isFile"};function u({type:e}){if(!(e in c))throw new Error(`Invalid type specified: ${e}`)}const h=(e,t)=>void 0===e||t[c[e]]();e.exports=async(e,t)=>{u(t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t});const r=t.allowSymlinks?a:l;return i(e,(async e=>{try{const s=await r(n.resolve(t.cwd,e));return h(t.type,s)}catch{return!1}}),t)},e.exports.sync=(e,t)=>{u(t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t});const r=t.allowSymlinks?s.statSync:s.lstatSync;for(const s of e)try{const e=r(n.resolve(t.cwd,s));if(h(t.type,e))return s}catch{}}},3097:(e,t,r)=>{"use strict";const n=r(4393),s=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),d=Symbol("updateAgeOnGet"),g=()=>1,f=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(m(e,t)){if(E(e,n),!e[a])return}else r&&(e[d]&&(n.value.now=Date.now()),e[h].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},v=e=>{if(e[o]>e[s])for(let t=e[h].tail;e[o]>e[s]&&null!==t;){const r=t.prev;E(e,t),t=r}},E=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[o]-=r.length,e[p].delete(r.key),e[h].removeNode(t)}};class y{constructor(e,t,r,n,s){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=s||0}}const I=(e,t,r,n)=>{let s=r.value;m(e,s)&&(E(e,r),e[a]||(s=void 0)),s&&t.call(n,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[s]=e.max||1/0;const t=e.length||g;if(this[i]="function"!=typeof t?g:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[s]=e||1/0,v(this)}get max(){return this[s]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,v(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=g),e!==this[i]&&(this[i]=e,this[o]=0,this[h].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),v(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let r=this[h].tail;null!==r;){const n=r.prev;I(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[h].head;null!==r;){const n=r.next;I(this,e,r,t),r=n}}keys(){return this[h].toArray().map((e=>e.key))}values(){return this[h].toArray().map((e=>e.value))}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[h]=new n,this[o]=0}dump(){return this[h].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[h]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[i](t,e);if(this[p].has(e)){if(a>this[s])return E(this,this[p].get(e)),!1;const i=this[p].get(e).value;return this[c]&&(this[u]||this[c](e,i.value)),i.now=n,i.maxAge=r,i.value=t,this[o]+=a-i.length,i.length=a,this.get(e),v(this),!0}const d=new y(e,t,a,n,r);return d.length>this[s]?(this[c]&&this[c](e,t),!1):(this[o]+=d.length,this[h].unshift(d),this[p].set(e,this[h].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[h].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],s=n.e||0;if(0===s)this.set(n.k,n.v);else{const e=s-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach(((e,t)=>f(this,t,!1)))}}},9096:(e,t,r)=>{"use strict";const n=r(9285);e.exports=e=>{if(!Number.isInteger(e)&&e!==1/0||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new n;let r=0;const s=async(e,n,...s)=>{r++;const o=(async()=>e(...s))();n(o);try{await o}catch{}r--,t.size>0&&t.dequeue()()},o=(n,...o)=>new Promise((i=>{((n,o,...i)=>{t.enqueue(s.bind(null,n,o,...i)),(async()=>{await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()})()})(n,i,...o)}));return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o}},4092:(e,t,r)=>{"use strict";const n=r(9096);class s extends Error{constructor(e){super(),this.value=e}}const o=async(e,t)=>t(await e),i=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new s(t[0]);return!1};e.exports=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};const a=n(r.concurrency),l=[...e].map((e=>[e,a(o,e,t)])),c=n(r.preserveOrder?1:1/0);try{await Promise.all(l.map((e=>c(i,e))))}catch(e){if(e instanceof s)return e.value;throw e}}},8185:(e,t,r)=>{"use strict";const n=r(7147),{promisify:s}=r(3837),o=s(n.access);e.exports=async e=>{try{return await o(e),!0}catch(e){return!1}},e.exports.sync=e=>{try{return n.accessSync(e),!0}catch(e){return!1}}},8939:e=>{"use strict";var t="win32"===process.platform,r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,n={parse:function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,r.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0]===n[1]?n[0]:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}}},s=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,o={parse:function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,r=(t=e,s.exec(t).slice(1));if(!r||5!==r.length)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}}};e.exports=t?n.parse:o.parse,e.exports.posix=o.parse,e.exports.win32=n.parse},5559:(e,t,r)=>{var n=r(2929);n.core=r(9071),n.isCore=r(3373),n.sync=r(5314),e.exports=n},2929:(e,t,r)=>{var n=r(7147),s=r(38),o=r(1017),i=r(5994),a=r(4156),l=r(7038),c=r(2009),u=n.realpath&&"function"==typeof n.realpath.native?n.realpath.native:n.realpath,h=s(),p=function(e,t){n.stat(e,(function(e,r){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,r.isFile()||r.isFIFO())}))},d=function(e,t){n.stat(e,(function(e,r){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,r.isDirectory())}))},g=function(e,t){u(e,(function(r,n){r&&"ENOENT"!==r.code?t(r):t(null,r?e:n)}))},f=function(e,t,r,n){r&&!1===r.preserveSymlinks?e(t,n):n(null,t)},m=function(e,t,r){e(t,(function(e,t){if(e)r(e);else try{var n=JSON.parse(t);r(null,n)}catch(e){r(null)}}))};e.exports=function(e,t,r){var s=r,u=t;if("function"==typeof t&&(s=u,u={}),"string"!=typeof e){var v=new TypeError("Path must be a string.");return process.nextTick((function(){s(v)}))}var E=(u=l(e,u)).isFile||p,y=u.isDirectory||d,I=u.readFile||n.readFile,S=u.realpath||g,w=u.readPackage||m;if(u.readFile&&u.readPackage){var _=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){s(_)}))}var R=u.packageIterator,N=u.extensions||[".js"],O=!1!==u.includeCoreModules,T=u.basedir||o.dirname(i()),$=u.filename||T;u.paths=u.paths||[o.join(h,".node_modules"),o.join(h,".node_libraries")];var x,A=o.resolve(T);function b(t,r,n){t?s(t):r?s(null,r,n):D(x,(function(t,r,n){if(t)s(t);else if(r)f(S,r,u,(function(e,t){e?s(e):s(null,t,n)}));else{var o=new Error("Cannot find module '"+e+"' from '"+$+"'");o.code="MODULE_NOT_FOUND",s(o)}}))}function P(e,t,r){var n=t,s=r;"function"==typeof n&&(s=n,n=void 0),function e(t,r,n){if(0===t.length)return s(null,void 0,n);var i=r+t[0],a=n;function l(n,l,h){if(a=l,n)return s(n);if(h&&a&&u.pathFilter){var p=o.relative(h,i),d=p.slice(0,p.length-t[0].length),g=u.pathFilter(a,r,d);if(g)return e([""].concat(N.slice()),o.resolve(h,g),a)}E(i,c)}function c(n,o){return n?s(n):o?s(null,i,a):void e(t.slice(1),r,a)}a?l(null,a):L(o.dirname(i),l)}([""].concat(N),e,n)}function L(e,t){return""===e||"/"===e||"win32"===process.platform&&/^\w:[/\\]*$/.test(e)||/[/\\]node_modules[/\\]*$/.test(e)?t(null):void f(S,e,u,(function(r,n){if(r)return L(o.dirname(e),t);var s=o.join(n,"package.json");E(s,(function(r,n){if(!n)return L(o.dirname(e),t);w(I,s,(function(r,n){r&&t(r);var o=n;o&&u.packageFilter&&(o=u.packageFilter(o,s)),t(null,o,e)}))}))}))}function D(e,t,r){var n=r,s=t;"function"==typeof s&&(n=s,s=u.package),f(S,e,u,(function(t,r){if(t)return n(t);var i=o.join(r,"package.json");E(i,(function(t,r){return t?n(t):r?void w(I,i,(function(t,r){if(t)return n(t);var s=r;if(s&&u.packageFilter&&(s=u.packageFilter(s,i)),s&&s.main){if("string"!=typeof s.main){var a=new TypeError("package “"+s.name+"” `main` must be a string");return a.code="INVALID_PACKAGE_MAIN",n(a)}return"."!==s.main&&"./"!==s.main||(s.main="index"),void P(o.resolve(e,s.main),s,(function(t,r,s){return t?n(t):r?n(null,r,s):s?void D(o.resolve(e,s.main),s,(function(t,r,s){return t?n(t):r?n(null,r,s):void P(o.join(e,"index"),s,n)})):P(o.join(e,"index"),s,n)}))}P(o.join(e,"/index"),s,n)})):P(o.join(e,"index"),s,n)}))}))}function F(e,t){if(0===t.length)return e(null,void 0);var r=t[0];function n(t,n,o){return t?e(t):n?e(null,n,o):void D(r,u.package,s)}function s(r,n,s){return r?e(r):n?e(null,n,s):void F(e,t.slice(1))}y(o.dirname(r),(function(s,o){return s?e(s):o?void P(r,u.package,n):F(e,t.slice(1))}))}f(S,A,u,(function(t,r){t?s(t):function(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e))x=o.resolve(t,e),"."!==e&&".."!==e&&"/"!==e.slice(-1)||(x+="/"),/\/$/.test(e)&&x===t?D(x,u.package,b):P(x,u.package,b);else{if(O&&c(e))return s(null,e);!function(e,t,r){var n=function(){return function(e,t,r){for(var n=a(t,r,e),s=0;s<n.length;s++)n[s]=o.join(n[s],e);return n}(e,t,u)};F(r,R?R(e,t,n,u):n())}(e,t,(function(t,r,n){if(t)s(t);else{if(r)return f(S,r,u,(function(e,t){e?s(e):s(null,t,n)}));var o=new Error("Cannot find module '"+e+"' from '"+$+"'");o.code="MODULE_NOT_FOUND",s(o)}}))}}(r)}))}},5994:e=>{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;return Error.prepareStackTrace=e,t[2].getFileName()}},9071:(e,t,r)=>{var n=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function s(e){for(var t=e.split(" "),r=t.length>1?t[0]:"=",s=(t.length>1?t[1]:t[0]).split("."),o=0;o<3;++o){var i=parseInt(n[o]||0,10),a=parseInt(s[o]||0,10);if(i!==a)return"<"===r?i<a:">="===r&&i>=a}return">="===r}function o(e){var t=e.split(/ ?&& ?/);if(0===t.length)return!1;for(var r=0;r<t.length;++r)if(!s(t[r]))return!1;return!0}function i(e){if("boolean"==typeof e)return e;if(e&&"object"==typeof e){for(var t=0;t<e.length;++t)if(o(e[t]))return!0;return!1}return o(e)}var a=r(2197),l={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(l[c]=i(a[c]));e.exports=l},38:(e,t,r)=>{"use strict";var n=r(2037);e.exports=n.homedir||function(){var e=process.env.HOME,t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return"win32"===process.platform?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||e||null:"darwin"===process.platform?e||(t?"/Users/"+t:null):"linux"===process.platform?e||(0===process.getuid()?"/root":t?"/home/"+t:null):e||null}},3373:(e,t,r)=>{var n=r(2009);e.exports=function(e){return n(e)}},4156:(e,t,r)=>{var n=r(1017),s=n.parse||r(8939),o=function(e,t){var r="/";/^([A-Za-z]:)/.test(e)?r="":/^\\\\/.test(e)&&(r="\\\\");for(var o=[e],i=s(e);i.dir!==o[o.length-1];)o.push(i.dir),i=s(i.dir);return o.reduce((function(e,s){return e.concat(t.map((function(e){return n.resolve(r,s,e)})))}),[])};e.exports=function(e,t,r){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&"function"==typeof t.paths)return t.paths(r,e,(function(){return o(e,n)}),t);var s=o(e,n);return t&&t.paths?s.concat(t.paths):s}},7038:e=>{e.exports=function(e,t){return t||{}}},5314:(e,t,r)=>{var n=r(2009),s=r(7147),o=r(1017),i=r(38),a=r(5994),l=r(4156),c=r(7038),u=s.realpathSync&&"function"==typeof s.realpathSync.native?s.realpathSync.native:s.realpathSync,h=i(),p=function(e){try{var t=s.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return!!t&&(t.isFile()||t.isFIFO())},d=function(e){try{var t=s.statSync(e,{throwIfNoEntry:!1})}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return!!t&&t.isDirectory()},g=function(e){try{return u(e)}catch(e){if("ENOENT"!==e.code)throw e}return e},f=function(e,t,r){return r&&!1===r.preserveSymlinks?e(t):t},m=function(e,t){var r=e(t);try{return JSON.parse(r)}catch(e){}};e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Path must be a string.");var r=c(e,t),i=r.isFile||p,u=r.readFileSync||s.readFileSync,v=r.isDirectory||d,E=r.realpathSync||g,y=r.readPackageSync||m;if(r.readFileSync&&r.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var I=r.packageIterator,S=r.extensions||[".js"],w=!1!==r.includeCoreModules,_=r.basedir||o.dirname(a()),R=r.filename||_;r.paths=r.paths||[o.join(h,".node_modules"),o.join(h,".node_libraries")];var N=f(E,o.resolve(_),r);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var O=o.resolve(N,e);"."!==e&&".."!==e&&"/"!==e.slice(-1)||(O+="/");var T=A(O)||P(O);if(T)return f(E,T,r)}else{if(w&&n(e))return e;var $=function(e,t){for(var n=function(){return function(e,t,r){for(var n=l(t,r,e),s=0;s<n.length;s++)n[s]=o.join(n[s],e);return n}(e,t,r)},s=I?I(e,t,n,r):n(),i=0;i<s.length;i++){var a=s[i];if(v(o.dirname(a))){var c=A(a);if(c)return c;var u=P(a);if(u)return u}}}(e,N);if($)return f(E,$,r)}var x=new Error("Cannot find module '"+e+"' from '"+R+"'");throw x.code="MODULE_NOT_FOUND",x;function A(e){var t=b(o.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var n=o.relative(t.dir,e),s=r.pathFilter(t.pkg,e,n);s&&(e=o.resolve(t.dir,s))}if(i(e))return e;for(var a=0;a<S.length;a++){var l=e+S[a];if(i(l))return l}}function b(e){if(""!==e&&"/"!==e&&!("win32"===process.platform&&/^\w:[/\\]*$/.test(e)||/[/\\]node_modules[/\\]*$/.test(e))){var t=o.join(f(E,e,r),"package.json");if(!i(t))return b(o.dirname(e));var n=y(u,t);return n&&r.packageFilter&&(n=r.packageFilter(n,e)),{pkg:n,dir:e}}}function P(e){var t=o.join(f(E,e,r),"/package.json");if(i(t)){try{var n=y(u,t)}catch(e){}if(n&&r.packageFilter&&(n=r.packageFilter(n,e)),n&&n.main){if("string"!=typeof n.main){var s=new TypeError("package “"+n.name+"” `main` must be a string");throw s.code="INVALID_PACKAGE_MAIN",s}"."!==n.main&&"./"!==n.main||(n.main="index");try{var a=A(o.resolve(e,n.main));if(a)return a;var l=P(o.resolve(e,n.main));if(l)return l}catch(e){}}}return A(o.join(e,"/index"))}}},8721:(e,t,r)=>{const n=Symbol("SemVer ANY");class s{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof s){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof s))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new h(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||o&&i||a||c}}e.exports=s;const o=r(4276),{re:i,t:a}=r(4839),l=r(9801),c=r(7437),u=r(713),h=r(5589)},5589:(e,t,r)=>{class n{constructor(e,t){if(t=o(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!g(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=s.get(t);if(r)return r;const n=this.options.loose,o=n?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],h),a("comparator trim",e,c[u.COMPARATORTRIM]),e=(e=(e=e.replace(c[u.TILDETRIM],p)).replace(c[u.CARETTRIM],d)).split(/\s+/).join(" ");const l=n?c[u.COMPARATORLOOSE]:c[u.COMPARATOR],f=e.split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>O(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),m=(f.length,new Map);for(const e of f){if(g(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const E=[...m.values()];return s.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>m(r,t)&&e.set.some((e=>m(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if($(this.set[t],e,this.options))return!0;return!1}}e.exports=n;const s=new(r(3097))({max:1e3}),o=r(4276),i=r(8721),a=r(7437),l=r(713),{re:c,t:u,comparatorTrimReplace:h,tildeTrimReplace:p,caretTrimReplace:d}=r(4839),g=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let s=n.pop();for(;r&&n.length;)r=n.every((e=>s.intersects(e,t))),s=n.pop();return r},v=(e,t)=>(a("comp",e,t),e=S(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=_(e,t),a("xrange",e),e=N(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>I(e,t))).join(" "),I=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,n,s,o)=>{let i;return a("tilde",e,t,r,n,s,o),E(r)?i="":E(n)?i=`>=${r}.0.0 <${+r+1}.0.0-0`:E(s)?i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),i=`>=${r}.${n}.${s}-${o} <${r}.${+n+1}.0-0`):i=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`,a("tilde return",i),i}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{a("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,o,i)=>{let l;return a("caret",e,t,r,s,o,i),E(r)?l="":E(s)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(o)?l="0"===r?`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.0${n} <${+r+1}.0.0-0`:i?(a("replaceCaret pr",i),l="0"===r?"0"===s?`>=${r}.${s}.${o}-${i} <${r}.${s}.${+o+1}-0`:`>=${r}.${s}.${o}-${i} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${o}-${i} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===s?`>=${r}.${s}.${o}${n} <${r}.${s}.${+o+1}-0`:`>=${r}.${s}.${o}${n} <${r}.${+s+1}.0-0`:`>=${r}.${s}.${o} <${+r+1}.0.0-0`),a("caret return",l),l}))},_=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>R(e,t))).join(" ")),R=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,n,s,o,i,l)=>{a("xRange",e,r,n,s,o,i,l);const c=E(s),u=c||E(o),h=u||E(i),p=h;return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),i=0,">"===n?(n=">=",u?(s=+s+1,o=0,i=0):(o=+o+1,i=0)):"<="===n&&(n="<",u?s=+s+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+s}.${o}.${i}${l}`):u?r=`>=${s}.0.0${l} <${+s+1}.0.0-0`:h&&(r=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),a("xRange return",r),r}))},N=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),O=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,s,o,i,a,l,c,u,h,p,d)=>`${r=E(n)?"":E(s)?`>=${n}.0.0${e?"-0":""}`:E(o)?`>=${n}.${s}.0${e?"-0":""}`:i?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=E(c)?"":E(u)?`<${+c+1}.0.0-0`:E(h)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${h}-${p}`:e?`<${c}.${u}.${+h+1}-0`:`<=${l}`}`.trim(),$=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(a(e[r].semver),e[r].semver!==i.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},713:(e,t,r)=>{const n=r(7437),{MAX_LENGTH:s,MAX_SAFE_INTEGER:o}=r(514),{re:i,t:a}=r(4839),l=r(4276),{compareIdentifiers:c}=r(921);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],s=e.prerelease[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return c(r,s)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],s=e.build[t];if(n("prerelease compare",t,r,s),void 0===r&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===r)return-1;if(r!==s)return c(r,s)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=u},3372:(e,t,r)=>{const n=r(3207);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},9801:(e,t,r)=>{const n=r(7977),s=r(9090),o=r(8590),i=r(177),a=r(69),l=r(7690);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return s(e,r,c);case">":return o(e,r,c);case">=":return i(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},4797:(e,t,r)=>{const n=r(713),s=r(3207),{re:o,t:i}=r(4839);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=o[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),o[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[i.COERCERTL].lastIndex=-1}else r=e.match(o[i.COERCE]);return null===r?null:s(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},8354:(e,t,r)=>{const n=r(713);e.exports=(e,t,r)=>{const s=new n(e,r),o=new n(t,r);return s.compare(o)||s.compareBuild(o)}},8944:(e,t,r)=>{const n=r(4077);e.exports=(e,t)=>n(e,t,!0)},4077:(e,t,r)=>{const n=r(713);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},9700:(e,t,r)=>{const n=r(3207),s=r(7977);e.exports=(e,t)=>{if(s(e,t))return null;{const r=n(e),s=n(t),o=r.prerelease.length||s.prerelease.length,i=o?"pre":"",a=o?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==s[e])return i+e;return a}}},7977:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>0===n(e,t,r)},8590:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>n(e,t,r)>0},177:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>n(e,t,r)>=0},8907:(e,t,r)=>{const n=r(713);e.exports=(e,t,r,s)=>{"string"==typeof r&&(s=r,r=void 0);try{return new n(e,r).inc(t,s).version}catch(e){return null}}},69:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>n(e,t,r)<0},7690:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>n(e,t,r)<=0},7317:(e,t,r)=>{const n=r(713);e.exports=(e,t)=>new n(e,t).major},2376:(e,t,r)=>{const n=r(713);e.exports=(e,t)=>new n(e,t).minor},9090:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>0!==n(e,t,r)},3207:(e,t,r)=>{const{MAX_LENGTH:n}=r(514),{re:s,t:o}=r(4839),i=r(713),a=r(4276);e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?s[o.LOOSE]:s[o.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},7139:(e,t,r)=>{const n=r(713);e.exports=(e,t)=>new n(e,t).patch},3642:(e,t,r)=>{const n=r(3207);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},7800:(e,t,r)=>{const n=r(4077);e.exports=(e,t,r)=>n(t,e,r)},3131:(e,t,r)=>{const n=r(8354);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},3396:(e,t,r)=>{const n=r(5589);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},9785:(e,t,r)=>{const n=r(8354);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},9390:(e,t,r)=>{const n=r(3207);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},9100:(e,t,r)=>{const n=r(4839);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(514).SEMVER_SPEC_VERSION,SemVer:r(713),compareIdentifiers:r(921).compareIdentifiers,rcompareIdentifiers:r(921).rcompareIdentifiers,parse:r(3207),valid:r(9390),clean:r(3372),inc:r(8907),diff:r(9700),major:r(7317),minor:r(2376),patch:r(7139),prerelease:r(3642),compare:r(4077),rcompare:r(7800),compareLoose:r(8944),compareBuild:r(8354),sort:r(9785),rsort:r(3131),gt:r(8590),lt:r(69),eq:r(7977),neq:r(9090),gte:r(177),lte:r(7690),cmp:r(9801),coerce:r(4797),Comparator:r(8721),Range:r(5589),satisfies:r(3396),toComparators:r(5471),maxSatisfying:r(3234),minSatisfying:r(856),minVersion:r(7787),validRange:r(409),outside:r(5256),gtr:r(688),ltr:r(577),intersects:r(909),simplifyRange:r(9009),subset:r(8376)}},514:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},7437:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},921:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),s=t.test(r);return n&&s&&(e=+e,r=+r),e===r?0:n&&!s?-1:s&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},4276:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},4839:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(514),s=r(7437),o=(t=e.exports={}).re=[],i=t.src=[],a=t.t={};let l=0;const c=(e,t,r)=>{const n=l++;s(n,t),a[e]=n,i[n]=t,o[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),c("FULL",`^${i[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),c("LOOSE",`^${i[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),c("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",i[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},688:(e,t,r)=>{const n=r(5256);e.exports=(e,t,r)=>n(e,t,">",r)},909:(e,t,r)=>{const n=r(5589);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},577:(e,t,r)=>{const n=r(5256);e.exports=(e,t,r)=>n(e,t,"<",r)},3234:(e,t,r)=>{const n=r(713),s=r(5589);e.exports=(e,t,r)=>{let o=null,i=null,a=null;try{a=new s(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new n(o,r)))})),o}},856:(e,t,r)=>{const n=r(713),s=r(5589);e.exports=(e,t,r)=>{let o=null,i=null,a=null;try{a=new s(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new n(o,r)))})),o}},7787:(e,t,r)=>{const n=r(713),s=r(5589),o=r(8590);e.exports=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let i=null;s.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!o(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||r&&!o(r,i)||(r=i)}return r&&e.test(r)?r:null}},5256:(e,t,r)=>{const n=r(713),s=r(8721),{ANY:o}=s,i=r(5589),a=r(3396),l=r(8590),c=r(69),u=r(7690),h=r(177);e.exports=(e,t,r,p)=>{let d,g,f,m,v;switch(e=new n(e,p),t=new i(t,p),r){case">":d=l,g=u,f=c,m=">",v=">=";break;case"<":d=c,g=h,f=l,m="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let i=null,a=null;if(n.forEach((e=>{e.semver===o&&(e=new s(">=0.0.0")),i=i||e,a=a||e,d(e.semver,i.semver,p)?i=e:f(e.semver,a.semver,p)&&(a=e)})),i.operator===m||i.operator===v)return!1;if((!a.operator||a.operator===m)&&g(e,a.semver))return!1;if(a.operator===v&&f(e,a.semver))return!1}return!0}},9009:(e,t,r)=>{const n=r(3396),s=r(4077);e.exports=(e,t,r)=>{const o=[];let i=null,a=null;const l=e.sort(((e,t)=>s(e,t,r)));for(const e of l)n(e,t,r)?(a=e,i||(i=e)):(a&&o.push([i,a]),a=null,i=null);i&&o.push([i,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),h="string"==typeof t.raw?t.raw:String(t);return u.length<h.length?u:t}},8376:(e,t,r)=>{const n=r(5589),s=r(8721),{ANY:o}=s,i=r(3396),a=r(4077),l=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new s(">=0.0.0-0")]:[new s(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new s(">=0.0.0")]}const n=new Set;let l,h,p,d,g,f,m;for(const t of e)">"===t.operator||">="===t.operator?l=c(l,t,r):"<"===t.operator||"<="===t.operator?h=u(h,t,r):n.add(t.semver);if(n.size>1)return null;if(l&&h){if(p=a(l.semver,h.semver,r),p>0)return null;if(0===p&&(">="!==l.operator||"<="!==h.operator))return null}for(const e of n){if(l&&!i(e,String(l),r))return null;if(h&&!i(e,String(h),r))return null;for(const n of t)if(!i(e,String(n),r))return!1;return!0}let v=!(!h||r.includePrerelease||!h.semver.prerelease.length)&&h.semver,E=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver;v&&1===v.prerelease.length&&"<"===h.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,l)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(d=c(l,e,r),d===e&&d!==l)return!1}else if(">="===l.operator&&!i(l.semver,String(e),r))return!1;if(h)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(g=u(h,e,r),g===e&&g!==h)return!1}else if("<="===h.operator&&!i(h.semver,String(e),r))return!1;if(!e.operator&&(h||l)&&0!==p)return!1}return!(l&&f&&!h&&0!==p||h&&m&&!l&&0!==p||E||v)},c=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let s=!1;e:for(const n of e.set){for(const e of t.set){const t=l(n,e,r);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}},5471:(e,t,r)=>{const n=r(5589);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},409:(e,t,r)=>{const n=r(5589);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},6279:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},4393:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,s=arguments.length;r<s;r++)t.push(arguments[r]);return t}function s(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,r,n){if(!(this instanceof i))return new i(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=n,n.Node=i,n.create=n,n.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},n.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)s(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next},n.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev},n.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},n.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},n.prototype.map=function(e,t){t=t||this;for(var r=new n,s=this.head;null!==s;)r.push(e.call(t,s.value,this)),s=s.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,s=this.tail;null!==s;)r.push(e.call(t,s.value,this)),s=s.prev;return r},n.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var s=0;null!==n;s++)r=e(r,n.value,s),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var s=this.length-1;null!==n;s--)r=e(r,n.value,s),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,o=this.head;null!==o&&s<e;s++)o=o.next;for(;null!==o&&s<t;s++,o=o.next)r.push(o.value);return r},n.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,o=this.tail;null!==o&&s>t;s--)o=o.prev;for(;null!==o&&s>e;s--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,s=this.head;null!==s&&n<e;n++)s=s.next;var o,a,l,c,u=[];for(n=0;s&&n<t;n++)u.push(s.value),s=this.removeNode(s);for(null===s&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev),n=0;n<r.length;n++)o=this,a=s,l=r[n],c=void 0,null===(c=a===o.head?new i(l,null,a,o):new i(l,a,a.next,o)).next&&(o.tail=c),null===c.prev&&(o.head=c),o.length++,s=c;return u},n.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};try{r(6279)(n)}catch(e){}},9285:e=>{class t{constructor(e){this.value=e,this.next=void 0}}class r{constructor(){this.clear()}enqueue(e){const r=new t(e);this._head?(this._tail.next=r,this._tail=r):(this._head=r,this._tail=r),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}}e.exports=r},3920:e=>{"use strict";e.exports=require("prettier")},9496:e=>{"use strict";e.exports=require("vscode")},2081:e=>{"use strict";e.exports=require("child_process")},7147:e=>{"use strict";e.exports=require("fs")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},3837:e=>{"use strict";e.exports=require("util")},9789:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')},2197:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],"buffer_ieee754":">= 0.5 && < 0.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],"_http_agent":">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],"_http_client":">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],"_http_common":">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],"_http_incoming":">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],"_http_outgoing":">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],"_http_server":">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],"http":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12","os":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],"process":">= 1","node:process":[">= 14.18 && < 15",">= 16"],"punycode":">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],"_stream_transform":">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],"_stream_wrap":">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],"_stream_passthrough":">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],"_stream_readable":">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],"_stream_writable":">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],"stream":true,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5","string_decoder":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"timers":true,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],"_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],"tls":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8":">= 1","node:v8":[">= 14.18 && < 15",">= 16"],"vm":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}')}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.activate=void 0;const t=r(9496),s=r(5415),o=r(9854),i=r(604),a=r(1923),l=r(2331),c=r(3938),u=r(9923),h=r(6906);e.activate=function(e){const r=new o.LoggingService;r.logInfo("Extension Name: esbenp.prettier-vscode."),r.logInfo("Extension Version: 9.5.0.");const{enable:n,enableDebugLogs:p}=(0,u.getConfig)();if(p&&r.setOutputLevel("DEBUG"),!n)return r.logInfo(h.EXTENSION_DISABLED),void e.subscriptions.push(t.workspace.onDidChangeConfiguration((e=>{e.affectsConfiguration("prettier.enable")&&r.logWarning(h.RESTART_TO_ENABLE)})));const d=new i.ModuleResolver(r),g=new c.TemplateService(r,d.getGlobalPrettierInstance()),f=new l.StatusBar,m=new a.default(d,r,f);m.registerGlobal();const v=(0,s.createConfigFile)(g),E=t.commands.registerCommand("prettier.createConfigFile",v),y=t.commands.registerCommand("prettier.openOutput",(()=>{r.show()})),I=t.commands.registerCommand("prettier.forceFormatDocument",m.forceFormatDocument);e.subscriptions.push(m,E,y,I,...m.registerDisposables())}})(),module.exports=n})();
|
|
//# sourceMappingURL=extension.js.map
|