"use strict";var __getOwnPropNames=Object.getOwnPropertyNames,__commonJS=(w,I)=>function(){return I||(0,w[__getOwnPropNames(w)[0]])((I={exports:{}}).exports,I),I.exports},require_bootstrap_node=__commonJS({"out-build/bootstrap-node.js"(w){"use strict";function I(){const P=require("path");try{typeof process.env.VSCODE_CWD!="string"&&(process.env.VSCODE_CWD=process.cwd()),process.platform==="win32"&&process.chdir(P.dirname(process.execPath))}catch(R){console.error(R)}}I(),w.injectNodeModuleLookupPath=function(P){if(!P)throw new Error("Missing injectPath");const R=require("module"),E=require("path").join(__dirname,"../node_modules"),o=R._resolveLookupPaths;R._resolveLookupPaths=function(p,y){const _=o(p,y);if(Array.isArray(_)){for(let d=0,n=_.length;d=0?!0:typeof process<"u"?process.platform==="win32":!1}}o.Environment=p})(E||(E={}));var E;(function(o){class p{constructor(n,f,h){this.type=n,this.detail=f,this.timestamp=h}}o.LoaderEvent=p;class y{constructor(n){this._events=[new p(1,"",n)]}record(n,f){this._events.push(new p(n,f,o.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}o.LoaderEventRecorder=y;class _{record(n,f){}getEvents(){return[]}}_.INSTANCE=new _,o.NullLoaderEventRecorder=_})(E||(E={}));var E;(function(o){class p{static fileUriToFilePath(_,d){if(d=decodeURI(d).replace(/%23/g,"#"),_){if(/^file:\/\/\//.test(d))return d.substr(8);if(/^file:\/\//.test(d))return d.substr(5)}else if(/^file:\/\//.test(d))return d.substr(7);return d}static startsWith(_,d){return _.length>=d.length&&_.substr(0,d.length)===d}static endsWith(_,d){return _.length>=d.length&&_.substr(_.length-d.length)===d}static containsQueryString(_){return/^[^\#]*\?/gi.test(_)}static isAbsolutePath(_){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(_)}static forEachProperty(_,d){if(_){let n;for(n in _)_.hasOwnProperty(n)&&d(n,_[n])}}static isEmpty(_){let d=!0;return p.forEachProperty(_,()=>{d=!1}),d}static recursiveClone(_){if(!_||typeof _!="object"||_ instanceof RegExp||!Array.isArray(_)&&Object.getPrototypeOf(_)!==Object.prototype)return _;let d=Array.isArray(_)?[]:{};return p.forEachProperty(_,(n,f)=>{f&&typeof f=="object"?d[n]=p.recursiveClone(f):d[n]=f}),d}static generateAnonymousModule(){return"===anonymous"+p.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(_){return p.startsWith(_,"===anonymous")}static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=o.global.performance&&typeof o.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?o.global.performance.now():Date.now()}}p.NEXT_ANONYMOUS_ID=1,p.PERFORMANCE_NOW_PROBED=!1,p.HAS_PERFORMANCE_NOW=!1,o.Utilities=p})(E||(E={}));var E;(function(o){function p(d){if(d instanceof Error)return d;const n=new Error(d.message||String(d)||"Unknown Error");return d.stack&&(n.stack=d.stack),n}o.ensureError=p;class y{static validateConfigurationOptions(n){function f(h){if(h.phase==="loading"){console.error('Loading "'+h.moduleId+'" failed'),console.error(h),console.error("Here are the modules that depend on it:"),console.error(h.neededBy);return}if(h.phase==="factory"){console.error('The factory function of "'+h.moduleId+'" has thrown an exception'),console.error(h),console.error("Here are the modules that depend on it:"),console.error(h.neededBy);return}}if(n=n||{},typeof n.baseUrl!="string"&&(n.baseUrl=""),typeof n.isBuild!="boolean"&&(n.isBuild=!1),typeof n.paths!="object"&&(n.paths={}),typeof n.config!="object"&&(n.config={}),typeof n.catchError>"u"&&(n.catchError=!1),typeof n.recordStats>"u"&&(n.recordStats=!1),typeof n.urlArgs!="string"&&(n.urlArgs=""),typeof n.onError!="function"&&(n.onError=f),Array.isArray(n.ignoreDuplicateModules)||(n.ignoreDuplicateModules=[]),n.baseUrl.length>0&&(o.Utilities.endsWith(n.baseUrl,"/")||(n.baseUrl+="/")),typeof n.cspNonce!="string"&&(n.cspNonce=""),typeof n.preferScriptTags>"u"&&(n.preferScriptTags=!1),n.nodeCachedData&&typeof n.nodeCachedData=="object"&&(typeof n.nodeCachedData.seed!="string"&&(n.nodeCachedData.seed="seed"),(typeof n.nodeCachedData.writeDelay!="number"||n.nodeCachedData.writeDelay<0)&&(n.nodeCachedData.writeDelay=1e3*7),!n.nodeCachedData.path||typeof n.nodeCachedData.path!="string")){const h=p(new Error("INVALID cached data configuration, 'path' MUST be set"));h.phase="configuration",n.onError(h),n.nodeCachedData=void 0}return n}static mergeConfigurationOptions(n=null,f=null){let h=o.Utilities.recursiveClone(f||{});return o.Utilities.forEachProperty(n,(t,e)=>{t==="ignoreDuplicateModules"&&typeof h.ignoreDuplicateModules<"u"?h.ignoreDuplicateModules=h.ignoreDuplicateModules.concat(e):t==="paths"&&typeof h.paths<"u"?o.Utilities.forEachProperty(e,(r,i)=>h.paths[r]=i):t==="config"&&typeof h.config<"u"?o.Utilities.forEachProperty(e,(r,i)=>h.config[r]=i):h[t]=o.Utilities.recursiveClone(e)}),y.validateConfigurationOptions(h)}}o.ConfigurationOptionsUtil=y;class _{constructor(n,f){if(this._env=n,this.options=y.mergeConfigurationOptions(f),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let h=this.options.nodeRequire.main.filename,t=Math.max(h.lastIndexOf("/"),h.lastIndexOf("\\"));this.options.baseUrl=h.substring(0,t+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let n=0;n{Array.isArray(f)?this.sortedPathsRules.push({from:n,to:f}):this.sortedPathsRules.push({from:n,to:[f]})}),this.sortedPathsRules.sort((n,f)=>f.from.length-n.from.length)}cloneAndMerge(n){return new _(this._env,y.mergeConfigurationOptions(n,this.options))}getOptionsLiteral(){return this.options}_applyPaths(n){let f;for(let h=0,t=this.sortedPathsRules.length;hthis.triggerCallback(r),u=>this.triggerErrorback(r,u))}triggerCallback(e){let r=this._callbackMap[e];delete this._callbackMap[e];for(let i=0;i{e.removeEventListener("load",l),e.removeEventListener("error",u)},l=a=>{s(),r()},u=a=>{s(),i(a)};e.addEventListener("load",l),e.addEventListener("error",u)}load(e,r,i,s){if(/^node\|/.test(r)){let l=e.getConfig().getOptionsLiteral(),u=f(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|"),c=null;try{c=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],()=>c),i()}else{let l=document.createElement("script");l.setAttribute("async","async"),l.setAttribute("type","text/javascript"),this.attachListeners(l,i,s);const{trustedTypesPolicy:u}=e.getConfig().getOptionsLiteral();u&&(r=u.createScriptURL(r)),l.setAttribute("src",r);const{cspNonce:a}=e.getConfig().getOptionsLiteral();a&&l.setAttribute("nonce",a),document.getElementsByTagName("head")[0].appendChild(l)}}}function _(t){const{trustedTypesPolicy:e}=t.getConfig().getOptionsLiteral();try{return(e?self.eval(e.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}class d{constructor(){this._cachedCanUseEval=null}_canUseEval(e){return this._cachedCanUseEval===null&&(this._cachedCanUseEval=_(e)),this._cachedCanUseEval}load(e,r,i,s){if(/^node\|/.test(r)){const l=e.getConfig().getOptionsLiteral(),u=f(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|");let c=null;try{c=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],function(){return c}),i()}else{const{trustedTypesPolicy:l}=e.getConfig().getOptionsLiteral();if(!(/^((http:)|(https:)|(file:))/.test(r)&&r.substring(0,self.origin.length)!==self.origin)&&this._canUseEval(e)){fetch(r).then(a=>{if(a.status!==200)throw new Error(a.statusText);return a.text()}).then(a=>{a=`${a} //# sourceURL=${r}`,(l?self.eval(l.createScript("",a)):new Function(a)).call(self),i()}).then(void 0,s);return}try{l&&(r=l.createScriptURL(r)),importScripts(r),i()}catch(a){s(a)}}}}class n{constructor(e){this._env=e,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(e){this._didInitialize||(this._didInitialize=!0,this._fs=e("fs"),this._vm=e("vm"),this._path=e("path"),this._crypto=e("crypto"))}_initNodeRequire(e,r){const{nodeCachedData:i}=r.getConfig().getOptionsLiteral();if(!i||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;const s=this,l=e("module");function u(a){const c=a.constructor;let g=function(m){try{return a.require(m)}finally{}};return g.resolve=function(m,b){return c._resolveFilename(m,a,!1,b)},g.resolve.paths=function(m){return c._resolveLookupPaths(m,a)},g.main=process.mainModule,g.extensions=c._extensions,g.cache=c._cache,g}l.prototype._compile=function(a,c){const g=l.wrap(a.replace(/^#!.*/,"")),v=r.getRecorder(),m=s._getCachedDataPath(i,c),b={filename:c};let S;try{const k=s._fs.readFileSync(m);S=k.slice(0,16),b.cachedData=k.slice(16),v.record(60,m)}catch{v.record(61,m)}const D=new s._vm.Script(g,b),U=D.runInThisContext(b),N=s._path.dirname(c),C=u(this),T=[this.exports,C,this,c,N,process,R,Buffer],q=U.apply(this.exports,T);return s._handleCachedData(D,g,m,!b.cachedData,r),s._verifyCachedData(D,g,m,S,r),q}}load(e,r,i,s){const l=e.getConfig().getOptionsLiteral(),u=f(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=l.nodeInstrumenter||function(g){return g};this._init(u),this._initNodeRequire(u,e);let c=e.getRecorder();if(/^node\|/.test(r)){let g=r.split("|"),v=null;try{v=u(g[1])}catch(m){s(m);return}e.enqueueDefineAnonymousModule([],()=>v),i()}else{r=o.Utilities.fileUriToFilePath(this._env.isWindows,r);const g=this._path.normalize(r),v=this._getElectronRendererScriptPathOrUri(g),m=!!l.nodeCachedData,b=m?this._getCachedDataPath(l.nodeCachedData,r):void 0;this._readSourceAndCachedData(g,b,c,(S,D,U,N)=>{if(S){s(S);return}let C;D.charCodeAt(0)===n._BOM?C=n._PREFIX+D.substring(1)+n._SUFFIX:C=n._PREFIX+D+n._SUFFIX,C=a(C,g);const T={filename:v,cachedData:U},q=this._createAndEvalScript(e,C,T,i,s);this._handleCachedData(q,C,b,m&&!U,e),this._verifyCachedData(q,C,b,N,e)})}}_createAndEvalScript(e,r,i,s,l){const u=e.getRecorder();u.record(31,i.filename);const a=new this._vm.Script(r,i),c=a.runInThisContext(i),g=e.getGlobalAMDDefineFunc();let v=!1;const m=function(){return v=!0,g.apply(null,arguments)};return m.amd=g.amd,c.call(o.global,e.getGlobalAMDRequireFunc(),m,i.filename,this._path.dirname(i.filename)),u.record(32,i.filename),v?s():l(new Error(`Didn't receive define call in ${i.filename}!`)),a}_getElectronRendererScriptPathOrUri(e){if(!this._env.isElectronRenderer)return e;let r=e.match(/^([a-z])\:(.*)/i);return r?`file:///${(r[1].toUpperCase()+":"+r[2]).replace(/\\/g,"/")}`:`file://${e}`}_getCachedDataPath(e,r){const i=this._crypto.createHash("md5").update(r,"utf8").update(e.seed,"utf8").update(process.arch,"").digest("hex"),s=this._path.basename(r).replace(/\.js$/,"");return this._path.join(e.path,`${s}-${i}.code`)}_handleCachedData(e,r,i,s,l){e.cachedDataRejected?this._fs.unlink(i,u=>{l.getRecorder().record(62,i),this._createAndWriteCachedData(e,r,i,l),u&&l.getConfig().onError(u)}):s&&this._createAndWriteCachedData(e,r,i,l)}_createAndWriteCachedData(e,r,i,s){let l=Math.ceil(s.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),u=-1,a=0,c;const g=()=>{setTimeout(()=>{c||(c=this._crypto.createHash("md5").update(r,"utf8").digest());const v=e.createCachedData();if(!(v.length===0||v.length===u||a>=5)){if(v.length{m&&s.getConfig().onError(m),s.getRecorder().record(63,i),g()})}},l*Math.pow(4,a++))};g()}_readSourceAndCachedData(e,r,i,s){if(!r)this._fs.readFile(e,{encoding:"utf8"},s);else{let l,u,a,c=2;const g=v=>{v?s(v):--c===0&&s(void 0,l,u,a)};this._fs.readFile(e,{encoding:"utf8"},(v,m)=>{l=m,g(v)}),this._fs.readFile(r,(v,m)=>{!v&&m&&m.length>0?(a=m.slice(0,16),u=m.slice(16),i.record(60,r)):i.record(61,r),g()})}}_verifyCachedData(e,r,i,s,l){s&&(e.cachedDataRejected||setTimeout(()=>{const u=this._crypto.createHash("md5").update(r,"utf8").digest();s.equals(u)||(l.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${i}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(i,a=>{a&&l.getConfig().onError(a)}))},Math.ceil(5e3*(1+Math.random()))))}}n._BOM=65279,n._PREFIX="(function (require, define, __filename, __dirname) { ",n._SUFFIX=` });`;function f(t,e){if(e.__$__isRecorded)return e;const r=function(s){t.record(33,s);try{return e(s)}finally{t.record(34,s)}};return r.__$__isRecorded=!0,r}o.ensureRecordedNodeRequire=f;function h(t){return new p(t)}o.createScriptLoader=h})(E||(E={}));var E;(function(o){class p{constructor(t){let e=t.lastIndexOf("/");e!==-1?this.fromModulePath=t.substr(0,e+1):this.fromModulePath=""}static _normalizeModuleId(t){let e=t,r;for(r=/\/\.\//;r.test(e);)e=e.replace(r,"/");for(e=e.replace(/^\.\//g,""),r=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;r.test(e);)e=e.replace(r,"/");return e=e.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),e}resolveModule(t){let e=t;return o.Utilities.isAbsolutePath(e)||(o.Utilities.startsWith(e,"./")||o.Utilities.startsWith(e,"../"))&&(e=p._normalizeModuleId(this.fromModulePath+e)),e}}p.ROOT=new p(""),o.ModuleIdResolver=p;class y{constructor(t,e,r,i,s,l){this.id=t,this.strId=e,this.dependencies=r,this._callback=i,this._errorback=s,this.moduleIdResolver=l,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(t,e){try{return{returnedValue:t.apply(o.global,e),producedError:null}}catch(r){return{returnedValue:null,producedError:r}}}static _invokeFactory(t,e,r,i){return t.shouldInvokeFactory(e)?t.shouldCatchError()?this._safeInvokeFunction(r,i):{returnedValue:r.apply(o.global,i),producedError:null}:{returnedValue:null,producedError:null}}complete(t,e,r,i){this._isComplete=!0;let s=null;if(this._callback)if(typeof this._callback=="function"){t.record(21,this.strId);let l=y._invokeFactory(e,this.strId,this._callback,r);s=l.producedError,t.record(22,this.strId),!s&&typeof l.returnedValue<"u"&&(!this.exportsPassedIn||o.Utilities.isEmpty(this.exports))&&(this.exports=l.returnedValue)}else this.exports=this._callback;if(s){let l=o.ensureError(s);l.phase="factory",l.moduleId=this.strId,l.neededBy=i(this.id),this.error=l,e.onError(l)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(t){return this._isComplete=!0,this.error=t,this._errorback?(this._errorback(t),!0):!1}isComplete(){return this._isComplete}}o.Module=y;class _{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(t){let e=this._strModuleIdToIntModuleId.get(t);return typeof e>"u"&&(e=this._nextId++,this._strModuleIdToIntModuleId.set(t,e),this._intModuleIdToStrModuleId[e]=t),e}getStrModuleId(t){return this._intModuleIdToStrModuleId[t]}}class d{constructor(t){this.id=t}}d.EXPORTS=new d(0),d.MODULE=new d(1),d.REQUIRE=new d(2),o.RegularDependency=d;class n{constructor(t,e,r){this.id=t,this.pluginId=e,this.pluginParam=r}}o.PluginDependency=n;class f{constructor(t,e,r,i,s=0){this._env=t,this._scriptLoader=e,this._loaderAvailableTimestamp=s,this._defineFunc=r,this._requireFunc=i,this._moduleIdProvider=new _,this._config=new o.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[],this._requireFunc.moduleManager=this}reset(){return new f(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)}getGlobalAMDDefineFunc(){return this._defineFunc}getGlobalAMDRequireFunc(){return this._requireFunc}static _findRelevantLocationInStack(t,e){let r=l=>l.replace(/\\/g,"/"),i=r(t),s=e.split(/\n/);for(let l=0;lthis._moduleIdProvider.getStrModuleId(c.id))),this._resolve(a)}_normalizeDependency(t,e){if(t==="exports")return d.EXPORTS;if(t==="module")return d.MODULE;if(t==="require")return d.REQUIRE;let r=t.indexOf("!");if(r>=0){let i=e.resolveModule(t.substr(0,r)),s=e.resolveModule(t.substr(r+1)),l=this._moduleIdProvider.getModuleId(i+"!"+s),u=this._moduleIdProvider.getModuleId(i);return new n(l,u,s)}return new d(this._moduleIdProvider.getModuleId(e.resolveModule(t)))}_normalizeDependencies(t,e){let r=[],i=0;for(let s=0,l=t.length;sthis._moduleIdProvider.getStrModuleId(l));const s=o.ensureError(e);return s.phase="loading",s.moduleId=r,s.neededBy=i,s}_onLoadError(t,e){const r=this._createLoadError(t,e);this._modules2[t]||(this._modules2[t]=new y(t,this._moduleIdProvider.getStrModuleId(t),[],()=>{},null,null));let i=[];for(let u=0,a=this._moduleIdProvider.getMaxModuleId();u0;){let u=l.shift(),a=this._modules2[u];a&&(s=a.onDependencyError(r)||s);let c=this._inverseDependencies2[u];if(c)for(let g=0,v=c.length;g0;){let u=s.shift().dependencies;if(u)for(let a=0,c=u.length;athis._relativeRequire(t,r,i,s);return e.toUrl=r=>this._config.requireToUrl(t.resolveModule(r)),e.getStats=()=>this.getLoaderEvents(),e.hasDependencyCycle=()=>this._hasDependencyCycle,e.config=(r,i=!1)=>{this.configure(r,i)},e.__$__nodeRequire=o.global.nodeRequire,e}_loadModule(t){if(this._modules2[t]||this._knownModules2[t])return;this._knownModules2[t]=!0;let e=this._moduleIdProvider.getStrModuleId(t),r=this._config.moduleIdToPaths(e),i=/^@[^\/]+\/[^\/]+$/;this._env.isNode&&(e.indexOf("/")===-1||i.test(e))&&r.push("node|"+e);let s=-1,l=u=>{if(s++,s>=r.length)this._onLoadError(t,u);else{let a=r[s],c=this.getRecorder();if(this._config.isBuild()&&a==="empty:"){this._buildInfoPath[t]=a,this.defineModule(this._moduleIdProvider.getStrModuleId(t),[],null,null,null),this._onLoad(t);return}c.record(10,a),this._scriptLoader.load(this,a,()=>{this._config.isBuild()&&(this._buildInfoPath[t]=a),c.record(11,a),this._onLoad(t)},g=>{c.record(12,a),l(g)})}};l(null)}_loadPluginDependency(t,e){if(this._modules2[e.id]||this._knownModules2[e.id])return;this._knownModules2[e.id]=!0;let r=i=>{this.defineModule(this._moduleIdProvider.getStrModuleId(e.id),[],i,null,null)};r.error=i=>{this._config.onError(this._createLoadError(e.id,i))},t.load(e.pluginParam,this._createRequire(p.ROOT),r,this._config.getOptionsLiteral())}_resolve(t){let e=t.dependencies;if(e)for(let r=0,i=e.length;rthis._moduleIdProvider.getStrModuleId(a)).join(` => `)),t.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[s.id]=this._inverseDependencies2[s.id]||[],this._inverseDependencies2[s.id].push(t.id),s instanceof n){let u=this._modules2[s.pluginId];if(u&&u.isComplete()){this._loadPluginDependency(u.exports,s);continue}let a=this._inversePluginDependencies2.get(s.pluginId);a||(a=[],this._inversePluginDependencies2.set(s.pluginId,a)),a.push(s),this._loadModule(s.pluginId);continue}this._loadModule(s.id)}t.unresolvedDependenciesCount===0&&this._onModuleComplete(t)}_onModuleComplete(t){let e=this.getRecorder();if(t.isComplete())return;let r=t.dependencies,i=[];if(r)for(let a=0,c=r.length;athis._config.getConfigForModule(t.strId)};continue}if(g===d.REQUIRE){i[a]=this._createRequire(t.moduleIdResolver);continue}let v=this._modules2[g.id];if(v){i[a]=v.exports;continue}i[a]=null}const s=a=>(this._inverseDependencies2[a]||[]).map(c=>this._moduleIdProvider.getStrModuleId(c));t.complete(e,this._config,i,s);let l=this._inverseDependencies2[t.id];if(this._inverseDependencies2[t.id]=null,l)for(let a=0,c=l.length;a"u"&&f())})(E||(E={})),O("vs/css",["require","exports"],function(o,p){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.load=y;function y(h,t,e,r){if(r=r||{},(r["vs/css"]||{}).disabled){e({});return}const s=t.toUrl(h+".css");_(h,s,()=>{e({})},l=>{typeof e.error=="function"&&e.error("Could not find "+s+".")})}function _(h,t,e,r){if(d(h,t)){e();return}n(h,t,e,r)}function d(h,t){const e=window.document.getElementsByTagName("link");for(let r=0,i=e.length;r{t.removeEventListener("load",s),t.removeEventListener("error",l)},s=u=>{i(),e()},l=u=>{i(),r(u)};t.addEventListener("load",s),t.addEventListener("error",l)}}),O("vs/nls",["require","exports"],function(o,p){"use strict";Object.defineProperty(p,"__esModule",{value:!0}),p.localize=r,p.localize2=i,p.getConfiguredDefaultLocale=s,p.setPseudoTranslation=l,p.create=u,p.load=a;let y=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const _="i-default";function d(c,g){let v;return g.length===0?v=c:v=c.replace(/\{(\d+)\}/g,(m,b)=>{const S=b[0],D=g[S];let U=m;return typeof D=="string"?U=D:(typeof D=="number"||typeof D=="boolean"||D===void 0||D===null)&&(U=String(D)),U}),y&&(v="\uFF3B"+v.replace(/[aouei]/g,"$&$&")+"\uFF3D"),v}function n(c,g){let v=c[g];return v||(v=c["*"],v)?v:null}function f(c){return c.charAt(c.length-1)==="/"?c:c+"/"}async function h(c,g,v){const m=f(c)+f(g)+"vscode/"+f(v),b=await fetch(m);if(b.ok)return await b.json();throw new Error(`${b.status} - ${b.statusText}`)}function t(c){return function(g,v){const m=Array.prototype.slice.call(arguments,2);return d(c[g],m)}}function e(c){return(g,v,...m)=>({value:d(c[g],m),original:d(v,m)})}function r(c,g,...v){return d(g,v)}function i(c,g,...v){const m=d(g,v);return{value:m,original:m}}function s(c){}function l(c){y=c}function u(c,g){return{localize:t(g[c]),localize2:e(g[c]),getConfiguredDefaultLocale:g.getConfiguredDefaultLocale??(v=>{})}}function a(c,g,v,m){const b=m["vs/nls"]??{};if(!c||c.length===0)return v({localize:r,localize2:i,getConfiguredDefaultLocale:()=>b.availableLanguages?.["*"]});const S=b.availableLanguages?n(b.availableLanguages,c):null,D=S===null||S===_;let U=".nls";D||(U=U+"."+S);const N=C=>{Array.isArray(C)?(C.localize=t(C),C.localize2=e(C)):(C.localize=t(C[c]),C.localize2=e(C[c])),C.getConfiguredDefaultLocale=()=>b.availableLanguages?.["*"],v(C)};typeof b.loadBundle=="function"?b.loadBundle(c,S,(C,T)=>{C?g([c+".nls"],N):N(T)}):b.translationServiceUrl&&!D?(async()=>{try{const C=await h(b.translationServiceUrl,S,c);return N(C)}catch(C){if(!S.includes("-"))return console.error(C),g([c+".nls"],N);try{const T=S.split("-")[0],q=await h(b.translationServiceUrl,T,c);return b.availableLanguages??={},b.availableLanguages["*"]=T,N(q)}catch(T){return console.error(T),g([c+".nls"],N)}}})():g([c+U],N,C=>{if(U===".nls"){console.error("Failed trying to load default language strings",C);return}console.error(`Failed to load message bundle for language ${S}. Falling back to the default language:`,C),g([c+".nls"],N)})}})}}),require_bootstrap=__commonJS({"out-build/bootstrap.js"(w,I){"use strict";(function(P,R){typeof w=="object"?I.exports=R():P.MonacoBootstrap=R()})(w,function(){const P=typeof require=="function"?require("module"):void 0,R=typeof require=="function"?require("path"):void 0,O=typeof require=="function"?require("fs"):void 0,E=typeof require=="function"?require("util"):void 0;if(Error.stackTraceLimit=100,typeof process<"u"&&!process.env.VSCODE_HANDLES_SIGPIPE){let t=!1;process.on("SIGPIPE",()=>{t||(t=!0,console.error(new Error("Unexpected SIGPIPE")))})}function o(){if(!R||!P||typeof process>"u"){console.warn("enableASARSupport() is only available in node.js environments");return}const t=R.join(__dirname,"../node_modules"),e=`${t}.asar`,r=P._resolveLookupPaths;P._resolveLookupPaths=function(i,s){const l=r(i,s);if(Array.isArray(l)){for(let u=0,a=l.length;u0&&r.charAt(0)!=="/"&&(r=`/${r}`);let i;return e.isWindows&&r.startsWith("//")?i=encodeURI(`${e.scheme||"file"}:${r}`):i=encodeURI(`${e.scheme||"file"}://${e.fallbackAuthority||""}${r}`),i.replace(/#/g,"%23")}function y(){const t=d();let e={availableLanguages:{}};if(t&&t.env.VSCODE_NLS_CONFIG)try{e=JSON.parse(t.env.VSCODE_NLS_CONFIG)}catch{}if(e._resolvedLanguagePackCoreLocation){const r=Object.create(null);e.loadBundle=function(i,s,l){const u=r[i];if(u){l(void 0,u);return}f(e._resolvedLanguagePackCoreLocation,`${i.replace(/\//g,"!")}.nls.json`).then(function(a){const c=JSON.parse(a);r[i]=c,l(void 0,c)}).catch(a=>{try{e._corruptedFile&&h(e._corruptedFile,"corrupted").catch(function(c){console.error(c)})}finally{l(a,void 0)}})}}return e}function _(){return(typeof self=="object"?self:typeof global=="object"?global:{}).vscode}function d(){const t=_();if(t)return t.process;if(typeof process<"u")return process}function n(){const t=_();if(t)return t.ipcRenderer}async function f(...t){const e=n();if(e)return e.invoke("vscode:readNlsFile",...t);if(O&&R&&E)return(await E.promisify(O.readFile)(R.join(...t))).toString();throw new Error("Unsupported operation (read NLS files)")}function h(t,e){const r=n();if(r)return r.invoke("vscode:writeNlsFile",t,e);if(O&&E)return E.promisify(O.writeFile)(t,e);throw new Error("Unsupported operation (write NLS files)")}return{enableASARSupport:o,setupNLS:y,fileUriFromPath:p}})}}),require_performance=__commonJS({"out-build/vs/base/common/performance.js"(w,I){"use strict";(function(){function P(o){const p=[];typeof o=="number"&&p.push("code/timeOrigin",o);function y(d){p.push(d,Date.now())}function _(){const d=[];for(let n=0;nI(String(p))}),globalThis._VSCODE_PRODUCT_JSON=require("../product.json"),process.env.VSCODE_DEV)try{const o=require("../product.overrides.json");globalThis._VSCODE_PRODUCT_JSON=Object.assign(globalThis._VSCODE_PRODUCT_JSON,o)}catch{}globalThis._VSCODE_PACKAGE_JSON=require("../package.json");var P=require_loader(),R=require_bootstrap(),O=require_performance(),E=R.setupNLS();P.config({baseUrl:R.fileUriFromPath(__dirname,{isWindows:process.platform==="win32"}),catchError:!0,nodeRequire:I,"vs/nls":E,amdModulesPattern:/(^vs\/)|(^external\/)|(^proto\/)/,recordStats:!0}),(process.env.ELECTRON_RUN_AS_NODE||process.versions.electron)&&P.define("fs",["original-fs"],function(o){return o}),E&&E.pseudo&&P(["vs/nls"],function(o){o.setPseudoTranslation(!!E.pseudo)}),w.load=function(o,p,y){o&&(process.env.VSCODE_CODE_CACHE_PATH&&P.config({nodeCachedData:{path:process.env.VSCODE_CODE_CACHE_PATH,seed:o}}),p=p||function(){},y=y||function(_){console.error(_)},O.mark("code/fork/willLoadCode"),P([o],p,y))}}}),path=require("path");delete process.env.ELECTRON_RUN_AS_NODE,process.env.VSCODE_DEV?(process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH=process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH||path.join(__dirname,"..","remote","node_modules"),require_bootstrap_node().injectNodeModuleLookupPath(process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH)):delete process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH,require_bootstrap_amd().load("vs/server/node/server.cli"); //# sourceMappingURL=https://cursor-sourcemaps.s3.amazonaws.com/sourcemaps/1aa253fa263df64530be0cab8b4e791d45a1a820/core/server-cli.js.map