define("vs/workers-BBttULjf",["exports","./editor-KLE6jdfb","./toggleHighContrast-qGX7E9o7"],function(e,r,o){"use strict";let t;t="object"==typeof self&&self.constructor&&"DedicatedWorkerGlobalScope"===self.constructor.name&&void 0!==globalThis.workerttPolicy?globalThis.workerttPolicy:function(e,r){const o=globalThis.MonacoEnvironment;if(o?.createTrustedTypesPolicy)try{return o.createTrustedTypesPolicy(e,r)}catch(e){return void console.error(e)}try{return globalThis.trustedTypes?.createPolicy(e,r)}catch(e){return void console.error(e)}}("defaultWorkerFactory",{createScriptURL:e=>e}),e.createWebWorker=function(e){const o=Promise.resolve(function(e){const r=e.label,o=globalThis.MonacoEnvironment;if(o){if("function"==typeof o.getWorker)return o.getWorker("workerMain.js",r);if("function"==typeof o.getWorkerUrl){const e=o.getWorkerUrl("workerMain.js",r);return new Worker(t?t.createScriptURL(e):e,{name:r,type:"module"})}}if(e.createWorker)return e.createWorker();throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}({label:e.label??"monaco-editor-worker",moduleId:e.moduleId,createWorker:e.createWorker})).then(r=>(r.postMessage("ignore"),r.postMessage(e.createData),r));return r.editor.createWebWorker({worker:o,host:e.host,keepIdleModels:e.keepIdleModels})}});