/*!--------------------------------------------------------
 * Copyright (C) Microsoft Corporation. All rights reserved.
 *--------------------------------------------------------*/(function(){const a=window.vscode,d=a.process;async function p(n,e){const o=await u();e?.beforeImport?.(o);const{enableDeveloperKeybindings:c,removeDeveloperKeybindingsAfterLoad:l,developerDeveloperKeybindingsDisposable:i,forceDisableShowDevtoolsOnError:r}=m(o,e);b(o);const t=new URL(`${g(o.appRoot,{isWindows:d.platform==="win32",scheme:"vscode-file",fallbackAuthority:"vscode-app"})}/out/`);globalThis._VSCODE_FILE_ROOT=t.toString(),v(o,t);try{const s=await import(new URL(`${n}.js`,t).href);return i&&l&&i(),{result:s,configuration:o}}catch(s){throw w(s,c&&!r),s}}async function u(){const n=setTimeout(()=>{console.error("[resolve window config] Could not resolve window configuration within 10 seconds, but will continue to wait...")},1e4);performance.mark("code/willWaitForWindowConfig");const e=await a.context.resolveConfiguration();return performance.mark("code/didWaitForWindowConfig"),clearTimeout(n),e}function m(n,e){const{forceEnableDeveloperKeybindings:o,disallowReloadKeybinding:c,removeDeveloperKeybindingsAfterLoad:l,forceDisableShowDevtoolsOnError:i}=typeof e?.configureDeveloperSettings=="function"?e.configureDeveloperSettings(n):{forceEnableDeveloperKeybindings:!1,disallowReloadKeybinding:!1,removeDeveloperKeybindingsAfterLoad:!1,forceDisableShowDevtoolsOnError:!1},t=!!(!!d.env.VSCODE_DEV||o);let s;return t&&(s=f(c)),{enableDeveloperKeybindings:t,removeDeveloperKeybindingsAfterLoad:l,developerDeveloperKeybindingsDisposable:s,forceDisableShowDevtoolsOnError:i}}function f(n){const e=a.ipcRenderer,o=function(t){return[t.ctrlKey?"ctrl-":"",t.metaKey?"meta-":"",t.altKey?"alt-":"",t.shiftKey?"shift-":"",t.keyCode].join("")},c=d.platform==="darwin"?"meta-alt-73":"ctrl-shift-73",l="123",i=d.platform==="darwin"?"meta-82":"ctrl-82";let r=function(t){const s=o(t);s===c||s===l?e.send("vscode:toggleDevTools"):s===i&&!n&&e.send("vscode:reloadWindow")};return window.addEventListener("keydown",r),function(){r&&(window.removeEventListener("keydown",r),r=void 0)}}function b(n){globalThis._VSCODE_NLS_MESSAGES=n.nls.messages,globalThis._VSCODE_NLS_LANGUAGE=n.nls.language;let e=n.nls.language||"en";e==="zh-tw"?e="zh-Hant":e==="zh-cn"&&(e="zh-Hans"),window.document.documentElement.setAttribute("lang",e)}function w(n,e){e&&a.ipcRenderer.send("vscode:openDevTools"),console.error(`[uncaught exception]: ${n}`),n&&typeof n!="string"&&n.stack&&console.error(n.stack)}function g(n,e){let o=n.replace(/\\/g,"/");o.length>0&&o.charAt(0)!=="/"&&(o=`/${o}`);let c;return e.isWindows&&o.startsWith("//")?c=encodeURI(`${e.scheme||"file"}:${o}`):c=encodeURI(`${e.scheme||"file"}://${e.fallbackAuthority||""}${o}`),c.replace(/#/g,"%23")}function v(n,e){if(Array.isArray(n.cssModules)&&n.cssModules.length>0){performance.mark("code/willAddCssLoader");const o=document.createElement("style");o.type="text/css",o.media="screen",o.id="vscode-css-loading",document.head.appendChild(o),globalThis._VSCODE_CSS_LOAD=function(t){o.textContent+=`@import url(${t});
`};const c={imports:{react:"../../../../../node_modules/preact/compat/dist/compat.mjs",preact:"../../../../../node_modules/preact/dist/preact.mjs","preact/hooks":"../../../../../node_modules/preact/hooks/dist/hooks.mjs","react-dom/client":"../../../../../node_modules/preact/compat/client.mjs","preact/compat":"../../../../../node_modules/preact/compat/dist/compat.mjs","react/jsx-runtime":"../../../../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs","@bufbuild/protobuf":"../../../../../node_modules/@bufbuild/protobuf/dist/esm/index.js","jsonc-parser":"../../../../../node_modules/jsonc-parser/lib/esm/main.js","@connectrpc/connect":"../../../../../node_modules/@connectrpc/connect/dist/esm/index.js","@connectrpc/connect/protocol":"../../../../../node_modules/@connectrpc/connect/dist/esm/protocol/index.js","@connectrpc/connect/protocol-connect":"../../../../../node_modules/@connectrpc/connect/dist/esm/protocol-connect/index.js","@connectrpc/connect/protocol-grpc-web":"../../../../../node_modules/@connectrpc/connect/dist/esm/protocol-grpc-web/index.js","@connectrpc/connect-web":"../../../../../node_modules/@connectrpc/connect-web/dist/esm/index.js","unleash-proxy-client":"../../../../../node_modules/unleash-proxy-client/build/main.esm.js"}};for(const t of n.cssModules){const s=new URL(t,e).href,y=`globalThis._VSCODE_CSS_LOAD('${s}');
`,h=new Blob([y],{type:"application/javascript"});c.imports[s]=URL.createObjectURL(h)}const l=window.trustedTypes?.createPolicy("vscode-bootstrapImportMap",{createScript(t){return t}}),i=JSON.stringify(c,void 0,2),r=document.createElement("script");r.type="importmap",r.setAttribute("nonce","0c6a828f1297"),r.textContent=l?.createScript(i)??i,document.head.appendChild(r),performance.mark("code/didAddCssLoader")}}globalThis.MonacoBootstrapWindow={load:p}})(),async function(){const a=window.MonacoBootstrapWindow,{result:d,configuration:p}=await a.load("vs/code/electron-sandbox/processExplorer/processExplorerMain",{configureDeveloperSettings:function(){return{forceEnableDeveloperKeybindings:!0}}});d.startup(p)}();

//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/6a266ac3a91f80e64147aaf1e7640a92571474cf/core/vs/code/electron-sandbox/processExplorer/processExplorer.js.map
