"use strict";var __getOwnPropNames=Object.getOwnPropertyNames,__commonJS=(D,O)=>function(){return O||(0,D[__getOwnPropNames(D)[0]])((O={exports:{}}).exports,O),O.exports},require_bootstrap=__commonJS({"out-build/bootstrap.js"(D,O){"use strict";(function(C,P){typeof D=="object"?O.exports=P():C.MonacoBootstrap=P()})(D,function(){const C=typeof require=="function"?require("module"):void 0,P=typeof require=="function"?require("path"):void 0,I=typeof require=="function"?require("fs"):void 0;Error.stackTraceLimit=100,typeof process<"u"&&!process.env.VSCODE_HANDLES_SIGPIPE&&process.on("SIGPIPE",()=>{console.error(new Error("Unexpected SIGPIPE"))});function E(n){if(!P||!C||typeof process>"u"){console.warn("enableASARSupport() is only available in node.js environments");return}const e=n?P.join(n,"node_modules"):P.join(__dirname,"../node_modules");let t;if(n&&process.platform==="win32"){const a=n.substr(0,1);let u;a.toLowerCase()!==a?u=a.toLowerCase():u=a.toUpperCase(),t=u+e.substr(1)}else t=void 0;const r=`${e}.asar`,o=t?`${t}.asar`:void 0,s=C._resolveLookupPaths;C._resolveLookupPaths=function(a,u){const c=s(a,u);if(Array.isArray(c)){let h=!1;for(let v=0,m=c.length;v0&&t.charAt(0)!=="/"&&(t=`/${t}`);let r;return e.isWindows&&t.startsWith("//")?r=encodeURI(`${e.scheme||"file"}:${t}`):r=encodeURI(`${e.scheme||"file"}://${e.fallbackAuthority||""}${t}`),r.replace(/#/g,"%23")}function g(){const n=y();let e={availableLanguages:{}};if(n&&n.env.VSCODE_NLS_CONFIG)try{e=JSON.parse(n.env.VSCODE_NLS_CONFIG)}catch{}if(e._resolvedLanguagePackCoreLocation){const t=Object.create(null);e.loadBundle=function(r,o,s){const a=t[r];if(a){s(void 0,a);return}i(e._resolvedLanguagePackCoreLocation,`${r.replace(/\//g,"!")}.nls.json`).then(function(u){const c=JSON.parse(u);t[r]=c,s(void 0,c)}).catch(u=>{try{e._corruptedFile&&p(e._corruptedFile,"corrupted").catch(function(c){console.error(c)})}finally{s(u,void 0)}})}}return e}function d(){return(typeof self=="object"?self:typeof global=="object"?global:{}).vscode}function y(){const n=d();if(n)return n.process;if(typeof process<"u")return process}function f(){const n=d();if(n)return n.ipcRenderer}async function i(...n){const e=f();if(e)return e.invoke("vscode:readNlsFile",...n);if(I&&P)return(await I.promises.readFile(P.join(...n))).toString();throw new Error("Unsupported operation (read NLS files)")}function p(n,e){const t=f();if(t)return t.invoke("vscode:writeNlsFile",n,e);if(I)return I.promises.writeFile(n,e);throw new Error("Unsupported operation (write NLS files)")}return{enableASARSupport:E,setupNLS:g,fileUriFromPath:l}})}}),require_bootstrap_node=__commonJS({"out-build/bootstrap-node.js"(D){"use strict";function O(){const C=require("path");try{typeof process.env.VSCODE_CWD!="string"&&(process.env.VSCODE_CWD=process.cwd()),process.platform==="win32"&&process.chdir(C.dirname(process.execPath))}catch(P){console.error(P)}}O(),D.injectNodeModuleLookupPath=function(C){if(!C)throw new Error("Missing injectPath");const P=require("module"),E=require("path").join(__dirname,"../node_modules"),l=P._resolveLookupPaths;P._resolveLookupPaths=function(g,d){const y=l(g,d);if(Array.isArray(y)){for(let f=0,i=y.length;f=0?!0:typeof process<"u"?process.platform==="win32":!1},d}();l.Environment=g})(E||(E={}));var E;(function(l){var g=function(){function f(i,p,n){this.type=i,this.detail=p,this.timestamp=n}return f}();l.LoaderEvent=g;var d=function(){function f(i){this._events=[new g(1,"",i)]}return f.prototype.record=function(i,p){this._events.push(new g(i,p,l.Utilities.getHighPerformanceTimestamp()))},f.prototype.getEvents=function(){return this._events},f}();l.LoaderEventRecorder=d;var y=function(){function f(){}return f.prototype.record=function(i,p){},f.prototype.getEvents=function(){return[]},f.INSTANCE=new f,f}();l.NullLoaderEventRecorder=y})(E||(E={}));var E;(function(l){var g=function(){function d(){}return d.fileUriToFilePath=function(y,f){if(f=decodeURI(f).replace(/%23/g,"#"),y){if(/^file:\/\/\//.test(f))return f.substr(8);if(/^file:\/\//.test(f))return f.substr(5)}else if(/^file:\/\//.test(f))return f.substr(7);return f},d.startsWith=function(y,f){return y.length>=f.length&&y.substr(0,f.length)===f},d.endsWith=function(y,f){return y.length>=f.length&&y.substr(y.length-f.length)===f},d.containsQueryString=function(y){return/^[^\#]*\?/gi.test(y)},d.isAbsolutePath=function(y){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(y)},d.forEachProperty=function(y,f){if(y){var i=void 0;for(i in y)y.hasOwnProperty(i)&&f(i,y[i])}},d.isEmpty=function(y){var f=!0;return d.forEachProperty(y,function(){f=!1}),f},d.recursiveClone=function(y){if(!y||typeof y!="object"||y instanceof RegExp||!Array.isArray(y)&&Object.getPrototypeOf(y)!==Object.prototype)return y;var f=Array.isArray(y)?[]:{};return d.forEachProperty(y,function(i,p){p&&typeof p=="object"?f[i]=d.recursiveClone(p):f[i]=p}),f},d.generateAnonymousModule=function(){return"===anonymous"+d.NEXT_ANONYMOUS_ID+++"==="},d.isAnonymousModule=function(y){return d.startsWith(y,"===anonymous")},d.getHighPerformanceTimestamp=function(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=l.global.performance&&typeof l.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?l.global.performance.now():Date.now()},d.NEXT_ANONYMOUS_ID=1,d.PERFORMANCE_NOW_PROBED=!1,d.HAS_PERFORMANCE_NOW=!1,d}();l.Utilities=g})(E||(E={}));var E;(function(l){function g(f){if(f instanceof Error)return f;var i=new Error(f.message||String(f)||"Unknown Error");return f.stack&&(i.stack=f.stack),i}l.ensureError=g;var d=function(){function f(){}return f.validateConfigurationOptions=function(i){function p(e){if(e.phase==="loading"){console.error('Loading "'+e.moduleId+'" failed'),console.error(e),console.error("Here are the modules that depend on it:"),console.error(e.neededBy);return}if(e.phase==="factory"){console.error('The factory function of "'+e.moduleId+'" has thrown an exception'),console.error(e),console.error("Here are the modules that depend on it:"),console.error(e.neededBy);return}}if(i=i||{},typeof i.baseUrl!="string"&&(i.baseUrl=""),typeof i.isBuild!="boolean"&&(i.isBuild=!1),typeof i.paths!="object"&&(i.paths={}),typeof i.config!="object"&&(i.config={}),typeof i.catchError>"u"&&(i.catchError=!1),typeof i.recordStats>"u"&&(i.recordStats=!1),typeof i.urlArgs!="string"&&(i.urlArgs=""),typeof i.onError!="function"&&(i.onError=p),Array.isArray(i.ignoreDuplicateModules)||(i.ignoreDuplicateModules=[]),i.baseUrl.length>0&&(l.Utilities.endsWith(i.baseUrl,"/")||(i.baseUrl+="/")),typeof i.cspNonce!="string"&&(i.cspNonce=""),typeof i.preferScriptTags>"u"&&(i.preferScriptTags=!1),i.nodeCachedData&&typeof i.nodeCachedData=="object"&&(typeof i.nodeCachedData.seed!="string"&&(i.nodeCachedData.seed="seed"),(typeof i.nodeCachedData.writeDelay!="number"||i.nodeCachedData.writeDelay<0)&&(i.nodeCachedData.writeDelay=1e3*7),!i.nodeCachedData.path||typeof i.nodeCachedData.path!="string")){var n=g(new Error("INVALID cached data configuration, 'path' MUST be set"));n.phase="configuration",i.onError(n),i.nodeCachedData=void 0}return i},f.mergeConfigurationOptions=function(i,p){i===void 0&&(i=null),p===void 0&&(p=null);var n=l.Utilities.recursiveClone(p||{});return l.Utilities.forEachProperty(i,function(e,t){e==="ignoreDuplicateModules"&&typeof n.ignoreDuplicateModules<"u"?n.ignoreDuplicateModules=n.ignoreDuplicateModules.concat(t):e==="paths"&&typeof n.paths<"u"?l.Utilities.forEachProperty(t,function(r,o){return n.paths[r]=o}):e==="config"&&typeof n.config<"u"?l.Utilities.forEachProperty(t,function(r,o){return n.config[r]=o}):n[e]=l.Utilities.recursiveClone(t)}),f.validateConfigurationOptions(n)},f}();l.ConfigurationOptionsUtil=d;var y=function(){function f(i,p){if(this._env=i,this.options=d.mergeConfigurationOptions(p),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){var n=this.options.nodeRequire.main.filename,e=Math.max(n.lastIndexOf("/"),n.lastIndexOf("\\"));this.options.baseUrl=n.substring(0,e+1)}}return f.prototype._createIgnoreDuplicateModulesMap=function(){this.ignoreDuplicateModulesMap={};for(var i=0;i=5)){if(_.length0?(c=_.slice(0,16),u=_.slice(16),o.record(60,r)):o.record(61,r),v()})}},e.prototype._verifyCachedData=function(t,r,o,s,a){var u=this;!s||t.cachedDataRejected||setTimeout(function(){var c=u._crypto.createHash("md5").update(r,"utf8").digest();s.equals(c)||(a.getConfig().onError(new Error("FAILED TO VERIFY CACHED DATA, deleting stale '"+o+"' now, but a RESTART IS REQUIRED")),u._fs.unlink(o,function(h){h&&a.getConfig().onError(h)}))},Math.ceil(5e3*(1+Math.random())))},e._BOM=65279,e._PREFIX="(function (require, define, __filename, __dirname) { ",e._SUFFIX=` });`,e}();function p(e,t){if(t.__$__isRecorded)return t;var r=function(s){e.record(33,s);try{return t(s)}finally{e.record(34,s)}};return r.__$__isRecorded=!0,r}l.ensureRecordedNodeRequire=p;function n(e){return new g(e)}l.createScriptLoader=n})(E||(E={}));var E;(function(l){var g=function(){function n(e){var t=e.lastIndexOf("/");t!==-1?this.fromModulePath=e.substr(0,t+1):this.fromModulePath=""}return n._normalizeModuleId=function(e){var t=e,r;for(r=/\/\.\//;r.test(t);)t=t.replace(r,"/");for(t=t.replace(/^\.\//g,""),r=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;r.test(t);)t=t.replace(r,"/");return t=t.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),t},n.prototype.resolveModule=function(e){var t=e;return l.Utilities.isAbsolutePath(t)||(l.Utilities.startsWith(t,"./")||l.Utilities.startsWith(t,"../"))&&(t=n._normalizeModuleId(this.fromModulePath+t)),t},n.ROOT=new n(""),n}();l.ModuleIdResolver=g;var d=function(){function n(e,t,r,o,s,a){this.id=e,this.strId=t,this.dependencies=r,this._callback=o,this._errorback=s,this.moduleIdResolver=a,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}return n._safeInvokeFunction=function(e,t){try{return{returnedValue:e.apply(l.global,t),producedError:null}}catch(r){return{returnedValue:null,producedError:r}}},n._invokeFactory=function(e,t,r,o){return e.shouldInvokeFactory(t)?e.shouldCatchError()?this._safeInvokeFunction(r,o):{returnedValue:r.apply(l.global,o),producedError:null}:{returnedValue:null,producedError:null}},n.prototype.complete=function(e,t,r,o){this._isComplete=!0;var s=null;if(this._callback)if(typeof this._callback=="function"){e.record(21,this.strId);var a=n._invokeFactory(t,this.strId,this._callback,r);s=a.producedError,e.record(22,this.strId),!s&&typeof a.returnedValue<"u"&&(!this.exportsPassedIn||l.Utilities.isEmpty(this.exports))&&(this.exports=a.returnedValue)}else this.exports=this._callback;if(s){var u=l.ensureError(s);u.phase="factory",u.moduleId=this.strId,u.neededBy=o(this.id),this.error=u,t.onError(u)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null},n.prototype.onDependencyError=function(e){return this._isComplete=!0,this.error=e,this._errorback?(this._errorback(e),!0):!1},n.prototype.isComplete=function(){return this._isComplete},n}();l.Module=d;var y=function(){function n(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}return n.prototype.getMaxModuleId=function(){return this._nextId},n.prototype.getModuleId=function(e){var t=this._strModuleIdToIntModuleId.get(e);return typeof t>"u"&&(t=this._nextId++,this._strModuleIdToIntModuleId.set(e,t),this._intModuleIdToStrModuleId[t]=e),t},n.prototype.getStrModuleId=function(e){return this._intModuleIdToStrModuleId[e]},n}(),f=function(){function n(e){this.id=e}return n.EXPORTS=new n(0),n.MODULE=new n(1),n.REQUIRE=new n(2),n}();l.RegularDependency=f;var i=function(){function n(e,t,r){this.id=e,this.pluginId=t,this.pluginParam=r}return n}();l.PluginDependency=i;var p=function(){function n(e,t,r,o,s){s===void 0&&(s=0),this._env=e,this._scriptLoader=t,this._loaderAvailableTimestamp=s,this._defineFunc=r,this._requireFunc=o,this._moduleIdProvider=new y,this._config=new l.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=[]}return n.prototype.reset=function(){return new n(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)},n.prototype.getGlobalAMDDefineFunc=function(){return this._defineFunc},n.prototype.getGlobalAMDRequireFunc=function(){return this._requireFunc},n._findRelevantLocationInStack=function(e,t){for(var r=function(b){return b.replace(/\\/g,"/")},o=r(e),s=t.split(/\n/),a=0;a=0){var o=t.resolveModule(e.substr(0,r)),s=t.resolveModule(e.substr(r+1)),a=this._moduleIdProvider.getModuleId(o+"!"+s),u=this._moduleIdProvider.getModuleId(o);return new i(a,u,s)}return new f(this._moduleIdProvider.getModuleId(t.resolveModule(e)))},n.prototype._normalizeDependencies=function(e,t){for(var r=[],o=0,s=0,a=e.length;s0;){var h=c.shift(),v=this._modules2[h];v&&(u=v.onDependencyError(r)||u);var m=this._inverseDependencies2[h];if(m)for(var s=0,a=m.length;s0;){var c=u.shift(),h=c.dependencies;if(h)for(var s=0,a=h.length;s=o.length)t._onLoadError(e,c);else{var h=o[a],v=t.getRecorder();if(t._config.isBuild()&&h==="empty:"){t._buildInfoPath[e]=h,t.defineModule(t._moduleIdProvider.getStrModuleId(e),[],null,null,null),t._onLoad(e);return}v.record(10,h),t._scriptLoader.load(t,h,function(){t._config.isBuild()&&(t._buildInfoPath[e]=h),v.record(11,h),t._onLoad(e)},function(m){v.record(12,h),u(m)})}};u(null)}},n.prototype._loadPluginDependency=function(e,t){var r=this;if(!(this._modules2[t.id]||this._knownModules2[t.id])){this._knownModules2[t.id]=!0;var o=function(s){r.defineModule(r._moduleIdProvider.getStrModuleId(t.id),[],s,null,null)};o.error=function(s){r._config.onError(r._createLoadError(t.id,s))},e.load(t.pluginParam,this._createRequire(g.ROOT),o,this._config.getOptionsLiteral())}},n.prototype._resolve=function(e){var t=this,r=e.dependencies;if(r)for(var o=0,s=r.length;o `)),e.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[a.id]=this._inverseDependencies2[a.id]||[],this._inverseDependencies2[a.id].push(e.id),a instanceof i){var h=this._modules2[a.pluginId];if(h&&h.isComplete()){this._loadPluginDependency(h.exports,a);continue}var v=this._inversePluginDependencies2.get(a.pluginId);v||(v=[],this._inversePluginDependencies2.set(a.pluginId,v)),v.push(a),this._loadModule(a.pluginId);continue}this._loadModule(a.id)}e.unresolvedDependenciesCount===0&&this._onModuleComplete(e)},n.prototype._onModuleComplete=function(e){var t=this,r=this.getRecorder();if(!e.isComplete()){var o=e.dependencies,s=[];if(o)for(var a=0,u=o.length;a"u"&&p())})(E||(E={})),I("vs/css",["require","exports"],function(l,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.load=void 0;function d(n,e,t,r){if(r=r||{},(r["vs/css"]||{}).disabled){t({});return}const s=e.toUrl(n+".css");y(n,s,()=>{t({})},a=>{typeof t.error=="function"&&t.error("Could not find "+s+".")})}g.load=d;function y(n,e,t,r){if(f(n,e)){t();return}i(n,e,t,r)}function f(n,e){const t=document.getElementsByTagName("link");for(let r=0,o=t.length;r{e.removeEventListener("load",s),e.removeEventListener("error",a)},s=u=>{o(),t()},a=u=>{o(),r(u)};e.addEventListener("load",s),e.addEventListener("error",a)}}),I("vs/nls",["require","exports"],function(l,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.load=g.create=g.setPseudoTranslation=g.getConfiguredDefaultLocale=g.localize=void 0;let d=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const y="i-default";function f(u,c){let h;return c.length===0?h=u:h=u.replace(/\{(\d+)\}/g,(v,m)=>{const _=m[0],b=c[_];let S=v;return typeof b=="string"?S=b:(typeof b=="number"||typeof b=="boolean"||b===void 0||b===null)&&(S=String(b)),S}),d&&(h="\uFF3B"+h.replace(/[aouei]/g,"$&$&")+"\uFF3D"),h}function i(u,c){let h=u[c];return h||(h=u["*"],h)?h:null}function p(u){return u.charAt(u.length-1)==="/"?u:u+"/"}async function n(u,c,h){const v=p(u)+p(c)+"vscode/"+p(h),m=await fetch(v);if(m.ok)return await m.json();throw new Error(`${m.status} - ${m.statusText}`)}function e(u){return function(c,h){const v=Array.prototype.slice.call(arguments,2);return f(u[c],v)}}function t(u,c,...h){return f(c,h)}g.localize=t;function r(u){}g.getConfiguredDefaultLocale=r;function o(u){d=u}g.setPseudoTranslation=o;function s(u,c){return{localize:e(c[u]),getConfiguredDefaultLocale:c.getConfiguredDefaultLocale??(h=>{})}}g.create=s;function a(u,c,h,v){const m=v["vs/nls"]??{};if(!u||u.length===0)return h({localize:t,getConfiguredDefaultLocale:()=>m.availableLanguages?.["*"]});const _=m.availableLanguages?i(m.availableLanguages,u):null,b=_===null||_===y;let S=".nls";b||(S=S+"."+_);const w=R=>{Array.isArray(R)?R.localize=e(R):R.localize=e(R[u]),R.getConfiguredDefaultLocale=()=>m.availableLanguages?.["*"],h(R)};typeof m.loadBundle=="function"?m.loadBundle(u,_,(R,U)=>{R?c([u+".nls"],w):w(U)}):m.translationServiceUrl&&!b?(async()=>{try{const R=await n(m.translationServiceUrl,_,u);return w(R)}catch(R){if(!_.includes("-"))return console.error(R),c([u+".nls"],w);try{const U=_.split("-")[0],T=await n(m.translationServiceUrl,U,u);return m.availableLanguages??={},m.availableLanguages["*"]=U,w(T)}catch(U){return console.error(U),c([u+".nls"],w)}}})():c([u+S],w,R=>{if(S===".nls"){console.error("Failed trying to load default language strings",R);return}console.error(`Failed to load message bundle for language ${_}. Falling back to the default language:`,R),c([u+".nls"],w)})}g.load=a})}}),require_performance=__commonJS({"out-build/vs/base/common/performance.js"(D,O){"use strict";(function(){function C(l){const g=[];typeof l=="number"&&g.push("code/timeOrigin",l);function d(f){g.push(f,Date.now())}function y(){const f=[];for(let i=0;iO(String(g))}),globalThis._VSCODE_PRODUCT_JSON=require("../product.json"),globalThis._VSCODE_PACKAGE_JSON=require("../package.json");var C=require_loader(),P=require_bootstrap(),I=require_performance(),E=P.setupNLS();C.config({baseUrl:P.fileUriFromPath(__dirname,{isWindows:process.platform==="win32"}),catchError:!0,nodeRequire:O,"vs/nls":E,amdModulesPattern:/^vs\//,recordStats:!0}),(process.env.ELECTRON_RUN_AS_NODE||process.versions.electron)&&C.define("fs",["original-fs"],function(l){return l}),E&&E.pseudo&&C(["vs/nls"],function(l){l.setPseudoTranslation(E.pseudo)}),D.load=function(l,g,d){!l||(process.env.VSCODE_CODE_CACHE_PATH&&C.config({nodeCachedData:{path:process.env.VSCODE_CODE_CACHE_PATH,seed:l}}),g=g||function(){},d=d||function(y){console.error(y)},I.mark("code/fork/willLoadCode"),C([l],g,d))}}});delete process.env.VSCODE_CWD;var bootstrap=require_bootstrap(),bootstrapNode=require_bootstrap_node(),product=require("../product.json");bootstrapNode.configurePortable(product),bootstrap.enableASARSupport(),process.env.VSCODE_CLI="1",require_bootstrap_amd().load("vs/code/node/cli"); //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/cli.js.map