2 lines
No EOL
72 KiB
JavaScript
2 lines
No EOL
72 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(3129),o=r(5622);function s(){return"win32"===process.platform}t.resolveGlobalNodePath=function(e){let t="npm";const r={encoding:"utf8"};s()&&(t="npm.cmd",r.shell=!0);const i=()=>{};try{process.on("SIGPIPE",i);const a=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?s()?o.join(l,"node_modules"):o.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"};s()&&(t="yarn.cmd",r.shell=!0);const i=()=>{};try{process.on("SIGPIPE",i);const s=n.spawnSync(t,["global","dir","--json"],r),a=s.stdout;if(!a)return void(e&&(e("'yarn global dir' didn't return a value."),s.stderr&&e(s.stderr)));const l=a.trim().split(/\r?\n/);for(const e of l)try{const t=JSON.parse(e);if("log"===t.type)return o.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(2392),o=r(7549);t.LoggingService=class{constructor(){this.outputChannel=o.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):(null==t?void 0:t.message)||(null==t?void 0:t.stack)?((null==t?void 0:t.message)&&this.logMessage(t.message,"ERROR"),(null==t?void 0:t.stack)&&this.outputChannel.appendLine(t.stack)):t&&this.logObject(t))}show(){this.outputChannel.show()}logObject(e){const t=n.format(JSON.stringify(e,null,2),{parser:"json"}).trim();this.outputChannel.appendLine(t)}logMessage(e,t){const r=(new Date).toLocaleTimeString();this.outputChannel.appendLine(`["${t}" - ${r}] ${e}`)}}},604:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleResolver=void 0;const o=r(3129),s=r(9536),i=r(5747),a=r(5622),l=r(2392),c=r(5559),u=r(9100),h=r(7549),p=r(3215),d=r(6906),f=r(550),g=r(9923),v={npm:{cache:void 0,get:()=>p.resolveGlobalNodePath()},pnpm:{cache:void 0,get:()=>o.execSync("pnpm root -g").toString().trim()},yarn:{cache:void 0,get:()=>p.resolveGlobalYarnPath()}};t.ModuleResolver=class{constructor(e){this.loggingService=e,this.path2Module=new Map}getPrettierInstance(e){return n(this,void 0,void 0,(function*(){if(!h.workspace.isTrusted)return this.loggingService.logDebug(d.UNTRUSED_WORKSPACE_USING_BUNDLED_PRETTIER),l;const{prettierPath:t,resolveGlobalModules:r}=g.getConfig(h.Uri.file(e));let n,o;try{n=t?g.getWorkspaceRelativePath(e,t):this.findPkg(e,"prettier")}catch(e){let t="";if(!n){const r=/Cannot find module '.*' from '(.*)'/.exec(e.message);r&&r[1]&&(t=r[1])}return this.loggingService.logInfo(`Attempted to load Prettier module from ${n||t||"package.json"}`),void this.loggingService.logError(d.FAILED_TO_LOAD_MODULE_MESSAGE,e)}if(r&&!n){const e=function(e){const t=v[e];if(t)return void 0===t.cache&&(t.cache=t.get()),t.cache}(yield h.commands.executeCommand("npm.packageManager"));if(e){const t=a.join(e,"prettier");i.existsSync(t)&&(n=t)}}if(void 0!==n){if(o=this.path2Module.get(n),o)return o;try{o=this.loadNodeModule(n),o&&this.path2Module.set(n,o)}catch(e){return this.loggingService.logInfo(`Attempted to load Prettier module from ${n||"package.json"}`),void this.loggingService.logError(d.FAILED_TO_LOAD_MODULE_MESSAGE,e)}}if(o){const e=!!o.format,r=o.version&&!!o.getSupportInfo&&!!o.getFileInfo&&!!o.resolveConfig&&u.gte(o.version,"1.13.0");return!e&&t?void this.loggingService.logError(d.INVALID_PRETTIER_PATH_MESSAGE):r?o:(this.loggingService.logInfo(`Attempted to load Prettier module from ${n}`),void this.loggingService.logError(d.OUTDATED_PRETTIER_VERSION_MESSAGE))}return this.loggingService.logDebug(d.USING_BUNDLED_PRETTIER),l}))}dispose(){return n(this,void 0,void 0,(function*(){l.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=`module-path:${e}:${t}`,n=f.getFromWorkspaceState(r,!1);if(n)return n;const o=e.split("/");let l=e;const u=o.indexOf("node_modules");u>1&&(l=o.slice(0,u).join("/"));const h=s.sync((e=>{if(i.existsSync(a.join(e,"package.json"))){let r;try{r=JSON.parse(i.readFileSync(a.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:l,type:"directory"});if(h){const e=c.sync(t,{basedir:h});return f.updateWorkspaceState(r,e),e}const p=s.sync((e=>i.existsSync(a.join(e,"node_modules",t))?e:this.isInternalTestRoot(e)?s.stop:void 0),{cwd:l,type:"directory"});if(p){const e=c.sync(t,{basedir:p});return f.updateWorkspaceState(r,e),e}}}},7732:function(e,t){"use strict";var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PrettierEditProvider=void 0,t.PrettierEditProvider=class{constructor(e){this.provideEdits=e}provideDocumentRangeFormattingEdits(e,t,n,o){return r(this,void 0,void 0,(function*(){return this.provideEdits(e,{rangeEnd:e.offsetAt(t.end),rangeStart:e.offsetAt(t.start),force:!1})}))}provideDocumentFormattingEdits(e,t,n){return r(this,void 0,void 0,(function*(){return this.provideEdits(e,{force:!1})}))}}},1923:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(2392),s=r(7549),i=r(803),a=r(6906),l=r(7732),c=r(2331),u=r(9923),h=[".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"],this.forceFormatDocument=()=>n(this,void 0,void 0,(function*(){const e=s.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=yield this.provideEdits(e.document,{force:!0});1===t.length&&(yield e.edit((e=>{e.replace(t[0].range,t[0].newText)})))})),this.prettierConfigChanged=e=>n(this,void 0,void 0,(function*(){return this.resetFormatters(e)})),this.resetFormatters=e=>n(this,void 0,void 0,(function*(){var t;if(e){const r=s.workspace.getWorkspaceFolder(e);this.registeredWorkspaces.delete(null!==(t=null==r?void 0:r.uri.fsPath)&&void 0!==t?t:"global")}else this.registeredWorkspaces.clear();this.statusBar.update(c.FormatterStatus.Ready)})),this.handleActiveTextEditorChanged=e=>n(this,void 0,void 0,(function*(){if(!e)return void this.statusBar.hide();const{document:t}=e;if("untitled"===t.uri.scheme)return void this.statusBar.update(c.FormatterStatus.Ready);if("file"!==t.uri.scheme)return void this.statusBar.hide();const r=s.workspace.getWorkspaceFolder(t.uri);if(!r)return;const n=yield this.moduleResolver.getPrettierInstance(r.uri.fsPath),o=this.registeredWorkspaces.has(r.uri.fsPath);if(!n)return void this.statusBar.update(c.FormatterStatus.Error);const i=yield this.getSelectors(n,r.uri);o||(this.registerDocumentFormatEditorProviders(i),this.registeredWorkspaces.add(r.uri.fsPath),this.loggingService.logDebug(`Enabling Prettier for Workspace ${r.uri.fsPath}`,i)),s.languages.match(i.languageSelector,t)>0?this.statusBar.update(c.FormatterStatus.Ready):this.statusBar.update(c.FormatterStatus.Disabled)})),this.dispose=()=>{var e,t;this.moduleResolver.dispose(),null===(e=this.formatterHandler)||void 0===e||e.dispose(),null===(t=this.rangeFormatterHandler)||void 0===t||t.dispose(),this.formatterHandler=void 0,this.rangeFormatterHandler=void 0},this.getSelectors=(e,t)=>n(this,void 0,void 0,(function*(){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}=u.getConfig(),o=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"}))):[],...o,...this.allLanguages.map((e=>({language:e,scheme:"file"}))),...this.allLanguages.map((e=>({language:e,scheme:"untitled"}))),{language:"jsonc",scheme:"vscode-userdata"}],rangeLanguageSelector:[...this.allRangeLanguages.map((e=>({language:e,scheme:"file"}))),...this.allRangeLanguages.map((e=>({language:e,scheme:"untitled"})))]}})),this.provideEdits=(e,t)=>n(this,void 0,void 0,(function*(){const r=process.hrtime(),n=yield this.format(e.getText(),e,t);if(!n)return[];const o=process.hrtime(r);return this.loggingService.logInfo(`Formatting completed in ${o[1]/1e6}ms.`),[s.TextEdit.replace(this.fullDocumentRange(e),n)]}))}registerDisposables(){const e=s.workspace.createFileSystemWatcher("**/package.json");e.onDidChange(this.resetFormatters),e.onDidCreate(this.resetFormatters),e.onDidDelete(this.resetFormatters);const t=s.workspace.onDidChangeConfiguration((e=>{e.affectsConfiguration("prettier.enable")?this.loggingService.logWarning(a.RESTART_TO_ENABLE):e.affectsConfiguration("prettier")&&this.resetFormatters()})),r=s.workspace.createFileSystemWatcher(`**/{${h.join(",")}}`);r.onDidChange(this.prettierConfigChanged),r.onDidCreate(this.prettierConfigChanged),r.onDidDelete(this.prettierConfigChanged);const n=s.window.onDidChangeActiveTextEditor(this.handleActiveTextEditorChanged);return this.handleActiveTextEditorChanged(s.window.activeTextEditor),[e,t,r,n]}registerGlobal(){return n(this,void 0,void 0,(function*(){const e=yield this.getSelectors(o);this.registerDocumentFormatEditorProviders(e),this.loggingService.logDebug("Enabling Prettier globally",e)}))}registerDocumentFormatEditorProviders({languageSelector:e,rangeLanguageSelector:t}){this.dispose();const r=new l.PrettierEditProvider(this.provideEdits);this.rangeFormatterHandler=s.languages.registerDocumentRangeFormattingEditProvider(t,r),this.formatterHandler=s.languages.registerDocumentFormattingEditProvider(e,r)}format(e,{fileName:t,languageId:r,uri:s,isUntitled:l},h){var p;return n(this,void 0,void 0,(function*(){this.loggingService.logInfo(`Formatting ${t}`);const n=u.getConfig(s);let d;try{l||(d=null!==(p=yield o.resolveConfigFile(t))&&void 0!==p?p:void 0)}catch(e){return this.loggingService.logError(`Error resolving prettier configuration for ${t}`,e),void this.statusBar.update(c.FormatterStatus.Error)}const f={config:l?void 0:n.configPath?u.getWorkspaceRelativePath(t,n.configPath):d,editorconfig:l?void 0:n.useEditorConfig};let g,v;try{g=l?null:yield o.resolveConfig(t,f)}catch(e){return this.loggingService.logError("Invalid prettier configuration file detected.",e),this.loggingService.logError(a.INVALID_PRETTIER_CONFIG),void this.statusBar.update(c.FormatterStatus.Error)}if(!l&&!g&&n.requireConfig)return this.loggingService.logInfo("Require config set to true and no config present. Skipping file."),void this.statusBar.update(c.FormatterStatus.Disabled);f.config&&this.loggingService.logInfo(`Using config file at '${f.config}'`),n.ignorePath&&(v=u.getWorkspaceRelativePath(t,n.ignorePath),v&&this.loggingService.logInfo(`Using ignore file (if present) at ${v}`));const m=yield this.moduleResolver.getPrettierInstance(t);if(!m)return this.loggingService.logError("Prettier could not be loaded. See previous logs for more information."),void this.statusBar.update(c.FormatterStatus.Error);let E,y;if(t&&(E=yield m.getFileInfo(t,{ignorePath:v,resolveConfig:!0,withNodeModules:n.withNodeModules}),this.loggingService.logInfo("File Info:",E)),!h.force&&E&&E.ignored)return this.loggingService.logInfo("File is ignored, skipping."),void this.statusBar.update(c.FormatterStatus.Ignore);if(E&&E.inferredParser)y=E.inferredParser;else if("plaintext"!==r){this.loggingService.logWarning("Parser not inferred, trying VS Code language.");const e=m.getSupportInfo().languages;y=i.getParserFromLanguageId(e,s,r)}if(!y)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(c.FormatterStatus.Error);const S=this.getPrettierOptions(t,y,n,g,h);this.loggingService.logInfo("Prettier Options:",S);try{const t=m.format(e,S);return this.statusBar.update(c.FormatterStatus.Success),t}catch(t){return this.loggingService.logError("Error formatting document.",t),this.statusBar.update(c.FormatterStatus.Error),e}}))}getPrettierOptions(e,t,r,n,o){const s=null===n,i={};let a;s&&(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(s?"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"),o.rangeEnd&&o.rangeStart&&(a={rangeEnd:o.rangeEnd,rangeStart:o.rangeStart});const l=Object.assign(Object.assign(Object.assign(Object.assign({},s?i:{}),{filepath:e,parser:t}),a||{}),n||{});return o.force&&!0===l.requirePragma&&(l.requirePragma=!1),l}fullDocumentRange(e){const t=e.lineCount-1;return new s.Range(0,0,t,e.lineAt(t).text.length)}}},2331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=t.FormatterStatus=void 0;const n=r(7549);var o;!function(e){e.Ready="check-all",e.Success="check",e.Ignore="x",e.Warn="warning",e.Error="alert",e.Disabled="circle-slash"}(o=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(o.Ready),this.statusBarItem.show()}update(e){this.statusBarItem.text=`$(${e.toString()}) Prettier`,this.statusBarItem.show()}hide(){this.statusBarItem.hide()}}},3938:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateService=void 0;const o=r(5747),s=r(5622),i=r(2392),a=r(1669).promisify(o.writeFile);t.TemplateService=class{constructor(e){this.loggingService=e}writeConfigFile(e){return n(this,void 0,void 0,(function*(){const t={tabWidth:2,useTabs:!1},r=s.join(e.fsPath,".prettierrc"),n={filepath:r,tabWidth:t.tabWidth,useTabs:t.useTabs},o=i.format(JSON.stringify(t,null,2),n);this.loggingService.logInfo(`Writing .prettierrc to '${r}'`),yield a(r,o,"utf8")}))}}},5415:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigFile=void 0;const o=r(7549);t.createConfigFile=e=>()=>n(void 0,void 0,void 0,(function*(){const t=yield o.window.showOpenDialog({canSelectFiles:!1,canSelectFolders:!0,canSelectMany:!1});if(t&&1===t.length){const r=t[0];yield e.writeConfigFile(r)}}))},803:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSupportedFileNames=t.getParserFromLanguageId=void 0,t.getParserFromLanguageId=function(e,t,r){var n;if("untitled"===t.scheme&&["html","json"].includes(r))return r;const o=e.find((e=>e&&e.extensions&&Array.isArray(e.vscodeLanguageIds)&&e.vscodeLanguageIds.includes(r)));return o&&(null===(n=o.parsers)||void 0===n?void 0:n.length)>0?o.parsers[0]:void 0},t.getSupportedFileNames=function(e){const t=[];return e.forEach((e=>{e&&e.filenames&&t.push(...e.filenames)})),t.filter(((e,t,r)=>r.indexOf(e)===t))}},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.UNABLE_TO_LOAD_PRETTIER=t.INVALID_PRETTIER_CONFIG=t.FAILED_TO_LOAD_MODULE_MESSAGE=t.VIEW_LOGS_ACTION_TEXT=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.VIEW_LOGS_ACTION_TEXT="Show Log",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.UNABLE_TO_LOAD_PRETTIER="Unable to load the configured Prettier module. Prettier will not run. Check logs.",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."},550:(e,t)=>{"use strict";let r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.getWorkspaceState=t.setWorkspaceState=t.updateWorkspaceState=t.getFromWorkspaceState=t.getGlobalState=t.setGlobalState=t.updateGlobalState=t.getFromGlobalState=void 0,t.getFromGlobalState=function(e,t){return r?r.get(e,t):t},t.updateGlobalState=function(e,t){if(r)return r.update(e,t)},t.setGlobalState=function(e){r=e},t.getGlobalState=function(){return r},t.getFromWorkspaceState=function(e,t){return n?n.get(e,t):t},t.updateWorkspaceState=function(e,t){if(n)return n.update(e,t)},t.setWorkspaceState=function(e){n=e},t.getWorkspaceState=function(){return n}},9923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=t.getWorkspaceRelativePath=void 0;const n=r(2087),o=r(5622),s=r(7549);t.getWorkspaceRelativePath=function(e,t){if("darwin"===process.platform&&0===t.indexOf("~")&&n.homedir())return t.replace(/^~(?=$|\/|\\)/,n.homedir());if(s.workspace.workspaceFolders){const r=s.workspace.getWorkspaceFolder(s.Uri.file(e));return r?o.isAbsolute(t)?t:o.join(r.uri.fsPath,t):void 0}},t.getConfig=function(e){const t=s.workspace.getConfiguration("prettier",e);return s.workspace.isTrusted||(t.prettierPath=void 0,t.configPath=void 0,t.ignorePath=".prettierignore",t.documentSelectors=[],t.useEditorConfig=!1,t.withNodeModules=!1,t.resolveGlobalModules=!1),t}},9536:(e,t,r)=>{"use strict";const n=r(5622),o=r(7310),s=r(8185),i=Symbol("findUp.stop");e.exports=async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:s}=n.parse(r),a=[].concat(e),l=async t=>{if("function"!=typeof e)return o(a,t);const r=await e(t.cwd);return"string"==typeof r?o([r],t):r};for(;;){const e=await l({...t,cwd:r});if(e===i)return;if(e)return n.resolve(r,e);if(r===s)return;r=n.dirname(r)}},e.exports.sync=(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:s}=n.parse(r),a=[].concat(e),l=t=>{if("function"!=typeof e)return o.sync(a,t);const r=e(t.cwd);return"string"==typeof r?o.sync([r],t):r};for(;;){const e=l({...t,cwd:r});if(e===i)return;if(e)return n.resolve(r,e);if(r===s)return;r=n.dirname(r)}},e.exports.exists=s,e.exports.sync.exists=s.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,o="[object Function]";e.exports=function(e){var s=this;if("function"!=typeof s||n.call(s)!==o)throw new TypeError(t+s);for(var i,a=r.call(arguments,1),l=function(){if(this instanceof i){var t=s.apply(this,a.concat(r.call(arguments)));return Object(t)===t?t:this}return s.apply(e,a.concat(r.call(arguments)))},c=Math.max(0,s.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),s.prototype){var p=function(){};p.prototype=s.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)},6774:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"node:assert":">= 16","assert/strict":">= 15","node:assert/strict":">= 16","async_hooks":">= 8","node:async_hooks":">= 16","buffer_ieee754":"< 0.9.7","buffer":true,"node:buffer":">= 16","child_process":true,"node:child_process":">= 16","cluster":true,"node:cluster":">= 16","console":true,"node:console":">= 16","constants":true,"node:constants":">= 16","crypto":true,"node:crypto":">= 16","_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":">= 16","diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":">= 16","dns":true,"node:dns":">= 16","dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":">= 16","events":true,"node:events":">= 16","freelist":"< 6","fs":true,"node:fs":">= 16","fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":">= 16","_http_agent":">= 0.11.1","node:_http_agent":">= 16","_http_client":">= 0.11.1","node:_http_client":">= 16","_http_common":">= 0.11.1","node:_http_common":">= 16","_http_incoming":">= 0.11.1","node:_http_incoming":">= 16","_http_outgoing":">= 0.11.1","node:_http_outgoing":">= 16","_http_server":">= 0.11.1","node:_http_server":">= 16","http":true,"node:http":">= 16","http2":">= 8.8","node:http2":">= 16","https":true,"node:https":">= 16","inspector":">= 8","node:inspector":">= 16","_linklist":"< 8","module":true,"node:module":">= 16","net":true,"node:net":">= 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":">= 16","path":true,"node:path":">= 16","path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16","perf_hooks":">= 8.5","node:perf_hooks":">= 16","process":">= 1","node:process":">= 16","punycode":true,"node:punycode":">= 16","querystring":true,"node:querystring":">= 16","readline":true,"node:readline":">= 16","repl":true,"node:repl":">= 16","smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","node:_stream_duplex":">= 16","_stream_transform":">= 0.9.4","node:_stream_transform":">= 16","_stream_wrap":">= 1.4.1","node:_stream_wrap":">= 16","_stream_passthrough":">= 0.9.4","node:_stream_passthrough":">= 16","_stream_readable":">= 0.9.4","node:_stream_readable":">= 16","_stream_writable":">= 0.9.4","node:_stream_writable":">= 16","stream":true,"node:stream":">= 16","stream/promises":">= 15","node:stream/promises":">= 16","string_decoder":true,"node:string_decoder":">= 16","sys":[">= 0.6 && < 0.7",">= 0.8"],"node:sys":">= 16","timers":true,"node:timers":">= 16","timers/promises":">= 15","node:timers/promises":">= 16","_tls_common":">= 0.11.13","node:_tls_common":">= 16","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","node:_tls_wrap":">= 16","tls":true,"node:tls":">= 16","trace_events":">= 10","node:trace_events":">= 16","tty":true,"node:tty":">= 16","url":true,"node:url":">= 16","util":true,"node:util":">= 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":">= 16","vm":true,"node:vm":">= 16","wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":">= 16","zlib":true,"node:zlib":">= 16"}')},2009:(e,t,r)=>{"use strict";var n=r(6144);function o(e,t){for(var r=e.split("."),n=t.split(" "),o=n.length>1?n[0]:"=",s=(n.length>1?n[1]:n[0]).split("."),i=0;i<3;++i){var a=parseInt(r[i]||0,10),l=parseInt(s[i]||0,10);if(a!==l)return"<"===o?a<l:">="===o&&a>=l}return">="===o}function s(e,t){var r=t.split(/ ?&& ?/);if(0===r.length)return!1;for(var n=0;n<r.length;++n)if(!o(e,r[n]))return!1;return!0}var i=r(6774);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&&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(s(r,t[n]))return!0;return!1}return s(r,t)}(t,i[e])}},7310:(e,t,r)=>{"use strict";const n=r(5622),o=r(5747),{promisify:s}=r(1669),i=r(4092),a=s(o.stat),l=s(o.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 o=await r(n.resolve(t.cwd,e));return h(t.type,o)}catch{return!1}}),t)},e.exports.sync=(e,t)=>{u(t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t});const r=t.allowSymlinks?o.statSync:o.lstatSync;for(const o of e)try{const e=r(n.resolve(t.cwd,o));if(h(t.type,e))return o}catch{}}},3097:(e,t,r)=>{"use strict";const n=r(4393),o=Symbol("max"),s=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"),f=()=>1,g=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(v(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}},v=(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]},m=e=>{if(e[s]>e[o])for(let t=e[h].tail;e[s]>e[o]&&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[s]-=r.length,e[p].delete(r.key),e[h].removeNode(t)}};class y{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const S=(e,t,r,n)=>{let o=r.value;v(e,o)&&(E(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.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[o]=e.max||1/0;const t=e.length||f;if(this[i]="function"!=typeof t?f: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[o]=e||1/0,m(this)}get max(){return this[o]}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,m(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[i]&&(this[i]=e,this[s]=0,this[h].forEach((e=>{e.length=this[i](e.value,e.key),this[s]+=e.length}))),m(this)}get lengthCalculator(){return this[i]}get length(){return this[s]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let r=this[h].tail;null!==r;){const n=r.prev;S(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[h].head;null!==r;){const n=r.next;S(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[s]=0}dump(){return this[h].map((e=>!v(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[o])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[s]+=a-i.length,i.length=a,this.get(e),m(this),!0}const d=new y(e,t,a,n,r);return d.length>this[o]?(this[c]&&this[c](e,t),!1):(this[s]+=d.length,this[h].unshift(d),this[p].set(e,this[h].head),m(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!v(this,t)}get(e){return g(this,e,!0)}peek(e){return g(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],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach(((e,t)=>g(this,t,!1)))}}},4092:(e,t,r)=>{"use strict";const n=r(9313);class o extends Error{constructor(e){super(),this.value=e}}const s=async(e,t)=>t(await e),i=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new o(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(s,e,t)])),c=n(r.preserveOrder?1:1/0);try{await Promise.all(l.map((e=>c(i,e))))}catch(e){if(e instanceof o)return e.value;throw e}}},9313:(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 o=async(e,n,...o)=>{r++;const s=(async()=>e(...o))();n(s);try{await s}catch{}r--,t.size>0&&t.dequeue()()},s=(n,...s)=>new Promise((i=>{((n,s,...i)=>{t.enqueue(o.bind(null,n,s,...i)),(async()=>{await Promise.resolve(),r<e&&t.size>0&&t.dequeue()()})()})(n,i,...s)}));return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),s}},8185:(e,t,r)=>{"use strict";const n=r(5747),{promisify:o}=r(1669),s=o(n.access);e.exports=async e=>{try{return await s(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]}}},o=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={parse:function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,r=(t=e,o.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:s.parse,e.exports.posix=s.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(5747),o=r(5622),s=r(5994),i=r(4156),a=r(7038),l=r(2009),c=n.realpath&&"function"==typeof n.realpath.native?n.realpath.native:n.realpath,u=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())}))},h=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())}))},p=function(e,t){c(e,(function(r,n){r&&"ENOENT"!==r.code?t(r):t(null,r?e:n)}))},d=function(e,t,r,n){r&&!1===r.preserveSymlinks?e(t,n):n(null,t)},f=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 c=r,g=t;if("function"==typeof t&&(c=g,g={}),"string"!=typeof e){var v=new TypeError("Path must be a string.");return process.nextTick((function(){c(v)}))}var m=(g=a(e,g)).isFile||u,E=g.isDirectory||h,y=g.readFile||n.readFile,S=g.realpath||p,I=g.readPackage||f;if(g.readFile&&g.readPackage){var w=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){c(w)}))}var _=g.packageIterator,R=g.extensions||[".js"],O=!1!==g.includeCoreModules,N=g.basedir||o.dirname(s()),T=g.filename||N;g.paths=g.paths||[];var x,$=o.resolve(N);function A(t,r,n){t?c(t):r?c(null,r,n):b(x,(function(t,r,n){if(t)c(t);else if(r)d(S,r,g,(function(e,t){e?c(e):c(null,t,n)}));else{var o=new Error("Cannot find module '"+e+"' from '"+T+"'");o.code="MODULE_NOT_FOUND",c(o)}}))}function L(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,u){if(a=l,n)return s(n);if(u&&a&&g.pathFilter){var h=o.relative(u,i),p=h.slice(0,h.length-t[0].length),d=g.pathFilter(a,r,p);if(d)return e([""].concat(R.slice()),o.resolve(u,d),a)}m(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):P(o.dirname(i),l)}([""].concat(R),e,n)}function P(e,t){return""===e||"/"===e||"win32"===process.platform&&/^\w:[/\\]*$/.test(e)||/[/\\]node_modules[/\\]*$/.test(e)?t(null):void d(S,e,g,(function(r,n){if(r)return P(o.dirname(e),t);var s=o.join(n,"package.json");m(s,(function(r,n){if(!n)return P(o.dirname(e),t);I(y,s,(function(r,n){r&&t(r);var o=n;o&&g.packageFilter&&(o=g.packageFilter(o,s)),t(null,o,e)}))}))}))}function b(e,t,r){var n=r,s=t;"function"==typeof s&&(n=s,s=g.package),d(S,e,g,(function(t,r){if(t)return n(t);var i=o.join(r,"package.json");m(i,(function(t,r){return t?n(t):r?void I(y,i,(function(t,r){if(t)return n(t);var s=r;if(s&&g.packageFilter&&(s=g.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 L(o.resolve(e,s.main),s,(function(t,r,s){return t?n(t):r?n(null,r,s):s?void b(o.resolve(e,s.main),s,(function(t,r,s){return t?n(t):r?n(null,r,s):void L(o.join(e,"index"),s,n)})):L(o.join(e,"index"),s,n)}))}L(o.join(e,"/index"),s,n)})):L(o.join(e,"index"),s,n)}))}))}function D(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 b(r,g.package,s)}function s(r,n,o){return r?e(r):n?e(null,n,o):void D(e,t.slice(1))}E(o.dirname(r),(function(o,s){return o?e(o):s?void L(r,g.package,n):D(e,t.slice(1))}))}d(S,$,g,(function(t,r){t?c(t):function(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e))x=o.resolve(t,e),"."!==e&&".."!==e&&"/"!==e.slice(-1)||(x+="/"),/\/$/.test(e)&&x===t?b(x,g.package,A):L(x,g.package,A);else{if(O&&l(e))return c(null,e);!function(e,t,r){var n=function(){return function(e,t,r){for(var n=i(t,r,e),s=0;s<n.length;s++)n[s]=o.join(n[s],e);return n}(e,t,g)};D(r,_?_(e,t,n,g):n())}(e,t,(function(t,r,n){if(t)c(t);else{if(r)return d(S,r,g,(function(e,t){e?c(e):c(null,t,n)}));var o=new Error("Cannot find module '"+e+"' from '"+T+"'");o.code="MODULE_NOT_FOUND",c(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 o(e){for(var t=e.split(" "),r=t.length>1?t[0]:"=",o=(t.length>1?t[1]:t[0]).split("."),s=0;s<3;++s){var i=parseInt(n[s]||0,10),a=parseInt(o[s]||0,10);if(i!==a)return"<"===r?i<a:">="===r&&i>=a}return">="===r}function s(e){var t=e.split(/ ?&& ?/);if(0===t.length)return!1;for(var r=0;r<t.length;++r)if(!o(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(s(e[t]))return!0;return!1}return s(e)}var a=r(5715),l={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(l[c]=i(a[c]));e.exports=l},5715:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},3373:(e,t,r)=>{var n=r(2009);e.exports=function(e){return n(e)}},4156:(e,t,r)=>{var n=r(5622),o=n.parse||r(8939),s=function(e,t){var r="/";/^([A-Za-z]:)/.test(e)?r="":/^\\\\/.test(e)&&(r="\\\\");for(var s=[e],i=o(e);i.dir!==s[s.length-1];)s.push(i.dir),i=o(i.dir);return s.reduce((function(e,o){return e.concat(t.map((function(e){return n.resolve(r,o,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 s(e,n)}),t);var o=s(e,n);return t&&t.paths?o.concat(t.paths):o}},7038:e=>{e.exports=function(e,t){return t||{}}},5314:(e,t,r)=>{var n=r(2009),o=r(5747),s=r(5622),i=r(5994),a=r(4156),l=r(7038),c=o.realpathSync&&"function"==typeof o.realpathSync.native?o.realpathSync.native:o.realpathSync,u=function(e){try{var t=o.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isFile()||t.isFIFO()},h=function(e){try{var t=o.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isDirectory()},p=function(e){try{return c(e)}catch(e){if("ENOENT"!==e.code)throw e}return e},d=function(e,t,r){return r&&!1===r.preserveSymlinks?e(t):t},f=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=l(e,t),c=r.isFile||u,g=r.readFileSync||o.readFileSync,v=r.isDirectory||h,m=r.realpathSync||p,E=r.readPackageSync||f;if(r.readFileSync&&r.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var y=r.packageIterator,S=r.extensions||[".js"],I=!1!==r.includeCoreModules,w=r.basedir||s.dirname(i()),_=r.filename||w;r.paths=r.paths||[];var R=d(m,s.resolve(w),r);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var O=s.resolve(R,e);"."!==e&&".."!==e&&"/"!==e.slice(-1)||(O+="/");var N=$(O)||L(O);if(N)return d(m,N,r)}else{if(I&&n(e))return e;var T=function(e,t){for(var n=function(){return function(e,t,r){for(var n=a(t,r,e),o=0;o<n.length;o++)n[o]=s.join(n[o],e);return n}(e,t,r)},o=y?y(e,t,n,r):n(),i=0;i<o.length;i++){var l=o[i];if(v(s.dirname(l))){var c=$(l);if(c)return c;var u=L(l);if(u)return u}}}(e,R);if(T)return d(m,T,r)}var x=new Error("Cannot find module '"+e+"' from '"+_+"'");throw x.code="MODULE_NOT_FOUND",x;function $(e){var t=A(s.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var n=s.relative(t.dir,e),o=r.pathFilter(t.pkg,e,n);o&&(e=s.resolve(t.dir,o))}if(c(e))return e;for(var i=0;i<S.length;i++){var a=e+S[i];if(c(a))return a}}function A(e){if(""!==e&&"/"!==e&&!("win32"===process.platform&&/^\w:[/\\]*$/.test(e)||/[/\\]node_modules[/\\]*$/.test(e))){var t=s.join(d(m,e,r),"package.json");if(!c(t))return A(s.dirname(e));var n=E(g,t);return n&&r.packageFilter&&(n=r.packageFilter(n,e)),{pkg:n,dir:e}}}function L(e){var t=s.join(d(m,e,r),"/package.json");if(c(t)){try{var n=E(g,t)}catch(e){}if(n&&r.packageFilter&&(n=r.packageFilter(n,e)),n&&n.main){if("string"!=typeof n.main){var o=new TypeError("package “"+n.name+"” `main` must be a string");throw o.code="INVALID_PACKAGE_MAIN",o}"."!==n.main&&"./"!==n.main||(n.main="index");try{var i=$(s.resolve(e,n.main));if(i)return i;var a=L(s.resolve(e,n.main));if(a)return a}catch(e){}}}return $(s.join(e,"/index"))}}},8721:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=s(t),e instanceof o){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 o))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),s=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||s&&i||a||c}}e.exports=o;const s=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=s(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=>!f(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&&g(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=o.get(t);if(r)return r;const n=this.options.loose,s=n?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(s,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],g=e.split(" ").map((e=>m(e,this.options))).join(" ").split(/\s+/).map((e=>N(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),v=(g.length,new Map);for(const e of g){if(f(e))return[e];v.set(e.value,e)}v.size>1&&v.has("")&&v.delete("");const E=[...v.values()];return o.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(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(x(this.set[t],e,this.options))return!0;return!1}}e.exports=n;const o=new(r(3097))({max:1e3}),s=r(4276),i=r(8721),a=r(7437),l=r(713),{re:c,t:u,comparatorTrimReplace:h,tildeTrimReplace:p,caretTrimReplace:d}=r(4839),f=e=>"<0.0.0-0"===e.value,g=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},m=(e,t)=>(a("comp",e,t),e=I(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=_(e,t),a("xrange",e),e=O(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>S(e,t))).join(" "),S=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,n,o,s)=>{let i;return a("tilde",e,t,r,n,o,s),E(r)?i="":E(n)?i=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(a("replaceTilde pr",s),i=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):i=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",i),i}))},I=(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,o,s,i)=>{let l;return a("caret",e,t,r,o,s,i),E(r)?l="":E(o)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?l="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:i?(a("replaceCaret pr",i),l="0"===r?"0"===o?`>=${r}.${o}.${s}-${i} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}-${i} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s}-${i} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===o?`>=${r}.${o}.${s}${n} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s} <${+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,o,s,i,l)=>{a("xRange",e,r,n,o,s,i,l);const c=E(o),u=c||E(s),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&&(s=0),i=0,">"===n?(n=">=",u?(o=+o+1,s=0,i=0):(s=+s+1,i=0)):"<="===n&&(n="<",u?o=+o+1:s=+s+1),"<"===n&&(l="-0"),r=`${n+o}.${s}.${i}${l}`):u?r=`>=${o}.0.0${l} <${+o+1}.0.0-0`:h&&(r=`>=${o}.${s}.0${l} <${o}.${+s+1}.0-0`),a("xRange return",r),r}))},O=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),N=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,o,s,i,a,l,c,u,h,p,d)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${o}.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(),x=(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:o,MAX_SAFE_INTEGER:s}=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>o)throw new TypeError(`version is longer than ${o} 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>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||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<s)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],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{const r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return c(r,o)}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),o=r(9090),s=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 o(e,r,c);case">":return s(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),o=r(3207),{re:s,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=s[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),s[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[i.COERCERTL].lastIndex=-1}else r=e.match(s[i.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},8354:(e,t,r)=>{const n=r(713);e.exports=(e,t,r)=>{const o=new n(e,r),s=new n(t,r);return o.compare(s)||o.compareBuild(s)}},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),o=r(7977);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),s=r.prerelease.length||o.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[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,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).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:o,t:s}=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?o[s.LOOSE]:o[s.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),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!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),o=r(7437),s=(t=e.exports={}).re=[],i=t.src=[],a=t.t={};let l=0;const c=(e,t,r)=>{const n=l++;o(n,t),a[e]=n,i[n]=t,s[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),o=r(5589);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},856:(e,t,r)=>{const n=r(713),o=r(5589);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},7787:(e,t,r)=>{const n=r(713),o=r(5589),s=r(8590);e.exports=(e,t)=>{e=new o(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 o=e.set[t];let i=null;o.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&&!s(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||r&&!s(r,i)||(r=i)}return r&&e.test(r)?r:null}},5256:(e,t,r)=>{const n=r(713),o=r(8721),{ANY:s}=o,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,f,g,v,m;switch(e=new n(e,p),t=new i(t,p),r){case">":d=l,f=u,g=c,v=">",m=">=";break;case"<":d=c,f=h,g=l,v="<",m="<=";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===s&&(e=new o(">=0.0.0")),i=i||e,a=a||e,d(e.semver,i.semver,p)?i=e:g(e.semver,a.semver,p)&&(a=e)})),i.operator===v||i.operator===m)return!1;if((!a.operator||a.operator===v)&&f(e,a.semver))return!1;if(a.operator===m&&g(e,a.semver))return!1}return!0}},9009:(e,t,r)=>{const n=r(3396),o=r(4077);e.exports=(e,t,r)=>{const s=[];let i=null,a=null;const l=e.sort(((e,t)=>o(e,t,r)));for(const e of l)n(e,t,r)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const c=[];for(const[e,t]of s)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),o=r(8721),{ANY:s}=o,i=r(3396),a=r(4077),l=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const n=new Set;let l,h,p,d,f,g,v;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 m=!(!h||r.includePrerelease||!h.semver.prerelease.length)&&h.semver,E=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver;m&&1===m.prerelease.length&&"<"===h.operator&&0===m.prerelease[0]&&(m=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,g=g||"<"===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(m&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch&&(m=!1),"<"===e.operator||"<="===e.operator){if(f=u(h,e,r),f===e&&f!==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&&g&&!h&&0!==p||h&&v&&!l&&0!==p||E||m)},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 o=!1;e:for(const n of e.set){for(const e of t.set){const t=l(n,e,r);if(o=o||null!==t,t)continue e}if(o)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,o=arguments.length;r<o;r++)t.push(arguments[r]);return t}function o(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(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++)o(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)s(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,o=this.head;null!==o;)r.push(e.call(t,o.value,this)),o=o.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,o=this.tail;null!==o;)r.push(e.call(t,o.value,this)),o=o.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 o=0;null!==n;o++)r=e(r,n.value,o),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 o=this.length-1;null!==n;o--)r=e(r,n.value,o),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 o=0,s=this.head;null!==s&&o<e;o++)s=s.next;for(;null!==s&&o<t;o++,s=s.next)r.push(s.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 o=this.length,s=this.tail;null!==s&&o>t;o--)s=s.prev;for(;null!==s&&o>e;o--,s=s.prev)r.push(s.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,o=this.head;null!==o&&n<e;n++)o=o.next;var s,a,l,c,u=[];for(n=0;o&&n<t;n++)u.push(o.value),o=this.removeNode(o);for(null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev),n=0;n<r.length;n++)s=this,a=o,l=r[n],c=void 0,null===(c=a===s.head?new i(l,null,a,s):new i(l,a,a.next,s)).next&&(s.tail=c),null===c.prev&&(s.head=c),s.length++,o=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},3129:e=>{"use strict";e.exports=require("child_process")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},2392:e=>{"use strict";e.exports=require("prettier")},1669:e=>{"use strict";e.exports=require("util")},7549:e=>{"use strict";e.exports=require("vscode")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}var n={};(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.activate=void 0;const t=r(7549),o=r(5415),s=r(9854),i=r(604),a=r(1923),l=r(2331),c=r(3938),u=r(9923),h=r(6906),p=r(550);e.activate=function(e){const r=new s.LoggingService;r.logInfo("Extension Name: esbenp.prettier-vscode."),r.logInfo("Extension Version: 8.0.1.");const{enable:n,enableDebugLogs:d}=u.getConfig();if(d&&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)})));p.setGlobalState(e.globalState),p.setWorkspaceState(e.workspaceState);const f=new c.TemplateService(r),g=new i.ModuleResolver(r),v=new l.StatusBar,m=new a.default(g,r,v);m.registerGlobal();const E=o.createConfigFile(f),y=t.commands.registerCommand("prettier.createConfigFile",E),S=t.commands.registerCommand("prettier.openOutput",(()=>{r.show()})),I=t.commands.registerCommand("prettier.forceFormatDocument",m.forceFormatDocument);e.subscriptions.push(m,y,S,I,...m.registerDisposables())}})(),module.exports=n})();
|
|
//# sourceMappingURL=extension.js.map
|